@ckeditor/ckeditor5-track-changes 40.2.0 → 41.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) 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/lang/translations/ar.po +1 -1
  7. package/lang/translations/az.po +1 -1
  8. package/lang/translations/bg.po +1 -1
  9. package/lang/translations/bn.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es.po +2 -2
  18. package/lang/translations/et.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +1 -1
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/ko.po +1 -1
  30. package/lang/translations/lt.po +1 -1
  31. package/lang/translations/lv.po +1 -1
  32. package/lang/translations/ms.po +1 -1
  33. package/lang/translations/nl.po +1 -1
  34. package/lang/translations/no.po +1 -1
  35. package/lang/translations/pl.po +1 -1
  36. package/lang/translations/pt-br.po +1 -1
  37. package/lang/translations/pt.po +1 -1
  38. package/lang/translations/ro.po +1 -1
  39. package/lang/translations/ru.po +1 -1
  40. package/lang/translations/sk.po +1 -1
  41. package/lang/translations/sq.po +1 -1
  42. package/lang/translations/sr-latn.po +1 -1
  43. package/lang/translations/sr.po +1 -1
  44. package/lang/translations/sv.po +1 -1
  45. package/lang/translations/th.po +1 -1
  46. package/lang/translations/tk.po +1 -1
  47. package/lang/translations/tr.po +1 -1
  48. package/lang/translations/tt.po +1 -1
  49. package/lang/translations/uk.po +1 -1
  50. package/lang/translations/ur.po +1 -1
  51. package/lang/translations/vi.po +1 -1
  52. package/lang/translations/zh-cn.po +1 -1
  53. package/lang/translations/zh.po +1 -1
  54. package/package.json +4 -3
  55. package/src/augmentation.d.ts +3 -3
  56. package/src/augmentation.js +1 -1
  57. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  58. package/src/commands/acceptsuggestioncommand.js +2 -2
  59. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  60. package/src/commands/discardsuggestioncommand.js +2 -2
  61. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  62. package/src/commands/executeonallsuggestionscommand.js +2 -2
  63. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  64. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  65. package/src/commands/trackchangescommand.d.ts +2 -2
  66. package/src/commands/trackchangescommand.js +2 -2
  67. package/src/index.d.ts +13 -13
  68. package/src/index.js +2 -2
  69. package/src/integrations/aiassistant.d.ts +2 -2
  70. package/src/integrations/aiassistant.js +2 -2
  71. package/src/integrations/alignment.d.ts +2 -2
  72. package/src/integrations/alignment.js +2 -2
  73. package/src/integrations/basicstyles.d.ts +2 -2
  74. package/src/integrations/basicstyles.js +2 -2
  75. package/src/integrations/blockquote.d.ts +2 -2
  76. package/src/integrations/blockquote.js +2 -2
  77. package/src/integrations/casechange.d.ts +17 -0
  78. package/src/integrations/casechange.js +23 -0
  79. package/src/integrations/ckbox.d.ts +2 -2
  80. package/src/integrations/ckbox.js +2 -2
  81. package/src/integrations/codeblock.d.ts +2 -2
  82. package/src/integrations/codeblock.js +2 -2
  83. package/src/integrations/comments.d.ts +2 -2
  84. package/src/integrations/comments.js +2 -2
  85. package/src/integrations/deletecommand.d.ts +3 -3
  86. package/src/integrations/deletecommand.js +2 -2
  87. package/src/integrations/entercommand.d.ts +3 -3
  88. package/src/integrations/entercommand.js +2 -2
  89. package/src/integrations/findandreplace.d.ts +2 -2
  90. package/src/integrations/findandreplace.js +2 -2
  91. package/src/integrations/font.d.ts +2 -2
  92. package/src/integrations/font.js +2 -2
  93. package/src/integrations/formatpainter.d.ts +2 -2
  94. package/src/integrations/formatpainter.js +2 -2
  95. package/src/integrations/heading.d.ts +2 -2
  96. package/src/integrations/heading.js +2 -2
  97. package/src/integrations/highlight.d.ts +2 -2
  98. package/src/integrations/highlight.js +2 -2
  99. package/src/integrations/horizontalline.d.ts +2 -2
  100. package/src/integrations/horizontalline.js +2 -2
  101. package/src/integrations/htmlembed.d.ts +2 -2
  102. package/src/integrations/htmlembed.js +2 -2
  103. package/src/integrations/image.d.ts +2 -2
  104. package/src/integrations/image.js +2 -2
  105. package/src/integrations/imagereplace.d.ts +2 -2
  106. package/src/integrations/imagereplace.js +2 -2
  107. package/src/integrations/imagestyle.d.ts +2 -2
  108. package/src/integrations/imagestyle.js +2 -2
  109. package/src/integrations/importword.d.ts +2 -2
  110. package/src/integrations/importword.js +2 -2
  111. package/src/integrations/indent.d.ts +2 -2
  112. package/src/integrations/indent.js +2 -2
  113. package/src/integrations/inputcommand.d.ts +3 -3
  114. package/src/integrations/inputcommand.js +2 -2
  115. package/src/integrations/legacylist.d.ts +17 -0
  116. package/src/integrations/legacylist.js +23 -0
  117. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  118. package/src/integrations/legacylistproperties.js +23 -0
  119. package/src/integrations/link.d.ts +2 -2
  120. package/src/integrations/link.js +2 -2
  121. package/src/integrations/list.d.ts +6 -6
  122. package/src/integrations/list.js +2 -2
  123. package/src/integrations/listproperties.d.ts +6 -15
  124. package/src/integrations/listproperties.js +2 -2
  125. package/src/integrations/mediaembed.d.ts +2 -2
  126. package/src/integrations/mediaembed.js +2 -2
  127. package/src/integrations/mention.d.ts +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.d.ts +2 -2
  130. package/src/integrations/pagebreak.js +2 -2
  131. package/src/integrations/paragraph.d.ts +2 -2
  132. package/src/integrations/paragraph.js +2 -2
  133. package/src/integrations/removeformat.d.ts +2 -2
  134. package/src/integrations/removeformat.js +2 -2
  135. package/src/integrations/restrictededitingmode.d.ts +2 -2
  136. package/src/integrations/restrictededitingmode.js +2 -2
  137. package/src/integrations/shiftentercommand.d.ts +3 -3
  138. package/src/integrations/shiftentercommand.js +2 -2
  139. package/src/integrations/standardeditingmode.d.ts +2 -2
  140. package/src/integrations/standardeditingmode.js +2 -2
  141. package/src/integrations/style.d.ts +2 -2
  142. package/src/integrations/style.js +2 -2
  143. package/src/integrations/table.d.ts +2 -2
  144. package/src/integrations/table.js +2 -2
  145. package/src/integrations/tablecaption.d.ts +3 -3
  146. package/src/integrations/tablecaption.js +2 -2
  147. package/src/integrations/tableclipboard.d.ts +3 -3
  148. package/src/integrations/tableclipboard.js +2 -2
  149. package/src/integrations/tablecolumnresize.d.ts +5 -5
  150. package/src/integrations/tablecolumnresize.js +2 -2
  151. package/src/integrations/tableheadings.d.ts +3 -3
  152. package/src/integrations/tableheadings.js +2 -2
  153. package/src/integrations/tablemergesplit.d.ts +3 -3
  154. package/src/integrations/tablemergesplit.js +2 -2
  155. package/src/integrations/tableofcontents.d.ts +2 -2
  156. package/src/integrations/tableofcontents.js +2 -2
  157. package/src/integrations/tableproperties.d.ts +5 -5
  158. package/src/integrations/tableproperties.js +2 -2
  159. package/src/integrations/template.d.ts +2 -2
  160. package/src/integrations/template.js +2 -2
  161. package/src/integrations/title.d.ts +2 -2
  162. package/src/integrations/title.js +2 -2
  163. package/src/integrations/undo.d.ts +2 -2
  164. package/src/integrations/undo.js +2 -2
  165. package/src/integrations/utils.d.ts +4 -4
  166. package/src/integrations/utils.js +2 -2
  167. package/src/suggestion.d.ts +6 -6
  168. package/src/suggestion.js +2 -2
  169. package/src/suggestiondescriptionfactory.d.ts +4 -4
  170. package/src/suggestiondescriptionfactory.js +2 -2
  171. package/src/trackchanges.d.ts +6 -6
  172. package/src/trackchanges.js +2 -2
  173. package/src/trackchangesconfig.d.ts +2 -2
  174. package/src/trackchangesconfig.js +1 -1
  175. package/src/trackchangesdata.d.ts +3 -3
  176. package/src/trackchangesdata.js +2 -2
  177. package/src/trackchangesediting.d.ts +56 -55
  178. package/src/trackchangesediting.js +2 -2
  179. package/src/trackchangesui.d.ts +4 -4
  180. package/src/trackchangesui.js +2 -2
  181. package/src/ui/suggestioncontroller.d.ts +6 -6
  182. package/src/ui/suggestioncontroller.js +2 -2
  183. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  184. package/src/ui/view/basesuggestionthreadview.js +2 -2
  185. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  186. package/src/ui/view/suggestionthreadview.js +2 -2
  187. package/src/utils/common-translations.d.ts +2 -2
  188. package/src/utils/common-translations.js +2 -2
  189. package/src/utils/utils.d.ts +5 -5
  190. package/src/utils/utils.js +2 -2
  191. package/theme/icons/track-changes-accept.svg +1 -1
  192. package/theme/icons/track-changes-discard.svg +1 -1
  193. package/theme/icons/track-changes.svg +1 -1
  194. package/src/integrations/documentlist.d.ts +0 -17
  195. package/src/integrations/documentlist.js +0 -23
  196. 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 _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 _0x2976=['editor','_command','execute','_suggestions','_isEnabledBasedOnSelection','canEditAt','values','model','document','_selectedSuggestions','isEnabled','size','getRanges'];(function(_0x106992,_0x2976f1){const _0x29aec1=function(_0x3d18e5){while(--_0x3d18e5){_0x106992['push'](_0x106992['shift']());}};_0x29aec1(++_0x2976f1);}(_0x2976,0xa8));const _0x29ae=function(_0x106992,_0x2976f1){_0x106992=_0x106992-0x0;let _0x29aec1=_0x2976[_0x106992];return _0x29aec1;};import{Command as _0x2089f7}from'ckeditor5/src/core.js';import{sortSuggestions as _0x36337e,getSelectedSuggestions as _0x220441,executeCommandForSuggestions as _0x55e18b}from'../utils/utils.js';export default class R extends _0x2089f7{constructor(_0x4f4217,_0x52cd95,_0x4f8315){super(_0x4f4217),this['_command']=_0x52cd95,this[_0x29ae('0x4')]=_0x4f8315,this[_0x29ae('0xa')]=new Set(),this['refresh'](),this[_0x29ae('0x5')]=!0x1;}['refresh'](){const _0x49fb6a=this[_0x29ae('0x1')][_0x29ae('0x8')][_0x29ae('0x9')]['selection'],_0x1ba925=Array['from'](this['_suggestions'][_0x29ae('0x7')]());this[_0x29ae('0xa')]=_0x220441(_0x49fb6a,_0x1ba925),this[_0x29ae('0xb')]=this[_0x29ae('0x2')][_0x29ae('0xb')]&&!!this[_0x29ae('0xa')][_0x29ae('0xc')];}[_0x29ae('0x3')](){const _0x33fd6f=_0x36337e(Array['from'](this[_0x29ae('0xa')]));for(const _0x10ef93 of _0x33fd6f){const _0x2b9835=_0x10ef93[_0x29ae('0x0')]();if(!this[_0x29ae('0x1')][_0x29ae('0x8')][_0x29ae('0x6')](_0x2b9835))return;}_0x55e18b(this[_0x29ae('0x1')][_0x29ae('0x8')],this['_command'],_0x33fd6f);}}
@@ -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 _0x4e7d=['refresh','value','has','TrackChangesCommand','affectsData','_enableCommands','_isEnabledBasedOnSelection','execute','clearForceDisabled','_disableUnsupportedCommands','commands','_enabledCommands','forceDisabled','isEnabled'];(function(_0x34f5f4,_0x4e7d62){const _0x4c2af4=function(_0xcf0a19){while(--_0xcf0a19){_0x34f5f4['push'](_0x34f5f4['shift']());}};_0x4c2af4(++_0x4e7d62);}(_0x4e7d,0x142));const _0x4c2a=function(_0x34f5f4,_0x4e7d62){_0x34f5f4=_0x34f5f4-0x0;let _0x4c2af4=_0x4e7d[_0x34f5f4];return _0x4c2af4;};import{Command as _0x2fae55}from'ckeditor5/src/core.js';export default class M extends _0x2fae55{constructor(_0x507ac1,_0x22396e){super(_0x507ac1),this['_enabledCommands']=_0x22396e,this[_0x4c2a('0x1')]=!0x1,this[_0x4c2a('0x0')](),this[_0x4c2a('0x6')]=!0x1;}[_0x4c2a('0x0')](){this[_0x4c2a('0xd')]=!0x0;}[_0x4c2a('0x7')](){this[_0x4c2a('0x1')]=!this[_0x4c2a('0x1')],this['value']?this[_0x4c2a('0x9')]():this[_0x4c2a('0x5')]();}['_disableUnsupportedCommands'](){for(const _0x3fee46 of this['editor'][_0x4c2a('0xa')][_0x4c2a('0xa')]())_0x3fee46['affectsData']&&!this[_0x4c2a('0xb')][_0x4c2a('0x2')](_0x3fee46)&&_0x3fee46[_0x4c2a('0xc')](_0x4c2a('0x3'));}[_0x4c2a('0x5')](){for(const _0x5905af of this['editor']['commands'][_0x4c2a('0xa')]())_0x5905af[_0x4c2a('0x4')]&&!this['_enabledCommands'][_0x4c2a('0x2')](_0x5905af)&&_0x5905af[_0x4c2a('0x8')](_0x4c2a('0x3'));}}
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 _0x1c39=['editor','commands','showAIAssistant','get','plugins'];(function(_0x3177be,_0x1c3975){const _0x17f671=function(_0x25084f){while(--_0x25084f){_0x3177be['push'](_0x3177be['shift']());}};_0x17f671(++_0x1c3975);}(_0x1c39,0x133));const _0x17f6=function(_0x3177be,_0x1c3975){_0x3177be=_0x3177be-0x0;let _0x17f671=_0x1c39[_0x3177be];return _0x17f671;};import{Plugin as _0x432a17}from'ckeditor5/src/core.js';export default class E extends _0x432a17{['afterInit'](){const _0x4684b4=this[_0x17f6('0x3')],_0x48de67=_0x4684b4[_0x17f6('0x2')][_0x17f6('0x1')]('TrackChangesEditing');_0x4684b4[_0x17f6('0x4')][_0x17f6('0x1')](_0x17f6('0x0'))&&_0x48de67['enableCommand']('showAIAssistant');}}
@@ -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 _0x18c7=['FORMAT_ALIGN_TO_LEFT','alignment','TrackChangesEditing','FORMAT_JUSTIFY_TEXT','format','type','center','registerDescriptionCallback','*Format:*\x20%0','has','commandName','FORMAT_ALIGN_TO_RIGHT','registerAttributeLabel','FORMAT_ALIGNMENT','locale','_enableDefaultAttributesIntegration','left','justify','plugins','value','get','FORMAT_ALIGN_TO_CENTER','editor','_registerLegacyDescription','afterInit'];(function(_0x595303,_0x18c714){const _0x41e3d0=function(_0x5046ce){while(--_0x5046ce){_0x595303['push'](_0x595303['shift']());}};_0x41e3d0(++_0x18c714);}(_0x18c7,0x1db));const _0x41e3=function(_0x595303,_0x18c714){_0x595303=_0x595303-0x0;let _0x41e3d0=_0x18c7[_0x595303];return _0x41e3d0;};import{Plugin as _0x178f67}from'ckeditor5/src/core.js';import{getTranslation as _0x308da1}from'../utils/common-translations.js';export default class V extends _0x178f67{[_0x41e3('0x18')](){const _0x2ce1d6=this[_0x41e3('0x16')],_0xef9e0e=_0x2ce1d6['locale'];if(!_0x2ce1d6[_0x41e3('0x12')][_0x41e3('0x9')]('AlignmentEditing'))return;const _0x34318f=_0x2ce1d6[_0x41e3('0x12')][_0x41e3('0x14')](_0x41e3('0x2'));_0x34318f[_0x41e3('0xf')](_0x41e3('0x1'),[],[_0x41e3('0x1')]),_0x34318f['_descriptionFactory'][_0x41e3('0xc')](_0x41e3('0x1'),_0x308da1(_0xef9e0e,_0x41e3('0xd'))),this['_registerLegacyDescription']();}[_0x41e3('0x17')](){const _0x3dc839=this[_0x41e3('0x16')],_0x46afe3=_0x3dc839[_0x41e3('0xe')];_0x3dc839[_0x41e3('0x12')][_0x41e3('0x14')](_0x41e3('0x2'))['_descriptionFactory'][_0x41e3('0x7')](_0x51e0a5=>{if('formatBlock'!=_0x51e0a5[_0x41e3('0x5')])return;const {data:_0x4ddcc6}=_0x51e0a5;if(_0x4ddcc6&&'alignment'==_0x4ddcc6[_0x41e3('0xa')]){const _0x113c21=_0x4ddcc6['commandParams'][0x0][_0x41e3('0x13')];return{'type':_0x41e3('0x4'),'content':_0x308da1(_0x46afe3,_0x41e3('0x8'),function(_0x54351d){switch(_0x54351d){case _0x41e3('0x10'):return _0x308da1(_0x46afe3,_0x41e3('0x0'));case'right':return _0x308da1(_0x46afe3,_0x41e3('0xb'));case _0x41e3('0x6'):return _0x308da1(_0x46afe3,_0x41e3('0x15'));case _0x41e3('0x11'):return _0x308da1(_0x46afe3,_0x41e3('0x3'));}}(_0x113c21))};}});}}
@@ -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 _0x48fb=['editor','superscript','strikethrough','plugins','_descriptionFactory','toLowerCase','FORMAT_BOLD','SuperscriptEditing','FORMAT_SUBSCRIPT','underline','CodeEditing','StrikethroughEditing','FORMAT_STRIKETHROUGH','forceValue','subscript','SubscriptEditing','code','ItalicEditing','locale','slice','*Format:*\x20%0','_registerLegacyDescription','toUpperCase','FORMAT_','registerDescriptionCallback','UnderlineEditing','bold','commandName','_enableDefaultAttributesIntegration','italic','FORMAT_CODE','FORMAT_SUPERSCRIPT','commandParams','TrackChangesEditing','FORMAT_UNDERLINE','type'];(function(_0x96bbc0,_0x48fb53){const _0x694eb4=function(_0x5cbb49){while(--_0x5cbb49){_0x96bbc0['push'](_0x96bbc0['shift']());}};_0x694eb4(++_0x48fb53);}(_0x48fb,0x8b));const _0x694e=function(_0x96bbc0,_0x48fb53){_0x96bbc0=_0x96bbc0-0x0;let _0x694eb4=_0x48fb[_0x96bbc0];return _0x694eb4;};import{Plugin as _0x5f4693}from'ckeditor5/src/core.js';import{getTranslation as _0x70b1e9}from'../utils/common-translations.js';const ti=['BoldEditing',_0x694e('0x16'),_0x694e('0x1e'),_0x694e('0xf'),_0x694e('0x10'),_0x694e('0x14'),_0x694e('0xc')];export default class U extends _0x5f4693{['afterInit'](){const _0x35a70a=this['editor'],_0xb872f0=_0x35a70a['plugins']['get']('TrackChangesEditing'),_0x3e19eb=_0x35a70a['locale'];for(const _0x2b7717 of ti){if(!_0x35a70a[_0x694e('0x8')]['has'](_0x2b7717))continue;const _0x45fb7f=_0x2b7717[_0x694e('0x18')](0x0,-0x7)[_0x694e('0xa')](),_0x36da30=_0x694e('0x1c')+_0x45fb7f[_0x694e('0x1b')]();_0xb872f0[_0x694e('0x21')](_0x45fb7f,[_0x45fb7f]),_0xb872f0[_0x694e('0x9')]['registerAttributeLabel'](_0x45fb7f,_0x70b1e9(_0x3e19eb,_0x36da30));}this['_registerLegacyDescription']();}[_0x694e('0x1a')](){const _0x50dce6=this[_0x694e('0x5')],_0x43597f=_0x50dce6[_0x694e('0x17')],_0x39089a=_0x50dce6['plugins']['get'](_0x694e('0x2'));function _0x1fc66d(_0x2a68de,_0x398a2b){_0x39089a['_descriptionFactory'][_0x694e('0x1d')](_0x4f8ad5=>{if('formatInline'!=_0x4f8ad5[_0x694e('0x4')])return;const {data:_0x5222f3}=_0x4f8ad5;return _0x5222f3&&_0x5222f3[_0x694e('0x20')]===_0x2a68de?_0x5222f3[_0x694e('0x1')][0x0][_0x694e('0x12')]?{'type':'format','content':_0x70b1e9(_0x43597f,_0x694e('0x19'),_0x398a2b)}:{'type':'format','content':_0x70b1e9(_0x43597f,'*Remove\x20format:*\x20%0',_0x398a2b)}:void 0x0;});}_0x1fc66d(_0x694e('0x1f'),_0x70b1e9(_0x43597f,_0x694e('0xb'))),_0x1fc66d(_0x694e('0x22'),_0x70b1e9(_0x43597f,'FORMAT_ITALIC')),_0x1fc66d(_0x694e('0xe'),_0x70b1e9(_0x43597f,_0x694e('0x3'))),_0x1fc66d(_0x694e('0x15'),_0x70b1e9(_0x43597f,_0x694e('0x23'))),_0x1fc66d(_0x694e('0x7'),_0x70b1e9(_0x43597f,_0x694e('0x11'))),_0x1fc66d(_0x694e('0x13'),_0x70b1e9(_0x43597f,_0x694e('0xd'))),_0x1fc66d(_0x694e('0x6'),_0x70b1e9(_0x43597f,_0x694e('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/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 _0x410a=['commandName','value','commandParams','locale','afterInit','has','forceValue','*Remove\x20format:*\x20%0','change','format','ELEMENT_BLOCK_QUOTE','from','getSelectedBlocks','blockQuote','checkChild','commands','selection','editor','filter','registerDescriptionCallback','parent','_descriptionFactory','name','model','markBlockFormat','plugins'];(function(_0x59a75c,_0x410aec){const _0x8390fd=function(_0x2304c6){while(--_0x2304c6){_0x59a75c['push'](_0x59a75c['shift']());}};_0x8390fd(++_0x410aec);}(_0x410a,0x1dc));const _0x8390=function(_0x59a75c,_0x410aec){_0x59a75c=_0x59a75c-0x0;let _0x8390fd=_0x410a[_0x59a75c];return _0x8390fd;};import{Plugin as _0x1bc5b3}from'ckeditor5/src/core.js';import{getTranslation as _0x590650}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x3fd0ed}from'../utils/utils.js';export default class O extends _0x1bc5b3{[_0x8390('0x16')](){const _0x477ecd=this[_0x8390('0x9')],_0x103b07=_0x477ecd[_0x8390('0x15')];if(!_0x477ecd['plugins'][_0x8390('0x17')]('BlockQuoteEditing'))return;const _0x5b7fdc=_0x477ecd[_0x8390('0x11')]['get']('TrackChangesEditing'),_0x556f14=this[_0x8390('0x9')][_0x8390('0x7')]['get']('blockQuote');_0x5b7fdc['enableCommand'](_0x8390('0x5'),(_0x5a1c06,_0x306537={})=>{const _0xbc2b1f=this['editor'][_0x8390('0xf')]['document'][_0x8390('0x8')],_0x18eded=_0x306537&&void 0x0!==_0x306537[_0x8390('0x18')]?_0x306537[_0x8390('0x18')]:!_0x556f14[_0x8390('0x13')];let _0x574c69=[];if(_0x18eded){const _0x4528c7=Array[_0x8390('0x3')](_0xbc2b1f[_0x8390('0x4')]())[_0x8390('0xa')](_0x2e7f36=>oo(_0x2e7f36)||function(_0x491190,_0x5e8eda){const _0x3449c9=_0x5e8eda[_0x8390('0x6')](_0x491190['parent'],_0x8390('0x5')),_0x40555a=_0x5e8eda[_0x8390('0x6')](['$root',_0x8390('0x5')],_0x491190);return _0x3449c9&&_0x40555a;}(_0x2e7f36,this[_0x8390('0x9')][_0x8390('0xf')]['schema']));_0x574c69=_0x3fd0ed(_0x4528c7,_0x477ecd['model']);}else{const _0x46c381=Array[_0x8390('0x3')](_0xbc2b1f[_0x8390('0x4')]())[_0x8390('0xa')](_0x433e58=>oo(_0x433e58));_0x574c69=_0x3fd0ed(_0x46c381,_0x477ecd[_0x8390('0xf')]);}_0x477ecd[_0x8390('0xf')][_0x8390('0x0')](()=>{for(const _0x521670 of _0x574c69)_0x5b7fdc[_0x8390('0x10')](_0x521670,{'commandName':_0x8390('0x5'),'commandParams':[{'forceValue':_0x18eded}]});});}),_0x5b7fdc[_0x8390('0xd')][_0x8390('0xb')](_0x573142=>{const {data:_0x4c4dd3}=_0x573142;if(_0x4c4dd3&&_0x8390('0x5')==_0x4c4dd3[_0x8390('0x12')]){const _0x2cb61b=_0x590650(_0x103b07,_0x8390('0x2'));return _0x4c4dd3[_0x8390('0x14')][0x0][_0x8390('0x18')]?{'type':_0x8390('0x1'),'content':_0x590650(_0x103b07,'*Set\x20format:*\x20%0',_0x2cb61b)}:{'type':_0x8390('0x1'),'content':_0x590650(_0x103b07,_0x8390('0x19'),_0x2cb61b)};}});}}function oo(_0x4a9ad0){return _0x8390('0x5')==_0x4a9ad0[_0x8390('0xc')][_0x8390('0xe')];}
@@ -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 _0x3e6b=['afterInit','plugins','changeCaseUpper','get','has','TrackChangesEditing','changeCaseLower','editor','enableCommand','changeCaseTitle'];(function(_0x4f91ea,_0x3e6b8e){const _0x41300a=function(_0x3b3d13){while(--_0x3b3d13){_0x4f91ea['push'](_0x4f91ea['shift']());}};_0x41300a(++_0x3e6b8e);}(_0x3e6b,0x1b2));const _0x4130=function(_0x4f91ea,_0x3e6b8e){_0x4f91ea=_0x4f91ea-0x0;let _0x41300a=_0x3e6b[_0x4f91ea];return _0x41300a;};import{Plugin as _0x1a4469}from'ckeditor5/src/core.js';export default class G extends _0x1a4469{[_0x4130('0x6')](){const _0x14c050=this[_0x4130('0x3')];_0x14c050[_0x4130('0x7')][_0x4130('0x0')]('CaseChange')&&(_0x14c050['plugins'][_0x4130('0x9')](_0x4130('0x1'))[_0x4130('0x4')](_0x4130('0x8')),_0x14c050[_0x4130('0x7')][_0x4130('0x9')](_0x4130('0x1'))[_0x4130('0x4')](_0x4130('0x2')),_0x14c050[_0x4130('0x7')][_0x4130('0x9')](_0x4130('0x1'))[_0x4130('0x4')](_0x4130('0x5')));}}
@@ -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 _0x4522=['afterInit','TrackChangesEditing','editor','enableCommand','get','commands','ckbox','plugins'];(function(_0x372fa8,_0x45228e){const _0x4ae7c7=function(_0x2a80c3){while(--_0x2a80c3){_0x372fa8['push'](_0x372fa8['shift']());}};_0x4ae7c7(++_0x45228e);}(_0x4522,0x14c));const _0x4ae7=function(_0x372fa8,_0x45228e){_0x372fa8=_0x372fa8-0x0;let _0x4ae7c7=_0x4522[_0x372fa8];return _0x4ae7c7;};import{Plugin as _0x1a2376}from'ckeditor5/src/core.js';export default class F extends _0x1a2376{[_0x4ae7('0x4')](){const _0x189add=this[_0x4ae7('0x6')];_0x189add[_0x4ae7('0x1')][_0x4ae7('0x0')](_0x4ae7('0x2'))&&_0x189add[_0x4ae7('0x3')][_0x4ae7('0x0')](_0x4ae7('0x5'))[_0x4ae7('0x7')](_0x4ae7('0x2'));}}
@@ -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 _0x194e=['TrackChangesEditing','enableCommand','commandName','forceValue','format','outdentCodeBlock','*Remove\x20format:*\x20%0','has','language','name','checkChild','markBlockFormat','registerElementLabel','_descriptionFactory','from','schema','*Set\x20format:*\x20%0','change','document','value','registerDescriptionCallback','model','locale','find','ELEMENT_CODE_BLOCK','blockName','plugins','commands','formatBlock','afterInit','rootElement','commandParams','indentCodeBlock','get','codeBlock'];(function(_0x2a07ee,_0x194e4b){const _0x523579=function(_0x521916){while(--_0x521916){_0x2a07ee['push'](_0x2a07ee['shift']());}};_0x523579(++_0x194e4b);}(_0x194e,0x114));const _0x5235=function(_0x2a07ee,_0x194e4b){_0x2a07ee=_0x2a07ee-0x0;let _0x523579=_0x194e[_0x2a07ee];return _0x523579;};import{Plugin as _0x1c5078}from'ckeditor5/src/core.js';import{getTranslation as _0x941dd6}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x28dd61}from'../utils/utils.js';export default class L extends _0x1c5078{[_0x5235('0x21')](){const _0x12285a=this['editor'];if(!_0x12285a[_0x5235('0x1e')][_0x5235('0xb')]('CodeBlock'))return;const _0x396b19=_0x12285a[_0x5235('0x1e')][_0x5235('0x2')](_0x5235('0x4')),_0x510a5e=_0x12285a[_0x5235('0x1a')],_0x3c3fd3=_0x12285a['config'][_0x5235('0x2')](_0x5235('0x3'))['languages'],_0xd33154=_0x12285a[_0x5235('0x1f')][_0x5235('0x2')](_0x5235('0x3'));_0x396b19[_0x5235('0x5')](_0x5235('0x1')),_0x396b19[_0x5235('0x5')](_0x5235('0x9')),_0x396b19[_0x5235('0x5')](_0x5235('0x3'),(_0x35fa1f,_0xfc4d76={})=>{const _0x52a387=_0x12285a[_0x5235('0x19')],_0xac2553=_0x12285a['model'][_0x5235('0x16')]['selection'],_0x292195=_0xfc4d76&&void 0x0!==_0xfc4d76[_0x5235('0x7')]?_0xfc4d76[_0x5235('0x7')]:!_0xd33154[_0x5235('0x17')];let _0x537eba;_0xfc4d76[_0x5235('0xc')]||(_0xfc4d76[_0x5235('0xc')]=_0x3c3fd3[0x0]['language']),_0x537eba=_0x292195?Array[_0x5235('0x12')](_0xac2553['getSelectedBlocks']())['filter'](_0x25f35c=>eo(_0x25f35c)||function(_0x140448,_0x2829f8){if(_0x140448['is'](_0x5235('0x22'))||_0x2829f8['isLimit'](_0x140448))return!0x1;return _0x2829f8[_0x5235('0xe')](_0x140448['parent'],_0x5235('0x3'));}(_0x25f35c,_0x52a387[_0x5235('0x13')])):Array[_0x5235('0x12')](_0xac2553['getSelectedBlocks']())['filter'](_0xa536eb=>eo(_0xa536eb));const _0x546065=_0x28dd61(_0x537eba,_0x52a387);_0x52a387[_0x5235('0x15')](()=>{for(const _0x6508ed of _0x546065)_0x396b19[_0x5235('0xf')](_0x6508ed,{'commandName':'codeBlock','commandParams':[{..._0xfc4d76,'forceValue':_0x292195}],'formatGroupId':_0x5235('0x1d')});});}),(_0x396b19['_descriptionFactory'][_0x5235('0x10')]('codeBlock',_0x1d4afc=>_0x941dd6(_0x510a5e,'ELEMENT_CODE_BLOCK',_0x1d4afc)),_0x396b19[_0x5235('0x11')][_0x5235('0x18')](_0x5584db=>{if(_0x5235('0x20')!=_0x5584db['type'])return;const _0x410170=_0x510a5e['t'],{data:_0x4684b2}=_0x5584db;if(!_0x4684b2||_0x5235('0x3')!=_0x4684b2[_0x5235('0x6')])return;const _0x13a458=_0x4684b2[_0x5235('0x0')][0x0][_0x5235('0xc')],_0x196982=_0x410170(_0x3c3fd3[_0x5235('0x1b')](_0x39bc60=>_0x39bc60['language']===_0x13a458)['label'])['toLowerCase']();return _0x4684b2[_0x5235('0x0')][0x0]['forceValue']?{'type':_0x5235('0x8'),'content':_0x941dd6(_0x510a5e,_0x5235('0x14'),_0x941dd6(_0x510a5e,_0x5235('0x1c'),0x1)+'\x20('+_0x196982+')')}:{'type':_0x5235('0x8'),'content':_0x941dd6(_0x510a5e,_0x5235('0xa'),_0x941dd6(_0x510a5e,_0x5235('0x1c'),0x1))};}));}}function eo(_0x3e6579){return'codeBlock'==_0x3e6579[_0x5235('0xd')];}
@@ -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 _0x266d=['TrackChangesEditing','CommentsEditing','plugins','has','editor'];(function(_0x511f30,_0x266db2){const _0x1dd4df=function(_0x2f4be2){while(--_0x2f4be2){_0x511f30['push'](_0x511f30['shift']());}};_0x1dd4df(++_0x266db2);}(_0x266d,0x1b9));const _0x1dd4=function(_0x511f30,_0x266db2){_0x511f30=_0x511f30-0x0;let _0x1dd4df=_0x266d[_0x511f30];return _0x1dd4df;};import{Plugin as _0x32ddcf}from'ckeditor5/src/core.js';export default class H extends _0x32ddcf{['afterInit'](){const _0x1be53c=this[_0x1dd4('0x3')];if(!_0x1be53c[_0x1dd4('0x1')][_0x1dd4('0x2')](_0x1dd4('0x0')))return;_0x1be53c[_0x1dd4('0x1')]['get'](_0x1dd4('0x4'))['enableCommand']('addCommentThread');}}
@@ -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 _0xdf06=['unit','forward','get','unlock','model','high','bind','batch','options','markerName','delete','fromRange','isCollapsed','enableCommand','getFirstRange','$graveyard','root','rootName','detach','markerNameToElements','TrackChangesEditing','data','removeMarker:suggestion:deletion','showSuggestionHighlights','start','createRange','uiElement','addMarker:suggestion:deletion','remove','end','editing','requires','merge','downcastDispatcher','unbindElementFromMarkerName','selection','buffer','commands','mapper','setSelection','writer'];(function(_0x421fb2,_0xdf0693){const _0x484ae0=function(_0xba2b3d){while(--_0xba2b3d){_0x421fb2['push'](_0x421fb2['shift']());}};_0x484ae0(++_0xdf0693);}(_0xdf06,0x17a));const _0x484a=function(_0x421fb2,_0xdf0693){_0x421fb2=_0x421fb2-0x0;let _0x484ae0=_0xdf06[_0x421fb2];return _0x484ae0;};import{Plugin as _0x1e0994}from'ckeditor5/src/core.js';import{LiveRange as _0x5401b9}from'ckeditor5/src/engine.js';import{Delete as _0x138ef1}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0xbd6789}from'./utils.js';export default class q extends _0x1e0994{static get[_0x484a('0x16')](){return[_0x138ef1];}['init'](){const _0x14dc42=this['editor'],_0x850a21=_0x14dc42['plugins']['get'](_0x484a('0xb'));_0x850a21['enableCommand'](_0x484a('0x1'));const _0x2b2406=_0x14dc42[_0x484a('0x1c')][_0x484a('0x22')]('deleteForward');_0x850a21[_0x484a('0x4')]('deleteForward',(_0xc131b7,_0x53624f={})=>{const _0x48d752=_0x14dc42[_0x484a('0x24')]['createSelection'](_0x14dc42[_0x484a('0x24')]['document'][_0x484a('0x1a')]);_0x48d752[_0x484a('0x3')]&&_0x14dc42['model']['modifySelection'](_0x48d752,{'direction':_0x484a('0x21'),'unit':_0x53624f[_0x484a('0x20')]});const _0x5f320e=_0x48d752[_0x484a('0x5')](),_0xe6248=_0x5401b9[_0x484a('0x2')](_0x5f320e);let _0x4ef168;_0xc131b7(_0x53624f),_0x4ef168=_0x484a('0x6')==_0xe6248[_0x484a('0x7')][_0x484a('0x8')]?_0x14dc42[_0x484a('0x24')]['createRange'](_0x5f320e[_0x484a('0xf')]):_0x14dc42[_0x484a('0x24')][_0x484a('0x10')](_0xe6248[_0x484a('0xf')],_0xe6248[_0x484a('0x14')]),_0xe6248[_0x484a('0x9')](),_0x14dc42[_0x484a('0x24')]['enqueueChange'](_0x2b2406[_0x484a('0x1b')][_0x484a('0x27')],_0x489c8a=>{_0x2b2406[_0x484a('0x1b')]['lock'](),_0x489c8a[_0x484a('0x1e')](_0x489c8a[_0x484a('0x10')](_0x4ef168['end'])),_0x2b2406[_0x484a('0x1b')][_0x484a('0x23')]();});}),_0x14dc42[_0x484a('0x15')][_0x484a('0x18')]['on']('addMarker:suggestion:deletion',_0xbd6789(_0x14dc42,_0x484a('0x17')),{'priority':'high'}),_0x14dc42[_0x484a('0xc')]['downcastDispatcher']['on'](_0x484a('0x12'),(_0x1b673c,_0x1b7f6f,_0x2b718e)=>{_0x2b718e[_0x484a('0x28')][_0x484a('0xe')]&&_0xbd6789(_0x14dc42,_0x484a('0x17'),{'showActiveMarker':!0x1})[_0x484a('0x26')](this)(_0x1b673c,_0x1b7f6f,_0x2b718e);},{'priority':'high'}),_0x14dc42['editing']['downcastDispatcher']['on'](_0x484a('0xd'),(_0x19ef44,_0x301b46,_0x2713d1)=>{const _0x13c50f=_0x2713d1['mapper'][_0x484a('0xa')](_0x301b46['markerName']);if(_0x13c50f)for(const _0xc9b60e of _0x13c50f)_0xc9b60e['is'](_0x484a('0x11'))&&(_0x2713d1[_0x484a('0x1d')][_0x484a('0x19')](_0xc9b60e,_0x301b46[_0x484a('0x0')]),_0x2713d1[_0x484a('0x1f')][_0x484a('0x13')](_0xc9b60e));},{'priority':_0x484a('0x25')});}}
@@ -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
  */
@@ -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 _0x50a8=['model','high','getFirstRange','remove','hasClass','markerNameToElements','change','fromRange','fire','data','plugins','commands','editing','parent','showSuggestionHighlights','init','options','end','bind','markInsertion','createRange','afterExecute','unbindElementFromMarkerName','ck-suggestion-marker-split','downcastDispatcher','mapper','enableCommand','addMarker:suggestion:insertion','getFirstPosition','get','document','markerName','split','TrackChangesEditing'];(function(_0x140acd,_0x50a8f4){const _0x56269e=function(_0x51b5f1){while(--_0x51b5f1){_0x140acd['push'](_0x140acd['shift']());}};_0x56269e(++_0x50a8f4);}(_0x50a8,0xb8));const _0x5626=function(_0x140acd,_0x50a8f4){_0x140acd=_0x140acd-0x0;let _0x56269e=_0x50a8[_0x140acd];return _0x56269e;};import{Plugin as _0x2519bb}from'ckeditor5/src/core';import{Enter as _0x1f4c3b}from'ckeditor5/src/enter';import{LiveRange as _0x49d0dd}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xf82cfa}from'./utils';export default class W extends _0x2519bb{static get['requires'](){return[_0x1f4c3b];}[_0x5626('0x1')](){const _0x2c0bf6=this['editor'],_0x43d7b4=_0x2c0bf6[_0x5626('0x1e')][_0x5626('0xf')](_0x5626('0x13')),_0x3287e3=_0x2c0bf6[_0x5626('0x1f')][_0x5626('0xf')]('enter');_0x43d7b4[_0x5626('0xc')]('enter',()=>{_0x2c0bf6[_0x5626('0x14')][_0x5626('0x1a')](_0x37b8d3=>{const _0x54a6bd=_0x2c0bf6['model'][_0x5626('0x10')]['selection'],_0xb1373d=_0x54a6bd[_0x5626('0xe')](),_0x2c3a57=_0x49d0dd[_0x5626('0x1b')](_0x54a6bd[_0x5626('0x16')]());if(_0x3287e3['enterBlock'](_0x37b8d3)){const _0x38aeed=_0x2c0bf6['model']['createPositionAt'](_0xb1373d[_0x5626('0x21')]['nextSibling'],0x0),_0x59125c=_0x37b8d3['createRange'](_0xb1373d,_0x38aeed);_0x43d7b4[_0x5626('0x5')](_0x59125c);}else _0x37b8d3['setSelection'](_0x37b8d3[_0x5626('0x6')](_0x2c3a57[_0x5626('0x3')]));_0x2c3a57['detach'](),_0x3287e3[_0x5626('0x1c')](_0x5626('0x7'),{'writer':_0x37b8d3});});}),_0x2c0bf6[_0x5626('0x20')][_0x5626('0xa')]['on']('addMarker:suggestion:insertion',_0xf82cfa(_0x2c0bf6,_0x5626('0x12')),{'priority':'high'}),_0x2c0bf6[_0x5626('0x20')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x4f7f6c,_0x52e468,_0x244f6b)=>{const _0x39f524=_0x244f6b[_0x5626('0xb')][_0x5626('0x19')](_0x52e468[_0x5626('0x11')]);if(_0x39f524)for(const _0x49dcf7 of _0x39f524)_0x49dcf7[_0x5626('0x18')](_0x5626('0x9'))&&(_0x244f6b['mapper'][_0x5626('0x8')](_0x49dcf7,_0x52e468['markerName']),_0x244f6b['writer'][_0x5626('0x17')](_0x49dcf7));},{'priority':'high'}),_0x2c0bf6[_0x5626('0x1d')]['downcastDispatcher']['on'](_0x5626('0xd'),(_0x1e99ef,_0x592dba,_0x43555e)=>{_0x43555e[_0x5626('0x2')][_0x5626('0x0')]&&_0xf82cfa(_0x2c0bf6,_0x5626('0x12'),{'showActiveMarker':!0x1})[_0x5626('0x4')](this)(_0x1e99ef,_0x592dba,_0x43555e);},{'priority':_0x5626('0x15')});}}
23
+ const _0x385f=['createPositionAt','high','get','mapper','parent','addMarker:suggestion:insertion','model','end','markerNameToElements','writer','hasClass','change','nextSibling','TrackChangesEditing','downcastDispatcher','markerName','selection','data','markInsertion','getFirstRange','showSuggestionHighlights','fromRange','enableCommand','afterExecute','enter','plugins','createRange','bind','ck-suggestion-marker-split','options','document','init','commands','split','remove','removeMarker:suggestion:insertion'];(function(_0x3bf552,_0x385f27){const _0x1e259b=function(_0x47dbc9){while(--_0x47dbc9){_0x3bf552['push'](_0x3bf552['shift']());}};_0x1e259b(++_0x385f27);}(_0x385f,0x160));const _0x1e25=function(_0x3bf552,_0x385f27){_0x3bf552=_0x3bf552-0x0;let _0x1e259b=_0x385f[_0x3bf552];return _0x1e259b;};import{Plugin as _0x370b1e}from'ckeditor5/src/core.js';import{Enter as _0x1b4a69}from'ckeditor5/src/enter.js';import{LiveRange as _0x590b1b}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x16def8}from'./utils.js';export default class W extends _0x370b1e{static get['requires'](){return[_0x1b4a69];}[_0x1e25('0x3')](){const _0x4be7b7=this['editor'],_0x490929=_0x4be7b7[_0x1e25('0x21')][_0x1e25('0xa')](_0x1e25('0x15')),_0xd37fd0=_0x4be7b7[_0x1e25('0x4')][_0x1e25('0xa')](_0x1e25('0x20'));_0x490929[_0x1e25('0x1e')](_0x1e25('0x20'),()=>{_0x4be7b7['model'][_0x1e25('0x13')](_0x17b313=>{const _0x4265cf=_0x4be7b7[_0x1e25('0xe')][_0x1e25('0x2')][_0x1e25('0x18')],_0x326340=_0x4265cf['getFirstPosition'](),_0x913958=_0x590b1b[_0x1e25('0x1d')](_0x4265cf[_0x1e25('0x1b')]());if(_0xd37fd0['enterBlock'](_0x17b313)){const _0x2c0f4f=_0x4be7b7[_0x1e25('0xe')][_0x1e25('0x8')](_0x326340[_0x1e25('0xc')][_0x1e25('0x14')],0x0),_0x310b61=_0x17b313[_0x1e25('0x22')](_0x326340,_0x2c0f4f);_0x490929[_0x1e25('0x1a')](_0x310b61);}else _0x17b313['setSelection'](_0x17b313['createRange'](_0x913958[_0x1e25('0xf')]));_0x913958['detach'](),_0xd37fd0['fire'](_0x1e25('0x1f'),{'writer':_0x17b313});});}),_0x4be7b7['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x16def8(_0x4be7b7,_0x1e25('0x5')),{'priority':_0x1e25('0x9')}),_0x4be7b7['editing'][_0x1e25('0x16')]['on'](_0x1e25('0x7'),(_0x1d1268,_0x4122c7,_0x9a3fe2)=>{const _0x1742ec=_0x9a3fe2[_0x1e25('0xb')][_0x1e25('0x10')](_0x4122c7[_0x1e25('0x17')]);if(_0x1742ec)for(const _0x2bddc2 of _0x1742ec)_0x2bddc2[_0x1e25('0x12')](_0x1e25('0x0'))&&(_0x9a3fe2[_0x1e25('0xb')]['unbindElementFromMarkerName'](_0x2bddc2,_0x4122c7['markerName']),_0x9a3fe2[_0x1e25('0x11')][_0x1e25('0x6')](_0x2bddc2));},{'priority':_0x1e25('0x9')}),_0x4be7b7[_0x1e25('0x19')][_0x1e25('0x16')]['on'](_0x1e25('0xd'),(_0x1b917c,_0x449993,_0x24391c)=>{_0x24391c[_0x1e25('0x1')][_0x1e25('0x1c')]&&_0x16def8(_0x4be7b7,_0x1e25('0x5'),{'showActiveMarker':!0x1})[_0x1e25('0x23')](this)(_0x1b917c,_0x449993,_0x24391c);},{'priority':_0x1e25('0x9')});}}