@ckeditor/ckeditor5-track-changes 44.1.0 → 44.2.0-alpha.1

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 (597) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +1 -1
  3. package/build/track-changes.js +3 -3
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/ckeditor5-metadata.json +7 -0
  76. package/dist/index-content.css +3 -2
  77. package/dist/index-editor.css +13 -2
  78. package/dist/index.css +24 -2
  79. package/dist/index.js +4 -4
  80. package/dist/translations/af.d.ts +2 -2
  81. package/dist/translations/af.js +2 -2
  82. package/dist/translations/af.umd.js +2 -2
  83. package/dist/translations/ar.d.ts +2 -2
  84. package/dist/translations/ar.js +2 -2
  85. package/dist/translations/ar.umd.js +2 -2
  86. package/dist/translations/ast.d.ts +2 -2
  87. package/dist/translations/ast.js +2 -2
  88. package/dist/translations/ast.umd.js +2 -2
  89. package/dist/translations/az.d.ts +2 -2
  90. package/dist/translations/az.js +2 -2
  91. package/dist/translations/az.umd.js +2 -2
  92. package/dist/translations/bg.d.ts +2 -2
  93. package/dist/translations/bg.js +2 -2
  94. package/dist/translations/bg.umd.js +2 -2
  95. package/dist/translations/bn.d.ts +2 -2
  96. package/dist/translations/bn.js +2 -2
  97. package/dist/translations/bn.umd.js +2 -2
  98. package/dist/translations/bs.d.ts +2 -2
  99. package/dist/translations/bs.js +2 -2
  100. package/dist/translations/bs.umd.js +2 -2
  101. package/dist/translations/ca.d.ts +2 -2
  102. package/dist/translations/ca.js +2 -2
  103. package/dist/translations/ca.umd.js +2 -2
  104. package/dist/translations/cs.d.ts +2 -2
  105. package/dist/translations/cs.js +2 -2
  106. package/dist/translations/cs.umd.js +2 -2
  107. package/dist/translations/da.d.ts +2 -2
  108. package/dist/translations/da.js +2 -2
  109. package/dist/translations/da.umd.js +2 -2
  110. package/dist/translations/de-ch.d.ts +2 -2
  111. package/dist/translations/de-ch.js +2 -2
  112. package/dist/translations/de-ch.umd.js +2 -2
  113. package/dist/translations/de.d.ts +2 -2
  114. package/dist/translations/de.js +2 -2
  115. package/dist/translations/de.umd.js +2 -2
  116. package/dist/translations/el.d.ts +2 -2
  117. package/dist/translations/el.js +2 -2
  118. package/dist/translations/el.umd.js +2 -2
  119. package/dist/translations/en-au.d.ts +2 -2
  120. package/dist/translations/en-au.js +2 -2
  121. package/dist/translations/en-au.umd.js +2 -2
  122. package/dist/translations/en-gb.d.ts +2 -2
  123. package/dist/translations/en-gb.js +2 -2
  124. package/dist/translations/en-gb.umd.js +2 -2
  125. package/dist/translations/en.d.ts +2 -2
  126. package/dist/translations/en.js +2 -2
  127. package/dist/translations/en.umd.js +2 -2
  128. package/dist/translations/eo.d.ts +2 -2
  129. package/dist/translations/eo.js +2 -2
  130. package/dist/translations/eo.umd.js +2 -2
  131. package/dist/translations/es-co.d.ts +2 -2
  132. package/dist/translations/es-co.js +2 -2
  133. package/dist/translations/es-co.umd.js +2 -2
  134. package/dist/translations/es.d.ts +2 -2
  135. package/dist/translations/es.js +2 -2
  136. package/dist/translations/es.umd.js +2 -2
  137. package/dist/translations/et.d.ts +2 -2
  138. package/dist/translations/et.js +2 -2
  139. package/dist/translations/et.umd.js +2 -2
  140. package/dist/translations/eu.d.ts +2 -2
  141. package/dist/translations/eu.js +2 -2
  142. package/dist/translations/eu.umd.js +2 -2
  143. package/dist/translations/fa.d.ts +2 -2
  144. package/dist/translations/fa.js +2 -2
  145. package/dist/translations/fa.umd.js +2 -2
  146. package/dist/translations/fi.d.ts +2 -2
  147. package/dist/translations/fi.js +2 -2
  148. package/dist/translations/fi.umd.js +2 -2
  149. package/dist/translations/fr.d.ts +2 -2
  150. package/dist/translations/fr.js +2 -2
  151. package/dist/translations/fr.umd.js +2 -2
  152. package/dist/translations/gl.d.ts +2 -2
  153. package/dist/translations/gl.js +2 -2
  154. package/dist/translations/gl.umd.js +2 -2
  155. package/dist/translations/gu.d.ts +2 -2
  156. package/dist/translations/gu.js +2 -2
  157. package/dist/translations/gu.umd.js +2 -2
  158. package/dist/translations/he.d.ts +2 -2
  159. package/dist/translations/he.js +2 -2
  160. package/dist/translations/he.umd.js +2 -2
  161. package/dist/translations/hi.d.ts +2 -2
  162. package/dist/translations/hi.js +2 -2
  163. package/dist/translations/hi.umd.js +2 -2
  164. package/dist/translations/hr.d.ts +2 -2
  165. package/dist/translations/hr.js +2 -2
  166. package/dist/translations/hr.umd.js +2 -2
  167. package/dist/translations/hu.d.ts +2 -2
  168. package/dist/translations/hu.js +2 -2
  169. package/dist/translations/hu.umd.js +2 -2
  170. package/dist/translations/hy.d.ts +2 -2
  171. package/dist/translations/hy.js +2 -2
  172. package/dist/translations/hy.umd.js +2 -2
  173. package/dist/translations/id.d.ts +2 -2
  174. package/dist/translations/id.js +2 -2
  175. package/dist/translations/id.umd.js +2 -2
  176. package/dist/translations/it.d.ts +2 -2
  177. package/dist/translations/it.js +2 -2
  178. package/dist/translations/it.umd.js +2 -2
  179. package/dist/translations/ja.d.ts +2 -2
  180. package/dist/translations/ja.js +2 -2
  181. package/dist/translations/ja.umd.js +2 -2
  182. package/dist/translations/jv.d.ts +2 -2
  183. package/dist/translations/jv.js +2 -2
  184. package/dist/translations/jv.umd.js +2 -2
  185. package/dist/translations/kk.d.ts +2 -2
  186. package/dist/translations/kk.js +2 -2
  187. package/dist/translations/kk.umd.js +2 -2
  188. package/dist/translations/km.d.ts +2 -2
  189. package/dist/translations/km.js +2 -2
  190. package/dist/translations/km.umd.js +2 -2
  191. package/dist/translations/kn.d.ts +2 -2
  192. package/dist/translations/kn.js +2 -2
  193. package/dist/translations/kn.umd.js +2 -2
  194. package/dist/translations/ko.d.ts +2 -2
  195. package/dist/translations/ko.js +2 -2
  196. package/dist/translations/ko.umd.js +2 -2
  197. package/dist/translations/ku.d.ts +2 -2
  198. package/dist/translations/ku.js +2 -2
  199. package/dist/translations/ku.umd.js +2 -2
  200. package/dist/translations/lt.d.ts +2 -2
  201. package/dist/translations/lt.js +2 -2
  202. package/dist/translations/lt.umd.js +2 -2
  203. package/dist/translations/lv.d.ts +2 -2
  204. package/dist/translations/lv.js +2 -2
  205. package/dist/translations/lv.umd.js +2 -2
  206. package/dist/translations/ms.d.ts +2 -2
  207. package/dist/translations/ms.js +2 -2
  208. package/dist/translations/ms.umd.js +2 -2
  209. package/dist/translations/nb.d.ts +2 -2
  210. package/dist/translations/nb.js +2 -2
  211. package/dist/translations/nb.umd.js +2 -2
  212. package/dist/translations/ne.d.ts +2 -2
  213. package/dist/translations/ne.js +2 -2
  214. package/dist/translations/ne.umd.js +2 -2
  215. package/dist/translations/nl.d.ts +2 -2
  216. package/dist/translations/nl.js +2 -2
  217. package/dist/translations/nl.umd.js +2 -2
  218. package/dist/translations/no.d.ts +2 -2
  219. package/dist/translations/no.js +2 -2
  220. package/dist/translations/no.umd.js +2 -2
  221. package/dist/translations/oc.d.ts +2 -2
  222. package/dist/translations/oc.js +2 -2
  223. package/dist/translations/oc.umd.js +2 -2
  224. package/dist/translations/pl.d.ts +2 -2
  225. package/dist/translations/pl.js +2 -2
  226. package/dist/translations/pl.umd.js +2 -2
  227. package/dist/translations/pt-br.d.ts +2 -2
  228. package/dist/translations/pt-br.js +2 -2
  229. package/dist/translations/pt-br.umd.js +2 -2
  230. package/dist/translations/pt.d.ts +2 -2
  231. package/dist/translations/pt.js +2 -2
  232. package/dist/translations/pt.umd.js +2 -2
  233. package/dist/translations/ro.d.ts +2 -2
  234. package/dist/translations/ro.js +2 -2
  235. package/dist/translations/ro.umd.js +2 -2
  236. package/dist/translations/ru.d.ts +2 -2
  237. package/dist/translations/ru.js +2 -2
  238. package/dist/translations/ru.umd.js +2 -2
  239. package/dist/translations/si.d.ts +2 -2
  240. package/dist/translations/si.js +2 -2
  241. package/dist/translations/si.umd.js +2 -2
  242. package/dist/translations/sk.d.ts +2 -2
  243. package/dist/translations/sk.js +2 -2
  244. package/dist/translations/sk.umd.js +2 -2
  245. package/dist/translations/sl.d.ts +2 -2
  246. package/dist/translations/sl.js +2 -2
  247. package/dist/translations/sl.umd.js +2 -2
  248. package/dist/translations/sq.d.ts +2 -2
  249. package/dist/translations/sq.js +2 -2
  250. package/dist/translations/sq.umd.js +2 -2
  251. package/dist/translations/sr-latn.d.ts +2 -2
  252. package/dist/translations/sr-latn.js +2 -2
  253. package/dist/translations/sr-latn.umd.js +2 -2
  254. package/dist/translations/sr.d.ts +2 -2
  255. package/dist/translations/sr.js +2 -2
  256. package/dist/translations/sr.umd.js +2 -2
  257. package/dist/translations/sv.d.ts +2 -2
  258. package/dist/translations/sv.js +2 -2
  259. package/dist/translations/sv.umd.js +2 -2
  260. package/dist/translations/th.d.ts +2 -2
  261. package/dist/translations/th.js +2 -2
  262. package/dist/translations/th.umd.js +2 -2
  263. package/dist/translations/ti.d.ts +2 -2
  264. package/dist/translations/ti.js +2 -2
  265. package/dist/translations/ti.umd.js +2 -2
  266. package/dist/translations/tk.d.ts +2 -2
  267. package/dist/translations/tk.js +2 -2
  268. package/dist/translations/tk.umd.js +2 -2
  269. package/dist/translations/tr.d.ts +2 -2
  270. package/dist/translations/tr.js +2 -2
  271. package/dist/translations/tr.umd.js +2 -2
  272. package/dist/translations/tt.d.ts +2 -2
  273. package/dist/translations/tt.js +2 -2
  274. package/dist/translations/tt.umd.js +2 -2
  275. package/dist/translations/ug.d.ts +2 -2
  276. package/dist/translations/ug.js +2 -2
  277. package/dist/translations/ug.umd.js +2 -2
  278. package/dist/translations/uk.d.ts +2 -2
  279. package/dist/translations/uk.js +2 -2
  280. package/dist/translations/uk.umd.js +2 -2
  281. package/dist/translations/ur.d.ts +2 -2
  282. package/dist/translations/ur.js +2 -2
  283. package/dist/translations/ur.umd.js +2 -2
  284. package/dist/translations/uz.d.ts +2 -2
  285. package/dist/translations/uz.js +2 -2
  286. package/dist/translations/uz.umd.js +2 -2
  287. package/dist/translations/vi.d.ts +2 -2
  288. package/dist/translations/vi.js +2 -2
  289. package/dist/translations/vi.umd.js +2 -2
  290. package/dist/translations/zh-cn.d.ts +2 -2
  291. package/dist/translations/zh-cn.js +2 -2
  292. package/dist/translations/zh-cn.umd.js +2 -2
  293. package/dist/translations/zh.d.ts +2 -2
  294. package/dist/translations/zh.js +2 -2
  295. package/dist/translations/zh.umd.js +2 -2
  296. package/lang/contexts.json +3 -1
  297. package/lang/translations/af.po +13 -5
  298. package/lang/translations/ar.po +13 -5
  299. package/lang/translations/ast.po +13 -5
  300. package/lang/translations/az.po +13 -5
  301. package/lang/translations/bg.po +13 -5
  302. package/lang/translations/bn.po +13 -5
  303. package/lang/translations/bs.po +13 -5
  304. package/lang/translations/ca.po +13 -5
  305. package/lang/translations/cs.po +13 -5
  306. package/lang/translations/da.po +13 -5
  307. package/lang/translations/de-ch.po +13 -5
  308. package/lang/translations/de.po +13 -5
  309. package/lang/translations/el.po +13 -5
  310. package/lang/translations/en-au.po +13 -5
  311. package/lang/translations/en-gb.po +13 -5
  312. package/lang/translations/en.po +13 -5
  313. package/lang/translations/eo.po +13 -5
  314. package/lang/translations/es-co.po +13 -5
  315. package/lang/translations/es.po +13 -5
  316. package/lang/translations/et.po +13 -5
  317. package/lang/translations/eu.po +13 -5
  318. package/lang/translations/fa.po +13 -5
  319. package/lang/translations/fi.po +13 -5
  320. package/lang/translations/fr.po +13 -5
  321. package/lang/translations/gl.po +13 -5
  322. package/lang/translations/gu.po +13 -5
  323. package/lang/translations/he.po +13 -5
  324. package/lang/translations/hi.po +13 -5
  325. package/lang/translations/hr.po +13 -5
  326. package/lang/translations/hu.po +13 -5
  327. package/lang/translations/hy.po +13 -5
  328. package/lang/translations/id.po +13 -5
  329. package/lang/translations/it.po +13 -5
  330. package/lang/translations/ja.po +13 -5
  331. package/lang/translations/jv.po +13 -5
  332. package/lang/translations/kk.po +13 -5
  333. package/lang/translations/km.po +13 -5
  334. package/lang/translations/kn.po +13 -5
  335. package/lang/translations/ko.po +13 -5
  336. package/lang/translations/ku.po +13 -5
  337. package/lang/translations/lt.po +13 -5
  338. package/lang/translations/lv.po +13 -5
  339. package/lang/translations/ms.po +13 -5
  340. package/lang/translations/nb.po +13 -5
  341. package/lang/translations/ne.po +13 -5
  342. package/lang/translations/nl.po +13 -5
  343. package/lang/translations/no.po +13 -5
  344. package/lang/translations/oc.po +13 -5
  345. package/lang/translations/pl.po +13 -5
  346. package/lang/translations/pt-br.po +13 -5
  347. package/lang/translations/pt.po +13 -5
  348. package/lang/translations/ro.po +13 -5
  349. package/lang/translations/ru.po +13 -5
  350. package/lang/translations/si.po +13 -5
  351. package/lang/translations/sk.po +13 -5
  352. package/lang/translations/sl.po +13 -5
  353. package/lang/translations/sq.po +13 -5
  354. package/lang/translations/sr-latn.po +13 -5
  355. package/lang/translations/sr.po +13 -5
  356. package/lang/translations/sv.po +13 -5
  357. package/lang/translations/th.po +13 -5
  358. package/lang/translations/ti.po +13 -5
  359. package/lang/translations/tk.po +13 -5
  360. package/lang/translations/tr.po +13 -5
  361. package/lang/translations/tt.po +13 -5
  362. package/lang/translations/ug.po +13 -5
  363. package/lang/translations/uk.po +13 -5
  364. package/lang/translations/ur.po +13 -5
  365. package/lang/translations/uz.po +13 -5
  366. package/lang/translations/vi.po +13 -5
  367. package/lang/translations/zh-cn.po +13 -5
  368. package/lang/translations/zh.po +13 -5
  369. package/package.json +47 -10
  370. package/src/augmentation.d.ts +4 -2
  371. package/src/augmentation.js +1 -1
  372. package/src/commands/acceptsuggestioncommand.d.ts +1 -1
  373. package/src/commands/acceptsuggestioncommand.js +2 -2
  374. package/src/commands/discardsuggestioncommand.d.ts +1 -1
  375. package/src/commands/discardsuggestioncommand.js +2 -2
  376. package/src/commands/executeonallsuggestionscommand.d.ts +1 -1
  377. package/src/commands/executeonallsuggestionscommand.js +2 -2
  378. package/src/commands/executeonselectedsuggestionscommand.d.ts +1 -1
  379. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  380. package/src/commands/previewfinalcontentcommand.d.ts +26 -0
  381. package/src/commands/previewfinalcontentcommand.js +23 -0
  382. package/src/commands/trackchangescommand.d.ts +1 -1
  383. package/src/commands/trackchangescommand.js +2 -2
  384. package/src/index.d.ts +3 -1
  385. package/src/index.js +2 -2
  386. package/src/integrations/aiassistant.d.ts +1 -1
  387. package/src/integrations/aiassistant.js +2 -2
  388. package/src/integrations/alignment.d.ts +1 -1
  389. package/src/integrations/alignment.js +2 -2
  390. package/src/integrations/basicstyles.d.ts +1 -1
  391. package/src/integrations/basicstyles.js +2 -2
  392. package/src/integrations/blockquote.d.ts +1 -1
  393. package/src/integrations/blockquote.js +2 -2
  394. package/src/integrations/bookmark.d.ts +1 -1
  395. package/src/integrations/bookmark.js +2 -2
  396. package/src/integrations/casechange.d.ts +1 -1
  397. package/src/integrations/casechange.js +2 -2
  398. package/src/integrations/ckbox.d.ts +1 -1
  399. package/src/integrations/ckbox.js +2 -2
  400. package/src/integrations/codeblock.d.ts +1 -1
  401. package/src/integrations/codeblock.js +2 -2
  402. package/src/integrations/comments.d.ts +1 -1
  403. package/src/integrations/comments.js +2 -2
  404. package/src/integrations/deletecommand.d.ts +1 -1
  405. package/src/integrations/deletecommand.js +2 -2
  406. package/src/integrations/entercommand.d.ts +1 -1
  407. package/src/integrations/entercommand.js +2 -2
  408. package/src/integrations/findandreplace.d.ts +1 -1
  409. package/src/integrations/findandreplace.js +2 -2
  410. package/src/integrations/font.d.ts +1 -1
  411. package/src/integrations/font.js +2 -2
  412. package/src/integrations/formatpainter.d.ts +1 -1
  413. package/src/integrations/formatpainter.js +2 -2
  414. package/src/integrations/heading.d.ts +1 -1
  415. package/src/integrations/heading.js +2 -2
  416. package/src/integrations/highlight.d.ts +1 -1
  417. package/src/integrations/highlight.js +2 -2
  418. package/src/integrations/horizontalline.d.ts +1 -1
  419. package/src/integrations/horizontalline.js +2 -2
  420. package/src/integrations/htmlembed.d.ts +1 -1
  421. package/src/integrations/htmlembed.js +2 -2
  422. package/src/integrations/image.d.ts +1 -1
  423. package/src/integrations/image.js +2 -2
  424. package/src/integrations/imagereplace.d.ts +1 -1
  425. package/src/integrations/imagereplace.js +2 -2
  426. package/src/integrations/imagestyle.d.ts +1 -1
  427. package/src/integrations/imagestyle.js +2 -2
  428. package/src/integrations/importword.d.ts +1 -1
  429. package/src/integrations/importword.js +2 -2
  430. package/src/integrations/indent.d.ts +1 -1
  431. package/src/integrations/indent.js +2 -2
  432. package/src/integrations/inputcommand.d.ts +1 -1
  433. package/src/integrations/inputcommand.js +2 -2
  434. package/src/integrations/legacylist.d.ts +1 -1
  435. package/src/integrations/legacylist.js +2 -2
  436. package/src/integrations/legacylistproperties.d.ts +1 -1
  437. package/src/integrations/legacylistproperties.js +2 -2
  438. package/src/integrations/link.d.ts +1 -1
  439. package/src/integrations/link.js +2 -2
  440. package/src/integrations/list.d.ts +1 -1
  441. package/src/integrations/list.js +2 -2
  442. package/src/integrations/listproperties.d.ts +1 -1
  443. package/src/integrations/listproperties.js +2 -2
  444. package/src/integrations/mediaembed.d.ts +1 -1
  445. package/src/integrations/mediaembed.js +2 -2
  446. package/src/integrations/mention.d.ts +1 -1
  447. package/src/integrations/mention.js +2 -2
  448. package/src/integrations/mergefields.d.ts +1 -1
  449. package/src/integrations/mergefields.js +2 -2
  450. package/src/integrations/multilevellist.d.ts +1 -1
  451. package/src/integrations/multilevellist.js +2 -2
  452. package/src/integrations/pagebreak.d.ts +1 -1
  453. package/src/integrations/pagebreak.js +2 -2
  454. package/src/integrations/paragraph.d.ts +1 -1
  455. package/src/integrations/paragraph.js +2 -2
  456. package/src/integrations/removeformat.d.ts +1 -1
  457. package/src/integrations/removeformat.js +2 -2
  458. package/src/integrations/restrictededitingmode.d.ts +1 -1
  459. package/src/integrations/restrictededitingmode.js +2 -2
  460. package/src/integrations/shiftentercommand.d.ts +1 -1
  461. package/src/integrations/shiftentercommand.js +2 -2
  462. package/src/integrations/standardeditingmode.d.ts +1 -1
  463. package/src/integrations/standardeditingmode.js +2 -2
  464. package/src/integrations/style.d.ts +1 -1
  465. package/src/integrations/style.js +2 -2
  466. package/src/integrations/table.d.ts +1 -1
  467. package/src/integrations/table.js +2 -2
  468. package/src/integrations/tablecaption.d.ts +1 -1
  469. package/src/integrations/tablecaption.js +2 -2
  470. package/src/integrations/tableclipboard.d.ts +1 -1
  471. package/src/integrations/tableclipboard.js +2 -2
  472. package/src/integrations/tablecolumnresize.d.ts +1 -1
  473. package/src/integrations/tablecolumnresize.js +2 -2
  474. package/src/integrations/tableheadings.d.ts +1 -1
  475. package/src/integrations/tableheadings.js +2 -2
  476. package/src/integrations/tablemergesplit.d.ts +1 -1
  477. package/src/integrations/tablemergesplit.js +2 -2
  478. package/src/integrations/tableofcontents.d.ts +1 -1
  479. package/src/integrations/tableofcontents.js +2 -2
  480. package/src/integrations/tableproperties.d.ts +1 -1
  481. package/src/integrations/tableproperties.js +2 -2
  482. package/src/integrations/template.d.ts +1 -1
  483. package/src/integrations/template.js +2 -2
  484. package/src/integrations/title.d.ts +1 -1
  485. package/src/integrations/title.js +2 -2
  486. package/src/integrations/undo.d.ts +1 -1
  487. package/src/integrations/undo.js +2 -2
  488. package/src/integrations/uploadcare.d.ts +17 -0
  489. package/src/integrations/uploadcare.js +23 -0
  490. package/src/integrations/utils.d.ts +1 -1
  491. package/src/integrations/utils.js +2 -2
  492. package/src/suggestion.d.ts +1 -1
  493. package/src/suggestion.js +3 -3
  494. package/src/suggestiondescriptionfactory.d.ts +1 -1
  495. package/src/suggestiondescriptionfactory.js +2 -2
  496. package/src/trackchanges.d.ts +1 -1
  497. package/src/trackchanges.js +2 -2
  498. package/src/trackchangesconfig.d.ts +23 -1
  499. package/src/trackchangesconfig.js +1 -1
  500. package/src/trackchangesdata.d.ts +2 -2
  501. package/src/trackchangesdata.js +2 -2
  502. package/src/trackchangesediting.d.ts +3 -2
  503. package/src/trackchangesediting.js +2 -2
  504. package/src/trackchangespreview.d.ts +31 -0
  505. package/src/trackchangespreview.js +23 -0
  506. package/src/trackchangesui.d.ts +1 -1
  507. package/src/trackchangesui.js +2 -2
  508. package/src/ui/suggestioncontroller.d.ts +1 -1
  509. package/src/ui/suggestioncontroller.js +3 -3
  510. package/src/ui/view/basesuggestionthreadview.d.ts +1 -1
  511. package/src/ui/view/basesuggestionthreadview.js +2 -2
  512. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  513. package/src/ui/view/suggestionthreadview.js +2 -2
  514. package/src/ui/view/suggestionview.d.ts +1 -1
  515. package/src/ui/view/suggestionview.js +2 -2
  516. package/src/ui/view/trackchangespreviewview.d.ts +48 -0
  517. package/src/ui/view/trackchangespreviewview.js +23 -0
  518. package/src/utils/common-translations.d.ts +1 -1
  519. package/src/utils/common-translations.js +2 -2
  520. package/src/utils/utils.d.ts +1 -1
  521. package/src/utils/utils.js +2 -2
  522. package/theme/icons/track-changes-accept.svg +1 -1
  523. package/theme/icons/track-changes-discard.svg +1 -1
  524. package/theme/icons/track-changes.svg +1 -1
  525. package/theme/trackchangespreview.css +22 -0
  526. package/dist/augmentation.d.ts +0 -46
  527. package/dist/commands/acceptsuggestioncommand.d.ts +0 -28
  528. package/dist/commands/discardsuggestioncommand.d.ts +0 -28
  529. package/dist/commands/executeonallsuggestionscommand.d.ts +0 -28
  530. package/dist/commands/executeonselectedsuggestionscommand.d.ts +0 -28
  531. package/dist/commands/trackchangescommand.d.ts +0 -30
  532. package/dist/index.d.ts +0 -23
  533. package/dist/integrations/aiassistant.d.ts +0 -21
  534. package/dist/integrations/alignment.d.ts +0 -21
  535. package/dist/integrations/basicstyles.d.ts +0 -21
  536. package/dist/integrations/blockquote.d.ts +0 -21
  537. package/dist/integrations/bookmark.d.ts +0 -21
  538. package/dist/integrations/casechange.d.ts +0 -21
  539. package/dist/integrations/ckbox.d.ts +0 -21
  540. package/dist/integrations/codeblock.d.ts +0 -21
  541. package/dist/integrations/comments.d.ts +0 -18
  542. package/dist/integrations/deletecommand.d.ts +0 -21
  543. package/dist/integrations/entercommand.d.ts +0 -20
  544. package/dist/integrations/findandreplace.d.ts +0 -25
  545. package/dist/integrations/font.d.ts +0 -21
  546. package/dist/integrations/formatpainter.d.ts +0 -21
  547. package/dist/integrations/heading.d.ts +0 -21
  548. package/dist/integrations/highlight.d.ts +0 -21
  549. package/dist/integrations/horizontalline.d.ts +0 -21
  550. package/dist/integrations/htmlembed.d.ts +0 -21
  551. package/dist/integrations/image.d.ts +0 -21
  552. package/dist/integrations/imagereplace.d.ts +0 -21
  553. package/dist/integrations/imagestyle.d.ts +0 -21
  554. package/dist/integrations/importword.d.ts +0 -22
  555. package/dist/integrations/indent.d.ts +0 -21
  556. package/dist/integrations/inputcommand.d.ts +0 -20
  557. package/dist/integrations/legacylist.d.ts +0 -21
  558. package/dist/integrations/legacylistproperties.d.ts +0 -33
  559. package/dist/integrations/link.d.ts +0 -21
  560. package/dist/integrations/list.d.ts +0 -21
  561. package/dist/integrations/listproperties.d.ts +0 -24
  562. package/dist/integrations/mediaembed.d.ts +0 -21
  563. package/dist/integrations/mention.d.ts +0 -21
  564. package/dist/integrations/mergefields.d.ts +0 -21
  565. package/dist/integrations/multilevellist.d.ts +0 -28
  566. package/dist/integrations/pagebreak.d.ts +0 -21
  567. package/dist/integrations/paragraph.d.ts +0 -21
  568. package/dist/integrations/removeformat.d.ts +0 -21
  569. package/dist/integrations/restrictededitingmode.d.ts +0 -21
  570. package/dist/integrations/shiftentercommand.d.ts +0 -20
  571. package/dist/integrations/standardeditingmode.d.ts +0 -21
  572. package/dist/integrations/style.d.ts +0 -21
  573. package/dist/integrations/table.d.ts +0 -46
  574. package/dist/integrations/tablecaption.d.ts +0 -26
  575. package/dist/integrations/tableclipboard.d.ts +0 -23
  576. package/dist/integrations/tablecolumnresize.d.ts +0 -30
  577. package/dist/integrations/tableheadings.d.ts +0 -26
  578. package/dist/integrations/tablemergesplit.d.ts +0 -26
  579. package/dist/integrations/tableofcontents.d.ts +0 -21
  580. package/dist/integrations/tableproperties.d.ts +0 -39
  581. package/dist/integrations/template.d.ts +0 -21
  582. package/dist/integrations/title.d.ts +0 -21
  583. package/dist/integrations/undo.d.ts +0 -21
  584. package/dist/integrations/utils.d.ts +0 -21
  585. package/dist/suggestion.d.ts +0 -295
  586. package/dist/suggestiondescriptionfactory.d.ts +0 -187
  587. package/dist/trackchanges.d.ts +0 -192
  588. package/dist/trackchangesconfig.d.ts +0 -89
  589. package/dist/trackchangesdata.d.ts +0 -53
  590. package/dist/trackchangesediting.d.ts +0 -563
  591. package/dist/trackchangesui.d.ts +0 -50
  592. package/dist/ui/suggestioncontroller.d.ts +0 -41
  593. package/dist/ui/view/basesuggestionthreadview.d.ts +0 -209
  594. package/dist/ui/view/suggestionthreadview.d.ts +0 -98
  595. package/dist/ui/view/suggestionview.d.ts +0 -194
  596. package/dist/utils/common-translations.d.ts +0 -13
  597. package/dist/utils/utils.d.ts +0 -41
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5d5d25,_0x442e07,_0x3abe67){const _0x730975=_0x5d5d25['t'],t=_0x5d5d25['t'];switch(_0x442e07){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'*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',_0x3abe67);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3abe67);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3abe67);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3abe67);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3abe67);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',_0x3abe67);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3abe67);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x3abe67);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3abe67);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3abe67);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3abe67);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3abe67);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3abe67);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3abe67);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3abe67);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3abe67);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3abe67);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3abe67);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3abe67);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3abe67);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3abe67);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3abe67);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3abe67);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3abe67);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'},_0x3abe67);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3abe67);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3abe67);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3abe67);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3abe67);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3abe67);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'},_0x3abe67);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3abe67);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3abe67);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3abe67);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3abe67);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'},_0x3abe67);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3abe67);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'},_0x3abe67);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'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'},_0x3abe67);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3abe67);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'},_0x3abe67);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3abe67);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'},_0x3abe67);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3abe67);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3abe67);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'},_0x3abe67);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3abe67);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 _0x730975({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3abe67);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x730975({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3abe67);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3abe67);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'},_0x3abe67);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'},_0x3abe67);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'},_0x3abe67);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x442e07;}}
23
+ export function getTranslation(_0x1933e3,_0x51e14b,_0x37e05f){const _0x1e58bf=_0x1933e3['t'],t=_0x1933e3['t'];switch(_0x51e14b){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',_0x37e05f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x37e05f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x37e05f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x37e05f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x37e05f);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',_0x37e05f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x37e05f);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',_0x37e05f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x37e05f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x37e05f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x37e05f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x37e05f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x37e05f);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x37e05f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x37e05f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x37e05f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x37e05f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x37e05f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x37e05f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x37e05f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x37e05f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x37e05f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x37e05f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x37e05f);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'},_0x37e05f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x37e05f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x37e05f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x37e05f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x37e05f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x37e05f);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'},_0x37e05f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x37e05f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x37e05f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x37e05f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x37e05f);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'},_0x37e05f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x37e05f);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'},_0x37e05f);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'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'},_0x37e05f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x37e05f);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'},_0x37e05f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x37e05f);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'},_0x37e05f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x37e05f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x37e05f);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'},_0x37e05f);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x37e05f);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 _0x1e58bf({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x37e05f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1e58bf({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x37e05f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x37e05f);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'},_0x37e05f);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'},_0x37e05f);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'},_0x37e05f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x51e14b;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5832d1,_0x23bbb4){const _0x3ebe8e=_0xd412,_0x5cef53=_0x5832d1();while(!![]){try{const _0x1ed670=-parseInt(_0x3ebe8e(0xca))/0x1+parseInt(_0x3ebe8e(0xd2))/0x2+parseInt(_0x3ebe8e(0xe3))/0x3+parseInt(_0x3ebe8e(0xdb))/0x4+parseInt(_0x3ebe8e(0xc3))/0x5*(parseInt(_0x3ebe8e(0xd4))/0x6)+parseInt(_0x3ebe8e(0xc8))/0x7+-parseInt(_0x3ebe8e(0xda))/0x8;if(_0x1ed670===_0x23bbb4)break;else _0x5cef53['push'](_0x5cef53['shift']());}catch(_0x2548b2){_0x5cef53['push'](_0x5cef53['shift']());}}}(_0xb2eb,0xab4e9));export function normalizeDescription(_0x7b971f){const _0x5bf70b=_0xd412;return Array[_0x5bf70b(0xbf)](_0x7b971f)||(_0x7b971f=[_0x7b971f]),_0x7b971f[_0x5bf70b(0xe6)](_0x193818=>{const _0x4fa159=_0x5bf70b,_0x42f106=_0x193818[_0x4fa159(0xe4)][_0x4fa159(0xc5)](/\*/g,''),_0x56275c=_0x193818[_0x4fa159(0xc7)]?_0x4fa159(0xe8)+_0x193818[_0x4fa159(0xc7)][_0x4fa159(0xc0)]+']':'';return'['+_0x193818[_0x4fa159(0xbd)]+']\x20'+_0x42f106+_0x56275c;})[_0x5bf70b(0xc4)](';\x20');}function _0xb2eb(){const _0x228134=['deletion','createElement','split','9521280IDqDCP','1224216uIMbfX','isMultiRange','<span\x20class=\x22ck-suggestion-type\x22>','isInContent','next','createRange','length','start','2303148tcCVAf','content','createPositionAt','map','title','\x20[color\x20','isCollapsed','execute','add','push','createPositionAfter','createPositionBefore','isObject','isTouching','type','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isArray','value','end','change','326935yRkZLC','join','replace','getRanges','color','7464737dDvDvJ','isIntersecting','831000qrZctB','innerText','from','sort','\x22\x20title=\x22','schema','innerHTML','splice','903796JyNyJR','</span>','12aAcovi','\x22></span>','span'];_0xb2eb=function(){return _0x228134;};return _0xb2eb();}export function renderDescription(_0x42c007,_0xbaa1a9){const _0x2eecc5=_0xd412;let _0x20cec7='';return _0x20cec7+=_0x42c007[_0x2eecc5(0xd9)]('*')[_0x2eecc5(0xe6)]((_0x44ff95,_0x5af1db)=>_0x5af1db%0x2!=0x0?_0x2eecc5(0xdd)+nn(_0x44ff95)+_0x2eecc5(0xd3):nn(_0x44ff95))[_0x2eecc5(0xc4)](''),_0xbaa1a9&&(_0x20cec7+=_0x2eecc5(0xbe)+_0xbaa1a9[_0x2eecc5(0xc0)]+_0x2eecc5(0xce)+_0xbaa1a9[_0x2eecc5(0xe7)]+_0x2eecc5(0xd5)),_0x20cec7;}function nn(_0x28586c){const _0x3c0925=_0xd412,_0x5dc760=document[_0x3c0925(0xd8)](_0x3c0925(0xd6));return _0x5dc760[_0x3c0925(0xcb)]=_0x28586c,_0x5dc760[_0x3c0925(0xd0)];}export function sortSuggestions(_0x2a7b82){const _0x32a618=_0xd412;return _0x2a7b82[_0x32a618(0xcd)]((_0x1a8cea,_0xf4675a)=>_0x32a618(0xd7)==_0x1a8cea[_0x32a618(0xbd)]&&_0x32a618(0xd7)!=_0xf4675a[_0x32a618(0xbd)]?-0x1:_0x32a618(0xd7)!=_0x1a8cea[_0x32a618(0xbd)]&&_0x32a618(0xd7)==_0xf4675a[_0x32a618(0xbd)]?0x1:0x0);}function _0xd412(_0x490c0b,_0x2a824e){const _0xb2eb1=_0xb2eb();return _0xd412=function(_0xd4128e,_0xe213d0){_0xd4128e=_0xd4128e-0xbd;let _0x171c2c=_0xb2eb1[_0xd4128e];return _0x171c2c;},_0xd412(_0x490c0b,_0x2a824e);}export function getSelectedSuggestions(_0x48ac00,_0x421d3d){const _0x30e35b=_0xd412,_0x80cf8c=Array[_0x30e35b(0xcc)](_0x48ac00[_0x30e35b(0xc6)]()),_0x418cdb=new Set();for(const _0x5600f6 of _0x421d3d)if(_0x5600f6[_0x30e35b(0xde)]){for(const _0x456eca of _0x80cf8c)for(const _0x225875 of _0x5600f6[_0x30e35b(0xc6)]())(_0x456eca[_0x30e35b(0xc9)](_0x225875)||_0x48ac00[_0x30e35b(0xe9)]&&!_0x5600f6[_0x30e35b(0xdc)]&&_0x5600f6[_0x30e35b(0xdf)]&&_0x225875[_0x30e35b(0xc1)][_0x30e35b(0xf0)](_0x456eca[_0x30e35b(0xe2)]))&&_0x418cdb[_0x30e35b(0xeb)](_0x5600f6);}return _0x418cdb;}export function getRangesOfBlockGroups(_0x2fdf2f,_0x47bf06){const _0x128469=_0xd412;let _0x38088d,_0x4aa8f7=0x0;const _0x43d5aa=[],_0x1864f1=_0x47bf06[_0x128469(0xcf)];for(;_0x4aa8f7<_0x2fdf2f[_0x128469(0xe1)];){const _0x374cb5=_0x2fdf2f[_0x4aa8f7],_0x2bf8b4=_0x2fdf2f[_0x4aa8f7+0x1];_0x38088d||(_0x38088d=_0x47bf06[_0x128469(0xee)](_0x374cb5)),on(_0x47bf06,_0x374cb5,_0x2bf8b4)||(_0x43d5aa[_0x128469(0xec)](_0x47bf06[_0x128469(0xe0)](_0x38088d,_0x1864f1[_0x128469(0xef)](_0x374cb5)?_0x47bf06[_0x128469(0xed)](_0x374cb5):_0x47bf06[_0x128469(0xe5)](_0x374cb5,_0x128469(0xc1)))),_0x38088d=null),_0x4aa8f7++;}return _0x43d5aa;}function on(_0xd17feb,_0x1138e1,_0x545262){const _0x2a44a0=_0xd412;if(!_0x545262)return!0x1;const _0x275d94=_0xd17feb[_0x2a44a0(0xed)](_0x1138e1),_0x149dc8=_0xd17feb[_0x2a44a0(0xee)](_0x545262);return _0x275d94[_0x2a44a0(0xf0)](_0x149dc8);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5af6e2,_0x82cc2d,_0x235548){const _0x17581e=_0xd412;for(;_0x235548[_0x17581e(0xe1)];){const _0x283a46=_0x235548[_0x17581e(0xd1)](0x0,0x64);_0x5af6e2[_0x17581e(0xc2)](()=>{const _0x376e17=_0x17581e;for(const _0x4671e4 of _0x283a46)_0x4671e4[_0x376e17(0xde)]&&_0x82cc2d[_0x376e17(0xea)](_0x4671e4['id']);});}}
23
+ (function(_0x2a3a4f,_0x9f4f99){const _0x31c023=_0x352f,_0xe48cf6=_0x2a3a4f();while(!![]){try{const _0x481405=-parseInt(_0x31c023(0x1ca))/0x1*(-parseInt(_0x31c023(0x1df))/0x2)+parseInt(_0x31c023(0x1d5))/0x3+-parseInt(_0x31c023(0x1bc))/0x4+parseInt(_0x31c023(0x1c3))/0x5*(-parseInt(_0x31c023(0x1b9))/0x6)+parseInt(_0x31c023(0x1bb))/0x7+-parseInt(_0x31c023(0x1e6))/0x8+parseInt(_0x31c023(0x1c8))/0x9;if(_0x481405===_0x9f4f99)break;else _0xe48cf6['push'](_0xe48cf6['shift']());}catch(_0x1b3fc4){_0xe48cf6['push'](_0xe48cf6['shift']());}}}(_0x4bcb,0xc8993));export function normalizeDescription(_0xf29930){const _0xac7718=_0x352f;return Array[_0xac7718(0x1ba)](_0xf29930)||(_0xf29930=[_0xf29930]),_0xf29930[_0xac7718(0x1e8)](_0x18da64=>{const _0x1f3939=_0xac7718,_0x55ff34=_0x18da64[_0x1f3939(0x1c1)][_0x1f3939(0x1d9)](/\*/g,''),_0x400909=_0x18da64[_0x1f3939(0x1d1)]?_0x1f3939(0x1de)+_0x18da64[_0x1f3939(0x1d1)][_0x1f3939(0x1d4)]+']':'';return'['+_0x18da64[_0x1f3939(0x1e4)]+']\x20'+_0x55ff34+_0x400909;})[_0xac7718(0x1be)](';\x20');}export function renderDescription(_0x146524,_0x145def){const _0x25630c=_0x352f;let _0x284015='';return _0x284015+=_0x146524[_0x25630c(0x1b8)]('*')[_0x25630c(0x1e8)]((_0x31d5d9,_0x3212a9)=>_0x3212a9%0x2!=0x0?_0x25630c(0x1bd)+nn(_0x31d5d9)+_0x25630c(0x1c6):nn(_0x31d5d9))[_0x25630c(0x1be)](''),_0x145def&&(_0x284015+=_0x25630c(0x1c0)+_0x145def[_0x25630c(0x1d4)]+_0x25630c(0x1d8)+_0x145def[_0x25630c(0x1c9)]+_0x25630c(0x1cf)),_0x284015;}function _0x352f(_0x182597,_0x44cebd){const _0x4bcb00=_0x4bcb();return _0x352f=function(_0x352f0c,_0x4802ce){_0x352f0c=_0x352f0c-0x1b5;let _0xa884ed=_0x4bcb00[_0x352f0c];return _0xa884ed;},_0x352f(_0x182597,_0x44cebd);}function nn(_0x2d6bc2){const _0x5cd780=_0x352f,_0x1a5b72=document[_0x5cd780(0x1e2)](_0x5cd780(0x1d2));return _0x1a5b72[_0x5cd780(0x1ce)]=_0x2d6bc2,_0x1a5b72[_0x5cd780(0x1cc)];}export function sortSuggestions(_0x1f0f66){const _0x5b1ffa=_0x352f;return _0x1f0f66[_0x5b1ffa(0x1e0)]((_0xa49dbf,_0x135c99)=>_0x5b1ffa(0x1db)==_0xa49dbf[_0x5b1ffa(0x1e4)]&&_0x5b1ffa(0x1db)!=_0x135c99[_0x5b1ffa(0x1e4)]?-0x1:_0x5b1ffa(0x1db)!=_0xa49dbf[_0x5b1ffa(0x1e4)]&&_0x5b1ffa(0x1db)==_0x135c99[_0x5b1ffa(0x1e4)]?0x1:0x0);}export function getSelectedSuggestions(_0x3a661c,_0x29483b){const _0x5edbc1=_0x352f,_0x17220d=Array[_0x5edbc1(0x1e3)](_0x3a661c[_0x5edbc1(0x1e7)]()),_0x13acd0=new Set();for(const _0x59aa24 of _0x29483b)if(_0x59aa24[_0x5edbc1(0x1dd)]){for(const _0x5a17ed of _0x17220d)for(const _0x3a62a4 of _0x59aa24[_0x5edbc1(0x1e7)]())(_0x5a17ed[_0x5edbc1(0x1b6)](_0x3a62a4)||_0x3a661c[_0x5edbc1(0x1c2)]&&!_0x59aa24[_0x5edbc1(0x1b7)]&&_0x59aa24[_0x5edbc1(0x1d3)]&&_0x3a62a4[_0x5edbc1(0x1c4)][_0x5edbc1(0x1c7)](_0x5a17ed[_0x5edbc1(0x1dc)]))&&_0x13acd0[_0x5edbc1(0x1d0)](_0x59aa24);}return _0x13acd0;}export function getRangesOfBlockGroups(_0x15b22e,_0x303e83){const _0x23bc5a=_0x352f;let _0x26b077,_0x500bca=0x0;const _0xf9b902=[],_0x2405b2=_0x303e83[_0x23bc5a(0x1bf)];for(;_0x500bca<_0x15b22e[_0x23bc5a(0x1cd)];){const _0x54f748=_0x15b22e[_0x500bca],_0x26b516=_0x15b22e[_0x500bca+0x1];_0x26b077||(_0x26b077=_0x303e83[_0x23bc5a(0x1b5)](_0x54f748)),on(_0x303e83,_0x54f748,_0x26b516)||(_0xf9b902[_0x23bc5a(0x1e1)](_0x303e83[_0x23bc5a(0x1c5)](_0x26b077,_0x2405b2[_0x23bc5a(0x1d6)](_0x54f748)?_0x303e83[_0x23bc5a(0x1da)](_0x54f748):_0x303e83[_0x23bc5a(0x1e5)](_0x54f748,_0x23bc5a(0x1c4)))),_0x26b077=null),_0x500bca++;}return _0xf9b902;}function on(_0x2c9b53,_0x1b2e8f,_0x378e65){const _0xa9bf66=_0x352f;if(!_0x378e65)return!0x1;const _0x355818=_0x2c9b53[_0xa9bf66(0x1da)](_0x1b2e8f),_0x5b910e=_0x2c9b53[_0xa9bf66(0x1b5)](_0x378e65);return _0x355818[_0xa9bf66(0x1c7)](_0x5b910e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x4bcb(){const _0x34ede8=['content','isCollapsed','60565iFqNft','end','createRange','</span>','isTouching','6324930KVEePa','title','217942DaTjar','execute','innerHTML','length','innerText','\x22></span>','add','color','span','next','value','3072459PWZkOh','isObject','change','\x22\x20title=\x22','replace','createPositionAfter','deletion','start','isInContent','\x20[color\x20','8hWjDBM','sort','push','createElement','from','type','createPositionAt','3442512jPgfjA','getRanges','map','splice','createPositionBefore','isIntersecting','isMultiRange','split','114OqLEDd','isArray','746452CxnTyv','4892860AUMuVD','<span\x20class=\x22ck-suggestion-type\x22>','join','schema','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'];_0x4bcb=function(){return _0x34ede8;};return _0x4bcb();}export function executeCommandForSuggestions(_0x12e21d,_0x48335e,_0x554547){const _0x1bd89b=_0x352f;for(;_0x554547[_0x1bd89b(0x1cd)];){const _0x123df3=_0x554547[_0x1bd89b(0x1e9)](0x0,0x64);_0x12e21d[_0x1bd89b(0x1d7)](()=>{const _0x8c1667=_0x1bd89b;for(const _0x593d56 of _0x123df3)_0x593d56[_0x8c1667(0x1dd)]&&_0x48335e[_0x8c1667(0x1cb)](_0x593d56['id']);});}}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -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-2025, 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
+ }
@@ -1,46 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- import type { TrackChanges, TrackChangesData, TrackChangesEditing, TrackChangesConfig, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index.js';
10
- import type { Editor } from 'ckeditor5/src/core.js';
11
- declare module '@ckeditor/ckeditor5-core' {
12
- interface EditorConfig {
13
- /**
14
- * The configuration of the {@link module:track-changes/trackchanges~TrackChanges} feature.
15
- *
16
- * Read more in {@link module:track-changes/trackchangesconfig~TrackChangesConfig}.
17
- */
18
- trackChanges?: TrackChangesConfig;
19
- /**
20
- * The configuration of the track changes data feature.
21
- */
22
- trackChangesData?: {
23
- /**
24
- * Callback that creates an editor instances.
25
- *
26
- * Used in non-standard integrations. See track changes data
27
- * {@glink features/collaboration/track-changes/track-changes-data#configuring-track-changes-data-plugin configuration guide}.
28
- */
29
- editorCreator?: (config: EditorConfig, createElement: Function) => Promise<Editor>;
30
- };
31
- }
32
- interface PluginsMap {
33
- [TrackChanges.pluginName]: TrackChanges;
34
- [TrackChangesData.pluginName]: TrackChangesData;
35
- [TrackChangesEditing.pluginName]: TrackChangesEditing;
36
- }
37
- interface CommandsMap {
38
- acceptSuggestion: AcceptSuggestionCommand;
39
- discardSuggestion: DiscardSuggestionCommand;
40
- acceptAllSuggestions: ExecuteOnAllSuggestionsCommand<AcceptSuggestionCommand>;
41
- discardAllSuggestions: ExecuteOnAllSuggestionsCommand<DiscardSuggestionCommand>;
42
- acceptSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<AcceptSuggestionCommand>;
43
- discardSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<DiscardSuggestionCommand>;
44
- trackChanges: TrackChangesCommand;
45
- }
46
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/commands/acceptsuggestioncommand
11
- * @publicApi
12
- */
13
- import { Command, type Editor } from 'ckeditor5/src/core.js';
14
- import type Suggestion from '../suggestion.js';
15
- /**
16
- * A command that accepts the suggestion chain.
17
- */
18
- export default class AcceptSuggestionCommand extends Command {
19
- constructor(editor: Editor, suggestions: Map<string, Suggestion>);
20
- /**
21
- * @inheritDoc
22
- */
23
- refresh(): void;
24
- /**
25
- * @inheritDoc
26
- */
27
- execute(suggestionId: string): void;
28
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/commands/discardsuggestioncommand
11
- * @publicApi
12
- */
13
- import { Command, type Editor } from 'ckeditor5/src/core.js';
14
- import type Suggestion from '../suggestion.js';
15
- /**
16
- * A command that discards the suggestion chain.
17
- */
18
- export default class DiscardSuggestionCommand extends Command {
19
- constructor(editor: Editor, suggestions: Map<string, Suggestion>);
20
- /**
21
- * @inheritDoc
22
- */
23
- refresh(): void;
24
- /**
25
- * @inheritDoc
26
- */
27
- execute(suggestionId: string): void;
28
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/commands/executeonallsuggestionscommand
11
- * @publicApi
12
- */
13
- import { Command, type Editor } from 'ckeditor5/src/core.js';
14
- import type Suggestion from '../suggestion.js';
15
- /**
16
- * A command that executes passed command (accept or discard suggestion command) at once for all suggestions in the document.
17
- */
18
- export default class ExecuteOnAllSuggestionsCommand<T extends Command> extends Command {
19
- constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
20
- /**
21
- * @inheritDoc
22
- */
23
- refresh(): void;
24
- /**
25
- * @inheritDoc
26
- */
27
- execute(): void;
28
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/commands/executeonselectedsuggestionscommand
11
- * @publicApi
12
- */
13
- import { Command, type Editor } from 'ckeditor5/src/core.js';
14
- import type Suggestion from '../suggestion.js';
15
- /**
16
- * A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
17
- */
18
- export default class ExecuteOnSelectedSuggestionsCommand<T extends Command> extends Command {
19
- constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
20
- /**
21
- * @inheritDoc
22
- */
23
- refresh(): void;
24
- /**
25
- * @inheritDoc
26
- */
27
- execute(): void;
28
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/commands/trackchangescommand
11
- * @publicApi
12
- */
13
- import { Command, type Editor } from 'ckeditor5/src/core.js';
14
- /**
15
- * Turns the track changes mode on and off.
16
- *
17
- * When the track changes mode is on, this command disables all the unsupported commands.
18
- */
19
- export default class TrackChangesCommand extends Command {
20
- value: boolean;
21
- constructor(editor: Editor, enabledCommands: Set<Command>);
22
- /**
23
- * @inheritDoc
24
- */
25
- refresh(): void;
26
- /**
27
- * @inheritDoc
28
- */
29
- execute(): void;
30
- }
package/dist/index.d.ts DELETED
@@ -1,23 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges.js';
10
- export { default as TrackChangesData } from './trackchangesdata.js';
11
- export { default as TrackChangesEditing, type AttributeData, type FormatData } from './trackchangesediting.js';
12
- export { default as Suggestion, type SuggestionJSON } from './suggestion.js';
13
- export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview.js';
14
- export { default as SuggestionThreadView } from './ui/view/suggestionthreadview.js';
15
- export { default as SuggestionView } from './ui/view/suggestionview.js';
16
- export type { Description } from './suggestiondescriptionfactory.js';
17
- export type { TrackChangesConfig } from './trackchangesconfig.js';
18
- export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand.js';
19
- export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand.js';
20
- export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand.js';
21
- export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand.js';
22
- export type { default as TrackChangesCommand } from './commands/trackchangescommand.js';
23
- import './augmentation.js';
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/aiassistant
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for the AI Assistant feature.
15
- */
16
- export default class TrackChangesAIAssistant extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/alignment
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for alignment feature.
15
- */
16
- export default class TrackChangesAlignment extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/basicstyles
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for basic styles features.
15
- */
16
- export default class TrackChangesBasicStyles extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/blockquote
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for block quote feature.
15
- */
16
- export default class TrackChangesBlockQuote extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/bookmark
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for {@link module:bookmark/bookmark~Bookmark bookmark feature}.
15
- */
16
- export default class TrackChangesBookmark extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/casechange
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for case change feature.
15
- */
16
- export default class TrackChangesCaseChange extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/ckbox
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for the CKBox feature.
15
- */
16
- export default class TrackChangesCKBox extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/codeblock
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for code block feature.
15
- */
16
- export default class TrackChangesCodeBlock extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, 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
- * @module track-changes/integrations/comments
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
15
- */
16
- export default class TrackChangesComments extends Plugin {
17
- afterInit(): void;
18
- }