@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231215.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-20231215.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-20231215.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231215.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 _0x1f62=['_suggestions','model','plugins','_isEnabledBasedOnSelection','get','refresh','acceptSuggestion','track-changes-accept-suggestion-not-found','getRanges','canEditAt','isEnabled','TrackChangesEditing','editor'];(function(_0x380e67,_0x1f62c0){const _0x1e289a=function(_0xa3dedc){while(--_0xa3dedc){_0x380e67['push'](_0x380e67['shift']());}};_0x1e289a(++_0x1f62c0);}(_0x1f62,0x14f));const _0x1e28=function(_0x380e67,_0x1f62c0){_0x380e67=_0x380e67-0x0;let _0x1e289a=_0x1f62[_0x380e67];return _0x1e289a;};import{Command as _0x4be1f6}from'ckeditor5/src/core';import{CKEditorError as _0x413aef}from'ckeditor5/src/utils';export default class B extends _0x4be1f6{constructor(_0x4af0c2,_0x4156d4){super(_0x4af0c2),this[_0x1e28('0x3')]=_0x4156d4,this[_0x1e28('0x8')](),this[_0x1e28('0x6')]=!0x1;}[_0x1e28('0x8')](){this[_0x1e28('0x0')]=!0x0;}['execute'](_0x405640){const _0x1e2fc1=this[_0x1e28('0x3')]['get'](_0x405640);if(!_0x1e2fc1)throw new _0x413aef(_0x1e28('0xa'),this);const _0x499e3d=_0x1e2fc1[_0x1e28('0xb')]();this[_0x1e28('0x2')][_0x1e28('0x4')][_0x1e28('0xc')](_0x499e3d)&&this[_0x1e28('0x2')][_0x1e28('0x5')][_0x1e28('0x7')](_0x1e28('0x1'))[_0x1e28('0x9')](_0x1e2fc1);}}
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 _0x38ed=['refresh','_isEnabledBasedOnSelection','discardSuggestion','editor','get','execute','getRanges','model','_suggestions','plugins','isEnabled'];(function(_0x40960c,_0x38edb3){const _0x4ed8da=function(_0x251939){while(--_0x251939){_0x40960c['push'](_0x40960c['shift']());}};_0x4ed8da(++_0x38edb3);}(_0x38ed,0x173));const _0x4ed8=function(_0x40960c,_0x38edb3){_0x40960c=_0x40960c-0x0;let _0x4ed8da=_0x38ed[_0x40960c];return _0x4ed8da;};import{Command as _0x3fca97}from'ckeditor5/src/core';import{CKEditorError as _0x4cdb6e}from'ckeditor5/src/utils';export default class x extends _0x3fca97{constructor(_0x5baca7,_0x489158){super(_0x5baca7),this['_suggestions']=_0x489158,this[_0x4ed8('0x3')](),this[_0x4ed8('0x4')]=!0x1;}[_0x4ed8('0x3')](){this[_0x4ed8('0x2')]=!0x0;}[_0x4ed8('0x8')](_0x5163ac){const _0xeca237=this[_0x4ed8('0x0')]['get'](_0x5163ac);if(!_0xeca237)throw new _0x4cdb6e('track-changes-discard-suggestion-not-found',this);const _0x4cb62f=_0xeca237[_0x4ed8('0x9')]();this['editor'][_0x4ed8('0xa')]['canEditAt'](_0x4cb62f)&&this[_0x4ed8('0x6')][_0x4ed8('0x1')][_0x4ed8('0x7')]('TrackChangesEditing')[_0x4ed8('0x5')](_0xeca237);}}
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 _0x4a07=['isEnabled','isInContent','_suggestions','from','_isEnabledBasedOnSelection','_command','values','refresh','some','model'];(function(_0x346384,_0x4a078c){const _0x5191d7=function(_0x4ad3b9){while(--_0x4ad3b9){_0x346384['push'](_0x346384['shift']());}};_0x5191d7(++_0x4a078c);}(_0x4a07,0x140));const _0x5191=function(_0x346384,_0x4a078c){_0x346384=_0x346384-0x0;let _0x5191d7=_0x4a07[_0x346384];return _0x5191d7;};import{Command as _0x1a9824}from'ckeditor5/src/core';import{sortSuggestions as _0x171024,executeCommandForSuggestions as _0x35adfa}from'../utils/utils';export default class E extends _0x1a9824{constructor(_0x4537a3,_0x2647a0,_0x324813){super(_0x4537a3),this['_command']=_0x2647a0,this[_0x5191('0x2')]=_0x324813,this[_0x5191('0x7')](),this[_0x5191('0x4')]=!0x1;}[_0x5191('0x7')](){const _0x17e84d=Array[_0x5191('0x3')](this['_suggestions'][_0x5191('0x6')]())[_0x5191('0x8')](_0x55b51d=>_0x55b51d[_0x5191('0x1')]);this['isEnabled']=this[_0x5191('0x5')][_0x5191('0x0')]&&_0x17e84d;}['execute'](){const _0x1b496f=_0x171024(Array[_0x5191('0x3')](this[_0x5191('0x2')][_0x5191('0x6')]()));for(const _0x357418 of _0x1b496f){const _0x1cfc2f=_0x357418['getRanges']();if(!this['editor'][_0x5191('0x9')]['canEditAt'](_0x1cfc2f))return;}_0x35adfa(this['editor'][_0x5191('0x9')],this[_0x5191('0x5')],_0x1b496f);}}
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 _0x5b21=['selection','_isEnabledBasedOnSelection','values','model','_command','from','canEditAt','getRanges','isEnabled','document','editor','_suggestions','_selectedSuggestions','refresh'];(function(_0x3f2823,_0x5b2199){const _0x818a0c=function(_0x46121e){while(--_0x46121e){_0x3f2823['push'](_0x3f2823['shift']());}};_0x818a0c(++_0x5b2199);}(_0x5b21,0x16d));const _0x818a=function(_0x3f2823,_0x5b2199){_0x3f2823=_0x3f2823-0x0;let _0x818a0c=_0x5b21[_0x3f2823];return _0x818a0c;};import{Command as _0x309b4c}from'ckeditor5/src/core';import{sortSuggestions as _0x52c5bd,getSelectedSuggestions as _0x1377e2,executeCommandForSuggestions as _0x10db80}from'../utils/utils';export default class R extends _0x309b4c{constructor(_0x5c9109,_0x542898,_0x45280e){super(_0x5c9109),this[_0x818a('0x3')]=_0x542898,this['_suggestions']=_0x45280e,this[_0x818a('0xb')]=new Set(),this[_0x818a('0xc')](),this[_0x818a('0x0')]=!0x1;}[_0x818a('0xc')](){const _0x46ed1f=this[_0x818a('0x9')][_0x818a('0x2')][_0x818a('0x8')][_0x818a('0xd')],_0xc1399d=Array[_0x818a('0x4')](this[_0x818a('0xa')][_0x818a('0x1')]());this['_selectedSuggestions']=_0x1377e2(_0x46ed1f,_0xc1399d),this[_0x818a('0x7')]=this[_0x818a('0x3')][_0x818a('0x7')]&&!!this[_0x818a('0xb')]['size'];}['execute'](){const _0x332482=_0x52c5bd(Array[_0x818a('0x4')](this['_selectedSuggestions']));for(const _0x103f93 of _0x332482){const _0x1a0784=_0x103f93[_0x818a('0x6')]();if(!this['editor'][_0x818a('0x2')][_0x818a('0x5')](_0x1a0784))return;}_0x10db80(this['editor'][_0x818a('0x2')],this[_0x818a('0x3')],_0x332482);}}
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 _0x3c05=['_enabledCommands','commands','_disableUnsupportedCommands','TrackChangesCommand','value','editor','_isEnabledBasedOnSelection','forceDisabled','refresh','clearForceDisabled','has'];(function(_0x4f00cc,_0x3c0536){const _0x3776fa=function(_0x1d8e14){while(--_0x1d8e14){_0x4f00cc['push'](_0x4f00cc['shift']());}};_0x3776fa(++_0x3c0536);}(_0x3c05,0x1b0));const _0x3776=function(_0x4f00cc,_0x3c0536){_0x4f00cc=_0x4f00cc-0x0;let _0x3776fa=_0x3c05[_0x4f00cc];return _0x3776fa;};import{Command as _0x5935d2}from'ckeditor5/src/core';export default class $ extends _0x5935d2{constructor(_0x55f826,_0x288f42){super(_0x55f826),this[_0x3776('0x8')]=_0x288f42,this[_0x3776('0x1')]=!0x1,this[_0x3776('0x5')](),this[_0x3776('0x3')]=!0x1;}[_0x3776('0x5')](){this['isEnabled']=!0x0;}['execute'](){this[_0x3776('0x1')]=!this[_0x3776('0x1')],this[_0x3776('0x1')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x3776('0xa')](){for(const _0x50ec6e of this[_0x3776('0x2')][_0x3776('0x9')][_0x3776('0x9')]())_0x50ec6e['affectsData']&&!this[_0x3776('0x8')][_0x3776('0x7')](_0x50ec6e)&&_0x50ec6e[_0x3776('0x4')](_0x3776('0x0'));}['_enableCommands'](){for(const _0x2ab131 of this[_0x3776('0x2')][_0x3776('0x9')][_0x3776('0x9')]())_0x2ab131['affectsData']&&!this[_0x3776('0x8')]['has'](_0x2ab131)&&_0x2ab131[_0x3776('0x6')](_0x3776('0x0'));}}
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 _0x27cf=['editor','get','showAIAssistant','afterInit','commands','plugins'];(function(_0x1c1fd0,_0x27cf9a){const _0x34f4cc=function(_0x2b9c2f){while(--_0x2b9c2f){_0x1c1fd0['push'](_0x1c1fd0['shift']());}};_0x34f4cc(++_0x27cf9a);}(_0x27cf,0xda));const _0x34f4=function(_0x1c1fd0,_0x27cf9a){_0x1c1fd0=_0x1c1fd0-0x0;let _0x34f4cc=_0x27cf[_0x1c1fd0];return _0x34f4cc;};import{Plugin as _0x37acef}from'ckeditor5/src/core';export default class j extends _0x37acef{[_0x34f4('0x1')](){const _0x853629=this[_0x34f4('0x4')],_0x3714b9=_0x853629[_0x34f4('0x3')][_0x34f4('0x5')]('TrackChangesEditing');_0x853629[_0x34f4('0x2')][_0x34f4('0x5')]('showAIAssistant')&&_0x3714b9['enableCommand'](_0x34f4('0x0'));}}
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 _0x5c36=['commandName','FORMAT_JUSTIFY_TEXT','left','get','registerAttributeLabel','FORMAT_ALIGNMENT','_enableDefaultAttributesIntegration','afterInit','alignment','AlignmentEditing','registerDescriptionCallback','*Format:*\x20%0','type','FORMAT_ALIGN_TO_CENTER','commandParams','locale','has','editor','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGN_TO_LEFT','_registerLegacyDescription','justify','_descriptionFactory','value','right','TrackChangesEditing','plugins'];(function(_0x1fe405,_0x5c3652){const _0x1ebb13=function(_0x4eddc0){while(--_0x4eddc0){_0x1fe405['push'](_0x1fe405['shift']());}};_0x1ebb13(++_0x5c3652);}(_0x5c36,0xea));const _0x1ebb=function(_0x1fe405,_0x5c3652){_0x1fe405=_0x1fe405-0x0;let _0x1ebb13=_0x5c36[_0x1fe405];return _0x1ebb13;};import{Plugin as _0x321ba0}from'ckeditor5/src/core';import{getTranslation as _0x4fb2ad}from'../utils/common-translations';export default class U extends _0x321ba0{[_0x1ebb('0x10')](){const _0x1e9896=this[_0x1ebb('0x1a')],_0x3d5384=_0x1e9896[_0x1ebb('0x18')];if(!_0x1e9896[_0x1ebb('0x8')][_0x1ebb('0x19')](_0x1ebb('0x12')))return;const _0x248116=_0x1e9896[_0x1ebb('0x8')][_0x1ebb('0xc')](_0x1ebb('0x7'));_0x248116[_0x1ebb('0xf')](_0x1ebb('0x11'),[],[_0x1ebb('0x11')]),_0x248116['_descriptionFactory'][_0x1ebb('0xd')](_0x1ebb('0x11'),_0x4fb2ad(_0x3d5384,_0x1ebb('0xe'))),this[_0x1ebb('0x2')]();}[_0x1ebb('0x2')](){const _0x247343=this['editor'],_0x4cdf51=_0x247343[_0x1ebb('0x18')];_0x247343[_0x1ebb('0x8')][_0x1ebb('0xc')](_0x1ebb('0x7'))[_0x1ebb('0x4')][_0x1ebb('0x13')](_0x1e47b6=>{if('formatBlock'!=_0x1e47b6[_0x1ebb('0x15')])return;const {data:_0x407057}=_0x1e47b6;if(_0x407057&&_0x1ebb('0x11')==_0x407057[_0x1ebb('0x9')]){const _0x3690c3=_0x407057[_0x1ebb('0x17')][0x0][_0x1ebb('0x5')];return{'type':'format','content':_0x4fb2ad(_0x4cdf51,_0x1ebb('0x14'),function(_0x47b966){switch(_0x47b966){case _0x1ebb('0xb'):return _0x4fb2ad(_0x4cdf51,_0x1ebb('0x1'));case _0x1ebb('0x6'):return _0x4fb2ad(_0x4cdf51,_0x1ebb('0x0'));case'center':return _0x4fb2ad(_0x4cdf51,_0x1ebb('0x16'));case _0x1ebb('0x3'):return _0x4fb2ad(_0x4cdf51,_0x1ebb('0xa'));}}(_0x3690c3))};}});}}
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 _0xde4c=['FORMAT_SUPERSCRIPT','_descriptionFactory','superscript','FORMAT_CODE','commandName','subscript','FORMAT_ITALIC','get','SubscriptEditing','_registerLegacyDescription','strikethrough','FORMAT_','plugins','slice','editor','registerAttributeLabel','TrackChangesEditing','BoldEditing','registerDescriptionCallback','format','*Format:*\x20%0','commandParams','FORMAT_STRIKETHROUGH','formatInline','ItalicEditing','UnderlineEditing','toLowerCase','underline','has','code','type','italic','*Remove\x20format:*\x20%0','FORMAT_SUBSCRIPT','FORMAT_UNDERLINE','SuperscriptEditing','toUpperCase','locale','forceValue'];(function(_0x56d588,_0xde4cb3){const _0x43997e=function(_0xd499a5){while(--_0xd499a5){_0x56d588['push'](_0x56d588['shift']());}};_0x43997e(++_0xde4cb3);}(_0xde4c,0x7a));const _0x4399=function(_0x56d588,_0xde4cb3){_0x56d588=_0x56d588-0x0;let _0x43997e=_0xde4c[_0x56d588];return _0x43997e;};import{Plugin as _0x41c27a}from'ckeditor5/src/core';import{getTranslation as _0x3564e7}from'../utils/common-translations';const ti=[_0x4399('0xc'),_0x4399('0x13'),_0x4399('0x14'),'CodeEditing','StrikethroughEditing',_0x4399('0x3'),_0x4399('0x1e')];export default class O extends _0x41c27a{['afterInit'](){const _0x44eb1a=this[_0x4399('0x9')],_0xbf82f2=_0x44eb1a[_0x4399('0x7')][_0x4399('0x2')](_0x4399('0xb')),_0x41b72d=_0x44eb1a['locale'];for(const _0x29408b of ti){if(!_0x44eb1a[_0x4399('0x7')][_0x4399('0x17')](_0x29408b))continue;const _0x182935=_0x29408b[_0x4399('0x8')](0x0,-0x7)[_0x4399('0x15')](),_0x17e997=_0x4399('0x6')+_0x182935[_0x4399('0x1f')]();_0xbf82f2['_enableDefaultAttributesIntegration'](_0x182935,[_0x182935]),_0xbf82f2[_0x4399('0x23')][_0x4399('0xa')](_0x182935,_0x3564e7(_0x41b72d,_0x17e997));}this[_0x4399('0x4')]();}[_0x4399('0x4')](){const _0x21c1f6=this[_0x4399('0x9')],_0x433d2f=_0x21c1f6[_0x4399('0x20')],_0x2a6168=_0x21c1f6[_0x4399('0x7')][_0x4399('0x2')](_0x4399('0xb'));function _0x43a9b5(_0x2a054c,_0x3dfcbd){_0x2a6168[_0x4399('0x23')][_0x4399('0xd')](_0x32797a=>{if(_0x4399('0x12')!=_0x32797a[_0x4399('0x19')])return;const {data:_0x519997}=_0x32797a;return _0x519997&&_0x519997[_0x4399('0x26')]===_0x2a054c?_0x519997[_0x4399('0x10')][0x0][_0x4399('0x21')]?{'type':_0x4399('0xe'),'content':_0x3564e7(_0x433d2f,_0x4399('0xf'),_0x3dfcbd)}:{'type':_0x4399('0xe'),'content':_0x3564e7(_0x433d2f,_0x4399('0x1b'),_0x3dfcbd)}:void 0x0;});}_0x43a9b5('bold',_0x3564e7(_0x433d2f,'FORMAT_BOLD')),_0x43a9b5(_0x4399('0x1a'),_0x3564e7(_0x433d2f,_0x4399('0x1'))),_0x43a9b5(_0x4399('0x16'),_0x3564e7(_0x433d2f,_0x4399('0x1d'))),_0x43a9b5(_0x4399('0x18'),_0x3564e7(_0x433d2f,_0x4399('0x25'))),_0x43a9b5(_0x4399('0x5'),_0x3564e7(_0x433d2f,_0x4399('0x11'))),_0x43a9b5(_0x4399('0x0'),_0x3564e7(_0x433d2f,_0x4399('0x1c'))),_0x43a9b5(_0x4399('0x24'),_0x3564e7(_0x433d2f,_0x4399('0x22')));}}
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 _0x5920=['*Set\x20format:*\x20%0','document','blockQuote','get','registerDescriptionCallback','forceValue','afterInit','name','markBlockFormat','_descriptionFactory','schema','format','commandName','$root','from','has','BlockQuoteEditing','commandParams','selection','model','value','*Remove\x20format:*\x20%0','editor','getSelectedBlocks','checkChild','parent','plugins'];(function(_0x321142,_0x59206d){const _0x340e8b=function(_0x29d74e){while(--_0x29d74e){_0x321142['push'](_0x321142['shift']());}};_0x340e8b(++_0x59206d);}(_0x5920,0x136));const _0x340e=function(_0x321142,_0x59206d){_0x321142=_0x321142-0x0;let _0x340e8b=_0x5920[_0x321142];return _0x340e8b;};import{Plugin as _0x50be81}from'ckeditor5/src/core';import{getTranslation as _0x3d6f69}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x43605d}from'../utils/utils';export default class V extends _0x50be81{[_0x340e('0x14')](){const _0x5b7369=this[_0x340e('0x9')],_0x1d661=_0x5b7369['locale'];if(!_0x5b7369[_0x340e('0xd')][_0x340e('0x2')](_0x340e('0x3')))return;const _0x4eee1c=_0x5b7369[_0x340e('0xd')][_0x340e('0x11')]('TrackChangesEditing'),_0x51c5a3=this[_0x340e('0x9')]['commands'][_0x340e('0x11')](_0x340e('0x10'));_0x4eee1c['enableCommand'](_0x340e('0x10'),(_0x54ae67,_0x3305d9={})=>{const _0x912977=this['editor'][_0x340e('0x6')][_0x340e('0xf')][_0x340e('0x5')],_0x3550c2=_0x3305d9&&void 0x0!==_0x3305d9['forceValue']?_0x3305d9[_0x340e('0x13')]:!_0x51c5a3[_0x340e('0x7')];let _0xd1d949=[];if(_0x3550c2){const _0x3c12db=Array['from'](_0x912977[_0x340e('0xa')]())['filter'](_0x14e2b2=>oo(_0x14e2b2)||function(_0x2c4f12,_0x5632e3){const _0x895a8a=_0x5632e3[_0x340e('0xb')](_0x2c4f12['parent'],_0x340e('0x10')),_0x41f12b=_0x5632e3[_0x340e('0xb')]([_0x340e('0x0'),_0x340e('0x10')],_0x2c4f12);return _0x895a8a&&_0x41f12b;}(_0x14e2b2,this[_0x340e('0x9')][_0x340e('0x6')][_0x340e('0x18')]));_0xd1d949=_0x43605d(_0x3c12db,_0x5b7369[_0x340e('0x6')]);}else{const _0xdd12db=Array[_0x340e('0x1')](_0x912977['getSelectedBlocks']())['filter'](_0x24ab92=>oo(_0x24ab92));_0xd1d949=_0x43605d(_0xdd12db,_0x5b7369['model']);}_0x5b7369[_0x340e('0x6')]['change'](()=>{for(const _0x3cb7a9 of _0xd1d949)_0x4eee1c[_0x340e('0x16')](_0x3cb7a9,{'commandName':_0x340e('0x10'),'commandParams':[{'forceValue':_0x3550c2}]});});}),_0x4eee1c[_0x340e('0x17')][_0x340e('0x12')](_0x199ad1=>{const {data:_0x364e8e}=_0x199ad1;if(_0x364e8e&&_0x340e('0x10')==_0x364e8e[_0x340e('0x1a')]){const _0x4352b5=_0x3d6f69(_0x1d661,'ELEMENT_BLOCK_QUOTE');return _0x364e8e[_0x340e('0x4')][0x0]['forceValue']?{'type':'format','content':_0x3d6f69(_0x1d661,_0x340e('0xe'),_0x4352b5)}:{'type':_0x340e('0x19'),'content':_0x3d6f69(_0x1d661,_0x340e('0x8'),_0x4352b5)};}});}}function oo(_0x559c81){return'blockQuote'==_0x559c81[_0x340e('0xc')][_0x340e('0x15')];}
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 _0x1fe3=['get','enableCommand','afterInit','ckbox','editor','commands','plugins'];(function(_0x22066e,_0x1fe34c){const _0xaf74cd=function(_0xaefc46){while(--_0xaefc46){_0x22066e['push'](_0x22066e['shift']());}};_0xaf74cd(++_0x1fe34c);}(_0x1fe3,0xf3));const _0xaf74=function(_0x22066e,_0x1fe34c){_0x22066e=_0x22066e-0x0;let _0xaf74cd=_0x1fe3[_0x22066e];return _0xaf74cd;};import{Plugin as _0x1bce75}from'ckeditor5/src/core';export default class G extends _0x1bce75{[_0xaf74('0x4')](){const _0x33e85b=this[_0xaf74('0x6')];_0x33e85b[_0xaf74('0x0')][_0xaf74('0x2')](_0xaf74('0x5'))&&_0x33e85b[_0xaf74('0x1')][_0xaf74('0x2')]('TrackChangesEditing')[_0xaf74('0x3')](_0xaf74('0x5'));}}
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 _0x4ec8=['config','indentCodeBlock','commandParams','rootElement','enableCommand','schema','from','languages','plugins','getSelectedBlocks','registerDescriptionCallback','format','has','locale','forceValue','language','commandName','codeBlock','afterInit','formatBlock','get','toLowerCase','TrackChangesEditing','blockName','find','label','model','filter','name','parent','ELEMENT_CODE_BLOCK','type','registerElementLabel','selection','isLimit','*Remove\x20format:*\x20%0','change'];(function(_0x5ee1ae,_0x4ec89f){const _0x17e518=function(_0x275c78){while(--_0x275c78){_0x5ee1ae['push'](_0x5ee1ae['shift']());}};_0x17e518(++_0x4ec89f);}(_0x4ec8,0x1f2));const _0x17e5=function(_0x5ee1ae,_0x4ec89f){_0x5ee1ae=_0x5ee1ae-0x0;let _0x17e518=_0x4ec8[_0x5ee1ae];return _0x17e518;};import{Plugin as _0x58ccb6}from'ckeditor5/src/core';import{getTranslation as _0x4da097}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x544fd7}from'../utils/utils';export default class F extends _0x58ccb6{[_0x17e5('0x1')](){const _0x3b5621=this['editor'];if(!_0x3b5621[_0x17e5('0x1c')][_0x17e5('0x20')]('CodeBlock'))return;const _0x20379a=_0x3b5621['plugins'][_0x17e5('0x3')](_0x17e5('0x5')),_0x3b048d=_0x3b5621[_0x17e5('0x21')],_0x2dd309=_0x3b5621[_0x17e5('0x14')][_0x17e5('0x3')](_0x17e5('0x0'))[_0x17e5('0x1b')],_0x19493b=_0x3b5621['commands'][_0x17e5('0x3')](_0x17e5('0x0'));_0x20379a[_0x17e5('0x18')](_0x17e5('0x15')),_0x20379a['enableCommand']('outdentCodeBlock'),_0x20379a[_0x17e5('0x18')](_0x17e5('0x0'),(_0x205943,_0x2654c8={})=>{const _0x9ecd91=_0x3b5621[_0x17e5('0x9')],_0x5dca11=_0x3b5621[_0x17e5('0x9')]['document'][_0x17e5('0x10')],_0x3f6507=_0x2654c8&&void 0x0!==_0x2654c8[_0x17e5('0x22')]?_0x2654c8[_0x17e5('0x22')]:!_0x19493b['value'];let _0x3eaa71;_0x2654c8[_0x17e5('0x23')]||(_0x2654c8[_0x17e5('0x23')]=_0x2dd309[0x0][_0x17e5('0x23')]),_0x3eaa71=_0x3f6507?Array[_0x17e5('0x1a')](_0x5dca11[_0x17e5('0x1d')]())[_0x17e5('0xa')](_0x3179ad=>eo(_0x3179ad)||function(_0x48a752,_0xaf35e1){if(_0x48a752['is'](_0x17e5('0x17'))||_0xaf35e1[_0x17e5('0x11')](_0x48a752))return!0x1;return _0xaf35e1['checkChild'](_0x48a752[_0x17e5('0xc')],_0x17e5('0x0'));}(_0x3179ad,_0x9ecd91[_0x17e5('0x19')])):Array[_0x17e5('0x1a')](_0x5dca11['getSelectedBlocks']())[_0x17e5('0xa')](_0x341273=>eo(_0x341273));const _0x423967=_0x544fd7(_0x3eaa71,_0x9ecd91);_0x9ecd91[_0x17e5('0x13')](()=>{for(const _0x8c8877 of _0x423967)_0x20379a['markBlockFormat'](_0x8c8877,{'commandName':_0x17e5('0x0'),'commandParams':[{..._0x2654c8,'forceValue':_0x3f6507}],'formatGroupId':_0x17e5('0x6')});});}),(_0x20379a['_descriptionFactory'][_0x17e5('0xf')](_0x17e5('0x0'),_0x394083=>_0x4da097(_0x3b048d,_0x17e5('0xd'),_0x394083)),_0x20379a['_descriptionFactory'][_0x17e5('0x1e')](_0x47328a=>{if(_0x17e5('0x2')!=_0x47328a[_0x17e5('0xe')])return;const _0x3ddbb2=_0x3b048d['t'],{data:_0x476241}=_0x47328a;if(!_0x476241||'codeBlock'!=_0x476241[_0x17e5('0x24')])return;const _0x1b1f1d=_0x476241[_0x17e5('0x16')][0x0]['language'],_0x17360a=_0x3ddbb2(_0x2dd309[_0x17e5('0x7')](_0x27ec9=>_0x27ec9[_0x17e5('0x23')]===_0x1b1f1d)[_0x17e5('0x8')])[_0x17e5('0x4')]();return _0x476241[_0x17e5('0x16')][0x0]['forceValue']?{'type':_0x17e5('0x1f'),'content':_0x4da097(_0x3b048d,'*Set\x20format:*\x20%0',_0x4da097(_0x3b048d,_0x17e5('0xd'),0x1)+'\x20('+_0x17360a+')')}:{'type':'format','content':_0x4da097(_0x3b048d,_0x17e5('0x12'),_0x4da097(_0x3b048d,_0x17e5('0xd'),0x1))};}));}}function eo(_0xf2d5f){return _0x17e5('0x0')==_0xf2d5f[_0x17e5('0xb')];}
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 _0x2c29=['plugins','has','afterInit','enableCommand','CommentsEditing','get','editor','addCommentThread','TrackChangesEditing'];(function(_0x5ba1e9,_0x2c2933){const _0x10031e=function(_0x5d5e64){while(--_0x5d5e64){_0x5ba1e9['push'](_0x5ba1e9['shift']());}};_0x10031e(++_0x2c2933);}(_0x2c29,0x1e5));const _0x1003=function(_0x5ba1e9,_0x2c2933){_0x5ba1e9=_0x5ba1e9-0x0;let _0x10031e=_0x2c29[_0x5ba1e9];return _0x10031e;};import{Plugin as _0x3d6e75}from'ckeditor5/src/core';export default class L extends _0x3d6e75{[_0x1003('0x3')](){const _0x522626=this[_0x1003('0x7')];if(!_0x522626[_0x1003('0x1')][_0x1003('0x2')](_0x1003('0x5')))return;_0x522626[_0x1003('0x1')][_0x1003('0x6')](_0x1003('0x0'))[_0x1003('0x4')](_0x1003('0x8'));}}
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 _0x39bf=['getFirstRange','model','uiElement','editor','modifySelection','init','isCollapsed','fromRange','options','root','remove','setSelection','high','enableCommand','createRange','addMarker:suggestion:deletion','merge','editing','deleteForward','lock','removeMarker:suggestion:deletion','markerName','rootName','mapper','buffer','unlock','bind','writer','batch','get','unbindElementFromMarkerName','createSelection','showSuggestionHighlights','downcastDispatcher','commands','selection','plugins','requires','start','document','forward','data','unit','TrackChangesEditing','end','detach'];(function(_0x22af8e,_0x39bffb){const _0x9a13af=function(_0x188a3b){while(--_0x188a3b){_0x22af8e['push'](_0x22af8e['shift']());}};_0x9a13af(++_0x39bffb);}(_0x39bf,0xf5));const _0x9a13=function(_0x22af8e,_0x39bffb){_0x22af8e=_0x22af8e-0x0;let _0x9a13af=_0x39bf[_0x22af8e];return _0x9a13af;};import{Plugin as _0x5d6c84}from'ckeditor5/src/core';import{LiveRange as _0x3d9932}from'ckeditor5/src/engine';import{Delete as _0x1f4f87}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0xd717a2}from'./utils';export default class H extends _0x5d6c84{static get[_0x9a13('0x16')](){return[_0x1f4f87];}[_0x9a13('0x24')](){const _0x294363=this[_0x9a13('0x22')],_0x3ff384=_0x294363[_0x9a13('0x15')][_0x9a13('0xe')](_0x9a13('0x1c'));_0x3ff384['enableCommand']('delete');const _0x308792=_0x294363[_0x9a13('0x13')][_0x9a13('0xe')](_0x9a13('0x3'));_0x3ff384[_0x9a13('0x2c')](_0x9a13('0x3'),(_0x589d26,_0xd7034f={})=>{const _0x3b2428=_0x294363[_0x9a13('0x20')][_0x9a13('0x10')](_0x294363[_0x9a13('0x20')][_0x9a13('0x18')][_0x9a13('0x14')]);_0x3b2428[_0x9a13('0x25')]&&_0x294363[_0x9a13('0x20')][_0x9a13('0x23')](_0x3b2428,{'direction':_0x9a13('0x19'),'unit':_0xd7034f[_0x9a13('0x1b')]});const _0x2d7bfd=_0x3b2428[_0x9a13('0x1f')](),_0x2de0e7=_0x3d9932[_0x9a13('0x26')](_0x2d7bfd);let _0x3fc39f;_0x589d26(_0xd7034f),_0x3fc39f='$graveyard'==_0x2de0e7[_0x9a13('0x28')][_0x9a13('0x7')]?_0x294363[_0x9a13('0x20')][_0x9a13('0x2d')](_0x2d7bfd['start']):_0x294363['model']['createRange'](_0x2de0e7[_0x9a13('0x17')],_0x2de0e7[_0x9a13('0x1d')]),_0x2de0e7[_0x9a13('0x1e')](),_0x294363[_0x9a13('0x20')]['enqueueChange'](_0x308792[_0x9a13('0x9')][_0x9a13('0xd')],_0x13736e=>{_0x308792[_0x9a13('0x9')][_0x9a13('0x4')](),_0x13736e[_0x9a13('0x2a')](_0x13736e['createRange'](_0x3fc39f[_0x9a13('0x1d')])),_0x308792[_0x9a13('0x9')][_0x9a13('0xa')]();});}),_0x294363[_0x9a13('0x2')]['downcastDispatcher']['on'](_0x9a13('0x0'),_0xd717a2(_0x294363,_0x9a13('0x1')),{'priority':'high'}),_0x294363[_0x9a13('0x1a')][_0x9a13('0x12')]['on']('addMarker:suggestion:deletion',(_0x481895,_0x3ded55,_0x229702)=>{_0x229702[_0x9a13('0x27')][_0x9a13('0x11')]&&_0xd717a2(_0x294363,'merge',{'showActiveMarker':!0x1})[_0x9a13('0xb')](this)(_0x481895,_0x3ded55,_0x229702);},{'priority':_0x9a13('0x2b')}),_0x294363[_0x9a13('0x2')][_0x9a13('0x12')]['on'](_0x9a13('0x5'),(_0x44ec11,_0x42128e,_0x43b429)=>{const _0x34543b=_0x43b429['mapper']['markerNameToElements'](_0x42128e[_0x9a13('0x6')]);if(_0x34543b)for(const _0x7bf282 of _0x34543b)_0x7bf282['is'](_0x9a13('0x21'))&&(_0x43b429[_0x9a13('0x8')][_0x9a13('0xf')](_0x7bf282,_0x42128e[_0x9a13('0x6')]),_0x43b429[_0x9a13('0xc')][_0x9a13('0x29')](_0x7bf282));},{'priority':_0x9a13('0x2b')});}}
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
  */