@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.2

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 (313) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +114 -12
  3. package/dist/index.css +114 -12
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/contexts.json +36 -1
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +16 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/utils/common-translations.js +1 -1
  243. package/src/aicore/utils/createresizebutton.js +1 -1
  244. package/src/aicore/utils/documentposition.js +1 -1
  245. package/src/aicore/utils/documentrange.js +1 -1
  246. package/src/aicore/utils/eventnames.js +1 -1
  247. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  248. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  249. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  250. package/src/aicore/utils/htmlparser.js +1 -1
  251. package/src/aicore/utils/htmlstreamer.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aiquickactions/utils/common-translations.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  262. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  263. package/src/aireviewmode/aireviewmode.js +1 -1
  264. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  265. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  266. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  267. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  268. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  269. package/src/aireviewmode/aireviewmodeui.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  271. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  273. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  274. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  275. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -1
  278. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  279. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  280. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  281. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  282. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  283. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  284. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
  287. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  290. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  291. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  292. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  294. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  295. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  296. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  297. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  298. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  299. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  300. package/src/aitabs/aitabs.js +1 -1
  301. package/src/aitabs/aitabsmainview.js +1 -1
  302. package/src/aitabs/tabs/aitabsview.js +1 -1
  303. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  304. package/src/aitabs/tabs/tabpanelview.js +1 -1
  305. package/src/index.d.ts +3 -2
  306. package/src/index.js +1 -1
  307. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  308. package/theme/aichat/aichat-controls.css +4 -0
  309. package/theme/aichat/aichatfeed.css +4 -0
  310. package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
  311. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  312. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  313. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c17f0=_0x55df;(function(_0xf7afb7,_0x9fcd7){const _0x590d79=_0x55df,_0x39f6f6=_0xf7afb7();while(!![]){try{const _0x85d948=-parseInt(_0x590d79(0x1e0))/0x1+parseInt(_0x590d79(0x20b))/0x2*(-parseInt(_0x590d79(0x1f6))/0x3)+parseInt(_0x590d79(0x1d6))/0x4+-parseInt(_0x590d79(0x1dc))/0x5*(parseInt(_0x590d79(0x1d7))/0x6)+-parseInt(_0x590d79(0x1e6))/0x7+-parseInt(_0x590d79(0x1de))/0x8+parseInt(_0x590d79(0x1e2))/0x9;if(_0x85d948===_0x9fcd7)break;else _0x39f6f6['push'](_0x39f6f6['shift']());}catch(_0x8a27a7){_0x39f6f6['push'](_0x39f6f6['shift']());}}}(_0x3fea,0x8f734));import{View as _0x1c739c}from'ckeditor5/src/ui.js';import{toArray as _0x129fed,CKEditorError as _0x13df99}from'ckeditor5/src/utils.js';function _0x3fea(){const _0x539635=['content','keys','set','buttonLabel','10HeFUaq','locale','8525416yHxbcF','get','964316QceDvQ','render','37948842dybaaq','ck-tabs__panels-container_','addTab:','ui-tabsview-tab-not-found','5714037JegbwV','fire','_getButton','activeTab','ck-tabs__buttons-container_','ck-tabs__buttons-container','showTab','isVisible','bind','_hidePanel','button','isOn','side','_getPanel','buttonIcon','buttonViews','4974WOXara','label','left','execute','ck-reset','isMaximized','ck-tabs_','ck-tabs__panels-container','_tabs','panel','_setupButton','_showPanel','find','icon','getIndex','ck-tabs','show:','activateTab','activateTab:','panelViews','top','530EtrNIz','children','addTab','getTabIds','class','_showButton','add','hide:','hideTab','getTab','bindTemplate','length','right','ck-ai-tabs_maximized','hide','setTemplate','div','reduce','order','_hideButton','show','createCollection','177528OwOhFx','1163082eRNVWq'];_0x3fea=function(){return _0x539635;};return _0x3fea();}import{TabButtonView as _0x1d6cfe}from'./tabbuttonview.js';import{TabPanelView as _0x79ec9c}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';function _0x55df(_0xf04e5,_0x22fa37){const _0x3fea70=_0x3fea();return _0x55df=function(_0x55dfee,_0x3b4216){_0x55dfee=_0x55dfee-0x1c7;let _0x344dd4=_0x3fea70[_0x55dfee];return _0x344dd4;},_0x55df(_0xf04e5,_0x22fa37);}export const AI_TABS_POSITIONS=[_0x1c17f0(0x20a),_0x1c17f0(0x1f8),_0x1c17f0(0x1cc)];export class AITabsView extends _0x1c739c{[_0x1c17f0(0x1f5)]=this[_0x1c17f0(0x1d5)]();[_0x1c17f0(0x209)]=this[_0x1c17f0(0x1d5)]();[_0x1c17f0(0x1fe)]=new Map();constructor(_0x4303be,_0xf2332d={}){const _0x553dea=_0x1c17f0;super(_0x4303be),this[_0x553dea(0x1da)](_0x553dea(0x20f),void 0x0),this[_0x553dea(0x1da)](_0x553dea(0x1e9),null),this[_0x553dea(0x1da)](_0x553dea(0x1f2),_0xf2332d[_0x553dea(0x1f2)]||_0x553dea(0x20a)),this[_0x553dea(0x1da)](_0x553dea(0x1fb),!0x1);const _0x2aa861=this[_0x553dea(0x1ca)];this[_0x553dea(0x1cf)]({'tag':_0x553dea(0x1d0),'attributes':{'class':['ck',_0x553dea(0x1fa),_0x553dea(0x205),..._0x129fed(_0xf2332d[_0x553dea(0x20f)]||[]),_0x2aa861['to'](_0x553dea(0x1f2),_0x2fd2ba=>_0x553dea(0x1fc)+_0x2fd2ba),_0x2aa861['to'](_0x553dea(0x20f)),_0x2aa861['to'](_0x553dea(0x1fb),_0x14917d=>_0x14917d?_0x553dea(0x1cd):'')],'tabindex':'0'},'children':[{'tag':_0x553dea(0x1d0),'attributes':{'class':['ck',_0x553dea(0x1eb),_0x2aa861['to'](_0x553dea(0x1f2),_0xc8034a=>_0x553dea(0x1ea)+_0xc8034a)]},'children':this[_0x553dea(0x1f5)]},{'tag':_0x553dea(0x1d0),'attributes':{'class':['ck',_0x553dea(0x1fd),_0x2aa861['to'](_0x553dea(0x1f2),_0x3f15b2=>_0x553dea(0x1e3)+_0x3f15b2)]},'children':this[_0x553dea(0x209)]},..._0x129fed(_0xf2332d[_0x553dea(0x20c)]||[])]});}[_0x1c17f0(0x20e)](){const _0x215d0c=_0x1c17f0;return[...this[_0x215d0c(0x1fe)][_0x215d0c(0x1d9)]()];}[_0x1c17f0(0x1c9)](_0x43286a){const _0xaa4e7d=_0x1c17f0,_0x4f6ce4=this[_0xaa4e7d(0x1fe)][_0xaa4e7d(0x1df)](_0x43286a);return _0x4f6ce4||null;}[_0x1c17f0(0x20d)](_0x47f7c6){const _0x216966=_0x1c17f0,_0x451d95=this[_0x216966(0x200)]({'id':_0x47f7c6['id'],'label':_0x47f7c6[_0x216966(0x1db)],'icon':_0x47f7c6[_0x216966(0x1f4)],'order':_0x47f7c6[_0x216966(0x1d2)]}),_0x402577=new _0x79ec9c(this[_0x216966(0x1dd)]);return _0x402577[_0x216966(0x1e1)](),_0x47f7c6[_0x216966(0x1d8)]&&_0x402577[_0x216966(0x20c)][_0x216966(0x211)](_0x47f7c6[_0x216966(0x1d8)]),this[_0x216966(0x209)][_0x216966(0x211)](_0x402577),this[_0x216966(0x1fe)][_0x216966(0x1da)](_0x47f7c6['id'],{'button':_0x451d95,'panel':_0x402577,'order':void 0x0!==_0x47f7c6[_0x216966(0x1d2)]?_0x47f7c6[_0x216966(0x1d2)]:null}),this[_0x216966(0x1e7)](_0x216966(0x1e4)+_0x47f7c6['id'],{'id':_0x47f7c6['id'],'button':_0x451d95,'panel':_0x402577}),null===this[_0x216966(0x1e9)]?this[_0x216966(0x207)](_0x47f7c6['id']):this[_0x216966(0x1ef)](_0x47f7c6['id']),{'button':_0x451d95,'panel':_0x402577};}[_0x1c17f0(0x207)](_0x1db37d){const _0x224353=_0x1c17f0;if(null!==_0x1db37d&&!this[_0x224353(0x1c9)](_0x1db37d))throw new _0x13df99(_0x224353(0x1e5),{'tabs':this,'tabId':_0x1db37d});this[_0x224353(0x1e9)]!==_0x1db37d&&(this[_0x224353(0x1e9)]&&this[_0x224353(0x1ef)](this[_0x224353(0x1e9)]),this[_0x224353(0x1e9)]=_0x1db37d,_0x1db37d&&this[_0x224353(0x201)](_0x1db37d),this[_0x224353(0x1e7)](_0x224353(0x208)+_0x1db37d,_0x1db37d));}[_0x1c17f0(0x1ec)](_0x456c63){const _0x1686e5=_0x1c17f0;if(!this[_0x1686e5(0x1c9)](_0x456c63))throw new _0x13df99(_0x1686e5(0x1e5),{'tabs':this,'tabId':_0x456c63});this[_0x1686e5(0x201)](_0x456c63),this[_0x1686e5(0x210)](_0x456c63),this[_0x1686e5(0x1e7)](_0x1686e5(0x206)+_0x456c63,_0x456c63);}[_0x1c17f0(0x1c8)](_0x49900a){const _0x54b865=_0x1c17f0;if(!this[_0x54b865(0x1c9)](_0x49900a))throw new _0x13df99(_0x54b865(0x1e5),{'tabs':this,'tabId':_0x49900a});const _0x5f2a5b=this[_0x54b865(0x1e9)];this[_0x54b865(0x1ef)](_0x49900a),this[_0x54b865(0x1d3)](_0x49900a);const _0x190eb3=this[_0x54b865(0x20e)]();_0x5f2a5b===_0x49900a&&_0x190eb3[_0x54b865(0x1cb)]>0x1&&this[_0x54b865(0x207)](_0x190eb3[_0x54b865(0x202)](_0x453fe6=>_0x453fe6!==_0x49900a)),this[_0x54b865(0x1e7)](_0x54b865(0x1c7)+_0x49900a,_0x49900a);}[_0x1c17f0(0x1f3)](_0x563bb5){const _0xdb37b=_0x1c17f0,_0x58cb6=this[_0xdb37b(0x1fe)][_0xdb37b(0x1df)](_0x563bb5);return _0x58cb6?_0x58cb6[_0xdb37b(0x1ff)]:null;}[_0x1c17f0(0x201)](_0xd1d0f1){const _0x4fb974=_0x1c17f0;null!==this[_0x4fb974(0x1e9)]&&this[_0x4fb974(0x1e9)]!==_0xd1d0f1||this[_0x4fb974(0x1f3)](_0xd1d0f1)[_0x4fb974(0x1d4)]();}[_0x1c17f0(0x1ef)](_0x49b17b){const _0x33d3c2=_0x1c17f0,_0x8533b4=this[_0x33d3c2(0x1f3)](_0x49b17b);_0x8533b4[_0x33d3c2(0x1ed)]&&(this[_0x33d3c2(0x1e9)]===_0x49b17b&&(this[_0x33d3c2(0x1e9)]=null),_0x8533b4[_0x33d3c2(0x1ce)]());}[_0x1c17f0(0x1e8)](_0x23c4c5){const _0x11e936=_0x1c17f0,_0x4af771=this[_0x11e936(0x1fe)][_0x11e936(0x1df)](_0x23c4c5);return _0x4af771?_0x4af771[_0x11e936(0x1f0)]:null;}[_0x1c17f0(0x210)](_0x569494){const _0x42187f=_0x1c17f0;this[_0x42187f(0x1e8)](_0x569494)[_0x42187f(0x1d4)]();}[_0x1c17f0(0x1d3)](_0x6b3de8){const _0x1abbf6=_0x1c17f0;this[_0x1abbf6(0x1e8)](_0x6b3de8)[_0x1abbf6(0x1ce)]();}[_0x1c17f0(0x200)](_0x296084){const _0x1fd863=_0x1c17f0,_0x43c398=new _0x1d6cfe(this[_0x1fd863(0x1dd)],{'side':this[_0x1fd863(0x1f2)]}),_0x145b04=this[_0x1fd863(0x1f5)];if(_0x43c398[_0x1fd863(0x1da)]({'label':_0x296084[_0x1fd863(0x1f7)],'icon':_0x296084[_0x1fd863(0x203)],'tooltip':!0x0,'withText':!0x0}),_0x43c398[_0x1fd863(0x1ee)](_0x1fd863(0x1f1))['to'](this,_0x1fd863(0x1e9),_0x2bb920=>_0x2bb920===_0x296084['id']),_0x43c398[_0x1fd863(0x1ee)](_0x1fd863(0x1f2))['to'](this,_0x1fd863(0x1f2)),_0x296084[_0x1fd863(0x1d2)]){const _0x22adf8=[...this[_0x1fd863(0x1fe)]][_0x1fd863(0x1d1)]((_0x2c386e,_0x485cb5)=>{const _0x5c3cd7=_0x1fd863,_0xe4accb=_0x485cb5[0x0],{order:_0x34e03d}=_0x485cb5[0x1];return!_0x34e03d||_0x34e03d>_0x296084[_0x5c3cd7(0x1d2)]?_0x2c386e:_0x34e03d>=_0x2c386e[_0x5c3cd7(0x1d2)]?{'id':_0xe4accb,'order':_0x34e03d}:_0x2c386e;},{'id':'','order':0x0}),_0x4a68ea=_0x145b04[_0x1fd863(0x204)](this[_0x1fd863(0x1e8)](_0x22adf8['id']));_0x145b04[_0x1fd863(0x211)](_0x43c398,_0x4a68ea+0x1);}else _0x145b04[_0x1fd863(0x211)](_0x43c398);return _0x43c398['on'](_0x1fd863(0x1f9),()=>{const _0x39fa7b=_0x1fd863;this[_0x39fa7b(0x207)](_0x296084['id']);}),_0x43c398;}}
23
+ const _0x2b7ca5=_0x394c;(function(_0x1214cf,_0x173704){const _0x44b82d=_0x394c,_0x5d8577=_0x1214cf();while(!![]){try{const _0x16e72c=-parseInt(_0x44b82d(0x118))/0x1+parseInt(_0x44b82d(0x12c))/0x2+-parseInt(_0x44b82d(0x115))/0x3+-parseInt(_0x44b82d(0x110))/0x4*(-parseInt(_0x44b82d(0xfb))/0x5)+parseInt(_0x44b82d(0x114))/0x6+-parseInt(_0x44b82d(0x124))/0x7*(-parseInt(_0x44b82d(0x103))/0x8)+-parseInt(_0x44b82d(0xf4))/0x9;if(_0x16e72c===_0x173704)break;else _0x5d8577['push'](_0x5d8577['shift']());}catch(_0x5d8858){_0x5d8577['push'](_0x5d8577['shift']());}}}(_0x581c,0x9ddda));import{View as _0x156473}from'ckeditor5/src/ui.js';import{toArray as _0x1a853d,CKEditorError as _0x540e93}from'ckeditor5/src/utils.js';function _0x394c(_0x33ea10,_0x2ea225){const _0x581c39=_0x581c();return _0x394c=function(_0x394cc5,_0x277c16){_0x394cc5=_0x394cc5-0xe4;let _0x3865a7=_0x581c39[_0x394cc5];return _0x3865a7;},_0x394c(_0x33ea10,_0x2ea225);}import{TabButtonView as _0x2fc325}from'./tabbuttonview.js';import{TabPanelView as _0x228f8f}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x2b7ca5(0x116),_0x2b7ca5(0x12e),_0x2b7ca5(0x129)];export class AITabsView extends _0x156473{[_0x2b7ca5(0x106)]=this[_0x2b7ca5(0xee)]();[_0x2b7ca5(0xe8)]=this[_0x2b7ca5(0xee)]();[_0x2b7ca5(0x10f)]=new Map();constructor(_0x2c5c58,_0x5d45cd={}){const _0x34138a=_0x2b7ca5;super(_0x2c5c58),this[_0x34138a(0xfe)](_0x34138a(0x11a),void 0x0),this[_0x34138a(0xfe)](_0x34138a(0xec),null),this[_0x34138a(0xfe)](_0x34138a(0x127),_0x5d45cd[_0x34138a(0x127)]||_0x34138a(0x116)),this[_0x34138a(0xfe)](_0x34138a(0xe9),!0x1);const _0x4b1571=this[_0x34138a(0xf0)];this[_0x34138a(0x122)]({'tag':_0x34138a(0xe5),'attributes':{'class':['ck',_0x34138a(0x119),_0x34138a(0x105),..._0x1a853d(_0x5d45cd[_0x34138a(0x11a)]||[]),_0x4b1571['to'](_0x34138a(0x127),_0x13cf48=>_0x34138a(0xf1)+_0x13cf48),_0x4b1571['to'](_0x34138a(0x11a)),_0x4b1571['to'](_0x34138a(0xe9),_0x5bf1a5=>_0x5bf1a5?_0x34138a(0x100):'')],'tabindex':'0'},'children':[{'tag':_0x34138a(0xe5),'attributes':{'class':['ck',_0x34138a(0x120),_0x4b1571['to'](_0x34138a(0x127),_0x33007a=>_0x34138a(0xea)+_0x33007a)]},'children':this[_0x34138a(0x106)]},{'tag':_0x34138a(0xe5),'attributes':{'class':['ck',_0x34138a(0x128),_0x4b1571['to'](_0x34138a(0x127),_0x4dff11=>_0x34138a(0x10c)+_0x4dff11)]},'children':this[_0x34138a(0xe8)]},..._0x1a853d(_0x5d45cd[_0x34138a(0x111)]||[])]});}[_0x2b7ca5(0x11f)](){const _0x309d44=_0x2b7ca5;return[...this[_0x309d44(0x10f)][_0x309d44(0x117)]()];}[_0x2b7ca5(0xfc)](_0x439c99){const _0x30ae69=_0x2b7ca5,_0x6dfe16=this[_0x30ae69(0x10f)][_0x30ae69(0x113)](_0x439c99);return _0x6dfe16||null;}[_0x2b7ca5(0x107)](_0x3e29e8){const _0xcd083=_0x2b7ca5,_0x4c0716=this[_0xcd083(0xf6)]({'id':_0x3e29e8['id'],'label':_0x3e29e8[_0xcd083(0x10e)],'icon':_0x3e29e8[_0xcd083(0x10a)],'order':_0x3e29e8[_0xcd083(0xe4)]}),_0x4e930d=new _0x228f8f(this[_0xcd083(0xff)]);return _0x4e930d[_0xcd083(0x11d)](),_0x3e29e8[_0xcd083(0xe7)]&&_0x4e930d[_0xcd083(0x111)][_0xcd083(0xf8)](_0x3e29e8[_0xcd083(0xe7)]),this[_0xcd083(0xe8)][_0xcd083(0xf8)](_0x4e930d),this[_0xcd083(0x10f)][_0xcd083(0xfe)](_0x3e29e8['id'],{'button':_0x4c0716,'panel':_0x4e930d,'order':void 0x0!==_0x3e29e8[_0xcd083(0xe4)]?_0x3e29e8[_0xcd083(0xe4)]:null}),this[_0xcd083(0x12a)](_0xcd083(0x10b)+_0x3e29e8['id'],{'id':_0x3e29e8['id'],'button':_0x4c0716,'panel':_0x4e930d}),null===this[_0xcd083(0xec)]?this[_0xcd083(0xf3)](_0x3e29e8['id']):this[_0xcd083(0xef)](_0x3e29e8['id']),{'button':_0x4c0716,'panel':_0x4e930d};}[_0x2b7ca5(0xf3)](_0x57a036){const _0x119840=_0x2b7ca5;if(null!==_0x57a036&&!this[_0x119840(0xfc)](_0x57a036))throw new _0x540e93(_0x119840(0xe6),{'tabs':this,'tabId':_0x57a036});this[_0x119840(0xec)]!==_0x57a036&&(this[_0x119840(0xec)]&&this[_0x119840(0xef)](this[_0x119840(0xec)]),this[_0x119840(0xec)]=_0x57a036,_0x57a036&&this[_0x119840(0x12b)](_0x57a036),this[_0x119840(0x12a)](_0x119840(0xfa)+_0x57a036,_0x57a036));}[_0x2b7ca5(0x121)](_0x266941){const _0x155f3a=_0x2b7ca5;if(!this[_0x155f3a(0xfc)](_0x266941))throw new _0x540e93(_0x155f3a(0xe6),{'tabs':this,'tabId':_0x266941});this[_0x155f3a(0x12b)](_0x266941),this[_0x155f3a(0xf2)](_0x266941),this[_0x155f3a(0x12a)](_0x155f3a(0x109)+_0x266941,_0x266941);}[_0x2b7ca5(0x104)](_0x2b87fe){const _0xf10bda=_0x2b7ca5;if(!this[_0xf10bda(0xfc)](_0x2b87fe))throw new _0x540e93(_0xf10bda(0xe6),{'tabs':this,'tabId':_0x2b87fe});const _0xdde3be=this[_0xf10bda(0xec)];this[_0xf10bda(0xef)](_0x2b87fe),this[_0xf10bda(0xf9)](_0x2b87fe);const _0x4880c6=this[_0xf10bda(0x11f)]();_0xdde3be===_0x2b87fe&&_0x4880c6[_0xf10bda(0xeb)]>0x1&&this[_0xf10bda(0xf3)](_0x4880c6[_0xf10bda(0x112)](_0x2bbe71=>_0x2bbe71!==_0x2b87fe)),this[_0xf10bda(0x12a)](_0xf10bda(0x126)+_0x2b87fe,_0x2b87fe);}[_0x2b7ca5(0x108)](_0x51fd71){const _0x40355c=_0x2b7ca5,_0xf8ec02=this[_0x40355c(0x10f)][_0x40355c(0x113)](_0x51fd71);return _0xf8ec02?_0xf8ec02[_0x40355c(0xed)]:null;}[_0x2b7ca5(0x12b)](_0x3b9505){const _0x46e282=_0x2b7ca5;null!==this[_0x46e282(0xec)]&&this[_0x46e282(0xec)]!==_0x3b9505||this[_0x46e282(0x108)](_0x3b9505)[_0x46e282(0x102)]();}[_0x2b7ca5(0xef)](_0x44632c){const _0x2027bb=_0x2b7ca5,_0x2553ac=this[_0x2027bb(0x108)](_0x44632c);_0x2553ac[_0x2027bb(0xf5)]&&(this[_0x2027bb(0xec)]===_0x44632c&&(this[_0x2027bb(0xec)]=null),_0x2553ac[_0x2027bb(0x11c)]());}[_0x2b7ca5(0x12d)](_0x503309){const _0x4d53af=_0x2b7ca5,_0x488bde=this[_0x4d53af(0x10f)][_0x4d53af(0x113)](_0x503309);return _0x488bde?_0x488bde[_0x4d53af(0x11b)]:null;}[_0x2b7ca5(0xf2)](_0x4506b9){const _0x40e3c2=_0x2b7ca5;this[_0x40e3c2(0x12d)](_0x4506b9)[_0x40e3c2(0x102)]();}[_0x2b7ca5(0xf9)](_0x3dc42b){const _0x1d2f85=_0x2b7ca5;this[_0x1d2f85(0x12d)](_0x3dc42b)[_0x1d2f85(0x11c)]();}[_0x2b7ca5(0xf6)](_0x5ba463){const _0x361196=_0x2b7ca5,_0x2054ab=new _0x2fc325(this[_0x361196(0xff)],{'side':this[_0x361196(0x127)]}),_0x3074d3=this[_0x361196(0x106)];if(_0x2054ab[_0x361196(0xfe)]({'label':_0x5ba463[_0x361196(0xfd)],'icon':_0x5ba463[_0x361196(0x123)],'tooltip':!0x0,'withText':!0x0}),_0x2054ab[_0x361196(0xf7)](_0x361196(0x10d))['to'](this,_0x361196(0xec),_0x313882=>_0x313882===_0x5ba463['id']),_0x2054ab[_0x361196(0xf7)](_0x361196(0x127))['to'](this,_0x361196(0x127)),_0x5ba463[_0x361196(0xe4)]){const _0x24206e=[...this[_0x361196(0x10f)]][_0x361196(0x125)]((_0x591a70,_0x186c87)=>{const _0x10fe17=_0x361196,_0x43ce79=_0x186c87[0x0],{order:_0x10f738}=_0x186c87[0x1];return!_0x10f738||_0x10f738>_0x5ba463[_0x10fe17(0xe4)]?_0x591a70:_0x10f738>=_0x591a70[_0x10fe17(0xe4)]?{'id':_0x43ce79,'order':_0x10f738}:_0x591a70;},{'id':'','order':0x0}),_0x23d819=_0x3074d3[_0x361196(0x11e)](this[_0x361196(0x12d)](_0x24206e['id']));_0x3074d3[_0x361196(0xf8)](_0x2054ab,_0x23d819+0x1);}else _0x3074d3[_0x361196(0xf8)](_0x2054ab);return _0x2054ab['on'](_0x361196(0x101),()=>{const _0x260e7e=_0x361196;this[_0x260e7e(0xf3)](_0x5ba463['id']);}),_0x2054ab;}}function _0x581c(){const _0x2365e0=['buttonLabel','_tabs','24whckQq','children','find','get','1708554UfhTUx','3521652oabHZr','top','keys','766268wyaQoO','ck-reset','class','button','hide','render','getIndex','getTabIds','ck-tabs__buttons-container','showTab','setTemplate','icon','49ScjyAL','reduce','hide:','side','ck-tabs__panels-container','right','fire','_showPanel','2307496TSjDkd','_getButton','left','order','div','ui-tabsview-tab-not-found','content','panelViews','isMaximized','ck-tabs__buttons-container_','length','activeTab','panel','createCollection','_hidePanel','bindTemplate','ck-tabs_','_showButton','activateTab','2105892vFBGEw','isVisible','_setupButton','bind','add','_hideButton','activateTab:','855245yZEcHA','getTab','label','set','locale','ck-ai-tabs_maximized','execute','show','406808Nnrjhi','hideTab','ck-tabs','buttonViews','addTab','_getPanel','show:','buttonIcon','addTab:','ck-tabs__panels-container_','isOn'];_0x581c=function(){return _0x2365e0;};return _0x581c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14e5d4=_0x2069;(function(_0x600675,_0x391092){const _0x2dbe8a=_0x2069,_0x35e159=_0x600675();while(!![]){try{const _0x6c7033=parseInt(_0x2dbe8a(0x130))/0x1+parseInt(_0x2dbe8a(0x128))/0x2*(parseInt(_0x2dbe8a(0x134))/0x3)+-parseInt(_0x2dbe8a(0x138))/0x4+-parseInt(_0x2dbe8a(0x135))/0x5*(parseInt(_0x2dbe8a(0x12b))/0x6)+parseInt(_0x2dbe8a(0x12a))/0x7*(-parseInt(_0x2dbe8a(0x126))/0x8)+parseInt(_0x2dbe8a(0x12f))/0x9+parseInt(_0x2dbe8a(0x132))/0xa*(parseInt(_0x2dbe8a(0x139))/0xb);if(_0x6c7033===_0x391092)break;else _0x35e159['push'](_0x35e159['shift']());}catch(_0x342b83){_0x35e159['push'](_0x35e159['shift']());}}}(_0x5240,0x2420c));import{ButtonView as _0x302fe3}from'ckeditor5/src/ui.js';function _0x2069(_0x20422b,_0x1a3ede){const _0x52409b=_0x5240();return _0x2069=function(_0x206962,_0x4bcb63){_0x206962=_0x206962-0x125;let _0x29a3b9=_0x52409b[_0x206962];return _0x29a3b9;},_0x2069(_0x20422b,_0x1a3ede);}import{toArray as _0x4ac666}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x302fe3{constructor(_0x43c4a7,_0x1c7a2c={}){const _0x4eaf1f=_0x2069;super(_0x43c4a7),this[_0x4eaf1f(0x12e)]=!0x0,this[_0x4eaf1f(0x12c)](_0x4eaf1f(0x13a),_0x1c7a2c[_0x4eaf1f(0x13a)]||_0x4eaf1f(0x13b));const _0x5f2951=this[_0x4eaf1f(0x12d)];this[_0x4eaf1f(0x131)]({'attributes':{'class':[_0x4eaf1f(0x125),..._0x4ac666(_0x1c7a2c[_0x4eaf1f(0x133)]||[]),_0x5f2951['to'](_0x4eaf1f(0x13a),_0x12f140=>_0x4eaf1f(0x137)+_0x12f140),_0x5f2951['to'](_0x4eaf1f(0x133))]}});}[_0x14e5d4(0x136)](){const _0xd400=_0x14e5d4;this[_0xd400(0x12c)](_0xd400(0x127),!0x0);}[_0x14e5d4(0x129)](){const _0x26b569=_0x14e5d4;this[_0x26b569(0x12c)](_0x26b569(0x127),!0x1);}}function _0x5240(){const _0xb59ea9=['44601xYvHAQ','992295BIaGwp','show','ck-tab-button_','1117416oANwmV','4037uaCUbe','side','top','ck-tab-button','1240gaIjfq','isVisible','10gflPVd','hide','11473DnrJAt','6XLveAM','set','bindTemplate','isToggleable','943407CxEZfD','209634pgafoL','extendTemplate','13380bFmBOT','class'];_0x5240=function(){return _0xb59ea9;};return _0x5240();}
23
+ const _0x52f8e0=_0x394f;(function(_0x1af15d,_0x34b9ba){const _0x4516d4=_0x394f,_0x27e0a8=_0x1af15d();while(!![]){try{const _0x5a1798=parseInt(_0x4516d4(0x117))/0x1+-parseInt(_0x4516d4(0x122))/0x2+parseInt(_0x4516d4(0x121))/0x3+-parseInt(_0x4516d4(0x124))/0x4*(parseInt(_0x4516d4(0x116))/0x5)+-parseInt(_0x4516d4(0x125))/0x6+-parseInt(_0x4516d4(0x11c))/0x7*(parseInt(_0x4516d4(0x11f))/0x8)+parseInt(_0x4516d4(0x11e))/0x9;if(_0x5a1798===_0x34b9ba)break;else _0x27e0a8['push'](_0x27e0a8['shift']());}catch(_0x3b10f0){_0x27e0a8['push'](_0x27e0a8['shift']());}}}(_0x4f16,0xeb5d4));import{ButtonView as _0x39c5ce}from'ckeditor5/src/ui.js';import{toArray as _0x39dc52}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x394f(_0xdcc716,_0x3f6a15){const _0x4f1663=_0x4f16();return _0x394f=function(_0x394fa4,_0x3247aa){_0x394fa4=_0x394fa4-0x116;let _0x181fab=_0x4f1663[_0x394fa4];return _0x181fab;},_0x394f(_0xdcc716,_0x3f6a15);}function _0x4f16(){const _0x3525ba=['12536892BMJxCF','7047368WcRGMw','ck-tab-button','3442431jblpAa','1132968Jftrpa','top','221444pyAUrQ','5989674jpRqbK','isVisible','bindTemplate','side','extendTemplate','set','70wzDNfL','1644325cfuRIL','show','class','isToggleable','ck-tab-button_','7NfRdqT','hide'];_0x4f16=function(){return _0x3525ba;};return _0x4f16();}export class TabButtonView extends _0x39c5ce{constructor(_0x4bd7ef,_0x310e7f={}){const _0x1554ba=_0x394f;super(_0x4bd7ef),this[_0x1554ba(0x11a)]=!0x0,this[_0x1554ba(0x12a)](_0x1554ba(0x128),_0x310e7f[_0x1554ba(0x128)]||_0x1554ba(0x123));const _0x541225=this[_0x1554ba(0x127)];this[_0x1554ba(0x129)]({'attributes':{'class':[_0x1554ba(0x120),..._0x39dc52(_0x310e7f[_0x1554ba(0x119)]||[]),_0x541225['to'](_0x1554ba(0x128),_0x1b833f=>_0x1554ba(0x11b)+_0x1b833f),_0x541225['to'](_0x1554ba(0x119))]}});}[_0x52f8e0(0x118)](){const _0x516a56=_0x52f8e0;this[_0x516a56(0x12a)](_0x516a56(0x126),!0x0);}[_0x52f8e0(0x11d)](){const _0x3a2d18=_0x52f8e0;this[_0x3a2d18(0x12a)](_0x3a2d18(0x126),!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57e024=_0x1e0e;(function(_0x421312,_0x2bb280){const _0x7b06dd=_0x1e0e,_0x226619=_0x421312();while(!![]){try{const _0x5c8f3b=-parseInt(_0x7b06dd(0x18e))/0x1+parseInt(_0x7b06dd(0x186))/0x2*(-parseInt(_0x7b06dd(0x18d))/0x3)+-parseInt(_0x7b06dd(0x189))/0x4+-parseInt(_0x7b06dd(0x182))/0x5+parseInt(_0x7b06dd(0x188))/0x6*(parseInt(_0x7b06dd(0x185))/0x7)+parseInt(_0x7b06dd(0x17e))/0x8+parseInt(_0x7b06dd(0x184))/0x9;if(_0x5c8f3b===_0x2bb280)break;else _0x226619['push'](_0x226619['shift']());}catch(_0x5be9c4){_0x226619['push'](_0x226619['shift']());}}}(_0x3d87,0x30980));import{View as _0x3ddeb9}from'ckeditor5/src/ui.js';function _0x1e0e(_0x268439,_0x52d6f1){const _0x3d87ec=_0x3d87();return _0x1e0e=function(_0x1e0e62,_0x2fec93){_0x1e0e62=_0x1e0e62-0x17d;let _0x5a1538=_0x3d87ec[_0x1e0e62];return _0x5a1538;},_0x1e0e(_0x268439,_0x52d6f1);}import{toArray as _0x112114}from'ckeditor5/src/utils.js';function _0x3d87(){const _0x3e900a=['778768xGFJuo','set','hide','bindTemplate','3dvVFEN','304200bzVCnL','setTemplate','show','isVisible','div','233144FqMPbl','children','createCollection','ck-hidden','1498300QRQgIk','class','9321498EzBVWM','131250uGOXPz','509546CGoJNf','ck-tab-panel','60fzWlim'];_0x3d87=function(){return _0x3e900a;};return _0x3d87();}export class TabPanelView extends _0x3ddeb9{[_0x57e024(0x17f)];constructor(_0x4edc94,_0x4570c8={}){const _0x523986=_0x57e024;super(_0x4edc94);const _0x4b174d=this[_0x523986(0x18c)];this[_0x523986(0x18a)](_0x523986(0x191),!0x1),this[_0x523986(0x17f)]=this[_0x523986(0x180)](),this[_0x523986(0x18f)]({'tag':_0x523986(0x17d),'attributes':{'class':[_0x523986(0x187),..._0x112114(_0x4570c8[_0x523986(0x183)]||[]),_0x4b174d['to'](_0x523986(0x183)),_0x4b174d['if'](_0x523986(0x191),_0x523986(0x181),_0x36ad5f=>!_0x36ad5f)]},'children':this[_0x523986(0x17f)]});}[_0x57e024(0x190)](){const _0x57e6f4=_0x57e024;this[_0x57e6f4(0x18a)](_0x57e6f4(0x191),!0x0);}[_0x57e024(0x18b)](){const _0x57135f=_0x57e024;this[_0x57135f(0x18a)](_0x57135f(0x191),!0x1);}}
23
+ const _0x1c9f01=_0x3da4;(function(_0x4fd7b0,_0x2c1fa6){const _0x124c3f=_0x3da4,_0x39b7d2=_0x4fd7b0();while(!![]){try{const _0x23003a=parseInt(_0x124c3f(0x9c))/0x1*(parseInt(_0x124c3f(0x9e))/0x2)+-parseInt(_0x124c3f(0x9a))/0x3+-parseInt(_0x124c3f(0x96))/0x4+parseInt(_0x124c3f(0x9d))/0x5+-parseInt(_0x124c3f(0xa2))/0x6+-parseInt(_0x124c3f(0xa8))/0x7+parseInt(_0x124c3f(0x99))/0x8;if(_0x23003a===_0x2c1fa6)break;else _0x39b7d2['push'](_0x39b7d2['shift']());}catch(_0x1b8223){_0x39b7d2['push'](_0x39b7d2['shift']());}}}(_0x1361,0xb9e11));import{View as _0x47e701}from'ckeditor5/src/ui.js';import{toArray as _0x4e6e21}from'ckeditor5/src/utils.js';function _0x3da4(_0x31f25b,_0xc76fa9){const _0x1361ad=_0x1361();return _0x3da4=function(_0x3da488,_0x5f5a5f){_0x3da488=_0x3da488-0x95;let _0x15cc80=_0x1361ad[_0x3da488];return _0x15cc80;},_0x3da4(_0x31f25b,_0xc76fa9);}function _0x1361(){const _0x9c218d=['isVisible','hide','487128iaqqNB','class','createCollection','ck-hidden','bindTemplate','show','3228393mvIeZA','set','4579228XYENQn','ck-tab-panel','div','10996912dYaSpj','590601kgLYHx','setTemplate','5741tmTYwJ','4832675CruUvv','106Nwysdq','children'];_0x1361=function(){return _0x9c218d;};return _0x1361();}export class TabPanelView extends _0x47e701{[_0x1c9f01(0x9f)];constructor(_0x693290,_0x1a63f5={}){const _0x28f370=_0x1c9f01;super(_0x693290);const _0x81d02=this[_0x28f370(0xa6)];this[_0x28f370(0x95)](_0x28f370(0xa0),!0x1),this[_0x28f370(0x9f)]=this[_0x28f370(0xa4)](),this[_0x28f370(0x9b)]({'tag':_0x28f370(0x98),'attributes':{'class':[_0x28f370(0x97),..._0x4e6e21(_0x1a63f5[_0x28f370(0xa3)]||[]),_0x81d02['to'](_0x28f370(0xa3)),_0x81d02['if'](_0x28f370(0xa0),_0x28f370(0xa5),_0xa57d05=>!_0xa57d05)]},'children':this[_0x28f370(0x9f)]});}[_0x1c9f01(0xa7)](){const _0x4f12f7=_0x1c9f01;this[_0x4f12f7(0x95)](_0x4f12f7(0xa0),!0x0);}[_0x1c9f01(0xa1)](){const _0x4f5658=_0x1c9f01;this[_0x4f5658(0x95)](_0x4f5658(0xa0),!0x1);}}
package/src/index.d.ts CHANGED
@@ -35,11 +35,12 @@ export { AIQuickActions, type AIQuickActionsConfig, type AICustomQuickActionDefi
35
35
  export { AIQuickActionsUI, AIQuickActionType, type AIQuickActionsGroupDefinition, type AIQuickActionDefinition } from './aiquickactions/aiquickactionsui.js';
36
36
  export { AIActions } from './aiactions/aiactions.js';
37
37
  export { AIBalloon } from './aiballoon/aiballoon.js';
38
- export { AIReviewMode } from './aireviewmode/aireviewmode.js';
38
+ export { AIReviewMode, type AIReviewModeConfig, type AIReviewModeTranslation } from './aireviewmode/aireviewmode.js';
39
+ export type { AIReviewCheckOptionData, AIReviewCheckOptions, AIReviewCheckDefinition } from './aireviewmode/aireviewcheckdefinitions.js';
39
40
  export { AIReviewModeController } from './aireviewmode/aireviewmodecontroller.js';
40
41
  export { AIReviewModeEditing, type AIDocumentDataElement, type AIDocumentData, type AIDiffResult, type AIReviewModeChangeRange, type AIReviewModeChangeData } from './aireviewmode/aireviewmodeediting.js';
41
42
  export { AIReviewModeUI } from './aireviewmode/aireviewmodeui.js';
42
- export { AIReviewCheck, type AIReviewCheckOptionData, type AIReviewCheckOptions } from './aireviewmode/model/aireviewcheck.js';
43
+ export { AIReviewCheck } from './aireviewmode/model/aireviewcheck.js';
43
44
  export { AIReviewCheckResult } from './aireviewmode/model/aireviewcheckresult.js';
44
45
  export { AIReviewCheckRun } from './aireviewmode/model/aireviewcheckrun.js';
45
46
  export { type AIReviewCheckRunUpdatedEvent } from './aireviewmode/model/aireviewcheckrun.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3dc6fa,_0x40addf){var _0x3e5eb4=_0x5611,_0x2a7fe3=_0x3dc6fa();while(!![]){try{var _0x4aff14=-parseInt(_0x3e5eb4(0x10b))/0x1+parseInt(_0x3e5eb4(0x10c))/0x2*(-parseInt(_0x3e5eb4(0x10d))/0x3)+parseInt(_0x3e5eb4(0x10a))/0x4*(-parseInt(_0x3e5eb4(0x10e))/0x5)+parseInt(_0x3e5eb4(0x111))/0x6*(parseInt(_0x3e5eb4(0x10f))/0x7)+parseInt(_0x3e5eb4(0x112))/0x8*(-parseInt(_0x3e5eb4(0x110))/0x9)+parseInt(_0x3e5eb4(0x113))/0xa+parseInt(_0x3e5eb4(0x114))/0xb;if(_0x4aff14===_0x40addf)break;else _0x2a7fe3['push'](_0x2a7fe3['shift']());}catch(_0x5c66dd){_0x2a7fe3['push'](_0x2a7fe3['shift']());}}}(_0x2edb,0x862b7));function _0x2edb(){var _0x1aee16=['6739800RsTMJw','18391648akzjqo','130252keOCKE','846371txmtgI','15382utRSMk','132IWaLdT','70iHDgPK','2170427RCuxsp','1954647vBaHxO','18XCfFaw','40cecKvl'];_0x2edb=function(){return _0x1aee16;};return _0x2edb();}export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';function _0x5611(_0x59efa3,_0x3782fa){var _0x2edb64=_0x2edb();return _0x5611=function(_0x561152,_0x3ff127){_0x561152=_0x561152-0x10a;var _0x2ce0b5=_0x2edb64[_0x561152];return _0x2ce0b5;},_0x5611(_0x59efa3,_0x3782fa);}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{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';
23
+ (function(_0x4ec88d,_0x133043){var _0x7e91ec=_0x5086,_0x27a8e9=_0x4ec88d();while(!![]){try{var _0x3105a9=-parseInt(_0x7e91ec(0x15d))/0x1*(-parseInt(_0x7e91ec(0x163))/0x2)+-parseInt(_0x7e91ec(0x166))/0x3+-parseInt(_0x7e91ec(0x15f))/0x4*(-parseInt(_0x7e91ec(0x164))/0x5)+parseInt(_0x7e91ec(0x15e))/0x6*(parseInt(_0x7e91ec(0x160))/0x7)+parseInt(_0x7e91ec(0x161))/0x8+-parseInt(_0x7e91ec(0x162))/0x9+-parseInt(_0x7e91ec(0x165))/0xa;if(_0x3105a9===_0x133043)break;else _0x27a8e9['push'](_0x27a8e9['shift']());}catch(_0xc084fc){_0x27a8e9['push'](_0x27a8e9['shift']());}}}(_0x52f9,0x8cd9c));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{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';function _0x5086(_0x1fb8aa,_0x574104){var _0x52f994=_0x52f9();return _0x5086=function(_0x50861e,_0x5321b1){_0x50861e=_0x50861e-0x15d;var _0x2b3f4b=_0x52f994[_0x50861e];return _0x2b3f4b;},_0x5086(_0x1fb8aa,_0x574104);}function _0x52f9(){var _0x4d476d=['24JZNith','32dNdhrm','305137kjKGRZ','2840136JMgZhH','8040006VZrBUf','2WoNtRr','444065ZfsQvG','1689800JkCNmP','557778fLWllj','585279NRhFJB'];_0x52f9=function(){return _0x4d476d;};return _0x52f9();}import'./augmentation.js';
@@ -73,7 +73,7 @@
73
73
  }
74
74
 
75
75
  &:hover {
76
- background-color: var(--ck-ai-chat-button-active-background-color);
76
+ background-color: var(--ck-ai-button-secondary-hover-background-color);
77
77
  }
78
78
  }
79
79
 
@@ -99,6 +99,10 @@
99
99
  & > .ck-button {
100
100
  align-items: start;
101
101
 
102
+ &:hover:not(.ck-disabled) {
103
+ background-color: var(--ck-ai-button-secondary-hover-background-color);
104
+ }
105
+
102
106
  & > .ck-list-item-button__check-holder {
103
107
  height: 1.2em;
104
108
 
@@ -362,6 +362,10 @@
362
362
  & .ck-button.ck-list-item-button {
363
363
  padding-top: 0;
364
364
  padding-bottom: 0;
365
+
366
+ &:hover:not(.ck-disabled) {
367
+ background-color: var(--ck-ai-button-secondary-hover-background-color);
368
+ }
365
369
  }
366
370
  }
367
371
 
@@ -13,9 +13,16 @@
13
13
  --ck-ai-check-list-item-title-color: var(--ck-color-text);
14
14
  --ck-ai-check-list-item-description-color: hsla(0, 0%, 44%, 1);
15
15
  --ck-ai-check-list-item-title-icon-color: hsla(0, 0%, 44%, 1);
16
+ --ck-ai-check-list-model-dropdown-width: 426px;
17
+ --ck-ai-check-list-model-dropdown-max-height: 340px;
18
+ --ck-ai-check-list-model-dropdown-arrow-drop-shadow: 0 -2px 0px var(--ck-color-shadow-drop);
16
19
  }
17
20
 
18
21
  .ck.ck-ai-review-mode {
22
+ & * {
23
+ font-family: var(--ck-ai-chat-font-family) !important;
24
+ }
25
+
19
26
  & .ck-ai-review-mode__check-list {
20
27
  position: relative;
21
28
  height: 100%;
@@ -34,6 +41,25 @@
34
41
  transition-duration: 0s;
35
42
  }
36
43
 
44
+ & .ck-ai-review-mode__check-list-item-description {
45
+ color: var(--ck-ai-check-list-item-description-color);
46
+ }
47
+
48
+ & .ck-ai-review-mode__check-list-item-title-text,
49
+ & .ck-ai-review-mode__check-list-item-description {
50
+ white-space: normal;
51
+ line-height: 1.3;
52
+ }
53
+
54
+ &:hover {
55
+ cursor: pointer;
56
+
57
+ & .ck-ai-review-mode__check-list-item-title-text,
58
+ & .ck-ai-review-mode__check-list-item-description {
59
+ cursor: pointer;
60
+ }
61
+ }
62
+
37
63
  &.ck-ai-review-mode__check-list-item_rendered {
38
64
  opacity: 1;
39
65
  visibility: visible;
@@ -52,12 +78,6 @@
52
78
  box-shadow: 3px 0px 0px 0px var(--ck-ai-check-list-item-active-border-color) inset;
53
79
  }
54
80
 
55
- & .ck-ai-review-mode__check-list-item-title-text,
56
- & .ck-ai-review-mode__check-list-item-description {
57
- white-space: normal;
58
- line-height: 1.3;
59
- }
60
-
61
81
  & .ck-ai-review-mode__check-list-item-title {
62
82
  display: flex;
63
83
  justify-content: space-between;
@@ -96,10 +116,6 @@
96
116
  }
97
117
  }
98
118
 
99
- & .ck-ai-review-mode__check-list-item-description {
100
- color: var(--ck-ai-check-list-item-description-color);
101
- }
102
-
103
119
  /* Parameterized form view. */
104
120
  & .ck-ai-review-mode__check-list-item-parameterized {
105
121
  & .ck.ck-form__row {
@@ -117,7 +133,7 @@
117
133
  & .ck-button.ck-dropdown__button {
118
134
  border-color: hsl(216, 5%, 81%);
119
135
 
120
- & .ck-button__label {
136
+ & > .ck-button__label {
121
137
  width: 100%;
122
138
  }
123
139
  }
@@ -149,6 +165,91 @@
149
165
  }
150
166
  }
151
167
  }
168
+
169
+ & .ck-ai-review-mode__check-list-item-model-dropdown {
170
+
171
+ & > .ck.ck-button.ck-dropdown__button {
172
+ font-size: .9em;
173
+
174
+ &.ck-on,
175
+ &:active {
176
+ background-color: var(--ck-ai-button-secondary-active-background-color);
177
+ color: var(--ck-ai-background-color-action-button);
178
+ }
179
+
180
+ & > .ck.ck-button__label {
181
+ width: auto;
182
+ }
183
+ }
184
+
185
+ & .ck-dropdown__panel {
186
+ width: var(--ck-ai-check-list-model-dropdown-width);
187
+ padding-top: var(--ck-spacing-standard);
188
+ top: calc(100% + var(--ck-balloon-arrow-height));
189
+ bottom: auto;
190
+
191
+ &.ck-dropdown__panel_se {
192
+ &::before,
193
+ &::after {
194
+ content: '';
195
+ position: absolute;
196
+ left: calc(2 * var(--ck-balloon-arrow-half-width));
197
+ top: calc(-1 * var(--ck-balloon-arrow-height) + 2px);
198
+ width: 0;
199
+ height: 0;
200
+ border-style: solid;
201
+ border-width: 0 var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-half-width);
202
+ border-color: transparent transparent var(--ck-color-panel-background) transparent;
203
+ }
204
+
205
+ &::before {
206
+ z-index: var(--ck-balloon-panel-arrow-z-index);
207
+ margin-bottom: calc(-1 * var(--ck-balloon-border-width));
208
+ filter: drop-shadow(var(--ck-ai-check-list-model-dropdown-arrow-drop-shadow));
209
+ }
210
+
211
+ &::after {
212
+ z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
213
+ margin-bottom: calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width));
214
+ }
215
+
216
+ & > .ck-list {
217
+ max-height: var(--ck-ai-check-list-model-dropdown-max-height);
218
+ overflow-y: scroll;
219
+ }
220
+ }
221
+
222
+ & > .ck.ck-list {
223
+ gap: var(--ck-spacing-standard);
224
+
225
+ & > .ck.ck-list__item {
226
+ & > .ck.ck-button.ck-list-item-button {
227
+ align-items: baseline;
228
+
229
+ & .ck-list-item-button__check-holder {
230
+ flex-shrink: 0;
231
+ }
232
+
233
+ & .ck-ai-review-mode__check-list-item-model-dropdown-name {
234
+ line-height: 1.3;
235
+ font-weight: 500;
236
+ }
237
+
238
+ & .ck-ai-review-mode__check-list-item-model-dropdown-description {
239
+ padding-top: var(--ck-spacing-tiny);
240
+ line-height: 1.3;
241
+
242
+ & > span {
243
+ color: var(--ck-ai-chat-color-icon);
244
+ line-height: 1;
245
+ white-space: normal;
246
+ }
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+ }
152
253
  }
153
254
  }
154
255
  }
@@ -23,6 +23,7 @@
23
23
  }
24
24
 
25
25
  & .ck.ck-icon {
26
+ box-sizing: content-box;
26
27
  padding: var(--ck-tab-button-padding);
27
28
  color: var(--ck-color-tab-button-icon);
28
29
  }
@@ -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/aireviewmode/utils/common-translations
7
- */
8
- import type { Locale } from 'ckeditor5/src/utils.js';
9
- export declare function getTranslation(locale: Locale, id: string): 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(_0x2f2397,_0x349621){const {t:t}=_0x2f2397;switch(_0x349621){case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.\x20You\x20can\x20now\x20return\x20to\x20the\x20command\x20list.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});default:return _0x349621;}}