@ckeditor/ckeditor5-track-changes 39.0.2 → 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 (136) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/track-changes.js +1 -1
  4. package/package.json +3 -3
  5. package/src/augmentation.d.ts +40 -40
  6. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  9. package/src/commands/discardsuggestioncommand.js +1 -1
  10. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  11. package/src/commands/executeonallsuggestionscommand.js +1 -1
  12. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  13. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  14. package/src/commands/trackchangescommand.d.ts +26 -26
  15. package/src/commands/trackchangescommand.js +1 -1
  16. package/src/index.d.ts +16 -16
  17. package/src/integrations/aiassistant.d.ts +17 -0
  18. package/src/integrations/aiassistant.js +23 -0
  19. package/src/integrations/alignment.d.ts +17 -17
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +17 -17
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +17 -17
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +17 -17
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +17 -17
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +14 -14
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +17 -17
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +17 -17
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +29 -29
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +16 -16
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +21 -21
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +17 -17
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +17 -17
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +17 -17
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +17 -17
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +17 -17
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +17 -17
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +17 -17
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +23 -23
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/importword.d.ts +18 -18
  58. package/src/integrations/importword.js +1 -1
  59. package/src/integrations/indent.d.ts +17 -17
  60. package/src/integrations/indent.js +1 -1
  61. package/src/integrations/inputcommand.d.ts +16 -16
  62. package/src/integrations/inputcommand.js +1 -1
  63. package/src/integrations/link.d.ts +17 -17
  64. package/src/integrations/link.js +1 -1
  65. package/src/integrations/list.d.ts +17 -17
  66. package/src/integrations/list.js +1 -1
  67. package/src/integrations/listproperties.d.ts +29 -29
  68. package/src/integrations/listproperties.js +1 -1
  69. package/src/integrations/mediaembed.d.ts +17 -17
  70. package/src/integrations/mediaembed.js +1 -1
  71. package/src/integrations/mention.d.ts +17 -17
  72. package/src/integrations/mention.js +1 -1
  73. package/src/integrations/pagebreak.d.ts +17 -17
  74. package/src/integrations/pagebreak.js +1 -1
  75. package/src/integrations/paragraph.d.ts +17 -17
  76. package/src/integrations/paragraph.js +1 -1
  77. package/src/integrations/removeformat.d.ts +17 -17
  78. package/src/integrations/removeformat.js +1 -1
  79. package/src/integrations/restrictededitingmode.d.ts +17 -17
  80. package/src/integrations/restrictededitingmode.js +1 -1
  81. package/src/integrations/shiftentercommand.d.ts +16 -16
  82. package/src/integrations/shiftentercommand.js +1 -1
  83. package/src/integrations/standardeditingmode.d.ts +17 -17
  84. package/src/integrations/standardeditingmode.js +1 -1
  85. package/src/integrations/style.d.ts +18 -18
  86. package/src/integrations/style.js +1 -1
  87. package/src/integrations/table.d.ts +42 -42
  88. package/src/integrations/table.js +1 -1
  89. package/src/integrations/tablecaption.d.ts +22 -22
  90. package/src/integrations/tablecaption.js +1 -1
  91. package/src/integrations/tableclipboard.d.ts +19 -19
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.d.ts +26 -26
  94. package/src/integrations/tablecolumnresize.js +1 -1
  95. package/src/integrations/tableheadings.d.ts +22 -22
  96. package/src/integrations/tableheadings.js +1 -1
  97. package/src/integrations/tablemergesplit.d.ts +22 -22
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.d.ts +17 -17
  100. package/src/integrations/tableofcontents.js +1 -1
  101. package/src/integrations/tableproperties.d.ts +27 -27
  102. package/src/integrations/tableproperties.js +1 -1
  103. package/src/integrations/template.d.ts +17 -17
  104. package/src/integrations/template.js +1 -1
  105. package/src/integrations/title.d.ts +17 -17
  106. package/src/integrations/title.js +1 -1
  107. package/src/integrations/undo.d.ts +17 -17
  108. package/src/integrations/undo.js +1 -1
  109. package/src/integrations/utils.d.ts +21 -21
  110. package/src/integrations/utils.js +1 -1
  111. package/src/suggestion.d.ts +276 -276
  112. package/src/suggestion.js +1 -1
  113. package/src/suggestiondescriptionfactory.d.ts +163 -163
  114. package/src/suggestiondescriptionfactory.js +1 -1
  115. package/src/trackchanges.d.ts +244 -244
  116. package/src/trackchanges.js +1 -1
  117. package/src/trackchangesconfig.d.ts +75 -75
  118. package/src/trackchangesdata.d.ts +41 -41
  119. package/src/trackchangesdata.js +1 -1
  120. package/src/trackchangesediting.d.ts +468 -467
  121. package/src/trackchangesediting.js +1 -1
  122. package/src/trackchangesui.d.ts +38 -38
  123. package/src/trackchangesui.js +1 -1
  124. package/src/ui/suggestioncontroller.d.ts +37 -37
  125. package/src/ui/suggestioncontroller.js +1 -1
  126. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  127. package/src/ui/view/basesuggestionthreadview.js +1 -1
  128. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  129. package/src/ui/view/suggestionthreadview.js +1 -1
  130. package/src/utils/common-translations.d.ts +9 -9
  131. package/src/utils/common-translations.js +1 -1
  132. package/src/utils/utils.d.ts +30 -30
  133. package/src/utils/utils.js +1 -1
  134. package/theme/icons/track-changes-accept.svg +1 -1
  135. package/theme/icons/track-changes-discard.svg +1 -1
  136. package/theme/icons/track-changes.svg +1 -1
@@ -1,16 +1,16 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/entercommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Enter } from 'ckeditor5/src/enter';
10
- /**
11
- * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
12
- */
13
- export default class TrackChangesEnterCommand extends Plugin {
14
- static get requires(): readonly [typeof Enter];
15
- init(): void;
16
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/entercommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Enter } from 'ckeditor5/src/enter';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
12
+ */
13
+ export default class TrackChangesEnterCommand extends Plugin {
14
+ static get requires(): readonly [typeof Enter];
15
+ init(): void;
16
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x300d=['enter','setSelection','addMarker:suggestion:insertion','detach','downcastDispatcher','createRange','options','fire','getFirstRange','getFirstPosition','remove','init','commands','model','change','removeMarker:suggestion:insertion','mapper','document','split','createPositionAt','enableCommand','ck-suggestion-marker-split','selection','get','markInsertion','afterExecute','high','editor','markerName','data','editing','TrackChangesEditing','fromRange','bind'];(function(_0x361cc6,_0x300dec){const _0x30dfb0=function(_0x195ee6){while(--_0x195ee6){_0x361cc6['push'](_0x361cc6['shift']());}};_0x30dfb0(++_0x300dec);}(_0x300d,0x147));const _0x30df=function(_0x361cc6,_0x300dec){_0x361cc6=_0x361cc6-0x0;let _0x30dfb0=_0x300d[_0x361cc6];return _0x30dfb0;};import{Plugin as _0x59ed21}from'ckeditor5/src/core';import{Enter as _0x4c060a}from'ckeditor5/src/enter';import{LiveRange as _0x4bf400}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x280c48}from'./utils';export default class q extends _0x59ed21{static get['requires'](){return[_0x4c060a];}[_0x30df('0x18')](){const _0x3cff60=this[_0x30df('0x6')],_0x3d917b=_0x3cff60['plugins'][_0x30df('0x2')](_0x30df('0xa')),_0x12c5b3=_0x3cff60[_0x30df('0x19')]['get'](_0x30df('0xd'));_0x3d917b[_0x30df('0x21')](_0x30df('0xd'),()=>{_0x3cff60[_0x30df('0x1a')][_0x30df('0x1b')](_0x5015d1=>{const _0x295ca6=_0x3cff60[_0x30df('0x1a')][_0x30df('0x1e')][_0x30df('0x1')],_0x1e1088=_0x295ca6[_0x30df('0x16')](),_0x5a96b4=_0x4bf400[_0x30df('0xb')](_0x295ca6[_0x30df('0x15')]());if(_0x12c5b3['enterBlock'](_0x5015d1)){const _0x47f944=_0x3cff60['model'][_0x30df('0x20')](_0x1e1088['parent']['nextSibling'],0x0),_0x8a9024=_0x5015d1[_0x30df('0x12')](_0x1e1088,_0x47f944);_0x3d917b[_0x30df('0x3')](_0x8a9024);}else _0x5015d1[_0x30df('0xe')](_0x5015d1[_0x30df('0x12')](_0x5a96b4['end']));_0x5a96b4[_0x30df('0x10')](),_0x12c5b3[_0x30df('0x14')](_0x30df('0x4'),{'writer':_0x5015d1});});}),_0x3cff60[_0x30df('0x9')]['downcastDispatcher']['on'](_0x30df('0xf'),_0x280c48(_0x3cff60,_0x30df('0x1f')),{'priority':_0x30df('0x5')}),_0x3cff60['editing'][_0x30df('0x11')]['on'](_0x30df('0x1c'),(_0x18b322,_0xe17cc,_0x1666e5)=>{const _0x3e1e1e=_0x1666e5[_0x30df('0x1d')]['markerNameToElements'](_0xe17cc[_0x30df('0x7')]);if(_0x3e1e1e)for(const _0x2dc4ef of _0x3e1e1e)_0x2dc4ef['hasClass'](_0x30df('0x0'))&&(_0x1666e5[_0x30df('0x1d')]['unbindElementFromMarkerName'](_0x2dc4ef,_0xe17cc['markerName']),_0x1666e5['writer'][_0x30df('0x17')](_0x2dc4ef));},{'priority':_0x30df('0x5')}),_0x3cff60[_0x30df('0x8')][_0x30df('0x11')]['on']('addMarker:suggestion:insertion',(_0x435d75,_0x466b92,_0x1340ea)=>{_0x1340ea[_0x30df('0x13')]['showSuggestionHighlights']&&_0x280c48(_0x3cff60,_0x30df('0x1f'),{'showActiveMarker':!0x1})[_0x30df('0xc')](this)(_0x435d75,_0x466b92,_0x1340ea);},{'priority':_0x30df('0x5')});}}
23
+ const _0x59b4=['editing','selection','createPositionAt','parent','enter','afterExecute','split','init','model','mapper','plugins','commands','createRange','unbindElementFromMarkerName','writer','fromRange','ck-suggestion-marker-split','get','data','downcastDispatcher','nextSibling','detach','enterBlock','bind','markerName','getFirstPosition','high','addMarker:suggestion:insertion','remove','requires','fire','hasClass','change','removeMarker:suggestion:insertion'];(function(_0x5636c7,_0x59b49c){const _0x580f5f=function(_0x5ed382){while(--_0x5ed382){_0x5636c7['push'](_0x5636c7['shift']());}};_0x580f5f(++_0x59b49c);}(_0x59b4,0x1ce));const _0x580f=function(_0x5636c7,_0x59b49c){_0x5636c7=_0x5636c7-0x0;let _0x580f5f=_0x59b4[_0x5636c7];return _0x580f5f;};import{Plugin as _0xa0a10}from'ckeditor5/src/core';import{Enter as _0x24ec86}from'ckeditor5/src/enter';import{LiveRange as _0x280430}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xa5c2ec}from'./utils';export default class z extends _0xa0a10{static get[_0x580f('0x9')](){return[_0x24ec86];}[_0x580f('0x15')](){const _0x22b64a=this['editor'],_0x4ec262=_0x22b64a[_0x580f('0x18')][_0x580f('0x1f')]('TrackChangesEditing'),_0xd889=_0x22b64a[_0x580f('0x19')][_0x580f('0x1f')](_0x580f('0x12'));_0x4ec262['enableCommand'](_0x580f('0x12'),()=>{_0x22b64a[_0x580f('0x16')][_0x580f('0xc')](_0x13fec7=>{const _0x5a00c1=_0x22b64a[_0x580f('0x16')]['document'][_0x580f('0xf')],_0x57121f=_0x5a00c1[_0x580f('0x5')](),_0x3844c2=_0x280430[_0x580f('0x1d')](_0x5a00c1['getFirstRange']());if(_0xd889[_0x580f('0x2')](_0x13fec7)){const _0x3bc751=_0x22b64a['model'][_0x580f('0x10')](_0x57121f[_0x580f('0x11')][_0x580f('0x0')],0x0),_0x47d231=_0x13fec7['createRange'](_0x57121f,_0x3bc751);_0x4ec262['markInsertion'](_0x47d231);}else _0x13fec7['setSelection'](_0x13fec7[_0x580f('0x1a')](_0x3844c2['end']));_0x3844c2[_0x580f('0x1')](),_0xd889[_0x580f('0xa')](_0x580f('0x13'),{'writer':_0x13fec7});});}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0x7'),_0xa5c2ec(_0x22b64a,_0x580f('0x14')),{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0xd'),(_0x1af01f,_0x460825,_0x4f5f64)=>{const _0xaf94af=_0x4f5f64[_0x580f('0x17')]['markerNameToElements'](_0x460825['markerName']);if(_0xaf94af)for(const _0x53622b of _0xaf94af)_0x53622b[_0x580f('0xb')](_0x580f('0x1e'))&&(_0x4f5f64[_0x580f('0x17')][_0x580f('0x1b')](_0x53622b,_0x460825[_0x580f('0x4')]),_0x4f5f64[_0x580f('0x1c')][_0x580f('0x8')](_0x53622b));},{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0x20')][_0x580f('0x21')]['on'](_0x580f('0x7'),(_0x330940,_0x27fc89,_0x4c5cd4)=>{_0x4c5cd4['options']['showSuggestionHighlights']&&_0xa5c2ec(_0x22b64a,'split',{'showActiveMarker':!0x1})[_0x580f('0x3')](this)(_0x330940,_0x27fc89,_0x4c5cd4);},{'priority':'high'});}}
@@ -1,21 +1,21 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/findandreplace
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for find and replace feature.
11
- */
12
- export default class TrackChangesFindAndReplace extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
- matchCase?: boolean;
19
- wholeWords?: boolean;
20
- }): void;
21
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/findandreplace
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for find and replace feature.
11
+ */
12
+ export default class TrackChangesFindAndReplace extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
+ matchCase?: boolean;
19
+ wholeWords?: boolean;
20
+ }): void;
21
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd41a=['filter','findNext','FindAndReplaceUtils','replaceAll','afterInit','markers','model','getIntersection','handleFindCommand','get','replace','start','plugins','string','findByTextCallback','_isInDeletionRange','bind','editor','end','getRange','TrackChangesEditing','find','enableCommand','FindAndReplaceEditing','createPositionAt','has'];(function(_0x50dbdb,_0xd41af7){const _0x2ee859=function(_0x16f613){while(--_0x16f613){_0x50dbdb['push'](_0x50dbdb['shift']());}};_0x2ee859(++_0xd41af7);}(_0xd41a,0x1b7));const _0x2ee8=function(_0x50dbdb,_0xd41af7){_0x50dbdb=_0x50dbdb-0x0;let _0x2ee859=_0xd41a[_0x50dbdb];return _0x2ee859;};import{Plugin as _0x480969}from'ckeditor5/src/core';export default class z extends _0x480969{[_0x2ee8('0x7')](){if(!this['editor'][_0x2ee8('0xf')][_0x2ee8('0x2')](_0x2ee8('0x0')))return;const _0x1b6c25=this[_0x2ee8('0x14')][_0x2ee8('0xf')][_0x2ee8('0xc')](_0x2ee8('0x17'));_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0x18'),this[_0x2ee8('0xb')][_0x2ee8('0x13')](this)),_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0x4')),_0x1b6c25[_0x2ee8('0x19')]('findPrevious'),_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0xd')),_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0x6'));}[_0x2ee8('0xb')](_0x603a99,_0x18a66d,_0x224c05={}){const _0x346511=this[_0x2ee8('0x14')][_0x2ee8('0xf')][_0x2ee8('0xc')](_0x2ee8('0x5'));void 0x0!==_0x224c05&&_0x603a99(_0x41ca92=>(_0x2ee8('0x10')==typeof _0x18a66d?_0x346511[_0x2ee8('0x11')](_0x18a66d,_0x224c05):_0x18a66d)(_0x41ca92)[_0x2ee8('0x3')](_0x3461e6=>!0x1===this[_0x2ee8('0x12')](_0x3461e6,_0x41ca92['item'])),_0x224c05);}['_isInDeletionRange'](_0x590e13,_0x268ca2){const _0x4985f9=this[_0x2ee8('0x14')][_0x2ee8('0x9')]['createRange'](this['editor'][_0x2ee8('0x9')][_0x2ee8('0x1')](_0x268ca2,_0x590e13[_0x2ee8('0xe')]),this[_0x2ee8('0x14')][_0x2ee8('0x9')][_0x2ee8('0x1')](_0x268ca2,_0x590e13[_0x2ee8('0x15')]));for(const _0x169127 of this[_0x2ee8('0x14')]['model'][_0x2ee8('0x8')]['getMarkersGroup']('suggestion:deletion'))if(null!==_0x4985f9[_0x2ee8('0xa')](_0x169127[_0x2ee8('0x16')]()))return!0x0;return!0x1;}}
23
+ const _0x35e8=['getMarkersGroup','editor','model','markers','_isInDeletionRange','FindAndReplaceEditing','filter','suggestion:deletion','end','FindAndReplaceUtils','find','string','findPrevious','createPositionAt','createRange','findNext','afterInit','item','enableCommand','replace','bind','getRange','getIntersection','plugins','handleFindCommand','replaceAll'];(function(_0x234f08,_0x35e863){const _0x5652e8=function(_0x34fc0b){while(--_0x34fc0b){_0x234f08['push'](_0x234f08['shift']());}};_0x5652e8(++_0x35e863);}(_0x35e8,0xf8));const _0x5652=function(_0x234f08,_0x35e863){_0x234f08=_0x234f08-0x0;let _0x5652e8=_0x35e8[_0x234f08];return _0x5652e8;};import{Plugin as _0xe85b8c}from'ckeditor5/src/core';export default class H extends _0xe85b8c{[_0x5652('0x2')](){if(!this[_0x5652('0xd')][_0x5652('0x9')]['has'](_0x5652('0x11')))return;const _0x26f639=this[_0x5652('0xd')][_0x5652('0x9')]['get']('TrackChangesEditing');_0x26f639[_0x5652('0x4')](_0x5652('0x16'),this['handleFindCommand'][_0x5652('0x6')](this)),_0x26f639['enableCommand'](_0x5652('0x1')),_0x26f639[_0x5652('0x4')](_0x5652('0x18')),_0x26f639[_0x5652('0x4')](_0x5652('0x5')),_0x26f639[_0x5652('0x4')](_0x5652('0xb'));}[_0x5652('0xa')](_0x233ebe,_0x5a2206,_0xb113e1={}){const _0x34d35b=this[_0x5652('0xd')][_0x5652('0x9')]['get'](_0x5652('0x15'));void 0x0!==_0xb113e1&&_0x233ebe(_0x306d11=>(_0x5652('0x17')==typeof _0x5a2206?_0x34d35b['findByTextCallback'](_0x5a2206,_0xb113e1):_0x5a2206)(_0x306d11)[_0x5652('0x12')](_0x2d725c=>!0x1===this[_0x5652('0x10')](_0x2d725c,_0x306d11[_0x5652('0x3')])),_0xb113e1);}[_0x5652('0x10')](_0x3d1bfb,_0x54b2d6){const _0x252961=this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x0')](this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb['start']),this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb[_0x5652('0x14')]));for(const _0x539434 of this['editor']['model'][_0x5652('0xf')][_0x5652('0xc')](_0x5652('0x13')))if(null!==_0x252961[_0x5652('0x8')](_0x539434[_0x5652('0x7')]()))return!0x0;return!0x1;}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/font
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for font features.
11
- */
12
- export default class TrackChangesFont extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/font
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for font features.
11
+ */
12
+ export default class TrackChangesFont extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171f=['commandName','afterInit','TrackChangesEditing','find','*Set\x20font\x20family:*\x20%0','get','registerDescriptionCallback','title','FontFamilyEditing','getRanges','enableCommand','fontFamily','markInlineFormat','from','*Reset\x20font\x20background\x20color*','commandParams','fontBackgroundColor.colors','FontSizeEditing','*Reset\x20font\x20family*','isCollapsed','format','label','plugins','fontBackgroundColor','fontSize','normalizeSizeOptions','document','fontColor','toLowerCase','has','fontColor.colors','editor','model','change','locale','trim','config','_enableCommand','*Reset\x20font\x20color*','value'];(function(_0x18da7b,_0x171f4a){const _0x305948=function(_0x47c15a){while(--_0x47c15a){_0x18da7b['push'](_0x18da7b['shift']());}};_0x305948(++_0x171f4a);}(_0x171f,0xcc));const _0x3059=function(_0x18da7b,_0x171f4a){_0x18da7b=_0x18da7b-0x0;let _0x305948=_0x171f[_0x18da7b];return _0x305948;};import{Plugin as _0x17631a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x290148}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x27527c}from'./utils';import{getTranslation as _0x5d2fa6}from'../utils/common-translations';const eo=[{'pluginName':_0x3059('0xd'),'commandName':_0x3059('0x14')},{'pluginName':_0x3059('0x4'),'commandName':_0x3059('0x7')},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class H extends _0x17631a{[_0x3059('0x25')](){const _0x42b74a=this[_0x3059('0x1b')][_0x3059('0x1e')];for(const {pluginName:_0x4789f4,commandName:_0x52bd71}of eo)this['editor']['plugins'][_0x3059('0x19')](_0x4789f4)&&this[_0x3059('0x21')](_0x52bd71);this[_0x3059('0x1b')][_0x3059('0x12')][_0x3059('0x1')](_0x3059('0x26'))['_descriptionFactory'][_0x3059('0x2')](_0x278201=>{const _0x1ec522=_0x42b74a['t'],{data:_0x5c8ab7}=_0x278201;if(null!=_0x5c8ab7){if(_0x3059('0x14')==_0x5c8ab7[_0x3059('0x24')]){const _0x418bdf=_0x5c8ab7[_0x3059('0xb')][0x0][_0x3059('0x23')];if(_0x418bdf){const _0x37aebd=_0x1ec522(this[_0x3059('0x1b')][_0x3059('0x12')][_0x3059('0x1')]('FontSize')[_0x3059('0x15')](this[_0x3059('0x1b')][_0x3059('0x20')]['get']('fontSize.options'))[_0x3059('0x27')](_0x1f4178=>_0x1f4178[_0x3059('0x1c')]==_0x418bdf)[_0x3059('0x3')])[_0x3059('0x18')]();return{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Set\x20font\x20size:*\x20%0',_0x37aebd)};}return{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x5c8ab7['commandName']){const _0xc0e94e=_0x5c8ab7[_0x3059('0xb')][0x0][_0x3059('0x23')];return _0xc0e94e?{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,_0x3059('0x0'),_0xc0e94e)}:{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,_0x3059('0xe'))};}if(_0x3059('0x17')==_0x5c8ab7[_0x3059('0x24')]){const _0x26aded=_0x5c8ab7[_0x3059('0xb')][0x0][_0x3059('0x23')];if(_0x26aded){const _0x2fc6fc=_0x290148(this[_0x3059('0x1b')]['config'][_0x3059('0x1')](_0x3059('0x1a')))['find'](_0x4d4060=>_0x4d4060['model']==_0x26aded);let _0x4bfe9c=_0x26aded,_0x48c1e5='';return _0x2fc6fc&&(_0x4bfe9c=_0x2fc6fc[_0x3059('0x11')],_0x48c1e5=_0x1ec522(_0x4bfe9c)['toLowerCase']()),{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Set\x20font\x20color:*\x20%0',_0x48c1e5)[_0x3059('0x1f')](),'color':{'value':_0x26aded,'title':_0x48c1e5||_0x4bfe9c}};}return{'type':'format','content':_0x5d2fa6(_0x42b74a,_0x3059('0x22'))};}if(_0x3059('0x13')==_0x5c8ab7[_0x3059('0x24')]){const _0x233675=_0x5c8ab7['commandParams'][0x0][_0x3059('0x23')];if(_0x233675){const _0x3065a5=_0x290148(this[_0x3059('0x1b')][_0x3059('0x20')][_0x3059('0x1')](_0x3059('0xc')))[_0x3059('0x27')](_0x1362d8=>_0x1362d8[_0x3059('0x1c')]==_0x233675);let _0x342d6f=_0x233675,_0x6d1d24='';return _0x3065a5&&(_0x342d6f=_0x3065a5['label'],_0x6d1d24=_0x1ec522(_0x342d6f)[_0x3059('0x18')]()),{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Set\x20font\x20background\x20color:*\x20%0',_0x6d1d24)[_0x3059('0x1f')](),'color':{'value':_0x233675,'title':_0x6d1d24||_0x342d6f}};}return{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,_0x3059('0xa'))};}}});}['_enableCommand'](_0x1a1d21){const _0x21c6c2=this[_0x3059('0x1b')];_0x21c6c2[_0x3059('0x12')][_0x3059('0x1')](_0x3059('0x26'))[_0x3059('0x6')](_0x1a1d21,(_0x4300c4,_0x14e9bf={})=>{const _0x1b1e60=_0x21c6c2[_0x3059('0x1c')][_0x3059('0x16')]['selection'],_0x41afc8=_0x14e9bf['value'];_0x1b1e60[_0x3059('0xf')]?_0x4300c4(_0x14e9bf):_0x21c6c2[_0x3059('0x1c')][_0x3059('0x1d')](()=>{const _0x14a2f7=Array[_0x3059('0x9')](_0x1b1e60[_0x3059('0x5')]());for(const _0x102221 of _0x14a2f7){const _0x1c5844=_0x41afc8?[_0x102221]:_0x27527c(_0x1a1d21,_0x102221,_0x21c6c2[_0x3059('0x1c')]);for(const _0x179685 of _0x1c5844)_0x21c6c2['plugins'][_0x3059('0x1')](_0x3059('0x26'))[_0x3059('0x8')](_0x179685,{'commandName':_0x1a1d21,'commandParams':[{'value':_0x41afc8}]});}});});}}
23
+ const _0x3bae=['config','enableCommand','trim','fontBackgroundColor','document','has','TrackChangesEditing','toLowerCase','FontFamilyEditing','commandParams','plugins','change','*Reset\x20font\x20background\x20color*','afterInit','label','isCollapsed','fontColor.colors','value','get','normalizeSizeOptions','FontColorEditing','commandName','format','fontSize.options','getRanges','fontFamily','*Set\x20font\x20family:*\x20%0','locale','FontSizeEditing','fontColor','title','find','*Reset\x20font\x20color*','from','*Reset\x20font\x20size*','model','editor','markInlineFormat','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','_enableCommand','fontSize','registerDescriptionCallback'];(function(_0x5d02bf,_0x3baed1){const _0x3cbc56=function(_0x46298b){while(--_0x46298b){_0x5d02bf['push'](_0x5d02bf['shift']());}};_0x3cbc56(++_0x3baed1);}(_0x3bae,0x1eb));const _0x3cbc=function(_0x5d02bf,_0x3baed1){_0x5d02bf=_0x5d02bf-0x0;let _0x3cbc56=_0x3bae[_0x5d02bf];return _0x3cbc56;};import{Plugin as _0x286b2b}from'ckeditor5/src/core';import{normalizeColorOptions as _0xf0e98a}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4fc8ae}from'./utils';import{getTranslation as _0x4574e4}from'../utils/common-translations';const eo=[{'pluginName':_0x3cbc('0xa'),'commandName':_0x3cbc('0x17')},{'pluginName':_0x3cbc('0x21'),'commandName':_0x3cbc('0x7')},{'pluginName':_0x3cbc('0x2'),'commandName':_0x3cbc('0xb')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x3cbc('0x1c')}];export default class W extends _0x286b2b{[_0x3cbc('0x26')](){const _0x563d9f=this[_0x3cbc('0x12')][_0x3cbc('0x9')];for(const {pluginName:_0x450b5e,commandName:_0x2417ab}of eo)this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x1e')](_0x450b5e)&&this['_enableCommand'](_0x2417ab);this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))['_descriptionFactory'][_0x3cbc('0x18')](_0x4137f0=>{const _0x5d83bd=_0x563d9f['t'],{data:_0x240d69}=_0x4137f0;if(null!=_0x240d69){if('fontSize'==_0x240d69['commandName']){const _0x40d048=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x40d048){const _0x14a5ae=_0x5d83bd(this[_0x3cbc('0x12')][_0x3cbc('0x23')]['get']('FontSize')[_0x3cbc('0x1')](this[_0x3cbc('0x12')][_0x3cbc('0x19')][_0x3cbc('0x0')](_0x3cbc('0x5')))['find'](_0x580039=>_0x580039[_0x3cbc('0x11')]==_0x40d048)[_0x3cbc('0xc')])[_0x3cbc('0x20')]();return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x15'),_0x14a5ae)};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x10'))};}if('fontFamily'==_0x240d69[_0x3cbc('0x3')]){const _0x1574b8=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];return _0x1574b8?{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x8'),_0x1574b8)}:{'type':'format','content':_0x4574e4(_0x563d9f,'*Reset\x20font\x20family*')};}if('fontColor'==_0x240d69[_0x3cbc('0x3')]){const _0x3bb9ff=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];if(_0x3bb9ff){const _0x33f99e=_0xf0e98a(this[_0x3cbc('0x12')]['config'][_0x3cbc('0x0')](_0x3cbc('0x29')))[_0x3cbc('0xd')](_0x2211ae=>_0x2211ae['model']==_0x3bb9ff);let _0x322ea1=_0x3bb9ff,_0xc74985='';return _0x33f99e&&(_0x322ea1=_0x33f99e[_0x3cbc('0x27')],_0xc74985=_0x5d83bd(_0x322ea1)[_0x3cbc('0x20')]()),{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,'*Set\x20font\x20color:*\x20%0',_0xc74985)['trim'](),'color':{'value':_0x3bb9ff,'title':_0xc74985||_0x322ea1}};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0xe'))};}if('fontBackgroundColor'==_0x240d69[_0x3cbc('0x3')]){const _0x5ebada=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x5ebada){const _0x504841=_0xf0e98a(this['editor'][_0x3cbc('0x19')][_0x3cbc('0x0')]('fontBackgroundColor.colors'))[_0x3cbc('0xd')](_0x25ac6c=>_0x25ac6c[_0x3cbc('0x11')]==_0x5ebada);let _0x3cd3d6=_0x5ebada,_0x1f2899='';return _0x504841&&(_0x3cd3d6=_0x504841[_0x3cbc('0x27')],_0x1f2899=_0x5d83bd(_0x3cd3d6)[_0x3cbc('0x20')]()),{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x14'),_0x1f2899)[_0x3cbc('0x1b')](),'color':{'value':_0x5ebada,'title':_0x1f2899||_0x3cd3d6}};}return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x25'))};}}});}[_0x3cbc('0x16')](_0x292f5e){const _0x4b82c7=this[_0x3cbc('0x12')];_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))[_0x3cbc('0x1a')](_0x292f5e,(_0x2d8488,_0xfbad5e={})=>{const _0x5a5789=_0x4b82c7[_0x3cbc('0x11')][_0x3cbc('0x1d')]['selection'],_0x1e86d3=_0xfbad5e[_0x3cbc('0x2a')];_0x5a5789[_0x3cbc('0x28')]?_0x2d8488(_0xfbad5e):_0x4b82c7['model'][_0x3cbc('0x24')](()=>{const _0x2159bb=Array[_0x3cbc('0xf')](_0x5a5789[_0x3cbc('0x6')]());for(const _0x2d5a49 of _0x2159bb){const _0x3e3ef2=_0x1e86d3?[_0x2d5a49]:_0x4fc8ae(_0x292f5e,_0x2d5a49,_0x4b82c7[_0x3cbc('0x11')]);for(const _0x31cd79 of _0x3e3ef2)_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')]('TrackChangesEditing')[_0x3cbc('0x13')](_0x31cd79,{'commandName':_0x292f5e,'commandParams':[{'value':_0x1e86d3}]});}});});}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/formatpainter
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the Format Painter feature.
11
- */
12
- export default class TrackChangesFormatPainter extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/formatpainter
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the Format Painter feature.
11
+ */
12
+ export default class TrackChangesFormatPainter extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ac2=['backward','commandParams','split','format','fontColor','entries','isFormatting','*Remove\x20all\x20formatting*','config','forward','isCollapsed','commands','title','createRange','*Set\x20format\x20to:*\x20%0','selection','fontColor.colors','markInlineFormat','boolean','toUpperCase','afterInit','from','get','pasteFormat','FontSize','modifySelection','model','getRanges','label','normalizeSizeOptions','keys','plugins','getLastPosition','enableCommand','isBlock','fontSize','createSelection','change','word','copyFormat','_descriptionFactory','getSelectedBlocks','TrackChangesEditing','fontBackgroundColor','schema','toLowerCase','fontSize.options','length','slice','find','locale'];(function(_0x159ce8,_0x5ac238){const _0x5742c5=function(_0x13ba99){while(--_0x13ba99){_0x159ce8['push'](_0x159ce8['shift']());}};_0x5742c5(++_0x5ac238);}(_0x5ac2,0xbe));const _0x5742=function(_0x159ce8,_0x5ac238){_0x159ce8=_0x159ce8-0x0;let _0x5742c5=_0x5ac2[_0x159ce8];return _0x5742c5;};import{Plugin as _0x3271c0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x47e905}from'ckeditor5/src/ui';import{first as _0x2085d8}from'ckeditor5/src/utils';import{getTranslation as _0x4cf1a0}from'../utils/common-translations';export default class W extends _0x3271c0{[_0x5742('0x22')](){const _0x2353f0=this['editor'],_0xc96111=_0x2353f0['model'],_0x4ceee9=_0xc96111['document'][_0x5742('0x1d')],_0x386087=_0x2353f0[_0x5742('0x2d')][_0x5742('0x24')](_0x5742('0x5')),_0x516d82=_0x2353f0[_0x5742('0xd')],_0x29faf7=_0x2353f0['commands']['get'](_0x5742('0x2')),_0x339828=_0x2353f0[_0x5742('0x19')][_0x5742('0x24')](_0x5742('0x25'));_0x29faf7&&_0x339828&&(_0x386087[_0x5742('0x2f')]('pasteFormat',(_0xe0d885,_0x9764c4={})=>{const _0x30deb5=_0x9764c4;_0xc96111[_0x5742('0x0')](()=>{const _0x1d4eef=Array[_0x5742('0x23')](_0x4ceee9[_0x5742('0x29')]()),_0x6c10e1=_0x4ceee9[_0x5742('0x18')]?[co(_0xc96111,_0x4ceee9)]:_0x1d4eef,_0x547836=!!_0x2085d8(function*(_0x50414f,_0x2bffe8){const _0x356494=_0xf3bad8=>!!_0x2085d8(function*(_0x2aa018,_0x17005a){for(const [_0x6fb9e2]of _0x2aa018['getAttributes']()){const _0x5a3dc4=_0x17005a['getAttributeProperties'](_0x6fb9e2);_0x5a3dc4&&_0x5a3dc4[_0x5742('0x14')]&&(yield _0x6fb9e2);}}(_0xf3bad8,_0x2bffe8));for(const _0x24dd5a of _0x50414f[_0x5742('0x29')]())for(const _0x2332b6 of _0x24dd5a['getItems']())!_0x2bffe8[_0x5742('0x30')](_0x2332b6)&&_0x356494(_0x2332b6)&&(yield _0x2332b6);for(const _0x2db78c of _0x50414f[_0x5742('0x4')]())_0x356494(_0x2db78c)&&(yield _0x2db78c);_0x356494(_0x50414f)&&(yield _0x50414f);}(_0x4ceee9,_0xc96111[_0x5742('0x7')]));if(_0x547836||0x0!==Object[_0x5742('0x2c')](_0x30deb5)[_0x5742('0xa')])for(const _0x4d1728 of _0x6c10e1)_0x386087[_0x5742('0x1f')](_0x4d1728,{'commandName':'pasteFormat','commandParams':[_0x30deb5]});});}),_0x386087[_0x5742('0x3')]['registerDescriptionCallback'](_0x4f926a=>{const {data:_0x1355b9}=_0x4f926a;if(_0x1355b9&&'pasteFormat'===_0x1355b9['commandName']){const _0x342131=[],_0x29fbdc=_0x1355b9[_0x5742('0xf')][0x0];for(const [_0x3586d3,_0x239f57]of Object[_0x5742('0x13')](_0x29fbdc))_0x342131['push'](io(_0x2353f0,_0x3586d3,_0x239f57));return _0x342131[_0x5742('0xa')]?{'type':_0x5742('0x11'),'content':_0x4cf1a0(_0x516d82,_0x5742('0x1c'),_0x342131['join'](',\x20'))}:{'type':_0x5742('0x11'),'content':_0x4cf1a0(_0x516d82,_0x5742('0x15'))};}}),_0x2353f0[_0x5742('0x2d')]['get']('TrackChangesEditing')[_0x5742('0x2f')](_0x5742('0x2')));}}function co(_0x458366,_0x2a8b5a){const _0x27199b=_0x458366[_0x5742('0x32')](_0x2a8b5a);_0x458366[_0x5742('0x27')](_0x27199b,{'unit':_0x5742('0x1'),'direction':_0x5742('0xe')});const _0xd72894=_0x27199b['getFirstPosition']();_0x458366['modifySelection'](_0x27199b,{'unit':_0x5742('0x1'),'direction':_0x5742('0x17')});const _0x28076a=_0x27199b[_0x5742('0x2e')]();return _0x458366[_0x5742('0x1b')](_0xd72894,_0x28076a);}function io(_0x160efe,_0x1c67d5,_0x185a55){const _0x5769d1=_0x160efe[_0x5742('0xd')]['t'],_0x58be60=_0x1c67d5[_0x5742('0x10')](/(?=[A-Z])/)['join']('\x20'),_0x34e122=_0x5769d1(_0x58be60['charAt'](0x0)[_0x5742('0x21')]()+_0x58be60[_0x5742('0xb')](0x1))[_0x5742('0x8')]();if(_0x5742('0x20')==typeof _0x185a55)return _0x34e122;if(_0x5742('0x12')===_0x1c67d5||_0x5742('0x6')===_0x1c67d5){const _0x9a0762=_0x47e905(_0x160efe[_0x5742('0x16')]['get'](_0x5742('0x1e')))[_0x5742('0xc')](_0x1de77c=>_0x1de77c[_0x5742('0x28')]==_0x185a55);return _0x34e122+'\x20('+(_0x9a0762?_0x5769d1(_0x9a0762[_0x5742('0x2a')])[_0x5742('0x8')]():_0x185a55)+')';}if(_0x5742('0x31')===_0x1c67d5&&isNaN(parseFloat(_0x185a55))){const _0x3a8fb7=_0x160efe[_0x5742('0x2d')][_0x5742('0x24')](_0x5742('0x26'))[_0x5742('0x2b')](_0x160efe[_0x5742('0x16')][_0x5742('0x24')](_0x5742('0x9')))[_0x5742('0xc')](_0x314343=>_0x314343[_0x5742('0x28')]==_0x185a55);return _0x34e122+'\x20('+(_0x3a8fb7?_0x5769d1(_0x3a8fb7[_0x5742('0x1a')])[_0x5742('0x8')]():_0x185a55)+')';}return _0x34e122+'\x20('+_0x185a55+')';}
23
+ const _0x63d3=['normalizeSizeOptions','isCollapsed','markInlineFormat','pasteFormat','*Set\x20format\x20to:*\x20%0','length','change','fontColor','config','word','title','modifySelection','getFirstPosition','getRanges','toLowerCase','commandName','format','createSelection','isBlock','getAttributes','afterInit','slice','getSelectedBlocks','plugins','boolean','commands','selection','_descriptionFactory','locale','push','isFormatting','fontSize','charAt','get','entries','fontSize.options','registerDescriptionCallback','find','model','createRange','join','getLastPosition','*Remove\x20all\x20formatting*','keys','copyFormat','toUpperCase','from','TrackChangesEditing','label','split','fontColor.colors','enableCommand'];(function(_0x5b23ad,_0x63d3b3){const _0x386be8=function(_0x194c8b){while(--_0x194c8b){_0x5b23ad['push'](_0x5b23ad['shift']());}};_0x386be8(++_0x63d3b3);}(_0x63d3,0x1e3));const _0x386b=function(_0x5b23ad,_0x63d3b3){_0x5b23ad=_0x5b23ad-0x0;let _0x386be8=_0x63d3[_0x5b23ad];return _0x386be8;};import{Plugin as _0x422c3c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x448008}from'ckeditor5/src/ui';import{first as _0x4ce873}from'ckeditor5/src/utils';import{getTranslation as _0x42c77a}from'../utils/common-translations';export default class J extends _0x422c3c{[_0x386b('0x5')](){const _0x4d9289=this['editor'],_0x428246=_0x4d9289[_0x386b('0x17')],_0x4826eb=_0x428246['document'][_0x386b('0xb')],_0x422423=_0x4d9289[_0x386b('0x8')][_0x386b('0x12')](_0x386b('0x20')),_0x3e7a6d=_0x4d9289[_0x386b('0xd')],_0x119061=_0x4d9289[_0x386b('0xa')]['get'](_0x386b('0x1d')),_0x4bd2b9=_0x4d9289[_0x386b('0xa')][_0x386b('0x12')](_0x386b('0x28'));_0x119061&&_0x4bd2b9&&(_0x422423[_0x386b('0x24')](_0x386b('0x28'),(_0x29781d,_0xbc3032={})=>{const _0xce85de=_0xbc3032;_0x428246[_0x386b('0x2b')](()=>{const _0x2a2280=Array[_0x386b('0x1f')](_0x4826eb[_0x386b('0x32')]()),_0x480f72=_0x4826eb[_0x386b('0x26')]?[io(_0x428246,_0x4826eb)]:_0x2a2280,_0x2ff460=!!_0x4ce873(function*(_0x5ca914,_0xb0c07){const _0x512c0d=_0x1fb2e5=>!!_0x4ce873(function*(_0x1652ea,_0x9cb244){for(const [_0x2ac32f]of _0x1652ea[_0x386b('0x4')]()){const _0x2f391e=_0x9cb244['getAttributeProperties'](_0x2ac32f);_0x2f391e&&_0x2f391e[_0x386b('0xf')]&&(yield _0x2ac32f);}}(_0x1fb2e5,_0xb0c07));for(const _0x147830 of _0x5ca914[_0x386b('0x32')]())for(const _0x55ea19 of _0x147830['getItems']())!_0xb0c07[_0x386b('0x3')](_0x55ea19)&&_0x512c0d(_0x55ea19)&&(yield _0x55ea19);for(const _0x5b085a of _0x5ca914[_0x386b('0x7')]())_0x512c0d(_0x5b085a)&&(yield _0x5b085a);_0x512c0d(_0x5ca914)&&(yield _0x5ca914);}(_0x4826eb,_0x428246['schema']));if(_0x2ff460||0x0!==Object[_0x386b('0x1c')](_0xce85de)[_0x386b('0x2a')])for(const _0x247d65 of _0x480f72)_0x422423[_0x386b('0x27')](_0x247d65,{'commandName':'pasteFormat','commandParams':[_0xce85de]});});}),_0x422423[_0x386b('0xc')][_0x386b('0x15')](_0x2bd2f5=>{const {data:_0x2601b2}=_0x2bd2f5;if(_0x2601b2&&_0x386b('0x28')===_0x2601b2[_0x386b('0x0')]){const _0x5575c2=[],_0x1f47dc=_0x2601b2['commandParams'][0x0];for(const [_0x332e21,_0x37d4e0]of Object[_0x386b('0x13')](_0x1f47dc))_0x5575c2[_0x386b('0xe')](so(_0x4d9289,_0x332e21,_0x37d4e0));return _0x5575c2['length']?{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x29'),_0x5575c2[_0x386b('0x19')](',\x20'))}:{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x1b'))};}}),_0x4d9289[_0x386b('0x8')]['get'](_0x386b('0x20'))['enableCommand'](_0x386b('0x1d')));}}function io(_0x2418bb,_0xe0a68e){const _0x5d75b2=_0x2418bb[_0x386b('0x2')](_0xe0a68e);_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'backward'});const _0x48fac2=_0x5d75b2[_0x386b('0x31')]();_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'forward'});const _0x3d0569=_0x5d75b2[_0x386b('0x1a')]();return _0x2418bb[_0x386b('0x18')](_0x48fac2,_0x3d0569);}function so(_0x47ee9a,_0x2b8c01,_0x18d05d){const _0x2635e4=_0x47ee9a[_0x386b('0xd')]['t'],_0x2552e7=_0x2b8c01[_0x386b('0x22')](/(?=[A-Z])/)[_0x386b('0x19')]('\x20'),_0x15cf10=_0x2635e4(_0x2552e7[_0x386b('0x11')](0x0)[_0x386b('0x1e')]()+_0x2552e7[_0x386b('0x6')](0x1))[_0x386b('0x33')]();if(_0x386b('0x9')==typeof _0x18d05d)return _0x15cf10;if(_0x386b('0x2c')===_0x2b8c01||'fontBackgroundColor'===_0x2b8c01){const _0x232d7d=_0x448008(_0x47ee9a[_0x386b('0x2d')]['get'](_0x386b('0x23')))['find'](_0x938063=>_0x938063[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x232d7d?_0x2635e4(_0x232d7d[_0x386b('0x21')])[_0x386b('0x33')]():_0x18d05d)+')';}if(_0x386b('0x10')===_0x2b8c01&&isNaN(parseFloat(_0x18d05d))){const _0x23bda0=_0x47ee9a[_0x386b('0x8')]['get']('FontSize')[_0x386b('0x25')](_0x47ee9a['config'][_0x386b('0x12')](_0x386b('0x14')))[_0x386b('0x16')](_0xda897b=>_0xda897b[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x23bda0?_0x2635e4(_0x23bda0[_0x386b('0x2f')])[_0x386b('0x33')]():_0x18d05d)+')';}return _0x15cf10+'\x20('+_0x18d05d+')';}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/heading
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for heading feature.
11
- */
12
- export default class TrackChangesHeading extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/heading
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for heading feature.
11
+ */
12
+ export default class TrackChangesHeading extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27e2=['title','get','blockName','heading','commandName','find','isObject','registerDescriptionCallback','change','from','editor','heading.options','name','value','locale','parent','filter','paragraph','getSelectedBlocks','*Change\x20to:*\x20%0','has','ELEMENT_HEADING','selection','config','plugins','_descriptionFactory','format','checkChild','enableCommand','ELEMENT_HEADING_CUSTOM','commandParams','HeadingEditing','match','model'];(function(_0x56607d,_0x27e20d){const _0x109c44=function(_0x3a8d8a){while(--_0x3a8d8a){_0x56607d['push'](_0x56607d['shift']());}};_0x109c44(++_0x27e20d);}(_0x27e2,0x1cf));const _0x109c=function(_0x56607d,_0x27e20d){_0x56607d=_0x56607d-0x0;let _0x109c44=_0x27e2[_0x56607d];return _0x109c44;};import{Plugin as _0x207161}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2b211d}from'./utils';import{getTranslation as _0x1773f8}from'../utils/common-translations';export default class J extends _0x207161{['afterInit'](){const _0x4e887e=this['editor'],_0x3d56e9=_0x4e887e[_0x109c('0x1b')],_0x373788=_0x4e887e[_0x109c('0x2')]['get'](_0x109c('0x18'));if(!_0x4e887e[_0x109c('0x3')][_0x109c('0x21')](_0x109c('0xa')))return;const _0x443517=_0x4e887e[_0x109c('0x3')][_0x109c('0xe')]('TrackChangesEditing');_0x443517[_0x109c('0x7')]('heading',(_0x4a6d11,_0x4a12e3)=>{const _0x5f2193=_0x4a12e3[_0x109c('0x1a')],_0x20c77d=Array[_0x109c('0x16')](this['editor']['model']['document'][_0x109c('0x1')][_0x109c('0x1f')]())[_0x109c('0x1d')](_0x11ed6a=>function(_0x4f2288,_0x4a3cad,_0x246fef){return _0x246fef[_0x109c('0x6')](_0x4f2288[_0x109c('0x1c')],_0x4a3cad)&&!_0x246fef[_0x109c('0x13')](_0x4f2288)&&_0x4f2288[_0x109c('0x19')]!=_0x4a3cad;}(_0x11ed6a,_0x5f2193,this[_0x109c('0x17')][_0x109c('0xc')]['schema']));_0x4e887e[_0x109c('0xc')][_0x109c('0x15')](()=>{for(const _0x2bfa46 of _0x20c77d)_0x443517['markBlockFormat'](_0x2bfa46,{'commandName':_0x109c('0x10'),'commandParams':[_0x4a12e3],'formatGroupId':_0x109c('0xf')},_0x2b211d(_0x2bfa46));});});for(const _0x4ae6a8 of _0x373788)_0x109c('0x1e')!=_0x4ae6a8[_0x109c('0xc')]&&_0x443517[_0x109c('0x4')]['registerElementLabel'](_0x4ae6a8[_0x109c('0xc')],_0x3a63df=>{const _0x32084f=nn(_0x4ae6a8['model']);return null!==_0x32084f?_0x2678d3(_0x3a63df,_0x32084f):_0x431936(_0x3a63df,_0x4ae6a8[_0x109c('0xd')]);});function _0x2678d3(_0xaa94c0,_0x105b7e){return _0x1773f8(_0x3d56e9,_0x109c('0x0'),[_0xaa94c0,_0x105b7e]);}function _0x431936(_0x5230e3,_0x5ee30a){return _0x1773f8(_0x3d56e9,_0x109c('0x8'),[_0x5230e3,_0x5ee30a]);}_0x443517['_descriptionFactory'][_0x109c('0x14')](_0x42e515=>{const {type:_0x5cd8a6,data:_0x101e54}=_0x42e515;if('formatBlock'==_0x5cd8a6&&_0x101e54&&_0x109c('0x10')==_0x101e54[_0x109c('0x11')]){const _0x1cc5e2=_0x101e54[_0x109c('0x9')][0x0][_0x109c('0x1a')],_0x15fda7=nn(_0x1cc5e2);if(null!==_0x15fda7)return{'type':_0x109c('0x5'),'content':_0x1773f8(_0x3d56e9,_0x109c('0x20'),_0x2678d3(0x1,_0x15fda7))};const _0x42f060=_0x373788[_0x109c('0x12')](_0x2d46d3=>_0x2d46d3[_0x109c('0xc')]===_0x1cc5e2)['title'];return{'type':_0x109c('0x5'),'content':_0x1773f8(_0x3d56e9,_0x109c('0x20'),_0x431936(0x1,_0x42f060))};}});}}function nn(_0x336586){const _0x361ed9=_0x336586[_0x109c('0xb')](/^heading(\d+)$/);return _0x361ed9?_0x361ed9[0x1]:null;}
23
+ const _0x4402=['getSelectedBlocks','parent','heading.options','model','registerElementLabel','ELEMENT_HEADING','commandName','blockName','enableCommand','filter','markBlockFormat','get','name','locale','change','editor','has','TrackChangesEditing','*Change\x20to:*\x20%0','heading','HeadingEditing','value','commandParams','schema','format','selection','plugins','from','config','_descriptionFactory','isObject','registerDescriptionCallback','formatBlock','ELEMENT_HEADING_CUSTOM'];(function(_0x56d364,_0x440270){const _0x4f87d4=function(_0x4807e1){while(--_0x4807e1){_0x56d364['push'](_0x56d364['shift']());}};_0x4f87d4(++_0x440270);}(_0x4402,0x1d1));const _0x4f87=function(_0x56d364,_0x440270){_0x56d364=_0x56d364-0x0;let _0x4f87d4=_0x4402[_0x56d364];return _0x4f87d4;};import{Plugin as _0x4c4336}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x470f84}from'./utils';import{getTranslation as _0x3f68ae}from'../utils/common-translations';export default class K extends _0x4c4336{['afterInit'](){const _0x48e9d2=this[_0x4f87('0x1a')],_0x1e0c8d=_0x48e9d2[_0x4f87('0x18')],_0x34327d=_0x48e9d2[_0x4f87('0x5')]['get'](_0x4f87('0xd'));if(!_0x48e9d2[_0x4f87('0x3')][_0x4f87('0x1b')](_0x4f87('0x1f')))return;const _0x48ec19=_0x48e9d2[_0x4f87('0x3')][_0x4f87('0x16')](_0x4f87('0x1c'));_0x48ec19[_0x4f87('0x13')](_0x4f87('0x1e'),(_0x3676be,_0x11ff64)=>{const _0xe9d71=_0x11ff64[_0x4f87('0x20')],_0x443c64=Array[_0x4f87('0x4')](this[_0x4f87('0x1a')][_0x4f87('0xe')]['document'][_0x4f87('0x2')][_0x4f87('0xb')]())[_0x4f87('0x14')](_0x225189=>function(_0x45f283,_0x4b9db3,_0x2c1c1e){return _0x2c1c1e['checkChild'](_0x45f283[_0x4f87('0xc')],_0x4b9db3)&&!_0x2c1c1e[_0x4f87('0x7')](_0x45f283)&&_0x45f283[_0x4f87('0x17')]!=_0x4b9db3;}(_0x225189,_0xe9d71,this['editor'][_0x4f87('0xe')][_0x4f87('0x0')]));_0x48e9d2[_0x4f87('0xe')][_0x4f87('0x19')](()=>{for(const _0x496dd0 of _0x443c64)_0x48ec19[_0x4f87('0x15')](_0x496dd0,{'commandName':_0x4f87('0x1e'),'commandParams':[_0x11ff64],'formatGroupId':_0x4f87('0x12')},_0x470f84(_0x496dd0));});});for(const _0x2680d8 of _0x34327d)'paragraph'!=_0x2680d8[_0x4f87('0xe')]&&_0x48ec19[_0x4f87('0x6')][_0x4f87('0xf')](_0x2680d8['model'],_0x4bfd70=>{const _0x229093=nn(_0x2680d8[_0x4f87('0xe')]);return null!==_0x229093?_0x41eaf4(_0x4bfd70,_0x229093):_0x1a3e4c(_0x4bfd70,_0x2680d8['title']);});function _0x41eaf4(_0x28989a,_0x3a434a){return _0x3f68ae(_0x1e0c8d,_0x4f87('0x10'),[_0x28989a,_0x3a434a]);}function _0x1a3e4c(_0x46eb4d,_0x122655){return _0x3f68ae(_0x1e0c8d,_0x4f87('0xa'),[_0x46eb4d,_0x122655]);}_0x48ec19[_0x4f87('0x6')][_0x4f87('0x8')](_0x1304b3=>{const {type:_0x23fd39,data:_0x26851b}=_0x1304b3;if(_0x4f87('0x9')==_0x23fd39&&_0x26851b&&_0x4f87('0x1e')==_0x26851b[_0x4f87('0x11')]){const _0x3a65d5=_0x26851b[_0x4f87('0x21')][0x0][_0x4f87('0x20')],_0xdd95a2=nn(_0x3a65d5);if(null!==_0xdd95a2)return{'type':_0x4f87('0x1'),'content':_0x3f68ae(_0x1e0c8d,_0x4f87('0x1d'),_0x41eaf4(0x1,_0xdd95a2))};const _0x4fdd4e=_0x34327d['find'](_0x50224c=>_0x50224c[_0x4f87('0xe')]===_0x3a65d5)['title'];return{'type':'format','content':_0x3f68ae(_0x1e0c8d,'*Change\x20to:*\x20%0',_0x1a3e4c(0x1,_0x4fdd4e))};}});}}function nn(_0x23c7b7){const _0xf52981=_0x23c7b7['match'](/^heading(\d+)$/);return _0xf52981?_0xf52981[0x1]: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/highlight
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for highlight feature.
11
- */
12
- export default class TrackChangesHighlight 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/highlight
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for highlight feature.
11
+ */
12
+ export default class TrackChangesHighlight extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x449e=['item','formatInline','_descriptionFactory','value','registerDescriptionCallback','isCollapsed','*Set\x20highlight:*\x20%0','hasAttribute','push','getRanges','title','HighlightEditing','backward','get','getLastMatchingPosition','find','model','afterInit','highlight.options','color','getFirstPosition','toLowerCase','plugins','FORMAT_HIGHLIGHT','getAttribute','format','highlight','locale','change','*Remove\x20highlight*','selection'];(function(_0x5c5061,_0x449ec3){const _0x3f1441=function(_0x2dcba4){while(--_0x2dcba4){_0x5c5061['push'](_0x5c5061['shift']());}};_0x3f1441(++_0x449ec3);}(_0x449e,0x1e8));const _0x3f14=function(_0x5c5061,_0x449ec3){_0x5c5061=_0x5c5061-0x0;let _0x3f1441=_0x449e[_0x5c5061];return _0x3f1441;};import{Plugin as _0x9fd500}from'ckeditor5/src/core';import{getTranslation as _0x65a131}from'../utils/common-translations';import{getRangesWithAttribute as _0x129c76}from'./utils';export default class K extends _0x9fd500{[_0x3f14('0x19')](){const _0x3a7b7f=this['editor'];if(!_0x3a7b7f[_0x3f14('0x1e')]['has'](_0x3f14('0x13')))return;const _0x3d4223=_0x3a7b7f[_0x3f14('0x1e')][_0x3f14('0x15')]('TrackChangesEditing');_0x3d4223['enableCommand'](_0x3f14('0x3'),(_0x33551d,_0x400129={})=>{const _0x305689=_0x3a7b7f[_0x3f14('0x18')]['document'][_0x3f14('0x7')],_0x29ed39=_0x305689[_0x3f14('0x1')](_0x3f14('0x3'));let _0x2eea45=_0x400129[_0x3f14('0xb')],_0x34a276=[];if(_0x305689[_0x3f14('0xd')]){const _0x2ea5af=_0x305689[_0x3f14('0x1c')]();if(!_0x305689[_0x3f14('0xf')](_0x3f14('0x3')))return void _0x33551d(_0x400129);{const _0x221044=_0x2de050=>_0x2de050[_0x3f14('0x8')][_0x3f14('0x1')]('highlight')===_0x29ed39,_0x5212d7=_0x2ea5af[_0x3f14('0x16')](_0x221044,{'direction':_0x3f14('0x14')}),_0x142bf1=_0x2ea5af[_0x3f14('0x16')](_0x221044);_0x34a276=[_0x3a7b7f[_0x3f14('0x18')]['createRange'](_0x5212d7,_0x142bf1)],_0x2eea45==_0x29ed39&&(_0x2eea45=null);}}else for(const _0x3cdba8 of _0x305689[_0x3f14('0x11')]())_0x2eea45?_0x34a276[_0x3f14('0x10')](_0x3cdba8):_0x34a276[_0x3f14('0x10')](..._0x129c76(_0x3f14('0x3'),_0x3cdba8,_0x3a7b7f[_0x3f14('0x18')]));_0x3a7b7f[_0x3f14('0x18')][_0x3f14('0x5')](()=>{for(const _0x33349c of _0x34a276)_0x3d4223['markInlineFormat'](_0x33349c,{'commandName':'highlight','commandParams':[{'value':_0x2eea45}]});});});const _0x355e96=_0x3a7b7f[_0x3f14('0x4')];_0x3d4223[_0x3f14('0xa')][_0x3f14('0xc')](_0x48ea88=>{const {type:_0x48f3e7,data:_0x3c4b3b}=_0x48ea88;if(_0x3f14('0x9')==_0x48f3e7&&_0x3c4b3b&&_0x3f14('0x3')==_0x3c4b3b['commandName']){const _0x18c63d=_0x355e96['t'],_0x328ada=_0x3c4b3b['commandParams'][0x0][_0x3f14('0xb')];if(_0x328ada){const _0x308e22=_0x3a7b7f['config'][_0x3f14('0x15')](_0x3f14('0x1a'))[_0x3f14('0x17')](_0xae7ec=>_0xae7ec[_0x3f14('0x18')]==_0x328ada),_0x496258=_0x18c63d(_0x308e22[_0x3f14('0x12')])[_0x3f14('0x1d')]();return{'type':'format','content':_0x65a131(_0x355e96,_0x3f14('0xe'),_0x496258),'color':{'value':_0x308e22[_0x3f14('0x1b')],'title':_0x308e22['title']}};}return{'type':_0x3f14('0x2'),'content':_0x65a131(_0x355e96,_0x3f14('0x6'),_0x65a131(_0x355e96,_0x3f14('0x0')))};}});}}
23
+ const _0x124e=['title','*Set\x20highlight:*\x20%0','getRanges','registerDescriptionCallback','change','FORMAT_HIGHLIGHT','format','afterInit','plugins','highlight.options','TrackChangesEditing','formatInline','get','getAttribute','commandName','value','backward','has','createRange','highlight','document','editor','push','find','getLastMatchingPosition','HighlightEditing','locale','toLowerCase','model','isCollapsed','selection','enableCommand','config'];(function(_0x145388,_0x124e66){const _0x186db4=function(_0x369aca){while(--_0x369aca){_0x145388['push'](_0x145388['shift']());}};_0x186db4(++_0x124e66);}(_0x124e,0xb9));const _0x186d=function(_0x145388,_0x124e66){_0x145388=_0x145388-0x0;let _0x186db4=_0x124e[_0x145388];return _0x186db4;};import{Plugin as _0x1eb08d}from'ckeditor5/src/core';import{getTranslation as _0x32b5b8}from'../utils/common-translations';import{getRangesWithAttribute as _0x4f31cd}from'./utils';export default class Q extends _0x1eb08d{[_0x186d('0x14')](){const _0x2a5887=this[_0x186d('0x1')];if(!_0x2a5887['plugins'][_0x186d('0x1e')](_0x186d('0x5')))return;const _0x40871e=_0x2a5887[_0x186d('0x15')][_0x186d('0x19')](_0x186d('0x17'));_0x40871e[_0x186d('0xb')](_0x186d('0x20'),(_0x43fb9b,_0x19ff1e={})=>{const _0x2890e1=_0x2a5887[_0x186d('0x8')][_0x186d('0x0')][_0x186d('0xa')],_0x2c4bb2=_0x2890e1['getAttribute'](_0x186d('0x20'));let _0x558675=_0x19ff1e[_0x186d('0x1c')],_0x24cd06=[];if(_0x2890e1[_0x186d('0x9')]){const _0x168ca0=_0x2890e1['getFirstPosition']();if(!_0x2890e1['hasAttribute'](_0x186d('0x20')))return void _0x43fb9b(_0x19ff1e);{const _0x302777=_0x10d022=>_0x10d022['item'][_0x186d('0x1a')](_0x186d('0x20'))===_0x2c4bb2,_0x23f01d=_0x168ca0[_0x186d('0x4')](_0x302777,{'direction':_0x186d('0x1d')}),_0x5aec5a=_0x168ca0[_0x186d('0x4')](_0x302777);_0x24cd06=[_0x2a5887[_0x186d('0x8')][_0x186d('0x1f')](_0x23f01d,_0x5aec5a)],_0x558675==_0x2c4bb2&&(_0x558675=null);}}else for(const _0x1291df of _0x2890e1[_0x186d('0xf')]())_0x558675?_0x24cd06[_0x186d('0x2')](_0x1291df):_0x24cd06[_0x186d('0x2')](..._0x4f31cd(_0x186d('0x20'),_0x1291df,_0x2a5887[_0x186d('0x8')]));_0x2a5887[_0x186d('0x8')][_0x186d('0x11')](()=>{for(const _0x33509c of _0x24cd06)_0x40871e['markInlineFormat'](_0x33509c,{'commandName':_0x186d('0x20'),'commandParams':[{'value':_0x558675}]});});});const _0x391ec3=_0x2a5887[_0x186d('0x6')];_0x40871e['_descriptionFactory'][_0x186d('0x10')](_0x1a80ea=>{const {type:_0x293752,data:_0x3913f8}=_0x1a80ea;if(_0x186d('0x18')==_0x293752&&_0x3913f8&&_0x186d('0x20')==_0x3913f8[_0x186d('0x1b')]){const _0x2bb55c=_0x391ec3['t'],_0x10d7d1=_0x3913f8['commandParams'][0x0][_0x186d('0x1c')];if(_0x10d7d1){const _0x456c92=_0x2a5887[_0x186d('0xc')][_0x186d('0x19')](_0x186d('0x16'))[_0x186d('0x3')](_0x2f60be=>_0x2f60be[_0x186d('0x8')]==_0x10d7d1),_0x37c301=_0x2bb55c(_0x456c92[_0x186d('0xd')])[_0x186d('0x7')]();return{'type':_0x186d('0x13'),'content':_0x32b5b8(_0x391ec3,_0x186d('0xe'),_0x37c301),'color':{'value':_0x456c92['color'],'title':_0x456c92[_0x186d('0xd')]}};}return{'type':_0x186d('0x13'),'content':_0x32b5b8(_0x391ec3,'*Remove\x20highlight*',_0x32b5b8(_0x391ec3,_0x186d('0x12')))};}});}}
@@ -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/horizontalline
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
11
- */
12
- export default class TrackChangesHorizontalLine 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/horizontalline
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
11
+ */
12
+ export default class TrackChangesHorizontalLine extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x499c=['createEmptyElement','_descriptionFactory','plugins','createPositionAt','registerElementLabel','showSuggestionHighlights','conversion','HorizontalLineEditing','has','locale','TrackChangesEditing','horizontalLine','for','createContainerElement','afterInit','elementToStructure','high','enableCommand','ck-horizontal-line','get'];(function(_0x4fa348,_0x499c1d){const _0x300340=function(_0x30d858){while(--_0x30d858){_0x4fa348['push'](_0x4fa348['shift']());}};_0x300340(++_0x499c1d);}(_0x499c,0x1b2));const _0x3003=function(_0x4fa348,_0x499c1d){_0x4fa348=_0x4fa348-0x0;let _0x300340=_0x499c[_0x4fa348];return _0x300340;};import{Plugin as _0x2e6241}from'ckeditor5/src/core';import{getTranslation as _0x5dc28c}from'../utils/common-translations';export default class Q extends _0x2e6241{[_0x3003('0x0')](){const _0x93f457=this['editor'];if(!_0x93f457[_0x3003('0x8')][_0x3003('0xe')](_0x3003('0xd')))return;_0x93f457[_0x3003('0x8')][_0x3003('0x5')]('TrackChangesEditing')[_0x3003('0x3')](_0x3003('0x11'));const _0x44f700=_0x93f457[_0x3003('0x8')][_0x3003('0x5')](_0x3003('0x10')),_0x436028=_0x93f457[_0x3003('0xf')];_0x44f700[_0x3003('0x7')][_0x3003('0xa')]('horizontalLine',_0x17c7dc=>_0x5dc28c(_0x436028,'ELEMENT_HORIZONTAL_LINE',_0x17c7dc)),_0x93f457[_0x3003('0xc')][_0x3003('0x12')]('dataDowncast')[_0x3003('0x1')]({'model':_0x3003('0x11'),'view':(_0x3c98ba,{writer:_0x34ca91,options:_0x2ce38a})=>{if(!_0x2ce38a[_0x3003('0xb')])return null;const _0x5df9c4=_0x34ca91[_0x3003('0x13')]('div'),_0x5f288f=_0x34ca91[_0x3003('0x6')]('hr');return _0x34ca91['addClass'](_0x3003('0x4'),_0x5df9c4),_0x34ca91['insert'](_0x34ca91[_0x3003('0x9')](_0x5df9c4,0x0),_0x5f288f),_0x5df9c4;},'converterPriority':_0x3003('0x2')});}}
23
+ const _0x3894=['get','elementToStructure','horizontalLine','_descriptionFactory','div','showSuggestionHighlights','high','plugins','ck-horizontal-line','createPositionAt','conversion','editor','afterInit','for','registerElementLabel','HorizontalLineEditing','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE','has','addClass','locale','dataDowncast'];(function(_0x30a92b,_0x3894a8){const _0x5ae906=function(_0x15630a){while(--_0x15630a){_0x30a92b['push'](_0x30a92b['shift']());}};_0x5ae906(++_0x3894a8);}(_0x3894,0x130));const _0x5ae9=function(_0x30a92b,_0x3894a8){_0x30a92b=_0x30a92b-0x0;let _0x5ae906=_0x3894[_0x30a92b];return _0x5ae906;};import{Plugin as _0x58f8d9}from'ckeditor5/src/core';import{getTranslation as _0x2fdbc3}from'../utils/common-translations';export default class V extends _0x58f8d9{[_0x5ae9('0x10')](){const _0xec027=this[_0x5ae9('0xf')];if(!_0xec027[_0x5ae9('0xb')][_0x5ae9('0x0')](_0x5ae9('0x13')))return;_0xec027['plugins'][_0x5ae9('0x4')](_0x5ae9('0x14'))['enableCommand'](_0x5ae9('0x6'));const _0x73d43d=_0xec027[_0x5ae9('0xb')][_0x5ae9('0x4')](_0x5ae9('0x14')),_0x4b7483=_0xec027[_0x5ae9('0x2')];_0x73d43d[_0x5ae9('0x7')][_0x5ae9('0x12')](_0x5ae9('0x6'),_0x3d8eca=>_0x2fdbc3(_0x4b7483,_0x5ae9('0x15'),_0x3d8eca)),_0xec027[_0x5ae9('0xe')][_0x5ae9('0x11')](_0x5ae9('0x3'))[_0x5ae9('0x5')]({'model':_0x5ae9('0x6'),'view':(_0x14bca1,{writer:_0x2899e3,options:_0x532fd9})=>{if(!_0x532fd9[_0x5ae9('0x9')])return null;const _0x41ddeb=_0x2899e3['createContainerElement'](_0x5ae9('0x8')),_0x2e0035=_0x2899e3['createEmptyElement']('hr');return _0x2899e3[_0x5ae9('0x1')](_0x5ae9('0xc'),_0x41ddeb),_0x2899e3['insert'](_0x2899e3[_0x5ae9('0xd')](_0x41ddeb,0x0),_0x2e0035),_0x41ddeb;},'converterPriority':_0x5ae9('0xa')});}}
@@ -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/htmlembed
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
11
- */
12
- export default class TrackChangesHtmlEmbed 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/htmlembed
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
11
+ */
12
+ export default class TrackChangesHtmlEmbed extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b92=['has','*Change\x20%0\x20content*','change','enableCommand','TrackChangesEditing','editing','plugins','view','cancel','_descriptionFactory','commandName','editor','registerDescriptionCallback','get','ELEMENT_HTML_EMBED','selection','registerElementLabel','htmlEmbed','document','locale','rawHtmlApi','value','rawHtml'];(function(_0x33e6b3,_0x3b9285){const _0x3a60da=function(_0x4e9932){while(--_0x4e9932){_0x33e6b3['push'](_0x33e6b3['shift']());}};_0x3a60da(++_0x3b9285);}(_0x3b92,0x13e));const _0x3a60=function(_0x33e6b3,_0x3b9285){_0x33e6b3=_0x33e6b3-0x0;let _0x3a60da=_0x3b92[_0x33e6b3];return _0x3a60da;};import{Plugin as _0x34063a}from'ckeditor5/src/core';import{getTranslation as _0x573a39}from'../utils/common-translations';export default class V extends _0x34063a{['afterInit'](){const _0x5f0569=this[_0x3a60('0xf')];if(!_0x5f0569['plugins'][_0x3a60('0x4')]('HtmlEmbed'))return;const _0x2f9a6c=_0x5f0569[_0x3a60('0xa')][_0x3a60('0x11')](_0x3a60('0x8')),_0x290822=_0x5f0569[_0x3a60('0x0')],_0x3b7a57=_0x5f0569[_0x3a60('0x9')][_0x3a60('0xb')][_0x3a60('0x16')][_0x3a60('0x13')];_0x2f9a6c[_0x3a60('0xd')][_0x3a60('0x14')]('rawHtml',_0x485d68=>_0x573a39(_0x290822,_0x3a60('0x12'),_0x485d68)),_0x5f0569['plugins'][_0x3a60('0x11')](_0x3a60('0x8'))[_0x3a60('0x7')](_0x3a60('0x15'),(_0x42c17a,_0x5d8aa3)=>{const _0x408c80=_0x5f0569['model'],_0x2bd966=_0x408c80[_0x3a60('0x16')][_0x3a60('0x13')];_0x408c80[_0x3a60('0x6')](()=>{const _0x3e3b64=function(_0x1c807a){const _0x4811c3=_0x1c807a['getSelectedElement']();if(_0x4811c3&&_0x4811c3['is']('element',_0x3a60('0x3')))return _0x1c807a['getSelectedElement']();return null;}(_0x2bd966);if(!_0x3e3b64)return void _0x42c17a(null);const _0x1ff81e=_0x3e3b64['getAttribute'](_0x3a60('0x2'))||'';if(void 0x0===_0x5d8aa3)return;if(_0x5d8aa3===_0x1ff81e)return;_0x2f9a6c['markBlockFormat'](_0x3e3b64,{'commandName':_0x3a60('0x15'),'commandParams':[_0x5d8aa3]}),_0x3b7a57['getSelectedElement']()['getCustomProperty'](_0x3a60('0x1'))[_0x3a60('0xc')]();});}),_0x2f9a6c[_0x3a60('0xd')][_0x3a60('0x10')](_0xbadb08=>{const {data:_0x242a25}=_0xbadb08;if(_0x242a25&&_0x3a60('0x15')==_0x242a25[_0x3a60('0xe')]){const _0x53bce3=_0x573a39(_0x290822,_0x3a60('0x12'));return{'type':'format','content':_0x573a39(_0x290822,_0x3a60('0x5'),_0x53bce3)};}});}}
23
+ const _0x4e53=['commandName','afterInit','registerDescriptionCallback','rawHtmlApi','htmlEmbed','document','registerElementLabel','get','getCustomProperty','editing','change','value','TrackChangesEditing','HtmlEmbed','*Change\x20%0\x20content*','rawHtml','markBlockFormat','model','plugins','enableCommand','selection','getSelectedElement','ELEMENT_HTML_EMBED','element','_descriptionFactory'];(function(_0x350108,_0x4e5301){const _0x4417fd=function(_0x5dfc25){while(--_0x5dfc25){_0x350108['push'](_0x350108['shift']());}};_0x4417fd(++_0x4e5301);}(_0x4e53,0x142));const _0x4417=function(_0x350108,_0x4e5301){_0x350108=_0x350108-0x0;let _0x4417fd=_0x4e53[_0x350108];return _0x4417fd;};import{Plugin as _0xf586d4}from'ckeditor5/src/core';import{getTranslation as _0x7c6fef}from'../utils/common-translations';export default class X extends _0xf586d4{[_0x4417('0x4')](){const _0x544a3f=this['editor'];if(!_0x544a3f[_0x4417('0x15')]['has'](_0x4417('0x10')))return;const _0x49a7ac=_0x544a3f[_0x4417('0x15')]['get'](_0x4417('0xf')),_0x3c3867=_0x544a3f['locale'],_0x3fff83=_0x544a3f[_0x4417('0xc')]['view'][_0x4417('0x8')][_0x4417('0x17')];_0x49a7ac[_0x4417('0x2')][_0x4417('0x9')](_0x4417('0x12'),_0x15a534=>_0x7c6fef(_0x3c3867,'ELEMENT_HTML_EMBED',_0x15a534)),_0x544a3f[_0x4417('0x15')][_0x4417('0xa')](_0x4417('0xf'))[_0x4417('0x16')]('htmlEmbed',(_0x22a7ef,_0x7fc62)=>{const _0xd9723d=_0x544a3f[_0x4417('0x14')],_0x58e01c=_0xd9723d[_0x4417('0x8')][_0x4417('0x17')];_0xd9723d[_0x4417('0xd')](()=>{const _0x2a8b3d=function(_0x121566){const _0xb9242c=_0x121566[_0x4417('0x18')]();if(_0xb9242c&&_0xb9242c['is'](_0x4417('0x1'),'rawHtml'))return _0x121566[_0x4417('0x18')]();return null;}(_0x58e01c);if(!_0x2a8b3d)return void _0x22a7ef(null);const _0x248fe9=_0x2a8b3d['getAttribute'](_0x4417('0xe'))||'';if(void 0x0===_0x7fc62)return;if(_0x7fc62===_0x248fe9)return;_0x49a7ac[_0x4417('0x13')](_0x2a8b3d,{'commandName':_0x4417('0x7'),'commandParams':[_0x7fc62]}),_0x3fff83[_0x4417('0x18')]()[_0x4417('0xb')](_0x4417('0x6'))['cancel']();});}),_0x49a7ac[_0x4417('0x2')][_0x4417('0x5')](_0x4bb865=>{const {data:_0x15f631}=_0x4bb865;if(_0x15f631&&_0x4417('0x7')==_0x15f631[_0x4417('0x3')]){const _0xd2b495=_0x7c6fef(_0x3c3867,_0x4417('0x0'));return{'type':'format','content':_0x7c6fef(_0x3c3867,_0x4417('0x11'),_0xd2b495)};}});}}