@ckeditor/ckeditor5-track-changes 40.1.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 (242) hide show
  1. package/CHANGELOG.md +20 -20
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +3 -3
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fi.js +1 -1
  18. package/build/translations/fr.js +1 -1
  19. package/build/translations/gl.js +1 -1
  20. package/build/translations/he.js +1 -1
  21. package/build/translations/hi.js +1 -1
  22. package/build/translations/hr.js +1 -1
  23. package/build/translations/hu.js +1 -1
  24. package/build/translations/id.js +1 -1
  25. package/build/translations/it.js +1 -1
  26. package/build/translations/ja.js +1 -1
  27. package/build/translations/ko.js +1 -1
  28. package/build/translations/lt.js +1 -1
  29. package/build/translations/lv.js +1 -1
  30. package/build/translations/ms.js +1 -1
  31. package/build/translations/nl.js +1 -1
  32. package/build/translations/no.js +1 -1
  33. package/build/translations/pl.js +1 -1
  34. package/build/translations/pt-br.js +1 -1
  35. package/build/translations/pt.js +1 -1
  36. package/build/translations/ro.js +1 -1
  37. package/build/translations/ru.js +1 -1
  38. package/build/translations/sk.js +1 -1
  39. package/build/translations/sq.js +1 -1
  40. package/build/translations/sr-latn.js +1 -1
  41. package/build/translations/sr.js +1 -1
  42. package/build/translations/sv.js +1 -1
  43. package/build/translations/th.js +1 -1
  44. package/build/translations/tk.js +1 -1
  45. package/build/translations/tr.js +1 -1
  46. package/build/translations/tt.js +1 -1
  47. package/build/translations/uk.js +1 -1
  48. package/build/translations/ur.js +1 -1
  49. package/build/translations/vi.js +1 -1
  50. package/build/translations/zh-cn.js +1 -1
  51. package/build/translations/zh.js +1 -1
  52. package/lang/translations/ar.po +6 -6
  53. package/lang/translations/az.po +5 -5
  54. package/lang/translations/bg.po +6 -6
  55. package/lang/translations/bn.po +6 -6
  56. package/lang/translations/ca.po +6 -6
  57. package/lang/translations/cs.po +6 -6
  58. package/lang/translations/da.po +6 -6
  59. package/lang/translations/de.po +6 -6
  60. package/lang/translations/el.po +6 -6
  61. package/lang/translations/en-au.po +6 -6
  62. package/lang/translations/en.po +6 -6
  63. package/lang/translations/es.po +7 -7
  64. package/lang/translations/et.po +6 -6
  65. package/lang/translations/fi.po +6 -6
  66. package/lang/translations/fr.po +6 -6
  67. package/lang/translations/gl.po +37 -37
  68. package/lang/translations/he.po +6 -6
  69. package/lang/translations/hi.po +6 -6
  70. package/lang/translations/hr.po +6 -6
  71. package/lang/translations/hu.po +6 -6
  72. package/lang/translations/id.po +6 -6
  73. package/lang/translations/it.po +6 -6
  74. package/lang/translations/ja.po +6 -6
  75. package/lang/translations/ko.po +6 -6
  76. package/lang/translations/lt.po +6 -6
  77. package/lang/translations/lv.po +6 -6
  78. package/lang/translations/ms.po +6 -6
  79. package/lang/translations/nl.po +6 -6
  80. package/lang/translations/no.po +6 -6
  81. package/lang/translations/pl.po +6 -6
  82. package/lang/translations/pt-br.po +6 -6
  83. package/lang/translations/pt.po +6 -6
  84. package/lang/translations/ro.po +6 -6
  85. package/lang/translations/ru.po +6 -6
  86. package/lang/translations/sk.po +6 -6
  87. package/lang/translations/sq.po +5 -5
  88. package/lang/translations/sr-latn.po +25 -25
  89. package/lang/translations/sr.po +6 -6
  90. package/lang/translations/sv.po +6 -6
  91. package/lang/translations/th.po +6 -6
  92. package/lang/translations/tk.po +5 -5
  93. package/lang/translations/tr.po +6 -6
  94. package/lang/translations/tt.po +5 -5
  95. package/lang/translations/uk.po +6 -6
  96. package/lang/translations/ur.po +5 -5
  97. package/lang/translations/vi.po +6 -6
  98. package/lang/translations/zh-cn.po +6 -6
  99. package/lang/translations/zh.po +6 -6
  100. package/package.json +4 -3
  101. package/src/augmentation.d.ts +3 -3
  102. package/src/augmentation.js +1 -1
  103. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  104. package/src/commands/acceptsuggestioncommand.js +2 -2
  105. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  106. package/src/commands/discardsuggestioncommand.js +2 -2
  107. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  108. package/src/commands/executeonallsuggestionscommand.js +2 -2
  109. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  110. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  111. package/src/commands/trackchangescommand.d.ts +2 -2
  112. package/src/commands/trackchangescommand.js +2 -2
  113. package/src/index.d.ts +13 -13
  114. package/src/index.js +2 -2
  115. package/src/integrations/aiassistant.d.ts +2 -2
  116. package/src/integrations/aiassistant.js +2 -2
  117. package/src/integrations/alignment.d.ts +2 -2
  118. package/src/integrations/alignment.js +2 -2
  119. package/src/integrations/basicstyles.d.ts +2 -2
  120. package/src/integrations/basicstyles.js +2 -2
  121. package/src/integrations/blockquote.d.ts +2 -2
  122. package/src/integrations/blockquote.js +2 -2
  123. package/src/integrations/casechange.d.ts +17 -0
  124. package/src/integrations/casechange.js +23 -0
  125. package/src/integrations/ckbox.d.ts +2 -2
  126. package/src/integrations/ckbox.js +2 -2
  127. package/src/integrations/codeblock.d.ts +2 -2
  128. package/src/integrations/codeblock.js +2 -2
  129. package/src/integrations/comments.d.ts +2 -2
  130. package/src/integrations/comments.js +2 -2
  131. package/src/integrations/deletecommand.d.ts +3 -3
  132. package/src/integrations/deletecommand.js +2 -2
  133. package/src/integrations/entercommand.d.ts +3 -3
  134. package/src/integrations/entercommand.js +2 -2
  135. package/src/integrations/findandreplace.d.ts +2 -2
  136. package/src/integrations/findandreplace.js +2 -2
  137. package/src/integrations/font.d.ts +2 -2
  138. package/src/integrations/font.js +2 -2
  139. package/src/integrations/formatpainter.d.ts +2 -2
  140. package/src/integrations/formatpainter.js +2 -2
  141. package/src/integrations/heading.d.ts +2 -2
  142. package/src/integrations/heading.js +2 -2
  143. package/src/integrations/highlight.d.ts +2 -2
  144. package/src/integrations/highlight.js +2 -2
  145. package/src/integrations/horizontalline.d.ts +2 -2
  146. package/src/integrations/horizontalline.js +2 -2
  147. package/src/integrations/htmlembed.d.ts +2 -2
  148. package/src/integrations/htmlembed.js +2 -2
  149. package/src/integrations/image.d.ts +2 -2
  150. package/src/integrations/image.js +2 -2
  151. package/src/integrations/imagereplace.d.ts +2 -2
  152. package/src/integrations/imagereplace.js +2 -2
  153. package/src/integrations/imagestyle.d.ts +2 -2
  154. package/src/integrations/imagestyle.js +2 -2
  155. package/src/integrations/importword.d.ts +2 -2
  156. package/src/integrations/importword.js +2 -2
  157. package/src/integrations/indent.d.ts +2 -2
  158. package/src/integrations/indent.js +2 -2
  159. package/src/integrations/inputcommand.d.ts +3 -3
  160. package/src/integrations/inputcommand.js +2 -2
  161. package/src/integrations/legacylist.d.ts +17 -0
  162. package/src/integrations/legacylist.js +23 -0
  163. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  164. package/src/integrations/legacylistproperties.js +23 -0
  165. package/src/integrations/link.d.ts +2 -2
  166. package/src/integrations/link.js +2 -2
  167. package/src/integrations/list.d.ts +6 -6
  168. package/src/integrations/list.js +2 -2
  169. package/src/integrations/listproperties.d.ts +6 -15
  170. package/src/integrations/listproperties.js +2 -2
  171. package/src/integrations/mediaembed.d.ts +2 -2
  172. package/src/integrations/mediaembed.js +2 -2
  173. package/src/integrations/mention.d.ts +2 -2
  174. package/src/integrations/mention.js +2 -2
  175. package/src/integrations/pagebreak.d.ts +2 -2
  176. package/src/integrations/pagebreak.js +2 -2
  177. package/src/integrations/paragraph.d.ts +2 -2
  178. package/src/integrations/paragraph.js +2 -2
  179. package/src/integrations/removeformat.d.ts +2 -2
  180. package/src/integrations/removeformat.js +2 -2
  181. package/src/integrations/restrictededitingmode.d.ts +2 -2
  182. package/src/integrations/restrictededitingmode.js +2 -2
  183. package/src/integrations/shiftentercommand.d.ts +3 -3
  184. package/src/integrations/shiftentercommand.js +2 -2
  185. package/src/integrations/standardeditingmode.d.ts +2 -2
  186. package/src/integrations/standardeditingmode.js +2 -2
  187. package/src/integrations/style.d.ts +2 -2
  188. package/src/integrations/style.js +2 -2
  189. package/src/integrations/table.d.ts +2 -2
  190. package/src/integrations/table.js +2 -2
  191. package/src/integrations/tablecaption.d.ts +3 -3
  192. package/src/integrations/tablecaption.js +2 -2
  193. package/src/integrations/tableclipboard.d.ts +3 -3
  194. package/src/integrations/tableclipboard.js +2 -2
  195. package/src/integrations/tablecolumnresize.d.ts +5 -5
  196. package/src/integrations/tablecolumnresize.js +2 -2
  197. package/src/integrations/tableheadings.d.ts +3 -3
  198. package/src/integrations/tableheadings.js +2 -2
  199. package/src/integrations/tablemergesplit.d.ts +3 -3
  200. package/src/integrations/tablemergesplit.js +2 -2
  201. package/src/integrations/tableofcontents.d.ts +2 -2
  202. package/src/integrations/tableofcontents.js +2 -2
  203. package/src/integrations/tableproperties.d.ts +5 -5
  204. package/src/integrations/tableproperties.js +2 -2
  205. package/src/integrations/template.d.ts +2 -2
  206. package/src/integrations/template.js +2 -2
  207. package/src/integrations/title.d.ts +2 -2
  208. package/src/integrations/title.js +2 -2
  209. package/src/integrations/undo.d.ts +2 -2
  210. package/src/integrations/undo.js +2 -2
  211. package/src/integrations/utils.d.ts +4 -4
  212. package/src/integrations/utils.js +2 -2
  213. package/src/suggestion.d.ts +6 -6
  214. package/src/suggestion.js +2 -2
  215. package/src/suggestiondescriptionfactory.d.ts +4 -4
  216. package/src/suggestiondescriptionfactory.js +2 -2
  217. package/src/trackchanges.d.ts +6 -6
  218. package/src/trackchanges.js +2 -2
  219. package/src/trackchangesconfig.d.ts +2 -2
  220. package/src/trackchangesconfig.js +1 -1
  221. package/src/trackchangesdata.d.ts +3 -3
  222. package/src/trackchangesdata.js +2 -2
  223. package/src/trackchangesediting.d.ts +56 -55
  224. package/src/trackchangesediting.js +2 -2
  225. package/src/trackchangesui.d.ts +4 -4
  226. package/src/trackchangesui.js +2 -2
  227. package/src/ui/suggestioncontroller.d.ts +6 -6
  228. package/src/ui/suggestioncontroller.js +2 -2
  229. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  230. package/src/ui/view/basesuggestionthreadview.js +2 -2
  231. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  232. package/src/ui/view/suggestionthreadview.js +2 -2
  233. package/src/utils/common-translations.d.ts +2 -2
  234. package/src/utils/common-translations.js +2 -2
  235. package/src/utils/utils.d.ts +5 -5
  236. package/src/utils/utils.js +2 -2
  237. package/theme/icons/track-changes-accept.svg +1 -1
  238. package/theme/icons/track-changes-discard.svg +1 -1
  239. package/theme/icons/track-changes.svg +1 -1
  240. package/src/integrations/documentlist.d.ts +0 -17
  241. package/src/integrations/documentlist.js +0 -23
  242. 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 _0x15c1=['deletion','*Change\x20to:*\x20%0','list.multiBlock','change','paragraph','getSelectedBlocks','length','selection','schema','isObject','forceValue','outdentList','before','execute','ELEMENT_BULLETED_LIST','registerDescriptionCallback','*Format:*\x20remove\x20from\x20%0','add','listIndent','commands','expandListBlocksToCompleteList','ELEMENT_','slice','enableCommand','nodeAfter','_descriptionFactory','listItemId','createPositionAt','getRanges','bulletedList','parent','has','setSelection','splitListItemAfter','config','findIndex','format','value','getFirstRange','fromRange','DocumentListEditing','_suggestionFactory','getAttribute','detach','createRange','editor','get','mergeListItemBackward','nextSibling','ELEMENT_NUMBERED_LIST','DocumentListUtils','listType','splitListItemBefore','_LIST','formatBlock','indentList','registerElementLabel','from','commandName','previousSibling','multipleBlocks','*Indent:*\x20%0','toUpperCase','document','after','hasAttribute','next','*Format:*\x20insert\x20into\x20%0','ELEMENT_LIST_ITEM','start','plugins','type','commandParams','end','mergeListItemForward','model','markBlockFormat','documentList','numberedList','containsItem','push'];(function(_0x441bfe,_0x15c138){const _0x3f2a24=function(_0x4cae3d){while(--_0x4cae3d){_0x441bfe['push'](_0x441bfe['shift']());}};_0x3f2a24(++_0x15c138);}(_0x15c1,0x75));const _0x3f2a=function(_0x441bfe,_0x15c138){_0x441bfe=_0x441bfe-0x0;let _0x3f2a24=_0x15c1[_0x441bfe];return _0x3f2a24;};import{Plugin as _0x3a4a29}from'ckeditor5/src/core';import{getTranslation as _0x4720ac}from'../utils/common-translations';import{LiveRange as _0x2599a3}from'ckeditor5/src/engine';export default class q extends _0x3a4a29{['afterInit'](){const _0x272fe3=this[_0x3f2a('0x9')];if(!_0x272fe3['plugins'][_0x3f2a('0x4c')](_0x3f2a('0x4')))return;const _0x551026=_0x272fe3['locale'],_0x3813eb=_0x272fe3['plugins'][_0x3f2a('0xa')]('TrackChangesEditing'),_0x75c387=_0x272fe3[_0x3f2a('0x22')][_0x3f2a('0xa')](_0x3f2a('0xe'));function _0x7c4280(_0x5c057d){return()=>{const _0xbdf743=_0x272fe3[_0x3f2a('0x40')]['get'](_0x5c057d);if(_0xbdf743['value']&&!_0x272fe3[_0x3f2a('0x4f')]['get'](_0x3f2a('0x2f')))return void _0x272fe3['execute'](_0x3f2a('0x31'),{});let _0x40b25a=Array[_0x3f2a('0x15')](_0x272fe3['model'][_0x3f2a('0x1b')][_0x3f2a('0x34')][_0x3f2a('0x32')]());if(_0x36acc2(_0x5c057d)){_0x40b25a=_0x75c387[_0x3f2a('0x41')](_0x40b25a);const _0x5a36fc=[];for(const _0x547bab of _0x40b25a)_0x75c387['isFirstBlockOfListItem'](_0x547bab)&&_0x5a36fc[_0x3f2a('0x2c')](_0x547bab);_0x40b25a=_0x5a36fc;}_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x30')](()=>{_0x3813eb['markMultiRangeBlockFormat'](_0x40b25a,{'commandName':_0x5c057d,'commandParams':[{'forceValue':!_0xbdf743['value']}],'formatGroupId':_0x3f2a('0xf')},[],_0x3f2a('0x29'));});};}function _0x2029a0(_0x532e88){return()=>{const _0x464813=function(_0x13a481){let _0x443963=Array['from'](_0x13a481);const _0x10c372=_0x443963[_0x3f2a('0x50')](_0x265f97=>!_0x265f97[_0x3f2a('0x1d')](_0x3f2a('0x47')));return _0x10c372>-0x1&&(_0x443963=_0x443963[_0x3f2a('0x43')](0x0,_0x10c372)),_0x443963;}(_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x1b')]['selection'][_0x3f2a('0x32')]()),_0x394187=_0x464813[_0x464813[_0x3f2a('0x33')]-0x1],_0x194f34=_0x272fe3['model'][_0x3f2a('0x35')][_0x3f2a('0x36')](_0x394187)?_0x3f2a('0x1c'):'end',_0x3e70b8=_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x8')](_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x48')](_0x464813[0x0],'before'),_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x48')](_0x394187,_0x194f34));_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x30')](()=>{_0x3813eb[_0x3f2a('0x28')](_0x3e70b8,{'commandName':_0x532e88,'commandParams':[],'formatGroupId':_0x3f2a('0xf')},function(_0x15fcad){const _0x2a8602=new Set();for(const _0x2776f4 of _0x15fcad){let _0x27a134=_0x2776f4[_0x3f2a('0xc')];for(;_0x27a134&&_0x27a134['getAttribute']('listIndent')>_0x2776f4[_0x3f2a('0x6')](_0x3f2a('0x3f'));)_0x2a8602[_0x3f2a('0x3e')](_0x27a134),_0x27a134=_0x27a134['nextSibling'];}return Array['from'](_0x2a8602);}(_0x464813));});};}function _0x4fa098(_0x4d295d){return()=>{const _0x34b668=_0x272fe3[_0x3f2a('0x27')]['document']['selection'][_0x3f2a('0x32')]()[_0x3f2a('0x1e')]()['value'],_0x2bc32a=_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x48')](_0x34b668,_0x3f2a('0x39')),_0x53a181=_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x48')](_0x34b668,0x0),_0x7cb2ac=_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x8')](_0x2bc32a,_0x53a181);_0x272fe3[_0x3f2a('0x27')]['change'](()=>{_0x3813eb[_0x3f2a('0x28')](_0x7cb2ac,{'commandName':_0x4d295d,'commandParams':[],'formatGroupId':_0x3f2a('0xf')});});};}function _0x36acc2(_0x44e2c8){const _0x1d3579=_0x272fe3[_0x3f2a('0x40')][_0x3f2a('0xa')](_0x3f2a('0x4a'))[_0x3f2a('0x1')],_0x2d1dfd=_0x272fe3[_0x3f2a('0x40')][_0x3f2a('0xa')](_0x3f2a('0x2a'))[_0x3f2a('0x1')];return _0x3f2a('0x2a')===_0x44e2c8?_0x1d3579:_0x2d1dfd;}_0x3813eb[_0x3f2a('0x44')](_0x3f2a('0x2a'),_0x7c4280(_0x3f2a('0x2a'))),_0x3813eb[_0x3f2a('0x44')]('bulletedList',_0x7c4280(_0x3f2a('0x4a'))),_0x3813eb[_0x3f2a('0x44')](_0x3f2a('0x13'),_0x2029a0('indentList')),_0x3813eb[_0x3f2a('0x44')](_0x3f2a('0x38'),_0x2029a0('outdentList')),_0x3813eb[_0x3f2a('0x44')](_0x3f2a('0x4e'),_0x4fa098('splitListItemAfter')),_0x3813eb[_0x3f2a('0x44')](_0x3f2a('0x10'),_0x4fa098(_0x3f2a('0x10'))),_0x3813eb[_0x3f2a('0x46')][_0x3f2a('0x14')](function(_0x50b88d){const _0x5282f7=!_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x35')][_0x3f2a('0x36')](_0x50b88d),_0x34e0c2=_0x50b88d[_0x3f2a('0x17')],_0x139e36=_0x50b88d[_0x3f2a('0xc')],_0x542a87=_0x50b88d[_0x3f2a('0x6')]('listItemId'),_0xa78eb5=!_0x34e0c2||_0x34e0c2[_0x3f2a('0x6')](_0x3f2a('0x47'))!==_0x542a87,_0x23478b=!_0x139e36||_0x139e36[_0x3f2a('0x6')](_0x3f2a('0x47'))!==_0x542a87;return _0x5282f7&&Boolean(_0x542a87)&&_0xa78eb5&&_0x23478b;},_0x388475=>_0x4720ac(_0x551026,_0x3f2a('0x20'),_0x388475)),_0x3813eb['_descriptionFactory'][_0x3f2a('0x3c')](function(_0x488ac6){if('formatBlock'!=_0x488ac6[_0x3f2a('0x23')]&&'formatInline'!=_0x488ac6['type'])return;const {data:_0x4b0197}=_0x488ac6;if(!_0x4b0197)return;let _0x11d3be,_0x4ac8d5,_0x360170,_0x13f315;switch(_0x4b0197[_0x3f2a('0x16')]){case _0x3f2a('0x4a'):_0x360170=_0x4b0197[_0x3f2a('0x24')][0x0][_0x3f2a('0x37')],_0x13f315=_0x36acc2(_0x4b0197[_0x3f2a('0x16')]),_0x11d3be=_0x360170?'*Format:*\x20insert\x20into\x20%0':_0x3f2a('0x3d'),!_0x13f315&&_0x272fe3['config']['get'](_0x3f2a('0x2f'))||(_0x11d3be=_0x3f2a('0x2e')),_0x4ac8d5={'type':_0x3f2a('0x0'),'content':_0x4720ac(_0x551026,_0x11d3be,_0x4720ac(_0x551026,_0x3f2a('0x3b')))};break;case _0x3f2a('0x2a'):_0x360170=_0x4b0197[_0x3f2a('0x24')][0x0]['forceValue'],_0x13f315=_0x36acc2(_0x4b0197['commandName']),_0x11d3be=_0x360170?_0x3f2a('0x1f'):_0x3f2a('0x3d'),!_0x13f315&&_0x272fe3[_0x3f2a('0x4f')][_0x3f2a('0xa')](_0x3f2a('0x2f'))||(_0x11d3be='*Change\x20to:*\x20%0'),_0x4ac8d5={'type':'format','content':_0x4720ac(_0x551026,_0x11d3be,_0x4720ac(_0x551026,_0x3f2a('0xd')))};break;case'indentList':_0x11d3be=_0x3f2a('0x19'),_0x4ac8d5={'type':_0x3f2a('0x0'),'content':_0x4720ac(_0x551026,_0x11d3be,_0x4720ac(_0x551026,'ELEMENT_LIST_ITEM'))};break;case _0x3f2a('0x38'):_0x11d3be=function(_0x41b125){const _0x4bb3c3=_0x41b125['getFirstRange']();let _0x11536b=_0x4bb3c3['start'][_0x3f2a('0x45')];for(;_0x11536b&&_0x4bb3c3[_0x3f2a('0x2b')](_0x11536b);){if(_0x11536b['getAttribute'](_0x3f2a('0x3f'))>0x0)return!0x1;_0x11536b=_0x11536b['nextSibling'];}return!0x0;}(_0x488ac6)?_0x4720ac(_0x551026,_0x3f2a('0x3d'),_0x4720ac(_0x551026,function(_0x22530c){const _0xd8525f=_0x22530c[_0x3f2a('0x2')]()[_0x3f2a('0x21')][_0x3f2a('0x45')];return _0x3f2a('0x42')+_0xd8525f[_0x3f2a('0x6')]('listType')[_0x3f2a('0x1a')]()+_0x3f2a('0x11');}(_0x488ac6))):_0x4720ac(_0x551026,'*Outdent:*\x20%0',_0x4720ac(_0x551026,_0x3f2a('0x20'))),_0x4ac8d5={'type':_0x3f2a('0x0'),'content':_0x11d3be};break;case _0x3f2a('0xb'):case _0x3f2a('0x26'):!0x1===_0x4b0197[_0x3f2a('0x18')]&&(_0x11d3be='*Merge:*\x20%0',_0x4ac8d5={'type':_0x3f2a('0x2d'),'content':_0x4720ac(_0x551026,_0x11d3be,_0x4720ac(_0x551026,'ELEMENT_LIST_ITEM'))});}return _0x4ac8d5;}),_0x3813eb[_0x3f2a('0x5')]['registerCustomCallback'](_0x3f2a('0x12'),_0x3f2a('0x29'),'accept',function(_0x4ce52a,_0x36a0b3){const _0x3796cb=[];for(let _0x1259d9 of _0x4ce52a)_0x1259d9[_0x3f2a('0x21')][_0x3f2a('0x45')]===_0x1259d9[_0x3f2a('0x25')][_0x3f2a('0x4b')]&&(_0x1259d9=_0x272fe3['model']['createRange'](_0x272fe3['model']['createPositionAt'](_0x1259d9['start'][_0x3f2a('0x45')],0x0))),_0x3796cb[_0x3f2a('0x2c')](_0x1259d9);_0x272fe3['model'][_0x3f2a('0x30')](_0xf524fe=>{const _0x3d9294=_0x272fe3[_0x3f2a('0x27')][_0x3f2a('0x1b')][_0x3f2a('0x34')],_0x1a094b=Array[_0x3f2a('0x15')](_0x3d9294[_0x3f2a('0x49')]())['map'](_0x713353=>_0x2599a3[_0x3f2a('0x3')](_0x713353));_0xf524fe[_0x3f2a('0x4d')](_0x3796cb),_0x272fe3[_0x3f2a('0x40')][_0x3f2a('0xa')](_0x36a0b3[_0x3f2a('0x16')])['refresh'](),_0x36a0b3[_0x3f2a('0x24')][_0x3f2a('0x2c')]({'forceDefaultExecution':!0x0}),_0x272fe3[_0x3f2a('0x3a')](_0x36a0b3[_0x3f2a('0x16')],..._0x36a0b3[_0x3f2a('0x24')]),_0xf524fe['setSelection'](_0x1a094b);for(const _0x591ca3 of _0x1a094b)_0x591ca3[_0x3f2a('0x7')]();});});}}
@@ -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 _0x56b1=['locale','document','change','handleListStartCommand','from','registerDescriptionCallback','DocumentListPropertiesEditing','replace','reversed','listStyle','has','enableCommand','selection','startIndex','ELEMENT_','listReversed','type','filter','commandParams','plugins','formatBlock','*Format:*\x20set\x20order\x20to\x20regular','_LIST_','numbered','list.properties','handleListReversedCommand','_getTranslationKeyForListStyle','model','afterInit','getSelectedBlocks','listType','TrackChangesEditing','_getSuggestionBlocks','isListItemBlock','expandListBlocksToCompleteList','DocumentListPropertiesUtils','handleDescriptions','*Change\x20to:*\x20%0','formatInline','_getSuggestionBlocksForListStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','isFirstBlockOfListItem','config','get','commandName','bind','getListTypeFromListStyleType','markMultiRangeBlockFormat','DocumentListUtils','format','getAttribute','toUpperCase','*Format:*\x20set\x20order\x20to\x20reversed','push','listStart','editor'];(function(_0x5b5da0,_0x56b1a8){const _0x39144a=function(_0x2890bb){while(--_0x2890bb){_0x5b5da0['push'](_0x5b5da0['shift']());}};_0x39144a(++_0x56b1a8);}(_0x56b1,0x1e4));const _0x3914=function(_0x5b5da0,_0x56b1a8){_0x5b5da0=_0x5b5da0-0x0;let _0x39144a=_0x56b1[_0x5b5da0];return _0x39144a;};import{Plugin as _0x4f3cff}from'ckeditor5/src/core';import{getTranslation as _0x4ee476}from'../utils/common-translations';export default class z extends _0x4f3cff{[_0x3914('0x30')](){if(!this['editor'][_0x3914('0x27')][_0x3914('0x1e')](_0x3914('0x1a')))return;const _0x1941ae=this['editor'][_0x3914('0x6')][_0x3914('0x7')](_0x3914('0x2c')),_0x55ba9e=this[_0x3914('0x13')][_0x3914('0x27')][_0x3914('0x7')](_0x3914('0x33'));_0x1941ae['styles']&&_0x55ba9e[_0x3914('0x1f')]('listStyle',this['handleListStyleCommand'][_0x3914('0x9')](this)),_0x1941ae[_0x3914('0x1c')]&&_0x55ba9e[_0x3914('0x1f')](_0x3914('0x23'),this[_0x3914('0x2d')]['bind'](this)),_0x1941ae['startIndex']&&_0x55ba9e['enableCommand'](_0x3914('0x12'),this[_0x3914('0x17')][_0x3914('0x9')](this)),_0x55ba9e['_descriptionFactory'][_0x3914('0x19')](this['handleDescriptions'][_0x3914('0x9')](this));}['handleListStyleCommand'](_0x55f87e,_0x28b1cc={}){const _0x49ceca=this[_0x3914('0x13')]['plugins'][_0x3914('0x7')](_0x3914('0x33')),_0x5c00a8=this[_0x3914('0x3')]();this[_0x3914('0x13')][_0x3914('0x2f')]['change'](()=>{_0x49ceca[_0x3914('0xb')](_0x5c00a8,{'commandName':'listStyle','commandParams':[{'type':_0x28b1cc[_0x3914('0x24')]}],'formatGroupId':_0x3914('0x1d')});});}[_0x3914('0x2d')](_0x2b8db7,_0x5f16ea={}){const _0x321cc0=this['editor'][_0x3914('0x27')][_0x3914('0x7')](_0x3914('0x33')),_0x393300=this[_0x3914('0x13')][_0x3914('0x27')][_0x3914('0x7')](_0x3914('0xc')),_0x38bb3d=this['_getSuggestionBlocks'](_0x1adf50=>_0x393300[_0x3914('0x35')](_0x1adf50)&&_0x3914('0x2b')===_0x1adf50[_0x3914('0xe')](_0x3914('0x32')));null!==_0x38bb3d&&this[_0x3914('0x13')][_0x3914('0x2f')][_0x3914('0x16')](()=>{_0x321cc0['markMultiRangeBlockFormat'](_0x38bb3d,{'commandName':'listReversed','commandParams':[{'reversed':_0x5f16ea[_0x3914('0x1c')]}],'formatGroupId':_0x3914('0x23')});});}[_0x3914('0x17')](_0xf18aeb,_0x1fff3a={}){const _0x49be64=this[_0x3914('0x13')]['plugins'][_0x3914('0x7')](_0x3914('0x33')),_0x3bb6a0=this['editor'][_0x3914('0x27')][_0x3914('0x7')](_0x3914('0xc')),_0x7e77e4=this[_0x3914('0x34')](_0x5433b8=>_0x3bb6a0[_0x3914('0x35')](_0x5433b8)&&_0x3914('0x2b')===_0x5433b8['getAttribute'](_0x3914('0x32')));null!==_0x7e77e4&&this[_0x3914('0x13')][_0x3914('0x2f')][_0x3914('0x16')](()=>{_0x49be64[_0x3914('0xb')](_0x7e77e4,{'commandName':_0x3914('0x12'),'commandParams':[{'startIndex':_0x1fff3a[_0x3914('0x21')]}],'formatGroupId':_0x3914('0x12')});});}[_0x3914('0x0')](_0x238b88){if(_0x3914('0x28')!=_0x238b88[_0x3914('0x24')]&&_0x3914('0x2')!=_0x238b88[_0x3914('0x24')])return;const _0x40648e=this[_0x3914('0x13')][_0x3914('0x14')],{data:_0x9d6440}=_0x238b88;if(!_0x9d6440)return;let _0x15c4a1,_0x43d01e;switch(_0x9d6440[_0x3914('0x8')]){case _0x3914('0x1d'):_0x15c4a1=_0x3914('0x1'),_0x43d01e={'type':_0x3914('0xd'),'content':_0x4ee476(_0x40648e,_0x15c4a1,_0x4ee476(_0x40648e,this['_getTranslationKeyForListStyle'](_0x9d6440['commandParams'][0x0][_0x3914('0x24')])))};break;case _0x3914('0x23'):_0x15c4a1=_0x9d6440[_0x3914('0x26')][0x0][_0x3914('0x1c')]?_0x3914('0x10'):_0x3914('0x29'),_0x43d01e={'type':'format','content':_0x4ee476(_0x40648e,_0x15c4a1)};break;case _0x3914('0x12'):_0x15c4a1=_0x3914('0x4'),_0x43d01e={'type':'format','content':_0x4ee476(_0x40648e,_0x15c4a1,_0x9d6440[_0x3914('0x26')][0x0][_0x3914('0x21')])};}return _0x43d01e;}[_0x3914('0x3')](){const _0x40d160=this[_0x3914('0x13')][_0x3914('0x27')][_0x3914('0x7')]('DocumentListUtils');let _0xe0bb4e=Array[_0x3914('0x18')](this[_0x3914('0x13')][_0x3914('0x2f')][_0x3914('0x15')][_0x3914('0x20')][_0x3914('0x31')]());return _0xe0bb4e[_0x3914('0x11')](..._0x40d160[_0x3914('0x36')](_0xe0bb4e)),_0xe0bb4e=[...new Set(_0xe0bb4e)],_0xe0bb4e;}[_0x3914('0x34')](_0x10228a){const _0x30c95d=this[_0x3914('0x13')][_0x3914('0x27')][_0x3914('0x7')](_0x3914('0xc'));let _0x5387e9=Array['from'](this[_0x3914('0x13')][_0x3914('0x2f')][_0x3914('0x15')]['selection'][_0x3914('0x31')]())[_0x3914('0x25')](_0x10228a);if(!_0x5387e9['length'])return null;_0x5387e9=_0x30c95d[_0x3914('0x36')](_0x5387e9);const _0x41dc74=[];for(const _0x5e50bb of _0x5387e9)_0x30c95d[_0x3914('0x5')](_0x5e50bb)&&_0x41dc74[_0x3914('0x11')](_0x5e50bb);return _0x41dc74;}[_0x3914('0x2e')](_0x3b6bde){return _0x3914('0x22')+this['editor'][_0x3914('0x27')][_0x3914('0x7')](_0x3914('0x37'))[_0x3914('0xa')](_0x3b6bde)['toUpperCase']()+_0x3914('0x2a')+_0x3b6bde[_0x3914('0xf')]()[_0x3914('0x1b')](/-/g,'_');}}