@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231216.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 (135) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/track-changes.js +1 -1
  3. package/package.json +4 -3
  4. package/src/augmentation.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  10. package/src/commands/executeonallsuggestionscommand.js +1 -1
  11. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.d.ts +1 -1
  14. package/src/commands/trackchangescommand.js +1 -1
  15. package/src/index.d.ts +12 -12
  16. package/src/index.js +1 -1
  17. package/src/integrations/aiassistant.d.ts +1 -1
  18. package/src/integrations/aiassistant.js +1 -1
  19. package/src/integrations/alignment.d.ts +1 -1
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +1 -1
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +1 -1
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +1 -1
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +1 -1
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +1 -1
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +2 -2
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +1 -1
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +3 -3
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +2 -2
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +1 -1
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +1 -1
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +1 -1
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +1 -1
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +1 -1
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +1 -1
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +1 -1
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +1 -1
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +1 -1
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/imagestyle.d.ts +1 -1
  58. package/src/integrations/imagestyle.js +1 -1
  59. package/src/integrations/importword.d.ts +1 -1
  60. package/src/integrations/importword.js +1 -1
  61. package/src/integrations/indent.d.ts +1 -1
  62. package/src/integrations/indent.js +1 -1
  63. package/src/integrations/inputcommand.d.ts +2 -2
  64. package/src/integrations/inputcommand.js +1 -1
  65. package/src/integrations/link.d.ts +1 -1
  66. package/src/integrations/link.js +1 -1
  67. package/src/integrations/list.d.ts +1 -1
  68. package/src/integrations/list.js +1 -1
  69. package/src/integrations/listproperties.d.ts +3 -3
  70. package/src/integrations/listproperties.js +1 -1
  71. package/src/integrations/mediaembed.d.ts +1 -1
  72. package/src/integrations/mediaembed.js +1 -1
  73. package/src/integrations/mention.d.ts +1 -1
  74. package/src/integrations/mention.js +1 -1
  75. package/src/integrations/pagebreak.d.ts +1 -1
  76. package/src/integrations/pagebreak.js +1 -1
  77. package/src/integrations/paragraph.d.ts +1 -1
  78. package/src/integrations/paragraph.js +1 -1
  79. package/src/integrations/removeformat.d.ts +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.d.ts +1 -1
  82. package/src/integrations/restrictededitingmode.js +1 -1
  83. package/src/integrations/shiftentercommand.d.ts +2 -2
  84. package/src/integrations/shiftentercommand.js +1 -1
  85. package/src/integrations/standardeditingmode.d.ts +1 -1
  86. package/src/integrations/standardeditingmode.js +1 -1
  87. package/src/integrations/style.d.ts +1 -1
  88. package/src/integrations/style.js +1 -1
  89. package/src/integrations/table.d.ts +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.d.ts +2 -2
  92. package/src/integrations/tablecaption.js +1 -1
  93. package/src/integrations/tableclipboard.d.ts +2 -2
  94. package/src/integrations/tableclipboard.js +1 -1
  95. package/src/integrations/tablecolumnresize.d.ts +4 -4
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.d.ts +2 -2
  98. package/src/integrations/tableheadings.js +1 -1
  99. package/src/integrations/tablemergesplit.d.ts +2 -2
  100. package/src/integrations/tablemergesplit.js +1 -1
  101. package/src/integrations/tableofcontents.d.ts +1 -1
  102. package/src/integrations/tableofcontents.js +1 -1
  103. package/src/integrations/tableproperties.d.ts +4 -4
  104. package/src/integrations/tableproperties.js +1 -1
  105. package/src/integrations/template.d.ts +1 -1
  106. package/src/integrations/template.js +1 -1
  107. package/src/integrations/title.d.ts +1 -1
  108. package/src/integrations/title.js +1 -1
  109. package/src/integrations/undo.d.ts +1 -1
  110. package/src/integrations/undo.js +1 -1
  111. package/src/integrations/utils.d.ts +3 -3
  112. package/src/integrations/utils.js +1 -1
  113. package/src/suggestion.d.ts +5 -5
  114. package/src/suggestion.js +1 -1
  115. package/src/suggestiondescriptionfactory.d.ts +3 -3
  116. package/src/suggestiondescriptionfactory.js +1 -1
  117. package/src/trackchanges.d.ts +5 -5
  118. package/src/trackchanges.js +1 -1
  119. package/src/trackchangesconfig.d.ts +1 -1
  120. package/src/trackchangesdata.d.ts +2 -2
  121. package/src/trackchangesdata.js +1 -1
  122. package/src/trackchangesediting.d.ts +53 -53
  123. package/src/trackchangesediting.js +1 -1
  124. package/src/trackchangesui.d.ts +3 -3
  125. package/src/trackchangesui.js +1 -1
  126. package/src/ui/suggestioncontroller.d.ts +5 -5
  127. package/src/ui/suggestioncontroller.js +1 -1
  128. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  129. package/src/ui/view/basesuggestionthreadview.js +1 -1
  130. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  131. package/src/ui/view/suggestionthreadview.js +1 -1
  132. package/src/utils/common-translations.d.ts +1 -1
  133. package/src/utils/common-translations.js +1 -1
  134. package/src/utils/utils.d.ts +4 -4
  135. package/src/utils/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "0.0.0-nightly-20231214.0",
3
+ "version": "0.0.0-nightly-20231216.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -28,6 +28,7 @@
28
28
  "realtime",
29
29
  "framework"
30
30
  ],
31
+ "type": "module",
31
32
  "main": "src/index.js",
32
33
  "files": [
33
34
  "build",
@@ -39,8 +40,8 @@
39
40
  "CHANGELOG.md"
40
41
  ],
41
42
  "dependencies": {
42
- "ckeditor5": "0.0.0-nightly-20231214.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231214.0",
43
+ "ckeditor5": "0.0.0-nightly-20231216.0",
44
+ "ckeditor5-collaboration": "0.0.0-nightly-20231216.0",
44
45
  "lodash-es": "4.17.21"
45
46
  },
46
47
  "types": "src/index.d.ts",
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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
- import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
6
- import type { Editor } from 'ckeditor5/src/core';
5
+ import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index.js';
6
+ import type { Editor } from 'ckeditor5/src/core.js';
7
7
  declare module '@ckeditor/ckeditor5-core' {
8
8
  interface EditorConfig {
9
9
  /**
@@ -6,8 +6,8 @@
6
6
  * @module track-changes/commands/acceptsuggestioncommand
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 accepts the suggestion chain.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5833=['editor','track-changes-accept-suggestion-not-found','model','acceptSuggestion','getRanges','get','isEnabled','plugins','canEditAt','refresh','TrackChangesEditing','_suggestions'];(function(_0x359dbb,_0x583305){const _0x2ac986=function(_0x4104c2){while(--_0x4104c2){_0x359dbb['push'](_0x359dbb['shift']());}};_0x2ac986(++_0x583305);}(_0x5833,0x145));const _0x2ac9=function(_0x359dbb,_0x583305){_0x359dbb=_0x359dbb-0x0;let _0x2ac986=_0x5833[_0x359dbb];return _0x2ac986;};import{Command as _0x53ba3f}from'ckeditor5/src/core';import{CKEditorError as _0x57f109}from'ckeditor5/src/utils';export default class B extends _0x53ba3f{constructor(_0x205cd0,_0x3a777b){super(_0x205cd0),this[_0x2ac9('0xa')]=_0x3a777b,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2ac9('0x8')](){this[_0x2ac9('0x5')]=!0x0;}['execute'](_0x40f1a5){const _0x96dd9a=this['_suggestions'][_0x2ac9('0x4')](_0x40f1a5);if(!_0x96dd9a)throw new _0x57f109(_0x2ac9('0x0'),this);const _0xe65a88=_0x96dd9a[_0x2ac9('0x3')]();this[_0x2ac9('0xb')][_0x2ac9('0x1')][_0x2ac9('0x7')](_0xe65a88)&&this[_0x2ac9('0xb')][_0x2ac9('0x6')]['get'](_0x2ac9('0x9'))[_0x2ac9('0x2')](_0x96dd9a);}}
23
+ const _0x5f58=['TrackChangesEditing','getRanges','canEditAt','get','editor','refresh','plugins','track-changes-accept-suggestion-not-found','_suggestions','acceptSuggestion','isEnabled'];(function(_0x1ec380,_0x5f5832){const _0x337ab8=function(_0x39c94a){while(--_0x39c94a){_0x1ec380['push'](_0x1ec380['shift']());}};_0x337ab8(++_0x5f5832);}(_0x5f58,0xe5));const _0x337a=function(_0x1ec380,_0x5f5832){_0x1ec380=_0x1ec380-0x0;let _0x337ab8=_0x5f58[_0x1ec380];return _0x337ab8;};import{Command as _0x4a8685}from'ckeditor5/src/core.js';import{CKEditorError as _0x101c4d}from'ckeditor5/src/utils.js';export default class $ extends _0x4a8685{constructor(_0x13f714,_0x23c590){super(_0x13f714),this['_suggestions']=_0x23c590,this[_0x337a('0x7')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x337a('0x7')](){this[_0x337a('0x1')]=!0x0;}['execute'](_0x3f53bd){const _0x40abdc=this[_0x337a('0xa')]['get'](_0x3f53bd);if(!_0x40abdc)throw new _0x101c4d(_0x337a('0x9'),this);const _0x1edc72=_0x40abdc[_0x337a('0x3')]();this[_0x337a('0x6')]['model'][_0x337a('0x4')](_0x1edc72)&&this[_0x337a('0x6')][_0x337a('0x8')][_0x337a('0x5')](_0x337a('0x2'))[_0x337a('0x0')](_0x40abdc);}}
@@ -6,8 +6,8 @@
6
6
  * @module track-changes/commands/discardsuggestioncommand
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 discards the suggestion chain.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4edb=['editor','canEditAt','model','getRanges','isEnabled','TrackChangesEditing','_suggestions','execute','refresh','discardSuggestion','track-changes-discard-suggestion-not-found','_isEnabledBasedOnSelection'];(function(_0x1a93a8,_0x4edba9){const _0x248575=function(_0x493959){while(--_0x493959){_0x1a93a8['push'](_0x1a93a8['shift']());}};_0x248575(++_0x4edba9);}(_0x4edb,0xd3));const _0x2485=function(_0x1a93a8,_0x4edba9){_0x1a93a8=_0x1a93a8-0x0;let _0x248575=_0x4edb[_0x1a93a8];return _0x248575;};import{Command as _0x3c7ca4}from'ckeditor5/src/core';import{CKEditorError as _0x147b9c}from'ckeditor5/src/utils';export default class x extends _0x3c7ca4{constructor(_0x3f1496,_0x3aca87){super(_0x3f1496),this[_0x2485('0xb')]=_0x3aca87,this[_0x2485('0x1')](),this[_0x2485('0x4')]=!0x1;}[_0x2485('0x1')](){this[_0x2485('0x9')]=!0x0;}[_0x2485('0x0')](_0x22dd19){const _0x7ab815=this[_0x2485('0xb')]['get'](_0x22dd19);if(!_0x7ab815)throw new _0x147b9c(_0x2485('0x3'),this);const _0x2b2878=_0x7ab815[_0x2485('0x8')]();this[_0x2485('0x5')][_0x2485('0x7')][_0x2485('0x6')](_0x2b2878)&&this['editor']['plugins']['get'](_0x2485('0xa'))[_0x2485('0x2')](_0x7ab815);}}
23
+ const _0x53dc=['plugins','_isEnabledBasedOnSelection','_suggestions','model','TrackChangesEditing','getRanges','track-changes-discard-suggestion-not-found','isEnabled','get','editor','discardSuggestion','refresh','execute'];(function(_0x2f27d0,_0x53dcb0){const _0x98f9bf=function(_0x386d3a){while(--_0x386d3a){_0x2f27d0['push'](_0x2f27d0['shift']());}};_0x98f9bf(++_0x53dcb0);}(_0x53dc,0x12a));const _0x98f9=function(_0x2f27d0,_0x53dcb0){_0x2f27d0=_0x2f27d0-0x0;let _0x98f9bf=_0x53dc[_0x2f27d0];return _0x98f9bf;};import{Command as _0x22b697}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d2e40}from'ckeditor5/src/utils.js';export default class B extends _0x22b697{constructor(_0x439add,_0x5b8c66){super(_0x439add),this[_0x98f9('0x3')]=_0x5b8c66,this[_0x98f9('0xc')](),this[_0x98f9('0x2')]=!0x1;}[_0x98f9('0xc')](){this[_0x98f9('0x8')]=!0x0;}[_0x98f9('0x0')](_0x40d6cf){const _0x2de1a5=this[_0x98f9('0x3')][_0x98f9('0x9')](_0x40d6cf);if(!_0x2de1a5)throw new _0x3d2e40(_0x98f9('0x7'),this);const _0x133b91=_0x2de1a5[_0x98f9('0x6')]();this[_0x98f9('0xa')][_0x98f9('0x4')]['canEditAt'](_0x133b91)&&this['editor'][_0x98f9('0x1')]['get'](_0x98f9('0x5'))[_0x98f9('0xb')](_0x2de1a5);}}
@@ -6,8 +6,8 @@
6
6
  * @module track-changes/commands/executeonallsuggestionscommand
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 in the document.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10d1=['values','from','_isEnabledBasedOnSelection','canEditAt','editor','refresh','getRanges','execute','_suggestions','_command','model'];(function(_0x2b4af9,_0x10d141){const _0x5190c0=function(_0x15f31b){while(--_0x15f31b){_0x2b4af9['push'](_0x2b4af9['shift']());}};_0x5190c0(++_0x10d141);}(_0x10d1,0x11a));const _0x5190=function(_0x2b4af9,_0x10d141){_0x2b4af9=_0x2b4af9-0x0;let _0x5190c0=_0x10d1[_0x2b4af9];return _0x5190c0;};import{Command as _0x21c825}from'ckeditor5/src/core';import{sortSuggestions as _0x50726f,executeCommandForSuggestions as _0x503552}from'../utils/utils';export default class E extends _0x21c825{constructor(_0x205e9e,_0x529479,_0x42356e){super(_0x205e9e),this[_0x5190('0x2')]=_0x529479,this[_0x5190('0x1')]=_0x42356e,this['refresh'](),this[_0x5190('0x6')]=!0x1;}[_0x5190('0x9')](){const _0x129735=Array[_0x5190('0x5')](this[_0x5190('0x1')][_0x5190('0x4')]())['some'](_0x4729e6=>_0x4729e6['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x129735;}[_0x5190('0x0')](){const _0xd106c3=_0x50726f(Array[_0x5190('0x5')](this[_0x5190('0x1')][_0x5190('0x4')]()));for(const _0x48a000 of _0xd106c3){const _0x1cc64e=_0x48a000[_0x5190('0xa')]();if(!this['editor'][_0x5190('0x3')][_0x5190('0x7')](_0x1cc64e))return;}_0x503552(this[_0x5190('0x8')][_0x5190('0x3')],this[_0x5190('0x2')],_0xd106c3);}}
23
+ const _0x5b0e=['isInContent','values','canEditAt','_isEnabledBasedOnSelection','isEnabled','_command','_suggestions','execute','some','refresh','editor','from','model'];(function(_0x22c945,_0x5b0e8d){const _0x5e6c58=function(_0x25cf16){while(--_0x25cf16){_0x22c945['push'](_0x22c945['shift']());}};_0x5e6c58(++_0x5b0e8d);}(_0x5b0e,0xf6));const _0x5e6c=function(_0x22c945,_0x5b0e8d){_0x22c945=_0x22c945-0x0;let _0x5e6c58=_0x5b0e[_0x22c945];return _0x5e6c58;};import{Command as _0x29aa9c}from'ckeditor5/src/core.js';import{sortSuggestions as _0x7be21d,executeCommandForSuggestions as _0x364eda}from'../utils/utils.js';export default class x extends _0x29aa9c{constructor(_0x2c2f05,_0xbe419c,_0x34904d){super(_0x2c2f05),this['_command']=_0xbe419c,this[_0x5e6c('0x7')]=_0x34904d,this[_0x5e6c('0xa')](),this[_0x5e6c('0x4')]=!0x1;}[_0x5e6c('0xa')](){const _0x13aeb8=Array[_0x5e6c('0xc')](this[_0x5e6c('0x7')][_0x5e6c('0x2')]())[_0x5e6c('0x9')](_0x21c22c=>_0x21c22c[_0x5e6c('0x1')]);this['isEnabled']=this[_0x5e6c('0x6')][_0x5e6c('0x5')]&&_0x13aeb8;}[_0x5e6c('0x8')](){const _0x27d7b7=_0x7be21d(Array[_0x5e6c('0xc')](this['_suggestions'][_0x5e6c('0x2')]()));for(const _0x4703e3 of _0x27d7b7){const _0x308a14=_0x4703e3['getRanges']();if(!this[_0x5e6c('0xb')][_0x5e6c('0x0')][_0x5e6c('0x3')](_0x308a14))return;}_0x364eda(this[_0x5e6c('0xb')][_0x5e6c('0x0')],this[_0x5e6c('0x6')],_0x27d7b7);}}
@@ -6,8 +6,8 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38ff=['values','model','document','execute','editor','refresh','getRanges','_command','from','canEditAt','isEnabled','selection','_suggestions','_selectedSuggestions'];(function(_0x4a5b81,_0x38ff63){const _0x476929=function(_0x5895b5){while(--_0x5895b5){_0x4a5b81['push'](_0x4a5b81['shift']());}};_0x476929(++_0x38ff63);}(_0x38ff,0x19c));const _0x4769=function(_0x4a5b81,_0x38ff63){_0x4a5b81=_0x4a5b81-0x0;let _0x476929=_0x38ff[_0x4a5b81];return _0x476929;};import{Command as _0x58ee1b}from'ckeditor5/src/core';import{sortSuggestions as _0x529c03,getSelectedSuggestions as _0x3b54d8,executeCommandForSuggestions as _0x2e795e}from'../utils/utils';export default class R extends _0x58ee1b{constructor(_0x280b3e,_0x1a4db9,_0x485395){super(_0x280b3e),this[_0x4769('0x1')]=_0x1a4db9,this[_0x4769('0x6')]=_0x485395,this[_0x4769('0x7')]=new Set(),this[_0x4769('0xd')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0xf48d94=this[_0x4769('0xc')][_0x4769('0x9')][_0x4769('0xa')][_0x4769('0x5')],_0x3ae1e0=Array[_0x4769('0x2')](this[_0x4769('0x6')][_0x4769('0x8')]());this[_0x4769('0x7')]=_0x3b54d8(_0xf48d94,_0x3ae1e0),this['isEnabled']=this['_command'][_0x4769('0x4')]&&!!this[_0x4769('0x7')]['size'];}[_0x4769('0xb')](){const _0x43498e=_0x529c03(Array[_0x4769('0x2')](this[_0x4769('0x7')]));for(const _0x8c0902 of _0x43498e){const _0x502533=_0x8c0902[_0x4769('0x0')]();if(!this[_0x4769('0xc')][_0x4769('0x9')][_0x4769('0x3')](_0x502533))return;}_0x2e795e(this[_0x4769('0xc')][_0x4769('0x9')],this['_command'],_0x43498e);}}
23
+ const _0x3684=['isEnabled','getRanges','_selectedSuggestions','model','from','_suggestions','refresh','_isEnabledBasedOnSelection','canEditAt','execute','document','selection','editor','_command','size'];(function(_0x28b0a7,_0x368443){const _0x4fedef=function(_0x484bc4){while(--_0x484bc4){_0x28b0a7['push'](_0x28b0a7['shift']());}};_0x4fedef(++_0x368443);}(_0x3684,0x10f));const _0x4fed=function(_0x28b0a7,_0x368443){_0x28b0a7=_0x28b0a7-0x0;let _0x4fedef=_0x3684[_0x28b0a7];return _0x4fedef;};import{Command as _0x403c84}from'ckeditor5/src/core.js';import{sortSuggestions as _0x1a7df9,getSelectedSuggestions as _0x2a5fb0,executeCommandForSuggestions as _0x31414e}from'../utils/utils.js';export default class E extends _0x403c84{constructor(_0x2d38f8,_0x130b89,_0x246463){super(_0x2d38f8),this[_0x4fed('0xc')]=_0x130b89,this[_0x4fed('0x4')]=_0x246463,this[_0x4fed('0x1')]=new Set(),this[_0x4fed('0x5')](),this[_0x4fed('0x6')]=!0x1;}[_0x4fed('0x5')](){const _0xdf66ab=this[_0x4fed('0xb')][_0x4fed('0x2')][_0x4fed('0x9')][_0x4fed('0xa')],_0x3c1be4=Array[_0x4fed('0x3')](this[_0x4fed('0x4')]['values']());this['_selectedSuggestions']=_0x2a5fb0(_0xdf66ab,_0x3c1be4),this[_0x4fed('0xe')]=this[_0x4fed('0xc')][_0x4fed('0xe')]&&!!this[_0x4fed('0x1')][_0x4fed('0xd')];}[_0x4fed('0x8')](){const _0x37e274=_0x1a7df9(Array[_0x4fed('0x3')](this[_0x4fed('0x1')]));for(const _0x3e1ce8 of _0x37e274){const _0x66f937=_0x3e1ce8[_0x4fed('0x0')]();if(!this[_0x4fed('0xb')][_0x4fed('0x2')][_0x4fed('0x7')](_0x66f937))return;}_0x31414e(this['editor'][_0x4fed('0x2')],this[_0x4fed('0xc')],_0x37e274);}}
@@ -6,7 +6,7 @@
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
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10c1=['forceDisabled','editor','value','TrackChangesCommand','refresh','has','isEnabled','clearForceDisabled','execute','affectsData','commands','_enabledCommands'];(function(_0x3bde1d,_0x10c1fe){const _0x13714f=function(_0x5d1f4a){while(--_0x5d1f4a){_0x3bde1d['push'](_0x3bde1d['shift']());}};_0x13714f(++_0x10c1fe);}(_0x10c1,0x15f));const _0x1371=function(_0x3bde1d,_0x10c1fe){_0x3bde1d=_0x3bde1d-0x0;let _0x13714f=_0x10c1[_0x3bde1d];return _0x13714f;};import{Command as _0x54f80d}from'ckeditor5/src/core';export default class $ extends _0x54f80d{constructor(_0x2d2146,_0x5b2a3d){super(_0x2d2146),this['_enabledCommands']=_0x5b2a3d,this[_0x1371('0xb')]=!0x1,this[_0x1371('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1371('0x1')](){this[_0x1371('0x3')]=!0x0;}[_0x1371('0x5')](){this[_0x1371('0xb')]=!this[_0x1371('0xb')],this[_0x1371('0xb')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x542420 of this[_0x1371('0xa')][_0x1371('0x7')]['commands']())_0x542420[_0x1371('0x6')]&&!this['_enabledCommands'][_0x1371('0x2')](_0x542420)&&_0x542420[_0x1371('0x9')](_0x1371('0x0'));}['_enableCommands'](){for(const _0x1ae66b of this['editor'][_0x1371('0x7')][_0x1371('0x7')]())_0x1ae66b[_0x1371('0x6')]&&!this[_0x1371('0x8')][_0x1371('0x2')](_0x1ae66b)&&_0x1ae66b[_0x1371('0x4')]('TrackChangesCommand');}}
23
+ const _0x4746=['_disableUnsupportedCommands','commands','_enableCommands','forceDisabled','value','clearForceDisabled','affectsData','execute','editor','refresh','_enabledCommands','has','_isEnabledBasedOnSelection'];(function(_0x21542e,_0x4746b2){const _0x4c28a7=function(_0x490ba3){while(--_0x490ba3){_0x21542e['push'](_0x21542e['shift']());}};_0x4c28a7(++_0x4746b2);}(_0x4746,0xf0));const _0x4c28=function(_0x21542e,_0x4746b2){_0x21542e=_0x21542e-0x0;let _0x4c28a7=_0x4746[_0x21542e];return _0x4c28a7;};import{Command as _0x117334}from'ckeditor5/src/core.js';export default class M extends _0x117334{constructor(_0x1b10ec,_0x5760e3){super(_0x1b10ec),this[_0x4c28('0x4')]=_0x5760e3,this['value']=!0x1,this[_0x4c28('0x3')](),this[_0x4c28('0x6')]=!0x1;}[_0x4c28('0x3')](){this['isEnabled']=!0x0;}[_0x4c28('0x1')](){this[_0x4c28('0xb')]=!this[_0x4c28('0xb')],this['value']?this[_0x4c28('0x7')]():this[_0x4c28('0x9')]();}['_disableUnsupportedCommands'](){for(const _0x22a85c of this[_0x4c28('0x2')][_0x4c28('0x8')][_0x4c28('0x8')]())_0x22a85c[_0x4c28('0x0')]&&!this['_enabledCommands'][_0x4c28('0x5')](_0x22a85c)&&_0x22a85c[_0x4c28('0xa')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x5e9e8e of this[_0x4c28('0x2')][_0x4c28('0x8')]['commands']())_0x5e9e8e['affectsData']&&!this[_0x4c28('0x4')]['has'](_0x5e9e8e)&&_0x5e9e8e[_0x4c28('0xc')]('TrackChangesCommand');}}
package/src/index.d.ts CHANGED
@@ -2,15 +2,15 @@
2
2
  * @license Copyright (c) 2003-2023, 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
@@ -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';
@@ -5,7 +5,7 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31f4=['enableCommand','showAIAssistant','TrackChangesEditing','editor','plugins','afterInit','get'];(function(_0x596a34,_0x31f4a7){const _0x20295b=function(_0x3811f3){while(--_0x3811f3){_0x596a34['push'](_0x596a34['shift']());}};_0x20295b(++_0x31f4a7);}(_0x31f4,0x1db));const _0x2029=function(_0x596a34,_0x31f4a7){_0x596a34=_0x596a34-0x0;let _0x20295b=_0x31f4[_0x596a34];return _0x20295b;};import{Plugin as _0x3d4874}from'ckeditor5/src/core';export default class j extends _0x3d4874{[_0x2029('0x6')](){const _0xc1c1ff=this[_0x2029('0x4')],_0x531602=_0xc1c1ff[_0x2029('0x5')]['get'](_0x2029('0x3'));_0xc1c1ff['commands'][_0x2029('0x0')](_0x2029('0x2'))&&_0x531602[_0x2029('0x1')]('showAIAssistant');}}
23
+ const _0x3e71=['editor','afterInit','showAIAssistant','commands','enableCommand','get','plugins'];(function(_0x212fed,_0x3e71ae){const _0x5ab69e=function(_0x1534a3){while(--_0x1534a3){_0x212fed['push'](_0x212fed['shift']());}};_0x5ab69e(++_0x3e71ae);}(_0x3e71,0xef));const _0x5ab6=function(_0x212fed,_0x3e71ae){_0x212fed=_0x212fed-0x0;let _0x5ab69e=_0x3e71[_0x212fed];return _0x5ab69e;};import{Plugin as _0x10b925}from'ckeditor5/src/core.js';export default class R extends _0x10b925{[_0x5ab6('0x0')](){const _0x403e3e=this[_0x5ab6('0x6')],_0x559c88=_0x403e3e[_0x5ab6('0x5')][_0x5ab6('0x4')]('TrackChangesEditing');_0x403e3e[_0x5ab6('0x2')][_0x5ab6('0x4')](_0x5ab6('0x1'))&&_0x559c88[_0x5ab6('0x3')](_0x5ab6('0x1'));}}
@@ -5,7 +5,7 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x350e=['registerAttributeLabel','FORMAT_ALIGN_TO_CENTER','FORMAT_JUSTIFY_TEXT','format','justify','commandName','locale','plugins','_enableDefaultAttributesIntegration','center','registerDescriptionCallback','formatBlock','*Format:*\x20%0','alignment','left','type','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','right','FORMAT_ALIGNMENT','editor','commandParams','get','afterInit','_descriptionFactory','has'];(function(_0x9c8a64,_0x350e4d){const _0x200193=function(_0x47b758){while(--_0x47b758){_0x9c8a64['push'](_0x9c8a64['shift']());}};_0x200193(++_0x350e4d);}(_0x350e,0x8d));const _0x2001=function(_0x9c8a64,_0x350e4d){_0x9c8a64=_0x9c8a64-0x0;let _0x200193=_0x350e[_0x9c8a64];return _0x200193;};import{Plugin as _0x42c1c5}from'ckeditor5/src/core';import{getTranslation as _0x24e0f4}from'../utils/common-translations';export default class U extends _0x42c1c5{[_0x2001('0xc')](){const _0x418245=this[_0x2001('0x9')],_0x19f081=_0x418245[_0x2001('0x15')];if(!_0x418245[_0x2001('0x16')][_0x2001('0xe')]('AlignmentEditing'))return;const _0x4124b4=_0x418245[_0x2001('0x16')][_0x2001('0xb')](_0x2001('0x6'));_0x4124b4[_0x2001('0x17')](_0x2001('0x2'),[],[_0x2001('0x2')]),_0x4124b4[_0x2001('0xd')][_0x2001('0xf')]('alignment',_0x24e0f4(_0x19f081,_0x2001('0x8'))),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4f3102=this[_0x2001('0x9')],_0x15c4be=_0x4f3102[_0x2001('0x15')];_0x4f3102[_0x2001('0x16')]['get'](_0x2001('0x6'))['_descriptionFactory'][_0x2001('0x19')](_0x56fd0a=>{if(_0x2001('0x0')!=_0x56fd0a[_0x2001('0x4')])return;const {data:_0x13873b}=_0x56fd0a;if(_0x13873b&&_0x2001('0x2')==_0x13873b[_0x2001('0x14')]){const _0x38d2be=_0x13873b[_0x2001('0xa')][0x0]['value'];return{'type':_0x2001('0x12'),'content':_0x24e0f4(_0x15c4be,_0x2001('0x1'),function(_0x4c47ed){switch(_0x4c47ed){case _0x2001('0x3'):return _0x24e0f4(_0x15c4be,_0x2001('0x5'));case _0x2001('0x7'):return _0x24e0f4(_0x15c4be,'FORMAT_ALIGN_TO_RIGHT');case _0x2001('0x18'):return _0x24e0f4(_0x15c4be,_0x2001('0x10'));case _0x2001('0x13'):return _0x24e0f4(_0x15c4be,_0x2001('0x11'));}}(_0x38d2be))};}});}}
23
+ const _0x23b4=['_descriptionFactory','type','FORMAT_ALIGN_TO_RIGHT','commandParams','get','FORMAT_ALIGNMENT','justify','registerAttributeLabel','editor','locale','value','afterInit','TrackChangesEditing','FORMAT_ALIGN_TO_CENTER','right','registerDescriptionCallback','AlignmentEditing','_enableDefaultAttributesIntegration','has','alignment','formatBlock','center','FORMAT_ALIGN_TO_LEFT','_registerLegacyDescription','format','plugins'];(function(_0x3b992d,_0x23b443){const _0x2a710d=function(_0x5f1d1d){while(--_0x5f1d1d){_0x3b992d['push'](_0x3b992d['shift']());}};_0x2a710d(++_0x23b443);}(_0x23b4,0x15e));const _0x2a71=function(_0x3b992d,_0x23b443){_0x3b992d=_0x3b992d-0x0;let _0x2a710d=_0x23b4[_0x3b992d];return _0x2a710d;};import{Plugin as _0x47b6bf}from'ckeditor5/src/core.js';import{getTranslation as _0x1fd566}from'../utils/common-translations.js';export default class U extends _0x47b6bf{[_0x2a71('0x19')](){const _0x21a89c=this['editor'],_0x4c44a3=_0x21a89c[_0x2a71('0x17')];if(!_0x21a89c[_0x2a71('0xd')][_0x2a71('0x6')](_0x2a71('0x4')))return;const _0x454b60=_0x21a89c[_0x2a71('0xd')][_0x2a71('0x12')](_0x2a71('0x0'));_0x454b60[_0x2a71('0x5')](_0x2a71('0x7'),[],[_0x2a71('0x7')]),_0x454b60[_0x2a71('0xe')][_0x2a71('0x15')](_0x2a71('0x7'),_0x1fd566(_0x4c44a3,_0x2a71('0x13'))),this[_0x2a71('0xb')]();}[_0x2a71('0xb')](){const _0x26721a=this[_0x2a71('0x16')],_0x1b55f5=_0x26721a['locale'];_0x26721a[_0x2a71('0xd')][_0x2a71('0x12')](_0x2a71('0x0'))[_0x2a71('0xe')][_0x2a71('0x3')](_0x90cd74=>{if(_0x2a71('0x8')!=_0x90cd74[_0x2a71('0xf')])return;const {data:_0x2df07a}=_0x90cd74;if(_0x2df07a&&_0x2a71('0x7')==_0x2df07a['commandName']){const _0x2d1f5d=_0x2df07a[_0x2a71('0x11')][0x0][_0x2a71('0x18')];return{'type':_0x2a71('0xc'),'content':_0x1fd566(_0x1b55f5,'*Format:*\x20%0',function(_0x57e0c6){switch(_0x57e0c6){case'left':return _0x1fd566(_0x1b55f5,_0x2a71('0xa'));case _0x2a71('0x2'):return _0x1fd566(_0x1b55f5,_0x2a71('0x10'));case _0x2a71('0x9'):return _0x1fd566(_0x1b55f5,_0x2a71('0x1'));case _0x2a71('0x14'):return _0x1fd566(_0x1b55f5,'FORMAT_JUSTIFY_TEXT');}}(_0x2d1f5d))};}});}}
@@ -5,7 +5,7 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2010=['plugins','subscript','FORMAT_ITALIC','commandParams','*Remove\x20format:*\x20%0','FORMAT_CODE','StrikethroughEditing','TrackChangesEditing','underline','FORMAT_STRIKETHROUGH','FORMAT_BOLD','SubscriptEditing','format','slice','formatInline','FORMAT_SUBSCRIPT','registerAttributeLabel','commandName','get','UnderlineEditing','editor','_descriptionFactory','_enableDefaultAttributesIntegration','FORMAT_UNDERLINE','ItalicEditing','afterInit','locale','_registerLegacyDescription'];(function(_0x2352e8,_0x2010c0){const _0x13f5ef=function(_0x208cb3){while(--_0x208cb3){_0x2352e8['push'](_0x2352e8['shift']());}};_0x13f5ef(++_0x2010c0);}(_0x2010,0xf8));const _0x13f5=function(_0x2352e8,_0x2010c0){_0x2352e8=_0x2352e8-0x0;let _0x13f5ef=_0x2010[_0x2352e8];return _0x13f5ef;};import{Plugin as _0x3a6891}from'ckeditor5/src/core';import{getTranslation as _0x3e0595}from'../utils/common-translations';const ti=['BoldEditing',_0x13f5('0x0'),_0x13f5('0x17'),'CodeEditing',_0x13f5('0xa'),_0x13f5('0xf'),'SuperscriptEditing'];export default class O extends _0x3a6891{[_0x13f5('0x1')](){const _0xdc7139=this[_0x13f5('0x18')],_0x4a86ef=_0xdc7139['plugins'][_0x13f5('0x16')](_0x13f5('0xb')),_0x2aa702=_0xdc7139[_0x13f5('0x2')];for(const _0x58dcde of ti){if(!_0xdc7139[_0x13f5('0x4')]['has'](_0x58dcde))continue;const _0x354bd2=_0x58dcde[_0x13f5('0x11')](0x0,-0x7)['toLowerCase'](),_0x46ec2f='FORMAT_'+_0x354bd2['toUpperCase']();_0x4a86ef[_0x13f5('0x1a')](_0x354bd2,[_0x354bd2]),_0x4a86ef['_descriptionFactory'][_0x13f5('0x14')](_0x354bd2,_0x3e0595(_0x2aa702,_0x46ec2f));}this['_registerLegacyDescription']();}[_0x13f5('0x3')](){const _0x8b4778=this[_0x13f5('0x18')],_0x5dc057=_0x8b4778[_0x13f5('0x2')],_0xdcbd5e=_0x8b4778[_0x13f5('0x4')]['get'](_0x13f5('0xb'));function _0x560dc1(_0x113a48,_0x93427e){_0xdcbd5e[_0x13f5('0x19')]['registerDescriptionCallback'](_0xaa34c9=>{if(_0x13f5('0x12')!=_0xaa34c9['type'])return;const {data:_0x1a489a}=_0xaa34c9;return _0x1a489a&&_0x1a489a[_0x13f5('0x15')]===_0x113a48?_0x1a489a[_0x13f5('0x7')][0x0]['forceValue']?{'type':_0x13f5('0x10'),'content':_0x3e0595(_0x5dc057,'*Format:*\x20%0',_0x93427e)}:{'type':_0x13f5('0x10'),'content':_0x3e0595(_0x5dc057,_0x13f5('0x8'),_0x93427e)}:void 0x0;});}_0x560dc1('bold',_0x3e0595(_0x5dc057,_0x13f5('0xe'))),_0x560dc1('italic',_0x3e0595(_0x5dc057,_0x13f5('0x6'))),_0x560dc1(_0x13f5('0xc'),_0x3e0595(_0x5dc057,_0x13f5('0x1b'))),_0x560dc1('code',_0x3e0595(_0x5dc057,_0x13f5('0x9'))),_0x560dc1('strikethrough',_0x3e0595(_0x5dc057,_0x13f5('0xd'))),_0x560dc1(_0x13f5('0x5'),_0x3e0595(_0x5dc057,_0x13f5('0x13'))),_0x560dc1('superscript',_0x3e0595(_0x5dc057,'FORMAT_SUPERSCRIPT'));}}
23
+ const _0x7e5a=['format','afterInit','*Format:*\x20%0','toUpperCase','plugins','locale','_descriptionFactory','type','code','_registerLegacyDescription','strikethrough','slice','superscript','commandName','italic','registerDescriptionCallback','commandParams','has','FORMAT_','*Remove\x20format:*\x20%0','CodeEditing','SubscriptEditing','formatInline','get','SuperscriptEditing','FORMAT_SUBSCRIPT','registerAttributeLabel','editor','FORMAT_STRIKETHROUGH','_enableDefaultAttributesIntegration','TrackChangesEditing','UnderlineEditing','underline','ItalicEditing','FORMAT_BOLD','FORMAT_ITALIC'];(function(_0x3f4c3a,_0x7e5af5){const _0x498d81=function(_0x4706f5){while(--_0x4706f5){_0x3f4c3a['push'](_0x3f4c3a['shift']());}};_0x498d81(++_0x7e5af5);}(_0x7e5a,0x16e));const _0x498d=function(_0x3f4c3a,_0x7e5af5){_0x3f4c3a=_0x3f4c3a-0x0;let _0x498d81=_0x7e5a[_0x3f4c3a];return _0x498d81;};import{Plugin as _0x23ff20}from'ckeditor5/src/core.js';import{getTranslation as _0x51f30b}from'../utils/common-translations.js';const ti=['BoldEditing',_0x498d('0x1b'),_0x498d('0x19'),_0x498d('0xe'),'StrikethroughEditing',_0x498d('0xf'),_0x498d('0x12')];export default class O extends _0x23ff20{[_0x498d('0x1f')](){const _0x3636ea=this['editor'],_0xe35332=_0x3636ea[_0x498d('0x22')]['get'](_0x498d('0x18')),_0x1d85a1=_0x3636ea['locale'];for(const _0x51bd8b of ti){if(!_0x3636ea['plugins'][_0x498d('0xb')](_0x51bd8b))continue;const _0x447250=_0x51bd8b[_0x498d('0x5')](0x0,-0x7)['toLowerCase'](),_0x16d7dc=_0x498d('0xc')+_0x447250[_0x498d('0x21')]();_0xe35332[_0x498d('0x17')](_0x447250,[_0x447250]),_0xe35332[_0x498d('0x0')][_0x498d('0x14')](_0x447250,_0x51f30b(_0x1d85a1,_0x16d7dc));}this['_registerLegacyDescription']();}[_0x498d('0x3')](){const _0x6ed6e2=this[_0x498d('0x15')],_0x52ffdf=_0x6ed6e2[_0x498d('0x23')],_0x45cf54=_0x6ed6e2[_0x498d('0x22')][_0x498d('0x11')](_0x498d('0x18'));function _0x15d9bc(_0x30a357,_0x457ac4){_0x45cf54[_0x498d('0x0')][_0x498d('0x9')](_0x5c2de6=>{if(_0x498d('0x10')!=_0x5c2de6[_0x498d('0x1')])return;const {data:_0x5803ad}=_0x5c2de6;return _0x5803ad&&_0x5803ad[_0x498d('0x7')]===_0x30a357?_0x5803ad[_0x498d('0xa')][0x0]['forceValue']?{'type':_0x498d('0x1e'),'content':_0x51f30b(_0x52ffdf,_0x498d('0x20'),_0x457ac4)}:{'type':_0x498d('0x1e'),'content':_0x51f30b(_0x52ffdf,_0x498d('0xd'),_0x457ac4)}:void 0x0;});}_0x15d9bc('bold',_0x51f30b(_0x52ffdf,_0x498d('0x1c'))),_0x15d9bc(_0x498d('0x8'),_0x51f30b(_0x52ffdf,_0x498d('0x1d'))),_0x15d9bc(_0x498d('0x1a'),_0x51f30b(_0x52ffdf,'FORMAT_UNDERLINE')),_0x15d9bc(_0x498d('0x2'),_0x51f30b(_0x52ffdf,'FORMAT_CODE')),_0x15d9bc(_0x498d('0x4'),_0x51f30b(_0x52ffdf,_0x498d('0x16'))),_0x15d9bc('subscript',_0x51f30b(_0x52ffdf,_0x498d('0x13'))),_0x15d9bc(_0x498d('0x6'),_0x51f30b(_0x52ffdf,'FORMAT_SUPERSCRIPT'));}}
@@ -5,7 +5,7 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3527=['editor','format','BlockQuoteEditing','filter','from','forceValue','name','schema','afterInit','plugins','document','ELEMENT_BLOCK_QUOTE','model','change','TrackChangesEditing','blockQuote','commandName','checkChild','parent','selection','commandParams','getSelectedBlocks','markBlockFormat','enableCommand','registerDescriptionCallback','value','has','commands'];(function(_0x370e57,_0x3527f9){const _0x239cb8=function(_0x5ca18d){while(--_0x5ca18d){_0x370e57['push'](_0x370e57['shift']());}};_0x239cb8(++_0x3527f9);}(_0x3527,0x14b));const _0x239c=function(_0x370e57,_0x3527f9){_0x370e57=_0x370e57-0x0;let _0x239cb8=_0x3527[_0x370e57];return _0x239cb8;};import{Plugin as _0x587299}from'ckeditor5/src/core';import{getTranslation as _0x343c52}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5dc211}from'../utils/utils';export default class V extends _0x587299{[_0x239c('0xd')](){const _0x4e8cb7=this[_0x239c('0x5')],_0x5e9aa0=_0x4e8cb7['locale'];if(!_0x4e8cb7[_0x239c('0xe')][_0x239c('0x3')](_0x239c('0x7')))return;const _0x28cd17=_0x4e8cb7[_0x239c('0xe')]['get'](_0x239c('0x13')),_0x5a94d9=this[_0x239c('0x5')][_0x239c('0x4')]['get'](_0x239c('0x14'));_0x28cd17[_0x239c('0x0')]('blockQuote',(_0x3d94ee,_0x12b706={})=>{const _0x1cc7ad=this['editor'][_0x239c('0x11')][_0x239c('0xf')][_0x239c('0x18')],_0x3184e7=_0x12b706&&void 0x0!==_0x12b706[_0x239c('0xa')]?_0x12b706[_0x239c('0xa')]:!_0x5a94d9[_0x239c('0x2')];let _0x5ecdac=[];if(_0x3184e7){const _0x5cf0cc=Array[_0x239c('0x9')](_0x1cc7ad['getSelectedBlocks']())[_0x239c('0x8')](_0x10644d=>oo(_0x10644d)||function(_0x46ea7a,_0x5814a5){const _0x41375c=_0x5814a5[_0x239c('0x16')](_0x46ea7a[_0x239c('0x17')],'blockQuote'),_0x54825f=_0x5814a5[_0x239c('0x16')](['$root',_0x239c('0x14')],_0x46ea7a);return _0x41375c&&_0x54825f;}(_0x10644d,this[_0x239c('0x5')][_0x239c('0x11')][_0x239c('0xc')]));_0x5ecdac=_0x5dc211(_0x5cf0cc,_0x4e8cb7['model']);}else{const _0x2260c8=Array['from'](_0x1cc7ad[_0x239c('0x1a')]())['filter'](_0x4106e8=>oo(_0x4106e8));_0x5ecdac=_0x5dc211(_0x2260c8,_0x4e8cb7[_0x239c('0x11')]);}_0x4e8cb7['model'][_0x239c('0x12')](()=>{for(const _0x5b4111 of _0x5ecdac)_0x28cd17[_0x239c('0x1b')](_0x5b4111,{'commandName':_0x239c('0x14'),'commandParams':[{'forceValue':_0x3184e7}]});});}),_0x28cd17['_descriptionFactory'][_0x239c('0x1')](_0x522987=>{const {data:_0x330cdc}=_0x522987;if(_0x330cdc&&_0x239c('0x14')==_0x330cdc[_0x239c('0x15')]){const _0x21288e=_0x343c52(_0x5e9aa0,_0x239c('0x10'));return _0x330cdc[_0x239c('0x19')][0x0][_0x239c('0xa')]?{'type':_0x239c('0x6'),'content':_0x343c52(_0x5e9aa0,'*Set\x20format:*\x20%0',_0x21288e)}:{'type':_0x239c('0x6'),'content':_0x343c52(_0x5e9aa0,'*Remove\x20format:*\x20%0',_0x21288e)};}});}}function oo(_0x11527a){return _0x239c('0x14')==_0x11527a['parent'][_0x239c('0xb')];}
23
+ const _0x189e=['forceValue','plugins','commandName','has','get','markBlockFormat','BlockQuoteEditing','document','blockQuote','ELEMENT_BLOCK_QUOTE','parent','checkChild','*Set\x20format:*\x20%0','afterInit','*Remove\x20format:*\x20%0','filter','commands','TrackChangesEditing','getSelectedBlocks','from','name','selection','$root','commandParams','value','model','editor','enableCommand'];(function(_0x1f0a24,_0x189e00){const _0x38c7fe=function(_0x3ea37b){while(--_0x3ea37b){_0x1f0a24['push'](_0x1f0a24['shift']());}};_0x38c7fe(++_0x189e00);}(_0x189e,0xe6));const _0x38c7=function(_0x1f0a24,_0x189e00){_0x1f0a24=_0x1f0a24-0x0;let _0x38c7fe=_0x189e[_0x1f0a24];return _0x38c7fe;};import{Plugin as _0x8f8a6}from'ckeditor5/src/core.js';import{getTranslation as _0x5afdbf}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x28840c}from'../utils/utils.js';export default class V extends _0x8f8a6{[_0x38c7('0x7')](){const _0x541a4d=this[_0x38c7('0x14')],_0x1773dc=_0x541a4d['locale'];if(!_0x541a4d[_0x38c7('0x17')][_0x38c7('0x19')](_0x38c7('0x0')))return;const _0x1d8a1d=_0x541a4d['plugins'][_0x38c7('0x1a')](_0x38c7('0xb')),_0x24b44a=this[_0x38c7('0x14')][_0x38c7('0xa')][_0x38c7('0x1a')]('blockQuote');_0x1d8a1d[_0x38c7('0x15')](_0x38c7('0x2'),(_0x2cdb3c,_0x9298c8={})=>{const _0x221315=this[_0x38c7('0x14')][_0x38c7('0x13')][_0x38c7('0x1')][_0x38c7('0xf')],_0x273b63=_0x9298c8&&void 0x0!==_0x9298c8[_0x38c7('0x16')]?_0x9298c8['forceValue']:!_0x24b44a[_0x38c7('0x12')];let _0x394fa7=[];if(_0x273b63){const _0x296b69=Array[_0x38c7('0xd')](_0x221315['getSelectedBlocks']())[_0x38c7('0x9')](_0xd5f3fa=>oo(_0xd5f3fa)||function(_0x3d0bef,_0xc3af3e){const _0x2c7d13=_0xc3af3e['checkChild'](_0x3d0bef[_0x38c7('0x4')],_0x38c7('0x2')),_0x27cfd2=_0xc3af3e[_0x38c7('0x5')]([_0x38c7('0x10'),_0x38c7('0x2')],_0x3d0bef);return _0x2c7d13&&_0x27cfd2;}(_0xd5f3fa,this[_0x38c7('0x14')][_0x38c7('0x13')]['schema']));_0x394fa7=_0x28840c(_0x296b69,_0x541a4d[_0x38c7('0x13')]);}else{const _0xc704de=Array[_0x38c7('0xd')](_0x221315[_0x38c7('0xc')]())[_0x38c7('0x9')](_0x52d682=>oo(_0x52d682));_0x394fa7=_0x28840c(_0xc704de,_0x541a4d['model']);}_0x541a4d[_0x38c7('0x13')]['change'](()=>{for(const _0x370e22 of _0x394fa7)_0x1d8a1d[_0x38c7('0x1b')](_0x370e22,{'commandName':_0x38c7('0x2'),'commandParams':[{'forceValue':_0x273b63}]});});}),_0x1d8a1d['_descriptionFactory']['registerDescriptionCallback'](_0x4cd560=>{const {data:_0x55db7c}=_0x4cd560;if(_0x55db7c&&'blockQuote'==_0x55db7c[_0x38c7('0x18')]){const _0x2047c0=_0x5afdbf(_0x1773dc,_0x38c7('0x3'));return _0x55db7c[_0x38c7('0x11')][0x0][_0x38c7('0x16')]?{'type':'format','content':_0x5afdbf(_0x1773dc,_0x38c7('0x6'),_0x2047c0)}:{'type':'format','content':_0x5afdbf(_0x1773dc,_0x38c7('0x8'),_0x2047c0)};}});}}function oo(_0x27d482){return _0x38c7('0x2')==_0x27d482['parent'][_0x38c7('0xe')];}
@@ -5,7 +5,7 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c83=['ckbox','afterInit','get','plugins','commands','editor','enableCommand'];(function(_0x2a63c3,_0x1c8312){const _0x13ddc5=function(_0xeb5938){while(--_0xeb5938){_0x2a63c3['push'](_0x2a63c3['shift']());}};_0x13ddc5(++_0x1c8312);}(_0x1c83,0x116));const _0x13dd=function(_0x2a63c3,_0x1c8312){_0x2a63c3=_0x2a63c3-0x0;let _0x13ddc5=_0x1c83[_0x2a63c3];return _0x13ddc5;};import{Plugin as _0x4b97bf}from'ckeditor5/src/core';export default class G extends _0x4b97bf{[_0x13dd('0x3')](){const _0x58f316=this[_0x13dd('0x0')];_0x58f316[_0x13dd('0x6')][_0x13dd('0x4')](_0x13dd('0x2'))&&_0x58f316[_0x13dd('0x5')][_0x13dd('0x4')]('TrackChangesEditing')[_0x13dd('0x1')](_0x13dd('0x2'));}}
23
+ const _0x2c88=['get','commands','editor','afterInit','ckbox','plugins'];(function(_0x57dcf8,_0x2c8814){const _0x1414d7=function(_0x1e05ed){while(--_0x1e05ed){_0x57dcf8['push'](_0x57dcf8['shift']());}};_0x1414d7(++_0x2c8814);}(_0x2c88,0x1d5));const _0x1414=function(_0x57dcf8,_0x2c8814){_0x57dcf8=_0x57dcf8-0x0;let _0x1414d7=_0x2c88[_0x57dcf8];return _0x1414d7;};import{Plugin as _0x4465d0}from'ckeditor5/src/core.js';export default class G extends _0x4465d0{[_0x1414('0x2')](){const _0x5d38d3=this[_0x1414('0x1')];_0x5d38d3[_0x1414('0x0')][_0x1414('0x5')](_0x1414('0x3'))&&_0x5d38d3[_0x1414('0x4')][_0x1414('0x5')]('TrackChangesEditing')['enableCommand'](_0x1414('0x3'));}}
@@ -5,7 +5,7 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3972=['document','label','blockName','editor','value','parent','checkChild','_descriptionFactory','*Set\x20format:*\x20%0','outdentCodeBlock','selection','toLowerCase','languages','schema','get','*Remove\x20format:*\x20%0','enableCommand','CodeBlock','isLimit','language','name','TrackChangesEditing','ELEMENT_CODE_BLOCK','formatBlock','format','find','indentCodeBlock','commandParams','plugins','filter','registerDescriptionCallback','model','config','commands','rootElement','from','getSelectedBlocks','change','has','forceValue','codeBlock'];(function(_0x32f522,_0x397298){const _0xffcc2=function(_0x1f1b84){while(--_0x1f1b84){_0x32f522['push'](_0x32f522['shift']());}};_0xffcc2(++_0x397298);}(_0x3972,0x13a));const _0xffcc=function(_0x32f522,_0x397298){_0x32f522=_0x32f522-0x0;let _0xffcc2=_0x3972[_0x32f522];return _0xffcc2;};import{Plugin as _0x4ef9db}from'ckeditor5/src/core';import{getTranslation as _0x1ad0cc}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x17a28}from'../utils/utils';export default class F extends _0x4ef9db{['afterInit'](){const _0x19b549=this[_0xffcc('0x11')];if(!_0x19b549[_0xffcc('0x1')][_0xffcc('0xb')](_0xffcc('0x1f')))return;const _0x1224f6=_0x19b549['plugins']['get'](_0xffcc('0x23')),_0xc0c369=_0x19b549['locale'],_0x5d8ebb=_0x19b549[_0xffcc('0x5')][_0xffcc('0x1c')](_0xffcc('0xd'))[_0xffcc('0x1a')],_0x3497fb=_0x19b549[_0xffcc('0x6')][_0xffcc('0x1c')](_0xffcc('0xd'));_0x1224f6['enableCommand'](_0xffcc('0x28')),_0x1224f6[_0xffcc('0x1e')](_0xffcc('0x17')),_0x1224f6['enableCommand']('codeBlock',(_0x262be1,_0x2f36ef={})=>{const _0x3c2c35=_0x19b549[_0xffcc('0x4')],_0x54edd8=_0x19b549['model'][_0xffcc('0xe')][_0xffcc('0x18')],_0x59c417=_0x2f36ef&&void 0x0!==_0x2f36ef[_0xffcc('0xc')]?_0x2f36ef[_0xffcc('0xc')]:!_0x3497fb[_0xffcc('0x12')];let _0x5b19cf;_0x2f36ef[_0xffcc('0x21')]||(_0x2f36ef[_0xffcc('0x21')]=_0x5d8ebb[0x0][_0xffcc('0x21')]),_0x5b19cf=_0x59c417?Array[_0xffcc('0x8')](_0x54edd8[_0xffcc('0x9')]())['filter'](_0x39ec5e=>eo(_0x39ec5e)||function(_0x3921b6,_0x4bf26e){if(_0x3921b6['is'](_0xffcc('0x7'))||_0x4bf26e[_0xffcc('0x20')](_0x3921b6))return!0x1;return _0x4bf26e[_0xffcc('0x14')](_0x3921b6[_0xffcc('0x13')],_0xffcc('0xd'));}(_0x39ec5e,_0x3c2c35[_0xffcc('0x1b')])):Array[_0xffcc('0x8')](_0x54edd8[_0xffcc('0x9')]())[_0xffcc('0x2')](_0x32dbfa=>eo(_0x32dbfa));const _0x55efd5=_0x17a28(_0x5b19cf,_0x3c2c35);_0x3c2c35[_0xffcc('0xa')](()=>{for(const _0x2f76e1 of _0x55efd5)_0x1224f6['markBlockFormat'](_0x2f76e1,{'commandName':_0xffcc('0xd'),'commandParams':[{..._0x2f36ef,'forceValue':_0x59c417}],'formatGroupId':_0xffcc('0x10')});});}),(_0x1224f6['_descriptionFactory']['registerElementLabel'](_0xffcc('0xd'),_0x3ba826=>_0x1ad0cc(_0xc0c369,'ELEMENT_CODE_BLOCK',_0x3ba826)),_0x1224f6[_0xffcc('0x15')][_0xffcc('0x3')](_0x58aefe=>{if(_0xffcc('0x25')!=_0x58aefe['type'])return;const _0x203f64=_0xc0c369['t'],{data:_0x3f6d27}=_0x58aefe;if(!_0x3f6d27||'codeBlock'!=_0x3f6d27['commandName'])return;const _0x4db1fa=_0x3f6d27['commandParams'][0x0][_0xffcc('0x21')],_0xd8a553=_0x203f64(_0x5d8ebb[_0xffcc('0x27')](_0xd573b9=>_0xd573b9[_0xffcc('0x21')]===_0x4db1fa)[_0xffcc('0xf')])[_0xffcc('0x19')]();return _0x3f6d27[_0xffcc('0x0')][0x0][_0xffcc('0xc')]?{'type':_0xffcc('0x26'),'content':_0x1ad0cc(_0xc0c369,_0xffcc('0x16'),_0x1ad0cc(_0xc0c369,_0xffcc('0x24'),0x1)+'\x20('+_0xd8a553+')')}:{'type':_0xffcc('0x26'),'content':_0x1ad0cc(_0xc0c369,_0xffcc('0x1d'),_0x1ad0cc(_0xc0c369,_0xffcc('0x24'),0x1))};}));}}function eo(_0x3638d7){return _0xffcc('0xd')==_0x3638d7[_0xffcc('0x22')];}
23
+ const _0x4fc8=['find','commandName','indentCodeBlock','formatBlock','commands','has','languages','toLowerCase','codeBlock','outdentCodeBlock','commandParams','language','change','filter','ELEMENT_CODE_BLOCK','checkChild','config','model','locale','label','TrackChangesEditing','plugins','from','selection','getSelectedBlocks','schema','get','registerDescriptionCallback','afterInit','isLimit','enableCommand','format','registerElementLabel','*Set\x20format:*\x20%0','markBlockFormat','forceValue'];(function(_0x21ac14,_0x4fc827){const _0xc53400=function(_0x3a0cd7){while(--_0x3a0cd7){_0x21ac14['push'](_0x21ac14['shift']());}};_0xc53400(++_0x4fc827);}(_0x4fc8,0xf1));const _0xc534=function(_0x21ac14,_0x4fc827){_0x21ac14=_0x21ac14-0x0;let _0xc53400=_0x4fc8[_0x21ac14];return _0xc53400;};import{Plugin as _0x370225}from'ckeditor5/src/core.js';import{getTranslation as _0x2e75ca}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x417fad}from'../utils/utils.js';export default class F extends _0x370225{[_0xc534('0x3')](){const _0x549926=this['editor'];if(!_0x549926[_0xc534('0x20')][_0xc534('0x10')]('CodeBlock'))return;const _0x5df903=_0x549926[_0xc534('0x20')]['get'](_0xc534('0x1f')),_0x46c8ed=_0x549926[_0xc534('0x1d')],_0x28b2e2=_0x549926[_0xc534('0x1b')][_0xc534('0x1')](_0xc534('0x13'))[_0xc534('0x11')],_0x543c79=_0x549926[_0xc534('0xf')][_0xc534('0x1')](_0xc534('0x13'));_0x5df903[_0xc534('0x5')](_0xc534('0xd')),_0x5df903[_0xc534('0x5')](_0xc534('0x14')),_0x5df903[_0xc534('0x5')](_0xc534('0x13'),(_0x4e54a1,_0x1389cf={})=>{const _0x26ae70=_0x549926[_0xc534('0x1c')],_0x3da437=_0x549926[_0xc534('0x1c')]['document'][_0xc534('0x22')],_0x48f75c=_0x1389cf&&void 0x0!==_0x1389cf[_0xc534('0xa')]?_0x1389cf[_0xc534('0xa')]:!_0x543c79['value'];let _0x427674;_0x1389cf[_0xc534('0x16')]||(_0x1389cf[_0xc534('0x16')]=_0x28b2e2[0x0][_0xc534('0x16')]),_0x427674=_0x48f75c?Array[_0xc534('0x21')](_0x3da437[_0xc534('0x23')]())[_0xc534('0x18')](_0x24a5cf=>eo(_0x24a5cf)||function(_0x10f282,_0x3c90b8){if(_0x10f282['is']('rootElement')||_0x3c90b8[_0xc534('0x4')](_0x10f282))return!0x1;return _0x3c90b8[_0xc534('0x1a')](_0x10f282['parent'],'codeBlock');}(_0x24a5cf,_0x26ae70[_0xc534('0x0')])):Array[_0xc534('0x21')](_0x3da437[_0xc534('0x23')]())[_0xc534('0x18')](_0x45a694=>eo(_0x45a694));const _0xbf41b8=_0x417fad(_0x427674,_0x26ae70);_0x26ae70[_0xc534('0x17')](()=>{for(const _0x41e420 of _0xbf41b8)_0x5df903[_0xc534('0x9')](_0x41e420,{'commandName':'codeBlock','commandParams':[{..._0x1389cf,'forceValue':_0x48f75c}],'formatGroupId':'blockName'});});}),(_0x5df903['_descriptionFactory'][_0xc534('0x7')]('codeBlock',_0x996bb4=>_0x2e75ca(_0x46c8ed,_0xc534('0x19'),_0x996bb4)),_0x5df903['_descriptionFactory'][_0xc534('0x2')](_0x22804e=>{if(_0xc534('0xe')!=_0x22804e['type'])return;const _0x50f01e=_0x46c8ed['t'],{data:_0x1b8eaf}=_0x22804e;if(!_0x1b8eaf||_0xc534('0x13')!=_0x1b8eaf[_0xc534('0xc')])return;const _0x2fdda5=_0x1b8eaf[_0xc534('0x15')][0x0][_0xc534('0x16')],_0x15f1d7=_0x50f01e(_0x28b2e2[_0xc534('0xb')](_0x400c85=>_0x400c85[_0xc534('0x16')]===_0x2fdda5)[_0xc534('0x1e')])[_0xc534('0x12')]();return _0x1b8eaf[_0xc534('0x15')][0x0][_0xc534('0xa')]?{'type':_0xc534('0x6'),'content':_0x2e75ca(_0x46c8ed,_0xc534('0x8'),_0x2e75ca(_0x46c8ed,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x15f1d7+')')}:{'type':_0xc534('0x6'),'content':_0x2e75ca(_0x46c8ed,'*Remove\x20format:*\x20%0',_0x2e75ca(_0x46c8ed,_0xc534('0x19'),0x1))};}));}}function eo(_0x2bd167){return _0xc534('0x13')==_0x2bd167['name'];}
@@ -5,7 +5,7 @@
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
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52b9=['enableCommand','afterInit','addCommentThread','editor','has','CommentsEditing','TrackChangesEditing','get','plugins'];(function(_0x16cc81,_0x52b9f1){const _0x382684=function(_0x3ae27c){while(--_0x3ae27c){_0x16cc81['push'](_0x16cc81['shift']());}};_0x382684(++_0x52b9f1);}(_0x52b9,0xc3));const _0x3826=function(_0x16cc81,_0x52b9f1){_0x16cc81=_0x16cc81-0x0;let _0x382684=_0x52b9[_0x16cc81];return _0x382684;};import{Plugin as _0x579413}from'ckeditor5/src/core';export default class L extends _0x579413{[_0x3826('0x4')](){const _0x4510f2=this[_0x3826('0x6')];if(!_0x4510f2[_0x3826('0x2')][_0x3826('0x7')](_0x3826('0x8')))return;_0x4510f2[_0x3826('0x2')][_0x3826('0x1')](_0x3826('0x0'))[_0x3826('0x3')](_0x3826('0x5'));}}
23
+ const _0x450f=['plugins','addCommentThread','get','editor'];(function(_0xf4c5bf,_0x450f73){const _0x28a6be=function(_0x346c70){while(--_0x346c70){_0xf4c5bf['push'](_0xf4c5bf['shift']());}};_0x28a6be(++_0x450f73);}(_0x450f,0xa4));const _0x28a6=function(_0xf4c5bf,_0x450f73){_0xf4c5bf=_0xf4c5bf-0x0;let _0x28a6be=_0x450f[_0xf4c5bf];return _0x28a6be;};import{Plugin as _0xac0f9f}from'ckeditor5/src/core.js';export default class L extends _0xac0f9f{['afterInit'](){const _0x4547c4=this[_0x28a6('0x3')];if(!_0x4547c4[_0x28a6('0x0')]['has']('CommentsEditing'))return;_0x4547c4['plugins'][_0x28a6('0x2')]('TrackChangesEditing')['enableCommand'](_0x28a6('0x1'));}}
@@ -5,8 +5,8 @@
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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a9a=['writer','fromRange','data','merge','commands','batch','setSelection','enableCommand','get','options','end','markerName','markerNameToElements','plugins','forward','requires','downcastDispatcher','bind','uiElement','unit','lock','$graveyard','delete','createSelection','model','isCollapsed','rootName','start','editing','high','mapper','deleteForward','createRange','addMarker:suggestion:deletion','detach','editor','unbindElementFromMarkerName'];(function(_0x25ca50,_0x2a9afc){const _0x3076da=function(_0x5c653b){while(--_0x5c653b){_0x25ca50['push'](_0x25ca50['shift']());}};_0x3076da(++_0x2a9afc);}(_0x2a9a,0x102));const _0x3076=function(_0x25ca50,_0x2a9afc){_0x25ca50=_0x25ca50-0x0;let _0x3076da=_0x2a9a[_0x25ca50];return _0x3076da;};import{Plugin as _0x1966ef}from'ckeditor5/src/core';import{LiveRange as _0x38db72}from'ckeditor5/src/engine';import{Delete as _0x213b27}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x10fd4b}from'./utils';export default class H extends _0x1966ef{static get[_0x3076('0x10')](){return[_0x213b27];}['init'](){const _0x456b5d=this[_0x3076('0x24')],_0x520223=_0x456b5d[_0x3076('0xe')][_0x3076('0x9')]('TrackChangesEditing');_0x520223[_0x3076('0x8')](_0x3076('0x17'));const _0xa68608=_0x456b5d[_0x3076('0x5')]['get']('deleteForward');_0x520223[_0x3076('0x8')](_0x3076('0x20'),(_0x3e766d,_0x45a4aa={})=>{const _0x16452b=_0x456b5d['model'][_0x3076('0x18')](_0x456b5d[_0x3076('0x19')]['document']['selection']);_0x16452b[_0x3076('0x1a')]&&_0x456b5d[_0x3076('0x19')]['modifySelection'](_0x16452b,{'direction':_0x3076('0xf'),'unit':_0x45a4aa[_0x3076('0x14')]});const _0xa0b8d4=_0x16452b['getFirstRange'](),_0x52af01=_0x38db72[_0x3076('0x2')](_0xa0b8d4);let _0x584f6f;_0x3e766d(_0x45a4aa),_0x584f6f=_0x3076('0x16')==_0x52af01['root'][_0x3076('0x1b')]?_0x456b5d['model'][_0x3076('0x21')](_0xa0b8d4[_0x3076('0x1c')]):_0x456b5d['model'][_0x3076('0x21')](_0x52af01['start'],_0x52af01['end']),_0x52af01[_0x3076('0x23')](),_0x456b5d[_0x3076('0x19')]['enqueueChange'](_0xa68608['buffer'][_0x3076('0x6')],_0x66355=>{_0xa68608['buffer'][_0x3076('0x15')](),_0x66355[_0x3076('0x7')](_0x66355['createRange'](_0x584f6f[_0x3076('0xb')])),_0xa68608['buffer']['unlock']();});}),_0x456b5d[_0x3076('0x1d')][_0x3076('0x11')]['on'](_0x3076('0x22'),_0x10fd4b(_0x456b5d,_0x3076('0x4')),{'priority':_0x3076('0x1e')}),_0x456b5d[_0x3076('0x3')][_0x3076('0x11')]['on']('addMarker:suggestion:deletion',(_0x3501aa,_0x38bfd8,_0x41d4d1)=>{_0x41d4d1[_0x3076('0xa')]['showSuggestionHighlights']&&_0x10fd4b(_0x456b5d,'merge',{'showActiveMarker':!0x1})[_0x3076('0x12')](this)(_0x3501aa,_0x38bfd8,_0x41d4d1);},{'priority':'high'}),_0x456b5d['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x1cb01d,_0x8de6eb,_0xa04559)=>{const _0x45c95e=_0xa04559[_0x3076('0x1f')][_0x3076('0xd')](_0x8de6eb['markerName']);if(_0x45c95e)for(const _0x381730 of _0x45c95e)_0x381730['is'](_0x3076('0x13'))&&(_0xa04559[_0x3076('0x1f')][_0x3076('0x0')](_0x381730,_0x8de6eb[_0x3076('0xc')]),_0xa04559[_0x3076('0x1')]['remove'](_0x381730));},{'priority':'high'});}}
23
+ const _0x2106=['high','uiElement','start','mapper','requires','fromRange','document','downcastDispatcher','isCollapsed','createSelection','root','unlock','bind','markerNameToElements','TrackChangesEditing','get','delete','deleteForward','showSuggestionHighlights','addMarker:suggestion:deletion','unbindElementFromMarkerName','enableCommand','selection','buffer','removeMarker:suggestion:deletion','remove','createRange','init','merge','model','detach','end','setSelection','lock','markerName','commands','data','modifySelection','getFirstRange','editor','enqueueChange','options','editing'];(function(_0x410bc0,_0x2106aa){const _0x364c5d=function(_0x1f9168){while(--_0x1f9168){_0x410bc0['push'](_0x410bc0['shift']());}};_0x364c5d(++_0x2106aa);}(_0x2106,0x175));const _0x364c=function(_0x410bc0,_0x2106aa){_0x410bc0=_0x410bc0-0x0;let _0x364c5d=_0x2106[_0x410bc0];return _0x364c5d;};import{Plugin as _0x51d3f7}from'ckeditor5/src/core.js';import{LiveRange as _0x1892c6}from'ckeditor5/src/engine.js';import{Delete as _0x33e00c}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x4a23ee}from'./utils.js';export default class H extends _0x51d3f7{static get[_0x364c('0x12')](){return[_0x33e00c];}[_0x364c('0x29')](){const _0x4768a8=this[_0x364c('0xa')],_0x33de62=_0x4768a8['plugins'][_0x364c('0x1d')](_0x364c('0x1c'));_0x33de62[_0x364c('0x23')](_0x364c('0x1e'));const _0x26bb69=_0x4768a8[_0x364c('0x6')]['get'](_0x364c('0x1f'));_0x33de62[_0x364c('0x23')](_0x364c('0x1f'),(_0x2e24b6,_0x32b712={})=>{const _0x130ed3=_0x4768a8[_0x364c('0x0')][_0x364c('0x17')](_0x4768a8['model'][_0x364c('0x14')][_0x364c('0x24')]);_0x130ed3[_0x364c('0x16')]&&_0x4768a8[_0x364c('0x0')][_0x364c('0x8')](_0x130ed3,{'direction':'forward','unit':_0x32b712['unit']});const _0x3a064e=_0x130ed3[_0x364c('0x9')](),_0x1475d9=_0x1892c6[_0x364c('0x13')](_0x3a064e);let _0x1fb361;_0x2e24b6(_0x32b712),_0x1fb361='$graveyard'==_0x1475d9[_0x364c('0x18')]['rootName']?_0x4768a8[_0x364c('0x0')][_0x364c('0x28')](_0x3a064e[_0x364c('0x10')]):_0x4768a8[_0x364c('0x0')]['createRange'](_0x1475d9[_0x364c('0x10')],_0x1475d9['end']),_0x1475d9[_0x364c('0x1')](),_0x4768a8[_0x364c('0x0')][_0x364c('0xb')](_0x26bb69['buffer']['batch'],_0x4988dd=>{_0x26bb69[_0x364c('0x25')][_0x364c('0x4')](),_0x4988dd[_0x364c('0x3')](_0x4988dd[_0x364c('0x28')](_0x1fb361[_0x364c('0x2')])),_0x26bb69['buffer'][_0x364c('0x19')]();});}),_0x4768a8[_0x364c('0xd')][_0x364c('0x15')]['on'](_0x364c('0x21'),_0x4a23ee(_0x4768a8,_0x364c('0x2a')),{'priority':_0x364c('0xe')}),_0x4768a8[_0x364c('0x7')][_0x364c('0x15')]['on'](_0x364c('0x21'),(_0x38b3e5,_0x13b46,_0x34212c)=>{_0x34212c[_0x364c('0xc')][_0x364c('0x20')]&&_0x4a23ee(_0x4768a8,_0x364c('0x2a'),{'showActiveMarker':!0x1})[_0x364c('0x1a')](this)(_0x38b3e5,_0x13b46,_0x34212c);},{'priority':_0x364c('0xe')}),_0x4768a8[_0x364c('0xd')]['downcastDispatcher']['on'](_0x364c('0x26'),(_0xe6a9d8,_0x467d69,_0x2f8e52)=>{const _0x52dbc3=_0x2f8e52[_0x364c('0x11')][_0x364c('0x1b')](_0x467d69[_0x364c('0x5')]);if(_0x52dbc3)for(const _0x363863 of _0x52dbc3)_0x363863['is'](_0x364c('0xf'))&&(_0x2f8e52[_0x364c('0x11')][_0x364c('0x22')](_0x363863,_0x467d69[_0x364c('0x5')]),_0x2f8e52['writer'][_0x364c('0x27')](_0x363863));},{'priority':_0x364c('0xe')});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/documentlist
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 document list feature.
11
11
  */