@ckeditor/ckeditor5-track-changes 40.2.0 → 41.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 (196) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  5. package/build/translations/es.js +1 -1
  6. package/lang/translations/ar.po +1 -1
  7. package/lang/translations/az.po +1 -1
  8. package/lang/translations/bg.po +1 -1
  9. package/lang/translations/bn.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es.po +2 -2
  18. package/lang/translations/et.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +1 -1
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/ko.po +1 -1
  30. package/lang/translations/lt.po +1 -1
  31. package/lang/translations/lv.po +1 -1
  32. package/lang/translations/ms.po +1 -1
  33. package/lang/translations/nl.po +1 -1
  34. package/lang/translations/no.po +1 -1
  35. package/lang/translations/pl.po +1 -1
  36. package/lang/translations/pt-br.po +1 -1
  37. package/lang/translations/pt.po +1 -1
  38. package/lang/translations/ro.po +1 -1
  39. package/lang/translations/ru.po +1 -1
  40. package/lang/translations/sk.po +1 -1
  41. package/lang/translations/sq.po +1 -1
  42. package/lang/translations/sr-latn.po +1 -1
  43. package/lang/translations/sr.po +1 -1
  44. package/lang/translations/sv.po +1 -1
  45. package/lang/translations/th.po +1 -1
  46. package/lang/translations/tk.po +1 -1
  47. package/lang/translations/tr.po +1 -1
  48. package/lang/translations/tt.po +1 -1
  49. package/lang/translations/uk.po +1 -1
  50. package/lang/translations/ur.po +1 -1
  51. package/lang/translations/vi.po +1 -1
  52. package/lang/translations/zh-cn.po +1 -1
  53. package/lang/translations/zh.po +1 -1
  54. package/package.json +4 -3
  55. package/src/augmentation.d.ts +3 -3
  56. package/src/augmentation.js +1 -1
  57. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  58. package/src/commands/acceptsuggestioncommand.js +2 -2
  59. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  60. package/src/commands/discardsuggestioncommand.js +2 -2
  61. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  62. package/src/commands/executeonallsuggestionscommand.js +2 -2
  63. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  64. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  65. package/src/commands/trackchangescommand.d.ts +2 -2
  66. package/src/commands/trackchangescommand.js +2 -2
  67. package/src/index.d.ts +13 -13
  68. package/src/index.js +2 -2
  69. package/src/integrations/aiassistant.d.ts +2 -2
  70. package/src/integrations/aiassistant.js +2 -2
  71. package/src/integrations/alignment.d.ts +2 -2
  72. package/src/integrations/alignment.js +2 -2
  73. package/src/integrations/basicstyles.d.ts +2 -2
  74. package/src/integrations/basicstyles.js +2 -2
  75. package/src/integrations/blockquote.d.ts +2 -2
  76. package/src/integrations/blockquote.js +2 -2
  77. package/src/integrations/casechange.d.ts +17 -0
  78. package/src/integrations/casechange.js +23 -0
  79. package/src/integrations/ckbox.d.ts +2 -2
  80. package/src/integrations/ckbox.js +2 -2
  81. package/src/integrations/codeblock.d.ts +2 -2
  82. package/src/integrations/codeblock.js +2 -2
  83. package/src/integrations/comments.d.ts +2 -2
  84. package/src/integrations/comments.js +2 -2
  85. package/src/integrations/deletecommand.d.ts +3 -3
  86. package/src/integrations/deletecommand.js +2 -2
  87. package/src/integrations/entercommand.d.ts +3 -3
  88. package/src/integrations/entercommand.js +2 -2
  89. package/src/integrations/findandreplace.d.ts +2 -2
  90. package/src/integrations/findandreplace.js +2 -2
  91. package/src/integrations/font.d.ts +2 -2
  92. package/src/integrations/font.js +2 -2
  93. package/src/integrations/formatpainter.d.ts +2 -2
  94. package/src/integrations/formatpainter.js +2 -2
  95. package/src/integrations/heading.d.ts +2 -2
  96. package/src/integrations/heading.js +2 -2
  97. package/src/integrations/highlight.d.ts +2 -2
  98. package/src/integrations/highlight.js +2 -2
  99. package/src/integrations/horizontalline.d.ts +2 -2
  100. package/src/integrations/horizontalline.js +2 -2
  101. package/src/integrations/htmlembed.d.ts +2 -2
  102. package/src/integrations/htmlembed.js +2 -2
  103. package/src/integrations/image.d.ts +2 -2
  104. package/src/integrations/image.js +2 -2
  105. package/src/integrations/imagereplace.d.ts +2 -2
  106. package/src/integrations/imagereplace.js +2 -2
  107. package/src/integrations/imagestyle.d.ts +2 -2
  108. package/src/integrations/imagestyle.js +2 -2
  109. package/src/integrations/importword.d.ts +2 -2
  110. package/src/integrations/importword.js +2 -2
  111. package/src/integrations/indent.d.ts +2 -2
  112. package/src/integrations/indent.js +2 -2
  113. package/src/integrations/inputcommand.d.ts +3 -3
  114. package/src/integrations/inputcommand.js +2 -2
  115. package/src/integrations/legacylist.d.ts +17 -0
  116. package/src/integrations/legacylist.js +23 -0
  117. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  118. package/src/integrations/legacylistproperties.js +23 -0
  119. package/src/integrations/link.d.ts +2 -2
  120. package/src/integrations/link.js +2 -2
  121. package/src/integrations/list.d.ts +6 -6
  122. package/src/integrations/list.js +2 -2
  123. package/src/integrations/listproperties.d.ts +6 -15
  124. package/src/integrations/listproperties.js +2 -2
  125. package/src/integrations/mediaembed.d.ts +2 -2
  126. package/src/integrations/mediaembed.js +2 -2
  127. package/src/integrations/mention.d.ts +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.d.ts +2 -2
  130. package/src/integrations/pagebreak.js +2 -2
  131. package/src/integrations/paragraph.d.ts +2 -2
  132. package/src/integrations/paragraph.js +2 -2
  133. package/src/integrations/removeformat.d.ts +2 -2
  134. package/src/integrations/removeformat.js +2 -2
  135. package/src/integrations/restrictededitingmode.d.ts +2 -2
  136. package/src/integrations/restrictededitingmode.js +2 -2
  137. package/src/integrations/shiftentercommand.d.ts +3 -3
  138. package/src/integrations/shiftentercommand.js +2 -2
  139. package/src/integrations/standardeditingmode.d.ts +2 -2
  140. package/src/integrations/standardeditingmode.js +2 -2
  141. package/src/integrations/style.d.ts +2 -2
  142. package/src/integrations/style.js +2 -2
  143. package/src/integrations/table.d.ts +2 -2
  144. package/src/integrations/table.js +2 -2
  145. package/src/integrations/tablecaption.d.ts +3 -3
  146. package/src/integrations/tablecaption.js +2 -2
  147. package/src/integrations/tableclipboard.d.ts +3 -3
  148. package/src/integrations/tableclipboard.js +2 -2
  149. package/src/integrations/tablecolumnresize.d.ts +5 -5
  150. package/src/integrations/tablecolumnresize.js +2 -2
  151. package/src/integrations/tableheadings.d.ts +3 -3
  152. package/src/integrations/tableheadings.js +2 -2
  153. package/src/integrations/tablemergesplit.d.ts +3 -3
  154. package/src/integrations/tablemergesplit.js +2 -2
  155. package/src/integrations/tableofcontents.d.ts +2 -2
  156. package/src/integrations/tableofcontents.js +2 -2
  157. package/src/integrations/tableproperties.d.ts +5 -5
  158. package/src/integrations/tableproperties.js +2 -2
  159. package/src/integrations/template.d.ts +2 -2
  160. package/src/integrations/template.js +2 -2
  161. package/src/integrations/title.d.ts +2 -2
  162. package/src/integrations/title.js +2 -2
  163. package/src/integrations/undo.d.ts +2 -2
  164. package/src/integrations/undo.js +2 -2
  165. package/src/integrations/utils.d.ts +4 -4
  166. package/src/integrations/utils.js +2 -2
  167. package/src/suggestion.d.ts +6 -6
  168. package/src/suggestion.js +2 -2
  169. package/src/suggestiondescriptionfactory.d.ts +4 -4
  170. package/src/suggestiondescriptionfactory.js +2 -2
  171. package/src/trackchanges.d.ts +6 -6
  172. package/src/trackchanges.js +2 -2
  173. package/src/trackchangesconfig.d.ts +2 -2
  174. package/src/trackchangesconfig.js +1 -1
  175. package/src/trackchangesdata.d.ts +3 -3
  176. package/src/trackchangesdata.js +2 -2
  177. package/src/trackchangesediting.d.ts +56 -55
  178. package/src/trackchangesediting.js +2 -2
  179. package/src/trackchangesui.d.ts +4 -4
  180. package/src/trackchangesui.js +2 -2
  181. package/src/ui/suggestioncontroller.d.ts +6 -6
  182. package/src/ui/suggestioncontroller.js +2 -2
  183. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  184. package/src/ui/view/basesuggestionthreadview.js +2 -2
  185. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  186. package/src/ui/view/suggestionthreadview.js +2 -2
  187. package/src/utils/common-translations.d.ts +2 -2
  188. package/src/utils/common-translations.js +2 -2
  189. package/src/utils/utils.d.ts +5 -5
  190. package/src/utils/utils.js +2 -2
  191. package/theme/icons/track-changes-accept.svg +1 -1
  192. package/theme/icons/track-changes-discard.svg +1 -1
  193. package/theme/icons/track-changes.svg +1 -1
  194. package/src/integrations/documentlist.d.ts +0 -17
  195. package/src/integrations/documentlist.js +0 -23
  196. package/src/integrations/documentlistproperties.js +0 -23
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x5d42=['mergeListItemBackward','isObject','*Indent:*\x20%0','commandName','from','previousSibling','change','fromRange','*Format:*\x20insert\x20into\x20%0','locale','listType','list.multiBlock','start','ELEMENT_NUMBERED_LIST','documentList','markBlockFormat','formatBlock','model','ELEMENT_BULLETED_LIST','config','commandParams','enableCommand','plugins','selection','listItemId','afterInit','format','mergeListItemForward','findIndex','end','nextSibling','numberedList','*Format:*\x20remove\x20from\x20%0','push','_suggestionFactory','getRanges','containsItem','*Merge:*\x20%0','before','registerCustomCallback','createRange','getSelectedBlocks','document','listIndent','createPositionAt','_descriptionFactory','getFirstRange','DocumentListUtils','toUpperCase','getAttribute','after','value','splitListItemBefore','execute','bulletedList','commands','refresh','DocumentListEditing','deletion','*Outdent:*\x20%0','ELEMENT_','markMultiRangeBlockFormat','parent','type','registerDescriptionCallback','nodeAfter','schema','slice','expandListBlocksToCompleteList','outdentList','length','*Change\x20to:*\x20%0','registerElementLabel','splitListItemAfter','next','hasAttribute','has','formatInline','forceValue','ELEMENT_LIST_ITEM','get'];(function(_0x59945f,_0x5d4291){const _0x28cff4=function(_0x26969c){while(--_0x26969c){_0x59945f['push'](_0x59945f['shift']());}};_0x28cff4(++_0x5d4291);}(_0x5d42,0x7b));const _0x28cf=function(_0x59945f,_0x5d4291){_0x59945f=_0x59945f-0x0;let _0x28cff4=_0x5d42[_0x59945f];return _0x28cff4;};import{Plugin as _0x348f4f}from'ckeditor5/src/core';import{getTranslation as _0x2c8e75}from'../utils/common-translations';import{LiveRange as _0xbe1098}from'ckeditor5/src/engine';export default class q extends _0x348f4f{[_0x28cf('0x40')](){const _0x523e4b=this['editor'];if(!_0x523e4b[_0x28cf('0x3d')][_0x28cf('0x22')](_0x28cf('0xf')))return;const _0x44e8ca=_0x523e4b[_0x28cf('0x30')],_0x22bb95=_0x523e4b[_0x28cf('0x3d')][_0x28cf('0x26')]('TrackChangesEditing'),_0x19847f=_0x523e4b['plugins'][_0x28cf('0x26')](_0x28cf('0x5'));function _0x56bb11(_0x2480f2){return()=>{const _0x839ffb=_0x523e4b[_0x28cf('0xd')][_0x28cf('0x26')](_0x2480f2);if(_0x839ffb[_0x28cf('0x9')]&&!_0x523e4b['config'][_0x28cf('0x26')](_0x28cf('0x32')))return void _0x523e4b[_0x28cf('0xb')]('paragraph',{});let _0x276e79=Array[_0x28cf('0x2b')](_0x523e4b[_0x28cf('0x38')][_0x28cf('0x0')][_0x28cf('0x3e')]['getSelectedBlocks']());if(_0x227def(_0x2480f2)){_0x276e79=_0x19847f[_0x28cf('0x1a')](_0x276e79);const _0x5c05ea=[];for(const _0x702a79 of _0x276e79)_0x19847f['isFirstBlockOfListItem'](_0x702a79)&&_0x5c05ea[_0x28cf('0x48')](_0x702a79);_0x276e79=_0x5c05ea;}_0x523e4b[_0x28cf('0x38')]['change'](()=>{_0x22bb95[_0x28cf('0x13')](_0x276e79,{'commandName':_0x2480f2,'commandParams':[{'forceValue':!_0x839ffb[_0x28cf('0x9')]}],'formatGroupId':_0x28cf('0x31')},[],_0x28cf('0x35'));});};}function _0x8b4c3c(_0xd092f1){return()=>{const _0x2becba=function(_0x1b6eea){let _0x500a27=Array[_0x28cf('0x2b')](_0x1b6eea);const _0x3dc546=_0x500a27[_0x28cf('0x43')](_0x149367=>!_0x149367[_0x28cf('0x21')]('listItemId'));return _0x3dc546>-0x1&&(_0x500a27=_0x500a27[_0x28cf('0x19')](0x0,_0x3dc546)),_0x500a27;}(_0x523e4b[_0x28cf('0x38')][_0x28cf('0x0')][_0x28cf('0x3e')][_0x28cf('0x50')]()),_0x1f1544=_0x2becba[_0x2becba[_0x28cf('0x1c')]-0x1],_0x5da74f=_0x523e4b[_0x28cf('0x38')][_0x28cf('0x18')][_0x28cf('0x28')](_0x1f1544)?_0x28cf('0x8'):'end',_0x17525a=_0x523e4b['model']['createRange'](_0x523e4b['model'][_0x28cf('0x2')](_0x2becba[0x0],_0x28cf('0x4d')),_0x523e4b[_0x28cf('0x38')][_0x28cf('0x2')](_0x1f1544,_0x5da74f));_0x523e4b[_0x28cf('0x38')][_0x28cf('0x2d')](()=>{_0x22bb95['markBlockFormat'](_0x17525a,{'commandName':_0xd092f1,'commandParams':[],'formatGroupId':'listType'},function(_0x58d80b){const _0x211a9e=new Set();for(const _0x3a95d3 of _0x58d80b){let _0x3e7964=_0x3a95d3[_0x28cf('0x45')];for(;_0x3e7964&&_0x3e7964['getAttribute']('listIndent')>_0x3a95d3[_0x28cf('0x7')]('listIndent');)_0x211a9e['add'](_0x3e7964),_0x3e7964=_0x3e7964['nextSibling'];}return Array[_0x28cf('0x2b')](_0x211a9e);}(_0x2becba));});};}function _0x215e2d(_0x45d63c){return()=>{const _0x3d8269=_0x523e4b[_0x28cf('0x38')]['document'][_0x28cf('0x3e')]['getSelectedBlocks']()[_0x28cf('0x20')]()['value'],_0x528509=_0x523e4b['model']['createPositionAt'](_0x3d8269,_0x28cf('0x4d')),_0x3c2a61=_0x523e4b[_0x28cf('0x38')]['createPositionAt'](_0x3d8269,0x0),_0x3dab79=_0x523e4b['model'][_0x28cf('0x4f')](_0x528509,_0x3c2a61);_0x523e4b[_0x28cf('0x38')][_0x28cf('0x2d')](()=>{_0x22bb95[_0x28cf('0x36')](_0x3dab79,{'commandName':_0x45d63c,'commandParams':[],'formatGroupId':_0x28cf('0x31')});});};}function _0x227def(_0x4ecd80){const _0x5b3f4d=_0x523e4b[_0x28cf('0xd')][_0x28cf('0x26')]('bulletedList')[_0x28cf('0x9')],_0xf17f52=_0x523e4b[_0x28cf('0xd')][_0x28cf('0x26')](_0x28cf('0x46'))[_0x28cf('0x9')];return _0x28cf('0x46')===_0x4ecd80?_0x5b3f4d:_0xf17f52;}_0x22bb95[_0x28cf('0x3c')]('numberedList',_0x56bb11('numberedList')),_0x22bb95[_0x28cf('0x3c')](_0x28cf('0xc'),_0x56bb11(_0x28cf('0xc'))),_0x22bb95[_0x28cf('0x3c')]('indentList',_0x8b4c3c('indentList')),_0x22bb95[_0x28cf('0x3c')](_0x28cf('0x1b'),_0x8b4c3c(_0x28cf('0x1b'))),_0x22bb95[_0x28cf('0x3c')](_0x28cf('0x1f'),_0x215e2d('splitListItemAfter')),_0x22bb95[_0x28cf('0x3c')](_0x28cf('0xa'),_0x215e2d(_0x28cf('0xa'))),_0x22bb95[_0x28cf('0x3')][_0x28cf('0x1e')](function(_0x135e1a){const _0x257a70=!_0x523e4b['model'][_0x28cf('0x18')][_0x28cf('0x28')](_0x135e1a),_0x2a6f3a=_0x135e1a[_0x28cf('0x2c')],_0x2ffd7f=_0x135e1a['nextSibling'],_0x3edfff=_0x135e1a[_0x28cf('0x7')](_0x28cf('0x3f')),_0x4d06f2=!_0x2a6f3a||_0x2a6f3a[_0x28cf('0x7')]('listItemId')!==_0x3edfff,_0x447f7f=!_0x2ffd7f||_0x2ffd7f[_0x28cf('0x7')]('listItemId')!==_0x3edfff;return _0x257a70&&Boolean(_0x3edfff)&&_0x4d06f2&&_0x447f7f;},_0x491e57=>_0x2c8e75(_0x44e8ca,_0x28cf('0x25'),_0x491e57)),_0x22bb95[_0x28cf('0x3')][_0x28cf('0x16')](function(_0x3b416a){if(_0x28cf('0x37')!=_0x3b416a[_0x28cf('0x15')]&&_0x28cf('0x23')!=_0x3b416a['type'])return;const {data:_0x33e545}=_0x3b416a;if(!_0x33e545)return;let _0x58c77c,_0x5e6551,_0x3b496b,_0x51d51c;switch(_0x33e545[_0x28cf('0x2a')]){case'bulletedList':_0x3b496b=_0x33e545[_0x28cf('0x3b')][0x0][_0x28cf('0x24')],_0x51d51c=_0x227def(_0x33e545[_0x28cf('0x2a')]),_0x58c77c=_0x3b496b?'*Format:*\x20insert\x20into\x20%0':_0x28cf('0x47'),!_0x51d51c&&_0x523e4b[_0x28cf('0x3a')][_0x28cf('0x26')](_0x28cf('0x32'))||(_0x58c77c=_0x28cf('0x1d')),_0x5e6551={'type':_0x28cf('0x41'),'content':_0x2c8e75(_0x44e8ca,_0x58c77c,_0x2c8e75(_0x44e8ca,_0x28cf('0x39')))};break;case _0x28cf('0x46'):_0x3b496b=_0x33e545[_0x28cf('0x3b')][0x0]['forceValue'],_0x51d51c=_0x227def(_0x33e545['commandName']),_0x58c77c=_0x3b496b?_0x28cf('0x2f'):_0x28cf('0x47'),!_0x51d51c&&_0x523e4b[_0x28cf('0x3a')]['get'](_0x28cf('0x32'))||(_0x58c77c=_0x28cf('0x1d')),_0x5e6551={'type':'format','content':_0x2c8e75(_0x44e8ca,_0x58c77c,_0x2c8e75(_0x44e8ca,_0x28cf('0x34')))};break;case'indentList':_0x58c77c=_0x28cf('0x29'),_0x5e6551={'type':_0x28cf('0x41'),'content':_0x2c8e75(_0x44e8ca,_0x58c77c,_0x2c8e75(_0x44e8ca,_0x28cf('0x25')))};break;case _0x28cf('0x1b'):_0x58c77c=function(_0x2bf650){const _0x2fcf85=_0x2bf650[_0x28cf('0x4')]();let _0xeff64b=_0x2fcf85[_0x28cf('0x33')]['nodeAfter'];for(;_0xeff64b&&_0x2fcf85[_0x28cf('0x4b')](_0xeff64b);){if(_0xeff64b['getAttribute'](_0x28cf('0x1'))>0x0)return!0x1;_0xeff64b=_0xeff64b[_0x28cf('0x45')];}return!0x0;}(_0x3b416a)?_0x2c8e75(_0x44e8ca,'*Format:*\x20remove\x20from\x20%0',_0x2c8e75(_0x44e8ca,function(_0x3c6247){const _0x543e0f=_0x3c6247['getFirstRange']()[_0x28cf('0x33')][_0x28cf('0x17')];return _0x28cf('0x12')+_0x543e0f[_0x28cf('0x7')](_0x28cf('0x31'))[_0x28cf('0x6')]()+'_LIST';}(_0x3b416a))):_0x2c8e75(_0x44e8ca,_0x28cf('0x11'),_0x2c8e75(_0x44e8ca,_0x28cf('0x25'))),_0x5e6551={'type':_0x28cf('0x41'),'content':_0x58c77c};break;case _0x28cf('0x27'):case _0x28cf('0x42'):!0x1===_0x33e545['multipleBlocks']&&(_0x58c77c=_0x28cf('0x4c'),_0x5e6551={'type':_0x28cf('0x10'),'content':_0x2c8e75(_0x44e8ca,_0x58c77c,_0x2c8e75(_0x44e8ca,_0x28cf('0x25')))});}return _0x5e6551;}),_0x22bb95[_0x28cf('0x49')][_0x28cf('0x4e')](_0x28cf('0x37'),_0x28cf('0x35'),'accept',function(_0x1e9f6c,_0x451d66){const _0x2079c5=[];for(let _0x5c6d3e of _0x1e9f6c)_0x5c6d3e['start'][_0x28cf('0x17')]===_0x5c6d3e[_0x28cf('0x44')][_0x28cf('0x14')]&&(_0x5c6d3e=_0x523e4b[_0x28cf('0x38')][_0x28cf('0x4f')](_0x523e4b['model'][_0x28cf('0x2')](_0x5c6d3e[_0x28cf('0x33')][_0x28cf('0x17')],0x0))),_0x2079c5[_0x28cf('0x48')](_0x5c6d3e);_0x523e4b[_0x28cf('0x38')][_0x28cf('0x2d')](_0x5a30bb=>{const _0x2342fc=_0x523e4b[_0x28cf('0x38')][_0x28cf('0x0')][_0x28cf('0x3e')],_0x34a955=Array[_0x28cf('0x2b')](_0x2342fc[_0x28cf('0x4a')]())['map'](_0x20e627=>_0xbe1098[_0x28cf('0x2e')](_0x20e627));_0x5a30bb['setSelection'](_0x2079c5),_0x523e4b[_0x28cf('0xd')][_0x28cf('0x26')](_0x451d66['commandName'])[_0x28cf('0xe')](),_0x451d66[_0x28cf('0x3b')][_0x28cf('0x48')]({'forceDefaultExecution':!0x0}),_0x523e4b[_0x28cf('0xb')](_0x451d66['commandName'],..._0x451d66[_0x28cf('0x3b')]),_0x5a30bb['setSelection'](_0x34a955);for(const _0x1e9da1 of _0x34a955)_0x1e9da1['detach']();});});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x3165=['filter','listStyle','listStart','_LIST_','ELEMENT_','from','getSelectedBlocks','afterInit','_getTranslationKeyForListStyle','listReversed','push','registerDescriptionCallback','get','*Format:*\x20set\x20start\x20index\x20to\x20%0','format','reversed','editor','startIndex','bind','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListPropertiesUtils','handleListStyleCommand','numbered','*Change\x20to:*\x20%0','enableCommand','getListTypeFromListStyleType','markMultiRangeBlockFormat','isFirstBlockOfListItem','handleDescriptions','DocumentListPropertiesEditing','*Format:*\x20set\x20order\x20to\x20regular','toUpperCase','change','document','_getSuggestionBlocksForListStyle','_getSuggestionBlocks','handleListStartCommand','commandName','formatBlock','model','type','handleListReversedCommand','DocumentListUtils','selection','TrackChangesEditing','listType','replace','commandParams','plugins','isListItemBlock','expandListBlocksToCompleteList'];(function(_0x7a2516,_0x316545){const _0x2a2731=function(_0xb6caed){while(--_0xb6caed){_0x7a2516['push'](_0x7a2516['shift']());}};_0x2a2731(++_0x316545);}(_0x3165,0x84));const _0x2a27=function(_0x7a2516,_0x316545){_0x7a2516=_0x7a2516-0x0;let _0x2a2731=_0x3165[_0x7a2516];return _0x2a2731;};import{Plugin as _0x1f5756}from'ckeditor5/src/core';import{getTranslation as _0x3803af}from'../utils/common-translations';export default class z extends _0x1f5756{[_0x2a27('0x1c')](){if(!this[_0x2a27('0x25')]['plugins']['has'](_0x2a27('0x32')))return;const _0x56fd47=this['editor']['config'][_0x2a27('0x21')]('list.properties'),_0x2b7e02=this[_0x2a27('0x25')][_0x2a27('0x12')]['get'](_0x2a27('0xe'));_0x56fd47['styles']&&_0x2b7e02[_0x2a27('0x2d')](_0x2a27('0x16'),this[_0x2a27('0x2a')][_0x2a27('0x27')](this)),_0x56fd47[_0x2a27('0x24')]&&_0x2b7e02[_0x2a27('0x2d')](_0x2a27('0x1e'),this[_0x2a27('0xb')][_0x2a27('0x27')](this)),_0x56fd47[_0x2a27('0x26')]&&_0x2b7e02[_0x2a27('0x2d')](_0x2a27('0x17'),this[_0x2a27('0x6')][_0x2a27('0x27')](this)),_0x2b7e02['_descriptionFactory'][_0x2a27('0x20')](this[_0x2a27('0x31')]['bind'](this));}[_0x2a27('0x2a')](_0x26af27,_0x7ef55b={}){const _0x5de4c0=this[_0x2a27('0x25')][_0x2a27('0x12')][_0x2a27('0x21')](_0x2a27('0xe')),_0x1fc5d1=this[_0x2a27('0x4')]();this[_0x2a27('0x25')]['model'][_0x2a27('0x2')](()=>{_0x5de4c0[_0x2a27('0x2f')](_0x1fc5d1,{'commandName':_0x2a27('0x16'),'commandParams':[{'type':_0x7ef55b[_0x2a27('0xa')]}],'formatGroupId':_0x2a27('0x16')});});}[_0x2a27('0xb')](_0x54d3dd,_0xed9d3e={}){const _0x57f715=this[_0x2a27('0x25')]['plugins'][_0x2a27('0x21')](_0x2a27('0xe')),_0x10ab56=this[_0x2a27('0x25')][_0x2a27('0x12')][_0x2a27('0x21')]('DocumentListUtils'),_0x3bcbfc=this['_getSuggestionBlocks'](_0x3726eb=>_0x10ab56[_0x2a27('0x13')](_0x3726eb)&&'numbered'===_0x3726eb['getAttribute'](_0x2a27('0xf')));null!==_0x3bcbfc&&this['editor'][_0x2a27('0x9')][_0x2a27('0x2')](()=>{_0x57f715['markMultiRangeBlockFormat'](_0x3bcbfc,{'commandName':_0x2a27('0x1e'),'commandParams':[{'reversed':_0xed9d3e['reversed']}],'formatGroupId':_0x2a27('0x1e')});});}['handleListStartCommand'](_0x50eaa9,_0x5e5747={}){const _0x270160=this[_0x2a27('0x25')]['plugins'][_0x2a27('0x21')](_0x2a27('0xe')),_0x4c1963=this[_0x2a27('0x25')][_0x2a27('0x12')][_0x2a27('0x21')]('DocumentListUtils'),_0x1238c9=this[_0x2a27('0x5')](_0x15b96e=>_0x4c1963[_0x2a27('0x13')](_0x15b96e)&&_0x2a27('0x2b')===_0x15b96e['getAttribute'](_0x2a27('0xf')));null!==_0x1238c9&&this['editor'][_0x2a27('0x9')]['change'](()=>{_0x270160[_0x2a27('0x2f')](_0x1238c9,{'commandName':_0x2a27('0x17'),'commandParams':[{'startIndex':_0x5e5747[_0x2a27('0x26')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x5624ad){if(_0x2a27('0x8')!=_0x5624ad[_0x2a27('0xa')]&&'formatInline'!=_0x5624ad[_0x2a27('0xa')])return;const _0x112805=this[_0x2a27('0x25')]['locale'],{data:_0x2009a0}=_0x5624ad;if(!_0x2009a0)return;let _0x4aef09,_0x3d38f5;switch(_0x2009a0[_0x2a27('0x7')]){case _0x2a27('0x16'):_0x4aef09=_0x2a27('0x2c'),_0x3d38f5={'type':'format','content':_0x3803af(_0x112805,_0x4aef09,_0x3803af(_0x112805,this[_0x2a27('0x1d')](_0x2009a0[_0x2a27('0x11')][0x0][_0x2a27('0xa')])))};break;case _0x2a27('0x1e'):_0x4aef09=_0x2009a0[_0x2a27('0x11')][0x0][_0x2a27('0x24')]?_0x2a27('0x28'):_0x2a27('0x0'),_0x3d38f5={'type':_0x2a27('0x23'),'content':_0x3803af(_0x112805,_0x4aef09)};break;case'listStart':_0x4aef09=_0x2a27('0x22'),_0x3d38f5={'type':_0x2a27('0x23'),'content':_0x3803af(_0x112805,_0x4aef09,_0x2009a0['commandParams'][0x0][_0x2a27('0x26')])};}return _0x3d38f5;}[_0x2a27('0x4')](){const _0x191d93=this[_0x2a27('0x25')][_0x2a27('0x12')][_0x2a27('0x21')](_0x2a27('0xc'));let _0x3d9ccb=Array[_0x2a27('0x1a')](this[_0x2a27('0x25')][_0x2a27('0x9')]['document'][_0x2a27('0xd')][_0x2a27('0x1b')]());return _0x3d9ccb['push'](..._0x191d93[_0x2a27('0x14')](_0x3d9ccb)),_0x3d9ccb=[...new Set(_0x3d9ccb)],_0x3d9ccb;}['_getSuggestionBlocks'](_0x43aebf){const _0x5c4aac=this[_0x2a27('0x25')][_0x2a27('0x12')][_0x2a27('0x21')]('DocumentListUtils');let _0x539152=Array[_0x2a27('0x1a')](this[_0x2a27('0x25')][_0x2a27('0x9')][_0x2a27('0x3')][_0x2a27('0xd')]['getSelectedBlocks']())[_0x2a27('0x15')](_0x43aebf);if(!_0x539152['length'])return null;_0x539152=_0x5c4aac[_0x2a27('0x14')](_0x539152);const _0x5eeb5d=[];for(const _0x36177e of _0x539152)_0x5c4aac[_0x2a27('0x30')](_0x36177e)&&_0x5eeb5d[_0x2a27('0x1f')](_0x36177e);return _0x5eeb5d;}[_0x2a27('0x1d')](_0x287691){return _0x2a27('0x19')+this[_0x2a27('0x25')][_0x2a27('0x12')][_0x2a27('0x21')](_0x2a27('0x29'))[_0x2a27('0x2e')](_0x287691)[_0x2a27('0x1')]()+_0x2a27('0x18')+_0x287691[_0x2a27('0x1')]()[_0x2a27('0x10')](/-/g,'_');}}