@ckeditor/ckeditor5-track-changes 38.2.0-alpha.0 → 38.2.0-alpha.1

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 (130) hide show
  1. package/build/track-changes.js +2 -2
  2. package/package.json +3 -3
  3. package/src/augmentation.d.ts +2 -2
  4. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  7. package/src/commands/discardsuggestioncommand.js +1 -1
  8. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  11. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  12. package/src/commands/trackchangescommand.d.ts +1 -1
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/index.d.ts +12 -12
  15. package/src/index.js +1 -1
  16. package/src/integrations/alignment.d.ts +1 -1
  17. package/src/integrations/alignment.js +1 -1
  18. package/src/integrations/basicstyles.d.ts +1 -1
  19. package/src/integrations/basicstyles.js +1 -1
  20. package/src/integrations/blockquote.d.ts +1 -1
  21. package/src/integrations/blockquote.js +1 -1
  22. package/src/integrations/ckbox.d.ts +1 -1
  23. package/src/integrations/ckbox.js +1 -1
  24. package/src/integrations/codeblock.d.ts +1 -1
  25. package/src/integrations/codeblock.js +1 -1
  26. package/src/integrations/comments.d.ts +1 -1
  27. package/src/integrations/comments.js +1 -1
  28. package/src/integrations/deletecommand.d.ts +2 -2
  29. package/src/integrations/deletecommand.js +1 -1
  30. package/src/integrations/documentlist.d.ts +1 -1
  31. package/src/integrations/documentlist.js +1 -1
  32. package/src/integrations/documentlistproperties.d.ts +3 -3
  33. package/src/integrations/documentlistproperties.js +1 -1
  34. package/src/integrations/entercommand.d.ts +2 -2
  35. package/src/integrations/entercommand.js +1 -1
  36. package/src/integrations/findandreplace.d.ts +1 -1
  37. package/src/integrations/findandreplace.js +1 -1
  38. package/src/integrations/font.d.ts +1 -1
  39. package/src/integrations/font.js +1 -1
  40. package/src/integrations/formatpainter.d.ts +1 -1
  41. package/src/integrations/formatpainter.js +1 -1
  42. package/src/integrations/heading.d.ts +1 -1
  43. package/src/integrations/heading.js +1 -1
  44. package/src/integrations/highlight.d.ts +1 -1
  45. package/src/integrations/highlight.js +1 -1
  46. package/src/integrations/horizontalline.d.ts +1 -1
  47. package/src/integrations/horizontalline.js +1 -1
  48. package/src/integrations/htmlembed.d.ts +1 -1
  49. package/src/integrations/htmlembed.js +1 -1
  50. package/src/integrations/image.d.ts +1 -1
  51. package/src/integrations/image.js +1 -1
  52. package/src/integrations/imagereplace.d.ts +3 -3
  53. package/src/integrations/imagereplace.js +1 -1
  54. package/src/integrations/importword.d.ts +1 -1
  55. package/src/integrations/importword.js +1 -1
  56. package/src/integrations/indent.d.ts +1 -1
  57. package/src/integrations/indent.js +1 -1
  58. package/src/integrations/inputcommand.d.ts +2 -2
  59. package/src/integrations/inputcommand.js +1 -1
  60. package/src/integrations/link.d.ts +1 -1
  61. package/src/integrations/link.js +1 -1
  62. package/src/integrations/list.d.ts +1 -1
  63. package/src/integrations/list.js +1 -1
  64. package/src/integrations/listproperties.d.ts +3 -3
  65. package/src/integrations/listproperties.js +1 -1
  66. package/src/integrations/mediaembed.d.ts +1 -1
  67. package/src/integrations/mediaembed.js +1 -1
  68. package/src/integrations/mention.d.ts +1 -1
  69. package/src/integrations/mention.js +1 -1
  70. package/src/integrations/pagebreak.d.ts +1 -1
  71. package/src/integrations/pagebreak.js +1 -1
  72. package/src/integrations/paragraph.d.ts +1 -1
  73. package/src/integrations/paragraph.js +1 -1
  74. package/src/integrations/removeformat.d.ts +1 -1
  75. package/src/integrations/removeformat.js +1 -1
  76. package/src/integrations/restrictededitingmode.d.ts +1 -1
  77. package/src/integrations/restrictededitingmode.js +1 -1
  78. package/src/integrations/shiftentercommand.d.ts +2 -2
  79. package/src/integrations/shiftentercommand.js +1 -1
  80. package/src/integrations/standardeditingmode.d.ts +1 -1
  81. package/src/integrations/standardeditingmode.js +1 -1
  82. package/src/integrations/style.d.ts +1 -1
  83. package/src/integrations/style.js +1 -1
  84. package/src/integrations/table.d.ts +1 -1
  85. package/src/integrations/table.js +1 -1
  86. package/src/integrations/tablecaption.d.ts +2 -2
  87. package/src/integrations/tablecaption.js +1 -1
  88. package/src/integrations/tableclipboard.d.ts +2 -2
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tablecolumnresize.d.ts +4 -4
  91. package/src/integrations/tablecolumnresize.js +1 -1
  92. package/src/integrations/tableheadings.d.ts +2 -2
  93. package/src/integrations/tableheadings.js +1 -1
  94. package/src/integrations/tablemergesplit.d.ts +2 -2
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.d.ts +1 -1
  97. package/src/integrations/tableofcontents.js +1 -1
  98. package/src/integrations/tableproperties.d.ts +4 -4
  99. package/src/integrations/tableproperties.js +1 -1
  100. package/src/integrations/template.d.ts +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.d.ts +1 -1
  103. package/src/integrations/title.js +1 -1
  104. package/src/integrations/undo.d.ts +1 -1
  105. package/src/integrations/undo.js +1 -1
  106. package/src/integrations/utils.d.ts +3 -3
  107. package/src/integrations/utils.js +1 -1
  108. package/src/suggestion.d.ts +5 -5
  109. package/src/suggestion.js +1 -1
  110. package/src/suggestiondescriptionfactory.d.ts +15 -3
  111. package/src/suggestiondescriptionfactory.js +1 -1
  112. package/src/trackchanges.d.ts +6 -6
  113. package/src/trackchanges.js +1 -1
  114. package/src/trackchangesconfig.d.ts +1 -1
  115. package/src/trackchangesdata.d.ts +4 -4
  116. package/src/trackchangesdata.js +1 -1
  117. package/src/trackchangesediting.d.ts +51 -51
  118. package/src/trackchangesediting.js +1 -1
  119. package/src/trackchangesui.d.ts +3 -3
  120. package/src/trackchangesui.js +1 -1
  121. package/src/ui/suggestioncontroller.d.ts +5 -5
  122. package/src/ui/suggestioncontroller.js +1 -1
  123. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  124. package/src/ui/view/basesuggestionthreadview.js +1 -1
  125. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  126. package/src/ui/view/suggestionthreadview.js +1 -1
  127. package/src/utils/common-translations.d.ts +1 -1
  128. package/src/utils/common-translations.js +1 -1
  129. package/src/utils/utils.d.ts +4 -4
  130. 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": "38.2.0-alpha.0",
3
+ "version": "38.2.0-alpha.1",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -40,8 +40,8 @@
40
40
  "CHANGELOG.md"
41
41
  ],
42
42
  "dependencies": {
43
- "ckeditor5": "38.2.0-alpha.0",
44
- "ckeditor5-collaboration": "38.2.0-alpha.0",
43
+ "ckeditor5": "38.2.0-alpha.1",
44
+ "ckeditor5-collaboration": "38.2.0-alpha.1",
45
45
  "lodash-es": "^4.17.11"
46
46
  },
47
47
  "engines": {
@@ -1,5 +1,5 @@
1
- import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
2
- import type { Editor } from 'ckeditor5/src/core';
1
+ import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index.js';
2
+ import type { Editor } from 'ckeditor5/src/core.js';
3
3
  declare module '@ckeditor/ckeditor5-core' {
4
4
  interface EditorConfig {
5
5
  /**
@@ -2,8 +2,8 @@
2
2
  * @module track-changes/commands/acceptsuggestioncommand
3
3
  * @publicApi
4
4
  */
5
- import { Command, type Editor } from 'ckeditor5/src/core';
6
- import type Suggestion from '../suggestion';
5
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
6
+ import type Suggestion from '../suggestion.js';
7
7
  /**
8
8
  * A command that accepts the suggestion chain.
9
9
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a72=['refresh','canEditAt','get','plugins','model','execute','TrackChangesEditing','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','editor'];(function(_0x1f6658,_0x5a728b){const _0x3d5cc5=function(_0x288f63){while(--_0x288f63){_0x1f6658['push'](_0x1f6658['shift']());}};_0x3d5cc5(++_0x5a728b);}(_0x5a72,0xe8));const _0x3d5c=function(_0x1f6658,_0x5a728b){_0x1f6658=_0x1f6658-0x0;let _0x3d5cc5=_0x5a72[_0x1f6658];return _0x3d5cc5;};import{Command as _0x4fe269}from'ckeditor5/src/core';import{CKEditorError as _0x152ab0}from'ckeditor5/src/utils';export default class M extends _0x4fe269{constructor(_0x47cfeb,_0x238fb5){super(_0x47cfeb),this['_suggestions']=_0x238fb5,this[_0x3d5c('0x8')](),this[_0x3d5c('0x6')]=!0x1;}[_0x3d5c('0x8')](){this['isEnabled']=!0x0;}[_0x3d5c('0x3')](_0x1bd7ee){const _0xd537f3=this['_suggestions'][_0x3d5c('0x0')](_0x1bd7ee);if(!_0xd537f3)throw new _0x152ab0(_0x3d5c('0x5'),this);const _0x506dae=_0xd537f3['getRanges']();this[_0x3d5c('0x7')][_0x3d5c('0x2')][_0x3d5c('0x9')](_0x506dae)&&this[_0x3d5c('0x7')][_0x3d5c('0x1')][_0x3d5c('0x0')](_0x3d5c('0x4'))['acceptSuggestion'](_0xd537f3);}}
23
+ const _0x2d1f=['_isEnabledBasedOnSelection','getRanges','plugins','refresh','editor','_suggestions','model','acceptSuggestion','canEditAt','get'];(function(_0x5d9f3d,_0x2d1fe8){const _0x59645f=function(_0x53070d){while(--_0x53070d){_0x5d9f3d['push'](_0x5d9f3d['shift']());}};_0x59645f(++_0x2d1fe8);}(_0x2d1f,0x1ed));const _0x5964=function(_0x5d9f3d,_0x2d1fe8){_0x5d9f3d=_0x5d9f3d-0x0;let _0x59645f=_0x2d1f[_0x5d9f3d];return _0x59645f;};import{Command as _0x544031}from'ckeditor5/src/core.js';import{CKEditorError as _0x1069ac}from'ckeditor5/src/utils.js';export default class _ extends _0x544031{constructor(_0x368d37,_0x5883ba){super(_0x368d37),this[_0x5964('0x2')]=_0x5883ba,this[_0x5964('0x0')](),this[_0x5964('0x7')]=!0x1;}[_0x5964('0x0')](){this['isEnabled']=!0x0;}['execute'](_0x5f4a1b){const _0x32d9da=this['_suggestions'][_0x5964('0x6')](_0x5f4a1b);if(!_0x32d9da)throw new _0x1069ac('track-changes-accept-suggestion-not-found',this);const _0x565bc9=_0x32d9da[_0x5964('0x8')]();this[_0x5964('0x1')][_0x5964('0x3')][_0x5964('0x5')](_0x565bc9)&&this['editor'][_0x5964('0x9')][_0x5964('0x6')]('TrackChangesEditing')[_0x5964('0x4')](_0x32d9da);}}
@@ -2,8 +2,8 @@
2
2
  * @module track-changes/commands/discardsuggestioncommand
3
3
  * @publicApi
4
4
  */
5
- import { Command, type Editor } from 'ckeditor5/src/core';
6
- import type Suggestion from '../suggestion';
5
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
6
+ import type Suggestion from '../suggestion.js';
7
7
  /**
8
8
  * A command that discards the suggestion chain.
9
9
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159b=['_suggestions','_isEnabledBasedOnSelection','get','plugins','canEditAt','isEnabled','getRanges','discardSuggestion','editor','execute','model','track-changes-discard-suggestion-not-found','refresh'];(function(_0x3860ae,_0x159b05){const _0x1009d7=function(_0x14da0d){while(--_0x14da0d){_0x3860ae['push'](_0x3860ae['shift']());}};_0x1009d7(++_0x159b05);}(_0x159b,0x151));const _0x1009=function(_0x3860ae,_0x159b05){_0x3860ae=_0x3860ae-0x0;let _0x1009d7=_0x159b[_0x3860ae];return _0x1009d7;};import{Command as _0x20bd7b}from'ckeditor5/src/core';import{CKEditorError as _0xb86c8d}from'ckeditor5/src/utils';export default class $ extends _0x20bd7b{constructor(_0x3c3915,_0x4c3846){super(_0x3c3915),this[_0x1009('0x1')]=_0x4c3846,this[_0x1009('0x0')](),this[_0x1009('0x2')]=!0x1;}['refresh'](){this[_0x1009('0x6')]=!0x0;}[_0x1009('0xa')](_0x2a8bfe){const _0x31ac34=this[_0x1009('0x1')][_0x1009('0x3')](_0x2a8bfe);if(!_0x31ac34)throw new _0xb86c8d(_0x1009('0xc'),this);const _0x302cf1=_0x31ac34[_0x1009('0x7')]();this[_0x1009('0x9')][_0x1009('0xb')][_0x1009('0x5')](_0x302cf1)&&this[_0x1009('0x9')][_0x1009('0x4')][_0x1009('0x3')]('TrackChangesEditing')[_0x1009('0x8')](_0x31ac34);}}
23
+ const _0x2881=['track-changes-discard-suggestion-not-found','getRanges','editor','get','TrackChangesEditing','discardSuggestion','_isEnabledBasedOnSelection','execute','canEditAt','plugins','refresh','_suggestions','isEnabled'];(function(_0x408a46,_0x288195){const _0x3bef50=function(_0x42b075){while(--_0x42b075){_0x408a46['push'](_0x408a46['shift']());}};_0x3bef50(++_0x288195);}(_0x2881,0x173));const _0x3bef=function(_0x408a46,_0x288195){_0x408a46=_0x408a46-0x0;let _0x3bef50=_0x2881[_0x408a46];return _0x3bef50;};import{Command as _0x32e204}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d1ffd}from'ckeditor5/src/utils.js';export default class M extends _0x32e204{constructor(_0x4f7d60,_0x17d469){super(_0x4f7d60),this['_suggestions']=_0x17d469,this[_0x3bef('0x3')](),this[_0x3bef('0xc')]=!0x1;}[_0x3bef('0x3')](){this[_0x3bef('0x5')]=!0x0;}[_0x3bef('0x0')](_0x4fe0bb){const _0x5e3172=this[_0x3bef('0x4')][_0x3bef('0x9')](_0x4fe0bb);if(!_0x5e3172)throw new _0x3d1ffd(_0x3bef('0x6'),this);const _0x180d37=_0x5e3172[_0x3bef('0x7')]();this[_0x3bef('0x8')]['model'][_0x3bef('0x1')](_0x180d37)&&this['editor'][_0x3bef('0x2')][_0x3bef('0x9')](_0x3bef('0xa'))[_0x3bef('0xb')](_0x5e3172);}}
@@ -2,8 +2,8 @@
2
2
  * @module track-changes/commands/executeonallsuggestionscommand
3
3
  * @publicApi
4
4
  */
5
- import { Command, type Editor } from 'ckeditor5/src/core';
6
- import type Suggestion from '../suggestion';
5
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
6
+ import type Suggestion from '../suggestion.js';
7
7
  /**
8
8
  * A command that executes passed command (accept or discard suggestion command) at once for all suggestions in the document.
9
9
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45cf=['getRanges','values','_command','isInContent','execute','_suggestions','canEditAt','refresh','model','isEnabled','editor','some','from'];(function(_0x29fd82,_0x45cfda){const _0x4460c2=function(_0x34e6f5){while(--_0x34e6f5){_0x29fd82['push'](_0x29fd82['shift']());}};_0x4460c2(++_0x45cfda);}(_0x45cf,0x114));const _0x4460=function(_0x29fd82,_0x45cfda){_0x29fd82=_0x29fd82-0x0;let _0x4460c2=_0x45cf[_0x29fd82];return _0x4460c2;};import{Command as _0x5e7e3a}from'ckeditor5/src/core';import{sortSuggestions as _0xcd8421,executeCommandForSuggestions as _0x20e711}from'../utils/utils';export default class N extends _0x5e7e3a{constructor(_0x3605bf,_0x22c29c,_0x57986e){super(_0x3605bf),this[_0x4460('0xc')]=_0x22c29c,this[_0x4460('0x2')]=_0x57986e,this[_0x4460('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4460('0x4')](){const _0x32ade2=Array[_0x4460('0x9')](this[_0x4460('0x2')][_0x4460('0xb')]())[_0x4460('0x8')](_0x523859=>_0x523859[_0x4460('0x0')]);this[_0x4460('0x6')]=this[_0x4460('0xc')][_0x4460('0x6')]&&_0x32ade2;}[_0x4460('0x1')](){const _0x5f3cd7=_0xcd8421(Array[_0x4460('0x9')](this[_0x4460('0x2')][_0x4460('0xb')]()));for(const _0x58398c of _0x5f3cd7){const _0x483428=_0x58398c[_0x4460('0xa')]();if(!this[_0x4460('0x7')]['model'][_0x4460('0x3')](_0x483428))return;}_0x20e711(this['editor'][_0x4460('0x5')],this[_0x4460('0xc')],_0x5f3cd7);}}
23
+ const _0x50a7=['_isEnabledBasedOnSelection','model','getRanges','refresh','values','execute','isInContent','from','canEditAt','_command','editor','isEnabled','_suggestions'];(function(_0xda34e6,_0x50a725){const _0x2e6d1f=function(_0x2895d9){while(--_0x2895d9){_0xda34e6['push'](_0xda34e6['shift']());}};_0x2e6d1f(++_0x50a725);}(_0x50a7,0x9d));const _0x2e6d=function(_0xda34e6,_0x50a725){_0xda34e6=_0xda34e6-0x0;let _0x2e6d1f=_0x50a7[_0xda34e6];return _0x2e6d1f;};import{Command as _0x39dc94}from'ckeditor5/src/core.js';import{sortSuggestions as _0x5dc2d7,executeCommandForSuggestions as _0x355008}from'../utils/utils.js';export default class $ extends _0x39dc94{constructor(_0xd389a5,_0x214c09,_0x3e5a95){super(_0xd389a5),this['_command']=_0x214c09,this[_0x2e6d('0xb')]=_0x3e5a95,this[_0x2e6d('0x2')](),this[_0x2e6d('0xc')]=!0x1;}[_0x2e6d('0x2')](){const _0x1e3afa=Array['from'](this['_suggestions'][_0x2e6d('0x3')]())['some'](_0x1ec495=>_0x1ec495[_0x2e6d('0x5')]);this[_0x2e6d('0xa')]=this[_0x2e6d('0x8')]['isEnabled']&&_0x1e3afa;}[_0x2e6d('0x4')](){const _0x296225=_0x5dc2d7(Array[_0x2e6d('0x6')](this[_0x2e6d('0xb')]['values']()));for(const _0x4a91ba of _0x296225){const _0x2430c9=_0x4a91ba[_0x2e6d('0x1')]();if(!this[_0x2e6d('0x9')][_0x2e6d('0x0')][_0x2e6d('0x7')](_0x2430c9))return;}_0x355008(this[_0x2e6d('0x9')][_0x2e6d('0x0')],this[_0x2e6d('0x8')],_0x296225);}}
@@ -2,8 +2,8 @@
2
2
  * @module track-changes/commands/executeonselectedsuggestionscommand
3
3
  * @publicApi
4
4
  */
5
- import { Command, type Editor } from 'ckeditor5/src/core';
6
- import type Suggestion from '../suggestion';
5
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
6
+ import type Suggestion from '../suggestion.js';
7
7
  /**
8
8
  * A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
9
9
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2117=['document','editor','model','from','_suggestions','refresh','values','canEditAt','isEnabled','_isEnabledBasedOnSelection','execute','_selectedSuggestions','_command','selection'];(function(_0x179ccd,_0x2117e4){const _0xf276b9=function(_0x332608){while(--_0x332608){_0x179ccd['push'](_0x179ccd['shift']());}};_0xf276b9(++_0x2117e4);}(_0x2117,0xc7));const _0xf276=function(_0x179ccd,_0x2117e4){_0x179ccd=_0x179ccd-0x0;let _0xf276b9=_0x2117[_0x179ccd];return _0xf276b9;};import{Command as _0x430460}from'ckeditor5/src/core';import{sortSuggestions as _0xd1f290,getSelectedSuggestions as _0x3d8f41,executeCommandForSuggestions as _0x35d18d}from'../utils/utils';export default class R extends _0x430460{constructor(_0x3c579d,_0x246f8e,_0x3a51aa){super(_0x3c579d),this[_0xf276('0x9')]=_0x246f8e,this[_0xf276('0x1')]=_0x3a51aa,this[_0xf276('0x8')]=new Set(),this[_0xf276('0x2')](),this[_0xf276('0x6')]=!0x1;}['refresh'](){const _0x2be1c2=this[_0xf276('0xc')][_0xf276('0xd')][_0xf276('0xb')][_0xf276('0xa')],_0x2c804f=Array[_0xf276('0x0')](this[_0xf276('0x1')][_0xf276('0x3')]());this[_0xf276('0x8')]=_0x3d8f41(_0x2be1c2,_0x2c804f),this[_0xf276('0x5')]=this[_0xf276('0x9')]['isEnabled']&&!!this['_selectedSuggestions']['size'];}[_0xf276('0x7')](){const _0x1c9762=_0xd1f290(Array[_0xf276('0x0')](this[_0xf276('0x8')]));for(const _0x1c57a7 of _0x1c9762){const _0x1ce885=_0x1c57a7['getRanges']();if(!this[_0xf276('0xc')][_0xf276('0xd')][_0xf276('0x4')](_0x1ce885))return;}_0x35d18d(this[_0xf276('0xc')][_0xf276('0xd')],this[_0xf276('0x9')],_0x1c9762);}}
23
+ const _0x52eb=['from','values','_suggestions','refresh','execute','document','size','isEnabled','_command','model','_selectedSuggestions','_isEnabledBasedOnSelection','editor','selection'];(function(_0x46156c,_0x52eb27){const _0x137260=function(_0x441685){while(--_0x441685){_0x46156c['push'](_0x46156c['shift']());}};_0x137260(++_0x52eb27);}(_0x52eb,0x18a));const _0x1372=function(_0x46156c,_0x52eb27){_0x46156c=_0x46156c-0x0;let _0x137260=_0x52eb[_0x46156c];return _0x137260;};import{Command as _0x20dbbb}from'ckeditor5/src/core.js';import{sortSuggestions as _0x2aa441,getSelectedSuggestions as _0xc175a6,executeCommandForSuggestions as _0x4af119}from'../utils/utils.js';export default class N extends _0x20dbbb{constructor(_0x1fdc83,_0x379c10,_0x322f3d){super(_0x1fdc83),this['_command']=_0x379c10,this['_suggestions']=_0x322f3d,this['_selectedSuggestions']=new Set(),this[_0x1372('0x1')](),this[_0x1372('0x9')]=!0x1;}[_0x1372('0x1')](){const _0x433967=this[_0x1372('0xa')][_0x1372('0x7')][_0x1372('0x3')][_0x1372('0xb')],_0x1c563b=Array[_0x1372('0xc')](this[_0x1372('0x0')][_0x1372('0xd')]());this[_0x1372('0x8')]=_0xc175a6(_0x433967,_0x1c563b),this[_0x1372('0x5')]=this['_command'][_0x1372('0x5')]&&!!this[_0x1372('0x8')][_0x1372('0x4')];}[_0x1372('0x2')](){const _0x30b3c9=_0x2aa441(Array[_0x1372('0xc')](this[_0x1372('0x8')]));for(const _0x3c4e2e of _0x30b3c9){const _0x11cdb9=_0x3c4e2e['getRanges']();if(!this[_0x1372('0xa')]['model']['canEditAt'](_0x11cdb9))return;}_0x4af119(this['editor'][_0x1372('0x7')],this[_0x1372('0x6')],_0x30b3c9);}}
@@ -2,7 +2,7 @@
2
2
  * @module track-changes/commands/trackchangescommand
3
3
  * @publicApi
4
4
  */
5
- import { Command, type Editor } from 'ckeditor5/src/core';
5
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
6
6
  /**
7
7
  * Turns the track changes mode on and off.
8
8
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x552b=['forceDisabled','_isEnabledBasedOnSelection','has','_disableUnsupportedCommands','affectsData','_enabledCommands','editor','execute','value','TrackChangesCommand','_enableCommands','refresh','commands'];(function(_0x176d10,_0x552b32){const _0x2714c4=function(_0x13cee1){while(--_0x13cee1){_0x176d10['push'](_0x176d10['shift']());}};_0x2714c4(++_0x552b32);}(_0x552b,0xc6));const _0x2714=function(_0x176d10,_0x552b32){_0x176d10=_0x176d10-0x0;let _0x2714c4=_0x552b[_0x176d10];return _0x2714c4;};import{Command as _0x9d3534}from'ckeditor5/src/core';export default class _ extends _0x9d3534{constructor(_0x4e779b,_0x5649ae){super(_0x4e779b),this[_0x2714('0x2')]=_0x5649ae,this[_0x2714('0x5')]=!0x1,this[_0x2714('0x8')](),this[_0x2714('0xb')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x2714('0x4')](){this['value']=!this[_0x2714('0x5')],this[_0x2714('0x5')]?this[_0x2714('0x0')]():this[_0x2714('0x7')]();}[_0x2714('0x0')](){for(const _0x36ebf1 of this[_0x2714('0x3')][_0x2714('0x9')]['commands']())_0x36ebf1[_0x2714('0x1')]&&!this['_enabledCommands'][_0x2714('0xc')](_0x36ebf1)&&_0x36ebf1[_0x2714('0xa')](_0x2714('0x6'));}['_enableCommands'](){for(const _0x2686eb of this['editor'][_0x2714('0x9')][_0x2714('0x9')]())_0x2686eb[_0x2714('0x1')]&&!this['_enabledCommands'][_0x2714('0xc')](_0x2686eb)&&_0x2686eb['clearForceDisabled'](_0x2714('0x6'));}}
23
+ const _0x3534=['_enabledCommands','has','forceDisabled','editor','clearForceDisabled','_disableUnsupportedCommands','refresh','value','commands','_enableCommands','execute','affectsData','isEnabled'];(function(_0x3a5738,_0x35343c){const _0xda6493=function(_0x31db4e){while(--_0x31db4e){_0x3a5738['push'](_0x3a5738['shift']());}};_0xda6493(++_0x35343c);}(_0x3534,0x159));const _0xda64=function(_0x3a5738,_0x35343c){_0x3a5738=_0x3a5738-0x0;let _0xda6493=_0x3534[_0x3a5738];return _0xda6493;};import{Command as _0x4c90d1}from'ckeditor5/src/core.js';export default class B extends _0x4c90d1{constructor(_0x131866,_0x2d87ee){super(_0x131866),this[_0xda64('0x6')]=_0x2d87ee,this[_0xda64('0x0')]=!0x1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0xda64('0xc')](){this[_0xda64('0x5')]=!0x0;}[_0xda64('0x3')](){this[_0xda64('0x0')]=!this['value'],this[_0xda64('0x0')]?this[_0xda64('0xb')]():this['_enableCommands']();}[_0xda64('0xb')](){for(const _0x42311e of this[_0xda64('0x9')][_0xda64('0x1')][_0xda64('0x1')]())_0x42311e[_0xda64('0x4')]&&!this[_0xda64('0x6')][_0xda64('0x7')](_0x42311e)&&_0x42311e[_0xda64('0x8')]('TrackChangesCommand');}[_0xda64('0x2')](){for(const _0x46f5e7 of this[_0xda64('0x9')][_0xda64('0x1')][_0xda64('0x1')]())_0x46f5e7[_0xda64('0x4')]&&!this[_0xda64('0x6')][_0xda64('0x7')](_0x46f5e7)&&_0x46f5e7[_0xda64('0xa')]('TrackChangesCommand');}}
package/src/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export { default as TrackChanges, type SuggestionData } from './trackchanges';
2
- export { default as TrackChangesData } from './trackchangesdata';
3
- export { default as TrackChangesEditing } from './trackchangesediting';
4
- export type { SuggestionJSON } from './suggestion';
5
- export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
6
- export type { TrackChangesConfig } from './trackchangesconfig';
7
- export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
8
- export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
9
- export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
10
- export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
11
- export type { default as TrackChangesCommand } from './commands/trackchangescommand';
12
- import './augmentation';
1
+ export { default as TrackChanges, type SuggestionData } from './trackchanges.js';
2
+ export { default as TrackChangesData } from './trackchangesdata.js';
3
+ export { default as TrackChangesEditing } from './trackchangesediting.js';
4
+ export type { SuggestionJSON } from './suggestion.js';
5
+ export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview.js';
6
+ export type { TrackChangesConfig } from './trackchangesconfig.js';
7
+ export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand.js';
8
+ export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand.js';
9
+ export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand.js';
10
+ export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand.js';
11
+ export type { default as TrackChangesCommand } from './commands/trackchangescommand.js';
12
+ 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';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/alignment
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for alignment feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5298=['FORMAT_ALIGN_TO_CENTER','commandName','locale','commandParams','getAttribute','alignment','get','checkAttribute','selection','center','TrackChangesEditing','justify','document','FORMAT_ALIGN_TO_LEFT','right','left','value','format','afterInit','model','filter','contentLanguageDirection','_descriptionFactory','enableCommand','editor','getSelectedBlocks','from','registerDescriptionCallback','plugins','markBlockFormat','change','ltr','FORMAT_JUSTIFY_TEXT','AlignmentEditing'];(function(_0xa8b3b8,_0x5298da){const _0x370ff9=function(_0x535046){while(--_0x535046){_0xa8b3b8['push'](_0xa8b3b8['shift']());}};_0x370ff9(++_0x5298da);}(_0x5298,0x90));const _0x370f=function(_0xa8b3b8,_0x5298da){_0xa8b3b8=_0xa8b3b8-0x0;let _0x370ff9=_0x5298[_0xa8b3b8];return _0x370ff9;};import{Plugin as _0xeaebba}from'ckeditor5/src/core';import{getTranslation as _0x381ad6}from'../utils/common-translations';export default class x extends _0xeaebba{[_0x370f('0xa')](){const _0x4dcaca=this['editor'],_0x571b24=_0x4dcaca[_0x370f('0x1c')];if(!_0x4dcaca['plugins']['has'](_0x370f('0x19')))return;const _0x128b63=_0x4dcaca[_0x370f('0x14')][_0x370f('0x20')](_0x370f('0x2'));_0x128b63[_0x370f('0xf')]('alignment',(_0x3b293d,_0x500941={})=>{let _0x32a341=_0x500941[_0x370f('0x8')];_0x500941[_0x370f('0x8')]||(_0x32a341=_0x370f('0x17')===_0x4dcaca[_0x370f('0x1c')][_0x370f('0xd')]?'left':_0x370f('0x6'));const _0x9ca4f9=Array[_0x370f('0x12')](this[_0x370f('0x10')]['model'][_0x370f('0x4')][_0x370f('0x0')][_0x370f('0x11')]())[_0x370f('0xc')](_0x5492ff=>function(_0x413dfe,_0x1af3ec,_0x264474){const _0x465287=_0x413dfe[_0x370f('0x1e')]('alignment')||null;return _0x1af3ec[_0x370f('0x21')](_0x413dfe,'alignment')&&_0x264474!=_0x465287;}(_0x5492ff,this['editor'][_0x370f('0xb')]['schema'],_0x32a341));_0x4dcaca[_0x370f('0xb')][_0x370f('0x16')](()=>{for(const _0xbbaa24 of _0x9ca4f9)_0x128b63[_0x370f('0x15')](_0xbbaa24,{'commandName':_0x370f('0x1f'),'commandParams':[{'value':_0x32a341}]});});}),_0x128b63[_0x370f('0xe')][_0x370f('0x13')](_0x5e7c93=>{const {data:_0x38f62d}=_0x5e7c93;if(_0x38f62d&&_0x370f('0x1f')==_0x38f62d[_0x370f('0x1b')]){const _0x4b6c5e=_0x38f62d[_0x370f('0x1d')][0x0][_0x370f('0x8')];return{'type':_0x370f('0x9'),'content':_0x381ad6(_0x571b24,'*Format:*\x20%0',function(_0x3c9e83){switch(_0x3c9e83){case _0x370f('0x7'):return _0x381ad6(_0x571b24,_0x370f('0x5'));case _0x370f('0x6'):return _0x381ad6(_0x571b24,'FORMAT_ALIGN_TO_RIGHT');case _0x370f('0x1'):return _0x381ad6(_0x571b24,_0x370f('0x1a'));case _0x370f('0x3'):return _0x381ad6(_0x571b24,_0x370f('0x18'));}}(_0x4b6c5e))};}});}}
23
+ const _0x4bfc=['FORMAT_JUSTIFY_TEXT','afterInit','AlignmentEditing','plugins','FORMAT_ALIGN_TO_CENTER','_descriptionFactory','checkAttribute','value','editor','change','schema','FORMAT_ALIGN_TO_LEFT','getSelectedBlocks','ltr','contentLanguageDirection','right','TrackChangesEditing','alignment','commandName','left','from','format','document','enableCommand','markBlockFormat','model'];(function(_0x3be2f1,_0x4bfc93){const _0x4d6de5=function(_0x38cd2f){while(--_0x38cd2f){_0x3be2f1['push'](_0x3be2f1['shift']());}};_0x4d6de5(++_0x4bfc93);}(_0x4bfc,0x15f));const _0x4d6d=function(_0x3be2f1,_0x4bfc93){_0x3be2f1=_0x3be2f1-0x0;let _0x4d6de5=_0x4bfc[_0x3be2f1];return _0x4d6de5;};import{Plugin as _0x14afe4}from'ckeditor5/src/core.js';import{getTranslation as _0x4e33de}from'../utils/common-translations.js';export default class R extends _0x14afe4{[_0x4d6d('0xe')](){const _0x527c39=this[_0x4d6d('0x15')],_0x52fc5c=_0x527c39['locale'];if(!_0x527c39[_0x4d6d('0x10')]['has'](_0x4d6d('0xf')))return;const _0x1cf1da=_0x527c39[_0x4d6d('0x10')]['get'](_0x4d6d('0x3'));_0x1cf1da[_0x4d6d('0xa')](_0x4d6d('0x4'),(_0x347571,_0x5ac0a4={})=>{let _0x4b5887=_0x5ac0a4[_0x4d6d('0x14')];_0x5ac0a4['value']||(_0x4b5887=_0x4d6d('0x0')===_0x527c39['locale'][_0x4d6d('0x1')]?_0x4d6d('0x6'):_0x4d6d('0x2'));const _0x1128b1=Array[_0x4d6d('0x7')](this[_0x4d6d('0x15')]['model'][_0x4d6d('0x9')]['selection'][_0x4d6d('0x19')]())['filter'](_0x115c86=>function(_0x1e6d2c,_0x4e4e09,_0x5af569){const _0x546a25=_0x1e6d2c['getAttribute'](_0x4d6d('0x4'))||null;return _0x4e4e09[_0x4d6d('0x13')](_0x1e6d2c,_0x4d6d('0x4'))&&_0x5af569!=_0x546a25;}(_0x115c86,this[_0x4d6d('0x15')][_0x4d6d('0xc')][_0x4d6d('0x17')],_0x4b5887));_0x527c39[_0x4d6d('0xc')][_0x4d6d('0x16')](()=>{for(const _0x5a0818 of _0x1128b1)_0x1cf1da[_0x4d6d('0xb')](_0x5a0818,{'commandName':_0x4d6d('0x4'),'commandParams':[{'value':_0x4b5887}]});});}),_0x1cf1da[_0x4d6d('0x12')]['registerDescriptionCallback'](_0x516266=>{const {data:_0x9516b}=_0x516266;if(_0x9516b&&'alignment'==_0x9516b[_0x4d6d('0x5')]){const _0xaa9d1c=_0x9516b['commandParams'][0x0][_0x4d6d('0x14')];return{'type':_0x4d6d('0x8'),'content':_0x4e33de(_0x52fc5c,'*Format:*\x20%0',function(_0x1c2cf5){switch(_0x1c2cf5){case _0x4d6d('0x6'):return _0x4e33de(_0x52fc5c,_0x4d6d('0x18'));case _0x4d6d('0x2'):return _0x4e33de(_0x52fc5c,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x4e33de(_0x52fc5c,_0x4d6d('0x11'));case'justify':return _0x4e33de(_0x52fc5c,_0x4d6d('0xd'));}}(_0xaa9d1c))};}});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/basicstyles
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for basic styles features.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5893=['StrikethroughEditing','get','superscript','plugins','afterInit','FORMAT_STRIKETHROUGH','FORMAT_UNDERLINE','ItalicEditing','UnderlineEditing','strikethrough','FORMAT_SUPERSCRIPT','CodeEditing','editor','bold','subscript','FORMAT_CODE','value','_descriptionFactory','*Format:*\x20%0','selection','FORMAT_BOLD','SubscriptEditing','code','toLowerCase','TrackChangesEditing','forceValue','FORMAT_SUBSCRIPT','isCollapsed','underline','model','FORMAT_ITALIC','from','SuperscriptEditing','change','slice','markInlineFormat','commandName','BoldEditing','commandParams'];(function(_0x12ee4f,_0x5893d1){const _0x504bf2=function(_0x385112){while(--_0x385112){_0x12ee4f['push'](_0x12ee4f['shift']());}};_0x504bf2(++_0x5893d1);}(_0x5893,0xb3));const _0x504b=function(_0x12ee4f,_0x5893d1){_0x12ee4f=_0x12ee4f-0x0;let _0x504bf2=_0x5893[_0x12ee4f];return _0x504bf2;};import{Plugin as _0x4e8afd}from'ckeditor5/src/core';import{getTranslation as _0x42c6a9}from'../utils/common-translations';import{getRangesWithAttribute as _0x529f82}from'./utils';const Kt=[_0x504b('0xe'),_0x504b('0x17'),_0x504b('0x18'),_0x504b('0x1b'),_0x504b('0x10'),_0x504b('0x25'),_0x504b('0x9')];export default class U extends _0x4e8afd{[_0x504b('0x14')](){const _0x2601cc=this[_0x504b('0x1c')],_0x3d1efc=_0x2601cc[_0x504b('0x6')],_0x393b69=_0x2601cc[_0x504b('0x13')][_0x504b('0x11')](_0x504b('0x1')),_0x43b6e7=_0x2601cc['locale'];for(const _0x3c9587 of Kt){if(!_0x2601cc[_0x504b('0x13')]['has'](_0x3c9587))continue;const _0x224a51=_0x3c9587[_0x504b('0xb')](0x0,-0x7)[_0x504b('0x0')](),_0x348e73=_0x2601cc['commands'][_0x504b('0x11')](_0x224a51);_0x393b69['enableCommand'](_0x224a51,(_0x1e66a0,_0x2b2115={})=>{const _0x126ede=_0x3d1efc['document'][_0x504b('0x23')];if(_0x126ede[_0x504b('0x4')])return void _0x1e66a0(_0x2b2115);const _0x219767=void 0x0!==_0x2b2115[_0x504b('0x2')]?_0x2b2115['forceValue']:!_0x348e73[_0x504b('0x20')];_0x3d1efc[_0x504b('0xa')](()=>{const _0x520217=Array[_0x504b('0x8')](_0x126ede['getRanges']());for(const _0x37018e of _0x520217){const _0xda6521=_0x219767?[_0x37018e]:_0x529f82(_0x224a51,_0x37018e,_0x3d1efc);for(const _0x5e0da6 of _0xda6521)_0x393b69[_0x504b('0xc')](_0x5e0da6,{'commandName':_0x224a51,'commandParams':[{'forceValue':_0x219767}]});}});});}function _0x34c120(_0x55ad56,_0x43bcf6){_0x393b69[_0x504b('0x21')]['registerDescriptionCallback'](_0xdf8edc=>{const {data:_0x598485}=_0xdf8edc;if(_0x598485&&_0x598485[_0x504b('0xd')]===_0x55ad56)return _0x598485[_0x504b('0xf')][0x0][_0x504b('0x2')]?{'type':'format','content':_0x42c6a9(_0x43b6e7,_0x504b('0x22'),_0x43bcf6)}:{'type':'format','content':_0x42c6a9(_0x43b6e7,'*Remove\x20format:*\x20%0',_0x43bcf6)};});}_0x34c120(_0x504b('0x1d'),_0x42c6a9(_0x43b6e7,_0x504b('0x24'))),_0x34c120('italic',_0x42c6a9(_0x43b6e7,_0x504b('0x7'))),_0x34c120(_0x504b('0x5'),_0x42c6a9(_0x43b6e7,_0x504b('0x16'))),_0x34c120(_0x504b('0x26'),_0x42c6a9(_0x43b6e7,_0x504b('0x1f'))),_0x34c120(_0x504b('0x19'),_0x42c6a9(_0x43b6e7,_0x504b('0x15'))),_0x34c120(_0x504b('0x1e'),_0x42c6a9(_0x43b6e7,_0x504b('0x3'))),_0x34c120(_0x504b('0x12'),_0x42c6a9(_0x43b6e7,_0x504b('0x1a')));}}
23
+ const _0x35c6=['FORMAT_STRIKETHROUGH','change','StrikethroughEditing','SubscriptEditing','FORMAT_SUPERSCRIPT','TrackChangesEditing','format','*Remove\x20format:*\x20%0','value','get','has','markInlineFormat','SuperscriptEditing','registerDescriptionCallback','FORMAT_BOLD','UnderlineEditing','subscript','code','BoldEditing','editor','model','locale','forceValue','enableCommand','FORMAT_CODE','selection','afterInit','_descriptionFactory','isCollapsed','getRanges','superscript','strikethrough','document','from','plugins','CodeEditing'];(function(_0xadc863,_0x35c65d){const _0x54f0f7=function(_0x53aad8){while(--_0x53aad8){_0xadc863['push'](_0xadc863['shift']());}};_0x54f0f7(++_0x35c65d);}(_0x35c6,0x91));const _0x54f0=function(_0xadc863,_0x35c65d){_0xadc863=_0xadc863-0x0;let _0x54f0f7=_0x35c6[_0xadc863];return _0x54f0f7;};import{Plugin as _0x52004b}from'ckeditor5/src/core.js';import{getTranslation as _0x15c381}from'../utils/common-translations.js';import{getRangesWithAttribute as _0x1c159d}from'./utils.js';const Kt=[_0x54f0('0x11'),'ItalicEditing',_0x54f0('0xe'),_0x54f0('0x22'),_0x54f0('0x1'),_0x54f0('0x2'),_0x54f0('0xb')];export default class x extends _0x52004b{[_0x54f0('0x19')](){const _0x3859bd=this[_0x54f0('0x12')],_0x4a22d1=_0x3859bd[_0x54f0('0x13')],_0x47e071=_0x3859bd[_0x54f0('0x21')]['get'](_0x54f0('0x4')),_0x37fc00=_0x3859bd[_0x54f0('0x14')];for(const _0x5c6226 of Kt){if(!_0x3859bd['plugins'][_0x54f0('0x9')](_0x5c6226))continue;const _0xbdb031=_0x5c6226['slice'](0x0,-0x7)['toLowerCase'](),_0x386f80=_0x3859bd['commands'][_0x54f0('0x8')](_0xbdb031);_0x47e071[_0x54f0('0x16')](_0xbdb031,(_0x51dd2a,_0x39f482={})=>{const _0x15c1c9=_0x4a22d1[_0x54f0('0x1f')][_0x54f0('0x18')];if(_0x15c1c9[_0x54f0('0x1b')])return void _0x51dd2a(_0x39f482);const _0x191c62=void 0x0!==_0x39f482[_0x54f0('0x15')]?_0x39f482[_0x54f0('0x15')]:!_0x386f80[_0x54f0('0x7')];_0x4a22d1[_0x54f0('0x0')](()=>{const _0x14f0c6=Array[_0x54f0('0x20')](_0x15c1c9[_0x54f0('0x1c')]());for(const _0x561f07 of _0x14f0c6){const _0x446233=_0x191c62?[_0x561f07]:_0x1c159d(_0xbdb031,_0x561f07,_0x4a22d1);for(const _0x193a9e of _0x446233)_0x47e071[_0x54f0('0xa')](_0x193a9e,{'commandName':_0xbdb031,'commandParams':[{'forceValue':_0x191c62}]});}});});}function _0x14b768(_0x707505,_0x2fed4f){_0x47e071[_0x54f0('0x1a')][_0x54f0('0xc')](_0x12c5b6=>{const {data:_0x1844f3}=_0x12c5b6;if(_0x1844f3&&_0x1844f3['commandName']===_0x707505)return _0x1844f3['commandParams'][0x0][_0x54f0('0x15')]?{'type':_0x54f0('0x5'),'content':_0x15c381(_0x37fc00,'*Format:*\x20%0',_0x2fed4f)}:{'type':_0x54f0('0x5'),'content':_0x15c381(_0x37fc00,_0x54f0('0x6'),_0x2fed4f)};});}_0x14b768('bold',_0x15c381(_0x37fc00,_0x54f0('0xd'))),_0x14b768('italic',_0x15c381(_0x37fc00,'FORMAT_ITALIC')),_0x14b768('underline',_0x15c381(_0x37fc00,'FORMAT_UNDERLINE')),_0x14b768(_0x54f0('0x10'),_0x15c381(_0x37fc00,_0x54f0('0x17'))),_0x14b768(_0x54f0('0x1e'),_0x15c381(_0x37fc00,_0x54f0('0x23'))),_0x14b768(_0x54f0('0xf'),_0x15c381(_0x37fc00,'FORMAT_SUBSCRIPT')),_0x14b768(_0x54f0('0x1d'),_0x15c381(_0x37fc00,_0x54f0('0x3')));}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/blockquote
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for block quote feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x168e=['registerDescriptionCallback','commandName','model','commands','afterInit','value','BlockQuoteEditing','get','ELEMENT_BLOCK_QUOTE','TrackChangesEditing','format','$root','name','editor','*Remove\x20format:*\x20%0','commandParams','plugins','enableCommand','locale','_descriptionFactory','getSelectedBlocks','markBlockFormat','from','checkChild','*Format:*\x20%0','blockQuote','schema','forceValue','filter'];(function(_0x356ee3,_0x168e11){const _0x5682d5=function(_0x22d097){while(--_0x22d097){_0x356ee3['push'](_0x356ee3['shift']());}};_0x5682d5(++_0x168e11);}(_0x168e,0x144));const _0x5682=function(_0x356ee3,_0x168e11){_0x356ee3=_0x356ee3-0x0;let _0x5682d5=_0x168e[_0x356ee3];return _0x5682d5;};import{Plugin as _0x22d62f}from'ckeditor5/src/core';import{getTranslation as _0x197ef4}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x46d2e3}from'../utils/utils';export default class j extends _0x22d62f{[_0x5682('0x1c')](){const _0x5f2ad1=this['editor'],_0x313504=_0x5f2ad1[_0x5682('0xd')];if(!_0x5f2ad1[_0x5682('0xb')]['has'](_0x5682('0x1')))return;const _0x36ad0e=_0x5f2ad1[_0x5682('0xb')][_0x5682('0x2')](_0x5682('0x4')),_0x338b78=this[_0x5682('0x8')][_0x5682('0x1b')][_0x5682('0x2')](_0x5682('0x14'));_0x36ad0e[_0x5682('0xc')](_0x5682('0x14'),(_0x41333d,_0x103e5e={})=>{const _0x1e4294=this[_0x5682('0x8')][_0x5682('0x1a')]['document']['selection'],_0x5bb62c=_0x103e5e&&void 0x0!==_0x103e5e['forceValue']?_0x103e5e[_0x5682('0x16')]:!_0x338b78[_0x5682('0x0')];let _0x229d17=[];if(_0x5bb62c){const _0x453ff7=Array[_0x5682('0x11')](_0x1e4294[_0x5682('0xf')]())[_0x5682('0x17')](_0x326f6f=>Xt(_0x326f6f)||function(_0x13ba66,_0x53e122){const _0x32b496=_0x53e122['checkChild'](_0x13ba66['parent'],_0x5682('0x14')),_0x3423db=_0x53e122[_0x5682('0x12')]([_0x5682('0x6'),'blockQuote'],_0x13ba66);return _0x32b496&&_0x3423db;}(_0x326f6f,this[_0x5682('0x8')][_0x5682('0x1a')][_0x5682('0x15')]));_0x229d17=_0x46d2e3(_0x453ff7,_0x5f2ad1[_0x5682('0x1a')]);}else{const _0xe07786=Array[_0x5682('0x11')](_0x1e4294['getSelectedBlocks']())['filter'](_0x45925b=>Xt(_0x45925b));_0x229d17=_0x46d2e3(_0xe07786,_0x5f2ad1[_0x5682('0x1a')]);}_0x5f2ad1['model']['change'](()=>{for(const _0x2dd417 of _0x229d17)_0x36ad0e[_0x5682('0x10')](_0x2dd417,{'commandName':_0x5682('0x14'),'commandParams':[{'forceValue':_0x5bb62c}]});});}),_0x36ad0e[_0x5682('0xe')][_0x5682('0x18')](_0x7d9089=>{const {data:_0x53df40}=_0x7d9089;if(_0x53df40&&_0x5682('0x14')==_0x53df40[_0x5682('0x19')]){const _0x15a2a3=_0x197ef4(_0x313504,_0x5682('0x3'));return _0x53df40[_0x5682('0xa')][0x0][_0x5682('0x16')]?{'type':_0x5682('0x5'),'content':_0x197ef4(_0x313504,_0x5682('0x13'),_0x15a2a3)}:{'type':_0x5682('0x5'),'content':_0x197ef4(_0x313504,_0x5682('0x9'),_0x15a2a3)};}});}}function Xt(_0x4f94e5){return'blockQuote'==_0x4f94e5['parent'][_0x5682('0x7')];}
23
+ const _0x4620=['parent','forceValue','locale','format','enableCommand','_descriptionFactory','filter','commandName','blockQuote','afterInit','commandParams','getSelectedBlocks','registerDescriptionCallback','schema','editor','markBlockFormat','document','plugins','ELEMENT_BLOCK_QUOTE','*Remove\x20format:*\x20%0','*Format:*\x20%0','BlockQuoteEditing','selection','model','from','get','$root'];(function(_0x4e3a5a,_0x4620e1){const _0x102148=function(_0x12e3ed){while(--_0x12e3ed){_0x4e3a5a['push'](_0x4e3a5a['shift']());}};_0x102148(++_0x4620e1);}(_0x4620,0x1ac));const _0x1021=function(_0x4e3a5a,_0x4620e1){_0x4e3a5a=_0x4e3a5a-0x0;let _0x102148=_0x4620[_0x4e3a5a];return _0x102148;};import{Plugin as _0x3cade1}from'ckeditor5/src/core.js';import{getTranslation as _0x5d33ab}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x4eefb2}from'../utils/utils.js';export default class U extends _0x3cade1{[_0x1021('0xd')](){const _0x4c96e2=this['editor'],_0x158b3a=_0x4c96e2[_0x1021('0x6')];if(!_0x4c96e2[_0x1021('0x15')]['has'](_0x1021('0x19')))return;const _0x1b6e97=_0x4c96e2['plugins'][_0x1021('0x2')]('TrackChangesEditing'),_0x526931=this[_0x1021('0x12')]['commands'][_0x1021('0x2')]('blockQuote');_0x1b6e97[_0x1021('0x8')]('blockQuote',(_0x45b2f6,_0x30797c={})=>{const _0x20c658=this['editor'][_0x1021('0x0')][_0x1021('0x14')][_0x1021('0x1a')],_0x1ee3d5=_0x30797c&&void 0x0!==_0x30797c[_0x1021('0x5')]?_0x30797c[_0x1021('0x5')]:!_0x526931['value'];let _0x4e5111=[];if(_0x1ee3d5){const _0x91387d=Array[_0x1021('0x1')](_0x20c658[_0x1021('0xf')]())[_0x1021('0xa')](_0x4d3bb8=>Xt(_0x4d3bb8)||function(_0x4f69d7,_0x572500){const _0x59cf25=_0x572500['checkChild'](_0x4f69d7[_0x1021('0x4')],_0x1021('0xc')),_0x28a26c=_0x572500['checkChild']([_0x1021('0x3'),_0x1021('0xc')],_0x4f69d7);return _0x59cf25&&_0x28a26c;}(_0x4d3bb8,this['editor']['model'][_0x1021('0x11')]));_0x4e5111=_0x4eefb2(_0x91387d,_0x4c96e2[_0x1021('0x0')]);}else{const _0x4f48a7=Array[_0x1021('0x1')](_0x20c658[_0x1021('0xf')]())['filter'](_0x277eb2=>Xt(_0x277eb2));_0x4e5111=_0x4eefb2(_0x4f48a7,_0x4c96e2[_0x1021('0x0')]);}_0x4c96e2[_0x1021('0x0')]['change'](()=>{for(const _0x2a60f6 of _0x4e5111)_0x1b6e97[_0x1021('0x13')](_0x2a60f6,{'commandName':_0x1021('0xc'),'commandParams':[{'forceValue':_0x1ee3d5}]});});}),_0x1b6e97[_0x1021('0x9')][_0x1021('0x10')](_0x2fdb25=>{const {data:_0x38a9c6}=_0x2fdb25;if(_0x38a9c6&&_0x1021('0xc')==_0x38a9c6[_0x1021('0xb')]){const _0x1963e5=_0x5d33ab(_0x158b3a,_0x1021('0x16'));return _0x38a9c6[_0x1021('0xe')][0x0]['forceValue']?{'type':_0x1021('0x7'),'content':_0x5d33ab(_0x158b3a,_0x1021('0x18'),_0x1963e5)}:{'type':'format','content':_0x5d33ab(_0x158b3a,_0x1021('0x17'),_0x1963e5)};}});}}function Xt(_0x2a0df9){return _0x1021('0xc')==_0x2a0df9['parent']['name'];}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/ckbox
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for the CKBox feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa112=['commands','plugins','ckbox','TrackChangesEditing','enableCommand','get','editor'];(function(_0x47f814,_0xa11263){const _0x1d1948=function(_0x57adba){while(--_0x57adba){_0x47f814['push'](_0x47f814['shift']());}};_0x1d1948(++_0xa11263);}(_0xa112,0x192));const _0x1d19=function(_0x47f814,_0xa11263){_0x47f814=_0x47f814-0x0;let _0x1d1948=_0xa112[_0x47f814];return _0x1d1948;};import{Plugin as _0x405271}from'ckeditor5/src/core';export default class E extends _0x405271{['afterInit'](){const _0x1847ca=this[_0x1d19('0x3')];_0x1847ca[_0x1d19('0x4')][_0x1d19('0x2')](_0x1d19('0x6'))&&_0x1847ca[_0x1d19('0x5')][_0x1d19('0x2')](_0x1d19('0x0'))[_0x1d19('0x1')]('ckbox');}}
23
+ const _0x11a8=['afterInit','ckbox','get','TrackChangesEditing','plugins','commands'];(function(_0x155cdb,_0x11a863){const _0x268cdc=function(_0x51ffa8){while(--_0x51ffa8){_0x155cdb['push'](_0x155cdb['shift']());}};_0x268cdc(++_0x11a863);}(_0x11a8,0xbd));const _0x268c=function(_0x155cdb,_0x11a863){_0x155cdb=_0x155cdb-0x0;let _0x268cdc=_0x11a8[_0x155cdb];return _0x268cdc;};import{Plugin as _0x3eec97}from'ckeditor5/src/core.js';export default class E extends _0x3eec97{[_0x268c('0x3')](){const _0x3c7e71=this['editor'];_0x3c7e71[_0x268c('0x2')][_0x268c('0x5')](_0x268c('0x4'))&&_0x3c7e71[_0x268c('0x1')][_0x268c('0x5')](_0x268c('0x0'))['enableCommand'](_0x268c('0x4'));}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/codeblock
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for code block feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x588b=['*Format:*\x20%0','checkChild','TrackChangesEditing','_descriptionFactory','label','commandParams','*Remove\x20format:*\x20%0','codeBlock','config','document','plugins','enableCommand','registerDescriptionCallback','indentCodeBlock','has','outdentCodeBlock','format','CodeBlock','from','filter','commandName','formatBlock','commands','locale','language','selection','registerElementLabel','blockName','ELEMENT_CODE_BLOCK','forceValue','afterInit','get','markBlockFormat','model','getSelectedBlocks','rootElement','isLimit','value','editor','name'];(function(_0x1333b8,_0x588b4a){const _0x22643d=function(_0x59b7a0){while(--_0x59b7a0){_0x1333b8['push'](_0x1333b8['shift']());}};_0x22643d(++_0x588b4a);}(_0x588b,0xb4));const _0x2264=function(_0x1333b8,_0x588b4a){_0x1333b8=_0x1333b8-0x0;let _0x22643d=_0x588b[_0x1333b8];return _0x22643d;};import{Plugin as _0x33ed4c}from'ckeditor5/src/core';import{getTranslation as _0x5b7869}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5678d7}from'../utils/utils';export default class O extends _0x33ed4c{[_0x2264('0xa')](){const _0x48fa2e=this[_0x2264('0x12')];if(!_0x48fa2e[_0x2264('0x1e')][_0x2264('0x22')](_0x2264('0x25')))return;const _0x3e6cb4=_0x48fa2e['plugins'][_0x2264('0xb')](_0x2264('0x16')),_0x5a1777=_0x48fa2e[_0x2264('0x3')],_0x2797b2=_0x48fa2e[_0x2264('0x1c')]['get']('codeBlock')['languages'],_0x1b6ec2=_0x48fa2e[_0x2264('0x2')]['get'](_0x2264('0x1b'));_0x3e6cb4[_0x2264('0x1f')](_0x2264('0x21')),_0x3e6cb4['enableCommand'](_0x2264('0x23')),_0x3e6cb4[_0x2264('0x1f')](_0x2264('0x1b'),(_0x33184d,_0x5a4bfa={})=>{const _0x581f0d=_0x48fa2e[_0x2264('0xd')],_0x596f82=_0x48fa2e['model'][_0x2264('0x1d')][_0x2264('0x5')],_0xc6dbb9=_0x5a4bfa&&void 0x0!==_0x5a4bfa[_0x2264('0x9')]?_0x5a4bfa[_0x2264('0x9')]:!_0x1b6ec2[_0x2264('0x11')];let _0x297170;_0x5a4bfa[_0x2264('0x4')]||(_0x5a4bfa[_0x2264('0x4')]=_0x2797b2[0x0][_0x2264('0x4')]),_0x297170=_0xc6dbb9?Array['from'](_0x596f82['getSelectedBlocks']())['filter'](_0x14f199=>oo(_0x14f199)||function(_0x19eb63,_0x3a2fac){if(_0x19eb63['is'](_0x2264('0xf'))||_0x3a2fac[_0x2264('0x10')](_0x19eb63))return!0x1;return _0x3a2fac[_0x2264('0x15')](_0x19eb63['parent'],'codeBlock');}(_0x14f199,_0x581f0d['schema'])):Array[_0x2264('0x26')](_0x596f82[_0x2264('0xe')]())[_0x2264('0x27')](_0x2741f6=>oo(_0x2741f6));const _0x452ae0=_0x5678d7(_0x297170,_0x581f0d);_0x581f0d['change'](()=>{for(const _0x49d58e of _0x452ae0)_0x3e6cb4[_0x2264('0xc')](_0x49d58e,{'commandName':_0x2264('0x1b'),'commandParams':[{..._0x5a4bfa,'forceValue':_0xc6dbb9}],'formatGroupId':_0x2264('0x7')});});}),(_0x3e6cb4['_descriptionFactory'][_0x2264('0x6')](_0x2264('0x1b'),_0x1235c1=>_0x5b7869(_0x5a1777,'ELEMENT_CODE_BLOCK',_0x1235c1)),_0x3e6cb4[_0x2264('0x17')][_0x2264('0x20')](_0x355840=>{const _0x44d643=_0x5a1777['t'],{type:_0x8d1605,data:_0x5dc0f0}=_0x355840;if(_0x2264('0x1')==_0x8d1605&&_0x5dc0f0&&_0x2264('0x1b')==_0x5dc0f0[_0x2264('0x0')]){const _0x324ec2=_0x5dc0f0['commandParams'][0x0][_0x2264('0x4')],_0x572c91=_0x44d643(_0x2797b2['find'](_0x580eeb=>_0x580eeb['language']===_0x324ec2)[_0x2264('0x18')]);return _0x5dc0f0[_0x2264('0x19')][0x0][_0x2264('0x9')]?{'type':'format','content':_0x5b7869(_0x5a1777,_0x2264('0x14'),_0x5b7869(_0x5a1777,_0x2264('0x8'),0x1)+'\x20('+_0x572c91+')')}:{'type':_0x2264('0x24'),'content':_0x5b7869(_0x5a1777,_0x2264('0x1a'),_0x5b7869(_0x5a1777,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x33cd0f){return'codeBlock'==_0x33cd0f[_0x2264('0x13')];}
23
+ const _0x190a=['forceValue','format','checkChild','enableCommand','afterInit','*Format:*\x20%0','model','selection','getSelectedBlocks','from','plugins','commandParams','CodeBlock','config','markBlockFormat','value','formatBlock','get','label','language','document','commandName','commands','filter','codeBlock','has','isLimit','*Remove\x20format:*\x20%0','parent','_descriptionFactory','locale','schema','outdentCodeBlock','rootElement','blockName','editor','find','languages','change','ELEMENT_CODE_BLOCK'];(function(_0x3a2164,_0x190a03){const _0x24d8ee=function(_0x56ee6d){while(--_0x56ee6d){_0x3a2164['push'](_0x3a2164['shift']());}};_0x24d8ee(++_0x190a03);}(_0x190a,0x158));const _0x24d8=function(_0x3a2164,_0x190a03){_0x3a2164=_0x3a2164-0x0;let _0x24d8ee=_0x190a[_0x3a2164];return _0x24d8ee;};import{Plugin as _0x5224b9}from'ckeditor5/src/core.js';import{getTranslation as _0x106a58}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x3449b3}from'../utils/utils.js';export default class O extends _0x5224b9{[_0x24d8('0x14')](){const _0x320cf9=this[_0x24d8('0xb')];if(!_0x320cf9['plugins'][_0x24d8('0x1')](_0x24d8('0x1c')))return;const _0x839c5c=_0x320cf9[_0x24d8('0x1a')][_0x24d8('0x21')]('TrackChangesEditing'),_0x57bfee=_0x320cf9[_0x24d8('0x6')],_0x475971=_0x320cf9[_0x24d8('0x1d')][_0x24d8('0x21')](_0x24d8('0x0'))[_0x24d8('0xd')],_0x36c28b=_0x320cf9[_0x24d8('0x26')][_0x24d8('0x21')](_0x24d8('0x0'));_0x839c5c['enableCommand']('indentCodeBlock'),_0x839c5c[_0x24d8('0x13')](_0x24d8('0x8')),_0x839c5c[_0x24d8('0x13')](_0x24d8('0x0'),(_0x30994a,_0xf0343b={})=>{const _0x528972=_0x320cf9['model'],_0x54b8e5=_0x320cf9[_0x24d8('0x16')][_0x24d8('0x24')][_0x24d8('0x17')],_0x4666f5=_0xf0343b&&void 0x0!==_0xf0343b['forceValue']?_0xf0343b['forceValue']:!_0x36c28b[_0x24d8('0x1f')];let _0x18e5e9;_0xf0343b[_0x24d8('0x23')]||(_0xf0343b[_0x24d8('0x23')]=_0x475971[0x0][_0x24d8('0x23')]),_0x18e5e9=_0x4666f5?Array[_0x24d8('0x19')](_0x54b8e5[_0x24d8('0x18')]())['filter'](_0x3347e9=>oo(_0x3347e9)||function(_0x17037e,_0x155714){if(_0x17037e['is'](_0x24d8('0x9'))||_0x155714[_0x24d8('0x2')](_0x17037e))return!0x1;return _0x155714[_0x24d8('0x12')](_0x17037e[_0x24d8('0x4')],_0x24d8('0x0'));}(_0x3347e9,_0x528972[_0x24d8('0x7')])):Array['from'](_0x54b8e5[_0x24d8('0x18')]())[_0x24d8('0x27')](_0x5c49c9=>oo(_0x5c49c9));const _0x222439=_0x3449b3(_0x18e5e9,_0x528972);_0x528972[_0x24d8('0xe')](()=>{for(const _0x5b8a6a of _0x222439)_0x839c5c[_0x24d8('0x1e')](_0x5b8a6a,{'commandName':_0x24d8('0x0'),'commandParams':[{..._0xf0343b,'forceValue':_0x4666f5}],'formatGroupId':_0x24d8('0xa')});});}),(_0x839c5c[_0x24d8('0x5')]['registerElementLabel'](_0x24d8('0x0'),_0x53e568=>_0x106a58(_0x57bfee,_0x24d8('0xf'),_0x53e568)),_0x839c5c[_0x24d8('0x5')]['registerDescriptionCallback'](_0x1c9b29=>{const _0x13a582=_0x57bfee['t'],{type:_0x275780,data:_0x3d2c16}=_0x1c9b29;if(_0x24d8('0x20')==_0x275780&&_0x3d2c16&&_0x24d8('0x0')==_0x3d2c16[_0x24d8('0x25')]){const _0x271c86=_0x3d2c16[_0x24d8('0x1b')][0x0][_0x24d8('0x23')],_0x4d88db=_0x13a582(_0x475971[_0x24d8('0xc')](_0x1a12e4=>_0x1a12e4['language']===_0x271c86)[_0x24d8('0x22')]);return _0x3d2c16[_0x24d8('0x1b')][0x0][_0x24d8('0x10')]?{'type':'format','content':_0x106a58(_0x57bfee,_0x24d8('0x15'),_0x106a58(_0x57bfee,_0x24d8('0xf'),0x1)+'\x20('+_0x4d88db+')')}:{'type':_0x24d8('0x11'),'content':_0x106a58(_0x57bfee,_0x24d8('0x3'),_0x106a58(_0x57bfee,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x3d58c0){return _0x24d8('0x0')==_0x3d58c0['name'];}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/comments
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5055=['has','TrackChangesEditing','CommentsEditing','afterInit','enableCommand','plugins'];(function(_0x26e604,_0x505532){const _0x2d74f1=function(_0x291bc0){while(--_0x291bc0){_0x26e604['push'](_0x26e604['shift']());}};_0x2d74f1(++_0x505532);}(_0x5055,0x107));const _0x2d74=function(_0x26e604,_0x505532){_0x26e604=_0x26e604-0x0;let _0x2d74f1=_0x5055[_0x26e604];return _0x2d74f1;};import{Plugin as _0x3e418e}from'ckeditor5/src/core';export default class F extends _0x3e418e{[_0x2d74('0x4')](){const _0x537495=this['editor'];if(!_0x537495[_0x2d74('0x0')][_0x2d74('0x1')](_0x2d74('0x3')))return;_0x537495[_0x2d74('0x0')]['get'](_0x2d74('0x2'))[_0x2d74('0x5')]('addCommentThread');}}
23
+ const _0x39f2=['editor','TrackChangesEditing','plugins','CommentsEditing','get','has','enableCommand'];(function(_0x57ac87,_0x39f208){const _0x31662f=function(_0x40f864){while(--_0x40f864){_0x57ac87['push'](_0x57ac87['shift']());}};_0x31662f(++_0x39f208);}(_0x39f2,0x1d4));const _0x3166=function(_0x57ac87,_0x39f208){_0x57ac87=_0x57ac87-0x0;let _0x31662f=_0x39f2[_0x57ac87];return _0x31662f;};import{Plugin as _0x531606}from'ckeditor5/src/core.js';export default class F extends _0x531606{['afterInit'](){const _0x3d08ee=this[_0x3166('0x1')];if(!_0x3d08ee[_0x3166('0x3')][_0x3166('0x6')](_0x3166('0x4')))return;_0x3d08ee['plugins'][_0x3166('0x5')](_0x3166('0x2'))[_0x3166('0x0')]('addCommentThread');}}
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @module track-changes/integrations/deletecommand
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import { Delete } from 'ckeditor5/src/typing';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
+ import { Delete } from 'ckeditor5/src/typing.js';
6
6
  /**
7
7
  * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
8
8
  * 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 _0x372d=['isCollapsed','unbindElementFromMarkerName','getFirstRange','end','rootName','selection','buffer','commands','removeMarker:suggestion:deletion','remove','enableCommand','batch','lock','enqueueChange','editing','mapper','addMarker:suggestion:deletion','options','document','deleteForward','plugins','high','fromRange','init','TrackChangesEditing','root','unit','delete','get','markerName','createRange','downcastDispatcher','requires','model','merge','detach','unlock','start'];(function(_0x26d8ef,_0x372dfe){const _0x3924d5=function(_0x34f270){while(--_0x34f270){_0x26d8ef['push'](_0x26d8ef['shift']());}};_0x3924d5(++_0x372dfe);}(_0x372d,0x107));const _0x3924=function(_0x26d8ef,_0x372dfe){_0x26d8ef=_0x26d8ef-0x0;let _0x3924d5=_0x372d[_0x26d8ef];return _0x3924d5;};import{Plugin as _0x5eb5bf}from'ckeditor5/src/core';import{LiveRange as _0x1185ee}from'ckeditor5/src/engine';import{Delete as _0x16d0f2}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2e2d53}from'./utils';export default class G extends _0x5eb5bf{static get[_0x3924('0x23')](){return[_0x16d0f2];}[_0x3924('0x1a')](){const _0x5d2233=this['editor'],_0x314b49=_0x5d2233[_0x3924('0x17')][_0x3924('0x1f')](_0x3924('0x1b'));_0x314b49[_0x3924('0xd')](_0x3924('0x1e'));const _0xc6b3f7=_0x5d2233[_0x3924('0xa')][_0x3924('0x1f')](_0x3924('0x16'));_0x314b49[_0x3924('0xd')](_0x3924('0x16'),(_0xfc0f66,_0x20b50b={})=>{const _0x408aab=_0x5d2233['model']['createSelection'](_0x5d2233[_0x3924('0x24')][_0x3924('0x15')][_0x3924('0x8')]);_0x408aab[_0x3924('0x3')]&&_0x5d2233[_0x3924('0x24')]['modifySelection'](_0x408aab,{'direction':'forward','unit':_0x20b50b[_0x3924('0x1d')]});const _0x599f4d=_0x408aab[_0x3924('0x5')](),_0x47f5d2=_0x1185ee[_0x3924('0x19')](_0x599f4d);let _0x15c795;_0xfc0f66(_0x20b50b),_0x15c795='$graveyard'==_0x47f5d2[_0x3924('0x1c')][_0x3924('0x7')]?_0x5d2233['model'][_0x3924('0x21')](_0x599f4d[_0x3924('0x2')]):_0x5d2233[_0x3924('0x24')][_0x3924('0x21')](_0x47f5d2['start'],_0x47f5d2[_0x3924('0x6')]),_0x47f5d2[_0x3924('0x0')](),_0x5d2233[_0x3924('0x24')][_0x3924('0x10')](_0xc6b3f7['buffer'][_0x3924('0xe')],_0x46d628=>{_0xc6b3f7[_0x3924('0x9')][_0x3924('0xf')](),_0x46d628['setSelection'](_0x46d628[_0x3924('0x21')](_0x15c795['end'])),_0xc6b3f7['buffer'][_0x3924('0x1')]();});}),_0x5d2233[_0x3924('0x11')][_0x3924('0x22')]['on'](_0x3924('0x13'),_0x2e2d53(_0x5d2233,'merge'),{'priority':_0x3924('0x18')}),_0x5d2233['data']['downcastDispatcher']['on'](_0x3924('0x13'),(_0x78cd5a,_0x3efe31,_0xe61833)=>{_0xe61833[_0x3924('0x14')]['showSuggestionHighlights']&&_0x2e2d53(_0x5d2233,_0x3924('0x25'),{'showActiveMarker':!0x1})['bind'](this)(_0x78cd5a,_0x3efe31,_0xe61833);},{'priority':_0x3924('0x18')}),_0x5d2233[_0x3924('0x11')][_0x3924('0x22')]['on'](_0x3924('0xb'),(_0x43df99,_0x50626f,_0x13a542)=>{const _0x2ed064=_0x13a542[_0x3924('0x12')]['markerNameToElements'](_0x50626f[_0x3924('0x20')]);if(_0x2ed064)for(const _0x5e8472 of _0x2ed064)_0x5e8472['is']('uiElement')&&(_0x13a542[_0x3924('0x12')][_0x3924('0x4')](_0x5e8472,_0x50626f[_0x3924('0x20')]),_0x13a542['writer'][_0x3924('0xc')](_0x5e8472));},{'priority':'high'});}}
23
+ const _0x1092=['mapper','bind','createRange','lock','markerName','getFirstRange','enqueueChange','start','high','get','detach','data','modifySelection','downcastDispatcher','writer','addMarker:suggestion:deletion','markerNameToElements','init','fromRange','enableCommand','forward','requires','editor','options','end','showSuggestionHighlights','document','editing','removeMarker:suggestion:deletion','createSelection','commands','unit','unbindElementFromMarkerName','setSelection','merge','buffer','$graveyard','deleteForward','uiElement','plugins','selection','unlock','isCollapsed','model','batch','TrackChangesEditing'];(function(_0x48c4b4,_0x109287){const _0x33a150=function(_0x71cf36){while(--_0x71cf36){_0x48c4b4['push'](_0x48c4b4['shift']());}};_0x33a150(++_0x109287);}(_0x1092,0x195));const _0x33a1=function(_0x48c4b4,_0x109287){_0x48c4b4=_0x48c4b4-0x0;let _0x33a150=_0x1092[_0x48c4b4];return _0x33a150;};import{Plugin as _0x195c0e}from'ckeditor5/src/core.js';import{LiveRange as _0x2ed671}from'ckeditor5/src/engine.js';import{Delete as _0x467854}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x35716b}from'./utils.js';export default class G extends _0x195c0e{static get[_0x33a1('0x1e')](){return[_0x467854];}[_0x33a1('0x1a')](){const _0x3814cf=this[_0x33a1('0x1f')],_0x6a1965=_0x3814cf[_0x33a1('0x2')][_0x33a1('0x12')](_0x33a1('0x8'));_0x6a1965[_0x33a1('0x1c')]('delete');const _0x36e6ec=_0x3814cf[_0x33a1('0x27')]['get'](_0x33a1('0x0'));_0x6a1965[_0x33a1('0x1c')](_0x33a1('0x0'),(_0x5e9f15,_0x56ee16={})=>{const _0x1055c7=_0x3814cf[_0x33a1('0x6')][_0x33a1('0x26')](_0x3814cf[_0x33a1('0x6')][_0x33a1('0x23')][_0x33a1('0x3')]);_0x1055c7[_0x33a1('0x5')]&&_0x3814cf['model'][_0x33a1('0x15')](_0x1055c7,{'direction':_0x33a1('0x1d'),'unit':_0x56ee16[_0x33a1('0x28')]});const _0x265c81=_0x1055c7[_0x33a1('0xe')](),_0x1ffb8d=_0x2ed671[_0x33a1('0x1b')](_0x265c81);let _0x3081e3;_0x5e9f15(_0x56ee16),_0x3081e3=_0x33a1('0x2d')==_0x1ffb8d['root']['rootName']?_0x3814cf[_0x33a1('0x6')]['createRange'](_0x265c81[_0x33a1('0x10')]):_0x3814cf[_0x33a1('0x6')][_0x33a1('0xb')](_0x1ffb8d[_0x33a1('0x10')],_0x1ffb8d[_0x33a1('0x21')]),_0x1ffb8d[_0x33a1('0x13')](),_0x3814cf['model'][_0x33a1('0xf')](_0x36e6ec[_0x33a1('0x2c')][_0x33a1('0x7')],_0x4feec2=>{_0x36e6ec['buffer'][_0x33a1('0xc')](),_0x4feec2[_0x33a1('0x2a')](_0x4feec2[_0x33a1('0xb')](_0x3081e3[_0x33a1('0x21')])),_0x36e6ec['buffer'][_0x33a1('0x4')]();});}),_0x3814cf['editing'][_0x33a1('0x16')]['on'](_0x33a1('0x18'),_0x35716b(_0x3814cf,_0x33a1('0x2b')),{'priority':'high'}),_0x3814cf[_0x33a1('0x14')][_0x33a1('0x16')]['on'](_0x33a1('0x18'),(_0x388fde,_0x247a0b,_0x19b4df)=>{_0x19b4df[_0x33a1('0x20')][_0x33a1('0x22')]&&_0x35716b(_0x3814cf,_0x33a1('0x2b'),{'showActiveMarker':!0x1})[_0x33a1('0xa')](this)(_0x388fde,_0x247a0b,_0x19b4df);},{'priority':_0x33a1('0x11')}),_0x3814cf[_0x33a1('0x24')][_0x33a1('0x16')]['on'](_0x33a1('0x25'),(_0x1723fb,_0x448a8d,_0x53b0e7)=>{const _0x31ccf2=_0x53b0e7[_0x33a1('0x9')][_0x33a1('0x19')](_0x448a8d[_0x33a1('0xd')]);if(_0x31ccf2)for(const _0x24fb73 of _0x31ccf2)_0x24fb73['is'](_0x33a1('0x1'))&&(_0x53b0e7[_0x33a1('0x9')][_0x33a1('0x29')](_0x24fb73,_0x448a8d[_0x33a1('0xd')]),_0x53b0e7[_0x33a1('0x17')]['remove'](_0x24fb73));},{'priority':'high'});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/documentlist
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for document list feature.
7
7
  */