@ckeditor/ckeditor5-track-changes 39.0.1 → 40.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +6 -6
  3. package/README.md +14 -14
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/augmentation.d.ts +40 -40
  55. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  56. package/src/commands/acceptsuggestioncommand.js +1 -1
  57. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  58. package/src/commands/discardsuggestioncommand.js +1 -1
  59. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  60. package/src/commands/executeonallsuggestionscommand.js +1 -1
  61. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  62. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  63. package/src/commands/trackchangescommand.d.ts +26 -26
  64. package/src/commands/trackchangescommand.js +1 -1
  65. package/src/index.d.ts +16 -16
  66. package/src/integrations/aiassistant.d.ts +17 -0
  67. package/src/integrations/aiassistant.js +23 -0
  68. package/src/integrations/alignment.d.ts +17 -17
  69. package/src/integrations/alignment.js +1 -1
  70. package/src/integrations/basicstyles.d.ts +17 -17
  71. package/src/integrations/basicstyles.js +1 -1
  72. package/src/integrations/blockquote.d.ts +17 -17
  73. package/src/integrations/blockquote.js +1 -1
  74. package/src/integrations/ckbox.d.ts +17 -17
  75. package/src/integrations/ckbox.js +1 -1
  76. package/src/integrations/codeblock.d.ts +17 -17
  77. package/src/integrations/codeblock.js +1 -1
  78. package/src/integrations/comments.d.ts +14 -14
  79. package/src/integrations/comments.js +1 -1
  80. package/src/integrations/deletecommand.d.ts +17 -17
  81. package/src/integrations/deletecommand.js +1 -1
  82. package/src/integrations/documentlist.d.ts +17 -17
  83. package/src/integrations/documentlist.js +1 -1
  84. package/src/integrations/documentlistproperties.d.ts +29 -29
  85. package/src/integrations/documentlistproperties.js +1 -1
  86. package/src/integrations/entercommand.d.ts +16 -16
  87. package/src/integrations/entercommand.js +1 -1
  88. package/src/integrations/findandreplace.d.ts +21 -21
  89. package/src/integrations/findandreplace.js +1 -1
  90. package/src/integrations/font.d.ts +17 -17
  91. package/src/integrations/font.js +1 -1
  92. package/src/integrations/formatpainter.d.ts +17 -17
  93. package/src/integrations/formatpainter.js +1 -1
  94. package/src/integrations/heading.d.ts +17 -17
  95. package/src/integrations/heading.js +1 -1
  96. package/src/integrations/highlight.d.ts +17 -17
  97. package/src/integrations/highlight.js +1 -1
  98. package/src/integrations/horizontalline.d.ts +17 -17
  99. package/src/integrations/horizontalline.js +1 -1
  100. package/src/integrations/htmlembed.d.ts +17 -17
  101. package/src/integrations/htmlembed.js +1 -1
  102. package/src/integrations/image.d.ts +17 -17
  103. package/src/integrations/image.js +1 -1
  104. package/src/integrations/imagereplace.d.ts +23 -23
  105. package/src/integrations/imagereplace.js +1 -1
  106. package/src/integrations/importword.d.ts +18 -18
  107. package/src/integrations/importword.js +1 -1
  108. package/src/integrations/indent.d.ts +17 -17
  109. package/src/integrations/indent.js +1 -1
  110. package/src/integrations/inputcommand.d.ts +16 -16
  111. package/src/integrations/inputcommand.js +1 -1
  112. package/src/integrations/link.d.ts +17 -17
  113. package/src/integrations/link.js +1 -1
  114. package/src/integrations/list.d.ts +17 -17
  115. package/src/integrations/list.js +1 -1
  116. package/src/integrations/listproperties.d.ts +29 -29
  117. package/src/integrations/listproperties.js +1 -1
  118. package/src/integrations/mediaembed.d.ts +17 -17
  119. package/src/integrations/mediaembed.js +1 -1
  120. package/src/integrations/mention.d.ts +17 -17
  121. package/src/integrations/mention.js +1 -1
  122. package/src/integrations/pagebreak.d.ts +17 -17
  123. package/src/integrations/pagebreak.js +1 -1
  124. package/src/integrations/paragraph.d.ts +17 -17
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.d.ts +17 -17
  127. package/src/integrations/removeformat.js +1 -1
  128. package/src/integrations/restrictededitingmode.d.ts +17 -17
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.d.ts +16 -16
  131. package/src/integrations/shiftentercommand.js +1 -1
  132. package/src/integrations/standardeditingmode.d.ts +17 -17
  133. package/src/integrations/standardeditingmode.js +1 -1
  134. package/src/integrations/style.d.ts +18 -18
  135. package/src/integrations/style.js +1 -1
  136. package/src/integrations/table.d.ts +42 -42
  137. package/src/integrations/table.js +1 -1
  138. package/src/integrations/tablecaption.d.ts +22 -22
  139. package/src/integrations/tablecaption.js +1 -1
  140. package/src/integrations/tableclipboard.d.ts +19 -19
  141. package/src/integrations/tableclipboard.js +1 -1
  142. package/src/integrations/tablecolumnresize.d.ts +26 -26
  143. package/src/integrations/tablecolumnresize.js +1 -1
  144. package/src/integrations/tableheadings.d.ts +22 -22
  145. package/src/integrations/tableheadings.js +1 -1
  146. package/src/integrations/tablemergesplit.d.ts +22 -22
  147. package/src/integrations/tablemergesplit.js +1 -1
  148. package/src/integrations/tableofcontents.d.ts +17 -17
  149. package/src/integrations/tableofcontents.js +1 -1
  150. package/src/integrations/tableproperties.d.ts +27 -27
  151. package/src/integrations/tableproperties.js +1 -1
  152. package/src/integrations/template.d.ts +17 -17
  153. package/src/integrations/template.js +1 -1
  154. package/src/integrations/title.d.ts +17 -17
  155. package/src/integrations/title.js +1 -1
  156. package/src/integrations/undo.d.ts +17 -17
  157. package/src/integrations/undo.js +1 -1
  158. package/src/integrations/utils.d.ts +21 -21
  159. package/src/integrations/utils.js +1 -1
  160. package/src/suggestion.d.ts +276 -276
  161. package/src/suggestion.js +1 -1
  162. package/src/suggestiondescriptionfactory.d.ts +163 -163
  163. package/src/suggestiondescriptionfactory.js +1 -1
  164. package/src/trackchanges.d.ts +244 -244
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +75 -75
  167. package/src/trackchangesdata.d.ts +41 -41
  168. package/src/trackchangesdata.js +1 -1
  169. package/src/trackchangesediting.d.ts +468 -439
  170. package/src/trackchangesediting.js +1 -1
  171. package/src/trackchangesui.d.ts +38 -38
  172. package/src/trackchangesui.js +1 -1
  173. package/src/ui/suggestioncontroller.d.ts +37 -37
  174. package/src/ui/suggestioncontroller.js +1 -1
  175. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  176. package/src/ui/view/basesuggestionthreadview.js +1 -1
  177. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  178. package/src/ui/view/suggestionthreadview.js +1 -1
  179. package/src/utils/common-translations.d.ts +9 -9
  180. package/src/utils/common-translations.js +1 -1
  181. package/src/utils/utils.d.ts +30 -30
  182. package/src/utils/utils.js +1 -1
  183. package/theme/icons/track-changes-accept.svg +1 -1
  184. package/theme/icons/track-changes-discard.svg +1 -1
  185. package/theme/icons/track-changes.svg +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 _0x59fc=['stop','options','has','downcastDispatcher','afterInit','media','showSuggestionHighlights','elementToElement','editor','mediaEmbed','high','ELEMENT_MEDIA','registerElementLabel','for','locale','attribute:url:media','div','data','plugins','_descriptionFactory','TrackChangesEditing'];(function(_0x118d70,_0x59fccf){const _0x527582=function(_0x32fad3){while(--_0x32fad3){_0x118d70['push'](_0x118d70['shift']());}};_0x527582(++_0x59fccf);}(_0x59fc,0xad));const _0x5275=function(_0x118d70,_0x59fccf){_0x118d70=_0x118d70-0x0;let _0x527582=_0x59fc[_0x118d70];return _0x527582;};import{Plugin as _0x428113}from'ckeditor5/src/core';import{getTranslation as _0x22a103}from'../utils/common-translations';export default class ot extends _0x428113{[_0x5275('0x14')](){const _0x54f347=this[_0x5275('0x3')];if(!_0x54f347['plugins'][_0x5275('0x12')]('MediaEmbedEditing'))return;const _0x1d1191=_0x54f347[_0x5275('0xd')]['get'](_0x5275('0xf')),_0x389ba1=_0x54f347[_0x5275('0x9')];_0x1d1191['enableCommand'](_0x5275('0x4')),_0x1d1191[_0x5275('0xe')][_0x5275('0x7')]('media',_0x277129=>_0x22a103(_0x389ba1,_0x5275('0x6'),_0x277129)),_0x54f347['conversion'][_0x5275('0x8')]('dataDowncast')[_0x5275('0x2')]({'model':_0x5275('0x0'),'view':(_0x5ec55b,{writer:_0x7652ac,options:_0x1b550e})=>{if(_0x1b550e[_0x5275('0x1')])return _0x7652ac['createEmptyElement'](_0x5275('0xb'));},'converterPriority':_0x5275('0x5')}),_0x54f347[_0x5275('0xc')][_0x5275('0x13')]['on'](_0x5275('0xa'),(_0x2380bb,_0x16a08e,_0x31f6b9)=>{_0x31f6b9[_0x5275('0x11')]['showSuggestionHighlights']&&_0x2380bb[_0x5275('0x10')]();},{'priority':_0x5275('0x5')});}}
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')});}}
@@ -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 _0x118e=['has','enableCommand','plugins','afterInit','get','mention'];(function(_0xe6297d,_0x118e2e){const _0x2ee26d=function(_0x4e1b12){while(--_0x4e1b12){_0xe6297d['push'](_0xe6297d['shift']());}};_0x2ee26d(++_0x118e2e);}(_0x118e,0xa0));const _0x2ee2=function(_0xe6297d,_0x118e2e){_0xe6297d=_0xe6297d-0x0;let _0x2ee26d=_0x118e[_0xe6297d];return _0x2ee26d;};import{Plugin as _0x3249b1}from'ckeditor5/src/core';export default class rt extends _0x3249b1{[_0x2ee2('0x5')](){const _0x4b29e1=this['editor'];_0x4b29e1['plugins'][_0x2ee2('0x2')]('MentionEditing')&&_0x4b29e1[_0x2ee2('0x4')][_0x2ee2('0x0')]('TrackChangesEditing')[_0x2ee2('0x3')](_0x2ee2('0x1'));}}
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'));}}
@@ -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 _0x3feb=['enableCommand','locale','plugins','PageBreakEditing','registerElementLabel','get','_descriptionFactory','ELEMENT_PAGE_BREAK','pageBreak'];(function(_0x4c67f7,_0x3febb3){const _0x4122b7=function(_0xb431b9){while(--_0xb431b9){_0x4c67f7['push'](_0x4c67f7['shift']());}};_0x4122b7(++_0x3febb3);}(_0x3feb,0x1a5));const _0x4122=function(_0x4c67f7,_0x3febb3){_0x4c67f7=_0x4c67f7-0x0;let _0x4122b7=_0x3feb[_0x4c67f7];return _0x4122b7;};import{Plugin as _0xdf113c}from'ckeditor5/src/core';import{getTranslation as _0xce5483}from'../utils/common-translations';export default class at extends _0xdf113c{['afterInit'](){const _0x28f019=this['editor'];if(!_0x28f019['plugins']['has'](_0x4122('0x5')))return;_0x28f019[_0x4122('0x4')][_0x4122('0x7')]('TrackChangesEditing')[_0x4122('0x2')](_0x4122('0x1'));const _0x445e95=_0x28f019[_0x4122('0x4')]['get']('TrackChangesEditing'),_0x272665=_0x28f019[_0x4122('0x3')];_0x445e95[_0x4122('0x8')][_0x4122('0x6')]('pageBreak',_0x58a077=>_0xce5483(_0x272665,_0x4122('0x0'),_0x58a077));}}
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));}}
@@ -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 _0x4a21=['nodeAfter','isLimit','*Change\x20to:*\x20%0','isTouching','isObject','from','editor','createUIElement','Paragraph','mapper','consume','bindElementToMarker','ELEMENT_PARAGRAPH','markerRange','end','addMarker:suggestion:insertion','registerElementLabel','consumable','getFirstRange','markerName','includes','editing','toViewPosition','*Insert:*\x20%0','afterInit','change','span','insertParagraph','ck-suggestion-marker--active','data','plugins','commandName','getItemLabel','registerDescriptionCallback','enableCommand','highest','showSuggestionHighlights','getSelectedBlocks','ck-suggestion-marker-split','addClass','blockName','selection','isBlock','$text','format','checkChild','model','start','options','filter','get','schema','writer','markBlockFormat','_descriptionFactory','paragraph','TrackChangesEditing'];(function(_0x186c3a,_0x4a211a){const _0x98b28f=function(_0x5e9440){while(--_0x5e9440){_0x186c3a['push'](_0x186c3a['shift']());}};_0x98b28f(++_0x4a211a);}(_0x4a21,0xca));const _0x98b2=function(_0x186c3a,_0x4a211a){_0x186c3a=_0x186c3a-0x0;let _0x98b28f=_0x4a21[_0x186c3a];return _0x98b28f;};import{Plugin as _0x2b63d2}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x569380}from'./utils';import{getTranslation as _0x31abf3}from'../utils/common-translations';export default class ct extends _0x2b63d2{[_0x98b2('0x32')](){const _0x4f5639=this[_0x98b2('0x20')];if(!_0x4f5639[_0x98b2('0x38')]['has'](_0x98b2('0x22')))return;const _0xb60c50=_0x4f5639['locale'],_0x424b09=_0x4f5639[_0x98b2('0x38')][_0x98b2('0x13')](_0x98b2('0x19'));_0x424b09[_0x98b2('0x17')][_0x98b2('0x2a')](_0x98b2('0x18'),_0x28e25a=>_0x31abf3(_0xb60c50,_0x98b2('0x26'),_0x28e25a)),_0x424b09[_0x98b2('0x3')](_0x98b2('0x18'),(_0x22de89,_0x226303={})=>{const _0x1091e2=_0x4f5639[_0x98b2('0xf')]['document'],_0x3d8644=_0x226303[_0x98b2('0xa')]||_0x1091e2[_0x98b2('0xa')],_0x489916=Array[_0x98b2('0x1f')](_0x3d8644[_0x98b2('0x6')]())[_0x98b2('0x12')](_0x5aa37c=>function(_0xc22f21,_0x21b192){return _0x21b192[_0x98b2('0xe')](_0xc22f21['parent'],_0x98b2('0x18'))&&!_0x21b192[_0x98b2('0x1e')](_0xc22f21)&&_0x98b2('0x18')!=_0xc22f21['name'];}(_0x5aa37c,this['editor'][_0x98b2('0xf')]['schema']));_0x4f5639[_0x98b2('0xf')][_0x98b2('0x33')](()=>{for(const _0x58aac5 of _0x489916)_0x424b09[_0x98b2('0x16')](_0x58aac5,{'commandName':_0x98b2('0x18'),'commandParams':[],'formatGroupId':_0x98b2('0x9')},_0x569380(_0x58aac5));});}),_0x424b09[_0x98b2('0x17')][_0x98b2('0x2')](_0x452f73=>{const {data:_0x4d1508}=_0x452f73;if(_0x4d1508&&_0x98b2('0x18')==_0x4d1508[_0x98b2('0x0')])return{'type':_0x98b2('0xd'),'content':_0x31abf3(_0xb60c50,_0x98b2('0x1c'),_0x31abf3(_0xb60c50,_0x98b2('0x26')))};}),_0x424b09[_0x98b2('0x3')](_0x98b2('0x35')),_0x4f5639[_0x98b2('0x2f')]['downcastDispatcher']['on'](_0x98b2('0x29'),ar(_0x4f5639),{'priority':'highest'}),_0x4f5639[_0x98b2('0x37')]['downcastDispatcher']['on'](_0x98b2('0x29'),(_0x34a893,_0x1ad410,_0x45f553)=>{_0x45f553[_0x98b2('0x11')][_0x98b2('0x5')]&&ar(_0x4f5639,{'showActiveMarker':!0x1})(_0x34a893,_0x1ad410,_0x45f553);},{'priority':_0x98b2('0x4')});const _0x2779d6=_0x424b09[_0x98b2('0x17')];_0x2779d6[_0x98b2('0x2')](_0x2c8fa6=>{if('insertion'!==_0x2c8fa6['type'])return;const {start:_0x3ce049,end:_0xe18ff6}=_0x2c8fa6[_0x98b2('0x2c')]();if(!_0x3ce049['isTouching'](_0xe18ff6)||!_0x3ce049[_0x98b2('0x1a')])return;const _0xb05f7b=_0x4f5639[_0x98b2('0xf')][_0x98b2('0x14')],_0x183b5c=_0x3ce049[_0x98b2('0x1a')];return _0xb05f7b[_0x98b2('0xb')](_0x183b5c)&&!_0xb05f7b[_0x98b2('0x1b')](_0x183b5c)&&_0xb05f7b['checkChild'](_0x183b5c,_0x98b2('0xc'))?{'type':'insertion','content':_0x31abf3(_0xb60c50,_0x98b2('0x31'),_0x2779d6[_0x98b2('0x1')](_0x183b5c,0x1))}:void 0x0;});}}function ar(_0x18d60d,{showActiveMarker:_0x3c5712=!0x0}={}){return(_0x3e86dc,_0x34d6b6,_0x471f62)=>{const _0x2df365=_0x18d60d['plugins'][_0x98b2('0x13')](_0x98b2('0x19')),_0x36dbc2=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x10')],_0x14a5f4=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x28')],_0x237171=_0x18d60d[_0x98b2('0xf')]['schema'];if(!_0x36dbc2[_0x98b2('0x1d')](_0x14a5f4)||!_0x36dbc2['nodeAfter'])return;const _0x37f906=_0x36dbc2[_0x98b2('0x1a')];if(_0x237171[_0x98b2('0xb')](_0x37f906)&&!_0x237171[_0x98b2('0x1b')](_0x37f906)&&_0x237171[_0x98b2('0xe')](_0x37f906,_0x98b2('0xc'))){if(!_0x471f62[_0x98b2('0x2b')][_0x98b2('0x24')](_0x34d6b6['markerRange'],_0x3e86dc['name']))return;const _0x5d9972=_0x471f62[_0x98b2('0x15')][_0x98b2('0x21')](_0x98b2('0x34'),{'class':_0x98b2('0x7')}),_0xf88720=_0x471f62['mapper'][_0x98b2('0x30')](_0x14a5f4);_0x3c5712&&_0x2df365['activeMarkers'][_0x98b2('0x2e')](_0x34d6b6[_0x98b2('0x2d')])&&_0x471f62[_0x98b2('0x15')][_0x98b2('0x8')](_0x98b2('0x36'),_0x5d9972),_0x471f62[_0x98b2('0x15')]['insert'](_0xf88720,_0x5d9972),_0x471f62[_0x98b2('0x23')][_0x98b2('0x25')](_0x5d9972,_0x34d6b6[_0x98b2('0x2d')]);}};}
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')]);}};}
@@ -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 _0x58cb=['RemoveFormatEditing','has','getAttributeProperties','_descriptionFactory','schema','commandName','removeFormat','model','format','change','isFormatting','get','from','selection','getRanges','getAttributes','isCollapsed','plugins','editor'];(function(_0x46dc97,_0x58cbbe){const _0x3cf9ad=function(_0x8350f8){while(--_0x8350f8){_0x46dc97['push'](_0x46dc97['shift']());}};_0x3cf9ad(++_0x58cbbe);}(_0x58cb,0x18d));const _0x3cf9=function(_0x46dc97,_0x58cbbe){_0x46dc97=_0x46dc97-0x0;let _0x3cf9ad=_0x58cb[_0x46dc97];return _0x3cf9ad;};import{Plugin as _0x234998}from'ckeditor5/src/core';import{getTranslation as _0x36e952}from'../utils/common-translations';export default class ht extends _0x234998{['afterInit'](){const _0x500441=this[_0x3cf9('0x1')];if(!_0x500441[_0x3cf9('0x0')][_0x3cf9('0x3')](_0x3cf9('0x2')))return;const _0x5cdd32=_0x500441[_0x3cf9('0x0')][_0x3cf9('0xd')]('TrackChangesEditing');_0x5cdd32['enableCommand'](_0x3cf9('0x8'),_0x2f5486=>{const _0x3ff11b=_0x500441['model']['document'][_0x3cf9('0xf')];_0x3ff11b[_0x3cf9('0x12')]?_0x2f5486():_0x500441[_0x3cf9('0x9')][_0x3cf9('0xb')](()=>{const _0x5cb4ca=Array[_0x3cf9('0xe')](_0x3ff11b[_0x3cf9('0x10')]());for(const _0x15fdf4 of _0x5cb4ca)for(const _0x542269 of _0x15fdf4['getItems']())eo(_0x542269,_0x500441[_0x3cf9('0x9')][_0x3cf9('0x6')])&&_0x5cdd32['markInlineFormat'](_0x500441[_0x3cf9('0x9')]['createRangeOn'](_0x542269),{'commandName':'removeFormat','commandParams':[]});});}),_0x5cdd32[_0x3cf9('0x5')]['registerDescriptionCallback'](_0x3e5f8e=>{const {data:_0x8c90a3}=_0x3e5f8e;if(_0x8c90a3&&_0x3cf9('0x8')==_0x8c90a3[_0x3cf9('0x7')])return{'type':_0x3cf9('0xa'),'content':_0x36e952(_0x500441['locale'],'*Remove\x20all\x20formatting*')};});}}function eo(_0x55a6cd,_0x4c4a77){for(const [_0x444ea6]of _0x55a6cd[_0x3cf9('0x11')]()){const _0x30ba83=_0x4c4a77[_0x3cf9('0x4')](_0x444ea6);if(_0x30ba83&&_0x30ba83[_0x3cf9('0xc')])return!0x0;}return!0x1;}
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;}
@@ -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 _0x7785=['goToNextRestrictedEditingException','RestrictedEditingModeEditing','plugins','discardAllSuggestions','trackChanges','discardSelectedSuggestions','discardSuggestion','acceptSuggestion','goToPreviousRestrictedEditingException','acceptAllSuggestions','TrackChangesEditing','enableCommand','get','has'];(function(_0xb6218d,_0x7785bc){const _0x4dcca4=function(_0x4824a3){while(--_0x4824a3){_0xb6218d['push'](_0xb6218d['shift']());}};_0x4dcca4(++_0x7785bc);}(_0x7785,0x93));const _0x4dcc=function(_0xb6218d,_0x7785bc){_0xb6218d=_0xb6218d-0x0;let _0x4dcca4=_0x7785[_0xb6218d];return _0x4dcca4;};import{Plugin as _0x129a43}from'ckeditor5/src/core';export default class ut extends _0x129a43{['afterInit'](){const _0x329eb4=this['editor'];if(!_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x6')](_0x4dcc('0x8')))return;const _0x51594b=_0x329eb4['plugins'][_0x4dcc('0x5')](_0x4dcc('0x3'));_0x51594b[_0x4dcc('0x4')](_0x4dcc('0x1')),_0x51594b['enableCommand'](_0x4dcc('0x7'));const _0x10f99c=_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x5')](_0x4dcc('0x8'));_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xb')),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0x0')),_0x10f99c['enableCommand'](_0x4dcc('0xd')),_0x10f99c['enableCommand'](_0x4dcc('0x2')),_0x10f99c['enableCommand'](_0x4dcc('0xa')),_0x10f99c[_0x4dcc('0x4')]('acceptSelectedSuggestions'),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xc'));}}
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'));}}
@@ -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 _0xa9de=['downcastDispatcher','ck-suggestion-marker--active','includes','enableCommand','data','createUIElement','ELEMENT_LINE_BREAK','requires','TrackChangesEditing','span','addMarker:suggestion:insertion','locale','editing','high','editor','name','plugins','markerName','ck-suggestion-marker-','showSuggestionHighlights','addMarker:suggestion:deletion','split','options','softBreak','mapper','_descriptionFactory','bindElementToMarker','merge','get','addMarker:suggestion','getItems','writer','consumable'];(function(_0x21438c,_0xa9de12){const _0x6cb30=function(_0x48aadc){while(--_0x48aadc){_0x21438c['push'](_0x21438c['shift']());}};_0x6cb30(++_0xa9de12);}(_0xa9de,0xef));const _0x6cb3=function(_0x21438c,_0xa9de12){_0x21438c=_0x21438c-0x0;let _0x6cb30=_0xa9de[_0x21438c];return _0x6cb30;};import{Plugin as _0x2edf58}from'ckeditor5/src/core';import{ShiftEnter as _0x295317}from'ckeditor5/src/enter';import{getTranslation as _0x10a4d8}from'../utils/common-translations';export default class ft extends _0x2edf58{static get[_0x6cb3('0x20')](){return[_0x295317];}['init'](){const _0x3eef19=this[_0x6cb3('0x6')],_0x182c5f=_0x3eef19[_0x6cb3('0x8')]['get'](_0x6cb3('0x0'));_0x182c5f[_0x6cb3('0x1c')]('shiftEnter'),_0x3eef19[_0x6cb3('0x4')][_0x6cb3('0x19')]['on'](_0x6cb3('0x2'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19['editing']['downcastDispatcher']['on'](_0x6cb3('0xc'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19[_0x6cb3('0x1d')][_0x6cb3('0x19')]['on'](_0x6cb3('0x15'),(_0x58a594,_0x39c983,_0x41ebb4)=>{_0x41ebb4[_0x6cb3('0xe')][_0x6cb3('0xb')]&&re(_0x3eef19,{'showActiveMarker':!0x1})(_0x58a594,_0x39c983,_0x41ebb4);}),_0x182c5f[_0x6cb3('0x11')]['registerElementLabel'](_0x6cb3('0xf'),_0xb87719=>_0x10a4d8(_0x3eef19[_0x6cb3('0x3')],_0x6cb3('0x1f'),_0xb87719));}}function re(_0x233732,{showActiveMarker:_0x21dbbf=!0x0}={}){return(_0x49ab9d,_0x1fbefd,_0x1f0204)=>{const _0x2e147f=_0x233732[_0x6cb3('0x8')][_0x6cb3('0x14')]('TrackChangesEditing');if(!_0x1f0204[_0x6cb3('0x18')]['test'](_0x1fbefd['markerRange'],_0x49ab9d[_0x6cb3('0x7')]))return;const _0x32e7ff=_0x233732['model'];for(const _0x1da7bd of _0x1fbefd['markerRange'][_0x6cb3('0x16')]()){if(!_0x1da7bd['is']('element',_0x6cb3('0xf')))continue;const _0x213570='deletion'==_0x1fbefd['markerName']['split'](':')[0x1]?_0x6cb3('0x13'):_0x6cb3('0xd'),_0x234f48=_0x1f0204[_0x6cb3('0x17')][_0x6cb3('0x1e')](_0x6cb3('0x1'),{'class':_0x6cb3('0xa')+_0x213570}),_0x2197f3=_0x1f0204[_0x6cb3('0x10')]['toViewPosition'](_0x32e7ff['createPositionBefore'](_0x1da7bd));_0x21dbbf&&_0x2e147f['activeMarkers'][_0x6cb3('0x1b')](_0x1fbefd[_0x6cb3('0x9')])&&_0x1f0204[_0x6cb3('0x17')]['addClass'](_0x6cb3('0x1a'),_0x234f48),_0x1f0204['writer']['insert'](_0x2197f3,_0x234f48),_0x1f0204[_0x6cb3('0x10')][_0x6cb3('0x12')](_0x234f48,_0x1fbefd[_0x6cb3('0x9')]);}};}
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']);}};}
@@ -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 _0x40df=['model','_descriptionFactory','commands','value','isCollapsed','format','enableCommand','restrictedEditingException','plugins','commandName','document','FORMAT_RESTRICTED_DISABLED','get','editor','selection','forceValue','has','TrackChangesEditing'];(function(_0x1107e2,_0x40df9b){const _0x486e86=function(_0x41976c){while(--_0x41976c){_0x1107e2['push'](_0x1107e2['shift']());}};_0x486e86(++_0x40df9b);}(_0x40df,0xab));const _0x486e=function(_0x1107e2,_0x40df9b){_0x1107e2=_0x1107e2-0x0;let _0x486e86=_0x40df[_0x1107e2];return _0x486e86;};import{Plugin as _0x5c3156}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x35ba74}from'./utils';import{getTranslation as _0x577dd8}from'../utils/common-translations';export default class lt extends _0x5c3156{['afterInit'](){const _0xf5bce7=this[_0x486e('0x4')],_0x135ba0=_0xf5bce7[_0x486e('0x9')],_0x22b679=_0xf5bce7['locale'];if(!_0xf5bce7[_0x486e('0x11')][_0x486e('0x7')]('StandardEditingModeEditing'))return;const _0x59d714=_0xf5bce7[_0x486e('0x11')]['get'](_0x486e('0x8')),_0x40b004=_0x486e('0x10'),_0x28afa6=_0xf5bce7[_0x486e('0xb')][_0x486e('0x3')](_0x40b004);_0x59d714[_0x486e('0xf')](_0x40b004,(_0x3dda67,_0x1bfc1c={})=>{const _0xc8680c=_0x135ba0[_0x486e('0x1')][_0x486e('0x5')];if(_0xc8680c[_0x486e('0xd')])return void _0x3dda67(_0x1bfc1c);const _0x22b2bc=void 0x0!==_0x1bfc1c[_0x486e('0x6')]?_0x1bfc1c['forceValue']:!_0x28afa6[_0x486e('0xc')];_0x135ba0['change'](()=>{const _0x3f452f=Array['from'](_0xc8680c['getRanges']());for(const _0x3769d3 of _0x3f452f){const _0x3fdc75=_0x22b2bc?[_0x3769d3]:_0x35ba74(_0x40b004,_0x3769d3,_0x135ba0);for(const _0x97b48e of _0x3fdc75)_0x59d714['markInlineFormat'](_0x97b48e,{'commandName':_0x40b004,'commandParams':[{'forceValue':_0x22b2bc}]});}});}),_0x59d714[_0x486e('0xa')]['registerDescriptionCallback'](_0x599ae6=>{const {data:_0x3896ed}=_0x599ae6;if(_0x3896ed&&_0x3896ed[_0x486e('0x0')]==_0x40b004)return _0x3896ed['commandParams'][0x0][_0x486e('0x6')]?{'type':_0x486e('0xe'),'content':_0x577dd8(_0x22b679,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x577dd8(_0x22b679,_0x486e('0x2'))};});}}
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'))};});}}
@@ -1,18 +1,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
- * @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
+ * @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
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d4b=['document','*Remove\x20format:*\x20%0','TrackChangesEditing','_descriptionFactory','classes','from','modelElements','DataSchema','element','push','enabledStyles','change','getRanges','*Format:*\x20%0','has','locale','plugins','block','getAttribute','_getRangesWithClasses','config','getSelectedBlocks','getDefinitionsForView','afterInit','toLowerCase','_getStyleDefinition','markInlineFormat','Style','includes','find','name','every','isBlock','createRangeOn','enableCommand','commandName','add','commandParams','style:','model','styleName','selection','normalizeConfig','inline','StyleUtils','editor','style','get'];(function(_0x405785,_0x5d4bf0){const _0x4e41d2=function(_0x2f50fb){while(--_0x2f50fb){_0x405785['push'](_0x405785['shift']());}};_0x4e41d2(++_0x5d4bf0);}(_0x5d4b,0x172));const _0x4e41=function(_0x405785,_0x5d4bf0){_0x405785=_0x405785-0x0;let _0x4e41d2=_0x5d4b[_0x405785];return _0x4e41d2;};import{Plugin as _0x7d49ac}from'ckeditor5/src/core';import{getTranslation as _0x46a3d0}from'../utils/common-translations';export default class gt extends _0x7d49ac{[_0x4e41('0x25')](){const _0x4a96d4=this[_0x4e41('0xb')];if(!_0x4a96d4['plugins'][_0x4e41('0x1c')](_0x4e41('0x29')))return;const _0x30ecfd=_0x4a96d4['commands'][_0x4e41('0xd')](_0x4e41('0xc')),_0x2c8cff=_0x4a96d4[_0x4e41('0x1e')]['get'](_0x4e41('0x10')),_0x1adf74=_0x4a96d4[_0x4e41('0x1d')],_0x3753bc=_0x4a96d4['plugins'][_0x4e41('0xd')](_0x4e41('0x15')),_0x26759d=_0x4a96d4[_0x4e41('0x1e')]['get'](_0x4e41('0xa'))[_0x4e41('0x8')](_0x3753bc,_0x4a96d4[_0x4e41('0x22')]['get']('style.definitions'));_0x2c8cff[_0x4e41('0x0')]('style',(_0x393f27,{styleName:_0x485119})=>{const _0x46b99f=_0x4a96d4[_0x4e41('0x5')][_0x4e41('0xe')][_0x4e41('0x7')],_0x4725cb=this[_0x4e41('0x27')](_0x485119,_0x26759d);if(!_0x4725cb)return;if(!_0x30ecfd[_0x4e41('0x18')]['includes'](_0x485119))return;if(_0x46b99f['isCollapsed']&&!_0x4725cb['isBlock'])return void _0x393f27({'styleName':_0x485119});const _0x45dd1d=!_0x30ecfd['value'][_0x4e41('0x2a')](_0x4725cb[_0x4e41('0x2c')]);if(_0x4725cb[_0x4e41('0x2e')]){const _0x537285=function(_0x31586e,_0xc00b93){const _0x112041=new Set();for(const _0x2d8a1c of _0x31586e){const _0x28a406=_0x2d8a1c['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0xb7652b of _0x28a406)if(_0xc00b93[_0x4e41('0x2a')](_0xb7652b[_0x4e41('0x2c')])){_0x112041[_0x4e41('0x2')](_0xb7652b);break;}}return _0x112041;}(_0x46b99f[_0x4e41('0x23')](),_0x4725cb[_0x4e41('0x14')]);_0x4a96d4[_0x4e41('0x5')][_0x4e41('0x19')](()=>{for(const _0xe6faa6 of _0x537285)_0x2c8cff['markBlockFormat'](_0xe6faa6,{'commandName':'style','commandParams':[{'styleName':_0x485119,'forceValue':_0x45dd1d}],'formatGroupId':_0x4e41('0x4')+_0x485119});});}else{let _0x19af19=Array[_0x4e41('0x13')](_0x46b99f[_0x4e41('0x1a')]());if(!_0x45dd1d){const _0x14eedc=Array[_0x4e41('0x13')](_0x3753bc[_0x4e41('0x24')](_0x4725cb[_0x4e41('0x16')],!0x1))[0x0][_0x4e41('0x5')],_0x1d3f9e=[];for(const _0x3721b2 of _0x19af19){const _0x2f2ab7=this[_0x4e41('0x21')](_0x4a96d4[_0x4e41('0x5')],_0x3721b2,_0x4725cb[_0x4e41('0x12')],_0x14eedc);_0x1d3f9e[_0x4e41('0x17')](..._0x2f2ab7);}_0x19af19=_0x1d3f9e;}_0x4a96d4[_0x4e41('0x5')][_0x4e41('0x19')](()=>{for(const _0xecf3c1 of _0x19af19)_0x2c8cff[_0x4e41('0x28')](_0xecf3c1,{'commandName':_0x4e41('0xc'),'commandParams':[{'styleName':_0x485119,'forceValue':_0x45dd1d}]});});}}),_0x2c8cff[_0x4e41('0x11')]['registerDescriptionCallback'](_0x559d41=>{const {data:_0x54b502}=_0x559d41;if(_0x54b502&&_0x4e41('0xc')===_0x54b502[_0x4e41('0x1')])return _0x54b502[_0x4e41('0x3')][0x0]['forceValue']?{'type':'format','content':_0x46a3d0(_0x1adf74,_0x4e41('0x1b'),_0x54b502[_0x4e41('0x3')][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x46a3d0(_0x1adf74,_0x4e41('0xf'),_0x54b502[_0x4e41('0x3')][0x0][_0x4e41('0x6')][_0x4e41('0x26')]())};});}[_0x4e41('0x27')](_0x3fd153,_0x5a8d9){let _0x118f2b=_0x5a8d9[_0x4e41('0x1f')][_0x4e41('0x2b')](_0x436dfb=>_0x436dfb['name']===_0x3fd153);return _0x118f2b||(_0x118f2b=_0x5a8d9[_0x4e41('0x9')][_0x4e41('0x2b')](_0x1e0081=>_0x1e0081[_0x4e41('0x2c')]===_0x3fd153)),_0x118f2b;}['_getRangesWithClasses'](_0x15582b,_0x2f1b7c,_0x5a9587,_0x359b83){const _0x584d9c=[];for(const _0x420c48 of _0x2f1b7c['getItems']()){const _0x336694=_0x420c48[_0x4e41('0x20')](_0x359b83);_0x336694&&(_0x5a9587[_0x4e41('0x2d')](_0x4e5705=>_0x336694[_0x4e41('0x12')][_0x4e41('0x2a')](_0x4e5705))&&_0x584d9c[_0x4e41('0x17')](_0x15582b[_0x4e41('0x2f')](_0x420c48)));}return _0x584d9c;}}
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;}}