@ckeditor/ckeditor5-track-changes 0.0.0-nightly-next-20260115.0 → 0.0.0-nightly-20260116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/build/track-changes.js +5 -0
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ar.js +1 -0
  4. package/build/translations/ast.js +1 -0
  5. package/build/translations/az.js +1 -0
  6. package/build/translations/be.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/bs.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/hy.js +1 -0
  33. package/build/translations/id.js +1 -0
  34. package/build/translations/it.js +1 -0
  35. package/build/translations/ja.js +1 -0
  36. package/build/translations/jv.js +1 -0
  37. package/build/translations/kk.js +1 -0
  38. package/build/translations/km.js +1 -0
  39. package/build/translations/kn.js +1 -0
  40. package/build/translations/ko.js +1 -0
  41. package/build/translations/ku.js +1 -0
  42. package/build/translations/lt.js +1 -0
  43. package/build/translations/lv.js +1 -0
  44. package/build/translations/ms.js +1 -0
  45. package/build/translations/nb.js +1 -0
  46. package/build/translations/ne.js +1 -0
  47. package/build/translations/nl.js +1 -0
  48. package/build/translations/no.js +1 -0
  49. package/build/translations/oc.js +1 -0
  50. package/build/translations/pl.js +1 -0
  51. package/build/translations/pt-br.js +1 -0
  52. package/build/translations/pt.js +1 -0
  53. package/build/translations/ro.js +1 -0
  54. package/build/translations/ru.js +1 -0
  55. package/build/translations/si.js +1 -0
  56. package/build/translations/sk.js +1 -0
  57. package/build/translations/sl.js +1 -0
  58. package/build/translations/sq.js +1 -0
  59. package/build/translations/sr-latn.js +1 -0
  60. package/build/translations/sr.js +1 -0
  61. package/build/translations/sv.js +1 -0
  62. package/build/translations/th.js +1 -0
  63. package/build/translations/ti.js +1 -0
  64. package/build/translations/tk.js +1 -0
  65. package/build/translations/tr.js +1 -0
  66. package/build/translations/tt.js +1 -0
  67. package/build/translations/ug.js +1 -0
  68. package/build/translations/uk.js +1 -0
  69. package/build/translations/ur.js +1 -0
  70. package/build/translations/uz.js +1 -0
  71. package/build/translations/vi.js +1 -0
  72. package/build/translations/zh-cn.js +1 -0
  73. package/build/translations/zh.js +1 -0
  74. package/ckeditor5-metadata.json +3 -3
  75. package/dist/index.js +4 -4
  76. package/dist/translations/af.js +1 -1
  77. package/dist/translations/af.umd.js +1 -1
  78. package/dist/translations/ar.js +1 -1
  79. package/dist/translations/ar.umd.js +1 -1
  80. package/dist/translations/ast.js +1 -1
  81. package/dist/translations/ast.umd.js +1 -1
  82. package/dist/translations/az.js +1 -1
  83. package/dist/translations/az.umd.js +1 -1
  84. package/dist/translations/be.js +1 -1
  85. package/dist/translations/be.umd.js +1 -1
  86. package/dist/translations/bg.js +1 -1
  87. package/dist/translations/bg.umd.js +1 -1
  88. package/dist/translations/bn.js +1 -1
  89. package/dist/translations/bn.umd.js +1 -1
  90. package/dist/translations/bs.js +1 -1
  91. package/dist/translations/bs.umd.js +1 -1
  92. package/dist/translations/ca.js +1 -1
  93. package/dist/translations/ca.umd.js +1 -1
  94. package/dist/translations/cs.js +1 -1
  95. package/dist/translations/cs.umd.js +1 -1
  96. package/dist/translations/da.js +1 -1
  97. package/dist/translations/da.umd.js +1 -1
  98. package/dist/translations/de-ch.js +1 -1
  99. package/dist/translations/de-ch.umd.js +1 -1
  100. package/dist/translations/de.js +1 -1
  101. package/dist/translations/de.umd.js +1 -1
  102. package/dist/translations/el.js +1 -1
  103. package/dist/translations/el.umd.js +1 -1
  104. package/dist/translations/en-au.js +1 -1
  105. package/dist/translations/en-au.umd.js +1 -1
  106. package/dist/translations/en-gb.js +1 -1
  107. package/dist/translations/en-gb.umd.js +1 -1
  108. package/dist/translations/en.js +1 -1
  109. package/dist/translations/en.umd.js +1 -1
  110. package/dist/translations/eo.js +1 -1
  111. package/dist/translations/eo.umd.js +1 -1
  112. package/dist/translations/es-co.js +1 -1
  113. package/dist/translations/es-co.umd.js +1 -1
  114. package/dist/translations/es.js +1 -1
  115. package/dist/translations/es.umd.js +1 -1
  116. package/dist/translations/et.js +1 -1
  117. package/dist/translations/et.umd.js +1 -1
  118. package/dist/translations/eu.js +1 -1
  119. package/dist/translations/eu.umd.js +1 -1
  120. package/dist/translations/fa.js +1 -1
  121. package/dist/translations/fa.umd.js +1 -1
  122. package/dist/translations/fi.js +1 -1
  123. package/dist/translations/fi.umd.js +1 -1
  124. package/dist/translations/fr.js +1 -1
  125. package/dist/translations/fr.umd.js +1 -1
  126. package/dist/translations/gl.js +1 -1
  127. package/dist/translations/gl.umd.js +1 -1
  128. package/dist/translations/gu.js +1 -1
  129. package/dist/translations/gu.umd.js +1 -1
  130. package/dist/translations/he.js +1 -1
  131. package/dist/translations/he.umd.js +1 -1
  132. package/dist/translations/hi.js +1 -1
  133. package/dist/translations/hi.umd.js +1 -1
  134. package/dist/translations/hr.js +1 -1
  135. package/dist/translations/hr.umd.js +1 -1
  136. package/dist/translations/hu.js +1 -1
  137. package/dist/translations/hu.umd.js +1 -1
  138. package/dist/translations/hy.js +1 -1
  139. package/dist/translations/hy.umd.js +1 -1
  140. package/dist/translations/id.js +1 -1
  141. package/dist/translations/id.umd.js +1 -1
  142. package/dist/translations/it.js +1 -1
  143. package/dist/translations/it.umd.js +1 -1
  144. package/dist/translations/ja.js +1 -1
  145. package/dist/translations/ja.umd.js +1 -1
  146. package/dist/translations/jv.js +1 -1
  147. package/dist/translations/jv.umd.js +1 -1
  148. package/dist/translations/kk.js +1 -1
  149. package/dist/translations/kk.umd.js +1 -1
  150. package/dist/translations/km.js +1 -1
  151. package/dist/translations/km.umd.js +1 -1
  152. package/dist/translations/kn.js +1 -1
  153. package/dist/translations/kn.umd.js +1 -1
  154. package/dist/translations/ko.js +1 -1
  155. package/dist/translations/ko.umd.js +1 -1
  156. package/dist/translations/ku.js +1 -1
  157. package/dist/translations/ku.umd.js +1 -1
  158. package/dist/translations/lt.js +1 -1
  159. package/dist/translations/lt.umd.js +1 -1
  160. package/dist/translations/lv.js +1 -1
  161. package/dist/translations/lv.umd.js +1 -1
  162. package/dist/translations/ms.js +1 -1
  163. package/dist/translations/ms.umd.js +1 -1
  164. package/dist/translations/nb.js +1 -1
  165. package/dist/translations/nb.umd.js +1 -1
  166. package/dist/translations/ne.js +1 -1
  167. package/dist/translations/ne.umd.js +1 -1
  168. package/dist/translations/nl.js +1 -1
  169. package/dist/translations/nl.umd.js +1 -1
  170. package/dist/translations/no.js +1 -1
  171. package/dist/translations/no.umd.js +1 -1
  172. package/dist/translations/oc.js +1 -1
  173. package/dist/translations/oc.umd.js +1 -1
  174. package/dist/translations/pl.js +1 -1
  175. package/dist/translations/pl.umd.js +1 -1
  176. package/dist/translations/pt-br.js +1 -1
  177. package/dist/translations/pt-br.umd.js +1 -1
  178. package/dist/translations/pt.js +1 -1
  179. package/dist/translations/pt.umd.js +1 -1
  180. package/dist/translations/ro.js +1 -1
  181. package/dist/translations/ro.umd.js +1 -1
  182. package/dist/translations/ru.js +1 -1
  183. package/dist/translations/ru.umd.js +1 -1
  184. package/dist/translations/si.js +1 -1
  185. package/dist/translations/si.umd.js +1 -1
  186. package/dist/translations/sk.js +1 -1
  187. package/dist/translations/sk.umd.js +1 -1
  188. package/dist/translations/sl.js +1 -1
  189. package/dist/translations/sl.umd.js +1 -1
  190. package/dist/translations/sq.js +1 -1
  191. package/dist/translations/sq.umd.js +1 -1
  192. package/dist/translations/sr-latn.js +1 -1
  193. package/dist/translations/sr-latn.umd.js +1 -1
  194. package/dist/translations/sr.js +1 -1
  195. package/dist/translations/sr.umd.js +1 -1
  196. package/dist/translations/sv.js +1 -1
  197. package/dist/translations/sv.umd.js +1 -1
  198. package/dist/translations/th.js +1 -1
  199. package/dist/translations/th.umd.js +1 -1
  200. package/dist/translations/ti.js +1 -1
  201. package/dist/translations/ti.umd.js +1 -1
  202. package/dist/translations/tk.js +1 -1
  203. package/dist/translations/tk.umd.js +1 -1
  204. package/dist/translations/tr.js +1 -1
  205. package/dist/translations/tr.umd.js +1 -1
  206. package/dist/translations/tt.js +1 -1
  207. package/dist/translations/tt.umd.js +1 -1
  208. package/dist/translations/ug.js +1 -1
  209. package/dist/translations/ug.umd.js +1 -1
  210. package/dist/translations/uk.js +1 -1
  211. package/dist/translations/uk.umd.js +1 -1
  212. package/dist/translations/ur.js +1 -1
  213. package/dist/translations/ur.umd.js +1 -1
  214. package/dist/translations/uz.js +1 -1
  215. package/dist/translations/uz.umd.js +1 -1
  216. package/dist/translations/vi.js +1 -1
  217. package/dist/translations/vi.umd.js +1 -1
  218. package/dist/translations/zh-cn.js +1 -1
  219. package/dist/translations/zh-cn.umd.js +1 -1
  220. package/dist/translations/zh.js +1 -1
  221. package/dist/translations/zh.umd.js +1 -1
  222. package/lang/contexts.json +164 -0
  223. package/lang/translations/af.po +714 -0
  224. package/lang/translations/ar.po +822 -0
  225. package/lang/translations/ast.po +714 -0
  226. package/lang/translations/az.po +714 -0
  227. package/lang/translations/be.po +741 -0
  228. package/lang/translations/bg.po +714 -0
  229. package/lang/translations/bn.po +740 -0
  230. package/lang/translations/bs.po +741 -0
  231. package/lang/translations/ca.po +714 -0
  232. package/lang/translations/cs.po +741 -0
  233. package/lang/translations/da.po +714 -0
  234. package/lang/translations/de-ch.po +714 -0
  235. package/lang/translations/de.po +714 -0
  236. package/lang/translations/el.po +714 -0
  237. package/lang/translations/en-au.po +714 -0
  238. package/lang/translations/en-gb.po +714 -0
  239. package/lang/translations/en.po +714 -0
  240. package/lang/translations/eo.po +714 -0
  241. package/lang/translations/es-co.po +714 -0
  242. package/lang/translations/es.po +714 -0
  243. package/lang/translations/et.po +714 -0
  244. package/lang/translations/eu.po +714 -0
  245. package/lang/translations/fa.po +687 -0
  246. package/lang/translations/fi.po +714 -0
  247. package/lang/translations/fr.po +714 -0
  248. package/lang/translations/gl.po +714 -0
  249. package/lang/translations/gu.po +714 -0
  250. package/lang/translations/he.po +714 -0
  251. package/lang/translations/hi.po +714 -0
  252. package/lang/translations/hr.po +741 -0
  253. package/lang/translations/hu.po +714 -0
  254. package/lang/translations/hy.po +714 -0
  255. package/lang/translations/id.po +687 -0
  256. package/lang/translations/it.po +714 -0
  257. package/lang/translations/ja.po +687 -0
  258. package/lang/translations/jv.po +714 -0
  259. package/lang/translations/kk.po +714 -0
  260. package/lang/translations/km.po +687 -0
  261. package/lang/translations/kn.po +714 -0
  262. package/lang/translations/ko.po +687 -0
  263. package/lang/translations/ku.po +714 -0
  264. package/lang/translations/lt.po +741 -0
  265. package/lang/translations/lv.po +741 -0
  266. package/lang/translations/ms.po +687 -0
  267. package/lang/translations/nb.po +714 -0
  268. package/lang/translations/ne.po +714 -0
  269. package/lang/translations/nl.po +714 -0
  270. package/lang/translations/no.po +714 -0
  271. package/lang/translations/oc.po +714 -0
  272. package/lang/translations/pl.po +741 -0
  273. package/lang/translations/pt-br.po +714 -0
  274. package/lang/translations/pt.po +714 -0
  275. package/lang/translations/ro.po +741 -0
  276. package/lang/translations/ru.po +743 -0
  277. package/lang/translations/si.po +714 -0
  278. package/lang/translations/sk.po +741 -0
  279. package/lang/translations/sl.po +768 -0
  280. package/lang/translations/sq.po +714 -0
  281. package/lang/translations/sr-latn.po +741 -0
  282. package/lang/translations/sr.po +741 -0
  283. package/lang/translations/sv.po +714 -0
  284. package/lang/translations/th.po +687 -0
  285. package/lang/translations/ti.po +714 -0
  286. package/lang/translations/tk.po +714 -0
  287. package/lang/translations/tr.po +714 -0
  288. package/lang/translations/tt.po +687 -0
  289. package/lang/translations/ug.po +687 -0
  290. package/lang/translations/uk.po +741 -0
  291. package/lang/translations/ur.po +714 -0
  292. package/lang/translations/uz.po +714 -0
  293. package/lang/translations/vi.po +687 -0
  294. package/lang/translations/zh-cn.po +687 -0
  295. package/lang/translations/zh.po +687 -0
  296. package/package.json +60 -36
  297. package/{dist → src}/augmentation.d.ts +1 -5
  298. package/src/augmentation.js +23 -0
  299. package/{dist → src}/commands/acceptsuggestioncommand.d.ts +1 -5
  300. package/src/commands/acceptsuggestioncommand.js +23 -0
  301. package/{dist → src}/commands/discardsuggestioncommand.d.ts +1 -5
  302. package/src/commands/discardsuggestioncommand.js +23 -0
  303. package/{dist → src}/commands/executeonallsuggestionscommand.d.ts +1 -5
  304. package/src/commands/executeonallsuggestionscommand.js +23 -0
  305. package/{dist → src}/commands/executeonselectedsuggestionscommand.d.ts +1 -5
  306. package/src/commands/executeonselectedsuggestionscommand.js +23 -0
  307. package/{dist → src}/commands/previewfinalcontentcommand.d.ts +1 -5
  308. package/src/commands/previewfinalcontentcommand.js +23 -0
  309. package/{dist → src}/commands/trackchangescommand.d.ts +1 -5
  310. package/src/commands/trackchangescommand.js +23 -0
  311. package/{dist → src}/index.d.ts +0 -4
  312. package/src/index.js +23 -0
  313. package/{dist → src}/integrations/ai.d.ts +1 -5
  314. package/src/integrations/ai.js +23 -0
  315. package/{dist → src}/integrations/aiassistant.d.ts +1 -5
  316. package/src/integrations/aiassistant.js +23 -0
  317. package/{dist → src}/integrations/aiquickactions.d.ts +1 -5
  318. package/src/integrations/aiquickactions.js +23 -0
  319. package/{dist → src}/integrations/alignment.d.ts +1 -5
  320. package/src/integrations/alignment.js +23 -0
  321. package/{dist → src}/integrations/basicstyles.d.ts +1 -5
  322. package/src/integrations/basicstyles.js +23 -0
  323. package/{dist → src}/integrations/blockquote.d.ts +1 -5
  324. package/src/integrations/blockquote.js +23 -0
  325. package/{dist → src}/integrations/bookmark.d.ts +1 -5
  326. package/src/integrations/bookmark.js +23 -0
  327. package/{dist → src}/integrations/casechange.d.ts +1 -5
  328. package/src/integrations/casechange.js +23 -0
  329. package/{dist → src}/integrations/ckbox.d.ts +1 -5
  330. package/src/integrations/ckbox.js +23 -0
  331. package/{dist → src}/integrations/codeblock.d.ts +1 -5
  332. package/src/integrations/codeblock.js +23 -0
  333. package/{dist → src}/integrations/comments.d.ts +1 -5
  334. package/src/integrations/comments.js +23 -0
  335. package/{dist → src}/integrations/deletecommand.d.ts +2 -6
  336. package/src/integrations/deletecommand.js +23 -0
  337. package/{dist → src}/integrations/emoji.d.ts +1 -5
  338. package/src/integrations/emoji.js +23 -0
  339. package/{dist → src}/integrations/entercommand.d.ts +2 -6
  340. package/src/integrations/entercommand.js +23 -0
  341. package/{dist → src}/integrations/findandreplace.d.ts +1 -5
  342. package/src/integrations/findandreplace.js +23 -0
  343. package/{dist → src}/integrations/font.d.ts +1 -5
  344. package/src/integrations/font.js +23 -0
  345. package/{dist → src}/integrations/footnotes.d.ts +1 -5
  346. package/src/integrations/footnotes.js +23 -0
  347. package/{dist → src}/integrations/formatpainter.d.ts +1 -5
  348. package/src/integrations/formatpainter.js +23 -0
  349. package/{dist → src}/integrations/heading.d.ts +1 -5
  350. package/src/integrations/heading.js +23 -0
  351. package/{dist → src}/integrations/highlight.d.ts +1 -5
  352. package/src/integrations/highlight.js +23 -0
  353. package/{dist → src}/integrations/horizontalline.d.ts +1 -5
  354. package/src/integrations/horizontalline.js +23 -0
  355. package/{dist → src}/integrations/htmlembed.d.ts +1 -5
  356. package/src/integrations/htmlembed.js +23 -0
  357. package/{dist → src}/integrations/image.d.ts +1 -5
  358. package/src/integrations/image.js +23 -0
  359. package/{dist → src}/integrations/imagereplace.d.ts +1 -5
  360. package/src/integrations/imagereplace.js +23 -0
  361. package/{dist → src}/integrations/imagestyle.d.ts +1 -5
  362. package/src/integrations/imagestyle.js +23 -0
  363. package/{dist → src}/integrations/importword.d.ts +1 -5
  364. package/src/integrations/importword.js +23 -0
  365. package/{dist → src}/integrations/indent.d.ts +1 -5
  366. package/src/integrations/indent.js +23 -0
  367. package/{dist → src}/integrations/inputcommand.d.ts +2 -6
  368. package/src/integrations/inputcommand.js +23 -0
  369. package/{dist → src}/integrations/legacylist.d.ts +1 -5
  370. package/src/integrations/legacylist.js +23 -0
  371. package/{dist → src}/integrations/legacylistproperties.d.ts +1 -5
  372. package/src/integrations/legacylistproperties.js +23 -0
  373. package/{dist → src}/integrations/lineheight.d.ts +1 -5
  374. package/src/integrations/lineheight.js +23 -0
  375. package/{dist → src}/integrations/link.d.ts +1 -5
  376. package/src/integrations/link.js +23 -0
  377. package/{dist → src}/integrations/list.d.ts +1 -5
  378. package/src/integrations/list.js +23 -0
  379. package/{dist → src}/integrations/listproperties.d.ts +1 -5
  380. package/src/integrations/listproperties.js +23 -0
  381. package/{dist → src}/integrations/mediaembed.d.ts +1 -5
  382. package/src/integrations/mediaembed.js +23 -0
  383. package/{dist → src}/integrations/mention.d.ts +1 -5
  384. package/src/integrations/mention.js +23 -0
  385. package/{dist → src}/integrations/mergefields.d.ts +1 -5
  386. package/src/integrations/mergefields.js +23 -0
  387. package/{dist → src}/integrations/multilevellist.d.ts +1 -5
  388. package/src/integrations/multilevellist.js +23 -0
  389. package/{dist → src}/integrations/pagebreak.d.ts +1 -5
  390. package/src/integrations/pagebreak.js +23 -0
  391. package/{dist → src}/integrations/paragraph.d.ts +1 -5
  392. package/src/integrations/paragraph.js +23 -0
  393. package/{dist → src}/integrations/removeformat.d.ts +1 -5
  394. package/src/integrations/removeformat.js +23 -0
  395. package/{dist → src}/integrations/replacesourcecommand.d.ts +1 -5
  396. package/src/integrations/replacesourcecommand.js +23 -0
  397. package/{dist → src}/integrations/restrictededitingmode.d.ts +1 -5
  398. package/src/integrations/restrictededitingmode.js +23 -0
  399. package/{dist → src}/integrations/shiftentercommand.d.ts +1 -5
  400. package/src/integrations/shiftentercommand.js +23 -0
  401. package/{dist → src}/integrations/standardeditingmode.d.ts +1 -5
  402. package/src/integrations/standardeditingmode.js +23 -0
  403. package/{dist → src}/integrations/style.d.ts +1 -5
  404. package/src/integrations/style.js +23 -0
  405. package/{dist → src}/integrations/table.d.ts +1 -5
  406. package/src/integrations/table.js +23 -0
  407. package/{dist → src}/integrations/tablecaption.d.ts +1 -5
  408. package/src/integrations/tablecaption.js +23 -0
  409. package/{dist → src}/integrations/tableclipboard.d.ts +1 -5
  410. package/src/integrations/tableclipboard.js +24 -0
  411. package/{dist → src}/integrations/tablecolumnresize.d.ts +2 -6
  412. package/src/integrations/tablecolumnresize.js +23 -0
  413. package/{dist → src}/integrations/tableheadings.d.ts +1 -5
  414. package/src/integrations/tableheadings.js +23 -0
  415. package/{dist → src}/integrations/tablelayout.d.ts +1 -5
  416. package/src/integrations/tablelayout.js +23 -0
  417. package/{dist → src}/integrations/tablemergesplit.d.ts +1 -5
  418. package/src/integrations/tablemergesplit.js +23 -0
  419. package/{dist → src}/integrations/tableofcontents.d.ts +1 -5
  420. package/src/integrations/tableofcontents.js +23 -0
  421. package/{dist → src}/integrations/tableproperties.d.ts +2 -6
  422. package/src/integrations/tableproperties.js +23 -0
  423. package/{dist → src}/integrations/template.d.ts +1 -5
  424. package/src/integrations/template.js +23 -0
  425. package/{dist → src}/integrations/title.d.ts +1 -5
  426. package/src/integrations/title.js +23 -0
  427. package/{dist → src}/integrations/undo.d.ts +1 -5
  428. package/src/integrations/undo.js +23 -0
  429. package/{dist → src}/integrations/uploadcare.d.ts +1 -5
  430. package/src/integrations/uploadcare.js +23 -0
  431. package/{dist → src}/integrations/utils.d.ts +1 -5
  432. package/src/integrations/utils.js +23 -0
  433. package/{dist → src}/suggestion.d.ts +4 -8
  434. package/src/suggestion.js +24 -0
  435. package/{dist → src}/suggestiondescriptionfactory.d.ts +2 -6
  436. package/src/suggestiondescriptionfactory.js +23 -0
  437. package/{dist → src}/trackchanges.d.ts +2 -6
  438. package/src/trackchanges.js +23 -0
  439. package/{dist → src}/trackchangesconfig.d.ts +0 -4
  440. package/src/trackchangesconfig.js +23 -0
  441. package/{dist → src}/trackchangesdata.d.ts +1 -5
  442. package/src/trackchangesdata.js +23 -0
  443. package/{dist → src}/trackchangesediting.d.ts +4 -7
  444. package/src/trackchangesediting.js +23 -0
  445. package/{dist → src}/trackchangespreview.d.ts +2 -6
  446. package/src/trackchangespreview.js +23 -0
  447. package/{dist → src}/trackchangesui.d.ts +2 -6
  448. package/src/trackchangesui.js +23 -0
  449. package/{dist → src}/ui/suggestioncontroller.d.ts +3 -7
  450. package/src/ui/suggestioncontroller.js +24 -0
  451. package/{dist → src}/ui/view/basesuggestionthreadview.d.ts +4 -8
  452. package/src/ui/view/basesuggestionthreadview.js +23 -0
  453. package/{dist → src}/ui/view/suggestionthreadview.d.ts +3 -7
  454. package/src/ui/view/suggestionthreadview.js +23 -0
  455. package/{dist → src}/ui/view/suggestionview.d.ts +3 -7
  456. package/src/ui/view/suggestionview.js +23 -0
  457. package/{dist → src}/ui/view/trackchangespreviewview.d.ts +0 -4
  458. package/src/ui/view/trackchangespreviewview.js +23 -0
  459. package/{dist → src}/utils/common-translations.d.ts +1 -5
  460. package/src/utils/common-translations.js +23 -0
  461. package/{dist → src}/utils/utils.d.ts +2 -6
  462. package/src/utils/utils.js +23 -0
  463. package/theme/trackchangespreview.css +22 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x560f4d=_0x263d;(function(_0x2ff1bb,_0x9dfa4){const _0x3f2461=_0x263d,_0xcc71df=_0x2ff1bb();while(!![]){try{const _0x18c867=-parseInt(_0x3f2461(0x1dc))/0x1*(parseInt(_0x3f2461(0x1e7))/0x2)+-parseInt(_0x3f2461(0x204))/0x3+parseInt(_0x3f2461(0x1fe))/0x4+parseInt(_0x3f2461(0x1f3))/0x5+-parseInt(_0x3f2461(0x1e0))/0x6*(parseInt(_0x3f2461(0x1e3))/0x7)+parseInt(_0x3f2461(0x1dd))/0x8+-parseInt(_0x3f2461(0x1fb))/0x9*(-parseInt(_0x3f2461(0x207))/0xa);if(_0x18c867===_0x9dfa4)break;else _0xcc71df['push'](_0xcc71df['shift']());}catch(_0x22fb51){_0xcc71df['push'](_0xcc71df['shift']());}}}(_0x4236,0xa8f23));function _0x263d(_0x3d5e70,_0x54182b){const _0x423617=_0x4236();return _0x263d=function(_0x263d3e,_0x31bbff){_0x263d3e=_0x263d3e-0x1db;let _0x41b038=_0x423617[_0x263d3e];return _0x41b038;},_0x263d(_0x3d5e70,_0x54182b);}import{BaseSuggestionThreadView as _0x1d2484}from'./basesuggestionthreadview.js';import{trimHtml as _0x3274f8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4236(){const _0x5971fe=['setTemplate','descriptionParts','author','SuggestionView','99cJvPhZ','ariaDescriptionView','ck-rounded-corners','1951144ykPyDz','discardSuggestion','<p>','disableComments','editorDestroyed','listitem','3979023QUpGkn','delegate','ck-suggestion-wrapper--active','1523430oMJWOA','commentThreadInputView','canDiscard','formatDateTime','description','push','canAccept','isEnabled','div','ck-suggestion-','ck-suggestion-wrapper','editorReady','add','isActive','183263dyhOUb','9521280tmwvLa','bindTemplate','ariaLabel','6gaszpR','render','getTemplate','8831669lvaUdH','content','discardButton','set','14SxtCxa','acceptSuggestion','acceptButton','ck-suggestion--disabled-comments','commentsListView','</p>','commentThread','type','suggestionView','_config','_descriptionElement','color','6045665uDNkmF','bind','focusables','_model'];_0x4236=function(){return _0x5971fe;};return _0x4236();}import{renderDescription as _0x2dd414}from'../../utils/utils.js';export class SuggestionThreadView extends _0x1d2484{[_0x560f4d(0x1ef)];[_0x560f4d(0x1f1)];constructor(_0x1d6dc6,_0x1d9637,_0x43617a,_0x22fb2e){const _0x188cb1=_0x560f4d;super(_0x1d6dc6,_0x1d9637,_0x43617a,_0x22fb2e),this[_0x188cb1(0x1e6)](_0x188cb1(0x1ee),''),this[_0x188cb1(0x1f4)](_0x188cb1(0x1ee))['to'](this,_0x188cb1(0x1f8),_0x59968c=>_0x59968c&&_0x59968c[0x0]?_0x59968c[0x0][_0x188cb1(0x1ee)]:''),this[_0x188cb1(0x1f4)](_0x188cb1(0x20b))['to'](this,_0x188cb1(0x1f8),this,_0x188cb1(0x1db),(_0x24da60,_0x2a9341)=>{const _0x145ef7=_0x188cb1;let _0xa39ea2='';for(const _0xfeb381 of _0x24da60)_0xa39ea2+=_0x145ef7(0x200)+_0x2dd414(_0xfeb381[_0x145ef7(0x1e4)],_0xfeb381[_0x145ef7(0x1f2)])+_0x145ef7(0x1ec);return _0x2a9341?_0xa39ea2:_0x3274f8(_0xa39ea2,{'limit':0x8c});}),this[_0x188cb1(0x1f1)]=null,this[_0x188cb1(0x1ef)]=new _0x22fb2e[(_0x188cb1(0x1fa))](_0x1d6dc6,_0x1d9637,{'formatDateTime':_0x22fb2e[_0x188cb1(0x20a)]}),this[_0x188cb1(0x1ef)][_0x188cb1(0x1f4)](_0x188cb1(0x20b))['to'](this),this[_0x188cb1(0x1ef)][_0x188cb1(0x205)](_0x188cb1(0x1e8),_0x188cb1(0x1ff))['to'](this),this[_0x188cb1(0x1ef)][_0x188cb1(0x1e9)][_0x188cb1(0x1f4)](_0x188cb1(0x20e))['to'](this,_0x188cb1(0x20d)),this[_0x188cb1(0x1ef)][_0x188cb1(0x1e5)][_0x188cb1(0x1f4)](_0x188cb1(0x20e))['to'](this,_0x188cb1(0x209)),this[_0x188cb1(0x1f5)][_0x188cb1(0x213)](this[_0x188cb1(0x1ef)]),this[_0x188cb1(0x1eb)]&&this[_0x188cb1(0x1f5)][_0x188cb1(0x213)](this[_0x188cb1(0x1eb)]),this[_0x188cb1(0x208)]&&this[_0x188cb1(0x1f5)][_0x188cb1(0x213)](this[_0x188cb1(0x208)]),this[_0x188cb1(0x1f7)](this[_0x188cb1(0x1e2)]());}[_0x560f4d(0x1e2)](){const _0x5c28d9=_0x560f4d,_0x141f77=this[_0x5c28d9(0x1de)],_0x53a159=[this[_0x5c28d9(0x1ef)]];return this[_0x5c28d9(0x1eb)]&&_0x53a159[_0x5c28d9(0x20c)](this[_0x5c28d9(0x1eb)]),this[_0x5c28d9(0x208)]&&_0x53a159[_0x5c28d9(0x20c)](this[_0x5c28d9(0x208)]),_0x53a159[_0x5c28d9(0x20c)](this[_0x5c28d9(0x1fc)]),{'tag':_0x5c28d9(0x20f),'attributes':{'class':['ck',_0x5c28d9(0x1fd),_0x5c28d9(0x211),_0x141f77['if'](_0x5c28d9(0x1db),_0x5c28d9(0x206)),_0x141f77['to'](_0x5c28d9(0x1ee),_0x408177=>_0x5c28d9(0x210)+_0x408177),this[_0x5c28d9(0x1f0)][_0x5c28d9(0x201)]&&_0x5c28d9(0x1ea)],'data-suggestion-id':this[_0x5c28d9(0x1f6)]['id'],'data-thread-id':this[_0x5c28d9(0x1f6)][_0x5c28d9(0x1ed)]['id'],'data-author-id':this[_0x5c28d9(0x1f6)][_0x5c28d9(0x1f9)]['id'],'tabindex':0x0,'role':_0x5c28d9(0x203),'aria-label':_0x141f77['to'](_0x5c28d9(0x1df)),'aria-describedby':this[_0x5c28d9(0x1fc)]['id']},'children':_0x53a159};}[_0x560f4d(0x1e1)](){const _0x28cfa3=_0x560f4d;super[_0x28cfa3(0x1e1)](),this[_0x28cfa3(0x1eb)]&&(this[_0x28cfa3(0x1eb)][_0x28cfa3(0x205)](_0x28cfa3(0x212))['to'](this),this[_0x28cfa3(0x1eb)][_0x28cfa3(0x205)](_0x28cfa3(0x202))['to'](this)),this[_0x28cfa3(0x208)]&&(this[_0x28cfa3(0x208)][_0x28cfa3(0x205)](_0x28cfa3(0x212))['to'](this),this[_0x28cfa3(0x208)][_0x28cfa3(0x205)](_0x28cfa3(0x202))['to'](this));}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, 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
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,9 +6,9 @@
10
6
  * @module track-changes/ui/view/suggestionview
11
7
  * @publicApi
12
8
  */
13
- import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
14
- import { View, type TemplateDefinition, type FocusableView, ViewCollection, FocusCycler } from '@ckeditor/ckeditor5-ui';
15
- import { LateFocusButtonView, UserView } from '@ckeditor/ckeditor5-collaboration-core';
9
+ import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
10
+ import { View, type TemplateDefinition, type FocusableView, ViewCollection, FocusCycler } from 'ckeditor5/src/ui.js';
11
+ import { LateFocusButtonView, UserView } from 'ckeditor5-collaboration/src/collaboration-core.js';
16
12
  import { type Suggestion } from '../../suggestion.js';
17
13
  /**
18
14
  * A view displaying a detailed information about the suggestion as well as controls to accept or discard it.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0xd18f(_0x57824f,_0xc10375){const _0x503faf=_0x503f();return _0xd18f=function(_0x570a60,_0x29bac9){_0x570a60=_0x570a60-0xb5;let _0x3b9a54=_0x503faf[_0x570a60];return _0x3b9a54;},_0xd18f(_0x57824f,_0xc10375);}const _0x4de4fc=_0xd18f;(function(_0x15f529,_0xaf7267){const _0x5af2ba=_0xd18f,_0x5e72f0=_0x15f529();while(!![]){try{const _0x28fec9=-parseInt(_0x5af2ba(0xed))/0x1*(-parseInt(_0x5af2ba(0xbf))/0x2)+parseInt(_0x5af2ba(0xf6))/0x3+parseInt(_0x5af2ba(0xd1))/0x4*(parseInt(_0x5af2ba(0xcf))/0x5)+-parseInt(_0x5af2ba(0xc7))/0x6+-parseInt(_0x5af2ba(0xe5))/0x7*(parseInt(_0x5af2ba(0x104))/0x8)+-parseInt(_0x5af2ba(0xdb))/0x9+parseInt(_0x5af2ba(0xe1))/0xa*(parseInt(_0x5af2ba(0xe2))/0xb);if(_0x28fec9===_0xaf7267)break;else _0x5e72f0['push'](_0x5e72f0['shift']());}catch(_0x5953b5){_0x5e72f0['push'](_0x5e72f0['shift']());}}}(_0x503f,0x21877));function _0x503f(){const _0x222276=['_createButton','ck-suggestion__info-name','56sSivQj','EXTERNAL_IMPORT_WORD_SUGGESTION','focusCycler','EXTERNAL_AVATAR','EXTERNAL_IMPORT_WORD_AVATAR','set','getUserViewNotificationText','ck-annotation__info-name','ck-annotation__user','getTemplate','source','bind','_setupKeyboardNavigation','innerHTML','keystrokes','render','setTemplate','Discard\x20suggestion','ck-suggestion--discard','ck-suggestion__main','ck-annotation','4JBTDAL','ck-suggestion','discardSuggestion','ck-annotation__info','focusTracker','target','getExternalSuggestionNote','_config','1048302tiNCYq','acceptSuggestion','add','importWord','enter','tab','.ck-annotation__content-wrapper','_model','362580wwtxik','presentation','12RBuEnp','ck-comment__external','change:description','discardButton','author','description','shift+tab','esc','querySelector','authoredAt','1671417vsMKUF','listenTo','focusFirst','element','locale','ck-annotation__content-wrapper','282430XlYUjm','99nrMVgw','push','ck-annotation__actions','156478VFmUHw','ck-annotation__main','isExternal','ck-annotation__info-time','time','fire','execute','name','50173IQqjMK','span','@external','ck-suggestion__actions','creator','bindTemplate','ck-comment__info-time','attributes','userView','246486uBqZTe','ck-suggestion__info','formatDateTime','ck-suggestion__user','focus','acceptButton','extendTemplate','div','ck-suggestion--accept','EXTERNAL_SUGGESTION','focusables','Accept\x20suggestion'];_0x503f=function(){return _0x222276;};return _0x503f();}import{FocusTracker as _0x497d23,KeystrokeHandler as _0x251678}from'ckeditor5/src/utils.js';import{View as _0x5ac257,ViewCollection as _0x37209f,FocusCycler as _0x4dd8f7}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x32d741,UserView as _0x5b93bc}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1743a2,IconCheck as _0x5a2be7}from'ckeditor5/src/icons.js';import{getTranslation as _0x1edd2e}from'../../utils/common-translations.js';export class SuggestionView extends _0x5ac257{[_0x4de4fc(0xf5)];[_0x4de4fc(0xfb)];[_0x4de4fc(0xd4)];[_0x4de4fc(0x100)];[_0x4de4fc(0xc3)];[_0x4de4fc(0xb8)];[_0x4de4fc(0x106)];[_0x4de4fc(0xce)];[_0x4de4fc(0xc6)];constructor(_0xeea750,_0x531f32,_0x19f5fc){const _0x476048=_0x4de4fc;super(_0xeea750),this[_0x476048(0xce)]=_0x531f32,this[_0x476048(0xc6)]=_0x19f5fc,this[_0x476048(0x109)](_0x476048(0xd6),''),this[_0x476048(0xb5)](_0x476048(0xda))['to'](_0x531f32),this[_0x476048(0xfb)]=this[_0x476048(0x102)](_0x1edd2e(_0xeea750,_0x476048(0x101)),_0x5a2be7,_0x476048(0xfe),_0x476048(0xc8),'sw'),this[_0x476048(0xd4)]=this[_0x476048(0x102)](_0x1edd2e(_0xeea750,_0x476048(0xbb)),_0x1743a2,_0x476048(0xbc),_0x476048(0xc1),'sw'),this[_0x476048(0xf5)]=new _0x5b93bc(_0xeea750,_0x531f32[_0x476048(0xd5)],this[_0x476048(0x10a)]()),this[_0x476048(0xf5)][_0x476048(0xfc)]({'attributes':{'class':[_0x476048(0xf9),_0x476048(0x10c)],'aria-hidden':!0x0}}),this[_0x476048(0x100)]=new _0x37209f([this[_0x476048(0xfb)],this[_0x476048(0xd4)]]),this[_0x476048(0xc3)]=new _0x497d23(),this[_0x476048(0xb8)]=new _0x251678(),this[_0x476048(0x106)]=new _0x4dd8f7({'focusables':this[_0x476048(0x100)],'focusTracker':this[_0x476048(0xc3)],'keystrokeHandler':this[_0x476048(0xb8)],'actions':{'focusPrevious':_0x476048(0xd7),'focusNext':_0x476048(0xcc)},'keystrokeHandlerOptions':{'filter':_0x260afb=>_0x260afb[_0x476048(0xc4)]!==this[_0x476048(0xde)]}}),this[_0x476048(0xba)](this[_0x476048(0x10d)]());}[_0x4de4fc(0xb9)](){const _0x4079c5=_0x4de4fc;super[_0x4079c5(0xb9)]();const _0x52ebac=this[_0x4079c5(0xde)][_0x4079c5(0xd9)](_0x4079c5(0xcd));_0x52ebac[_0x4079c5(0xb7)]=this[_0x4079c5(0xd6)],this['on'](_0x4079c5(0xd3),(_0x4a7f3d,_0x14d0e3,_0x54eb3c)=>{const _0x8de136=_0x4079c5;_0x52ebac[_0x8de136(0xb7)]=_0x54eb3c;}),this[_0x4079c5(0xb6)]();}[_0x4de4fc(0x10d)](){const _0x56f958=_0x4de4fc,_0x2feb63=this[_0x56f958(0xf2)],_0x3678f5=[{'tag':_0x56f958(0xfd),'attributes':{'class':[_0x56f958(0xf7),_0x56f958(0xc2)]},'children':[{'tag':_0x56f958(0xee),'children':[{'text':this[_0x56f958(0xf5)][_0x56f958(0xec)]}],'attributes':{'class':[_0x56f958(0x103),_0x56f958(0x10b)],'data-cke-tooltip-text':this[_0x56f958(0xf5)][_0x56f958(0xec)]}},{'tag':_0x56f958(0xe9),'attributes':{'datetime':_0x2feb63['to'](_0x56f958(0xda)),'class':[_0x56f958(0xf3),_0x56f958(0xe8)]},'children':[{'text':_0x2feb63['to'](_0x56f958(0xda),_0x38c6ef=>this[_0x56f958(0xc6)][_0x56f958(0xf8)](_0x38c6ef))}]}]},{'tag':_0x56f958(0xfd),'attributes':{'class':[_0x56f958(0xf0),_0x56f958(0xe4)]},'children':[this[_0x56f958(0xfb)],this[_0x56f958(0xd4)]]},{'tag':_0x56f958(0xfd),'attributes':{'class':[_0x56f958(0xe0)]}}];return this[_0x56f958(0xce)][_0x56f958(0xe7)]&&_0x3678f5[_0x56f958(0xe3)]({'tag':_0x56f958(0xfd),'attributes':{'class':[_0x56f958(0xd2)]},'children':[{'text':this[_0x56f958(0xc5)]()}]}),{'tag':_0x56f958(0xfd),'attributes':{'class':[_0x56f958(0xc0),_0x56f958(0xbe)],'tabindex':-0x1},'children':[this[_0x56f958(0xf5)],{'tag':_0x56f958(0xfd),'attributes':{'class':[_0x56f958(0xbd),_0x56f958(0xe6)],'role':_0x56f958(0xd0)},'children':_0x3678f5}]};}[_0x4de4fc(0xfa)](){const _0x40c7cb=_0x4de4fc;this[_0x40c7cb(0xde)][_0x40c7cb(0xfa)]();}[_0x4de4fc(0x10a)](){const _0x3ba73a=_0x4de4fc;return this[_0x3ba73a(0xce)][_0x3ba73a(0xe7)]?_0x3ba73a(0xca)===this[_0x3ba73a(0xce)][_0x3ba73a(0xf4)][_0x3ba73a(0xef)][_0x3ba73a(0x10e)]?_0x1edd2e(this[_0x3ba73a(0xdf)],_0x3ba73a(0x108),this[_0x3ba73a(0xce)][_0x3ba73a(0xf1)][_0x3ba73a(0xec)]):_0x1edd2e(this[_0x3ba73a(0xdf)],_0x3ba73a(0x107),this[_0x3ba73a(0xce)][_0x3ba73a(0xf1)][_0x3ba73a(0xec)]):null;}[_0x4de4fc(0xc5)](){const _0x2bc1ab=_0x4de4fc;return _0x2bc1ab(0xca)===this[_0x2bc1ab(0xce)][_0x2bc1ab(0xf4)][_0x2bc1ab(0xef)][_0x2bc1ab(0x10e)]?_0x1edd2e(this[_0x2bc1ab(0xdf)],_0x2bc1ab(0x105)):_0x1edd2e(this[_0x2bc1ab(0xdf)],_0x2bc1ab(0xff));}[_0x4de4fc(0x102)](_0x676170,_0x153355,_0xadd1de,_0x47d9e1,_0x55c8f7){const _0x19c02d=_0x4de4fc,_0x567c5a=new _0x32d741(this[_0x19c02d(0xdf)]);return _0x567c5a[_0x19c02d(0x109)]({'label':_0x676170,'icon':_0x153355,'tooltip':!0x0,'tooltipPosition':_0x55c8f7}),_0x567c5a[_0x19c02d(0xfc)]({'attributes':{'class':_0xadd1de}}),_0x567c5a['on'](_0x19c02d(0xeb),()=>{const _0x2bb5fb=_0x19c02d;this[_0x2bb5fb(0xea)](_0x47d9e1,this[_0x2bb5fb(0xce)]['id']);}),_0x567c5a;}[_0x4de4fc(0xb6)](){const _0x3d7300=_0x4de4fc,_0x3701f3=this[_0x3d7300(0xde)];this[_0x3d7300(0xb8)][_0x3d7300(0xdc)](_0x3701f3);for(const _0x4a00ba of this[_0x3d7300(0x100)])this[_0x3d7300(0xc3)][_0x3d7300(0xc9)](_0x4a00ba[_0x3d7300(0xde)]),this[_0x3d7300(0xb8)][_0x3d7300(0xdc)](_0x4a00ba[_0x3d7300(0xde)]);this[_0x3d7300(0xb8)][_0x3d7300(0x109)](_0x3d7300(0xcb),(_0x209463,_0x594e87)=>{const _0x415ac0=_0x3d7300;_0x3701f3===_0x209463[_0x415ac0(0xc4)]&&(this[_0x415ac0(0x106)][_0x415ac0(0xdd)](),_0x594e87());}),this[_0x3d7300(0xb8)][_0x3d7300(0x109)](_0x3d7300(0xd8),(_0x52b669,_0x35e079)=>{const _0x40291b=_0x3d7300;_0x3701f3!==_0x52b669[_0x40291b(0xc4)]&&(this[_0x40291b(0xfa)](),_0x35e079());});}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, 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
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x39d749=_0x4ffd;(function(_0xfe0d39,_0x3d9810){const _0x1b76d7=_0x4ffd,_0x11d921=_0xfe0d39();while(!![]){try{const _0x35ab40=-parseInt(_0x1b76d7(0x170))/0x1*(parseInt(_0x1b76d7(0x189))/0x2)+-parseInt(_0x1b76d7(0x174))/0x3+parseInt(_0x1b76d7(0x171))/0x4+parseInt(_0x1b76d7(0x18b))/0x5+parseInt(_0x1b76d7(0x17b))/0x6+-parseInt(_0x1b76d7(0x17c))/0x7*(-parseInt(_0x1b76d7(0x186))/0x8)+parseInt(_0x1b76d7(0x184))/0x9*(-parseInt(_0x1b76d7(0x18d))/0xa);if(_0x35ab40===_0x3d9810)break;else _0x11d921['push'](_0x11d921['shift']());}catch(_0x487229){_0x11d921['push'](_0x11d921['shift']());}}}(_0x3b74,0xcae1f));function _0x3b74(){const _0x5d4ea7=['1048726dzKYOu','focus','previewDataReady','className','classes','setAttribute','push','\x20ck-track-changes-preview__root-container','160092qONnUs','setPreviewData','56tYDRiB','data-ck-root-name','element','2bRgBBq','style','2677480WhgMTe','options','30ZoFSAQ','height','dialogRects','ck-reset','width','260489rzPybc','652412vNQcMH','setTemplate','innerHTML','4562250nPAZZu','div','content','fire','createElement','ck-track-changes-preview','render','5509710ekrXOg'];_0x3b74=function(){return _0x5d4ea7;};return _0x3b74();}import{View as _0x1bcb7a}from'ckeditor5/src/ui.js';function _0x4ffd(_0x5f2432,_0x3f75ef){const _0x3b743f=_0x3b74();return _0x4ffd=function(_0x4ffd42,_0x3af755){_0x4ffd42=_0x4ffd42-0x16d;let _0x340095=_0x3b743f[_0x4ffd42];return _0x340095;},_0x4ffd(_0x5f2432,_0x3f75ef);}export class TrackChangesPreviewView extends _0x1bcb7a{[_0x39d749(0x18c)];constructor(_0x1af7de,_0x96c6ff){const _0x1f5eb2=_0x39d749;super(_0x1af7de),this[_0x1f5eb2(0x18c)]=_0x96c6ff,this[_0x1f5eb2(0x172)]({'tag':_0x1f5eb2(0x175),'attributes':{'class':['ck',_0x1f5eb2(0x16e),_0x1f5eb2(0x179)],'tabindex':-0x1}});}[_0x39d749(0x17a)](){const _0x466df9=_0x39d749;super[_0x466df9(0x17a)](),this[_0x466df9(0x188)][_0x466df9(0x18a)][_0x466df9(0x16f)]=this[_0x466df9(0x18c)][_0x466df9(0x16d)][_0x466df9(0x16f)]+'px',this[_0x466df9(0x188)][_0x466df9(0x18a)][_0x466df9(0x18e)]=this[_0x466df9(0x18c)][_0x466df9(0x16d)][_0x466df9(0x18e)]+'px';}[_0x39d749(0x185)](_0x2673c8,_0x158a87){const _0x1013b9=_0x39d749;if(!this[_0x1013b9(0x188)])return;const _0x5324b3=[];for(const [_0x58b3b5,_0x3c38f2]of _0x2673c8){const _0x36db20=document[_0x1013b9(0x178)](_0x1013b9(0x175));_0x36db20[_0x1013b9(0x181)](_0x1013b9(0x187),_0x58b3b5),_0x36db20[_0x1013b9(0x17f)]=_0x3c38f2[_0x1013b9(0x180)]+_0x1013b9(0x183),_0x36db20[_0x1013b9(0x173)]=_0x3c38f2[_0x1013b9(0x176)],_0x5324b3[_0x1013b9(0x182)](_0x36db20);}_0x158a87(this[_0x1013b9(0x188)],_0x5324b3),this[_0x1013b9(0x188)][_0x1013b9(0x18a)][_0x1013b9(0x18e)]='',this[_0x1013b9(0x177)](_0x1013b9(0x17e));}[_0x39d749(0x17d)](){const _0x2d2609=_0x39d749;this[_0x2d2609(0x188)][_0x2d2609(0x17d)]();}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, 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
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,5 +5,5 @@
9
5
  /**
10
6
  * @module track-changes/utils/common-translations
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
13
9
  export declare function getTranslation(locale: Locale, id: string, values?: number | string | ReadonlyArray<number | string>): string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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(_0x261b56,_0x5be013,_0x3fb4df){const _0x28a932=_0x261b56['t'],t=_0x261b56['t'];switch(_0x5be013){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x3fb4df);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3fb4df);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3fb4df);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3fb4df);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3fb4df);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x3fb4df);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3fb4df);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3fb4df);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3fb4df);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3fb4df);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3fb4df);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3fb4df);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3fb4df);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3fb4df);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3fb4df);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3fb4df);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3fb4df);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3fb4df);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3fb4df);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3fb4df);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3fb4df);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3fb4df);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3fb4df);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3fb4df);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3fb4df);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x3fb4df);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3fb4df);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3fb4df);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3fb4df);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3fb4df);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3fb4df);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3fb4df);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3fb4df);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x3fb4df);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3fb4df);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3fb4df);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3fb4df);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3fb4df);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3fb4df);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3fb4df);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x3fb4df);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3fb4df);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3fb4df);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x3fb4df);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3fb4df);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x3fb4df);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3fb4df);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3fb4df);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3fb4df);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3fb4df);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3fb4df);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x3fb4df);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3fb4df);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x28a932({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3fb4df);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28a932({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3fb4df);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3fb4df);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x3fb4df);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x3fb4df);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x3fb4df);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5be013;}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, 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
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,8 +5,8 @@
9
5
  /**
10
6
  * @module track-changes/utils/utils
11
7
  */
12
- import type { Command } from '@ckeditor/ckeditor5-core';
13
- import type { ModelDocumentSelection, Model } from '@ckeditor/ckeditor5-engine';
8
+ import type { Command } from 'ckeditor5/src/core.js';
9
+ import type { ModelDocumentSelection, Model } from 'ckeditor5/src/engine.js';
14
10
  import { type Suggestion } from '../suggestion.js';
15
11
  import type { SuggestionDescription } from '../suggestiondescriptionfactory.js';
16
12
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x2fcd9a,_0x5b07b7){const _0x415643=_0x279e,_0x5e8f01=_0x2fcd9a();while(!![]){try{const _0x17e0d3=-parseInt(_0x415643(0xd4))/0x1*(-parseInt(_0x415643(0xff))/0x2)+parseInt(_0x415643(0x103))/0x3*(parseInt(_0x415643(0xd8))/0x4)+-parseInt(_0x415643(0xf0))/0x5*(parseInt(_0x415643(0xe9))/0x6)+parseInt(_0x415643(0xec))/0x7+-parseInt(_0x415643(0xea))/0x8+parseInt(_0x415643(0xe4))/0x9+-parseInt(_0x415643(0xdd))/0xa;if(_0x17e0d3===_0x5b07b7)break;else _0x5e8f01['push'](_0x5e8f01['shift']());}catch(_0xf49ffb){_0x5e8f01['push'](_0x5e8f01['shift']());}}}(_0x51cb,0xdaeb5));export function normalizeDescription(_0x22b09e){const _0x12c023=_0x279e;return Array[_0x12c023(0xf5)](_0x22b09e)||(_0x22b09e=[_0x22b09e]),_0x22b09e[_0x12c023(0xcf)](_0x3e9eab=>{const _0x5720d3=_0x12c023,_0x2206cf=_0x3e9eab[_0x5720d3(0xfc)][_0x5720d3(0xd6)](/\*/g,''),_0x33fa2a=_0x3e9eab[_0x5720d3(0xe1)]?_0x5720d3(0xed)+_0x3e9eab[_0x5720d3(0xe1)][_0x5720d3(0xd9)]+']':'';return'['+_0x3e9eab[_0x5720d3(0xf8)]+']\x20'+_0x2206cf+_0x33fa2a;})[_0x12c023(0xe2)](';\x20');}export function renderDescription(_0x3e7348,_0x251a02){const _0x11d1cc=_0x279e;let _0x41a486='';return _0x41a486+=_0x3e7348[_0x11d1cc(0xeb)]('*')[_0x11d1cc(0xcf)]((_0x3c6cf4,_0x2d274f)=>_0x2d274f%0x2!=0x0?_0x11d1cc(0xee)+rn(_0x3c6cf4)+_0x11d1cc(0xf3):rn(_0x3c6cf4))[_0x11d1cc(0xe2)](''),_0x251a02&&(_0x41a486+=_0x11d1cc(0xe5)+_0x251a02[_0x11d1cc(0xd9)]+_0x11d1cc(0xe0)+_0x251a02[_0x11d1cc(0xcd)]+_0x11d1cc(0xf2)),_0x41a486;}function rn(_0x5f36c2){const _0x471e44=_0x279e,_0x31d3eb=document[_0x471e44(0xe7)](_0x471e44(0xd7));return _0x31d3eb[_0x471e44(0xe6)]=_0x5f36c2,_0x31d3eb[_0x471e44(0xfa)];}export function sortSuggestions(_0x5138d8){const _0x3e50de=_0x279e;return _0x5138d8[_0x3e50de(0xf6)]((_0x139583,_0x992ed0)=>_0x3e50de(0x100)===_0x139583[_0x3e50de(0xf8)]&&_0x3e50de(0x100)!==_0x992ed0[_0x3e50de(0xf8)]?-0x1:_0x3e50de(0x100)!==_0x139583[_0x3e50de(0xf8)]&&_0x3e50de(0x100)===_0x992ed0[_0x3e50de(0xf8)]?0x1:_0x3e50de(0xd1)==_0x139583[_0x3e50de(0xf8)]&&_0x3e50de(0xd1)!=_0x992ed0[_0x3e50de(0xf8)]?-0x1:_0x3e50de(0xd1)!=_0x139583[_0x3e50de(0xf8)]&&_0x3e50de(0xd1)==_0x992ed0[_0x3e50de(0xf8)]?0x1:0x0);}export function getSelectedSuggestions(_0x2cd7a4,_0x13439b){const _0x26a222=_0x279e,_0x9c1009=Array[_0x26a222(0xce)](_0x2cd7a4[_0x26a222(0xfd)]()),_0x181aea=new Set();for(const _0x33361c of _0x13439b)if(_0x33361c[_0x26a222(0xfb)]){for(const _0x53aa55 of _0x9c1009)for(const _0x4a7d8e of _0x33361c[_0x26a222(0xfd)]())(_0x53aa55[_0x26a222(0xdf)](_0x4a7d8e)||_0x2cd7a4[_0x26a222(0xd5)]&&!_0x33361c[_0x26a222(0xe8)]&&_0x33361c[_0x26a222(0xf4)]&&_0x4a7d8e[_0x26a222(0xfe)][_0x26a222(0xf1)](_0x53aa55[_0x26a222(0xef)]))&&_0x181aea[_0x26a222(0xd3)](_0x33361c);}return _0x181aea;}export function getRangesOfBlockGroups(_0x337aa1,_0x13461b){const _0x33b201=_0x279e;let _0x24ccce,_0x42de94=0x0;const _0x1db59d=[],_0x47c041=_0x13461b[_0x33b201(0xd2)];for(;_0x42de94<_0x337aa1[_0x33b201(0xf9)];){const _0x3c1582=_0x337aa1[_0x42de94],_0x4052a1=_0x337aa1[_0x42de94+0x1];_0x24ccce||(_0x24ccce=_0x13461b[_0x33b201(0x102)](_0x3c1582)),cn(_0x13461b,_0x3c1582,_0x4052a1)||(_0x1db59d[_0x33b201(0xf7)](_0x13461b[_0x33b201(0xd0)](_0x24ccce,_0x47c041[_0x33b201(0xde)](_0x3c1582)?_0x13461b[_0x33b201(0xe3)](_0x3c1582):_0x13461b[_0x33b201(0xdb)](_0x3c1582,_0x33b201(0xfe)))),_0x24ccce=null),_0x42de94++;}return _0x1db59d;}function _0x279e(_0x369bd9,_0x3ab692){const _0x51cb47=_0x51cb();return _0x279e=function(_0x279e7c,_0x198f56){_0x279e7c=_0x279e7c-0xcd;let _0x155204=_0x51cb47[_0x279e7c];return _0x155204;},_0x279e(_0x369bd9,_0x3ab692);}function cn(_0x23cdff,_0x3bd49b,_0x552027){const _0x1e9620=_0x279e;if(!_0x552027)return!0x1;const _0x68239a=_0x23cdff[_0x1e9620(0xe3)](_0x3bd49b),_0x170f9d=_0x23cdff[_0x1e9620(0x102)](_0x552027);return _0x68239a[_0x1e9620(0xf1)](_0x170f9d);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3b416a,_0x2f8998,_0x343133){const _0x24d70e=_0x279e;for(;_0x343133[_0x24d70e(0xf9)];){const _0x5e408a=_0x343133[_0x24d70e(0x101)](0x0,0x64);_0x3b416a[_0x24d70e(0xda)](()=>{const _0x55c033=_0x24d70e;for(const _0x27ab41 of _0x5e408a)_0x27ab41[_0x55c033(0xfb)]&&_0x2f8998[_0x55c033(0xdc)](_0x27ab41['id']);});}}function _0x51cb(){const _0x3ac5c5=['getRanges','end','2NxbPbJ','attribute','splice','createPositionBefore','143304tjlFDU','title','from','map','createRange','deletion','schema','add','1486810WLrzkZ','isCollapsed','replace','span','4RpXnTD','value','change','createPositionAt','execute','8402710JhEols','isObject','isIntersecting','\x22\x20title=\x22','color','join','createPositionAfter','11499903uERwje','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','innerText','createElement','isMultiRange','6yNDqkY','1544752tYZoUr','split','4721115EGsIJC','\x20[color\x20','<span\x20class=\x22ck-suggestion-type\x22>','start','7783660rPEMyT','isTouching','\x22></span>','</span>','next','isArray','sort','push','type','length','innerHTML','isInContent','content'];_0x51cb=function(){return _0x3ac5c5;};return _0x51cb();}
@@ -0,0 +1,22 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ .ck.ck-track-changes-preview {
11
+ max-height: 80vh;
12
+ max-width: 80vw;
13
+ overflow-x: hidden;
14
+
15
+ /* Allow the contents to be selected (and e.g. copied) by the user. */
16
+ user-select: text;
17
+ }
18
+
19
+ .ck.ck-content.ck-track-changes-preview__root-container[data-ck-root-name] {
20
+ margin: 0;
21
+ border: none;
22
+ }