@ckeditor/ckeditor5-track-changes 40.2.0 → 41.1.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 (197) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  5. package/build/translations/es.js +1 -1
  6. package/build/translations/ro.js +1 -1
  7. package/lang/translations/ar.po +1 -1
  8. package/lang/translations/az.po +1 -1
  9. package/lang/translations/bg.po +1 -1
  10. package/lang/translations/bn.po +1 -1
  11. package/lang/translations/ca.po +1 -1
  12. package/lang/translations/cs.po +1 -1
  13. package/lang/translations/da.po +1 -1
  14. package/lang/translations/de.po +1 -1
  15. package/lang/translations/el.po +1 -1
  16. package/lang/translations/en-au.po +1 -1
  17. package/lang/translations/en.po +1 -1
  18. package/lang/translations/es.po +2 -2
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fi.po +1 -1
  21. package/lang/translations/fr.po +1 -1
  22. package/lang/translations/gl.po +1 -1
  23. package/lang/translations/he.po +1 -1
  24. package/lang/translations/hi.po +1 -1
  25. package/lang/translations/hr.po +1 -1
  26. package/lang/translations/hu.po +1 -1
  27. package/lang/translations/id.po +1 -1
  28. package/lang/translations/it.po +1 -1
  29. package/lang/translations/ja.po +1 -1
  30. package/lang/translations/ko.po +1 -1
  31. package/lang/translations/lt.po +1 -1
  32. package/lang/translations/lv.po +1 -1
  33. package/lang/translations/ms.po +1 -1
  34. package/lang/translations/nl.po +1 -1
  35. package/lang/translations/no.po +1 -1
  36. package/lang/translations/pl.po +1 -1
  37. package/lang/translations/pt-br.po +1 -1
  38. package/lang/translations/pt.po +1 -1
  39. package/lang/translations/ro.po +2 -2
  40. package/lang/translations/ru.po +1 -1
  41. package/lang/translations/sk.po +1 -1
  42. package/lang/translations/sq.po +1 -1
  43. package/lang/translations/sr-latn.po +1 -1
  44. package/lang/translations/sr.po +1 -1
  45. package/lang/translations/sv.po +1 -1
  46. package/lang/translations/th.po +1 -1
  47. package/lang/translations/tk.po +1 -1
  48. package/lang/translations/tr.po +1 -1
  49. package/lang/translations/tt.po +1 -1
  50. package/lang/translations/uk.po +1 -1
  51. package/lang/translations/ur.po +1 -1
  52. package/lang/translations/vi.po +1 -1
  53. package/lang/translations/zh-cn.po +1 -1
  54. package/lang/translations/zh.po +1 -1
  55. package/package.json +4 -3
  56. package/src/augmentation.d.ts +3 -3
  57. package/src/augmentation.js +1 -1
  58. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  59. package/src/commands/acceptsuggestioncommand.js +2 -2
  60. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  61. package/src/commands/discardsuggestioncommand.js +2 -2
  62. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  63. package/src/commands/executeonallsuggestionscommand.js +2 -2
  64. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  65. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  66. package/src/commands/trackchangescommand.d.ts +2 -2
  67. package/src/commands/trackchangescommand.js +2 -2
  68. package/src/index.d.ts +13 -13
  69. package/src/index.js +2 -2
  70. package/src/integrations/aiassistant.d.ts +2 -2
  71. package/src/integrations/aiassistant.js +2 -2
  72. package/src/integrations/alignment.d.ts +2 -2
  73. package/src/integrations/alignment.js +2 -2
  74. package/src/integrations/basicstyles.d.ts +2 -2
  75. package/src/integrations/basicstyles.js +2 -2
  76. package/src/integrations/blockquote.d.ts +2 -2
  77. package/src/integrations/blockquote.js +2 -2
  78. package/src/integrations/casechange.d.ts +17 -0
  79. package/src/integrations/casechange.js +23 -0
  80. package/src/integrations/ckbox.d.ts +2 -2
  81. package/src/integrations/ckbox.js +2 -2
  82. package/src/integrations/codeblock.d.ts +2 -2
  83. package/src/integrations/codeblock.js +2 -2
  84. package/src/integrations/comments.d.ts +2 -2
  85. package/src/integrations/comments.js +2 -2
  86. package/src/integrations/deletecommand.d.ts +3 -3
  87. package/src/integrations/deletecommand.js +2 -2
  88. package/src/integrations/entercommand.d.ts +3 -3
  89. package/src/integrations/entercommand.js +2 -2
  90. package/src/integrations/findandreplace.d.ts +2 -2
  91. package/src/integrations/findandreplace.js +2 -2
  92. package/src/integrations/font.d.ts +2 -2
  93. package/src/integrations/font.js +2 -2
  94. package/src/integrations/formatpainter.d.ts +2 -2
  95. package/src/integrations/formatpainter.js +2 -2
  96. package/src/integrations/heading.d.ts +2 -2
  97. package/src/integrations/heading.js +2 -2
  98. package/src/integrations/highlight.d.ts +2 -2
  99. package/src/integrations/highlight.js +2 -2
  100. package/src/integrations/horizontalline.d.ts +2 -2
  101. package/src/integrations/horizontalline.js +2 -2
  102. package/src/integrations/htmlembed.d.ts +2 -2
  103. package/src/integrations/htmlembed.js +2 -2
  104. package/src/integrations/image.d.ts +2 -2
  105. package/src/integrations/image.js +2 -2
  106. package/src/integrations/imagereplace.d.ts +2 -2
  107. package/src/integrations/imagereplace.js +2 -2
  108. package/src/integrations/imagestyle.d.ts +2 -2
  109. package/src/integrations/imagestyle.js +2 -2
  110. package/src/integrations/importword.d.ts +2 -2
  111. package/src/integrations/importword.js +2 -2
  112. package/src/integrations/indent.d.ts +2 -2
  113. package/src/integrations/indent.js +2 -2
  114. package/src/integrations/inputcommand.d.ts +3 -3
  115. package/src/integrations/inputcommand.js +2 -2
  116. package/src/integrations/legacylist.d.ts +17 -0
  117. package/src/integrations/legacylist.js +23 -0
  118. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  119. package/src/integrations/legacylistproperties.js +23 -0
  120. package/src/integrations/link.d.ts +2 -2
  121. package/src/integrations/link.js +2 -2
  122. package/src/integrations/list.d.ts +6 -6
  123. package/src/integrations/list.js +2 -2
  124. package/src/integrations/listproperties.d.ts +6 -15
  125. package/src/integrations/listproperties.js +2 -2
  126. package/src/integrations/mediaembed.d.ts +2 -2
  127. package/src/integrations/mediaembed.js +2 -2
  128. package/src/integrations/mention.d.ts +2 -2
  129. package/src/integrations/mention.js +2 -2
  130. package/src/integrations/pagebreak.d.ts +2 -2
  131. package/src/integrations/pagebreak.js +2 -2
  132. package/src/integrations/paragraph.d.ts +2 -2
  133. package/src/integrations/paragraph.js +2 -2
  134. package/src/integrations/removeformat.d.ts +2 -2
  135. package/src/integrations/removeformat.js +2 -2
  136. package/src/integrations/restrictededitingmode.d.ts +2 -2
  137. package/src/integrations/restrictededitingmode.js +2 -2
  138. package/src/integrations/shiftentercommand.d.ts +3 -3
  139. package/src/integrations/shiftentercommand.js +2 -2
  140. package/src/integrations/standardeditingmode.d.ts +2 -2
  141. package/src/integrations/standardeditingmode.js +2 -2
  142. package/src/integrations/style.d.ts +2 -2
  143. package/src/integrations/style.js +2 -2
  144. package/src/integrations/table.d.ts +2 -2
  145. package/src/integrations/table.js +2 -2
  146. package/src/integrations/tablecaption.d.ts +3 -3
  147. package/src/integrations/tablecaption.js +2 -2
  148. package/src/integrations/tableclipboard.d.ts +3 -3
  149. package/src/integrations/tableclipboard.js +2 -2
  150. package/src/integrations/tablecolumnresize.d.ts +5 -5
  151. package/src/integrations/tablecolumnresize.js +2 -2
  152. package/src/integrations/tableheadings.d.ts +3 -3
  153. package/src/integrations/tableheadings.js +2 -2
  154. package/src/integrations/tablemergesplit.d.ts +3 -3
  155. package/src/integrations/tablemergesplit.js +2 -2
  156. package/src/integrations/tableofcontents.d.ts +2 -2
  157. package/src/integrations/tableofcontents.js +2 -2
  158. package/src/integrations/tableproperties.d.ts +5 -5
  159. package/src/integrations/tableproperties.js +2 -2
  160. package/src/integrations/template.d.ts +2 -2
  161. package/src/integrations/template.js +2 -2
  162. package/src/integrations/title.d.ts +2 -2
  163. package/src/integrations/title.js +2 -2
  164. package/src/integrations/undo.d.ts +2 -2
  165. package/src/integrations/undo.js +2 -2
  166. package/src/integrations/utils.d.ts +4 -4
  167. package/src/integrations/utils.js +2 -2
  168. package/src/suggestion.d.ts +6 -6
  169. package/src/suggestion.js +2 -2
  170. package/src/suggestiondescriptionfactory.d.ts +4 -4
  171. package/src/suggestiondescriptionfactory.js +2 -2
  172. package/src/trackchanges.d.ts +6 -6
  173. package/src/trackchanges.js +2 -2
  174. package/src/trackchangesconfig.d.ts +2 -2
  175. package/src/trackchangesconfig.js +1 -1
  176. package/src/trackchangesdata.d.ts +3 -3
  177. package/src/trackchangesdata.js +2 -2
  178. package/src/trackchangesediting.d.ts +56 -55
  179. package/src/trackchangesediting.js +2 -2
  180. package/src/trackchangesui.d.ts +4 -4
  181. package/src/trackchangesui.js +2 -2
  182. package/src/ui/suggestioncontroller.d.ts +6 -6
  183. package/src/ui/suggestioncontroller.js +2 -2
  184. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  185. package/src/ui/view/basesuggestionthreadview.js +2 -2
  186. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  187. package/src/ui/view/suggestionthreadview.js +2 -2
  188. package/src/utils/common-translations.d.ts +2 -2
  189. package/src/utils/common-translations.js +2 -2
  190. package/src/utils/utils.d.ts +5 -5
  191. package/src/utils/utils.js +2 -2
  192. package/theme/icons/track-changes-accept.svg +1 -1
  193. package/theme/icons/track-changes-discard.svg +1 -1
  194. package/theme/icons/track-changes.svg +1 -1
  195. package/src/integrations/documentlist.d.ts +0 -17
  196. package/src/integrations/documentlist.js +0 -23
  197. 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 _0x27fc=['$text','quantity','_locale','get','_itemLabels','removeFormat','format','push','_attributeLabels','map','_handleAttributeSuggestionDescription','end','name','softBreak','match','type','*Remove:*\x20%0','has','*Change\x20to:*\x20%0','isInContent','$1\x20$2','*Merge:*\x20%0','Container','_handleCustomCallbackDescription','add','text','nextSibling','newValue','_handleRenameSuggestionDescription','addContainer','key','item','getItemLabel','remove','elementStart','getFirstRange','label','pop','registerAttributeLabel','_addDescriptionItems','element','subType','getWalker','start','insertion','_itemLabelsCallbacks','_customCallbacks','registerDescriptionCallback','getDescriptions','set','*Insert:*\x20%0','_handleInsertRemoveSuggestionDescription','*Remove\x20format:*\x20%0','matchingCallback','length','ELEMENT_SPACE','Object','removeEmptyContainer','data','addObject','skip','attribute','*Split:*\x20%0','previousSibling','registerElementLabel','isObject','indexOf','_schema','_resolveDescriptionItems','nodeAfter','elementEnd','removeContainer','EmptyContainer','deletion','replace','addFormat','isEqual','isEmpty','join'];(function(_0x896991,_0x27fc45){const _0x36688a=function(_0x15ca41){while(--_0x15ca41){_0x896991['push'](_0x896991['shift']());}};_0x36688a(++_0x27fc45);}(_0x27fc,0x88));const _0x3668=function(_0x896991,_0x27fc45){_0x896991=_0x896991-0x0;let _0x36688a=_0x27fc[_0x896991];return _0x36688a;};import{getTranslation as _0x373532}from'./utils/common-translations';import{priorities as _0x5b5709,insertToPriorityArray as _0xd71576}from'ckeditor5/src/utils';import{renameAttributeKey as _0x4d149a}from'./trackchangesediting';export default class f{constructor(_0x525239,_0x4c3bc3){this[_0x3668('0x44')]=[],this[_0x3668('0x1a')]=new Map(),this[_0x3668('0x43')]=[],this[_0x3668('0x1e')]=new Map(),this[_0x3668('0xa')]=_0x525239,this[_0x3668('0x18')]=_0x4c3bc3;}[_0x3668('0x46')](_0x59bee2){const _0x117029=[],_0x5c2010=new Set(),_0x12323c=new Set();for(let _0x108cc6=0x0;_0x108cc6<_0x59bee2[_0x3668('0x4c')];_0x108cc6++){const _0x1af494=_0x59bee2[_0x108cc6];if(!_0x1af494[_0x3668('0x29')])continue;const _0x1350fa=this['_handleCustomCallbackDescription'](_0x1af494);if(_0x1350fa){if(null!=_0x1af494[_0x3668('0x3f')]){if(_0x5c2010[_0x3668('0x27')](_0x1af494[_0x3668('0x3f')]))continue;_0x5c2010['add'](_0x1af494['subType']);}_0x117029[_0x3668('0x1d')](_0x1350fa);}else{if(_0x3668('0x4')!=_0x1af494[_0x3668('0x25')])_0x3668('0x42')!=_0x1af494[_0x3668('0x25')]&&_0x3668('0x10')!=_0x1af494['type']||this[_0x3668('0x49')](_0x117029,_0x1af494,_0x59bee2[_0x108cc6+0x1]);else{const _0x30b536=_0x1af494[_0x3668('0x1')][_0x3668('0x34')];if(_0x12323c[_0x3668('0x27')](_0x30b536))continue;_0x12323c[_0x3668('0x2e')](_0x1af494[_0x3668('0x1')][_0x3668('0x34')]),_0x30b536==_0x4d149a?this[_0x3668('0x32')](_0x117029,_0x1af494):this['_handleAttributeSuggestionDescription'](_0x117029,_0x1af494);}}}return this[_0x3668('0xb')](_0x117029);}[_0x3668('0x45')](_0x439ac1){this['_customCallbacks'][_0x3668('0x1d')](_0x439ac1);}[_0x3668('0x7')](_0x2773d7,_0x3c4bfd,_0x363867=_0x5b5709['normal']){'function'==typeof _0x2773d7?_0xd71576(this[_0x3668('0x43')],{'matchingCallback':_0x2773d7,'label':_0x3c4bfd,'priority':_0x363867}):this['_itemLabels']['set'](_0x2773d7,_0x3c4bfd);}[_0x3668('0x3c')](_0x1fa74d,_0xd21adb){this[_0x3668('0x1e')][_0x3668('0x47')](_0x1fa74d,_0xd21adb);}[_0x3668('0x36')](_0x490d5a,_0x4f96c2=0x1){let _0x534f1d;for(const _0x5bcfae of this[_0x3668('0x43')])if(_0x5bcfae[_0x3668('0x4b')](_0x490d5a)){_0x534f1d=_0x5bcfae[_0x3668('0x3a')];break;}return _0x534f1d||(_0x534f1d=this[_0x3668('0x1a')][_0x3668('0x19')](_0x490d5a[_0x3668('0x22')])),_0x534f1d?_0x534f1d(_0x4f96c2):0x1!==_0x4f96c2?_0x4f96c2+'\x20'+_0x490d5a['name']+'s':''+_0x490d5a[_0x3668('0x22')];}[_0x3668('0x3d')](_0x569a2a,_0x843b44){const _0x11dda8=_0x843b44[_0x3668('0x39')]()[_0x3668('0x40')](),_0x6b58c9=_0x3668('0x42')==_0x843b44['type']?_0x3668('0x2e'):_0x3668('0x37');for(const _0x4d8ff3 of _0x11dda8){const _0x122e68=_0x4d8ff3[_0x3668('0x35')],_0x44e7cb=_0x569a2a[_0x569a2a[_0x3668('0x4c')]-0x1];if(_0x122e68['is']('$textProxy'))_0x44e7cb&&_0x44e7cb[_0x3668('0x25')][_0x3668('0x9')](_0x3668('0x2c'))>-0x1&&_0x569a2a[_0x3668('0x3b')](),_0x44e7cb&&_0x3668('0x2f')==_0x44e7cb[_0x3668('0x25')]?_0x44e7cb[_0x6b58c9]+=_0x122e68['data']:_0x569a2a['push']({'type':_0x3668('0x2f'),'add':_0x3668('0x2e')==_0x6b58c9?_0x122e68['data']:'','remove':'remove'==_0x6b58c9?_0x122e68['data']:''});else{if(this['_schema']['isObject'](_0x122e68)){const _0x486b54=_0x122e68;if(_0x44e7cb&&_0x44e7cb[_0x3668('0x25')][_0x3668('0x9')](_0x3668('0x2c'))>-0x1&&_0x569a2a[_0x3668('0x3b')](),_0x3668('0xd')==_0x4d8ff3[_0x3668('0x25')])continue;_0x44e7cb&&_0x44e7cb[_0x3668('0x25')]==_0x6b58c9+_0x3668('0x4e')&&_0x44e7cb[_0x3668('0x3e')][_0x3668('0x22')]==_0x486b54[_0x3668('0x22')]?_0x44e7cb['quantity']++:_0x569a2a[_0x3668('0x1d')]({'type':_0x6b58c9+_0x3668('0x4e'),'element':_0x486b54,'quantity':0x1}),_0x11dda8[_0x3668('0x3')](_0x3871f6=>!('elementEnd'==_0x3871f6[_0x3668('0x25')]&&_0x3871f6['item']==_0x122e68));}else{if(this[_0x3668('0xa')]['checkChild'](_0x122e68,_0x3668('0x16'))||_0x122e68['is'](_0x3668('0x3e'),_0x3668('0x23'))){const _0x19b8a4=_0x122e68;if('add'==_0x6b58c9&&_0x3668('0x38')==_0x4d8ff3[_0x3668('0x25')]||_0x3668('0x37')==_0x6b58c9&&'elementEnd'==_0x4d8ff3[_0x3668('0x25')])continue;if(_0x44e7cb&&-0x1==_0x44e7cb[_0x3668('0x25')][_0x3668('0x9')](_0x3668('0x2c'))){_0x3668('0x2f')==_0x44e7cb[_0x3668('0x25')]&&(_0x44e7cb[_0x6b58c9]+='\x0a');continue;}let _0x285e37;if(_0x285e37=_0x3668('0x2e')==_0x6b58c9?_0x19b8a4[_0x3668('0x30')]&&!this[_0x3668('0xa')]['isObject'](_0x19b8a4[_0x3668('0x30')])?_0x19b8a4[_0x3668('0x30')]:null:_0x19b8a4[_0x3668('0x6')]&&!this['_schema'][_0x3668('0x8')](_0x19b8a4[_0x3668('0x6')])?_0x19b8a4[_0x3668('0x6')]:null,_0x19b8a4[_0x3668('0x14')]||_0x285e37&&_0x285e37['isEmpty']){const _0x2bb532=_0x285e37&&_0x285e37[_0x3668('0x14')]?_0x285e37:_0x19b8a4;_0x44e7cb&&_0x44e7cb[_0x3668('0x25')]==_0x6b58c9+_0x3668('0xf')&&_0x44e7cb[_0x3668('0x3e')][_0x3668('0x22')]==_0x2bb532['name']?_0x44e7cb['quantity']++:_0x569a2a[_0x3668('0x1d')]({'type':_0x6b58c9+_0x3668('0xf'),'element':_0x2bb532,'quantity':0x1});}else _0x569a2a[_0x3668('0x1d')]({'type':_0x6b58c9+_0x3668('0x2c'),'element':_0x19b8a4});}}}}}['_resolveDescriptionItems'](_0xd7c0ef){const _0x5088b0=this[_0x3668('0x18')],_0xa0c954=[],_0x1b09c7=[],_0x8ec6ed=[];for(const _0x1492ae of _0xd7c0ef)switch(_0x1492ae['type']){case _0x3668('0x2f'):if(_0x1492ae[_0x3668('0x2e')]=_0x1492ae[_0x3668('0x2e')][_0x3668('0x11')](/(\S)\u000A+(\S)/g,_0x3668('0x2a'))[_0x3668('0x11')](/\u000A/g,''),_0x1492ae['remove']=_0x1492ae[_0x3668('0x37')][_0x3668('0x11')](/(\S)\u000A+(\S)/g,_0x3668('0x2a'))[_0x3668('0x11')](/\u000A/g,''),''!=_0x1492ae[_0x3668('0x2e')]&&''!=_0x1492ae['remove']){_0xa0c954['push']({'type':_0x3668('0x11'),'content':_0x373532(_0x5088b0,'REPLACE_TEXT',['\x22'+_0x1492ae[_0x3668('0x37')]+'\x22','\x22'+_0x1492ae[_0x3668('0x2e')]+'\x22'])});continue;}if(null!=_0x1492ae[_0x3668('0x2e')]['match'](/^ +$/)){_0xa0c954[_0x3668('0x1d')]({'type':'insertion','content':_0x373532(_0x5088b0,_0x3668('0x48'),_0x373532(_0x5088b0,'ELEMENT_SPACE',_0x1492ae[_0x3668('0x2e')][_0x3668('0x4c')]))});continue;}if(null!=_0x1492ae['remove'][_0x3668('0x24')](/^ +$/)){_0xa0c954[_0x3668('0x1d')]({'type':'deletion','content':_0x373532(_0x5088b0,_0x3668('0x26'),_0x373532(_0x5088b0,_0x3668('0x4d'),_0x1492ae[_0x3668('0x37')][_0x3668('0x4c')]))});continue;}if(''!=_0x1492ae[_0x3668('0x2e')]){_0xa0c954[_0x3668('0x1d')]({'type':_0x3668('0x42'),'content':_0x373532(_0x5088b0,_0x3668('0x48'),'\x22'+_0x1492ae[_0x3668('0x2e')]+'\x22')});continue;}_0xa0c954[_0x3668('0x1d')]({'type':_0x3668('0x10'),'content':_0x373532(_0x5088b0,'*Remove:*\x20%0','\x22'+_0x1492ae[_0x3668('0x37')]+'\x22')});continue;case'addEmptyContainer':case _0x3668('0x2'):_0xa0c954[_0x3668('0x1d')]({'type':'insertion','content':_0x373532(_0x5088b0,_0x3668('0x48'),this[_0x3668('0x36')](_0x1492ae[_0x3668('0x3e')],_0x1492ae[_0x3668('0x17')]))});continue;case _0x3668('0x0'):case'removeObject':_0xa0c954[_0x3668('0x1d')]({'type':_0x3668('0x10'),'content':_0x373532(_0x5088b0,_0x3668('0x26'),this['getItemLabel'](_0x1492ae[_0x3668('0x3e')],_0x1492ae['quantity']))});continue;case _0x3668('0x33'):_0xa0c954['push']({'type':_0x3668('0x42'),'content':_0x373532(_0x5088b0,_0x3668('0x5'),this[_0x3668('0x36')](_0x1492ae[_0x3668('0x3e')],_0x1492ae[_0x3668('0x17')]))});continue;case _0x3668('0xe'):_0xa0c954[_0x3668('0x1d')]({'type':'deletion','content':_0x373532(_0x5088b0,_0x3668('0x2b'),this[_0x3668('0x36')](_0x1492ae[_0x3668('0x3e')],_0x1492ae[_0x3668('0x17')]))});continue;case _0x3668('0x12'):_0x1b09c7[_0x3668('0x1d')](_0x1492ae['key']);continue;case _0x3668('0x1b'):_0x8ec6ed['push'](_0x1492ae[_0x3668('0x34')]);continue;default:_0xa0c954[_0x3668('0x1d')](_0x1492ae);}if(_0x1b09c7[_0x3668('0x4c')]){const _0x43f39d=_0x1b09c7[_0x3668('0x1f')](_0x26a69a=>this['_attributeLabels']['has'](_0x26a69a)?this[_0x3668('0x1e')][_0x3668('0x19')](_0x26a69a):_0x26a69a)[_0x3668('0x15')](',\x20');_0xa0c954[_0x3668('0x1d')]({'type':'format','content':_0x373532(this[_0x3668('0x18')],'*Set\x20format:*\x20%0',_0x43f39d)});}if(_0x8ec6ed[_0x3668('0x4c')]){const _0x310a76=_0x8ec6ed['map'](_0x575210=>this[_0x3668('0x1e')][_0x3668('0x27')](_0x575210)?this[_0x3668('0x1e')][_0x3668('0x19')](_0x575210):_0x575210)['join'](',\x20');_0xa0c954[_0x3668('0x1d')]({'type':'format','content':_0x373532(this['_locale'],_0x3668('0x4a'),_0x310a76)});}return _0xa0c954;}[_0x3668('0x2d')](_0x19c62f){for(const _0x1705f8 of this[_0x3668('0x44')]){const _0x5e6ce5=_0x1705f8(_0x19c62f);if(_0x5e6ce5&&_0x3668('0x25')in _0x5e6ce5)return _0x5e6ce5;}}[_0x3668('0x20')](_0x3166cc,_0x2279f8){const _0x3e1eb3=_0x2279f8[_0x3668('0x1')],_0x4f2064=void 0x0===_0x3e1eb3[_0x3668('0x31')]?_0x3668('0x1b'):_0x3668('0x12');_0x3166cc[_0x3668('0x1d')]({'type':_0x4f2064,'key':_0x3e1eb3[_0x3668('0x34')]});}[_0x3668('0x32')](_0x1f4051,_0x962f9){_0x1f4051['push']({'type':_0x3668('0x1c'),'content':_0x373532(this[_0x3668('0x18')],_0x3668('0x28'),this[_0x3668('0x36')](_0x962f9['getFirstRange']()['start'][_0x3668('0xc')],0x1))});}[_0x3668('0x49')](_0x4a549f,_0x4ba6f9,_0x53d521){if(this[_0x3668('0x3d')](_0x4a549f,_0x4ba6f9),_0x53d521&&_0x53d521[_0x3668('0x39')]()&&!_0x4ba6f9[_0x3668('0x39')]()[_0x3668('0x21')][_0x3668('0x13')](_0x53d521[_0x3668('0x39')]()[_0x3668('0x41')])){const _0xea433b=_0x4a549f[_0x4a549f[_0x3668('0x4c')]-0x1],_0x501b17=_0x3668('0x42')==_0x4ba6f9[_0x3668('0x25')]?_0x3668('0x2e'):_0x3668('0x37');_0xea433b&&_0x3668('0x2f')==_0xea433b[_0x3668('0x25')]&&(_0xea433b[_0x501b17]+='\x0a');}}}
23
+ const _0x3f89=['isEqual','quantity','removeEmptyContainer','push','$text','getDescriptions','remove','_handleRenameSuggestionDescription','getItemLabel','skip','EmptyContainer','nextSibling','_addDescriptionItems','element','REPLACE_TEXT','_handleInsertRemoveSuggestionDescription','match','softBreak','format','elementEnd','*Split:*\x20%0','elementStart','name','*Remove\x20format:*\x20%0','deletion','indexOf','type','normal','pop','Container','data','_handleCustomCallbackDescription','map','add','_handleAttributeSuggestionDescription','registerAttributeLabel','replace','_customCallbacks','item','isObject','join','registerElementLabel','get','end','previousSibling','addContainer','label','_resolveDescriptionItems','key','attribute','_locale','start','removeContainer','isEmpty','ELEMENT_SPACE','subType','function','_itemLabels','*Insert:*\x20%0','getWalker','removeFormat','_schema','addEmptyContainer','$1\x20$2','text','$textProxy','_attributeLabels','nodeAfter','registerDescriptionCallback','has','set','Object','getFirstRange','length','_itemLabelsCallbacks','insertion','removeObject','*Remove:*\x20%0'];(function(_0x5bd754,_0x3f89bd){const _0x99cf62=function(_0x515699){while(--_0x515699){_0x5bd754['push'](_0x5bd754['shift']());}};_0x99cf62(++_0x3f89bd);}(_0x3f89,0x1e6));const _0x99cf=function(_0x5bd754,_0x3f89bd){_0x5bd754=_0x5bd754-0x0;let _0x99cf62=_0x3f89[_0x5bd754];return _0x99cf62;};import{getTranslation as _0x93902c}from'./utils/common-translations.js';import{priorities as _0x40c40b,insertToPriorityArray as _0x54e3d2}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3c7776}from'./trackchangesediting.js';export default class f{constructor(_0x1e8e42,_0x415142){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this[_0x99cf('0x38')]=[],this['_attributeLabels']=new Map(),this['_schema']=_0x1e8e42,this[_0x99cf('0x20')]=_0x415142;}[_0x99cf('0x41')](_0x31cc22){const _0x1924d9=[],_0x34738c=new Set(),_0x1b58ed=new Set();for(let _0x12b1db=0x0;_0x12b1db<_0x31cc22[_0x99cf('0x37')];_0x12b1db++){const _0x1e7930=_0x31cc22[_0x12b1db];if(!_0x1e7930['isInContent'])continue;const _0x26ce0e=this['_handleCustomCallbackDescription'](_0x1e7930);if(_0x26ce0e){if(null!=_0x1e7930['subType']){if(_0x34738c[_0x99cf('0x33')](_0x1e7930[_0x99cf('0x25')]))continue;_0x34738c['add'](_0x1e7930['subType']);}_0x1924d9[_0x99cf('0x3f')](_0x26ce0e);}else{if(_0x99cf('0x1f')!=_0x1e7930[_0x99cf('0x8')])_0x99cf('0x39')!=_0x1e7930['type']&&_0x99cf('0x6')!=_0x1e7930[_0x99cf('0x8')]||this[_0x99cf('0x4b')](_0x1924d9,_0x1e7930,_0x31cc22[_0x12b1db+0x1]);else{const _0x3c53cd=_0x1e7930[_0x99cf('0xc')][_0x99cf('0x1e')];if(_0x1b58ed[_0x99cf('0x33')](_0x3c53cd))continue;_0x1b58ed[_0x99cf('0xf')](_0x1e7930['data']['key']),_0x3c53cd==_0x3c7776?this[_0x99cf('0x43')](_0x1924d9,_0x1e7930):this[_0x99cf('0x10')](_0x1924d9,_0x1e7930);}}}return this[_0x99cf('0x1d')](_0x1924d9);}[_0x99cf('0x32')](_0x392fce){this[_0x99cf('0x13')][_0x99cf('0x3f')](_0x392fce);}[_0x99cf('0x17')](_0x409ef5,_0x540762,_0x357b0f=_0x40c40b[_0x99cf('0x9')]){_0x99cf('0x26')==typeof _0x409ef5?_0x54e3d2(this[_0x99cf('0x38')],{'matchingCallback':_0x409ef5,'label':_0x540762,'priority':_0x357b0f}):this['_itemLabels']['set'](_0x409ef5,_0x540762);}[_0x99cf('0x11')](_0x5b00f6,_0x247676){this[_0x99cf('0x30')][_0x99cf('0x34')](_0x5b00f6,_0x247676);}[_0x99cf('0x44')](_0x57fffb,_0x3a6ab6=0x1){let _0x51c0d9;for(const _0xb81998 of this[_0x99cf('0x38')])if(_0xb81998['matchingCallback'](_0x57fffb)){_0x51c0d9=_0xb81998[_0x99cf('0x1c')];break;}return _0x51c0d9||(_0x51c0d9=this[_0x99cf('0x27')][_0x99cf('0x18')](_0x57fffb[_0x99cf('0x4')])),_0x51c0d9?_0x51c0d9(_0x3a6ab6):0x1!==_0x3a6ab6?_0x3a6ab6+'\x20'+_0x57fffb[_0x99cf('0x4')]+'s':''+_0x57fffb[_0x99cf('0x4')];}[_0x99cf('0x48')](_0x1f4579,_0x12ea20){const _0x5a9774=_0x12ea20[_0x99cf('0x36')]()[_0x99cf('0x29')](),_0x2be546=_0x99cf('0x39')==_0x12ea20[_0x99cf('0x8')]?_0x99cf('0xf'):'remove';for(const _0x39983f of _0x5a9774){const _0x5c3ca8=_0x39983f['item'],_0x16cbfc=_0x1f4579[_0x1f4579[_0x99cf('0x37')]-0x1];if(_0x5c3ca8['is'](_0x99cf('0x2f')))_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]['indexOf'](_0x99cf('0xb'))>-0x1&&_0x1f4579['pop'](),_0x16cbfc&&'text'==_0x16cbfc[_0x99cf('0x8')]?_0x16cbfc[_0x2be546]+=_0x5c3ca8[_0x99cf('0xc')]:_0x1f4579[_0x99cf('0x3f')]({'type':_0x99cf('0x2e'),'add':_0x99cf('0xf')==_0x2be546?_0x5c3ca8[_0x99cf('0xc')]:'','remove':_0x99cf('0x42')==_0x2be546?_0x5c3ca8[_0x99cf('0xc')]:''});else{if(this[_0x99cf('0x2b')][_0x99cf('0x15')](_0x5c3ca8)){const _0x5d0ada=_0x5c3ca8;if(_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')][_0x99cf('0x7')](_0x99cf('0xb'))>-0x1&&_0x1f4579[_0x99cf('0xa')](),'elementEnd'==_0x39983f[_0x99cf('0x8')])continue;_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]==_0x2be546+_0x99cf('0x35')&&_0x16cbfc[_0x99cf('0x49')][_0x99cf('0x4')]==_0x5d0ada[_0x99cf('0x4')]?_0x16cbfc[_0x99cf('0x3d')]++:_0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+_0x99cf('0x35'),'element':_0x5d0ada,'quantity':0x1}),_0x5a9774[_0x99cf('0x45')](_0x596284=>!(_0x99cf('0x1')==_0x596284[_0x99cf('0x8')]&&_0x596284[_0x99cf('0x14')]==_0x5c3ca8));}else{if(this['_schema']['checkChild'](_0x5c3ca8,_0x99cf('0x40'))||_0x5c3ca8['is'](_0x99cf('0x49'),_0x99cf('0x4d'))){const _0x19a263=_0x5c3ca8;if(_0x99cf('0xf')==_0x2be546&&_0x99cf('0x3')==_0x39983f[_0x99cf('0x8')]||'remove'==_0x2be546&&_0x99cf('0x1')==_0x39983f[_0x99cf('0x8')])continue;if(_0x16cbfc&&-0x1==_0x16cbfc[_0x99cf('0x8')]['indexOf']('Container')){_0x99cf('0x2e')==_0x16cbfc['type']&&(_0x16cbfc[_0x2be546]+='\x0a');continue;}let _0x46bbcd;if(_0x46bbcd=_0x99cf('0xf')==_0x2be546?_0x19a263['nextSibling']&&!this[_0x99cf('0x2b')][_0x99cf('0x15')](_0x19a263[_0x99cf('0x47')])?_0x19a263['nextSibling']:null:_0x19a263['previousSibling']&&!this['_schema']['isObject'](_0x19a263[_0x99cf('0x1a')])?_0x19a263[_0x99cf('0x1a')]:null,_0x19a263[_0x99cf('0x23')]||_0x46bbcd&&_0x46bbcd[_0x99cf('0x23')]){const _0xfdf75e=_0x46bbcd&&_0x46bbcd[_0x99cf('0x23')]?_0x46bbcd:_0x19a263;_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]==_0x2be546+_0x99cf('0x46')&&_0x16cbfc['element'][_0x99cf('0x4')]==_0xfdf75e['name']?_0x16cbfc['quantity']++:_0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+_0x99cf('0x46'),'element':_0xfdf75e,'quantity':0x1});}else _0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+'Container','element':_0x19a263});}}}}}[_0x99cf('0x1d')](_0x160e20){const _0x43b2a2=this['_locale'],_0x3749ac=[],_0x369144=[],_0x423ff6=[];for(const _0x5666ee of _0x160e20)switch(_0x5666ee[_0x99cf('0x8')]){case'text':if(_0x5666ee[_0x99cf('0xf')]=_0x5666ee[_0x99cf('0xf')][_0x99cf('0x12')](/(\S)\u000A+(\S)/g,_0x99cf('0x2d'))['replace'](/\u000A/g,''),_0x5666ee[_0x99cf('0x42')]=_0x5666ee[_0x99cf('0x42')][_0x99cf('0x12')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x99cf('0x12')](/\u000A/g,''),''!=_0x5666ee['add']&&''!=_0x5666ee[_0x99cf('0x42')]){_0x3749ac['push']({'type':_0x99cf('0x12'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x4a'),['\x22'+_0x5666ee[_0x99cf('0x42')]+'\x22','\x22'+_0x5666ee[_0x99cf('0xf')]+'\x22'])});continue;}if(null!=_0x5666ee[_0x99cf('0xf')][_0x99cf('0x4c')](/^ +$/)){_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x39'),'content':_0x93902c(_0x43b2a2,'*Insert:*\x20%0',_0x93902c(_0x43b2a2,'ELEMENT_SPACE',_0x5666ee['add'][_0x99cf('0x37')]))});continue;}if(null!=_0x5666ee[_0x99cf('0x42')]['match'](/^ +$/)){_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),_0x93902c(_0x43b2a2,_0x99cf('0x24'),_0x5666ee['remove'][_0x99cf('0x37')]))});continue;}if(''!=_0x5666ee[_0x99cf('0xf')]){_0x3749ac[_0x99cf('0x3f')]({'type':'insertion','content':_0x93902c(_0x43b2a2,_0x99cf('0x28'),'\x22'+_0x5666ee[_0x99cf('0xf')]+'\x22')});continue;}_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),'\x22'+_0x5666ee[_0x99cf('0x42')]+'\x22')});continue;case _0x99cf('0x2c'):case'addObject':_0x3749ac[_0x99cf('0x3f')]({'type':'insertion','content':_0x93902c(_0x43b2a2,_0x99cf('0x28'),this[_0x99cf('0x44')](_0x5666ee['element'],_0x5666ee[_0x99cf('0x3d')]))});continue;case _0x99cf('0x3e'):case _0x99cf('0x3a'):_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x6'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),this[_0x99cf('0x44')](_0x5666ee[_0x99cf('0x49')],_0x5666ee['quantity']))});continue;case _0x99cf('0x1b'):_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x39'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x2'),this['getItemLabel'](_0x5666ee['element'],_0x5666ee[_0x99cf('0x3d')]))});continue;case _0x99cf('0x22'):_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,'*Merge:*\x20%0',this[_0x99cf('0x44')](_0x5666ee[_0x99cf('0x49')],_0x5666ee[_0x99cf('0x3d')]))});continue;case'addFormat':_0x369144['push'](_0x5666ee[_0x99cf('0x1e')]);continue;case _0x99cf('0x2a'):_0x423ff6['push'](_0x5666ee[_0x99cf('0x1e')]);continue;default:_0x3749ac['push'](_0x5666ee);}if(_0x369144['length']){const _0x1f2e7f=_0x369144[_0x99cf('0xe')](_0x13cbde=>this[_0x99cf('0x30')][_0x99cf('0x33')](_0x13cbde)?this[_0x99cf('0x30')][_0x99cf('0x18')](_0x13cbde):_0x13cbde)[_0x99cf('0x16')](',\x20');_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this['_locale'],'*Set\x20format:*\x20%0',_0x1f2e7f)});}if(_0x423ff6[_0x99cf('0x37')]){const _0x1c2f0e=_0x423ff6['map'](_0x42ffab=>this[_0x99cf('0x30')][_0x99cf('0x33')](_0x42ffab)?this[_0x99cf('0x30')][_0x99cf('0x18')](_0x42ffab):_0x42ffab)['join'](',\x20');_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this[_0x99cf('0x20')],_0x99cf('0x5'),_0x1c2f0e)});}return _0x3749ac;}[_0x99cf('0xd')](_0x2c6823){for(const _0x3a2f0f of this[_0x99cf('0x13')]){const _0x4ab286=_0x3a2f0f(_0x2c6823);if(_0x4ab286&&'type'in _0x4ab286)return _0x4ab286;}}[_0x99cf('0x10')](_0x41750d,_0x44c79d){const _0x3c5745=_0x44c79d['data'],_0x1da75d=void 0x0===_0x3c5745['newValue']?'removeFormat':'addFormat';_0x41750d['push']({'type':_0x1da75d,'key':_0x3c5745['key']});}[_0x99cf('0x43')](_0x577b80,_0x326405){_0x577b80[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this[_0x99cf('0x20')],'*Change\x20to:*\x20%0',this[_0x99cf('0x44')](_0x326405[_0x99cf('0x36')]()[_0x99cf('0x21')][_0x99cf('0x31')],0x1))});}[_0x99cf('0x4b')](_0x1ce7cb,_0x2e6f45,_0x24a54a){if(this[_0x99cf('0x48')](_0x1ce7cb,_0x2e6f45),_0x24a54a&&_0x24a54a['getFirstRange']()&&!_0x2e6f45[_0x99cf('0x36')]()[_0x99cf('0x19')][_0x99cf('0x3c')](_0x24a54a['getFirstRange']()['start'])){const _0x1cec1a=_0x1ce7cb[_0x1ce7cb['length']-0x1],_0x56aea7=_0x99cf('0x39')==_0x2e6f45[_0x99cf('0x8')]?_0x99cf('0xf'):_0x99cf('0x42');_0x1cec1a&&_0x99cf('0x2e')==_0x1cec1a[_0x99cf('0x8')]&&(_0x1cec1a[_0x56aea7]+='\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 _0x5530=['getSuggestion','editor','addSuggestionData','getSuggestions','Comments','requires','get','plugins','adapter'];(function(_0x274512,_0x55305f){var _0x8d564f=function(_0xafaa3a){while(--_0xafaa3a){_0x274512['push'](_0x274512['shift']());}};_0x8d564f(++_0x55305f);}(_0x5530,0x109));var _0x8d56=function(_0x274512,_0x55305f){_0x274512=_0x274512-0x0;var _0x8d564f=_0x5530[_0x274512];return _0x8d564f;};import{Plugin as _0x22d739}from'ckeditor5/src/core';import _0x4b66e5 from'./trackchangesui';import _0x4398e5 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x22d739{static get[_0x8d56('0x1')](){return[_0x4398e5,_0x4b66e5,_0x8d56('0x0')];}static get['pluginName'](){return'TrackChanges';}set[_0x8d56('0x4')](_0x1256f4){this[_0x8d56('0x6')][_0x8d56('0x3')][_0x8d56('0x2')](_0x4398e5)[_0x8d56('0x4')]=_0x1256f4;}get[_0x8d56('0x4')](){return this[_0x8d56('0x6')][_0x8d56('0x3')][_0x8d56('0x2')](_0x4398e5)[_0x8d56('0x4')];}['addSuggestion'](_0x567b97){return this[_0x8d56('0x6')][_0x8d56('0x3')][_0x8d56('0x2')](_0x4398e5)[_0x8d56('0x7')](_0x567b97);}[_0x8d56('0x8')]({skipNotAttached:_0x2ba71d=!0x1,toJSON:_0x44b5c3=!0x1}={}){return this[_0x8d56('0x6')][_0x8d56('0x3')][_0x8d56('0x2')](_0x4398e5)['getSuggestions']({'skipNotAttached':_0x2ba71d,'toJSON':_0x44b5c3});}['getSuggestion'](_0x1ee43b){return this[_0x8d56('0x6')][_0x8d56('0x3')]['get'](_0x4398e5)[_0x8d56('0x5')](_0x1ee43b);}}
23
+ var _0x21ee=['plugins','Comments','getSuggestions','requires','editor','adapter','getSuggestion','get'];(function(_0x1899ea,_0x21eeb5){var _0x5d620d=function(_0x55c24f){while(--_0x55c24f){_0x1899ea['push'](_0x1899ea['shift']());}};_0x5d620d(++_0x21eeb5);}(_0x21ee,0xcb));var _0x5d62=function(_0x1899ea,_0x21eeb5){_0x1899ea=_0x1899ea-0x0;var _0x5d620d=_0x21ee[_0x1899ea];return _0x5d620d;};import{Plugin as _0x1b46d7}from'ckeditor5/src/core.js';import _0x5d1a44 from'./trackchangesui.js';import _0x43750b from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x1b46d7{static get[_0x5d62('0x0')](){return[_0x43750b,_0x5d1a44,_0x5d62('0x6')];}static get['pluginName'](){return'TrackChanges';}set['adapter'](_0x3224c8){this[_0x5d62('0x1')][_0x5d62('0x5')][_0x5d62('0x4')](_0x43750b)[_0x5d62('0x2')]=_0x3224c8;}get[_0x5d62('0x2')](){return this[_0x5d62('0x1')][_0x5d62('0x5')][_0x5d62('0x4')](_0x43750b)[_0x5d62('0x2')];}['addSuggestion'](_0x11cbc8){return this[_0x5d62('0x1')][_0x5d62('0x5')][_0x5d62('0x4')](_0x43750b)['addSuggestionData'](_0x11cbc8);}[_0x5d62('0x7')]({skipNotAttached:_0x5ead7e=!0x1,toJSON:_0x1a3d88=!0x1}={}){return this[_0x5d62('0x1')]['plugins'][_0x5d62('0x4')](_0x43750b)[_0x5d62('0x7')]({'skipNotAttached':_0x5ead7e,'toJSON':_0x1a3d88});}[_0x5d62('0x3')](_0x49f604){return this['editor'][_0x5d62('0x5')][_0x5d62('0x4')](_0x43750b)['getSuggestion'](_0x49f604);}}
@@ -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 _0x4007=['map','createDocumentFragment','model','TrackChangesData','reduce','rootsAttributes','getUser','acceptAllSuggestions','useAnonymousUser','requires','push','Users','set','define','appendChild','name','editor','destroy','result','users','execute','get','discardAllSuggestions','editorCreator','addUser','getRootNames','data','init','getFullData','pluginName','plugins','getDataWithDiscardedSuggestions','config','create','document','_adapter','TrackChangesEditing','trackChangesData','TrackChangesDataGetter','function','trackChangesData.editorCreator','getRootsAttributes','track-changes-data-invalid-editor-creator','getSuggestions','end'];(function(_0x5513a1,_0x400779){const _0xbfcfbd=function(_0x3758f5){while(--_0x3758f5){_0x5513a1['push'](_0x5513a1['shift']());}};_0xbfcfbd(++_0x400779);}(_0x4007,0x1c9));const _0xbfcf=function(_0x5513a1,_0x400779){_0x5513a1=_0x5513a1-0x0;let _0xbfcfbd=_0x4007[_0x5513a1];return _0xbfcfbd;};import{Plugin as _0xfd27ab}from'ckeditor5/src/core';import{CKEditorError as _0x39cf0b}from'ckeditor5/src/utils';import _0x5d0f95 from'./trackchangesediting';import{sanitizeEditorConfig as _0x3be4ae}from'ckeditor5-collaboration/src/collaboration-core';const T=['Pagination'];export default class P extends _0xfd27ab{static get[_0xbfcf('0x2')](){return[_0x5d0f95];}static get[_0xbfcf('0x16')](){return _0xbfcf('0x29');}[_0xbfcf('0x14')](){const _0x20b2b6=this['editor'];if(_0x20b2b6['config'][_0xbfcf('0x6')](_0xbfcf('0x21'),_0x46cad6=>{const _0x10492f=_0x20b2b6['model'][_0xbfcf('0x1b')][_0xbfcf('0x12')]()[_0xbfcf('0x2a')]((_0xc84a60,_0x32a510)=>(_0xc84a60[_0x32a510]='',_0xc84a60),{});return _0x20b2b6['constructor'][_0xbfcf('0x1a')](_0x10492f,_0x46cad6);}),_0xbfcf('0x20')!=typeof _0x20b2b6[_0xbfcf('0x19')][_0xbfcf('0xe')]('trackChangesData')['editorCreator'])throw new _0x39cf0b(_0xbfcf('0x23'));}['getDataWithAcceptedSuggestions'](_0x3b073e){return N(this['editor'],!0x0,_0x3b073e);}[_0xbfcf('0x18')](_0x439407){return N(this[_0xbfcf('0x9')],!0x1,_0x439407);}}class D extends _0xfd27ab{static get[_0xbfcf('0x16')](){return _0xbfcf('0x1f');}constructor(_0xeca25a){super(_0xeca25a),this[_0xbfcf('0xb')]=_0xbfcf('0x25');}[_0xbfcf('0x14')](){this[_0xbfcf('0x9')][_0xbfcf('0x17')][_0xbfcf('0xe')]('CommentsRepository')['_adapter']={'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['editor'][_0xbfcf('0x17')][_0xbfcf('0xe')](_0xbfcf('0x1d'))[_0xbfcf('0x1c')]=null;}}function v(_0xd5503e){return void 0x0!==_0xd5503e['getRootsAttributes'];}async function N(_0x270103,_0xbb65e,_0x4c30d9){const _0x38df77=_0x3be4ae(_0x270103,T);_0x38df77[_0xbfcf('0x17')][_0xbfcf('0x3')](_0x5d0f95,D),_0x38df77[_0xbfcf('0x2b')]=v(_0x270103)?_0x270103[_0xbfcf('0x22')]():void 0x0;const _0x2b5982=document[_0xbfcf('0x27')](),_0x4f5fd9=_0x270103[_0xbfcf('0x19')][_0xbfcf('0xe')](_0xbfcf('0x1e'))[_0xbfcf('0x10')],_0x26df41=await _0x4f5fd9(_0x38df77,()=>function(_0x222e20){const _0x39f167=document['createElement']('div');return _0x222e20[_0xbfcf('0x7')](_0x39f167),_0x39f167;}(_0x2b5982));!function(_0x11d8b2,_0x5031fc){const _0x3b203f=_0x11d8b2[_0xbfcf('0x28')][_0xbfcf('0x1b')][_0xbfcf('0x12')]()[_0xbfcf('0x2a')]((_0x282c12,_0x2a8dec)=>(_0x282c12[_0x2a8dec]=_0x11d8b2['data'][_0xbfcf('0xe')]({'rootName':_0x2a8dec}),_0x282c12),{}),_0x4f2fc9=_0x11d8b2['plugins'][_0xbfcf('0xe')](_0xbfcf('0x4'))[_0xbfcf('0xc')][_0xbfcf('0x26')](_0x4dc8eb=>({'id':_0x4dc8eb['id'],'name':_0x4dc8eb[_0xbfcf('0x8')]})),_0x569c7b=_0x11d8b2['plugins'][_0xbfcf('0xe')](_0xbfcf('0x1d'))[_0xbfcf('0x24')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x326c8c=_0x5031fc[_0xbfcf('0x17')]['get'](_0xbfcf('0x4')),_0x54f7eb=_0x5031fc['plugins'][_0xbfcf('0xe')](_0xbfcf('0x1d'));for(const _0x446b26 of _0x4f2fc9)_0x326c8c[_0xbfcf('0x2c')](_0x446b26['id'])||_0x326c8c[_0xbfcf('0x11')](_0x446b26);_0x326c8c['me']||_0x326c8c[_0xbfcf('0x1')]();for(const _0x3f31ed of _0x569c7b)_0x54f7eb['addSuggestionData'](_0x3f31ed);_0x5031fc['data'][_0xbfcf('0x5')](_0x3b203f);}(_0x270103,_0x26df41),_0x26df41[_0xbfcf('0xd')](_0xbb65e?_0xbfcf('0x0'):_0xbfcf('0xf'));const _0x577eb9=v(_0x26df41)?_0x26df41[_0xbfcf('0x15')](_0x4c30d9):_0x26df41[_0xbfcf('0x13')][_0xbfcf('0xe')](_0x4c30d9);return await _0x26df41[_0xbfcf('0xa')](),_0x577eb9;}
23
+ const _0x4d4e=['getRootsAttributes','name','createDocumentFragment','get','acceptAllSuggestions','data','CommentsRepository','addSuggestionData','addUser','plugins','result','getDataWithDiscardedSuggestions','reduce','getRootNames','editor','function','TrackChangesData','div','destroy','config','end','create','model','set','discardAllSuggestions','_adapter','Pagination','map','users','define','getUser','TrackChangesEditing','appendChild','rootsAttributes','editorCreator','trackChangesData','document','createElement','push','Users','trackChangesData.editorCreator','constructor','init','getSuggestions'];(function(_0x2edbb9,_0x4d4e2c){const _0x3c05ed=function(_0x301abe){while(--_0x301abe){_0x2edbb9['push'](_0x2edbb9['shift']());}};_0x3c05ed(++_0x4d4e2c);}(_0x4d4e,0x129));const _0x3c05=function(_0x2edbb9,_0x4d4e2c){_0x2edbb9=_0x2edbb9-0x0;let _0x3c05ed=_0x4d4e[_0x2edbb9];return _0x3c05ed;};import{Plugin as _0x244113}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d393c}from'ckeditor5/src/utils.js';import _0x3cc579 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x56d37b}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x3c05('0x25')];export default class P extends _0x244113{static get['requires'](){return[_0x3cc579];}static get['pluginName'](){return _0x3c05('0x1b');}['init'](){const _0x35529c=this[_0x3c05('0x19')];if(_0x35529c[_0x3c05('0x1e')][_0x3c05('0x28')](_0x3c05('0x7'),_0x2a23d9=>{const _0x1110a0=_0x35529c[_0x3c05('0x21')][_0x3c05('0x3')]['getRootNames']()[_0x3c05('0x17')]((_0x1d30b4,_0x41a4fa)=>(_0x1d30b4[_0x41a4fa]='',_0x1d30b4),{});return _0x35529c[_0x3c05('0x8')][_0x3c05('0x20')](_0x1110a0,_0x2a23d9);}),_0x3c05('0x1a')!=typeof _0x35529c[_0x3c05('0x1e')][_0x3c05('0xe')]('trackChangesData')[_0x3c05('0x1')])throw new _0x1d393c('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x5e7807){return N(this['editor'],!0x0,_0x5e7807);}[_0x3c05('0x16')](_0xc3fda0){return N(this['editor'],!0x1,_0xc3fda0);}}class D extends _0x244113{static get['pluginName'](){return'TrackChangesDataGetter';}constructor(_0x4f78b5){super(_0x4f78b5),this[_0x3c05('0x15')]=_0x3c05('0x1f');}[_0x3c05('0x9')](){this[_0x3c05('0x19')][_0x3c05('0x14')][_0x3c05('0xe')](_0x3c05('0x11'))[_0x3c05('0x24')]={'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['editor']['plugins'][_0x3c05('0xe')](_0x3c05('0x2a'))['_adapter']=null;}}function v(_0xc59569){return void 0x0!==_0xc59569[_0x3c05('0xb')];}async function N(_0x306173,_0x20196b,_0x552f5c){const _0x519d96=_0x56d37b(_0x306173,T);_0x519d96['plugins'][_0x3c05('0x5')](_0x3cc579,D),_0x519d96[_0x3c05('0x0')]=v(_0x306173)?_0x306173[_0x3c05('0xb')]():void 0x0;const _0x47a9ba=document[_0x3c05('0xd')](),_0xc6c890=_0x306173[_0x3c05('0x1e')]['get'](_0x3c05('0x2'))['editorCreator'],_0xa49248=await _0xc6c890(_0x519d96,()=>function(_0x30922c){const _0x1a428c=document[_0x3c05('0x4')](_0x3c05('0x1c'));return _0x30922c[_0x3c05('0x2b')](_0x1a428c),_0x1a428c;}(_0x47a9ba));!function(_0x9c31da,_0xa02fad){const _0x3958c5=_0x9c31da[_0x3c05('0x21')][_0x3c05('0x3')][_0x3c05('0x18')]()[_0x3c05('0x17')]((_0x29cedf,_0x34537e)=>(_0x29cedf[_0x34537e]=_0x9c31da[_0x3c05('0x10')][_0x3c05('0xe')]({'rootName':_0x34537e}),_0x29cedf),{}),_0x4149a5=_0x9c31da['plugins'][_0x3c05('0xe')](_0x3c05('0x6'))[_0x3c05('0x27')][_0x3c05('0x26')](_0x1912ad=>({'id':_0x1912ad['id'],'name':_0x1912ad[_0x3c05('0xc')]})),_0xcd32cd=_0x9c31da[_0x3c05('0x14')]['get'](_0x3c05('0x2a'))[_0x3c05('0xa')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1d6f11=_0xa02fad[_0x3c05('0x14')][_0x3c05('0xe')](_0x3c05('0x6')),_0x35a6ab=_0xa02fad[_0x3c05('0x14')][_0x3c05('0xe')]('TrackChangesEditing');for(const _0x175745 of _0x4149a5)_0x1d6f11[_0x3c05('0x29')](_0x175745['id'])||_0x1d6f11[_0x3c05('0x13')](_0x175745);_0x1d6f11['me']||_0x1d6f11['useAnonymousUser']();for(const _0x2dc1b2 of _0xcd32cd)_0x35a6ab[_0x3c05('0x12')](_0x2dc1b2);_0xa02fad[_0x3c05('0x10')][_0x3c05('0x22')](_0x3958c5);}(_0x306173,_0xa49248),_0xa49248['execute'](_0x20196b?_0x3c05('0xf'):_0x3c05('0x23'));const _0x7ff9d5=v(_0xa49248)?_0xa49248['getFullData'](_0x552f5c):_0xa49248['data'][_0x3c05('0xe')](_0x552f5c);return await _0xa49248[_0x3c05('0x1d')](),_0x7ff9d5;}
@@ -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