@ckeditor/ckeditor5-track-changes 40.0.0 → 40.2.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 (232) hide show
  1. package/CHANGELOG.md +15 -15
  2. package/LICENSE.md +3 -3
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  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/contexts.json +20 -1
  53. package/lang/translations/ar.po +78 -2
  54. package/lang/translations/az.po +77 -1
  55. package/lang/translations/bg.po +78 -2
  56. package/lang/translations/bn.po +78 -2
  57. package/lang/translations/ca.po +78 -2
  58. package/lang/translations/cs.po +78 -2
  59. package/lang/translations/da.po +78 -2
  60. package/lang/translations/de.po +78 -2
  61. package/lang/translations/el.po +78 -2
  62. package/lang/translations/en-au.po +78 -2
  63. package/lang/translations/en.po +78 -2
  64. package/lang/translations/es.po +78 -2
  65. package/lang/translations/et.po +78 -2
  66. package/lang/translations/fi.po +78 -2
  67. package/lang/translations/fr.po +78 -2
  68. package/lang/translations/gl.po +90 -14
  69. package/lang/translations/he.po +78 -2
  70. package/lang/translations/hi.po +78 -2
  71. package/lang/translations/hr.po +78 -2
  72. package/lang/translations/hu.po +78 -2
  73. package/lang/translations/id.po +78 -2
  74. package/lang/translations/it.po +78 -2
  75. package/lang/translations/ja.po +78 -2
  76. package/lang/translations/ko.po +78 -2
  77. package/lang/translations/lt.po +78 -2
  78. package/lang/translations/lv.po +78 -2
  79. package/lang/translations/ms.po +78 -2
  80. package/lang/translations/nl.po +78 -2
  81. package/lang/translations/no.po +78 -2
  82. package/lang/translations/pl.po +78 -2
  83. package/lang/translations/pt-br.po +96 -20
  84. package/lang/translations/pt.po +78 -2
  85. package/lang/translations/ro.po +78 -2
  86. package/lang/translations/ru.po +78 -2
  87. package/lang/translations/sk.po +78 -2
  88. package/lang/translations/sq.po +77 -1
  89. package/lang/translations/sr-latn.po +78 -2
  90. package/lang/translations/sr.po +78 -2
  91. package/lang/translations/sv.po +78 -2
  92. package/lang/translations/th.po +78 -2
  93. package/lang/translations/tk.po +77 -1
  94. package/lang/translations/tr.po +78 -2
  95. package/lang/translations/tt.po +77 -1
  96. package/lang/translations/uk.po +78 -2
  97. package/lang/translations/ur.po +77 -1
  98. package/lang/translations/vi.po +78 -2
  99. package/lang/translations/zh-cn.po +78 -2
  100. package/lang/translations/zh.po +78 -2
  101. package/package.json +3 -3
  102. package/src/augmentation.d.ts +40 -40
  103. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  104. package/src/commands/acceptsuggestioncommand.js +1 -1
  105. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  106. package/src/commands/discardsuggestioncommand.js +1 -1
  107. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  108. package/src/commands/executeonallsuggestionscommand.js +1 -1
  109. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  110. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  111. package/src/commands/trackchangescommand.d.ts +26 -26
  112. package/src/commands/trackchangescommand.js +1 -1
  113. package/src/index.d.ts +16 -16
  114. package/src/integrations/aiassistant.d.ts +17 -17
  115. package/src/integrations/aiassistant.js +1 -1
  116. package/src/integrations/alignment.d.ts +17 -17
  117. package/src/integrations/alignment.js +1 -1
  118. package/src/integrations/basicstyles.d.ts +17 -17
  119. package/src/integrations/basicstyles.js +1 -1
  120. package/src/integrations/blockquote.d.ts +17 -17
  121. package/src/integrations/blockquote.js +1 -1
  122. package/src/integrations/ckbox.d.ts +17 -17
  123. package/src/integrations/ckbox.js +1 -1
  124. package/src/integrations/codeblock.d.ts +17 -17
  125. package/src/integrations/codeblock.js +1 -1
  126. package/src/integrations/comments.d.ts +14 -14
  127. package/src/integrations/comments.js +1 -1
  128. package/src/integrations/deletecommand.d.ts +17 -17
  129. package/src/integrations/deletecommand.js +1 -1
  130. package/src/integrations/documentlist.d.ts +17 -17
  131. package/src/integrations/documentlist.js +1 -1
  132. package/src/integrations/documentlistproperties.d.ts +29 -29
  133. package/src/integrations/documentlistproperties.js +1 -1
  134. package/src/integrations/entercommand.d.ts +16 -16
  135. package/src/integrations/entercommand.js +1 -1
  136. package/src/integrations/findandreplace.d.ts +21 -21
  137. package/src/integrations/findandreplace.js +1 -1
  138. package/src/integrations/font.d.ts +17 -17
  139. package/src/integrations/font.js +1 -1
  140. package/src/integrations/formatpainter.d.ts +17 -17
  141. package/src/integrations/formatpainter.js +1 -1
  142. package/src/integrations/heading.d.ts +17 -17
  143. package/src/integrations/heading.js +1 -1
  144. package/src/integrations/highlight.d.ts +17 -17
  145. package/src/integrations/highlight.js +1 -1
  146. package/src/integrations/horizontalline.d.ts +17 -17
  147. package/src/integrations/horizontalline.js +1 -1
  148. package/src/integrations/htmlembed.d.ts +17 -17
  149. package/src/integrations/htmlembed.js +1 -1
  150. package/src/integrations/image.d.ts +17 -17
  151. package/src/integrations/image.js +1 -1
  152. package/src/integrations/imagereplace.d.ts +17 -23
  153. package/src/integrations/imagereplace.js +1 -1
  154. package/src/integrations/imagestyle.d.ts +17 -0
  155. package/src/integrations/imagestyle.js +23 -0
  156. package/src/integrations/importword.d.ts +18 -18
  157. package/src/integrations/importword.js +1 -1
  158. package/src/integrations/indent.d.ts +17 -17
  159. package/src/integrations/indent.js +1 -1
  160. package/src/integrations/inputcommand.d.ts +16 -16
  161. package/src/integrations/inputcommand.js +1 -1
  162. package/src/integrations/link.d.ts +17 -17
  163. package/src/integrations/link.js +1 -1
  164. package/src/integrations/list.d.ts +17 -17
  165. package/src/integrations/list.js +1 -1
  166. package/src/integrations/listproperties.d.ts +29 -29
  167. package/src/integrations/listproperties.js +1 -1
  168. package/src/integrations/mediaembed.d.ts +17 -17
  169. package/src/integrations/mediaembed.js +1 -1
  170. package/src/integrations/mention.d.ts +17 -17
  171. package/src/integrations/mention.js +1 -1
  172. package/src/integrations/pagebreak.d.ts +17 -17
  173. package/src/integrations/pagebreak.js +1 -1
  174. package/src/integrations/paragraph.d.ts +17 -17
  175. package/src/integrations/paragraph.js +1 -1
  176. package/src/integrations/removeformat.d.ts +17 -17
  177. package/src/integrations/removeformat.js +1 -1
  178. package/src/integrations/restrictededitingmode.d.ts +17 -17
  179. package/src/integrations/restrictededitingmode.js +1 -1
  180. package/src/integrations/shiftentercommand.d.ts +16 -16
  181. package/src/integrations/shiftentercommand.js +1 -1
  182. package/src/integrations/standardeditingmode.d.ts +17 -17
  183. package/src/integrations/standardeditingmode.js +1 -1
  184. package/src/integrations/style.d.ts +17 -18
  185. package/src/integrations/style.js +1 -1
  186. package/src/integrations/table.d.ts +42 -42
  187. package/src/integrations/table.js +1 -1
  188. package/src/integrations/tablecaption.d.ts +22 -22
  189. package/src/integrations/tablecaption.js +1 -1
  190. package/src/integrations/tableclipboard.d.ts +19 -19
  191. package/src/integrations/tableclipboard.js +1 -1
  192. package/src/integrations/tablecolumnresize.d.ts +26 -26
  193. package/src/integrations/tablecolumnresize.js +1 -1
  194. package/src/integrations/tableheadings.d.ts +22 -22
  195. package/src/integrations/tableheadings.js +1 -1
  196. package/src/integrations/tablemergesplit.d.ts +22 -22
  197. package/src/integrations/tablemergesplit.js +1 -1
  198. package/src/integrations/tableofcontents.d.ts +17 -17
  199. package/src/integrations/tableofcontents.js +1 -1
  200. package/src/integrations/tableproperties.d.ts +27 -27
  201. package/src/integrations/tableproperties.js +1 -1
  202. package/src/integrations/template.d.ts +17 -17
  203. package/src/integrations/template.js +1 -1
  204. package/src/integrations/title.d.ts +17 -17
  205. package/src/integrations/title.js +1 -1
  206. package/src/integrations/undo.d.ts +17 -17
  207. package/src/integrations/undo.js +1 -1
  208. package/src/integrations/utils.d.ts +21 -21
  209. package/src/integrations/utils.js +1 -1
  210. package/src/suggestion.d.ts +291 -276
  211. package/src/suggestion.js +1 -1
  212. package/src/suggestiondescriptionfactory.d.ts +183 -163
  213. package/src/suggestiondescriptionfactory.js +1 -1
  214. package/src/trackchanges.d.ts +180 -244
  215. package/src/trackchanges.js +1 -1
  216. package/src/trackchangesconfig.d.ts +78 -75
  217. package/src/trackchangesdata.d.ts +41 -41
  218. package/src/trackchangesdata.js +1 -1
  219. package/src/trackchangesediting.d.ts +524 -468
  220. package/src/trackchangesediting.js +1 -1
  221. package/src/trackchangesui.d.ts +38 -38
  222. package/src/trackchangesui.js +1 -1
  223. package/src/ui/suggestioncontroller.d.ts +37 -37
  224. package/src/ui/suggestioncontroller.js +1 -1
  225. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  226. package/src/ui/view/basesuggestionthreadview.js +1 -1
  227. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  228. package/src/ui/view/suggestionthreadview.js +1 -1
  229. package/src/utils/common-translations.d.ts +9 -9
  230. package/src/utils/common-translations.js +1 -1
  231. package/src/utils/utils.d.ts +30 -30
  232. 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/mediaembed
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
11
- */
12
- export default class TrackChangesMediaEmbed 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/mediaembed
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
11
+ */
12
+ export default class TrackChangesMediaEmbed extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16ab=['enableCommand','media','showSuggestionHighlights','MediaEmbedEditing','options','high','data','plugins','afterInit','stop','attribute:url:media','get','ELEMENT_MEDIA','dataDowncast','conversion','registerElementLabel'];(function(_0x55fcc5,_0x16ab18){const _0x218212=function(_0x128c18){while(--_0x128c18){_0x55fcc5['push'](_0x55fcc5['shift']());}};_0x218212(++_0x16ab18);}(_0x16ab,0x1cd));const _0x2182=function(_0x55fcc5,_0x16ab18){_0x55fcc5=_0x55fcc5-0x0;let _0x218212=_0x16ab[_0x55fcc5];return _0x218212;};import{Plugin as _0x5702b7}from'ckeditor5/src/core';import{getTranslation as _0x17ea61}from'../utils/common-translations';export default class rt extends _0x5702b7{[_0x2182('0xb')](){const _0x272b5b=this['editor'];if(!_0x272b5b[_0x2182('0xa')]['has'](_0x2182('0x6')))return;const _0x171fcc=_0x272b5b['plugins'][_0x2182('0xe')]('TrackChangesEditing'),_0x13829c=_0x272b5b['locale'];_0x171fcc[_0x2182('0x3')]('mediaEmbed'),_0x171fcc['_descriptionFactory'][_0x2182('0x2')](_0x2182('0x4'),_0x158a52=>_0x17ea61(_0x13829c,_0x2182('0xf'),_0x158a52)),_0x272b5b[_0x2182('0x1')]['for'](_0x2182('0x0'))['elementToElement']({'model':_0x2182('0x4'),'view':(_0x38dc12,{writer:_0x31158e,options:_0x31c587})=>{if(_0x31c587[_0x2182('0x5')])return _0x31158e['createEmptyElement']('div');},'converterPriority':'high'}),_0x272b5b[_0x2182('0x9')]['downcastDispatcher']['on'](_0x2182('0xd'),(_0x191f52,_0x3ec261,_0x28ea3b)=>{_0x28ea3b[_0x2182('0x7')][_0x2182('0x5')]&&_0x191f52[_0x2182('0xc')]();},{'priority':_0x2182('0x8')});}}
23
+ const _0x2e1d=['has','dataDowncast','high','for','elementToElement','_descriptionFactory','afterInit','MediaEmbedEditing','data','registerElementLabel','TrackChangesEditing','media','stop','options','get','locale','plugins','editor','attribute:url:media'];(function(_0x9fbe16,_0x2e1d83){const _0x212bc3=function(_0xa53d05){while(--_0xa53d05){_0x9fbe16['push'](_0x9fbe16['shift']());}};_0x212bc3(++_0x2e1d83);}(_0x2e1d,0x8d));const _0x212b=function(_0x9fbe16,_0x2e1d83){_0x9fbe16=_0x9fbe16-0x0;let _0x212bc3=_0x2e1d[_0x9fbe16];return _0x212bc3;};import{Plugin as _0x96e86d}from'ckeditor5/src/core';import{getTranslation as _0x5ce607}from'../utils/common-translations';export default class ht extends _0x96e86d{[_0x212b('0x11')](){const _0x2a90b7=this[_0x212b('0x9')];if(!_0x2a90b7[_0x212b('0x8')][_0x212b('0xb')](_0x212b('0x12')))return;const _0x1172e1=_0x2a90b7[_0x212b('0x8')][_0x212b('0x6')](_0x212b('0x2')),_0x472510=_0x2a90b7[_0x212b('0x7')];_0x1172e1['enableCommand']('mediaEmbed'),_0x1172e1[_0x212b('0x10')][_0x212b('0x1')](_0x212b('0x3'),_0x8d39fc=>_0x5ce607(_0x472510,'ELEMENT_MEDIA',_0x8d39fc)),_0x2a90b7['conversion'][_0x212b('0xe')](_0x212b('0xc'))[_0x212b('0xf')]({'model':'media','view':(_0x1f269f,{writer:_0x178e5a,options:_0x29cd76})=>{if(_0x29cd76['showSuggestionHighlights'])return _0x178e5a['createEmptyElement']('div');},'converterPriority':_0x212b('0xd')}),_0x2a90b7[_0x212b('0x0')]['downcastDispatcher']['on'](_0x212b('0xa'),(_0xd0a1b,_0x5905c1,_0x21cf03)=>{_0x21cf03[_0x212b('0x5')]['showSuggestionHighlights']&&_0xd0a1b[_0x212b('0x4')]();},{'priority':_0x212b('0xd')});}}
@@ -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/mention
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for mention feature.
11
- */
12
- export default class TrackChangesMention 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/mention
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for mention feature.
11
+ */
12
+ export default class TrackChangesMention extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2773=['has','mention','editor','get','TrackChangesEditing','MentionEditing','plugins'];(function(_0x26c123,_0x2773cf){const _0x522a5c=function(_0x34c510){while(--_0x34c510){_0x26c123['push'](_0x26c123['shift']());}};_0x522a5c(++_0x2773cf);}(_0x2773,0x106));const _0x522a=function(_0x26c123,_0x2773cf){_0x26c123=_0x26c123-0x0;let _0x522a5c=_0x2773[_0x26c123];return _0x522a5c;};import{Plugin as _0x4b4e02}from'ckeditor5/src/core';export default class at extends _0x4b4e02{['afterInit'](){const _0x195332=this[_0x522a('0x6')];_0x195332[_0x522a('0x3')][_0x522a('0x4')](_0x522a('0x2'))&&_0x195332['plugins'][_0x522a('0x0')](_0x522a('0x1'))['enableCommand'](_0x522a('0x5'));}}
23
+ const _0x38c1=['editor','plugins','TrackChangesEditing','MentionEditing','mention'];(function(_0x19bf99,_0x38c1e7){const _0x3f76af=function(_0x3a2704){while(--_0x3a2704){_0x19bf99['push'](_0x19bf99['shift']());}};_0x3f76af(++_0x38c1e7);}(_0x38c1,0xd0));const _0x3f76=function(_0x19bf99,_0x38c1e7){_0x19bf99=_0x19bf99-0x0;let _0x3f76af=_0x38c1[_0x19bf99];return _0x3f76af;};import{Plugin as _0x38adeb}from'ckeditor5/src/core';export default class ft extends _0x38adeb{['afterInit'](){const _0x185a77=this[_0x3f76('0x2')];_0x185a77[_0x3f76('0x3')]['has'](_0x3f76('0x0'))&&_0x185a77['plugins']['get'](_0x3f76('0x4'))['enableCommand'](_0x3f76('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/pagebreak
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
11
- */
12
- export default class TrackChangesPageBreak 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/pagebreak
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
11
+ */
12
+ export default class TrackChangesPageBreak extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a14=['enableCommand','editor','afterInit','get','locale','TrackChangesEditing','pageBreak','registerElementLabel','plugins'];(function(_0xafe4ff,_0x1a14ae){const _0xd34449=function(_0x23de4f){while(--_0x23de4f){_0xafe4ff['push'](_0xafe4ff['shift']());}};_0xd34449(++_0x1a14ae);}(_0x1a14,0x92));const _0xd344=function(_0xafe4ff,_0x1a14ae){_0xafe4ff=_0xafe4ff-0x0;let _0xd34449=_0x1a14[_0xafe4ff];return _0xd34449;};import{Plugin as _0x561149}from'ckeditor5/src/core';import{getTranslation as _0x32e5ca}from'../utils/common-translations';export default class ct extends _0x561149{[_0xd344('0x0')](){const _0x2a43af=this[_0xd344('0x8')];if(!_0x2a43af[_0xd344('0x6')]['has']('PageBreakEditing'))return;_0x2a43af[_0xd344('0x6')][_0xd344('0x1')](_0xd344('0x3'))[_0xd344('0x7')](_0xd344('0x4'));const _0x3469e3=_0x2a43af['plugins'][_0xd344('0x1')](_0xd344('0x3')),_0x436848=_0x2a43af[_0xd344('0x2')];_0x3469e3['_descriptionFactory'][_0xd344('0x5')](_0xd344('0x4'),_0x2493ff=>_0x32e5ca(_0x436848,'ELEMENT_PAGE_BREAK',_0x2493ff));}}
23
+ const _0x3366=['enableCommand','registerElementLabel','ELEMENT_PAGE_BREAK','get','_descriptionFactory','TrackChangesEditing','pageBreak','locale','editor','plugins','afterInit'];(function(_0x5f5ae8,_0x336662){const _0x22ef11=function(_0x47d986){while(--_0x47d986){_0x5f5ae8['push'](_0x5f5ae8['shift']());}};_0x22ef11(++_0x336662);}(_0x3366,0x1f4));const _0x22ef=function(_0x5f5ae8,_0x336662){_0x5f5ae8=_0x5f5ae8-0x0;let _0x22ef11=_0x3366[_0x5f5ae8];return _0x22ef11;};import{Plugin as _0x3c4072}from'ckeditor5/src/core';import{getTranslation as _0x1e0e2d}from'../utils/common-translations';export default class gt extends _0x3c4072{[_0x22ef('0x5')](){const _0x4c2546=this[_0x22ef('0x3')];if(!_0x4c2546[_0x22ef('0x4')]['has']('PageBreakEditing'))return;_0x4c2546[_0x22ef('0x4')][_0x22ef('0x9')]('TrackChangesEditing')[_0x22ef('0x6')](_0x22ef('0x1'));const _0x666803=_0x4c2546[_0x22ef('0x4')][_0x22ef('0x9')](_0x22ef('0x0')),_0x20e045=_0x4c2546[_0x22ef('0x2')];_0x666803[_0x22ef('0xa')][_0x22ef('0x7')](_0x22ef('0x1'),_0x8885f7=>_0x1e0e2d(_0x20e045,_0x22ef('0x8'),_0x8885f7));}}
@@ -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/paragraph
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for paragraph feature.
11
- */
12
- export default class TrackChangesParagraph 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/paragraph
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for paragraph feature.
11
+ */
12
+ export default class TrackChangesParagraph extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x184f=['ck-suggestion-marker--active','mapper','document','filter','plugins','from','locale','toViewPosition','get','has','writer','TrackChangesEditing','parent','markerRange','enableCommand','bindElementToMarker','getFirstRange','change','schema','commandName','markBlockFormat','nodeAfter','end','markerName','ELEMENT_PARAGRAPH','insertParagraph','Paragraph','*Insert:*\x20%0','editor','_descriptionFactory','isTouching','getItemLabel','includes','addMarker:suggestion:insertion','model','paragraph','data','downcastDispatcher','showSuggestionHighlights','addClass','format','isLimit','registerElementLabel','name','registerDescriptionCallback','editing','getSelectedBlocks','blockName','consumable','checkChild','highest'];(function(_0x39507a,_0x184f68){const _0x3808e2=function(_0x59d191){while(--_0x59d191){_0x39507a['push'](_0x39507a['shift']());}};_0x3808e2(++_0x184f68);}(_0x184f,0x154));const _0x3808=function(_0x39507a,_0x184f68){_0x39507a=_0x39507a-0x0;let _0x3808e2=_0x184f[_0x39507a];return _0x3808e2;};import{Plugin as _0x2924c6}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x310c0b}from'./utils';import{getTranslation as _0x9b139b}from'../utils/common-translations';export default class ht extends _0x2924c6{['afterInit'](){const _0xbc58a0=this[_0x3808('0x2d')];if(!_0xbc58a0[_0x3808('0x15')][_0x3808('0x1a')](_0x3808('0x2b')))return;const _0xb77098=_0xbc58a0[_0x3808('0x17')],_0x3fc406=_0xbc58a0[_0x3808('0x15')][_0x3808('0x19')](_0x3808('0x1c'));_0x3fc406[_0x3808('0x2e')][_0x3808('0x8')](_0x3808('0x1'),_0x22b5a2=>_0x9b139b(_0xb77098,_0x3808('0x29'),_0x22b5a2)),_0x3fc406['enableCommand'](_0x3808('0x1'),(_0x44c3cc,_0xf89b92={})=>{const _0x187881=_0xbc58a0[_0x3808('0x0')][_0x3808('0x13')],_0x3b1971=_0xf89b92['selection']||_0x187881['selection'],_0x3944ef=Array[_0x3808('0x16')](_0x3b1971[_0x3808('0xc')]())[_0x3808('0x14')](_0x7b8395=>function(_0x4993b8,_0x25f4ea){return _0x25f4ea['checkChild'](_0x4993b8[_0x3808('0x1d')],_0x3808('0x1'))&&!_0x25f4ea['isObject'](_0x4993b8)&&_0x3808('0x1')!=_0x4993b8[_0x3808('0x9')];}(_0x7b8395,this['editor'][_0x3808('0x0')][_0x3808('0x23')]));_0xbc58a0[_0x3808('0x0')][_0x3808('0x22')](()=>{for(const _0x5aaaf8 of _0x3944ef)_0x3fc406[_0x3808('0x25')](_0x5aaaf8,{'commandName':_0x3808('0x1'),'commandParams':[],'formatGroupId':_0x3808('0xd')},_0x310c0b(_0x5aaaf8));});}),_0x3fc406[_0x3808('0x2e')][_0x3808('0xa')](_0x33e301=>{const {data:_0x152550}=_0x33e301;if(_0x152550&&_0x3808('0x1')==_0x152550[_0x3808('0x24')])return{'type':_0x3808('0x6'),'content':_0x9b139b(_0xb77098,'*Change\x20to:*\x20%0',_0x9b139b(_0xb77098,_0x3808('0x29')))};}),_0x3fc406[_0x3808('0x1f')](_0x3808('0x2a')),_0xbc58a0[_0x3808('0xb')][_0x3808('0x3')]['on']('addMarker:suggestion:insertion',ar(_0xbc58a0),{'priority':_0x3808('0x10')}),_0xbc58a0[_0x3808('0x2')]['downcastDispatcher']['on'](_0x3808('0x32'),(_0x2a37f5,_0x1f8e2b,_0x575e5f)=>{_0x575e5f['options'][_0x3808('0x4')]&&ar(_0xbc58a0,{'showActiveMarker':!0x1})(_0x2a37f5,_0x1f8e2b,_0x575e5f);},{'priority':_0x3808('0x10')});const _0x162f76=_0x3fc406[_0x3808('0x2e')];_0x162f76['registerDescriptionCallback'](_0x25de07=>{if('insertion'!==_0x25de07['type'])return;const {start:_0xc952d3,end:_0x160194}=_0x25de07[_0x3808('0x21')]();if(!_0xc952d3[_0x3808('0x2f')](_0x160194)||!_0xc952d3[_0x3808('0x26')])return;const _0x540d36=_0xbc58a0[_0x3808('0x0')]['schema'],_0x35bf6c=_0xc952d3[_0x3808('0x26')];return _0x540d36['isBlock'](_0x35bf6c)&&!_0x540d36[_0x3808('0x7')](_0x35bf6c)&&_0x540d36[_0x3808('0xf')](_0x35bf6c,'$text')?{'type':'insertion','content':_0x9b139b(_0xb77098,_0x3808('0x2c'),_0x162f76[_0x3808('0x30')](_0x35bf6c,0x1))}:void 0x0;});}}function ar(_0x14e542,{showActiveMarker:_0x243b36=!0x0}={}){return(_0x305275,_0x168978,_0x39940d)=>{const _0x5db57b=_0x14e542[_0x3808('0x15')]['get'](_0x3808('0x1c')),_0x11f00a=_0x168978[_0x3808('0x1e')]['start'],_0x216d1b=_0x168978[_0x3808('0x1e')][_0x3808('0x27')],_0x3cd5ed=_0x14e542[_0x3808('0x0')][_0x3808('0x23')];if(!_0x11f00a[_0x3808('0x2f')](_0x216d1b)||!_0x11f00a[_0x3808('0x26')])return;const _0x5a93a=_0x11f00a[_0x3808('0x26')];if(_0x3cd5ed['isBlock'](_0x5a93a)&&!_0x3cd5ed[_0x3808('0x7')](_0x5a93a)&&_0x3cd5ed[_0x3808('0xf')](_0x5a93a,'$text')){if(!_0x39940d[_0x3808('0xe')]['consume'](_0x168978[_0x3808('0x1e')],_0x305275[_0x3808('0x9')]))return;const _0xedb300=_0x39940d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split'}),_0x5673e3=_0x39940d[_0x3808('0x12')][_0x3808('0x18')](_0x216d1b);_0x243b36&&_0x5db57b['activeMarkers'][_0x3808('0x31')](_0x168978['markerName'])&&_0x39940d[_0x3808('0x1b')][_0x3808('0x5')](_0x3808('0x11'),_0xedb300),_0x39940d[_0x3808('0x1b')]['insert'](_0x5673e3,_0xedb300),_0x39940d[_0x3808('0x12')][_0x3808('0x20')](_0xedb300,_0x168978[_0x3808('0x28')]);}};}
23
+ const _0x48af=['options','span','*Insert:*\x20%0','isTouching','*Change\x20to:*\x20%0','editor','bindElementToMarker','get','model','$text','addMarker:suggestion:insertion','enableCommand','consume','plugins','consumable','includes','ELEMENT_PARAGRAPH','mapper','nodeAfter','_registerLegacyDescription','name','isLimit','type','activeMarkers','locale','schema','getFirstRange','highest','commandName','markerRange','paragraph','downcastDispatcher','ck-suggestion-marker--active','markerName','insertParagraph','addClass','format','writer','start','_descriptionFactory','registerDescriptionCallback','insert','editing','TrackChangesEditing','isBlock','showSuggestionHighlights','insertion'];(function(_0x106eb3,_0x48af66){const _0x341fca=function(_0x5a8a40){while(--_0x5a8a40){_0x106eb3['push'](_0x106eb3['shift']());}};_0x341fca(++_0x48af66);}(_0x48af,0x68));const _0x341f=function(_0x106eb3,_0x48af66){_0x106eb3=_0x106eb3-0x0;let _0x341fca=_0x48af[_0x106eb3];return _0x341fca;};import{Plugin as _0x4f5213}from'ckeditor5/src/core';import{getTranslation as _0x5f4c6f}from'../utils/common-translations';export default class lt extends _0x4f5213{['afterInit'](){const _0x388454=this[_0x341f('0x2a')];if(!_0x388454[_0x341f('0x3')]['has']('Paragraph'))return;const _0x2b9738=_0x388454[_0x341f('0xe')],_0xa69bb5=_0x388454[_0x341f('0x3')]['get'](_0x341f('0x21'));_0xa69bb5[_0x341f('0x1d')]['registerElementLabel'](_0x341f('0x14'),_0x2e9c16=>_0x5f4c6f(_0x2b9738,_0x341f('0x6'),_0x2e9c16)),_0xa69bb5['_enableDefaultAttributesIntegration'](_0x341f('0x14')),_0xa69bb5[_0x341f('0x1')](_0x341f('0x18')),_0x388454[_0x341f('0x20')][_0x341f('0x15')]['on'](_0x341f('0x0'),nr(_0x388454),{'priority':_0x341f('0x11')}),_0x388454['data'][_0x341f('0x15')]['on'](_0x341f('0x0'),(_0xcdb365,_0x2b2730,_0x22131a)=>{_0x22131a[_0x341f('0x25')][_0x341f('0x23')]&&nr(_0x388454,{'showActiveMarker':!0x1})(_0xcdb365,_0x2b2730,_0x22131a);},{'priority':_0x341f('0x11')});const _0x50aa26=_0xa69bb5['_descriptionFactory'];_0x50aa26[_0x341f('0x1e')](_0x1e6c8f=>{if(_0x341f('0x24')!==_0x1e6c8f[_0x341f('0xc')])return;const {start:_0x9dad29,end:_0x889140}=_0x1e6c8f[_0x341f('0x10')]();if(!_0x9dad29[_0x341f('0x28')](_0x889140)||!_0x9dad29[_0x341f('0x8')])return;const _0x4b9bf9=_0x388454['model'][_0x341f('0xf')],_0x47fa9d=_0x9dad29['nodeAfter'];return _0x4b9bf9[_0x341f('0x22')](_0x47fa9d)&&!_0x4b9bf9[_0x341f('0xb')](_0x47fa9d)&&_0x4b9bf9['checkChild'](_0x47fa9d,_0x341f('0x2e'))?{'type':_0x341f('0x24'),'content':_0x5f4c6f(_0x2b9738,_0x341f('0x27'),_0x50aa26['getItemLabel'](_0x47fa9d,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0x341f('0x9')](){const _0x5163f3=this[_0x341f('0x2a')],_0x4c57fa=_0x5163f3['locale'];_0x5163f3[_0x341f('0x3')][_0x341f('0x2c')](_0x341f('0x21'))[_0x341f('0x1d')][_0x341f('0x1e')](_0xbce18b=>{if('formatBlock'!=_0xbce18b['type'])return;const {data:_0x12f616}=_0xbce18b;return _0x12f616&&_0x341f('0x14')==_0x12f616[_0x341f('0x12')]?{'type':_0x341f('0x1a'),'content':_0x5f4c6f(_0x4c57fa,_0x341f('0x29'),_0x5f4c6f(_0x4c57fa,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function nr(_0x313b8e,{showActiveMarker:_0x295f77=!0x0}={}){return(_0x4e5e6c,_0x5aea1e,_0x35f160)=>{const _0x5b3a3a=_0x313b8e['plugins'][_0x341f('0x2c')](_0x341f('0x21')),_0x4b9200=_0x5aea1e['markerRange'][_0x341f('0x1c')],_0x1455ce=_0x5aea1e['markerRange']['end'],_0x534c74=_0x313b8e[_0x341f('0x2d')][_0x341f('0xf')];if(!_0x4b9200[_0x341f('0x28')](_0x1455ce)||!_0x4b9200[_0x341f('0x8')])return;const _0x2d57fe=_0x4b9200[_0x341f('0x8')];if(_0x534c74[_0x341f('0x22')](_0x2d57fe)&&!_0x534c74[_0x341f('0xb')](_0x2d57fe)&&_0x534c74['checkChild'](_0x2d57fe,_0x341f('0x2e'))){if(!_0x35f160[_0x341f('0x4')][_0x341f('0x2')](_0x5aea1e[_0x341f('0x13')],_0x4e5e6c[_0x341f('0xa')]))return;const _0x574058=_0x35f160[_0x341f('0x1b')]['createUIElement'](_0x341f('0x26'),{'class':'ck-suggestion-marker-split'}),_0x251a91=_0x35f160[_0x341f('0x7')]['toViewPosition'](_0x1455ce);_0x295f77&&_0x5b3a3a[_0x341f('0xd')][_0x341f('0x5')](_0x5aea1e['markerName'])&&_0x35f160['writer'][_0x341f('0x19')](_0x341f('0x16'),_0x574058),_0x35f160[_0x341f('0x1b')][_0x341f('0x1f')](_0x251a91,_0x574058),_0x35f160[_0x341f('0x7')][_0x341f('0x2b')](_0x574058,_0x5aea1e[_0x341f('0x17')]);}};}
@@ -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/removeformat
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for remove format feature.
11
- */
12
- export default class TrackChangesRemoveFormat 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/removeformat
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for remove format feature.
11
+ */
12
+ export default class TrackChangesRemoveFormat extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc9c3=['_descriptionFactory','registerDescriptionCallback','markInlineFormat','model','isFormatting','TrackChangesEditing','has','plugins','*Remove\x20all\x20formatting*','get','isCollapsed','editor','getRanges','createRangeOn','schema','from','removeFormat','commandName','getAttributeProperties'];(function(_0x4bc184,_0xc9c34a){const _0x1f36fc=function(_0xbe7513){while(--_0xbe7513){_0x4bc184['push'](_0x4bc184['shift']());}};_0x1f36fc(++_0xc9c34a);}(_0xc9c3,0x1a2));const _0x1f36=function(_0x4bc184,_0xc9c34a){_0x4bc184=_0x4bc184-0x0;let _0x1f36fc=_0xc9c3[_0x4bc184];return _0x1f36fc;};import{Plugin as _0x24276f}from'ckeditor5/src/core';import{getTranslation as _0x5d4cfa}from'../utils/common-translations';export default class ut extends _0x24276f{['afterInit'](){const _0x19ff69=this[_0x1f36('0xb')];if(!_0x19ff69['plugins'][_0x1f36('0x6')]('RemoveFormatEditing'))return;const _0x5638f3=_0x19ff69[_0x1f36('0x7')][_0x1f36('0x9')](_0x1f36('0x5'));_0x5638f3['enableCommand'](_0x1f36('0x10'),_0x5f3731=>{const _0x31db09=_0x19ff69[_0x1f36('0x3')]['document']['selection'];_0x31db09[_0x1f36('0xa')]?_0x5f3731():_0x19ff69[_0x1f36('0x3')]['change'](()=>{const _0x4f1a43=Array[_0x1f36('0xf')](_0x31db09[_0x1f36('0xc')]());for(const _0x5c551d of _0x4f1a43)for(const _0x587f1b of _0x5c551d['getItems']())mo(_0x587f1b,_0x19ff69[_0x1f36('0x3')][_0x1f36('0xe')])&&_0x5638f3[_0x1f36('0x2')](_0x19ff69['model'][_0x1f36('0xd')](_0x587f1b),{'commandName':_0x1f36('0x10'),'commandParams':[]});});}),_0x5638f3[_0x1f36('0x0')][_0x1f36('0x1')](_0x3bcc37=>{const {data:_0x5e371d}=_0x3bcc37;if(_0x5e371d&&'removeFormat'==_0x5e371d[_0x1f36('0x11')])return{'type':'format','content':_0x5d4cfa(_0x19ff69['locale'],_0x1f36('0x8'))};});}}function mo(_0x38dfd0,_0x38169a){for(const [_0x44e462]of _0x38dfd0['getAttributes']()){const _0x2564fa=_0x38169a[_0x1f36('0x12')](_0x44e462);if(_0x2564fa&&_0x2564fa[_0x1f36('0x4')])return!0x0;}return!0x1;}
23
+ const _0x1ac4=['afterInit','_registerLegacyDescription','get','type','formatInline','editor','_enableDefaultAttributesIntegration','plugins','commandName','removeFormat','format','*Remove\x20all\x20formatting*','_descriptionFactory','locale','TrackChangesEditing'];(function(_0x2f108f,_0x1ac40f){const _0x456d3b=function(_0x21f4d5){while(--_0x21f4d5){_0x2f108f['push'](_0x2f108f['shift']());}};_0x456d3b(++_0x1ac40f);}(_0x1ac4,0x129));const _0x456d=function(_0x2f108f,_0x1ac40f){_0x2f108f=_0x2f108f-0x0;let _0x456d3b=_0x1ac4[_0x2f108f];return _0x456d3b;};import{Plugin as _0x511605}from'ckeditor5/src/core';import{getTranslation as _0x3264e3}from'../utils/common-translations';export default class mt extends _0x511605{[_0x456d('0x3')](){const _0x1e49f9=this[_0x456d('0x8')];if(!_0x1e49f9['plugins']['has']('RemoveFormatEditing'))return;_0x1e49f9[_0x456d('0xa')][_0x456d('0x5')](_0x456d('0x2'))[_0x456d('0x9')](_0x456d('0xc')),this[_0x456d('0x4')]();}[_0x456d('0x4')](){const _0x21ab10=this[_0x456d('0x8')];_0x21ab10['plugins'][_0x456d('0x5')](_0x456d('0x2'))[_0x456d('0x0')]['registerDescriptionCallback'](_0x1ab5a9=>{if('formatBlock'!=_0x1ab5a9[_0x456d('0x6')]&&_0x456d('0x7')!=_0x1ab5a9[_0x456d('0x6')])return;const {data:_0x98d94a}=_0x1ab5a9;return _0x98d94a&&_0x456d('0xc')==_0x98d94a[_0x456d('0xb')]?{'type':_0x456d('0xd'),'content':_0x3264e3(_0x21ab10[_0x456d('0x1')],_0x456d('0xe'))}:void 0x0;});}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/mention
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
11
- */
12
- export default class TrackChangesRestrictedEditingMode 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/mention
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
11
+ */
12
+ export default class TrackChangesRestrictedEditingMode extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43b5=['goToNextRestrictedEditingException','acceptAllSuggestions','plugins','discardAllSuggestions','acceptSelectedSuggestions','enableCommand','afterInit','goToPreviousRestrictedEditingException','discardSelectedSuggestions','RestrictedEditingModeEditing','editor','trackChanges','get'];(function(_0x2891eb,_0x43b525){const _0x3016ec=function(_0x727cd6){while(--_0x727cd6){_0x2891eb['push'](_0x2891eb['shift']());}};_0x3016ec(++_0x43b525);}(_0x43b5,0x10e));const _0x3016=function(_0x2891eb,_0x43b525){_0x2891eb=_0x2891eb-0x0;let _0x3016ec=_0x43b5[_0x2891eb];return _0x3016ec;};import{Plugin as _0x162a7d}from'ckeditor5/src/core';export default class ft extends _0x162a7d{[_0x3016('0x9')](){const _0x33b16e=this[_0x3016('0x0')];if(!_0x33b16e[_0x3016('0x5')]['has'](_0x3016('0xc')))return;const _0x40bdb5=_0x33b16e['plugins'][_0x3016('0x2')]('TrackChangesEditing');_0x40bdb5[_0x3016('0x8')](_0x3016('0xa')),_0x40bdb5[_0x3016('0x8')](_0x3016('0x3'));const _0x313095=_0x33b16e['plugins'][_0x3016('0x2')](_0x3016('0xc'));_0x313095[_0x3016('0x8')](_0x3016('0x1')),_0x313095[_0x3016('0x8')]('acceptSuggestion'),_0x313095[_0x3016('0x8')]('discardSuggestion'),_0x313095['enableCommand'](_0x3016('0x4')),_0x313095['enableCommand'](_0x3016('0x6')),_0x313095[_0x3016('0x8')](_0x3016('0x7')),_0x313095[_0x3016('0x8')](_0x3016('0xb'));}}
23
+ const _0x10be=['goToPreviousRestrictedEditingException','enableCommand','acceptSuggestion','acceptAllSuggestions','get','plugins','has','RestrictedEditingModeEditing','afterInit','discardSuggestion','TrackChangesEditing','editor','discardAllSuggestions','discardSelectedSuggestions','acceptSelectedSuggestions'];(function(_0x58c7a1,_0x10be08){const _0x5a8cf0=function(_0x3f999b){while(--_0x3f999b){_0x58c7a1['push'](_0x58c7a1['shift']());}};_0x5a8cf0(++_0x10be08);}(_0x10be,0x1d9));const _0x5a8c=function(_0x58c7a1,_0x10be08){_0x58c7a1=_0x58c7a1-0x0;let _0x5a8cf0=_0x10be[_0x58c7a1];return _0x5a8cf0;};import{Plugin as _0x1b693a}from'ckeditor5/src/core';export default class dt extends _0x1b693a{[_0x5a8c('0x0')](){const _0x24c6e5=this[_0x5a8c('0x3')];if(!_0x24c6e5[_0x5a8c('0xc')][_0x5a8c('0xd')](_0x5a8c('0xe')))return;const _0x421aea=_0x24c6e5[_0x5a8c('0xc')][_0x5a8c('0xb')](_0x5a8c('0x2'));_0x421aea[_0x5a8c('0x8')](_0x5a8c('0x7')),_0x421aea[_0x5a8c('0x8')]('goToNextRestrictedEditingException');const _0x5a30f7=_0x24c6e5[_0x5a8c('0xc')][_0x5a8c('0xb')](_0x5a8c('0xe'));_0x5a30f7['enableCommand']('trackChanges'),_0x5a30f7['enableCommand'](_0x5a8c('0x9')),_0x5a30f7['enableCommand'](_0x5a8c('0x1')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0xa')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0x4')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0x6')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0x5'));}}
@@ -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/shiftentercommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { ShiftEnter } from 'ckeditor5/src/enter';
10
- /**
11
- * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
12
- */
13
- export default class TrackChangesShiftEnterCommand extends Plugin {
14
- static get requires(): readonly [typeof ShiftEnter];
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/shiftentercommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { ShiftEnter } from 'ckeditor5/src/enter';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
12
+ */
13
+ export default class TrackChangesShiftEnterCommand extends Plugin {
14
+ static get requires(): readonly [typeof ShiftEnter];
15
+ init(): void;
16
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31e6=['activeMarkers','addMarker:suggestion:deletion','_descriptionFactory','merge','get','split','ck-suggestion-marker-','mapper','TrackChangesEditing','init','ck-suggestion-marker--active','shiftEnter','createPositionBefore','writer','requires','consumable','options','test','span','addMarker:suggestion:insertion','showSuggestionHighlights','includes','editor','markerName','plugins','createUIElement','locale','markerRange','element','addClass','getItems','softBreak','registerElementLabel','editing','data','bindElementToMarker','downcastDispatcher','high'];(function(_0x298a80,_0x31e6e1){const _0x4fbcd8=function(_0x38bed6){while(--_0x38bed6){_0x298a80['push'](_0x298a80['shift']());}};_0x4fbcd8(++_0x31e6e1);}(_0x31e6,0x112));const _0x4fbc=function(_0x298a80,_0x31e6e1){_0x298a80=_0x298a80-0x0;let _0x4fbcd8=_0x31e6[_0x298a80];return _0x4fbcd8;};import{Plugin as _0x22b46c}from'ckeditor5/src/core';import{ShiftEnter as _0x3226a4}from'ckeditor5/src/enter';import{getTranslation as _0x2ed43d}from'../utils/common-translations';export default class lt extends _0x22b46c{static get[_0x4fbc('0x6')](){return[_0x3226a4];}[_0x4fbc('0x1')](){const _0x55c20a=this[_0x4fbc('0xe')],_0x3a394d=_0x55c20a['plugins'][_0x4fbc('0x22')]('TrackChangesEditing');_0x3a394d['enableCommand'](_0x4fbc('0x3')),_0x55c20a[_0x4fbc('0x19')][_0x4fbc('0x1c')]['on'](_0x4fbc('0xb'),re(_0x55c20a),{'priority':_0x4fbc('0x1d')}),_0x55c20a[_0x4fbc('0x19')][_0x4fbc('0x1c')]['on'](_0x4fbc('0x1f'),re(_0x55c20a),{'priority':'high'}),_0x55c20a[_0x4fbc('0x1a')][_0x4fbc('0x1c')]['on']('addMarker:suggestion',(_0x55d850,_0x4ff5fb,_0x13127d)=>{_0x13127d[_0x4fbc('0x8')][_0x4fbc('0xc')]&&re(_0x55c20a,{'showActiveMarker':!0x1})(_0x55d850,_0x4ff5fb,_0x13127d);}),_0x3a394d[_0x4fbc('0x20')][_0x4fbc('0x18')](_0x4fbc('0x17'),_0x774580=>_0x2ed43d(_0x55c20a[_0x4fbc('0x12')],'ELEMENT_LINE_BREAK',_0x774580));}}function re(_0x31d4ed,{showActiveMarker:_0x5e80f3=!0x0}={}){return(_0x139647,_0xdbe05f,_0x3705d6)=>{const _0x219947=_0x31d4ed[_0x4fbc('0x10')][_0x4fbc('0x22')](_0x4fbc('0x0'));if(!_0x3705d6[_0x4fbc('0x7')][_0x4fbc('0x9')](_0xdbe05f['markerRange'],_0x139647['name']))return;const _0x5357cb=_0x31d4ed['model'];for(const _0x201949 of _0xdbe05f[_0x4fbc('0x13')][_0x4fbc('0x16')]()){if(!_0x201949['is'](_0x4fbc('0x14'),_0x4fbc('0x17')))continue;const _0x2a6d03='deletion'==_0xdbe05f[_0x4fbc('0xf')][_0x4fbc('0x23')](':')[0x1]?_0x4fbc('0x21'):_0x4fbc('0x23'),_0x50a9d2=_0x3705d6[_0x4fbc('0x5')][_0x4fbc('0x11')](_0x4fbc('0xa'),{'class':_0x4fbc('0x24')+_0x2a6d03}),_0x346169=_0x3705d6['mapper']['toViewPosition'](_0x5357cb[_0x4fbc('0x4')](_0x201949));_0x5e80f3&&_0x219947[_0x4fbc('0x1e')][_0x4fbc('0xd')](_0xdbe05f[_0x4fbc('0xf')])&&_0x3705d6[_0x4fbc('0x5')][_0x4fbc('0x15')](_0x4fbc('0x2'),_0x50a9d2),_0x3705d6[_0x4fbc('0x5')]['insert'](_0x346169,_0x50a9d2),_0x3705d6[_0x4fbc('0x25')][_0x4fbc('0x1b')](_0x50a9d2,_0xdbe05f['markerName']);}};}
23
+ const _0xa68c=['consumable','get','softBreak','plugins','insert','element','enableCommand','_descriptionFactory','addClass','span','TrackChangesEditing','editing','addMarker:suggestion:deletion','addMarker:suggestion:insertion','toViewPosition','activeMarkers','bindElementToMarker','getItems','data','mapper','options','split','downcastDispatcher','writer','init','high','markerName','name','model','shiftEnter','test','ELEMENT_LINE_BREAK','registerElementLabel','ck-suggestion-marker-','createPositionBefore','locale','merge','requires','markerRange'];(function(_0x57013c,_0xa68ced){const _0x477fb3=function(_0x3c6a9b){while(--_0x3c6a9b){_0x57013c['push'](_0x57013c['shift']());}};_0x477fb3(++_0xa68ced);}(_0xa68c,0x1d1));const _0x477f=function(_0x57013c,_0xa68ced){_0x57013c=_0x57013c-0x0;let _0x477fb3=_0xa68c[_0x57013c];return _0x477fb3;};import{Plugin as _0x2b3bc2}from'ckeditor5/src/core';import{ShiftEnter as _0x5c6887}from'ckeditor5/src/enter';import{getTranslation as _0x17219d}from'../utils/common-translations';export default class pt extends _0x2b3bc2{static get[_0x477f('0x1')](){return[_0x5c6887];}[_0x477f('0x1b')](){const _0x254bb8=this['editor'],_0xf47853=_0x254bb8[_0x477f('0x6')][_0x477f('0x4')](_0x477f('0xd'));_0xf47853[_0x477f('0x9')](_0x477f('0x20')),_0x254bb8['editing'][_0x477f('0x19')]['on'](_0x477f('0x10'),re(_0x254bb8),{'priority':_0x477f('0x1c')}),_0x254bb8[_0x477f('0xe')][_0x477f('0x19')]['on'](_0x477f('0xf'),re(_0x254bb8),{'priority':_0x477f('0x1c')}),_0x254bb8[_0x477f('0x15')][_0x477f('0x19')]['on']('addMarker:suggestion',(_0xd7a0b9,_0x5a3e06,_0x3866ff)=>{_0x3866ff[_0x477f('0x17')]['showSuggestionHighlights']&&re(_0x254bb8,{'showActiveMarker':!0x1})(_0xd7a0b9,_0x5a3e06,_0x3866ff);}),_0xf47853[_0x477f('0xa')][_0x477f('0x23')]('softBreak',_0x51c0f0=>_0x17219d(_0x254bb8[_0x477f('0x26')],_0x477f('0x22'),_0x51c0f0));}}function re(_0xfa5516,{showActiveMarker:_0x37482a=!0x0}={}){return(_0x4a2c62,_0x40c70f,_0xc01fad)=>{const _0x9d9b36=_0xfa5516[_0x477f('0x6')][_0x477f('0x4')](_0x477f('0xd'));if(!_0xc01fad[_0x477f('0x3')][_0x477f('0x21')](_0x40c70f[_0x477f('0x2')],_0x4a2c62[_0x477f('0x1e')]))return;const _0x1e056f=_0xfa5516[_0x477f('0x1f')];for(const _0x3eb4c7 of _0x40c70f[_0x477f('0x2')][_0x477f('0x14')]()){if(!_0x3eb4c7['is'](_0x477f('0x8'),_0x477f('0x5')))continue;const _0x27cf59='deletion'==_0x40c70f[_0x477f('0x1d')]['split'](':')[0x1]?_0x477f('0x0'):_0x477f('0x18'),_0x2567be=_0xc01fad[_0x477f('0x1a')]['createUIElement'](_0x477f('0xc'),{'class':_0x477f('0x24')+_0x27cf59}),_0x1dd54f=_0xc01fad[_0x477f('0x16')][_0x477f('0x11')](_0x1e056f[_0x477f('0x25')](_0x3eb4c7));_0x37482a&&_0x9d9b36[_0x477f('0x12')]['includes'](_0x40c70f[_0x477f('0x1d')])&&_0xc01fad['writer'][_0x477f('0xb')]('ck-suggestion-marker--active',_0x2567be),_0xc01fad[_0x477f('0x1a')][_0x477f('0x7')](_0x1dd54f,_0x2567be),_0xc01fad['mapper'][_0x477f('0x13')](_0x2567be,_0x40c70f[_0x477f('0x1d')]);}};}
@@ -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/mention
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for standard editing mode feature from restricted editing package.
11
- */
12
- export default class TrackChangesStandardEditingMode 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/mention
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for standard editing mode feature from restricted editing package.
11
+ */
12
+ export default class TrackChangesStandardEditingMode extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b46=['has','getRanges','selection','get','plugins','enableCommand','registerDescriptionCallback','commandParams','format','restrictedEditingException','TrackChangesEditing','isCollapsed','markInlineFormat','_descriptionFactory','locale','from','forceValue','document','commands','commandName','FORMAT_RESTRICTED_DISABLED','value','editor','change','afterInit'];(function(_0x52058c,_0x5b46d2){const _0x46ed43=function(_0x6558a8){while(--_0x6558a8){_0x52058c['push'](_0x52058c['shift']());}};_0x46ed43(++_0x5b46d2);}(_0x5b46,0x1bc));const _0x46ed=function(_0x52058c,_0x5b46d2){_0x52058c=_0x52058c-0x0;let _0x46ed43=_0x5b46[_0x52058c];return _0x46ed43;};import{Plugin as _0x3cd860}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x201e3c}from'./utils';import{getTranslation as _0x227da4}from'../utils/common-translations';export default class gt extends _0x3cd860{[_0x46ed('0x5')](){const _0x418439=this[_0x46ed('0x3')],_0x1dca01=_0x418439['model'],_0x146ee9=_0x418439[_0x46ed('0x14')];if(!_0x418439[_0x46ed('0xa')][_0x46ed('0x6')]('StandardEditingModeEditing'))return;const _0x292f61=_0x418439[_0x46ed('0xa')][_0x46ed('0x9')](_0x46ed('0x10')),_0x1119d0=_0x46ed('0xf'),_0x3fd49a=_0x418439[_0x46ed('0x18')][_0x46ed('0x9')](_0x1119d0);_0x292f61[_0x46ed('0xb')](_0x1119d0,(_0x4375ed,_0x17f68b={})=>{const _0x183399=_0x1dca01[_0x46ed('0x17')][_0x46ed('0x8')];if(_0x183399[_0x46ed('0x11')])return void _0x4375ed(_0x17f68b);const _0x3eb2f5=void 0x0!==_0x17f68b['forceValue']?_0x17f68b[_0x46ed('0x16')]:!_0x3fd49a[_0x46ed('0x2')];_0x1dca01[_0x46ed('0x4')](()=>{const _0x3d1907=Array[_0x46ed('0x15')](_0x183399[_0x46ed('0x7')]());for(const _0x1c4f86 of _0x3d1907){const _0x4068d4=_0x3eb2f5?[_0x1c4f86]:_0x201e3c(_0x1119d0,_0x1c4f86,_0x1dca01);for(const _0x2b53a7 of _0x4068d4)_0x292f61[_0x46ed('0x12')](_0x2b53a7,{'commandName':_0x1119d0,'commandParams':[{'forceValue':_0x3eb2f5}]});}});}),_0x292f61[_0x46ed('0x13')][_0x46ed('0xc')](_0x3302d9=>{const {data:_0x3423b8}=_0x3302d9;if(_0x3423b8&&_0x3423b8[_0x46ed('0x0')]==_0x1119d0)return _0x3423b8[_0x46ed('0xd')][0x0]['forceValue']?{'type':'format','content':_0x227da4(_0x146ee9,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x46ed('0xe'),'content':_0x227da4(_0x146ee9,_0x46ed('0x1'))};});}}
23
+ const _0x33b3=['commandParams','document','FORMAT_RESTRICTED_ENABLED','get','value','forceValue','formatBlock','afterInit','markInlineFormat','selection','editor','restrictedEditingException','has','type','TrackChangesEditing','change','getRanges','StandardEditingModeEditing','format','plugins','registerDescriptionCallback','model','formatInline','locale','commandName','commands','isCollapsed'];(function(_0x36777b,_0x33b301){const _0x30f0fb=function(_0x24a6ba){while(--_0x24a6ba){_0x36777b['push'](_0x36777b['shift']());}};_0x30f0fb(++_0x33b301);}(_0x33b3,0x149));const _0x30f0=function(_0x36777b,_0x33b301){_0x36777b=_0x36777b-0x0;let _0x30f0fb=_0x33b3[_0x36777b];return _0x30f0fb;};import{Plugin as _0x3f89d3}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x5ed484}from'./utils';import{getTranslation as _0x2eaa68}from'../utils/common-translations';export default class kt extends _0x3f89d3{[_0x30f0('0x2')](){const _0x599a7a=this[_0x30f0('0x5')],_0x5ae9bb=_0x599a7a[_0x30f0('0x10')],_0x485bae=_0x599a7a[_0x30f0('0x12')];if(!_0x599a7a[_0x30f0('0xe')][_0x30f0('0x7')](_0x30f0('0xc')))return;const _0x152a8e=_0x599a7a[_0x30f0('0xe')][_0x30f0('0x19')](_0x30f0('0x9')),_0x7b87ad=_0x30f0('0x6'),_0x563a9c=_0x599a7a[_0x30f0('0x14')][_0x30f0('0x19')](_0x7b87ad);_0x152a8e['enableCommand'](_0x7b87ad,(_0x219bc5,_0x551f35={})=>{const _0x27ddc7=_0x5ae9bb[_0x30f0('0x17')][_0x30f0('0x4')];if(_0x27ddc7[_0x30f0('0x15')])return void _0x219bc5(_0x551f35);const _0x3aa6cb=void 0x0!==_0x551f35[_0x30f0('0x0')]?_0x551f35['forceValue']:!_0x563a9c[_0x30f0('0x1a')];_0x5ae9bb[_0x30f0('0xa')](()=>{const _0xc3ec92=Array['from'](_0x27ddc7[_0x30f0('0xb')]());for(const _0x567765 of _0xc3ec92){const _0xc2e46a=_0x3aa6cb?[_0x567765]:_0x5ed484(_0x7b87ad,_0x567765,_0x5ae9bb);for(const _0x2c41a0 of _0xc2e46a)_0x152a8e[_0x30f0('0x3')](_0x2c41a0,{'commandName':_0x7b87ad,'commandParams':[{'forceValue':_0x3aa6cb}]});}});}),_0x152a8e['_descriptionFactory'][_0x30f0('0xf')](_0x25318e=>{if(_0x30f0('0x1')!=_0x25318e['type']&&_0x30f0('0x11')!=_0x25318e[_0x30f0('0x8')])return;const {data:_0x2cc47f}=_0x25318e;return _0x2cc47f&&_0x2cc47f[_0x30f0('0x13')]==_0x7b87ad?_0x2cc47f[_0x30f0('0x16')][0x0][_0x30f0('0x0')]?{'type':_0x30f0('0xd'),'content':_0x2eaa68(_0x485bae,_0x30f0('0x18'))}:{'type':_0x30f0('0xd'),'content':_0x2eaa68(_0x485bae,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}
@@ -1,18 +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/style
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for styles dropdown feature.
11
- * @todo Remove "any" casts after plugin has been rewritten to TS.
12
- */
13
- export default class TrackChangesStylesDropdown extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- afterInit(): void;
18
- }
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/style
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for styles dropdown feature.
11
+ */
12
+ export default class TrackChangesStylesDropdown extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55bf=['style.definitions','styleName','getDefinitionsForView','commands','_getRangesWithClasses','add','getRanges','isBlock','classes','_getStyleDefinition','locale','inline','Style','document','getAncestors','markInlineFormat','block','has','push','getAttribute','element','_descriptionFactory','from','format','change','*Format:*\x20%0','get','registerDescriptionCallback','TrackChangesEditing','name','style','editor','createRangeOn','modelElements','forceValue','afterInit','isCollapsed','find','getItems','toLowerCase','includes','normalizeConfig','model','commandParams','getSelectedBlocks','plugins','DataSchema','config'];(function(_0x4792f3,_0x55bf00){const _0x2528a3=function(_0x49d065){while(--_0x49d065){_0x4792f3['push'](_0x4792f3['shift']());}};_0x2528a3(++_0x55bf00);}(_0x55bf,0x190));const _0x2528=function(_0x4792f3,_0x55bf00){_0x4792f3=_0x4792f3-0x0;let _0x2528a3=_0x55bf[_0x4792f3];return _0x2528a3;};import{Plugin as _0x5472a5}from'ckeditor5/src/core';import{getTranslation as _0x5a8586}from'../utils/common-translations';export default class mt extends _0x5472a5{[_0x2528('0x13')](){const _0x54cb8d=this[_0x2528('0xf')];if(!_0x54cb8d[_0x2528('0x1d')][_0x2528('0x1')](_0x2528('0x2c')))return;const _0x1003ac=_0x54cb8d[_0x2528('0x23')][_0x2528('0xa')](_0x2528('0xe')),_0x47961e=_0x54cb8d[_0x2528('0x1d')][_0x2528('0xa')](_0x2528('0xc')),_0x86445b=_0x54cb8d[_0x2528('0x2a')],_0x2c1784=_0x54cb8d[_0x2528('0x1d')]['get'](_0x2528('0x1e')),_0x5bad55=_0x54cb8d[_0x2528('0x1d')][_0x2528('0xa')]('StyleUtils')[_0x2528('0x19')](_0x2c1784,_0x54cb8d[_0x2528('0x1f')][_0x2528('0xa')](_0x2528('0x20')));_0x47961e['enableCommand'](_0x2528('0xe'),(_0x519bc2,{styleName:_0x51903f})=>{const _0x48f96e=_0x54cb8d[_0x2528('0x1a')][_0x2528('0x2d')]['selection'],_0x57ab4b=this[_0x2528('0x29')](_0x51903f,_0x5bad55);if(!_0x57ab4b)return;if(!_0x1003ac['enabledStyles'][_0x2528('0x18')](_0x51903f))return;if(_0x48f96e[_0x2528('0x14')]&&!_0x57ab4b[_0x2528('0x27')])return void _0x519bc2({'styleName':_0x51903f});const _0x3671f2=!_0x1003ac['value'][_0x2528('0x18')](_0x57ab4b[_0x2528('0xd')]);if(_0x57ab4b[_0x2528('0x27')]){const _0x25bd9e=function(_0x5f21f6,_0x51b3e9){const _0x505eff=new Set();for(const _0x33b7a1 of _0x5f21f6){const _0x5d6467=_0x33b7a1[_0x2528('0x2e')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2a2825 of _0x5d6467)if(_0x51b3e9['includes'](_0x2a2825['name'])){_0x505eff[_0x2528('0x25')](_0x2a2825);break;}}return _0x505eff;}(_0x48f96e[_0x2528('0x1c')](),_0x57ab4b[_0x2528('0x11')]);_0x54cb8d[_0x2528('0x1a')][_0x2528('0x8')](()=>{for(const _0x5e519f of _0x25bd9e)_0x47961e['markBlockFormat'](_0x5e519f,{'commandName':'style','commandParams':[{'styleName':_0x51903f,'forceValue':_0x3671f2}],'formatGroupId':'style:'+_0x51903f});});}else{let _0x2b34e2=Array[_0x2528('0x6')](_0x48f96e[_0x2528('0x26')]());if(!_0x3671f2){const _0x360b57=Array[_0x2528('0x6')](_0x2c1784[_0x2528('0x22')](_0x57ab4b[_0x2528('0x4')],!0x1))[0x0][_0x2528('0x1a')],_0x19579e=[];for(const _0x1a8a63 of _0x2b34e2){const _0x1829a5=this[_0x2528('0x24')](_0x54cb8d[_0x2528('0x1a')],_0x1a8a63,_0x57ab4b[_0x2528('0x28')],_0x360b57);_0x19579e[_0x2528('0x2')](..._0x1829a5);}_0x2b34e2=_0x19579e;}_0x54cb8d['model'][_0x2528('0x8')](()=>{for(const _0x48e4d7 of _0x2b34e2)_0x47961e[_0x2528('0x2f')](_0x48e4d7,{'commandName':'style','commandParams':[{'styleName':_0x51903f,'forceValue':_0x3671f2}]});});}}),_0x47961e[_0x2528('0x5')][_0x2528('0xb')](_0x390839=>{const {data:_0x574f90}=_0x390839;if(_0x574f90&&_0x2528('0xe')===_0x574f90['commandName'])return _0x574f90['commandParams'][0x0][_0x2528('0x12')]?{'type':'format','content':_0x5a8586(_0x86445b,_0x2528('0x9'),_0x574f90[_0x2528('0x1b')][0x0][_0x2528('0x21')][_0x2528('0x17')]())}:{'type':_0x2528('0x7'),'content':_0x5a8586(_0x86445b,'*Remove\x20format:*\x20%0',_0x574f90['commandParams'][0x0][_0x2528('0x21')][_0x2528('0x17')]())};});}[_0x2528('0x29')](_0x5215ee,_0x286606){let _0x338a59=_0x286606[_0x2528('0x0')][_0x2528('0x15')](_0x207848=>_0x207848['name']===_0x5215ee);return _0x338a59||(_0x338a59=_0x286606[_0x2528('0x2b')]['find'](_0x2907d7=>_0x2907d7['name']===_0x5215ee)),_0x338a59;}[_0x2528('0x24')](_0x4544f6,_0x228b00,_0x181cf8,_0x6d283d){const _0x3de029=[];for(const _0x596803 of _0x228b00[_0x2528('0x16')]()){const _0x2c4c1f=_0x596803[_0x2528('0x3')](_0x6d283d);_0x2c4c1f&&(_0x181cf8['every'](_0x2c18e1=>_0x2c4c1f['classes'][_0x2528('0x18')](_0x2c18e1))&&_0x3de029[_0x2528('0x2')](_0x4544f6[_0x2528('0x10')](_0x596803)));}return _0x3de029;}}
23
+ const _0x4e19=['commandName','element','GeneralHtmlSupport','has','block','_descriptionFactory','locale','inline','plugins','FORMAT_STYLE','normalizeConfig','toLowerCase','getGhsAttributeNameForElement','forceValue','TrackChangesEditing','formatInline','registerAttributeLabel','styleName','StyleUtils','_registerInlineAttribute','formatBlock','registerDescriptionCallback','*Remove\x20format:*\x20%0','add','*Set\x20format:*\x20%0','config','format','_registerLegacyDescription','DataSchema','editor','style','get','commandParams','type'];(function(_0x1b813a,_0x4e190f){const _0x190d8f=function(_0x139872){while(--_0x139872){_0x1b813a['push'](_0x1b813a['shift']());}};_0x190d8f(++_0x4e190f);}(_0x4e19,0xd7));const _0x190d=function(_0x1b813a,_0x4e190f){_0x1b813a=_0x1b813a-0x0;let _0x190d8f=_0x4e19[_0x1b813a];return _0x190d8f;};import{Plugin as _0x3a9697}from'ckeditor5/src/core';import{getTranslation as _0x1c1800}from'../utils/common-translations';export default class bt extends _0x3a9697{['afterInit'](){const _0x6f18cf=this[_0x190d('0x12')];if(!_0x6f18cf[_0x190d('0x1f')][_0x190d('0x1a')]('Style')||!_0x6f18cf[_0x190d('0x1f')][_0x190d('0x1a')](_0x190d('0x11')))return;const _0x42775c=_0x6f18cf['plugins'][_0x190d('0x14')](_0x190d('0x3')),_0xd62422=_0x6f18cf[_0x190d('0x1d')],_0x3f9f05=_0x6f18cf[_0x190d('0xe')][_0x190d('0x14')](_0x190d('0x13')),_0x16c6a7=_0x6f18cf[_0x190d('0x1f')]['get'](_0x190d('0x19')),_0x266560=_0x6f18cf[_0x190d('0x1f')][_0x190d('0x14')](_0x190d('0x7'))[_0x190d('0x21')](_0x6f18cf[_0x190d('0x1f')]['get']('DataSchema'),_0x3f9f05['definitions']);_0x42775c['_enableDefaultAttributesIntegration'](_0x190d('0x13'));const _0x483895=new Set();for(const _0x200068 of _0x266560[_0x190d('0x1b')]){const _0x5a1d60=_0x16c6a7['getGhsAttributeNameForElement'](_0x200068[_0x190d('0x18')]);_0x483895[_0x190d('0xc')](_0x5a1d60);}const _0x1d3c19=new Set();for(const _0x1d11ab of _0x266560[_0x190d('0x1e')]){const _0x175f75=_0x16c6a7[_0x190d('0x1')](_0x1d11ab[_0x190d('0x18')]);_0x1d3c19['add'](_0x175f75);for(const _0x4d35c9 of _0x1d11ab['ghsAttributes'])_0x1d3c19[_0x190d('0xc')](_0x4d35c9);}for(const _0x5173a6 of _0x483895)_0x42775c['_registerBlockAttribute'](_0x5173a6),_0x42775c[_0x190d('0x1c')][_0x190d('0x5')](_0x5173a6,_0x1c1800(_0xd62422,'FORMAT_STYLE'));for(const _0x4f929b of _0x1d3c19)_0x42775c[_0x190d('0x8')](_0x4f929b),_0x42775c[_0x190d('0x1c')][_0x190d('0x5')](_0x4f929b,_0x1c1800(_0xd62422,_0x190d('0x20')));this[_0x190d('0x10')]();}[_0x190d('0x10')](){const _0x525a53=this[_0x190d('0x12')],_0x2fd8b0=_0x525a53['locale'];_0x525a53[_0x190d('0x1f')][_0x190d('0x14')](_0x190d('0x3'))[_0x190d('0x1c')][_0x190d('0xa')](_0x520590=>{if(_0x190d('0x9')!=_0x520590[_0x190d('0x16')]&&_0x190d('0x4')!=_0x520590[_0x190d('0x16')])return;const {data:_0x2e28eb}=_0x520590;return _0x2e28eb&&_0x190d('0x13')===_0x2e28eb[_0x190d('0x17')]?_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x2')]?{'type':'format','content':_0x1c1800(_0x2fd8b0,_0x190d('0xd'),_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x6')][_0x190d('0x0')]())}:{'type':_0x190d('0xf'),'content':_0x1c1800(_0x2fd8b0,_0x190d('0xb'),_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x6')][_0x190d('0x0')]())}:void 0x0;});}}