@ckeditor/ckeditor5-track-changes 38.1.0 → 38.1.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 (129) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/augmentation.d.ts +36 -36
  4. package/src/commands/acceptsuggestioncommand.d.ts +20 -20
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.d.ts +20 -20
  7. package/src/commands/discardsuggestioncommand.js +1 -1
  8. package/src/commands/executeonallsuggestionscommand.d.ts +20 -20
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.d.ts +20 -20
  11. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  12. package/src/commands/trackchangescommand.d.ts +22 -22
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/index.d.ts +12 -12
  15. package/src/integrations/alignment.d.ts +13 -13
  16. package/src/integrations/alignment.js +1 -1
  17. package/src/integrations/basicstyles.d.ts +13 -13
  18. package/src/integrations/basicstyles.js +1 -1
  19. package/src/integrations/blockquote.d.ts +13 -13
  20. package/src/integrations/blockquote.js +1 -1
  21. package/src/integrations/ckbox.d.ts +13 -13
  22. package/src/integrations/ckbox.js +1 -1
  23. package/src/integrations/codeblock.d.ts +13 -13
  24. package/src/integrations/codeblock.js +1 -1
  25. package/src/integrations/comments.d.ts +10 -10
  26. package/src/integrations/comments.js +1 -1
  27. package/src/integrations/deletecommand.d.ts +13 -13
  28. package/src/integrations/deletecommand.js +1 -1
  29. package/src/integrations/documentlist.d.ts +13 -13
  30. package/src/integrations/documentlist.js +1 -1
  31. package/src/integrations/documentlistproperties.d.ts +25 -25
  32. package/src/integrations/documentlistproperties.js +1 -1
  33. package/src/integrations/entercommand.d.ts +12 -12
  34. package/src/integrations/entercommand.js +1 -1
  35. package/src/integrations/findandreplace.d.ts +17 -17
  36. package/src/integrations/findandreplace.js +1 -1
  37. package/src/integrations/font.d.ts +13 -13
  38. package/src/integrations/font.js +1 -1
  39. package/src/integrations/formatpainter.d.ts +13 -13
  40. package/src/integrations/formatpainter.js +1 -1
  41. package/src/integrations/heading.d.ts +13 -13
  42. package/src/integrations/heading.js +1 -1
  43. package/src/integrations/highlight.d.ts +13 -13
  44. package/src/integrations/highlight.js +1 -1
  45. package/src/integrations/horizontalline.d.ts +13 -13
  46. package/src/integrations/horizontalline.js +1 -1
  47. package/src/integrations/htmlembed.d.ts +13 -13
  48. package/src/integrations/htmlembed.js +1 -1
  49. package/src/integrations/image.d.ts +13 -13
  50. package/src/integrations/image.js +1 -1
  51. package/src/integrations/imagereplace.d.ts +19 -19
  52. package/src/integrations/imagereplace.js +1 -1
  53. package/src/integrations/importword.d.ts +14 -14
  54. package/src/integrations/importword.js +1 -1
  55. package/src/integrations/indent.d.ts +13 -13
  56. package/src/integrations/indent.js +1 -1
  57. package/src/integrations/inputcommand.d.ts +12 -12
  58. package/src/integrations/inputcommand.js +1 -1
  59. package/src/integrations/link.d.ts +13 -13
  60. package/src/integrations/link.js +1 -1
  61. package/src/integrations/list.d.ts +13 -13
  62. package/src/integrations/list.js +1 -1
  63. package/src/integrations/listproperties.d.ts +25 -25
  64. package/src/integrations/listproperties.js +1 -1
  65. package/src/integrations/mediaembed.d.ts +13 -13
  66. package/src/integrations/mediaembed.js +1 -1
  67. package/src/integrations/mention.d.ts +13 -13
  68. package/src/integrations/mention.js +1 -1
  69. package/src/integrations/pagebreak.d.ts +13 -13
  70. package/src/integrations/pagebreak.js +1 -1
  71. package/src/integrations/paragraph.d.ts +13 -13
  72. package/src/integrations/paragraph.js +1 -1
  73. package/src/integrations/removeformat.d.ts +13 -13
  74. package/src/integrations/removeformat.js +1 -1
  75. package/src/integrations/restrictededitingmode.d.ts +13 -13
  76. package/src/integrations/restrictededitingmode.js +1 -1
  77. package/src/integrations/shiftentercommand.d.ts +12 -12
  78. package/src/integrations/shiftentercommand.js +1 -1
  79. package/src/integrations/standardeditingmode.d.ts +13 -13
  80. package/src/integrations/standardeditingmode.js +1 -1
  81. package/src/integrations/style.d.ts +14 -14
  82. package/src/integrations/style.js +1 -1
  83. package/src/integrations/table.d.ts +38 -38
  84. package/src/integrations/table.js +1 -1
  85. package/src/integrations/tablecaption.d.ts +18 -18
  86. package/src/integrations/tablecaption.js +1 -1
  87. package/src/integrations/tableclipboard.d.ts +18 -18
  88. package/src/integrations/tableclipboard.js +1 -1
  89. package/src/integrations/tablecolumnresize.d.ts +22 -22
  90. package/src/integrations/tablecolumnresize.js +1 -1
  91. package/src/integrations/tableheadings.d.ts +18 -18
  92. package/src/integrations/tableheadings.js +1 -1
  93. package/src/integrations/tablemergesplit.d.ts +18 -18
  94. package/src/integrations/tablemergesplit.js +1 -1
  95. package/src/integrations/tableofcontents.d.ts +13 -13
  96. package/src/integrations/tableofcontents.js +1 -1
  97. package/src/integrations/tableproperties.d.ts +23 -23
  98. package/src/integrations/tableproperties.js +1 -1
  99. package/src/integrations/template.d.ts +13 -13
  100. package/src/integrations/template.js +1 -1
  101. package/src/integrations/title.d.ts +13 -13
  102. package/src/integrations/title.js +1 -1
  103. package/src/integrations/undo.d.ts +13 -13
  104. package/src/integrations/undo.js +1 -1
  105. package/src/integrations/utils.d.ts +17 -17
  106. package/src/integrations/utils.js +1 -1
  107. package/src/suggestion.d.ts +266 -266
  108. package/src/suggestion.js +1 -1
  109. package/src/suggestiondescriptionfactory.d.ts +151 -151
  110. package/src/suggestiondescriptionfactory.js +1 -1
  111. package/src/trackchanges.d.ts +240 -240
  112. package/src/trackchanges.js +1 -1
  113. package/src/trackchangesconfig.d.ts +71 -71
  114. package/src/trackchangesdata.d.ts +37 -37
  115. package/src/trackchangesdata.js +1 -1
  116. package/src/trackchangesediting.d.ts +435 -435
  117. package/src/trackchangesediting.js +1 -1
  118. package/src/trackchangesui.d.ts +34 -34
  119. package/src/trackchangesui.js +1 -1
  120. package/src/ui/suggestioncontroller.d.ts +36 -36
  121. package/src/ui/suggestioncontroller.js +1 -1
  122. package/src/ui/view/basesuggestionthreadview.d.ts +166 -166
  123. package/src/ui/view/basesuggestionthreadview.js +1 -1
  124. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  125. package/src/ui/view/suggestionthreadview.js +1 -1
  126. package/src/utils/common-translations.d.ts +5 -5
  127. package/src/utils/common-translations.js +1 -1
  128. package/src/utils/utils.d.ts +26 -26
  129. package/src/utils/utils.js +1 -1
@@ -1,14 +1,14 @@
1
- /**
2
- * @module track-changes/integrations/importword
3
- */
4
- import { Plugin, type Editor } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for the import from Word feature.
7
- */
8
- export default class TrackChangesImportWord extends Plugin {
9
- constructor(editor: Editor);
10
- /**
11
- * @inheritDoc
12
- */
13
- afterInit(): void;
14
- }
1
+ /**
2
+ * @module track-changes/integrations/importword
3
+ */
4
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for the import from Word feature.
7
+ */
8
+ export default class TrackChangesImportWord extends Plugin {
9
+ constructor(editor: Editor);
10
+ /**
11
+ * @inheritDoc
12
+ */
13
+ afterInit(): void;
14
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54d2=['afterInit','_handleImportedData','importWord','collaboration_features','_trackChangesValueDuringImport','high','trackChanges','dataInsert','TrackChangesEditing','forEach','plugins','_trackChangesExecuted','_setSuggestionData','get','Users','track_changes','commands','execute','bind','listenTo','value','editor','enableCommand'];(function(_0x47b0cc,_0x54d278){const _0x488cd2=function(_0x4aa3b6){while(--_0x4aa3b6){_0x47b0cc['push'](_0x47b0cc['shift']());}};_0x488cd2(++_0x54d278);}(_0x54d2,0x191));const _0x488c=function(_0x47b0cc,_0x54d278){_0x47b0cc=_0x47b0cc-0x0;let _0x488cd2=_0x54d2[_0x47b0cc];return _0x488cd2;};import{Plugin as _0x4dd15a}from'ckeditor5/src/core';export default class Z extends _0x4dd15a{constructor(_0x7f4ff9){super(_0x7f4ff9),this['_trackChangesValueDuringImport']=!0x1,this[_0x488c('0x1')]=!0x1;}[_0x488c('0xd')](){const _0x12050a=this[_0x488c('0xb')],_0x21b71f=_0x12050a[_0x488c('0x6')]['get']('importWord'),_0x3c5830=_0x12050a[_0x488c('0x6')][_0x488c('0x3')]('trackChanges');_0x21b71f&&(_0x21b71f['on'](_0x488c('0x7'),(_0x145bce,[,_0xf1689b])=>{this[_0x488c('0x11')]=_0x3c5830[_0x488c('0xa')],_0xf1689b[_0x488c('0x10')][_0x488c('0x5')]=!this[_0x488c('0x11')];},{'priority':_0x488c('0x12')}),this[_0x488c('0x9')](_0x21b71f,_0x488c('0x14'),this[_0x488c('0xe')][_0x488c('0x8')](this)),this[_0x488c('0x9')](_0x21b71f,'dataInsert',()=>{this[_0x488c('0x1')]&&(_0x3c5830[_0x488c('0x7')](),this[_0x488c('0x1')]=!0x1);},{'priority':'lowest'}),_0x12050a[_0x488c('0x0')][_0x488c('0x3')]('TrackChangesEditing')[_0x488c('0xc')](_0x488c('0xf')));}[_0x488c('0xe')](_0x45f304,_0xb92760){const {suggestions:_0x2c8dd4}=_0xb92760,_0x4a720f=this[_0x488c('0xb')][_0x488c('0x6')][_0x488c('0x3')](_0x488c('0x13')),_0x3cb03f=_0x4a720f['value'];this['_trackChangesValueDuringImport']!==_0x3cb03f&&(_0x4a720f[_0x488c('0x7')](),this[_0x488c('0x1')]=!0x0),_0x2c8dd4&&_0x2c8dd4[_0x488c('0x16')](({id:_0x40713b,type:_0x5571bb,author:_0x5064c8,created_at:_0x4bb927})=>{const _0x55b2b0={'id':_0x40713b,'type':_0x5571bb,'authorId':this['editor'][_0x488c('0x0')]['get'](_0x488c('0x4'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5064c8,'createdAt':_0x4bb927?new Date(_0x4bb927):new Date(),'source':_0x488c('0xf')}}};this[_0x488c('0xb')][_0x488c('0x0')]['get'](_0x488c('0x15'))[_0x488c('0x2')](_0x55b2b0);});}}
23
+ const _0x2244=['track_changes','Users','get','execute','plugins','commands','listenTo','_trackChangesValueDuringImport','_trackChangesExecuted','trackChanges','TrackChangesEditing','_setSuggestionData','collaboration_features','afterInit','dataInsert','editor','enableCommand','importWord','value','lowest','_handleImportedData'];(function(_0x12ff48,_0x224430){const _0x3dd9bf=function(_0x5155ba){while(--_0x5155ba){_0x12ff48['push'](_0x12ff48['shift']());}};_0x3dd9bf(++_0x224430);}(_0x2244,0xb3));const _0x3dd9=function(_0x12ff48,_0x224430){_0x12ff48=_0x12ff48-0x0;let _0x3dd9bf=_0x2244[_0x12ff48];return _0x3dd9bf;};import{Plugin as _0x387ab5}from'ckeditor5/src/core';export default class Z extends _0x387ab5{constructor(_0x2ad297){super(_0x2ad297),this[_0x3dd9('0x11')]=!0x1,this[_0x3dd9('0x12')]=!0x1;}[_0x3dd9('0x2')](){const _0x460ebf=this[_0x3dd9('0x4')],_0x17b29e=_0x460ebf[_0x3dd9('0xf')][_0x3dd9('0xc')](_0x3dd9('0x6')),_0x51535b=_0x460ebf['commands'][_0x3dd9('0xc')](_0x3dd9('0x13'));_0x17b29e&&(_0x17b29e['on'](_0x3dd9('0xd'),(_0x20ba10,[,_0x46e8db])=>{this['_trackChangesValueDuringImport']=_0x51535b[_0x3dd9('0x7')],_0x46e8db[_0x3dd9('0x1')][_0x3dd9('0xa')]=!this[_0x3dd9('0x11')];},{'priority':'high'}),this[_0x3dd9('0x10')](_0x17b29e,'dataInsert',this[_0x3dd9('0x9')]['bind'](this)),this[_0x3dd9('0x10')](_0x17b29e,_0x3dd9('0x3'),()=>{this['_trackChangesExecuted']&&(_0x51535b['execute'](),this[_0x3dd9('0x12')]=!0x1);},{'priority':_0x3dd9('0x8')}),_0x460ebf[_0x3dd9('0xe')][_0x3dd9('0xc')](_0x3dd9('0x14'))[_0x3dd9('0x5')](_0x3dd9('0x6')));}[_0x3dd9('0x9')](_0x5564ac,_0x538017){const {suggestions:_0x26c457}=_0x538017,_0x2fab60=this[_0x3dd9('0x4')][_0x3dd9('0xf')]['get']('trackChanges'),_0x4ec6ab=_0x2fab60[_0x3dd9('0x7')];this['_trackChangesValueDuringImport']!==_0x4ec6ab&&(_0x2fab60[_0x3dd9('0xd')](),this[_0x3dd9('0x12')]=!0x0),_0x26c457&&_0x26c457['forEach'](({id:_0x5d0ffe,type:_0x1d5bb1,author:_0x13ffb9,created_at:_0x3f4fae})=>{const _0x55ee41={'id':_0x5d0ffe,'type':_0x1d5bb1,'authorId':this['editor'][_0x3dd9('0xe')]['get'](_0x3dd9('0xb'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x13ffb9,'createdAt':_0x3f4fae?new Date(_0x3f4fae):new Date(),'source':_0x3dd9('0x6')}}};this[_0x3dd9('0x4')]['plugins'][_0x3dd9('0xc')]('TrackChangesEditing')[_0x3dd9('0x0')](_0x55ee41);});}}
@@ -1,13 +1,13 @@
1
- /**
2
- * @module track-changes/integrations/indent
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
7
- */
8
- export default class TrackChangesIndent extends Plugin {
9
- /**
10
- * @inheritDoc
11
- */
12
- afterInit(): void;
13
- }
1
+ /**
2
+ * @module track-changes/integrations/indent
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
7
+ */
8
+ export default class TrackChangesIndent extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1447=['registerDescriptionCallback','TrackChangesEditing','commandName','get','markBlockFormat','model','getSelectedBlocks','outdent','IndentEditing','blockIndent','editor','format','document','enableCommand','schema','afterInit','IndentBlock','checkAttribute','indentBlock','getItems','from','plugins','*Outdent:*\x20%0','indent','has','selection','outdentBlock'];(function(_0x115b98,_0x144767){const _0x10d0f5=function(_0x733310){while(--_0x733310){_0x115b98['push'](_0x115b98['shift']());}};_0x10d0f5(++_0x144767);}(_0x1447,0xac));const _0x10d0=function(_0x115b98,_0x144767){_0x115b98=_0x115b98-0x0;let _0x10d0f5=_0x1447[_0x115b98];return _0x10d0f5;};import{Plugin as _0x675d06}from'ckeditor5/src/core';import{getTranslation as _0x1e0920}from'../utils/common-translations';export default class tt extends _0x675d06{[_0x10d0('0x5')](){const _0xca5328=this[_0x10d0('0x0')],_0x124d9b=_0xca5328[_0x10d0('0xb')][_0x10d0('0x14')](_0x10d0('0x12'));_0xca5328[_0x10d0('0xb')][_0x10d0('0xe')](_0x10d0('0x19'))&&(_0x124d9b[_0x10d0('0x3')](_0x10d0('0xd')),_0x124d9b[_0x10d0('0x3')](_0x10d0('0x18')));const _0x4d83f5=_0xca5328['locale'];if(_0xca5328[_0x10d0('0xb')][_0x10d0('0xe')](_0x10d0('0x6'))){for(const _0x1b7b57 of['indentBlock',_0x10d0('0x10')])_0x124d9b[_0x10d0('0x3')](_0x1b7b57,()=>{const _0x4ec881=Array[_0x10d0('0xa')](this[_0x10d0('0x0')]['model'][_0x10d0('0x2')][_0x10d0('0xf')][_0x10d0('0x17')]())['filter'](_0x242e66=>this[_0x10d0('0x0')][_0x10d0('0x16')][_0x10d0('0x4')][_0x10d0('0x7')](_0x242e66,_0x10d0('0x1a')));_0xca5328[_0x10d0('0x16')]['change'](()=>{for(const _0x411407 of _0x4ec881)_0x124d9b[_0x10d0('0x15')](_0x411407,{'commandName':_0x1b7b57,'commandParams':[{'value':''}],'formatGroupId':_0x10d0('0x8')});});});_0x124d9b['_descriptionFactory'][_0x10d0('0x11')](_0x380854=>{const {data:_0x2fc7e8}=_0x380854;if(!_0x2fc7e8)return;if(_0x10d0('0x8')!=_0x2fc7e8[_0x10d0('0x13')]&&'outdentBlock'!=_0x2fc7e8['commandName'])return;const _0x543acb=_0x380854[_0x10d0('0x9')]()[0x0],_0x3789a2=_0x124d9b['_descriptionFactory']['getItemLabel'](_0x543acb);return _0x10d0('0x8')==_0x2fc7e8[_0x10d0('0x13')]?{'type':_0x10d0('0x1'),'content':_0x1e0920(_0x4d83f5,'*Indent:*\x20%0',_0x3789a2)}:_0x10d0('0x10')==_0x2fc7e8[_0x10d0('0x13')]?{'type':_0x10d0('0x1'),'content':_0x1e0920(_0x4d83f5,_0x10d0('0xc'),_0x3789a2)}:void 0x0;});}}}
23
+ const _0xbfcd=['IndentEditing','model','_descriptionFactory','format','from','plugins','getItems','has','editor','getItemLabel','outdent','afterInit','commandName','get','enableCommand','checkAttribute','blockIndent','outdentBlock','indent','getSelectedBlocks','document','indentBlock','selection'];(function(_0x2f299f,_0xbfcd15){const _0x1e70f1=function(_0x19dd32){while(--_0x19dd32){_0x2f299f['push'](_0x2f299f['shift']());}};_0x1e70f1(++_0xbfcd15);}(_0xbfcd,0x12a));const _0x1e70=function(_0x2f299f,_0xbfcd15){_0x2f299f=_0x2f299f-0x0;let _0x1e70f1=_0xbfcd[_0x2f299f];return _0x1e70f1;};import{Plugin as _0x4c8ec7}from'ckeditor5/src/core';import{getTranslation as _0x307e26}from'../utils/common-translations';export default class tt extends _0x4c8ec7{[_0x1e70('0xc')](){const _0x55220b=this[_0x1e70('0x9')],_0x126db3=_0x55220b[_0x1e70('0x6')][_0x1e70('0xe')]('TrackChangesEditing');_0x55220b[_0x1e70('0x6')][_0x1e70('0x8')](_0x1e70('0x1'))&&(_0x126db3[_0x1e70('0xf')](_0x1e70('0x13')),_0x126db3[_0x1e70('0xf')](_0x1e70('0xb')));const _0x3546ee=_0x55220b['locale'];if(_0x55220b[_0x1e70('0x6')]['has']('IndentBlock')){for(const _0x54ba58 of[_0x1e70('0x16'),_0x1e70('0x12')])_0x126db3[_0x1e70('0xf')](_0x54ba58,()=>{const _0x1510b9=Array[_0x1e70('0x5')](this[_0x1e70('0x9')][_0x1e70('0x2')][_0x1e70('0x15')][_0x1e70('0x0')][_0x1e70('0x14')]())['filter'](_0x526706=>this[_0x1e70('0x9')]['model']['schema'][_0x1e70('0x10')](_0x526706,_0x1e70('0x11')));_0x55220b['model']['change'](()=>{for(const _0x2a8c20 of _0x1510b9)_0x126db3['markBlockFormat'](_0x2a8c20,{'commandName':_0x54ba58,'commandParams':[{'value':''}],'formatGroupId':_0x1e70('0x16')});});});_0x126db3[_0x1e70('0x3')]['registerDescriptionCallback'](_0x219785=>{const {data:_0x21f700}=_0x219785;if(!_0x21f700)return;if('indentBlock'!=_0x21f700[_0x1e70('0xd')]&&_0x1e70('0x12')!=_0x21f700[_0x1e70('0xd')])return;const _0x46f7b6=_0x219785[_0x1e70('0x7')]()[0x0],_0x14c773=_0x126db3[_0x1e70('0x3')][_0x1e70('0xa')](_0x46f7b6);return'indentBlock'==_0x21f700[_0x1e70('0xd')]?{'type':_0x1e70('0x4'),'content':_0x307e26(_0x3546ee,'*Indent:*\x20%0',_0x14c773)}:_0x1e70('0x12')==_0x21f700['commandName']?{'type':_0x1e70('0x4'),'content':_0x307e26(_0x3546ee,'*Outdent:*\x20%0',_0x14c773)}:void 0x0;});}}}
@@ -1,12 +1,12 @@
1
- /**
2
- * @module track-changes/integrations/inputcommand/inputcommand
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import { Input } from 'ckeditor5/src/typing';
6
- /**
7
- * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
8
- */
9
- export default class TrackChangesInputCommand extends Plugin {
10
- static get requires(): readonly [typeof Input];
11
- init(): void;
12
- }
1
+ /**
2
+ * @module track-changes/integrations/inputcommand/inputcommand
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import { Input } from 'ckeditor5/src/typing';
6
+ /**
7
+ * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
8
+ */
9
+ export default class TrackChangesInputCommand extends Plugin {
10
+ static get requires(): readonly [typeof Input];
11
+ init(): void;
12
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x42d7=['requires','get','init','enableCommand','TrackChangesEditing'];(function(_0x15c6a7,_0x42d7d5){var _0x295a20=function(_0x1504b3){while(--_0x1504b3){_0x15c6a7['push'](_0x15c6a7['shift']());}};_0x295a20(++_0x42d7d5);}(_0x42d7,0xbf));var _0x295a=function(_0x15c6a7,_0x42d7d5){_0x15c6a7=_0x15c6a7-0x0;var _0x295a20=_0x42d7[_0x15c6a7];return _0x295a20;};import{Plugin as _0x577a8d}from'ckeditor5/src/core';import{Input as _0x17b20d}from'ckeditor5/src/typing';export default class it extends _0x577a8d{static get[_0x295a('0x4')](){return[_0x17b20d];}[_0x295a('0x1')](){this['editor']['plugins'][_0x295a('0x0')](_0x295a('0x3'))[_0x295a('0x2')]('input');}}
23
+ var _0x2ff1=['editor','TrackChangesEditing','input','requires'];(function(_0x4eec8e,_0x2ff147){var _0x184843=function(_0x1b367a){while(--_0x1b367a){_0x4eec8e['push'](_0x4eec8e['shift']());}};_0x184843(++_0x2ff147);}(_0x2ff1,0x1af));var _0x1848=function(_0x4eec8e,_0x2ff147){_0x4eec8e=_0x4eec8e-0x0;var _0x184843=_0x2ff1[_0x4eec8e];return _0x184843;};import{Plugin as _0x4771c}from'ckeditor5/src/core';import{Input as _0x1ee205}from'ckeditor5/src/typing';export default class it extends _0x4771c{static get[_0x1848('0x0')](){return[_0x1ee205];}['init'](){this[_0x1848('0x1')]['plugins']['get'](_0x1848('0x2'))['enableCommand'](_0x1848('0x3'));}}
@@ -1,13 +1,13 @@
1
- /**
2
- * @module track-changes/integrations/link
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for link feature.
7
- */
8
- export default class TrackChangesLink extends Plugin {
9
- /**
10
- * @inheritDoc
11
- */
12
- afterInit(): void;
13
- }
1
+ /**
2
+ * @module track-changes/integrations/link
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for link feature.
7
+ */
8
+ export default class TrackChangesLink extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b03=['*Set\x20link:*\x20%0','getAttribute','unlink','format','document','linkHref','markInlineFormat','link','_descriptionFactory','editor','model','getRanges','change','isCollapsed','locale','from','get','commandName','enableCommand','selection','plugins','*Remove\x20link*','TrackChangesEditing','registerDescriptionCallback','getFirstPosition'];(function(_0x255a00,_0x4b039a){const _0x4e5f15=function(_0x372ef9){while(--_0x372ef9){_0x255a00['push'](_0x255a00['shift']());}};_0x4e5f15(++_0x4b039a);}(_0x4b03,0x101));const _0x4e5f=function(_0x255a00,_0x4b039a){_0x255a00=_0x255a00-0x0;let _0x4e5f15=_0x4b03[_0x255a00];return _0x4e5f15;};import{Plugin as _0x324ed4}from'ckeditor5/src/core';import{findAttributeRange as _0x296b8d}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x3bc63f}from'./utils';import{getTranslation as _0x210296}from'../utils/common-translations';export default class et extends _0x324ed4{['afterInit'](){const _0x522f54=this[_0x4e5f('0x2')];if(!_0x522f54[_0x4e5f('0xd')]['has']('LinkEditing'))return;const _0x31bee8=_0x522f54[_0x4e5f('0xd')][_0x4e5f('0x9')](_0x4e5f('0xf'));_0x31bee8[_0x4e5f('0xb')](_0x4e5f('0x0'),(_0x28ce59,_0x43c172)=>{const _0xdd4398=_0x522f54[_0x4e5f('0x3')][_0x4e5f('0x16')][_0x4e5f('0xc')];let _0xd542c8=[];if(_0xdd4398[_0x4e5f('0x6')]){if(!_0xdd4398['hasAttribute']('linkHref'))return void _0x28ce59(_0x43c172);{const _0x3c1a7c=_0x296b8d(_0xdd4398[_0x4e5f('0x11')](),_0x4e5f('0x17'),_0xdd4398[_0x4e5f('0x13')]('linkHref'),_0x522f54[_0x4e5f('0x3')]);_0xd542c8=[_0x3c1a7c];}}else _0xd542c8=Array[_0x4e5f('0x8')](_0xdd4398[_0x4e5f('0x4')]());_0x522f54[_0x4e5f('0x3')][_0x4e5f('0x5')](()=>{for(const _0x4f5a30 of _0xd542c8)_0x31bee8['markInlineFormat'](_0x4f5a30,{'commandName':_0x4e5f('0x0'),'commandParams':[_0x43c172]});});}),_0x31bee8[_0x4e5f('0xb')](_0x4e5f('0x14'),()=>{const _0x4aafc=this[_0x4e5f('0x2')]['model'],_0x3f21c4=_0x4aafc[_0x4e5f('0x16')]['selection'];_0x4aafc[_0x4e5f('0x5')](()=>{let _0x22c036=[];if(_0x3f21c4['isCollapsed'])_0x22c036=[_0x296b8d(_0x3f21c4['getFirstPosition'](),_0x4e5f('0x17'),_0x3f21c4[_0x4e5f('0x13')](_0x4e5f('0x17')),_0x522f54[_0x4e5f('0x3')])];else _0x22c036=_0x3bc63f(_0x4e5f('0x17'),_0x3f21c4['getFirstRange'](),_0x522f54['model']);for(const _0x46c7b6 of _0x22c036)_0x31bee8[_0x4e5f('0x18')](_0x46c7b6,{'commandName':_0x4e5f('0x14'),'commandParams':[]});});}),_0x31bee8[_0x4e5f('0x1')][_0x4e5f('0x10')](_0xc78adf=>{const {data:_0x43b0f1}=_0xc78adf,_0x2c30b8=_0x522f54[_0x4e5f('0x7')];if(_0x43b0f1){if(_0x4e5f('0x0')==_0x43b0f1['commandName']){const _0x151686=_0x43b0f1['commandParams'][0x0];return{'type':'format','content':_0x210296(_0x2c30b8,_0x4e5f('0x12'),'\x22'+_0x151686+'\x22')};}return _0x4e5f('0x14')==_0x43b0f1[_0x4e5f('0xa')]?{'type':_0x4e5f('0x15'),'content':_0x210296(_0x2c30b8,_0x4e5f('0xe'))}:void 0x0;}});}}
23
+ const _0x2f1e=['markInlineFormat','commandName','TrackChangesEditing','document','link','linkHref','unlink','format','getFirstRange','getRanges','plugins','get','hasAttribute','editor','change','enableCommand','getAttribute','*Set\x20link:*\x20%0','LinkEditing','isCollapsed','from','afterInit','model','*Remove\x20link*'];(function(_0x2cc1cf,_0x2f1e6b){const _0x193a53=function(_0x20b361){while(--_0x20b361){_0x2cc1cf['push'](_0x2cc1cf['shift']());}};_0x193a53(++_0x2f1e6b);}(_0x2f1e,0x120));const _0x193a=function(_0x2cc1cf,_0x2f1e6b){_0x2cc1cf=_0x2cc1cf-0x0;let _0x193a53=_0x2f1e[_0x2cc1cf];return _0x193a53;};import{Plugin as _0x224d69}from'ckeditor5/src/core';import{findAttributeRange as _0x1c672b}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x11c309}from'./utils';import{getTranslation as _0x38df1b}from'../utils/common-translations';export default class et extends _0x224d69{[_0x193a('0x15')](){const _0x1512bb=this[_0x193a('0xd')];if(!_0x1512bb[_0x193a('0xa')]['has'](_0x193a('0x12')))return;const _0x1f5dbc=_0x1512bb[_0x193a('0xa')][_0x193a('0xb')](_0x193a('0x2'));_0x1f5dbc[_0x193a('0xf')](_0x193a('0x4'),(_0x5c2e22,_0x2e2ceb)=>{const _0x2b9287=_0x1512bb[_0x193a('0x16')][_0x193a('0x3')]['selection'];let _0x26e0e0=[];if(_0x2b9287[_0x193a('0x13')]){if(!_0x2b9287[_0x193a('0xc')](_0x193a('0x5')))return void _0x5c2e22(_0x2e2ceb);{const _0x4c6f9f=_0x1c672b(_0x2b9287['getFirstPosition'](),_0x193a('0x5'),_0x2b9287[_0x193a('0x10')]('linkHref'),_0x1512bb[_0x193a('0x16')]);_0x26e0e0=[_0x4c6f9f];}}else _0x26e0e0=Array[_0x193a('0x14')](_0x2b9287[_0x193a('0x9')]());_0x1512bb[_0x193a('0x16')][_0x193a('0xe')](()=>{for(const _0x5b47de of _0x26e0e0)_0x1f5dbc[_0x193a('0x0')](_0x5b47de,{'commandName':_0x193a('0x4'),'commandParams':[_0x2e2ceb]});});}),_0x1f5dbc[_0x193a('0xf')](_0x193a('0x6'),()=>{const _0x32229f=this['editor'][_0x193a('0x16')],_0x64ac9a=_0x32229f[_0x193a('0x3')]['selection'];_0x32229f[_0x193a('0xe')](()=>{let _0x4638f1=[];if(_0x64ac9a[_0x193a('0x13')])_0x4638f1=[_0x1c672b(_0x64ac9a['getFirstPosition'](),'linkHref',_0x64ac9a['getAttribute'](_0x193a('0x5')),_0x1512bb['model'])];else _0x4638f1=_0x11c309(_0x193a('0x5'),_0x64ac9a[_0x193a('0x8')](),_0x1512bb[_0x193a('0x16')]);for(const _0x4bd4c1 of _0x4638f1)_0x1f5dbc['markInlineFormat'](_0x4bd4c1,{'commandName':_0x193a('0x6'),'commandParams':[]});});}),_0x1f5dbc['_descriptionFactory']['registerDescriptionCallback'](_0x9e7e68=>{const {data:_0x3fbf90}=_0x9e7e68,_0x44b01d=_0x1512bb['locale'];if(_0x3fbf90){if('link'==_0x3fbf90['commandName']){const _0x1f3d85=_0x3fbf90['commandParams'][0x0];return{'type':_0x193a('0x7'),'content':_0x38df1b(_0x44b01d,_0x193a('0x11'),'\x22'+_0x1f3d85+'\x22')};}return'unlink'==_0x3fbf90[_0x193a('0x1')]?{'type':_0x193a('0x7'),'content':_0x38df1b(_0x44b01d,_0x193a('0x17'))}:void 0x0;}});}}
@@ -1,13 +1,13 @@
1
- /**
2
- * @module track-changes/integrations/list
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for list feature.
7
- */
8
- export default class TrackChangesList extends Plugin {
9
- /**
10
- * @inheritDoc
11
- */
12
- afterInit(): void;
13
- }
1
+ /**
2
+ * @module track-changes/integrations/list
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for list feature.
7
+ */
8
+ export default class TrackChangesList extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ffd=['ELEMENT_BULLETED_LIST','commands','filter','*Change\x20to:*\x20%0','get','getAttribute','findIndex','add','model','execute','ELEMENT_TODO_LIST','registerElementLabel','TodoListEditing','commandParams','locale','nextSibling','from','paragraph','name','bulletedList','selection','indentList','push','ListEditing','slice','blockName','length','commandName','element','listIndent','value','outdentList','todoList','_descriptionFactory','ELEMENT_NUMBERED_LIST','afterInit','change','previousSibling','*Indent:*\x20%0','before','getSelectedBlocks','registerDescriptionCallback','todo','schema','ELEMENT_LIST_ITEM','plugins','listType','end','checkTodoList','enableCommand','_selectedElements','markBlockFormat','has','createPositionAt','TrackChangesEditing','document','format','forceValue','listItem','createRange','numberedList'];(function(_0x17a6a1,_0x1ffdfe){const _0x298417=function(_0x55b65d){while(--_0x55b65d){_0x17a6a1['push'](_0x17a6a1['shift']());}};_0x298417(++_0x1ffdfe);}(_0x1ffd,0xc7));const _0x2984=function(_0x17a6a1,_0x1ffdfe){_0x17a6a1=_0x17a6a1-0x0;let _0x298417=_0x1ffd[_0x17a6a1];return _0x298417;};import{Plugin as _0x5ee380}from'ckeditor5/src/core';import{getTranslation as _0x41df16}from'../utils/common-translations';export default class st extends _0x5ee380{[_0x2984('0x13')](){const _0x286b07=this['editor'],_0x25403a=_0x286b07[_0x2984('0x3b')];if(!_0x286b07['plugins'][_0x2984('0x24')](_0x2984('0x7')))return;const _0x48aabc=_0x286b07['plugins'][_0x2984('0x31')](_0x2984('0x26')),_0x54e5cc=_0x286b07[_0x2984('0x1d')][_0x2984('0x24')](_0x2984('0x39'));function _0x5c5edf(_0x4d34fb){return()=>{const _0x7a8a5b=_0x286b07[_0x2984('0x35')][_0x2984('0x27')][_0x2984('0x4')],_0x4d15f2=_0x286b07['commands'][_0x2984('0x31')](_0x4d34fb);if(_0x4d15f2[_0x2984('0xe')])return void _0x286b07[_0x2984('0x36')](_0x2984('0x1'),{});const _0x3c1487=_0x4d34fb['slice'](0x0,-0x4),_0x1fd61b=function(_0x120daf,_0x57c99a,_0x49f215){let _0x52f121=Array[_0x2984('0x0')](_0x120daf)[_0x2984('0x2f')](_0x5a428e=>function(_0x5b7df7,_0x4ba206){return _0x4ba206['checkChild'](_0x5b7df7['parent'],_0x2984('0x2a'))&&!_0x4ba206['isObject'](_0x5b7df7);}(_0x5a428e,_0x49f215));_0x52f121=_0x52f121['filter'](_0x47e673=>!_0x47e673['is'](_0x2984('0xc'),'listItem')||_0x47e673[_0x2984('0x32')](_0x2984('0x1e'))!=_0x57c99a);const _0x46f9cd=new Set();for(const _0x3fb217 of _0x52f121)_0x3fb217['is'](_0x2984('0xc'),_0x2984('0x2a'))?_0x46f9cd['add'](ne(_0x3fb217)):_0x46f9cd['add'](_0x3fb217);return Array['from'](_0x46f9cd);}(_0x7a8a5b['getSelectedBlocks'](),_0x3c1487,_0x286b07[_0x2984('0x35')][_0x2984('0x1b')]);_0x286b07[_0x2984('0x35')][_0x2984('0x14')](()=>{for(const _0x25592a of _0x1fd61b)_0x48aabc[_0x2984('0x23')](_0x25592a,{'commandName':_0x4d34fb,'commandParams':[{'forceValue':!_0x4d15f2[_0x2984('0xe')]}],'formatGroupId':_0x2984('0x9')},oe(_0x25592a));});};}function _0x361360(_0x39aa09){return()=>{const _0x49cf23=function(_0x3c9488){let _0x41c5b7=Array[_0x2984('0x0')](_0x3c9488);const _0x4226bb=_0x41c5b7[_0x2984('0x33')](_0x7680cc=>_0x2984('0x2a')!=_0x7680cc[_0x2984('0x2')]);return _0x4226bb>-0x1&&(_0x41c5b7=_0x41c5b7[_0x2984('0x8')](0x0,_0x4226bb)),_0x41c5b7;}(_0x286b07[_0x2984('0x35')][_0x2984('0x27')][_0x2984('0x4')][_0x2984('0x18')]()),_0x3a9b7f=_0x286b07['model'][_0x2984('0x2b')](_0x286b07[_0x2984('0x35')][_0x2984('0x25')](_0x49cf23[0x0],_0x2984('0x17')),_0x286b07['model'][_0x2984('0x25')](_0x49cf23[_0x49cf23[_0x2984('0xa')]-0x1],_0x2984('0x1f')));_0x286b07[_0x2984('0x35')][_0x2984('0x14')](()=>{_0x48aabc[_0x2984('0x23')](_0x3a9b7f,{'commandName':_0x39aa09,'commandParams':[],'formatGroupId':_0x2984('0xd')},function(_0x42994a){const _0x137028=new Set();for(const _0xfc754 of _0x42994a){let _0x34c635=_0xfc754[_0x2984('0x3c')];for(;_0x34c635&&_0x34c635[_0x2984('0x32')]('listIndent')>_0xfc754[_0x2984('0x32')](_0x2984('0xd'));)_0x137028[_0x2984('0x34')](_0x34c635),_0x34c635=_0x34c635[_0x2984('0x3c')];}return Array['from'](_0x137028);}(_0x49cf23));});};}_0x48aabc[_0x2984('0x21')]('numberedList',_0x5c5edf(_0x2984('0x2c'))),_0x48aabc['enableCommand'](_0x2984('0x3'),_0x5c5edf(_0x2984('0x3'))),_0x54e5cc&&_0x48aabc['enableCommand'](_0x2984('0x10'),_0x5c5edf(_0x2984('0x10'))),_0x48aabc[_0x2984('0x21')](_0x2984('0x5'),_0x361360(_0x2984('0x5'))),_0x48aabc[_0x2984('0x21')](_0x2984('0xf'),_0x361360(_0x2984('0xf'))),_0x54e5cc&&_0x48aabc[_0x2984('0x21')]('checkTodoList',()=>{const _0x22af17=_0x286b07[_0x2984('0x2e')][_0x2984('0x31')](_0x2984('0x20')),_0x261709=Array[_0x2984('0x0')](_0x22af17[_0x2984('0x22')]);_0x261709['filter'](_0x544966=>_0x544966[_0x2984('0x32')]('todoListChecked')!=_0x22af17['value']),_0x286b07[_0x2984('0x35')]['change'](()=>{for(const _0x3fabc8 of _0x261709)_0x48aabc[_0x2984('0x23')](_0x3fabc8,{'commandName':_0x2984('0x20'),'commandParams':[{'forceValue':!_0x22af17['value']}]});});}),_0x48aabc[_0x2984('0x11')][_0x2984('0x38')](_0x2984('0x2a'),_0x3e77f7=>_0x41df16(_0x25403a,_0x2984('0x1c'),_0x3e77f7)),_0x48aabc[_0x2984('0x11')][_0x2984('0x19')](_0x4c718d=>{const {data:_0x88ed80}=_0x4c718d;if(_0x88ed80){if(_0x2984('0x2c')==_0x88ed80[_0x2984('0xb')]||_0x2984('0x3')==_0x88ed80['commandName']||_0x2984('0x10')==_0x88ed80[_0x2984('0xb')])switch(_0x88ed80['commandName']['replace']('List','')){case'bulleted':return _0x557152(_0x41df16(_0x25403a,_0x2984('0x2d')));case'numbered':return _0x557152(_0x41df16(_0x25403a,_0x2984('0x12')));case _0x2984('0x1a'):return _0x557152(_0x41df16(_0x25403a,_0x2984('0x37')));}if(_0x2984('0x5')==_0x88ed80[_0x2984('0xb')])return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,_0x2984('0x16'),_0x41df16(_0x25403a,_0x2984('0x1c')))};if(_0x2984('0xf')==_0x88ed80['commandName'])return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Outdent:*\x20%0',_0x41df16(_0x25403a,_0x2984('0x1c')))};if('checkTodoList'==_0x88ed80[_0x2984('0xb')])return _0x88ed80[_0x2984('0x3a')][0x0][_0x2984('0x29')]?{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Check\x20item*')}:{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Uncheck\x20item*')};}function _0x557152(_0xb7457b){return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,_0x2984('0x30'),_0xb7457b)};}});}}function ne(_0x3b557d){const _0x144c3c=_0x3b557d[_0x2984('0x32')](_0x2984('0xd'));if(0x0==_0x144c3c)return _0x3b557d;let _0x5defcd=_0x3b557d;for(;_0x3b557d[_0x2984('0x15')]&&_0x3b557d['previousSibling']['is'](_0x2984('0xc'),_0x2984('0x2a'));){const _0x1f5210=_0x3b557d['previousSibling'][_0x2984('0x32')]('listIndent');if(_0x1f5210==_0x144c3c)_0x5defcd=_0x3b557d[_0x2984('0x15')];else{if(_0x1f5210<_0x144c3c)break;}_0x3b557d=_0x3b557d[_0x2984('0x15')];}return _0x5defcd;}function oe(_0x17961a){const _0x1ea7cd=[];if(_0x17961a['is'](_0x2984('0xc'),_0x2984('0x2a'))&&_0x17961a[_0x2984('0x32')]('listIndent')>0x0){let _0x1374e5=_0x17961a[_0x2984('0x3c')];for(;_0x1374e5&&'listItem'==_0x1374e5[_0x2984('0x2')]&&_0x1374e5['getAttribute']('listIndent')==_0x17961a[_0x2984('0x32')](_0x2984('0xd'));)_0x1ea7cd[_0x2984('0x6')](_0x1374e5),_0x1374e5=_0x1374e5[_0x2984('0x3c')];}return _0x1ea7cd;}
23
+ const _0x2bbe=['document','ELEMENT_LIST_ITEM','ListEditing','findIndex','has','*Check\x20item*','execute','ELEMENT_TODO_LIST','commands','listIndent','registerElementLabel','parent','plugins','nextSibling','listType','bulletedList','enableCommand','outdentList','slice','before','numbered','value','replace','length','editor','filter','bulleted','change','model','todo','todoListChecked','selection','List','listItem','commandParams','get','paragraph','TodoListEditing','*Uncheck\x20item*','numberedList','format','commandName','createRange','element','*Outdent:*\x20%0','todoList','checkTodoList','getSelectedBlocks','isObject','locale','registerDescriptionCallback','schema','getAttribute','markBlockFormat','_descriptionFactory','add','from','previousSibling','TrackChangesEditing','afterInit'];(function(_0x23d242,_0x2bbe25){const _0x4a674e=function(_0x31f1e5){while(--_0x31f1e5){_0x23d242['push'](_0x23d242['shift']());}};_0x4a674e(++_0x2bbe25);}(_0x2bbe,0xfa));const _0x4a67=function(_0x23d242,_0x2bbe25){_0x23d242=_0x23d242-0x0;let _0x4a674e=_0x2bbe[_0x23d242];return _0x4a674e;};import{Plugin as _0x299ba2}from'ckeditor5/src/core';import{getTranslation as _0x96446c}from'../utils/common-translations';export default class st extends _0x299ba2{[_0x4a67('0x31')](){const _0x25b3d5=this[_0x4a67('0xe')],_0x4b1cb9=_0x25b3d5[_0x4a67('0x27')];if(!_0x25b3d5[_0x4a67('0x2')][_0x4a67('0x36')](_0x4a67('0x34')))return;const _0x11d0c3=_0x25b3d5[_0x4a67('0x2')][_0x4a67('0x19')](_0x4a67('0x30')),_0x50eb92=_0x25b3d5[_0x4a67('0x2')][_0x4a67('0x36')](_0x4a67('0x1b'));function _0x4edd16(_0x46d5a7){return()=>{const _0x108d28=_0x25b3d5[_0x4a67('0x12')][_0x4a67('0x32')][_0x4a67('0x15')],_0x22a43a=_0x25b3d5[_0x4a67('0x3a')][_0x4a67('0x19')](_0x46d5a7);if(_0x22a43a['value'])return void _0x25b3d5[_0x4a67('0x38')](_0x4a67('0x1a'),{});const _0x859c2f=_0x46d5a7[_0x4a67('0x8')](0x0,-0x4),_0x5ccb15=function(_0x36bc19,_0x16f7fa,_0x23b21f){let _0x508540=Array[_0x4a67('0x2e')](_0x36bc19)[_0x4a67('0xf')](_0x725897=>function(_0x30fe74,_0x463bfa){return _0x463bfa['checkChild'](_0x30fe74[_0x4a67('0x1')],_0x4a67('0x17'))&&!_0x463bfa[_0x4a67('0x26')](_0x30fe74);}(_0x725897,_0x23b21f));_0x508540=_0x508540[_0x4a67('0xf')](_0x1347ce=>!_0x1347ce['is'](_0x4a67('0x21'),'listItem')||_0x1347ce[_0x4a67('0x2a')](_0x4a67('0x4'))!=_0x16f7fa);const _0x9bc6de=new Set();for(const _0x3d9b3b of _0x508540)_0x3d9b3b['is']('element',_0x4a67('0x17'))?_0x9bc6de['add'](ne(_0x3d9b3b)):_0x9bc6de[_0x4a67('0x2d')](_0x3d9b3b);return Array['from'](_0x9bc6de);}(_0x108d28[_0x4a67('0x25')](),_0x859c2f,_0x25b3d5[_0x4a67('0x12')][_0x4a67('0x29')]);_0x25b3d5[_0x4a67('0x12')]['change'](()=>{for(const _0xde6c71 of _0x5ccb15)_0x11d0c3['markBlockFormat'](_0xde6c71,{'commandName':_0x46d5a7,'commandParams':[{'forceValue':!_0x22a43a[_0x4a67('0xb')]}],'formatGroupId':'blockName'},oe(_0xde6c71));});};}function _0x49d95b(_0x43f954){return()=>{const _0x17e279=function(_0x51a511){let _0x45ee51=Array['from'](_0x51a511);const _0x5aa247=_0x45ee51[_0x4a67('0x35')](_0x2cf276=>_0x4a67('0x17')!=_0x2cf276['name']);return _0x5aa247>-0x1&&(_0x45ee51=_0x45ee51[_0x4a67('0x8')](0x0,_0x5aa247)),_0x45ee51;}(_0x25b3d5[_0x4a67('0x12')][_0x4a67('0x32')]['selection']['getSelectedBlocks']()),_0x4767e9=_0x25b3d5[_0x4a67('0x12')][_0x4a67('0x20')](_0x25b3d5[_0x4a67('0x12')]['createPositionAt'](_0x17e279[0x0],_0x4a67('0x9')),_0x25b3d5[_0x4a67('0x12')]['createPositionAt'](_0x17e279[_0x17e279[_0x4a67('0xd')]-0x1],'end'));_0x25b3d5['model'][_0x4a67('0x11')](()=>{_0x11d0c3[_0x4a67('0x2b')](_0x4767e9,{'commandName':_0x43f954,'commandParams':[],'formatGroupId':_0x4a67('0x3b')},function(_0xaced82){const _0x2f2fab=new Set();for(const _0xde98ce of _0xaced82){let _0x26a8b9=_0xde98ce[_0x4a67('0x3')];for(;_0x26a8b9&&_0x26a8b9[_0x4a67('0x2a')](_0x4a67('0x3b'))>_0xde98ce[_0x4a67('0x2a')](_0x4a67('0x3b'));)_0x2f2fab[_0x4a67('0x2d')](_0x26a8b9),_0x26a8b9=_0x26a8b9[_0x4a67('0x3')];}return Array[_0x4a67('0x2e')](_0x2f2fab);}(_0x17e279));});};}_0x11d0c3[_0x4a67('0x6')](_0x4a67('0x1d'),_0x4edd16(_0x4a67('0x1d'))),_0x11d0c3[_0x4a67('0x6')]('bulletedList',_0x4edd16(_0x4a67('0x5'))),_0x50eb92&&_0x11d0c3['enableCommand']('todoList',_0x4edd16('todoList')),_0x11d0c3[_0x4a67('0x6')]('indentList',_0x49d95b('indentList')),_0x11d0c3[_0x4a67('0x6')]('outdentList',_0x49d95b('outdentList')),_0x50eb92&&_0x11d0c3['enableCommand'](_0x4a67('0x24'),()=>{const _0xdda7ee=_0x25b3d5[_0x4a67('0x3a')]['get']('checkTodoList'),_0x2c7b84=Array[_0x4a67('0x2e')](_0xdda7ee['_selectedElements']);_0x2c7b84['filter'](_0x1f88e4=>_0x1f88e4['getAttribute'](_0x4a67('0x14'))!=_0xdda7ee[_0x4a67('0xb')]),_0x25b3d5[_0x4a67('0x12')][_0x4a67('0x11')](()=>{for(const _0x5a4902 of _0x2c7b84)_0x11d0c3[_0x4a67('0x2b')](_0x5a4902,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0xdda7ee['value']}]});});}),_0x11d0c3['_descriptionFactory'][_0x4a67('0x0')](_0x4a67('0x17'),_0x58714c=>_0x96446c(_0x4b1cb9,_0x4a67('0x33'),_0x58714c)),_0x11d0c3[_0x4a67('0x2c')][_0x4a67('0x28')](_0x11a1cb=>{const {data:_0x42578a}=_0x11a1cb;if(_0x42578a){if('numberedList'==_0x42578a[_0x4a67('0x1f')]||_0x4a67('0x5')==_0x42578a[_0x4a67('0x1f')]||_0x4a67('0x23')==_0x42578a[_0x4a67('0x1f')])switch(_0x42578a['commandName'][_0x4a67('0xc')](_0x4a67('0x16'),'')){case _0x4a67('0x10'):return _0x44ea56(_0x96446c(_0x4b1cb9,'ELEMENT_BULLETED_LIST'));case _0x4a67('0xa'):return _0x44ea56(_0x96446c(_0x4b1cb9,'ELEMENT_NUMBERED_LIST'));case _0x4a67('0x13'):return _0x44ea56(_0x96446c(_0x4b1cb9,_0x4a67('0x39')));}if('indentList'==_0x42578a[_0x4a67('0x1f')])return{'type':'format','content':_0x96446c(_0x4b1cb9,'*Indent:*\x20%0',_0x96446c(_0x4b1cb9,'ELEMENT_LIST_ITEM'))};if(_0x4a67('0x7')==_0x42578a[_0x4a67('0x1f')])return{'type':'format','content':_0x96446c(_0x4b1cb9,_0x4a67('0x22'),_0x96446c(_0x4b1cb9,'ELEMENT_LIST_ITEM'))};if(_0x4a67('0x24')==_0x42578a[_0x4a67('0x1f')])return _0x42578a[_0x4a67('0x18')][0x0]['forceValue']?{'type':_0x4a67('0x1e'),'content':_0x96446c(_0x4b1cb9,_0x4a67('0x37'))}:{'type':'format','content':_0x96446c(_0x4b1cb9,_0x4a67('0x1c'))};}function _0x44ea56(_0x1f7f7c){return{'type':_0x4a67('0x1e'),'content':_0x96446c(_0x4b1cb9,'*Change\x20to:*\x20%0',_0x1f7f7c)};}});}}function ne(_0x26c5e1){const _0x1758f4=_0x26c5e1['getAttribute']('listIndent');if(0x0==_0x1758f4)return _0x26c5e1;let _0x178215=_0x26c5e1;for(;_0x26c5e1[_0x4a67('0x2f')]&&_0x26c5e1['previousSibling']['is'](_0x4a67('0x21'),_0x4a67('0x17'));){const _0x1f55dc=_0x26c5e1[_0x4a67('0x2f')]['getAttribute'](_0x4a67('0x3b'));if(_0x1f55dc==_0x1758f4)_0x178215=_0x26c5e1[_0x4a67('0x2f')];else{if(_0x1f55dc<_0x1758f4)break;}_0x26c5e1=_0x26c5e1[_0x4a67('0x2f')];}return _0x178215;}function oe(_0x512331){const _0x342896=[];if(_0x512331['is'](_0x4a67('0x21'),_0x4a67('0x17'))&&_0x512331[_0x4a67('0x2a')]('listIndent')>0x0){let _0x40b58f=_0x512331['nextSibling'];for(;_0x40b58f&&_0x4a67('0x17')==_0x40b58f['name']&&_0x40b58f['getAttribute'](_0x4a67('0x3b'))==_0x512331[_0x4a67('0x2a')](_0x4a67('0x3b'));)_0x342896['push'](_0x40b58f),_0x40b58f=_0x40b58f[_0x4a67('0x3')];}return _0x342896;}
@@ -1,25 +1,25 @@
1
- /**
2
- * @module track-changes/integrations/listproperties
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import type { Description } from '../suggestiondescriptionfactory';
6
- import type Suggestion from '../suggestion';
7
- /**
8
- * Provides track changes plugin integration for list properties feature.
9
- */
10
- export default class TrackChangesListProperties extends Plugin {
11
- /**
12
- * @inheritDoc
13
- */
14
- afterInit(): void;
15
- handleListStyleCommand(executeCommand: Function, options?: {
16
- type?: string | null;
17
- }): void;
18
- handleListReversedCommand(executeCommand: Function, options?: {
19
- reversed?: boolean;
20
- }): void;
21
- handleListStartCommand(executeCommand: Function, options?: {
22
- startIndex?: number;
23
- }): void;
24
- handleDescriptions(suggestion: Suggestion): Description | undefined;
25
- }
1
+ /**
2
+ * @module track-changes/integrations/listproperties
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import type { Description } from '../suggestiondescriptionfactory';
6
+ import type Suggestion from '../suggestion';
7
+ /**
8
+ * Provides track changes plugin integration for list properties feature.
9
+ */
10
+ export default class TrackChangesListProperties extends Plugin {
11
+ /**
12
+ * @inheritDoc
13
+ */
14
+ afterInit(): void;
15
+ handleListStyleCommand(executeCommand: Function, options?: {
16
+ type?: string | null;
17
+ }): void;
18
+ handleListReversedCommand(executeCommand: Function, options?: {
19
+ reversed?: boolean;
20
+ }): void;
21
+ handleListStartCommand(executeCommand: Function, options?: {
22
+ startIndex?: number;
23
+ }): void;
24
+ handleDescriptions(suggestion: Suggestion): Description | undefined;
25
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ce8=['_getSuggestionBlocks','from','_getTranslationKeyForListStyle','registerDescriptionCallback','commandName','length','ELEMENT_','has','map','document','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','type','_descriptionFactory','*Change\x20to:*\x20%0','getFirstPosition','parent','listReversed','commandParams','reversed','listItem','handleListReversedCommand','getListTypeFromListStyleType','startIndex','backward','before','afterInit','getSiblingNodes','selection','handleListStyleCommand','_getSuggestionBlocksForListStyle','listStart','toUpperCase','listType','flat','change','list.properties','plugins','element','ListPropertiesEditing','getLastPosition','numbered','replace','createRange','bind','handleListStartCommand','*Format:*\x20set\x20order\x20to\x20regular','ListUtils','editor','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','get','markMultiRangeBlockFormat','config','createPositionAt','model','filter','TrackChangesEditing','getAttribute','format','enableCommand','forward','locale','handleDescriptions','push'];(function(_0xa31cd5,_0x2ce8f2){const _0x9a48b0=function(_0x29394c){while(--_0x29394c){_0xa31cd5['push'](_0xa31cd5['shift']());}};_0x9a48b0(++_0x2ce8f2);}(_0x2ce8,0x8e));const _0x9a48=function(_0xa31cd5,_0x2ce8f2){_0xa31cd5=_0xa31cd5-0x0;let _0x9a48b0=_0x2ce8[_0xa31cd5];return _0x9a48b0;};import{Plugin as _0x3215a0}from'ckeditor5/src/core';import{getTranslation as _0x5387c4}from'../utils/common-translations';export default class nt extends _0x3215a0{[_0x9a48('0xe')](){if(!this['editor'][_0x9a48('0x19')][_0x9a48('0x3c')](_0x9a48('0x1b')))return;const _0x542d42=this['editor'][_0x9a48('0x29')][_0x9a48('0x27')](_0x9a48('0x18')),_0x524cc6=this[_0x9a48('0x24')][_0x9a48('0x19')][_0x9a48('0x27')](_0x9a48('0x2d'));_0x542d42['styles']&&_0x524cc6['enableCommand'](_0x9a48('0x3f'),this[_0x9a48('0x11')]['bind'](this)),_0x542d42[_0x9a48('0x7')]&&_0x524cc6[_0x9a48('0x30')](_0x9a48('0x5'),this['handleListReversedCommand'][_0x9a48('0x20')](this)),_0x542d42[_0x9a48('0xb')]&&_0x524cc6[_0x9a48('0x30')](_0x9a48('0x13'),this[_0x9a48('0x21')][_0x9a48('0x20')](this)),_0x524cc6[_0x9a48('0x1')][_0x9a48('0x38')](this[_0x9a48('0x33')][_0x9a48('0x20')](this));}[_0x9a48('0x11')](_0x27d28b,_0x45c941={}){const _0x557328=this['editor'][_0x9a48('0x19')]['get'](_0x9a48('0x2d')),_0xccaaeb=this[_0x9a48('0x12')]();this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x557328[_0x9a48('0x28')](_0xccaaeb,{'commandName':_0x9a48('0x3f'),'commandParams':[{'type':_0x45c941[_0x9a48('0x0')]}],'formatGroupId':'listStyle'});});}[_0x9a48('0x9')](_0x484600,_0x941ad={}){const _0x5c4f6a=this['editor'][_0x9a48('0x19')]['get'](_0x9a48('0x2d')),_0x46f8b7=this['_getSuggestionBlocks'](_0x301248=>_0x301248['is'](_0x9a48('0x1a'),_0x9a48('0x8'))&&_0x9a48('0x1d')===_0x301248['getAttribute'](_0x9a48('0x15')));if(_0x46f8b7[_0x9a48('0x3a')]<0x1)return;const _0x3c00ce=_0x46f8b7[_0x9a48('0x3d')](_0x1682b3=>this[_0x9a48('0x24')]['model'][_0x9a48('0x1f')](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x1682b3,_0x9a48('0xd')),this['editor']['model'][_0x9a48('0x2a')](_0x1682b3,0x0)));this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x5c4f6a[_0x9a48('0x28')](_0x3c00ce,{'commandName':_0x9a48('0x5'),'commandParams':[{'reversed':_0x941ad['reversed']}],'formatGroupId':_0x9a48('0x5')});});}[_0x9a48('0x21')](_0x55844f,_0x2c886c={}){const _0x230db3=this[_0x9a48('0x24')][_0x9a48('0x19')][_0x9a48('0x27')](_0x9a48('0x2d')),_0x5e11ce=this[_0x9a48('0x35')](_0xa821ff=>_0xa821ff['is'](_0x9a48('0x1a'),_0x9a48('0x8'))&&_0x9a48('0x1d')===_0xa821ff[_0x9a48('0x2e')]('listType'));if(_0x5e11ce[_0x9a48('0x3a')]<0x1)return;const _0xb0e603=_0x5e11ce[_0x9a48('0x3d')](_0x5cbc1e=>this[_0x9a48('0x24')][_0x9a48('0x2b')]['createRange'](this[_0x9a48('0x24')][_0x9a48('0x2b')]['createPositionAt'](_0x5cbc1e,_0x9a48('0xd')),this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x5cbc1e,0x0)));this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x230db3[_0x9a48('0x28')](_0xb0e603,{'commandName':_0x9a48('0x13'),'commandParams':[{'startIndex':_0x2c886c[_0x9a48('0xb')]}],'formatGroupId':_0x9a48('0x13')});});}[_0x9a48('0x33')](_0x37d951){const _0x3a16ab=this[_0x9a48('0x24')][_0x9a48('0x32')],{data:_0x3f56c2}=_0x37d951;if(!_0x3f56c2)return;let _0x10d86f,_0x2911db;switch(_0x3f56c2[_0x9a48('0x39')]){case _0x9a48('0x3f'):_0x10d86f=_0x9a48('0x2'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f,_0x5387c4(_0x3a16ab,this['_getTranslationKeyForListStyle'](_0x3f56c2[_0x9a48('0x6')][0x0][_0x9a48('0x0')])))};break;case _0x9a48('0x5'):_0x10d86f=_0x3f56c2[_0x9a48('0x6')][0x0]['reversed']?_0x9a48('0x40'):_0x9a48('0x22'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f)};break;case _0x9a48('0x13'):_0x10d86f=_0x9a48('0x25'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f,_0x3f56c2[_0x9a48('0x6')][0x0]['startIndex'])};}return _0x2911db;}['_getSuggestionBlocksForListStyle'](){var _0x4d648e,_0x35be33,_0x1028ea,_0x42dd32;const _0x813b92=this[_0x9a48('0x24')]['plugins'][_0x9a48('0x27')](_0x9a48('0x23'));let _0x349d6f=Array[_0x9a48('0x36')](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')][_0x9a48('0x10')][_0x9a48('0x26')]());return(null===(_0x4d648e=_0x349d6f[0x0])||void 0x0===_0x4d648e?void 0x0:_0x4d648e['is'](_0x9a48('0x1a'),'listItem'))&&_0x349d6f['unshift'](..._0x813b92['getSiblingNodes'](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')]['selection'][_0x9a48('0x3')](),_0x9a48('0xc'))),(null===(_0x35be33=_0x349d6f[_0x349d6f[_0x9a48('0x3a')]-0x1])||void 0x0===_0x35be33?void 0x0:_0x35be33['is'](_0x9a48('0x1a'),'listItem'))&&_0x349d6f[_0x9a48('0x34')](..._0x813b92['getSiblingNodes'](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')]['selection'][_0x9a48('0x1c')](),'forward')),_0x349d6f=[...new Set(_0x349d6f)],(null===(_0x42dd32=null===(_0x1028ea=this[_0x9a48('0x24')][_0x9a48('0x2b')]['document']['selection'][_0x9a48('0x3')]())||void 0x0===_0x1028ea?void 0x0:_0x1028ea[_0x9a48('0x4')])||void 0x0===_0x42dd32?void 0x0:_0x42dd32['is'](_0x9a48('0x1a'),_0x9a48('0x8')))&&(_0x349d6f=_0x349d6f[_0x9a48('0x2c')](_0x56e994=>_0x56e994['is'](_0x9a48('0x1a'),_0x9a48('0x8')))),_0x349d6f;}[_0x9a48('0x35')](_0x252005){const _0x2f094a=this[_0x9a48('0x24')][_0x9a48('0x19')]['get'](_0x9a48('0x23'));let _0x5b4c56=Array[_0x9a48('0x36')](this['editor']['model']['document'][_0x9a48('0x10')]['getSelectedBlocks']())[_0x9a48('0x2c')](_0x252005)[_0x9a48('0x3d')](_0x1965cd=>{const _0x414873=this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x1965cd,0x0);return[..._0x2f094a['getSiblingNodes'](_0x414873,'backward'),..._0x2f094a[_0x9a48('0xf')](_0x414873,_0x9a48('0x31'))];})[_0x9a48('0x16')]();return _0x5b4c56=[...new Set(_0x5b4c56)],_0x5b4c56;}[_0x9a48('0x37')](_0x57c5eb){return _0x9a48('0x3b')+this[_0x9a48('0x24')]['plugins']['get'](_0x9a48('0x23'))[_0x9a48('0xa')](_0x57c5eb)['toUpperCase']()+'_LIST_'+_0x57c5eb[_0x9a48('0x14')]()[_0x9a48('0x1e')](/-/g,'_');}}
23
+ const _0x4c4a=['type','locale','toUpperCase','selection','getLastPosition','unshift','handleListReversedCommand','listItem','flat','listReversed','document','backward','*Format:*\x20set\x20order\x20to\x20reversed','afterInit','filter','markMultiRangeBlockFormat','has','getAttribute','ListUtils','_getSuggestionBlocks','reversed','_LIST_','handleDescriptions','model','startIndex','push','handleListStyleCommand','_getSuggestionBlocksForListStyle','createRange','createPositionAt','map','numbered','forward','listType','ListPropertiesEditing','styles','listStart','ELEMENT_','getListTypeFromListStyleType','_descriptionFactory','get','change','getFirstPosition','from','_getTranslationKeyForListStyle','bind','getSelectedBlocks','getSiblingNodes','commandName','commandParams','TrackChangesEditing','listStyle','editor','enableCommand','*Change\x20to:*\x20%0','format','plugins','element','registerDescriptionCallback','length','*Format:*\x20set\x20start\x20index\x20to\x20%0','handleListStartCommand'];(function(_0x3d0c4e,_0x4c4a71){const _0x53e258=function(_0x1da625){while(--_0x1da625){_0x3d0c4e['push'](_0x3d0c4e['shift']());}};_0x53e258(++_0x4c4a71);}(_0x4c4a,0x74));const _0x53e2=function(_0x3d0c4e,_0x4c4a71){_0x3d0c4e=_0x3d0c4e-0x0;let _0x53e258=_0x4c4a[_0x3d0c4e];return _0x53e258;};import{Plugin as _0xaf2769}from'ckeditor5/src/core';import{getTranslation as _0x2cdbf4}from'../utils/common-translations';export default class nt extends _0xaf2769{[_0x53e2('0x15')](){if(!this[_0x53e2('0x3c')][_0x53e2('0x2')][_0x53e2('0x18')](_0x53e2('0x2a')))return;const _0x56ee1a=this['editor']['config'][_0x53e2('0x30')]('list.properties'),_0x835163=this[_0x53e2('0x3c')][_0x53e2('0x2')][_0x53e2('0x30')](_0x53e2('0x3a'));_0x56ee1a[_0x53e2('0x2b')]&&_0x835163['enableCommand'](_0x53e2('0x3b'),this[_0x53e2('0x22')][_0x53e2('0x35')](this)),_0x56ee1a[_0x53e2('0x1c')]&&_0x835163[_0x53e2('0x3d')](_0x53e2('0x11'),this[_0x53e2('0xe')]['bind'](this)),_0x56ee1a[_0x53e2('0x20')]&&_0x835163[_0x53e2('0x3d')](_0x53e2('0x2c'),this['handleListStartCommand'][_0x53e2('0x35')](this)),_0x835163[_0x53e2('0x2f')][_0x53e2('0x4')](this[_0x53e2('0x1e')][_0x53e2('0x35')](this));}['handleListStyleCommand'](_0x1dd00f,_0x5c1fac={}){const _0x6e6b55=this[_0x53e2('0x3c')][_0x53e2('0x2')][_0x53e2('0x30')](_0x53e2('0x3a')),_0x5c8f67=this[_0x53e2('0x23')]();this[_0x53e2('0x3c')][_0x53e2('0x1f')][_0x53e2('0x31')](()=>{_0x6e6b55['markMultiRangeBlockFormat'](_0x5c8f67,{'commandName':_0x53e2('0x3b'),'commandParams':[{'type':_0x5c1fac[_0x53e2('0x8')]}],'formatGroupId':_0x53e2('0x3b')});});}[_0x53e2('0xe')](_0x25dcda,_0x2607ac={}){const _0x2f374f=this[_0x53e2('0x3c')][_0x53e2('0x2')][_0x53e2('0x30')](_0x53e2('0x3a')),_0x11cbf2=this[_0x53e2('0x1b')](_0x5714cd=>_0x5714cd['is'](_0x53e2('0x3'),_0x53e2('0xf'))&&_0x53e2('0x27')===_0x5714cd[_0x53e2('0x19')](_0x53e2('0x29')));if(_0x11cbf2[_0x53e2('0x5')]<0x1)return;const _0xf0e376=_0x11cbf2[_0x53e2('0x26')](_0x30fbbf=>this[_0x53e2('0x3c')]['model'][_0x53e2('0x24')](this[_0x53e2('0x3c')][_0x53e2('0x1f')][_0x53e2('0x25')](_0x30fbbf,'before'),this[_0x53e2('0x3c')][_0x53e2('0x1f')]['createPositionAt'](_0x30fbbf,0x0)));this[_0x53e2('0x3c')][_0x53e2('0x1f')][_0x53e2('0x31')](()=>{_0x2f374f['markMultiRangeBlockFormat'](_0xf0e376,{'commandName':_0x53e2('0x11'),'commandParams':[{'reversed':_0x2607ac['reversed']}],'formatGroupId':'listReversed'});});}[_0x53e2('0x7')](_0x235088,_0x3beb7b={}){const _0x3cb644=this['editor'][_0x53e2('0x2')]['get'](_0x53e2('0x3a')),_0x31d0fd=this[_0x53e2('0x1b')](_0x44f58a=>_0x44f58a['is'](_0x53e2('0x3'),_0x53e2('0xf'))&&'numbered'===_0x44f58a[_0x53e2('0x19')]('listType'));if(_0x31d0fd['length']<0x1)return;const _0x527645=_0x31d0fd[_0x53e2('0x26')](_0x52b12b=>this[_0x53e2('0x3c')][_0x53e2('0x1f')][_0x53e2('0x24')](this[_0x53e2('0x3c')]['model']['createPositionAt'](_0x52b12b,'before'),this['editor'][_0x53e2('0x1f')][_0x53e2('0x25')](_0x52b12b,0x0)));this[_0x53e2('0x3c')][_0x53e2('0x1f')]['change'](()=>{_0x3cb644[_0x53e2('0x17')](_0x527645,{'commandName':_0x53e2('0x2c'),'commandParams':[{'startIndex':_0x3beb7b[_0x53e2('0x20')]}],'formatGroupId':_0x53e2('0x2c')});});}['handleDescriptions'](_0x3ab27b){const _0x26232a=this[_0x53e2('0x3c')][_0x53e2('0x9')],{data:_0x5eadee}=_0x3ab27b;if(!_0x5eadee)return;let _0x5c4235,_0xb60932;switch(_0x5eadee[_0x53e2('0x38')]){case _0x53e2('0x3b'):_0x5c4235=_0x53e2('0x0'),_0xb60932={'type':_0x53e2('0x1'),'content':_0x2cdbf4(_0x26232a,_0x5c4235,_0x2cdbf4(_0x26232a,this[_0x53e2('0x34')](_0x5eadee[_0x53e2('0x39')][0x0][_0x53e2('0x8')])))};break;case'listReversed':_0x5c4235=_0x5eadee[_0x53e2('0x39')][0x0][_0x53e2('0x1c')]?_0x53e2('0x14'):'*Format:*\x20set\x20order\x20to\x20regular',_0xb60932={'type':'format','content':_0x2cdbf4(_0x26232a,_0x5c4235)};break;case'listStart':_0x5c4235=_0x53e2('0x6'),_0xb60932={'type':_0x53e2('0x1'),'content':_0x2cdbf4(_0x26232a,_0x5c4235,_0x5eadee[_0x53e2('0x39')][0x0][_0x53e2('0x20')])};}return _0xb60932;}['_getSuggestionBlocksForListStyle'](){var _0x474895,_0x5915ad,_0x3f488c,_0x56cc53;const _0x5b3357=this[_0x53e2('0x3c')][_0x53e2('0x2')][_0x53e2('0x30')](_0x53e2('0x1a'));let _0x388056=Array[_0x53e2('0x33')](this['editor'][_0x53e2('0x1f')]['document']['selection'][_0x53e2('0x36')]());return(null===(_0x474895=_0x388056[0x0])||void 0x0===_0x474895?void 0x0:_0x474895['is'](_0x53e2('0x3'),_0x53e2('0xf')))&&_0x388056[_0x53e2('0xd')](..._0x5b3357[_0x53e2('0x37')](this[_0x53e2('0x3c')]['model'][_0x53e2('0x12')]['selection']['getFirstPosition'](),_0x53e2('0x13'))),(null===(_0x5915ad=_0x388056[_0x388056[_0x53e2('0x5')]-0x1])||void 0x0===_0x5915ad?void 0x0:_0x5915ad['is']('element',_0x53e2('0xf')))&&_0x388056[_0x53e2('0x21')](..._0x5b3357[_0x53e2('0x37')](this[_0x53e2('0x3c')][_0x53e2('0x1f')][_0x53e2('0x12')][_0x53e2('0xb')][_0x53e2('0xc')](),_0x53e2('0x28'))),_0x388056=[...new Set(_0x388056)],(null===(_0x56cc53=null===(_0x3f488c=this[_0x53e2('0x3c')]['model'][_0x53e2('0x12')][_0x53e2('0xb')][_0x53e2('0x32')]())||void 0x0===_0x3f488c?void 0x0:_0x3f488c['parent'])||void 0x0===_0x56cc53?void 0x0:_0x56cc53['is'](_0x53e2('0x3'),_0x53e2('0xf')))&&(_0x388056=_0x388056[_0x53e2('0x16')](_0x5a708a=>_0x5a708a['is'](_0x53e2('0x3'),'listItem'))),_0x388056;}[_0x53e2('0x1b')](_0x1f95e8){const _0x3ab0ee=this[_0x53e2('0x3c')][_0x53e2('0x2')][_0x53e2('0x30')](_0x53e2('0x1a'));let _0x5daa6d=Array['from'](this['editor'][_0x53e2('0x1f')][_0x53e2('0x12')][_0x53e2('0xb')][_0x53e2('0x36')]())[_0x53e2('0x16')](_0x1f95e8)['map'](_0x65e422=>{const _0x230fbc=this[_0x53e2('0x3c')][_0x53e2('0x1f')][_0x53e2('0x25')](_0x65e422,0x0);return[..._0x3ab0ee[_0x53e2('0x37')](_0x230fbc,_0x53e2('0x13')),..._0x3ab0ee['getSiblingNodes'](_0x230fbc,_0x53e2('0x28'))];})[_0x53e2('0x10')]();return _0x5daa6d=[...new Set(_0x5daa6d)],_0x5daa6d;}['_getTranslationKeyForListStyle'](_0x20ddea){return _0x53e2('0x2d')+this[_0x53e2('0x3c')][_0x53e2('0x2')][_0x53e2('0x30')](_0x53e2('0x1a'))[_0x53e2('0x2e')](_0x20ddea)[_0x53e2('0xa')]()+_0x53e2('0x1d')+_0x20ddea[_0x53e2('0xa')]()['replace'](/-/g,'_');}}
@@ -1,13 +1,13 @@
1
- /**
2
- * @module track-changes/integrations/mediaembed
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
7
- */
8
- export default class TrackChangesMediaEmbed extends Plugin {
9
- /**
10
- * @inheritDoc
11
- */
12
- afterInit(): void;
13
- }
1
+ /**
2
+ * @module track-changes/integrations/mediaembed
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
7
+ */
8
+ export default class TrackChangesMediaEmbed extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35d4=['downcastDispatcher','plugins','editor','TrackChangesEditing','registerElementLabel','_descriptionFactory','ELEMENT_MEDIA','options','afterInit','attribute:url:media','MediaEmbedEditing','showSuggestionHighlights','conversion','enableCommand','for','high'];(function(_0x1263be,_0x35d47f){const _0xd77aae=function(_0x159a62){while(--_0x159a62){_0x1263be['push'](_0x1263be['shift']());}};_0xd77aae(++_0x35d47f);}(_0x35d4,0xb1));const _0xd77a=function(_0x1263be,_0x35d47f){_0x1263be=_0x1263be-0x0;let _0xd77aae=_0x35d4[_0x1263be];return _0xd77aae;};import{Plugin as _0x370ac1}from'ckeditor5/src/core';import{getTranslation as _0x1f5220}from'../utils/common-translations';export default class ot extends _0x370ac1{[_0xd77a('0x7')](){const _0x318010=this[_0xd77a('0x1')];if(!_0x318010[_0xd77a('0x0')]['has'](_0xd77a('0x9')))return;const _0x5b1c31=_0x318010[_0xd77a('0x0')]['get'](_0xd77a('0x2')),_0xd91df0=_0x318010['locale'];_0x5b1c31[_0xd77a('0xc')]('mediaEmbed'),_0x5b1c31[_0xd77a('0x4')][_0xd77a('0x3')]('media',_0x25ce67=>_0x1f5220(_0xd91df0,_0xd77a('0x5'),_0x25ce67)),_0x318010[_0xd77a('0xb')][_0xd77a('0xd')]('dataDowncast')['elementToElement']({'model':'media','view':(_0x26e2ab,{writer:_0x248a49,options:_0xdee67d})=>{if(_0xdee67d['showSuggestionHighlights'])return _0x248a49['createEmptyElement']('div');},'converterPriority':_0xd77a('0xe')}),_0x318010['data'][_0xd77a('0xf')]['on'](_0xd77a('0x8'),(_0x265487,_0x3989dd,_0x103ae0)=>{_0x103ae0[_0xd77a('0x6')][_0xd77a('0xa')]&&_0x265487['stop']();},{'priority':_0xd77a('0xe')});}}
23
+ const _0x7b7b=['dataDowncast','options','TrackChangesEditing','div','MediaEmbedEditing','has','downcastDispatcher','editor','high','_descriptionFactory','data','plugins','ELEMENT_MEDIA','elementToElement','registerElementLabel','media','locale','afterInit','showSuggestionHighlights','createEmptyElement','attribute:url:media','get','mediaEmbed','for','enableCommand'];(function(_0x19c696,_0x7b7b38){const _0x1e0366=function(_0x6d2c68){while(--_0x6d2c68){_0x19c696['push'](_0x19c696['shift']());}};_0x1e0366(++_0x7b7b38);}(_0x7b7b,0xd0));const _0x1e03=function(_0x19c696,_0x7b7b38){_0x19c696=_0x19c696-0x0;let _0x1e0366=_0x7b7b[_0x19c696];return _0x1e0366;};import{Plugin as _0xc64cb2}from'ckeditor5/src/core';import{getTranslation as _0x20d997}from'../utils/common-translations';export default class ot extends _0xc64cb2{[_0x1e03('0x9')](){const _0x4a931b=this[_0x1e03('0x18')];if(!_0x4a931b[_0x1e03('0x3')][_0x1e03('0x16')](_0x1e03('0x15')))return;const _0xbdde99=_0x4a931b[_0x1e03('0x3')][_0x1e03('0xd')](_0x1e03('0x13')),_0xc51a70=_0x4a931b[_0x1e03('0x8')];_0xbdde99[_0x1e03('0x10')](_0x1e03('0xe')),_0xbdde99[_0x1e03('0x1')][_0x1e03('0x6')](_0x1e03('0x7'),_0x415e74=>_0x20d997(_0xc51a70,_0x1e03('0x4'),_0x415e74)),_0x4a931b['conversion'][_0x1e03('0xf')](_0x1e03('0x11'))[_0x1e03('0x5')]({'model':'media','view':(_0x55deee,{writer:_0x5280c6,options:_0x4a1c75})=>{if(_0x4a1c75[_0x1e03('0xa')])return _0x5280c6[_0x1e03('0xb')](_0x1e03('0x14'));},'converterPriority':_0x1e03('0x0')}),_0x4a931b[_0x1e03('0x2')][_0x1e03('0x17')]['on'](_0x1e03('0xc'),(_0x5f4c26,_0x547ef9,_0x4d52b5)=>{_0x4d52b5[_0x1e03('0x12')][_0x1e03('0xa')]&&_0x5f4c26['stop']();},{'priority':_0x1e03('0x0')});}}
@@ -1,13 +1,13 @@
1
- /**
2
- * @module track-changes/integrations/mention
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for mention feature.
7
- */
8
- export default class TrackChangesMention extends Plugin {
9
- /**
10
- * @inheritDoc
11
- */
12
- afterInit(): void;
13
- }
1
+ /**
2
+ * @module track-changes/integrations/mention
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for mention feature.
7
+ */
8
+ export default class TrackChangesMention extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f2d=['plugins','get','afterInit','editor','MentionEditing','has','TrackChangesEditing','mention'];(function(_0x1e084b,_0x3f2dc4){const _0x19472f=function(_0x50a54b){while(--_0x50a54b){_0x1e084b['push'](_0x1e084b['shift']());}};_0x19472f(++_0x3f2dc4);}(_0x3f2d,0xe2));const _0x1947=function(_0x1e084b,_0x3f2dc4){_0x1e084b=_0x1e084b-0x0;let _0x19472f=_0x3f2d[_0x1e084b];return _0x19472f;};import{Plugin as _0x4cca20}from'ckeditor5/src/core';export default class rt extends _0x4cca20{[_0x1947('0x0')](){const _0x236e0c=this[_0x1947('0x1')];_0x236e0c[_0x1947('0x6')][_0x1947('0x3')](_0x1947('0x2'))&&_0x236e0c['plugins'][_0x1947('0x7')](_0x1947('0x4'))['enableCommand'](_0x1947('0x5'));}}
23
+ const _0xf051=['plugins','MentionEditing','has','mention','get','TrackChangesEditing','editor'];(function(_0x2030bf,_0xf0515){const _0x1e8b94=function(_0x499a55){while(--_0x499a55){_0x2030bf['push'](_0x2030bf['shift']());}};_0x1e8b94(++_0xf0515);}(_0xf051,0xeb));const _0x1e8b=function(_0x2030bf,_0xf0515){_0x2030bf=_0x2030bf-0x0;let _0x1e8b94=_0xf051[_0x2030bf];return _0x1e8b94;};import{Plugin as _0x3851bb}from'ckeditor5/src/core';export default class rt extends _0x3851bb{['afterInit'](){const _0x42b3dc=this[_0x1e8b('0x2')];_0x42b3dc[_0x1e8b('0x3')][_0x1e8b('0x5')](_0x1e8b('0x4'))&&_0x42b3dc[_0x1e8b('0x3')][_0x1e8b('0x0')](_0x1e8b('0x1'))['enableCommand'](_0x1e8b('0x6'));}}
@@ -1,13 +1,13 @@
1
- /**
2
- * @module track-changes/integrations/pagebreak
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
7
- */
8
- export default class TrackChangesPageBreak extends Plugin {
9
- /**
10
- * @inheritDoc
11
- */
12
- afterInit(): void;
13
- }
1
+ /**
2
+ * @module track-changes/integrations/pagebreak
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
7
+ */
8
+ export default class TrackChangesPageBreak extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeadb=['has','locale','get','TrackChangesEditing','ELEMENT_PAGE_BREAK','enableCommand','editor','pageBreak','plugins','_descriptionFactory','afterInit'];(function(_0x180866,_0xeadbac){const _0x2727ba=function(_0x254e60){while(--_0x254e60){_0x180866['push'](_0x180866['shift']());}};_0x2727ba(++_0xeadbac);}(_0xeadb,0xc9));const _0x2727=function(_0x180866,_0xeadbac){_0x180866=_0x180866-0x0;let _0x2727ba=_0xeadb[_0x180866];return _0x2727ba;};import{Plugin as _0x295eab}from'ckeditor5/src/core';import{getTranslation as _0x5e0cd0}from'../utils/common-translations';export default class at extends _0x295eab{[_0x2727('0x7')](){const _0x2cba39=this[_0x2727('0x3')];if(!_0x2cba39['plugins'][_0x2727('0x8')]('PageBreakEditing'))return;_0x2cba39[_0x2727('0x5')][_0x2727('0xa')](_0x2727('0x0'))[_0x2727('0x2')](_0x2727('0x4'));const _0x1a31f0=_0x2cba39['plugins'][_0x2727('0xa')]('TrackChangesEditing'),_0x390f4d=_0x2cba39[_0x2727('0x9')];_0x1a31f0[_0x2727('0x6')]['registerElementLabel'](_0x2727('0x4'),_0x12f768=>_0x5e0cd0(_0x390f4d,_0x2727('0x1'),_0x12f768));}}
23
+ const _0x5e42=['get','plugins','enableCommand','locale','PageBreakEditing','afterInit','editor','ELEMENT_PAGE_BREAK','has','pageBreak','TrackChangesEditing'];(function(_0x3052e4,_0x5e426a){const _0x3b1478=function(_0x436360){while(--_0x436360){_0x3052e4['push'](_0x3052e4['shift']());}};_0x3b1478(++_0x5e426a);}(_0x5e42,0x12f));const _0x3b14=function(_0x3052e4,_0x5e426a){_0x3052e4=_0x3052e4-0x0;let _0x3b1478=_0x5e42[_0x3052e4];return _0x3b1478;};import{Plugin as _0x4b0b94}from'ckeditor5/src/core';import{getTranslation as _0x438be3}from'../utils/common-translations';export default class at extends _0x4b0b94{[_0x3b14('0xa')](){const _0x26411c=this[_0x3b14('0x0')];if(!_0x26411c[_0x3b14('0x6')][_0x3b14('0x2')](_0x3b14('0x9')))return;_0x26411c[_0x3b14('0x6')][_0x3b14('0x5')](_0x3b14('0x4'))[_0x3b14('0x7')](_0x3b14('0x3'));const _0x429055=_0x26411c[_0x3b14('0x6')][_0x3b14('0x5')]('TrackChangesEditing'),_0x2efc8f=_0x26411c[_0x3b14('0x8')];_0x429055['_descriptionFactory']['registerElementLabel']('pageBreak',_0x15c50a=>_0x438be3(_0x2efc8f,_0x3b14('0x1'),_0x15c50a));}}
@@ -1,13 +1,13 @@
1
- /**
2
- * @module track-changes/integrations/paragraph
3
- */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for paragraph feature.
7
- */
8
- export default class TrackChangesParagraph extends Plugin {
9
- /**
10
- * @inheritDoc
11
- */
12
- afterInit(): void;
13
- }
1
+ /**
2
+ * @module track-changes/integrations/paragraph
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for paragraph feature.
7
+ */
8
+ export default class TrackChangesParagraph extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }