@ckeditor/ckeditor5-track-changes 39.0.2 → 40.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/track-changes.js +1 -1
  4. package/package.json +3 -3
  5. package/src/augmentation.d.ts +40 -40
  6. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  9. package/src/commands/discardsuggestioncommand.js +1 -1
  10. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  11. package/src/commands/executeonallsuggestionscommand.js +1 -1
  12. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  13. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  14. package/src/commands/trackchangescommand.d.ts +26 -26
  15. package/src/commands/trackchangescommand.js +1 -1
  16. package/src/index.d.ts +16 -16
  17. package/src/integrations/aiassistant.d.ts +17 -0
  18. package/src/integrations/aiassistant.js +23 -0
  19. package/src/integrations/alignment.d.ts +17 -17
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +17 -17
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +17 -17
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +17 -17
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +17 -17
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +14 -14
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +17 -17
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +17 -17
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +29 -29
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +16 -16
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +21 -21
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +17 -17
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +17 -17
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +17 -17
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +17 -17
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +17 -17
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +17 -17
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +17 -17
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +23 -23
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/importword.d.ts +18 -18
  58. package/src/integrations/importword.js +1 -1
  59. package/src/integrations/indent.d.ts +17 -17
  60. package/src/integrations/indent.js +1 -1
  61. package/src/integrations/inputcommand.d.ts +16 -16
  62. package/src/integrations/inputcommand.js +1 -1
  63. package/src/integrations/link.d.ts +17 -17
  64. package/src/integrations/link.js +1 -1
  65. package/src/integrations/list.d.ts +17 -17
  66. package/src/integrations/list.js +1 -1
  67. package/src/integrations/listproperties.d.ts +29 -29
  68. package/src/integrations/listproperties.js +1 -1
  69. package/src/integrations/mediaembed.d.ts +17 -17
  70. package/src/integrations/mediaembed.js +1 -1
  71. package/src/integrations/mention.d.ts +17 -17
  72. package/src/integrations/mention.js +1 -1
  73. package/src/integrations/pagebreak.d.ts +17 -17
  74. package/src/integrations/pagebreak.js +1 -1
  75. package/src/integrations/paragraph.d.ts +17 -17
  76. package/src/integrations/paragraph.js +1 -1
  77. package/src/integrations/removeformat.d.ts +17 -17
  78. package/src/integrations/removeformat.js +1 -1
  79. package/src/integrations/restrictededitingmode.d.ts +17 -17
  80. package/src/integrations/restrictededitingmode.js +1 -1
  81. package/src/integrations/shiftentercommand.d.ts +16 -16
  82. package/src/integrations/shiftentercommand.js +1 -1
  83. package/src/integrations/standardeditingmode.d.ts +17 -17
  84. package/src/integrations/standardeditingmode.js +1 -1
  85. package/src/integrations/style.d.ts +18 -18
  86. package/src/integrations/style.js +1 -1
  87. package/src/integrations/table.d.ts +42 -42
  88. package/src/integrations/table.js +1 -1
  89. package/src/integrations/tablecaption.d.ts +22 -22
  90. package/src/integrations/tablecaption.js +1 -1
  91. package/src/integrations/tableclipboard.d.ts +19 -19
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.d.ts +26 -26
  94. package/src/integrations/tablecolumnresize.js +1 -1
  95. package/src/integrations/tableheadings.d.ts +22 -22
  96. package/src/integrations/tableheadings.js +1 -1
  97. package/src/integrations/tablemergesplit.d.ts +22 -22
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.d.ts +17 -17
  100. package/src/integrations/tableofcontents.js +1 -1
  101. package/src/integrations/tableproperties.d.ts +27 -27
  102. package/src/integrations/tableproperties.js +1 -1
  103. package/src/integrations/template.d.ts +17 -17
  104. package/src/integrations/template.js +1 -1
  105. package/src/integrations/title.d.ts +17 -17
  106. package/src/integrations/title.js +1 -1
  107. package/src/integrations/undo.d.ts +17 -17
  108. package/src/integrations/undo.js +1 -1
  109. package/src/integrations/utils.d.ts +21 -21
  110. package/src/integrations/utils.js +1 -1
  111. package/src/suggestion.d.ts +276 -276
  112. package/src/suggestion.js +1 -1
  113. package/src/suggestiondescriptionfactory.d.ts +163 -163
  114. package/src/suggestiondescriptionfactory.js +1 -1
  115. package/src/trackchanges.d.ts +244 -244
  116. package/src/trackchanges.js +1 -1
  117. package/src/trackchangesconfig.d.ts +75 -75
  118. package/src/trackchangesdata.d.ts +41 -41
  119. package/src/trackchangesdata.js +1 -1
  120. package/src/trackchangesediting.d.ts +468 -467
  121. package/src/trackchangesediting.js +1 -1
  122. package/src/trackchangesui.d.ts +38 -38
  123. package/src/trackchangesui.js +1 -1
  124. package/src/ui/suggestioncontroller.d.ts +37 -37
  125. package/src/ui/suggestioncontroller.js +1 -1
  126. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  127. package/src/ui/view/basesuggestionthreadview.js +1 -1
  128. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  129. package/src/ui/view/suggestionthreadview.js +1 -1
  130. package/src/utils/common-translations.d.ts +9 -9
  131. package/src/utils/common-translations.js +1 -1
  132. package/src/utils/utils.d.ts +30 -30
  133. package/src/utils/utils.js +1 -1
  134. package/theme/icons/track-changes-accept.svg +1 -1
  135. package/theme/icons/track-changes-discard.svg +1 -1
  136. package/theme/icons/track-changes.svg +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1699=['*Remove\x20format:*\x20%0','markInlineFormat','commands','code','TrackChangesEditing','UnderlineEditing','ItalicEditing','_descriptionFactory','document','editor','value','slice','forceValue','bold','CodeEditing','strikethrough','has','isCollapsed','FORMAT_CODE','underline','commandName','SuperscriptEditing','toLowerCase','superscript','italic','get','FORMAT_BOLD','FORMAT_SUPERSCRIPT','*Format:*\x20%0','commandParams','FORMAT_UNDERLINE','FORMAT_SUBSCRIPT','plugins','enableCommand','format','model','selection','getRanges'];(function(_0x435c9d,_0x16997c){const _0x34b4cc=function(_0x5374cc){while(--_0x5374cc){_0x435c9d['push'](_0x435c9d['shift']());}};_0x34b4cc(++_0x16997c);}(_0x1699,0x17f));const _0x34b4=function(_0x435c9d,_0x16997c){_0x435c9d=_0x435c9d-0x0;let _0x34b4cc=_0x1699[_0x435c9d];return _0x34b4cc;};import{Plugin as _0x3c60f7}from'ckeditor5/src/core';import{getTranslation as _0x1b249d}from'../utils/common-translations';import{getRangesWithAttribute as _0x4b103b}from'./utils';const Yt=['BoldEditing',_0x34b4('0x3'),_0x34b4('0x2'),_0x34b4('0xb'),'StrikethroughEditing','SubscriptEditing',_0x34b4('0x12')];export default class x extends _0x3c60f7{['afterInit'](){const _0x18a309=this[_0x34b4('0x6')],_0x508df8=_0x18a309[_0x34b4('0x20')],_0x16cb27=_0x18a309[_0x34b4('0x1d')][_0x34b4('0x16')](_0x34b4('0x1')),_0x245aad=_0x18a309['locale'];for(const _0x1fee64 of Yt){if(!_0x18a309['plugins'][_0x34b4('0xd')](_0x1fee64))continue;const _0x297e6d=_0x1fee64[_0x34b4('0x8')](0x0,-0x7)[_0x34b4('0x13')](),_0x29d7d7=_0x18a309[_0x34b4('0x25')][_0x34b4('0x16')](_0x297e6d);_0x16cb27[_0x34b4('0x1e')](_0x297e6d,(_0x4e3d52,_0xc04fda={})=>{const _0x225ff9=_0x508df8[_0x34b4('0x5')][_0x34b4('0x21')];if(_0x225ff9[_0x34b4('0xe')])return void _0x4e3d52(_0xc04fda);const _0xbb1910=void 0x0!==_0xc04fda['forceValue']?_0xc04fda['forceValue']:!_0x29d7d7[_0x34b4('0x7')];_0x508df8['change'](()=>{const _0x128287=Array['from'](_0x225ff9[_0x34b4('0x22')]());for(const _0x1f1835 of _0x128287){const _0x3c1186=_0xbb1910?[_0x1f1835]:_0x4b103b(_0x297e6d,_0x1f1835,_0x508df8);for(const _0x56e52f of _0x3c1186)_0x16cb27[_0x34b4('0x24')](_0x56e52f,{'commandName':_0x297e6d,'commandParams':[{'forceValue':_0xbb1910}]});}});});}function _0x1ee5dd(_0x193996,_0x31cccd){_0x16cb27[_0x34b4('0x4')]['registerDescriptionCallback'](_0xd5aa8c=>{const {data:_0x1220b7}=_0xd5aa8c;if(_0x1220b7&&_0x1220b7[_0x34b4('0x11')]===_0x193996)return _0x1220b7[_0x34b4('0x1a')][0x0][_0x34b4('0x9')]?{'type':_0x34b4('0x1f'),'content':_0x1b249d(_0x245aad,_0x34b4('0x19'),_0x31cccd)}:{'type':_0x34b4('0x1f'),'content':_0x1b249d(_0x245aad,_0x34b4('0x23'),_0x31cccd)};});}_0x1ee5dd(_0x34b4('0xa'),_0x1b249d(_0x245aad,_0x34b4('0x17'))),_0x1ee5dd(_0x34b4('0x15'),_0x1b249d(_0x245aad,'FORMAT_ITALIC')),_0x1ee5dd(_0x34b4('0x10'),_0x1b249d(_0x245aad,_0x34b4('0x1b'))),_0x1ee5dd(_0x34b4('0x0'),_0x1b249d(_0x245aad,_0x34b4('0xf'))),_0x1ee5dd(_0x34b4('0xc'),_0x1b249d(_0x245aad,'FORMAT_STRIKETHROUGH')),_0x1ee5dd('subscript',_0x1b249d(_0x245aad,_0x34b4('0x1c'))),_0x1ee5dd(_0x34b4('0x14'),_0x1b249d(_0x245aad,_0x34b4('0x18')));}}
23
+ const _0x3293=['getRanges','FORMAT_UNDERLINE','FORMAT_ITALIC','locale','strikethrough','commandName','slice','afterInit','editor','markInlineFormat','toLowerCase','BoldEditing','value','code','FORMAT_SUPERSCRIPT','commands','isCollapsed','forceValue','enableCommand','model','UnderlineEditing','StrikethroughEditing','has','format','document','*Format:*\x20%0','get','superscript','plugins','SuperscriptEditing','_descriptionFactory','FORMAT_STRIKETHROUGH','selection','CodeEditing','FORMAT_BOLD','FORMAT_SUBSCRIPT','SubscriptEditing','subscript','FORMAT_CODE'];(function(_0x3a6c97,_0x329359){const _0x1dbc7c=function(_0x11ee6d){while(--_0x11ee6d){_0x3a6c97['push'](_0x3a6c97['shift']());}};_0x1dbc7c(++_0x329359);}(_0x3293,0x159));const _0x1dbc=function(_0x3a6c97,_0x329359){_0x3a6c97=_0x3a6c97-0x0;let _0x1dbc7c=_0x3293[_0x3a6c97];return _0x1dbc7c;};import{Plugin as _0x30573d}from'ckeditor5/src/core';import{getTranslation as _0x4ec84d}from'../utils/common-translations';import{getRangesWithAttribute as _0x44d0e5}from'./utils';const Zt=[_0x1dbc('0x11'),'ItalicEditing',_0x1dbc('0x1a'),_0x1dbc('0x0'),_0x1dbc('0x1b'),_0x1dbc('0x3'),_0x1dbc('0x23')];export default class U extends _0x30573d{[_0x1dbc('0xd')](){const _0x207a18=this[_0x1dbc('0xe')],_0x3afe2e=_0x207a18[_0x1dbc('0x19')],_0x342417=_0x207a18['plugins'][_0x1dbc('0x20')]('TrackChangesEditing'),_0x5e8a0a=_0x207a18[_0x1dbc('0x9')];for(const _0x718ed6 of Zt){if(!_0x207a18[_0x1dbc('0x22')][_0x1dbc('0x1c')](_0x718ed6))continue;const _0x32b8f1=_0x718ed6[_0x1dbc('0xc')](0x0,-0x7)[_0x1dbc('0x10')](),_0x22cc93=_0x207a18[_0x1dbc('0x15')]['get'](_0x32b8f1);_0x342417[_0x1dbc('0x18')](_0x32b8f1,(_0x10b24c,_0x133ed2={})=>{const _0x9e4a=_0x3afe2e[_0x1dbc('0x1e')][_0x1dbc('0x26')];if(_0x9e4a[_0x1dbc('0x16')])return void _0x10b24c(_0x133ed2);const _0x1bf442=void 0x0!==_0x133ed2[_0x1dbc('0x17')]?_0x133ed2[_0x1dbc('0x17')]:!_0x22cc93[_0x1dbc('0x12')];_0x3afe2e['change'](()=>{const _0x4f5568=Array['from'](_0x9e4a[_0x1dbc('0x6')]());for(const _0x1c145d of _0x4f5568){const _0x482329=_0x1bf442?[_0x1c145d]:_0x44d0e5(_0x32b8f1,_0x1c145d,_0x3afe2e);for(const _0x28e7a3 of _0x482329)_0x342417[_0x1dbc('0xf')](_0x28e7a3,{'commandName':_0x32b8f1,'commandParams':[{'forceValue':_0x1bf442}]});}});});}function _0x5c5af(_0x325105,_0x3f55b5){_0x342417[_0x1dbc('0x24')]['registerDescriptionCallback'](_0x33049e=>{const {data:_0x5511ef}=_0x33049e;if(_0x5511ef&&_0x5511ef[_0x1dbc('0xb')]===_0x325105)return _0x5511ef['commandParams'][0x0][_0x1dbc('0x17')]?{'type':_0x1dbc('0x1d'),'content':_0x4ec84d(_0x5e8a0a,_0x1dbc('0x1f'),_0x3f55b5)}:{'type':_0x1dbc('0x1d'),'content':_0x4ec84d(_0x5e8a0a,'*Remove\x20format:*\x20%0',_0x3f55b5)};});}_0x5c5af('bold',_0x4ec84d(_0x5e8a0a,_0x1dbc('0x1'))),_0x5c5af('italic',_0x4ec84d(_0x5e8a0a,_0x1dbc('0x8'))),_0x5c5af('underline',_0x4ec84d(_0x5e8a0a,_0x1dbc('0x7'))),_0x5c5af(_0x1dbc('0x13'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x5'))),_0x5c5af(_0x1dbc('0xa'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x25'))),_0x5c5af(_0x1dbc('0x4'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x2'))),_0x5c5af(_0x1dbc('0x21'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x14')));}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/blockquote
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for block quote feature.
11
- */
12
- export default class TrackChangesBlockQuote extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/blockquote
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for block quote feature.
11
+ */
12
+ export default class TrackChangesBlockQuote extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x125c=['editor','_descriptionFactory','markBlockFormat','change','*Remove\x20format:*\x20%0','enableCommand','selection','document','locale','registerDescriptionCallback','filter','parent','*Format:*\x20%0','model','schema','value','checkChild','commandName','get','name','afterInit','forceValue','getSelectedBlocks','BlockQuoteEditing','$root','plugins','commands','ELEMENT_BLOCK_QUOTE','blockQuote','commandParams','from','format'];(function(_0x5cbce4,_0x125c37){const _0x1203f2=function(_0x50bd8f){while(--_0x50bd8f){_0x5cbce4['push'](_0x5cbce4['shift']());}};_0x1203f2(++_0x125c37);}(_0x125c,0x1e9));const _0x1203=function(_0x5cbce4,_0x125c37){_0x5cbce4=_0x5cbce4-0x0;let _0x1203f2=_0x125c[_0x5cbce4];return _0x1203f2;};import{Plugin as _0x279446}from'ckeditor5/src/core';import{getTranslation as _0x257a31}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x39bedf}from'../utils/utils';export default class U extends _0x279446{[_0x1203('0xb')](){const _0x57fa4b=this[_0x1203('0x17')],_0x4bb782=_0x57fa4b[_0x1203('0x1f')];if(!_0x57fa4b[_0x1203('0x10')]['has'](_0x1203('0xe')))return;const _0x3aa946=_0x57fa4b['plugins'][_0x1203('0x9')]('TrackChangesEditing'),_0x1dab37=this['editor'][_0x1203('0x11')][_0x1203('0x9')]('blockQuote');_0x3aa946[_0x1203('0x1c')]('blockQuote',(_0x17888f,_0x48ce30={})=>{const _0x35ccd6=this['editor'][_0x1203('0x4')][_0x1203('0x1e')][_0x1203('0x1d')],_0x22de87=_0x48ce30&&void 0x0!==_0x48ce30[_0x1203('0xc')]?_0x48ce30['forceValue']:!_0x1dab37[_0x1203('0x6')];let _0x2eff16=[];if(_0x22de87){const _0x3c169d=Array[_0x1203('0x15')](_0x35ccd6[_0x1203('0xd')]())[_0x1203('0x1')](_0x307b96=>to(_0x307b96)||function(_0x27a367,_0x488ddf){const _0x38cf29=_0x488ddf['checkChild'](_0x27a367[_0x1203('0x2')],_0x1203('0x13')),_0x2db063=_0x488ddf[_0x1203('0x7')]([_0x1203('0xf'),_0x1203('0x13')],_0x27a367);return _0x38cf29&&_0x2db063;}(_0x307b96,this['editor']['model'][_0x1203('0x5')]));_0x2eff16=_0x39bedf(_0x3c169d,_0x57fa4b[_0x1203('0x4')]);}else{const _0x4d7f63=Array['from'](_0x35ccd6['getSelectedBlocks']())[_0x1203('0x1')](_0x15308d=>to(_0x15308d));_0x2eff16=_0x39bedf(_0x4d7f63,_0x57fa4b[_0x1203('0x4')]);}_0x57fa4b[_0x1203('0x4')][_0x1203('0x1a')](()=>{for(const _0x658e3d of _0x2eff16)_0x3aa946[_0x1203('0x19')](_0x658e3d,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x22de87}]});});}),_0x3aa946[_0x1203('0x18')][_0x1203('0x0')](_0x2d5a35=>{const {data:_0x65b490}=_0x2d5a35;if(_0x65b490&&'blockQuote'==_0x65b490[_0x1203('0x8')]){const _0x30ccd6=_0x257a31(_0x4bb782,_0x1203('0x12'));return _0x65b490[_0x1203('0x14')][0x0][_0x1203('0xc')]?{'type':'format','content':_0x257a31(_0x4bb782,_0x1203('0x3'),_0x30ccd6)}:{'type':_0x1203('0x16'),'content':_0x257a31(_0x4bb782,_0x1203('0x1b'),_0x30ccd6)};}});}}function to(_0x2e439a){return'blockQuote'==_0x2e439a[_0x1203('0x2')][_0x1203('0xa')];}
23
+ const _0x3553=['BlockQuoteEditing','editor','blockQuote','afterInit','schema','locale','getSelectedBlocks','checkChild','*Remove\x20format:*\x20%0','enableCommand','filter','model','parent','commandName','ELEMENT_BLOCK_QUOTE','plugins','selection','*Format:*\x20%0','has','format','get','commandParams','forceValue','value','name','change','commands'];(function(_0xf5ca9a,_0x355366){const _0x488795=function(_0x162cb0){while(--_0x162cb0){_0xf5ca9a['push'](_0xf5ca9a['shift']());}};_0x488795(++_0x355366);}(_0x3553,0xa4));const _0x4887=function(_0xf5ca9a,_0x355366){_0xf5ca9a=_0xf5ca9a-0x0;let _0x488795=_0x3553[_0xf5ca9a];return _0x488795;};import{Plugin as _0xd9cfaf}from'ckeditor5/src/core';import{getTranslation as _0xe3a237}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4aec1a}from'../utils/utils';export default class O extends _0xd9cfaf{[_0x4887('0x1')](){const _0x5c3bce=this[_0x4887('0x1a')],_0x569fce=_0x5c3bce[_0x4887('0x3')];if(!_0x5c3bce[_0x4887('0xd')][_0x4887('0x10')](_0x4887('0x19')))return;const _0x45bc35=_0x5c3bce[_0x4887('0xd')][_0x4887('0x12')]('TrackChangesEditing'),_0x9f680b=this[_0x4887('0x1a')][_0x4887('0x18')][_0x4887('0x12')](_0x4887('0x0'));_0x45bc35[_0x4887('0x7')]('blockQuote',(_0x5abfab,_0x484627={})=>{const _0x7622a4=this[_0x4887('0x1a')]['model']['document'][_0x4887('0xe')],_0x102a1a=_0x484627&&void 0x0!==_0x484627[_0x4887('0x14')]?_0x484627[_0x4887('0x14')]:!_0x9f680b[_0x4887('0x15')];let _0x5ea788=[];if(_0x102a1a){const _0x193b5c=Array['from'](_0x7622a4[_0x4887('0x4')]())['filter'](_0x3c6c92=>oo(_0x3c6c92)||function(_0xaa048f,_0x51c4f8){const _0x226891=_0x51c4f8[_0x4887('0x5')](_0xaa048f['parent'],_0x4887('0x0')),_0x40e5a3=_0x51c4f8[_0x4887('0x5')](['$root',_0x4887('0x0')],_0xaa048f);return _0x226891&&_0x40e5a3;}(_0x3c6c92,this[_0x4887('0x1a')][_0x4887('0x9')][_0x4887('0x2')]));_0x5ea788=_0x4aec1a(_0x193b5c,_0x5c3bce[_0x4887('0x9')]);}else{const _0xb234f7=Array['from'](_0x7622a4[_0x4887('0x4')]())[_0x4887('0x8')](_0x394359=>oo(_0x394359));_0x5ea788=_0x4aec1a(_0xb234f7,_0x5c3bce['model']);}_0x5c3bce[_0x4887('0x9')][_0x4887('0x17')](()=>{for(const _0xbf3024 of _0x5ea788)_0x45bc35['markBlockFormat'](_0xbf3024,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x102a1a}]});});}),_0x45bc35['_descriptionFactory']['registerDescriptionCallback'](_0x4ad9b0=>{const {data:_0x28a08b}=_0x4ad9b0;if(_0x28a08b&&'blockQuote'==_0x28a08b[_0x4887('0xb')]){const _0x456f07=_0xe3a237(_0x569fce,_0x4887('0xc'));return _0x28a08b[_0x4887('0x13')][0x0]['forceValue']?{'type':_0x4887('0x11'),'content':_0xe3a237(_0x569fce,_0x4887('0xf'),_0x456f07)}:{'type':_0x4887('0x11'),'content':_0xe3a237(_0x569fce,_0x4887('0x6'),_0x456f07)};}});}}function oo(_0x27e746){return _0x4887('0x0')==_0x27e746[_0x4887('0xa')][_0x4887('0x16')];}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/ckbox
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the CKBox feature.
11
- */
12
- export default class TrackChangesCKBox extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/ckbox
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the CKBox feature.
11
+ */
12
+ export default class TrackChangesCKBox extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f3b=['ckbox','editor','afterInit','enableCommand','plugins','get','TrackChangesEditing'];(function(_0x504979,_0x5f3b8b){const _0x3154b2=function(_0x45de1b){while(--_0x45de1b){_0x504979['push'](_0x504979['shift']());}};_0x3154b2(++_0x5f3b8b);}(_0x5f3b,0x1b5));const _0x3154=function(_0x504979,_0x5f3b8b){_0x504979=_0x504979-0x0;let _0x3154b2=_0x5f3b[_0x504979];return _0x3154b2;};import{Plugin as _0x449524}from'ckeditor5/src/core';export default class O extends _0x449524{[_0x3154('0x6')](){const _0x379f60=this[_0x3154('0x5')];_0x379f60['commands'][_0x3154('0x2')](_0x3154('0x4'))&&_0x379f60[_0x3154('0x1')][_0x3154('0x2')](_0x3154('0x3'))[_0x3154('0x0')](_0x3154('0x4'));}}
23
+ const _0x1fb4=['TrackChangesEditing','ckbox','get','enableCommand','commands','plugins','editor'];(function(_0x493117,_0x1fb4be){const _0x4e19ce=function(_0x1e04c0){while(--_0x1e04c0){_0x493117['push'](_0x493117['shift']());}};_0x4e19ce(++_0x1fb4be);}(_0x1fb4,0x197));const _0x4e19=function(_0x493117,_0x1fb4be){_0x493117=_0x493117-0x0;let _0x4e19ce=_0x1fb4[_0x493117];return _0x4e19ce;};import{Plugin as _0x50cea5}from'ckeditor5/src/core';export default class E extends _0x50cea5{['afterInit'](){const _0x7b10fd=this[_0x4e19('0x5')];_0x7b10fd[_0x4e19('0x3')][_0x4e19('0x1')](_0x4e19('0x0'))&&_0x7b10fd[_0x4e19('0x4')][_0x4e19('0x1')](_0x4e19('0x6'))[_0x4e19('0x2')](_0x4e19('0x0'));}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/codeblock
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for code block feature.
11
- */
12
- export default class TrackChangesCodeBlock extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/codeblock
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for code block feature.
11
+ */
12
+ export default class TrackChangesCodeBlock extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46a7=['selection','TrackChangesEditing','model','_descriptionFactory','registerElementLabel','ELEMENT_CODE_BLOCK','codeBlock','formatBlock','commandParams','registerDescriptionCallback','parent','plugins','CodeBlock','commandName','from','indentCodeBlock','checkChild','isLimit','value','locale','enableCommand','editor','languages','filter','config','*Format:*\x20%0','getSelectedBlocks','forceValue','change','commands','markBlockFormat','name','outdentCodeBlock','schema','format','language','get'];(function(_0x189c8a,_0x46a795){const _0x3d787f=function(_0x1ef98c){while(--_0x1ef98c){_0x189c8a['push'](_0x189c8a['shift']());}};_0x3d787f(++_0x46a795);}(_0x46a7,0xcb));const _0x3d78=function(_0x189c8a,_0x46a795){_0x189c8a=_0x189c8a-0x0;let _0x3d787f=_0x46a7[_0x189c8a];return _0x3d787f;};import{Plugin as _0x50eae2}from'ckeditor5/src/core';import{getTranslation as _0xf9b2be}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b8321}from'../utils/utils';export default class E extends _0x50eae2{['afterInit'](){const _0x1d5100=this[_0x3d78('0x3')];if(!_0x1d5100[_0x3d78('0x1e')]['has'](_0x3d78('0x1f')))return;const _0x456ab6=_0x1d5100['plugins']['get'](_0x3d78('0x14')),_0x49e4db=_0x1d5100[_0x3d78('0x1')],_0x70ff40=_0x1d5100[_0x3d78('0x6')][_0x3d78('0x12')](_0x3d78('0x19'))[_0x3d78('0x4')],_0x1627ab=_0x1d5100[_0x3d78('0xb')][_0x3d78('0x12')](_0x3d78('0x19'));_0x456ab6[_0x3d78('0x2')](_0x3d78('0x22')),_0x456ab6[_0x3d78('0x2')](_0x3d78('0xe')),_0x456ab6[_0x3d78('0x2')](_0x3d78('0x19'),(_0x2e50e,_0x49bf1f={})=>{const _0x44335a=_0x1d5100[_0x3d78('0x15')],_0x5508a1=_0x1d5100['model']['document'][_0x3d78('0x13')],_0x248159=_0x49bf1f&&void 0x0!==_0x49bf1f[_0x3d78('0x9')]?_0x49bf1f[_0x3d78('0x9')]:!_0x1627ab[_0x3d78('0x0')];let _0x503d8f;_0x49bf1f[_0x3d78('0x11')]||(_0x49bf1f[_0x3d78('0x11')]=_0x70ff40[0x0][_0x3d78('0x11')]),_0x503d8f=_0x248159?Array[_0x3d78('0x21')](_0x5508a1[_0x3d78('0x8')]())[_0x3d78('0x5')](_0x444d22=>oo(_0x444d22)||function(_0x3da053,_0x5f4d2f){if(_0x3da053['is']('rootElement')||_0x5f4d2f[_0x3d78('0x24')](_0x3da053))return!0x1;return _0x5f4d2f[_0x3d78('0x23')](_0x3da053[_0x3d78('0x1d')],_0x3d78('0x19'));}(_0x444d22,_0x44335a[_0x3d78('0xf')])):Array[_0x3d78('0x21')](_0x5508a1[_0x3d78('0x8')]())[_0x3d78('0x5')](_0x45a99b=>oo(_0x45a99b));const _0x2ef28b=_0x2b8321(_0x503d8f,_0x44335a);_0x44335a[_0x3d78('0xa')](()=>{for(const _0x2cfe10 of _0x2ef28b)_0x456ab6[_0x3d78('0xc')](_0x2cfe10,{'commandName':_0x3d78('0x19'),'commandParams':[{..._0x49bf1f,'forceValue':_0x248159}],'formatGroupId':'blockName'});});}),(_0x456ab6[_0x3d78('0x16')][_0x3d78('0x17')](_0x3d78('0x19'),_0x292262=>_0xf9b2be(_0x49e4db,_0x3d78('0x18'),_0x292262)),_0x456ab6[_0x3d78('0x16')][_0x3d78('0x1c')](_0x1844e5=>{const _0xf7fe0f=_0x49e4db['t'],{type:_0x3c24d8,data:_0xe6cbf0}=_0x1844e5;if(_0x3d78('0x1a')==_0x3c24d8&&_0xe6cbf0&&'codeBlock'==_0xe6cbf0[_0x3d78('0x20')]){const _0x4f047b=_0xe6cbf0[_0x3d78('0x1b')][0x0][_0x3d78('0x11')],_0xced5dd=_0xf7fe0f(_0x70ff40['find'](_0x6c078=>_0x6c078[_0x3d78('0x11')]===_0x4f047b)['label']);return _0xe6cbf0[_0x3d78('0x1b')][0x0][_0x3d78('0x9')]?{'type':_0x3d78('0x10'),'content':_0xf9b2be(_0x49e4db,_0x3d78('0x7'),_0xf9b2be(_0x49e4db,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0xced5dd+')')}:{'type':'format','content':_0xf9b2be(_0x49e4db,'*Remove\x20format:*\x20%0',_0xf9b2be(_0x49e4db,_0x3d78('0x18'),0x1))};}}));}}function oo(_0x3377cf){return _0x3d78('0x19')==_0x3377cf[_0x3d78('0xd')];}
23
+ const _0x201e=['from','schema','languages','find','rootElement','_descriptionFactory','plugins','registerElementLabel','afterInit','*Format:*\x20%0','getSelectedBlocks','blockName','format','language','indentCodeBlock','filter','*Remove\x20format:*\x20%0','label','document','enableCommand','forceValue','has','selection','markBlockFormat','commands','locale','checkChild','get','commandParams','CodeBlock','change','isLimit','name','codeBlock','ELEMENT_CODE_BLOCK'];(function(_0x56a9da,_0x201eb9){const _0x302b86=function(_0x1b9375){while(--_0x1b9375){_0x56a9da['push'](_0x56a9da['shift']());}};_0x302b86(++_0x201eb9);}(_0x201e,0x1d0));const _0x302b=function(_0x56a9da,_0x201eb9){_0x56a9da=_0x56a9da-0x0;let _0x302b86=_0x201e[_0x56a9da];return _0x302b86;};import{Plugin as _0x2d8564}from'ckeditor5/src/core';import{getTranslation as _0x5e570e}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3ceb7f}from'../utils/utils';export default class F extends _0x2d8564{[_0x302b('0x22')](){const _0x4278ad=this['editor'];if(!_0x4278ad[_0x302b('0x20')][_0x302b('0xc')](_0x302b('0x14')))return;const _0x4097c6=_0x4278ad[_0x302b('0x20')]['get']('TrackChangesEditing'),_0x3d80c3=_0x4278ad[_0x302b('0x10')],_0x73cdc8=_0x4278ad['config'][_0x302b('0x12')](_0x302b('0x18'))[_0x302b('0x1c')],_0x8bd656=_0x4278ad[_0x302b('0xf')][_0x302b('0x12')](_0x302b('0x18'));_0x4097c6[_0x302b('0xa')](_0x302b('0x5')),_0x4097c6[_0x302b('0xa')]('outdentCodeBlock'),_0x4097c6[_0x302b('0xa')](_0x302b('0x18'),(_0x376986,_0x466dca={})=>{const _0x4c46bb=_0x4278ad['model'],_0x429cec=_0x4278ad['model'][_0x302b('0x9')][_0x302b('0xd')],_0x320ff9=_0x466dca&&void 0x0!==_0x466dca[_0x302b('0xb')]?_0x466dca[_0x302b('0xb')]:!_0x8bd656['value'];let _0x9cc5cf;_0x466dca[_0x302b('0x4')]||(_0x466dca[_0x302b('0x4')]=_0x73cdc8[0x0][_0x302b('0x4')]),_0x9cc5cf=_0x320ff9?Array[_0x302b('0x1a')](_0x429cec[_0x302b('0x1')]())[_0x302b('0x6')](_0x283708=>co(_0x283708)||function(_0x44880e,_0x17c57d){if(_0x44880e['is'](_0x302b('0x1e'))||_0x17c57d[_0x302b('0x16')](_0x44880e))return!0x1;return _0x17c57d[_0x302b('0x11')](_0x44880e['parent'],_0x302b('0x18'));}(_0x283708,_0x4c46bb[_0x302b('0x1b')])):Array[_0x302b('0x1a')](_0x429cec[_0x302b('0x1')]())[_0x302b('0x6')](_0x4462b6=>co(_0x4462b6));const _0x2f51d6=_0x3ceb7f(_0x9cc5cf,_0x4c46bb);_0x4c46bb[_0x302b('0x15')](()=>{for(const _0x2bb54d of _0x2f51d6)_0x4097c6[_0x302b('0xe')](_0x2bb54d,{'commandName':_0x302b('0x18'),'commandParams':[{..._0x466dca,'forceValue':_0x320ff9}],'formatGroupId':_0x302b('0x2')});});}),(_0x4097c6[_0x302b('0x1f')][_0x302b('0x21')](_0x302b('0x18'),_0xa8408d=>_0x5e570e(_0x3d80c3,_0x302b('0x19'),_0xa8408d)),_0x4097c6[_0x302b('0x1f')]['registerDescriptionCallback'](_0x48fab5=>{const _0x3ebc3e=_0x3d80c3['t'],{type:_0x313c6f,data:_0x26b7b7}=_0x48fab5;if('formatBlock'==_0x313c6f&&_0x26b7b7&&_0x302b('0x18')==_0x26b7b7['commandName']){const _0xfa2822=_0x26b7b7[_0x302b('0x13')][0x0]['language'],_0x2afa4a=_0x3ebc3e(_0x73cdc8[_0x302b('0x1d')](_0x3fa484=>_0x3fa484['language']===_0xfa2822)[_0x302b('0x8')]);return _0x26b7b7[_0x302b('0x13')][0x0]['forceValue']?{'type':_0x302b('0x3'),'content':_0x5e570e(_0x3d80c3,_0x302b('0x0'),_0x5e570e(_0x3d80c3,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x2afa4a+')')}:{'type':'format','content':_0x5e570e(_0x3d80c3,_0x302b('0x7'),_0x5e570e(_0x3d80c3,_0x302b('0x19'),0x1))};}}));}}function co(_0x2cdb35){return _0x302b('0x18')==_0x2cdb35[_0x302b('0x17')];}
@@ -1,14 +1,14 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/comments
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
11
- */
12
- export default class TrackChangesComments extends Plugin {
13
- afterInit(): void;
14
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/comments
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
11
+ */
12
+ export default class TrackChangesComments extends Plugin {
13
+ afterInit(): void;
14
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc9f0=['TrackChangesEditing','plugins','get','has','CommentsEditing'];(function(_0x1e158a,_0xc9f08c){const _0x3c4e95=function(_0x5b4482){while(--_0x5b4482){_0x1e158a['push'](_0x1e158a['shift']());}};_0x3c4e95(++_0xc9f08c);}(_0xc9f0,0xe2));const _0x3c4e=function(_0x1e158a,_0xc9f08c){_0x1e158a=_0x1e158a-0x0;let _0x3c4e95=_0xc9f0[_0x1e158a];return _0x3c4e95;};import{Plugin as _0x54a212}from'ckeditor5/src/core';export default class F extends _0x54a212{['afterInit'](){const _0x3a97ea=this['editor'];if(!_0x3a97ea[_0x3c4e('0x0')][_0x3c4e('0x2')](_0x3c4e('0x3')))return;_0x3a97ea[_0x3c4e('0x0')][_0x3c4e('0x1')](_0x3c4e('0x4'))['enableCommand']('addCommentThread');}}
23
+ const _0x5afc=['addCommentThread','has','get','enableCommand','afterInit','CommentsEditing','TrackChangesEditing','plugins','editor'];(function(_0x5b9792,_0x5afc29){const _0x587a61=function(_0x43f0c8){while(--_0x43f0c8){_0x5b9792['push'](_0x5b9792['shift']());}};_0x587a61(++_0x5afc29);}(_0x5afc,0x1e5));const _0x587a=function(_0x5b9792,_0x5afc29){_0x5b9792=_0x5b9792-0x0;let _0x587a61=_0x5afc[_0x5b9792];return _0x587a61;};import{Plugin as _0x201fa8}from'ckeditor5/src/core';export default class G extends _0x201fa8{[_0x587a('0x5')](){const _0x433240=this[_0x587a('0x0')];if(!_0x433240[_0x587a('0x8')][_0x587a('0x2')](_0x587a('0x6')))return;_0x433240[_0x587a('0x8')][_0x587a('0x3')](_0x587a('0x7'))[_0x587a('0x4')](_0x587a('0x1'));}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/deletecommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Delete } from 'ckeditor5/src/typing';
10
- /**
11
- * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
12
- * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
13
- */
14
- export default class TrackChangesDeleteCommand extends Plugin {
15
- static get requires(): readonly [typeof Delete];
16
- init(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/deletecommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Delete } from 'ckeditor5/src/typing';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
12
+ * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
13
+ */
14
+ export default class TrackChangesDeleteCommand extends Plugin {
15
+ static get requires(): readonly [typeof Delete];
16
+ init(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f5c=['editing','uiElement','selection','forward','deleteForward','showSuggestionHighlights','plugins','downcastDispatcher','buffer','model','root','removeMarker:suggestion:deletion','enableCommand','requires','document','data','merge','createRange','mapper','markerNameToElements','lock','remove','end','enqueueChange','createSelection','markerName','getFirstRange','$graveyard','high','start','editor','fromRange','writer','addMarker:suggestion:deletion','init','batch','rootName','isCollapsed','get','detach','TrackChangesEditing','bind','commands','unit','unbindElementFromMarkerName','options','unlock','setSelection'];(function(_0x582ecd,_0x1f5c70){const _0x4d2fbc=function(_0x1649b6){while(--_0x1649b6){_0x582ecd['push'](_0x582ecd['shift']());}};_0x4d2fbc(++_0x1f5c70);}(_0x1f5c,0x1d6));const _0x4d2f=function(_0x582ecd,_0x1f5c70){_0x582ecd=_0x582ecd-0x0;let _0x4d2fbc=_0x1f5c[_0x582ecd];return _0x4d2fbc;};import{Plugin as _0x4bd066}from'ckeditor5/src/core';import{LiveRange as _0x100225}from'ckeditor5/src/engine';import{Delete as _0x341415}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1b7263}from'./utils';export default class G extends _0x4bd066{static get[_0x4d2f('0x17')](){return[_0x341415];}[_0x4d2f('0x2c')](){const _0x2a09dd=this[_0x4d2f('0x28')],_0xbdd0cf=_0x2a09dd[_0x4d2f('0x10')][_0x4d2f('0x0')](_0x4d2f('0x2'));_0xbdd0cf[_0x4d2f('0x16')]('delete');const _0x1bc820=_0x2a09dd[_0x4d2f('0x4')][_0x4d2f('0x0')](_0x4d2f('0xe'));_0xbdd0cf['enableCommand'](_0x4d2f('0xe'),(_0x3c2365,_0x52df15={})=>{const _0x1b2272=_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x22')](_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x18')][_0x4d2f('0xc')]);_0x1b2272[_0x4d2f('0x2f')]&&_0x2a09dd['model']['modifySelection'](_0x1b2272,{'direction':_0x4d2f('0xd'),'unit':_0x52df15[_0x4d2f('0x5')]});const _0x30fa13=_0x1b2272[_0x4d2f('0x24')](),_0x58a8b2=_0x100225[_0x4d2f('0x29')](_0x30fa13);let _0x331178;_0x3c2365(_0x52df15),_0x331178=_0x4d2f('0x25')==_0x58a8b2[_0x4d2f('0x14')][_0x4d2f('0x2e')]?_0x2a09dd[_0x4d2f('0x13')]['createRange'](_0x30fa13['start']):_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x1b')](_0x58a8b2[_0x4d2f('0x27')],_0x58a8b2[_0x4d2f('0x20')]),_0x58a8b2[_0x4d2f('0x1')](),_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x21')](_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x2d')],_0x536bdb=>{_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x1e')](),_0x536bdb[_0x4d2f('0x9')](_0x536bdb[_0x4d2f('0x1b')](_0x331178['end'])),_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x8')]();});}),_0x2a09dd[_0x4d2f('0xa')][_0x4d2f('0x11')]['on'](_0x4d2f('0x2b'),_0x1b7263(_0x2a09dd,'merge'),{'priority':_0x4d2f('0x26')}),_0x2a09dd[_0x4d2f('0x19')][_0x4d2f('0x11')]['on']('addMarker:suggestion:deletion',(_0x15024a,_0x5f2314,_0x5f1564)=>{_0x5f1564[_0x4d2f('0x7')][_0x4d2f('0xf')]&&_0x1b7263(_0x2a09dd,_0x4d2f('0x1a'),{'showActiveMarker':!0x1})[_0x4d2f('0x3')](this)(_0x15024a,_0x5f2314,_0x5f1564);},{'priority':'high'}),_0x2a09dd[_0x4d2f('0xa')][_0x4d2f('0x11')]['on'](_0x4d2f('0x15'),(_0x283740,_0x493b63,_0x1e9232)=>{const _0x31bc1f=_0x1e9232[_0x4d2f('0x1c')][_0x4d2f('0x1d')](_0x493b63['markerName']);if(_0x31bc1f)for(const _0x5cae96 of _0x31bc1f)_0x5cae96['is'](_0x4d2f('0xb'))&&(_0x1e9232[_0x4d2f('0x1c')][_0x4d2f('0x6')](_0x5cae96,_0x493b63[_0x4d2f('0x23')]),_0x1e9232[_0x4d2f('0x2a')][_0x4d2f('0x1f')](_0x5cae96));},{'priority':_0x4d2f('0x26')});}}
23
+ const _0x444c=['createRange','$graveyard','unbindElementFromMarkerName','enableCommand','get','end','merge','high','markerName','start','model','fromRange','unit','remove','delete','downcastDispatcher','init','deleteForward','batch','detach','setSelection','rootName','selection','uiElement','lock','forward','buffer','document','mapper','bind','TrackChangesEditing','removeMarker:suggestion:deletion','options','writer','markerNameToElements','addMarker:suggestion:deletion'];(function(_0x3871ae,_0x444c97){const _0x546cb8=function(_0x365d71){while(--_0x365d71){_0x3871ae['push'](_0x3871ae['shift']());}};_0x546cb8(++_0x444c97);}(_0x444c,0x151));const _0x546c=function(_0x3871ae,_0x444c97){_0x3871ae=_0x3871ae-0x0;let _0x546cb8=_0x444c[_0x3871ae];return _0x546cb8;};import{Plugin as _0x40855e}from'ckeditor5/src/core';import{LiveRange as _0x8bcdc1}from'ckeditor5/src/engine';import{Delete as _0x4a4f5d}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1bc484}from'./utils';export default class L extends _0x40855e{static get['requires'](){return[_0x4a4f5d];}[_0x546c('0x3')](){const _0x3b725b=this['editor'],_0x357b58=_0x3b725b['plugins'][_0x546c('0x1b')](_0x546c('0x11'));_0x357b58[_0x546c('0x1a')](_0x546c('0x1'));const _0x59ac1e=_0x3b725b['commands']['get'](_0x546c('0x4'));_0x357b58[_0x546c('0x1a')](_0x546c('0x4'),(_0x5734b9,_0x2a6c77={})=>{const _0x1a8e41=_0x3b725b[_0x546c('0x21')]['createSelection'](_0x3b725b[_0x546c('0x21')][_0x546c('0xe')][_0x546c('0x9')]);_0x1a8e41['isCollapsed']&&_0x3b725b[_0x546c('0x21')]['modifySelection'](_0x1a8e41,{'direction':_0x546c('0xc'),'unit':_0x2a6c77[_0x546c('0x23')]});const _0x4fdbe1=_0x1a8e41['getFirstRange'](),_0x5546f9=_0x8bcdc1[_0x546c('0x22')](_0x4fdbe1);let _0x3ceb7c;_0x5734b9(_0x2a6c77),_0x3ceb7c=_0x546c('0x18')==_0x5546f9['root'][_0x546c('0x8')]?_0x3b725b[_0x546c('0x21')][_0x546c('0x17')](_0x4fdbe1[_0x546c('0x20')]):_0x3b725b[_0x546c('0x21')][_0x546c('0x17')](_0x5546f9['start'],_0x5546f9['end']),_0x5546f9[_0x546c('0x6')](),_0x3b725b[_0x546c('0x21')]['enqueueChange'](_0x59ac1e[_0x546c('0xd')][_0x546c('0x5')],_0x28c96b=>{_0x59ac1e[_0x546c('0xd')][_0x546c('0xb')](),_0x28c96b[_0x546c('0x7')](_0x28c96b[_0x546c('0x17')](_0x3ceb7c[_0x546c('0x1c')])),_0x59ac1e['buffer']['unlock']();});}),_0x3b725b['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x1bc484(_0x3b725b,_0x546c('0x1d')),{'priority':'high'}),_0x3b725b['data'][_0x546c('0x2')]['on'](_0x546c('0x16'),(_0x5deb64,_0x18cc25,_0x872f96)=>{_0x872f96[_0x546c('0x13')]['showSuggestionHighlights']&&_0x1bc484(_0x3b725b,_0x546c('0x1d'),{'showActiveMarker':!0x1})[_0x546c('0x10')](this)(_0x5deb64,_0x18cc25,_0x872f96);},{'priority':'high'}),_0x3b725b['editing'][_0x546c('0x2')]['on'](_0x546c('0x12'),(_0x466d91,_0x2e1cfb,_0x3b5539)=>{const _0x453690=_0x3b5539[_0x546c('0xf')][_0x546c('0x15')](_0x2e1cfb[_0x546c('0x1f')]);if(_0x453690)for(const _0x431e8c of _0x453690)_0x431e8c['is'](_0x546c('0xa'))&&(_0x3b5539['mapper'][_0x546c('0x19')](_0x431e8c,_0x2e1cfb[_0x546c('0x1f')]),_0x3b5539[_0x546c('0x14')][_0x546c('0x0')](_0x431e8c));},{'priority':_0x546c('0x1e')});}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/documentlist
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for document list feature.
11
- */
12
- export default class TrackChangesDocumentList extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/documentlist
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for document list feature.
11
+ */
12
+ export default class TrackChangesDocumentList extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5037=['splitListItemAfter','listIndent','add','isFirstBlockOfListItem','execute','*Change\x20to:*\x20%0','editor','listItemId','forceValue','*Outdent:*\x20%0','ELEMENT_LIST_ITEM','refresh','expandListBlocksToCompleteList','containsItem','slice','push','markBlockFormat','mergeListItemForward','parent','*Format:*\x20remove\x20from\x20%0','bulletedList','commandParams','map','format','document','numberedList','end','commands','model','plugins','ELEMENT_','ELEMENT_BULLETED_LIST','value','getSelectedBlocks','outdentList','start','selection','getAttribute','_suggestionFactory','listType','*Format:*\x20insert\x20into\x20%0','enableCommand','TrackChangesEditing','before','registerCustomCallback','documentList','indentList','formatBlock','nextSibling','afterInit','hasAttribute','nodeAfter','_descriptionFactory','getRanges','accept','length','get','createRange','ELEMENT_NUMBERED_LIST','schema','setSelection','from','detach','locale','after','DocumentListUtils','fromRange','previousSibling','isObject','DocumentListEditing','change','createPositionAt','getFirstRange','has','*Indent:*\x20%0','commandName'];(function(_0x5600a4,_0x5037a1){const _0x4494bc=function(_0x2a0917){while(--_0x2a0917){_0x5600a4['push'](_0x5600a4['shift']());}};_0x4494bc(++_0x5037a1);}(_0x5037,0x1cd));const _0x4494=function(_0x5600a4,_0x5037a1){_0x5600a4=_0x5600a4-0x0;let _0x4494bc=_0x5037[_0x5600a4];return _0x4494bc;};import{Plugin as _0x1bb2fb}from'ckeditor5/src/core';import{getTranslation as _0x155d70}from'../utils/common-translations';import{LiveRange as _0x234bbe}from'ckeditor5/src/engine';export default class L extends _0x1bb2fb{[_0x4494('0x2c')](){const _0x422813=this[_0x4494('0x1')];if(!_0x422813[_0x4494('0x18')][_0x4494('0x44')](_0x4494('0x40')))return;const _0x898cc4=_0x422813[_0x4494('0x3a')],_0x112bc2=_0x422813['plugins'][_0x4494('0x33')](_0x4494('0x25')),_0x43aa91=_0x422813[_0x4494('0x18')]['get'](_0x4494('0x3c'));function _0xdaae87(_0x964ce1){return()=>{const _0x23cfb3=_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x964ce1);let _0xd529f8=Array[_0x4494('0x38')](_0x422813[_0x4494('0x17')][_0x4494('0x13')][_0x4494('0x1f')][_0x4494('0x1c')]());if(_0x532088(_0x964ce1)){_0xd529f8=_0x43aa91[_0x4494('0x7')](_0xd529f8);const _0x4d3ca1=[];for(const _0x20ac7a of _0xd529f8)_0x43aa91[_0x4494('0x4a')](_0x20ac7a)&&_0x4d3ca1[_0x4494('0xa')](_0x20ac7a);_0xd529f8=_0x4d3ca1;}_0x422813[_0x4494('0x17')][_0x4494('0x41')](()=>{_0x112bc2['markMultiRangeBlockFormat'](_0xd529f8,{'commandName':_0x964ce1,'commandParams':[{'forceValue':!_0x23cfb3[_0x4494('0x1b')]}],'formatGroupId':'listType'},[],_0x4494('0x28'));});};}function _0x50ae7b(_0x3d49d5){return()=>{const _0x2c9dcd=function(_0x26f186){let _0x306e75=Array['from'](_0x26f186);const _0x6b652d=_0x306e75['findIndex'](_0x3dfb67=>!_0x3dfb67[_0x4494('0x2d')](_0x4494('0x2')));return _0x6b652d>-0x1&&(_0x306e75=_0x306e75[_0x4494('0x9')](0x0,_0x6b652d)),_0x306e75;}(_0x422813[_0x4494('0x17')][_0x4494('0x13')]['selection'][_0x4494('0x1c')]()),_0x3aad81=_0x2c9dcd[_0x2c9dcd[_0x4494('0x32')]-0x1],_0x29e63b=_0x422813[_0x4494('0x17')][_0x4494('0x36')][_0x4494('0x3f')](_0x3aad81)?_0x4494('0x3b'):_0x4494('0x15'),_0x5d7ff1=_0x422813[_0x4494('0x17')][_0x4494('0x34')](_0x422813['model'][_0x4494('0x42')](_0x2c9dcd[0x0],_0x4494('0x26')),_0x422813[_0x4494('0x17')][_0x4494('0x42')](_0x3aad81,_0x29e63b));_0x422813['model']['change'](()=>{_0x112bc2[_0x4494('0xb')](_0x5d7ff1,{'commandName':_0x3d49d5,'commandParams':[],'formatGroupId':_0x4494('0x22')},function(_0x1a0966){const _0x4371ea=new Set();for(const _0xb5f984 of _0x1a0966){let _0x59e5a3=_0xb5f984['nextSibling'];for(;_0x59e5a3&&_0x59e5a3[_0x4494('0x20')](_0x4494('0x48'))>_0xb5f984[_0x4494('0x20')](_0x4494('0x48'));)_0x4371ea[_0x4494('0x49')](_0x59e5a3),_0x59e5a3=_0x59e5a3[_0x4494('0x2b')];}return Array['from'](_0x4371ea);}(_0x2c9dcd));});};}function _0x2568ea(_0x58073e){return()=>{const _0x2172de=_0x422813[_0x4494('0x17')]['document'][_0x4494('0x1f')][_0x4494('0x1c')]()['next']()[_0x4494('0x1b')],_0x49799b=_0x422813[_0x4494('0x17')]['createPositionAt'](_0x2172de,'before'),_0xaf37dd=_0x422813['model'][_0x4494('0x42')](_0x2172de,0x0),_0x2be34a=_0x422813[_0x4494('0x17')][_0x4494('0x34')](_0x49799b,_0xaf37dd);_0x422813[_0x4494('0x17')]['change'](()=>{_0x112bc2[_0x4494('0xb')](_0x2be34a,{'commandName':_0x58073e,'commandParams':[],'formatGroupId':_0x4494('0x22')});});};}function _0x532088(_0x9fc2fd){const _0x32385d=_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x4494('0xf'))['value'],_0x2fd023=_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x4494('0x14'))[_0x4494('0x1b')];return'numberedList'===_0x9fc2fd?_0x32385d:_0x2fd023;}_0x112bc2[_0x4494('0x24')](_0x4494('0x14'),_0xdaae87(_0x4494('0x14'))),_0x112bc2[_0x4494('0x24')](_0x4494('0xf'),_0xdaae87(_0x4494('0xf'))),_0x112bc2[_0x4494('0x24')](_0x4494('0x29'),_0x50ae7b(_0x4494('0x29'))),_0x112bc2[_0x4494('0x24')](_0x4494('0x1d'),_0x50ae7b(_0x4494('0x1d'))),_0x112bc2[_0x4494('0x24')](_0x4494('0x47'),_0x2568ea(_0x4494('0x47'))),_0x112bc2[_0x4494('0x24')]('splitListItemBefore',_0x2568ea('splitListItemBefore')),_0x112bc2[_0x4494('0x2f')]['registerElementLabel'](function(_0x36f97f){const _0x1c1921=!_0x422813[_0x4494('0x17')][_0x4494('0x36')][_0x4494('0x3f')](_0x36f97f),_0x50c5b7=_0x36f97f[_0x4494('0x3e')],_0x154d5a=_0x36f97f[_0x4494('0x2b')],_0x2e6e20=_0x36f97f[_0x4494('0x20')](_0x4494('0x2')),_0x17b19b=!_0x50c5b7||_0x50c5b7[_0x4494('0x20')](_0x4494('0x2'))!==_0x2e6e20,_0x32c0f4=!_0x154d5a||_0x154d5a[_0x4494('0x20')](_0x4494('0x2'))!==_0x2e6e20;return _0x1c1921&&Boolean(_0x2e6e20)&&_0x17b19b&&_0x32c0f4;},_0x376d43=>_0x155d70(_0x898cc4,_0x4494('0x5'),_0x376d43)),_0x112bc2[_0x4494('0x2f')]['registerDescriptionCallback'](function(_0x4682a6){const {data:_0x29b199}=_0x4682a6;if(!_0x29b199)return;let _0x527828,_0x18a240,_0x2122a5,_0x18204e;switch(_0x29b199[_0x4494('0x46')]){case _0x4494('0xf'):_0x2122a5=_0x29b199[_0x4494('0x10')][0x0]['forceValue'],_0x18204e=_0x532088(_0x29b199[_0x4494('0x46')]),_0x527828=_0x2122a5?_0x4494('0x23'):_0x4494('0xe'),_0x18204e&&(_0x527828=_0x4494('0x0')),_0x18a240={'type':_0x4494('0x12'),'content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,_0x4494('0x1a')))};break;case _0x4494('0x14'):_0x2122a5=_0x29b199[_0x4494('0x10')][0x0][_0x4494('0x3')],_0x18204e=_0x532088(_0x29b199[_0x4494('0x46')]),_0x527828=_0x2122a5?'*Format:*\x20insert\x20into\x20%0':_0x4494('0xe'),_0x18204e&&(_0x527828=_0x4494('0x0')),_0x18a240={'type':'format','content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,_0x4494('0x35')))};break;case _0x4494('0x29'):_0x527828=_0x4494('0x45'),_0x18a240={'type':'format','content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x527828=function(_0x30fd4b){const _0x206185=_0x30fd4b['getFirstRange']();let _0x40605d=_0x206185['start'][_0x4494('0x2e')];for(;_0x40605d&&_0x206185[_0x4494('0x8')](_0x40605d);){if(_0x40605d[_0x4494('0x20')](_0x4494('0x48'))>0x0)return!0x1;_0x40605d=_0x40605d[_0x4494('0x2b')];}return!0x0;}(_0x4682a6)?_0x155d70(_0x898cc4,'*Format:*\x20remove\x20from\x20%0',_0x155d70(_0x898cc4,function(_0x4487a6){const _0x2aa1b1=_0x4487a6[_0x4494('0x43')]()[_0x4494('0x1e')][_0x4494('0x2e')];return _0x4494('0x19')+_0x2aa1b1[_0x4494('0x20')](_0x4494('0x22'))['toUpperCase']()+'_LIST';}(_0x4682a6))):_0x155d70(_0x898cc4,_0x4494('0x4'),_0x155d70(_0x898cc4,_0x4494('0x5'))),_0x18a240={'type':_0x4494('0x12'),'content':_0x527828};break;case'mergeListItemBackward':case _0x4494('0xc'):!0x1===_0x29b199['multipleBlocks']&&(_0x527828='*Merge:*\x20%0',_0x18a240={'type':'deletion','content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,'ELEMENT_LIST_ITEM'))});}return _0x18a240;}),_0x112bc2[_0x4494('0x21')][_0x4494('0x27')](_0x4494('0x2a'),_0x4494('0x28'),_0x4494('0x31'),function(_0x3b6639,_0x12eb8d){const _0x243887=[];for(let _0x45eb29 of _0x3b6639)_0x45eb29[_0x4494('0x1e')][_0x4494('0x2e')]===_0x45eb29['end'][_0x4494('0xd')]&&(_0x45eb29=_0x422813[_0x4494('0x17')][_0x4494('0x34')](_0x422813[_0x4494('0x17')][_0x4494('0x42')](_0x45eb29['start'][_0x4494('0x2e')],0x0))),_0x243887[_0x4494('0xa')](_0x45eb29);_0x422813['model'][_0x4494('0x41')](_0x3a6167=>{const _0x123468=_0x422813[_0x4494('0x17')]['document'][_0x4494('0x1f')],_0x1224a4=Array['from'](_0x123468[_0x4494('0x30')]())[_0x4494('0x11')](_0x5e1308=>_0x234bbe[_0x4494('0x3d')](_0x5e1308));_0x3a6167[_0x4494('0x37')](_0x243887),_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x12eb8d[_0x4494('0x46')])[_0x4494('0x6')](),_0x12eb8d[_0x4494('0x10')]['push']({'forceDefaultExecution':!0x0}),_0x422813[_0x4494('0x4b')](_0x12eb8d[_0x4494('0x46')],..._0x12eb8d[_0x4494('0x10')]),_0x3a6167[_0x4494('0x37')](_0x1224a4);for(const _0x2875f9 of _0x1224a4)_0x2875f9[_0x4494('0x39')]();});});}}
23
+ const _0x5e9d=['_suggestionFactory','numberedList','mergeListItemBackward','toUpperCase','markBlockFormat','setSelection','getAttribute','multipleBlocks','document','containsItem','editor','parent','add','outdentList','config','before','getRanges','ELEMENT_BULLETED_LIST','hasAttribute','*Format:*\x20insert\x20into\x20%0','get','indentList','execute','isObject','has','*Indent:*\x20%0','listType','value','end','forceValue','deletion','previousSibling','getSelectedBlocks','next','from','createPositionAt','commands','createRange','findIndex','fromRange','_LIST','after','splitListItemBefore','*Format:*\x20remove\x20from\x20%0','TrackChangesEditing','format','registerCustomCallback','selection','*Outdent:*\x20%0','commandParams','enableCommand','nodeAfter','list.multiBlock','listItemId','registerElementLabel','_descriptionFactory','model','bulletedList','documentList','*Merge:*\x20%0','commandName','start','getFirstRange','plugins','markMultiRangeBlockFormat','ELEMENT_LIST_ITEM','formatBlock','nextSibling','refresh','push','change','listIndent','afterInit','DocumentListEditing'];(function(_0x131c6b,_0x5e9d3b){const _0x3b63d4=function(_0x1c5697){while(--_0x1c5697){_0x131c6b['push'](_0x131c6b['shift']());}};_0x3b63d4(++_0x5e9d3b);}(_0x5e9d,0xb4));const _0x3b63=function(_0x131c6b,_0x5e9d3b){_0x131c6b=_0x131c6b-0x0;let _0x3b63d4=_0x5e9d[_0x131c6b];return _0x3b63d4;};import{Plugin as _0x557346}from'ckeditor5/src/core';import{getTranslation as _0x5e3f9d}from'../utils/common-translations';import{LiveRange as _0x5b4cad}from'ckeditor5/src/engine';export default class q extends _0x557346{[_0x3b63('0x28')](){const _0x264d59=this[_0x3b63('0x34')];if(!_0x264d59[_0x3b63('0x1f')][_0x3b63('0x42')](_0x3b63('0x29')))return;const _0x4952a7=_0x264d59['locale'],_0x3e4e36=_0x264d59[_0x3b63('0x1f')][_0x3b63('0x3e')](_0x3b63('0xc')),_0x46a5f6=_0x264d59[_0x3b63('0x1f')][_0x3b63('0x3e')]('DocumentListUtils');function _0x20b1c4(_0x178ff8){return()=>{const _0x582bac=_0x264d59[_0x3b63('0x4')][_0x3b63('0x3e')](_0x178ff8);if(_0x582bac[_0x3b63('0x45')]&&!_0x264d59[_0x3b63('0x38')][_0x3b63('0x3e')]('list.multiBlock'))return void _0x264d59['execute']('paragraph',{});let _0x53ec1b=Array['from'](_0x264d59[_0x3b63('0x18')][_0x3b63('0x32')][_0x3b63('0xf')][_0x3b63('0x0')]());if(_0x547829(_0x178ff8)){_0x53ec1b=_0x46a5f6['expandListBlocksToCompleteList'](_0x53ec1b);const _0x114a69=[];for(const _0x529451 of _0x53ec1b)_0x46a5f6['isFirstBlockOfListItem'](_0x529451)&&_0x114a69[_0x3b63('0x25')](_0x529451);_0x53ec1b=_0x114a69;}_0x264d59['model']['change'](()=>{_0x3e4e36[_0x3b63('0x20')](_0x53ec1b,{'commandName':_0x178ff8,'commandParams':[{'forceValue':!_0x582bac['value']}],'formatGroupId':'listType'},[],_0x3b63('0x1a'));});};}function _0xbbdd1(_0x3414d8){return()=>{const _0x4b2588=function(_0xe0ce72){let _0x5e27fa=Array[_0x3b63('0x2')](_0xe0ce72);const _0x219ed4=_0x5e27fa[_0x3b63('0x6')](_0x414f79=>!_0x414f79[_0x3b63('0x3c')](_0x3b63('0x15')));return _0x219ed4>-0x1&&(_0x5e27fa=_0x5e27fa['slice'](0x0,_0x219ed4)),_0x5e27fa;}(_0x264d59['model']['document'][_0x3b63('0xf')][_0x3b63('0x0')]()),_0x2b4815=_0x4b2588[_0x4b2588['length']-0x1],_0x19fcde=_0x264d59[_0x3b63('0x18')]['schema'][_0x3b63('0x41')](_0x2b4815)?_0x3b63('0x9'):_0x3b63('0x46'),_0x3d1573=_0x264d59[_0x3b63('0x18')]['createRange'](_0x264d59[_0x3b63('0x18')]['createPositionAt'](_0x4b2588[0x0],_0x3b63('0x39')),_0x264d59[_0x3b63('0x18')][_0x3b63('0x3')](_0x2b4815,_0x19fcde));_0x264d59[_0x3b63('0x18')]['change'](()=>{_0x3e4e36[_0x3b63('0x2e')](_0x3d1573,{'commandName':_0x3414d8,'commandParams':[],'formatGroupId':_0x3b63('0x44')},function(_0x1dfa99){const _0x118556=new Set();for(const _0xffdc57 of _0x1dfa99){let _0x4c93f7=_0xffdc57[_0x3b63('0x23')];for(;_0x4c93f7&&_0x4c93f7['getAttribute'](_0x3b63('0x27'))>_0xffdc57[_0x3b63('0x30')](_0x3b63('0x27'));)_0x118556[_0x3b63('0x36')](_0x4c93f7),_0x4c93f7=_0x4c93f7[_0x3b63('0x23')];}return Array[_0x3b63('0x2')](_0x118556);}(_0x4b2588));});};}function _0x3ac112(_0x5cb44a){return()=>{const _0x685045=_0x264d59[_0x3b63('0x18')][_0x3b63('0x32')][_0x3b63('0xf')][_0x3b63('0x0')]()[_0x3b63('0x1')]()[_0x3b63('0x45')],_0x2494e7=_0x264d59[_0x3b63('0x18')]['createPositionAt'](_0x685045,_0x3b63('0x39')),_0x18b1df=_0x264d59['model'][_0x3b63('0x3')](_0x685045,0x0),_0x376323=_0x264d59['model']['createRange'](_0x2494e7,_0x18b1df);_0x264d59['model'][_0x3b63('0x26')](()=>{_0x3e4e36[_0x3b63('0x2e')](_0x376323,{'commandName':_0x5cb44a,'commandParams':[],'formatGroupId':_0x3b63('0x44')});});};}function _0x547829(_0x4fa7ac){const _0x2f8a70=_0x264d59[_0x3b63('0x4')][_0x3b63('0x3e')]('bulletedList')['value'],_0x4c6f47=_0x264d59['commands'][_0x3b63('0x3e')](_0x3b63('0x2b'))[_0x3b63('0x45')];return _0x3b63('0x2b')===_0x4fa7ac?_0x2f8a70:_0x4c6f47;}_0x3e4e36[_0x3b63('0x12')](_0x3b63('0x2b'),_0x20b1c4(_0x3b63('0x2b'))),_0x3e4e36['enableCommand'](_0x3b63('0x19'),_0x20b1c4(_0x3b63('0x19'))),_0x3e4e36['enableCommand']('indentList',_0xbbdd1(_0x3b63('0x3f'))),_0x3e4e36[_0x3b63('0x12')](_0x3b63('0x37'),_0xbbdd1('outdentList')),_0x3e4e36['enableCommand']('splitListItemAfter',_0x3ac112('splitListItemAfter')),_0x3e4e36[_0x3b63('0x12')](_0x3b63('0xa'),_0x3ac112(_0x3b63('0xa'))),_0x3e4e36['_descriptionFactory'][_0x3b63('0x16')](function(_0x2d2eaf){const _0x1d892b=!_0x264d59[_0x3b63('0x18')]['schema'][_0x3b63('0x41')](_0x2d2eaf),_0x431917=_0x2d2eaf[_0x3b63('0x49')],_0x447d05=_0x2d2eaf[_0x3b63('0x23')],_0x39931b=_0x2d2eaf[_0x3b63('0x30')]('listItemId'),_0x4502bc=!_0x431917||_0x431917['getAttribute'](_0x3b63('0x15'))!==_0x39931b,_0x536db7=!_0x447d05||_0x447d05[_0x3b63('0x30')]('listItemId')!==_0x39931b;return _0x1d892b&&Boolean(_0x39931b)&&_0x4502bc&&_0x536db7;},_0x28c29c=>_0x5e3f9d(_0x4952a7,_0x3b63('0x21'),_0x28c29c)),_0x3e4e36[_0x3b63('0x17')]['registerDescriptionCallback'](function(_0x505cc5){const {data:_0x3ba178}=_0x505cc5;if(!_0x3ba178)return;let _0x2e1803,_0x453293,_0x5247a7,_0x53c557;switch(_0x3ba178[_0x3b63('0x1c')]){case'bulletedList':_0x5247a7=_0x3ba178['commandParams'][0x0][_0x3b63('0x47')],_0x53c557=_0x547829(_0x3ba178['commandName']),_0x2e1803=_0x5247a7?_0x3b63('0x3d'):_0x3b63('0xb'),!_0x53c557&&_0x264d59[_0x3b63('0x38')]['get'](_0x3b63('0x14'))||(_0x2e1803='*Change\x20to:*\x20%0'),_0x453293={'type':_0x3b63('0xd'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,_0x3b63('0x3b')))};break;case _0x3b63('0x2b'):_0x5247a7=_0x3ba178[_0x3b63('0x11')][0x0][_0x3b63('0x47')],_0x53c557=_0x547829(_0x3ba178['commandName']),_0x2e1803=_0x5247a7?_0x3b63('0x3d'):_0x3b63('0xb'),!_0x53c557&&_0x264d59[_0x3b63('0x38')][_0x3b63('0x3e')](_0x3b63('0x14'))||(_0x2e1803='*Change\x20to:*\x20%0'),_0x453293={'type':_0x3b63('0xd'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,'ELEMENT_NUMBERED_LIST'))};break;case _0x3b63('0x3f'):_0x2e1803=_0x3b63('0x43'),_0x453293={'type':_0x3b63('0xd'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,_0x3b63('0x21')))};break;case _0x3b63('0x37'):_0x2e1803=function(_0x58782f){const _0x49895c=_0x58782f['getFirstRange']();let _0x178b70=_0x49895c[_0x3b63('0x1d')]['nodeAfter'];for(;_0x178b70&&_0x49895c[_0x3b63('0x33')](_0x178b70);){if(_0x178b70[_0x3b63('0x30')]('listIndent')>0x0)return!0x1;_0x178b70=_0x178b70[_0x3b63('0x23')];}return!0x0;}(_0x505cc5)?_0x5e3f9d(_0x4952a7,_0x3b63('0xb'),_0x5e3f9d(_0x4952a7,function(_0x57a2dc){const _0x2823d7=_0x57a2dc[_0x3b63('0x1e')]()[_0x3b63('0x1d')]['nodeAfter'];return'ELEMENT_'+_0x2823d7[_0x3b63('0x30')](_0x3b63('0x44'))[_0x3b63('0x2d')]()+_0x3b63('0x8');}(_0x505cc5))):_0x5e3f9d(_0x4952a7,_0x3b63('0x10'),_0x5e3f9d(_0x4952a7,_0x3b63('0x21'))),_0x453293={'type':_0x3b63('0xd'),'content':_0x2e1803};break;case _0x3b63('0x2c'):case'mergeListItemForward':!0x1===_0x3ba178[_0x3b63('0x31')]&&(_0x2e1803=_0x3b63('0x1b'),_0x453293={'type':_0x3b63('0x48'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,'ELEMENT_LIST_ITEM'))});}return _0x453293;}),_0x3e4e36[_0x3b63('0x2a')][_0x3b63('0xe')](_0x3b63('0x22'),_0x3b63('0x1a'),'accept',function(_0x36e2d5,_0x1a78dc){const _0x12042e=[];for(let _0x5a657a of _0x36e2d5)_0x5a657a[_0x3b63('0x1d')][_0x3b63('0x13')]===_0x5a657a[_0x3b63('0x46')][_0x3b63('0x35')]&&(_0x5a657a=_0x264d59[_0x3b63('0x18')][_0x3b63('0x5')](_0x264d59[_0x3b63('0x18')][_0x3b63('0x3')](_0x5a657a['start'][_0x3b63('0x13')],0x0))),_0x12042e[_0x3b63('0x25')](_0x5a657a);_0x264d59[_0x3b63('0x18')][_0x3b63('0x26')](_0x4c5cd0=>{const _0x3cc430=_0x264d59[_0x3b63('0x18')][_0x3b63('0x32')][_0x3b63('0xf')],_0x13d677=Array[_0x3b63('0x2')](_0x3cc430[_0x3b63('0x3a')]())['map'](_0x5b4e31=>_0x5b4cad[_0x3b63('0x7')](_0x5b4e31));_0x4c5cd0[_0x3b63('0x2f')](_0x12042e),_0x264d59['commands'][_0x3b63('0x3e')](_0x1a78dc[_0x3b63('0x1c')])[_0x3b63('0x24')](),_0x1a78dc['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x264d59[_0x3b63('0x40')](_0x1a78dc[_0x3b63('0x1c')],..._0x1a78dc['commandParams']),_0x4c5cd0[_0x3b63('0x2f')](_0x13d677);for(const _0x26c2e2 of _0x13d677)_0x26c2e2['detach']();});});}}
@@ -1,29 +1,29 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/documentlistproperties
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
11
- /**
12
- * Provides track changes plugin integration for document list properties feature.
13
- */
14
- export default class TrackChangesDocumentListProperties extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- afterInit(): void;
19
- handleListStyleCommand(executeCommand: Function, options?: {
20
- type?: string | null;
21
- }): void;
22
- handleListReversedCommand(executeCommand: Function, options?: {
23
- reversed?: boolean;
24
- }): void;
25
- handleListStartCommand(executeCommand: Function, options?: {
26
- startIndex?: number;
27
- }): void;
28
- handleDescriptions(suggestion: Suggestion): Description | undefined;
29
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/documentlistproperties
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import type { Description } from '../suggestiondescriptionfactory';
10
+ import type Suggestion from '../suggestion';
11
+ /**
12
+ * Provides track changes plugin integration for document list properties feature.
13
+ */
14
+ export default class TrackChangesDocumentListProperties extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ afterInit(): void;
19
+ handleListStyleCommand(executeCommand: Function, options?: {
20
+ type?: string | null;
21
+ }): void;
22
+ handleListReversedCommand(executeCommand: Function, options?: {
23
+ reversed?: boolean;
24
+ }): void;
25
+ handleListStartCommand(executeCommand: Function, options?: {
26
+ startIndex?: number;
27
+ }): void;
28
+ handleDescriptions(suggestion: Suggestion): Description | undefined;
29
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24e3=['_getTranslationKeyForListStyle','model','format','registerDescriptionCallback','handleListStartCommand','selection','afterInit','locale','listStyle','ELEMENT_','*Change\x20to:*\x20%0','_getSuggestionBlocks','replace','filter','listType','isListItemBlock','handleListReversedCommand','from','numbered','commandName','TrackChangesEditing','length','enableCommand','type','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','handleDescriptions','DocumentListPropertiesUtils','change','toUpperCase','getAttribute','_getSuggestionBlocksForListStyle','expandListBlocksToCompleteList','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20reversed','styles','bind','document','list.properties','handleListStyleCommand','listReversed','DocumentListUtils','get','config','commandParams','_LIST_','listStart','reversed','plugins','getSelectedBlocks','has','isFirstBlockOfListItem','editor'];(function(_0x5a3c5f,_0x24e328){const _0x1cf249=function(_0x478d7f){while(--_0x478d7f){_0x5a3c5f['push'](_0x5a3c5f['shift']());}};_0x1cf249(++_0x24e328);}(_0x24e3,0x1df));const _0x1cf2=function(_0x5a3c5f,_0x24e328){_0x5a3c5f=_0x5a3c5f-0x0;let _0x1cf249=_0x24e3[_0x5a3c5f];return _0x1cf249;};import{Plugin as _0x4ab4f0}from'ckeditor5/src/core';import{getTranslation as _0x544bd0}from'../utils/common-translations';export default class At extends _0x4ab4f0{[_0x1cf2('0x4')](){if(!this['editor'][_0x1cf2('0x2e')][_0x1cf2('0x30')]('DocumentListPropertiesEditing'))return;const _0x2af2c1=this[_0x1cf2('0x32')][_0x1cf2('0x29')][_0x1cf2('0x28')](_0x1cf2('0x24')),_0x16f927=this['editor']['plugins'][_0x1cf2('0x28')](_0x1cf2('0x12'));_0x2af2c1[_0x1cf2('0x21')]&&_0x16f927[_0x1cf2('0x14')](_0x1cf2('0x6'),this['handleListStyleCommand']['bind'](this)),_0x2af2c1[_0x1cf2('0x2d')]&&_0x16f927[_0x1cf2('0x14')](_0x1cf2('0x26'),this[_0x1cf2('0xe')][_0x1cf2('0x22')](this)),_0x2af2c1[_0x1cf2('0x17')]&&_0x16f927[_0x1cf2('0x14')](_0x1cf2('0x2c'),this['handleListStartCommand'][_0x1cf2('0x22')](this)),_0x16f927['_descriptionFactory'][_0x1cf2('0x1')](this[_0x1cf2('0x18')][_0x1cf2('0x22')](this));}[_0x1cf2('0x25')](_0x3ed424,_0x208ca3={}){const _0x2c13ad=this[_0x1cf2('0x32')][_0x1cf2('0x2e')]['get'](_0x1cf2('0x12')),_0x35c4da=this[_0x1cf2('0x1d')]();this[_0x1cf2('0x32')][_0x1cf2('0x34')][_0x1cf2('0x1a')](()=>{_0x2c13ad[_0x1cf2('0x1f')](_0x35c4da,{'commandName':_0x1cf2('0x6'),'commandParams':[{'type':_0x208ca3[_0x1cf2('0x15')]}],'formatGroupId':_0x1cf2('0x6')});});}[_0x1cf2('0xe')](_0x3140b8,_0x2737b2={}){const _0x596f40=this[_0x1cf2('0x32')]['plugins'][_0x1cf2('0x28')](_0x1cf2('0x12')),_0x2874d9=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x27')),_0x211c76=this[_0x1cf2('0x9')](_0x7267cb=>_0x2874d9[_0x1cf2('0xd')](_0x7267cb)&&_0x1cf2('0x10')===_0x7267cb[_0x1cf2('0x1c')](_0x1cf2('0xc')));null!==_0x211c76&&this[_0x1cf2('0x32')][_0x1cf2('0x34')][_0x1cf2('0x1a')](()=>{_0x596f40[_0x1cf2('0x1f')](_0x211c76,{'commandName':_0x1cf2('0x26'),'commandParams':[{'reversed':_0x2737b2[_0x1cf2('0x2d')]}],'formatGroupId':_0x1cf2('0x26')});});}[_0x1cf2('0x2')](_0x48cbf2,_0x58a747={}){const _0x4f875e=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')]('TrackChangesEditing'),_0x1ed9a8=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x27')),_0x3d6c9d=this[_0x1cf2('0x9')](_0x5e3f4c=>_0x1ed9a8[_0x1cf2('0xd')](_0x5e3f4c)&&'numbered'===_0x5e3f4c['getAttribute']('listType'));null!==_0x3d6c9d&&this[_0x1cf2('0x32')][_0x1cf2('0x34')][_0x1cf2('0x1a')](()=>{_0x4f875e[_0x1cf2('0x1f')](_0x3d6c9d,{'commandName':_0x1cf2('0x2c'),'commandParams':[{'startIndex':_0x58a747[_0x1cf2('0x17')]}],'formatGroupId':_0x1cf2('0x2c')});});}[_0x1cf2('0x18')](_0x41b183){const _0x5eaaf2=this['editor'][_0x1cf2('0x5')],{data:_0x1ec7b7}=_0x41b183;if(!_0x1ec7b7)return;let _0x84aa16,_0x4aa5ea;switch(_0x1ec7b7[_0x1cf2('0x11')]){case _0x1cf2('0x6'):_0x84aa16=_0x1cf2('0x8'),_0x4aa5ea={'type':_0x1cf2('0x0'),'content':_0x544bd0(_0x5eaaf2,_0x84aa16,_0x544bd0(_0x5eaaf2,this[_0x1cf2('0x33')](_0x1ec7b7['commandParams'][0x0][_0x1cf2('0x15')])))};break;case _0x1cf2('0x26'):_0x84aa16=_0x1ec7b7[_0x1cf2('0x2a')][0x0]['reversed']?_0x1cf2('0x20'):'*Format:*\x20set\x20order\x20to\x20regular',_0x4aa5ea={'type':_0x1cf2('0x0'),'content':_0x544bd0(_0x5eaaf2,_0x84aa16)};break;case'listStart':_0x84aa16=_0x1cf2('0x16'),_0x4aa5ea={'type':_0x1cf2('0x0'),'content':_0x544bd0(_0x5eaaf2,_0x84aa16,_0x1ec7b7[_0x1cf2('0x2a')][0x0][_0x1cf2('0x17')])};}return _0x4aa5ea;}[_0x1cf2('0x1d')](){const _0x365b0c=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x27'));let _0x14ce4e=Array[_0x1cf2('0xf')](this[_0x1cf2('0x32')]['model'][_0x1cf2('0x23')][_0x1cf2('0x3')]['getSelectedBlocks']());return _0x14ce4e['push'](..._0x365b0c[_0x1cf2('0x1e')](_0x14ce4e)),_0x14ce4e=[...new Set(_0x14ce4e)],_0x14ce4e;}[_0x1cf2('0x9')](_0x5c2645){const _0x252a9=this[_0x1cf2('0x32')]['plugins'][_0x1cf2('0x28')]('DocumentListUtils');let _0x202be0=Array['from'](this[_0x1cf2('0x32')][_0x1cf2('0x34')]['document'][_0x1cf2('0x3')][_0x1cf2('0x2f')]())[_0x1cf2('0xb')](_0x5c2645);if(!_0x202be0[_0x1cf2('0x13')])return null;_0x202be0=_0x252a9[_0x1cf2('0x1e')](_0x202be0);const _0x5791e6=[];for(const _0x340ade of _0x202be0)_0x252a9[_0x1cf2('0x31')](_0x340ade)&&_0x5791e6['push'](_0x340ade);return _0x5791e6;}[_0x1cf2('0x33')](_0x349bec){return _0x1cf2('0x7')+this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x19'))['getListTypeFromListStyleType'](_0x349bec)[_0x1cf2('0x1b')]()+_0x1cf2('0x2b')+_0x349bec[_0x1cf2('0x1b')]()[_0x1cf2('0xa')](/-/g,'_');}}
23
+ const _0x42be=['numbered','*Format:*\x20set\x20order\x20to\x20regular','listStart','_getSuggestionBlocksForListStyle','format','TrackChangesEditing','handleListReversedCommand','reversed','bind','config','editor','startIndex','listType','*Format:*\x20set\x20start\x20index\x20to\x20%0','isListItemBlock','listStyle','handleListStyleCommand','selection','type','toUpperCase','getSelectedBlocks','commandName','list.properties','has','*Change\x20to:*\x20%0','from','expandListBlocksToCompleteList','_descriptionFactory','get','handleListStartCommand','document','replace','getAttribute','length','DocumentListPropertiesUtils','handleDescriptions','locale','DocumentListUtils','ELEMENT_','_getSuggestionBlocks','plugins','change','listReversed','commandParams','styles','_LIST_','enableCommand','markMultiRangeBlockFormat','model','_getTranslationKeyForListStyle','push','filter'];(function(_0x185820,_0x42be38){const _0x22da2e=function(_0x585436){while(--_0x585436){_0x185820['push'](_0x185820['shift']());}};_0x22da2e(++_0x42be38);}(_0x42be,0xca));const _0x22da=function(_0x185820,_0x42be38){_0x185820=_0x185820-0x0;let _0x22da2e=_0x42be[_0x185820];return _0x22da2e;};import{Plugin as _0x1da21b}from'ckeditor5/src/core';import{getTranslation as _0x4a805d}from'../utils/common-translations';export default class Ct extends _0x1da21b{['afterInit'](){if(!this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x1d')]('DocumentListPropertiesEditing'))return;const _0x10d373=this[_0x22da('0x10')][_0x22da('0xf')][_0x22da('0x22')](_0x22da('0x1c')),_0xfd93d1=this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0xb'));_0x10d373[_0x22da('0x32')]&&_0xfd93d1[_0x22da('0x0')](_0x22da('0x15'),this['handleListStyleCommand'][_0x22da('0xe')](this)),_0x10d373[_0x22da('0xd')]&&_0xfd93d1['enableCommand'](_0x22da('0x30'),this[_0x22da('0xc')][_0x22da('0xe')](this)),_0x10d373[_0x22da('0x11')]&&_0xfd93d1[_0x22da('0x0')](_0x22da('0x8'),this['handleListStartCommand'][_0x22da('0xe')](this)),_0xfd93d1[_0x22da('0x21')]['registerDescriptionCallback'](this['handleDescriptions'][_0x22da('0xe')](this));}[_0x22da('0x16')](_0x79c5bc,_0x3d8718={}){const _0x1b9c2b=this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0xb')),_0x48eb02=this[_0x22da('0x9')]();this[_0x22da('0x10')]['model'][_0x22da('0x2f')](()=>{_0x1b9c2b[_0x22da('0x1')](_0x48eb02,{'commandName':_0x22da('0x15'),'commandParams':[{'type':_0x3d8718[_0x22da('0x18')]}],'formatGroupId':_0x22da('0x15')});});}[_0x22da('0xc')](_0x4a0a60,_0x37b599={}){const _0x11a7f3=this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0xb')),_0x1ddda4=this['editor'][_0x22da('0x2e')]['get'](_0x22da('0x2b')),_0x4825f0=this['_getSuggestionBlocks'](_0x180a6c=>_0x1ddda4[_0x22da('0x14')](_0x180a6c)&&_0x22da('0x6')===_0x180a6c['getAttribute'](_0x22da('0x12')));null!==_0x4825f0&&this[_0x22da('0x10')][_0x22da('0x2')][_0x22da('0x2f')](()=>{_0x11a7f3[_0x22da('0x1')](_0x4825f0,{'commandName':_0x22da('0x30'),'commandParams':[{'reversed':_0x37b599[_0x22da('0xd')]}],'formatGroupId':_0x22da('0x30')});});}[_0x22da('0x23')](_0x1287e8,_0x4cab60={}){const _0x19f89d=this[_0x22da('0x10')]['plugins'][_0x22da('0x22')](_0x22da('0xb')),_0x12d166=this['editor'][_0x22da('0x2e')][_0x22da('0x22')]('DocumentListUtils'),_0x4fc453=this['_getSuggestionBlocks'](_0x2ebf9d=>_0x12d166[_0x22da('0x14')](_0x2ebf9d)&&_0x22da('0x6')===_0x2ebf9d[_0x22da('0x26')](_0x22da('0x12')));null!==_0x4fc453&&this[_0x22da('0x10')]['model']['change'](()=>{_0x19f89d[_0x22da('0x1')](_0x4fc453,{'commandName':_0x22da('0x8'),'commandParams':[{'startIndex':_0x4cab60[_0x22da('0x11')]}],'formatGroupId':_0x22da('0x8')});});}[_0x22da('0x29')](_0x1d8d8f){const _0x181598=this[_0x22da('0x10')][_0x22da('0x2a')],{data:_0x8ddb8f}=_0x1d8d8f;if(!_0x8ddb8f)return;let _0x3a37e7,_0x42adb3;switch(_0x8ddb8f[_0x22da('0x1b')]){case'listStyle':_0x3a37e7=_0x22da('0x1e'),_0x42adb3={'type':_0x22da('0xa'),'content':_0x4a805d(_0x181598,_0x3a37e7,_0x4a805d(_0x181598,this[_0x22da('0x3')](_0x8ddb8f[_0x22da('0x31')][0x0][_0x22da('0x18')])))};break;case _0x22da('0x30'):_0x3a37e7=_0x8ddb8f[_0x22da('0x31')][0x0][_0x22da('0xd')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x22da('0x7'),_0x42adb3={'type':_0x22da('0xa'),'content':_0x4a805d(_0x181598,_0x3a37e7)};break;case _0x22da('0x8'):_0x3a37e7=_0x22da('0x13'),_0x42adb3={'type':_0x22da('0xa'),'content':_0x4a805d(_0x181598,_0x3a37e7,_0x8ddb8f['commandParams'][0x0][_0x22da('0x11')])};}return _0x42adb3;}[_0x22da('0x9')](){const _0x15cd07=this['editor']['plugins']['get'](_0x22da('0x2b'));let _0x1c4895=Array[_0x22da('0x1f')](this[_0x22da('0x10')]['model'][_0x22da('0x24')][_0x22da('0x17')][_0x22da('0x1a')]());return _0x1c4895[_0x22da('0x4')](..._0x15cd07[_0x22da('0x20')](_0x1c4895)),_0x1c4895=[...new Set(_0x1c4895)],_0x1c4895;}[_0x22da('0x2d')](_0x2029f1){const _0x40dcad=this[_0x22da('0x10')]['plugins'][_0x22da('0x22')]('DocumentListUtils');let _0x471ae8=Array['from'](this[_0x22da('0x10')][_0x22da('0x2')][_0x22da('0x24')]['selection'][_0x22da('0x1a')]())[_0x22da('0x5')](_0x2029f1);if(!_0x471ae8[_0x22da('0x27')])return null;_0x471ae8=_0x40dcad[_0x22da('0x20')](_0x471ae8);const _0x285cb6=[];for(const _0x2383e8 of _0x471ae8)_0x40dcad['isFirstBlockOfListItem'](_0x2383e8)&&_0x285cb6['push'](_0x2383e8);return _0x285cb6;}['_getTranslationKeyForListStyle'](_0x2b479b){return _0x22da('0x2c')+this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0x28'))['getListTypeFromListStyleType'](_0x2b479b)[_0x22da('0x19')]()+_0x22da('0x33')+_0x2b479b[_0x22da('0x19')]()[_0x22da('0x25')](/-/g,'_');}}