@ckeditor/ckeditor5-track-changes 40.0.0 → 40.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/LICENSE.md +3 -3
  2. package/build/track-changes.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de.js +1 -1
  11. package/build/translations/el.js +1 -1
  12. package/build/translations/en-au.js +1 -1
  13. package/build/translations/es.js +1 -1
  14. package/build/translations/et.js +1 -1
  15. package/build/translations/fi.js +1 -1
  16. package/build/translations/fr.js +1 -1
  17. package/build/translations/gl.js +1 -1
  18. package/build/translations/he.js +1 -1
  19. package/build/translations/hi.js +1 -1
  20. package/build/translations/hr.js +1 -1
  21. package/build/translations/hu.js +1 -1
  22. package/build/translations/id.js +1 -1
  23. package/build/translations/it.js +1 -1
  24. package/build/translations/ja.js +1 -1
  25. package/build/translations/ko.js +1 -1
  26. package/build/translations/lt.js +1 -1
  27. package/build/translations/lv.js +1 -1
  28. package/build/translations/ms.js +1 -1
  29. package/build/translations/nl.js +1 -1
  30. package/build/translations/no.js +1 -1
  31. package/build/translations/pl.js +1 -1
  32. package/build/translations/pt-br.js +1 -1
  33. package/build/translations/pt.js +1 -1
  34. package/build/translations/ro.js +1 -1
  35. package/build/translations/ru.js +1 -1
  36. package/build/translations/sk.js +1 -1
  37. package/build/translations/sq.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/lang/contexts.json +20 -1
  51. package/lang/translations/ar.po +76 -0
  52. package/lang/translations/az.po +76 -0
  53. package/lang/translations/bg.po +76 -0
  54. package/lang/translations/bn.po +76 -0
  55. package/lang/translations/ca.po +76 -0
  56. package/lang/translations/cs.po +76 -0
  57. package/lang/translations/da.po +76 -0
  58. package/lang/translations/de.po +76 -0
  59. package/lang/translations/el.po +76 -0
  60. package/lang/translations/en-au.po +76 -0
  61. package/lang/translations/en.po +76 -0
  62. package/lang/translations/es.po +76 -0
  63. package/lang/translations/et.po +76 -0
  64. package/lang/translations/fi.po +76 -0
  65. package/lang/translations/fr.po +76 -0
  66. package/lang/translations/gl.po +76 -0
  67. package/lang/translations/he.po +76 -0
  68. package/lang/translations/hi.po +76 -0
  69. package/lang/translations/hr.po +76 -0
  70. package/lang/translations/hu.po +76 -0
  71. package/lang/translations/id.po +76 -0
  72. package/lang/translations/it.po +76 -0
  73. package/lang/translations/ja.po +76 -0
  74. package/lang/translations/ko.po +76 -0
  75. package/lang/translations/lt.po +76 -0
  76. package/lang/translations/lv.po +76 -0
  77. package/lang/translations/ms.po +76 -0
  78. package/lang/translations/nl.po +76 -0
  79. package/lang/translations/no.po +76 -0
  80. package/lang/translations/pl.po +76 -0
  81. package/lang/translations/pt-br.po +94 -18
  82. package/lang/translations/pt.po +76 -0
  83. package/lang/translations/ro.po +76 -0
  84. package/lang/translations/ru.po +76 -0
  85. package/lang/translations/sk.po +76 -0
  86. package/lang/translations/sq.po +76 -0
  87. package/lang/translations/sr-latn.po +76 -0
  88. package/lang/translations/sr.po +76 -0
  89. package/lang/translations/sv.po +76 -0
  90. package/lang/translations/th.po +76 -0
  91. package/lang/translations/tk.po +76 -0
  92. package/lang/translations/tr.po +76 -0
  93. package/lang/translations/tt.po +76 -0
  94. package/lang/translations/uk.po +76 -0
  95. package/lang/translations/ur.po +76 -0
  96. package/lang/translations/vi.po +76 -0
  97. package/lang/translations/zh-cn.po +76 -0
  98. package/lang/translations/zh.po +76 -0
  99. package/package.json +3 -3
  100. package/src/augmentation.d.ts +40 -40
  101. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  102. package/src/commands/acceptsuggestioncommand.js +1 -1
  103. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  104. package/src/commands/discardsuggestioncommand.js +1 -1
  105. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  106. package/src/commands/executeonallsuggestionscommand.js +1 -1
  107. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  108. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  109. package/src/commands/trackchangescommand.d.ts +26 -26
  110. package/src/commands/trackchangescommand.js +1 -1
  111. package/src/index.d.ts +16 -16
  112. package/src/integrations/aiassistant.d.ts +17 -17
  113. package/src/integrations/aiassistant.js +1 -1
  114. package/src/integrations/alignment.d.ts +17 -17
  115. package/src/integrations/alignment.js +1 -1
  116. package/src/integrations/basicstyles.d.ts +17 -17
  117. package/src/integrations/basicstyles.js +1 -1
  118. package/src/integrations/blockquote.d.ts +17 -17
  119. package/src/integrations/blockquote.js +1 -1
  120. package/src/integrations/ckbox.d.ts +17 -17
  121. package/src/integrations/ckbox.js +1 -1
  122. package/src/integrations/codeblock.d.ts +17 -17
  123. package/src/integrations/codeblock.js +1 -1
  124. package/src/integrations/comments.d.ts +14 -14
  125. package/src/integrations/comments.js +1 -1
  126. package/src/integrations/deletecommand.d.ts +17 -17
  127. package/src/integrations/deletecommand.js +1 -1
  128. package/src/integrations/documentlist.d.ts +17 -17
  129. package/src/integrations/documentlist.js +1 -1
  130. package/src/integrations/documentlistproperties.d.ts +29 -29
  131. package/src/integrations/documentlistproperties.js +1 -1
  132. package/src/integrations/entercommand.d.ts +16 -16
  133. package/src/integrations/entercommand.js +1 -1
  134. package/src/integrations/findandreplace.d.ts +21 -21
  135. package/src/integrations/findandreplace.js +1 -1
  136. package/src/integrations/font.d.ts +17 -17
  137. package/src/integrations/font.js +1 -1
  138. package/src/integrations/formatpainter.d.ts +17 -17
  139. package/src/integrations/formatpainter.js +1 -1
  140. package/src/integrations/heading.d.ts +17 -17
  141. package/src/integrations/heading.js +1 -1
  142. package/src/integrations/highlight.d.ts +17 -17
  143. package/src/integrations/highlight.js +1 -1
  144. package/src/integrations/horizontalline.d.ts +17 -17
  145. package/src/integrations/horizontalline.js +1 -1
  146. package/src/integrations/htmlembed.d.ts +17 -17
  147. package/src/integrations/htmlembed.js +1 -1
  148. package/src/integrations/image.d.ts +17 -17
  149. package/src/integrations/image.js +1 -1
  150. package/src/integrations/imagereplace.d.ts +17 -23
  151. package/src/integrations/imagereplace.js +1 -1
  152. package/src/integrations/imagestyle.d.ts +17 -0
  153. package/src/integrations/imagestyle.js +23 -0
  154. package/src/integrations/importword.d.ts +18 -18
  155. package/src/integrations/importword.js +1 -1
  156. package/src/integrations/indent.d.ts +17 -17
  157. package/src/integrations/indent.js +1 -1
  158. package/src/integrations/inputcommand.d.ts +16 -16
  159. package/src/integrations/inputcommand.js +1 -1
  160. package/src/integrations/link.d.ts +17 -17
  161. package/src/integrations/link.js +1 -1
  162. package/src/integrations/list.d.ts +17 -17
  163. package/src/integrations/list.js +1 -1
  164. package/src/integrations/listproperties.d.ts +29 -29
  165. package/src/integrations/listproperties.js +1 -1
  166. package/src/integrations/mediaembed.d.ts +17 -17
  167. package/src/integrations/mediaembed.js +1 -1
  168. package/src/integrations/mention.d.ts +17 -17
  169. package/src/integrations/mention.js +1 -1
  170. package/src/integrations/pagebreak.d.ts +17 -17
  171. package/src/integrations/pagebreak.js +1 -1
  172. package/src/integrations/paragraph.d.ts +17 -17
  173. package/src/integrations/paragraph.js +1 -1
  174. package/src/integrations/removeformat.d.ts +17 -17
  175. package/src/integrations/removeformat.js +1 -1
  176. package/src/integrations/restrictededitingmode.d.ts +17 -17
  177. package/src/integrations/restrictededitingmode.js +1 -1
  178. package/src/integrations/shiftentercommand.d.ts +16 -16
  179. package/src/integrations/shiftentercommand.js +1 -1
  180. package/src/integrations/standardeditingmode.d.ts +17 -17
  181. package/src/integrations/standardeditingmode.js +1 -1
  182. package/src/integrations/style.d.ts +17 -18
  183. package/src/integrations/style.js +1 -1
  184. package/src/integrations/table.d.ts +42 -42
  185. package/src/integrations/table.js +1 -1
  186. package/src/integrations/tablecaption.d.ts +22 -22
  187. package/src/integrations/tablecaption.js +1 -1
  188. package/src/integrations/tableclipboard.d.ts +19 -19
  189. package/src/integrations/tableclipboard.js +1 -1
  190. package/src/integrations/tablecolumnresize.d.ts +26 -26
  191. package/src/integrations/tablecolumnresize.js +1 -1
  192. package/src/integrations/tableheadings.d.ts +22 -22
  193. package/src/integrations/tableheadings.js +1 -1
  194. package/src/integrations/tablemergesplit.d.ts +22 -22
  195. package/src/integrations/tablemergesplit.js +1 -1
  196. package/src/integrations/tableofcontents.d.ts +17 -17
  197. package/src/integrations/tableofcontents.js +1 -1
  198. package/src/integrations/tableproperties.d.ts +27 -27
  199. package/src/integrations/tableproperties.js +1 -1
  200. package/src/integrations/template.d.ts +17 -17
  201. package/src/integrations/template.js +1 -1
  202. package/src/integrations/title.d.ts +17 -17
  203. package/src/integrations/title.js +1 -1
  204. package/src/integrations/undo.d.ts +17 -17
  205. package/src/integrations/undo.js +1 -1
  206. package/src/integrations/utils.d.ts +21 -21
  207. package/src/integrations/utils.js +1 -1
  208. package/src/suggestion.d.ts +291 -276
  209. package/src/suggestion.js +1 -1
  210. package/src/suggestiondescriptionfactory.d.ts +183 -163
  211. package/src/suggestiondescriptionfactory.js +1 -1
  212. package/src/trackchanges.d.ts +180 -244
  213. package/src/trackchanges.js +1 -1
  214. package/src/trackchangesconfig.d.ts +78 -75
  215. package/src/trackchangesdata.d.ts +41 -41
  216. package/src/trackchangesdata.js +1 -1
  217. package/src/trackchangesediting.d.ts +524 -468
  218. package/src/trackchangesediting.js +1 -1
  219. package/src/trackchangesui.d.ts +38 -38
  220. package/src/trackchangesui.js +1 -1
  221. package/src/ui/suggestioncontroller.d.ts +37 -37
  222. package/src/ui/suggestioncontroller.js +1 -1
  223. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  224. package/src/ui/view/basesuggestionthreadview.js +1 -1
  225. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  226. package/src/ui/view/suggestionthreadview.js +1 -1
  227. package/src/utils/common-translations.d.ts +9 -9
  228. package/src/utils/common-translations.js +1 -1
  229. package/src/utils/utils.d.ts +30 -30
  230. package/src/utils/utils.js +1 -1
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/tableofcontents
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the Table of contents feature.
11
- */
12
- export default class TrackChangesTableOfContents 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/tableofcontents
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the Table of contents feature.
11
+ */
12
+ export default class TrackChangesTableOfContents extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34f2=['TrackChangesEditing','enableCommand','commands','plugins','registerElementLabel','get','_descriptionFactory','insertTableOfContents','afterInit','tableOfContents'];(function(_0x248359,_0x34f286){const _0x2e45cf=function(_0x2c0100){while(--_0x2c0100){_0x248359['push'](_0x248359['shift']());}};_0x2e45cf(++_0x34f286);}(_0x34f2,0xfd));const _0x2e45=function(_0x248359,_0x34f286){_0x248359=_0x248359-0x0;let _0x2e45cf=_0x34f2[_0x248359];return _0x2e45cf;};import{Plugin as _0x2d74fc}from'ckeditor5/src/core';import{getTranslation as _0x1687b4}from'../utils/common-translations';export default class St extends _0x2d74fc{[_0x2e45('0x5')](){const _0x456548=this['editor'];if(!_0x456548[_0x2e45('0x9')][_0x2e45('0x2')]('insertTableOfContents'))return;_0x456548['plugins'][_0x2e45('0x2')](_0x2e45('0x7'))[_0x2e45('0x8')](_0x2e45('0x4'));const _0x3d390f=_0x456548[_0x2e45('0x0')]['get'](_0x2e45('0x7')),_0x34155e=_0x456548['locale'];_0x3d390f[_0x2e45('0x3')][_0x2e45('0x1')](_0x2e45('0x6'),_0x2d2095=>_0x1687b4(_0x34155e,'ELEMENT_TABLE_OF_CONTENTS',_0x2d2095));}}
23
+ const _0x511c=['locale','_descriptionFactory','editor','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','TrackChangesEditing','afterInit','enableCommand','plugins','commands','registerElementLabel','get','insertTableOfContents'];(function(_0x59d9dc,_0x511cbf){const _0x4b626b=function(_0x2f2cb6){while(--_0x2f2cb6){_0x59d9dc['push'](_0x59d9dc['shift']());}};_0x4b626b(++_0x511cbf);}(_0x511c,0x1dd));const _0x4b62=function(_0x59d9dc,_0x511cbf){_0x59d9dc=_0x59d9dc-0x0;let _0x4b626b=_0x511c[_0x59d9dc];return _0x4b626b;};import{Plugin as _0x2a2614}from'ckeditor5/src/core';import{getTranslation as _0x2d207f}from'../utils/common-translations';export default class _t extends _0x2a2614{[_0x4b62('0xa')](){const _0x391b4f=this[_0x4b62('0x6')];if(!_0x391b4f[_0x4b62('0x0')][_0x4b62('0x2')](_0x4b62('0x3')))return;_0x391b4f[_0x4b62('0xc')][_0x4b62('0x2')](_0x4b62('0x9'))[_0x4b62('0xb')](_0x4b62('0x3'));const _0x27f2cc=_0x391b4f[_0x4b62('0xc')][_0x4b62('0x2')](_0x4b62('0x9')),_0x2eb911=_0x391b4f[_0x4b62('0x4')];_0x27f2cc[_0x4b62('0x5')][_0x4b62('0x1')](_0x4b62('0x8'),_0x2c60b0=>_0x2d207f(_0x2eb911,_0x4b62('0x7'),_0x2c60b0));}}
@@ -1,27 +1,27 @@
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/tableproperties
7
- */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- import type { Range } from 'ckeditor5/src/engine';
10
- import type { default as Suggestion } from '../suggestion';
11
- import type { Description } from '../suggestiondescriptionfactory';
12
- /**
13
- * Provides track changes plugin integration for table properties feature.
14
- */
15
- export default class TrackChangesTableProperties extends Plugin {
16
- constructor(editor: Editor);
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "TrackChangesTableProperties";
21
- /**
22
- * @inheritDoc
23
- */
24
- afterInit(): void;
25
- handleDiscardAction(properties: Array<string>, ranges: Array<Range>, data: any): void;
26
- handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
27
- }
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/tableproperties
7
+ */
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ import type { Range } from 'ckeditor5/src/engine';
10
+ import type { default as Suggestion } from '../suggestion';
11
+ import type { Description } from '../suggestiondescriptionfactory';
12
+ /**
13
+ * Provides track changes plugin integration for table properties feature.
14
+ */
15
+ export default class TrackChangesTableProperties extends Plugin {
16
+ constructor(editor: Editor);
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "TrackChangesTableProperties";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ afterInit(): void;
25
+ handleDiscardAction(properties: Array<string>, ranges: Array<Range>, data: any): void;
26
+ handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
27
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1810=['tableCellBorderStyle','accept','document','tableCellVerticalAlignment','setAttribute','handleSuggestionDescription','TrackChangesEditing','plugins','get','registerDescriptionCallback','change','TableUtils','tableCellHorizontalAlignment','getSuggestions','commandParams','tableCellWidth','subType','has','formatBlock','handleDiscardAction','*Format:*\x20change\x20table\x20properties','TableCellPropertiesEditing','removeAttribute','tableCellProperties','start','table','join','registerCustomCallback','enableCommand','tableCellBorderColor','tableCellBackgroundColor','_suggestionFactory','enqueueChange','_handlePropertyChange','editor','selection','getAttribute','getSuggestionCallback','getFirstPosition','nodeAfter','locale','TrackChangesTableProperties','tableCellBorderWidth','discard','pluginName','tableProperties','tableHeight','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderColor','getContainedElement','TablePropertiesEditing','tableWidth','model','data','format','_getSuggestion'];(function(_0x4ec658,_0x18109a){const _0x554806=function(_0x293fc1){while(--_0x293fc1){_0x4ec658['push'](_0x4ec658['shift']());}};_0x554806(++_0x18109a);}(_0x1810,0x1af));const _0x5548=function(_0x4ec658,_0x18109a){_0x4ec658=_0x4ec658-0x0;let _0x554806=_0x1810[_0x4ec658];return _0x554806;};import{Plugin as _0x1f7e24}from'ckeditor5/src/core';import{getTranslation as _0x5d6771}from'../utils/common-translations';export default class Dt extends _0x1f7e24{constructor(_0x1ce6db){super(_0x1ce6db),this[_0x5548('0x6')]=[_0x5548('0x9'),'tableBorderStyle','tableBorderWidth','tableAlignment',_0x5548('0xc'),_0x5548('0x7'),'tableBackgroundColor'],this['tableCellProperties']=[_0x5548('0x2e'),_0x5548('0x11'),_0x5548('0x3'),'tableCellPadding',_0x5548('0x20'),'tableCellHeight',_0x5548('0x2f'),_0x5548('0x1d'),_0x5548('0x14')];}static get[_0x5548('0x5')](){return _0x5548('0x2');}['afterInit'](){const _0xc0cd4a=this[_0x5548('0x33')][_0x5548('0x18')][_0x5548('0x19')](_0x5548('0x17'));if(this[_0x5548('0x33')][_0x5548('0x18')]['has'](_0x5548('0xb'))){for(const _0x2c11c4 of this[_0x5548('0x6')])_0xc0cd4a[_0x5548('0x2d')](_0x2c11c4,(_0x296f79,_0x369fe1)=>{const _0x1d2756=this[_0x5548('0x33')][_0x5548('0xd')][_0x5548('0x13')]['selection'][_0x5548('0x37')]()['findAncestor'](_0x5548('0x2a'));this[_0x5548('0x32')](_0x2c11c4,[_0x1d2756],this[_0x5548('0x6')],_0x5548('0x6'),_0x296f79,_0x369fe1);});_0xc0cd4a[_0x5548('0x30')][_0x5548('0x2c')](_0x5548('0x23'),'tableProperties',_0x5548('0x12'),_0xc0cd4a[_0x5548('0x30')][_0x5548('0x36')]('formatBlock',null,'discard')),_0xc0cd4a[_0x5548('0x30')][_0x5548('0x2c')]('formatBlock',_0x5548('0x6'),_0x5548('0x4'),(_0x2cb97e,_0x44d765)=>this[_0x5548('0x24')](this['tableProperties'],_0x2cb97e,_0x44d765)),_0xc0cd4a[_0x5548('0x30')][_0x5548('0x2c')](_0x5548('0x23'),_0x5548('0x6'),'join',()=>!0x1);}if(this[_0x5548('0x33')]['plugins'][_0x5548('0x22')](_0x5548('0x26'))){for(const _0x598bcd of this[_0x5548('0x28')])_0xc0cd4a[_0x5548('0x2d')](_0x598bcd,(_0x301e77,_0xdc8781)=>{const _0x5444ea=this[_0x5548('0x33')]['plugins']['get'](_0x5548('0x1c'))['getSelectionAffectedTableCells'](this[_0x5548('0x33')][_0x5548('0xd')][_0x5548('0x13')][_0x5548('0x34')]);this[_0x5548('0x32')](_0x598bcd,_0x5444ea,this[_0x5548('0x28')],'tableCellProperties',_0x301e77,_0xdc8781);});_0xc0cd4a[_0x5548('0x30')]['registerCustomCallback'](_0x5548('0x23'),_0x5548('0x28'),_0x5548('0x12'),_0xc0cd4a['_suggestionFactory'][_0x5548('0x36')]('formatBlock',null,_0x5548('0x4'))),_0xc0cd4a[_0x5548('0x30')][_0x5548('0x2c')](_0x5548('0x23'),_0x5548('0x28'),_0x5548('0x4'),(_0x497c85,_0xff492f)=>this[_0x5548('0x24')](this[_0x5548('0x28')],_0x497c85,_0xff492f)),_0xc0cd4a[_0x5548('0x30')]['registerCustomCallback']('formatBlock',_0x5548('0x28'),_0x5548('0x2b'),()=>!0x1);}_0xc0cd4a['_descriptionFactory'][_0x5548('0x1a')](_0xef0daa=>this[_0x5548('0x16')](_0xef0daa));}['_handlePropertyChange'](_0xad561b,_0x1c1269,_0x40d076,_0x10ef7c,_0x136ef9,_0x517413){const _0x1930b6=this[_0x5548('0x33')][_0x5548('0x18')][_0x5548('0x19')](_0x5548('0x17'));this[_0x5548('0x33')]['model'][_0x5548('0x31')](_0x517413['batch'],()=>{for(const _0x22944a of _0x1c1269){if(this[_0x5548('0x10')](_0x22944a,_0x10ef7c))_0x136ef9(_0x517413);else{const _0x29e807={};for(const _0x49ac8b of _0x40d076){const _0x4b0aa5=_0x22944a[_0x5548('0x35')](_0x49ac8b);void 0x0!==_0x4b0aa5&&(_0x29e807[_0x49ac8b]=_0x4b0aa5);}_0x136ef9(_0x517413),_0x1930b6['markBlockFormat'](_0x22944a,{'commandParams':[_0x29e807]},[],_0x10ef7c);}}});}[_0x5548('0x24')](_0x24c5cd,_0x29a8e5,_0x37f717){const _0x4ae80f=_0x29a8e5[0x0][_0x5548('0x29')][_0x5548('0x0')],_0x24e5ba=_0x37f717[_0x5548('0x1f')][0x0];this[_0x5548('0x33')][_0x5548('0xd')][_0x5548('0x1b')](_0xab37ae=>{for(const _0x470213 of _0x24c5cd)void 0x0!==_0x24e5ba[_0x470213]?_0xab37ae[_0x5548('0x15')](_0x470213,_0x24e5ba[_0x470213],_0x4ae80f):_0xab37ae[_0x5548('0x27')](_0x470213,_0x4ae80f);});}[_0x5548('0x16')](_0x2e65fb){if(_0x2e65fb[_0x5548('0xe')])switch(_0x2e65fb['subType']){case _0x5548('0x6'):return{'type':'format','content':_0x5d6771(this['editor'][_0x5548('0x1')],_0x5548('0x25'))};case'tableCellProperties':return{'type':_0x5548('0xf'),'content':_0x5d6771(this['editor']['locale'],_0x5548('0x8'))};}}[_0x5548('0x10')](_0xe9bf5d,_0x1251a6){const _0x18c38f=this[_0x5548('0x33')][_0x5548('0x18')][_0x5548('0x19')]('TrackChangesEditing');for(const _0x32e39b of _0x18c38f[_0x5548('0x1e')]({'skipNotAttached':!0x0})){const _0x3f52cb=_0x32e39b[_0x5548('0xa')]();if(_0x32e39b[_0x5548('0x21')]===_0x1251a6&&_0x3f52cb===_0xe9bf5d)return _0x32e39b;}return null;}}
23
+ const _0x158f=['getFirstPosition','registerDescriptionCallback','change','get','tableBorderStyle','commandParams','getSuggestionCallback','tableBorderWidth','*Format:*\x20change\x20table\x20properties','_handlePropertyChange','findAncestor','handleSuggestionDescription','tableCellVerticalAlignment','_getSuggestion','getAttribute','start','tableCellBorderStyle','getSelectionAffectedTableCells','format','tableCellWidth','plugins','tableCellBorderColor','discard','nodeAfter','tableHeight','tableBorderColor','tableCellBorderWidth','setAttribute','markBlockFormat','subType','enqueueChange','TablePropertiesEditing','table','model','document','getSuggestions','data','editor','formatBlock','_suggestionFactory','tableBackgroundColor','getContainedElement','registerCustomCallback','accept','TrackChangesEditing','tableCellBackgroundColor','tableAlignment','selection','tableCellHeight','handleDiscardAction','tableCellProperties','TrackChangesTableProperties','*Format:*\x20change\x20table\x20cell\x20properties','tableWidth','tableProperties','pluginName','_descriptionFactory','tableCellPadding'];(function(_0x2a9d3d,_0x158f0a){const _0xf30c6b=function(_0xe87d90){while(--_0xe87d90){_0x2a9d3d['push'](_0x2a9d3d['shift']());}};_0xf30c6b(++_0x158f0a);}(_0x158f,0x117));const _0xf30c=function(_0x2a9d3d,_0x158f0a){_0x2a9d3d=_0x2a9d3d-0x0;let _0xf30c6b=_0x158f[_0x2a9d3d];return _0xf30c6b;};import{Plugin as _0x5ca2df}from'ckeditor5/src/core';import{getTranslation as _0x827c9}from'../utils/common-translations';export default class Mt extends _0x5ca2df{constructor(_0x3c0f0e){super(_0x3c0f0e),this[_0xf30c('0x7')]=[_0xf30c('0x24'),_0xf30c('0xf'),_0xf30c('0x12'),_0xf30c('0x39'),_0xf30c('0x6'),_0xf30c('0x23'),_0xf30c('0x33')],this[_0xf30c('0x3')]=[_0xf30c('0x20'),_0xf30c('0x1b'),_0xf30c('0x25'),_0xf30c('0xa'),_0xf30c('0x1e'),_0xf30c('0x1'),_0xf30c('0x38'),'tableCellHorizontalAlignment',_0xf30c('0x17')];}static get[_0xf30c('0x8')](){return _0xf30c('0x4');}['afterInit'](){const _0x3ee3e1=this[_0xf30c('0x30')]['plugins']['get'](_0xf30c('0x37'));if(this[_0xf30c('0x30')][_0xf30c('0x1f')]['has'](_0xf30c('0x2a'))){for(const _0x233517 of this[_0xf30c('0x7')])_0x3ee3e1['enableCommand'](_0x233517,(_0x7259e3,_0x340433)=>{const _0x45d055=this['editor'][_0xf30c('0x2c')][_0xf30c('0x2d')][_0xf30c('0x0')][_0xf30c('0xb')]()[_0xf30c('0x15')](_0xf30c('0x2b'));this[_0xf30c('0x14')](_0x233517,[_0x45d055],this['tableProperties'],_0xf30c('0x7'),_0x7259e3,_0x340433);});_0x3ee3e1[_0xf30c('0x32')][_0xf30c('0x35')](_0xf30c('0x31'),_0xf30c('0x7'),_0xf30c('0x36'),_0x3ee3e1[_0xf30c('0x32')][_0xf30c('0x11')]('formatBlock',null,_0xf30c('0x21'))),_0x3ee3e1[_0xf30c('0x32')][_0xf30c('0x35')](_0xf30c('0x31'),_0xf30c('0x7'),_0xf30c('0x21'),(_0x1d8bb2,_0x5c9f7e)=>this['handleDiscardAction'](this[_0xf30c('0x7')],_0x1d8bb2,_0x5c9f7e)),_0x3ee3e1[_0xf30c('0x32')][_0xf30c('0x35')](_0xf30c('0x31'),'tableProperties','join',()=>!0x1);}if(this[_0xf30c('0x30')]['plugins']['has']('TableCellPropertiesEditing')){for(const _0x48d5a8 of this[_0xf30c('0x3')])_0x3ee3e1['enableCommand'](_0x48d5a8,(_0x179feb,_0x935e0e)=>{const _0x3bfed0=this['editor'][_0xf30c('0x1f')][_0xf30c('0xe')]('TableUtils')[_0xf30c('0x1c')](this[_0xf30c('0x30')][_0xf30c('0x2c')]['document'][_0xf30c('0x0')]);this[_0xf30c('0x14')](_0x48d5a8,_0x3bfed0,this[_0xf30c('0x3')],'tableCellProperties',_0x179feb,_0x935e0e);});_0x3ee3e1['_suggestionFactory'][_0xf30c('0x35')](_0xf30c('0x31'),_0xf30c('0x3'),_0xf30c('0x36'),_0x3ee3e1[_0xf30c('0x32')]['getSuggestionCallback'](_0xf30c('0x31'),null,_0xf30c('0x21'))),_0x3ee3e1[_0xf30c('0x32')][_0xf30c('0x35')](_0xf30c('0x31'),_0xf30c('0x3'),_0xf30c('0x21'),(_0x41a8df,_0x4bc742)=>this['handleDiscardAction'](this['tableCellProperties'],_0x41a8df,_0x4bc742)),_0x3ee3e1[_0xf30c('0x32')][_0xf30c('0x35')]('formatBlock',_0xf30c('0x3'),'join',()=>!0x1);}_0x3ee3e1[_0xf30c('0x9')][_0xf30c('0xc')](_0x5320f3=>this[_0xf30c('0x16')](_0x5320f3));}[_0xf30c('0x14')](_0xf1448f,_0x2e5e95,_0x46286c,_0x1aa1ce,_0x370ca1,_0x44305c){const _0x4a20d8=this[_0xf30c('0x30')][_0xf30c('0x1f')][_0xf30c('0xe')](_0xf30c('0x37'));this[_0xf30c('0x30')][_0xf30c('0x2c')][_0xf30c('0x29')](_0x44305c['batch'],()=>{for(const _0xf9ed78 of _0x2e5e95){if(this[_0xf30c('0x18')](_0xf9ed78,_0x1aa1ce))_0x370ca1(_0x44305c);else{const _0x2b06a3={};for(const _0x2402b0 of _0x46286c){const _0xb7ecc2=_0xf9ed78[_0xf30c('0x19')](_0x2402b0);void 0x0!==_0xb7ecc2&&(_0x2b06a3[_0x2402b0]=_0xb7ecc2);}_0x370ca1(_0x44305c),_0x4a20d8[_0xf30c('0x27')](_0xf9ed78,{'commandParams':[_0x2b06a3]},[],_0x1aa1ce);}}});}[_0xf30c('0x2')](_0x2c8240,_0x4b51b6,_0x320ea9){const _0x1d1a16=_0x4b51b6[0x0][_0xf30c('0x1a')][_0xf30c('0x22')],_0xcc878=_0x320ea9[_0xf30c('0x10')][0x0];this['editor'][_0xf30c('0x2c')][_0xf30c('0xd')](_0x545ec6=>{for(const _0x4c8e56 of _0x2c8240)void 0x0!==_0xcc878[_0x4c8e56]?_0x545ec6[_0xf30c('0x26')](_0x4c8e56,_0xcc878[_0x4c8e56],_0x1d1a16):_0x545ec6['removeAttribute'](_0x4c8e56,_0x1d1a16);});}[_0xf30c('0x16')](_0x502b50){if(_0x502b50[_0xf30c('0x2f')])switch(_0x502b50[_0xf30c('0x28')]){case _0xf30c('0x7'):return{'type':_0xf30c('0x1d'),'content':_0x827c9(this['editor']['locale'],_0xf30c('0x13'))};case'tableCellProperties':return{'type':_0xf30c('0x1d'),'content':_0x827c9(this[_0xf30c('0x30')]['locale'],_0xf30c('0x5'))};}}[_0xf30c('0x18')](_0x415c82,_0x4ef727){const _0x3371c6=this[_0xf30c('0x30')][_0xf30c('0x1f')][_0xf30c('0xe')](_0xf30c('0x37'));for(const _0x57ffc7 of _0x3371c6[_0xf30c('0x2e')]({'skipNotAttached':!0x0})){const _0x27d790=_0x57ffc7[_0xf30c('0x34')]();if(_0x57ffc7[_0xf30c('0x28')]===_0x4ef727&&_0x27d790===_0x415c82)return _0x57ffc7;}return null;}}
@@ -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/template
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for template feature.
11
- */
12
- export default class TrackChangesTemplate 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/template
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for template feature.
11
+ */
12
+ export default class TrackChangesTemplate extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bb2=['get','plugins','enableCommand','insertTemplate','TrackChangesEditing','has','afterInit','Template'];(function(_0x1eb90d,_0x3bb290){const _0x3767be=function(_0x54b222){while(--_0x54b222){_0x1eb90d['push'](_0x1eb90d['shift']());}};_0x3767be(++_0x3bb290);}(_0x3bb2,0xe5));const _0x3767=function(_0x1eb90d,_0x3bb290){_0x1eb90d=_0x1eb90d-0x0;let _0x3767be=_0x3bb2[_0x1eb90d];return _0x3767be;};import{Plugin as _0x3cfb40}from'ckeditor5/src/core';export default class bt extends _0x3cfb40{[_0x3767('0x1')](){const _0x50fa63=this['editor'];_0x50fa63[_0x3767('0x4')][_0x3767('0x0')](_0x3767('0x2'))&&_0x50fa63[_0x3767('0x4')][_0x3767('0x3')](_0x3767('0x7'))[_0x3767('0x5')](_0x3767('0x6'));}}
23
+ const _0x533a=['editor','Template','plugins','TrackChangesEditing','afterInit','has','insertTemplate'];(function(_0x5cbdb0,_0x533a73){const _0x1c08e1=function(_0x4662fc){while(--_0x4662fc){_0x5cbdb0['push'](_0x5cbdb0['shift']());}};_0x1c08e1(++_0x533a73);}(_0x533a,0x1e9));const _0x1c08=function(_0x5cbdb0,_0x533a73){_0x5cbdb0=_0x5cbdb0-0x0;let _0x1c08e1=_0x533a[_0x5cbdb0];return _0x1c08e1;};import{Plugin as _0x42402b}from'ckeditor5/src/core';export default class vt extends _0x42402b{[_0x1c08('0x5')](){const _0x546c30=this[_0x1c08('0x1')];_0x546c30[_0x1c08('0x3')][_0x1c08('0x6')](_0x1c08('0x2'))&&_0x546c30[_0x1c08('0x3')]['get'](_0x1c08('0x4'))['enableCommand'](_0x1c08('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/title
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for title feature.
11
- */
12
- export default class TrackChangesTitle 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/title
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for title feature.
11
+ */
12
+ export default class TrackChangesTitle extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbf94=['_splitMarkerName','isCollapsed','createRange','newRange','TrackChangesEditing','from','locale','plugins','end','afterInit','title-content','getChangedMarkers','suggestion','get','nodeBefore','forward','registerElementLabel','Title','element','differ','isEqual','model','document','ELEMENT_TITLE','schema','isTouching','start','removeMarker','editor'];(function(_0x1ef500,_0xbf941a){const _0x52e255=function(_0x39219f){while(--_0x39219f){_0x1ef500['push'](_0x1ef500['shift']());}};_0x52e255(++_0xbf941a);}(_0xbf94,0xe6));const _0x52e2=function(_0x1ef500,_0xbf941a){_0x1ef500=_0x1ef500-0x0;let _0x52e255=_0xbf94[_0x1ef500];return _0x52e255;};import{Plugin as _0x11fbd8}from'ckeditor5/src/core';import{getTranslation as _0x4756bb}from'../utils/common-translations';export default class It extends _0x11fbd8{[_0x52e2('0xb')](){const _0x3be69a=this[_0x52e2('0x1')];if(!_0x3be69a[_0x52e2('0x9')]['has'](_0x52e2('0x13')))return;const _0xe73945=_0x3be69a[_0x52e2('0x9')][_0x52e2('0xf')](_0x52e2('0x6'));_0xe73945['_descriptionFactory'][_0x52e2('0x12')]('title-content',()=>_0x4756bb(_0x3be69a[_0x52e2('0x8')],_0x52e2('0x19'))),_0x3be69a[_0x52e2('0x17')][_0x52e2('0x18')]['registerPostFixer'](_0x24c6ec=>{let _0x1c93f6=!0x1;const _0x214e3f=Array[_0x52e2('0x7')](_0x3be69a[_0x52e2('0x17')][_0x52e2('0x18')][_0x52e2('0x15')][_0x52e2('0xd')]());for(const {name:_0x37ea49,data:_0x44d40f}of _0x214e3f){const {group:_0x348d8d}=_0xe73945[_0x52e2('0x2')](_0x37ea49);if(_0x52e2('0xe')!==_0x348d8d||!_0x44d40f['newRange'])continue;const _0x7ab21e=_0x44d40f[_0x52e2('0x5')],_0x58f93a=_0x7ab21e[_0x52e2('0xa')][_0x52e2('0x10')];if(!_0x58f93a||!_0x58f93a['is'](_0x52e2('0x14'),_0x52e2('0xc')))continue;if(!_0x7ab21e[_0x52e2('0x1c')][_0x52e2('0x1b')](_0x7ab21e[_0x52e2('0xa')]))continue;const _0x25c77d=_0x3be69a[_0x52e2('0x17')][_0x52e2('0x1a')]['getNearestSelectionRange'](_0x7ab21e[_0x52e2('0xa')],_0x52e2('0x11'));if(_0x25c77d&&_0x25c77d[_0x52e2('0x3')]){const _0x547a1c=_0x24c6ec[_0x52e2('0x4')](_0x7ab21e[_0x52e2('0x1c')],_0x25c77d[_0x52e2('0x1c')]);_0x547a1c[_0x52e2('0x16')](_0x7ab21e)||(_0x24c6ec['updateMarker'](_0x37ea49,{'range':_0x547a1c}),_0x1c93f6=!0x0);}_0x1c93f6||(_0x24c6ec[_0x52e2('0x0')](_0x37ea49),_0x1c93f6=!0x0);}return _0x1c93f6;});}}
23
+ const _0x2f51=['locale','afterInit','plugins','editor','schema','get','isTouching','getChangedMarkers','document','element','title-content','end','from','updateMarker','getNearestSelectionRange','start','model','ELEMENT_TITLE','isCollapsed','removeMarker','nodeBefore'];(function(_0x3eb0e6,_0x2f5165){const _0x7ee46f=function(_0x5df858){while(--_0x5df858){_0x3eb0e6['push'](_0x3eb0e6['shift']());}};_0x7ee46f(++_0x2f5165);}(_0x2f51,0x16b));const _0x7ee4=function(_0x3eb0e6,_0x2f5165){_0x3eb0e6=_0x3eb0e6-0x0;let _0x7ee46f=_0x2f51[_0x3eb0e6];return _0x7ee46f;};import{Plugin as _0x4ea089}from'ckeditor5/src/core';import{getTranslation as _0x2d599b}from'../utils/common-translations';export default class Ct extends _0x4ea089{[_0x7ee4('0x10')](){const _0xab3a30=this[_0x7ee4('0x12')];if(!_0xab3a30[_0x7ee4('0x11')]['has']('Title'))return;const _0x50ec56=_0xab3a30[_0x7ee4('0x11')][_0x7ee4('0x14')]('TrackChangesEditing');_0x50ec56['_descriptionFactory']['registerElementLabel'](_0x7ee4('0x4'),()=>_0x2d599b(_0xab3a30[_0x7ee4('0xf')],_0x7ee4('0xb'))),_0xab3a30[_0x7ee4('0xa')]['document']['registerPostFixer'](_0x1dfabe=>{let _0x2c0c11=!0x1;const _0x2cae20=Array[_0x7ee4('0x6')](_0xab3a30[_0x7ee4('0xa')][_0x7ee4('0x2')]['differ'][_0x7ee4('0x1')]());for(const {name:_0x1142ae,data:_0x83abc8}of _0x2cae20){const {group:_0x39d16d}=_0x50ec56['_splitMarkerName'](_0x1142ae);if('suggestion'!==_0x39d16d||!_0x83abc8['newRange'])continue;const _0xa2b14e=_0x83abc8['newRange'],_0x4fe25f=_0xa2b14e[_0x7ee4('0x5')][_0x7ee4('0xe')];if(!_0x4fe25f||!_0x4fe25f['is'](_0x7ee4('0x3'),_0x7ee4('0x4')))continue;if(!_0xa2b14e[_0x7ee4('0x9')][_0x7ee4('0x0')](_0xa2b14e[_0x7ee4('0x5')]))continue;const _0x7d1f40=_0xab3a30[_0x7ee4('0xa')][_0x7ee4('0x13')][_0x7ee4('0x8')](_0xa2b14e[_0x7ee4('0x5')],'forward');if(_0x7d1f40&&_0x7d1f40[_0x7ee4('0xc')]){const _0x4cc846=_0x1dfabe['createRange'](_0xa2b14e['start'],_0x7d1f40[_0x7ee4('0x9')]);_0x4cc846['isEqual'](_0xa2b14e)||(_0x1dfabe[_0x7ee4('0x7')](_0x1142ae,{'range':_0x4cc846}),_0x2c0c11=!0x0);}_0x2c0c11||(_0x1dfabe[_0x7ee4('0xd')](_0x1142ae),_0x2c0c11=!0x0);}return _0x2c0c11;});}}
@@ -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/undo
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:undo/undo~Undo undo feature}.
11
- */
12
- export default class TrackChangesUndo 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/undo
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:undo/undo~Undo undo feature}.
11
+ */
12
+ export default class TrackChangesUndo extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb94f=['TrackChangesEditing','undo','afterInit','enableCommand','get','editor','has','redo','plugins'];(function(_0x1a6404,_0xb94f65){const _0x1b1808=function(_0x1c1a83){while(--_0x1c1a83){_0x1a6404['push'](_0x1a6404['shift']());}};_0x1b1808(++_0xb94f65);}(_0xb94f,0xd2));const _0x1b18=function(_0x1a6404,_0xb94f65){_0x1a6404=_0x1a6404-0x0;let _0x1b1808=_0xb94f[_0x1a6404];return _0x1b1808;};import{Plugin as _0x4e3cc5}from'ckeditor5/src/core';export default class vt extends _0x4e3cc5{[_0x1b18('0x8')](){const _0x1b62b4=this[_0x1b18('0x2')],_0x2ea7ff=_0x1b62b4[_0x1b18('0x5')][_0x1b18('0x1')](_0x1b18('0x6'));_0x1b62b4['plugins'][_0x1b18('0x3')]('UndoEditing')&&(_0x2ea7ff[_0x1b18('0x0')](_0x1b18('0x7')),_0x2ea7ff['enableCommand'](_0x1b18('0x4')));}}
23
+ const _0x19b9=['TrackChangesEditing','enableCommand','UndoEditing','plugins','afterInit','undo','editor'];(function(_0xbbc9e5,_0x19b9d8){const _0x2ad167=function(_0x1dd8b7){while(--_0x1dd8b7){_0xbbc9e5['push'](_0xbbc9e5['shift']());}};_0x2ad167(++_0x19b9d8);}(_0x19b9,0x95));const _0x2ad1=function(_0xbbc9e5,_0x19b9d8){_0xbbc9e5=_0xbbc9e5-0x0;let _0x2ad167=_0x19b9[_0xbbc9e5];return _0x2ad167;};import{Plugin as _0xdc75af}from'ckeditor5/src/core';export default class Dt extends _0xdc75af{[_0x2ad1('0x2')](){const _0xc66ae3=this[_0x2ad1('0x4')],_0x2291b8=_0xc66ae3[_0x2ad1('0x1')]['get'](_0x2ad1('0x5'));_0xc66ae3[_0x2ad1('0x1')]['has'](_0x2ad1('0x0'))&&(_0x2291b8[_0x2ad1('0x6')](_0x2ad1('0x3')),_0x2291b8[_0x2ad1('0x6')]('redo'));}}
@@ -1,21 +1,21 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import type { Editor } from 'ckeditor5/src/core';
6
- import type { Range, Model, Element, DowncastAddMarkerEvent } from 'ckeditor5/src/engine';
7
- import type { GetCallback } from 'ckeditor5/src/utils';
8
- /**
9
- * Searches given `range` and returns all sub-ranges containing items with given `attributeKey`.
10
- */
11
- export declare function getRangesWithAttribute(attributeKey: string, range: Range, model: Model): Array<Range>;
12
- /**
13
- * For given `element`, if it is a list item, returns all list items that would be affected by renaming `element` to a different element.
14
- */
15
- export declare function getElementsAffectedByListItemRename(element: Element): Array<Element>;
16
- /**
17
- * Returns the conversion function for down-casting split/merge markers.
18
- */
19
- export declare function downcastSplitMergeMarker(editor: Editor, type: 'split' | 'merge', { showActiveMarker }?: {
20
- showActiveMarker?: boolean | undefined;
21
- }): GetCallback<DowncastAddMarkerEvent>;
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
+ import type { Editor } from 'ckeditor5/src/core';
6
+ import type { Range, Model, Element, DowncastAddMarkerEvent } from 'ckeditor5/src/engine';
7
+ import type { GetCallback } from 'ckeditor5/src/utils';
8
+ /**
9
+ * Searches given `range` and returns all sub-ranges containing items with given `attributeKey`.
10
+ */
11
+ export declare function getRangesWithAttribute(attributeKey: string, range: Range, model: Model): Array<Range>;
12
+ /**
13
+ * For given `element`, if it is a list item, returns all list items that would be affected by renaming `element` to a different element.
14
+ */
15
+ export declare function getElementsAffectedByListItemRename(element: Element): Array<Element>;
16
+ /**
17
+ * Returns the conversion function for down-casting split/merge markers.
18
+ */
19
+ export declare function downcastSplitMergeMarker(editor: Editor, type: 'split' | 'merge', { showActiveMarker }?: {
20
+ showActiveMarker?: boolean | undefined;
21
+ }): GetCallback<DowncastAddMarkerEvent>;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2987=['name','createRangeOn','get','activeMarkers','markerRange','writer','element','listIndent','push','toViewElement','TrackChangesEditing','createUIElement','type','getItems','listItem','mapper','test','elementEnd','insert','includes','markerName','nextSibling','getCustomProperty','item','addClass','isAtEnd','isContent','getWalker','bindElementToMarker','plugins','model'];(function(_0xba327,_0x2987c7){const _0x5cd508=function(_0x5a57e9){while(--_0x5a57e9){_0xba327['push'](_0xba327['shift']());}};_0x5cd508(++_0x2987c7);}(_0x2987,0x67));const _0x5cd5=function(_0xba327,_0x2987c7){_0xba327=_0xba327-0x0;let _0x5cd508=_0x2987[_0xba327];return _0x5cd508;};export function getRangesWithAttribute(_0x27256a,_0x4ec76e,_0x529c17){const _0x113a58=[];for(const _0xcff14 of _0x4ec76e[_0x5cd5('0x3')]())_0xcff14['hasAttribute'](_0x27256a)&&_0x113a58[_0x5cd5('0x1d')](_0x529c17[_0x5cd5('0x16')](_0xcff14));return _0x113a58;}export function getElementsAffectedByListItemRename(_0x2d6300){const _0x25595d=[];if(_0x2d6300['is'](_0x5cd5('0x1b'),'listItem')){let _0x4ea83b=_0x2d6300[_0x5cd5('0xb')];for(;_0x4ea83b&&_0x4ea83b['is'](_0x5cd5('0x1b'),_0x5cd5('0x4'))&&_0x4ea83b['getAttribute'](_0x5cd5('0x1c'))>0x0;)_0x25595d[_0x5cd5('0x1d')](_0x4ea83b),_0x4ea83b=_0x4ea83b[_0x5cd5('0xb')];}return _0x25595d;}export function downcastSplitMergeMarker(_0x1db6b8,_0x21f513,{showActiveMarker:_0x31c1f8=!0x0}={}){const _0x5205fe=_0x1db6b8[_0x5cd5('0x13')][_0x5cd5('0x17')](_0x5cd5('0x0'));return(_0x5e90ba,_0x107237,_0xb5b61a)=>{if(!_0xb5b61a['consumable'][_0x5cd5('0x6')](_0x107237[_0x5cd5('0x19')],_0x5e90ba[_0x5cd5('0x15')]))return;const _0x93379f=_0x107237['markerRange'][_0x5cd5('0x11')](),_0x5e9a3a=_0x107237['markerRange']['start'],_0x56149f=_0x1db6b8[_0x5cd5('0x14')]['schema'];let _0x4862ba=null,_0x555d22=null,_0x22fd77=!0x1,_0x350f7f=!0x1;for(const _0x2586a8 of _0x93379f){const _0x5929ad=_0x2586a8[_0x5cd5('0xd')];_0x22fd77=_0x22fd77||_0x56149f[_0x5cd5('0x10')](_0x5929ad);const _0x116190=_0xb5b61a[_0x5cd5('0x5')][_0x5cd5('0x1e')](_0x5929ad);if(_0x116190&&_0x116190[_0x5cd5('0xc')]('addHighlight'))return;_0x5cd5('0x7')==_0x2586a8[_0x5cd5('0x2')]&&(_0x56149f['isBlock'](_0x5929ad)&&!_0x56149f['isLimit'](_0x5929ad)&&(_0x5929ad[_0x5cd5('0xb')]||_0x5e9a3a[_0x5cd5('0xf')]?_0x4862ba&&_0x4862ba['parent']==_0x5929ad||(_0x4862ba=_0x5929ad,_0x2a1c57(_0x2586a8['previousPosition']),_0x350f7f=!0x0):_0x555d22=_0x555d22||_0x2586a8['previousPosition']));}function _0x2a1c57(_0x5b2720){const _0x9f1078=_0xb5b61a[_0x5cd5('0x1a')][_0x5cd5('0x1')]('span',{'class':'ck-suggestion-marker-'+_0x21f513}),_0x140632=_0xb5b61a[_0x5cd5('0x5')]['toViewPosition'](_0x5b2720);_0x31c1f8&&_0x5205fe[_0x5cd5('0x18')][_0x5cd5('0x9')](_0x107237[_0x5cd5('0xa')])&&_0xb5b61a[_0x5cd5('0x1a')][_0x5cd5('0xe')]('ck-suggestion-marker--active',_0x9f1078),_0xb5b61a['writer'][_0x5cd5('0x8')](_0x140632,_0x9f1078),_0xb5b61a['mapper'][_0x5cd5('0x12')](_0x9f1078,_0x107237[_0x5cd5('0xa')]);}_0x22fd77||_0x350f7f||!_0x555d22||_0x2a1c57(_0x555d22);};}
23
+ const _0x2b52=['getWalker','writer','item','isAtEnd','ck-suggestion-marker-','addClass','start','consumable','model','ck-suggestion-marker--active','hasAttribute','isBlock','addHighlight','mapper','name','plugins','getCustomProperty','getAttribute','elementEnd','nextSibling','listItem','element','createUIElement','type','span','toViewPosition','get','markerName','isLimit','bindElementToMarker','schema','previousPosition','markerRange','test','includes','push'];(function(_0x368c60,_0x2b5266){const _0x1924b6=function(_0x4c5491){while(--_0x4c5491){_0x368c60['push'](_0x368c60['shift']());}};_0x1924b6(++_0x2b5266);}(_0x2b52,0x149));const _0x1924=function(_0x368c60,_0x2b5266){_0x368c60=_0x368c60-0x0;let _0x1924b6=_0x2b52[_0x368c60];return _0x1924b6;};export function getRangesWithAttribute(_0x5286f4,_0x4d47a6,_0x597b45){const _0xaf8299=[];for(const _0x29901a of _0x4d47a6['getItems']())_0x29901a[_0x1924('0x5')](_0x5286f4)&&_0xaf8299[_0x1924('0x1e')](_0x597b45['createRangeOn'](_0x29901a));return _0xaf8299;}export function getElementsAffectedByListItemRename(_0x106c80){const _0x31e6f0=[];if(_0x106c80['is'](_0x1924('0x10'),_0x1924('0xf'))){let _0x1e3d5f=_0x106c80[_0x1924('0xe')];for(;_0x1e3d5f&&_0x1e3d5f['is'](_0x1924('0x10'),_0x1924('0xf'))&&_0x1e3d5f[_0x1924('0xc')]('listIndent')>0x0;)_0x31e6f0[_0x1924('0x1e')](_0x1e3d5f),_0x1e3d5f=_0x1e3d5f[_0x1924('0xe')];}return _0x31e6f0;}export function downcastSplitMergeMarker(_0xa34aa8,_0x1a85f8,{showActiveMarker:_0x41e117=!0x0}={}){const _0x141666=_0xa34aa8[_0x1924('0xa')][_0x1924('0x15')]('TrackChangesEditing');return(_0x20d7de,_0x243bf7,_0x205f25)=>{if(!_0x205f25[_0x1924('0x2')][_0x1924('0x1c')](_0x243bf7[_0x1924('0x1b')],_0x20d7de[_0x1924('0x9')]))return;const _0x12641a=_0x243bf7[_0x1924('0x1b')][_0x1924('0x1f')](),_0x202716=_0x243bf7['markerRange'][_0x1924('0x1')],_0x5e777a=_0xa34aa8[_0x1924('0x3')][_0x1924('0x19')];let _0x63b2f7=null,_0x32257f=null,_0x2eafc3=!0x1,_0x59f49a=!0x1;for(const _0x130365 of _0x12641a){const _0x1c8568=_0x130365[_0x1924('0x21')];_0x2eafc3=_0x2eafc3||_0x5e777a['isContent'](_0x1c8568);const _0x41b830=_0x205f25[_0x1924('0x8')]['toViewElement'](_0x1c8568);if(_0x41b830&&_0x41b830[_0x1924('0xb')](_0x1924('0x7')))return;_0x1924('0xd')==_0x130365[_0x1924('0x12')]&&(_0x5e777a[_0x1924('0x6')](_0x1c8568)&&!_0x5e777a[_0x1924('0x17')](_0x1c8568)&&(_0x1c8568[_0x1924('0xe')]||_0x202716[_0x1924('0x22')]?_0x63b2f7&&_0x63b2f7['parent']==_0x1c8568||(_0x63b2f7=_0x1c8568,_0x3ced0a(_0x130365[_0x1924('0x1a')]),_0x59f49a=!0x0):_0x32257f=_0x32257f||_0x130365[_0x1924('0x1a')]));}function _0x3ced0a(_0x308e50){const _0x4c143d=_0x205f25[_0x1924('0x20')][_0x1924('0x11')](_0x1924('0x13'),{'class':_0x1924('0x23')+_0x1a85f8}),_0x575364=_0x205f25[_0x1924('0x8')][_0x1924('0x14')](_0x308e50);_0x41e117&&_0x141666['activeMarkers'][_0x1924('0x1d')](_0x243bf7[_0x1924('0x16')])&&_0x205f25['writer'][_0x1924('0x0')](_0x1924('0x4'),_0x4c143d),_0x205f25[_0x1924('0x20')]['insert'](_0x575364,_0x4c143d),_0x205f25['mapper'][_0x1924('0x18')](_0x4c143d,_0x243bf7[_0x1924('0x16')]);}_0x2eafc3||_0x59f49a||!_0x32257f||_0x3ced0a(_0x32257f);};}