@ckeditor/ckeditor5-ai 47.5.0 → 47.6.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 (515) hide show
  1. package/build/966.ai.js +5 -0
  2. package/build/ai.js +1 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/en.js +1 -0
  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/dist/index-editor.css +387 -403
  77. package/dist/index.css +441 -413
  78. package/dist/index.js +5 -5
  79. package/dist/translations/af.js +1 -1
  80. package/dist/translations/af.umd.js +1 -1
  81. package/dist/translations/ar.js +1 -1
  82. package/dist/translations/ar.umd.js +1 -1
  83. package/dist/translations/ast.js +1 -1
  84. package/dist/translations/ast.umd.js +1 -1
  85. package/dist/translations/az.js +1 -1
  86. package/dist/translations/az.umd.js +1 -1
  87. package/dist/translations/be.js +1 -1
  88. package/dist/translations/be.umd.js +1 -1
  89. package/dist/translations/bg.js +1 -1
  90. package/dist/translations/bg.umd.js +1 -1
  91. package/dist/translations/bn.js +1 -1
  92. package/dist/translations/bn.umd.js +1 -1
  93. package/dist/translations/bs.js +1 -1
  94. package/dist/translations/bs.umd.js +1 -1
  95. package/dist/translations/ca.js +1 -1
  96. package/dist/translations/ca.umd.js +1 -1
  97. package/dist/translations/cs.js +1 -1
  98. package/dist/translations/cs.umd.js +1 -1
  99. package/dist/translations/da.js +1 -1
  100. package/dist/translations/da.umd.js +1 -1
  101. package/dist/translations/de-ch.js +1 -1
  102. package/dist/translations/de-ch.umd.js +1 -1
  103. package/dist/translations/de.js +1 -1
  104. package/dist/translations/de.umd.js +1 -1
  105. package/dist/translations/el.js +1 -1
  106. package/dist/translations/el.umd.js +1 -1
  107. package/dist/translations/en-au.js +1 -1
  108. package/dist/translations/en-au.umd.js +1 -1
  109. package/dist/translations/en-gb.js +1 -1
  110. package/dist/translations/en-gb.umd.js +1 -1
  111. package/dist/translations/en.js +1 -1
  112. package/dist/translations/en.umd.js +1 -1
  113. package/dist/translations/eo.js +1 -1
  114. package/dist/translations/eo.umd.js +1 -1
  115. package/dist/translations/es-co.js +1 -1
  116. package/dist/translations/es-co.umd.js +1 -1
  117. package/dist/translations/es.js +1 -1
  118. package/dist/translations/es.umd.js +1 -1
  119. package/dist/translations/et.js +1 -1
  120. package/dist/translations/et.umd.js +1 -1
  121. package/dist/translations/eu.js +1 -1
  122. package/dist/translations/eu.umd.js +1 -1
  123. package/dist/translations/fa.js +1 -1
  124. package/dist/translations/fa.umd.js +1 -1
  125. package/dist/translations/fi.js +1 -1
  126. package/dist/translations/fi.umd.js +1 -1
  127. package/dist/translations/fr.js +1 -1
  128. package/dist/translations/fr.umd.js +1 -1
  129. package/dist/translations/gl.js +1 -1
  130. package/dist/translations/gl.umd.js +1 -1
  131. package/dist/translations/gu.js +1 -1
  132. package/dist/translations/gu.umd.js +1 -1
  133. package/dist/translations/he.js +1 -1
  134. package/dist/translations/he.umd.js +1 -1
  135. package/dist/translations/hi.js +1 -1
  136. package/dist/translations/hi.umd.js +1 -1
  137. package/dist/translations/hr.js +1 -1
  138. package/dist/translations/hr.umd.js +1 -1
  139. package/dist/translations/hu.js +1 -1
  140. package/dist/translations/hu.umd.js +1 -1
  141. package/dist/translations/hy.js +1 -1
  142. package/dist/translations/hy.umd.js +1 -1
  143. package/dist/translations/id.js +1 -1
  144. package/dist/translations/id.umd.js +1 -1
  145. package/dist/translations/it.js +1 -1
  146. package/dist/translations/it.umd.js +1 -1
  147. package/dist/translations/ja.js +1 -1
  148. package/dist/translations/ja.umd.js +1 -1
  149. package/dist/translations/jv.js +1 -1
  150. package/dist/translations/jv.umd.js +1 -1
  151. package/dist/translations/kk.js +1 -1
  152. package/dist/translations/kk.umd.js +1 -1
  153. package/dist/translations/km.js +1 -1
  154. package/dist/translations/km.umd.js +1 -1
  155. package/dist/translations/kn.js +1 -1
  156. package/dist/translations/kn.umd.js +1 -1
  157. package/dist/translations/ko.js +1 -1
  158. package/dist/translations/ko.umd.js +1 -1
  159. package/dist/translations/ku.js +1 -1
  160. package/dist/translations/ku.umd.js +1 -1
  161. package/dist/translations/lt.js +1 -1
  162. package/dist/translations/lt.umd.js +1 -1
  163. package/dist/translations/lv.js +1 -1
  164. package/dist/translations/lv.umd.js +1 -1
  165. package/dist/translations/ms.js +1 -1
  166. package/dist/translations/ms.umd.js +1 -1
  167. package/dist/translations/nb.js +1 -1
  168. package/dist/translations/nb.umd.js +1 -1
  169. package/dist/translations/ne.js +1 -1
  170. package/dist/translations/ne.umd.js +1 -1
  171. package/dist/translations/nl.js +1 -1
  172. package/dist/translations/nl.umd.js +1 -1
  173. package/dist/translations/no.js +1 -1
  174. package/dist/translations/no.umd.js +1 -1
  175. package/dist/translations/oc.js +1 -1
  176. package/dist/translations/oc.umd.js +1 -1
  177. package/dist/translations/pl.js +1 -1
  178. package/dist/translations/pl.umd.js +1 -1
  179. package/dist/translations/pt-br.js +1 -1
  180. package/dist/translations/pt-br.umd.js +1 -1
  181. package/dist/translations/pt.js +1 -1
  182. package/dist/translations/pt.umd.js +1 -1
  183. package/dist/translations/ro.js +1 -1
  184. package/dist/translations/ro.umd.js +1 -1
  185. package/dist/translations/ru.js +1 -1
  186. package/dist/translations/ru.umd.js +1 -1
  187. package/dist/translations/si.js +1 -1
  188. package/dist/translations/si.umd.js +1 -1
  189. package/dist/translations/sk.js +1 -1
  190. package/dist/translations/sk.umd.js +1 -1
  191. package/dist/translations/sl.js +1 -1
  192. package/dist/translations/sl.umd.js +1 -1
  193. package/dist/translations/sq.js +1 -1
  194. package/dist/translations/sq.umd.js +1 -1
  195. package/dist/translations/sr-latn.js +1 -1
  196. package/dist/translations/sr-latn.umd.js +1 -1
  197. package/dist/translations/sr.js +1 -1
  198. package/dist/translations/sr.umd.js +1 -1
  199. package/dist/translations/sv.js +1 -1
  200. package/dist/translations/sv.umd.js +1 -1
  201. package/dist/translations/th.js +1 -1
  202. package/dist/translations/th.umd.js +1 -1
  203. package/dist/translations/ti.js +1 -1
  204. package/dist/translations/ti.umd.js +1 -1
  205. package/dist/translations/tk.js +1 -1
  206. package/dist/translations/tk.umd.js +1 -1
  207. package/dist/translations/tr.js +1 -1
  208. package/dist/translations/tr.umd.js +1 -1
  209. package/dist/translations/tt.js +1 -1
  210. package/dist/translations/tt.umd.js +1 -1
  211. package/dist/translations/ug.js +1 -1
  212. package/dist/translations/ug.umd.js +1 -1
  213. package/dist/translations/uk.js +1 -1
  214. package/dist/translations/uk.umd.js +1 -1
  215. package/dist/translations/ur.js +1 -1
  216. package/dist/translations/ur.umd.js +1 -1
  217. package/dist/translations/uz.js +1 -1
  218. package/dist/translations/uz.umd.js +1 -1
  219. package/dist/translations/vi.js +1 -1
  220. package/dist/translations/vi.umd.js +1 -1
  221. package/dist/translations/zh-cn.js +1 -1
  222. package/dist/translations/zh-cn.umd.js +1 -1
  223. package/dist/translations/zh.js +1 -1
  224. package/dist/translations/zh.umd.js +1 -1
  225. package/lang/contexts.json +1 -0
  226. package/lang/translations/af.po +8 -4
  227. package/lang/translations/ar.po +8 -4
  228. package/lang/translations/ast.po +8 -4
  229. package/lang/translations/az.po +8 -4
  230. package/lang/translations/be.po +8 -4
  231. package/lang/translations/bg.po +8 -4
  232. package/lang/translations/bn.po +8 -4
  233. package/lang/translations/bs.po +8 -4
  234. package/lang/translations/ca.po +8 -4
  235. package/lang/translations/cs.po +8 -4
  236. package/lang/translations/da.po +8 -4
  237. package/lang/translations/de-ch.po +8 -4
  238. package/lang/translations/de.po +8 -4
  239. package/lang/translations/el.po +8 -4
  240. package/lang/translations/en-au.po +8 -4
  241. package/lang/translations/en-gb.po +8 -4
  242. package/lang/translations/en.po +8 -4
  243. package/lang/translations/eo.po +8 -4
  244. package/lang/translations/es-co.po +8 -4
  245. package/lang/translations/es.po +8 -4
  246. package/lang/translations/et.po +8 -4
  247. package/lang/translations/eu.po +8 -4
  248. package/lang/translations/fa.po +8 -4
  249. package/lang/translations/fi.po +8 -4
  250. package/lang/translations/fr.po +8 -4
  251. package/lang/translations/gl.po +8 -4
  252. package/lang/translations/gu.po +8 -4
  253. package/lang/translations/he.po +8 -4
  254. package/lang/translations/hi.po +8 -4
  255. package/lang/translations/hr.po +8 -4
  256. package/lang/translations/hu.po +8 -4
  257. package/lang/translations/hy.po +8 -4
  258. package/lang/translations/id.po +8 -4
  259. package/lang/translations/it.po +8 -4
  260. package/lang/translations/ja.po +8 -4
  261. package/lang/translations/jv.po +8 -4
  262. package/lang/translations/kk.po +8 -4
  263. package/lang/translations/km.po +8 -4
  264. package/lang/translations/kn.po +8 -4
  265. package/lang/translations/ko.po +8 -4
  266. package/lang/translations/ku.po +8 -4
  267. package/lang/translations/lt.po +8 -4
  268. package/lang/translations/lv.po +8 -4
  269. package/lang/translations/ms.po +8 -4
  270. package/lang/translations/nb.po +8 -4
  271. package/lang/translations/ne.po +8 -4
  272. package/lang/translations/nl.po +8 -4
  273. package/lang/translations/no.po +8 -4
  274. package/lang/translations/oc.po +8 -4
  275. package/lang/translations/pl.po +8 -4
  276. package/lang/translations/pt-br.po +8 -4
  277. package/lang/translations/pt.po +8 -4
  278. package/lang/translations/ro.po +8 -4
  279. package/lang/translations/ru.po +8 -4
  280. package/lang/translations/si.po +8 -4
  281. package/lang/translations/sk.po +8 -4
  282. package/lang/translations/sl.po +8 -4
  283. package/lang/translations/sq.po +8 -4
  284. package/lang/translations/sr-latn.po +8 -4
  285. package/lang/translations/sr.po +8 -4
  286. package/lang/translations/sv.po +8 -4
  287. package/lang/translations/th.po +8 -4
  288. package/lang/translations/ti.po +8 -4
  289. package/lang/translations/tk.po +8 -4
  290. package/lang/translations/tr.po +8 -4
  291. package/lang/translations/tt.po +8 -4
  292. package/lang/translations/ug.po +8 -4
  293. package/lang/translations/uk.po +8 -4
  294. package/lang/translations/ur.po +8 -4
  295. package/lang/translations/uz.po +8 -4
  296. package/lang/translations/vi.po +8 -4
  297. package/lang/translations/zh-cn.po +8 -4
  298. package/lang/translations/zh.po +8 -4
  299. package/package.json +21 -21
  300. package/src/aiactions/aiactions.js +1 -1
  301. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  302. package/src/aiactions/model/aiactionsreply.js +1 -1
  303. package/src/aiassistant/adapters/aiadapter.js +1 -1
  304. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  305. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  306. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  307. package/src/aiassistant/aiassistant.js +1 -1
  308. package/src/aiassistant/aiassistantediting.js +1 -1
  309. package/src/aiassistant/aiassistantui.js +1 -1
  310. package/src/aiassistant/legacyerrors.js +1 -1
  311. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  312. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  313. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  316. package/src/aiassistant/ui/form/aiformview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  318. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  319. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  320. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  321. package/src/aiassistant/utils/common-translations.js +1 -1
  322. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoonview.js +1 -1
  325. package/src/aichat/aichat.d.ts +12 -8
  326. package/src/aichat/aichat.js +1 -1
  327. package/src/aichat/aichatballoon.js +1 -1
  328. package/src/aichat/aichatcontroller.d.ts +4 -0
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.d.ts +24 -1
  331. package/src/aichat/aichatui.js +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.d.ts +13 -0
  334. package/src/aichat/model/aichatconversation.js +1 -1
  335. package/src/aichat/model/aichatinteraction.js +1 -1
  336. package/src/aichat/ui/aichatballoonview.js +1 -1
  337. package/src/aichat/ui/aichatcontrolsview.d.ts +5 -1
  338. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  339. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  340. package/src/aichat/ui/aichatfeedview.js +1 -1
  341. package/src/aichat/ui/aichatheaderview.js +1 -1
  342. package/src/aichat/ui/aichatview.js +1 -1
  343. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  345. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  346. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  348. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  349. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +5 -0
  350. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  351. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  353. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  354. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  355. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  356. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  361. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  362. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  366. package/src/aichat/utils/eventnames.js +1 -1
  367. package/src/aichat/utils/promisequeue.js +1 -1
  368. package/src/aichathistory/aichathistory.js +1 -1
  369. package/src/aichathistory/aichathistorycontroller.js +1 -1
  370. package/src/aichathistory/aichathistoryui.js +1 -1
  371. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  372. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  373. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  374. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  375. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  376. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  377. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  378. package/src/aichatshortcuts/aichatshortcuts.d.ts +324 -0
  379. package/src/aichatshortcuts/aichatshortcuts.js +23 -0
  380. package/src/aichatshortcuts/ui/aichatshortcutsview.d.ts +23 -0
  381. package/src/aichatshortcuts/ui/aichatshortcutsview.js +23 -0
  382. package/src/aichatshortcuts/ui/aichatshortcutview.d.ts +23 -0
  383. package/src/aichatshortcuts/ui/aichatshortcutview.js +23 -0
  384. package/src/aiconfig.d.ts +7 -0
  385. package/src/aicore/aiconnector.js +1 -1
  386. package/src/aicore/aiediting.js +1 -1
  387. package/src/aicore/model/aicapabilities.d.ts +8 -0
  388. package/src/aicore/model/aicapabilities.js +1 -1
  389. package/src/aicore/model/aicontext.d.ts +7 -1
  390. package/src/aicore/model/aicontext.js +1 -1
  391. package/src/aicore/model/aiinteraction.js +1 -1
  392. package/src/aicore/model/aimodels.js +1 -1
  393. package/src/aicore/model/aireply.js +1 -1
  394. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  395. package/src/aicore/pipeline/airesponseparser.js +2 -2
  396. package/src/aicore/ui/aidisclaimerview.js +1 -1
  397. package/src/aicore/ui/aiskeleton.js +1 -1
  398. package/src/aicore/ui/aispinner.js +1 -1
  399. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  400. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  401. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  404. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  408. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.d.ts +1 -0
  412. package/src/aicore/utils/createresizebutton.js +1 -1
  413. package/src/aicore/utils/documentposition.js +1 -1
  414. package/src/aicore/utils/documentrange.js +1 -1
  415. package/src/aicore/utils/eventnames.js +1 -1
  416. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aicore/utils/scrollmanager.js +1 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  433. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  434. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  435. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  436. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  437. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  438. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  439. package/src/aireviewcore/aireviewcoreui.js +1 -1
  440. package/src/aireviewcore/model/aireviewcheck.d.ts +4 -0
  441. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  442. package/src/aireviewcore/model/aireviewchecklist.d.ts +3 -3
  443. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  444. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  445. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  447. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  448. package/src/aireviewcore/types.d.ts +11 -2
  449. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  450. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  451. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  452. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  453. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  454. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  455. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  456. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  457. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  458. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  459. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  460. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  461. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  462. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +4 -0
  463. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  464. package/src/aireviewmode/aireviewmode.d.ts +95 -0
  465. package/src/aireviewmode/aireviewmode.js +1 -1
  466. package/src/aireviewmode/aireviewmodecontroller.d.ts +5 -0
  467. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  468. package/src/aireviewmode/aireviewmodeui.js +1 -1
  469. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +6 -3
  470. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  471. package/src/aireviewmode/model/aireviewcheckextra.d.ts +35 -0
  472. package/src/aireviewmode/model/aireviewcheckextra.js +23 -0
  473. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +2 -1
  474. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  475. package/src/aireviewmode/model/aireviewextracheckrun.d.ts +20 -0
  476. package/src/aireviewmode/model/aireviewextracheckrun.js +23 -0
  477. package/src/aireviewmode/model/aireviewmodechecklist.d.ts +10 -0
  478. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  479. package/src/aitabs/aitabs.js +1 -1
  480. package/src/aitabs/aitabsmainview.js +1 -1
  481. package/src/aitabs/tabs/aitabsview.js +1 -1
  482. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  483. package/src/aitabs/tabs/tabpanelview.js +1 -1
  484. package/src/aitranslate/aitranslate.js +1 -1
  485. package/src/aitranslate/aitranslatecontroller.js +1 -1
  486. package/src/aitranslate/aitranslateui.js +1 -1
  487. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  488. package/src/aitranslate/model/aitranslatechecklist.d.ts +5 -0
  489. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  490. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  491. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  492. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  493. package/src/augmentation.d.ts +2 -0
  494. package/src/errors.js +1 -1
  495. package/src/errorsmap.js +1 -1
  496. package/src/index.d.ts +2 -1
  497. package/src/index.js +1 -1
  498. package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -1
  499. package/theme/aichat/aichat-controls/aichat-controls-button.css +22 -23
  500. package/theme/aichat/aichat-controls/prompt-input.css +23 -0
  501. package/theme/aichat/aichat-controls.css +0 -19
  502. package/theme/aichat/aichathistory.css +1 -1
  503. package/theme/aichat/aiminitoolbar.css +0 -16
  504. package/theme/aichatshortcuts/aichatshortcuts.css +84 -0
  505. package/theme/aieditorintegration/aitogglebutton.css +5 -11
  506. package/theme/aiquickactions/aiquickactions.css +6 -11
  507. package/theme/aiquickactions/aiquickactionsballoon.css +37 -29
  508. package/theme/aireviewcore/aireviewcore-check-run.css +4 -0
  509. package/theme/aireviewcore/aireviewcore.css +4 -4
  510. package/theme/aitabs/aitabsresizebutton.css +14 -0
  511. package/theme/aitranslate/aitranslate.css +4 -0
  512. package/theme/common/aibutton.css +56 -67
  513. package/theme/common/aiheader.css +1 -1
  514. package/theme/common/aisuggestioncontentparttoolbar.css +1 -1
  515. package/theme/common/aisuggestionstreamablecontent.css +4 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x321d(_0x3a5f04,_0x32d40f){const _0x3932f2=_0x3932();return _0x321d=function(_0x321df9,_0x3239eb){_0x321df9=_0x321df9-0xed;let _0x115d40=_0x3932f2[_0x321df9];return _0x115d40;},_0x321d(_0x3a5f04,_0x32d40f);}const _0x263de2=_0x321d;(function(_0x3b85be,_0x40c96b){const _0x4029da=_0x321d,_0x324d73=_0x3b85be();while(!![]){try{const _0x4f4e0c=-parseInt(_0x4029da(0xf0))/0x1+parseInt(_0x4029da(0x10a))/0x2*(-parseInt(_0x4029da(0x100))/0x3)+parseInt(_0x4029da(0xf4))/0x4*(-parseInt(_0x4029da(0x107))/0x5)+-parseInt(_0x4029da(0xfc))/0x6*(parseInt(_0x4029da(0xf2))/0x7)+-parseInt(_0x4029da(0xfb))/0x8+-parseInt(_0x4029da(0x101))/0x9+parseInt(_0x4029da(0xf9))/0xa;if(_0x4f4e0c===_0x40c96b)break;else _0x324d73['push'](_0x324d73['shift']());}catch(_0x4c4570){_0x324d73['push'](_0x324d73['shift']());}}}(_0x3932,0xb80a5));import{FormHeaderView as _0x21281f}from'ckeditor5/src/ui.js';import{IconAITranslate as _0x58f494}from'ckeditor5/src/icons.js';import{getTranslation as _0x9c5d49}from'../aicore/utils/common-translations.js';import{AIReviewCoreUI as _0x57b699}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreView as _0x513191}from'../aireviewcore/ui/aireviewcoreview.js';import{AITranslateCheckResultsView as _0x387698}from'./ui/aitranslatecheckresultsview.js';function _0x3932(){const _0x3c4916=['AI_TRANSLATE_GENERAL_ERROR_MESSAGE','1116437qVWkZu','AI_TRANSLATE_FINISH_BUTTON_LABEL','24ogaKBa','locale','registerTab','AI_REVIEW_CHECK_TRANSLATE_TITLE','extendTemplate','40982180nkzFIR','AITranslateUI','4786488KDACLP','6UHFIWh','fire','_mainView','ck-ai-translate-mode','2903772nHhDuS','6308172VuHjbq','translate','get','leaveReview','view','addTab','220135PReCeX','plugins','activateTab','2wUyPGZ','AITabs','AI_TRANSLATE_FINISH_HEADER_TITLE','createMainView','AI_TRANSLATE_EMPTY_RESULTS_TEXT','getReviewCheckList','context','ck-ai-header\x20ck-ai-header_review-translate','pluginName','653593eQSlgW'];_0x3932=function(){return _0x3c4916;};return _0x3932();}import'../../theme/aitranslate/aitranslate.css';import{AIReviewCoreReviewCompletedView as _0x2885f8}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AITranslateCheckListView as _0x2ce763}from'./ui/aitranslatechecklistview.js';export class AITranslateUI extends _0x57b699{static get[_0x263de2(0xef)](){const _0x3e7b1f=_0x263de2;return _0x3e7b1f(0xfa);}[_0x263de2(0x10d)](){const _0x1bd308=_0x263de2,_0x22a7cd=this[_0x1bd308(0xed)][_0x1bd308(0xf5)],_0x4808bd=new _0x21281f(_0x22a7cd,{'label':_0x9c5d49(_0x22a7cd,_0x1bd308(0xf7)),'icon':_0x58f494,'class':_0x1bd308(0xee)}),_0xfb798e=new _0x513191(_0x22a7cd,{'header':_0x4808bd,'list':new _0x2ce763(_0x22a7cd),'results':new _0x387698(_0x22a7cd,{'generalErrorText':_0x9c5d49(_0x22a7cd,_0x1bd308(0xf1))}),'completed':new _0x2885f8(_0x22a7cd,{'headerText':_0x9c5d49(_0x22a7cd,_0x1bd308(0x10c)),'emptyResultsText':_0x9c5d49(_0x22a7cd,_0x1bd308(0x10e)),'buttonText':_0x9c5d49(_0x22a7cd,_0x1bd308(0xf3))})});return _0xfb798e[_0x1bd308(0xf8)]({'attributes':{'class':_0x1bd308(0xff)}}),_0xfb798e;}[_0x263de2(0xf6)](){const _0x4e8b9d=_0x263de2,_0x412e15=this[_0x4e8b9d(0xed)][_0x4e8b9d(0x108)][_0x4e8b9d(0x103)](_0x4e8b9d(0x10b));_0x412e15[_0x4e8b9d(0x105)]['on'](_0x4e8b9d(0x109),(_0x4fc9f6,_0x5627cc)=>{const _0xbc71bf=_0x4e8b9d;_0xbc71bf(0x102)===_0x5627cc?this[_0xbc71bf(0xfd)](_0xbc71bf(0x10f)):this[_0xbc71bf(0xfd)](_0xbc71bf(0x104));}),_0x412e15[_0x4e8b9d(0x105)][_0x4e8b9d(0x106)]({'id':_0x4e8b9d(0x102),'buttonLabel':_0x9c5d49(this[_0x4e8b9d(0xed)][_0x4e8b9d(0xf5)],_0x4e8b9d(0xf7)),'buttonIcon':_0x58f494,'order':0x0,'content':this[_0x4e8b9d(0xfe)]});}}
23
+ const _0x4bc984=_0x40aa;(function(_0x40069e,_0x54fd86){const _0x39024e=_0x40aa,_0x31264a=_0x40069e();while(!![]){try{const _0x38574e=-parseInt(_0x39024e(0x17e))/0x1*(-parseInt(_0x39024e(0x17f))/0x2)+-parseInt(_0x39024e(0x190))/0x3+-parseInt(_0x39024e(0x19a))/0x4+-parseInt(_0x39024e(0x183))/0x5*(-parseInt(_0x39024e(0x187))/0x6)+parseInt(_0x39024e(0x181))/0x7+parseInt(_0x39024e(0x19c))/0x8+parseInt(_0x39024e(0x1a0))/0x9*(-parseInt(_0x39024e(0x19d))/0xa);if(_0x38574e===_0x54fd86)break;else _0x31264a['push'](_0x31264a['shift']());}catch(_0x314a5d){_0x31264a['push'](_0x31264a['shift']());}}}(_0x3dac,0xdb6c5));import{FormHeaderView as _0x11abd8}from'ckeditor5/src/ui.js';import{IconAITranslate as _0x401223}from'ckeditor5/src/icons.js';import{getTranslation as _0x1d96fd}from'../aicore/utils/common-translations.js';import{AIReviewCoreUI as _0x4e2d93}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreView as _0x954a11}from'../aireviewcore/ui/aireviewcoreview.js';function _0x3dac(){const _0x4c69ae=['ck-ai-header\x20ck-ai-header_review-translate','AI_TRANSLATE_FINISH_BUTTON_LABEL','addTab','pluginName','locale','get','activateTab','extendTemplate','plugins','3944696AzxnaZ','createMainView','9797072GCDaOC','16238720qSkBIo','registerTab','AI_REVIEW_CHECK_TRANSLATE_TITLE','9FtmGIM','227aIpTem','14934wcYNbB','fire','8250662NciNVC','_mainView','1420ZSutgi','translate','AI_TRANSLATE_EMPTY_RESULTS_TEXT','getReviewCheckList','15270fdOoca','AITranslateUI','AI_TRANSLATE_FINISH_HEADER_TITLE','view','AITabs','leaveReview','context','ck-ai-translate-mode','AI_TRANSLATE_GENERAL_ERROR_MESSAGE','3936858mSQpnT'];_0x3dac=function(){return _0x4c69ae;};return _0x3dac();}import{AITranslateCheckResultsView as _0xb76938}from'./ui/aitranslatecheckresultsview.js';import'../../theme/aitranslate/aitranslate.css';function _0x40aa(_0x5f5215,_0x4d46b2){const _0x3dac61=_0x3dac();return _0x40aa=function(_0x40aad6,_0x410976){_0x40aad6=_0x40aad6-0x17e;let _0x7fda0=_0x3dac61[_0x40aad6];return _0x7fda0;},_0x40aa(_0x5f5215,_0x4d46b2);}import{AIReviewCoreReviewCompletedView as _0x4caf7c}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AITranslateCheckListView as _0x1533a2}from'./ui/aitranslatechecklistview.js';export class AITranslateUI extends _0x4e2d93{static get[_0x4bc984(0x194)](){const _0x161960=_0x4bc984;return _0x161960(0x188);}[_0x4bc984(0x19b)](){const _0x56eaa2=_0x4bc984,_0x43579b=this[_0x56eaa2(0x18d)][_0x56eaa2(0x195)],_0x21030a=new _0x11abd8(_0x43579b,{'label':_0x1d96fd(_0x43579b,_0x56eaa2(0x19f)),'icon':_0x401223,'class':_0x56eaa2(0x191)}),_0x38a666=new _0x954a11(_0x43579b,{'header':_0x21030a,'list':new _0x1533a2(_0x43579b),'results':new _0xb76938(_0x43579b,{'generalErrorText':_0x1d96fd(_0x43579b,_0x56eaa2(0x18f))}),'completed':new _0x4caf7c(_0x43579b,{'headerText':_0x1d96fd(_0x43579b,_0x56eaa2(0x189)),'emptyResultsText':_0x1d96fd(_0x43579b,_0x56eaa2(0x185)),'buttonText':_0x1d96fd(_0x43579b,_0x56eaa2(0x192))})});return _0x38a666[_0x56eaa2(0x198)]({'attributes':{'class':_0x56eaa2(0x18e)}}),_0x38a666;}[_0x4bc984(0x19e)](){const _0x197e01=_0x4bc984,_0x17e881=this[_0x197e01(0x18d)][_0x197e01(0x199)][_0x197e01(0x196)](_0x197e01(0x18b));_0x17e881[_0x197e01(0x18a)]['on'](_0x197e01(0x197),(_0xb07b36,_0x3eb0bb)=>{const _0x22aad5=_0x197e01;_0x22aad5(0x184)===_0x3eb0bb?this[_0x22aad5(0x180)](_0x22aad5(0x186)):this[_0x22aad5(0x180)](_0x22aad5(0x18c));}),_0x17e881[_0x197e01(0x18a)][_0x197e01(0x193)]({'id':_0x197e01(0x184),'buttonLabel':_0x1d96fd(this[_0x197e01(0x18d)][_0x197e01(0x195)],_0x197e01(0x19f)),'buttonIcon':_0x401223,'order':0x0,'content':this[_0x197e01(0x182)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x200a(){var _0x34322c=['apiId','951850tYzUvT','16357330XvNzJx','6Dkojag','2KCrwsI','309791AybsIh','2791688CjLBsm','1155749fTtHdr','8YTgLWa','translate','2028144oxEXIo','1037313hzbSrM'];_0x200a=function(){return _0x34322c;};return _0x200a();}function _0x7e4f(_0x2fc884,_0x359650){var _0x200a19=_0x200a();return _0x7e4f=function(_0x7e4f3e,_0x216063){_0x7e4f3e=_0x7e4f3e-0xa0;var _0x2b56f3=_0x200a19[_0x7e4f3e];return _0x2b56f3;},_0x7e4f(_0x2fc884,_0x359650);}var _0x39d784=_0x7e4f;(function(_0x232e90,_0x8eab0a){var _0x45ea75=_0x7e4f,_0x356a6a=_0x232e90();while(!![]){try{var _0x31ab44=-parseInt(_0x45ea75(0xa6))/0x1*(parseInt(_0x45ea75(0xa5))/0x2)+-parseInt(_0x45ea75(0xab))/0x3+-parseInt(_0x45ea75(0xa7))/0x4+parseInt(_0x45ea75(0xa2))/0x5+parseInt(_0x45ea75(0xa4))/0x6*(parseInt(_0x45ea75(0xa8))/0x7)+-parseInt(_0x45ea75(0xa9))/0x8*(-parseInt(_0x45ea75(0xa0))/0x9)+parseInt(_0x45ea75(0xa3))/0xa;if(_0x31ab44===_0x8eab0a)break;else _0x356a6a['push'](_0x356a6a['shift']());}catch(_0x125ffd){_0x356a6a['push'](_0x356a6a['shift']());}}}(_0x200a,0x67332));import{AIReviewCheck as _0x3eb639}from'../../aireviewcore/model/aireviewcheck.js';export class AITranslateCheck extends _0x3eb639{get[_0x39d784(0xa1)](){var _0x5e4f52=_0x39d784;return _0x5e4f52(0xaa);}}
23
+ var _0x2c95cd=_0x30a8;(function(_0x154dc5,_0xbde34f){var _0x218d3f=_0x30a8,_0x303b81=_0x154dc5();while(!![]){try{var _0x3cca59=parseInt(_0x218d3f(0xa6))/0x1+-parseInt(_0x218d3f(0xa7))/0x2*(-parseInt(_0x218d3f(0xa8))/0x3)+-parseInt(_0x218d3f(0xa0))/0x4*(-parseInt(_0x218d3f(0xac))/0x5)+-parseInt(_0x218d3f(0xa3))/0x6+parseInt(_0x218d3f(0xa5))/0x7+-parseInt(_0x218d3f(0xab))/0x8*(-parseInt(_0x218d3f(0xa4))/0x9)+parseInt(_0x218d3f(0xaa))/0xa*(-parseInt(_0x218d3f(0xa9))/0xb);if(_0x3cca59===_0xbde34f)break;else _0x303b81['push'](_0x303b81['shift']());}catch(_0x241090){_0x303b81['push'](_0x303b81['shift']());}}}(_0x28fa,0x8c075));function _0x30a8(_0x2c7dae,_0x1dbbb3){var _0x28fa69=_0x28fa();return _0x30a8=function(_0x30a8d4,_0x32bb64){_0x30a8d4=_0x30a8d4-0xa0;var _0x47b2cc=_0x28fa69[_0x30a8d4];return _0x47b2cc;},_0x30a8(_0x2c7dae,_0x1dbbb3);}import{AIReviewCheck as _0x4f2e24}from'../../aireviewcore/model/aireviewcheck.js';export class AITranslateCheck extends _0x4f2e24{get[_0x2c95cd(0xa1)](){var _0x318775=_0x2c95cd;return _0x318775(0xa2);}}function _0x28fa(){var _0x141da7=['5100004BwvLiQ','292317HLxCda','622018crVPfC','6xYRtqm','16544187GyrEaM','10dlNELt','16vkGBdm','2418370GjHgnr','4nqEQPr','apiId','translate','515958jIVOji','166437rGwlae'];_0x28fa=function(){return _0x141da7;};return _0x28fa();}
@@ -3,8 +3,13 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { AIReviewCheckList } from '../../aireviewcore/model/aireviewchecklist.js';
6
+ import { type AIReviewCheckBaseDefinition } from '../../aireviewcore/types.js';
6
7
  /**
7
8
  * Represents the list of translate checks that can be performed in the AI Translate.
8
9
  */
9
10
  export declare class AITranslateCheckList extends AIReviewCheckList {
11
+ /**
12
+ * @inheritDoc
13
+ */
14
+ setupChecks(checks: Array<AIReviewCheckBaseDefinition>): void;
10
15
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2290f6=_0x39c4;(function(_0x3b0bb7,_0x2c8065){var _0x147113=_0x39c4,_0x28024f=_0x3b0bb7();while(!![]){try{var _0x3b69d6=-parseInt(_0x147113(0xb8))/0x1*(parseInt(_0x147113(0xbf))/0x2)+-parseInt(_0x147113(0xb6))/0x3*(-parseInt(_0x147113(0xbc))/0x4)+parseInt(_0x147113(0xb5))/0x5+-parseInt(_0x147113(0xbe))/0x6*(-parseInt(_0x147113(0xb4))/0x7)+-parseInt(_0x147113(0xbd))/0x8+parseInt(_0x147113(0xb7))/0x9*(-parseInt(_0x147113(0xb9))/0xa)+-parseInt(_0x147113(0xbb))/0xb*(parseInt(_0x147113(0xc1))/0xc);if(_0x3b69d6===_0x2c8065)break;else _0x28024f['push'](_0x28024f['shift']());}catch(_0x19d7cc){_0x28024f['push'](_0x28024f['shift']());}}}(_0x7314,0xd85b0));import{AITranslateCheck as _0x2160fe}from'./aitranslatecheck.js';import{AIReviewCheckList as _0x2bb27b}from'../../aireviewcore/model/aireviewchecklist.js';function _0x7314(){var _0x483670=['6142157pJRWIJ','5002270hZYsPd','2670HbLOQh','3942uNWKbB','128865bvYbNp','10770XyGMko','_mapCheckDefinitions','2556015nOVEFY','7916owFelQ','7102944PQPUwX','12QeHBdg','10mPuOZo','map','84qiLWuU'];_0x7314=function(){return _0x483670;};return _0x7314();}function _0x39c4(_0x5d7c11,_0x39dd22){var _0x73145d=_0x7314();return _0x39c4=function(_0x39c4c0,_0x3e9fc6){_0x39c4c0=_0x39c4c0-0xb4;var _0x1a3d98=_0x73145d[_0x39c4c0];return _0x1a3d98;},_0x39c4(_0x5d7c11,_0x39dd22);}export class AITranslateCheckList extends _0x2bb27b{[_0x2290f6(0xba)](_0x559d71){var _0x1c1bba=_0x2290f6;return _0x559d71[_0x1c1bba(0xc0)](_0x124e2c=>new _0x2160fe(_0x124e2c));}}
23
+ function _0x5da9(){var _0x28f143=['4705220zxwyGE','map','3457908gkbwbE','205617MmYORf','9711436jeoTeq','3734739SwJKGW','16vcvgfl','2DYBCpe','496488MdmASh','_checks','setupChecks','1345281HTaXRt'];_0x5da9=function(){return _0x28f143;};return _0x5da9();}function _0x12c9(_0x58edf6,_0x32b4b0){var _0x5da9a0=_0x5da9();return _0x12c9=function(_0x12c944,_0x3ff4ae){_0x12c944=_0x12c944-0x1c7;var _0x34cb0f=_0x5da9a0[_0x12c944];return _0x34cb0f;},_0x12c9(_0x58edf6,_0x32b4b0);}var _0x1863cf=_0x12c9;(function(_0x329780,_0x354be8){var _0x42cf58=_0x12c9,_0x3a5b12=_0x329780();while(!![]){try{var _0x2db9de=-parseInt(_0x42cf58(0x1cd))/0x1+parseInt(_0x42cf58(0x1c9))/0x2*(parseInt(_0x42cf58(0x1d1))/0x3)+parseInt(_0x42cf58(0x1ca))/0x4+parseInt(_0x42cf58(0x1ce))/0x5+parseInt(_0x42cf58(0x1d0))/0x6+parseInt(_0x42cf58(0x1d2))/0x7+-parseInt(_0x42cf58(0x1c8))/0x8*(parseInt(_0x42cf58(0x1c7))/0x9);if(_0x2db9de===_0x354be8)break;else _0x3a5b12['push'](_0x3a5b12['shift']());}catch(_0x43a3d1){_0x3a5b12['push'](_0x3a5b12['shift']());}}}(_0x5da9,0xe1224));import{AITranslateCheck as _0x4fd48d}from'./aitranslatecheck.js';import{AIReviewCheckList as _0x2a1e73}from'../../aireviewcore/model/aireviewchecklist.js';export class AITranslateCheckList extends _0x2a1e73{[_0x1863cf(0x1cc)](_0x4a90cf){var _0x266d86=_0x1863cf;this[_0x266d86(0x1cb)]=_0x4a90cf[_0x266d86(0x1cf)](_0x1017c2=>new _0x4fd48d(_0x1017c2));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7841(_0x5e2802,_0x256e64){var _0x2882d8=_0x2882();return _0x7841=function(_0x784109,_0x1f73ce){_0x784109=_0x784109-0x82;var _0x5eb9e7=_0x2882d8[_0x784109];return _0x5eb9e7;},_0x7841(_0x5e2802,_0x256e64);}function _0x2882(){var _0x39ff8f=['8WVUCdu','6697042ZNIDBr','1qNFOUC','2090235eapVzj','10kbvSdb','subTitle','_title','105176aLDIqM','title','1604118XafhEO','400548MKtPKt','_sourceCheck','2555352mdBtyG','15lhuNFO','3014721VUomdU'];_0x2882=function(){return _0x39ff8f;};return _0x2882();}var _0x2d6d7d=_0x7841;(function(_0x1a988e,_0x3911e7){var _0x570974=_0x7841,_0x1003c9=_0x1a988e();while(!![]){try{var _0x1e92ff=parseInt(_0x570974(0x90))/0x1*(-parseInt(_0x570974(0x86))/0x2)+parseInt(_0x570974(0x88))/0x3+parseInt(_0x570974(0x89))/0x4*(-parseInt(_0x570974(0x8c))/0x5)+-parseInt(_0x570974(0x8b))/0x6+-parseInt(_0x570974(0x82))/0x7+-parseInt(_0x570974(0x8e))/0x8*(-parseInt(_0x570974(0x8d))/0x9)+parseInt(_0x570974(0x83))/0xa*(parseInt(_0x570974(0x8f))/0xb);if(_0x1e92ff===_0x3911e7)break;else _0x1003c9['push'](_0x1003c9['shift']());}catch(_0x5661d5){_0x1003c9['push'](_0x1003c9['shift']());}}}(_0x2882,0x61e69));import{AIReviewSystemCheckRun as _0x5850c2}from'../../aireviewcore/model/aireviewsystemcheckrun.js';export class AITranslateCheckRun extends _0x5850c2{[_0x2d6d7d(0x85)];constructor(_0x4f1e45,_0x3494f9,_0x4e0659,_0x45e2d2,_0x1b5e8e,_0x1352af){var _0x208b6e=_0x2d6d7d;super(_0x4f1e45,_0x3494f9,_0x4e0659,_0x1b5e8e,_0x1352af),this[_0x208b6e(0x85)]=_0x45e2d2;}get[_0x2d6d7d(0x87)](){var _0x58dbaa=_0x2d6d7d;return this[_0x58dbaa(0x85)];}get[_0x2d6d7d(0x84)](){var _0x5c261a=_0x2d6d7d;return this[_0x5c261a(0x8a)][_0x5c261a(0x87)];}}
23
+ function _0x43ad(){var _0x18963b=['1258750AsQbaz','11668790QFpoMn','7jmARzG','10540079PJoczR','647744ermWCx','16Mwrcnv','_title','83779UzJgEm','1074676fYMbVB','subTitle','_sourceCheck','title','2930706mOWrsN','63xHNdwp','3jzBxcc'];_0x43ad=function(){return _0x18963b;};return _0x43ad();}var _0xc97f34=_0x20be;function _0x20be(_0x22c006,_0x202ef7){var _0x43adb2=_0x43ad();return _0x20be=function(_0x20bec8,_0x54035b){_0x20bec8=_0x20bec8-0xb4;var _0x27e074=_0x43adb2[_0x20bec8];return _0x27e074;},_0x20be(_0x22c006,_0x202ef7);}(function(_0x18e457,_0x16dd31){var _0x283ecb=_0x20be,_0x701ee4=_0x18e457();while(!![]){try{var _0x2fa1f4=-parseInt(_0x283ecb(0xbf))/0x1+-parseInt(_0x283ecb(0xc0))/0x2*(-parseInt(_0x283ecb(0xb7))/0x3)+parseInt(_0x283ecb(0xbd))/0x4*(parseInt(_0x283ecb(0xb8))/0x5)+parseInt(_0x283ecb(0xb5))/0x6*(-parseInt(_0x283ecb(0xba))/0x7)+parseInt(_0x283ecb(0xbc))/0x8*(-parseInt(_0x283ecb(0xb6))/0x9)+parseInt(_0x283ecb(0xb9))/0xa+-parseInt(_0x283ecb(0xbb))/0xb;if(_0x2fa1f4===_0x16dd31)break;else _0x701ee4['push'](_0x701ee4['shift']());}catch(_0x410e10){_0x701ee4['push'](_0x701ee4['shift']());}}}(_0x43ad,0x95e86));import{AIReviewSystemCheckRun as _0xd57381}from'../../aireviewcore/model/aireviewsystemcheckrun.js';export class AITranslateCheckRun extends _0xd57381{[_0xc97f34(0xbe)];constructor(_0x322a06,_0x1e6e22,_0x48bbbd,_0x2971dd,_0x3f6dac,_0x2902fd){var _0x340635=_0xc97f34;super(_0x322a06,_0x1e6e22,_0x48bbbd,_0x3f6dac,_0x2902fd),this[_0x340635(0xbe)]=_0x2971dd;}get[_0xc97f34(0xb4)](){var _0x29f76e=_0xc97f34;return this[_0x29f76e(0xbe)];}get[_0xc97f34(0xc1)](){var _0xdc556e=_0xc97f34;return this[_0xdc556e(0xc2)][_0xdc556e(0xb4)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32ec3f=_0x5039;(function(_0x3ff29c,_0x3663e7){const _0x47da74=_0x5039,_0x431f0b=_0x3ff29c();while(!![]){try{const _0x262315=-parseInt(_0x47da74(0x7c))/0x1*(-parseInt(_0x47da74(0x81))/0x2)+parseInt(_0x47da74(0x6d))/0x3+parseInt(_0x47da74(0x7a))/0x4+-parseInt(_0x47da74(0x78))/0x5+-parseInt(_0x47da74(0x6b))/0x6+-parseInt(_0x47da74(0x76))/0x7*(-parseInt(_0x47da74(0x7f))/0x8)+-parseInt(_0x47da74(0x74))/0x9*(parseInt(_0x47da74(0x6e))/0xa);if(_0x262315===_0x3663e7)break;else _0x431f0b['push'](_0x431f0b['shift']());}catch(_0x3cfd06){_0x431f0b['push'](_0x431f0b['shift']());}}}(_0x4cfc,0x6b740));function _0x5039(_0x202528,_0x11e37f){const _0x4cfc19=_0x4cfc();return _0x5039=function(_0x5039ef,_0x260b02){_0x5039ef=_0x5039ef-0x6b;let _0x1f0648=_0x4cfc19[_0x5039ef];return _0x1f0648;},_0x5039(_0x202528,_0x11e37f);}import{AIReviewCoreReviewCheckListView as _0x3070be}from'../../aireviewcore/ui/aireviewcorereviewchecklistview.js';function _0x4cfc(){const _0x1175c3=['isVisible','9368ALegtu','locale','5548uygOja','447012slzQoO','bindTemplate','1743054lriOUx','6239670dRpJPr','ck-hidden','ck-ai-translate__check-list-wrapper','_checkViews','div','setTemplate','9IHPXHc','ck-ai-translate__check-list-header','4039dahxkY','AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','3486685kkKhhg','ck-ai_review__check-list','353004oYGxDV','_setupTemplate','177yHjvCb','AI_TRANSLATE_CHECK_LIST_HEADER_TITLE'];_0x4cfc=function(){return _0x1175c3;};return _0x4cfc();}import{getTranslation as _0x1e2fdb}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AITranslateCheckListView extends _0x3070be{[_0x32ec3f(0x7b)](){const _0xda168=_0x32ec3f,_0x547d4a=this[_0xda168(0x6c)];this[_0xda168(0x73)]({'tag':_0xda168(0x72),'attributes':{'class':[_0xda168(0x70),_0x547d4a['if'](_0xda168(0x7e),_0xda168(0x6f),_0x377ab5=>!_0x377ab5)]},'children':[{'tag':_0xda168(0x72),'attributes':{'class':[_0xda168(0x75)]},'children':[{'tag':'h2','children':[{'text':_0x1e2fdb(this[_0xda168(0x80)],_0xda168(0x7d))}]},{'tag':'p','children':[{'text':_0x1e2fdb(this[_0xda168(0x80)],_0xda168(0x77))}]}]},{'tag':_0xda168(0x72),'attributes':{'class':[_0xda168(0x79),_0x547d4a['if'](_0xda168(0x7e),_0xda168(0x6f),_0x37565e=>!_0x37565e)]},'children':this[_0xda168(0x71)]}]});}}
23
+ const _0x3b233b=_0x16e2;(function(_0x18ea86,_0x414cd8){const _0xd9493f=_0x16e2,_0x2c3516=_0x18ea86();while(!![]){try{const _0x5db63c=-parseInt(_0xd9493f(0x1b5))/0x1*(-parseInt(_0xd9493f(0x1bb))/0x2)+-parseInt(_0xd9493f(0x1b0))/0x3*(-parseInt(_0xd9493f(0x1ba))/0x4)+parseInt(_0xd9493f(0x1c2))/0x5+parseInt(_0xd9493f(0x1ab))/0x6+-parseInt(_0xd9493f(0x1c0))/0x7*(-parseInt(_0xd9493f(0x1bd))/0x8)+-parseInt(_0xd9493f(0x1bf))/0x9*(parseInt(_0xd9493f(0x1b6))/0xa)+-parseInt(_0xd9493f(0x1b9))/0xb*(parseInt(_0xd9493f(0x1b4))/0xc);if(_0x5db63c===_0x414cd8)break;else _0x2c3516['push'](_0x2c3516['shift']());}catch(_0x222e4b){_0x2c3516['push'](_0x2c3516['shift']());}}}(_0x254a,0x35e7a));function _0x16e2(_0x3ad9a6,_0x318b92){const _0x254a74=_0x254a();return _0x16e2=function(_0x16e2bd,_0x5eedbb){_0x16e2bd=_0x16e2bd-0x1aa;let _0x1a3562=_0x254a74[_0x16e2bd];return _0x1a3562;},_0x16e2(_0x3ad9a6,_0x318b92);}import{AIReviewCoreReviewCheckListView as _0x349287}from'../../aireviewcore/ui/aireviewcorereviewchecklistview.js';import{getTranslation as _0x4cb6b7}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AITranslateCheckListView extends _0x349287{[_0x3b233b(0x1ad)](){const _0x15bdb6=_0x3b233b,_0x466c07=this[_0x15bdb6(0x1ac)];this[_0x15bdb6(0x1bc)]({'tag':_0x15bdb6(0x1af),'attributes':{'class':[_0x15bdb6(0x1be),_0x466c07['if'](_0x15bdb6(0x1b7),_0x15bdb6(0x1c1),_0x4128d1=>!_0x4128d1)]},'children':[{'tag':_0x15bdb6(0x1af),'attributes':{'class':[_0x15bdb6(0x1b2)]},'children':[{'tag':'h2','children':[{'text':_0x4cb6b7(this[_0x15bdb6(0x1b8)],_0x15bdb6(0x1ae))}]},{'tag':'p','children':[{'text':_0x4cb6b7(this[_0x15bdb6(0x1b8)],_0x15bdb6(0x1aa))}]}]},{'tag':_0x15bdb6(0x1af),'attributes':{'class':[_0x15bdb6(0x1b1),_0x466c07['if'](_0x15bdb6(0x1b7),_0x15bdb6(0x1c1),_0x12745a=>!_0x12745a)]},'children':this[_0x15bdb6(0x1b3)]}]});}}function _0x254a(){const _0x5adf76=['_checkViews','127896XdJfbJ','86QtcNGA','20qgFuZD','isVisible','locale','110pysuvg','4bmqCLp','2394pkpTAQ','setTemplate','8UGtVbe','ck-ai-translate__check-list-wrapper','1335213NkTRXO','1285529CKOcbV','ck-hidden','870310eknvFX','AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','226920lWLgwc','bindTemplate','_setupTemplate','AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','div','376851iycDej','ck-ai_review__check-list','ck-ai-translate__check-list-header'];_0x254a=function(){return _0x5adf76;};return _0x254a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d18aa=_0x5bd7;(function(_0x3ba375,_0x50a7bd){const _0x97af9c=_0x5bd7,_0x7f1ef9=_0x3ba375();while(!![]){try{const _0x583976=parseInt(_0x97af9c(0xd4))/0x1*(parseInt(_0x97af9c(0xe4))/0x2)+-parseInt(_0x97af9c(0xe3))/0x3+parseInt(_0x97af9c(0xd8))/0x4+parseInt(_0x97af9c(0xe1))/0x5*(-parseInt(_0x97af9c(0xd1))/0x6)+parseInt(_0x97af9c(0xd3))/0x7*(-parseInt(_0x97af9c(0xdf))/0x8)+parseInt(_0x97af9c(0xe5))/0x9*(-parseInt(_0x97af9c(0xe7))/0xa)+parseInt(_0x97af9c(0xd0))/0xb*(parseInt(_0x97af9c(0xe6))/0xc);if(_0x583976===_0x50a7bd)break;else _0x7f1ef9['push'](_0x7f1ef9['shift']());}catch(_0x3722a4){_0x7f1ef9['push'](_0x7f1ef9['shift']());}}}(_0x2b42,0xb01ed));import{AIReviewCoreUICheckResultsView as _0x30fa38}from'../../aireviewcore/ui/aireviewcoreuicheckresultsview.js';function _0x5bd7(_0x4908e6,_0xa0c678){const _0x2b4276=_0x2b42();return _0x5bd7=function(_0x5bd78a,_0x5374b6){_0x5bd78a=_0x5bd78a-0xd0;let _0x39f4f4=_0x2b4276[_0x5bd78a];return _0x39f4f4;},_0x5bd7(_0x4908e6,_0xa0c678);}import{getTranslation as _0x157316}from'../../aicore/utils/common-translations.js';function _0x2b42(){const _0x1803c9=['set:isLoading','_createExitReviewButtonView','_createAcceptAllButtonView','AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','8mwMqKo','set','635dfcwZV','headerTitle','1866189dzqxcQ','2632228eHJtzG','9PEbCxA','2517408qADshX','6821530qZmFEC','44UWkMhP','26124mvyaIr','set:isResultReady','973245irPfPj','1zDVyCA','AI_CHAT_HISTORY_CANCEL','label','AI_TRANSLATE_ACCEPT_ALL','2249392iPkszP','AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','locale'];_0x2b42=function(){return _0x1803c9;};return _0x2b42();}export class AITranslateCheckResultsView extends _0x30fa38{constructor(_0x324049,_0x34628b){const _0x18cdff=_0x5bd7;super(_0x324049,_0x34628b),this['on'](_0x18cdff(0xdb),(_0x2f56fd,_0x269bdb,_0x21fa13)=>{const _0x1dd702=_0x18cdff;_0x21fa13&&(this[_0x1dd702(0xe2)]=_0x157316(this[_0x1dd702(0xda)],_0x1dd702(0xd9)));}),this['on'](_0x18cdff(0xd2),(_0x3613d8,_0x3cb581,_0x24c70a)=>{const _0x49bb51=_0x18cdff;_0x24c70a&&(this[_0x49bb51(0xe2)]=_0x157316(this[_0x49bb51(0xda)],_0x49bb51(0xde)));});}[_0x4d18aa(0xdd)](){const _0x4e002f=_0x4d18aa,_0x35e8d9=super[_0x4e002f(0xdd)]();return _0x35e8d9[_0x4e002f(0xe0)](_0x4e002f(0xd6),_0x157316(this[_0x4e002f(0xda)],_0x4e002f(0xd7))),_0x35e8d9;}[_0x4d18aa(0xdc)](){const _0x4750c6=_0x4d18aa,_0x37b5ef=super[_0x4750c6(0xdc)]();return _0x37b5ef[_0x4750c6(0xe0)](_0x4750c6(0xd6),_0x157316(this[_0x4750c6(0xda)],_0x4750c6(0xd5))),_0x37b5ef;}}
23
+ function _0x20a7(){const _0xd9fccd=['AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','16wAoGPp','296464CgYLCv','6160620guyhsE','4cpmXdj','headerTitle','_createExitReviewButtonView','AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','set:isResultReady','4151225gZcrVd','AI_TRANSLATE_ACCEPT_ALL','set','locale','629386aSgXXs','set:isLoading','6HWrRVQ','AI_CHAT_HISTORY_CANCEL','9ibonBn','6939490esLTSq','1326279wudoXH','_createAcceptAllButtonView','2042100SyOSlL','33zDNntH','label'];_0x20a7=function(){return _0xd9fccd;};return _0x20a7();}const _0x41e035=_0x464b;(function(_0x587322,_0x2de393){const _0x293361=_0x464b,_0x10e1df=_0x587322();while(!![]){try{const _0x4752f3=-parseInt(_0x293361(0x164))/0x1+-parseInt(_0x293361(0x15b))/0x2*(-parseInt(_0x293361(0x16a))/0x3)+-parseInt(_0x293361(0x15a))/0x4+parseInt(_0x293361(0x160))/0x5*(parseInt(_0x293361(0x166))/0x6)+-parseInt(_0x293361(0x159))/0x7*(-parseInt(_0x293361(0x158))/0x8)+-parseInt(_0x293361(0x168))/0x9*(-parseInt(_0x293361(0x169))/0xa)+-parseInt(_0x293361(0x155))/0xb*(-parseInt(_0x293361(0x154))/0xc);if(_0x4752f3===_0x2de393)break;else _0x10e1df['push'](_0x10e1df['shift']());}catch(_0x23cb9a){_0x10e1df['push'](_0x10e1df['shift']());}}}(_0x20a7,0xcba14));import{AIReviewCoreUICheckResultsView as _0x36d89f}from'../../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{getTranslation as _0x39fdd9}from'../../aicore/utils/common-translations.js';function _0x464b(_0x33907e,_0x19fdce){const _0x20a7d1=_0x20a7();return _0x464b=function(_0x464b6d,_0x14bd5f){_0x464b6d=_0x464b6d-0x153;let _0xe988e3=_0x20a7d1[_0x464b6d];return _0xe988e3;},_0x464b(_0x33907e,_0x19fdce);}export class AITranslateCheckResultsView extends _0x36d89f{constructor(_0x21bb8e,_0x52da47){const _0x1470bb=_0x464b;super(_0x21bb8e,_0x52da47),this['on'](_0x1470bb(0x165),(_0x399d3c,_0x5279ca,_0x3b2c28)=>{const _0x19ca66=_0x1470bb;_0x3b2c28&&(this[_0x19ca66(0x15c)]=_0x39fdd9(this[_0x19ca66(0x163)],_0x19ca66(0x157)));}),this['on'](_0x1470bb(0x15f),(_0x131ea2,_0x13f05f,_0x3a8943)=>{const _0x52b906=_0x1470bb;_0x3a8943&&(this[_0x52b906(0x15c)]=_0x39fdd9(this[_0x52b906(0x163)],_0x52b906(0x15e)));});}[_0x41e035(0x153)](){const _0x379ca2=_0x41e035,_0x95fbcb=super[_0x379ca2(0x153)]();return _0x95fbcb[_0x379ca2(0x162)](_0x379ca2(0x156),_0x39fdd9(this[_0x379ca2(0x163)],_0x379ca2(0x161))),_0x95fbcb;}[_0x41e035(0x15d)](){const _0xbb1935=_0x41e035,_0x4f550a=super[_0xbb1935(0x15d)]();return _0x4f550a[_0xbb1935(0x162)](_0xbb1935(0x156),_0x39fdd9(this[_0xbb1935(0x163)],_0xbb1935(0x167))),_0x4f550a;}}
@@ -26,6 +26,7 @@ import type { AIReviewModeUI } from './aireviewmode/aireviewmodeui.js';
26
26
  import type { AITranslate } from './aitranslate/aitranslate.js';
27
27
  import type { AITranslateController } from './aitranslate/aitranslatecontroller.js';
28
28
  import type { AITranslateUI } from './aitranslate/aitranslateui.js';
29
+ import { type AIChatShortcuts } from './aichatshortcuts/aichatshortcuts.js';
29
30
  declare module '@ckeditor/ckeditor5-core' {
30
31
  interface EditorConfig {
31
32
  /**
@@ -43,6 +44,7 @@ declare module '@ckeditor/ckeditor5-core' {
43
44
  [AIToggleButtonUI.pluginName]: AIToggleButtonUI;
44
45
  [AIConnector.pluginName]: AIConnector;
45
46
  [AIChat.pluginName]: AIChat;
47
+ [AIChatShortcuts.pluginName]: AIChatShortcuts;
46
48
  [AIChatBalloon.pluginName]: AIChatBalloon;
47
49
  [AIChatController.pluginName]: AIChatController;
48
50
  [AIEditing.pluginName]: AIEditing;
package/src/errors.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xdf05(){var _0x4b281d=['1282945ADzNyf','46540GpKkap','219neSiYN','5417730FTnFML','33572RMWKQo','3177825XifoSA','547176fwJnSa','6TgcoXu','1179692iAjDsw'];_0xdf05=function(){return _0x4b281d;};return _0xdf05();}(function(_0x12e377,_0xc7954a){var _0x309eb7=_0x3160,_0x3af175=_0x12e377();while(!![]){try{var _0x5c66d0=-parseInt(_0x309eb7(0x1b1))/0x1+-parseInt(_0x309eb7(0x1af))/0x2+parseInt(_0x309eb7(0x1b2))/0x3*(parseInt(_0x309eb7(0x1b4))/0x4)+parseInt(_0x309eb7(0x1b0))/0x5*(parseInt(_0x309eb7(0x1ae))/0x6)+-parseInt(_0x309eb7(0x1ac))/0x7+-parseInt(_0x309eb7(0x1ad))/0x8+parseInt(_0x309eb7(0x1b3))/0x9;if(_0x5c66d0===_0xc7954a)break;else _0x3af175['push'](_0x3af175['shift']());}catch(_0x2fee12){_0x3af175['push'](_0x3af175['shift']());}}}(_0xdf05,0x4c4aa));function _0x3160(_0xc9ac21,_0x10bd8f){var _0xdf05cc=_0xdf05();return _0x3160=function(_0x3160c6,_0x563a61){_0x3160c6=_0x3160c6-0x1ac;var _0x21cfdc=_0xdf05cc[_0x3160c6];return _0x21cfdc;},_0x3160(_0xc9ac21,_0x10bd8f);}import{CKEditorError as _0x51690f}from'ckeditor5/src/utils.js';
23
+ (function(_0x125e9f,_0x5169d7){var _0x1632ae=_0x29d5,_0x50e4df=_0x125e9f();while(!![]){try{var _0x521207=-parseInt(_0x1632ae(0x1cd))/0x1*(parseInt(_0x1632ae(0x1c5))/0x2)+parseInt(_0x1632ae(0x1c6))/0x3+parseInt(_0x1632ae(0x1c7))/0x4*(parseInt(_0x1632ae(0x1c9))/0x5)+-parseInt(_0x1632ae(0x1cc))/0x6*(-parseInt(_0x1632ae(0x1c3))/0x7)+parseInt(_0x1632ae(0x1ca))/0x8*(-parseInt(_0x1632ae(0x1c4))/0x9)+-parseInt(_0x1632ae(0x1c8))/0xa+parseInt(_0x1632ae(0x1cb))/0xb*(parseInt(_0x1632ae(0x1ce))/0xc);if(_0x521207===_0x5169d7)break;else _0x50e4df['push'](_0x50e4df['shift']());}catch(_0x25f83c){_0x50e4df['push'](_0x50e4df['shift']());}}}(_0x17b1,0x7172f));import{CKEditorError as _0xd50d64}from'ckeditor5/src/utils.js';function _0x29d5(_0x44926d,_0x1946c7){var _0x17b13f=_0x17b1();return _0x29d5=function(_0x29d5f1,_0x149276){_0x29d5f1=_0x29d5f1-0x1c3;var _0x4c408f=_0x17b13f[_0x29d5f1];return _0x4c408f;},_0x29d5(_0x44926d,_0x1946c7);}function _0x17b1(){var _0x319c08=['1VVCzgj','420rFFFNj','8925DSmKuE','14985BiBbQU','1392454OwaYMR','1444869JJFaew','4iZcUVQ','2584200JQNEkL','709755kpRjdA','1688mDUAOh','240295IrBcXJ','1800cRtNRp'];_0x17b1=function(){return _0x319c08;};return _0x17b1();}
package/src/errorsmap.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe765(){const _0x4493e7=['ai-chat-context-unsupported-file-type','24xybXAI','ai-chat-content-too-large','1450570JQGSVU','ai-chat-model-not-found','119416xDpozc','usage-limits-exceeded','unsupported-content-type','invalid-content-type','ai-chat-invalid-request','ai-chat-unsupported-content-type','rate-limits-exceeded','form-data-size-limits-exceeded','ai-rate-limits-exceeded','model-already-set','ai-invalid-content-type','file-too-large','ai-usage-limits-exceeded','unsupported-file-type','invalid-request-data','1dSBTLx','unsafe-content-detected','2267488QjVPfI','model-not-found','ai-chat-model-already-set','ai-chat-context-file-too-large','file-too-many-pages','3443070MKRgAN','ai-chat-context-form-data-size-limits-exceeded','4852983KSYjuj','1313263ZeenMr','ai-chat-context-file-too-many-pages','ai-chat-unsafe-content-detected','337923qEwOEX','content-too-large','10SWeVhn'];_0xe765=function(){return _0x4493e7;};return _0xe765();}const _0x5790a0=_0x420f;function _0x420f(_0x381c13,_0x25f1ac){const _0xe76502=_0xe765();return _0x420f=function(_0x420f8d,_0x3437fc){_0x420f8d=_0x420f8d-0xa1;let _0x561767=_0xe76502[_0x420f8d];return _0x561767;},_0x420f(_0x381c13,_0x25f1ac);}(function(_0x29596c,_0x2d6655){const _0x1170b7=_0x420f,_0x39b53f=_0x29596c();while(!![]){try{const _0x4f54f3=-parseInt(_0x1170b7(0xab))/0x1*(parseInt(_0x1170b7(0xb2))/0x2)+parseInt(_0x1170b7(0xb4))/0x3+-parseInt(_0x1170b7(0xc0))/0x4+-parseInt(_0x1170b7(0xbe))/0x5*(-parseInt(_0x1170b7(0xbc))/0x6)+parseInt(_0x1170b7(0xb5))/0x7+-parseInt(_0x1170b7(0xad))/0x8+parseInt(_0x1170b7(0xb8))/0x9*(parseInt(_0x1170b7(0xba))/0xa);if(_0x4f54f3===_0x2d6655)break;else _0x39b53f['push'](_0x39b53f['shift']());}catch(_0xec7209){_0x39b53f['push'](_0x39b53f['shift']());}}}(_0xe765,0xec700));export const errorsMap=new Map([[_0x5790a0(0xc1),_0x5790a0(0xa8)],[_0x5790a0(0xa2),_0x5790a0(0xa4)],[_0x5790a0(0xc3),_0x5790a0(0xa6)],[_0x5790a0(0xaa),_0x5790a0(0xc4)],[_0x5790a0(0xa5),_0x5790a0(0xaf)],[_0x5790a0(0xae),_0x5790a0(0xbf)],[_0x5790a0(0xac),_0x5790a0(0xb7)],[_0x5790a0(0xc2),_0x5790a0(0xa1)],[_0x5790a0(0xb9),_0x5790a0(0xbd)],[_0x5790a0(0xa9),_0x5790a0(0xbb)],[_0x5790a0(0xa7),_0x5790a0(0xb0)],[_0x5790a0(0xb1),_0x5790a0(0xb6)],[_0x5790a0(0xa3),_0x5790a0(0xb3)]]);
23
+ const _0xf0eac6=_0x5768;(function(_0x11b883,_0x37827a){const _0x1fb341=_0x5768,_0x85f299=_0x11b883();while(!![]){try{const _0x4b7e2d=-parseInt(_0x1fb341(0xe2))/0x1+-parseInt(_0x1fb341(0xcb))/0x2+parseInt(_0x1fb341(0xc4))/0x3*(parseInt(_0x1fb341(0xd5))/0x4)+parseInt(_0x1fb341(0xce))/0x5*(-parseInt(_0x1fb341(0xcc))/0x6)+-parseInt(_0x1fb341(0xd7))/0x7*(parseInt(_0x1fb341(0xc9))/0x8)+parseInt(_0x1fb341(0xc8))/0x9*(-parseInt(_0x1fb341(0xd1))/0xa)+parseInt(_0x1fb341(0xd3))/0xb;if(_0x4b7e2d===_0x37827a)break;else _0x85f299['push'](_0x85f299['shift']());}catch(_0xe0347e){_0x85f299['push'](_0x85f299['shift']());}}}(_0x4430,0xad088));function _0x5768(_0x24ebf9,_0x52859f){const _0x4430cd=_0x4430();return _0x5768=function(_0x576899,_0x32aa25){_0x576899=_0x576899-0xbf;let _0xc91d4e=_0x4430cd[_0x576899];return _0xc91d4e;},_0x5768(_0x24ebf9,_0x52859f);}function _0x4430(){const _0x1928bf=['file-too-large','ai-chat-context-form-data-size-limits-exceeded','invalid-request-data','ai-chat-context-unsupported-file-type','ai-rate-limits-exceeded','ai-chat-invalid-request','model-already-set','form-data-size-limits-exceeded','300913WwTbFL','ai-usage-limits-exceeded','ai-chat-unsupported-content-type','model-not-found','ai-chat-unsafe-content-detected','ai-chat-content-too-large','unsupported-file-type','3949257yMtzox','ai-chat-model-not-found','unsupported-content-type','usage-limits-exceeded','5469741nBbNHN','8iIAxBH','invalid-content-type','101066QkSxCu','18nEuVib','content-too-large','905470mvDuxW','rate-limits-exceeded','file-too-many-pages','10eWPzik','unsafe-content-detected','21992531DIZYyR','ai-chat-model-already-set','4OdJMMH','ai-invalid-content-type','7731633LvnPgQ','ai-chat-context-file-too-large','ai-chat-context-file-too-many-pages'];_0x4430=function(){return _0x1928bf;};return _0x4430();}export const errorsMap=new Map([[_0xf0eac6(0xc7),_0xf0eac6(0xe3)],[_0xf0eac6(0xcf),_0xf0eac6(0xde)],[_0xf0eac6(0xca),_0xf0eac6(0xd6)],[_0xf0eac6(0xdc),_0xf0eac6(0xdf)],[_0xf0eac6(0xe0),_0xf0eac6(0xd4)],[_0xf0eac6(0xc0),_0xf0eac6(0xc5)],[_0xf0eac6(0xd2),_0xf0eac6(0xc1)],[_0xf0eac6(0xc6),_0xf0eac6(0xbf)],[_0xf0eac6(0xcd),_0xf0eac6(0xc2)],[_0xf0eac6(0xc3),_0xf0eac6(0xdd)],[_0xf0eac6(0xda),_0xf0eac6(0xd8)],[_0xf0eac6(0xd0),_0xf0eac6(0xd9)],[_0xf0eac6(0xe1),_0xf0eac6(0xdb)]]);
package/src/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export { AITabs } from './aitabs/aitabs.js';
17
17
  export { AIConnector } from './aicore/aiconnector.js';
18
18
  export { createResizeButton } from './aicore/utils/createresizebutton.js';
19
19
  export { AIChat, type AIChatConfig, type AIChatInteractionAPI, type AIToolEventCallback } from './aichat/aichat.js';
20
+ export { AIChatShortcuts } from './aichatshortcuts/aichatshortcuts.js';
20
21
  export { AIChatController } from './aichat/aichatcontroller.js';
21
22
  export { AIEditing } from './aicore/aiediting.js';
22
23
  export { AIChatUI } from './aichat/aichatui.js';
@@ -43,7 +44,7 @@ export { AIQuickActionsUI, AIQuickActionType, type AIQuickActionsGroupDefinition
43
44
  export { AIActions } from './aiactions/aiactions.js';
44
45
  export { AIBalloon } from './aiballoon/aiballoon.js';
45
46
  export type { AIReviewCheckOptionData, AIReviewCheckOptions, AIReviewCheckDefinition } from './aireviewcore/types.js';
46
- export { AIReviewMode } from './aireviewmode/aireviewmode.js';
47
+ export { AIReviewMode, type AIReviewCustomCommand, type AIReviewModeConfig } from './aireviewmode/aireviewmode.js';
47
48
  export { AIReviewCoreController as AIReviewModeController } from './aireviewcore/aireviewcorecontroller.js';
48
49
  export { AIReviewCoreEditing as AIReviewModeEditing, type AIDocumentDataElement, type AIDocumentData, type AIDiffResult, type AIReviewCoreChangeRange, type AIReviewCoreChangeData } from './aireviewcore/aireviewcoreediting.js';
49
50
  export { AIReviewModeUI } from './aireviewmode/aireviewmodeui.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4479a4,_0x3a1006){var _0x3c33a0=_0x20a7,_0x317e78=_0x4479a4();while(!![]){try{var _0x559c7b=parseInt(_0x3c33a0(0x12f))/0x1+-parseInt(_0x3c33a0(0x130))/0x2+-parseInt(_0x3c33a0(0x132))/0x3*(-parseInt(_0x3c33a0(0x12a))/0x4)+parseInt(_0x3c33a0(0x131))/0x5+-parseInt(_0x3c33a0(0x12c))/0x6+parseInt(_0x3c33a0(0x12b))/0x7*(-parseInt(_0x3c33a0(0x12d))/0x8)+parseInt(_0x3c33a0(0x12e))/0x9;if(_0x559c7b===_0x3a1006)break;else _0x317e78['push'](_0x317e78['shift']());}catch(_0x30f2f3){_0x317e78['push'](_0x317e78['shift']());}}}(_0x3b23,0xb6e93));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewCoreController as AIReviewModeController}from'./aireviewcore/aireviewcorecontroller.js';export{AIReviewCoreEditing as AIReviewModeEditing}from'./aireviewcore/aireviewcoreediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewcore/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewcore/model/aireviewcheckresult.js';function _0x20a7(_0x4315e7,_0xc53c6f){var _0x3b2334=_0x3b23();return _0x20a7=function(_0x20a794,_0x380ecf){_0x20a794=_0x20a794-0x12a;var _0x23e60f=_0x3b2334[_0x20a794];return _0x23e60f;},_0x20a7(_0x4315e7,_0xc53c6f);}export{AIReviewCheckRun}from'./aireviewcore/model/aireviewcheckrun.js';export{AITranslate}from'./aitranslate/aitranslate.js';function _0x3b23(){var _0x19eee4=['8036454DChMLj','5360AGXKid','24179787stYOWA','371094bmBJKJ','1165338CwOpgW','3382470ZSXtNQ','42714nUqNhE','40NqZioE','12593WQRRQY'];_0x3b23=function(){return _0x19eee4;};return _0x3b23();}export{AITranslateController}from'./aitranslate/aitranslatecontroller.js';export{AITranslateUI}from'./aitranslate/aitranslateui.js';import'./augmentation.js';
23
+ (function(_0x3a1df8,_0x31a445){var _0x170d16=_0x16f6,_0x44cad5=_0x3a1df8();while(!![]){try{var _0x120cd7=parseInt(_0x170d16(0x12e))/0x1*(-parseInt(_0x170d16(0x135))/0x2)+parseInt(_0x170d16(0x139))/0x3*(-parseInt(_0x170d16(0x12f))/0x4)+parseInt(_0x170d16(0x136))/0x5*(-parseInt(_0x170d16(0x137))/0x6)+parseInt(_0x170d16(0x130))/0x7*(parseInt(_0x170d16(0x131))/0x8)+parseInt(_0x170d16(0x133))/0x9+-parseInt(_0x170d16(0x138))/0xa*(-parseInt(_0x170d16(0x132))/0xb)+parseInt(_0x170d16(0x134))/0xc;if(_0x120cd7===_0x31a445)break;else _0x44cad5['push'](_0x44cad5['shift']());}catch(_0x5870b1){_0x44cad5['push'](_0x44cad5['shift']());}}}(_0x4542,0xede3b));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';function _0x16f6(_0x1f44f1,_0x1dd998){var _0x454297=_0x4542();return _0x16f6=function(_0x16f64b,_0x870cb7){_0x16f64b=_0x16f64b-0x12e;var _0x3923b4=_0x454297[_0x16f64b];return _0x3923b4;},_0x16f6(_0x1f44f1,_0x1dd998);}export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatShortcuts}from'./aichatshortcuts/aichatshortcuts.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewCoreController as AIReviewModeController}from'./aireviewcore/aireviewcorecontroller.js';export{AIReviewCoreEditing as AIReviewModeEditing}from'./aireviewcore/aireviewcoreediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewcore/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewcore/model/aireviewcheckresult.js';function _0x4542(){var _0x16bd0c=['6179170jmolRD','22461KVnTCe','24utONZK','356eGusXE','35RiXIMb','1198112Xvgwce','33xWGXlQ','13040559pskkuy','3303264DvSBnM','90994NFapLc','40EOUvQr','1195596hglzCJ'];_0x4542=function(){return _0x16bd0c;};return _0x4542();}export{AIReviewCheckRun}from'./aireviewcore/model/aireviewcheckrun.js';export{AITranslate}from'./aitranslate/aitranslate.js';export{AITranslateController}from'./aitranslate/aitranslatecontroller.js';export{AITranslateUI}from'./aitranslate/aitranslateui.js';import'./augmentation.js';
@@ -36,7 +36,6 @@
36
36
  & .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button {
37
37
  position: absolute;
38
38
  bottom: 3px;
39
- opacity: .7;
40
39
  margin: 0;
41
40
 
42
41
  &:hover, &:focus {
@@ -10,6 +10,8 @@
10
10
  .ck.ck-button.ck-ai-chat-controls-button {
11
11
  --ck-ui-component-min-height: 1.88em;
12
12
 
13
+ color: var(--ck-ai-button-tertiary-color);
14
+ background-color: var(--ck-ai-button-tertiary-background-color);
13
15
  padding: var(--ck-spacing-tiny);
14
16
  flex-shrink: 0;
15
17
  display: flex;
@@ -29,35 +31,32 @@
29
31
  text-align: center;
30
32
  }
31
33
 
32
- &:not(.ck-disabled) {
33
- color: var(--ck-ai-button-tertiary-filled-color);
34
+ &:disabled,
35
+ &.ck-disabled {
36
+ color: var(--ck-ai-button-tertiary-disabled-color);
37
+ background-color: var(--ck-ai-button-tertiary-disabled-background-color);
34
38
 
35
- &:hover {
36
- background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
37
- color: var(--ck-ai-button-tertiary-filled-hover-color);
38
-
39
- & .ck-button__icon {
40
- color: var(--ck-ai-button-tertiary-filled-hover-color);
41
- }
39
+ & > .ck.ck-button__label,
40
+ & > .ck-button__icon {
41
+ opacity: 1;
42
42
  }
43
+ }
43
44
 
44
- &:active {
45
- background-color: var(--ck-ai-button-tertiary-filled-active-background-color);
46
- color: var(--ck-ai-button-tertiary-filled-active-color);
45
+ &:active,
46
+ &.ck-on {
47
+ color: var(--ck-ai-button-tertiary-active-color);
48
+ background-color: var(--ck-ai-button-tertiary-active-background-color);
47
49
 
48
- & .ck-button__icon {
49
- color: var(--ck-ai-button-tertiary-filled-active-color);
50
- }
50
+ &:hover:not(.ck-disabled) {
51
+ color: var(--ck-ai-button-tertiary-hover-active-color);
52
+ background-color: var(--ck-ai-button-tertiary-hover-active-background-color);
51
53
  }
54
+ }
52
55
 
53
- &.ck-on:not(:hover):not(:active):not(.ck-disabled) {
54
- background-color: var(--ck-ai-chat-button-active-background-color);
55
- color: var(--ck-ai-chat-button-active-color);
56
-
57
- & .ck-button__icon {
58
- color: var(--ck-ai-chat-button-active-color);
59
- }
60
- }
56
+ /* stylelint-disable-next-line no-descending-specificity */
57
+ &:hover:not(.ck-disabled, :active, .ck-on) {
58
+ color: var(--ck-ai-button-tertiary-hover-color);
59
+ background-color: var(--ck-ai-button-tertiary-hover-background-color);
61
60
  }
62
61
 
63
62
  & > .ck-icon {
@@ -9,6 +9,11 @@
9
9
 
10
10
  @import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
11
11
 
12
+ :root {
13
+ --ck-color-ai-chat-prompt-input-animation-background: hsl(55 100% 95% / 1);
14
+ --ck-ai-chat-prompt-input-animation: ck-ai-chat-prompt-input-glow .8s ease-in-out;
15
+ }
16
+
12
17
  .ck.ck-ai-chat__prompt-input.ck-search {
13
18
  & .ck-labeled-field-view {
14
19
  width: 100%;
@@ -37,6 +42,14 @@
37
42
  }
38
43
  }
39
44
 
45
+ /**
46
+ * When the focus is moved to the prompt input using the focus() method, the background color
47
+ * can be highlighted for a short time to capture the user's attention.
48
+ */
49
+ &.ck-ai-chat__prompt-input_highlighted .ck.ck-input.ck-textarea {
50
+ animation: var(--ck-ai-chat-prompt-input-animation);
51
+ }
52
+
40
53
  & .ck-ai-chat__prompt-submit-button {
41
54
  height: auto;
42
55
  align-self: flex-end;
@@ -53,3 +66,13 @@
53
66
  }
54
67
  }
55
68
  }
69
+
70
+ @keyframes ck-ai-chat-prompt-input-glow {
71
+ 0% {
72
+ background: var(--ck-color-ai-chat-prompt-input-animation-background);
73
+ }
74
+
75
+ 100% {
76
+ background: var(--ck-color-input-background);
77
+ }
78
+ }
@@ -48,7 +48,6 @@
48
48
  border: 0;
49
49
  font-size: .9em;
50
50
  margin-inline-end: 0;
51
- color: var(--ck-ai-chat-color-icon);
52
51
  padding-top: 0;
53
52
  padding-bottom: 0;
54
53
  min-height: auto;
@@ -60,24 +59,6 @@
60
59
  .ck-button__label {
61
60
  width: auto;
62
61
  }
63
-
64
- &:hover {
65
- background-color: var(--ck-ai-chat-button-active-background-color);
66
- color: var(--ck-ai-chat-button-hover-color);
67
-
68
- & .ck-dropdown__arrow {
69
- color: var(--ck-ai-chat-button-hover-color);
70
- }
71
- }
72
-
73
- &.ck-on:not(:hover) {
74
- background-color: var(--ck-ai-chat-button-active-background-color);
75
- color: var(--ck-ai-background-color-action-button);
76
-
77
- & .ck-dropdown__arrow {
78
- color: var(--ck-ai-background-color-action-button);
79
- }
80
- }
81
62
  }
82
63
 
83
64
  & .ck-list {
@@ -145,7 +145,7 @@
145
145
  & .ck-list__item {
146
146
  & .ck-button {
147
147
  &:hover, &:active {
148
- background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
148
+ background-color: var(--ck-ai-button-secondary-hover-background-color);
149
149
  }
150
150
  }
151
151
  }
@@ -8,18 +8,6 @@
8
8
  */
9
9
 
10
10
  .ck.ck-ai-mini-toolbar {
11
- --ck-color-button-action-background: hsl(263.2, 59.2%, 52%);
12
- --ck-color-button-default-hover-background: hsl(262.1, 100%, 96.3%);
13
- --ck-color-button-default-active-background: hsl(262.1, 100%, 96.3%);
14
- --ck-color-button-on-background: hsl(262.1, 100%, 96.3%);
15
- --ck-color-button-on-hover-background: hsl(262.1, 100%, 96.3%);
16
- --ck-color-button-on-active-background: hsl(262.1, 100%, 96.3%);
17
- --ck-color-button-on-disabled-background: hsl(262.1, 100%, 96.3%);
18
- --ck-color-button-on-color: hsl(263.2, 59.2%, 52%);
19
- --ck-color-button-action-hover-background: hsl(262.6, 58.9%, 49.6%);
20
- --ck-color-button-action-active-background: hsl(262.6, 58.9%, 49.6%);
21
- --ck-color-button-action-disabled-background: hsl(263.8, 59.3%, 75.9%);
22
-
23
11
  & .ck-ai-interaction-counter {
24
12
  color: var(--ck-ai-chat-color-icon);
25
13
  letter-spacing: 2.6px;
@@ -31,10 +19,6 @@
31
19
  font-family: var(--ck-ai-chat-font-family);
32
20
  color: var(--ck-ai-chat-color-icon);
33
21
 
34
- &.ck-on {
35
- color: var(--ck-ai-background-color-action-button);
36
- }
37
-
38
22
  &.ck-button_with-text {
39
23
  min-height: 2.1em;
40
24
  box-sizing: border-box;
@@ -0,0 +1,84 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ :root {
11
+ --ck-color-ai-chat-shortcut-border-color: hsla(261, 100%, 93%, 1);
12
+ --ck-color-ai-chat-shortcut-icon-color: hsl(263, 59%, 52%);
13
+ --ck-color-ai-chat-shortcut-icon-color-hover: hsla(262, 100%, 96%, 1);
14
+ --ck-color-ai-chat-shortcuts-prompt-input-animation-background: hsl(266, 100%, 64%, .05);
15
+
16
+ --ck-ai-chat-shortcut-border-radius: .6em;
17
+ --ck-ai-chat-shortcut-padding: var(--ck-spacing-medium) calc(2 * var(--ck-spacing-standard));
18
+ --ck-ai-chat-shortcut-min-height: 3.07em;
19
+ --ck-ai-chat-shortcut-icon-size: 1.385em;
20
+
21
+ --ck-ai-chat-shortcuts-prompt-input-animation: ck-ai-chat-shortcuts-prompt-input-glow .8s ease-in-out;
22
+ --ck-ai-chat-shortcuts-prompt-input-animation-box-shadow: 0 0 0 4px hsla(263, 59.20%, 52.00%, 0.34);
23
+ --ck-ai-chat-shortcuts-prompt-input-animation-border: 1px solid hsla(263, 59.20%, 52.00%, 1);
24
+ }
25
+
26
+ /* A list of shortcut buttons. */
27
+ .ck.ck-ai-chat-shortcuts {
28
+ & > .ck-list {
29
+ gap: var(--ck-spacing-medium);
30
+ padding: 0;
31
+
32
+ /* A single shortcut button on the shortcuts list. */
33
+ & .ck.ck-button.ck-ai-chat-shortcut {
34
+ border-radius: var(--ck-ai-chat-shortcut-border-radius);
35
+ border-color: var(--ck-color-ai-chat-shortcut-border-color);
36
+ padding: var(--ck-ai-chat-shortcut-padding);
37
+ min-height: var(--ck-ai-chat-shortcut-min-height);
38
+ font-weight: 500;
39
+
40
+ & .ck-icon {
41
+ --ck-icon-size: var(--ck-ai-chat-shortcut-icon-size);
42
+ --ck-icon-font-size: 1em;
43
+
44
+ color: var(--ck-color-ai-chat-shortcut-icon-color);
45
+ margin-right: var(--ck-spacing-standard);
46
+ flex: 0 0 auto;
47
+ }
48
+
49
+ &:hover {
50
+ background-color: var(--ck-color-ai-chat-shortcut-icon-color-hover);
51
+ }
52
+ }
53
+ }
54
+ }
55
+
56
+ /*
57
+ * By default, the messages in the AI Chat are listed at the top of the Chat feed space.
58
+ * This moves the welcome message and shortcuts to the bottom of the feed but does not affect the scrolling behavior.
59
+ */
60
+ .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__items {
61
+ margin-top: auto;
62
+ }
63
+
64
+ /**
65
+ * When the prompt input gets highlighted from the shortcuts, animate the border and box-shadow
66
+ * using AI tint to make it more visible.
67
+ */
68
+ .ck.ck-ai-chat__prompt-input.ck-search.ck-ai-chat__prompt-input_highlighted .ck.ck-input.ck-textarea {
69
+ --ck-color-ai-chat-prompt-input-animation-background: var(--ck-color-ai-chat-shortcuts-prompt-input-animation-background);
70
+
71
+ animation: var(--ck-ai-chat-prompt-input-animation), var(--ck-ai-chat-shortcuts-prompt-input-animation);
72
+ }
73
+
74
+ @keyframes ck-ai-chat-shortcuts-prompt-input-glow {
75
+ 0% {
76
+ box-shadow: var(--ck-ai-chat-shortcuts-prompt-input-animation-box-shadow);
77
+ border: var(--ck-ai-chat-shortcuts-prompt-input-animation-border);
78
+ }
79
+
80
+ 100% {
81
+ box-shadow: var(--ck-focus-outer-shadow);
82
+ border: var(--ck-focus-ring);
83
+ }
84
+ }
@@ -8,16 +8,10 @@
8
8
  */
9
9
 
10
10
  .ck.ck-button.ck-ai-toggle-button {
11
- --ck-color-button-default-hover-background: hsl(262.1,100%,96.3%);
12
- --ck-color-button-default-active-background: hsl(262.1,100%,96.3%);
13
11
 
14
- --ck-color-button-on-background: hsl(262.1,100%,96.3%);
15
- --ck-color-button-on-hover-background: hsl(262.1,100%,96.3%);
16
- --ck-color-button-on-active-background: hsl(262.1,100%,96.3%);
17
- --ck-color-button-on-disabled-background: hsl(262.1,100%,96.3%);
18
- --ck-color-button-on-color: hsl(263.2,59.2%,52%);
19
-
20
- &:hover {
21
- color: var(--ck-color-button-on-color);
22
- }
12
+ --ck-color-button-on-background: hsl(262,100%,96%);
13
+ --ck-color-button-on-hover-background: hsl(261, 100%, 93%);
14
+ --ck-color-button-on-active-background: hsl(261, 100%, 93%);
15
+ --ck-color-button-on-disabled-background: hsl(262,100%,96%);
16
+ --ck-color-button-on-color: hsl(263,59%,52%);
23
17
  }
@@ -52,17 +52,12 @@
52
52
 
53
53
  .ck-toolbar__items {
54
54
  &>.ck.ck-button.ck-ai-quick-actions-button, &>.ck-ai-quick-actions-dropdown > .ck.ck-button {
55
- --ck-color-button-default-hover-background: hsl(262.1,100%,96.3%);
56
- --ck-color-button-default-active-background: hsl(262.1,100%,96.3%);
57
- --ck-color-button-on-background: hsl(262.1,100%,96.3%);
58
- --ck-color-button-on-hover-background: hsl(262.1,100%,96.3%);
59
- --ck-color-button-on-active-background: hsl(262.1,100%,96.3%);
60
- --ck-color-button-on-disabled-background: hsl(262.1,100%,96.3%);
61
- --ck-color-button-on-color: hsl(263.2,59.2%,52%);
62
- }
63
-
64
- &>.ck.ck-button.ck-ai-quick-actions-button:hover, &>.ck-ai-quick-actions-dropdown > .ck.ck-button:hover {
65
- color: var(--ck-color-button-on-color);
55
+ --ck-color-button-default-hover-background: hsl(0, 0%, 94%);
56
+ --ck-color-button-on-background: hsl(262, 100%, 96%);
57
+ --ck-color-button-on-hover-background: hsl(261, 100%, 93%);
58
+ --ck-color-button-on-active-background: hsl(261, 100%, 93%);
59
+ --ck-color-button-on-disabled-background: hsl(262, 100%, 96%);
60
+ --ck-color-button-on-color: hsl(263, 59%, 52%);
66
61
  }
67
62
  }
68
63