@ckeditor/ckeditor5-track-changes 40.0.0 → 40.1.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 (230) hide show
  1. package/LICENSE.md +3 -3
  2. package/build/track-changes.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de.js +1 -1
  11. package/build/translations/el.js +1 -1
  12. package/build/translations/en-au.js +1 -1
  13. package/build/translations/es.js +1 -1
  14. package/build/translations/et.js +1 -1
  15. package/build/translations/fi.js +1 -1
  16. package/build/translations/fr.js +1 -1
  17. package/build/translations/gl.js +1 -1
  18. package/build/translations/he.js +1 -1
  19. package/build/translations/hi.js +1 -1
  20. package/build/translations/hr.js +1 -1
  21. package/build/translations/hu.js +1 -1
  22. package/build/translations/id.js +1 -1
  23. package/build/translations/it.js +1 -1
  24. package/build/translations/ja.js +1 -1
  25. package/build/translations/ko.js +1 -1
  26. package/build/translations/lt.js +1 -1
  27. package/build/translations/lv.js +1 -1
  28. package/build/translations/ms.js +1 -1
  29. package/build/translations/nl.js +1 -1
  30. package/build/translations/no.js +1 -1
  31. package/build/translations/pl.js +1 -1
  32. package/build/translations/pt-br.js +1 -1
  33. package/build/translations/pt.js +1 -1
  34. package/build/translations/ro.js +1 -1
  35. package/build/translations/ru.js +1 -1
  36. package/build/translations/sk.js +1 -1
  37. package/build/translations/sq.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/lang/contexts.json +20 -1
  51. package/lang/translations/ar.po +76 -0
  52. package/lang/translations/az.po +76 -0
  53. package/lang/translations/bg.po +76 -0
  54. package/lang/translations/bn.po +76 -0
  55. package/lang/translations/ca.po +76 -0
  56. package/lang/translations/cs.po +76 -0
  57. package/lang/translations/da.po +76 -0
  58. package/lang/translations/de.po +76 -0
  59. package/lang/translations/el.po +76 -0
  60. package/lang/translations/en-au.po +76 -0
  61. package/lang/translations/en.po +76 -0
  62. package/lang/translations/es.po +76 -0
  63. package/lang/translations/et.po +76 -0
  64. package/lang/translations/fi.po +76 -0
  65. package/lang/translations/fr.po +76 -0
  66. package/lang/translations/gl.po +76 -0
  67. package/lang/translations/he.po +76 -0
  68. package/lang/translations/hi.po +76 -0
  69. package/lang/translations/hr.po +76 -0
  70. package/lang/translations/hu.po +76 -0
  71. package/lang/translations/id.po +76 -0
  72. package/lang/translations/it.po +76 -0
  73. package/lang/translations/ja.po +76 -0
  74. package/lang/translations/ko.po +76 -0
  75. package/lang/translations/lt.po +76 -0
  76. package/lang/translations/lv.po +76 -0
  77. package/lang/translations/ms.po +76 -0
  78. package/lang/translations/nl.po +76 -0
  79. package/lang/translations/no.po +76 -0
  80. package/lang/translations/pl.po +76 -0
  81. package/lang/translations/pt-br.po +94 -18
  82. package/lang/translations/pt.po +76 -0
  83. package/lang/translations/ro.po +76 -0
  84. package/lang/translations/ru.po +76 -0
  85. package/lang/translations/sk.po +76 -0
  86. package/lang/translations/sq.po +76 -0
  87. package/lang/translations/sr-latn.po +76 -0
  88. package/lang/translations/sr.po +76 -0
  89. package/lang/translations/sv.po +76 -0
  90. package/lang/translations/th.po +76 -0
  91. package/lang/translations/tk.po +76 -0
  92. package/lang/translations/tr.po +76 -0
  93. package/lang/translations/tt.po +76 -0
  94. package/lang/translations/uk.po +76 -0
  95. package/lang/translations/ur.po +76 -0
  96. package/lang/translations/vi.po +76 -0
  97. package/lang/translations/zh-cn.po +76 -0
  98. package/lang/translations/zh.po +76 -0
  99. package/package.json +3 -3
  100. package/src/augmentation.d.ts +40 -40
  101. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  102. package/src/commands/acceptsuggestioncommand.js +1 -1
  103. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  104. package/src/commands/discardsuggestioncommand.js +1 -1
  105. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  106. package/src/commands/executeonallsuggestionscommand.js +1 -1
  107. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  108. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  109. package/src/commands/trackchangescommand.d.ts +26 -26
  110. package/src/commands/trackchangescommand.js +1 -1
  111. package/src/index.d.ts +16 -16
  112. package/src/integrations/aiassistant.d.ts +17 -17
  113. package/src/integrations/aiassistant.js +1 -1
  114. package/src/integrations/alignment.d.ts +17 -17
  115. package/src/integrations/alignment.js +1 -1
  116. package/src/integrations/basicstyles.d.ts +17 -17
  117. package/src/integrations/basicstyles.js +1 -1
  118. package/src/integrations/blockquote.d.ts +17 -17
  119. package/src/integrations/blockquote.js +1 -1
  120. package/src/integrations/ckbox.d.ts +17 -17
  121. package/src/integrations/ckbox.js +1 -1
  122. package/src/integrations/codeblock.d.ts +17 -17
  123. package/src/integrations/codeblock.js +1 -1
  124. package/src/integrations/comments.d.ts +14 -14
  125. package/src/integrations/comments.js +1 -1
  126. package/src/integrations/deletecommand.d.ts +17 -17
  127. package/src/integrations/deletecommand.js +1 -1
  128. package/src/integrations/documentlist.d.ts +17 -17
  129. package/src/integrations/documentlist.js +1 -1
  130. package/src/integrations/documentlistproperties.d.ts +29 -29
  131. package/src/integrations/documentlistproperties.js +1 -1
  132. package/src/integrations/entercommand.d.ts +16 -16
  133. package/src/integrations/entercommand.js +1 -1
  134. package/src/integrations/findandreplace.d.ts +21 -21
  135. package/src/integrations/findandreplace.js +1 -1
  136. package/src/integrations/font.d.ts +17 -17
  137. package/src/integrations/font.js +1 -1
  138. package/src/integrations/formatpainter.d.ts +17 -17
  139. package/src/integrations/formatpainter.js +1 -1
  140. package/src/integrations/heading.d.ts +17 -17
  141. package/src/integrations/heading.js +1 -1
  142. package/src/integrations/highlight.d.ts +17 -17
  143. package/src/integrations/highlight.js +1 -1
  144. package/src/integrations/horizontalline.d.ts +17 -17
  145. package/src/integrations/horizontalline.js +1 -1
  146. package/src/integrations/htmlembed.d.ts +17 -17
  147. package/src/integrations/htmlembed.js +1 -1
  148. package/src/integrations/image.d.ts +17 -17
  149. package/src/integrations/image.js +1 -1
  150. package/src/integrations/imagereplace.d.ts +17 -23
  151. package/src/integrations/imagereplace.js +1 -1
  152. package/src/integrations/imagestyle.d.ts +17 -0
  153. package/src/integrations/imagestyle.js +23 -0
  154. package/src/integrations/importword.d.ts +18 -18
  155. package/src/integrations/importword.js +1 -1
  156. package/src/integrations/indent.d.ts +17 -17
  157. package/src/integrations/indent.js +1 -1
  158. package/src/integrations/inputcommand.d.ts +16 -16
  159. package/src/integrations/inputcommand.js +1 -1
  160. package/src/integrations/link.d.ts +17 -17
  161. package/src/integrations/link.js +1 -1
  162. package/src/integrations/list.d.ts +17 -17
  163. package/src/integrations/list.js +1 -1
  164. package/src/integrations/listproperties.d.ts +29 -29
  165. package/src/integrations/listproperties.js +1 -1
  166. package/src/integrations/mediaembed.d.ts +17 -17
  167. package/src/integrations/mediaembed.js +1 -1
  168. package/src/integrations/mention.d.ts +17 -17
  169. package/src/integrations/mention.js +1 -1
  170. package/src/integrations/pagebreak.d.ts +17 -17
  171. package/src/integrations/pagebreak.js +1 -1
  172. package/src/integrations/paragraph.d.ts +17 -17
  173. package/src/integrations/paragraph.js +1 -1
  174. package/src/integrations/removeformat.d.ts +17 -17
  175. package/src/integrations/removeformat.js +1 -1
  176. package/src/integrations/restrictededitingmode.d.ts +17 -17
  177. package/src/integrations/restrictededitingmode.js +1 -1
  178. package/src/integrations/shiftentercommand.d.ts +16 -16
  179. package/src/integrations/shiftentercommand.js +1 -1
  180. package/src/integrations/standardeditingmode.d.ts +17 -17
  181. package/src/integrations/standardeditingmode.js +1 -1
  182. package/src/integrations/style.d.ts +17 -18
  183. package/src/integrations/style.js +1 -1
  184. package/src/integrations/table.d.ts +42 -42
  185. package/src/integrations/table.js +1 -1
  186. package/src/integrations/tablecaption.d.ts +22 -22
  187. package/src/integrations/tablecaption.js +1 -1
  188. package/src/integrations/tableclipboard.d.ts +19 -19
  189. package/src/integrations/tableclipboard.js +1 -1
  190. package/src/integrations/tablecolumnresize.d.ts +26 -26
  191. package/src/integrations/tablecolumnresize.js +1 -1
  192. package/src/integrations/tableheadings.d.ts +22 -22
  193. package/src/integrations/tableheadings.js +1 -1
  194. package/src/integrations/tablemergesplit.d.ts +22 -22
  195. package/src/integrations/tablemergesplit.js +1 -1
  196. package/src/integrations/tableofcontents.d.ts +17 -17
  197. package/src/integrations/tableofcontents.js +1 -1
  198. package/src/integrations/tableproperties.d.ts +27 -27
  199. package/src/integrations/tableproperties.js +1 -1
  200. package/src/integrations/template.d.ts +17 -17
  201. package/src/integrations/template.js +1 -1
  202. package/src/integrations/title.d.ts +17 -17
  203. package/src/integrations/title.js +1 -1
  204. package/src/integrations/undo.d.ts +17 -17
  205. package/src/integrations/undo.js +1 -1
  206. package/src/integrations/utils.d.ts +21 -21
  207. package/src/integrations/utils.js +1 -1
  208. package/src/suggestion.d.ts +291 -276
  209. package/src/suggestion.js +1 -1
  210. package/src/suggestiondescriptionfactory.d.ts +183 -163
  211. package/src/suggestiondescriptionfactory.js +1 -1
  212. package/src/trackchanges.d.ts +180 -244
  213. package/src/trackchanges.js +1 -1
  214. package/src/trackchangesconfig.d.ts +78 -75
  215. package/src/trackchangesdata.d.ts +41 -41
  216. package/src/trackchangesdata.js +1 -1
  217. package/src/trackchangesediting.d.ts +524 -468
  218. package/src/trackchangesediting.js +1 -1
  219. package/src/trackchangesui.d.ts +38 -38
  220. package/src/trackchangesui.js +1 -1
  221. package/src/ui/suggestioncontroller.d.ts +37 -37
  222. package/src/ui/suggestioncontroller.js +1 -1
  223. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  224. package/src/ui/view/basesuggestionthreadview.js +1 -1
  225. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  226. package/src/ui/view/suggestionthreadview.js +1 -1
  227. package/src/utils/common-translations.d.ts +9 -9
  228. package/src/utils/common-translations.js +1 -1
  229. package/src/utils/utils.d.ts +30 -30
  230. package/src/utils/utils.js +1 -1
@@ -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 _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']();});});}}
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,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 _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,'_');}}
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,'_');}}
@@ -1,16 +1,16 @@
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/entercommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Enter } from 'ckeditor5/src/enter';
10
- /**
11
- * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
12
- */
13
- export default class TrackChangesEnterCommand extends Plugin {
14
- static get requires(): readonly [typeof Enter];
15
- init(): void;
16
- }
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/entercommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Enter } from 'ckeditor5/src/enter';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
12
+ */
13
+ export default class TrackChangesEnterCommand extends Plugin {
14
+ static get requires(): readonly [typeof Enter];
15
+ init(): void;
16
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59b4=['editing','selection','createPositionAt','parent','enter','afterExecute','split','init','model','mapper','plugins','commands','createRange','unbindElementFromMarkerName','writer','fromRange','ck-suggestion-marker-split','get','data','downcastDispatcher','nextSibling','detach','enterBlock','bind','markerName','getFirstPosition','high','addMarker:suggestion:insertion','remove','requires','fire','hasClass','change','removeMarker:suggestion:insertion'];(function(_0x5636c7,_0x59b49c){const _0x580f5f=function(_0x5ed382){while(--_0x5ed382){_0x5636c7['push'](_0x5636c7['shift']());}};_0x580f5f(++_0x59b49c);}(_0x59b4,0x1ce));const _0x580f=function(_0x5636c7,_0x59b49c){_0x5636c7=_0x5636c7-0x0;let _0x580f5f=_0x59b4[_0x5636c7];return _0x580f5f;};import{Plugin as _0xa0a10}from'ckeditor5/src/core';import{Enter as _0x24ec86}from'ckeditor5/src/enter';import{LiveRange as _0x280430}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xa5c2ec}from'./utils';export default class z extends _0xa0a10{static get[_0x580f('0x9')](){return[_0x24ec86];}[_0x580f('0x15')](){const _0x22b64a=this['editor'],_0x4ec262=_0x22b64a[_0x580f('0x18')][_0x580f('0x1f')]('TrackChangesEditing'),_0xd889=_0x22b64a[_0x580f('0x19')][_0x580f('0x1f')](_0x580f('0x12'));_0x4ec262['enableCommand'](_0x580f('0x12'),()=>{_0x22b64a[_0x580f('0x16')][_0x580f('0xc')](_0x13fec7=>{const _0x5a00c1=_0x22b64a[_0x580f('0x16')]['document'][_0x580f('0xf')],_0x57121f=_0x5a00c1[_0x580f('0x5')](),_0x3844c2=_0x280430[_0x580f('0x1d')](_0x5a00c1['getFirstRange']());if(_0xd889[_0x580f('0x2')](_0x13fec7)){const _0x3bc751=_0x22b64a['model'][_0x580f('0x10')](_0x57121f[_0x580f('0x11')][_0x580f('0x0')],0x0),_0x47d231=_0x13fec7['createRange'](_0x57121f,_0x3bc751);_0x4ec262['markInsertion'](_0x47d231);}else _0x13fec7['setSelection'](_0x13fec7[_0x580f('0x1a')](_0x3844c2['end']));_0x3844c2[_0x580f('0x1')](),_0xd889[_0x580f('0xa')](_0x580f('0x13'),{'writer':_0x13fec7});});}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0x7'),_0xa5c2ec(_0x22b64a,_0x580f('0x14')),{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0xd'),(_0x1af01f,_0x460825,_0x4f5f64)=>{const _0xaf94af=_0x4f5f64[_0x580f('0x17')]['markerNameToElements'](_0x460825['markerName']);if(_0xaf94af)for(const _0x53622b of _0xaf94af)_0x53622b[_0x580f('0xb')](_0x580f('0x1e'))&&(_0x4f5f64[_0x580f('0x17')][_0x580f('0x1b')](_0x53622b,_0x460825[_0x580f('0x4')]),_0x4f5f64[_0x580f('0x1c')][_0x580f('0x8')](_0x53622b));},{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0x20')][_0x580f('0x21')]['on'](_0x580f('0x7'),(_0x330940,_0x27fc89,_0x4c5cd4)=>{_0x4c5cd4['options']['showSuggestionHighlights']&&_0xa5c2ec(_0x22b64a,'split',{'showActiveMarker':!0x1})[_0x580f('0x3')](this)(_0x330940,_0x27fc89,_0x4c5cd4);},{'priority':'high'});}}
23
+ const _0xf52a=['nextSibling','requires','hasClass','data','editing','get','getFirstRange','mapper','writer','change','editor','enterBlock','parent','enter','getFirstPosition','bind','createRange','options','setSelection','plugins','high','removeMarker:suggestion:insertion','afterExecute','init','createPositionAt','markerNameToElements','enableCommand','selection','addMarker:suggestion:insertion','markInsertion','model','remove','split','markerName','TrackChangesEditing','downcastDispatcher','fire'];(function(_0x17e23b,_0xf52a83){const _0x4561a9=function(_0x54017e){while(--_0x54017e){_0x17e23b['push'](_0x17e23b['shift']());}};_0x4561a9(++_0xf52a83);}(_0xf52a,0xc8));const _0x4561=function(_0x17e23b,_0xf52a83){_0x17e23b=_0x17e23b-0x0;let _0x4561a9=_0xf52a[_0x17e23b];return _0x4561a9;};import{Plugin as _0x44eb64}from'ckeditor5/src/core';import{Enter as _0x38ea52}from'ckeditor5/src/enter';import{LiveRange as _0xf253c3}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x8c7d0d}from'./utils';export default class K extends _0x44eb64{static get[_0x4561('0x17')](){return[_0x38ea52];}[_0x4561('0x8')](){const _0x3162e6=this[_0x4561('0x20')],_0x25bca=_0x3162e6[_0x4561('0x4')]['get'](_0x4561('0x13')),_0x55b70d=_0x3162e6['commands'][_0x4561('0x1b')](_0x4561('0x23'));_0x25bca[_0x4561('0xb')]('enter',()=>{_0x3162e6[_0x4561('0xf')][_0x4561('0x1f')](_0x407381=>{const _0x3e5da0=_0x3162e6[_0x4561('0xf')]['document'][_0x4561('0xc')],_0x33c2e0=_0x3e5da0[_0x4561('0x24')](),_0x5cd1ea=_0xf253c3['fromRange'](_0x3e5da0[_0x4561('0x1c')]());if(_0x55b70d[_0x4561('0x21')](_0x407381)){const _0x277c5b=_0x3162e6['model'][_0x4561('0x9')](_0x33c2e0[_0x4561('0x22')][_0x4561('0x16')],0x0),_0x5d71ee=_0x407381[_0x4561('0x1')](_0x33c2e0,_0x277c5b);_0x25bca[_0x4561('0xe')](_0x5d71ee);}else _0x407381[_0x4561('0x3')](_0x407381[_0x4561('0x1')](_0x5cd1ea['end']));_0x5cd1ea['detach'](),_0x55b70d[_0x4561('0x15')](_0x4561('0x7'),{'writer':_0x407381});});}),_0x3162e6[_0x4561('0x1a')][_0x4561('0x14')]['on'](_0x4561('0xd'),_0x8c7d0d(_0x3162e6,_0x4561('0x11')),{'priority':_0x4561('0x5')}),_0x3162e6[_0x4561('0x1a')]['downcastDispatcher']['on'](_0x4561('0x6'),(_0x217fb1,_0x4f1b73,_0xc48802)=>{const _0x5068c7=_0xc48802['mapper'][_0x4561('0xa')](_0x4f1b73[_0x4561('0x12')]);if(_0x5068c7)for(const _0x25e560 of _0x5068c7)_0x25e560[_0x4561('0x18')]('ck-suggestion-marker-split')&&(_0xc48802[_0x4561('0x1d')]['unbindElementFromMarkerName'](_0x25e560,_0x4f1b73[_0x4561('0x12')]),_0xc48802[_0x4561('0x1e')][_0x4561('0x10')](_0x25e560));},{'priority':_0x4561('0x5')}),_0x3162e6[_0x4561('0x19')][_0x4561('0x14')]['on'](_0x4561('0xd'),(_0x3dd412,_0x4cc72d,_0x231458)=>{_0x231458[_0x4561('0x2')]['showSuggestionHighlights']&&_0x8c7d0d(_0x3162e6,_0x4561('0x11'),{'showActiveMarker':!0x1})[_0x4561('0x0')](this)(_0x3dd412,_0x4cc72d,_0x231458);},{'priority':_0x4561('0x5')});}}
@@ -1,21 +1,21 @@
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/findandreplace
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for find and replace feature.
11
- */
12
- export default class TrackChangesFindAndReplace extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
- matchCase?: boolean;
19
- wholeWords?: boolean;
20
- }): void;
21
- }
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/findandreplace
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for find and replace feature.
11
+ */
12
+ export default class TrackChangesFindAndReplace extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
+ matchCase?: boolean;
19
+ wholeWords?: boolean;
20
+ }): unknown;
21
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35e8=['getMarkersGroup','editor','model','markers','_isInDeletionRange','FindAndReplaceEditing','filter','suggestion:deletion','end','FindAndReplaceUtils','find','string','findPrevious','createPositionAt','createRange','findNext','afterInit','item','enableCommand','replace','bind','getRange','getIntersection','plugins','handleFindCommand','replaceAll'];(function(_0x234f08,_0x35e863){const _0x5652e8=function(_0x34fc0b){while(--_0x34fc0b){_0x234f08['push'](_0x234f08['shift']());}};_0x5652e8(++_0x35e863);}(_0x35e8,0xf8));const _0x5652=function(_0x234f08,_0x35e863){_0x234f08=_0x234f08-0x0;let _0x5652e8=_0x35e8[_0x234f08];return _0x5652e8;};import{Plugin as _0xe85b8c}from'ckeditor5/src/core';export default class H extends _0xe85b8c{[_0x5652('0x2')](){if(!this[_0x5652('0xd')][_0x5652('0x9')]['has'](_0x5652('0x11')))return;const _0x26f639=this[_0x5652('0xd')][_0x5652('0x9')]['get']('TrackChangesEditing');_0x26f639[_0x5652('0x4')](_0x5652('0x16'),this['handleFindCommand'][_0x5652('0x6')](this)),_0x26f639['enableCommand'](_0x5652('0x1')),_0x26f639[_0x5652('0x4')](_0x5652('0x18')),_0x26f639[_0x5652('0x4')](_0x5652('0x5')),_0x26f639[_0x5652('0x4')](_0x5652('0xb'));}[_0x5652('0xa')](_0x233ebe,_0x5a2206,_0xb113e1={}){const _0x34d35b=this[_0x5652('0xd')][_0x5652('0x9')]['get'](_0x5652('0x15'));void 0x0!==_0xb113e1&&_0x233ebe(_0x306d11=>(_0x5652('0x17')==typeof _0x5a2206?_0x34d35b['findByTextCallback'](_0x5a2206,_0xb113e1):_0x5a2206)(_0x306d11)[_0x5652('0x12')](_0x2d725c=>!0x1===this[_0x5652('0x10')](_0x2d725c,_0x306d11[_0x5652('0x3')])),_0xb113e1);}[_0x5652('0x10')](_0x3d1bfb,_0x54b2d6){const _0x252961=this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x0')](this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb['start']),this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb[_0x5652('0x14')]));for(const _0x539434 of this['editor']['model'][_0x5652('0xf')][_0x5652('0xc')](_0x5652('0x13')))if(null!==_0x252961[_0x5652('0x8')](_0x539434[_0x5652('0x7')]()))return!0x0;return!0x1;}}
23
+ const _0x3260=['TrackChangesEditing','bind','getMarkersGroup','findByTextCallback','filter','findPrevious','item','markers','afterInit','replace','createRange','has','model','suggestion:deletion','enableCommand','createPositionAt','plugins','getRange','start','getIntersection','replaceAll','handleFindCommand','string','find','get','editor','findNext','FindAndReplaceEditing','FindAndReplaceUtils'];(function(_0x3b3490,_0x326004){const _0x5bf868=function(_0x4e7065){while(--_0x4e7065){_0x3b3490['push'](_0x3b3490['shift']());}};_0x5bf868(++_0x326004);}(_0x3260,0x15c));const _0x5bf8=function(_0x3b3490,_0x326004){_0x3b3490=_0x3b3490-0x0;let _0x5bf868=_0x3260[_0x3b3490];return _0x5bf868;};import{Plugin as _0x2495a3}from'ckeditor5/src/core';export default class W extends _0x2495a3{[_0x5bf8('0x8')](){if(!this[_0x5bf8('0x19')][_0x5bf8('0x10')][_0x5bf8('0xb')](_0x5bf8('0x1b')))return;const _0x27c21=this[_0x5bf8('0x19')]['plugins'][_0x5bf8('0x18')](_0x5bf8('0x0'));_0x27c21['enableCommand'](_0x5bf8('0x17'),this[_0x5bf8('0x15')][_0x5bf8('0x1')](this)),_0x27c21['enableCommand'](_0x5bf8('0x1a')),_0x27c21[_0x5bf8('0xe')](_0x5bf8('0x5')),_0x27c21[_0x5bf8('0xe')](_0x5bf8('0x9')),_0x27c21[_0x5bf8('0xe')](_0x5bf8('0x14'));}[_0x5bf8('0x15')](_0x291626,_0x10c887,_0x1c7b67={}){const _0x43aa25=this[_0x5bf8('0x19')]['plugins'][_0x5bf8('0x18')](_0x5bf8('0x1c'));if(void 0x0!==_0x1c7b67)return _0x291626(_0x387652=>(_0x5bf8('0x16')==typeof _0x10c887?_0x43aa25[_0x5bf8('0x3')](_0x10c887,_0x1c7b67):_0x10c887)(_0x387652)[_0x5bf8('0x4')](_0x3bb68f=>!0x1===this['_isInDeletionRange'](_0x3bb68f,_0x387652[_0x5bf8('0x6')])),_0x1c7b67);}['_isInDeletionRange'](_0x3e9826,_0x2f8594){const _0xf1eb4c=this['editor'][_0x5bf8('0xc')][_0x5bf8('0xa')](this[_0x5bf8('0x19')][_0x5bf8('0xc')][_0x5bf8('0xf')](_0x2f8594,_0x3e9826[_0x5bf8('0x12')]),this[_0x5bf8('0x19')][_0x5bf8('0xc')]['createPositionAt'](_0x2f8594,_0x3e9826['end']));for(const _0x18222f of this[_0x5bf8('0x19')][_0x5bf8('0xc')][_0x5bf8('0x7')][_0x5bf8('0x2')](_0x5bf8('0xd')))if(null!==_0xf1eb4c[_0x5bf8('0x13')](_0x18222f[_0x5bf8('0x11')]()))return!0x0;return!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/font
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for font features.
11
- */
12
- export default class TrackChangesFont 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/font
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for font features.
11
+ */
12
+ export default class TrackChangesFont extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bae=['config','enableCommand','trim','fontBackgroundColor','document','has','TrackChangesEditing','toLowerCase','FontFamilyEditing','commandParams','plugins','change','*Reset\x20font\x20background\x20color*','afterInit','label','isCollapsed','fontColor.colors','value','get','normalizeSizeOptions','FontColorEditing','commandName','format','fontSize.options','getRanges','fontFamily','*Set\x20font\x20family:*\x20%0','locale','FontSizeEditing','fontColor','title','find','*Reset\x20font\x20color*','from','*Reset\x20font\x20size*','model','editor','markInlineFormat','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','_enableCommand','fontSize','registerDescriptionCallback'];(function(_0x5d02bf,_0x3baed1){const _0x3cbc56=function(_0x46298b){while(--_0x46298b){_0x5d02bf['push'](_0x5d02bf['shift']());}};_0x3cbc56(++_0x3baed1);}(_0x3bae,0x1eb));const _0x3cbc=function(_0x5d02bf,_0x3baed1){_0x5d02bf=_0x5d02bf-0x0;let _0x3cbc56=_0x3bae[_0x5d02bf];return _0x3cbc56;};import{Plugin as _0x286b2b}from'ckeditor5/src/core';import{normalizeColorOptions as _0xf0e98a}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4fc8ae}from'./utils';import{getTranslation as _0x4574e4}from'../utils/common-translations';const eo=[{'pluginName':_0x3cbc('0xa'),'commandName':_0x3cbc('0x17')},{'pluginName':_0x3cbc('0x21'),'commandName':_0x3cbc('0x7')},{'pluginName':_0x3cbc('0x2'),'commandName':_0x3cbc('0xb')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x3cbc('0x1c')}];export default class W extends _0x286b2b{[_0x3cbc('0x26')](){const _0x563d9f=this[_0x3cbc('0x12')][_0x3cbc('0x9')];for(const {pluginName:_0x450b5e,commandName:_0x2417ab}of eo)this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x1e')](_0x450b5e)&&this['_enableCommand'](_0x2417ab);this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))['_descriptionFactory'][_0x3cbc('0x18')](_0x4137f0=>{const _0x5d83bd=_0x563d9f['t'],{data:_0x240d69}=_0x4137f0;if(null!=_0x240d69){if('fontSize'==_0x240d69['commandName']){const _0x40d048=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x40d048){const _0x14a5ae=_0x5d83bd(this[_0x3cbc('0x12')][_0x3cbc('0x23')]['get']('FontSize')[_0x3cbc('0x1')](this[_0x3cbc('0x12')][_0x3cbc('0x19')][_0x3cbc('0x0')](_0x3cbc('0x5')))['find'](_0x580039=>_0x580039[_0x3cbc('0x11')]==_0x40d048)[_0x3cbc('0xc')])[_0x3cbc('0x20')]();return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x15'),_0x14a5ae)};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x10'))};}if('fontFamily'==_0x240d69[_0x3cbc('0x3')]){const _0x1574b8=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];return _0x1574b8?{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x8'),_0x1574b8)}:{'type':'format','content':_0x4574e4(_0x563d9f,'*Reset\x20font\x20family*')};}if('fontColor'==_0x240d69[_0x3cbc('0x3')]){const _0x3bb9ff=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];if(_0x3bb9ff){const _0x33f99e=_0xf0e98a(this[_0x3cbc('0x12')]['config'][_0x3cbc('0x0')](_0x3cbc('0x29')))[_0x3cbc('0xd')](_0x2211ae=>_0x2211ae['model']==_0x3bb9ff);let _0x322ea1=_0x3bb9ff,_0xc74985='';return _0x33f99e&&(_0x322ea1=_0x33f99e[_0x3cbc('0x27')],_0xc74985=_0x5d83bd(_0x322ea1)[_0x3cbc('0x20')]()),{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,'*Set\x20font\x20color:*\x20%0',_0xc74985)['trim'](),'color':{'value':_0x3bb9ff,'title':_0xc74985||_0x322ea1}};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0xe'))};}if('fontBackgroundColor'==_0x240d69[_0x3cbc('0x3')]){const _0x5ebada=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x5ebada){const _0x504841=_0xf0e98a(this['editor'][_0x3cbc('0x19')][_0x3cbc('0x0')]('fontBackgroundColor.colors'))[_0x3cbc('0xd')](_0x25ac6c=>_0x25ac6c[_0x3cbc('0x11')]==_0x5ebada);let _0x3cd3d6=_0x5ebada,_0x1f2899='';return _0x504841&&(_0x3cd3d6=_0x504841[_0x3cbc('0x27')],_0x1f2899=_0x5d83bd(_0x3cd3d6)[_0x3cbc('0x20')]()),{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x14'),_0x1f2899)[_0x3cbc('0x1b')](),'color':{'value':_0x5ebada,'title':_0x1f2899||_0x3cd3d6}};}return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x25'))};}}});}[_0x3cbc('0x16')](_0x292f5e){const _0x4b82c7=this[_0x3cbc('0x12')];_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))[_0x3cbc('0x1a')](_0x292f5e,(_0x2d8488,_0xfbad5e={})=>{const _0x5a5789=_0x4b82c7[_0x3cbc('0x11')][_0x3cbc('0x1d')]['selection'],_0x1e86d3=_0xfbad5e[_0x3cbc('0x2a')];_0x5a5789[_0x3cbc('0x28')]?_0x2d8488(_0xfbad5e):_0x4b82c7['model'][_0x3cbc('0x24')](()=>{const _0x2159bb=Array[_0x3cbc('0xf')](_0x5a5789[_0x3cbc('0x6')]());for(const _0x2d5a49 of _0x2159bb){const _0x3e3ef2=_0x1e86d3?[_0x2d5a49]:_0x4fc8ae(_0x292f5e,_0x2d5a49,_0x4b82c7[_0x3cbc('0x11')]);for(const _0x31cd79 of _0x3e3ef2)_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')]('TrackChangesEditing')[_0x3cbc('0x13')](_0x31cd79,{'commandName':_0x292f5e,'commandParams':[{'value':_0x1e86d3}]});}});});}}
23
+ const _0x3bf7=['commandParams','type','fontBackgroundColor','fontSize','afterInit','*Set\x20font\x20background\x20color:*\x20%0','format','*Reset\x20font\x20background\x20color*','fontSize.options','FORMAT_FONT_COLOR','registerDescriptionCallback','_registerLegacyDescription','trim','fontColor.colors','formatInline','locale','commandName','*Set\x20font\x20size:*\x20%0','FORMAT_FONT_SIZE','FORMAT_FONT_FAMILY','FORMAT_FONT_BACKGROUND','_descriptionFactory','normalizeSizeOptions','toLowerCase','FontColorEditing','has','model','editor','label','plugins','FontBackgroundColorEditing','TrackChangesEditing','*Set\x20font\x20color:*\x20%0','FontFamilyEditing','FontSize','get','title','*Reset\x20font\x20size*','fontFamily','fontColor','value','find','*Reset\x20font\x20family*','config','_enableDefaultAttributesIntegration','registerAttributeLabel'];(function(_0x23b430,_0x3bf701){const _0x2b4c73=function(_0x3904a8){while(--_0x3904a8){_0x23b430['push'](_0x23b430['shift']());}};_0x2b4c73(++_0x3bf701);}(_0x3bf7,0xfa));const _0x2b4c=function(_0x23b430,_0x3bf701){_0x23b430=_0x23b430-0x0;let _0x2b4c73=_0x3bf7[_0x23b430];return _0x2b4c73;};import{Plugin as _0x3d8eb7}from'ckeditor5/src/core';import{normalizeColorOptions as _0x301b5b}from'ckeditor5/src/ui';import{getTranslation as _0xbdc967}from'../utils/common-translations';const io=[{'pluginName':'FontSizeEditing','commandName':_0x2b4c('0x1d')},{'pluginName':_0x2b4c('0xd'),'commandName':'fontFamily'},{'pluginName':_0x2b4c('0x4'),'commandName':_0x2b4c('0x13')},{'pluginName':_0x2b4c('0xa'),'commandName':_0x2b4c('0x1c')}];export default class J extends _0x3d8eb7{[_0x2b4c('0x1e')](){const _0x1377e6=this[_0x2b4c('0x7')][_0x2b4c('0x29')],_0x2d4705=this[_0x2b4c('0x7')][_0x2b4c('0x9')][_0x2b4c('0xf')](_0x2b4c('0xb'));for(const {pluginName:_0x5e94d7,commandName:_0x4ea710}of io)this[_0x2b4c('0x7')]['plugins'][_0x2b4c('0x5')](_0x5e94d7)&&_0x2d4705[_0x2b4c('0x18')](_0x4ea710,[_0x4ea710]);_0x1377e6['t'],(_0x2d4705[_0x2b4c('0x1')][_0x2b4c('0x19')](_0x2b4c('0x1d'),_0xbdc967(_0x1377e6,_0x2b4c('0x2c'))),_0x2d4705[_0x2b4c('0x1')]['registerAttributeLabel']('fontFamily',_0xbdc967(_0x1377e6,_0x2b4c('0x2d'))),_0x2d4705[_0x2b4c('0x1')][_0x2b4c('0x19')](_0x2b4c('0x13'),_0xbdc967(_0x1377e6,_0x2b4c('0x23'))),_0x2d4705['_descriptionFactory'][_0x2b4c('0x19')](_0x2b4c('0x1c'),_0xbdc967(_0x1377e6,_0x2b4c('0x0'))),this[_0x2b4c('0x25')]());}[_0x2b4c('0x25')](){const _0x13e05f=this[_0x2b4c('0x7')],_0x20ade6=_0x13e05f['locale'];_0x13e05f['plugins'][_0x2b4c('0xf')](_0x2b4c('0xb'))[_0x2b4c('0x1')][_0x2b4c('0x24')](_0x5647a7=>{const _0x2c4337=_0x20ade6['t'];if(_0x2b4c('0x28')!=_0x5647a7[_0x2b4c('0x1b')])return;const {data:_0x4daf59}=_0x5647a7;if(null!=_0x4daf59){if('fontSize'==_0x4daf59['commandName']){const _0x5d4c8d=_0x4daf59[_0x2b4c('0x1a')][0x0][_0x2b4c('0x14')];if(_0x5d4c8d){const _0x11210a=_0x2c4337(this['editor']['plugins'][_0x2b4c('0xf')](_0x2b4c('0xe'))[_0x2b4c('0x2')](this[_0x2b4c('0x7')]['config'][_0x2b4c('0xf')](_0x2b4c('0x22')))[_0x2b4c('0x15')](_0xa0cddb=>_0xa0cddb[_0x2b4c('0x6')]==_0x5d4c8d)[_0x2b4c('0x10')])['toLowerCase']();return{'type':_0x2b4c('0x20'),'content':_0xbdc967(_0x20ade6,_0x2b4c('0x2b'),_0x11210a)};}return{'type':_0x2b4c('0x20'),'content':_0xbdc967(_0x20ade6,_0x2b4c('0x11'))};}if(_0x2b4c('0x12')==_0x4daf59[_0x2b4c('0x2a')]){const _0x5d75af=_0x4daf59[_0x2b4c('0x1a')][0x0][_0x2b4c('0x14')];return _0x5d75af?{'type':_0x2b4c('0x20'),'content':_0xbdc967(_0x20ade6,'*Set\x20font\x20family:*\x20%0',_0x5d75af)}:{'type':'format','content':_0xbdc967(_0x20ade6,_0x2b4c('0x16'))};}if(_0x2b4c('0x13')==_0x4daf59[_0x2b4c('0x2a')]){const _0x12bfe7=_0x4daf59['commandParams'][0x0][_0x2b4c('0x14')];if(_0x12bfe7){const _0x2f59f5=_0x301b5b(this[_0x2b4c('0x7')][_0x2b4c('0x17')][_0x2b4c('0xf')](_0x2b4c('0x27')))['find'](_0x599cca=>_0x599cca[_0x2b4c('0x6')]==_0x12bfe7);let _0x126aa8=_0x12bfe7,_0x4307c1='';return _0x2f59f5&&(_0x126aa8=_0x2f59f5['label'],_0x4307c1=_0x2c4337(_0x126aa8)[_0x2b4c('0x3')]()),{'type':_0x2b4c('0x20'),'content':_0xbdc967(_0x20ade6,_0x2b4c('0xc'),_0x4307c1)[_0x2b4c('0x26')](),'color':{'value':_0x12bfe7,'title':_0x4307c1||_0x126aa8}};}return{'type':_0x2b4c('0x20'),'content':_0xbdc967(_0x20ade6,'*Reset\x20font\x20color*')};}if(_0x2b4c('0x1c')==_0x4daf59[_0x2b4c('0x2a')]){const _0x3f4ead=_0x4daf59[_0x2b4c('0x1a')][0x0][_0x2b4c('0x14')];if(_0x3f4ead){const _0x1f2c04=_0x301b5b(this['editor'][_0x2b4c('0x17')][_0x2b4c('0xf')]('fontBackgroundColor.colors'))['find'](_0x141863=>_0x141863[_0x2b4c('0x6')]==_0x3f4ead);let _0x200be9=_0x3f4ead,_0x19532a='';return _0x1f2c04&&(_0x200be9=_0x1f2c04[_0x2b4c('0x8')],_0x19532a=_0x2c4337(_0x200be9)[_0x2b4c('0x3')]()),{'type':_0x2b4c('0x20'),'content':_0xbdc967(_0x20ade6,_0x2b4c('0x1f'),_0x19532a)[_0x2b4c('0x26')](),'color':{'value':_0x3f4ead,'title':_0x19532a||_0x200be9}};}return{'type':_0x2b4c('0x20'),'content':_0xbdc967(_0x20ade6,_0x2b4c('0x21'))};}}});}}
@@ -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/formatpainter
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the Format Painter feature.
11
- */
12
- export default class TrackChangesFormatPainter 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/formatpainter
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the Format Painter feature.
11
+ */
12
+ export default class TrackChangesFormatPainter extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x63d3=['normalizeSizeOptions','isCollapsed','markInlineFormat','pasteFormat','*Set\x20format\x20to:*\x20%0','length','change','fontColor','config','word','title','modifySelection','getFirstPosition','getRanges','toLowerCase','commandName','format','createSelection','isBlock','getAttributes','afterInit','slice','getSelectedBlocks','plugins','boolean','commands','selection','_descriptionFactory','locale','push','isFormatting','fontSize','charAt','get','entries','fontSize.options','registerDescriptionCallback','find','model','createRange','join','getLastPosition','*Remove\x20all\x20formatting*','keys','copyFormat','toUpperCase','from','TrackChangesEditing','label','split','fontColor.colors','enableCommand'];(function(_0x5b23ad,_0x63d3b3){const _0x386be8=function(_0x194c8b){while(--_0x194c8b){_0x5b23ad['push'](_0x5b23ad['shift']());}};_0x386be8(++_0x63d3b3);}(_0x63d3,0x1e3));const _0x386b=function(_0x5b23ad,_0x63d3b3){_0x5b23ad=_0x5b23ad-0x0;let _0x386be8=_0x63d3[_0x5b23ad];return _0x386be8;};import{Plugin as _0x422c3c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x448008}from'ckeditor5/src/ui';import{first as _0x4ce873}from'ckeditor5/src/utils';import{getTranslation as _0x42c77a}from'../utils/common-translations';export default class J extends _0x422c3c{[_0x386b('0x5')](){const _0x4d9289=this['editor'],_0x428246=_0x4d9289[_0x386b('0x17')],_0x4826eb=_0x428246['document'][_0x386b('0xb')],_0x422423=_0x4d9289[_0x386b('0x8')][_0x386b('0x12')](_0x386b('0x20')),_0x3e7a6d=_0x4d9289[_0x386b('0xd')],_0x119061=_0x4d9289[_0x386b('0xa')]['get'](_0x386b('0x1d')),_0x4bd2b9=_0x4d9289[_0x386b('0xa')][_0x386b('0x12')](_0x386b('0x28'));_0x119061&&_0x4bd2b9&&(_0x422423[_0x386b('0x24')](_0x386b('0x28'),(_0x29781d,_0xbc3032={})=>{const _0xce85de=_0xbc3032;_0x428246[_0x386b('0x2b')](()=>{const _0x2a2280=Array[_0x386b('0x1f')](_0x4826eb[_0x386b('0x32')]()),_0x480f72=_0x4826eb[_0x386b('0x26')]?[io(_0x428246,_0x4826eb)]:_0x2a2280,_0x2ff460=!!_0x4ce873(function*(_0x5ca914,_0xb0c07){const _0x512c0d=_0x1fb2e5=>!!_0x4ce873(function*(_0x1652ea,_0x9cb244){for(const [_0x2ac32f]of _0x1652ea[_0x386b('0x4')]()){const _0x2f391e=_0x9cb244['getAttributeProperties'](_0x2ac32f);_0x2f391e&&_0x2f391e[_0x386b('0xf')]&&(yield _0x2ac32f);}}(_0x1fb2e5,_0xb0c07));for(const _0x147830 of _0x5ca914[_0x386b('0x32')]())for(const _0x55ea19 of _0x147830['getItems']())!_0xb0c07[_0x386b('0x3')](_0x55ea19)&&_0x512c0d(_0x55ea19)&&(yield _0x55ea19);for(const _0x5b085a of _0x5ca914[_0x386b('0x7')]())_0x512c0d(_0x5b085a)&&(yield _0x5b085a);_0x512c0d(_0x5ca914)&&(yield _0x5ca914);}(_0x4826eb,_0x428246['schema']));if(_0x2ff460||0x0!==Object[_0x386b('0x1c')](_0xce85de)[_0x386b('0x2a')])for(const _0x247d65 of _0x480f72)_0x422423[_0x386b('0x27')](_0x247d65,{'commandName':'pasteFormat','commandParams':[_0xce85de]});});}),_0x422423[_0x386b('0xc')][_0x386b('0x15')](_0x2bd2f5=>{const {data:_0x2601b2}=_0x2bd2f5;if(_0x2601b2&&_0x386b('0x28')===_0x2601b2[_0x386b('0x0')]){const _0x5575c2=[],_0x1f47dc=_0x2601b2['commandParams'][0x0];for(const [_0x332e21,_0x37d4e0]of Object[_0x386b('0x13')](_0x1f47dc))_0x5575c2[_0x386b('0xe')](so(_0x4d9289,_0x332e21,_0x37d4e0));return _0x5575c2['length']?{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x29'),_0x5575c2[_0x386b('0x19')](',\x20'))}:{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x1b'))};}}),_0x4d9289[_0x386b('0x8')]['get'](_0x386b('0x20'))['enableCommand'](_0x386b('0x1d')));}}function io(_0x2418bb,_0xe0a68e){const _0x5d75b2=_0x2418bb[_0x386b('0x2')](_0xe0a68e);_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'backward'});const _0x48fac2=_0x5d75b2[_0x386b('0x31')]();_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'forward'});const _0x3d0569=_0x5d75b2[_0x386b('0x1a')]();return _0x2418bb[_0x386b('0x18')](_0x48fac2,_0x3d0569);}function so(_0x47ee9a,_0x2b8c01,_0x18d05d){const _0x2635e4=_0x47ee9a[_0x386b('0xd')]['t'],_0x2552e7=_0x2b8c01[_0x386b('0x22')](/(?=[A-Z])/)[_0x386b('0x19')]('\x20'),_0x15cf10=_0x2635e4(_0x2552e7[_0x386b('0x11')](0x0)[_0x386b('0x1e')]()+_0x2552e7[_0x386b('0x6')](0x1))[_0x386b('0x33')]();if(_0x386b('0x9')==typeof _0x18d05d)return _0x15cf10;if(_0x386b('0x2c')===_0x2b8c01||'fontBackgroundColor'===_0x2b8c01){const _0x232d7d=_0x448008(_0x47ee9a[_0x386b('0x2d')]['get'](_0x386b('0x23')))['find'](_0x938063=>_0x938063[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x232d7d?_0x2635e4(_0x232d7d[_0x386b('0x21')])[_0x386b('0x33')]():_0x18d05d)+')';}if(_0x386b('0x10')===_0x2b8c01&&isNaN(parseFloat(_0x18d05d))){const _0x23bda0=_0x47ee9a[_0x386b('0x8')]['get']('FontSize')[_0x386b('0x25')](_0x47ee9a['config'][_0x386b('0x12')](_0x386b('0x14')))[_0x386b('0x16')](_0xda897b=>_0xda897b[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x23bda0?_0x2635e4(_0x23bda0[_0x386b('0x2f')])[_0x386b('0x33')]():_0x18d05d)+')';}return _0x15cf10+'\x20('+_0x18d05d+')';}
23
+ const _0x2ff9=['registerDescriptionCallback','join','model','length','_enableDefaultAttributesIntegration','fontColor.colors','format','enableCommand','fontBackgroundColor','type','title','pasteFormat','afterInit','locale','TrackChangesEditing','toLowerCase','config','copyFormat','get','label','normalizeSizeOptions','_registerLegacyDescription','entries','find','formatBlock','boolean','toUpperCase','charAt','*Remove\x20all\x20formatting*','push','commands','FontSize','plugins','editor','commandParams','fontColor','formatInline'];(function(_0x130ab9,_0x2ff9d7){const _0x53795b=function(_0x5b66d0){while(--_0x5b66d0){_0x130ab9['push'](_0x130ab9['shift']());}};_0x53795b(++_0x2ff9d7);}(_0x2ff9,0xb4));const _0x5379=function(_0x130ab9,_0x2ff9d7){_0x130ab9=_0x130ab9-0x0;let _0x53795b=_0x2ff9[_0x130ab9];return _0x53795b;};import{Plugin as _0x1d6f47}from'ckeditor5/src/core';import{normalizeColorOptions as _0x647245}from'ckeditor5/src/ui';import{getTranslation as _0x4ec3b4}from'../utils/common-translations';export default class Q extends _0x1d6f47{[_0x5379('0x11')](){const _0x970c30=this[_0x5379('0x1')],_0x5ab768=_0x970c30[_0x5379('0x0')][_0x5379('0x17')](_0x5379('0x13')),_0x22e779=_0x970c30['commands']['get'](_0x5379('0x16')),_0x5cf379=_0x970c30[_0x5379('0x23')][_0x5379('0x17')](_0x5379('0x10'));_0x22e779&&_0x5cf379&&(_0x5ab768[_0x5379('0x9')](_0x5379('0x10')),_0x5ab768[_0x5379('0xc')](_0x5379('0x16')),this[_0x5379('0x1a')]());}[_0x5379('0x1a')](){const _0x117d8b=this[_0x5379('0x1')],_0x5dda11=_0x117d8b[_0x5379('0x12')];_0x117d8b['plugins'][_0x5379('0x17')](_0x5379('0x13'))['_descriptionFactory'][_0x5379('0x5')](_0x1c6cd2=>{if(_0x5379('0x1d')!=_0x1c6cd2[_0x5379('0xe')]&&_0x5379('0x4')!=_0x1c6cd2['type'])return;const {data:_0x277224}=_0x1c6cd2;if(_0x277224&&_0x5379('0x10')===_0x277224['commandName']){const _0x5cbb93=[],_0x512576=_0x277224[_0x5379('0x2')][0x0];for(const [_0x5860d9,_0x4d5fb3]of Object[_0x5379('0x1b')](_0x512576))_0x5cbb93[_0x5379('0x22')](ao(_0x117d8b,_0x5860d9,_0x4d5fb3));return _0x5cbb93[_0x5379('0x8')]?{'type':_0x5379('0xb'),'content':_0x4ec3b4(_0x5dda11,'*Set\x20format\x20to:*\x20%0',_0x5cbb93[_0x5379('0x6')](',\x20'))}:{'type':'format','content':_0x4ec3b4(_0x5dda11,_0x5379('0x21'))};}});}}function ao(_0x383bbd,_0x28bf0b,_0x380472){const _0x237386=_0x383bbd[_0x5379('0x12')]['t'],_0x5a1e90=_0x28bf0b['split'](/(?=[A-Z])/)[_0x5379('0x6')]('\x20'),_0x48ab3f=_0x237386(_0x5a1e90[_0x5379('0x20')](0x0)[_0x5379('0x1f')]()+_0x5a1e90['slice'](0x1))[_0x5379('0x14')]();if(_0x5379('0x1e')==typeof _0x380472)return _0x48ab3f;if(_0x5379('0x3')===_0x28bf0b||_0x5379('0xd')===_0x28bf0b){const _0x43c762=_0x647245(_0x383bbd[_0x5379('0x15')][_0x5379('0x17')](_0x5379('0xa')))[_0x5379('0x1c')](_0x3e9979=>_0x3e9979[_0x5379('0x7')]==_0x380472);return _0x48ab3f+'\x20('+(_0x43c762?_0x237386(_0x43c762[_0x5379('0x18')])[_0x5379('0x14')]():_0x380472)+')';}if('fontSize'===_0x28bf0b&&isNaN(parseFloat(_0x380472))){const _0x36477e=_0x383bbd[_0x5379('0x0')][_0x5379('0x17')](_0x5379('0x24'))[_0x5379('0x19')](_0x383bbd[_0x5379('0x15')]['get']('fontSize.options'))[_0x5379('0x1c')](_0x31603a=>_0x31603a[_0x5379('0x7')]==_0x380472);return _0x48ab3f+'\x20('+(_0x36477e?_0x237386(_0x36477e[_0x5379('0xf')])['toLowerCase']():_0x380472)+')';}return _0x48ab3f+'\x20('+_0x380472+')';}
@@ -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/heading
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for heading feature.
11
- */
12
- export default class TrackChangesHeading 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/heading
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for heading feature.
11
+ */
12
+ export default class TrackChangesHeading extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }