@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.7

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 (317) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +1 -1
  3. package/dist/index-editor.css +54 -18
  4. package/dist/index.css +64 -19
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.d.ts +0 -2
  155. package/src/aiactions/aiactions.js +1 -1
  156. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  157. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  158. package/src/aiactions/model/aiactionsreply.js +1 -1
  159. package/src/aiassistant/adapters/aiadapter.js +1 -1
  160. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  161. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  162. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  163. package/src/aiassistant/aiassistant.js +1 -1
  164. package/src/aiassistant/aiassistantediting.js +1 -1
  165. package/src/aiassistant/aiassistantui.js +1 -1
  166. package/src/aiassistant/legacyerrors.js +1 -1
  167. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  168. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  169. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  171. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  172. package/src/aiassistant/ui/form/aiformview.js +1 -1
  173. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  174. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  175. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  176. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  177. package/src/aiassistant/utils/common-translations.js +1 -1
  178. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  179. package/src/aiballoon/aiballoon.js +1 -1
  180. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  181. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  182. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  183. package/src/aiballoon/ui/aiballoonview.js +1 -1
  184. package/src/aichat/aichat.js +1 -1
  185. package/src/aichat/aichatcontroller.js +1 -1
  186. package/src/aichat/aichatui.d.ts +7 -2
  187. package/src/aichat/aichatui.js +1 -1
  188. package/src/aichat/model/aichatcontext.js +1 -1
  189. package/src/aichat/model/aichatconversation.js +1 -1
  190. package/src/aichat/model/aichatinteraction.js +1 -1
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  193. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  213. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  217. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  218. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  219. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  220. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  221. package/src/aichat/utils/eventnames.js +1 -1
  222. package/src/aichat/utils/promisequeue.js +1 -1
  223. package/src/aichat/utils/scrollmanager.js +1 -1
  224. package/src/aichathistory/aichathistory.js +1 -1
  225. package/src/aichathistory/aichathistorycontroller.js +1 -1
  226. package/src/aichathistory/aichathistoryui.js +1 -1
  227. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  228. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  229. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  230. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  231. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  232. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  233. package/src/aiconfig.d.ts +17 -0
  234. package/src/aicore/aiconnector.d.ts +13 -0
  235. package/src/aicore/aiconnector.js +1 -1
  236. package/src/aicore/aiediting.js +1 -1
  237. package/src/aicore/model/aicapabilities.js +1 -1
  238. package/src/aicore/model/aicontext.js +1 -1
  239. package/src/aicore/model/aiinteraction.d.ts +41 -1
  240. package/src/aicore/model/aiinteraction.js +1 -1
  241. package/src/aicore/model/aireply.d.ts +2 -2
  242. package/src/aicore/model/aireply.js +1 -1
  243. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  244. package/src/aicore/pipeline/airesponseparser.js +2 -2
  245. package/src/aicore/ui/aidisclaimerview.js +1 -1
  246. package/src/aicore/ui/aiskeleton.js +1 -1
  247. package/src/aicore/ui/aispinner.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  250. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  251. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  252. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  253. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  254. package/src/aicore/utils/common-translations.js +1 -1
  255. package/src/aicore/utils/createresizebutton.js +1 -1
  256. package/src/aicore/utils/documentposition.js +1 -1
  257. package/src/aicore/utils/documentrange.js +1 -1
  258. package/src/aicore/utils/eventnames.js +1 -1
  259. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  260. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  261. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  262. package/src/aicore/utils/htmlparser.js +1 -1
  263. package/src/aicore/utils/htmlstreamer.js +1 -1
  264. package/src/aieditorintegration/aieditorintegration.js +1 -1
  265. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  266. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  267. package/src/aiquickactions/aiquickactions.js +1 -1
  268. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  269. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  270. package/src/aiquickactions/aiquickactionsui.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  272. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  273. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  274. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  275. package/src/aireviewmode/aireviewmode.js +1 -1
  276. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  277. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  278. package/src/aireviewmode/aireviewmodeui.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  281. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  283. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  284. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  285. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  287. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  290. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  292. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  294. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  296. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  298. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  299. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  300. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  301. package/src/aitabs/aitabs.js +1 -1
  302. package/src/aitabs/aitabsmainview.js +1 -1
  303. package/src/aitabs/tabs/aitabsview.js +1 -1
  304. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  305. package/src/aitabs/tabs/tabpanelview.js +1 -1
  306. package/src/index.d.ts +1 -1
  307. package/src/index.js +1 -1
  308. package/theme/aiballoon/aiballoon.css +17 -4
  309. package/theme/aichat/aichathistory.css +26 -9
  310. package/theme/aichat/aiminitoolbar.css +8 -0
  311. package/theme/aichat/aisuggestioncontainer.css +6 -0
  312. package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
  313. package/theme/aitabs/aitabsview.css +6 -1
  314. package/theme/common/aibutton.css +0 -4
  315. package/theme/common/aiheader.css +1 -0
  316. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  317. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54508a=_0x7bdc;(function(_0x2fbb61,_0x2def87){const _0x38cfe2=_0x7bdc,_0x37d98c=_0x2fbb61();while(!![]){try{const _0x3eeafe=parseInt(_0x38cfe2(0x177))/0x1+parseInt(_0x38cfe2(0x174))/0x2*(-parseInt(_0x38cfe2(0x185))/0x3)+-parseInt(_0x38cfe2(0x173))/0x4*(-parseInt(_0x38cfe2(0x189))/0x5)+parseInt(_0x38cfe2(0x179))/0x6*(-parseInt(_0x38cfe2(0x183))/0x7)+-parseInt(_0x38cfe2(0x180))/0x8+parseInt(_0x38cfe2(0x176))/0x9*(parseInt(_0x38cfe2(0x182))/0xa)+parseInt(_0x38cfe2(0x17e))/0xb;if(_0x3eeafe===_0x2def87)break;else _0x37d98c['push'](_0x37d98c['shift']());}catch(_0x1a4bc5){_0x37d98c['push'](_0x37d98c['shift']());}}}(_0x5940,0x79815));import{ButtonView as _0x2a882c}from'ckeditor5/src/ui.js';function _0x7bdc(_0x464305,_0x3ac8a9){const _0x594045=_0x5940();return _0x7bdc=function(_0x7bdc0d,_0x5bac15){_0x7bdc0d=_0x7bdc0d-0x173;let _0x4f5c09=_0x594045[_0x7bdc0d];return _0x4f5c09;},_0x7bdc(_0x464305,_0x3ac8a9);}import{toArray as _0x2d7969}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x5940(){const _0x36a4c4=['bindTemplate','93570ctEjZQ','144aNavKc','2uybJja','ck-tab-button','63oYUPBT','618230sHnOti','top','24414TDoCPC','set','isVisible','side','ck-tab-button_','3353647FrMNix','extendTemplate','300264xUbIOB','hide','491730IlPFqH','1589UTwqZR','show','1446423WTUMTm','class','isToggleable'];_0x5940=function(){return _0x36a4c4;};return _0x5940();}export class TabButtonView extends _0x2a882c{constructor(_0x539710,_0x418f8e={}){const _0xe06843=_0x7bdc;super(_0x539710),this[_0xe06843(0x187)]=!0x0,this[_0xe06843(0x17a)](_0xe06843(0x17c),_0x418f8e[_0xe06843(0x17c)]||_0xe06843(0x178));const _0x224d30=this[_0xe06843(0x188)];this[_0xe06843(0x17f)]({'attributes':{'class':[_0xe06843(0x175),..._0x2d7969(_0x418f8e[_0xe06843(0x186)]||[]),_0x224d30['to'](_0xe06843(0x17c),_0x528726=>_0xe06843(0x17d)+_0x528726),_0x224d30['to'](_0xe06843(0x186))]}});}[_0x54508a(0x184)](){const _0x2413a1=_0x54508a;this[_0x2413a1(0x17a)](_0x2413a1(0x17b),!0x0);}[_0x54508a(0x181)](){const _0x3ddd61=_0x54508a;this[_0x3ddd61(0x17a)](_0x3ddd61(0x17b),!0x1);}}
23
+ const _0x379b42=_0x3078;(function(_0x494a53,_0x5f3729){const _0xc646f9=_0x3078,_0x429ec3=_0x494a53();while(!![]){try{const _0x42a74b=-parseInt(_0xc646f9(0x77))/0x1+parseInt(_0xc646f9(0x81))/0x2*(-parseInt(_0xc646f9(0x73))/0x3)+parseInt(_0xc646f9(0x82))/0x4+parseInt(_0xc646f9(0x72))/0x5+parseInt(_0xc646f9(0x75))/0x6+-parseInt(_0xc646f9(0x7d))/0x7*(-parseInt(_0xc646f9(0x76))/0x8)+parseInt(_0xc646f9(0x74))/0x9;if(_0x42a74b===_0x5f3729)break;else _0x429ec3['push'](_0x429ec3['shift']());}catch(_0xe4f4fb){_0x429ec3['push'](_0x429ec3['shift']());}}}(_0x2e5f,0xe43ed));import{ButtonView as _0xff668c}from'ckeditor5/src/ui.js';import{toArray as _0x5ac1ee}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x2e5f(){const _0x3e67ff=['18921kEFknx','9273834IUKEcv','4400118xiCyRN','8cBEBrp','1730739LubAlZ','show','bindTemplate','hide','set','side','8071749HNDODa','extendTemplate','class','ck-tab-button','472nBodPY','4756932xrnBGv','ck-tab-button_','top','isToggleable','isVisible','239825KFubkh'];_0x2e5f=function(){return _0x3e67ff;};return _0x2e5f();}function _0x3078(_0xb9895e,_0x4e0584){const _0x2e5f29=_0x2e5f();return _0x3078=function(_0x3078c4,_0x3e1329){_0x3078c4=_0x3078c4-0x6f;let _0x2d8b3c=_0x2e5f29[_0x3078c4];return _0x2d8b3c;},_0x3078(_0xb9895e,_0x4e0584);}export class TabButtonView extends _0xff668c{constructor(_0x14b11d,_0x38f0e6={}){const _0x3341df=_0x3078;super(_0x14b11d),this[_0x3341df(0x70)]=!0x0,this[_0x3341df(0x7b)](_0x3341df(0x7c),_0x38f0e6[_0x3341df(0x7c)]||_0x3341df(0x6f));const _0x94fd6f=this[_0x3341df(0x79)];this[_0x3341df(0x7e)]({'attributes':{'class':[_0x3341df(0x80),..._0x5ac1ee(_0x38f0e6[_0x3341df(0x7f)]||[]),_0x94fd6f['to'](_0x3341df(0x7c),_0x5e60f6=>_0x3341df(0x83)+_0x5e60f6),_0x94fd6f['to'](_0x3341df(0x7f))]}});}[_0x379b42(0x78)](){const _0x2c313a=_0x379b42;this[_0x2c313a(0x7b)](_0x2c313a(0x71),!0x0);}[_0x379b42(0x7a)](){const _0x58b3c8=_0x379b42;this[_0x58b3c8(0x7b)](_0x58b3c8(0x71),!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b79b8=_0x2fe6;(function(_0x5d255f,_0x133c44){const _0x3ee218=_0x2fe6,_0x135f15=_0x5d255f();while(!![]){try{const _0x267722=parseInt(_0x3ee218(0x1a8))/0x1*(parseInt(_0x3ee218(0x1a7))/0x2)+parseInt(_0x3ee218(0x1aa))/0x3+-parseInt(_0x3ee218(0x19e))/0x4+parseInt(_0x3ee218(0x1a1))/0x5*(-parseInt(_0x3ee218(0x1ad))/0x6)+-parseInt(_0x3ee218(0x1a9))/0x7*(-parseInt(_0x3ee218(0x19b))/0x8)+parseInt(_0x3ee218(0x1af))/0x9*(parseInt(_0x3ee218(0x1a4))/0xa)+-parseInt(_0x3ee218(0x1ae))/0xb;if(_0x267722===_0x133c44)break;else _0x135f15['push'](_0x135f15['shift']());}catch(_0x100f88){_0x135f15['push'](_0x135f15['shift']());}}}(_0x37e7,0xe592a));function _0x2fe6(_0x3aaafe,_0xc3b27a){const _0x37e77a=_0x37e7();return _0x2fe6=function(_0x2fe66a,_0x3fcf6b){_0x2fe66a=_0x2fe66a-0x19b;let _0x3e8d41=_0x37e77a[_0x2fe66a];return _0x3e8d41;},_0x2fe6(_0x3aaafe,_0xc3b27a);}import{View as _0x58c472}from'ckeditor5/src/ui.js';function _0x37e7(){const _0x177131=['296538gAmQff','5FgPNsr','13496OJiSCF','4015164mBNRyY','setTemplate','ck-hidden','156ynrkAE','33462176zVnvTf','129321UljLBO','div','set','5464QwwvYt','bindTemplate','isVisible','2392416iUEKdg','children','class','56945kSIDFk','ck-tab-panel','createCollection','1030LAvBZS','show','hide'];_0x37e7=function(){return _0x177131;};return _0x37e7();}import{toArray as _0x1cf201}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x58c472{[_0x1b79b8(0x19f)];constructor(_0x4ca0fb,_0x40870f={}){const _0x2df32c=_0x1b79b8;super(_0x4ca0fb);const _0x6e203a=this[_0x2df32c(0x19c)];this[_0x2df32c(0x1b1)](_0x2df32c(0x19d),!0x1),this[_0x2df32c(0x19f)]=this[_0x2df32c(0x1a3)](),this[_0x2df32c(0x1ab)]({'tag':_0x2df32c(0x1b0),'attributes':{'class':[_0x2df32c(0x1a2),..._0x1cf201(_0x40870f[_0x2df32c(0x1a0)]||[]),_0x6e203a['to'](_0x2df32c(0x1a0)),_0x6e203a['if'](_0x2df32c(0x19d),_0x2df32c(0x1ac),_0x2d422b=>!_0x2d422b)]},'children':this[_0x2df32c(0x19f)]});}[_0x1b79b8(0x1a5)](){const _0x2da77a=_0x1b79b8;this[_0x2da77a(0x1b1)](_0x2da77a(0x19d),!0x0);}[_0x1b79b8(0x1a6)](){const _0x1242cd=_0x1b79b8;this[_0x1242cd(0x1b1)](_0x1242cd(0x19d),!0x1);}}
23
+ const _0xac4bff=_0x5dd5;function _0x5dd5(_0x487052,_0x20115c){const _0x4bcb54=_0x4bcb();return _0x5dd5=function(_0x5dd55b,_0x41c603){_0x5dd55b=_0x5dd55b-0x151;let _0x2db652=_0x4bcb54[_0x5dd55b];return _0x2db652;},_0x5dd5(_0x487052,_0x20115c);}(function(_0x224256,_0x929740){const _0x33532a=_0x5dd5,_0x1aea58=_0x224256();while(!![]){try{const _0xd4b1ea=-parseInt(_0x33532a(0x156))/0x1+-parseInt(_0x33532a(0x157))/0x2+parseInt(_0x33532a(0x161))/0x3*(parseInt(_0x33532a(0x160))/0x4)+parseInt(_0x33532a(0x152))/0x5+-parseInt(_0x33532a(0x164))/0x6+-parseInt(_0x33532a(0x15b))/0x7+parseInt(_0x33532a(0x15c))/0x8;if(_0xd4b1ea===_0x929740)break;else _0x1aea58['push'](_0x1aea58['shift']());}catch(_0x2ed185){_0x1aea58['push'](_0x1aea58['shift']());}}}(_0x4bcb,0x468e0));import{View as _0x13493a}from'ckeditor5/src/ui.js';import{toArray as _0x487c80}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x13493a{[_0xac4bff(0x158)];constructor(_0x344f3c,_0x3b7dbf={}){const _0x834bd3=_0xac4bff;super(_0x344f3c);const _0xa565bc=this[_0x834bd3(0x154)];this[_0x834bd3(0x151)](_0x834bd3(0x155),!0x1),this[_0x834bd3(0x151)](_0x834bd3(0x159),''),this[_0x834bd3(0x158)]=this[_0x834bd3(0x15f)](),this[_0x834bd3(0x163)]({'tag':_0x834bd3(0x153),'attributes':{'class':[_0x834bd3(0x15d),..._0x487c80(_0x3b7dbf[_0x834bd3(0x159)]||[]),_0xa565bc['to'](_0x834bd3(0x159)),_0xa565bc['if'](_0x834bd3(0x155),_0x834bd3(0x15e),_0x25d83b=>!_0x25d83b)]},'children':this[_0x834bd3(0x158)]});}[_0xac4bff(0x15a)](){const _0x1997e2=_0xac4bff;this[_0x1997e2(0x151)](_0x1997e2(0x155),!0x0);}[_0xac4bff(0x162)](){const _0x5bee45=_0xac4bff;this[_0x5bee45(0x151)](_0x5bee45(0x155),!0x1);}}function _0x4bcb(){const _0x4c0283=['set','938590ruEZsU','div','bindTemplate','isVisible','520781xUlYFi','88482HTGHHD','children','class','show','2147425VZJreE','6348168GvbEZE','ck-tab-panel','ck-hidden','createCollection','721884Qzqhhf','9aVsvka','hide','setTemplate','2171178fQMifL'];_0x4bcb=function(){return _0x4c0283;};return _0x4bcb();}
package/src/index.d.ts CHANGED
@@ -29,7 +29,7 @@ export { type AIResizedTabsEvent, type AIResizeTabsEvent } from './aitabs/aitabs
29
29
  export { type AIChatContextConfig, type AIAddContextOptionsState, type AIChatContextItemAddedEvent, type AIChatContextItemRemovedEvent, type AIChatContextSentEvent, type AIChatContextAddContextOptionsChangedEvent, type AIContextProvider, type AIContextResource, type AIContextResourceState, type AIContextProviderState, type AIContextTextResource, type AIChatContextUploadProgressChangedEvent } from './aichat/model/aichatcontext.js';
30
30
  export { type AIContextItemType, type AIContextItemRequestData, type AIContextItem, type AIContextTextResourceType } from './aicore/model/aicontext.js';
31
31
  export { type AIChatModel, type AIChatModelsConfig } from './aichat/model/aichatmodels.js';
32
- export { type AIGenericRequest, type AIConversationStartReply, type AIConversationStartRequest, type AIEventSourceMessageParsed, type AIQueryAssistantReply, type AIConnectorRequest, type AIConnectorQueryAssistantData, type AIUploadReply, type AIUploadRequest, type AIModelData, type AIModelRequest, type AIFetchDocumentReply, type AIFetchDocumentRequest, type AIConversationItem, type AIFetchConversationsRequest, type AIDeleteConversationRequest, type AIUserMessage, type AIAssistantMessage, type AIConversationMessage, type AIGetConversationReply, type AIGetConversationRequest, type AIGetConversationMessagesRequest, type AIUpdateConversationRequest, type AIDeleteFileRequest, type AIDeleteDocumentRequest, type AIDeleteWebResourceRequest, type AIConnectorExecuteActionData, type AIConnectorExecuteCustomActionData, type AIActionsNames, type AIConnectorSystemReviewData, type AIConnectorCustomReviewData } from './aicore/aiconnector.js';
32
+ export { type AIGenericRequest, type AIConversationStartReply, type AIConversationStartRequest, type AIEventSourceMessageParsed, type AIQueryAssistantReply, type AIConnectorRequest, type AIConnectorQueryAssistantData, type AIUploadReply, type AIUploadRequest, type AIModelData, type AIModelRequest, type AIFetchDocumentReply, type AIFetchDocumentRequest, type AIConversationItem, type AIFetchConversationsRequest, type AIDeleteConversationRequest, type AIUserMessage, type AIAssistantMessage, type AIConversationMessage, type AIGetConversationReply, type AIGetConversationRequest, type AIGetConversationMessagesRequest, type AIUpdateConversationRequest, type AIDeleteFileRequest, type AIDeleteDocumentRequest, type AIDeleteWebResourceRequest, type AIConnectorExecuteActionData, type AIConnectorExecuteCustomActionData, type AIActionsNames, type AIConnectorSystemReviewData, type AIConnectorCustomReviewData, type AIUpdateRating, type AIRating } from './aicore/aiconnector.js';
33
33
  export { type AIChatUIStartConversationEvent, type AIChatUISendUserMessageEvent, type AIChatUIAbortPromptStreamEvent, type AIChatUIAddDocumentToContextEvent, type AIChatUIAddFileToContextEvent, type AIChatUIRemoveContextItemEvent } from './aichat/aichatui.js';
34
34
  export { AIChatHistory } from './aichathistory/aichathistory.js';
35
35
  export { AIChatHistoryController } from './aichathistory/aichathistorycontroller.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x533943,_0x399f15){var _0x444b01=_0x1a84,_0x232f3a=_0x533943();while(!![]){try{var _0x1e7331=-parseInt(_0x444b01(0xc3))/0x1+parseInt(_0x444b01(0xc0))/0x2*(-parseInt(_0x444b01(0xc4))/0x3)+parseInt(_0x444b01(0xc5))/0x4*(parseInt(_0x444b01(0xc2))/0x5)+-parseInt(_0x444b01(0xbf))/0x6+-parseInt(_0x444b01(0xbe))/0x7*(parseInt(_0x444b01(0xc1))/0x8)+parseInt(_0x444b01(0xbd))/0x9+parseInt(_0x444b01(0xc6))/0xa;if(_0x1e7331===_0x399f15)break;else _0x232f3a['push'](_0x232f3a['shift']());}catch(_0x5a4923){_0x232f3a['push'](_0x232f3a['shift']());}}}(_0x16f1,0xcd375));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 _0x1a84(_0x1a5850,_0x4d123b){var _0x16f15c=_0x16f1();return _0x1a84=function(_0x1a84db,_0xd7edb7){_0x1a84db=_0x1a84db-0xbd;var _0x44ba33=_0x16f15c[_0x1a84db];return _0x44ba33;},_0x1a84(_0x1a5850,_0x4d123b);}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{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';function _0x16f1(){var _0x826bb7=['70sqtDqb','8333562DcHKWg','1557022FjsNtg','207368eyIGXg','90710aZMpYx','1453718hBzfgI','3JuRupj','248DJCwtp','34796710XJiuug','1048104OkeTal'];_0x16f1=function(){return _0x826bb7;};return _0x16f1();}export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
23
+ (function(_0x2a8d9b,_0x431a02){var _0x536272=_0x398b,_0x2f9846=_0x2a8d9b();while(!![]){try{var _0xe4b565=parseInt(_0x536272(0x13e))/0x1+-parseInt(_0x536272(0x137))/0x2*(-parseInt(_0x536272(0x134))/0x3)+parseInt(_0x536272(0x136))/0x4*(-parseInt(_0x536272(0x13d))/0x5)+-parseInt(_0x536272(0x13a))/0x6*(parseInt(_0x536272(0x13b))/0x7)+-parseInt(_0x536272(0x13c))/0x8*(parseInt(_0x536272(0x138))/0x9)+-parseInt(_0x536272(0x135))/0xa*(-parseInt(_0x536272(0x139))/0xb)+parseInt(_0x536272(0x133))/0xc;if(_0xe4b565===_0x431a02)break;else _0x2f9846['push'](_0x2f9846['shift']());}catch(_0x3ee6dc){_0x2f9846['push'](_0x2f9846['shift']());}}}(_0x2209,0xc2896));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';function _0x398b(_0x324f8f,_0x2787f3){var _0x2209bf=_0x2209();return _0x398b=function(_0x398b62,_0x44825c){_0x398b62=_0x398b62-0x133;var _0xdeb704=_0x2209bf[_0x398b62];return _0xdeb704;},_0x398b(_0x324f8f,_0x2787f3);}function _0x2209(){var _0x363bfc=['119500TRGWem','14205951DEnIOn','517kQwzRR','336lysNtE','68579LGnKkk','8FAcXSZ','5QJOGNm','263994dqrQwU','14304540KYnMeH','33EAJFNh','209230JvWCBf','691108KzTawM'];_0x2209=function(){return _0x363bfc;};return _0x2209();}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{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
@@ -144,7 +144,6 @@
144
144
  &:disabled {
145
145
  color: var(--ck-ai-button-primary-disabled-color);
146
146
  background-color: var(--ck-ai-button-primary-disabled-background-color);
147
- cursor: not-allowed;
148
147
  }
149
148
  }
150
149
 
@@ -166,7 +165,6 @@
166
165
  color: var(--ck-ai-button-secondary-disabled-color);
167
166
  background-color: var(--ck-ai-button-secondary-disabled-background-color);
168
167
  border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
169
- cursor: not-allowed;
170
168
  }
171
169
  }
172
170
  }
@@ -188,6 +186,20 @@
188
186
  }
189
187
  }
190
188
 
189
+ .ck-ai-suggestion__container .ck.ck-ai-suggestion__error {
190
+ padding: var(--ck-spacing-large) !important;
191
+ height: 150px;
192
+
193
+ .ck-ai-suggestion__error-text {
194
+ background-color: hsla(15, 100%, 97%, 1);
195
+ border: 1px solid hsla(14, 100%, 68%, 1);
196
+ color: hsla(0, 0%, 20%, 1);
197
+ padding: var(--ck-spacing-medium);
198
+ display: block;
199
+ border-radius: var(--ck-border-radius);
200
+ }
201
+ }
202
+
191
203
  /*
192
204
  * Classes used by the "fake visual selection" displayed in the content
193
205
  * when the AI Balloon is open.
@@ -202,6 +214,7 @@
202
214
  outline-color: var(--ck-color-ai-selection);
203
215
  }
204
216
 
205
- .ck.ck-dialog-overlay:has(.ai-balloon) {
206
- z-index: 998;
217
+ .ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-ai-quick-actions-group-panel {
218
+ /* Override the height of the panel because the default height adds 2px scrollbar. */
219
+ max-height: 316px;
207
220
  }
@@ -201,15 +201,32 @@
201
201
  margin: var(--ck-spacing-large) 0;
202
202
  }
203
203
 
204
- .ck-ai-chat-history__open-chat-button {
205
- font-size: 0.9em;
206
- border: none;
207
- padding: 0 var(--ck-spacing-standard);
208
- min-height: 22px;
209
- height: 22px;
210
-
211
- background-color: var(--ck-ai-background-color-action-button);
212
- color: var(--ck-ai-font-color-action-button);
204
+ .ck-ai-chat__start-conversation {
205
+ /* TODO: Extract this to a separate class to avoid duplication (same component and styling in Chat header) */
206
+ /* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
207
+ font-size: 11.7px;
208
+ min-height: unset;
209
+ border: 1px solid var(--ck-ai-border-color-button);
210
+ border-radius: var(--ck-border-radius);
211
+ gap: var(--ck-spacing-small);
212
+ color: var(--ck-ai-chat-color-text);
213
+
214
+ &:hover {
215
+ background-color: var(--ck-ai-chat-button-active-background-color);
216
+ }
217
+
218
+ & > .ck-button__label {
219
+ /* Custom value unlike the rest of editor UI. */
220
+ line-height: 1.4em;
221
+ }
222
+
223
+ & > .ck-button__icon {
224
+ /* Custom value unlike the rest of editor UI (defaults to 14px). See how it's used in the icon.css */
225
+ --ck-icon-font-size: .632em;
226
+
227
+ margin-inline-end: 0;
228
+ color: var(--ck-ai-chat-color-text);
229
+ }
213
230
  }
214
231
  }
215
232
 
@@ -25,6 +25,14 @@
25
25
  bottom: 0;
26
26
  transform: translateY(50%);
27
27
 
28
+
29
+
30
+ & .ck-ai-interaction-counter {
31
+ color: var(--ck-ai-chat-color-icon);
32
+ letter-spacing: 2.6px;
33
+ font-family: var(--ck-ai-balloon-font-family);
34
+ }
35
+
28
36
  & .ck.ck-button {
29
37
  font-size: .9em;
30
38
  font-family: var(--ck-ai-chat-font-family);
@@ -130,6 +130,12 @@
130
130
  padding-bottom: 0;
131
131
  margin-bottom: var(--ck-spacing-medium);
132
132
  }
133
+
134
+ &.ck.ck-content:not(:focus) {
135
+ /* Reset default padding and border of `ck-content` class. */
136
+ padding: 0;
137
+ border: 0;
138
+ }
133
139
  }
134
140
 
135
141
  &:hover .ck-ai-suggestion__body__content-part__title .ck-toolbar {
@@ -11,9 +11,10 @@
11
11
  & > .ck-ai-review-mode__check-run-result-response {
12
12
  overflow: hidden;
13
13
 
14
- &.ck.ck-content {
15
- /* Reset default padding of `ck-content`. */
14
+ &.ck.ck-content:not(:focus) {
15
+ /* Reset default padding and border of `ck-content` class. */
16
16
  padding: 0;
17
+ border: 0;
17
18
  }
18
19
 
19
20
  & > * {
@@ -31,6 +31,11 @@
31
31
  &>* {
32
32
  flex-grow: 1;
33
33
  }
34
+
35
+ &.ck-tab-panel_disabled {
36
+ pointer-events: none;
37
+ opacity: 0.5;
38
+ }
34
39
  }
35
40
 
36
41
  &.ck-ai-tabs__overlay {
@@ -61,4 +66,4 @@
61
66
  border-right: 0;
62
67
  }
63
68
  }
64
- }
69
+ }
@@ -56,7 +56,6 @@
56
56
  &.ck-disabled {
57
57
  color: var(--ck-ai-button-primary-disabled-color);
58
58
  background-color: var(--ck-ai-button-primary-disabled-background-color);
59
- cursor: not-allowed;
60
59
 
61
60
  & > .ck.ck-button__label,
62
61
  & > .ck-button__icon {
@@ -84,7 +83,6 @@
84
83
  color: var(--ck-ai-button-secondary-disabled-color);
85
84
  background-color: var(--ck-ai-button-secondary-disabled-background-color);
86
85
  border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
87
- cursor: not-allowed;
88
86
 
89
87
  & > .ck.ck-button__label,
90
88
  & > .ck-button__icon {
@@ -105,7 +103,6 @@
105
103
  &:disabled,
106
104
  &.ck-disabled {
107
105
  color: var(--ck-ai-button-tertiary-disabled-text-color);
108
- cursor: not-allowed;
109
106
 
110
107
  & > .ck.ck-button__label,
111
108
  & > .ck-button__icon {
@@ -134,7 +131,6 @@
134
131
  &.ck-disabled {
135
132
  color: var(--ck-ai-button-tertiary-filled-disabled-color);
136
133
  background-color: var(--ck-ai-button-tertiary-filled-disabled-background-color);
137
- cursor: not-allowed;
138
134
 
139
135
  & > .ck.ck-button__label,
140
136
  & > .ck-button__icon {
@@ -28,6 +28,7 @@
28
28
  }
29
29
 
30
30
  & > .ck.ck-button.ck-ai-chat__start-conversation {
31
+ /* TODO: Extract this to a separate class to avoid duplication (same component and styling in Chat history - empty viewr) */
31
32
  /* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
32
33
  font-size: 11.7px;
33
34
  min-height: unset;
@@ -1,9 +0,0 @@
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/aiquickactions/utils/common-translations
7
- */
8
- import type { Locale } from 'ckeditor5/src/utils.js';
9
- export declare function getTranslation(locale: Locale, id: string, values?: string | number): string;
@@ -1,23 +0,0 @@
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(_0x104f67,_0x232d74,_0x5ef8ad){const t=_0x104f67['t'];switch(_0x232d74){case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x5ef8ad);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});default:return _0x232d74;}}