@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,29 +1,29 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/listproperties
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
11
- /**
12
- * Provides track changes plugin integration for list properties feature.
13
- */
14
- export default class TrackChangesListProperties extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- afterInit(): void;
19
- handleListStyleCommand(executeCommand: Function, options?: {
20
- type?: string | null;
21
- }): void;
22
- handleListReversedCommand(executeCommand: Function, options?: {
23
- reversed?: boolean;
24
- }): void;
25
- handleListStartCommand(executeCommand: Function, options?: {
26
- startIndex?: number;
27
- }): void;
28
- handleDescriptions(suggestion: Suggestion): Description | undefined;
29
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/listproperties
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import type { Description } from '../suggestiondescriptionfactory';
10
+ import type Suggestion from '../suggestion';
11
+ /**
12
+ * Provides track changes plugin integration for list properties feature.
13
+ */
14
+ export default class TrackChangesListProperties extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ afterInit(): void;
19
+ handleListStyleCommand(executeCommand: Function, options?: {
20
+ type?: string | null;
21
+ }): void;
22
+ handleListReversedCommand(executeCommand: Function, options?: {
23
+ reversed?: boolean;
24
+ }): void;
25
+ handleListStartCommand(executeCommand: Function, options?: {
26
+ startIndex?: number;
27
+ }): void;
28
+ handleDescriptions(suggestion: Suggestion): Description | undefined;
29
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21e3=['config','*Format:*\x20set\x20order\x20to\x20reversed','createPositionAt','listStyle','ListPropertiesEditing','_getTranslationKeyForListStyle','listType','listReversed','filter','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20regular','markMultiRangeBlockFormat','type','getFirstPosition','startIndex','backward','listItem','format','listStart','commandParams','handleListStyleCommand','length','toUpperCase','afterInit','from','change','commandName','styles','getAttribute','getSiblingNodes','_LIST_','get','enableCommand','model','createRange','ELEMENT_','element','replace','handleDescriptions','locale','document','before','handleListStartCommand','reversed','_getSuggestionBlocksForListStyle','selection','ListUtils','TrackChangesEditing','map','forward','bind','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','handleListReversedCommand','plugins','editor','getLastPosition'];(function(_0x1cac73,_0x21e3f2){const _0x2730e6=function(_0x1b5ad7){while(--_0x1b5ad7){_0x1cac73['push'](_0x1cac73['shift']());}};_0x2730e6(++_0x21e3f2);}(_0x21e3,0xdc));const _0x2730=function(_0x1cac73,_0x21e3f2){_0x1cac73=_0x1cac73-0x0;let _0x2730e6=_0x21e3[_0x1cac73];return _0x2730e6;};import{Plugin as _0x443858}from'ckeditor5/src/core';import{getTranslation as _0x32cdc4}from'../utils/common-translations';export default class st extends _0x443858{[_0x2730('0x23')](){if(!this[_0x2730('0xa')][_0x2730('0x9')]['has'](_0x2730('0x10')))return;const _0x29a329=this['editor'][_0x2730('0xc')][_0x2730('0x2b')]('list.properties'),_0x3f27a6=this[_0x2730('0xa')]['plugins'][_0x2730('0x2b')](_0x2730('0x1'));_0x29a329[_0x2730('0x27')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0xf'),this[_0x2730('0x20')][_0x2730('0x4')](this)),_0x29a329[_0x2730('0x37')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0x13'),this[_0x2730('0x8')][_0x2730('0x4')](this)),_0x29a329[_0x2730('0x1a')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0x1e'),this[_0x2730('0x36')][_0x2730('0x4')](this)),_0x3f27a6['_descriptionFactory']['registerDescriptionCallback'](this[_0x2730('0x32')][_0x2730('0x4')](this));}['handleListStyleCommand'](_0x5d5c0d,_0x53898e={}){const _0x380368=this['editor'][_0x2730('0x9')][_0x2730('0x2b')]('TrackChangesEditing'),_0xfaa81b=this[_0x2730('0x38')]();this[_0x2730('0xa')]['model'][_0x2730('0x25')](()=>{_0x380368[_0x2730('0x17')](_0xfaa81b,{'commandName':_0x2730('0xf'),'commandParams':[{'type':_0x53898e[_0x2730('0x18')]}],'formatGroupId':_0x2730('0xf')});});}[_0x2730('0x8')](_0x13f6f9,_0x4fdfc0={}){const _0x5e3f0a=this[_0x2730('0xa')][_0x2730('0x9')]['get'](_0x2730('0x1')),_0x32373f=this[_0x2730('0x15')](_0xb7e7c1=>_0xb7e7c1['is']('element',_0x2730('0x1c'))&&'numbered'===_0xb7e7c1[_0x2730('0x28')](_0x2730('0x12')));if(_0x32373f[_0x2730('0x21')]<0x1)return;const _0x425db0=_0x32373f['map'](_0x50671e=>this[_0x2730('0xa')][_0x2730('0x2d')]['createRange'](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0xe')](_0x50671e,_0x2730('0x35')),this[_0x2730('0xa')][_0x2730('0x2d')]['createPositionAt'](_0x50671e,0x0)));this[_0x2730('0xa')][_0x2730('0x2d')]['change'](()=>{_0x5e3f0a['markMultiRangeBlockFormat'](_0x425db0,{'commandName':'listReversed','commandParams':[{'reversed':_0x4fdfc0['reversed']}],'formatGroupId':'listReversed'});});}[_0x2730('0x36')](_0x89c6b3,_0x321d43={}){const _0xc4e7fd=this[_0x2730('0xa')]['plugins'][_0x2730('0x2b')](_0x2730('0x1')),_0x57fbf9=this[_0x2730('0x15')](_0x1323b0=>_0x1323b0['is'](_0x2730('0x30'),_0x2730('0x1c'))&&_0x2730('0x5')===_0x1323b0['getAttribute'](_0x2730('0x12')));if(_0x57fbf9[_0x2730('0x21')]<0x1)return;const _0xf390ed=_0x57fbf9[_0x2730('0x2')](_0xb2ca24=>this['editor']['model'][_0x2730('0x2e')](this[_0x2730('0xa')]['model'][_0x2730('0xe')](_0xb2ca24,'before'),this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0xe')](_0xb2ca24,0x0)));this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x25')](()=>{_0xc4e7fd['markMultiRangeBlockFormat'](_0xf390ed,{'commandName':_0x2730('0x1e'),'commandParams':[{'startIndex':_0x321d43[_0x2730('0x1a')]}],'formatGroupId':_0x2730('0x1e')});});}[_0x2730('0x32')](_0x2d70da){const _0x18cb43=this[_0x2730('0xa')][_0x2730('0x33')],{data:_0x4574c5}=_0x2d70da;if(!_0x4574c5)return;let _0x57d751,_0x5665a5;switch(_0x4574c5[_0x2730('0x26')]){case _0x2730('0xf'):_0x57d751='*Change\x20to:*\x20%0',_0x5665a5={'type':_0x2730('0x1d'),'content':_0x32cdc4(_0x18cb43,_0x57d751,_0x32cdc4(_0x18cb43,this[_0x2730('0x11')](_0x4574c5[_0x2730('0x1f')][0x0]['type'])))};break;case _0x2730('0x13'):_0x57d751=_0x4574c5[_0x2730('0x1f')][0x0][_0x2730('0x37')]?_0x2730('0xd'):_0x2730('0x16'),_0x5665a5={'type':'format','content':_0x32cdc4(_0x18cb43,_0x57d751)};break;case _0x2730('0x1e'):_0x57d751=_0x2730('0x6'),_0x5665a5={'type':_0x2730('0x1d'),'content':_0x32cdc4(_0x18cb43,_0x57d751,_0x4574c5[_0x2730('0x1f')][0x0][_0x2730('0x1a')])};}return _0x5665a5;}['_getSuggestionBlocksForListStyle'](){var _0x2e5372,_0x38c6bf,_0x10d83f,_0x54a0c2;const _0x26e85c=this[_0x2730('0xa')][_0x2730('0x9')][_0x2730('0x2b')](_0x2730('0x0'));let _0x1215d9=Array[_0x2730('0x24')](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x34')][_0x2730('0x39')]['getSelectedBlocks']());return(null===(_0x2e5372=_0x1215d9[0x0])||void 0x0===_0x2e5372?void 0x0:_0x2e5372['is'](_0x2730('0x30'),_0x2730('0x1c')))&&_0x1215d9['unshift'](..._0x26e85c['getSiblingNodes'](this['editor'][_0x2730('0x2d')][_0x2730('0x34')]['selection'][_0x2730('0x19')](),_0x2730('0x1b'))),(null===(_0x38c6bf=_0x1215d9[_0x1215d9[_0x2730('0x21')]-0x1])||void 0x0===_0x38c6bf?void 0x0:_0x38c6bf['is'](_0x2730('0x30'),_0x2730('0x1c')))&&_0x1215d9['push'](..._0x26e85c[_0x2730('0x29')](this[_0x2730('0xa')]['model'][_0x2730('0x34')][_0x2730('0x39')][_0x2730('0xb')](),_0x2730('0x3'))),_0x1215d9=[...new Set(_0x1215d9)],(null===(_0x54a0c2=null===(_0x10d83f=this[_0x2730('0xa')]['model'][_0x2730('0x34')]['selection']['getFirstPosition']())||void 0x0===_0x10d83f?void 0x0:_0x10d83f['parent'])||void 0x0===_0x54a0c2?void 0x0:_0x54a0c2['is'](_0x2730('0x30'),_0x2730('0x1c')))&&(_0x1215d9=_0x1215d9[_0x2730('0x14')](_0x498556=>_0x498556['is'](_0x2730('0x30'),'listItem'))),_0x1215d9;}['_getSuggestionBlocks'](_0x25241c){const _0x2316cd=this['editor'][_0x2730('0x9')][_0x2730('0x2b')]('ListUtils');let _0x3b74bd=Array['from'](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x34')][_0x2730('0x39')][_0x2730('0x7')]())['filter'](_0x25241c)[_0x2730('0x2')](_0x4e219d=>{const _0x4ddc4f=this[_0x2730('0xa')]['model'][_0x2730('0xe')](_0x4e219d,0x0);return[..._0x2316cd[_0x2730('0x29')](_0x4ddc4f,'backward'),..._0x2316cd[_0x2730('0x29')](_0x4ddc4f,'forward')];})['flat']();return _0x3b74bd=[...new Set(_0x3b74bd)],_0x3b74bd;}['_getTranslationKeyForListStyle'](_0xa438d4){return _0x2730('0x2f')+this['editor'][_0x2730('0x9')][_0x2730('0x2b')](_0x2730('0x0'))['getListTypeFromListStyleType'](_0xa438d4)[_0x2730('0x22')]()+_0x2730('0x2a')+_0xa438d4['toUpperCase']()[_0x2730('0x31')](/-/g,'_');}}
23
+ const _0x5cd0=['getSelectedBlocks','config','plugins','from','listType','ListPropertiesEditing','enableCommand','TrackChangesEditing','listStyle','styles','ELEMENT_','length','model','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20regular','get','flat','handleListStyleCommand','listReversed','map','selection','filter','createRange','has','getAttribute','commandParams','handleListStartCommand','element','getSiblingNodes','parent','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','document','_LIST_','_getSuggestionBlocks','unshift','toUpperCase','handleListReversedCommand','forward','before','push','getLastPosition','startIndex','commandName','listItem','createPositionAt','numbered','locale','ListUtils','_getTranslationKeyForListStyle','listStart','editor','change','backward','afterInit','bind','getListTypeFromListStyleType','type','reversed'];(function(_0x1ea38f,_0x5cd05e){const _0x36564a=function(_0x32d5a4){while(--_0x32d5a4){_0x1ea38f['push'](_0x1ea38f['shift']());}};_0x36564a(++_0x5cd05e);}(_0x5cd0,0xe4));const _0x3656=function(_0x1ea38f,_0x5cd05e){_0x1ea38f=_0x1ea38f-0x0;let _0x36564a=_0x5cd0[_0x1ea38f];return _0x36564a;};import{Plugin as _0x5d4829}from'ckeditor5/src/core';import{getTranslation as _0x4d1a58}from'../utils/common-translations';export default class ot extends _0x5d4829{[_0x3656('0x3')](){if(!this['editor'][_0x3656('0xa')][_0x3656('0x1f')](_0x3656('0xd')))return;const _0x527c9a=this[_0x3656('0x0')][_0x3656('0x9')]['get']('list.properties'),_0x5a7168=this['editor'][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf'));_0x527c9a[_0x3656('0x11')]&&_0x5a7168['enableCommand'](_0x3656('0x10'),this[_0x3656('0x19')][_0x3656('0x4')](this)),_0x527c9a[_0x3656('0x7')]&&_0x5a7168[_0x3656('0xe')](_0x3656('0x1a'),this[_0x3656('0x2d')][_0x3656('0x4')](this)),_0x527c9a[_0x3656('0x32')]&&_0x5a7168[_0x3656('0xe')](_0x3656('0x3a'),this[_0x3656('0x22')][_0x3656('0x4')](this)),_0x5a7168['_descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions'][_0x3656('0x4')](this));}[_0x3656('0x19')](_0x58bb72,_0x425503={}){const _0x31a559=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf')),_0x2e214c=this['_getSuggestionBlocksForListStyle']();this[_0x3656('0x0')][_0x3656('0x14')]['change'](()=>{_0x31a559[_0x3656('0x15')](_0x2e214c,{'commandName':_0x3656('0x10'),'commandParams':[{'type':_0x425503[_0x3656('0x6')]}],'formatGroupId':_0x3656('0x10')});});}[_0x3656('0x2d')](_0x2f1cce,_0x120fdf={}){const _0x26dab8=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf')),_0x5b7ef0=this[_0x3656('0x2a')](_0x50dfc6=>_0x50dfc6['is'](_0x3656('0x23'),_0x3656('0x34'))&&'numbered'===_0x50dfc6[_0x3656('0x20')](_0x3656('0xc')));if(_0x5b7ef0[_0x3656('0x13')]<0x1)return;const _0x3b645e=_0x5b7ef0[_0x3656('0x1b')](_0x54f251=>this[_0x3656('0x0')]['model'][_0x3656('0x1e')](this['editor'][_0x3656('0x14')][_0x3656('0x35')](_0x54f251,_0x3656('0x2f')),this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x35')](_0x54f251,0x0)));this[_0x3656('0x0')]['model'][_0x3656('0x1')](()=>{_0x26dab8[_0x3656('0x15')](_0x3b645e,{'commandName':'listReversed','commandParams':[{'reversed':_0x120fdf[_0x3656('0x7')]}],'formatGroupId':_0x3656('0x1a')});});}[_0x3656('0x22')](_0x530f53,_0x40de11={}){const _0x35341=this['editor'][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf')),_0x47b1a9=this[_0x3656('0x2a')](_0x3ce521=>_0x3ce521['is'](_0x3656('0x23'),_0x3656('0x34'))&&_0x3656('0x36')===_0x3ce521[_0x3656('0x20')](_0x3656('0xc')));if(_0x47b1a9['length']<0x1)return;const _0x4cb2e7=_0x47b1a9[_0x3656('0x1b')](_0x1888ae=>this[_0x3656('0x0')]['model'][_0x3656('0x1e')](this['editor'][_0x3656('0x14')][_0x3656('0x35')](_0x1888ae,'before'),this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x35')](_0x1888ae,0x0)));this['editor'][_0x3656('0x14')][_0x3656('0x1')](()=>{_0x35341[_0x3656('0x15')](_0x4cb2e7,{'commandName':_0x3656('0x3a'),'commandParams':[{'startIndex':_0x40de11[_0x3656('0x32')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0xf3b030){const _0x2959cb=this['editor'][_0x3656('0x37')],{data:_0x5f2119}=_0xf3b030;if(!_0x5f2119)return;let _0x2129d3,_0x4f4f79;switch(_0x5f2119[_0x3656('0x33')]){case _0x3656('0x10'):_0x2129d3='*Change\x20to:*\x20%0',_0x4f4f79={'type':'format','content':_0x4d1a58(_0x2959cb,_0x2129d3,_0x4d1a58(_0x2959cb,this[_0x3656('0x39')](_0x5f2119[_0x3656('0x21')][0x0][_0x3656('0x6')])))};break;case'listReversed':_0x2129d3=_0x5f2119[_0x3656('0x21')][0x0]['reversed']?_0x3656('0x26'):_0x3656('0x16'),_0x4f4f79={'type':'format','content':_0x4d1a58(_0x2959cb,_0x2129d3)};break;case _0x3656('0x3a'):_0x2129d3='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4f4f79={'type':'format','content':_0x4d1a58(_0x2959cb,_0x2129d3,_0x5f2119['commandParams'][0x0][_0x3656('0x32')])};}return _0x4f4f79;}['_getSuggestionBlocksForListStyle'](){var _0x11b692,_0x88e746,_0x27ed34,_0x1f7436;const _0xc2ef8b=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')]('ListUtils');let _0x530d57=Array['from'](this[_0x3656('0x0')]['model']['document'][_0x3656('0x1c')][_0x3656('0x8')]());return(null===(_0x11b692=_0x530d57[0x0])||void 0x0===_0x11b692?void 0x0:_0x11b692['is'](_0x3656('0x23'),'listItem'))&&_0x530d57[_0x3656('0x2b')](..._0xc2ef8b[_0x3656('0x24')](this[_0x3656('0x0')][_0x3656('0x14')]['document'][_0x3656('0x1c')][_0x3656('0x27')](),_0x3656('0x2'))),(null===(_0x88e746=_0x530d57[_0x530d57[_0x3656('0x13')]-0x1])||void 0x0===_0x88e746?void 0x0:_0x88e746['is']('element',_0x3656('0x34')))&&_0x530d57[_0x3656('0x30')](..._0xc2ef8b[_0x3656('0x24')](this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x28')]['selection'][_0x3656('0x31')](),'forward')),_0x530d57=[...new Set(_0x530d57)],(null===(_0x1f7436=null===(_0x27ed34=this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x28')]['selection']['getFirstPosition']())||void 0x0===_0x27ed34?void 0x0:_0x27ed34[_0x3656('0x25')])||void 0x0===_0x1f7436?void 0x0:_0x1f7436['is']('element',_0x3656('0x34')))&&(_0x530d57=_0x530d57[_0x3656('0x1d')](_0x59eecd=>_0x59eecd['is'](_0x3656('0x23'),_0x3656('0x34')))),_0x530d57;}[_0x3656('0x2a')](_0x5b4e8f){const _0x5284e6=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')]('ListUtils');let _0x13be57=Array[_0x3656('0xb')](this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x28')][_0x3656('0x1c')]['getSelectedBlocks']())[_0x3656('0x1d')](_0x5b4e8f)[_0x3656('0x1b')](_0xcfae92=>{const _0x2c7185=this[_0x3656('0x0')]['model'][_0x3656('0x35')](_0xcfae92,0x0);return[..._0x5284e6['getSiblingNodes'](_0x2c7185,'backward'),..._0x5284e6['getSiblingNodes'](_0x2c7185,_0x3656('0x2e'))];})[_0x3656('0x18')]();return _0x13be57=[...new Set(_0x13be57)],_0x13be57;}[_0x3656('0x39')](_0xd31602){return _0x3656('0x12')+this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0x38'))[_0x3656('0x5')](_0xd31602)[_0x3656('0x2c')]()+_0x3656('0x29')+_0xd31602[_0x3656('0x2c')]()['replace'](/-/g,'_');}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/mediaembed
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
11
- */
12
- export default class TrackChangesMediaEmbed extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/mediaembed
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
11
+ */
12
+ export default class TrackChangesMediaEmbed extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bd3=['media','downcastDispatcher','showSuggestionHighlights','elementToElement','MediaEmbedEditing','has','locale','TrackChangesEditing','get','data','_descriptionFactory','attribute:url:media','enableCommand','registerElementLabel','afterInit','ELEMENT_MEDIA','dataDowncast','plugins','for','editor','high','div','stop'];(function(_0x31ae24,_0x1bd39f){const _0x574511=function(_0x16666f){while(--_0x16666f){_0x31ae24['push'](_0x31ae24['shift']());}};_0x574511(++_0x1bd39f);}(_0x1bd3,0x134));const _0x5745=function(_0x31ae24,_0x1bd39f){_0x31ae24=_0x31ae24-0x0;let _0x574511=_0x1bd3[_0x31ae24];return _0x574511;};import{Plugin as _0x424471}from'ckeditor5/src/core';import{getTranslation as _0x59c05f}from'../utils/common-translations';export default class ot extends _0x424471{[_0x5745('0x5')](){const _0x9d5f73=this[_0x5745('0xa')];if(!_0x9d5f73[_0x5745('0x8')][_0x5745('0x13')](_0x5745('0x12')))return;const _0x25b4a4=_0x9d5f73[_0x5745('0x8')][_0x5745('0x16')](_0x5745('0x15')),_0x145926=_0x9d5f73[_0x5745('0x14')];_0x25b4a4[_0x5745('0x3')]('mediaEmbed'),_0x25b4a4[_0x5745('0x1')][_0x5745('0x4')](_0x5745('0xe'),_0x1b9c3e=>_0x59c05f(_0x145926,_0x5745('0x6'),_0x1b9c3e)),_0x9d5f73['conversion'][_0x5745('0x9')](_0x5745('0x7'))[_0x5745('0x11')]({'model':_0x5745('0xe'),'view':(_0xd4e676,{writer:_0x3b96af,options:_0x28923f})=>{if(_0x28923f[_0x5745('0x10')])return _0x3b96af['createEmptyElement'](_0x5745('0xc'));},'converterPriority':'high'}),_0x9d5f73[_0x5745('0x0')][_0x5745('0xf')]['on'](_0x5745('0x2'),(_0x580042,_0x4f273e,_0x68d753)=>{_0x68d753['options'][_0x5745('0x10')]&&_0x580042[_0x5745('0xd')]();},{'priority':_0x5745('0xb')});}}
23
+ const _0x16ab=['enableCommand','media','showSuggestionHighlights','MediaEmbedEditing','options','high','data','plugins','afterInit','stop','attribute:url:media','get','ELEMENT_MEDIA','dataDowncast','conversion','registerElementLabel'];(function(_0x55fcc5,_0x16ab18){const _0x218212=function(_0x128c18){while(--_0x128c18){_0x55fcc5['push'](_0x55fcc5['shift']());}};_0x218212(++_0x16ab18);}(_0x16ab,0x1cd));const _0x2182=function(_0x55fcc5,_0x16ab18){_0x55fcc5=_0x55fcc5-0x0;let _0x218212=_0x16ab[_0x55fcc5];return _0x218212;};import{Plugin as _0x5702b7}from'ckeditor5/src/core';import{getTranslation as _0x17ea61}from'../utils/common-translations';export default class rt extends _0x5702b7{[_0x2182('0xb')](){const _0x272b5b=this['editor'];if(!_0x272b5b[_0x2182('0xa')]['has'](_0x2182('0x6')))return;const _0x171fcc=_0x272b5b['plugins'][_0x2182('0xe')]('TrackChangesEditing'),_0x13829c=_0x272b5b['locale'];_0x171fcc[_0x2182('0x3')]('mediaEmbed'),_0x171fcc['_descriptionFactory'][_0x2182('0x2')](_0x2182('0x4'),_0x158a52=>_0x17ea61(_0x13829c,_0x2182('0xf'),_0x158a52)),_0x272b5b[_0x2182('0x1')]['for'](_0x2182('0x0'))['elementToElement']({'model':_0x2182('0x4'),'view':(_0x38dc12,{writer:_0x31158e,options:_0x31c587})=>{if(_0x31c587[_0x2182('0x5')])return _0x31158e['createEmptyElement']('div');},'converterPriority':'high'}),_0x272b5b[_0x2182('0x9')]['downcastDispatcher']['on'](_0x2182('0xd'),(_0x191f52,_0x3ec261,_0x28ea3b)=>{_0x28ea3b[_0x2182('0x7')][_0x2182('0x5')]&&_0x191f52[_0x2182('0xc')]();},{'priority':_0x2182('0x8')});}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/mention
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for mention feature.
11
- */
12
- export default class TrackChangesMention extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/mention
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for mention feature.
11
+ */
12
+ export default class TrackChangesMention extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5033=['MentionEditing','TrackChangesEditing','plugins','enableCommand','has','afterInit','mention'];(function(_0x68854f,_0x50332d){const _0x280442=function(_0x145d3a){while(--_0x145d3a){_0x68854f['push'](_0x68854f['shift']());}};_0x280442(++_0x50332d);}(_0x5033,0x7f));const _0x2804=function(_0x68854f,_0x50332d){_0x68854f=_0x68854f-0x0;let _0x280442=_0x5033[_0x68854f];return _0x280442;};import{Plugin as _0x13e745}from'ckeditor5/src/core';export default class rt extends _0x13e745{[_0x2804('0x4')](){const _0x518ed1=this['editor'];_0x518ed1['plugins'][_0x2804('0x3')](_0x2804('0x6'))&&_0x518ed1[_0x2804('0x1')]['get'](_0x2804('0x0'))[_0x2804('0x2')](_0x2804('0x5'));}}
23
+ const _0x2773=['has','mention','editor','get','TrackChangesEditing','MentionEditing','plugins'];(function(_0x26c123,_0x2773cf){const _0x522a5c=function(_0x34c510){while(--_0x34c510){_0x26c123['push'](_0x26c123['shift']());}};_0x522a5c(++_0x2773cf);}(_0x2773,0x106));const _0x522a=function(_0x26c123,_0x2773cf){_0x26c123=_0x26c123-0x0;let _0x522a5c=_0x2773[_0x26c123];return _0x522a5c;};import{Plugin as _0x4b4e02}from'ckeditor5/src/core';export default class at extends _0x4b4e02{['afterInit'](){const _0x195332=this[_0x522a('0x6')];_0x195332[_0x522a('0x3')][_0x522a('0x4')](_0x522a('0x2'))&&_0x195332['plugins'][_0x522a('0x0')](_0x522a('0x1'))['enableCommand'](_0x522a('0x5'));}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/pagebreak
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
11
- */
12
- export default class TrackChangesPageBreak extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/pagebreak
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
11
+ */
12
+ export default class TrackChangesPageBreak extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f94=['editor','get','TrackChangesEditing','enableCommand','PageBreakEditing','pageBreak','plugins','registerElementLabel','_descriptionFactory','afterInit'];(function(_0x5edbbf,_0x1f94f7){const _0x319fa6=function(_0x52b922){while(--_0x52b922){_0x5edbbf['push'](_0x5edbbf['shift']());}};_0x319fa6(++_0x1f94f7);}(_0x1f94,0x1f2));const _0x319f=function(_0x5edbbf,_0x1f94f7){_0x5edbbf=_0x5edbbf-0x0;let _0x319fa6=_0x1f94[_0x5edbbf];return _0x319fa6;};import{Plugin as _0x5512eb}from'ckeditor5/src/core';import{getTranslation as _0x430d78}from'../utils/common-translations';export default class at extends _0x5512eb{[_0x319f('0x1')](){const _0x13d081=this[_0x319f('0x2')];if(!_0x13d081[_0x319f('0x8')]['has'](_0x319f('0x6')))return;_0x13d081[_0x319f('0x8')][_0x319f('0x3')]('TrackChangesEditing')[_0x319f('0x5')](_0x319f('0x7'));const _0x22342f=_0x13d081['plugins'][_0x319f('0x3')](_0x319f('0x4')),_0x503829=_0x13d081['locale'];_0x22342f[_0x319f('0x0')][_0x319f('0x9')](_0x319f('0x7'),_0x2400ce=>_0x430d78(_0x503829,'ELEMENT_PAGE_BREAK',_0x2400ce));}}
23
+ const _0x1a14=['enableCommand','editor','afterInit','get','locale','TrackChangesEditing','pageBreak','registerElementLabel','plugins'];(function(_0xafe4ff,_0x1a14ae){const _0xd34449=function(_0x23de4f){while(--_0x23de4f){_0xafe4ff['push'](_0xafe4ff['shift']());}};_0xd34449(++_0x1a14ae);}(_0x1a14,0x92));const _0xd344=function(_0xafe4ff,_0x1a14ae){_0xafe4ff=_0xafe4ff-0x0;let _0xd34449=_0x1a14[_0xafe4ff];return _0xd34449;};import{Plugin as _0x561149}from'ckeditor5/src/core';import{getTranslation as _0x32e5ca}from'../utils/common-translations';export default class ct extends _0x561149{[_0xd344('0x0')](){const _0x2a43af=this[_0xd344('0x8')];if(!_0x2a43af[_0xd344('0x6')]['has']('PageBreakEditing'))return;_0x2a43af[_0xd344('0x6')][_0xd344('0x1')](_0xd344('0x3'))[_0xd344('0x7')](_0xd344('0x4'));const _0x3469e3=_0x2a43af['plugins'][_0xd344('0x1')](_0xd344('0x3')),_0x436848=_0x2a43af[_0xd344('0x2')];_0x3469e3['_descriptionFactory'][_0xd344('0x5')](_0xd344('0x4'),_0x2493ff=>_0x32e5ca(_0x436848,'ELEMENT_PAGE_BREAK',_0x2493ff));}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/paragraph
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for paragraph feature.
11
- */
12
- export default class TrackChangesParagraph extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/paragraph
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for paragraph feature.
11
+ */
12
+ export default class TrackChangesParagraph extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159d=['paragraph','isTouching','editing','insertion','checkChild','editor','start','insert','registerDescriptionCallback','highest','type','options','model','parent','enableCommand','createUIElement','downcastDispatcher','span','Paragraph','addMarker:suggestion:insertion','getFirstRange','nodeAfter','addClass','filter','writer','markerName','format','schema','getItemLabel','change','consumable','data','mapper','insertParagraph','plugins','TrackChangesEditing','markerRange','isLimit','ck-suggestion-marker-split','afterInit','registerElementLabel','toViewPosition','isBlock','name','get','locale','$text','getSelectedBlocks','ELEMENT_PARAGRAPH','_descriptionFactory','bindElementToMarker','*Insert:*\x20%0','activeMarkers','selection','includes'];(function(_0x39bc37,_0x159d0d){const _0x4f3107=function(_0x1d3e8a){while(--_0x1d3e8a){_0x39bc37['push'](_0x39bc37['shift']());}};_0x4f3107(++_0x159d0d);}(_0x159d,0x156));const _0x4f31=function(_0x39bc37,_0x159d0d){_0x39bc37=_0x39bc37-0x0;let _0x4f3107=_0x159d[_0x39bc37];return _0x4f3107;};import{Plugin as _0x4407f5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1a195f}from'./utils';import{getTranslation as _0x40acb1}from'../utils/common-translations';export default class ct extends _0x4407f5{[_0x4f31('0x1b')](){const _0x4bed56=this[_0x4f31('0x30')];if(!_0x4bed56['plugins']['has'](_0x4f31('0x6')))return;const _0x163b99=_0x4bed56[_0x4f31('0x21')],_0x4164d5=_0x4bed56[_0x4f31('0x16')][_0x4f31('0x20')](_0x4f31('0x17'));_0x4164d5[_0x4f31('0x25')][_0x4f31('0x1c')](_0x4f31('0x2b'),_0x40e790=>_0x40acb1(_0x163b99,_0x4f31('0x24'),_0x40e790)),_0x4164d5[_0x4f31('0x2')](_0x4f31('0x2b'),(_0x598c26,_0x22d867={})=>{const _0x16b3dd=_0x4bed56[_0x4f31('0x0')]['document'],_0x23357b=_0x22d867['selection']||_0x16b3dd[_0x4f31('0x29')],_0x55f0da=Array['from'](_0x23357b[_0x4f31('0x23')]())[_0x4f31('0xb')](_0x279b3d=>function(_0xda439,_0x253fb9){return _0x253fb9[_0x4f31('0x2f')](_0xda439[_0x4f31('0x1')],'paragraph')&&!_0x253fb9['isObject'](_0xda439)&&_0x4f31('0x2b')!=_0xda439[_0x4f31('0x1f')];}(_0x279b3d,this['editor'][_0x4f31('0x0')]['schema']));_0x4bed56['model'][_0x4f31('0x11')](()=>{for(const _0x3aa61c of _0x55f0da)_0x4164d5['markBlockFormat'](_0x3aa61c,{'commandName':_0x4f31('0x2b'),'commandParams':[],'formatGroupId':'blockName'},_0x1a195f(_0x3aa61c));});}),_0x4164d5[_0x4f31('0x25')][_0x4f31('0x33')](_0x1e3a12=>{const {data:_0xd75d2a}=_0x1e3a12;if(_0xd75d2a&&_0x4f31('0x2b')==_0xd75d2a['commandName'])return{'type':_0x4f31('0xe'),'content':_0x40acb1(_0x163b99,'*Change\x20to:*\x20%0',_0x40acb1(_0x163b99,_0x4f31('0x24')))};}),_0x4164d5[_0x4f31('0x2')](_0x4f31('0x15')),_0x4bed56[_0x4f31('0x2d')][_0x4f31('0x4')]['on']('addMarker:suggestion:insertion',ar(_0x4bed56),{'priority':_0x4f31('0x34')}),_0x4bed56[_0x4f31('0x13')]['downcastDispatcher']['on'](_0x4f31('0x7'),(_0x1aee60,_0x46097b,_0x5363d4)=>{_0x5363d4[_0x4f31('0x36')]['showSuggestionHighlights']&&ar(_0x4bed56,{'showActiveMarker':!0x1})(_0x1aee60,_0x46097b,_0x5363d4);},{'priority':'highest'});const _0x48be7d=_0x4164d5[_0x4f31('0x25')];_0x48be7d['registerDescriptionCallback'](_0xaefbd9=>{if('insertion'!==_0xaefbd9[_0x4f31('0x35')])return;const {start:_0xb2c9fc,end:_0x4f98b2}=_0xaefbd9[_0x4f31('0x8')]();if(!_0xb2c9fc[_0x4f31('0x2c')](_0x4f98b2)||!_0xb2c9fc[_0x4f31('0x9')])return;const _0x3c9a0a=_0x4bed56[_0x4f31('0x0')][_0x4f31('0xf')],_0x3bb778=_0xb2c9fc['nodeAfter'];return _0x3c9a0a[_0x4f31('0x1e')](_0x3bb778)&&!_0x3c9a0a['isLimit'](_0x3bb778)&&_0x3c9a0a[_0x4f31('0x2f')](_0x3bb778,_0x4f31('0x22'))?{'type':_0x4f31('0x2e'),'content':_0x40acb1(_0x163b99,_0x4f31('0x27'),_0x48be7d[_0x4f31('0x10')](_0x3bb778,0x1))}:void 0x0;});}}function ar(_0x1ca799,{showActiveMarker:_0x2cc9c7=!0x0}={}){return(_0x5154a6,_0x2acdaa,_0x183705)=>{const _0x42f95d=_0x1ca799['plugins'][_0x4f31('0x20')](_0x4f31('0x17')),_0xd05628=_0x2acdaa[_0x4f31('0x18')][_0x4f31('0x31')],_0x567b1b=_0x2acdaa['markerRange']['end'],_0x22936b=_0x1ca799[_0x4f31('0x0')]['schema'];if(!_0xd05628[_0x4f31('0x2c')](_0x567b1b)||!_0xd05628[_0x4f31('0x9')])return;const _0x120b27=_0xd05628['nodeAfter'];if(_0x22936b[_0x4f31('0x1e')](_0x120b27)&&!_0x22936b[_0x4f31('0x19')](_0x120b27)&&_0x22936b[_0x4f31('0x2f')](_0x120b27,'$text')){if(!_0x183705[_0x4f31('0x12')]['consume'](_0x2acdaa[_0x4f31('0x18')],_0x5154a6[_0x4f31('0x1f')]))return;const _0x101c68=_0x183705['writer'][_0x4f31('0x3')](_0x4f31('0x5'),{'class':_0x4f31('0x1a')}),_0x4535ec=_0x183705[_0x4f31('0x14')][_0x4f31('0x1d')](_0x567b1b);_0x2cc9c7&&_0x42f95d[_0x4f31('0x28')][_0x4f31('0x2a')](_0x2acdaa[_0x4f31('0xd')])&&_0x183705[_0x4f31('0xc')][_0x4f31('0xa')]('ck-suggestion-marker--active',_0x101c68),_0x183705[_0x4f31('0xc')][_0x4f31('0x32')](_0x4535ec,_0x101c68),_0x183705[_0x4f31('0x14')][_0x4f31('0x26')](_0x101c68,_0x2acdaa[_0x4f31('0xd')]);}};}
23
+ const _0x184f=['ck-suggestion-marker--active','mapper','document','filter','plugins','from','locale','toViewPosition','get','has','writer','TrackChangesEditing','parent','markerRange','enableCommand','bindElementToMarker','getFirstRange','change','schema','commandName','markBlockFormat','nodeAfter','end','markerName','ELEMENT_PARAGRAPH','insertParagraph','Paragraph','*Insert:*\x20%0','editor','_descriptionFactory','isTouching','getItemLabel','includes','addMarker:suggestion:insertion','model','paragraph','data','downcastDispatcher','showSuggestionHighlights','addClass','format','isLimit','registerElementLabel','name','registerDescriptionCallback','editing','getSelectedBlocks','blockName','consumable','checkChild','highest'];(function(_0x39507a,_0x184f68){const _0x3808e2=function(_0x59d191){while(--_0x59d191){_0x39507a['push'](_0x39507a['shift']());}};_0x3808e2(++_0x184f68);}(_0x184f,0x154));const _0x3808=function(_0x39507a,_0x184f68){_0x39507a=_0x39507a-0x0;let _0x3808e2=_0x184f[_0x39507a];return _0x3808e2;};import{Plugin as _0x2924c6}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x310c0b}from'./utils';import{getTranslation as _0x9b139b}from'../utils/common-translations';export default class ht extends _0x2924c6{['afterInit'](){const _0xbc58a0=this[_0x3808('0x2d')];if(!_0xbc58a0[_0x3808('0x15')][_0x3808('0x1a')](_0x3808('0x2b')))return;const _0xb77098=_0xbc58a0[_0x3808('0x17')],_0x3fc406=_0xbc58a0[_0x3808('0x15')][_0x3808('0x19')](_0x3808('0x1c'));_0x3fc406[_0x3808('0x2e')][_0x3808('0x8')](_0x3808('0x1'),_0x22b5a2=>_0x9b139b(_0xb77098,_0x3808('0x29'),_0x22b5a2)),_0x3fc406['enableCommand'](_0x3808('0x1'),(_0x44c3cc,_0xf89b92={})=>{const _0x187881=_0xbc58a0[_0x3808('0x0')][_0x3808('0x13')],_0x3b1971=_0xf89b92['selection']||_0x187881['selection'],_0x3944ef=Array[_0x3808('0x16')](_0x3b1971[_0x3808('0xc')]())[_0x3808('0x14')](_0x7b8395=>function(_0x4993b8,_0x25f4ea){return _0x25f4ea['checkChild'](_0x4993b8[_0x3808('0x1d')],_0x3808('0x1'))&&!_0x25f4ea['isObject'](_0x4993b8)&&_0x3808('0x1')!=_0x4993b8[_0x3808('0x9')];}(_0x7b8395,this['editor'][_0x3808('0x0')][_0x3808('0x23')]));_0xbc58a0[_0x3808('0x0')][_0x3808('0x22')](()=>{for(const _0x5aaaf8 of _0x3944ef)_0x3fc406[_0x3808('0x25')](_0x5aaaf8,{'commandName':_0x3808('0x1'),'commandParams':[],'formatGroupId':_0x3808('0xd')},_0x310c0b(_0x5aaaf8));});}),_0x3fc406[_0x3808('0x2e')][_0x3808('0xa')](_0x33e301=>{const {data:_0x152550}=_0x33e301;if(_0x152550&&_0x3808('0x1')==_0x152550[_0x3808('0x24')])return{'type':_0x3808('0x6'),'content':_0x9b139b(_0xb77098,'*Change\x20to:*\x20%0',_0x9b139b(_0xb77098,_0x3808('0x29')))};}),_0x3fc406[_0x3808('0x1f')](_0x3808('0x2a')),_0xbc58a0[_0x3808('0xb')][_0x3808('0x3')]['on']('addMarker:suggestion:insertion',ar(_0xbc58a0),{'priority':_0x3808('0x10')}),_0xbc58a0[_0x3808('0x2')]['downcastDispatcher']['on'](_0x3808('0x32'),(_0x2a37f5,_0x1f8e2b,_0x575e5f)=>{_0x575e5f['options'][_0x3808('0x4')]&&ar(_0xbc58a0,{'showActiveMarker':!0x1})(_0x2a37f5,_0x1f8e2b,_0x575e5f);},{'priority':_0x3808('0x10')});const _0x162f76=_0x3fc406[_0x3808('0x2e')];_0x162f76['registerDescriptionCallback'](_0x25de07=>{if('insertion'!==_0x25de07['type'])return;const {start:_0xc952d3,end:_0x160194}=_0x25de07[_0x3808('0x21')]();if(!_0xc952d3[_0x3808('0x2f')](_0x160194)||!_0xc952d3[_0x3808('0x26')])return;const _0x540d36=_0xbc58a0[_0x3808('0x0')]['schema'],_0x35bf6c=_0xc952d3[_0x3808('0x26')];return _0x540d36['isBlock'](_0x35bf6c)&&!_0x540d36[_0x3808('0x7')](_0x35bf6c)&&_0x540d36[_0x3808('0xf')](_0x35bf6c,'$text')?{'type':'insertion','content':_0x9b139b(_0xb77098,_0x3808('0x2c'),_0x162f76[_0x3808('0x30')](_0x35bf6c,0x1))}:void 0x0;});}}function ar(_0x14e542,{showActiveMarker:_0x243b36=!0x0}={}){return(_0x305275,_0x168978,_0x39940d)=>{const _0x5db57b=_0x14e542[_0x3808('0x15')]['get'](_0x3808('0x1c')),_0x11f00a=_0x168978[_0x3808('0x1e')]['start'],_0x216d1b=_0x168978[_0x3808('0x1e')][_0x3808('0x27')],_0x3cd5ed=_0x14e542[_0x3808('0x0')][_0x3808('0x23')];if(!_0x11f00a[_0x3808('0x2f')](_0x216d1b)||!_0x11f00a[_0x3808('0x26')])return;const _0x5a93a=_0x11f00a[_0x3808('0x26')];if(_0x3cd5ed['isBlock'](_0x5a93a)&&!_0x3cd5ed[_0x3808('0x7')](_0x5a93a)&&_0x3cd5ed[_0x3808('0xf')](_0x5a93a,'$text')){if(!_0x39940d[_0x3808('0xe')]['consume'](_0x168978[_0x3808('0x1e')],_0x305275[_0x3808('0x9')]))return;const _0xedb300=_0x39940d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split'}),_0x5673e3=_0x39940d[_0x3808('0x12')][_0x3808('0x18')](_0x216d1b);_0x243b36&&_0x5db57b['activeMarkers'][_0x3808('0x31')](_0x168978['markerName'])&&_0x39940d[_0x3808('0x1b')][_0x3808('0x5')](_0x3808('0x11'),_0xedb300),_0x39940d[_0x3808('0x1b')]['insert'](_0x5673e3,_0xedb300),_0x39940d[_0x3808('0x12')][_0x3808('0x20')](_0xedb300,_0x168978[_0x3808('0x28')]);}};}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/removeformat
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for remove format feature.
11
- */
12
- export default class TrackChangesRemoveFormat extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/removeformat
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for remove format feature.
11
+ */
12
+ export default class TrackChangesRemoveFormat extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45d5=['getItems','afterInit','enableCommand','getAttributeProperties','isCollapsed','isFormatting','registerDescriptionCallback','schema','editor','*Remove\x20all\x20formatting*','plugins','removeFormat','createRangeOn','markInlineFormat','change','format','get','TrackChangesEditing','document','selection','model'];(function(_0x29d512,_0x45d5c1){const _0x39e1a7=function(_0x44121f){while(--_0x44121f){_0x29d512['push'](_0x29d512['shift']());}};_0x39e1a7(++_0x45d5c1);}(_0x45d5,0x113));const _0x39e1=function(_0x29d512,_0x45d5c1){_0x29d512=_0x29d512-0x0;let _0x39e1a7=_0x45d5[_0x29d512];return _0x39e1a7;};import{Plugin as _0x1f4c42}from'ckeditor5/src/core';import{getTranslation as _0x22b854}from'../utils/common-translations';export default class ht extends _0x1f4c42{[_0x39e1('0x14')](){const _0x369913=this[_0x39e1('0x6')];if(!_0x369913[_0x39e1('0x8')]['has']('RemoveFormatEditing'))return;const _0x2f4329=_0x369913[_0x39e1('0x8')][_0x39e1('0xe')](_0x39e1('0xf'));_0x2f4329[_0x39e1('0x0')]('removeFormat',_0x5bf76a=>{const _0x7c568e=_0x369913[_0x39e1('0x12')][_0x39e1('0x10')][_0x39e1('0x11')];_0x7c568e[_0x39e1('0x2')]?_0x5bf76a():_0x369913[_0x39e1('0x12')][_0x39e1('0xc')](()=>{const _0x28e6c6=Array['from'](_0x7c568e['getRanges']());for(const _0x558114 of _0x28e6c6)for(const _0x1c7ab9 of _0x558114[_0x39e1('0x13')]())mo(_0x1c7ab9,_0x369913['model'][_0x39e1('0x5')])&&_0x2f4329[_0x39e1('0xb')](_0x369913['model'][_0x39e1('0xa')](_0x1c7ab9),{'commandName':'removeFormat','commandParams':[]});});}),_0x2f4329['_descriptionFactory'][_0x39e1('0x4')](_0x1f35fa=>{const {data:_0x12f625}=_0x1f35fa;if(_0x12f625&&_0x39e1('0x9')==_0x12f625['commandName'])return{'type':_0x39e1('0xd'),'content':_0x22b854(_0x369913['locale'],_0x39e1('0x7'))};});}}function mo(_0x1c76e9,_0x5a5985){for(const [_0x509374]of _0x1c76e9['getAttributes']()){const _0x2a3732=_0x5a5985[_0x39e1('0x1')](_0x509374);if(_0x2a3732&&_0x2a3732[_0x39e1('0x3')])return!0x0;}return!0x1;}
23
+ const _0xc9c3=['_descriptionFactory','registerDescriptionCallback','markInlineFormat','model','isFormatting','TrackChangesEditing','has','plugins','*Remove\x20all\x20formatting*','get','isCollapsed','editor','getRanges','createRangeOn','schema','from','removeFormat','commandName','getAttributeProperties'];(function(_0x4bc184,_0xc9c34a){const _0x1f36fc=function(_0xbe7513){while(--_0xbe7513){_0x4bc184['push'](_0x4bc184['shift']());}};_0x1f36fc(++_0xc9c34a);}(_0xc9c3,0x1a2));const _0x1f36=function(_0x4bc184,_0xc9c34a){_0x4bc184=_0x4bc184-0x0;let _0x1f36fc=_0xc9c3[_0x4bc184];return _0x1f36fc;};import{Plugin as _0x24276f}from'ckeditor5/src/core';import{getTranslation as _0x5d4cfa}from'../utils/common-translations';export default class ut extends _0x24276f{['afterInit'](){const _0x19ff69=this[_0x1f36('0xb')];if(!_0x19ff69['plugins'][_0x1f36('0x6')]('RemoveFormatEditing'))return;const _0x5638f3=_0x19ff69[_0x1f36('0x7')][_0x1f36('0x9')](_0x1f36('0x5'));_0x5638f3['enableCommand'](_0x1f36('0x10'),_0x5f3731=>{const _0x31db09=_0x19ff69[_0x1f36('0x3')]['document']['selection'];_0x31db09[_0x1f36('0xa')]?_0x5f3731():_0x19ff69[_0x1f36('0x3')]['change'](()=>{const _0x4f1a43=Array[_0x1f36('0xf')](_0x31db09[_0x1f36('0xc')]());for(const _0x5c551d of _0x4f1a43)for(const _0x587f1b of _0x5c551d['getItems']())mo(_0x587f1b,_0x19ff69[_0x1f36('0x3')][_0x1f36('0xe')])&&_0x5638f3[_0x1f36('0x2')](_0x19ff69['model'][_0x1f36('0xd')](_0x587f1b),{'commandName':_0x1f36('0x10'),'commandParams':[]});});}),_0x5638f3[_0x1f36('0x0')][_0x1f36('0x1')](_0x3bcc37=>{const {data:_0x5e371d}=_0x3bcc37;if(_0x5e371d&&'removeFormat'==_0x5e371d[_0x1f36('0x11')])return{'type':'format','content':_0x5d4cfa(_0x19ff69['locale'],_0x1f36('0x8'))};});}}function mo(_0x38dfd0,_0x38169a){for(const [_0x44e462]of _0x38dfd0['getAttributes']()){const _0x2564fa=_0x38169a[_0x1f36('0x12')](_0x44e462);if(_0x2564fa&&_0x2564fa[_0x1f36('0x4')])return!0x0;}return!0x1;}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/mention
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
11
- */
12
- export default class TrackChangesRestrictedEditingMode extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/mention
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
11
+ */
12
+ export default class TrackChangesRestrictedEditingMode extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59b5=['get','enableCommand','TrackChangesEditing','RestrictedEditingModeEditing','acceptAllSuggestions','discardAllSuggestions','afterInit','acceptSuggestion','plugins','goToNextRestrictedEditingException','acceptSelectedSuggestions','discardSelectedSuggestions','trackChanges','discardSuggestion'];(function(_0xc8f749,_0x59b57c){const _0x404ecb=function(_0x35b3c5){while(--_0x35b3c5){_0xc8f749['push'](_0xc8f749['shift']());}};_0x404ecb(++_0x59b57c);}(_0x59b5,0x98));const _0x404e=function(_0xc8f749,_0x59b57c){_0xc8f749=_0xc8f749-0x0;let _0x404ecb=_0x59b5[_0xc8f749];return _0x404ecb;};import{Plugin as _0x31c3a9}from'ckeditor5/src/core';export default class ut extends _0x31c3a9{[_0x404e('0x8')](){const _0x36fb6e=this['editor'];if(!_0x36fb6e[_0x404e('0xa')]['has'](_0x404e('0x5')))return;const _0x12342b=_0x36fb6e['plugins'][_0x404e('0x2')](_0x404e('0x4'));_0x12342b[_0x404e('0x3')]('goToPreviousRestrictedEditingException'),_0x12342b[_0x404e('0x3')](_0x404e('0xb'));const _0x6c234d=_0x36fb6e[_0x404e('0xa')][_0x404e('0x2')]('RestrictedEditingModeEditing');_0x6c234d[_0x404e('0x3')](_0x404e('0x0')),_0x6c234d['enableCommand'](_0x404e('0x9')),_0x6c234d[_0x404e('0x3')](_0x404e('0x1')),_0x6c234d['enableCommand'](_0x404e('0x6')),_0x6c234d[_0x404e('0x3')](_0x404e('0x7')),_0x6c234d['enableCommand'](_0x404e('0xc')),_0x6c234d[_0x404e('0x3')](_0x404e('0xd'));}}
23
+ const _0x43b5=['goToNextRestrictedEditingException','acceptAllSuggestions','plugins','discardAllSuggestions','acceptSelectedSuggestions','enableCommand','afterInit','goToPreviousRestrictedEditingException','discardSelectedSuggestions','RestrictedEditingModeEditing','editor','trackChanges','get'];(function(_0x2891eb,_0x43b525){const _0x3016ec=function(_0x727cd6){while(--_0x727cd6){_0x2891eb['push'](_0x2891eb['shift']());}};_0x3016ec(++_0x43b525);}(_0x43b5,0x10e));const _0x3016=function(_0x2891eb,_0x43b525){_0x2891eb=_0x2891eb-0x0;let _0x3016ec=_0x43b5[_0x2891eb];return _0x3016ec;};import{Plugin as _0x162a7d}from'ckeditor5/src/core';export default class ft extends _0x162a7d{[_0x3016('0x9')](){const _0x33b16e=this[_0x3016('0x0')];if(!_0x33b16e[_0x3016('0x5')]['has'](_0x3016('0xc')))return;const _0x40bdb5=_0x33b16e['plugins'][_0x3016('0x2')]('TrackChangesEditing');_0x40bdb5[_0x3016('0x8')](_0x3016('0xa')),_0x40bdb5[_0x3016('0x8')](_0x3016('0x3'));const _0x313095=_0x33b16e['plugins'][_0x3016('0x2')](_0x3016('0xc'));_0x313095[_0x3016('0x8')](_0x3016('0x1')),_0x313095[_0x3016('0x8')]('acceptSuggestion'),_0x313095[_0x3016('0x8')]('discardSuggestion'),_0x313095['enableCommand'](_0x3016('0x4')),_0x313095['enableCommand'](_0x3016('0x6')),_0x313095[_0x3016('0x8')](_0x3016('0x7')),_0x313095[_0x3016('0x8')](_0x3016('0xb'));}}
@@ -1,16 +1,16 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/shiftentercommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { ShiftEnter } from 'ckeditor5/src/enter';
10
- /**
11
- * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
12
- */
13
- export default class TrackChangesShiftEnterCommand extends Plugin {
14
- static get requires(): readonly [typeof ShiftEnter];
15
- init(): void;
16
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/shiftentercommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { ShiftEnter } from 'ckeditor5/src/enter';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
12
+ */
13
+ export default class TrackChangesShiftEnterCommand extends Plugin {
14
+ static get requires(): readonly [typeof ShiftEnter];
15
+ init(): void;
16
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x104f=['data','registerElementLabel','addClass','addMarker:suggestion:deletion','bindElementToMarker','deletion','_descriptionFactory','init','split','addMarker:suggestion:insertion','high','plugins','ck-suggestion-marker--active','createPositionBefore','mapper','TrackChangesEditing','span','shiftEnter','get','markerRange','editing','ck-suggestion-marker-','writer','insert','ELEMENT_LINE_BREAK','merge','markerName','downcastDispatcher','softBreak','name','showSuggestionHighlights','toViewPosition'];(function(_0x5af198,_0x104f1e){const _0x17a4c9=function(_0xb8893c){while(--_0xb8893c){_0x5af198['push'](_0x5af198['shift']());}};_0x17a4c9(++_0x104f1e);}(_0x104f,0x1e2));const _0x17a4=function(_0x5af198,_0x104f1e){_0x5af198=_0x5af198-0x0;let _0x17a4c9=_0x104f[_0x5af198];return _0x17a4c9;};import{Plugin as _0x2e2343}from'ckeditor5/src/core';import{ShiftEnter as _0x3ef80b}from'ckeditor5/src/enter';import{getTranslation as _0x2f9e7d}from'../utils/common-translations';export default class ft extends _0x2e2343{static get['requires'](){return[_0x3ef80b];}[_0x17a4('0x5')](){const _0x2c5425=this['editor'],_0x4c4c44=_0x2c5425[_0x17a4('0x9')][_0x17a4('0x10')](_0x17a4('0xd'));_0x4c4c44['enableCommand'](_0x17a4('0xf')),_0x2c5425['editing'][_0x17a4('0x19')]['on'](_0x17a4('0x7'),re(_0x2c5425),{'priority':'high'}),_0x2c5425[_0x17a4('0x12')][_0x17a4('0x19')]['on'](_0x17a4('0x1'),re(_0x2c5425),{'priority':_0x17a4('0x8')}),_0x2c5425[_0x17a4('0x1e')][_0x17a4('0x19')]['on']('addMarker:suggestion',(_0x86e792,_0xe11e4,_0x5ac4b8)=>{_0x5ac4b8['options'][_0x17a4('0x1c')]&&re(_0x2c5425,{'showActiveMarker':!0x1})(_0x86e792,_0xe11e4,_0x5ac4b8);}),_0x4c4c44[_0x17a4('0x4')][_0x17a4('0x1f')](_0x17a4('0x1a'),_0x7b41b2=>_0x2f9e7d(_0x2c5425['locale'],_0x17a4('0x16'),_0x7b41b2));}}function re(_0x49c6f4,{showActiveMarker:_0x4f4e6a=!0x0}={}){return(_0x284af1,_0x224817,_0xfa1fef)=>{const _0x165b0f=_0x49c6f4['plugins'][_0x17a4('0x10')]('TrackChangesEditing');if(!_0xfa1fef['consumable']['test'](_0x224817['markerRange'],_0x284af1[_0x17a4('0x1b')]))return;const _0xac2e0f=_0x49c6f4['model'];for(const _0x1f224a of _0x224817[_0x17a4('0x11')]['getItems']()){if(!_0x1f224a['is']('element',_0x17a4('0x1a')))continue;const _0x35bc2c=_0x17a4('0x3')==_0x224817['markerName']['split'](':')[0x1]?_0x17a4('0x17'):_0x17a4('0x6'),_0x420823=_0xfa1fef[_0x17a4('0x14')]['createUIElement'](_0x17a4('0xe'),{'class':_0x17a4('0x13')+_0x35bc2c}),_0x507de8=_0xfa1fef['mapper'][_0x17a4('0x1d')](_0xac2e0f[_0x17a4('0xb')](_0x1f224a));_0x4f4e6a&&_0x165b0f['activeMarkers']['includes'](_0x224817['markerName'])&&_0xfa1fef['writer'][_0x17a4('0x0')](_0x17a4('0xa'),_0x420823),_0xfa1fef[_0x17a4('0x14')][_0x17a4('0x15')](_0x507de8,_0x420823),_0xfa1fef[_0x17a4('0xc')][_0x17a4('0x2')](_0x420823,_0x224817[_0x17a4('0x18')]);}};}
23
+ const _0x31e6=['activeMarkers','addMarker:suggestion:deletion','_descriptionFactory','merge','get','split','ck-suggestion-marker-','mapper','TrackChangesEditing','init','ck-suggestion-marker--active','shiftEnter','createPositionBefore','writer','requires','consumable','options','test','span','addMarker:suggestion:insertion','showSuggestionHighlights','includes','editor','markerName','plugins','createUIElement','locale','markerRange','element','addClass','getItems','softBreak','registerElementLabel','editing','data','bindElementToMarker','downcastDispatcher','high'];(function(_0x298a80,_0x31e6e1){const _0x4fbcd8=function(_0x38bed6){while(--_0x38bed6){_0x298a80['push'](_0x298a80['shift']());}};_0x4fbcd8(++_0x31e6e1);}(_0x31e6,0x112));const _0x4fbc=function(_0x298a80,_0x31e6e1){_0x298a80=_0x298a80-0x0;let _0x4fbcd8=_0x31e6[_0x298a80];return _0x4fbcd8;};import{Plugin as _0x22b46c}from'ckeditor5/src/core';import{ShiftEnter as _0x3226a4}from'ckeditor5/src/enter';import{getTranslation as _0x2ed43d}from'../utils/common-translations';export default class lt extends _0x22b46c{static get[_0x4fbc('0x6')](){return[_0x3226a4];}[_0x4fbc('0x1')](){const _0x55c20a=this[_0x4fbc('0xe')],_0x3a394d=_0x55c20a['plugins'][_0x4fbc('0x22')]('TrackChangesEditing');_0x3a394d['enableCommand'](_0x4fbc('0x3')),_0x55c20a[_0x4fbc('0x19')][_0x4fbc('0x1c')]['on'](_0x4fbc('0xb'),re(_0x55c20a),{'priority':_0x4fbc('0x1d')}),_0x55c20a[_0x4fbc('0x19')][_0x4fbc('0x1c')]['on'](_0x4fbc('0x1f'),re(_0x55c20a),{'priority':'high'}),_0x55c20a[_0x4fbc('0x1a')][_0x4fbc('0x1c')]['on']('addMarker:suggestion',(_0x55d850,_0x4ff5fb,_0x13127d)=>{_0x13127d[_0x4fbc('0x8')][_0x4fbc('0xc')]&&re(_0x55c20a,{'showActiveMarker':!0x1})(_0x55d850,_0x4ff5fb,_0x13127d);}),_0x3a394d[_0x4fbc('0x20')][_0x4fbc('0x18')](_0x4fbc('0x17'),_0x774580=>_0x2ed43d(_0x55c20a[_0x4fbc('0x12')],'ELEMENT_LINE_BREAK',_0x774580));}}function re(_0x31d4ed,{showActiveMarker:_0x5e80f3=!0x0}={}){return(_0x139647,_0xdbe05f,_0x3705d6)=>{const _0x219947=_0x31d4ed[_0x4fbc('0x10')][_0x4fbc('0x22')](_0x4fbc('0x0'));if(!_0x3705d6[_0x4fbc('0x7')][_0x4fbc('0x9')](_0xdbe05f['markerRange'],_0x139647['name']))return;const _0x5357cb=_0x31d4ed['model'];for(const _0x201949 of _0xdbe05f[_0x4fbc('0x13')][_0x4fbc('0x16')]()){if(!_0x201949['is'](_0x4fbc('0x14'),_0x4fbc('0x17')))continue;const _0x2a6d03='deletion'==_0xdbe05f[_0x4fbc('0xf')][_0x4fbc('0x23')](':')[0x1]?_0x4fbc('0x21'):_0x4fbc('0x23'),_0x50a9d2=_0x3705d6[_0x4fbc('0x5')][_0x4fbc('0x11')](_0x4fbc('0xa'),{'class':_0x4fbc('0x24')+_0x2a6d03}),_0x346169=_0x3705d6['mapper']['toViewPosition'](_0x5357cb[_0x4fbc('0x4')](_0x201949));_0x5e80f3&&_0x219947[_0x4fbc('0x1e')][_0x4fbc('0xd')](_0xdbe05f[_0x4fbc('0xf')])&&_0x3705d6[_0x4fbc('0x5')][_0x4fbc('0x15')](_0x4fbc('0x2'),_0x50a9d2),_0x3705d6[_0x4fbc('0x5')]['insert'](_0x346169,_0x50a9d2),_0x3705d6[_0x4fbc('0x25')][_0x4fbc('0x1b')](_0x50a9d2,_0xdbe05f['markerName']);}};}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/mention
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for standard editing mode feature from restricted editing package.
11
- */
12
- export default class TrackChangesStandardEditingMode extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/mention
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for standard editing mode feature from restricted editing package.
11
+ */
12
+ export default class TrackChangesStandardEditingMode extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }