@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231216.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.
- package/CHANGELOG.md +1 -1
- package/build/track-changes.js +1 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +2 -2
- package/src/commands/acceptsuggestioncommand.d.ts +2 -2
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +2 -2
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +12 -12
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.d.ts +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.d.ts +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +2 -2
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +3 -3
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +2 -2
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.d.ts +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.d.ts +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +2 -2
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +3 -3
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +2 -2
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +2 -2
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +2 -2
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +4 -4
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +2 -2
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +2 -2
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +4 -4
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +3 -3
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +5 -5
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +3 -3
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +5 -5
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +1 -1
- package/src/trackchangesdata.d.ts +2 -2
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +53 -53
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +3 -3
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +5 -5
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +5 -5
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +4 -4
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4491=['data','ELEMENT_MEDIA','showSuggestionHighlights','createEmptyElement','has','options','plugins','MediaEmbedEditing','locale','TrackChangesEditing','registerElementLabel','downcastDispatcher','div','stop','attribute:url:media','mediaEmbed','get','_descriptionFactory','high','conversion','elementToElement','dataDowncast','enableCommand','media','afterInit'];(function(_0x1734ce,_0x44910d){const _0x141999=function(_0x30fd06){while(--_0x30fd06){_0x1734ce['push'](_0x1734ce['shift']());}};_0x141999(++_0x44910d);}(_0x4491,0xc5));const _0x1419=function(_0x1734ce,_0x44910d){_0x1734ce=_0x1734ce-0x0;let _0x141999=_0x4491[_0x1734ce];return _0x141999;};import{Plugin as _0x8ad636}from'ckeditor5/src/core.js';import{getTranslation as _0x5f0651}from'../utils/common-translations.js';export default class ht extends _0x8ad636{[_0x1419('0x2')](){const _0x50e34d=this['editor'];if(!_0x50e34d[_0x1419('0x9')][_0x1419('0x7')](_0x1419('0xa')))return;const _0x319141=_0x50e34d[_0x1419('0x9')][_0x1419('0x13')](_0x1419('0xc')),_0x1be42d=_0x50e34d[_0x1419('0xb')];_0x319141[_0x1419('0x0')](_0x1419('0x12')),_0x319141[_0x1419('0x14')][_0x1419('0xd')](_0x1419('0x1'),_0x361e13=>_0x5f0651(_0x1be42d,_0x1419('0x4'),_0x361e13)),_0x50e34d[_0x1419('0x16')]['for'](_0x1419('0x18'))[_0x1419('0x17')]({'model':_0x1419('0x1'),'view':(_0x4f3318,{writer:_0xacc8af,options:_0x279819})=>{if(_0x279819[_0x1419('0x5')])return _0xacc8af[_0x1419('0x6')](_0x1419('0xf'));},'converterPriority':_0x1419('0x15')}),_0x50e34d[_0x1419('0x3')][_0x1419('0xe')]['on'](_0x1419('0x11'),(_0x12cd47,_0x15a5ab,_0x49da26)=>{_0x49da26[_0x1419('0x8')][_0x1419('0x5')]&&_0x12cd47[_0x1419('0x10')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2304=['plugins','has','get','mention','editor','afterInit','MentionEditing','TrackChangesEditing','enableCommand'];(function(_0x49ce12,_0x230496){const _0x599778=function(_0x14e1ea){while(--_0x14e1ea){_0x49ce12['push'](_0x49ce12['shift']());}};_0x599778(++_0x230496);}(_0x2304,0x19a));const _0x5997=function(_0x49ce12,_0x230496){_0x49ce12=_0x49ce12-0x0;let _0x599778=_0x2304[_0x49ce12];return _0x599778;};import{Plugin as _0x2e2638}from'ckeditor5/src/core.js';export default class ft extends _0x2e2638{[_0x5997('0x0')](){const _0x3984a1=this[_0x5997('0x8')];_0x3984a1[_0x5997('0x4')][_0x5997('0x5')](_0x5997('0x1'))&&_0x3984a1[_0x5997('0x4')][_0x5997('0x6')](_0x5997('0x2'))[_0x5997('0x3')](_0x5997('0x7'));}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/pagebreak
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
11
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50bb=['ELEMENT_PAGE_BREAK','registerElementLabel','TrackChangesEditing','afterInit','locale','has','PageBreakEditing','pageBreak','enableCommand','get','plugins'];(function(_0x2aef05,_0x50bbb5){const _0x2d5929=function(_0x10fd02){while(--_0x10fd02){_0x2aef05['push'](_0x2aef05['shift']());}};_0x2d5929(++_0x50bbb5);}(_0x50bb,0x118));const _0x2d59=function(_0x2aef05,_0x50bbb5){_0x2aef05=_0x2aef05-0x0;let _0x2d5929=_0x50bb[_0x2aef05];return _0x2d5929;};import{Plugin as _0x2ce76a}from'ckeditor5/src/core.js';import{getTranslation as _0x1c9eba}from'../utils/common-translations.js';export default class gt extends _0x2ce76a{[_0x2d59('0x9')](){const _0x590393=this['editor'];if(!_0x590393[_0x2d59('0x5')][_0x2d59('0x0')](_0x2d59('0x1')))return;_0x590393[_0x2d59('0x5')][_0x2d59('0x4')](_0x2d59('0x8'))[_0x2d59('0x3')](_0x2d59('0x2'));const _0x5d139b=_0x590393[_0x2d59('0x5')][_0x2d59('0x4')](_0x2d59('0x8')),_0x4b6ba8=_0x590393[_0x2d59('0xa')];_0x5d139b['_descriptionFactory'][_0x2d59('0x7')](_0x2d59('0x2'),_0x787636=>_0x1c9eba(_0x4b6ba8,_0x2d59('0x6'),_0x787636));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a31=['span','locale','plugins','registerDescriptionCallback','getFirstRange','consumable','format','isBlock','editor','createUIElement','bindElementToMarker','highest','isLimit','consume','schema','get','isTouching','ck-suggestion-marker--active','_registerLegacyDescription','type','editing','formatBlock','insertion','mapper','addMarker:suggestion:insertion','checkChild','*Change\x20to:*\x20%0','downcastDispatcher','$text','model','markerName','markerRange','start','_enableDefaultAttributesIntegration','data','Paragraph','options','writer','name','has','nodeAfter','end','commandName','insert','*Insert:*\x20%0','_descriptionFactory','paragraph','getItemLabel','TrackChangesEditing','afterInit','showSuggestionHighlights'];(function(_0x582cf3,_0x2a31f9){const _0x344f4c=function(_0x383f1e){while(--_0x383f1e){_0x582cf3['push'](_0x582cf3['shift']());}};_0x344f4c(++_0x2a31f9);}(_0x2a31,0x1d6));const _0x344f=function(_0x582cf3,_0x2a31f9){_0x582cf3=_0x582cf3-0x0;let _0x344f4c=_0x2a31[_0x582cf3];return _0x344f4c;};import{Plugin as _0x2f6622}from'ckeditor5/src/core.js';import{getTranslation as _0x32b567}from'../utils/common-translations.js';export default class lt extends _0x2f6622{[_0x344f('0x26')](){const _0x38e740=this[_0x344f('0x30')];if(!_0x38e740[_0x344f('0x2a')][_0x344f('0x1c')](_0x344f('0x18')))return;const _0x4b0aaa=_0x38e740['locale'],_0x59e29b=_0x38e740['plugins'][_0x344f('0x4')](_0x344f('0x25'));_0x59e29b['_descriptionFactory']['registerElementLabel'](_0x344f('0x23'),_0x293a16=>_0x32b567(_0x4b0aaa,'ELEMENT_PARAGRAPH',_0x293a16)),_0x59e29b[_0x344f('0x16')](_0x344f('0x23')),_0x59e29b['enableCommand']('insertParagraph'),_0x38e740[_0x344f('0x9')][_0x344f('0x10')]['on']('addMarker:suggestion:insertion',nr(_0x38e740),{'priority':_0x344f('0x0')}),_0x38e740[_0x344f('0x17')][_0x344f('0x10')]['on'](_0x344f('0xd'),(_0x58fd95,_0x1b8988,_0x1e1efb)=>{_0x1e1efb[_0x344f('0x19')][_0x344f('0x27')]&&nr(_0x38e740,{'showActiveMarker':!0x1})(_0x58fd95,_0x1b8988,_0x1e1efb);},{'priority':'highest'});const _0x362ff7=_0x59e29b[_0x344f('0x22')];_0x362ff7[_0x344f('0x2b')](_0x4f2ad2=>{if(_0x344f('0xb')!==_0x4f2ad2[_0x344f('0x8')])return;const {start:_0x2917ca,end:_0x2dc854}=_0x4f2ad2[_0x344f('0x2c')]();if(!_0x2917ca[_0x344f('0x5')](_0x2dc854)||!_0x2917ca[_0x344f('0x1d')])return;const _0x15e924=_0x38e740[_0x344f('0x12')]['schema'],_0x3c14d8=_0x2917ca[_0x344f('0x1d')];return _0x15e924['isBlock'](_0x3c14d8)&&!_0x15e924[_0x344f('0x1')](_0x3c14d8)&&_0x15e924['checkChild'](_0x3c14d8,_0x344f('0x11'))?{'type':_0x344f('0xb'),'content':_0x32b567(_0x4b0aaa,_0x344f('0x21'),_0x362ff7[_0x344f('0x24')](_0x3c14d8,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0x344f('0x7')](){const _0x2af86b=this[_0x344f('0x30')],_0x4e2423=_0x2af86b[_0x344f('0x29')];_0x2af86b[_0x344f('0x2a')][_0x344f('0x4')](_0x344f('0x25'))[_0x344f('0x22')][_0x344f('0x2b')](_0xc11fbb=>{if(_0x344f('0xa')!=_0xc11fbb[_0x344f('0x8')])return;const {data:_0x313d31}=_0xc11fbb;return _0x313d31&&'paragraph'==_0x313d31[_0x344f('0x1f')]?{'type':_0x344f('0x2e'),'content':_0x32b567(_0x4e2423,_0x344f('0xf'),_0x32b567(_0x4e2423,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function nr(_0x2a4e73,{showActiveMarker:_0x56aa63=!0x0}={}){return(_0x1774e7,_0x576eef,_0x112a53)=>{const _0x474ec7=_0x2a4e73[_0x344f('0x2a')][_0x344f('0x4')](_0x344f('0x25')),_0x141899=_0x576eef['markerRange'][_0x344f('0x15')],_0x539e88=_0x576eef[_0x344f('0x14')][_0x344f('0x1e')],_0x20d09a=_0x2a4e73[_0x344f('0x12')][_0x344f('0x3')];if(!_0x141899[_0x344f('0x5')](_0x539e88)||!_0x141899[_0x344f('0x1d')])return;const _0x5b161a=_0x141899[_0x344f('0x1d')];if(_0x20d09a[_0x344f('0x2f')](_0x5b161a)&&!_0x20d09a[_0x344f('0x1')](_0x5b161a)&&_0x20d09a[_0x344f('0xe')](_0x5b161a,_0x344f('0x11'))){if(!_0x112a53[_0x344f('0x2d')][_0x344f('0x2')](_0x576eef['markerRange'],_0x1774e7[_0x344f('0x1b')]))return;const _0x39556c=_0x112a53['writer'][_0x344f('0x31')](_0x344f('0x28'),{'class':'ck-suggestion-marker-split'}),_0x644b84=_0x112a53[_0x344f('0xc')]['toViewPosition'](_0x539e88);_0x56aa63&&_0x474ec7['activeMarkers']['includes'](_0x576eef['markerName'])&&_0x112a53['writer']['addClass'](_0x344f('0x6'),_0x39556c),_0x112a53[_0x344f('0x1a')][_0x344f('0x20')](_0x644b84,_0x39556c),_0x112a53[_0x344f('0xc')][_0x344f('0x32')](_0x39556c,_0x576eef[_0x344f('0x13')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3253=['editor','registerDescriptionCallback','_enableDefaultAttributesIntegration','type','has','commandName','format','get','removeFormat','formatBlock','locale','plugins','*Remove\x20all\x20formatting*','_registerLegacyDescription','afterInit','RemoveFormatEditing','formatInline'];(function(_0x3b02d2,_0x3253f3){const _0x5c08ab=function(_0x329ed8){while(--_0x329ed8){_0x3b02d2['push'](_0x3b02d2['shift']());}};_0x5c08ab(++_0x3253f3);}(_0x3253,0x15c));const _0x5c08=function(_0x3b02d2,_0x3253f3){_0x3b02d2=_0x3b02d2-0x0;let _0x5c08ab=_0x3253[_0x3b02d2];return _0x5c08ab;};import{Plugin as _0x2e81e7}from'ckeditor5/src/core.js';import{getTranslation as _0x2e6e2b}from'../utils/common-translations.js';export default class mt extends _0x2e81e7{[_0x5c08('0x6')](){const _0xede4c2=this[_0x5c08('0x9')];if(!_0xede4c2[_0x5c08('0x3')][_0x5c08('0xd')](_0x5c08('0x7')))return;_0xede4c2[_0x5c08('0x3')][_0x5c08('0x10')]('TrackChangesEditing')[_0x5c08('0xb')](_0x5c08('0x0')),this[_0x5c08('0x5')]();}[_0x5c08('0x5')](){const _0x24e7ee=this[_0x5c08('0x9')];_0x24e7ee['plugins'][_0x5c08('0x10')]('TrackChangesEditing')['_descriptionFactory'][_0x5c08('0xa')](_0x13e9b2=>{if(_0x5c08('0x1')!=_0x13e9b2[_0x5c08('0xc')]&&_0x5c08('0x8')!=_0x13e9b2[_0x5c08('0xc')])return;const {data:_0x4dd502}=_0x13e9b2;return _0x4dd502&&_0x5c08('0x0')==_0x4dd502[_0x5c08('0xe')]?{'type':_0x5c08('0xf'),'content':_0x2e6e2b(_0x24e7ee[_0x5c08('0x2')],_0x5c08('0x4'))}:void 0x0;});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/mention
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
|
|
11
11
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5229=['acceptSuggestion','RestrictedEditingModeEditing','get','editor','plugins','afterInit','discardSelectedSuggestions','discardSuggestion','goToPreviousRestrictedEditingException','TrackChangesEditing','acceptSelectedSuggestions','discardAllSuggestions','goToNextRestrictedEditingException','has','enableCommand'];(function(_0x49e26d,_0x522904){const _0x1e77c7=function(_0x43296a){while(--_0x43296a){_0x49e26d['push'](_0x49e26d['shift']());}};_0x1e77c7(++_0x522904);}(_0x5229,0x19a));const _0x1e77=function(_0x49e26d,_0x522904){_0x49e26d=_0x49e26d-0x0;let _0x1e77c7=_0x5229[_0x49e26d];return _0x1e77c7;};import{Plugin as _0x2f87e5}from'ckeditor5/src/core.js';export default class dt extends _0x2f87e5{[_0x1e77('0x0')](){const _0x7ecb65=this[_0x1e77('0xd')];if(!_0x7ecb65[_0x1e77('0xe')][_0x1e77('0x8')](_0x1e77('0xb')))return;const _0x587f39=_0x7ecb65['plugins'][_0x1e77('0xc')](_0x1e77('0x4'));_0x587f39[_0x1e77('0x9')](_0x1e77('0x3')),_0x587f39['enableCommand'](_0x1e77('0x7'));const _0x382c8b=_0x7ecb65[_0x1e77('0xe')]['get'](_0x1e77('0xb'));_0x382c8b[_0x1e77('0x9')]('trackChanges'),_0x382c8b[_0x1e77('0x9')](_0x1e77('0xa')),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x2')),_0x382c8b[_0x1e77('0x9')]('acceptAllSuggestions'),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x6')),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x5')),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x1'));}}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/shiftentercommand
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ShiftEnter } from 'ckeditor5/src/enter';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ShiftEnter } from 'ckeditor5/src/enter.js';
|
|
10
10
|
/**
|
|
11
11
|
* Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
|
|
12
12
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x490c=['get','deletion','bindElementToMarker','requires','mapper','addMarker:suggestion','data','getItems','name','element','createPositionBefore','split','showSuggestionHighlights','downcastDispatcher','markerName','addClass','TrackChangesEditing','createUIElement','activeMarkers','span','enableCommand','high','writer','editor','ck-suggestion-marker-','merge','test','plugins','markerRange','toViewPosition','includes','editing','locale','init','ELEMENT_LINE_BREAK','consumable','shiftEnter','options','insert','softBreak'];(function(_0xdf9d12,_0x490cb2){const _0x1ff654=function(_0x1a11fb){while(--_0x1a11fb){_0xdf9d12['push'](_0xdf9d12['shift']());}};_0x1ff654(++_0x490cb2);}(_0x490c,0x9e));const _0x1ff6=function(_0xdf9d12,_0x490cb2){_0xdf9d12=_0xdf9d12-0x0;let _0x1ff654=_0x490c[_0xdf9d12];return _0x1ff654;};import{Plugin as _0x39651b}from'ckeditor5/src/core.js';import{ShiftEnter as _0x189c18}from'ckeditor5/src/enter.js';import{getTranslation as _0x11c079}from'../utils/common-translations.js';export default class pt extends _0x39651b{static get[_0x1ff6('0x5')](){return[_0x189c18];}[_0x1ff6('0x23')](){const _0x2fd112=this[_0x1ff6('0x19')],_0x5db8e0=_0x2fd112[_0x1ff6('0x1d')][_0x1ff6('0x2')](_0x1ff6('0x12'));_0x5db8e0[_0x1ff6('0x16')](_0x1ff6('0x26')),_0x2fd112[_0x1ff6('0x21')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x2fd112),{'priority':_0x1ff6('0x17')}),_0x2fd112['editing'][_0x1ff6('0xf')]['on']('addMarker:suggestion:deletion',re(_0x2fd112),{'priority':'high'}),_0x2fd112[_0x1ff6('0x8')]['downcastDispatcher']['on'](_0x1ff6('0x7'),(_0x4439b0,_0x399a15,_0xe50985)=>{_0xe50985[_0x1ff6('0x27')][_0x1ff6('0xe')]&&re(_0x2fd112,{'showActiveMarker':!0x1})(_0x4439b0,_0x399a15,_0xe50985);}),_0x5db8e0['_descriptionFactory']['registerElementLabel']('softBreak',_0x4d70df=>_0x11c079(_0x2fd112[_0x1ff6('0x22')],_0x1ff6('0x24'),_0x4d70df));}}function re(_0x388583,{showActiveMarker:_0x33f797=!0x0}={}){return(_0x36a33b,_0x5e542d,_0x46abc9)=>{const _0x3eee1b=_0x388583[_0x1ff6('0x1d')][_0x1ff6('0x2')](_0x1ff6('0x12'));if(!_0x46abc9[_0x1ff6('0x25')][_0x1ff6('0x1c')](_0x5e542d[_0x1ff6('0x1e')],_0x36a33b[_0x1ff6('0xa')]))return;const _0x25d393=_0x388583['model'];for(const _0x5a0568 of _0x5e542d[_0x1ff6('0x1e')][_0x1ff6('0x9')]()){if(!_0x5a0568['is'](_0x1ff6('0xb'),_0x1ff6('0x1')))continue;const _0x469f8f=_0x1ff6('0x3')==_0x5e542d[_0x1ff6('0x10')][_0x1ff6('0xd')](':')[0x1]?_0x1ff6('0x1b'):_0x1ff6('0xd'),_0x8b54c7=_0x46abc9['writer'][_0x1ff6('0x13')](_0x1ff6('0x15'),{'class':_0x1ff6('0x1a')+_0x469f8f}),_0x386f6d=_0x46abc9['mapper'][_0x1ff6('0x1f')](_0x25d393[_0x1ff6('0xc')](_0x5a0568));_0x33f797&&_0x3eee1b[_0x1ff6('0x14')][_0x1ff6('0x20')](_0x5e542d['markerName'])&&_0x46abc9[_0x1ff6('0x18')][_0x1ff6('0x11')]('ck-suggestion-marker--active',_0x8b54c7),_0x46abc9[_0x1ff6('0x18')][_0x1ff6('0x0')](_0x386f6d,_0x8b54c7),_0x46abc9[_0x1ff6('0x6')][_0x1ff6('0x4')](_0x8b54c7,_0x5e542d[_0x1ff6('0x10')]);}};}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/mention
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for standard editing mode feature from restricted editing package.
|
|
11
11
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6a66=['FORMAT_RESTRICTED_ENABLED','enableCommand','plugins','from','commands','editor','type','formatBlock','afterInit','forceValue','value','has','StandardEditingModeEditing','isCollapsed','locale','getRanges','selection','registerDescriptionCallback','format','restrictedEditingException','change','get','formatInline'];(function(_0x19e890,_0x6a6635){const _0xb05dfe=function(_0x131cd4){while(--_0x131cd4){_0x19e890['push'](_0x19e890['shift']());}};_0xb05dfe(++_0x6a6635);}(_0x6a66,0xd0));const _0xb05d=function(_0x19e890,_0x6a6635){_0x19e890=_0x19e890-0x0;let _0xb05dfe=_0x6a66[_0x19e890];return _0xb05dfe;};import{Plugin as _0x41124d}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x9a2048}from'./utils.js';import{getTranslation as _0x42eceb}from'../utils/common-translations.js';export default class kt extends _0x41124d{[_0xb05d('0x7')](){const _0x57eb03=this[_0xb05d('0x4')],_0x39a3d9=_0x57eb03['model'],_0x270c84=_0x57eb03[_0xb05d('0xd')];if(!_0x57eb03[_0xb05d('0x1')][_0xb05d('0xa')](_0xb05d('0xb')))return;const _0x917561=_0x57eb03[_0xb05d('0x1')]['get']('TrackChangesEditing'),_0x2de3fa=_0xb05d('0x12'),_0x4bd330=_0x57eb03[_0xb05d('0x3')][_0xb05d('0x14')](_0x2de3fa);_0x917561[_0xb05d('0x0')](_0x2de3fa,(_0x38c407,_0x440d2b={})=>{const _0x172ae0=_0x39a3d9['document'][_0xb05d('0xf')];if(_0x172ae0[_0xb05d('0xc')])return void _0x38c407(_0x440d2b);const _0x394f53=void 0x0!==_0x440d2b[_0xb05d('0x8')]?_0x440d2b[_0xb05d('0x8')]:!_0x4bd330[_0xb05d('0x9')];_0x39a3d9[_0xb05d('0x13')](()=>{const _0x3e98c7=Array[_0xb05d('0x2')](_0x172ae0[_0xb05d('0xe')]());for(const _0x43b6f3 of _0x3e98c7){const _0x1fe108=_0x394f53?[_0x43b6f3]:_0x9a2048(_0x2de3fa,_0x43b6f3,_0x39a3d9);for(const _0x45a336 of _0x1fe108)_0x917561['markInlineFormat'](_0x45a336,{'commandName':_0x2de3fa,'commandParams':[{'forceValue':_0x394f53}]});}});}),_0x917561['_descriptionFactory'][_0xb05d('0x10')](_0x50f221=>{if(_0xb05d('0x6')!=_0x50f221['type']&&_0xb05d('0x15')!=_0x50f221[_0xb05d('0x5')])return;const {data:_0x42e9b7}=_0x50f221;return _0x42e9b7&&_0x42e9b7['commandName']==_0x2de3fa?_0x42e9b7['commandParams'][0x0]['forceValue']?{'type':_0xb05d('0x11'),'content':_0x42eceb(_0x270c84,_0xb05d('0x16'))}:{'type':_0xb05d('0x11'),'content':_0x42eceb(_0x270c84,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25da=['ghsAttributes','type','_registerBlockAttribute','forceValue','DataSchema','inline','normalizeConfig','plugins','FORMAT_STYLE','add','*Remove\x20format:*\x20%0','element','registerAttributeLabel','formatBlock','locale','has','commandParams','TrackChangesEditing','StyleUtils','*Set\x20format:*\x20%0','config','registerDescriptionCallback','afterInit','style','styleName','_registerLegacyDescription','getGhsAttributeNameForElement','format','_enableDefaultAttributesIntegration','toLowerCase','GeneralHtmlSupport','get','_descriptionFactory','editor','formatInline','_registerInlineAttribute'];(function(_0x558786,_0x25da9c){const _0x59ace2=function(_0x38d073){while(--_0x38d073){_0x558786['push'](_0x558786['shift']());}};_0x59ace2(++_0x25da9c);}(_0x25da,0x1cb));const _0x59ac=function(_0x558786,_0x25da9c){_0x558786=_0x558786-0x0;let _0x59ace2=_0x25da[_0x558786];return _0x59ace2;};import{Plugin as _0x1efbb1}from'ckeditor5/src/core.js';import{getTranslation as _0x10c6aa}from'../utils/common-translations.js';export default class bt extends _0x1efbb1{[_0x59ac('0x1f')](){const _0x9e21ca=this['editor'];if(!_0x9e21ca[_0x59ac('0x10')][_0x59ac('0x18')]('Style')||!_0x9e21ca[_0x59ac('0x10')][_0x59ac('0x18')](_0x59ac('0xd')))return;const _0x1f0cfb=_0x9e21ca['plugins'][_0x59ac('0x4')](_0x59ac('0x1a')),_0x54ca47=_0x9e21ca['locale'],_0xbac13d=_0x9e21ca[_0x59ac('0x1d')][_0x59ac('0x4')](_0x59ac('0x20')),_0x21e43d=_0x9e21ca['plugins'][_0x59ac('0x4')](_0x59ac('0x3')),_0x1b229a=_0x9e21ca['plugins'][_0x59ac('0x4')](_0x59ac('0x1b'))[_0x59ac('0xf')](_0x9e21ca[_0x59ac('0x10')][_0x59ac('0x4')]('DataSchema'),_0xbac13d['definitions']);_0x1f0cfb[_0x59ac('0x1')](_0x59ac('0x20'));const _0x330325=new Set();for(const _0x93cfd7 of _0x1b229a['block']){const _0x2bdcc3=_0x21e43d[_0x59ac('0x23')](_0x93cfd7[_0x59ac('0x14')]);_0x330325[_0x59ac('0x12')](_0x2bdcc3);}const _0x334698=new Set();for(const _0x3dc91b of _0x1b229a[_0x59ac('0xe')]){const _0x4911b4=_0x21e43d['getGhsAttributeNameForElement'](_0x3dc91b[_0x59ac('0x14')]);_0x334698['add'](_0x4911b4);for(const _0x3365c5 of _0x3dc91b[_0x59ac('0x9')])_0x334698[_0x59ac('0x12')](_0x3365c5);}for(const _0x238fa9 of _0x330325)_0x1f0cfb[_0x59ac('0xb')](_0x238fa9),_0x1f0cfb[_0x59ac('0x5')][_0x59ac('0x15')](_0x238fa9,_0x10c6aa(_0x54ca47,'FORMAT_STYLE'));for(const _0x1985da of _0x334698)_0x1f0cfb[_0x59ac('0x8')](_0x1985da),_0x1f0cfb[_0x59ac('0x5')][_0x59ac('0x15')](_0x1985da,_0x10c6aa(_0x54ca47,_0x59ac('0x11')));this[_0x59ac('0x22')]();}[_0x59ac('0x22')](){const _0x4137f4=this[_0x59ac('0x6')],_0x1e1e7e=_0x4137f4[_0x59ac('0x17')];_0x4137f4[_0x59ac('0x10')][_0x59ac('0x4')](_0x59ac('0x1a'))[_0x59ac('0x5')][_0x59ac('0x1e')](_0xce3796=>{if(_0x59ac('0x16')!=_0xce3796[_0x59ac('0xa')]&&_0x59ac('0x7')!=_0xce3796[_0x59ac('0xa')])return;const {data:_0x48feb1}=_0xce3796;return _0x48feb1&&'style'===_0x48feb1['commandName']?_0x48feb1[_0x59ac('0x19')][0x0][_0x59ac('0xc')]?{'type':_0x59ac('0x0'),'content':_0x10c6aa(_0x1e1e7e,_0x59ac('0x1c'),_0x48feb1[_0x59ac('0x19')][0x0][_0x59ac('0x21')][_0x59ac('0x2')]())}:{'type':_0x59ac('0x0'),'content':_0x10c6aa(_0x1e1e7e,_0x59ac('0x13'),_0x48feb1[_0x59ac('0x19')][0x0][_0x59ac('0x21')][_0x59ac('0x2')]())}:void 0x0;});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/table
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:table/table~Table table feature}.
|
|
11
11
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3872=['fromRange','nodeBefore','isTouching','getColumnIndexes','change','TrackChangesEditing','removeTableColumn','getAttribute','includes','setSelection','type','data','span','some','differ','insertion','_suggestionFactory','options','addRange','batch','createPositionAt','getItems','markMultiRangeInsertion','min','root','$textProxy','registerDescriptionCallback','from','rowspan','getChangedMarkers','first','insert','oldRange','classes','forceValue','_getCoordsForCells','item','element','get','getSuggestion','accept','position','_descriptionFactory','TableUtils','join','editor','enableCommand','every','removeClass','max','addClass','insertTable','table','low','getContainedElement','rootName','selectTableColumn','addMarker:suggestion','_setupColumnsRowsFixing','enqueueChange','has','discard','tableColumn','highest','plugins','map','registerCustomCallback','isEqual','MIN_SAFE_INTEGER','toViewElement','_tableSuggestions','deletion','*Insert:*\x20%0','left','afterInit','ELEMENT_TABLE_COLUMN','cell','ELEMENT_TABLE_WITH_TEXT','push','ELEMENT_TABLE_COLUMN_WITH_TEXT','getRowIndexes','insertTableColumnLeft','getRanges','insertTableRowAbove','getChildren','hasAttribute','execute','downcastDispatcher','detach','_acceptFormatSuggestionCallbackFactory','maxRow','insertTableColumnRight','end','name','subType','ELEMENT_TABLE','minColumn','length','values','MAX_SAFE_INTEGER','selection','findAncestor','_splitMarkerName','tableRow','createRangeIn','$graveyard','start','add','getSelectionAffectedTableCells','*Remove:*\x20%0','ELEMENT_TABLE_ROW_WITH_TEXT','change:data','registerPostFixer','commands','substr','order','writer','minRow','suggestion','mapper','tableCell','filter','document','nodeAfter','registerElementLabel','selectTableRow','createRangeOn','tablePaste','model','createTableWalker','getCellLocation','removeTableRow','showSuggestionHighlights','toLowerCase','_getSuggestionCoords','last','ELEMENT_TABLE_ROW','startsWith','colspan'];(function(_0x38faa0,_0x387282){const _0x411b7a=function(_0x5e5b75){while(--_0x5e5b75){_0x38faa0['push'](_0x38faa0['shift']());}};_0x411b7a(++_0x387282);}(_0x3872,0x153));const _0x411b=function(_0x38faa0,_0x387282){_0x38faa0=_0x38faa0-0x0;let _0x411b7a=_0x3872[_0x38faa0];return _0x411b7a;};import{Plugin as _0x33c387}from'ckeditor5/src/core';import{LiveRange as _0x3a4bb3}from'ckeditor5/src/engine';import{setHighlightHandling as _0x17e6a1}from'ckeditor5/src/widget';import{getTranslation as _0x59542e}from'../utils/common-translations';export default class wt extends _0x33c387{constructor(_0x4da7bf){super(_0x4da7bf),this['_tablePostFixingSubtypes']=[_0x411b('0x2a'),_0x411b('0x1')],this[_0x411b('0x9')]=new Set();}[_0x411b('0xd')](){const _0x3a007f=this[_0x411b('0x7b')],_0x308396=_0x3a007f[_0x411b('0x43')]['document'][_0x411b('0x27')];if(!_0x3a007f[_0x411b('0x3')][_0x411b('0x8a')]('TableEditing'))return;const _0x52a15a=_0x3a007f['locale'],_0x2eb362=_0x3a007f[_0x411b('0x3')][_0x411b('0x74')](_0x411b('0x53')),_0x212146=_0x3a007f['plugins'][_0x411b('0x74')](_0x411b('0x79'));_0x2eb362[_0x411b('0x78')][_0x411b('0x3f')](_0x411b('0x82'),_0x48e5f1=>_0x59542e(_0x52a15a,_0x411b('0x22'),_0x48e5f1)),this[_0x411b('0x88')](),_0x2eb362[_0x411b('0x7c')](_0x411b('0x81')),_0x2eb362[_0x411b('0x7c')](_0x411b('0x40')),_0x2eb362[_0x411b('0x7c')](_0x411b('0x86'));for(const _0xc6496 of[_0x411b('0x16'),'insertTableRowBelow']){const _0x474667=_0x3a007f[_0x411b('0x34')][_0x411b('0x74')](_0xc6496);_0x2eb362[_0x411b('0x7c')](_0xc6496,_0x28c17c=>{_0x3a007f[_0x411b('0x43')][_0x411b('0x52')](_0x4e9520=>{_0x28c17c();const _0x5f5456='above'===_0x474667['order'],_0x3335e6=_0x212146[_0x411b('0x2f')](_0x308396),_0xd4d8ad=_0x212146[_0x411b('0x13')](_0x3335e6),_0x3fa050=_0x5f5456?_0xd4d8ad[_0x411b('0x6c')]-0x1:_0xd4d8ad[_0x411b('0x4a')]+0x1,_0x5caf17=_0x3335e6[0x0][_0x411b('0x28')](_0x411b('0x82')),_0x307f8b=_0x212146[_0x411b('0x44')](_0x5caf17,{'startRow':_0x3fa050,'endRow':_0x3fa050}),_0x1f3f2d=Array['from'](_0x307f8b)[_0x411b('0x4')](_0x5be1c3=>_0x4e9520[_0x411b('0x41')](_0x5be1c3[_0x411b('0xf')]));_0x2eb362[_0x411b('0x64')](_0x1f3f2d,_0x411b('0x2a'));});});}for(const _0x2f449b of[_0x411b('0x14'),_0x411b('0x1e')]){const _0x3a85cd=_0x3a007f[_0x411b('0x34')]['get'](_0x2f449b);_0x2eb362['enableCommand'](_0x2f449b,_0x45d3fa=>{_0x3a007f['model']['change'](_0xd3ef65=>{_0x45d3fa();const _0x27b9ed=_0x411b('0xc')===_0x3a85cd[_0x411b('0x36')],_0x3a8586=_0x212146['getSelectionAffectedTableCells'](_0x308396),_0x2efe9f=_0x212146[_0x411b('0x51')](_0x3a8586),_0xa3350b=_0x27b9ed?_0x2efe9f[_0x411b('0x6c')]-0x1:_0x2efe9f[_0x411b('0x4a')]+0x1,_0x39ed77=_0x3a8586[0x0][_0x411b('0x28')](_0x411b('0x82')),_0x31219c=_0x212146[_0x411b('0x44')](_0x39ed77,{'startRow':0x0,'column':_0xa3350b,'includeAllSlots':!0x1}),_0xb7fa32=Array[_0x411b('0x69')](_0x31219c)['map'](_0xd8ef0a=>_0xd3ef65['createRangeOn'](_0xd8ef0a[_0x411b('0xf')]));_0x2eb362[_0x411b('0x64')](_0xb7fa32,'tableColumn');});});}for(const _0xfa1465 of['removeTableRow',_0x411b('0x54')]){const _0x430439=_0xfa1465[_0x411b('0x35')](0xb),_0x5c9f5d=_0x430439['toLowerCase'](),_0x3d198a=_0x5c9f5d['substr'](0x0,0x3)+_0x411b('0x5a'),_0x4f1a17=_0x411b('0x82')+_0x430439,_0x16e7fa=_0x411b('0x65')+_0x430439,_0x5251ff=_0x411b('0x7f')+_0x430439;_0x2eb362[_0x411b('0x7c')](_0xfa1465,()=>{_0x3a007f[_0x411b('0x43')]['change'](_0x1154e8=>{const _0x397a95=_0x212146[_0x411b('0x2f')](_0x308396),_0x28b705=_0x397a95[0x0]['findAncestor'](_0x411b('0x82'));let _0x5aa692;if('removeTableRow'==_0xfa1465){const _0x1033c3=_0x212146[_0x411b('0x13')](_0x397a95);_0x5aa692={'startRow':_0x1033c3['first'],'endRow':_0x1033c3[_0x411b('0x4a')],'includeAllSlots':!0x0};}else{const _0x1d3851=_0x212146[_0x411b('0x51')](_0x397a95);_0x5aa692={'startColumn':_0x1d3851[_0x411b('0x6c')],'endColumn':_0x1d3851[_0x411b('0x4a')],'includeAllSlots':!0x0};}const _0x3fd4f2=_0x212146[_0x411b('0x44')](_0x28b705,_0x5aa692),_0x128884=Array[_0x411b('0x69')](_0x3fd4f2)[_0x411b('0x4')](({cell:_0x55526a})=>_0x55526a),_0x23e463=se(_0x128884[_0x411b('0x3c')](_0x5a2fb7=>_0x5a2fb7['hasAttribute'](_0x3d198a))),_0x4df232=se(_0x128884[_0x411b('0x3c')](_0x5dd21d=>!_0x5dd21d[_0x411b('0x18')](_0x3d198a)))[_0x411b('0x4')](_0x37e665=>_0x1154e8[_0x411b('0x41')](_0x37e665)),_0x4195cf=_0x2eb362['markMultiRangeDeletion'](_0x4df232,_0x4f1a17);if(_0x4195cf&&(_0x411b('0x2a')==_0x4195cf[_0x411b('0x21')]||_0x411b('0x1')==_0x4195cf[_0x411b('0x21')])){const _0x5001bf=this[_0x411b('0x49')](_0x4195cf);for(const _0x16ac50 of _0x23e463){const _0x424d1a=_0x1154e8[_0x411b('0x41')](_0x16ac50),_0x5c6219=_0x212146[_0x411b('0x45')](_0x16ac50),_0x1bd24e=_0x16ac50[_0x411b('0x55')](_0x3d198a)-0x1,_0x3cf6ef=_0x5001bf[_0x16e7fa],_0x445f58=_0x5001bf[_0x5251ff];_0x3cf6ef<=_0x5c6219[_0x5c9f5d]&&_0x5c6219[_0x5c9f5d]+_0x1bd24e<=_0x445f58&&_0x4195cf[_0x411b('0x60')](_0x424d1a);}}});});}function _0x1317f0(_0x2482b7){const _0x51d8df=Array[_0x411b('0x69')](_0x308396[_0x411b('0x15')]())[_0x411b('0x4')](_0x3393c3=>_0x3a4bb3[_0x411b('0x4e')](_0x3393c3));_0x3a007f['model'][_0x411b('0x52')](_0x515d5d=>{const _0x5e982e=_0x515d5d[_0x411b('0x61')];_0x2482b7=_0x2482b7[_0x411b('0x3c')](_0x4933c9=>_0x411b('0x2c')!=_0x4933c9[_0x411b('0x66')]['rootName']),_0x515d5d[_0x411b('0x57')](_0x2482b7),_0x3a007f[_0x411b('0x34')][_0x411b('0x74')](_0x411b('0x46'))['refresh'](),_0x3a007f[_0x411b('0x19')](_0x411b('0x46'),{'forceDefaultExecution':!0x0}),_0x3a007f['model'][_0x411b('0x89')](()=>{_0x3a007f[_0x411b('0x43')][_0x411b('0x89')](_0x5e982e,_0x12822a=>{const _0x147b65=_0x51d8df['filter'](_0x272900=>_0x411b('0x2c')!=_0x272900[_0x411b('0x66')][_0x411b('0x85')]);_0x147b65[_0x411b('0x24')]>0x0&&_0x12822a[_0x411b('0x57')](_0x147b65);for(const _0x1d26d7 of _0x51d8df)_0x1d26d7['detach']();});});});}function _0x53f93d(_0x213f7c){_0x3a007f[_0x411b('0x43')]['change'](_0x4348f2=>{const _0x3cbe6e=Array[_0x411b('0x69')](_0x308396[_0x411b('0x15')]())[_0x411b('0x4')](_0xad848=>_0x3a4bb3[_0x411b('0x4e')](_0xad848)),_0x545b18=[];for(const _0x3d5d49 of _0x213f7c)for(const _0x184110 of _0x3d5d49[_0x411b('0x63')]({'shallow':!0x0}))_0x545b18['push'](_0x184110);for(const _0x9dece9 of _0x545b18)'$graveyard'!=_0x9dece9[_0x411b('0x66')][_0x411b('0x85')]&&(_0x4348f2[_0x411b('0x57')](_0x4348f2[_0x411b('0x62')](_0x9dece9,0x0)),_0x3a007f[_0x411b('0x34')][_0x411b('0x74')](_0x411b('0x54'))['refresh'](),_0x3a007f[_0x411b('0x19')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x140462=_0x3cbe6e['filter'](_0x7bd581=>'$graveyard'!=_0x7bd581[_0x411b('0x66')][_0x411b('0x85')]);_0x140462[_0x411b('0x24')]>0x0&&_0x4348f2[_0x411b('0x57')](_0x140462);for(const _0x53785a of _0x3cbe6e)_0x53785a[_0x411b('0x1b')]();});}function _0x23a29d(_0x427887,_0x53f35b){return _0x53f35b[_0x411b('0x7d')](_0x3677e2=>_0x427887['some'](_0x59c5e7=>_0x59c5e7['end'][_0x411b('0x6')](_0x3677e2[_0x411b('0x2d')])||_0x3677e2[_0x411b('0x1f')][_0x411b('0x6')](_0x59c5e7[_0x411b('0x2d')])));}function _0x402161(_0x3345d1,_0x5ad67c){return _0x3345d1['some'](_0x44fc90=>_0x5ad67c[_0x411b('0x5b')](_0x550314=>_0x44fc90[_0x411b('0x1f')][_0x411b('0x50')](_0x550314[_0x411b('0x2d')])));}_0x3a007f[_0x411b('0x59')][_0x411b('0x1a')]['on'](_0x411b('0x87'),(_0x51a12d,_0x1b0dbc,_0x5b9f25)=>{if(!_0x5b9f25[_0x411b('0x5f')][_0x411b('0x47')])return;const _0x162959=_0x1b0dbc[_0x411b('0x72')];if(!_0x162959)return;const _0x45abaf=_0x5b9f25[_0x411b('0x3a')][_0x411b('0x8')](_0x162959);function _0x118ab7(_0x4ecc51){return Array['isArray'](_0x4ecc51)?_0x4ecc51:[_0x4ecc51];}_0x45abaf&&_0x411b('0x3b')===_0x162959[_0x411b('0x20')]&&_0x17e6a1(_0x45abaf,_0x5b9f25[_0x411b('0x37')],(_0x2f46f,_0x4cbc9a,_0x558e36)=>_0x558e36[_0x411b('0x80')](_0x118ab7(_0x4cbc9a[_0x411b('0x6f')]),_0x2f46f),(_0x4781e6,_0x5d51a7,_0x4b00a0)=>_0x4b00a0[_0x411b('0x7e')](_0x118ab7(_0x5d51a7[_0x411b('0x6f')]),_0x4781e6));},{'priority':_0x411b('0x2')}),_0x2eb362['_descriptionFactory']['registerDescriptionCallback'](_0x4598b=>{if('insertion'!=_0x4598b[_0x411b('0x58')]&&'deletion'!=_0x4598b[_0x411b('0x58')])return;const _0x58fd78=_0x4598b[_0x411b('0x84')]();if(null!=_0x58fd78&&_0x58fd78['is'](_0x411b('0x73'),_0x411b('0x82'))){if(_0x411b('0x5d')==_0x4598b[_0x411b('0x58')]){const _0x64c731=_0x4598b[_0x411b('0x63')]()['filter'](_0x241ef5=>_0x241ef5['is'](_0x411b('0x67')))[_0x411b('0x4')](_0x3347ce=>_0x3347ce[_0x411b('0x59')]);if(_0x64c731[_0x411b('0x24')])return{'type':_0x411b('0x5d'),'content':_0x59542e(_0x52a15a,_0x411b('0xb'),_0x59542e(_0x52a15a,_0x411b('0x10'),'\x22'+_0x64c731[_0x411b('0x7a')]('\x20')+'\x22'))};}if(_0x411b('0xa')==_0x4598b['type']){const _0x42a49e=_0x4598b[_0x411b('0x63')]()['filter'](_0x30ca0f=>_0x30ca0f['is']('$textProxy'))[_0x411b('0x4')](_0x5c3190=>_0x5c3190[_0x411b('0x59')]);if(_0x42a49e['length'])return{'type':_0x411b('0xa'),'content':_0x59542e(_0x52a15a,'*Remove:*\x20%0',_0x59542e(_0x52a15a,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x42a49e[_0x411b('0x7a')]('\x20')+'\x22'))};}}}),_0x2eb362[_0x411b('0x78')][_0x411b('0x68')](_0x4a912e=>{if(_0x411b('0x2a')==_0x4a912e['subType']){const _0x16b41b=_0x4a912e[_0x411b('0x63')]()[_0x411b('0x3c')](_0x4cdf7d=>_0x4cdf7d['is'](_0x411b('0x67')))['map'](_0xb7f1be=>_0xb7f1be['data']),_0x5d1e11=this[_0x411b('0x49')](_0x4a912e),_0x4e0cb5=_0x5d1e11[_0x411b('0x1d')]-_0x5d1e11[_0x411b('0x38')]+0x1;if(_0x411b('0x5d')==_0x4a912e[_0x411b('0x58')])return _0x16b41b[_0x411b('0x24')]?{'type':_0x411b('0x5d'),'content':_0x59542e(_0x52a15a,_0x411b('0xb'),_0x59542e(_0x52a15a,_0x411b('0x31'),[_0x4e0cb5,'\x22'+_0x16b41b[_0x411b('0x7a')]('\x20')+'\x22']))}:{'type':_0x411b('0x5d'),'content':_0x59542e(_0x52a15a,_0x411b('0xb'),_0x59542e(_0x52a15a,_0x411b('0x4b'),_0x4e0cb5))};if(_0x411b('0xa')==_0x4a912e['type'])return _0x16b41b['length']?{'type':_0x411b('0xa'),'content':_0x59542e(_0x52a15a,_0x411b('0x30'),_0x59542e(_0x52a15a,_0x411b('0x31'),[_0x4e0cb5,'\x22'+_0x16b41b[_0x411b('0x7a')]('\x20')+'\x22']))}:{'type':_0x411b('0xa'),'content':_0x59542e(_0x52a15a,_0x411b('0x30'),_0x59542e(_0x52a15a,'ELEMENT_TABLE_ROW',_0x4e0cb5))};}if('tableColumn'==_0x4a912e[_0x411b('0x21')]){const _0x3e1d2d=_0x4a912e[_0x411b('0x63')]()[_0x411b('0x3c')](_0x18eec6=>_0x18eec6['is'](_0x411b('0x67')))[_0x411b('0x4')](_0x3dbcd0=>_0x3dbcd0['data']),_0x37f8ae=this['_getSuggestionCoords'](_0x4a912e),_0x2f6782=_0x37f8ae['maxColumn']-_0x37f8ae[_0x411b('0x23')]+0x1;if('insertion'==_0x4a912e[_0x411b('0x58')])return _0x3e1d2d[_0x411b('0x24')]?{'type':'insertion','content':_0x59542e(_0x52a15a,_0x411b('0xb'),_0x59542e(_0x52a15a,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2f6782,'\x22'+_0x3e1d2d[_0x411b('0x7a')]('\x20')+'\x22']))}:{'type':_0x411b('0x5d'),'content':_0x59542e(_0x52a15a,_0x411b('0xb'),_0x59542e(_0x52a15a,_0x411b('0xe'),_0x2f6782))};if('deletion'==_0x4a912e[_0x411b('0x58')])return _0x3e1d2d[_0x411b('0x24')]?{'type':_0x411b('0xa'),'content':_0x59542e(_0x52a15a,'*Remove:*\x20%0',_0x59542e(_0x52a15a,_0x411b('0x12'),[_0x2f6782,'\x22'+_0x3e1d2d[_0x411b('0x7a')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x59542e(_0x52a15a,'*Remove:*\x20%0',_0x59542e(_0x52a15a,_0x411b('0xe'),_0x2f6782))};}}),_0x2eb362[_0x411b('0x5e')][_0x411b('0x5')]('insertion',_0x411b('0x2a'),_0x411b('0x0'),_0x1317f0),_0x2eb362[_0x411b('0x5e')][_0x411b('0x5')](_0x411b('0xa'),_0x411b('0x2a'),_0x411b('0x76'),_0x1317f0),_0x2eb362['_suggestionFactory'][_0x411b('0x5')](_0x411b('0x5d'),_0x411b('0x1'),'discard',_0x53f93d),_0x2eb362[_0x411b('0x5e')][_0x411b('0x5')]('deletion','tableColumn','accept',_0x53f93d),_0x2eb362['_suggestionFactory']['registerCustomCallback'](_0x411b('0x5d'),'tableColumn',_0x411b('0x7a'),_0x23a29d),_0x2eb362[_0x411b('0x5e')][_0x411b('0x5')]('deletion',_0x411b('0x1'),_0x411b('0x7a'),_0x23a29d),_0x2eb362[_0x411b('0x5e')]['registerCustomCallback'](_0x411b('0x5d'),'tableRow',_0x411b('0x7a'),_0x402161),_0x2eb362['_suggestionFactory'][_0x411b('0x5')](_0x411b('0xa'),_0x411b('0x2a'),_0x411b('0x7a'),_0x402161);}[_0x411b('0x1c')](){const _0x3c3f24=this['editor'],_0x457a56=_0x3c3f24['model'][_0x411b('0x3d')][_0x411b('0x27')];return(_0x22985e,_0x5875c6)=>{_0x3c3f24[_0x411b('0x43')][_0x411b('0x52')](_0x248cd6=>{const {commandName:_0x3a9ff2,commandParams:_0x481623}=_0x5875c6;let _0x3ab354=_0x22985e[0x0][_0x411b('0x1f')][_0x411b('0x4f')];_0x481623&&_0x481623[0x0]&&!0x1===_0x481623[0x0][_0x411b('0x70')]&&(_0x3ab354=_0x22985e[0x0][_0x411b('0x2d')][_0x411b('0x3e')]);const _0x3f9d60=_0x248cd6[_0x411b('0x2b')](_0x3ab354);if(_0x411b('0x2c')==_0x3f9d60['root'][_0x411b('0x85')])return;const _0x42c643=Array['from'](_0x457a56[_0x411b('0x15')]())['map'](_0x35c56f=>_0x3a4bb3[_0x411b('0x4e')](_0x35c56f));_0x248cd6[_0x411b('0x57')](_0x3f9d60),_0x3c3f24['commands'][_0x411b('0x74')](_0x3a9ff2)['refresh'](),_0x481623[_0x411b('0x11')]({'forceDefaultExecution':!0x0}),_0x3c3f24[_0x411b('0x19')](_0x3a9ff2,..._0x481623);const _0x3a128a=_0x42c643[_0x411b('0x3c')](_0x26d17c=>_0x411b('0x2c')!=_0x26d17c[_0x411b('0x66')]['rootName']);_0x3a128a[_0x411b('0x24')]>0x0&&_0x248cd6[_0x411b('0x57')](_0x3a128a);for(const _0x34ce66 of _0x42c643)_0x34ce66['detach']();});};}[_0x411b('0x71')](_0x43d277){const _0x548dc7=this[_0x411b('0x7b')][_0x411b('0x3')]['get'](_0x411b('0x79'));let _0x3e1a3f=Number['MAX_SAFE_INTEGER'],_0x393ad9=Number[_0x411b('0x7')],_0x1f7e13=Number[_0x411b('0x26')],_0xcb64a3=Number[_0x411b('0x7')];for(const _0x5b308d of _0x43d277){if(_0x411b('0x2c')==_0x5b308d[_0x411b('0x66')]['rootName'])continue;const {row:_0x244cda,column:_0xb7e10f}=_0x548dc7[_0x411b('0x45')](_0x5b308d),_0x2598f3=_0x5b308d[_0x411b('0x18')](_0x411b('0x6a'))?_0x5b308d[_0x411b('0x55')](_0x411b('0x6a'))-0x1:0x0,_0x538277=_0x5b308d[_0x411b('0x18')](_0x411b('0x4d'))?_0x5b308d[_0x411b('0x55')](_0x411b('0x4d'))-0x1:0x0;_0x3e1a3f=_0x244cda<_0x3e1a3f?_0x244cda:_0x3e1a3f,_0x393ad9=_0x244cda+_0x2598f3>_0x393ad9?_0x244cda+_0x2598f3:_0x393ad9,_0x1f7e13=_0xb7e10f<_0x1f7e13?_0xb7e10f:_0x1f7e13,_0xcb64a3=_0xb7e10f+_0x538277>_0xcb64a3?_0xb7e10f+_0x538277:_0xcb64a3;}return{'minRow':_0x3e1a3f,'maxRow':_0x393ad9,'minColumn':_0x1f7e13,'maxColumn':_0xcb64a3};}[_0x411b('0x88')](){const _0x3175f3=this[_0x411b('0x7b')],_0x2aec24=_0x3175f3['plugins'][_0x411b('0x74')](_0x411b('0x53')),_0xe1d2ab=_0x3175f3[_0x411b('0x3')][_0x411b('0x74')](_0x411b('0x79'));_0x3175f3[_0x411b('0x43')][_0x411b('0x3d')]['on'](_0x411b('0x32'),()=>{const _0x54741f=Array[_0x411b('0x69')](_0x3175f3[_0x411b('0x43')][_0x411b('0x3d')][_0x411b('0x5c')][_0x411b('0x6b')]());for(const {name:_0x3789da,data:_0x342841}of _0x54741f){const {group:_0x56d6b3,id:_0x27d0f6,subType:_0x30831a}=_0x2aec24[_0x411b('0x29')](_0x3789da);if(_0x411b('0x39')!=_0x56d6b3)continue;if(null!=_0x342841[_0x411b('0x6e')])continue;const _0x2560aa=_0x2aec24[_0x411b('0x75')](_0x27d0f6);this['_tablePostFixingSubtypes'][_0x411b('0x56')](_0x30831a)&&this[_0x411b('0x9')][_0x411b('0x2e')](_0x2560aa);}},{'priority':_0x411b('0x83')});const _0x357657=(_0x284e82,_0x244ae5)=>{let _0xd846d7=!0x1;const _0x23bfc6=_0x244ae5[_0x411b('0x41')](_0x284e82),_0x42a665=_0x284e82['findAncestor']('table'),_0x11d0d0=_0xe1d2ab[_0x411b('0x45')](_0x284e82);for(const _0x353c45 of this[_0x411b('0x9')]){const _0xd7b73c=_0x353c45[_0x411b('0x21')],_0x42b6b6=_0xd7b73c[_0x411b('0x4c')](_0x411b('0x42')),_0x558c64=_0xd7b73c[_0x411b('0x35')](_0x42b6b6?0xa:0x5),_0x5c36a8=_0x558c64[_0x411b('0x48')](),_0x346280=_0x5c36a8[_0x411b('0x35')](0x0,0x3)+_0x411b('0x5a'),_0x28f358=_0x411b('0x65')+_0x558c64,_0x4d5777=_0x411b('0x7f')+_0x558c64;if(!_0x353c45['isInContent'])continue;if(_0x42a665!=_0x353c45['getFirstRange']()['start'][_0x411b('0x28')]('table'))continue;if(_0x353c45['isIntersectingWithRange'](_0x23bfc6))continue;const _0x22b3a8=_0x284e82[_0x411b('0x18')](_0x346280)?_0x284e82[_0x411b('0x55')](_0x346280)-0x1:0x0,_0x12a61b=this[_0x411b('0x49')](_0x353c45),_0x4f7c74=_0x12a61b[_0x28f358],_0x3dbdaf=_0x12a61b[_0x4d5777];_0x4f7c74<=_0x11d0d0[_0x5c36a8]&&_0x11d0d0[_0x5c36a8]+_0x22b3a8<=_0x3dbdaf&&(_0x353c45[_0x411b('0x60')](_0x23bfc6),_0xd846d7=!0x0);}return _0xd846d7;};_0x3175f3['model'][_0x411b('0x3d')][_0x411b('0x33')](_0x15dd9b=>{let _0x629c6e=!0x1;for(const _0xe80096 of _0x3175f3[_0x411b('0x43')][_0x411b('0x3d')][_0x411b('0x5c')]['getChanges']())if(_0x411b('0x6d')==_0xe80096[_0x411b('0x58')]){if('tableRow'==_0xe80096[_0x411b('0x20')])for(const _0x25558f of _0xe80096[_0x411b('0x77')][_0x411b('0x3e')][_0x411b('0x17')]())_0x629c6e=_0x629c6e||_0x357657(_0x25558f,_0x15dd9b);else _0x411b('0x3b')==_0xe80096[_0x411b('0x20')]&&(_0x629c6e=_0x629c6e||_0x357657(_0xe80096[_0x411b('0x77')][_0x411b('0x3e')],_0x15dd9b));}return _0x629c6e;});}[_0x411b('0x49')](_0x479184){return this['_getCoordsForCells'](_0x479184[_0x411b('0x15')]()[_0x411b('0x4')](_0x2b9e78=>_0x2b9e78[_0x411b('0x2d')][_0x411b('0x3e')]));}}function se(_0x4fce70){return Array[_0x411b('0x69')](new Set(_0x4fce70)[_0x411b('0x25')]());}
|
|
23
|
+
const _0x564c=['commands','ELEMENT_TABLE_COLUMN_WITH_TEXT','execute','isInContent','setSelection','_splitMarkerName','start','plugins','detach','add','getAttribute','editor','ELEMENT_TABLE_WITH_TEXT','getRanges','TableUtils','document','tableColumn','_getCoordsForCells','deletion','registerElementLabel','addRange','_getSuggestionCoords','length','insertTableColumnRight','discard','TrackChangesEditing','ELEMENT_TABLE','push','hasAttribute','getRowIndexes','insertTable','registerPostFixer','tableRow','getChildren','max','substr','filter','change:data','_acceptFormatSuggestionCallbackFactory','_tableSuggestions','rowspan','toLowerCase','classes','*Remove:*\x20%0','createRangeIn','registerDescriptionCallback','createTableWalker','getSuggestion','isEqual','name','selection','nodeAfter','values','getSelectionAffectedTableCells','root','_suggestionFactory','from','batch','insertion','tableCell','every','get','getColumnIndexes','type','locale','$graveyard','_descriptionFactory','low','insertTableRowBelow','end','has','change','highest','subType','getChangedMarkers','span','ELEMENT_TABLE_ROW','selectTableColumn','position','addClass','element','ELEMENT_TABLE_ROW_WITH_TEXT','some','removeTableRow','removeTableColumn','TableEditing','MAX_SAFE_INTEGER','model','options','isArray','enableCommand','accept','first','includes','getCellLocation','above','fromRange','differ','_tablePostFixingSubtypes','enqueueChange','min','createPositionAt','colspan','registerCustomCallback','$textProxy','downcastDispatcher','join','cell','data','_setupColumnsRowsFixing','createRangeOn','map','forceValue','isTouching','MIN_SAFE_INTEGER','*Insert:*\x20%0','minRow','last','item','showSuggestionHighlights','ELEMENT_TABLE_COLUMN','getItems','rootName','refresh','table','order','maxRow','maxColumn','findAncestor'];(function(_0x401d85,_0x564cfd){const _0x371aa1=function(_0x3e1e41){while(--_0x3e1e41){_0x401d85['push'](_0x401d85['shift']());}};_0x371aa1(++_0x564cfd);}(_0x564c,0x171));const _0x371a=function(_0x401d85,_0x564cfd){_0x401d85=_0x401d85-0x0;let _0x371aa1=_0x564c[_0x401d85];return _0x371aa1;};import{Plugin as _0x4568ec}from'ckeditor5/src/core.js';import{LiveRange as _0x40b596}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x46215}from'ckeditor5/src/widget.js';import{getTranslation as _0x484c62}from'../utils/common-translations.js';export default class wt extends _0x4568ec{constructor(_0x20427c){super(_0x20427c),this[_0x371a('0x74')]=[_0x371a('0x32'),_0x371a('0x22')],this[_0x371a('0x39')]=new Set();}['afterInit'](){const _0x4b7609=this[_0x371a('0x1d')],_0x57b167=_0x4b7609['model'][_0x371a('0x21')][_0x371a('0x44')];if(!_0x4b7609[_0x371a('0x19')][_0x371a('0x58')](_0x371a('0x67')))return;const _0xf39b10=_0x4b7609[_0x371a('0x52')],_0xf0765=_0x4b7609[_0x371a('0x19')][_0x371a('0x4f')](_0x371a('0x2b')),_0x532bf8=_0x4b7609['plugins']['get'](_0x371a('0x20'));_0xf0765['_descriptionFactory'][_0x371a('0x25')]('table',_0x4d79a6=>_0x484c62(_0xf39b10,_0x371a('0x2c'),_0x4d79a6)),this['_setupColumnsRowsFixing'](),_0xf0765[_0x371a('0x6c')](_0x371a('0x30')),_0xf0765[_0x371a('0x6c')]('selectTableRow'),_0xf0765[_0x371a('0x6c')](_0x371a('0x5f'));for(const _0x1c6de4 of['insertTableRowAbove',_0x371a('0x56')]){const _0x59b886=_0x4b7609[_0x371a('0x12')][_0x371a('0x4f')](_0x1c6de4);_0xf0765[_0x371a('0x6c')](_0x1c6de4,_0x376f51=>{_0x4b7609['model']['change'](_0x4c7a7d=>{_0x376f51();const _0x5ec7d6=_0x371a('0x71')===_0x59b886[_0x371a('0xe')],_0x2a180d=_0x532bf8['getSelectionAffectedTableCells'](_0x57b167),_0x370321=_0x532bf8[_0x371a('0x2f')](_0x2a180d),_0xfb229d=_0x5ec7d6?_0x370321[_0x371a('0x6e')]-0x1:_0x370321[_0x371a('0x6')]+0x1,_0x131a39=_0x2a180d[0x0]['findAncestor'](_0x371a('0xd')),_0x2cbaa9=_0x532bf8[_0x371a('0x40')](_0x131a39,{'startRow':_0xfb229d,'endRow':_0xfb229d}),_0x36c533=Array[_0x371a('0x4a')](_0x2cbaa9)['map'](_0x273ed7=>_0x4c7a7d[_0x371a('0x80')](_0x273ed7[_0x371a('0x7d')]));_0xf0765['markMultiRangeInsertion'](_0x36c533,_0x371a('0x32'));});});}for(const _0x4e62ff of['insertTableColumnLeft',_0x371a('0x29')]){const _0x5c2791=_0x4b7609[_0x371a('0x12')][_0x371a('0x4f')](_0x4e62ff);_0xf0765['enableCommand'](_0x4e62ff,_0x290141=>{_0x4b7609[_0x371a('0x69')]['change'](_0x7e115b=>{_0x290141();const _0x4ccd13='left'===_0x5c2791['order'],_0x4fcff0=_0x532bf8['getSelectionAffectedTableCells'](_0x57b167),_0x1fa00d=_0x532bf8[_0x371a('0x50')](_0x4fcff0),_0x1f4630=_0x4ccd13?_0x1fa00d[_0x371a('0x6e')]-0x1:_0x1fa00d[_0x371a('0x6')]+0x1,_0x41bf26=_0x4fcff0[0x0][_0x371a('0x11')](_0x371a('0xd')),_0x572a0e=_0x532bf8[_0x371a('0x40')](_0x41bf26,{'startRow':0x0,'column':_0x1f4630,'includeAllSlots':!0x1}),_0x2f31e2=Array[_0x371a('0x4a')](_0x572a0e)[_0x371a('0x0')](_0x22cd11=>_0x7e115b[_0x371a('0x80')](_0x22cd11[_0x371a('0x7d')]));_0xf0765['markMultiRangeInsertion'](_0x2f31e2,'tableColumn');});});}for(const _0x9bf007 of[_0x371a('0x65'),_0x371a('0x66')]){const _0xfe7886=_0x9bf007[_0x371a('0x35')](0xb),_0x3190d7=_0xfe7886[_0x371a('0x3b')](),_0x3990fd=_0x3190d7[_0x371a('0x35')](0x0,0x3)+_0x371a('0x5d'),_0x4a0dfa=_0x371a('0xd')+_0xfe7886,_0x117d28=_0x371a('0x76')+_0xfe7886,_0x1f6057='max'+_0xfe7886;_0xf0765['enableCommand'](_0x9bf007,()=>{_0x4b7609[_0x371a('0x69')]['change'](_0x145aa4=>{const _0x17bd43=_0x532bf8[_0x371a('0x47')](_0x57b167),_0x5a4982=_0x17bd43[0x0][_0x371a('0x11')](_0x371a('0xd'));let _0xe6bf60;if(_0x371a('0x65')==_0x9bf007){const _0x9b270a=_0x532bf8[_0x371a('0x2f')](_0x17bd43);_0xe6bf60={'startRow':_0x9b270a[_0x371a('0x6e')],'endRow':_0x9b270a[_0x371a('0x6')],'includeAllSlots':!0x0};}else{const _0x154075=_0x532bf8[_0x371a('0x50')](_0x17bd43);_0xe6bf60={'startColumn':_0x154075[_0x371a('0x6e')],'endColumn':_0x154075['last'],'includeAllSlots':!0x0};}const _0x277af9=_0x532bf8[_0x371a('0x40')](_0x5a4982,_0xe6bf60),_0x4c2a43=Array[_0x371a('0x4a')](_0x277af9)['map'](({cell:_0x50b7d2})=>_0x50b7d2),_0x45aec7=ie(_0x4c2a43['filter'](_0x24a20f=>_0x24a20f[_0x371a('0x2e')](_0x3990fd))),_0x4d1f9a=ie(_0x4c2a43['filter'](_0x59d61e=>!_0x59d61e[_0x371a('0x2e')](_0x3990fd)))[_0x371a('0x0')](_0x1e176f=>_0x145aa4[_0x371a('0x80')](_0x1e176f)),_0xe3e18a=_0xf0765['markMultiRangeDeletion'](_0x4d1f9a,_0x4a0dfa);if(_0xe3e18a&&(_0x371a('0x32')==_0xe3e18a[_0x371a('0x5b')]||'tableColumn'==_0xe3e18a[_0x371a('0x5b')])){const _0x18421=this['_getSuggestionCoords'](_0xe3e18a);for(const _0x22782a of _0x45aec7){const _0x21b674=_0x145aa4['createRangeOn'](_0x22782a),_0x201219=_0x532bf8['getCellLocation'](_0x22782a),_0x5c6472=_0x22782a['getAttribute'](_0x3990fd)-0x1,_0x47a612=_0x18421[_0x117d28],_0x2b55e3=_0x18421[_0x1f6057];_0x47a612<=_0x201219[_0x3190d7]&&_0x201219[_0x3190d7]+_0x5c6472<=_0x2b55e3&&_0xe3e18a[_0x371a('0x26')](_0x21b674);}}});});}function _0x538b05(_0x57b689){const _0x5a8701=Array['from'](_0x57b167['getRanges']())[_0x371a('0x0')](_0x5b00f8=>_0x40b596[_0x371a('0x72')](_0x5b00f8));_0x4b7609[_0x371a('0x69')]['change'](_0x35b670=>{const _0x3b452d=_0x35b670[_0x371a('0x4b')];_0x57b689=_0x57b689[_0x371a('0x36')](_0x519057=>_0x371a('0x53')!=_0x519057[_0x371a('0x48')][_0x371a('0xb')]),_0x35b670['setSelection'](_0x57b689),_0x4b7609[_0x371a('0x12')][_0x371a('0x4f')]('removeTableRow')['refresh'](),_0x4b7609[_0x371a('0x14')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x4b7609['model'][_0x371a('0x75')](()=>{_0x4b7609['model'][_0x371a('0x75')](_0x3b452d,_0x5cc786=>{const _0x548f8b=_0x5a8701[_0x371a('0x36')](_0x4ff0e1=>_0x371a('0x53')!=_0x4ff0e1[_0x371a('0x48')][_0x371a('0xb')]);_0x548f8b[_0x371a('0x28')]>0x0&&_0x5cc786[_0x371a('0x16')](_0x548f8b);for(const _0x259503 of _0x5a8701)_0x259503['detach']();});});});}function _0x16a8c6(_0x61010a){_0x4b7609[_0x371a('0x69')][_0x371a('0x59')](_0xc9445f=>{const _0x5d95fc=Array[_0x371a('0x4a')](_0x57b167[_0x371a('0x1f')]())[_0x371a('0x0')](_0x41ac34=>_0x40b596['fromRange'](_0x41ac34)),_0x4794c2=[];for(const _0x5708c7 of _0x61010a)for(const _0x1e368a of _0x5708c7['getItems']({'shallow':!0x0}))_0x4794c2[_0x371a('0x2d')](_0x1e368a);for(const _0x435863 of _0x4794c2)'$graveyard'!=_0x435863[_0x371a('0x48')][_0x371a('0xb')]&&(_0xc9445f[_0x371a('0x16')](_0xc9445f[_0x371a('0x77')](_0x435863,0x0)),_0x4b7609['commands']['get'](_0x371a('0x66'))[_0x371a('0xc')](),_0x4b7609['execute'](_0x371a('0x66'),{'forceDefaultExecution':!0x0}));const _0x1a8c3d=_0x5d95fc[_0x371a('0x36')](_0x5eca5c=>'$graveyard'!=_0x5eca5c['root'][_0x371a('0xb')]);_0x1a8c3d[_0x371a('0x28')]>0x0&&_0xc9445f[_0x371a('0x16')](_0x1a8c3d);for(const _0x3496f6 of _0x5d95fc)_0x3496f6['detach']();});}function _0x5adfc7(_0x3ed98c,_0x47497d){return _0x47497d[_0x371a('0x4e')](_0x52b3a2=>_0x3ed98c[_0x371a('0x64')](_0x436e57=>_0x436e57['end']['isEqual'](_0x52b3a2[_0x371a('0x18')])||_0x52b3a2[_0x371a('0x57')][_0x371a('0x42')](_0x436e57[_0x371a('0x18')])));}function _0x492077(_0x36c525,_0x13abcb){return _0x36c525[_0x371a('0x64')](_0x257599=>_0x13abcb[_0x371a('0x64')](_0x5beb8a=>_0x257599[_0x371a('0x57')][_0x371a('0x2')](_0x5beb8a['start'])));}_0x4b7609[_0x371a('0x7e')][_0x371a('0x7b')]['on']('addMarker:suggestion',(_0x3bf51a,_0xd1c50b,_0x3747a6)=>{if(!_0x3747a6[_0x371a('0x6a')][_0x371a('0x8')])return;const _0x40a7ab=_0xd1c50b[_0x371a('0x7')];if(!_0x40a7ab)return;const _0x606041=_0x3747a6['mapper']['toViewElement'](_0x40a7ab);function _0x3163be(_0x52ab08){return Array[_0x371a('0x6b')](_0x52ab08)?_0x52ab08:[_0x52ab08];}_0x606041&&'tableCell'===_0x40a7ab['name']&&_0x46215(_0x606041,_0x3747a6['writer'],(_0xbe0f60,_0x342438,_0x2d5480)=>_0x2d5480[_0x371a('0x61')](_0x3163be(_0x342438[_0x371a('0x3c')]),_0xbe0f60),(_0x131e37,_0x27dfdf,_0x587706)=>_0x587706['removeClass'](_0x3163be(_0x27dfdf[_0x371a('0x3c')]),_0x131e37));},{'priority':_0x371a('0x5a')}),_0xf0765[_0x371a('0x54')][_0x371a('0x3f')](_0x481579=>{if(_0x371a('0x4c')!=_0x481579[_0x371a('0x51')]&&'deletion'!=_0x481579['type'])return;const _0x495e8e=_0x481579['getContainedElement']();if(null!=_0x495e8e&&_0x495e8e['is'](_0x371a('0x62'),'table')){if(_0x371a('0x4c')==_0x481579[_0x371a('0x51')]){const _0x708993=_0x481579[_0x371a('0xa')]()['filter'](_0x5e103d=>_0x5e103d['is'](_0x371a('0x7a')))[_0x371a('0x0')](_0x54c97e=>_0x54c97e[_0x371a('0x7e')]);if(_0x708993['length'])return{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,'*Insert:*\x20%0',_0x484c62(_0xf39b10,_0x371a('0x1e'),'\x22'+_0x708993[_0x371a('0x7c')]('\x20')+'\x22'))};}if(_0x371a('0x24')==_0x481579[_0x371a('0x51')]){const _0x1f57c0=_0x481579['getItems']()['filter'](_0x546ceb=>_0x546ceb['is'](_0x371a('0x7a')))[_0x371a('0x0')](_0x703112=>_0x703112[_0x371a('0x7e')]);if(_0x1f57c0[_0x371a('0x28')])return{'type':'deletion','content':_0x484c62(_0xf39b10,'*Remove:*\x20%0',_0x484c62(_0xf39b10,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1f57c0[_0x371a('0x7c')]('\x20')+'\x22'))};}}}),_0xf0765[_0x371a('0x54')][_0x371a('0x3f')](_0x5b3cb5=>{if(_0x371a('0x32')==_0x5b3cb5['subType']){const _0xaa29fa=_0x5b3cb5['getItems']()[_0x371a('0x36')](_0x3deefc=>_0x3deefc['is']('$textProxy'))['map'](_0x5107aa=>_0x5107aa[_0x371a('0x7e')]),_0x12c28b=this[_0x371a('0x27')](_0x5b3cb5),_0x1c6b84=_0x12c28b[_0x371a('0xf')]-_0x12c28b[_0x371a('0x5')]+0x1;if(_0x371a('0x4c')==_0x5b3cb5[_0x371a('0x51')])return _0xaa29fa[_0x371a('0x28')]?{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,_0x371a('0x4'),_0x484c62(_0xf39b10,_0x371a('0x63'),[_0x1c6b84,'\x22'+_0xaa29fa[_0x371a('0x7c')]('\x20')+'\x22']))}:{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,_0x371a('0x4'),_0x484c62(_0xf39b10,_0x371a('0x5e'),_0x1c6b84))};if(_0x371a('0x24')==_0x5b3cb5[_0x371a('0x51')])return _0xaa29fa['length']?{'type':'deletion','content':_0x484c62(_0xf39b10,_0x371a('0x3d'),_0x484c62(_0xf39b10,_0x371a('0x63'),[_0x1c6b84,'\x22'+_0xaa29fa['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x484c62(_0xf39b10,_0x371a('0x3d'),_0x484c62(_0xf39b10,_0x371a('0x5e'),_0x1c6b84))};}if(_0x371a('0x22')==_0x5b3cb5[_0x371a('0x5b')]){const _0x2c6954=_0x5b3cb5[_0x371a('0xa')]()[_0x371a('0x36')](_0x2c4d66=>_0x2c4d66['is'](_0x371a('0x7a')))[_0x371a('0x0')](_0x54cb8e=>_0x54cb8e[_0x371a('0x7e')]),_0xf318e9=this[_0x371a('0x27')](_0x5b3cb5),_0x3acae1=_0xf318e9[_0x371a('0x10')]-_0xf318e9['minColumn']+0x1;if(_0x371a('0x4c')==_0x5b3cb5[_0x371a('0x51')])return _0x2c6954[_0x371a('0x28')]?{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,_0x371a('0x4'),_0x484c62(_0xf39b10,_0x371a('0x13'),[_0x3acae1,'\x22'+_0x2c6954[_0x371a('0x7c')]('\x20')+'\x22']))}:{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,'*Insert:*\x20%0',_0x484c62(_0xf39b10,'ELEMENT_TABLE_COLUMN',_0x3acae1))};if(_0x371a('0x24')==_0x5b3cb5[_0x371a('0x51')])return _0x2c6954[_0x371a('0x28')]?{'type':_0x371a('0x24'),'content':_0x484c62(_0xf39b10,'*Remove:*\x20%0',_0x484c62(_0xf39b10,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3acae1,'\x22'+_0x2c6954['join']('\x20')+'\x22']))}:{'type':_0x371a('0x24'),'content':_0x484c62(_0xf39b10,'*Remove:*\x20%0',_0x484c62(_0xf39b10,_0x371a('0x9'),_0x3acae1))};}}),_0xf0765[_0x371a('0x49')]['registerCustomCallback'](_0x371a('0x4c'),_0x371a('0x32'),_0x371a('0x2a'),_0x538b05),_0xf0765[_0x371a('0x49')][_0x371a('0x79')]('deletion',_0x371a('0x32'),_0x371a('0x6d'),_0x538b05),_0xf0765[_0x371a('0x49')]['registerCustomCallback'](_0x371a('0x4c'),_0x371a('0x22'),_0x371a('0x2a'),_0x16a8c6),_0xf0765[_0x371a('0x49')][_0x371a('0x79')]('deletion',_0x371a('0x22'),_0x371a('0x6d'),_0x16a8c6),_0xf0765[_0x371a('0x49')]['registerCustomCallback'](_0x371a('0x4c'),_0x371a('0x22'),_0x371a('0x7c'),_0x5adfc7),_0xf0765[_0x371a('0x49')][_0x371a('0x79')]('deletion',_0x371a('0x22'),_0x371a('0x7c'),_0x5adfc7),_0xf0765[_0x371a('0x49')][_0x371a('0x79')](_0x371a('0x4c'),'tableRow',_0x371a('0x7c'),_0x492077),_0xf0765['_suggestionFactory'][_0x371a('0x79')](_0x371a('0x24'),_0x371a('0x32'),_0x371a('0x7c'),_0x492077);}[_0x371a('0x38')](){const _0x227b20=this[_0x371a('0x1d')],_0x5a7803=_0x227b20[_0x371a('0x69')]['document'][_0x371a('0x44')];return(_0x1bd689,_0x5e8665)=>{_0x227b20[_0x371a('0x69')][_0x371a('0x59')](_0x453ec6=>{const {commandName:_0x35fe8a,commandParams:_0x57c643}=_0x5e8665;let _0x1be876=_0x1bd689[0x0]['end']['nodeBefore'];_0x57c643&&_0x57c643[0x0]&&!0x1===_0x57c643[0x0][_0x371a('0x1')]&&(_0x1be876=_0x1bd689[0x0][_0x371a('0x18')][_0x371a('0x45')]);const _0x3ee0e3=_0x453ec6[_0x371a('0x3e')](_0x1be876);if(_0x371a('0x53')==_0x3ee0e3['root'][_0x371a('0xb')])return;const _0x566d9a=Array[_0x371a('0x4a')](_0x5a7803[_0x371a('0x1f')]())[_0x371a('0x0')](_0x24c3cd=>_0x40b596[_0x371a('0x72')](_0x24c3cd));_0x453ec6['setSelection'](_0x3ee0e3),_0x227b20['commands'][_0x371a('0x4f')](_0x35fe8a)['refresh'](),_0x57c643[_0x371a('0x2d')]({'forceDefaultExecution':!0x0}),_0x227b20[_0x371a('0x14')](_0x35fe8a,..._0x57c643);const _0x1da938=_0x566d9a[_0x371a('0x36')](_0x487cc5=>'$graveyard'!=_0x487cc5['root']['rootName']);_0x1da938['length']>0x0&&_0x453ec6[_0x371a('0x16')](_0x1da938);for(const _0x54e449 of _0x566d9a)_0x54e449[_0x371a('0x1a')]();});};}[_0x371a('0x23')](_0x3a9c32){const _0x17ccd0=this[_0x371a('0x1d')][_0x371a('0x19')]['get'](_0x371a('0x20'));let _0x4da919=Number['MAX_SAFE_INTEGER'],_0x7b9b34=Number[_0x371a('0x3')],_0x5a9665=Number[_0x371a('0x68')],_0x24c22c=Number['MIN_SAFE_INTEGER'];for(const _0x40b9dd of _0x3a9c32){if('$graveyard'==_0x40b9dd[_0x371a('0x48')][_0x371a('0xb')])continue;const {row:_0x527d71,column:_0x49866e}=_0x17ccd0[_0x371a('0x70')](_0x40b9dd),_0x24f914=_0x40b9dd[_0x371a('0x2e')](_0x371a('0x3a'))?_0x40b9dd[_0x371a('0x1c')](_0x371a('0x3a'))-0x1:0x0,_0x1157f8=_0x40b9dd[_0x371a('0x2e')](_0x371a('0x78'))?_0x40b9dd['getAttribute'](_0x371a('0x78'))-0x1:0x0;_0x4da919=_0x527d71<_0x4da919?_0x527d71:_0x4da919,_0x7b9b34=_0x527d71+_0x24f914>_0x7b9b34?_0x527d71+_0x24f914:_0x7b9b34,_0x5a9665=_0x49866e<_0x5a9665?_0x49866e:_0x5a9665,_0x24c22c=_0x49866e+_0x1157f8>_0x24c22c?_0x49866e+_0x1157f8:_0x24c22c;}return{'minRow':_0x4da919,'maxRow':_0x7b9b34,'minColumn':_0x5a9665,'maxColumn':_0x24c22c};}[_0x371a('0x7f')](){const _0x66ffad=this['editor'],_0x4144ec=_0x66ffad[_0x371a('0x19')][_0x371a('0x4f')](_0x371a('0x2b')),_0xc5aed0=_0x66ffad[_0x371a('0x19')][_0x371a('0x4f')](_0x371a('0x20'));_0x66ffad[_0x371a('0x69')][_0x371a('0x21')]['on'](_0x371a('0x37'),()=>{const _0x23854c=Array[_0x371a('0x4a')](_0x66ffad[_0x371a('0x69')][_0x371a('0x21')][_0x371a('0x73')][_0x371a('0x5c')]());for(const {name:_0xccc6d5,data:_0x229056}of _0x23854c){const {group:_0x5f1031,id:_0x746fae,subType:_0x5b526a}=_0x4144ec[_0x371a('0x17')](_0xccc6d5);if('suggestion'!=_0x5f1031)continue;if(null!=_0x229056['oldRange'])continue;const _0x813cfa=_0x4144ec[_0x371a('0x41')](_0x746fae);this[_0x371a('0x74')][_0x371a('0x6f')](_0x5b526a)&&this['_tableSuggestions'][_0x371a('0x1b')](_0x813cfa);}},{'priority':_0x371a('0x55')});const _0x146f42=(_0x1c9af5,_0xc546e)=>{let _0x403425=!0x1;const _0x8cd3be=_0xc546e['createRangeOn'](_0x1c9af5),_0x1c7b6a=_0x1c9af5['findAncestor']('table'),_0x210ca1=_0xc5aed0[_0x371a('0x70')](_0x1c9af5);for(const _0x4a8dbd of this[_0x371a('0x39')]){const _0xbbbef7=_0x4a8dbd[_0x371a('0x5b')],_0x51436d=_0xbbbef7['startsWith']('tablePaste'),_0x570963=_0xbbbef7[_0x371a('0x35')](_0x51436d?0xa:0x5),_0x44f2a2=_0x570963[_0x371a('0x3b')](),_0x24aead=_0x44f2a2[_0x371a('0x35')](0x0,0x3)+_0x371a('0x5d'),_0x568c5f=_0x371a('0x76')+_0x570963,_0x5b68d3=_0x371a('0x34')+_0x570963;if(!_0x4a8dbd[_0x371a('0x15')])continue;if(_0x1c7b6a!=_0x4a8dbd['getFirstRange']()[_0x371a('0x18')]['findAncestor'](_0x371a('0xd')))continue;if(_0x4a8dbd['isIntersectingWithRange'](_0x8cd3be))continue;const _0x389030=_0x1c9af5['hasAttribute'](_0x24aead)?_0x1c9af5[_0x371a('0x1c')](_0x24aead)-0x1:0x0,_0xa189e8=this[_0x371a('0x27')](_0x4a8dbd),_0x42c88a=_0xa189e8[_0x568c5f],_0x57fb86=_0xa189e8[_0x5b68d3];_0x42c88a<=_0x210ca1[_0x44f2a2]&&_0x210ca1[_0x44f2a2]+_0x389030<=_0x57fb86&&(_0x4a8dbd[_0x371a('0x26')](_0x8cd3be),_0x403425=!0x0);}return _0x403425;};_0x66ffad[_0x371a('0x69')][_0x371a('0x21')][_0x371a('0x31')](_0x3228ec=>{let _0x22363e=!0x1;for(const _0x322719 of _0x66ffad[_0x371a('0x69')][_0x371a('0x21')][_0x371a('0x73')]['getChanges']())if('insert'==_0x322719[_0x371a('0x51')]){if(_0x371a('0x32')==_0x322719[_0x371a('0x43')])for(const _0x26ad3a of _0x322719[_0x371a('0x60')][_0x371a('0x45')][_0x371a('0x33')]())_0x22363e=_0x22363e||_0x146f42(_0x26ad3a,_0x3228ec);else _0x371a('0x4d')==_0x322719[_0x371a('0x43')]&&(_0x22363e=_0x22363e||_0x146f42(_0x322719[_0x371a('0x60')]['nodeAfter'],_0x3228ec));}return _0x22363e;});}[_0x371a('0x27')](_0xabc452){return this[_0x371a('0x23')](_0xabc452[_0x371a('0x1f')]()['map'](_0x5d0d3f=>_0x5d0d3f['start']['nodeAfter']));}}function ie(_0x5eb147){return Array[_0x371a('0x4a')](new Set(_0x5eb147)[_0x371a('0x46')]());}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/tablecaption
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import TrackChangesTable from './table';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TrackChangesTable from './table.js';
|
|
10
10
|
/**
|
|
11
11
|
* Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
|
|
12
12
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe43b=['get','enableCommand','requires','plugins','has','TrackChangesEditing'];(function(_0x14bf54,_0xe43b0b){const _0xd89353=function(_0xb0c4a){while(--_0xb0c4a){_0x14bf54['push'](_0x14bf54['shift']());}};_0xd89353(++_0xe43b0b);}(_0xe43b,0x69));const _0xd893=function(_0x14bf54,_0xe43b0b){_0x14bf54=_0x14bf54-0x0;let _0xd89353=_0xe43b[_0x14bf54];return _0xd89353;};import{Plugin as _0x2bef06}from'ckeditor5/src/core.js';import _0x41b489 from'./table.js';export default class Dt extends _0x2bef06{static get[_0xd893('0x5')](){return[_0x41b489];}['afterInit'](){const _0x2cb6c9=this['editor'];if(!_0x2cb6c9[_0xd893('0x0')][_0xd893('0x1')]('TableCaptionEditing'))return;_0x2cb6c9[_0xd893('0x0')][_0xd893('0x3')](_0xd893('0x2'))[_0xd893('0x4')]('toggleTableCaption');}}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
-
import TrackChangesTable from './table';
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
import TrackChangesTable from './table.js';
|
|
7
7
|
/**
|
|
8
8
|
* Provides track changes plugin integration for {@link module:table/tableclipboard~TableClipboard table clipboard feature}.
|
|
9
9
|
*/
|