@ckeditor/ckeditor5-track-changes 38.0.1 → 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 +10 -8
  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 -12
  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 -11
  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 -11
  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 -11
  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 -17
  86. package/src/integrations/tablecaption.js +1 -1
  87. package/src/integrations/tableclipboard.d.ts +18 -17
  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 -17
  92. package/src/integrations/tableheadings.js +1 -1
  93. package/src/integrations/tablemergesplit.d.ts +18 -17
  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 -38
  115. package/src/trackchangesdata.js +1 -1
  116. package/src/trackchangesediting.d.ts +435 -391
  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 -184
  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 _0x36f6=['high','_handleImportedData','execute','editor','get','_trackChangesValueDuringImport','TrackChangesEditing','bind','Users','dataInsert','importWord','plugins','enableCommand','value','commands','_setSuggestionData','forEach','collaboration_features','listenTo','_trackChangesExecuted','trackChanges','track_changes','lowest'];(function(_0x3e1fcf,_0x36f6e1){const _0x2af416=function(_0x1186af){while(--_0x1186af){_0x3e1fcf['push'](_0x3e1fcf['shift']());}};_0x2af416(++_0x36f6e1);}(_0x36f6,0x169));const _0x2af4=function(_0x3e1fcf,_0x36f6e1){_0x3e1fcf=_0x3e1fcf-0x0;let _0x2af416=_0x36f6[_0x3e1fcf];return _0x2af416;};import{Plugin as _0x2eaf98}from'ckeditor5/src/core';export default class Z extends _0x2eaf98{constructor(_0x53cc9a){super(_0x53cc9a),this[_0x2af4('0xc')]=!0x1,this[_0x2af4('0x3')]=!0x1;}['afterInit'](){const _0x4b7b31=this['editor'],_0x17776f=_0x4b7b31[_0x2af4('0x15')][_0x2af4('0xb')](_0x2af4('0x11')),_0x361be0=_0x4b7b31[_0x2af4('0x15')][_0x2af4('0xb')](_0x2af4('0x4'));_0x17776f&&(_0x17776f['on'](_0x2af4('0x9'),(_0x3aaf6a,[,_0x282b9d])=>{this[_0x2af4('0xc')]=_0x361be0['value'],_0x282b9d[_0x2af4('0x1')][_0x2af4('0x5')]=!this[_0x2af4('0xc')];},{'priority':_0x2af4('0x7')}),this[_0x2af4('0x2')](_0x17776f,_0x2af4('0x10'),this['_handleImportedData'][_0x2af4('0xe')](this)),this[_0x2af4('0x2')](_0x17776f,'dataInsert',()=>{this[_0x2af4('0x3')]&&(_0x361be0[_0x2af4('0x9')](),this[_0x2af4('0x3')]=!0x1);},{'priority':_0x2af4('0x6')}),_0x4b7b31[_0x2af4('0x12')][_0x2af4('0xb')](_0x2af4('0xd'))[_0x2af4('0x13')]('importWord'));}[_0x2af4('0x8')](_0x1afcc2,_0x3265b7){const {suggestions:_0xc50232}=_0x3265b7,_0xc1a5a4=this[_0x2af4('0xa')]['commands'][_0x2af4('0xb')](_0x2af4('0x4')),_0x14b6e3=_0xc1a5a4[_0x2af4('0x14')];this['_trackChangesValueDuringImport']!==_0x14b6e3&&(_0xc1a5a4[_0x2af4('0x9')](),this['_trackChangesExecuted']=!0x0),_0xc50232&&_0xc50232[_0x2af4('0x0')](({id:_0x31ada1,type:_0x113c84,author:_0x806574,created_at:_0x5e56d4})=>{const _0x15b754={'id':_0x31ada1,'type':_0x113c84,'authorId':this[_0x2af4('0xa')][_0x2af4('0x12')][_0x2af4('0xb')](_0x2af4('0xf'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x806574,'createdAt':_0x5e56d4?new Date(_0x5e56d4):new Date(),'source':_0x2af4('0x11')}}};this[_0x2af4('0xa')]['plugins'][_0x2af4('0xb')]('TrackChangesEditing')[_0x2af4('0x16')](_0x15b754);});}}
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 _0x5379=['has','plugins','format','outdent','afterInit','commandName','get','locale','markBlockFormat','enableCommand','document','IndentEditing','filter','getSelectedBlocks','schema','getItemLabel','editor','selection','model','_descriptionFactory','*Indent:*\x20%0','blockIndent','change','indentBlock','*Outdent:*\x20%0','outdentBlock'];(function(_0x1a1280,_0x537900){const _0xde628b=function(_0x539671){while(--_0x539671){_0x1a1280['push'](_0x1a1280['shift']());}};_0xde628b(++_0x537900);}(_0x5379,0xd1));const _0xde62=function(_0x1a1280,_0x537900){_0x1a1280=_0x1a1280-0x0;let _0xde628b=_0x5379[_0x1a1280];return _0xde628b;};import{Plugin as _0x1e928c}from'ckeditor5/src/core';import{getTranslation as _0x28d68a}from'../utils/common-translations';export default class tt extends _0x1e928c{[_0xde62('0x3')](){const _0x4f8b99=this['editor'],_0x256bb4=_0x4f8b99[_0xde62('0x0')][_0xde62('0x5')]('TrackChangesEditing');_0x4f8b99[_0xde62('0x0')][_0xde62('0x19')](_0xde62('0xa'))&&(_0x256bb4['enableCommand']('indent'),_0x256bb4[_0xde62('0x8')](_0xde62('0x2')));const _0x1fb292=_0x4f8b99[_0xde62('0x6')];if(_0x4f8b99[_0xde62('0x0')][_0xde62('0x19')]('IndentBlock')){for(const _0xc5df2e of[_0xde62('0x16'),_0xde62('0x18')])_0x256bb4[_0xde62('0x8')](_0xc5df2e,()=>{const _0xf71349=Array['from'](this['editor'][_0xde62('0x11')][_0xde62('0x9')][_0xde62('0x10')][_0xde62('0xc')]())[_0xde62('0xb')](_0x2e2c3d=>this[_0xde62('0xf')][_0xde62('0x11')][_0xde62('0xd')]['checkAttribute'](_0x2e2c3d,_0xde62('0x14')));_0x4f8b99[_0xde62('0x11')][_0xde62('0x15')](()=>{for(const _0x5425ac of _0xf71349)_0x256bb4[_0xde62('0x7')](_0x5425ac,{'commandName':_0xc5df2e,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x256bb4['_descriptionFactory']['registerDescriptionCallback'](_0x421df9=>{const {data:_0x3ecbbd}=_0x421df9;if(!_0x3ecbbd)return;if(_0xde62('0x16')!=_0x3ecbbd[_0xde62('0x4')]&&'outdentBlock'!=_0x3ecbbd[_0xde62('0x4')])return;const _0x5ee8d2=_0x421df9['getItems']()[0x0],_0x1b9e5e=_0x256bb4[_0xde62('0x12')][_0xde62('0xe')](_0x5ee8d2);return _0xde62('0x16')==_0x3ecbbd[_0xde62('0x4')]?{'type':'format','content':_0x28d68a(_0x1fb292,_0xde62('0x13'),_0x1b9e5e)}:_0xde62('0x18')==_0x3ecbbd[_0xde62('0x4')]?{'type':_0xde62('0x1'),'content':_0x28d68a(_0x1fb292,_0xde62('0x17'),_0x1b9e5e)}: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,11 +1,12 @@
1
- /**
2
- * @module track-changes/integrations/inputcommand/inputcommand
3
- */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
5
- /**
6
- * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
7
- */
8
- export default class TrackChangesInputCommand extends Plugin {
9
- static get requires(): PluginDependencies;
10
- init(): void;
11
- }
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 _0x5727=['TrackChangesEditing','requires','editor','get','init','plugins','input'];(function(_0x394cbf,_0x5727cc){var _0xc412d0=function(_0x37c8ba){while(--_0x37c8ba){_0x394cbf['push'](_0x394cbf['shift']());}};_0xc412d0(++_0x5727cc);}(_0x5727,0x154));var _0xc412=function(_0x394cbf,_0x5727cc){_0x394cbf=_0x394cbf-0x0;var _0xc412d0=_0x5727[_0x394cbf];return _0xc412d0;};import{Plugin as _0x128067}from'ckeditor5/src/core';import{Input as _0x1d197a}from'ckeditor5/src/typing';export default class it extends _0x128067{static get[_0xc412('0x4')](){return[_0x1d197a];}[_0xc412('0x0')](){this[_0xc412('0x5')][_0xc412('0x1')][_0xc412('0x6')](_0xc412('0x3'))['enableCommand'](_0xc412('0x2'));}}
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 _0x266c=['afterInit','plugins','change','from','registerDescriptionCallback','enableCommand','getAttribute','document','format','getRanges','linkHref','isCollapsed','getFirstRange','*Set\x20link:*\x20%0','editor','selection','getFirstPosition','markInlineFormat','link','*Remove\x20link*','commandName','hasAttribute','get','model','commandParams','unlink'];(function(_0x2fa1f7,_0x266c52){const _0x4148bb=function(_0x3a4cd9){while(--_0x3a4cd9){_0x2fa1f7['push'](_0x2fa1f7['shift']());}};_0x4148bb(++_0x266c52);}(_0x266c,0x12c));const _0x4148=function(_0x2fa1f7,_0x266c52){_0x2fa1f7=_0x2fa1f7-0x0;let _0x4148bb=_0x266c[_0x2fa1f7];return _0x4148bb;};import{Plugin as _0x10a78c}from'ckeditor5/src/core';import{findAttributeRange as _0x4aa3bd}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x35db2a}from'./utils';import{getTranslation as _0x528f3c}from'../utils/common-translations';export default class et extends _0x10a78c{[_0x4148('0xc')](){const _0x527c6c=this[_0x4148('0x0')];if(!_0x527c6c[_0x4148('0xd')]['has']('LinkEditing'))return;const _0x2577fb=_0x527c6c[_0x4148('0xd')][_0x4148('0x8')]('TrackChangesEditing');_0x2577fb[_0x4148('0x11')](_0x4148('0x4'),(_0xc1ee05,_0x1ff4ae)=>{const _0x21ab7e=_0x527c6c['model'][_0x4148('0x13')][_0x4148('0x1')];let _0x2bc72a=[];if(_0x21ab7e[_0x4148('0x17')]){if(!_0x21ab7e[_0x4148('0x7')](_0x4148('0x16')))return void _0xc1ee05(_0x1ff4ae);{const _0x4e4559=_0x4aa3bd(_0x21ab7e['getFirstPosition'](),_0x4148('0x16'),_0x21ab7e['getAttribute'](_0x4148('0x16')),_0x527c6c[_0x4148('0x9')]);_0x2bc72a=[_0x4e4559];}}else _0x2bc72a=Array[_0x4148('0xf')](_0x21ab7e[_0x4148('0x15')]());_0x527c6c[_0x4148('0x9')][_0x4148('0xe')](()=>{for(const _0x5a83dc of _0x2bc72a)_0x2577fb[_0x4148('0x3')](_0x5a83dc,{'commandName':_0x4148('0x4'),'commandParams':[_0x1ff4ae]});});}),_0x2577fb[_0x4148('0x11')](_0x4148('0xb'),()=>{const _0x1229dd=this[_0x4148('0x0')][_0x4148('0x9')],_0x1cde64=_0x1229dd[_0x4148('0x13')][_0x4148('0x1')];_0x1229dd[_0x4148('0xe')](()=>{let _0x240a96=[];if(_0x1cde64[_0x4148('0x17')])_0x240a96=[_0x4aa3bd(_0x1cde64[_0x4148('0x2')](),_0x4148('0x16'),_0x1cde64[_0x4148('0x12')]('linkHref'),_0x527c6c[_0x4148('0x9')])];else _0x240a96=_0x35db2a('linkHref',_0x1cde64[_0x4148('0x18')](),_0x527c6c['model']);for(const _0x2884ef of _0x240a96)_0x2577fb[_0x4148('0x3')](_0x2884ef,{'commandName':'unlink','commandParams':[]});});}),_0x2577fb['_descriptionFactory'][_0x4148('0x10')](_0x17169e=>{const {data:_0x21cfe6}=_0x17169e,_0x558a1f=_0x527c6c['locale'];if(_0x21cfe6){if(_0x4148('0x4')==_0x21cfe6[_0x4148('0x6')]){const _0x2205ad=_0x21cfe6[_0x4148('0xa')][0x0];return{'type':_0x4148('0x14'),'content':_0x528f3c(_0x558a1f,_0x4148('0x19'),'\x22'+_0x2205ad+'\x22')};}return'unlink'==_0x21cfe6[_0x4148('0x6')]?{'type':_0x4148('0x14'),'content':_0x528f3c(_0x558a1f,_0x4148('0x5'))}: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 _0x573f=['listIndent','blockName','commandParams','from','registerElementLabel','schema','afterInit','value','replace','isObject','nextSibling','model','getAttribute','commands','checkChild','createPositionAt','before','ELEMENT_LIST_ITEM','change','getSelectedBlocks','plugins','todoList','document','get','List','format','paragraph','editor','todoListChecked','markBlockFormat','commandName','*Change\x20to:*\x20%0','*Uncheck\x20item*','add','ELEMENT_NUMBERED_LIST','*Outdent:*\x20%0','element','parent','filter','numberedList','checkTodoList','name','outdentList','bulletedList','enableCommand','_descriptionFactory','*Indent:*\x20%0','todo','previousSibling','selection','has','forceValue','numbered','listItem','indentList'];(function(_0x1ae37a,_0x573fd8){const _0x1e9fca=function(_0x2bbbbc){while(--_0x2bbbbc){_0x1ae37a['push'](_0x1ae37a['shift']());}};_0x1e9fca(++_0x573fd8);}(_0x573f,0xd5));const _0x1e9f=function(_0x1ae37a,_0x573fd8){_0x1ae37a=_0x1ae37a-0x0;let _0x1e9fca=_0x573f[_0x1ae37a];return _0x1e9fca;};import{Plugin as _0x2b121c}from'ckeditor5/src/core';import{getTranslation as _0x44bcc2}from'../utils/common-translations';export default class st extends _0x2b121c{[_0x1e9f('0xd')](){const _0x6f638e=this[_0x1e9f('0x22')],_0x34e0db=_0x6f638e['locale'];if(!_0x6f638e[_0x1e9f('0x1b')][_0x1e9f('0x2')]('ListEditing'))return;const _0x540429=_0x6f638e['plugins'][_0x1e9f('0x1e')]('TrackChangesEditing'),_0x1e97b4=_0x6f638e[_0x1e9f('0x1b')]['has']('TodoListEditing');function _0x1f2609(_0x1c8e74){return()=>{const _0x40aa06=_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x1d')][_0x1e9f('0x1')],_0x17b544=_0x6f638e['commands'][_0x1e9f('0x1e')](_0x1c8e74);if(_0x17b544['value'])return void _0x6f638e['execute'](_0x1e9f('0x21'),{});const _0xb74b96=_0x1c8e74['slice'](0x0,-0x4),_0x3d0ba1=function(_0x4e9535,_0x1ad7b6,_0x1f93ec){let _0x267de8=Array[_0x1e9f('0xa')](_0x4e9535)[_0x1e9f('0x2d')](_0x2e804c=>function(_0x1cc8df,_0x3e18cf){return _0x3e18cf[_0x1e9f('0x15')](_0x1cc8df[_0x1e9f('0x2c')],'listItem')&&!_0x3e18cf[_0x1e9f('0x10')](_0x1cc8df);}(_0x2e804c,_0x1f93ec));_0x267de8=_0x267de8['filter'](_0x24942a=>!_0x24942a['is'](_0x1e9f('0x2b'),'listItem')||_0x24942a[_0x1e9f('0x13')]('listType')!=_0x1ad7b6);const _0x4065f8=new Set();for(const _0x5a952a of _0x267de8)_0x5a952a['is'](_0x1e9f('0x2b'),_0x1e9f('0x5'))?_0x4065f8['add'](ne(_0x5a952a)):_0x4065f8[_0x1e9f('0x28')](_0x5a952a);return Array[_0x1e9f('0xa')](_0x4065f8);}(_0x40aa06[_0x1e9f('0x1a')](),_0xb74b96,_0x6f638e['model'][_0x1e9f('0xc')]);_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x19')](()=>{for(const _0x31b1b6 of _0x3d0ba1)_0x540429[_0x1e9f('0x24')](_0x31b1b6,{'commandName':_0x1c8e74,'commandParams':[{'forceValue':!_0x17b544[_0x1e9f('0xe')]}],'formatGroupId':_0x1e9f('0x8')},oe(_0x31b1b6));});};}function _0x4f5748(_0x8c9373){return()=>{const _0x227496=function(_0x201361){let _0x44cdd1=Array[_0x1e9f('0xa')](_0x201361);const _0x4bc4ee=_0x44cdd1['findIndex'](_0x3aba41=>_0x1e9f('0x5')!=_0x3aba41[_0x1e9f('0x30')]);return _0x4bc4ee>-0x1&&(_0x44cdd1=_0x44cdd1['slice'](0x0,_0x4bc4ee)),_0x44cdd1;}(_0x6f638e[_0x1e9f('0x12')][_0x1e9f('0x1d')]['selection'][_0x1e9f('0x1a')]()),_0x4067a5=_0x6f638e['model']['createRange'](_0x6f638e[_0x1e9f('0x12')]['createPositionAt'](_0x227496[0x0],_0x1e9f('0x17')),_0x6f638e['model'][_0x1e9f('0x16')](_0x227496[_0x227496['length']-0x1],'end'));_0x6f638e[_0x1e9f('0x12')]['change'](()=>{_0x540429[_0x1e9f('0x24')](_0x4067a5,{'commandName':_0x8c9373,'commandParams':[],'formatGroupId':_0x1e9f('0x7')},function(_0x1fbfad){const _0xc9d3ea=new Set();for(const _0x2c4200 of _0x1fbfad){let _0x297320=_0x2c4200[_0x1e9f('0x11')];for(;_0x297320&&_0x297320['getAttribute'](_0x1e9f('0x7'))>_0x2c4200[_0x1e9f('0x13')](_0x1e9f('0x7'));)_0xc9d3ea[_0x1e9f('0x28')](_0x297320),_0x297320=_0x297320[_0x1e9f('0x11')];}return Array['from'](_0xc9d3ea);}(_0x227496));});};}_0x540429[_0x1e9f('0x33')](_0x1e9f('0x2e'),_0x1f2609(_0x1e9f('0x2e'))),_0x540429['enableCommand'](_0x1e9f('0x32'),_0x1f2609(_0x1e9f('0x32'))),_0x1e97b4&&_0x540429[_0x1e9f('0x33')]('todoList',_0x1f2609('todoList')),_0x540429['enableCommand'](_0x1e9f('0x6'),_0x4f5748(_0x1e9f('0x6'))),_0x540429[_0x1e9f('0x33')](_0x1e9f('0x31'),_0x4f5748(_0x1e9f('0x31'))),_0x1e97b4&&_0x540429[_0x1e9f('0x33')](_0x1e9f('0x2f'),()=>{const _0x1b8025=_0x6f638e[_0x1e9f('0x14')][_0x1e9f('0x1e')](_0x1e9f('0x2f')),_0x31a108=Array['from'](_0x1b8025['_selectedElements']);_0x31a108[_0x1e9f('0x2d')](_0x51774b=>_0x51774b[_0x1e9f('0x13')](_0x1e9f('0x23'))!=_0x1b8025['value']),_0x6f638e[_0x1e9f('0x12')]['change'](()=>{for(const _0x90e39b of _0x31a108)_0x540429[_0x1e9f('0x24')](_0x90e39b,{'commandName':_0x1e9f('0x2f'),'commandParams':[{'forceValue':!_0x1b8025['value']}]});});}),_0x540429[_0x1e9f('0x34')][_0x1e9f('0xb')](_0x1e9f('0x5'),_0x35073b=>_0x44bcc2(_0x34e0db,_0x1e9f('0x18'),_0x35073b)),_0x540429[_0x1e9f('0x34')]['registerDescriptionCallback'](_0x59acc2=>{const {data:_0x35c8c2}=_0x59acc2;if(_0x35c8c2){if(_0x1e9f('0x2e')==_0x35c8c2['commandName']||_0x1e9f('0x32')==_0x35c8c2['commandName']||_0x1e9f('0x1c')==_0x35c8c2[_0x1e9f('0x25')])switch(_0x35c8c2[_0x1e9f('0x25')][_0x1e9f('0xf')](_0x1e9f('0x1f'),'')){case'bulleted':return _0x50d598(_0x44bcc2(_0x34e0db,'ELEMENT_BULLETED_LIST'));case _0x1e9f('0x4'):return _0x50d598(_0x44bcc2(_0x34e0db,_0x1e9f('0x29')));case _0x1e9f('0x36'):return _0x50d598(_0x44bcc2(_0x34e0db,'ELEMENT_TODO_LIST'));}if('indentList'==_0x35c8c2[_0x1e9f('0x25')])return{'type':'format','content':_0x44bcc2(_0x34e0db,_0x1e9f('0x35'),_0x44bcc2(_0x34e0db,_0x1e9f('0x18')))};if(_0x1e9f('0x31')==_0x35c8c2[_0x1e9f('0x25')])return{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,_0x1e9f('0x2a'),_0x44bcc2(_0x34e0db,_0x1e9f('0x18')))};if(_0x1e9f('0x2f')==_0x35c8c2[_0x1e9f('0x25')])return _0x35c8c2[_0x1e9f('0x9')][0x0][_0x1e9f('0x3')]?{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,'*Check\x20item*')}:{'type':'format','content':_0x44bcc2(_0x34e0db,_0x1e9f('0x27'))};}function _0x50d598(_0x21ff15){return{'type':_0x1e9f('0x20'),'content':_0x44bcc2(_0x34e0db,_0x1e9f('0x26'),_0x21ff15)};}});}}function ne(_0x4697b5){const _0x22c7b6=_0x4697b5[_0x1e9f('0x13')](_0x1e9f('0x7'));if(0x0==_0x22c7b6)return _0x4697b5;let _0x19a77b=_0x4697b5;for(;_0x4697b5['previousSibling']&&_0x4697b5[_0x1e9f('0x0')]['is']('element',_0x1e9f('0x5'));){const _0x195e23=_0x4697b5['previousSibling'][_0x1e9f('0x13')](_0x1e9f('0x7'));if(_0x195e23==_0x22c7b6)_0x19a77b=_0x4697b5[_0x1e9f('0x0')];else{if(_0x195e23<_0x22c7b6)break;}_0x4697b5=_0x4697b5[_0x1e9f('0x0')];}return _0x19a77b;}function oe(_0x496055){const _0x2b6c82=[];if(_0x496055['is'](_0x1e9f('0x2b'),'listItem')&&_0x496055[_0x1e9f('0x13')]('listIndent')>0x0){let _0x54c08e=_0x496055[_0x1e9f('0x11')];for(;_0x54c08e&&_0x1e9f('0x5')==_0x54c08e[_0x1e9f('0x30')]&&_0x54c08e[_0x1e9f('0x13')](_0x1e9f('0x7'))==_0x496055[_0x1e9f('0x13')](_0x1e9f('0x7'));)_0x2b6c82['push'](_0x54c08e),_0x54c08e=_0x54c08e[_0x1e9f('0x11')];}return _0x2b6c82;}
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 _0x57e0=['startIndex','forward','getAttribute','commandName','plugins','before','styles','registerDescriptionCallback','listReversed','ListUtils','push','length','bind','editor','*Format:*\x20set\x20order\x20to\x20reversed','_getTranslationKeyForListStyle','handleListStartCommand','ELEMENT_','getSelectedBlocks','listStart','flat','commandParams','handleListStyleCommand','locale','listType','type','format','model','map','_LIST_','element','*Format:*\x20set\x20start\x20index\x20to\x20%0','ListPropertiesEditing','handleListReversedCommand','from','getFirstPosition','reversed','TrackChangesEditing','filter','enableCommand','*Change\x20to:*\x20%0','list.properties','listItem','_getSuggestionBlocksForListStyle','markMultiRangeBlockFormat','listStyle','document','afterInit','numbered','getSiblingNodes','*Format:*\x20set\x20order\x20to\x20regular','get','createRange','handleDescriptions','selection','replace','getListTypeFromListStyleType','change','backward','createPositionAt'];(function(_0x3ea150,_0x57e023){const _0xbfc53=function(_0x3b4c19){while(--_0x3b4c19){_0x3ea150['push'](_0x3ea150['shift']());}};_0xbfc53(++_0x57e023);}(_0x57e0,0x16b));const _0xbfc5=function(_0x3ea150,_0x57e023){_0x3ea150=_0x3ea150-0x0;let _0xbfc53=_0x57e0[_0x3ea150];return _0xbfc53;};import{Plugin as _0x135b8f}from'ckeditor5/src/core';import{getTranslation as _0x4fbff8}from'../utils/common-translations';export default class nt extends _0x135b8f{[_0xbfc5('0x2c')](){if(!this['editor'][_0xbfc5('0x1')]['has'](_0xbfc5('0x1d')))return;const _0x51ea6c=this[_0xbfc5('0xa')]['config'][_0xbfc5('0x30')](_0xbfc5('0x26')),_0x98eefb=this[_0xbfc5('0xa')][_0xbfc5('0x1')][_0xbfc5('0x30')]('TrackChangesEditing');_0x51ea6c[_0xbfc5('0x3')]&&_0x98eefb[_0xbfc5('0x24')](_0xbfc5('0x2a'),this[_0xbfc5('0x13')][_0xbfc5('0x9')](this)),_0x51ea6c[_0xbfc5('0x21')]&&_0x98eefb[_0xbfc5('0x24')](_0xbfc5('0x5'),this[_0xbfc5('0x1e')][_0xbfc5('0x9')](this)),_0x51ea6c['startIndex']&&_0x98eefb[_0xbfc5('0x24')]('listStart',this[_0xbfc5('0xd')]['bind'](this)),_0x98eefb['_descriptionFactory'][_0xbfc5('0x4')](this[_0xbfc5('0x32')][_0xbfc5('0x9')](this));}[_0xbfc5('0x13')](_0x9f1d3a,_0x21f300={}){const _0x3d71b1=this['editor'][_0xbfc5('0x1')]['get'](_0xbfc5('0x22')),_0x282307=this[_0xbfc5('0x28')]();this[_0xbfc5('0xa')][_0xbfc5('0x18')]['change'](()=>{_0x3d71b1[_0xbfc5('0x29')](_0x282307,{'commandName':_0xbfc5('0x2a'),'commandParams':[{'type':_0x21f300[_0xbfc5('0x16')]}],'formatGroupId':_0xbfc5('0x2a')});});}[_0xbfc5('0x1e')](_0x456f7d,_0x491439={}){const _0x106928=this['editor']['plugins'][_0xbfc5('0x30')](_0xbfc5('0x22')),_0x53d9a4=this['_getSuggestionBlocks'](_0x464fdb=>_0x464fdb['is'](_0xbfc5('0x1b'),_0xbfc5('0x27'))&&_0xbfc5('0x2d')===_0x464fdb[_0xbfc5('0x3b')]('listType'));if(_0x53d9a4[_0xbfc5('0x8')]<0x1)return;const _0x5cf920=_0x53d9a4[_0xbfc5('0x19')](_0x1e2311=>this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x31')](this[_0xbfc5('0xa')]['model'][_0xbfc5('0x38')](_0x1e2311,_0xbfc5('0x2')),this[_0xbfc5('0xa')][_0xbfc5('0x18')]['createPositionAt'](_0x1e2311,0x0)));this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x36')](()=>{_0x106928['markMultiRangeBlockFormat'](_0x5cf920,{'commandName':_0xbfc5('0x5'),'commandParams':[{'reversed':_0x491439[_0xbfc5('0x21')]}],'formatGroupId':'listReversed'});});}[_0xbfc5('0xd')](_0x228f1b,_0x22b60d={}){const _0xe5c0a1=this[_0xbfc5('0xa')][_0xbfc5('0x1')][_0xbfc5('0x30')](_0xbfc5('0x22')),_0x2a9785=this['_getSuggestionBlocks'](_0x152da8=>_0x152da8['is'](_0xbfc5('0x1b'),_0xbfc5('0x27'))&&_0xbfc5('0x2d')===_0x152da8[_0xbfc5('0x3b')](_0xbfc5('0x15')));if(_0x2a9785['length']<0x1)return;const _0x5e13ed=_0x2a9785['map'](_0x4bc900=>this['editor'][_0xbfc5('0x18')][_0xbfc5('0x31')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x38')](_0x4bc900,'before'),this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x38')](_0x4bc900,0x0)));this[_0xbfc5('0xa')]['model'][_0xbfc5('0x36')](()=>{_0xe5c0a1[_0xbfc5('0x29')](_0x5e13ed,{'commandName':_0xbfc5('0x10'),'commandParams':[{'startIndex':_0x22b60d['startIndex']}],'formatGroupId':_0xbfc5('0x10')});});}[_0xbfc5('0x32')](_0x233f4b){const _0x4df751=this['editor'][_0xbfc5('0x14')],{data:_0x401f9f}=_0x233f4b;if(!_0x401f9f)return;let _0x390fca,_0x3c38c8;switch(_0x401f9f[_0xbfc5('0x0')]){case _0xbfc5('0x2a'):_0x390fca=_0xbfc5('0x25'),_0x3c38c8={'type':_0xbfc5('0x17'),'content':_0x4fbff8(_0x4df751,_0x390fca,_0x4fbff8(_0x4df751,this['_getTranslationKeyForListStyle'](_0x401f9f['commandParams'][0x0]['type'])))};break;case _0xbfc5('0x5'):_0x390fca=_0x401f9f[_0xbfc5('0x12')][0x0][_0xbfc5('0x21')]?_0xbfc5('0xb'):_0xbfc5('0x2f'),_0x3c38c8={'type':_0xbfc5('0x17'),'content':_0x4fbff8(_0x4df751,_0x390fca)};break;case _0xbfc5('0x10'):_0x390fca=_0xbfc5('0x1c'),_0x3c38c8={'type':'format','content':_0x4fbff8(_0x4df751,_0x390fca,_0x401f9f[_0xbfc5('0x12')][0x0][_0xbfc5('0x39')])};}return _0x3c38c8;}['_getSuggestionBlocksForListStyle'](){var _0x1ab51e,_0xb98d89,_0x1a4709,_0x3d5a9d;const _0x4d8e1a=this[_0xbfc5('0xa')]['plugins'][_0xbfc5('0x30')]('ListUtils');let _0x3f7e3d=Array[_0xbfc5('0x1f')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')][_0xbfc5('0xf')]());return(null===(_0x1ab51e=_0x3f7e3d[0x0])||void 0x0===_0x1ab51e?void 0x0:_0x1ab51e['is']('element','listItem'))&&_0x3f7e3d['unshift'](..._0x4d8e1a[_0xbfc5('0x2e')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')][_0xbfc5('0x20')](),_0xbfc5('0x37'))),(null===(_0xb98d89=_0x3f7e3d[_0x3f7e3d[_0xbfc5('0x8')]-0x1])||void 0x0===_0xb98d89?void 0x0:_0xb98d89['is'](_0xbfc5('0x1b'),_0xbfc5('0x27')))&&_0x3f7e3d[_0xbfc5('0x7')](..._0x4d8e1a[_0xbfc5('0x2e')](this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')]['getLastPosition'](),_0xbfc5('0x3a'))),_0x3f7e3d=[...new Set(_0x3f7e3d)],(null===(_0x3d5a9d=null===(_0x1a4709=this[_0xbfc5('0xa')][_0xbfc5('0x18')][_0xbfc5('0x2b')][_0xbfc5('0x33')][_0xbfc5('0x20')]())||void 0x0===_0x1a4709?void 0x0:_0x1a4709['parent'])||void 0x0===_0x3d5a9d?void 0x0:_0x3d5a9d['is'](_0xbfc5('0x1b'),'listItem'))&&(_0x3f7e3d=_0x3f7e3d[_0xbfc5('0x23')](_0x206b47=>_0x206b47['is'](_0xbfc5('0x1b'),_0xbfc5('0x27')))),_0x3f7e3d;}['_getSuggestionBlocks'](_0x56401e){const _0x5a0f53=this[_0xbfc5('0xa')][_0xbfc5('0x1')][_0xbfc5('0x30')](_0xbfc5('0x6'));let _0x6d301b=Array[_0xbfc5('0x1f')](this['editor'][_0xbfc5('0x18')]['document'][_0xbfc5('0x33')]['getSelectedBlocks']())['filter'](_0x56401e)[_0xbfc5('0x19')](_0x1fea3e=>{const _0x59da8a=this[_0xbfc5('0xa')][_0xbfc5('0x18')]['createPositionAt'](_0x1fea3e,0x0);return[..._0x5a0f53[_0xbfc5('0x2e')](_0x59da8a,'backward'),..._0x5a0f53['getSiblingNodes'](_0x59da8a,_0xbfc5('0x3a'))];})[_0xbfc5('0x11')]();return _0x6d301b=[...new Set(_0x6d301b)],_0x6d301b;}[_0xbfc5('0xc')](_0x39c63f){return _0xbfc5('0xe')+this['editor'][_0xbfc5('0x1')][_0xbfc5('0x30')](_0xbfc5('0x6'))[_0xbfc5('0x35')](_0x39c63f)['toUpperCase']()+_0xbfc5('0x1a')+_0x39c63f['toUpperCase']()[_0xbfc5('0x34')](/-/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 _0x1277=['high','get','options','_descriptionFactory','registerElementLabel','dataDowncast','mediaEmbed','stop','createEmptyElement','afterInit','div','enableCommand','for','plugins','locale','MediaEmbedEditing','ELEMENT_MEDIA','attribute:url:media','elementToElement','data','TrackChangesEditing','editor','media'];(function(_0x3d5605,_0x127712){const _0xdfaa72=function(_0x1eea46){while(--_0x1eea46){_0x3d5605['push'](_0x3d5605['shift']());}};_0xdfaa72(++_0x127712);}(_0x1277,0x165));const _0xdfaa=function(_0x3d5605,_0x127712){_0x3d5605=_0x3d5605-0x0;let _0xdfaa72=_0x1277[_0x3d5605];return _0xdfaa72;};import{Plugin as _0x5274d6}from'ckeditor5/src/core';import{getTranslation as _0x5a1465}from'../utils/common-translations';export default class ot extends _0x5274d6{[_0xdfaa('0x14')](){const _0x2a64c1=this[_0xdfaa('0x9')];if(!_0x2a64c1[_0xdfaa('0x1')]['has'](_0xdfaa('0x3')))return;const _0x5d9204=_0x2a64c1[_0xdfaa('0x1')][_0xdfaa('0xc')](_0xdfaa('0x8')),_0x471c89=_0x2a64c1[_0xdfaa('0x2')];_0x5d9204[_0xdfaa('0x16')](_0xdfaa('0x11')),_0x5d9204[_0xdfaa('0xe')][_0xdfaa('0xf')](_0xdfaa('0xa'),_0x1aa3bd=>_0x5a1465(_0x471c89,_0xdfaa('0x4'),_0x1aa3bd)),_0x2a64c1['conversion'][_0xdfaa('0x0')](_0xdfaa('0x10'))[_0xdfaa('0x6')]({'model':_0xdfaa('0xa'),'view':(_0x1cf1c8,{writer:_0x17c552,options:_0x2b9fbf})=>{if(_0x2b9fbf['showSuggestionHighlights'])return _0x17c552[_0xdfaa('0x13')](_0xdfaa('0x15'));},'converterPriority':'high'}),_0x2a64c1[_0xdfaa('0x7')]['downcastDispatcher']['on'](_0xdfaa('0x5'),(_0x24ffe0,_0x3e368b,_0x169f4a)=>{_0x169f4a[_0xdfaa('0xd')]['showSuggestionHighlights']&&_0x24ffe0[_0xdfaa('0x12')]();},{'priority':_0xdfaa('0xb')});}}
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 _0x3d0d=['has','editor','mention','get','plugins','TrackChangesEditing','MentionEditing'];(function(_0x5f3634,_0x3d0dba){const _0x56988f=function(_0x3e7ba5){while(--_0x3e7ba5){_0x5f3634['push'](_0x5f3634['shift']());}};_0x56988f(++_0x3d0dba);}(_0x3d0d,0x1f4));const _0x5698=function(_0x5f3634,_0x3d0dba){_0x5f3634=_0x5f3634-0x0;let _0x56988f=_0x3d0d[_0x5f3634];return _0x56988f;};import{Plugin as _0x609e10}from'ckeditor5/src/core';export default class rt extends _0x609e10{['afterInit'](){const _0x1e05a2=this[_0x5698('0x5')];_0x1e05a2[_0x5698('0x1')][_0x5698('0x4')](_0x5698('0x3'))&&_0x1e05a2[_0x5698('0x1')][_0x5698('0x0')](_0x5698('0x2'))['enableCommand'](_0x5698('0x6'));}}
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 _0x19af=['plugins','afterInit','get','PageBreakEditing','TrackChangesEditing','has','pageBreak','ELEMENT_PAGE_BREAK','locale','registerElementLabel'];(function(_0xcac077,_0x19afa2){const _0x16399f=function(_0x4aa15d){while(--_0x4aa15d){_0xcac077['push'](_0xcac077['shift']());}};_0x16399f(++_0x19afa2);}(_0x19af,0x99));const _0x1639=function(_0xcac077,_0x19afa2){_0xcac077=_0xcac077-0x0;let _0x16399f=_0x19af[_0xcac077];return _0x16399f;};import{Plugin as _0x1969c6}from'ckeditor5/src/core';import{getTranslation as _0x45ed68}from'../utils/common-translations';export default class at extends _0x1969c6{[_0x1639('0x8')](){const _0xe6b969=this['editor'];if(!_0xe6b969[_0x1639('0x7')][_0x1639('0x2')](_0x1639('0x0')))return;_0xe6b969[_0x1639('0x7')][_0x1639('0x9')](_0x1639('0x1'))['enableCommand']('pageBreak');const _0x4bf48a=_0xe6b969[_0x1639('0x7')][_0x1639('0x9')](_0x1639('0x1')),_0x10b9b3=_0xe6b969[_0x1639('0x5')];_0x4bf48a['_descriptionFactory'][_0x1639('0x6')](_0x1639('0x3'),_0x4e3942=>_0x45ed68(_0x10b9b3,_0x1639('0x4'),_0x4e3942));}}
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
+ }