@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 _0x3ed5=['_suggestions','getRanges','model','canEditAt','execute','refresh','some','isInContent','values','_isEnabledBasedOnSelection','editor','_command','from','isEnabled'];(function(_0x3b5aa1,_0x3ed55e){const _0x393a8d=function(_0x55af41){while(--_0x55af41){_0x3b5aa1['push'](_0x3b5aa1['shift']());}};_0x393a8d(++_0x3ed55e);}(_0x3ed5,0x15d));const _0x393a=function(_0x3b5aa1,_0x3ed55e){_0x3b5aa1=_0x3b5aa1-0x0;let _0x393a8d=_0x3ed5[_0x3b5aa1];return _0x393a8d;};import{Command as _0x250d4e}from'ckeditor5/src/core';import{sortSuggestions as _0x513e10,executeCommandForSuggestions as _0x9ad544}from'../utils/utils';export default class E extends _0x250d4e{constructor(_0x30dac9,_0x660826,_0x46eebe){super(_0x30dac9),this[_0x393a('0xc')]=_0x660826,this[_0x393a('0x1')]=_0x46eebe,this[_0x393a('0x6')](),this[_0x393a('0xa')]=!0x1;}[_0x393a('0x6')](){const _0x551213=Array[_0x393a('0xd')](this[_0x393a('0x1')][_0x393a('0x9')]())[_0x393a('0x7')](_0x4d2665=>_0x4d2665[_0x393a('0x8')]);this['isEnabled']=this[_0x393a('0xc')][_0x393a('0x0')]&&_0x551213;}[_0x393a('0x5')](){const _0x133a86=_0x513e10(Array['from'](this[_0x393a('0x1')][_0x393a('0x9')]()));for(const _0xa7c119 of _0x133a86){const _0x1621d6=_0xa7c119[_0x393a('0x2')]();if(!this[_0x393a('0xb')][_0x393a('0x3')][_0x393a('0x4')](_0x1621d6))return;}_0x9ad544(this[_0x393a('0xb')]['model'],this[_0x393a('0xc')],_0x133a86);}}
23
+ const _0x14e0=['getRanges','_command','isInContent','refresh','from','some','_isEnabledBasedOnSelection','isEnabled','editor','model','canEditAt','values','execute','_suggestions'];(function(_0x37af36,_0x14e019){const _0x4ebea8=function(_0x15c745){while(--_0x15c745){_0x37af36['push'](_0x37af36['shift']());}};_0x4ebea8(++_0x14e019);}(_0x14e0,0x14e));const _0x4ebe=function(_0x37af36,_0x14e019){_0x37af36=_0x37af36-0x0;let _0x4ebea8=_0x14e0[_0x37af36];return _0x4ebea8;};import{Command as _0x125acd}from'ckeditor5/src/core.js';import{sortSuggestions as _0x4c3856,executeCommandForSuggestions as _0x543638}from'../utils/utils.js';export default class x extends _0x125acd{constructor(_0x1bbb8a,_0x4e9038,_0x519f26){super(_0x1bbb8a),this[_0x4ebe('0x3')]=_0x4e9038,this[_0x4ebe('0x1')]=_0x519f26,this[_0x4ebe('0x5')](),this[_0x4ebe('0x8')]=!0x1;}[_0x4ebe('0x5')](){const _0x59d578=Array[_0x4ebe('0x6')](this['_suggestions']['values']())[_0x4ebe('0x7')](_0x577b32=>_0x577b32[_0x4ebe('0x4')]);this['isEnabled']=this[_0x4ebe('0x3')][_0x4ebe('0x9')]&&_0x59d578;}[_0x4ebe('0x0')](){const _0x480b20=_0x4c3856(Array[_0x4ebe('0x6')](this['_suggestions'][_0x4ebe('0xd')]()));for(const _0x5a3bdc of _0x480b20){const _0x4814b7=_0x5a3bdc[_0x4ebe('0x2')]();if(!this[_0x4ebe('0xa')][_0x4ebe('0xb')][_0x4ebe('0xc')](_0x4814b7))return;}_0x543638(this[_0x4ebe('0xa')]['model'],this[_0x4ebe('0x3')],_0x480b20);}}
@@ -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/commands/executeonselectedsuggestionscommand
7
7
  * @publicApi
8
8
  */
9
- import { Command, type Editor } from 'ckeditor5/src/core';
10
- import type Suggestion from '../suggestion';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import type Suggestion from '../suggestion.js';
11
11
  /**
12
12
  * A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
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 _0x175d=['getRanges','_suggestions','refresh','size','from','isEnabled','_isEnabledBasedOnSelection','canEditAt','model','values','editor','selection','_selectedSuggestions','_command'];(function(_0x5cb683,_0x175d5f){const _0x58670d=function(_0x2160b7){while(--_0x2160b7){_0x5cb683['push'](_0x5cb683['shift']());}};_0x58670d(++_0x175d5f);}(_0x175d,0x1e9));const _0x5867=function(_0x5cb683,_0x175d5f){_0x5cb683=_0x5cb683-0x0;let _0x58670d=_0x175d[_0x5cb683];return _0x58670d;};import{Command as _0x12a957}from'ckeditor5/src/core';import{sortSuggestions as _0x243297,getSelectedSuggestions as _0x403371,executeCommandForSuggestions as _0x31dd74}from'../utils/utils';export default class R extends _0x12a957{constructor(_0xe9fc15,_0x31d87f,_0x13e308){super(_0xe9fc15),this[_0x5867('0x0')]=_0x31d87f,this[_0x5867('0x2')]=_0x13e308,this['_selectedSuggestions']=new Set(),this[_0x5867('0x3')](),this[_0x5867('0x7')]=!0x1;}[_0x5867('0x3')](){const _0x2fd0d2=this[_0x5867('0xb')][_0x5867('0x9')]['document'][_0x5867('0xc')],_0x165b8e=Array[_0x5867('0x5')](this['_suggestions'][_0x5867('0xa')]());this[_0x5867('0xd')]=_0x403371(_0x2fd0d2,_0x165b8e),this[_0x5867('0x6')]=this[_0x5867('0x0')]['isEnabled']&&!!this[_0x5867('0xd')][_0x5867('0x4')];}['execute'](){const _0x492b64=_0x243297(Array[_0x5867('0x5')](this[_0x5867('0xd')]));for(const _0x21f95d of _0x492b64){const _0x58a1d8=_0x21f95d[_0x5867('0x1')]();if(!this[_0x5867('0xb')][_0x5867('0x9')][_0x5867('0x8')](_0x58a1d8))return;}_0x31dd74(this[_0x5867('0xb')][_0x5867('0x9')],this[_0x5867('0x0')],_0x492b64);}}
23
+ const _0x3803=['size','getRanges','from','_isEnabledBasedOnSelection','isEnabled','_selectedSuggestions','selection','_suggestions','editor','model','_command','execute','refresh'];(function(_0x38c088,_0x380324){const _0x4dd8e3=function(_0x1c5933){while(--_0x1c5933){_0x38c088['push'](_0x38c088['shift']());}};_0x4dd8e3(++_0x380324);}(_0x3803,0x152));const _0x4dd8=function(_0x38c088,_0x380324){_0x38c088=_0x38c088-0x0;let _0x4dd8e3=_0x3803[_0x38c088];return _0x4dd8e3;};import{Command as _0x14a7ad}from'ckeditor5/src/core.js';import{sortSuggestions as _0x3b5a1d,getSelectedSuggestions as _0x3c5c11,executeCommandForSuggestions as _0x46fdf8}from'../utils/utils.js';export default class R extends _0x14a7ad{constructor(_0x347ff3,_0x156953,_0xf0bd33){super(_0x347ff3),this[_0x4dd8('0xa')]=_0x156953,this[_0x4dd8('0x7')]=_0xf0bd33,this['_selectedSuggestions']=new Set(),this[_0x4dd8('0xc')](),this[_0x4dd8('0x3')]=!0x1;}[_0x4dd8('0xc')](){const _0x36a3e1=this[_0x4dd8('0x8')][_0x4dd8('0x9')]['document'][_0x4dd8('0x6')],_0x37840c=Array[_0x4dd8('0x2')](this['_suggestions']['values']());this[_0x4dd8('0x5')]=_0x3c5c11(_0x36a3e1,_0x37840c),this[_0x4dd8('0x4')]=this[_0x4dd8('0xa')][_0x4dd8('0x4')]&&!!this['_selectedSuggestions'][_0x4dd8('0x0')];}[_0x4dd8('0xb')](){const _0x486e5c=_0x3b5a1d(Array[_0x4dd8('0x2')](this[_0x4dd8('0x5')]));for(const _0x3b7c99 of _0x486e5c){const _0x547e85=_0x3b7c99[_0x4dd8('0x1')]();if(!this['editor'][_0x4dd8('0x9')]['canEditAt'](_0x547e85))return;}_0x46fdf8(this[_0x4dd8('0x8')][_0x4dd8('0x9')],this[_0x4dd8('0xa')],_0x486e5c);}}
@@ -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/commands/trackchangescommand
7
7
  * @publicApi
8
8
  */
9
- import { Command, type Editor } from 'ckeditor5/src/core';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
10
  /**
11
11
  * Turns the track changes mode on and off.
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
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50b4=['has','_enableCommands','_isEnabledBasedOnSelection','TrackChangesCommand','_enabledCommands','clearForceDisabled','commands','affectsData','forceDisabled','_disableUnsupportedCommands','value','editor','refresh'];(function(_0x2c62d6,_0x50b46d){const _0x5956d2=function(_0x2150b2){while(--_0x2150b2){_0x2c62d6['push'](_0x2c62d6['shift']());}};_0x5956d2(++_0x50b46d);}(_0x50b4,0x6f));const _0x5956=function(_0x2c62d6,_0x50b46d){_0x2c62d6=_0x2c62d6-0x0;let _0x5956d2=_0x50b4[_0x2c62d6];return _0x5956d2;};import{Command as _0x3f5c43}from'ckeditor5/src/core';export default class $ extends _0x3f5c43{constructor(_0x54d2aa,_0x133e0e){super(_0x54d2aa),this['_enabledCommands']=_0x133e0e,this['value']=!0x1,this[_0x5956('0x5')](),this[_0x5956('0x8')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0x5956('0x3')],this[_0x5956('0x3')]?this[_0x5956('0x2')]():this[_0x5956('0x7')]();}[_0x5956('0x2')](){for(const _0x28a3ed of this[_0x5956('0x4')][_0x5956('0xc')][_0x5956('0xc')]())_0x28a3ed[_0x5956('0x0')]&&!this['_enabledCommands'][_0x5956('0x6')](_0x28a3ed)&&_0x28a3ed[_0x5956('0x1')](_0x5956('0x9'));}[_0x5956('0x7')](){for(const _0xc0aed3 of this[_0x5956('0x4')]['commands'][_0x5956('0xc')]())_0xc0aed3['affectsData']&&!this[_0x5956('0xa')]['has'](_0xc0aed3)&&_0xc0aed3[_0x5956('0xb')](_0x5956('0x9'));}}
23
+ const _0x10f8=['refresh','forceDisabled','TrackChangesCommand','affectsData','commands','_enabledCommands','_disableUnsupportedCommands','execute','_enableCommands','editor','clearForceDisabled','value','isEnabled','has','_isEnabledBasedOnSelection'];(function(_0x69335c,_0x10f8f0){const _0xc8b702=function(_0x4f84de){while(--_0x4f84de){_0x69335c['push'](_0x69335c['shift']());}};_0xc8b702(++_0x10f8f0);}(_0x10f8,0x7f));const _0xc8b7=function(_0x69335c,_0x10f8f0){_0x69335c=_0x69335c-0x0;let _0xc8b702=_0x10f8[_0x69335c];return _0xc8b702;};import{Command as _0x52d8de}from'ckeditor5/src/core.js';export default class M extends _0x52d8de{constructor(_0x34cd0f,_0x37c997){super(_0x34cd0f),this['_enabledCommands']=_0x37c997,this[_0xc8b7('0x4')]=!0x1,this['refresh'](),this[_0xc8b7('0x7')]=!0x1;}[_0xc8b7('0x8')](){this[_0xc8b7('0x5')]=!0x0;}[_0xc8b7('0x0')](){this[_0xc8b7('0x4')]=!this[_0xc8b7('0x4')],this['value']?this[_0xc8b7('0xe')]():this[_0xc8b7('0x1')]();}[_0xc8b7('0xe')](){for(const _0x5069e2 of this[_0xc8b7('0x2')][_0xc8b7('0xc')][_0xc8b7('0xc')]())_0x5069e2[_0xc8b7('0xb')]&&!this[_0xc8b7('0xd')][_0xc8b7('0x6')](_0x5069e2)&&_0x5069e2[_0xc8b7('0x9')]('TrackChangesCommand');}[_0xc8b7('0x1')](){for(const _0x40175c of this[_0xc8b7('0x2')][_0xc8b7('0xc')]['commands']())_0x40175c[_0xc8b7('0xb')]&&!this['_enabledCommands'][_0xc8b7('0x6')](_0x40175c)&&_0x40175c[_0xc8b7('0x3')](_0xc8b7('0xa'));}}
package/src/index.d.ts CHANGED
@@ -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
- export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges';
6
- export { default as TrackChangesData } from './trackchangesdata';
7
- export { default as TrackChangesEditing } from './trackchangesediting';
8
- export type { SuggestionJSON } from './suggestion';
9
- export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
10
- export type { TrackChangesConfig } from './trackchangesconfig';
11
- export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
12
- export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
13
- export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
14
- export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
15
- export type { default as TrackChangesCommand } from './commands/trackchangescommand';
16
- import './augmentation';
5
+ export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges.js';
6
+ export { default as TrackChangesData } from './trackchangesdata.js';
7
+ export { default as TrackChangesEditing } from './trackchangesediting.js';
8
+ export type { SuggestionJSON } from './suggestion.js';
9
+ export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview.js';
10
+ export type { TrackChangesConfig } from './trackchangesconfig.js';
11
+ export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand.js';
12
+ export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand.js';
13
+ export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand.js';
14
+ export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand.js';
15
+ export type { default as TrackChangesCommand } from './commands/trackchangescommand.js';
16
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -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
- export{default as TrackChanges}from'./trackchanges';export{default as TrackChangesData}from'./trackchangesdata';export{default as TrackChangesEditing}from'./trackchangesediting';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview';import'./augmentation';
23
+ export{default as TrackChanges}from'./trackchanges.js';export{default as TrackChangesData}from'./trackchangesdata.js';export{default as TrackChangesEditing}from'./trackchangesediting.js';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview.js';import'./augmentation.js';
@@ -1,11 +1,11 @@
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/integrations/aiassistant
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for the AI Assistant feature.
11
11
  */
@@ -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 _0x5366=['TrackChangesEditing','editor','get','afterInit','commands','showAIAssistant','enableCommand'];(function(_0x11256d,_0x5366df){const _0x12b789=function(_0x58e953){while(--_0x58e953){_0x11256d['push'](_0x11256d['shift']());}};_0x12b789(++_0x5366df);}(_0x5366,0xac));const _0x12b7=function(_0x11256d,_0x5366df){_0x11256d=_0x11256d-0x0;let _0x12b789=_0x5366[_0x11256d];return _0x12b789;};import{Plugin as _0x3318ae}from'ckeditor5/src/core';export default class j extends _0x3318ae{[_0x12b7('0x6')](){const _0x1d4ecb=this[_0x12b7('0x4')],_0x597f2f=_0x1d4ecb['plugins'][_0x12b7('0x5')](_0x12b7('0x3'));_0x1d4ecb[_0x12b7('0x0')][_0x12b7('0x5')]('showAIAssistant')&&_0x597f2f[_0x12b7('0x2')](_0x12b7('0x1'));}}
23
+ const _0xd4f0=['get','commands','editor','showAIAssistant','enableCommand','plugins'];(function(_0x3d3e80,_0xd4f05d){const _0x1fbf4c=function(_0x43f732){while(--_0x43f732){_0x3d3e80['push'](_0x3d3e80['shift']());}};_0x1fbf4c(++_0xd4f05d);}(_0xd4f0,0x165));const _0x1fbf=function(_0x3d3e80,_0xd4f05d){_0x3d3e80=_0x3d3e80-0x0;let _0x1fbf4c=_0xd4f0[_0x3d3e80];return _0x1fbf4c;};import{Plugin as _0x17db8f}from'ckeditor5/src/core.js';export default class E extends _0x17db8f{['afterInit'](){const _0x51c510=this[_0x1fbf('0x5')],_0x3d84fb=_0x51c510[_0x1fbf('0x2')][_0x1fbf('0x3')]('TrackChangesEditing');_0x51c510[_0x1fbf('0x4')][_0x1fbf('0x3')]('showAIAssistant')&&_0x3d84fb[_0x1fbf('0x1')](_0x1fbf('0x0'));}}
@@ -1,11 +1,11 @@
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/integrations/alignment
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for alignment feature.
11
11
  */
@@ -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 _0x3ccf=['value','_descriptionFactory','TrackChangesEditing','_registerLegacyDescription','left','afterInit','FORMAT_ALIGN_TO_RIGHT','editor','commandParams','get','format','right','FORMAT_ALIGN_TO_CENTER','*Format:*\x20%0','locale','FORMAT_ALIGN_TO_LEFT','type','FORMAT_JUSTIFY_TEXT','AlignmentEditing','alignment','_enableDefaultAttributesIntegration','plugins','commandName','has'];(function(_0x23d2a3,_0x3ccf23){const _0x15e248=function(_0x6eeb22){while(--_0x6eeb22){_0x23d2a3['push'](_0x23d2a3['shift']());}};_0x15e248(++_0x3ccf23);}(_0x3ccf,0xfa));const _0x15e2=function(_0x23d2a3,_0x3ccf23){_0x23d2a3=_0x23d2a3-0x0;let _0x15e248=_0x3ccf[_0x23d2a3];return _0x15e248;};import{Plugin as _0xc985d8}from'ckeditor5/src/core';import{getTranslation as _0x42acf0}from'../utils/common-translations';export default class U extends _0xc985d8{[_0x15e2('0x13')](){const _0x271f1d=this[_0x15e2('0x15')],_0xa208e1=_0x271f1d[_0x15e2('0x4')];if(!_0x271f1d[_0x15e2('0xb')][_0x15e2('0xd')](_0x15e2('0x8')))return;const _0x1b6e8d=_0x271f1d[_0x15e2('0xb')]['get'](_0x15e2('0x10'));_0x1b6e8d[_0x15e2('0xa')](_0x15e2('0x9'),[],[_0x15e2('0x9')]),_0x1b6e8d[_0x15e2('0xf')]['registerAttributeLabel'](_0x15e2('0x9'),_0x42acf0(_0xa208e1,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}[_0x15e2('0x11')](){const _0x1336b4=this[_0x15e2('0x15')],_0x1937a8=_0x1336b4['locale'];_0x1336b4[_0x15e2('0xb')][_0x15e2('0x17')](_0x15e2('0x10'))[_0x15e2('0xf')]['registerDescriptionCallback'](_0xfc32ce=>{if('formatBlock'!=_0xfc32ce[_0x15e2('0x6')])return;const {data:_0x1baf4f}=_0xfc32ce;if(_0x1baf4f&&_0x15e2('0x9')==_0x1baf4f[_0x15e2('0xc')]){const _0x41c076=_0x1baf4f[_0x15e2('0x16')][0x0][_0x15e2('0xe')];return{'type':_0x15e2('0x0'),'content':_0x42acf0(_0x1937a8,_0x15e2('0x3'),function(_0x40b3bb){switch(_0x40b3bb){case _0x15e2('0x12'):return _0x42acf0(_0x1937a8,_0x15e2('0x5'));case _0x15e2('0x1'):return _0x42acf0(_0x1937a8,_0x15e2('0x14'));case'center':return _0x42acf0(_0x1937a8,_0x15e2('0x2'));case'justify':return _0x42acf0(_0x1937a8,_0x15e2('0x7'));}}(_0x41c076))};}});}}
23
+ const _0x2032=['*Format:*\x20%0','alignment','commandParams','FORMAT_ALIGNMENT','right','registerAttributeLabel','FORMAT_JUSTIFY_TEXT','type','TrackChangesEditing','plugins','FORMAT_ALIGN_TO_CENTER','locale','_descriptionFactory','editor','value','FORMAT_ALIGN_TO_RIGHT','format','_enableDefaultAttributesIntegration','get','_registerLegacyDescription'];(function(_0x2447ae,_0x203204){const _0x1dd756=function(_0x54a803){while(--_0x54a803){_0x2447ae['push'](_0x2447ae['shift']());}};_0x1dd756(++_0x203204);}(_0x2032,0xfc));const _0x1dd7=function(_0x2447ae,_0x203204){_0x2447ae=_0x2447ae-0x0;let _0x1dd756=_0x2032[_0x2447ae];return _0x1dd756;};import{Plugin as _0x142e55}from'ckeditor5/src/core.js';import{getTranslation as _0x2495fa}from'../utils/common-translations.js';export default class V extends _0x142e55{['afterInit'](){const _0x3d9842=this[_0x1dd7('0x1')],_0x5213ea=_0x3d9842[_0x1dd7('0x13')];if(!_0x3d9842[_0x1dd7('0x11')]['has']('AlignmentEditing'))return;const _0x40e358=_0x3d9842[_0x1dd7('0x11')][_0x1dd7('0x6')](_0x1dd7('0x10'));_0x40e358[_0x1dd7('0x5')](_0x1dd7('0x9'),[],[_0x1dd7('0x9')]),_0x40e358[_0x1dd7('0x0')][_0x1dd7('0xd')](_0x1dd7('0x9'),_0x2495fa(_0x5213ea,_0x1dd7('0xb'))),this[_0x1dd7('0x7')]();}[_0x1dd7('0x7')](){const _0x30f8b3=this['editor'],_0x427c5f=_0x30f8b3[_0x1dd7('0x13')];_0x30f8b3['plugins'][_0x1dd7('0x6')](_0x1dd7('0x10'))[_0x1dd7('0x0')]['registerDescriptionCallback'](_0x1c6e5f=>{if('formatBlock'!=_0x1c6e5f[_0x1dd7('0xf')])return;const {data:_0x341309}=_0x1c6e5f;if(_0x341309&&_0x1dd7('0x9')==_0x341309['commandName']){const _0x575e82=_0x341309[_0x1dd7('0xa')][0x0][_0x1dd7('0x2')];return{'type':_0x1dd7('0x4'),'content':_0x2495fa(_0x427c5f,_0x1dd7('0x8'),function(_0x14fd5f){switch(_0x14fd5f){case'left':return _0x2495fa(_0x427c5f,'FORMAT_ALIGN_TO_LEFT');case _0x1dd7('0xc'):return _0x2495fa(_0x427c5f,_0x1dd7('0x3'));case'center':return _0x2495fa(_0x427c5f,_0x1dd7('0x12'));case'justify':return _0x2495fa(_0x427c5f,_0x1dd7('0xe'));}}(_0x575e82))};}});}}
@@ -1,11 +1,11 @@
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/integrations/basicstyles
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for basic styles features.
11
11
  */
@@ -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 _0x3a13=['type','*Remove\x20format:*\x20%0','TrackChangesEditing','toUpperCase','FORMAT_BOLD','registerDescriptionCallback','superscript','_descriptionFactory','locale','CodeEditing','plugins','FORMAT_CODE','FORMAT_ITALIC','format','SubscriptEditing','commandName','editor','BoldEditing','has','toLowerCase','SuperscriptEditing','FORMAT_SUBSCRIPT','FORMAT_STRIKETHROUGH','code','FORMAT_UNDERLINE','formatInline','_enableDefaultAttributesIntegration','FORMAT_SUPERSCRIPT','underline','get','subscript','registerAttributeLabel','italic','*Format:*\x20%0','FORMAT_'];(function(_0x30b94e,_0x3a13a4){const _0x60a2c=function(_0x352643){while(--_0x352643){_0x30b94e['push'](_0x30b94e['shift']());}};_0x60a2c(++_0x3a13a4);}(_0x3a13,0x130));const _0x60a2=function(_0x30b94e,_0x3a13a4){_0x30b94e=_0x30b94e-0x0;let _0x60a2c=_0x3a13[_0x30b94e];return _0x60a2c;};import{Plugin as _0x504fc3}from'ckeditor5/src/core';import{getTranslation as _0x46f1e9}from'../utils/common-translations';const ti=[_0x60a2('0x1c'),'ItalicEditing','UnderlineEditing',_0x60a2('0x14'),'StrikethroughEditing',_0x60a2('0x19'),_0x60a2('0x1f')];export default class O extends _0x504fc3{['afterInit'](){const _0x29d53b=this[_0x60a2('0x1b')],_0x51f878=_0x29d53b[_0x60a2('0x15')][_0x60a2('0x5')](_0x60a2('0xd')),_0x546c54=_0x29d53b[_0x60a2('0x13')];for(const _0x9f5ea8 of ti){if(!_0x29d53b[_0x60a2('0x15')][_0x60a2('0x1d')](_0x9f5ea8))continue;const _0x7a755b=_0x9f5ea8['slice'](0x0,-0x7)[_0x60a2('0x1e')](),_0x15f76c=_0x60a2('0xa')+_0x7a755b[_0x60a2('0xe')]();_0x51f878[_0x60a2('0x2')](_0x7a755b,[_0x7a755b]),_0x51f878[_0x60a2('0x12')][_0x60a2('0x7')](_0x7a755b,_0x46f1e9(_0x546c54,_0x15f76c));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x48d2d9=this[_0x60a2('0x1b')],_0x41c5d6=_0x48d2d9[_0x60a2('0x13')],_0x1dfd74=_0x48d2d9[_0x60a2('0x15')][_0x60a2('0x5')](_0x60a2('0xd'));function _0xb46a58(_0x4e1e0,_0x54323b){_0x1dfd74[_0x60a2('0x12')][_0x60a2('0x10')](_0x51e08d=>{if(_0x60a2('0x1')!=_0x51e08d[_0x60a2('0xb')])return;const {data:_0x1bbde1}=_0x51e08d;return _0x1bbde1&&_0x1bbde1[_0x60a2('0x1a')]===_0x4e1e0?_0x1bbde1['commandParams'][0x0]['forceValue']?{'type':_0x60a2('0x18'),'content':_0x46f1e9(_0x41c5d6,_0x60a2('0x9'),_0x54323b)}:{'type':_0x60a2('0x18'),'content':_0x46f1e9(_0x41c5d6,_0x60a2('0xc'),_0x54323b)}:void 0x0;});}_0xb46a58('bold',_0x46f1e9(_0x41c5d6,_0x60a2('0xf'))),_0xb46a58(_0x60a2('0x8'),_0x46f1e9(_0x41c5d6,_0x60a2('0x17'))),_0xb46a58(_0x60a2('0x4'),_0x46f1e9(_0x41c5d6,_0x60a2('0x0'))),_0xb46a58(_0x60a2('0x22'),_0x46f1e9(_0x41c5d6,_0x60a2('0x16'))),_0xb46a58('strikethrough',_0x46f1e9(_0x41c5d6,_0x60a2('0x21'))),_0xb46a58(_0x60a2('0x6'),_0x46f1e9(_0x41c5d6,_0x60a2('0x20'))),_0xb46a58(_0x60a2('0x11'),_0x46f1e9(_0x41c5d6,_0x60a2('0x3')));}}
23
+ const _0x569a=['FORMAT_SUPERSCRIPT','commandName','code','FORMAT_','subscript','*Format:*\x20%0','format','TrackChangesEditing','locale','type','strikethrough','*Remove\x20format:*\x20%0','_registerLegacyDescription','UnderlineEditing','FORMAT_UNDERLINE','slice','BoldEditing','italic','has','toLowerCase','FORMAT_BOLD','registerAttributeLabel','get','toUpperCase','plugins','afterInit','FORMAT_SUBSCRIPT','editor','superscript'];(function(_0x105fe3,_0x569a17){const _0x58f79f=function(_0x1b0da6){while(--_0x1b0da6){_0x105fe3['push'](_0x105fe3['shift']());}};_0x58f79f(++_0x569a17);}(_0x569a,0xa8));const _0x58f7=function(_0x105fe3,_0x569a17){_0x105fe3=_0x105fe3-0x0;let _0x58f79f=_0x569a[_0x105fe3];return _0x58f79f;};import{Plugin as _0x18f3e7}from'ckeditor5/src/core.js';import{getTranslation as _0x5f4129}from'../utils/common-translations.js';const ti=[_0x58f7('0x16'),'ItalicEditing',_0x58f7('0x13'),'CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class U extends _0x18f3e7{[_0x58f7('0x2')](){const _0x57e59e=this[_0x58f7('0x4')],_0x2f007a=_0x57e59e['plugins']['get']('TrackChangesEditing'),_0x384385=_0x57e59e[_0x58f7('0xe')];for(const _0x4e5bef of ti){if(!_0x57e59e[_0x58f7('0x1')][_0x58f7('0x18')](_0x4e5bef))continue;const _0x51e0ce=_0x4e5bef[_0x58f7('0x15')](0x0,-0x7)[_0x58f7('0x19')](),_0xdb4d00=_0x58f7('0x9')+_0x51e0ce[_0x58f7('0x0')]();_0x2f007a['_enableDefaultAttributesIntegration'](_0x51e0ce,[_0x51e0ce]),_0x2f007a['_descriptionFactory'][_0x58f7('0x1b')](_0x51e0ce,_0x5f4129(_0x384385,_0xdb4d00));}this[_0x58f7('0x12')]();}[_0x58f7('0x12')](){const _0x2d2442=this[_0x58f7('0x4')],_0xe4537d=_0x2d2442[_0x58f7('0xe')],_0x5ccfd9=_0x2d2442[_0x58f7('0x1')][_0x58f7('0x1c')](_0x58f7('0xd'));function _0x32b5c8(_0x485b64,_0x190c78){_0x5ccfd9['_descriptionFactory']['registerDescriptionCallback'](_0x434058=>{if('formatInline'!=_0x434058[_0x58f7('0xf')])return;const {data:_0x2ab567}=_0x434058;return _0x2ab567&&_0x2ab567[_0x58f7('0x7')]===_0x485b64?_0x2ab567['commandParams'][0x0]['forceValue']?{'type':_0x58f7('0xc'),'content':_0x5f4129(_0xe4537d,_0x58f7('0xb'),_0x190c78)}:{'type':_0x58f7('0xc'),'content':_0x5f4129(_0xe4537d,_0x58f7('0x11'),_0x190c78)}:void 0x0;});}_0x32b5c8('bold',_0x5f4129(_0xe4537d,_0x58f7('0x1a'))),_0x32b5c8(_0x58f7('0x17'),_0x5f4129(_0xe4537d,'FORMAT_ITALIC')),_0x32b5c8('underline',_0x5f4129(_0xe4537d,_0x58f7('0x14'))),_0x32b5c8(_0x58f7('0x8'),_0x5f4129(_0xe4537d,'FORMAT_CODE')),_0x32b5c8(_0x58f7('0x10'),_0x5f4129(_0xe4537d,'FORMAT_STRIKETHROUGH')),_0x32b5c8(_0x58f7('0xa'),_0x5f4129(_0xe4537d,_0x58f7('0x3'))),_0x32b5c8(_0x58f7('0x5'),_0x5f4129(_0xe4537d,_0x58f7('0x6')));}}
@@ -1,11 +1,11 @@
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/integrations/blockquote
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for block quote feature.
11
11
  */
@@ -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 _0x2257=['TrackChangesEditing','markBlockFormat','commandParams','plugins','schema','afterInit','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','name','locale','model','commands','blockQuote','$root','selection','editor','get','checkChild','forceValue','registerDescriptionCallback','getSelectedBlocks','format','commandName','value','from','*Set\x20format:*\x20%0','filter','parent','has'];(function(_0x594d0e,_0x225731){const _0x360712=function(_0x24537b){while(--_0x24537b){_0x594d0e['push'](_0x594d0e['shift']());}};_0x360712(++_0x225731);}(_0x2257,0x1db));const _0x3607=function(_0x594d0e,_0x225731){_0x594d0e=_0x594d0e-0x0;let _0x360712=_0x2257[_0x594d0e];return _0x360712;};import{Plugin as _0x1c01cc}from'ckeditor5/src/core';import{getTranslation as _0x1c414c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x326436}from'../utils/utils';export default class V extends _0x1c01cc{[_0x3607('0x17')](){const _0x108108=this[_0x3607('0x4')],_0x2e5991=_0x108108[_0x3607('0x1b')];if(!_0x108108[_0x3607('0x15')][_0x3607('0x11')](_0x3607('0x19')))return;const _0x42074b=_0x108108[_0x3607('0x15')][_0x3607('0x5')](_0x3607('0x12')),_0x4f99bb=this['editor'][_0x3607('0x0')][_0x3607('0x5')](_0x3607('0x1'));_0x42074b['enableCommand'](_0x3607('0x1'),(_0x4a6ea2,_0xd06201={})=>{const _0x25e457=this[_0x3607('0x4')][_0x3607('0x1c')]['document'][_0x3607('0x3')],_0x337328=_0xd06201&&void 0x0!==_0xd06201['forceValue']?_0xd06201[_0x3607('0x7')]:!_0x4f99bb[_0x3607('0xc')];let _0x86275b=[];if(_0x337328){const _0x302117=Array[_0x3607('0xd')](_0x25e457[_0x3607('0x9')]())[_0x3607('0xf')](_0x4622e1=>oo(_0x4622e1)||function(_0x4b162a,_0x36f638){const _0x32a0be=_0x36f638['checkChild'](_0x4b162a[_0x3607('0x10')],_0x3607('0x1')),_0x216d0c=_0x36f638[_0x3607('0x6')]([_0x3607('0x2'),'blockQuote'],_0x4b162a);return _0x32a0be&&_0x216d0c;}(_0x4622e1,this[_0x3607('0x4')][_0x3607('0x1c')][_0x3607('0x16')]));_0x86275b=_0x326436(_0x302117,_0x108108[_0x3607('0x1c')]);}else{const _0x5c8e17=Array['from'](_0x25e457['getSelectedBlocks']())['filter'](_0x4b279c=>oo(_0x4b279c));_0x86275b=_0x326436(_0x5c8e17,_0x108108[_0x3607('0x1c')]);}_0x108108['model']['change'](()=>{for(const _0x5be58a of _0x86275b)_0x42074b[_0x3607('0x13')](_0x5be58a,{'commandName':_0x3607('0x1'),'commandParams':[{'forceValue':_0x337328}]});});}),_0x42074b['_descriptionFactory'][_0x3607('0x8')](_0x3d5001=>{const {data:_0x11896a}=_0x3d5001;if(_0x11896a&&_0x3607('0x1')==_0x11896a[_0x3607('0xb')]){const _0x224b68=_0x1c414c(_0x2e5991,_0x3607('0x18'));return _0x11896a[_0x3607('0x14')][0x0][_0x3607('0x7')]?{'type':_0x3607('0xa'),'content':_0x1c414c(_0x2e5991,_0x3607('0xe'),_0x224b68)}:{'type':_0x3607('0xa'),'content':_0x1c414c(_0x2e5991,'*Remove\x20format:*\x20%0',_0x224b68)};}});}}function oo(_0x1f3898){return _0x3607('0x1')==_0x1f3898[_0x3607('0x10')][_0x3607('0x1a')];}
23
+ const _0x1b12=['filter','value','blockQuote','_descriptionFactory','*Set\x20format:*\x20%0','commands','commandName','ELEMENT_BLOCK_QUOTE','get','editor','afterInit','change','model','forceValue','checkChild','*Remove\x20format:*\x20%0','commandParams','getSelectedBlocks','parent','registerDescriptionCallback','enableCommand','$root','BlockQuoteEditing','plugins','markBlockFormat','from','format','name'];(function(_0x72cdd3,_0x1b12ff){const _0x1caf4e=function(_0x21e7ce){while(--_0x21e7ce){_0x72cdd3['push'](_0x72cdd3['shift']());}};_0x1caf4e(++_0x1b12ff);}(_0x1b12,0x82));const _0x1caf=function(_0x72cdd3,_0x1b12ff){_0x72cdd3=_0x72cdd3-0x0;let _0x1caf4e=_0x1b12[_0x72cdd3];return _0x1caf4e;};import{Plugin as _0x4048f9}from'ckeditor5/src/core.js';import{getTranslation as _0x4d2599}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x1fe74f}from'../utils/utils.js';export default class O extends _0x4048f9{[_0x1caf('0x14')](){const _0x56e17c=this[_0x1caf('0x13')],_0x2e919c=_0x56e17c['locale'];if(!_0x56e17c['plugins']['has'](_0x1caf('0x4')))return;const _0x527635=_0x56e17c[_0x1caf('0x5')]['get']('TrackChangesEditing'),_0x114d87=this[_0x1caf('0x13')][_0x1caf('0xf')][_0x1caf('0x12')](_0x1caf('0xc'));_0x527635[_0x1caf('0x2')]('blockQuote',(_0x16a79e,_0x4e5215={})=>{const _0x5ece2a=this[_0x1caf('0x13')][_0x1caf('0x16')]['document']['selection'],_0x2570d1=_0x4e5215&&void 0x0!==_0x4e5215[_0x1caf('0x17')]?_0x4e5215[_0x1caf('0x17')]:!_0x114d87[_0x1caf('0xb')];let _0xbca64c=[];if(_0x2570d1){const _0x449bf2=Array['from'](_0x5ece2a[_0x1caf('0x1b')]())[_0x1caf('0xa')](_0xdb8876=>oo(_0xdb8876)||function(_0x4125e2,_0x12af36){const _0x254c6c=_0x12af36[_0x1caf('0x18')](_0x4125e2[_0x1caf('0x0')],_0x1caf('0xc')),_0x507b90=_0x12af36[_0x1caf('0x18')]([_0x1caf('0x3'),'blockQuote'],_0x4125e2);return _0x254c6c&&_0x507b90;}(_0xdb8876,this[_0x1caf('0x13')][_0x1caf('0x16')]['schema']));_0xbca64c=_0x1fe74f(_0x449bf2,_0x56e17c['model']);}else{const _0x4aeaa8=Array[_0x1caf('0x7')](_0x5ece2a['getSelectedBlocks']())['filter'](_0x55be39=>oo(_0x55be39));_0xbca64c=_0x1fe74f(_0x4aeaa8,_0x56e17c[_0x1caf('0x16')]);}_0x56e17c[_0x1caf('0x16')][_0x1caf('0x15')](()=>{for(const _0x1362c3 of _0xbca64c)_0x527635[_0x1caf('0x6')](_0x1362c3,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x2570d1}]});});}),_0x527635[_0x1caf('0xd')][_0x1caf('0x1')](_0x3bb77e=>{const {data:_0x3a642d}=_0x3bb77e;if(_0x3a642d&&_0x1caf('0xc')==_0x3a642d[_0x1caf('0x10')]){const _0x2d2ab0=_0x4d2599(_0x2e919c,_0x1caf('0x11'));return _0x3a642d[_0x1caf('0x1a')][0x0]['forceValue']?{'type':'format','content':_0x4d2599(_0x2e919c,_0x1caf('0xe'),_0x2d2ab0)}:{'type':_0x1caf('0x8'),'content':_0x4d2599(_0x2e919c,_0x1caf('0x19'),_0x2d2ab0)};}});}}function oo(_0xb62775){return _0x1caf('0xc')==_0xb62775['parent'][_0x1caf('0x9')];}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/casechange
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ /**
10
+ * Provides track changes plugin integration for case change feature.
11
+ */
12
+ export default class TrackChangesCaseChange extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x2540=['changeCaseTitle','editor','plugins','CaseChange','changeCaseUpper','get','TrackChangesEditing','enableCommand','afterInit','has'];(function(_0x2a2182,_0x2540d8){const _0x29afb7=function(_0x41ab84){while(--_0x41ab84){_0x2a2182['push'](_0x2a2182['shift']());}};_0x29afb7(++_0x2540d8);}(_0x2540,0x115));const _0x29af=function(_0x2a2182,_0x2540d8){_0x2a2182=_0x2a2182-0x0;let _0x29afb7=_0x2540[_0x2a2182];return _0x29afb7;};import{Plugin as _0x5c9287}from'ckeditor5/src/core.js';export default class G extends _0x5c9287{[_0x29af('0x1')](){const _0x23816e=this[_0x29af('0x4')];_0x23816e[_0x29af('0x5')][_0x29af('0x2')](_0x29af('0x6'))&&(_0x23816e[_0x29af('0x5')]['get'](_0x29af('0x9'))['enableCommand'](_0x29af('0x7')),_0x23816e[_0x29af('0x5')][_0x29af('0x8')](_0x29af('0x9'))[_0x29af('0x0')]('changeCaseLower'),_0x23816e[_0x29af('0x5')]['get'](_0x29af('0x9'))[_0x29af('0x0')](_0x29af('0x3')));}}
@@ -1,11 +1,11 @@
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/integrations/ckbox
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for the CKBox feature.
11
11
  */
@@ -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 _0x1d84=['editor','TrackChangesEditing','enableCommand','commands','get','plugins','ckbox'];(function(_0x32e7c2,_0x1d84b7){const _0x5adf55=function(_0x34af66){while(--_0x34af66){_0x32e7c2['push'](_0x32e7c2['shift']());}};_0x5adf55(++_0x1d84b7);}(_0x1d84,0x13a));const _0x5adf=function(_0x32e7c2,_0x1d84b7){_0x32e7c2=_0x32e7c2-0x0;let _0x5adf55=_0x1d84[_0x32e7c2];return _0x5adf55;};import{Plugin as _0x39f2b2}from'ckeditor5/src/core';export default class G extends _0x39f2b2{['afterInit'](){const _0x14518d=this[_0x5adf('0x1')];_0x14518d[_0x5adf('0x4')][_0x5adf('0x5')](_0x5adf('0x0'))&&_0x14518d[_0x5adf('0x6')]['get'](_0x5adf('0x2'))[_0x5adf('0x3')](_0x5adf('0x0'));}}
23
+ const _0x5322=['TrackChangesEditing','commands','plugins','afterInit','get'];(function(_0x4bc63c,_0x5322a8){const _0x14939f=function(_0x1d393b){while(--_0x1d393b){_0x4bc63c['push'](_0x4bc63c['shift']());}};_0x14939f(++_0x5322a8);}(_0x5322,0x1a2));const _0x1493=function(_0x4bc63c,_0x5322a8){_0x4bc63c=_0x4bc63c-0x0;let _0x14939f=_0x5322[_0x4bc63c];return _0x14939f;};import{Plugin as _0x57c46f}from'ckeditor5/src/core.js';export default class F extends _0x57c46f{[_0x1493('0x0')](){const _0x37e4b1=this['editor'];_0x37e4b1[_0x1493('0x3')][_0x1493('0x1')]('ckbox')&&_0x37e4b1[_0x1493('0x4')][_0x1493('0x1')](_0x1493('0x2'))['enableCommand']('ckbox');}}
@@ -1,11 +1,11 @@
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/integrations/codeblock
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for code block feature.
11
11
  */
@@ -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 _0x1271=['format','find','indentCodeBlock','languages','change','type','model','from','CodeBlock','enableCommand','commandName','schema','*Remove\x20format:*\x20%0','checkChild','config','commands','registerElementLabel','commandParams','filter','value','editor','toLowerCase','plugins','markBlockFormat','_descriptionFactory','get','codeBlock','parent','has','formatBlock','registerDescriptionCallback','TrackChangesEditing','outdentCodeBlock','name','blockName','language','forceValue','getSelectedBlocks','ELEMENT_CODE_BLOCK','label'];(function(_0x40c72e,_0x127103){const _0x210bd7=function(_0x17392a){while(--_0x17392a){_0x40c72e['push'](_0x40c72e['shift']());}};_0x210bd7(++_0x127103);}(_0x1271,0x174));const _0x210b=function(_0x40c72e,_0x127103){_0x40c72e=_0x40c72e-0x0;let _0x210bd7=_0x1271[_0x40c72e];return _0x210bd7;};import{Plugin as _0x4df74b}from'ckeditor5/src/core';import{getTranslation as _0x9f49f9}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xb05913}from'../utils/utils';export default class F extends _0x4df74b{['afterInit'](){const _0x2107b7=this[_0x210b('0x8')];if(!_0x2107b7[_0x210b('0xa')][_0x210b('0x10')](_0x210b('0x24')))return;const _0x3cd024=_0x2107b7[_0x210b('0xa')][_0x210b('0xd')](_0x210b('0x13')),_0x45d85d=_0x2107b7['locale'],_0x252612=_0x2107b7[_0x210b('0x2')][_0x210b('0xd')](_0x210b('0xe'))[_0x210b('0x1f')],_0x2c6f15=_0x2107b7[_0x210b('0x3')][_0x210b('0xd')](_0x210b('0xe'));_0x3cd024[_0x210b('0x25')](_0x210b('0x1e')),_0x3cd024[_0x210b('0x25')](_0x210b('0x14')),_0x3cd024[_0x210b('0x25')](_0x210b('0xe'),(_0x4753a1,_0x5cc6fc={})=>{const _0xed4853=_0x2107b7[_0x210b('0x22')],_0x4502e1=_0x2107b7['model']['document']['selection'],_0x4f85ec=_0x5cc6fc&&void 0x0!==_0x5cc6fc[_0x210b('0x18')]?_0x5cc6fc[_0x210b('0x18')]:!_0x2c6f15[_0x210b('0x7')];let _0x46c773;_0x5cc6fc[_0x210b('0x17')]||(_0x5cc6fc[_0x210b('0x17')]=_0x252612[0x0][_0x210b('0x17')]),_0x46c773=_0x4f85ec?Array[_0x210b('0x23')](_0x4502e1[_0x210b('0x19')]())[_0x210b('0x6')](_0x3033e2=>eo(_0x3033e2)||function(_0xed03b0,_0x1bc124){if(_0xed03b0['is']('rootElement')||_0x1bc124['isLimit'](_0xed03b0))return!0x1;return _0x1bc124[_0x210b('0x1')](_0xed03b0[_0x210b('0xf')],_0x210b('0xe'));}(_0x3033e2,_0xed4853[_0x210b('0x27')])):Array[_0x210b('0x23')](_0x4502e1[_0x210b('0x19')]())[_0x210b('0x6')](_0x595978=>eo(_0x595978));const _0x2fdf1a=_0xb05913(_0x46c773,_0xed4853);_0xed4853[_0x210b('0x20')](()=>{for(const _0x58c2ff of _0x2fdf1a)_0x3cd024[_0x210b('0xb')](_0x58c2ff,{'commandName':_0x210b('0xe'),'commandParams':[{..._0x5cc6fc,'forceValue':_0x4f85ec}],'formatGroupId':_0x210b('0x16')});});}),(_0x3cd024[_0x210b('0xc')][_0x210b('0x4')](_0x210b('0xe'),_0x110c25=>_0x9f49f9(_0x45d85d,_0x210b('0x1a'),_0x110c25)),_0x3cd024['_descriptionFactory'][_0x210b('0x12')](_0x58a281=>{if(_0x210b('0x11')!=_0x58a281[_0x210b('0x21')])return;const _0x59e1f2=_0x45d85d['t'],{data:_0x4dac83}=_0x58a281;if(!_0x4dac83||_0x210b('0xe')!=_0x4dac83[_0x210b('0x26')])return;const _0x22b5e7=_0x4dac83['commandParams'][0x0][_0x210b('0x17')],_0x3298d3=_0x59e1f2(_0x252612[_0x210b('0x1d')](_0x48aef1=>_0x48aef1['language']===_0x22b5e7)[_0x210b('0x1b')])[_0x210b('0x9')]();return _0x4dac83[_0x210b('0x5')][0x0][_0x210b('0x18')]?{'type':'format','content':_0x9f49f9(_0x45d85d,'*Set\x20format:*\x20%0',_0x9f49f9(_0x45d85d,_0x210b('0x1a'),0x1)+'\x20('+_0x3298d3+')')}:{'type':_0x210b('0x1c'),'content':_0x9f49f9(_0x45d85d,_0x210b('0x0'),_0x9f49f9(_0x45d85d,_0x210b('0x1a'),0x1))};}));}}function eo(_0x1657c4){return _0x210b('0xe')==_0x1657c4[_0x210b('0x15')];}
23
+ const _0x4bfe=['enableCommand','name','_descriptionFactory','outdentCodeBlock','filter','forceValue','codeBlock','TrackChangesEditing','from','language','schema','blockName','languages','locale','change','indentCodeBlock','type','find','rootElement','plugins','selection','get','model','afterInit','getSelectedBlocks','commands','ELEMENT_CODE_BLOCK','has','commandName','label','checkChild','*Set\x20format:*\x20%0','commandParams','document','isLimit','parent','format','config','markBlockFormat','registerDescriptionCallback'];(function(_0x1aebda,_0x4bfe8c){const _0x5dc17a=function(_0x561225){while(--_0x561225){_0x1aebda['push'](_0x1aebda['shift']());}};_0x5dc17a(++_0x4bfe8c);}(_0x4bfe,0xd5));const _0x5dc1=function(_0x1aebda,_0x4bfe8c){_0x1aebda=_0x1aebda-0x0;let _0x5dc17a=_0x4bfe[_0x1aebda];return _0x5dc17a;};import{Plugin as _0x3e9710}from'ckeditor5/src/core.js';import{getTranslation as _0x2f287a}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x31bfe8}from'../utils/utils.js';export default class L extends _0x3e9710{[_0x5dc1('0xa')](){const _0x3efd70=this['editor'];if(!_0x3efd70['plugins'][_0x5dc1('0xe')]('CodeBlock'))return;const _0x24ab1c=_0x3efd70[_0x5dc1('0x6')][_0x5dc1('0x8')](_0x5dc1('0x22')),_0x5e436e=_0x3efd70[_0x5dc1('0x0')],_0x22c49f=_0x3efd70[_0x5dc1('0x18')][_0x5dc1('0x8')](_0x5dc1('0x21'))[_0x5dc1('0x27')],_0x30e574=_0x3efd70[_0x5dc1('0xc')][_0x5dc1('0x8')](_0x5dc1('0x21'));_0x24ab1c[_0x5dc1('0x1b')](_0x5dc1('0x2')),_0x24ab1c[_0x5dc1('0x1b')](_0x5dc1('0x1e')),_0x24ab1c[_0x5dc1('0x1b')]('codeBlock',(_0x278329,_0x908abe={})=>{const _0x4fb2c4=_0x3efd70[_0x5dc1('0x9')],_0x35a114=_0x3efd70[_0x5dc1('0x9')][_0x5dc1('0x14')][_0x5dc1('0x7')],_0x578e95=_0x908abe&&void 0x0!==_0x908abe[_0x5dc1('0x20')]?_0x908abe[_0x5dc1('0x20')]:!_0x30e574['value'];let _0x57006a;_0x908abe[_0x5dc1('0x24')]||(_0x908abe['language']=_0x22c49f[0x0][_0x5dc1('0x24')]),_0x57006a=_0x578e95?Array[_0x5dc1('0x23')](_0x35a114[_0x5dc1('0xb')]())[_0x5dc1('0x1f')](_0x23a84d=>eo(_0x23a84d)||function(_0x4159ef,_0x53387d){if(_0x4159ef['is'](_0x5dc1('0x5'))||_0x53387d[_0x5dc1('0x15')](_0x4159ef))return!0x1;return _0x53387d[_0x5dc1('0x11')](_0x4159ef[_0x5dc1('0x16')],_0x5dc1('0x21'));}(_0x23a84d,_0x4fb2c4[_0x5dc1('0x25')])):Array[_0x5dc1('0x23')](_0x35a114[_0x5dc1('0xb')]())[_0x5dc1('0x1f')](_0x46ac63=>eo(_0x46ac63));const _0x516b22=_0x31bfe8(_0x57006a,_0x4fb2c4);_0x4fb2c4[_0x5dc1('0x1')](()=>{for(const _0x3076f4 of _0x516b22)_0x24ab1c[_0x5dc1('0x19')](_0x3076f4,{'commandName':_0x5dc1('0x21'),'commandParams':[{..._0x908abe,'forceValue':_0x578e95}],'formatGroupId':_0x5dc1('0x26')});});}),(_0x24ab1c[_0x5dc1('0x1d')]['registerElementLabel'](_0x5dc1('0x21'),_0x2cc760=>_0x2f287a(_0x5e436e,_0x5dc1('0xd'),_0x2cc760)),_0x24ab1c[_0x5dc1('0x1d')][_0x5dc1('0x1a')](_0x1caf24=>{if('formatBlock'!=_0x1caf24[_0x5dc1('0x3')])return;const _0x5c109b=_0x5e436e['t'],{data:_0x518318}=_0x1caf24;if(!_0x518318||_0x5dc1('0x21')!=_0x518318[_0x5dc1('0xf')])return;const _0x30aa86=_0x518318[_0x5dc1('0x13')][0x0][_0x5dc1('0x24')],_0x4e97=_0x5c109b(_0x22c49f[_0x5dc1('0x4')](_0x7dfa2a=>_0x7dfa2a[_0x5dc1('0x24')]===_0x30aa86)[_0x5dc1('0x10')])['toLowerCase']();return _0x518318[_0x5dc1('0x13')][0x0][_0x5dc1('0x20')]?{'type':_0x5dc1('0x17'),'content':_0x2f287a(_0x5e436e,_0x5dc1('0x12'),_0x2f287a(_0x5e436e,_0x5dc1('0xd'),0x1)+'\x20('+_0x4e97+')')}:{'type':_0x5dc1('0x17'),'content':_0x2f287a(_0x5e436e,'*Remove\x20format:*\x20%0',_0x2f287a(_0x5e436e,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x48ba4f){return'codeBlock'==_0x48ba4f[_0x5dc1('0x1c')];}
@@ -1,11 +1,11 @@
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/integrations/comments
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
11
11
  */
@@ -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 _0x1709=['afterInit','has','get','addCommentThread','CommentsEditing','enableCommand','editor'];(function(_0x158640,_0x1709d9){const _0x39033c=function(_0x4cb991){while(--_0x4cb991){_0x158640['push'](_0x158640['shift']());}};_0x39033c(++_0x1709d9);}(_0x1709,0xbe));const _0x3903=function(_0x158640,_0x1709d9){_0x158640=_0x158640-0x0;let _0x39033c=_0x1709[_0x158640];return _0x39033c;};import{Plugin as _0x368a67}from'ckeditor5/src/core';export default class L extends _0x368a67{[_0x3903('0x6')](){const _0x26089b=this[_0x3903('0x5')];if(!_0x26089b['plugins'][_0x3903('0x0')](_0x3903('0x3')))return;_0x26089b['plugins'][_0x3903('0x1')]('TrackChangesEditing')[_0x3903('0x4')](_0x3903('0x2'));}}
23
+ const _0x98e0=['get','addCommentThread','editor','enableCommand','afterInit','has','plugins'];(function(_0x33b83b,_0x98e042){const _0x4828ec=function(_0x7c2db1){while(--_0x7c2db1){_0x33b83b['push'](_0x33b83b['shift']());}};_0x4828ec(++_0x98e042);}(_0x98e0,0x13d));const _0x4828=function(_0x33b83b,_0x98e042){_0x33b83b=_0x33b83b-0x0;let _0x4828ec=_0x98e0[_0x33b83b];return _0x4828ec;};import{Plugin as _0x5b1dd7}from'ckeditor5/src/core.js';export default class H extends _0x5b1dd7{[_0x4828('0x2')](){const _0x17db4b=this[_0x4828('0x0')];if(!_0x17db4b[_0x4828('0x4')][_0x4828('0x3')]('CommentsEditing'))return;_0x17db4b[_0x4828('0x4')][_0x4828('0x5')]('TrackChangesEditing')[_0x4828('0x1')](_0x4828('0x6'));}}
@@ -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/integrations/deletecommand
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Delete } from 'ckeditor5/src/typing';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Delete } from 'ckeditor5/src/typing.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
12
12
  * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
@@ -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 _0x5798=['requires','editor','init','markerName','remove','addMarker:suggestion:deletion','deleteForward','buffer','showSuggestionHighlights','modifySelection','unlock','start','document','downcastDispatcher','removeMarker:suggestion:deletion','merge','forward','createSelection','editing','unbindElementFromMarkerName','data','unit','model','createRange','setSelection','rootName','fromRange','isCollapsed','delete','high','getFirstRange','root','TrackChangesEditing','$graveyard','end','detach','mapper','writer','enableCommand','markerNameToElements'];(function(_0x9aadc7,_0x5798fe){const _0x28e68b=function(_0x446cd1){while(--_0x446cd1){_0x9aadc7['push'](_0x9aadc7['shift']());}};_0x28e68b(++_0x5798fe);}(_0x5798,0x8c));const _0x28e6=function(_0x9aadc7,_0x5798fe){_0x9aadc7=_0x9aadc7-0x0;let _0x28e68b=_0x5798[_0x9aadc7];return _0x28e68b;};import{Plugin as _0x2f4ae5}from'ckeditor5/src/core';import{LiveRange as _0x449e5b}from'ckeditor5/src/engine';import{Delete as _0x4daf58}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x4137b6}from'./utils';export default class H extends _0x2f4ae5{static get[_0x28e6('0x14')](){return[_0x4daf58];}[_0x28e6('0x16')](){const _0x2360d8=this[_0x28e6('0x15')],_0x1c6b76=_0x2360d8['plugins']['get'](_0x28e6('0xc'));_0x1c6b76[_0x28e6('0x12')](_0x28e6('0x8'));const _0x12425a=_0x2360d8['commands']['get'](_0x28e6('0x1a'));_0x1c6b76[_0x28e6('0x12')](_0x28e6('0x1a'),(_0x10ef48,_0x118bd2={})=>{const _0x1f64ab=_0x2360d8[_0x28e6('0x2')][_0x28e6('0x25')](_0x2360d8['model'][_0x28e6('0x20')]['selection']);_0x1f64ab[_0x28e6('0x7')]&&_0x2360d8['model'][_0x28e6('0x1d')](_0x1f64ab,{'direction':_0x28e6('0x24'),'unit':_0x118bd2[_0x28e6('0x1')]});const _0x4c055b=_0x1f64ab[_0x28e6('0xa')](),_0x58b83c=_0x449e5b[_0x28e6('0x6')](_0x4c055b);let _0x15bb37;_0x10ef48(_0x118bd2),_0x15bb37=_0x28e6('0xd')==_0x58b83c[_0x28e6('0xb')][_0x28e6('0x5')]?_0x2360d8[_0x28e6('0x2')][_0x28e6('0x3')](_0x4c055b[_0x28e6('0x1f')]):_0x2360d8[_0x28e6('0x2')][_0x28e6('0x3')](_0x58b83c[_0x28e6('0x1f')],_0x58b83c[_0x28e6('0xe')]),_0x58b83c[_0x28e6('0xf')](),_0x2360d8[_0x28e6('0x2')]['enqueueChange'](_0x12425a[_0x28e6('0x1b')]['batch'],_0x26f6eb=>{_0x12425a[_0x28e6('0x1b')]['lock'](),_0x26f6eb[_0x28e6('0x4')](_0x26f6eb[_0x28e6('0x3')](_0x15bb37[_0x28e6('0xe')])),_0x12425a['buffer'][_0x28e6('0x1e')]();});}),_0x2360d8[_0x28e6('0x26')][_0x28e6('0x21')]['on'](_0x28e6('0x19'),_0x4137b6(_0x2360d8,_0x28e6('0x23')),{'priority':_0x28e6('0x9')}),_0x2360d8[_0x28e6('0x0')][_0x28e6('0x21')]['on'](_0x28e6('0x19'),(_0x18b079,_0x2c2dad,_0x4f4389)=>{_0x4f4389['options'][_0x28e6('0x1c')]&&_0x4137b6(_0x2360d8,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x18b079,_0x2c2dad,_0x4f4389);},{'priority':_0x28e6('0x9')}),_0x2360d8[_0x28e6('0x26')]['downcastDispatcher']['on'](_0x28e6('0x22'),(_0x2caba1,_0x45b37b,_0x585dbe)=>{const _0x3a57d6=_0x585dbe[_0x28e6('0x10')][_0x28e6('0x13')](_0x45b37b[_0x28e6('0x17')]);if(_0x3a57d6)for(const _0x2eb3af of _0x3a57d6)_0x2eb3af['is']('uiElement')&&(_0x585dbe['mapper'][_0x28e6('0x27')](_0x2eb3af,_0x45b37b[_0x28e6('0x17')]),_0x585dbe[_0x28e6('0x11')][_0x28e6('0x18')](_0x2eb3af));},{'priority':_0x28e6('0x9')});}}
23
+ const _0x2603=['getFirstRange','init','markerName','createRange','high','addMarker:suggestion:deletion','editing','rootName','selection','model','enableCommand','forward','$graveyard','writer','document','editor','mapper','deleteForward','TrackChangesEditing','merge','modifySelection','end','unlock','data','removeMarker:suggestion:deletion','setSelection','unit','bind','buffer','fromRange','isCollapsed','unbindElementFromMarkerName','downcastDispatcher','markerNameToElements','start','plugins','remove','options','createSelection'];(function(_0x246ab7,_0x260393){const _0x232aeb=function(_0x2e2ed6){while(--_0x2e2ed6){_0x246ab7['push'](_0x246ab7['shift']());}};_0x232aeb(++_0x260393);}(_0x2603,0xfd));const _0x232a=function(_0x246ab7,_0x260393){_0x246ab7=_0x246ab7-0x0;let _0x232aeb=_0x2603[_0x246ab7];return _0x232aeb;};import{Plugin as _0x268491}from'ckeditor5/src/core.js';import{LiveRange as _0x201fdb}from'ckeditor5/src/engine.js';import{Delete as _0x4f19f5}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x30fc3a}from'./utils.js';export default class q extends _0x268491{static get['requires'](){return[_0x4f19f5];}[_0x232a('0x15')](){const _0x50980d=this[_0x232a('0x23')],_0x1520fb=_0x50980d[_0x232a('0x10')]['get'](_0x232a('0x26'));_0x1520fb[_0x232a('0x1e')]('delete');const _0x4948e5=_0x50980d['commands']['get']('deleteForward');_0x1520fb['enableCommand'](_0x232a('0x25'),(_0x34a276,_0x15c9a3={})=>{const _0x94afc8=_0x50980d[_0x232a('0x1d')][_0x232a('0x13')](_0x50980d[_0x232a('0x1d')][_0x232a('0x22')][_0x232a('0x1c')]);_0x94afc8[_0x232a('0xb')]&&_0x50980d[_0x232a('0x1d')][_0x232a('0x1')](_0x94afc8,{'direction':_0x232a('0x1f'),'unit':_0x15c9a3[_0x232a('0x7')]});const _0x4dc8b3=_0x94afc8[_0x232a('0x14')](),_0x35fd76=_0x201fdb[_0x232a('0xa')](_0x4dc8b3);let _0x6fba90;_0x34a276(_0x15c9a3),_0x6fba90=_0x232a('0x20')==_0x35fd76['root'][_0x232a('0x1b')]?_0x50980d['model'][_0x232a('0x17')](_0x4dc8b3[_0x232a('0xf')]):_0x50980d[_0x232a('0x1d')][_0x232a('0x17')](_0x35fd76[_0x232a('0xf')],_0x35fd76['end']),_0x35fd76['detach'](),_0x50980d[_0x232a('0x1d')]['enqueueChange'](_0x4948e5[_0x232a('0x9')]['batch'],_0x4e92d5=>{_0x4948e5[_0x232a('0x9')]['lock'](),_0x4e92d5[_0x232a('0x6')](_0x4e92d5[_0x232a('0x17')](_0x6fba90[_0x232a('0x2')])),_0x4948e5[_0x232a('0x9')][_0x232a('0x3')]();});}),_0x50980d['editing'][_0x232a('0xd')]['on'](_0x232a('0x19'),_0x30fc3a(_0x50980d,'merge'),{'priority':'high'}),_0x50980d[_0x232a('0x4')][_0x232a('0xd')]['on']('addMarker:suggestion:deletion',(_0x53ee12,_0x41deea,_0x262e0b)=>{_0x262e0b[_0x232a('0x12')]['showSuggestionHighlights']&&_0x30fc3a(_0x50980d,_0x232a('0x0'),{'showActiveMarker':!0x1})[_0x232a('0x8')](this)(_0x53ee12,_0x41deea,_0x262e0b);},{'priority':_0x232a('0x18')}),_0x50980d[_0x232a('0x1a')][_0x232a('0xd')]['on'](_0x232a('0x5'),(_0x3bf4f2,_0x309b64,_0x4b6454)=>{const _0x5d5bbb=_0x4b6454[_0x232a('0x24')][_0x232a('0xe')](_0x309b64[_0x232a('0x16')]);if(_0x5d5bbb)for(const _0x272c2c of _0x5d5bbb)_0x272c2c['is']('uiElement')&&(_0x4b6454[_0x232a('0x24')][_0x232a('0xc')](_0x272c2c,_0x309b64['markerName']),_0x4b6454[_0x232a('0x21')][_0x232a('0x11')](_0x272c2c));},{'priority':_0x232a('0x18')});}}
@@ -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/integrations/entercommand
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Enter } from 'ckeditor5/src/enter';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Enter } from 'ckeditor5/src/enter.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
12
12
  */