@ckeditor/ckeditor5-track-changes 40.1.0 → 41.0.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 (242) hide show
  1. package/CHANGELOG.md +20 -20
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +3 -3
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fi.js +1 -1
  18. package/build/translations/fr.js +1 -1
  19. package/build/translations/gl.js +1 -1
  20. package/build/translations/he.js +1 -1
  21. package/build/translations/hi.js +1 -1
  22. package/build/translations/hr.js +1 -1
  23. package/build/translations/hu.js +1 -1
  24. package/build/translations/id.js +1 -1
  25. package/build/translations/it.js +1 -1
  26. package/build/translations/ja.js +1 -1
  27. package/build/translations/ko.js +1 -1
  28. package/build/translations/lt.js +1 -1
  29. package/build/translations/lv.js +1 -1
  30. package/build/translations/ms.js +1 -1
  31. package/build/translations/nl.js +1 -1
  32. package/build/translations/no.js +1 -1
  33. package/build/translations/pl.js +1 -1
  34. package/build/translations/pt-br.js +1 -1
  35. package/build/translations/pt.js +1 -1
  36. package/build/translations/ro.js +1 -1
  37. package/build/translations/ru.js +1 -1
  38. package/build/translations/sk.js +1 -1
  39. package/build/translations/sq.js +1 -1
  40. package/build/translations/sr-latn.js +1 -1
  41. package/build/translations/sr.js +1 -1
  42. package/build/translations/sv.js +1 -1
  43. package/build/translations/th.js +1 -1
  44. package/build/translations/tk.js +1 -1
  45. package/build/translations/tr.js +1 -1
  46. package/build/translations/tt.js +1 -1
  47. package/build/translations/uk.js +1 -1
  48. package/build/translations/ur.js +1 -1
  49. package/build/translations/vi.js +1 -1
  50. package/build/translations/zh-cn.js +1 -1
  51. package/build/translations/zh.js +1 -1
  52. package/lang/translations/ar.po +6 -6
  53. package/lang/translations/az.po +5 -5
  54. package/lang/translations/bg.po +6 -6
  55. package/lang/translations/bn.po +6 -6
  56. package/lang/translations/ca.po +6 -6
  57. package/lang/translations/cs.po +6 -6
  58. package/lang/translations/da.po +6 -6
  59. package/lang/translations/de.po +6 -6
  60. package/lang/translations/el.po +6 -6
  61. package/lang/translations/en-au.po +6 -6
  62. package/lang/translations/en.po +6 -6
  63. package/lang/translations/es.po +7 -7
  64. package/lang/translations/et.po +6 -6
  65. package/lang/translations/fi.po +6 -6
  66. package/lang/translations/fr.po +6 -6
  67. package/lang/translations/gl.po +37 -37
  68. package/lang/translations/he.po +6 -6
  69. package/lang/translations/hi.po +6 -6
  70. package/lang/translations/hr.po +6 -6
  71. package/lang/translations/hu.po +6 -6
  72. package/lang/translations/id.po +6 -6
  73. package/lang/translations/it.po +6 -6
  74. package/lang/translations/ja.po +6 -6
  75. package/lang/translations/ko.po +6 -6
  76. package/lang/translations/lt.po +6 -6
  77. package/lang/translations/lv.po +6 -6
  78. package/lang/translations/ms.po +6 -6
  79. package/lang/translations/nl.po +6 -6
  80. package/lang/translations/no.po +6 -6
  81. package/lang/translations/pl.po +6 -6
  82. package/lang/translations/pt-br.po +6 -6
  83. package/lang/translations/pt.po +6 -6
  84. package/lang/translations/ro.po +6 -6
  85. package/lang/translations/ru.po +6 -6
  86. package/lang/translations/sk.po +6 -6
  87. package/lang/translations/sq.po +5 -5
  88. package/lang/translations/sr-latn.po +25 -25
  89. package/lang/translations/sr.po +6 -6
  90. package/lang/translations/sv.po +6 -6
  91. package/lang/translations/th.po +6 -6
  92. package/lang/translations/tk.po +5 -5
  93. package/lang/translations/tr.po +6 -6
  94. package/lang/translations/tt.po +5 -5
  95. package/lang/translations/uk.po +6 -6
  96. package/lang/translations/ur.po +5 -5
  97. package/lang/translations/vi.po +6 -6
  98. package/lang/translations/zh-cn.po +6 -6
  99. package/lang/translations/zh.po +6 -6
  100. package/package.json +4 -3
  101. package/src/augmentation.d.ts +3 -3
  102. package/src/augmentation.js +1 -1
  103. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  104. package/src/commands/acceptsuggestioncommand.js +2 -2
  105. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  106. package/src/commands/discardsuggestioncommand.js +2 -2
  107. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  108. package/src/commands/executeonallsuggestionscommand.js +2 -2
  109. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  110. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  111. package/src/commands/trackchangescommand.d.ts +2 -2
  112. package/src/commands/trackchangescommand.js +2 -2
  113. package/src/index.d.ts +13 -13
  114. package/src/index.js +2 -2
  115. package/src/integrations/aiassistant.d.ts +2 -2
  116. package/src/integrations/aiassistant.js +2 -2
  117. package/src/integrations/alignment.d.ts +2 -2
  118. package/src/integrations/alignment.js +2 -2
  119. package/src/integrations/basicstyles.d.ts +2 -2
  120. package/src/integrations/basicstyles.js +2 -2
  121. package/src/integrations/blockquote.d.ts +2 -2
  122. package/src/integrations/blockquote.js +2 -2
  123. package/src/integrations/casechange.d.ts +17 -0
  124. package/src/integrations/casechange.js +23 -0
  125. package/src/integrations/ckbox.d.ts +2 -2
  126. package/src/integrations/ckbox.js +2 -2
  127. package/src/integrations/codeblock.d.ts +2 -2
  128. package/src/integrations/codeblock.js +2 -2
  129. package/src/integrations/comments.d.ts +2 -2
  130. package/src/integrations/comments.js +2 -2
  131. package/src/integrations/deletecommand.d.ts +3 -3
  132. package/src/integrations/deletecommand.js +2 -2
  133. package/src/integrations/entercommand.d.ts +3 -3
  134. package/src/integrations/entercommand.js +2 -2
  135. package/src/integrations/findandreplace.d.ts +2 -2
  136. package/src/integrations/findandreplace.js +2 -2
  137. package/src/integrations/font.d.ts +2 -2
  138. package/src/integrations/font.js +2 -2
  139. package/src/integrations/formatpainter.d.ts +2 -2
  140. package/src/integrations/formatpainter.js +2 -2
  141. package/src/integrations/heading.d.ts +2 -2
  142. package/src/integrations/heading.js +2 -2
  143. package/src/integrations/highlight.d.ts +2 -2
  144. package/src/integrations/highlight.js +2 -2
  145. package/src/integrations/horizontalline.d.ts +2 -2
  146. package/src/integrations/horizontalline.js +2 -2
  147. package/src/integrations/htmlembed.d.ts +2 -2
  148. package/src/integrations/htmlembed.js +2 -2
  149. package/src/integrations/image.d.ts +2 -2
  150. package/src/integrations/image.js +2 -2
  151. package/src/integrations/imagereplace.d.ts +2 -2
  152. package/src/integrations/imagereplace.js +2 -2
  153. package/src/integrations/imagestyle.d.ts +2 -2
  154. package/src/integrations/imagestyle.js +2 -2
  155. package/src/integrations/importword.d.ts +2 -2
  156. package/src/integrations/importword.js +2 -2
  157. package/src/integrations/indent.d.ts +2 -2
  158. package/src/integrations/indent.js +2 -2
  159. package/src/integrations/inputcommand.d.ts +3 -3
  160. package/src/integrations/inputcommand.js +2 -2
  161. package/src/integrations/legacylist.d.ts +17 -0
  162. package/src/integrations/legacylist.js +23 -0
  163. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  164. package/src/integrations/legacylistproperties.js +23 -0
  165. package/src/integrations/link.d.ts +2 -2
  166. package/src/integrations/link.js +2 -2
  167. package/src/integrations/list.d.ts +6 -6
  168. package/src/integrations/list.js +2 -2
  169. package/src/integrations/listproperties.d.ts +6 -15
  170. package/src/integrations/listproperties.js +2 -2
  171. package/src/integrations/mediaembed.d.ts +2 -2
  172. package/src/integrations/mediaembed.js +2 -2
  173. package/src/integrations/mention.d.ts +2 -2
  174. package/src/integrations/mention.js +2 -2
  175. package/src/integrations/pagebreak.d.ts +2 -2
  176. package/src/integrations/pagebreak.js +2 -2
  177. package/src/integrations/paragraph.d.ts +2 -2
  178. package/src/integrations/paragraph.js +2 -2
  179. package/src/integrations/removeformat.d.ts +2 -2
  180. package/src/integrations/removeformat.js +2 -2
  181. package/src/integrations/restrictededitingmode.d.ts +2 -2
  182. package/src/integrations/restrictededitingmode.js +2 -2
  183. package/src/integrations/shiftentercommand.d.ts +3 -3
  184. package/src/integrations/shiftentercommand.js +2 -2
  185. package/src/integrations/standardeditingmode.d.ts +2 -2
  186. package/src/integrations/standardeditingmode.js +2 -2
  187. package/src/integrations/style.d.ts +2 -2
  188. package/src/integrations/style.js +2 -2
  189. package/src/integrations/table.d.ts +2 -2
  190. package/src/integrations/table.js +2 -2
  191. package/src/integrations/tablecaption.d.ts +3 -3
  192. package/src/integrations/tablecaption.js +2 -2
  193. package/src/integrations/tableclipboard.d.ts +3 -3
  194. package/src/integrations/tableclipboard.js +2 -2
  195. package/src/integrations/tablecolumnresize.d.ts +5 -5
  196. package/src/integrations/tablecolumnresize.js +2 -2
  197. package/src/integrations/tableheadings.d.ts +3 -3
  198. package/src/integrations/tableheadings.js +2 -2
  199. package/src/integrations/tablemergesplit.d.ts +3 -3
  200. package/src/integrations/tablemergesplit.js +2 -2
  201. package/src/integrations/tableofcontents.d.ts +2 -2
  202. package/src/integrations/tableofcontents.js +2 -2
  203. package/src/integrations/tableproperties.d.ts +5 -5
  204. package/src/integrations/tableproperties.js +2 -2
  205. package/src/integrations/template.d.ts +2 -2
  206. package/src/integrations/template.js +2 -2
  207. package/src/integrations/title.d.ts +2 -2
  208. package/src/integrations/title.js +2 -2
  209. package/src/integrations/undo.d.ts +2 -2
  210. package/src/integrations/undo.js +2 -2
  211. package/src/integrations/utils.d.ts +4 -4
  212. package/src/integrations/utils.js +2 -2
  213. package/src/suggestion.d.ts +6 -6
  214. package/src/suggestion.js +2 -2
  215. package/src/suggestiondescriptionfactory.d.ts +4 -4
  216. package/src/suggestiondescriptionfactory.js +2 -2
  217. package/src/trackchanges.d.ts +6 -6
  218. package/src/trackchanges.js +2 -2
  219. package/src/trackchangesconfig.d.ts +2 -2
  220. package/src/trackchangesconfig.js +1 -1
  221. package/src/trackchangesdata.d.ts +3 -3
  222. package/src/trackchangesdata.js +2 -2
  223. package/src/trackchangesediting.d.ts +56 -55
  224. package/src/trackchangesediting.js +2 -2
  225. package/src/trackchangesui.d.ts +4 -4
  226. package/src/trackchangesui.js +2 -2
  227. package/src/ui/suggestioncontroller.d.ts +6 -6
  228. package/src/ui/suggestioncontroller.js +2 -2
  229. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  230. package/src/ui/view/basesuggestionthreadview.js +2 -2
  231. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  232. package/src/ui/view/suggestionthreadview.js +2 -2
  233. package/src/utils/common-translations.d.ts +2 -2
  234. package/src/utils/common-translations.js +2 -2
  235. package/src/utils/utils.d.ts +5 -5
  236. package/src/utils/utils.js +2 -2
  237. package/theme/icons/track-changes-accept.svg +1 -1
  238. package/theme/icons/track-changes-discard.svg +1 -1
  239. package/theme/icons/track-changes.svg +1 -1
  240. package/src/integrations/documentlist.d.ts +0 -17
  241. package/src/integrations/documentlist.js +0 -23
  242. package/src/integrations/documentlistproperties.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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
- const _0x2bad=['length','_customCallbacks','end','*Change\x20to:*\x20%0','skip','add','key','_itemLabels','data','start','_handleInsertRemoveSuggestionDescription','Object','addFormat','_itemLabelsCallbacks','format','function','quantity','elementEnd','Container','removeFormat','_handleCustomCallbackDescription','EmptyContainer','_handleAttributeSuggestionDescription','_locale','getDescriptions','*Merge:*\x20%0','push','*Split:*\x20%0','_attributeLabels','getWalker','text','name','removeObject','item','previousSibling','map','isEqual','insertion','normal','isEmpty','getItemLabel','element','*Insert:*\x20%0','pop','isInContent','set','replace','match','nodeAfter','attribute','subType','isObject','indexOf','registerDescriptionCallback','join','_handleRenameSuggestionDescription','get','remove','removeEmptyContainer','*Set\x20format:*\x20%0','_addDescriptionItems','_schema','has','$1\x20$2','deletion','$textProxy','*Remove:*\x20%0','type','$text','ELEMENT_SPACE','getFirstRange'];(function(_0x49d925,_0x2bad40){const _0x4e2a79=function(_0x1ac116){while(--_0x1ac116){_0x49d925['push'](_0x49d925['shift']());}};_0x4e2a79(++_0x2bad40);}(_0x2bad,0x19a));const _0x4e2a=function(_0x49d925,_0x2bad40){_0x49d925=_0x49d925-0x0;let _0x4e2a79=_0x2bad[_0x49d925];return _0x4e2a79;};import{getTranslation as _0x3f1024}from'./utils/common-translations';import{priorities as _0x474877,insertToPriorityArray as _0x449b84}from'ckeditor5/src/utils';import{renameAttributeKey as _0x4b3d76}from'./trackchangesediting';export default class f{constructor(_0x4243d0,_0x201635){this[_0x4e2a('0x11')]=[],this[_0x4e2a('0x17')]=new Map(),this[_0x4e2a('0x1d')]=[],this[_0x4e2a('0x2c')]=new Map(),this[_0x4e2a('0x6')]=_0x4243d0,this[_0x4e2a('0x27')]=_0x201635;}[_0x4e2a('0x28')](_0x1c392f){const _0x294b6b=[],_0x5e1c88=new Set(),_0x5d90cf=new Set();for(let _0x5a00bf=0x0;_0x5a00bf<_0x1c392f['length'];_0x5a00bf++){const _0x2c556c=_0x1c392f[_0x5a00bf];if(!_0x2c556c[_0x4e2a('0x3c')])continue;const _0x111d1f=this[_0x4e2a('0x24')](_0x2c556c);if(_0x111d1f){if(null!=_0x2c556c[_0x4e2a('0x42')]){if(_0x5e1c88['has'](_0x2c556c[_0x4e2a('0x42')]))continue;_0x5e1c88[_0x4e2a('0x15')](_0x2c556c[_0x4e2a('0x42')]);}_0x294b6b['push'](_0x111d1f);}else{if(_0x4e2a('0x41')!=_0x2c556c['type'])_0x4e2a('0x35')!=_0x2c556c[_0x4e2a('0xc')]&&'deletion'!=_0x2c556c[_0x4e2a('0xc')]||this[_0x4e2a('0x1a')](_0x294b6b,_0x2c556c,_0x1c392f[_0x5a00bf+0x1]);else{const _0x2e4211=_0x2c556c[_0x4e2a('0x18')][_0x4e2a('0x16')];if(_0x5d90cf[_0x4e2a('0x7')](_0x2e4211))continue;_0x5d90cf[_0x4e2a('0x15')](_0x2c556c[_0x4e2a('0x18')][_0x4e2a('0x16')]),_0x2e4211==_0x4b3d76?this['_handleRenameSuggestionDescription'](_0x294b6b,_0x2c556c):this[_0x4e2a('0x26')](_0x294b6b,_0x2c556c);}}}return this['_resolveDescriptionItems'](_0x294b6b);}[_0x4e2a('0x45')](_0x1db3a9){this['_customCallbacks']['push'](_0x1db3a9);}['registerElementLabel'](_0x1ef336,_0x4e920b,_0x5d5458=_0x474877[_0x4e2a('0x36')]){_0x4e2a('0x1f')==typeof _0x1ef336?_0x449b84(this['_itemLabelsCallbacks'],{'matchingCallback':_0x1ef336,'label':_0x4e920b,'priority':_0x5d5458}):this[_0x4e2a('0x17')][_0x4e2a('0x3d')](_0x1ef336,_0x4e920b);}['registerAttributeLabel'](_0x492255,_0x5ddaf1){this['_attributeLabels'][_0x4e2a('0x3d')](_0x492255,_0x5ddaf1);}[_0x4e2a('0x38')](_0x4a2b07,_0x46ce56=0x1){let _0x115204;for(const _0x4060db of this[_0x4e2a('0x1d')])if(_0x4060db['matchingCallback'](_0x4a2b07)){_0x115204=_0x4060db['label'];break;}return _0x115204||(_0x115204=this['_itemLabels'][_0x4e2a('0x1')](_0x4a2b07[_0x4e2a('0x2f')])),_0x115204?_0x115204(_0x46ce56):0x1!==_0x46ce56?_0x46ce56+'\x20'+_0x4a2b07[_0x4e2a('0x2f')]+'s':''+_0x4a2b07[_0x4e2a('0x2f')];}[_0x4e2a('0x5')](_0x1e88bb,_0x5b553a){const _0x4b13c0=_0x5b553a[_0x4e2a('0xf')]()[_0x4e2a('0x2d')](),_0x17733d=_0x4e2a('0x35')==_0x5b553a['type']?_0x4e2a('0x15'):_0x4e2a('0x2');for(const _0x772dc6 of _0x4b13c0){const _0x5f4b7f=_0x772dc6[_0x4e2a('0x31')],_0x29c19d=_0x1e88bb[_0x1e88bb[_0x4e2a('0x10')]-0x1];if(_0x5f4b7f['is'](_0x4e2a('0xa')))_0x29c19d&&_0x29c19d[_0x4e2a('0xc')][_0x4e2a('0x44')](_0x4e2a('0x22'))>-0x1&&_0x1e88bb['pop'](),_0x29c19d&&_0x4e2a('0x2e')==_0x29c19d[_0x4e2a('0xc')]?_0x29c19d[_0x17733d]+=_0x5f4b7f['data']:_0x1e88bb[_0x4e2a('0x2a')]({'type':'text','add':_0x4e2a('0x15')==_0x17733d?_0x5f4b7f[_0x4e2a('0x18')]:'','remove':_0x4e2a('0x2')==_0x17733d?_0x5f4b7f[_0x4e2a('0x18')]:''});else{if(this[_0x4e2a('0x6')][_0x4e2a('0x43')](_0x5f4b7f)){const _0x50ab65=_0x5f4b7f;if(_0x29c19d&&_0x29c19d[_0x4e2a('0xc')][_0x4e2a('0x44')](_0x4e2a('0x22'))>-0x1&&_0x1e88bb[_0x4e2a('0x3b')](),_0x4e2a('0x21')==_0x772dc6[_0x4e2a('0xc')])continue;_0x29c19d&&_0x29c19d[_0x4e2a('0xc')]==_0x17733d+_0x4e2a('0x1b')&&_0x29c19d[_0x4e2a('0x39')][_0x4e2a('0x2f')]==_0x50ab65['name']?_0x29c19d[_0x4e2a('0x20')]++:_0x1e88bb['push']({'type':_0x17733d+_0x4e2a('0x1b'),'element':_0x50ab65,'quantity':0x1}),_0x4b13c0[_0x4e2a('0x14')](_0x425582=>!(_0x4e2a('0x21')==_0x425582['type']&&_0x425582[_0x4e2a('0x31')]==_0x5f4b7f));}else{if(this[_0x4e2a('0x6')]['checkChild'](_0x5f4b7f,_0x4e2a('0xd'))||_0x5f4b7f['is'](_0x4e2a('0x39'),'softBreak')){const _0x137d11=_0x5f4b7f;if(_0x4e2a('0x15')==_0x17733d&&'elementStart'==_0x772dc6['type']||'remove'==_0x17733d&&'elementEnd'==_0x772dc6[_0x4e2a('0xc')])continue;if(_0x29c19d&&-0x1==_0x29c19d[_0x4e2a('0xc')][_0x4e2a('0x44')]('Container')){_0x4e2a('0x2e')==_0x29c19d[_0x4e2a('0xc')]&&(_0x29c19d[_0x17733d]+='\x0a');continue;}let _0x2ff14e;if(_0x2ff14e=_0x4e2a('0x15')==_0x17733d?_0x137d11['nextSibling']&&!this[_0x4e2a('0x6')][_0x4e2a('0x43')](_0x137d11['nextSibling'])?_0x137d11['nextSibling']:null:_0x137d11['previousSibling']&&!this[_0x4e2a('0x6')][_0x4e2a('0x43')](_0x137d11['previousSibling'])?_0x137d11[_0x4e2a('0x32')]:null,_0x137d11['isEmpty']||_0x2ff14e&&_0x2ff14e[_0x4e2a('0x37')]){const _0x10cb75=_0x2ff14e&&_0x2ff14e['isEmpty']?_0x2ff14e:_0x137d11;_0x29c19d&&_0x29c19d[_0x4e2a('0xc')]==_0x17733d+_0x4e2a('0x25')&&_0x29c19d['element']['name']==_0x10cb75[_0x4e2a('0x2f')]?_0x29c19d[_0x4e2a('0x20')]++:_0x1e88bb[_0x4e2a('0x2a')]({'type':_0x17733d+_0x4e2a('0x25'),'element':_0x10cb75,'quantity':0x1});}else _0x1e88bb[_0x4e2a('0x2a')]({'type':_0x17733d+_0x4e2a('0x22'),'element':_0x137d11});}}}}}['_resolveDescriptionItems'](_0xc5edde){const _0x3e4024=this[_0x4e2a('0x27')],_0x418d32=[],_0x3b5c37=[],_0x370f5b=[];for(const _0x26791a of _0xc5edde)switch(_0x26791a[_0x4e2a('0xc')]){case _0x4e2a('0x2e'):if(_0x26791a['add']=_0x26791a[_0x4e2a('0x15')][_0x4e2a('0x3e')](/(\S)\u000A+(\S)/g,_0x4e2a('0x8'))[_0x4e2a('0x3e')](/\u000A/g,''),_0x26791a[_0x4e2a('0x2')]=_0x26791a[_0x4e2a('0x2')][_0x4e2a('0x3e')](/(\S)\u000A+(\S)/g,_0x4e2a('0x8'))['replace'](/\u000A/g,''),''!=_0x26791a[_0x4e2a('0x15')]&&''!=_0x26791a[_0x4e2a('0x2')]){_0x418d32[_0x4e2a('0x2a')]({'type':_0x4e2a('0x3e'),'content':_0x3f1024(_0x3e4024,'REPLACE_TEXT',['\x22'+_0x26791a[_0x4e2a('0x2')]+'\x22','\x22'+_0x26791a['add']+'\x22'])});continue;}if(null!=_0x26791a[_0x4e2a('0x15')][_0x4e2a('0x3f')](/^ +$/)){_0x418d32[_0x4e2a('0x2a')]({'type':_0x4e2a('0x35'),'content':_0x3f1024(_0x3e4024,_0x4e2a('0x3a'),_0x3f1024(_0x3e4024,_0x4e2a('0xe'),_0x26791a['add'][_0x4e2a('0x10')]))});continue;}if(null!=_0x26791a[_0x4e2a('0x2')][_0x4e2a('0x3f')](/^ +$/)){_0x418d32[_0x4e2a('0x2a')]({'type':_0x4e2a('0x9'),'content':_0x3f1024(_0x3e4024,_0x4e2a('0xb'),_0x3f1024(_0x3e4024,_0x4e2a('0xe'),_0x26791a[_0x4e2a('0x2')][_0x4e2a('0x10')]))});continue;}if(''!=_0x26791a['add']){_0x418d32[_0x4e2a('0x2a')]({'type':'insertion','content':_0x3f1024(_0x3e4024,'*Insert:*\x20%0','\x22'+_0x26791a['add']+'\x22')});continue;}_0x418d32[_0x4e2a('0x2a')]({'type':'deletion','content':_0x3f1024(_0x3e4024,_0x4e2a('0xb'),'\x22'+_0x26791a[_0x4e2a('0x2')]+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x418d32[_0x4e2a('0x2a')]({'type':'insertion','content':_0x3f1024(_0x3e4024,_0x4e2a('0x3a'),this[_0x4e2a('0x38')](_0x26791a[_0x4e2a('0x39')],_0x26791a[_0x4e2a('0x20')]))});continue;case _0x4e2a('0x3'):case _0x4e2a('0x30'):_0x418d32[_0x4e2a('0x2a')]({'type':_0x4e2a('0x9'),'content':_0x3f1024(_0x3e4024,_0x4e2a('0xb'),this[_0x4e2a('0x38')](_0x26791a['element'],_0x26791a[_0x4e2a('0x20')]))});continue;case'addContainer':_0x418d32[_0x4e2a('0x2a')]({'type':'insertion','content':_0x3f1024(_0x3e4024,_0x4e2a('0x2b'),this[_0x4e2a('0x38')](_0x26791a[_0x4e2a('0x39')],_0x26791a[_0x4e2a('0x20')]))});continue;case'removeContainer':_0x418d32[_0x4e2a('0x2a')]({'type':'deletion','content':_0x3f1024(_0x3e4024,_0x4e2a('0x29'),this[_0x4e2a('0x38')](_0x26791a['element'],_0x26791a[_0x4e2a('0x20')]))});continue;case'addFormat':_0x3b5c37['push'](_0x26791a[_0x4e2a('0x16')]);continue;case _0x4e2a('0x23'):_0x370f5b[_0x4e2a('0x2a')](_0x26791a['key']);continue;default:_0x418d32[_0x4e2a('0x2a')](_0x26791a);}if(_0x3b5c37[_0x4e2a('0x10')]){const _0x404951=_0x3b5c37[_0x4e2a('0x33')](_0x549952=>this[_0x4e2a('0x2c')][_0x4e2a('0x7')](_0x549952)?this[_0x4e2a('0x2c')][_0x4e2a('0x1')](_0x549952):_0x549952)[_0x4e2a('0x46')](',\x20');_0x418d32[_0x4e2a('0x2a')]({'type':_0x4e2a('0x1e'),'content':_0x3f1024(this[_0x4e2a('0x27')],_0x4e2a('0x4'),_0x404951)});}if(_0x370f5b[_0x4e2a('0x10')]){const _0x5494a0=_0x370f5b[_0x4e2a('0x33')](_0x4a57de=>this[_0x4e2a('0x2c')][_0x4e2a('0x7')](_0x4a57de)?this[_0x4e2a('0x2c')][_0x4e2a('0x1')](_0x4a57de):_0x4a57de)['join'](',\x20');_0x418d32[_0x4e2a('0x2a')]({'type':'format','content':_0x3f1024(this[_0x4e2a('0x27')],'*Remove\x20format:*\x20%0',_0x5494a0)});}return _0x418d32;}[_0x4e2a('0x24')](_0x258c4d){for(const _0x4265f8 of this[_0x4e2a('0x11')]){const _0x342d28=_0x4265f8(_0x258c4d);if(_0x342d28&&_0x4e2a('0xc')in _0x342d28)return _0x342d28;}}['_handleAttributeSuggestionDescription'](_0x20623e,_0x12af96){const _0x5b920f=_0x12af96[_0x4e2a('0x18')],_0xd435eb=void 0x0===_0x5b920f['newValue']?_0x4e2a('0x23'):_0x4e2a('0x1c');_0x20623e[_0x4e2a('0x2a')]({'type':_0xd435eb,'key':_0x5b920f[_0x4e2a('0x16')]});}[_0x4e2a('0x0')](_0x497cfc,_0x5a416b){_0x497cfc[_0x4e2a('0x2a')]({'type':_0x4e2a('0x1e'),'content':_0x3f1024(this[_0x4e2a('0x27')],_0x4e2a('0x13'),this[_0x4e2a('0x38')](_0x5a416b[_0x4e2a('0xf')]()[_0x4e2a('0x19')][_0x4e2a('0x40')],0x1))});}[_0x4e2a('0x1a')](_0x75c24f,_0x296d28,_0x300b6b){if(this['_addDescriptionItems'](_0x75c24f,_0x296d28),_0x300b6b&&_0x300b6b[_0x4e2a('0xf')]()&&!_0x296d28[_0x4e2a('0xf')]()[_0x4e2a('0x12')][_0x4e2a('0x34')](_0x300b6b[_0x4e2a('0xf')]()['start'])){const _0x1463ce=_0x75c24f[_0x75c24f[_0x4e2a('0x10')]-0x1],_0x53acc0=_0x4e2a('0x35')==_0x296d28[_0x4e2a('0xc')]?_0x4e2a('0x15'):'remove';_0x1463ce&&'text'==_0x1463ce[_0x4e2a('0xc')]&&(_0x1463ce[_0x53acc0]+='\x0a');}}}
23
+ const _0x5bd1=['removeFormat','pop','EmptyContainer','map','addEmptyContainer','*Set\x20format:*\x20%0','start','$1\x20$2','insertion','isInContent','_addDescriptionItems','isEqual','skip','newValue','_attributeLabels','_schema','key','length','type','_customCallbacks','*Change\x20to:*\x20%0','getDescriptions','push','nodeAfter','elementEnd','quantity','_locale','set','Container','*Merge:*\x20%0','*Insert:*\x20%0','normal','$text','indexOf','registerDescriptionCallback','subType','data','_itemLabels','isEmpty','_handleInsertRemoveSuggestionDescription','match','getWalker','item','addFormat','deletion','*Remove:*\x20%0','removeObject','has','_handleRenameSuggestionDescription','join','format','$textProxy','getFirstRange','function','nextSibling','getItemLabel','text','_itemLabelsCallbacks','element','elementStart','REPLACE_TEXT','checkChild','replace','Object','previousSibling','softBreak','addContainer','*Remove\x20format:*\x20%0','end','get','isObject','name','remove','add','_resolveDescriptionItems'];(function(_0x1a56ac,_0x5bd187){const _0x1a9866=function(_0x24ef87){while(--_0x24ef87){_0x1a56ac['push'](_0x1a56ac['shift']());}};_0x1a9866(++_0x5bd187);}(_0x5bd1,0xd2));const _0x1a98=function(_0x1a56ac,_0x5bd187){_0x1a56ac=_0x1a56ac-0x0;let _0x1a9866=_0x5bd1[_0x1a56ac];return _0x1a9866;};import{getTranslation as _0x36844c}from'./utils/common-translations.js';import{priorities as _0x589d80,insertToPriorityArray as _0x5f0172}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x26be01}from'./trackchangesediting.js';export default class f{constructor(_0x44e503,_0x1c8746){this[_0x1a98('0x22')]=[],this[_0x1a98('0x34')]=new Map(),this[_0x1a98('0x48')]=[],this[_0x1a98('0x1d')]=new Map(),this[_0x1a98('0x1e')]=_0x44e503,this[_0x1a98('0x29')]=_0x1c8746;}[_0x1a98('0x24')](_0x2fa5cf){const _0x55ad2f=[],_0x6b7c6e=new Set(),_0x1fcce8=new Set();for(let _0x107d49=0x0;_0x107d49<_0x2fa5cf['length'];_0x107d49++){const _0x1905fb=_0x2fa5cf[_0x107d49];if(!_0x1905fb[_0x1a98('0x18')])continue;const _0x225e6c=this['_handleCustomCallbackDescription'](_0x1905fb);if(_0x225e6c){if(null!=_0x1905fb['subType']){if(_0x6b7c6e[_0x1a98('0x3e')](_0x1905fb[_0x1a98('0x32')]))continue;_0x6b7c6e[_0x1a98('0xd')](_0x1905fb[_0x1a98('0x32')]);}_0x55ad2f[_0x1a98('0x25')](_0x225e6c);}else{if('attribute'!=_0x1905fb[_0x1a98('0x21')])_0x1a98('0x17')!=_0x1905fb[_0x1a98('0x21')]&&_0x1a98('0x3b')!=_0x1905fb[_0x1a98('0x21')]||this[_0x1a98('0x36')](_0x55ad2f,_0x1905fb,_0x2fa5cf[_0x107d49+0x1]);else{const _0x117e88=_0x1905fb[_0x1a98('0x33')]['key'];if(_0x1fcce8[_0x1a98('0x3e')](_0x117e88))continue;_0x1fcce8[_0x1a98('0xd')](_0x1905fb[_0x1a98('0x33')][_0x1a98('0x1f')]),_0x117e88==_0x26be01?this[_0x1a98('0x3f')](_0x55ad2f,_0x1905fb):this['_handleAttributeSuggestionDescription'](_0x55ad2f,_0x1905fb);}}}return this[_0x1a98('0xe')](_0x55ad2f);}[_0x1a98('0x31')](_0x5735f9){this[_0x1a98('0x22')][_0x1a98('0x25')](_0x5735f9);}['registerElementLabel'](_0x525243,_0x56529b,_0x132a50=_0x589d80[_0x1a98('0x2e')]){_0x1a98('0x44')==typeof _0x525243?_0x5f0172(this[_0x1a98('0x48')],{'matchingCallback':_0x525243,'label':_0x56529b,'priority':_0x132a50}):this['_itemLabels'][_0x1a98('0x2a')](_0x525243,_0x56529b);}['registerAttributeLabel'](_0x188eaa,_0xac84c1){this[_0x1a98('0x1d')]['set'](_0x188eaa,_0xac84c1);}['getItemLabel'](_0x2f08b6,_0x2b8834=0x1){let _0x5c01fb;for(const _0x524760 of this[_0x1a98('0x48')])if(_0x524760['matchingCallback'](_0x2f08b6)){_0x5c01fb=_0x524760['label'];break;}return _0x5c01fb||(_0x5c01fb=this['_itemLabels'][_0x1a98('0x9')](_0x2f08b6['name'])),_0x5c01fb?_0x5c01fb(_0x2b8834):0x1!==_0x2b8834?_0x2b8834+'\x20'+_0x2f08b6['name']+'s':''+_0x2f08b6[_0x1a98('0xb')];}[_0x1a98('0x19')](_0x297fc1,_0x440f4b){const _0x53604a=_0x440f4b['getFirstRange']()[_0x1a98('0x38')](),_0x1a20e5='insertion'==_0x440f4b[_0x1a98('0x21')]?_0x1a98('0xd'):_0x1a98('0xc');for(const _0x3b3f8f of _0x53604a){const _0x365fb2=_0x3b3f8f[_0x1a98('0x39')],_0x547839=_0x297fc1[_0x297fc1[_0x1a98('0x20')]-0x1];if(_0x365fb2['is'](_0x1a98('0x42')))_0x547839&&_0x547839[_0x1a98('0x21')][_0x1a98('0x30')]('Container')>-0x1&&_0x297fc1[_0x1a98('0x10')](),_0x547839&&_0x1a98('0x47')==_0x547839['type']?_0x547839[_0x1a20e5]+=_0x365fb2[_0x1a98('0x33')]:_0x297fc1[_0x1a98('0x25')]({'type':_0x1a98('0x47'),'add':_0x1a98('0xd')==_0x1a20e5?_0x365fb2['data']:'','remove':'remove'==_0x1a20e5?_0x365fb2[_0x1a98('0x33')]:''});else{if(this[_0x1a98('0x1e')][_0x1a98('0xa')](_0x365fb2)){const _0x1d958b=_0x365fb2;if(_0x547839&&_0x547839['type'][_0x1a98('0x30')](_0x1a98('0x2b'))>-0x1&&_0x297fc1['pop'](),'elementEnd'==_0x3b3f8f['type'])continue;_0x547839&&_0x547839[_0x1a98('0x21')]==_0x1a20e5+_0x1a98('0x3')&&_0x547839[_0x1a98('0x49')][_0x1a98('0xb')]==_0x1d958b[_0x1a98('0xb')]?_0x547839[_0x1a98('0x28')]++:_0x297fc1[_0x1a98('0x25')]({'type':_0x1a20e5+_0x1a98('0x3'),'element':_0x1d958b,'quantity':0x1}),_0x53604a[_0x1a98('0x1b')](_0x3c75a1=>!(_0x1a98('0x27')==_0x3c75a1[_0x1a98('0x21')]&&_0x3c75a1[_0x1a98('0x39')]==_0x365fb2));}else{if(this['_schema'][_0x1a98('0x1')](_0x365fb2,_0x1a98('0x2f'))||_0x365fb2['is']('element',_0x1a98('0x5'))){const _0x49c2c0=_0x365fb2;if(_0x1a98('0xd')==_0x1a20e5&&_0x1a98('0x4a')==_0x3b3f8f[_0x1a98('0x21')]||_0x1a98('0xc')==_0x1a20e5&&_0x1a98('0x27')==_0x3b3f8f[_0x1a98('0x21')])continue;if(_0x547839&&-0x1==_0x547839[_0x1a98('0x21')][_0x1a98('0x30')]('Container')){_0x1a98('0x47')==_0x547839[_0x1a98('0x21')]&&(_0x547839[_0x1a20e5]+='\x0a');continue;}let _0x4b554b;if(_0x4b554b=_0x1a98('0xd')==_0x1a20e5?_0x49c2c0[_0x1a98('0x45')]&&!this[_0x1a98('0x1e')][_0x1a98('0xa')](_0x49c2c0[_0x1a98('0x45')])?_0x49c2c0[_0x1a98('0x45')]:null:_0x49c2c0[_0x1a98('0x4')]&&!this[_0x1a98('0x1e')][_0x1a98('0xa')](_0x49c2c0['previousSibling'])?_0x49c2c0['previousSibling']:null,_0x49c2c0[_0x1a98('0x35')]||_0x4b554b&&_0x4b554b[_0x1a98('0x35')]){const _0x4a5e01=_0x4b554b&&_0x4b554b['isEmpty']?_0x4b554b:_0x49c2c0;_0x547839&&_0x547839[_0x1a98('0x21')]==_0x1a20e5+_0x1a98('0x11')&&_0x547839[_0x1a98('0x49')][_0x1a98('0xb')]==_0x4a5e01[_0x1a98('0xb')]?_0x547839[_0x1a98('0x28')]++:_0x297fc1[_0x1a98('0x25')]({'type':_0x1a20e5+_0x1a98('0x11'),'element':_0x4a5e01,'quantity':0x1});}else _0x297fc1['push']({'type':_0x1a20e5+_0x1a98('0x2b'),'element':_0x49c2c0});}}}}}[_0x1a98('0xe')](_0x17fada){const _0xb36e46=this[_0x1a98('0x29')],_0x12db54=[],_0x19cbc9=[],_0x34403b=[];for(const _0x367ba4 of _0x17fada)switch(_0x367ba4[_0x1a98('0x21')]){case _0x1a98('0x47'):if(_0x367ba4[_0x1a98('0xd')]=_0x367ba4[_0x1a98('0xd')][_0x1a98('0x2')](/(\S)\u000A+(\S)/g,_0x1a98('0x16'))[_0x1a98('0x2')](/\u000A/g,''),_0x367ba4['remove']=_0x367ba4['remove'][_0x1a98('0x2')](/(\S)\u000A+(\S)/g,_0x1a98('0x16'))['replace'](/\u000A/g,''),''!=_0x367ba4['add']&&''!=_0x367ba4[_0x1a98('0xc')]){_0x12db54['push']({'type':_0x1a98('0x2'),'content':_0x36844c(_0xb36e46,_0x1a98('0x0'),['\x22'+_0x367ba4[_0x1a98('0xc')]+'\x22','\x22'+_0x367ba4[_0x1a98('0xd')]+'\x22'])});continue;}if(null!=_0x367ba4['add']['match'](/^ +$/)){_0x12db54['push']({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,'*Insert:*\x20%0',_0x36844c(_0xb36e46,'ELEMENT_SPACE',_0x367ba4[_0x1a98('0xd')][_0x1a98('0x20')]))});continue;}if(null!=_0x367ba4[_0x1a98('0xc')][_0x1a98('0x37')](/^ +$/)){_0x12db54[_0x1a98('0x25')]({'type':'deletion','content':_0x36844c(_0xb36e46,_0x1a98('0x3c'),_0x36844c(_0xb36e46,'ELEMENT_SPACE',_0x367ba4[_0x1a98('0xc')]['length']))});continue;}if(''!=_0x367ba4['add']){_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,_0x1a98('0x2d'),'\x22'+_0x367ba4[_0x1a98('0xd')]+'\x22')});continue;}_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x3b'),'content':_0x36844c(_0xb36e46,'*Remove:*\x20%0','\x22'+_0x367ba4[_0x1a98('0xc')]+'\x22')});continue;case _0x1a98('0x13'):case'addObject':_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,_0x1a98('0x2d'),this[_0x1a98('0x46')](_0x367ba4['element'],_0x367ba4[_0x1a98('0x28')]))});continue;case'removeEmptyContainer':case _0x1a98('0x3d'):_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x3b'),'content':_0x36844c(_0xb36e46,_0x1a98('0x3c'),this[_0x1a98('0x46')](_0x367ba4[_0x1a98('0x49')],_0x367ba4[_0x1a98('0x28')]))});continue;case _0x1a98('0x6'):_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,'*Split:*\x20%0',this[_0x1a98('0x46')](_0x367ba4['element'],_0x367ba4['quantity']))});continue;case'removeContainer':_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x3b'),'content':_0x36844c(_0xb36e46,_0x1a98('0x2c'),this[_0x1a98('0x46')](_0x367ba4[_0x1a98('0x49')],_0x367ba4[_0x1a98('0x28')]))});continue;case _0x1a98('0x3a'):_0x19cbc9[_0x1a98('0x25')](_0x367ba4[_0x1a98('0x1f')]);continue;case _0x1a98('0xf'):_0x34403b[_0x1a98('0x25')](_0x367ba4[_0x1a98('0x1f')]);continue;default:_0x12db54[_0x1a98('0x25')](_0x367ba4);}if(_0x19cbc9[_0x1a98('0x20')]){const _0x2fac0e=_0x19cbc9[_0x1a98('0x12')](_0x5b2c65=>this[_0x1a98('0x1d')][_0x1a98('0x3e')](_0x5b2c65)?this['_attributeLabels'][_0x1a98('0x9')](_0x5b2c65):_0x5b2c65)[_0x1a98('0x40')](',\x20');_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x41'),'content':_0x36844c(this[_0x1a98('0x29')],_0x1a98('0x14'),_0x2fac0e)});}if(_0x34403b['length']){const _0x1f22ac=_0x34403b['map'](_0x4a5ca2=>this[_0x1a98('0x1d')][_0x1a98('0x3e')](_0x4a5ca2)?this[_0x1a98('0x1d')][_0x1a98('0x9')](_0x4a5ca2):_0x4a5ca2)[_0x1a98('0x40')](',\x20');_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x41'),'content':_0x36844c(this[_0x1a98('0x29')],_0x1a98('0x7'),_0x1f22ac)});}return _0x12db54;}['_handleCustomCallbackDescription'](_0x21cb26){for(const _0x6b8390 of this[_0x1a98('0x22')]){const _0x305fd3=_0x6b8390(_0x21cb26);if(_0x305fd3&&_0x1a98('0x21')in _0x305fd3)return _0x305fd3;}}['_handleAttributeSuggestionDescription'](_0x4e0569,_0x4c8e40){const _0xed2a30=_0x4c8e40['data'],_0x49158c=void 0x0===_0xed2a30[_0x1a98('0x1c')]?_0x1a98('0xf'):'addFormat';_0x4e0569[_0x1a98('0x25')]({'type':_0x49158c,'key':_0xed2a30[_0x1a98('0x1f')]});}[_0x1a98('0x3f')](_0x7dcc8e,_0x3b61be){_0x7dcc8e[_0x1a98('0x25')]({'type':_0x1a98('0x41'),'content':_0x36844c(this[_0x1a98('0x29')],_0x1a98('0x23'),this[_0x1a98('0x46')](_0x3b61be[_0x1a98('0x43')]()[_0x1a98('0x15')][_0x1a98('0x26')],0x1))});}[_0x1a98('0x36')](_0x1fede3,_0xd121ea,_0x4080fc){if(this[_0x1a98('0x19')](_0x1fede3,_0xd121ea),_0x4080fc&&_0x4080fc[_0x1a98('0x43')]()&&!_0xd121ea[_0x1a98('0x43')]()[_0x1a98('0x8')][_0x1a98('0x1a')](_0x4080fc[_0x1a98('0x43')]()[_0x1a98('0x15')])){const _0x535dff=_0x1fede3[_0x1fede3[_0x1a98('0x20')]-0x1],_0x4ab2c5='insertion'==_0xd121ea[_0x1a98('0x21')]?_0x1a98('0xd'):_0x1a98('0xc');_0x535dff&&'text'==_0x535dff[_0x1a98('0x21')]&&(_0x535dff[_0x4ab2c5]+='\x0a');}}}
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/trackchanges
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import TrackChangesUI from './trackchangesui';
11
- import TrackChangesEditing from './trackchangesediting';
12
- import 'ckeditor5-collaboration/src/collaboration-core';
13
- import type { default as Suggestion, SuggestionJSON } from './suggestion';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import TrackChangesUI from './trackchangesui.js';
11
+ import TrackChangesEditing from './trackchangesediting.js';
12
+ import 'ckeditor5-collaboration/src/collaboration-core.js';
13
+ import type { default as Suggestion, SuggestionJSON } from './suggestion.js';
14
14
  /**
15
15
  * A plugin that provides track changes mode for the editor. In track changes mode, all insertions are visually marked and all deletions
16
16
  * are not deleted but also visually marked. Unsupported commands are disabled when the editor is in the track changes mode.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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
- var _0x5cc4=['getSuggestion','addSuggestionData','getSuggestions','editor','Comments','addSuggestion','get','adapter','plugins','TrackChanges'];(function(_0x1c4016,_0x5cc4ab){var _0x52c1b4=function(_0x4da4d3){while(--_0x4da4d3){_0x1c4016['push'](_0x1c4016['shift']());}};_0x52c1b4(++_0x5cc4ab);}(_0x5cc4,0xda));var _0x52c1=function(_0x1c4016,_0x5cc4ab){_0x1c4016=_0x1c4016-0x0;var _0x52c1b4=_0x5cc4[_0x1c4016];return _0x52c1b4;};import{Plugin as _0x25f2e4}from'ckeditor5/src/core';import _0x3ac2f1 from'./trackchangesui';import _0x5eae06 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x25f2e4{static get['requires'](){return[_0x5eae06,_0x3ac2f1,_0x52c1('0x6')];}static get['pluginName'](){return _0x52c1('0x1');}set[_0x52c1('0x9')](_0x40ab1a){this[_0x52c1('0x5')]['plugins'][_0x52c1('0x8')](_0x5eae06)['adapter']=_0x40ab1a;}get[_0x52c1('0x9')](){return this['editor'][_0x52c1('0x0')][_0x52c1('0x8')](_0x5eae06)['adapter'];}[_0x52c1('0x7')](_0x43fa56){return this[_0x52c1('0x5')][_0x52c1('0x0')][_0x52c1('0x8')](_0x5eae06)[_0x52c1('0x3')](_0x43fa56);}[_0x52c1('0x4')]({skipNotAttached:_0xb91128=!0x1,toJSON:_0x1f2c51=!0x1}={}){return this[_0x52c1('0x5')]['plugins'][_0x52c1('0x8')](_0x5eae06)[_0x52c1('0x4')]({'skipNotAttached':_0xb91128,'toJSON':_0x1f2c51});}['getSuggestion'](_0xd0ad59){return this[_0x52c1('0x5')][_0x52c1('0x0')][_0x52c1('0x8')](_0x5eae06)[_0x52c1('0x2')](_0xd0ad59);}}
23
+ var _0x10d3=['addSuggestion','pluginName','adapter','getSuggestion','Comments','requires','editor','plugins','get','TrackChanges'];(function(_0x8e0c64,_0x10d366){var _0x432b69=function(_0x33e4ce){while(--_0x33e4ce){_0x8e0c64['push'](_0x8e0c64['shift']());}};_0x432b69(++_0x10d366);}(_0x10d3,0x89));var _0x432b=function(_0x8e0c64,_0x10d366){_0x8e0c64=_0x8e0c64-0x0;var _0x432b69=_0x10d3[_0x8e0c64];return _0x432b69;};import{Plugin as _0xf6531b}from'ckeditor5/src/core.js';import _0x4429c0 from'./trackchangesui.js';import _0x270d29 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0xf6531b{static get[_0x432b('0x8')](){return[_0x270d29,_0x4429c0,_0x432b('0x7')];}static get[_0x432b('0x4')](){return _0x432b('0x2');}set[_0x432b('0x5')](_0x310922){this['editor']['plugins'][_0x432b('0x1')](_0x270d29)['adapter']=_0x310922;}get['adapter'](){return this[_0x432b('0x9')][_0x432b('0x0')][_0x432b('0x1')](_0x270d29)[_0x432b('0x5')];}[_0x432b('0x3')](_0x40aefc){return this[_0x432b('0x9')]['plugins'][_0x432b('0x1')](_0x270d29)['addSuggestionData'](_0x40aefc);}['getSuggestions']({skipNotAttached:_0x1f3aa7=!0x1,toJSON:_0x32e76c=!0x1}={}){return this[_0x432b('0x9')][_0x432b('0x0')]['get'](_0x270d29)['getSuggestions']({'skipNotAttached':_0x1f3aa7,'toJSON':_0x32e76c});}['getSuggestion'](_0x315854){return this[_0x432b('0x9')][_0x432b('0x0')]['get'](_0x270d29)[_0x432b('0x6')](_0x315854);}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/trackchangesconfig
7
7
  * @publicApi
8
8
  */
9
- import type SuggestionThreadView from './ui/view/suggestionthreadview';
9
+ import type SuggestionThreadView from './ui/view/suggestionthreadview.js';
10
10
  /**
11
11
  * The configuration of the track changes feature.
12
12
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/trackchangesdata
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import TrackChangesEditing from './trackchangesediting';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import TrackChangesEditing from './trackchangesediting.js';
11
11
  /**
12
12
  * This plugin returns the editor data with accepted or discarded suggestions without modifying the editor content.
13
13
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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
- const _0x2a23=['editor','appendChild','execute','push','getUser','rootsAttributes','getSuggestions','get','editorCreator','name','result','createElement','trackChangesData.editorCreator','map','discardAllSuggestions','TrackChangesEditing','document','init','config','model','create','getFullData','trackChangesData','define','plugins','Users','getRootNames','acceptAllSuggestions','users','addUser','pluginName','track-changes-data-invalid-editor-creator','useAnonymousUser','getRootsAttributes','TrackChangesDataGetter','getDataWithAcceptedSuggestions','_adapter','data','function','CommentsRepository'];(function(_0x307034,_0x2a2369){const _0x13a6ba=function(_0xc3c981){while(--_0xc3c981){_0x307034['push'](_0x307034['shift']());}};_0x13a6ba(++_0x2a2369);}(_0x2a23,0x12f));const _0x13a6=function(_0x307034,_0x2a2369){_0x307034=_0x307034-0x0;let _0x13a6ba=_0x2a23[_0x307034];return _0x13a6ba;};import{Plugin as _0x5d991a}from'ckeditor5/src/core';import{CKEditorError as _0x5e4817}from'ckeditor5/src/utils';import _0x268e3e from'./trackchangesediting';import{sanitizeEditorConfig as _0x21f2df}from'ckeditor5-collaboration/src/collaboration-core';const T=['Pagination'];export default class P extends _0x5d991a{static get['requires'](){return[_0x268e3e];}static get['pluginName'](){return'TrackChangesData';}[_0x13a6('0x22')](){const _0x7f8a39=this[_0x13a6('0x11')];if(_0x7f8a39['config'][_0x13a6('0x0')](_0x13a6('0x1d'),_0x41c1a9=>{const _0x139251=_0x7f8a39['model'][_0x13a6('0x21')]['getRootNames']()['reduce']((_0x35303e,_0x38bab6)=>(_0x35303e[_0x38bab6]='',_0x35303e),{});return _0x7f8a39['constructor'][_0x13a6('0x25')](_0x139251,_0x41c1a9);}),_0x13a6('0xf')!=typeof _0x7f8a39[_0x13a6('0x23')][_0x13a6('0x18')](_0x13a6('0x27'))[_0x13a6('0x19')])throw new _0x5e4817(_0x13a6('0x8'));}[_0x13a6('0xc')](_0xaf0666){return N(this[_0x13a6('0x11')],!0x0,_0xaf0666);}['getDataWithDiscardedSuggestions'](_0x428a24){return N(this[_0x13a6('0x11')],!0x1,_0x428a24);}}class D extends _0x5d991a{static get[_0x13a6('0x7')](){return _0x13a6('0xb');}constructor(_0x3700da){super(_0x3700da),this[_0x13a6('0x1b')]='end';}[_0x13a6('0x22')](){this['editor'][_0x13a6('0x1')]['get'](_0x13a6('0x10'))[_0x13a6('0xd')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x13a6('0x11')][_0x13a6('0x1')][_0x13a6('0x18')](_0x13a6('0x20'))[_0x13a6('0xd')]=null;}}function v(_0x14271b){return void 0x0!==_0x14271b[_0x13a6('0xa')];}async function N(_0x566f3e,_0x3cf04d,_0x34ceeb){const _0x346094=_0x21f2df(_0x566f3e,T);_0x346094[_0x13a6('0x1')][_0x13a6('0x14')](_0x268e3e,D),_0x346094[_0x13a6('0x16')]=v(_0x566f3e)?_0x566f3e[_0x13a6('0xa')]():void 0x0;const _0x55d8b3=document['createDocumentFragment'](),_0x42a06f=_0x566f3e[_0x13a6('0x23')][_0x13a6('0x18')](_0x13a6('0x27'))[_0x13a6('0x19')],_0x2109eb=await _0x42a06f(_0x346094,()=>function(_0x7fbc3b){const _0x4ab0cb=document[_0x13a6('0x1c')]('div');return _0x7fbc3b[_0x13a6('0x12')](_0x4ab0cb),_0x4ab0cb;}(_0x55d8b3));!function(_0x4e06aa,_0x55585f){const _0x1ef9c5=_0x4e06aa[_0x13a6('0x24')][_0x13a6('0x21')][_0x13a6('0x3')]()['reduce']((_0x473b2f,_0x4c20e7)=>(_0x473b2f[_0x4c20e7]=_0x4e06aa[_0x13a6('0xe')][_0x13a6('0x18')]({'rootName':_0x4c20e7}),_0x473b2f),{}),_0x3a6228=_0x4e06aa['plugins']['get'](_0x13a6('0x2'))[_0x13a6('0x5')][_0x13a6('0x1e')](_0x12e9f2=>({'id':_0x12e9f2['id'],'name':_0x12e9f2[_0x13a6('0x1a')]})),_0x42a8cc=_0x4e06aa[_0x13a6('0x1')][_0x13a6('0x18')](_0x13a6('0x20'))[_0x13a6('0x17')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4c8108=_0x55585f['plugins'][_0x13a6('0x18')]('Users'),_0x5b5de9=_0x55585f[_0x13a6('0x1')][_0x13a6('0x18')](_0x13a6('0x20'));for(const _0x362d58 of _0x3a6228)_0x4c8108[_0x13a6('0x15')](_0x362d58['id'])||_0x4c8108[_0x13a6('0x6')](_0x362d58);_0x4c8108['me']||_0x4c8108[_0x13a6('0x9')]();for(const _0x460c89 of _0x42a8cc)_0x5b5de9['addSuggestionData'](_0x460c89);_0x55585f[_0x13a6('0xe')]['set'](_0x1ef9c5);}(_0x566f3e,_0x2109eb),_0x2109eb[_0x13a6('0x13')](_0x3cf04d?_0x13a6('0x4'):_0x13a6('0x1f'));const _0x12ba8=v(_0x2109eb)?_0x2109eb[_0x13a6('0x26')](_0x34ceeb):_0x2109eb['data'][_0x13a6('0x18')](_0x34ceeb);return await _0x2109eb['destroy'](),_0x12ba8;}
23
+ const _0xcdab=['addSuggestionData','push','set','requires','TrackChangesData','execute','map','init','getSuggestions','acceptAllSuggestions','TrackChangesEditing','CommentsRepository','trackChangesData','create','getDataWithDiscardedSuggestions','plugins','result','data','name','document','getDataWithAcceptedSuggestions','end','appendChild','addUser','users','config','getRootsAttributes','model','getFullData','getUser','pluginName','createDocumentFragment','track-changes-data-invalid-editor-creator','TrackChangesDataGetter','editor','getRootNames','useAnonymousUser','editorCreator','discardAllSuggestions','div','constructor','function','get','define','reduce','_adapter','Users','createElement','destroy'];(function(_0x495408,_0xcdab62){const _0x10b578=function(_0x10d5e4){while(--_0x10d5e4){_0x495408['push'](_0x495408['shift']());}};_0x10b578(++_0xcdab62);}(_0xcdab,0x77));const _0x10b5=function(_0x495408,_0xcdab62){_0x495408=_0x495408-0x0;let _0x10b578=_0xcdab[_0x495408];return _0x10b578;};import{Plugin as _0x5435ab}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e2b11}from'ckeditor5/src/utils.js';import _0x25fb7b from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x241e18}from'ckeditor5-collaboration/src/collaboration-core.js';const T=['Pagination'];export default class P extends _0x5435ab{static get[_0x10b5('0x1f')](){return[_0x25fb7b];}static get[_0x10b5('0x9')](){return _0x10b5('0x20');}[_0x10b5('0x23')](){const _0x1c8506=this[_0x10b5('0xd')];if(_0x1c8506[_0x10b5('0x4')][_0x10b5('0x16')]('trackChangesData.editorCreator',_0xe8a7a2=>{const _0x5c8bae=_0x1c8506[_0x10b5('0x6')][_0x10b5('0x2f')]['getRootNames']()[_0x10b5('0x17')]((_0x2d5f2f,_0x495cb4)=>(_0x2d5f2f[_0x495cb4]='',_0x2d5f2f),{});return _0x1c8506[_0x10b5('0x13')][_0x10b5('0x29')](_0x5c8bae,_0xe8a7a2);}),_0x10b5('0x14')!=typeof _0x1c8506[_0x10b5('0x4')][_0x10b5('0x15')]('trackChangesData')[_0x10b5('0x10')])throw new _0x3e2b11(_0x10b5('0xb'));}[_0x10b5('0x30')](_0x3b0d6d){return N(this['editor'],!0x0,_0x3b0d6d);}[_0x10b5('0x2a')](_0x3fd62c){return N(this['editor'],!0x1,_0x3fd62c);}}class D extends _0x5435ab{static get['pluginName'](){return _0x10b5('0xc');}constructor(_0x12bddf){super(_0x12bddf),this[_0x10b5('0x2c')]=_0x10b5('0x0');}[_0x10b5('0x23')](){this[_0x10b5('0xd')][_0x10b5('0x2b')][_0x10b5('0x15')](_0x10b5('0x27'))[_0x10b5('0x18')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x10b5('0xd')][_0x10b5('0x2b')][_0x10b5('0x15')](_0x10b5('0x26'))['_adapter']=null;}}function v(_0x4446b6){return void 0x0!==_0x4446b6[_0x10b5('0x5')];}async function N(_0x156998,_0x4f5b31,_0x3d96d8){const _0x5cb586=_0x241e18(_0x156998,T);_0x5cb586[_0x10b5('0x2b')][_0x10b5('0x1d')](_0x25fb7b,D),_0x5cb586['rootsAttributes']=v(_0x156998)?_0x156998[_0x10b5('0x5')]():void 0x0;const _0x2eab00=document[_0x10b5('0xa')](),_0x14a949=_0x156998[_0x10b5('0x4')]['get'](_0x10b5('0x28'))[_0x10b5('0x10')],_0x5f5173=await _0x14a949(_0x5cb586,()=>function(_0x4029a4){const _0x110d4c=document[_0x10b5('0x1a')](_0x10b5('0x12'));return _0x4029a4[_0x10b5('0x1')](_0x110d4c),_0x110d4c;}(_0x2eab00));!function(_0x5217c0,_0xc7a1ee){const _0x47143e=_0x5217c0['model'][_0x10b5('0x2f')][_0x10b5('0xe')]()['reduce']((_0x3e9356,_0x4546a2)=>(_0x3e9356[_0x4546a2]=_0x5217c0[_0x10b5('0x2d')][_0x10b5('0x15')]({'rootName':_0x4546a2}),_0x3e9356),{}),_0x311b09=_0x5217c0[_0x10b5('0x2b')]['get'](_0x10b5('0x19'))[_0x10b5('0x3')][_0x10b5('0x22')](_0x43e498=>({'id':_0x43e498['id'],'name':_0x43e498[_0x10b5('0x2e')]})),_0x29652=_0x5217c0['plugins'][_0x10b5('0x15')](_0x10b5('0x26'))[_0x10b5('0x24')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x6fec9f=_0xc7a1ee['plugins']['get'](_0x10b5('0x19')),_0x4c3a57=_0xc7a1ee[_0x10b5('0x2b')]['get'](_0x10b5('0x26'));for(const _0xc93944 of _0x311b09)_0x6fec9f[_0x10b5('0x8')](_0xc93944['id'])||_0x6fec9f[_0x10b5('0x2')](_0xc93944);_0x6fec9f['me']||_0x6fec9f[_0x10b5('0xf')]();for(const _0x3faede of _0x29652)_0x4c3a57[_0x10b5('0x1c')](_0x3faede);_0xc7a1ee[_0x10b5('0x2d')][_0x10b5('0x1e')](_0x47143e);}(_0x156998,_0x5f5173),_0x5f5173[_0x10b5('0x21')](_0x4f5b31?_0x10b5('0x25'):_0x10b5('0x11'));const _0x23ad36=v(_0x5f5173)?_0x5f5173[_0x10b5('0x7')](_0x3d96d8):_0x5f5173[_0x10b5('0x2d')][_0x10b5('0x15')](_0x3d96d8);return await _0x5f5173[_0x10b5('0x1b')](),_0x23ad36;}
@@ -1,64 +1,65 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/trackchangesediting
7
7
  * @publicApi
8
8
  */
9
- import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core';
10
- import { type Element, type Range } from 'ckeditor5/src/engine';
11
- import { Users } from 'ckeditor5-collaboration/src/collaboration-core';
12
- import TrackChangesCommand from './commands/trackchangescommand';
13
- import Suggestion, { type SuggestionJSON } from './suggestion';
14
- import TrackChangesAIAssistant from './integrations/aiassistant';
15
- import TrackChangesAlignment from './integrations/alignment';
16
- import TrackChangesBasicStyles from './integrations/basicstyles';
17
- import TrackChangesBlockQuote from './integrations/blockquote';
18
- import TrackChangesCKBox from './integrations/ckbox';
19
- import TrackChangesCodeBlock from './integrations/codeblock';
20
- import TrackChangesComments from './integrations/comments';
21
- import TrackChangesDeleteCommand from './integrations/deletecommand';
22
- import TrackChangesDocumentList from './integrations/documentlist';
23
- import TrackChangesDocumentListProperties from './integrations/documentlistproperties';
24
- import TrackChangesEnterCommand from './integrations/entercommand';
25
- import TrackChangesFindAndReplace from './integrations/findandreplace';
26
- import TrackChangesFont from './integrations/font';
27
- import TrackChangesFormatPainter from './integrations/formatpainter';
28
- import TrackChangesHeading from './integrations/heading';
29
- import TrackChangesHighlight from './integrations/highlight';
30
- import TrackChangesHorizontalLine from './integrations/horizontalline';
31
- import TrackChangesHtmlEmbed from './integrations/htmlembed';
32
- import TrackChangesImage from './integrations/image';
33
- import TrackChangesImageReplace from './integrations/imagereplace';
34
- import TrackChangesImageStyle from './integrations/imagestyle';
35
- import TrackChangesImportWord from './integrations/importword';
36
- import TrackChangesIndent from './integrations/indent';
37
- import TrackChangesInputCommand from './integrations/inputcommand';
38
- import TrackChangesLink from './integrations/link';
39
- import TrackChangesList from './integrations/list';
40
- import TrackChangesListProperties from './integrations/listproperties';
41
- import TrackChangesMediaEmbed from './integrations/mediaembed';
42
- import TrackChangesMention from './integrations/mention';
43
- import TrackChangesPageBreak from './integrations/pagebreak';
44
- import TrackChangesParagraph from './integrations/paragraph';
45
- import TrackChangesRemoveFormat from './integrations/removeformat';
46
- import TrackChangesRestrictedEditingMode from './integrations/restrictededitingmode';
47
- import TrackChangesShiftEnterCommand from './integrations/shiftentercommand';
48
- import TrackChangesStandardEditingMode from './integrations/standardeditingmode';
49
- import TrackChangesStylesDropdown from './integrations/style';
50
- import TrackChangesTable from './integrations/table';
51
- import TrackChangesTableMergeSplit from './integrations/tablemergesplit';
52
- import TrackChangesTableHeadings from './integrations/tableheadings';
53
- import TrackChangesTableClipboard from './integrations/tableclipboard';
54
- import TrackChangesTableColumnResize from './integrations/tablecolumnresize';
55
- import TrackChangesTemplate from './integrations/template';
56
- import TrackChangesTableOfContents from './integrations/tableofcontents';
57
- import TrackChangesTitle from './integrations/title';
58
- import TrackChangesUndo from './integrations/undo';
59
- import TrackChangesTableCaption from './integrations/tablecaption';
60
- import TrackChangesTableProperties from './integrations/tableproperties';
61
- import type { SuggestionData, TrackChangesAdapter } from './trackchanges';
9
+ import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core.js';
10
+ import { type Element, type Range } from 'ckeditor5/src/engine.js';
11
+ import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
+ import TrackChangesCommand from './commands/trackchangescommand.js';
13
+ import Suggestion, { type SuggestionJSON } from './suggestion.js';
14
+ import TrackChangesAIAssistant from './integrations/aiassistant.js';
15
+ import TrackChangesAlignment from './integrations/alignment.js';
16
+ import TrackChangesBasicStyles from './integrations/basicstyles.js';
17
+ import TrackChangesBlockQuote from './integrations/blockquote.js';
18
+ import TrackChangesCaseChange from './integrations/casechange.js';
19
+ import TrackChangesCKBox from './integrations/ckbox.js';
20
+ import TrackChangesCodeBlock from './integrations/codeblock.js';
21
+ import TrackChangesComments from './integrations/comments.js';
22
+ import TrackChangesDeleteCommand from './integrations/deletecommand.js';
23
+ import TrackChangesList from './integrations/list.js';
24
+ import TrackChangesListProperties from './integrations/listproperties.js';
25
+ import TrackChangesEnterCommand from './integrations/entercommand.js';
26
+ import TrackChangesFindAndReplace from './integrations/findandreplace.js';
27
+ import TrackChangesFont from './integrations/font.js';
28
+ import TrackChangesFormatPainter from './integrations/formatpainter.js';
29
+ import TrackChangesHeading from './integrations/heading.js';
30
+ import TrackChangesHighlight from './integrations/highlight.js';
31
+ import TrackChangesHorizontalLine from './integrations/horizontalline.js';
32
+ import TrackChangesHtmlEmbed from './integrations/htmlembed.js';
33
+ import TrackChangesImage from './integrations/image.js';
34
+ import TrackChangesImageReplace from './integrations/imagereplace.js';
35
+ import TrackChangesImageStyle from './integrations/imagestyle.js';
36
+ import TrackChangesImportWord from './integrations/importword.js';
37
+ import TrackChangesIndent from './integrations/indent.js';
38
+ import TrackChangesInputCommand from './integrations/inputcommand.js';
39
+ import TrackChangesLink from './integrations/link.js';
40
+ import TrackChangesLegacyList from './integrations/legacylist.js';
41
+ import TrackChangesLegacyListProperties from './integrations/legacylistproperties.js';
42
+ import TrackChangesMediaEmbed from './integrations/mediaembed.js';
43
+ import TrackChangesMention from './integrations/mention.js';
44
+ import TrackChangesPageBreak from './integrations/pagebreak.js';
45
+ import TrackChangesParagraph from './integrations/paragraph.js';
46
+ import TrackChangesRemoveFormat from './integrations/removeformat.js';
47
+ import TrackChangesRestrictedEditingMode from './integrations/restrictededitingmode.js';
48
+ import TrackChangesShiftEnterCommand from './integrations/shiftentercommand.js';
49
+ import TrackChangesStandardEditingMode from './integrations/standardeditingmode.js';
50
+ import TrackChangesStylesDropdown from './integrations/style.js';
51
+ import TrackChangesTable from './integrations/table.js';
52
+ import TrackChangesTableMergeSplit from './integrations/tablemergesplit.js';
53
+ import TrackChangesTableHeadings from './integrations/tableheadings.js';
54
+ import TrackChangesTableClipboard from './integrations/tableclipboard.js';
55
+ import TrackChangesTableColumnResize from './integrations/tablecolumnresize.js';
56
+ import TrackChangesTemplate from './integrations/template.js';
57
+ import TrackChangesTableOfContents from './integrations/tableofcontents.js';
58
+ import TrackChangesTitle from './integrations/title.js';
59
+ import TrackChangesUndo from './integrations/undo.js';
60
+ import TrackChangesTableCaption from './integrations/tablecaption.js';
61
+ import TrackChangesTableProperties from './integrations/tableproperties.js';
62
+ import type { SuggestionData, TrackChangesAdapter } from './trackchanges.js';
62
63
  export declare const renameAttributeKey = "$elementName";
63
64
  /**
64
65
  * Provides editing part of the {@link module:track-changes/trackchanges~TrackChanges track changes plugin}.
@@ -74,7 +75,7 @@ export default class TrackChangesEditing extends Plugin {
74
75
  * Reference to command that turns the track changes mode on and off.
75
76
  */
76
77
  trackChangesCommand: TrackChangesCommand;
77
- static get requires(): readonly ["CommentsRepository", typeof Users, typeof PendingActions, typeof TrackChangesAIAssistant, typeof TrackChangesAlignment, typeof TrackChangesBasicStyles, typeof TrackChangesBlockQuote, typeof TrackChangesCKBox, typeof TrackChangesCodeBlock, typeof TrackChangesComments, typeof TrackChangesDeleteCommand, typeof TrackChangesDocumentList, typeof TrackChangesDocumentListProperties, typeof TrackChangesEnterCommand, typeof TrackChangesFindAndReplace, typeof TrackChangesFont, typeof TrackChangesFormatPainter, typeof TrackChangesHeading, typeof TrackChangesHighlight, typeof TrackChangesHorizontalLine, typeof TrackChangesHtmlEmbed, typeof TrackChangesImage, typeof TrackChangesImageStyle, typeof TrackChangesImageReplace, typeof TrackChangesImportWord, typeof TrackChangesIndent, typeof TrackChangesInputCommand, typeof TrackChangesLink, typeof TrackChangesList, typeof TrackChangesListProperties, typeof TrackChangesMediaEmbed, typeof TrackChangesMention, typeof TrackChangesPageBreak, typeof TrackChangesParagraph, typeof TrackChangesRemoveFormat, typeof TrackChangesRestrictedEditingMode, typeof TrackChangesShiftEnterCommand, typeof TrackChangesStandardEditingMode, typeof TrackChangesStylesDropdown, typeof TrackChangesTable, typeof TrackChangesTableMergeSplit, typeof TrackChangesTableHeadings, typeof TrackChangesTableCaption, typeof TrackChangesTableClipboard, typeof TrackChangesTableColumnResize, typeof TrackChangesTableOfContents, typeof TrackChangesTableProperties, typeof TrackChangesTemplate, typeof TrackChangesTitle, typeof TrackChangesUndo];
78
+ static get requires(): readonly ["CommentsRepository", typeof Users, typeof PendingActions, typeof TrackChangesAIAssistant, typeof TrackChangesAlignment, typeof TrackChangesBasicStyles, typeof TrackChangesBlockQuote, typeof TrackChangesCKBox, typeof TrackChangesCaseChange, typeof TrackChangesCodeBlock, typeof TrackChangesComments, typeof TrackChangesDeleteCommand, typeof TrackChangesEnterCommand, typeof TrackChangesFindAndReplace, typeof TrackChangesFont, typeof TrackChangesFormatPainter, typeof TrackChangesHeading, typeof TrackChangesHighlight, typeof TrackChangesHorizontalLine, typeof TrackChangesHtmlEmbed, typeof TrackChangesImage, typeof TrackChangesImageStyle, typeof TrackChangesImageReplace, typeof TrackChangesImportWord, typeof TrackChangesIndent, typeof TrackChangesInputCommand, typeof TrackChangesLegacyList, typeof TrackChangesLegacyListProperties, typeof TrackChangesLink, typeof TrackChangesList, typeof TrackChangesListProperties, typeof TrackChangesMediaEmbed, typeof TrackChangesMention, typeof TrackChangesPageBreak, typeof TrackChangesParagraph, typeof TrackChangesRemoveFormat, typeof TrackChangesRestrictedEditingMode, typeof TrackChangesShiftEnterCommand, typeof TrackChangesStandardEditingMode, typeof TrackChangesStylesDropdown, typeof TrackChangesTable, typeof TrackChangesTableMergeSplit, typeof TrackChangesTableHeadings, typeof TrackChangesTableCaption, typeof TrackChangesTableClipboard, typeof TrackChangesTableColumnResize, typeof TrackChangesTableOfContents, typeof TrackChangesTableProperties, typeof TrackChangesTemplate, typeof TrackChangesTitle, typeof TrackChangesUndo];
78
79
  static get pluginName(): "TrackChangesEditing";
79
80
  /**
80
81
  * @inheritDoc