@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230725.1 → 0.0.0-nightly-20230726.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/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230726.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230726.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230726.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x101f=['canEditAt','track-changes-accept-suggestion-not-found','TrackChangesEditing','_suggestions','editor','refresh','isEnabled','plugins','model'];(function(_0x312f35,_0x101fab){const _0x13e553=function(_0x18f695){while(--_0x18f695){_0x312f35['push'](_0x312f35['shift']());}};_0x13e553(++_0x101fab);}(_0x101f,0x132));const _0x13e5=function(_0x312f35,_0x101fab){_0x312f35=_0x312f35-0x0;let _0x13e553=_0x101f[_0x312f35];return _0x13e553;};import{Command as _0x459849}from'ckeditor5/src/core';import{CKEditorError as _0x229bab}from'ckeditor5/src/utils';export default class M extends _0x459849{constructor(_0x4aaaa7,_0x136529){super(_0x4aaaa7),this[_0x13e5('0x3')]=_0x136529,this[_0x13e5('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x13e5('0x5')](){this[_0x13e5('0x6')]=!0x0;}['execute'](_0x503497){const _0x1bebef=this[_0x13e5('0x3')]['get'](_0x503497);if(!_0x1bebef)throw new _0x229bab(_0x13e5('0x1'),this);const _0x37e1c5=_0x1bebef['getRanges']();this[_0x13e5('0x4')][_0x13e5('0x8')][_0x13e5('0x0')](_0x37e1c5)&&this[_0x13e5('0x4')][_0x13e5('0x7')]['get'](_0x13e5('0x2'))['acceptSuggestion'](_0x1bebef);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cb3=['_suggestions','TrackChangesEditing','isEnabled','plugins','discardSuggestion','editor','track-changes-discard-suggestion-not-found','get','execute','_isEnabledBasedOnSelection','refresh','getRanges'];(function(_0x32a0ea,_0x3cb30d){const _0x3e3101=function(_0x5e3882){while(--_0x5e3882){_0x32a0ea['push'](_0x32a0ea['shift']());}};_0x3e3101(++_0x3cb30d);}(_0x3cb3,0x138));const _0x3e31=function(_0x32a0ea,_0x3cb30d){_0x32a0ea=_0x32a0ea-0x0;let _0x3e3101=_0x3cb3[_0x32a0ea];return _0x3e3101;};import{Command as _0x3788de}from'ckeditor5/src/core';import{CKEditorError as _0x4483f9}from'ckeditor5/src/utils';export default class $ extends _0x3788de{constructor(_0x22f4f3,_0x2fdf40){super(_0x22f4f3),this[_0x3e31('0x0')]=_0x2fdf40,this[_0x3e31('0xa')](),this[_0x3e31('0x9')]=!0x1;}['refresh'](){this[_0x3e31('0x2')]=!0x0;}[_0x3e31('0x8')](_0x3f200f){const _0x473013=this[_0x3e31('0x0')][_0x3e31('0x7')](_0x3f200f);if(!_0x473013)throw new _0x4483f9(_0x3e31('0x6'),this);const _0x5d26ab=_0x473013[_0x3e31('0xb')]();this[_0x3e31('0x5')]['model']['canEditAt'](_0x5d26ab)&&this[_0x3e31('0x5')][_0x3e31('0x3')][_0x3e31('0x7')](_0x3e31('0x1'))[_0x3e31('0x4')](_0x473013);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fc3=['_command','from','isInContent','isEnabled','editor','model','canEditAt','getRanges','values','some','_isEnabledBasedOnSelection','_suggestions','refresh'];(function(_0x13dd7a,_0x4fc353){const _0x529164=function(_0x180532){while(--_0x180532){_0x13dd7a['push'](_0x13dd7a['shift']());}};_0x529164(++_0x4fc353);}(_0x4fc3,0x69));const _0x5291=function(_0x13dd7a,_0x4fc353){_0x13dd7a=_0x13dd7a-0x0;let _0x529164=_0x4fc3[_0x13dd7a];return _0x529164;};import{Command as _0x2842ef}from'ckeditor5/src/core';import{sortSuggestions as _0x5bf6a1,executeCommandForSuggestions as _0x2d80e4}from'../utils/utils';export default class N extends _0x2842ef{constructor(_0x1e707b,_0x4d1621,_0x53008d){super(_0x1e707b),this[_0x5291('0xc')]=_0x4d1621,this[_0x5291('0xa')]=_0x53008d,this[_0x5291('0xb')](),this[_0x5291('0x9')]=!0x1;}[_0x5291('0xb')](){const _0x32d7ba=Array[_0x5291('0x0')](this[_0x5291('0xa')][_0x5291('0x7')]())[_0x5291('0x8')](_0x14ec99=>_0x14ec99[_0x5291('0x1')]);this[_0x5291('0x2')]=this['_command'][_0x5291('0x2')]&&_0x32d7ba;}['execute'](){const _0x299c07=_0x5bf6a1(Array[_0x5291('0x0')](this['_suggestions'][_0x5291('0x7')]()));for(const _0x8dbb75 of _0x299c07){const _0x121698=_0x8dbb75[_0x5291('0x6')]();if(!this['editor'][_0x5291('0x4')][_0x5291('0x5')](_0x121698))return;}_0x2d80e4(this[_0x5291('0x3')]['model'],this[_0x5291('0xc')],_0x299c07);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3251=['_selectedSuggestions','_suggestions','model','isEnabled','getRanges','execute','editor','from','_command','values','canEditAt','selection','refresh'];(function(_0x4021d6,_0x3251a2){const _0x46456a=function(_0x3256ad){while(--_0x3256ad){_0x4021d6['push'](_0x4021d6['shift']());}};_0x46456a(++_0x3251a2);}(_0x3251,0x171));const _0x4645=function(_0x4021d6,_0x3251a2){_0x4021d6=_0x4021d6-0x0;let _0x46456a=_0x3251[_0x4021d6];return _0x46456a;};import{Command as _0x55209f}from'ckeditor5/src/core';import{sortSuggestions as _0x3096ce,getSelectedSuggestions as _0x57e06f,executeCommandForSuggestions as _0x39748c}from'../utils/utils';export default class R extends _0x55209f{constructor(_0x5b2a4d,_0x54ae07,_0x3495a3){super(_0x5b2a4d),this[_0x4645('0x3')]=_0x54ae07,this[_0x4645('0x9')]=_0x3495a3,this[_0x4645('0x8')]=new Set(),this[_0x4645('0x7')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4645('0x7')](){const _0x139698=this[_0x4645('0x1')][_0x4645('0xa')]['document'][_0x4645('0x6')],_0xb81f51=Array[_0x4645('0x2')](this[_0x4645('0x9')][_0x4645('0x4')]());this[_0x4645('0x8')]=_0x57e06f(_0x139698,_0xb81f51),this[_0x4645('0xb')]=this['_command'][_0x4645('0xb')]&&!!this[_0x4645('0x8')]['size'];}[_0x4645('0x0')](){const _0xc304f6=_0x3096ce(Array[_0x4645('0x2')](this[_0x4645('0x8')]));for(const _0x5a9fab of _0xc304f6){const _0x424a29=_0x5a9fab[_0x4645('0xc')]();if(!this[_0x4645('0x1')][_0x4645('0xa')][_0x4645('0x5')](_0x424a29))return;}_0x39748c(this['editor']['model'],this['_command'],_0xc304f6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x472b=['editor','refresh','has','commands','forceDisabled','_isEnabledBasedOnSelection','_enabledCommands','execute','value','TrackChangesCommand','affectsData','_enableCommands','_disableUnsupportedCommands'];(function(_0x398cef,_0x472bdb){const _0x331a40=function(_0x545f90){while(--_0x545f90){_0x398cef['push'](_0x398cef['shift']());}};_0x331a40(++_0x472bdb);}(_0x472b,0x155));const _0x331a=function(_0x398cef,_0x472bdb){_0x398cef=_0x398cef-0x0;let _0x331a40=_0x472b[_0x398cef];return _0x331a40;};import{Command as _0x41025d}from'ckeditor5/src/core';export default class _ extends _0x41025d{constructor(_0x3e6a65,_0x19dd5f){super(_0x3e6a65),this[_0x331a('0x3')]=_0x19dd5f,this[_0x331a('0x5')]=!0x1,this[_0x331a('0xb')](),this[_0x331a('0x2')]=!0x1;}[_0x331a('0xb')](){this['isEnabled']=!0x0;}[_0x331a('0x4')](){this[_0x331a('0x5')]=!this[_0x331a('0x5')],this[_0x331a('0x5')]?this[_0x331a('0x9')]():this[_0x331a('0x8')]();}['_disableUnsupportedCommands'](){for(const _0x1ab4dd of this[_0x331a('0xa')][_0x331a('0x0')][_0x331a('0x0')]())_0x1ab4dd[_0x331a('0x7')]&&!this['_enabledCommands'][_0x331a('0xc')](_0x1ab4dd)&&_0x1ab4dd[_0x331a('0x1')](_0x331a('0x6'));}[_0x331a('0x8')](){for(const _0x31fd26 of this[_0x331a('0xa')][_0x331a('0x0')][_0x331a('0x0')]())_0x31fd26[_0x331a('0x7')]&&!this[_0x331a('0x3')][_0x331a('0xc')](_0x31fd26)&&_0x31fd26['clearForceDisabled']('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3104=['getSelectedBlocks','contentLanguageDirection','AlignmentEditing','left','change','has','document','FORMAT_ALIGN_TO_CENTER','markBlockFormat','ltr','model','locale','schema','commandName','alignment','FORMAT_ALIGN_TO_LEFT','center','checkAttribute','right','getAttribute','commandParams','enableCommand','get','editor','FORMAT_JUSTIFY_TEXT','value','*Format:*\x20%0','format','_descriptionFactory'];(function(_0x285c8f,_0x3104d2){const _0x245733=function(_0x44aa1e){while(--_0x44aa1e){_0x285c8f['push'](_0x285c8f['shift']());}};_0x245733(++_0x3104d2);}(_0x3104,0x6e));const _0x2457=function(_0x285c8f,_0x3104d2){_0x285c8f=_0x285c8f-0x0;let _0x245733=_0x3104[_0x285c8f];return _0x245733;};import{Plugin as _0x15820a}from'ckeditor5/src/core';import{getTranslation as _0x301807}from'../utils/common-translations';export default class x extends _0x15820a{['afterInit'](){const _0x57e4f6=this[_0x2457('0x0')],_0x1f1612=_0x57e4f6[_0x2457('0x11')];if(!_0x57e4f6['plugins'][_0x2457('0xb')](_0x2457('0x8')))return;const _0x46a13f=_0x57e4f6['plugins'][_0x2457('0x1c')]('TrackChangesEditing');_0x46a13f[_0x2457('0x1b')](_0x2457('0x14'),(_0x29830b,_0xd5e81d={})=>{let _0x223d11=_0xd5e81d[_0x2457('0x2')];_0xd5e81d[_0x2457('0x2')]||(_0x223d11=_0x2457('0xf')===_0x57e4f6[_0x2457('0x11')][_0x2457('0x7')]?_0x2457('0x9'):_0x2457('0x18'));const _0x2f85ff=Array['from'](this['editor'][_0x2457('0x10')][_0x2457('0xc')]['selection'][_0x2457('0x6')]())['filter'](_0x3bd5fc=>function(_0x299ecc,_0xc1f71,_0x1d00a3){const _0x26c48d=_0x299ecc[_0x2457('0x19')](_0x2457('0x14'))||null;return _0xc1f71[_0x2457('0x17')](_0x299ecc,'alignment')&&_0x1d00a3!=_0x26c48d;}(_0x3bd5fc,this['editor'][_0x2457('0x10')][_0x2457('0x12')],_0x223d11));_0x57e4f6[_0x2457('0x10')][_0x2457('0xa')](()=>{for(const _0x3acac3 of _0x2f85ff)_0x46a13f[_0x2457('0xe')](_0x3acac3,{'commandName':_0x2457('0x14'),'commandParams':[{'value':_0x223d11}]});});}),_0x46a13f[_0x2457('0x5')]['registerDescriptionCallback'](_0x3401a5=>{const {data:_0x3a6864}=_0x3401a5;if(_0x3a6864&&_0x2457('0x14')==_0x3a6864[_0x2457('0x13')]){const _0x1ce9ef=_0x3a6864[_0x2457('0x1a')][0x0][_0x2457('0x2')];return{'type':_0x2457('0x4'),'content':_0x301807(_0x1f1612,_0x2457('0x3'),function(_0x45f4ea){switch(_0x45f4ea){case'left':return _0x301807(_0x1f1612,_0x2457('0x15'));case _0x2457('0x18'):return _0x301807(_0x1f1612,'FORMAT_ALIGN_TO_RIGHT');case _0x2457('0x16'):return _0x301807(_0x1f1612,_0x2457('0xd'));case'justify':return _0x301807(_0x1f1612,_0x2457('0x1'));}}(_0x1ce9ef))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bfa=['subscript','commandName','*Remove\x20format:*\x20%0','superscript','format','underline','getRanges','FORMAT_BOLD','code','document','plugins','commandParams','slice','afterInit','forceValue','editor','markInlineFormat','FORMAT_CODE','enableCommand','FORMAT_SUBSCRIPT','italic','SuperscriptEditing','isCollapsed','ItalicEditing','value','FORMAT_ITALIC','BoldEditing','strikethrough','bold','model','change','UnderlineEditing','get','toLowerCase','TrackChangesEditing','FORMAT_STRIKETHROUGH','has','_descriptionFactory','selection','SubscriptEditing','from'];(function(_0x57d955,_0x1bfad7){const _0xf8358f=function(_0x5a2a99){while(--_0x5a2a99){_0x57d955['push'](_0x57d955['shift']());}};_0xf8358f(++_0x1bfad7);}(_0x1bfa,0x1d5));const _0xf835=function(_0x57d955,_0x1bfad7){_0x57d955=_0x57d955-0x0;let _0xf8358f=_0x1bfa[_0x57d955];return _0xf8358f;};import{Plugin as _0x2605aa}from'ckeditor5/src/core';import{getTranslation as _0x328d6b}from'../utils/common-translations';import{getRangesWithAttribute as _0x358023}from'./utils';const Kt=[_0xf835('0x8'),_0xf835('0x5'),_0xf835('0xd'),'CodeEditing','StrikethroughEditing',_0xf835('0x15'),_0xf835('0x3')];export default class U extends _0x2605aa{[_0xf835('0x24')](){const _0x414882=this[_0xf835('0x26')],_0x321ad1=_0x414882[_0xf835('0xb')],_0x12baaa=_0x414882[_0xf835('0x21')][_0xf835('0xe')](_0xf835('0x10')),_0x3e5743=_0x414882['locale'];for(const _0x1d93ed of Kt){if(!_0x414882[_0xf835('0x21')][_0xf835('0x12')](_0x1d93ed))continue;const _0x44e04f=_0x1d93ed[_0xf835('0x23')](0x0,-0x7)[_0xf835('0xf')](),_0x4967aa=_0x414882['commands'][_0xf835('0xe')](_0x44e04f);_0x12baaa[_0xf835('0x0')](_0x44e04f,(_0x7b06d6,_0x37e340={})=>{const _0x5300cd=_0x321ad1[_0xf835('0x20')][_0xf835('0x14')];if(_0x5300cd[_0xf835('0x4')])return void _0x7b06d6(_0x37e340);const _0x1f1865=void 0x0!==_0x37e340['forceValue']?_0x37e340[_0xf835('0x25')]:!_0x4967aa[_0xf835('0x6')];_0x321ad1[_0xf835('0xc')](()=>{const _0x5a63f6=Array[_0xf835('0x16')](_0x5300cd[_0xf835('0x1d')]());for(const _0x42dbdb of _0x5a63f6){const _0x28795b=_0x1f1865?[_0x42dbdb]:_0x358023(_0x44e04f,_0x42dbdb,_0x321ad1);for(const _0x562b3b of _0x28795b)_0x12baaa[_0xf835('0x27')](_0x562b3b,{'commandName':_0x44e04f,'commandParams':[{'forceValue':_0x1f1865}]});}});});}function _0x4cfc87(_0xbf23f6,_0x3c10a7){_0x12baaa[_0xf835('0x13')]['registerDescriptionCallback'](_0x2aa434=>{const {data:_0x1489e9}=_0x2aa434;if(_0x1489e9&&_0x1489e9[_0xf835('0x18')]===_0xbf23f6)return _0x1489e9[_0xf835('0x22')][0x0][_0xf835('0x25')]?{'type':_0xf835('0x1b'),'content':_0x328d6b(_0x3e5743,'*Format:*\x20%0',_0x3c10a7)}:{'type':_0xf835('0x1b'),'content':_0x328d6b(_0x3e5743,_0xf835('0x19'),_0x3c10a7)};});}_0x4cfc87(_0xf835('0xa'),_0x328d6b(_0x3e5743,_0xf835('0x1e'))),_0x4cfc87(_0xf835('0x2'),_0x328d6b(_0x3e5743,_0xf835('0x7'))),_0x4cfc87(_0xf835('0x1c'),_0x328d6b(_0x3e5743,'FORMAT_UNDERLINE')),_0x4cfc87(_0xf835('0x1f'),_0x328d6b(_0x3e5743,_0xf835('0x28'))),_0x4cfc87(_0xf835('0x9'),_0x328d6b(_0x3e5743,_0xf835('0x11'))),_0x4cfc87(_0xf835('0x17'),_0x328d6b(_0x3e5743,_0xf835('0x1'))),_0x4cfc87(_0xf835('0x1a'),_0x328d6b(_0x3e5743,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56ad=['registerDescriptionCallback','parent','schema','$root','commands','plugins','change','name','commandName','editor','*Remove\x20format:*\x20%0','has','enableCommand','get','getSelectedBlocks','afterInit','*Format:*\x20%0','markBlockFormat','model','blockQuote','ELEMENT_BLOCK_QUOTE','checkChild','commandParams','format','forceValue','from','filter'];(function(_0x29041b,_0x56adc5){const _0x15f41b=function(_0x67f26b){while(--_0x67f26b){_0x29041b['push'](_0x29041b['shift']());}};_0x15f41b(++_0x56adc5);}(_0x56ad,0x110));const _0x15f4=function(_0x29041b,_0x56adc5){_0x29041b=_0x29041b-0x0;let _0x15f41b=_0x56ad[_0x29041b];return _0x15f41b;};import{Plugin as _0x4a1237}from'ckeditor5/src/core';import{getTranslation as _0x5d4c39}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x400f4b}from'../utils/utils';export default class j extends _0x4a1237{[_0x15f4('0xd')](){const _0x966c4e=this['editor'],_0x573c2c=_0x966c4e['locale'];if(!_0x966c4e[_0x15f4('0x3')][_0x15f4('0x9')]('BlockQuoteEditing'))return;const _0x3fa45a=_0x966c4e['plugins'][_0x15f4('0xb')]('TrackChangesEditing'),_0x57379d=this[_0x15f4('0x7')][_0x15f4('0x2')]['get'](_0x15f4('0x11'));_0x3fa45a[_0x15f4('0xa')](_0x15f4('0x11'),(_0x32336c,_0x56eb52={})=>{const _0x4286e1=this[_0x15f4('0x7')][_0x15f4('0x10')]['document']['selection'],_0x50850d=_0x56eb52&&void 0x0!==_0x56eb52[_0x15f4('0x16')]?_0x56eb52['forceValue']:!_0x57379d['value'];let _0x3f943b=[];if(_0x50850d){const _0x30344d=Array['from'](_0x4286e1['getSelectedBlocks']())['filter'](_0x566814=>Xt(_0x566814)||function(_0x85fc28,_0x58cdac){const _0xb7ec4c=_0x58cdac[_0x15f4('0x13')](_0x85fc28['parent'],_0x15f4('0x11')),_0x1a1e43=_0x58cdac['checkChild']([_0x15f4('0x1'),_0x15f4('0x11')],_0x85fc28);return _0xb7ec4c&&_0x1a1e43;}(_0x566814,this[_0x15f4('0x7')][_0x15f4('0x10')][_0x15f4('0x0')]));_0x3f943b=_0x400f4b(_0x30344d,_0x966c4e['model']);}else{const _0x1593a9=Array[_0x15f4('0x17')](_0x4286e1[_0x15f4('0xc')]())[_0x15f4('0x18')](_0x238d52=>Xt(_0x238d52));_0x3f943b=_0x400f4b(_0x1593a9,_0x966c4e[_0x15f4('0x10')]);}_0x966c4e[_0x15f4('0x10')][_0x15f4('0x4')](()=>{for(const _0x25f76c of _0x3f943b)_0x3fa45a[_0x15f4('0xf')](_0x25f76c,{'commandName':_0x15f4('0x11'),'commandParams':[{'forceValue':_0x50850d}]});});}),_0x3fa45a['_descriptionFactory'][_0x15f4('0x19')](_0x11c276=>{const {data:_0x1708a3}=_0x11c276;if(_0x1708a3&&_0x15f4('0x11')==_0x1708a3[_0x15f4('0x6')]){const _0x777120=_0x5d4c39(_0x573c2c,_0x15f4('0x12'));return _0x1708a3[_0x15f4('0x14')][0x0][_0x15f4('0x16')]?{'type':_0x15f4('0x15'),'content':_0x5d4c39(_0x573c2c,_0x15f4('0xe'),_0x777120)}:{'type':_0x15f4('0x15'),'content':_0x5d4c39(_0x573c2c,_0x15f4('0x8'),_0x777120)};}});}}function Xt(_0x39cbbb){return'blockQuote'==_0x39cbbb[_0x15f4('0x1a')][_0x15f4('0x5')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x398a=['TrackChangesEditing','ckbox','plugins','commands','enableCommand'];(function(_0x1dc12c,_0x398abb){const _0x5d92ce=function(_0xf2f581){while(--_0xf2f581){_0x1dc12c['push'](_0x1dc12c['shift']());}};_0x5d92ce(++_0x398abb);}(_0x398a,0xe1));const _0x5d92=function(_0x1dc12c,_0x398abb){_0x1dc12c=_0x1dc12c-0x0;let _0x5d92ce=_0x398a[_0x1dc12c];return _0x5d92ce;};import{Plugin as _0x16c2be}from'ckeditor5/src/core';export default class E extends _0x16c2be{['afterInit'](){const _0x57d4aa=this['editor'];_0x57d4aa[_0x5d92('0x3')]['get'](_0x5d92('0x1'))&&_0x57d4aa[_0x5d92('0x2')]['get'](_0x5d92('0x0'))[_0x5d92('0x4')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19a7=['filter','*Format:*\x20%0','value','format','selection','indentCodeBlock','_descriptionFactory','language','codeBlock','get','editor','forceValue','enableCommand','blockName','document','plugins','parent','registerElementLabel','registerDescriptionCallback','afterInit','formatBlock','commandParams','name','TrackChangesEditing','ELEMENT_CODE_BLOCK','commandName','commands','from','change','has','config','isLimit','model','locale','getSelectedBlocks'];(function(_0x168c50,_0x19a748){const _0x8bb093=function(_0x405c40){while(--_0x405c40){_0x168c50['push'](_0x168c50['shift']());}};_0x8bb093(++_0x19a748);}(_0x19a7,0xc2));const _0x8bb0=function(_0x168c50,_0x19a748){_0x168c50=_0x168c50-0x0;let _0x8bb093=_0x19a7[_0x168c50];return _0x8bb093;};import{Plugin as _0x2fd577}from'ckeditor5/src/core';import{getTranslation as _0x1669e4}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x18e350}from'../utils/utils';export default class O extends _0x2fd577{[_0x8bb0('0x0')](){const _0x22a7bd=this[_0x8bb0('0x1a')];if(!_0x22a7bd[_0x8bb0('0x1f')][_0x8bb0('0xa')]('CodeBlock'))return;const _0xa9d52b=_0x22a7bd[_0x8bb0('0x1f')][_0x8bb0('0x19')](_0x8bb0('0x4')),_0x28045c=_0x22a7bd[_0x8bb0('0xe')],_0x32874c=_0x22a7bd[_0x8bb0('0xb')]['get']('codeBlock')['languages'],_0x204c41=_0x22a7bd[_0x8bb0('0x7')]['get']('codeBlock');_0xa9d52b[_0x8bb0('0x1c')](_0x8bb0('0x15')),_0xa9d52b[_0x8bb0('0x1c')]('outdentCodeBlock'),_0xa9d52b['enableCommand']('codeBlock',(_0x51bf86,_0x4e0fa1={})=>{const _0x2d5544=_0x22a7bd[_0x8bb0('0xd')],_0x5b25ac=_0x22a7bd[_0x8bb0('0xd')][_0x8bb0('0x1e')][_0x8bb0('0x14')],_0x435aea=_0x4e0fa1&&void 0x0!==_0x4e0fa1[_0x8bb0('0x1b')]?_0x4e0fa1[_0x8bb0('0x1b')]:!_0x204c41[_0x8bb0('0x12')];let _0x194bf6;_0x4e0fa1[_0x8bb0('0x17')]||(_0x4e0fa1[_0x8bb0('0x17')]=_0x32874c[0x0]['language']),_0x194bf6=_0x435aea?Array[_0x8bb0('0x8')](_0x5b25ac[_0x8bb0('0xf')]())[_0x8bb0('0x10')](_0x1db61b=>oo(_0x1db61b)||function(_0x3a4b7f,_0x172e10){if(_0x3a4b7f['is']('rootElement')||_0x172e10[_0x8bb0('0xc')](_0x3a4b7f))return!0x1;return _0x172e10['checkChild'](_0x3a4b7f[_0x8bb0('0x20')],_0x8bb0('0x18'));}(_0x1db61b,_0x2d5544['schema'])):Array['from'](_0x5b25ac[_0x8bb0('0xf')]())['filter'](_0x11e88b=>oo(_0x11e88b));const _0x1da646=_0x18e350(_0x194bf6,_0x2d5544);_0x2d5544[_0x8bb0('0x9')](()=>{for(const _0x14f22f of _0x1da646)_0xa9d52b['markBlockFormat'](_0x14f22f,{'commandName':_0x8bb0('0x18'),'commandParams':[{..._0x4e0fa1,'forceValue':_0x435aea}],'formatGroupId':_0x8bb0('0x1d')});});}),(_0xa9d52b['_descriptionFactory'][_0x8bb0('0x21')]('codeBlock',_0x4964a5=>_0x1669e4(_0x28045c,_0x8bb0('0x5'),_0x4964a5)),_0xa9d52b[_0x8bb0('0x16')][_0x8bb0('0x22')](_0x4c222a=>{const _0x4f1d58=_0x28045c['t'],{type:_0x2f4f3d,data:_0x20d041}=_0x4c222a;if(_0x8bb0('0x1')==_0x2f4f3d&&_0x20d041&&_0x8bb0('0x18')==_0x20d041[_0x8bb0('0x6')]){const _0x5834b7=_0x20d041['commandParams'][0x0]['language'],_0xa48b09=_0x4f1d58(_0x32874c['find'](_0x5c49da=>_0x5c49da[_0x8bb0('0x17')]===_0x5834b7)['label']);return _0x20d041[_0x8bb0('0x2')][0x0][_0x8bb0('0x1b')]?{'type':'format','content':_0x1669e4(_0x28045c,_0x8bb0('0x11'),_0x1669e4(_0x28045c,_0x8bb0('0x5'),0x1)+'\x20('+_0xa48b09+')')}:{'type':_0x8bb0('0x13'),'content':_0x1669e4(_0x28045c,'*Remove\x20format:*\x20%0',_0x1669e4(_0x28045c,_0x8bb0('0x5'),0x1))};}}));}}function oo(_0x31cd62){return'codeBlock'==_0x31cd62[_0x8bb0('0x3')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x210d=['TrackChangesEditing','afterInit','CommentsEditing','plugins','has','editor','get'];(function(_0x29938d,_0x210de7){const _0x2e4fbd=function(_0x38616d){while(--_0x38616d){_0x29938d['push'](_0x29938d['shift']());}};_0x2e4fbd(++_0x210de7);}(_0x210d,0x112));const _0x2e4f=function(_0x29938d,_0x210de7){_0x29938d=_0x29938d-0x0;let _0x2e4fbd=_0x210d[_0x29938d];return _0x2e4fbd;};import{Plugin as _0x44e83e}from'ckeditor5/src/core';export default class F extends _0x44e83e{[_0x2e4f('0x0')](){const _0x436933=this[_0x2e4f('0x4')];if(!_0x436933[_0x2e4f('0x2')][_0x2e4f('0x3')](_0x2e4f('0x1')))return;_0x436933[_0x2e4f('0x2')][_0x2e4f('0x5')](_0x2e4f('0x6'))['enableCommand']('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13a8=['get','unit','enableCommand','commands','model','delete','requires','deleteForward','downcastDispatcher','mapper','isCollapsed','lock','high','TrackChangesEditing','start','merge','detach','rootName','buffer','forward','bind','setSelection','plugins','removeMarker:suggestion:deletion','end','enqueueChange','markerName','writer','data','$graveyard','init','options','getFirstRange','createRange','uiElement','unbindElementFromMarkerName','editing','addMarker:suggestion:deletion'];(function(_0x5ae3cb,_0x13a81d){const _0x18a031=function(_0x3dacd7){while(--_0x3dacd7){_0x5ae3cb['push'](_0x5ae3cb['shift']());}};_0x18a031(++_0x13a81d);}(_0x13a8,0x1e2));const _0x18a0=function(_0x5ae3cb,_0x13a81d){_0x5ae3cb=_0x5ae3cb-0x0;let _0x18a031=_0x13a8[_0x5ae3cb];return _0x18a031;};import{Plugin as _0x2929ec}from'ckeditor5/src/core';import{LiveRange as _0x57dee7}from'ckeditor5/src/engine';import{Delete as _0x58420c}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x387ed8}from'./utils';export default class G extends _0x2929ec{static get[_0x18a0('0x12')](){return[_0x58420c];}[_0x18a0('0x4')](){const _0x1cdd51=this['editor'],_0x3db0a0=_0x1cdd51[_0x18a0('0x22')][_0x18a0('0xc')](_0x18a0('0x19'));_0x3db0a0[_0x18a0('0xe')](_0x18a0('0x11'));const _0x3596f5=_0x1cdd51[_0x18a0('0xf')][_0x18a0('0xc')](_0x18a0('0x13'));_0x3db0a0['enableCommand'](_0x18a0('0x13'),(_0x53faa7,_0x616b90={})=>{const _0x4004f3=_0x1cdd51[_0x18a0('0x10')]['createSelection'](_0x1cdd51[_0x18a0('0x10')]['document']['selection']);_0x4004f3[_0x18a0('0x16')]&&_0x1cdd51[_0x18a0('0x10')]['modifySelection'](_0x4004f3,{'direction':_0x18a0('0x1f'),'unit':_0x616b90[_0x18a0('0xd')]});const _0x5f06d8=_0x4004f3[_0x18a0('0x6')](),_0xe03c42=_0x57dee7['fromRange'](_0x5f06d8);let _0x93bc8b;_0x53faa7(_0x616b90),_0x93bc8b=_0x18a0('0x3')==_0xe03c42['root'][_0x18a0('0x1d')]?_0x1cdd51[_0x18a0('0x10')]['createRange'](_0x5f06d8[_0x18a0('0x1a')]):_0x1cdd51[_0x18a0('0x10')][_0x18a0('0x7')](_0xe03c42['start'],_0xe03c42[_0x18a0('0x24')]),_0xe03c42[_0x18a0('0x1c')](),_0x1cdd51[_0x18a0('0x10')][_0x18a0('0x25')](_0x3596f5['buffer']['batch'],_0x3f0f6e=>{_0x3596f5[_0x18a0('0x1e')][_0x18a0('0x17')](),_0x3f0f6e[_0x18a0('0x21')](_0x3f0f6e[_0x18a0('0x7')](_0x93bc8b[_0x18a0('0x24')])),_0x3596f5[_0x18a0('0x1e')]['unlock']();});}),_0x1cdd51[_0x18a0('0xa')][_0x18a0('0x14')]['on'](_0x18a0('0xb'),_0x387ed8(_0x1cdd51,'merge'),{'priority':'high'}),_0x1cdd51[_0x18a0('0x2')][_0x18a0('0x14')]['on'](_0x18a0('0xb'),(_0x1c0dcf,_0x3d41b6,_0xc0c9de)=>{_0xc0c9de[_0x18a0('0x5')]['showSuggestionHighlights']&&_0x387ed8(_0x1cdd51,_0x18a0('0x1b'),{'showActiveMarker':!0x1})[_0x18a0('0x20')](this)(_0x1c0dcf,_0x3d41b6,_0xc0c9de);},{'priority':_0x18a0('0x18')}),_0x1cdd51[_0x18a0('0xa')][_0x18a0('0x14')]['on'](_0x18a0('0x23'),(_0x42b92e,_0x4d4aae,_0x276e64)=>{const _0x2c47e9=_0x276e64[_0x18a0('0x15')]['markerNameToElements'](_0x4d4aae[_0x18a0('0x0')]);if(_0x2c47e9)for(const _0x10df69 of _0x2c47e9)_0x10df69['is'](_0x18a0('0x8'))&&(_0x276e64['mapper'][_0x18a0('0x9')](_0x10df69,_0x4d4aae[_0x18a0('0x0')]),_0x276e64[_0x18a0('0x1')]['remove'](_0x10df69));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42c6=['next','refresh','editor','get','parent','getFirstRange','listType','fromRange','*Outdent:*\x20%0','document','has','*Format:*\x20insert\x20into\x20%0','enableCommand','ELEMENT_','ELEMENT_NUMBERED_LIST','deletion','formatBlock','documentList','_LIST','splitListItemBefore','value','end','isObject','plugins','afterInit','isFirstBlockOfListItem','add','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','DocumentListUtils','listIndent','bulletedList','push','from','mergeListItemForward','markBlockFormat','expandListBlocksToCompleteList','*Merge:*\x20%0','format','nextSibling','detach','map','locale','_suggestionFactory','createPositionAt','forceValue','selection','registerElementLabel','listItemId','nodeAfter','registerDescriptionCallback','hasAttribute','outdentList','registerCustomCallback','getAttribute','slice','start','length','_descriptionFactory','markMultiRangeBlockFormat','createRange','after','change','previousSibling','schema','getSelectedBlocks','model','commandParams','toUpperCase','setSelection','execute','*Indent:*\x20%0','findIndex','commandName','commands','indentList','ELEMENT_BULLETED_LIST','numberedList','containsItem'];(function(_0x57d693,_0x42c639){const _0x430483=function(_0xc77057){while(--_0xc77057){_0x57d693['push'](_0x57d693['shift']());}};_0x430483(++_0x42c639);}(_0x42c6,0x1d5));const _0x4304=function(_0x57d693,_0x42c639){_0x57d693=_0x57d693-0x0;let _0x430483=_0x42c6[_0x57d693];return _0x430483;};import{Plugin as _0x2cd4cd}from'ckeditor5/src/core';import{getTranslation as _0xe9ffb4}from'../utils/common-translations';import{LiveRange as _0x53da5b}from'ckeditor5/src/engine';export default class L extends _0x2cd4cd{[_0x4304('0x1d')](){const _0x45c48d=this[_0x4304('0x7')];if(!_0x45c48d[_0x4304('0x1c')][_0x4304('0xf')]('DocumentListEditing'))return;const _0x53af36=_0x45c48d[_0x4304('0x2f')],_0x253aeb=_0x45c48d[_0x4304('0x1c')][_0x4304('0x8')]('TrackChangesEditing'),_0x966be1=_0x45c48d[_0x4304('0x1c')][_0x4304('0x8')](_0x4304('0x22'));function _0x282e45(_0x5c035d){return()=>{const _0x2ec389=_0x45c48d[_0x4304('0x0')]['get'](_0x5c035d);let _0x33c418=Array[_0x4304('0x26')](_0x45c48d[_0x4304('0x47')][_0x4304('0xe')][_0x4304('0x33')][_0x4304('0x46')]());if(_0x599da8(_0x5c035d)){_0x33c418=_0x966be1[_0x4304('0x29')](_0x33c418);const _0x436c45=[];for(const _0x1c06fa of _0x33c418)_0x966be1[_0x4304('0x1e')](_0x1c06fa)&&_0x436c45['push'](_0x1c06fa);_0x33c418=_0x436c45;}_0x45c48d[_0x4304('0x47')][_0x4304('0x43')](()=>{_0x253aeb[_0x4304('0x40')](_0x33c418,{'commandName':_0x5c035d,'commandParams':[{'forceValue':!_0x2ec389['value']}],'formatGroupId':_0x4304('0xb')},[],_0x4304('0x16'));});};}function _0x13d48f(_0x48983e){return()=>{const _0x49e3f3=function(_0x2fd403){let _0x36d9d8=Array[_0x4304('0x26')](_0x2fd403);const _0xbf38ad=_0x36d9d8[_0x4304('0x4d')](_0x1cd4f3=>!_0x1cd4f3[_0x4304('0x38')](_0x4304('0x35')));return _0xbf38ad>-0x1&&(_0x36d9d8=_0x36d9d8[_0x4304('0x3c')](0x0,_0xbf38ad)),_0x36d9d8;}(_0x45c48d['model'][_0x4304('0xe')][_0x4304('0x33')][_0x4304('0x46')]()),_0x494e33=_0x49e3f3[_0x49e3f3[_0x4304('0x3e')]-0x1],_0x2a23da=_0x45c48d[_0x4304('0x47')][_0x4304('0x45')][_0x4304('0x1b')](_0x494e33)?_0x4304('0x42'):_0x4304('0x1a'),_0x3259ab=_0x45c48d[_0x4304('0x47')]['createRange'](_0x45c48d[_0x4304('0x47')][_0x4304('0x31')](_0x49e3f3[0x0],'before'),_0x45c48d['model']['createPositionAt'](_0x494e33,_0x2a23da));_0x45c48d['model'][_0x4304('0x43')](()=>{_0x253aeb[_0x4304('0x28')](_0x3259ab,{'commandName':_0x48983e,'commandParams':[],'formatGroupId':_0x4304('0xb')},function(_0x5129c3){const _0x4973ab=new Set();for(const _0x590fa2 of _0x5129c3){let _0x181285=_0x590fa2[_0x4304('0x2c')];for(;_0x181285&&_0x181285[_0x4304('0x3b')](_0x4304('0x23'))>_0x590fa2[_0x4304('0x3b')](_0x4304('0x23'));)_0x4973ab[_0x4304('0x1f')](_0x181285),_0x181285=_0x181285[_0x4304('0x2c')];}return Array[_0x4304('0x26')](_0x4973ab);}(_0x49e3f3));});};}function _0x43987b(_0x3eefe8){return()=>{const _0x1d4dae=_0x45c48d[_0x4304('0x47')][_0x4304('0xe')][_0x4304('0x33')][_0x4304('0x46')]()[_0x4304('0x5')]()[_0x4304('0x19')],_0x574af5=_0x45c48d[_0x4304('0x47')]['createPositionAt'](_0x1d4dae,'before'),_0x33a306=_0x45c48d['model'][_0x4304('0x31')](_0x1d4dae,0x0),_0x1fb6ea=_0x45c48d['model'][_0x4304('0x41')](_0x574af5,_0x33a306);_0x45c48d[_0x4304('0x47')][_0x4304('0x43')](()=>{_0x253aeb[_0x4304('0x28')](_0x1fb6ea,{'commandName':_0x3eefe8,'commandParams':[],'formatGroupId':'listType'});});};}function _0x599da8(_0x4ebdd2){const _0x57b951=_0x45c48d[_0x4304('0x0')][_0x4304('0x8')](_0x4304('0x24'))[_0x4304('0x19')],_0xa36354=_0x45c48d[_0x4304('0x0')]['get'](_0x4304('0x3'))['value'];return _0x4304('0x3')===_0x4ebdd2?_0x57b951:_0xa36354;}_0x253aeb[_0x4304('0x11')]('numberedList',_0x282e45('numberedList')),_0x253aeb[_0x4304('0x11')]('bulletedList',_0x282e45(_0x4304('0x24'))),_0x253aeb[_0x4304('0x11')]('indentList',_0x13d48f(_0x4304('0x1'))),_0x253aeb[_0x4304('0x11')](_0x4304('0x39'),_0x13d48f(_0x4304('0x39'))),_0x253aeb[_0x4304('0x11')]('splitListItemAfter',_0x43987b('splitListItemAfter')),_0x253aeb[_0x4304('0x11')](_0x4304('0x18'),_0x43987b(_0x4304('0x18'))),_0x253aeb['_descriptionFactory'][_0x4304('0x34')](function(_0x534855){const _0x7b2983=!_0x45c48d[_0x4304('0x47')]['schema'][_0x4304('0x1b')](_0x534855),_0x5da9dd=_0x534855[_0x4304('0x44')],_0x38bb4e=_0x534855['nextSibling'],_0x1a4b6e=_0x534855[_0x4304('0x3b')](_0x4304('0x35')),_0x5cd5b7=!_0x5da9dd||_0x5da9dd[_0x4304('0x3b')]('listItemId')!==_0x1a4b6e,_0x252814=!_0x38bb4e||_0x38bb4e[_0x4304('0x3b')](_0x4304('0x35'))!==_0x1a4b6e;return _0x7b2983&&Boolean(_0x1a4b6e)&&_0x5cd5b7&&_0x252814;},_0x25d1e1=>_0xe9ffb4(_0x53af36,_0x4304('0x21'),_0x25d1e1)),_0x253aeb[_0x4304('0x3f')][_0x4304('0x37')](function(_0x22800c){const {data:_0x50e8b0}=_0x22800c;if(!_0x50e8b0)return;let _0x166aad,_0x5d8344,_0x2c9327,_0x3cf2e2;switch(_0x50e8b0['commandName']){case _0x4304('0x24'):_0x2c9327=_0x50e8b0['commandParams'][0x0][_0x4304('0x32')],_0x3cf2e2=_0x599da8(_0x50e8b0[_0x4304('0x4e')]),_0x166aad=_0x2c9327?_0x4304('0x10'):'*Format:*\x20remove\x20from\x20%0',_0x3cf2e2&&(_0x166aad='*Change\x20to:*\x20%0'),_0x5d8344={'type':_0x4304('0x2b'),'content':_0xe9ffb4(_0x53af36,_0x166aad,_0xe9ffb4(_0x53af36,_0x4304('0x2')))};break;case _0x4304('0x3'):_0x2c9327=_0x50e8b0['commandParams'][0x0][_0x4304('0x32')],_0x3cf2e2=_0x599da8(_0x50e8b0[_0x4304('0x4e')]),_0x166aad=_0x2c9327?_0x4304('0x10'):'*Format:*\x20remove\x20from\x20%0',_0x3cf2e2&&(_0x166aad=_0x4304('0x20')),_0x5d8344={'type':_0x4304('0x2b'),'content':_0xe9ffb4(_0x53af36,_0x166aad,_0xe9ffb4(_0x53af36,_0x4304('0x13')))};break;case _0x4304('0x1'):_0x166aad=_0x4304('0x4c'),_0x5d8344={'type':_0x4304('0x2b'),'content':_0xe9ffb4(_0x53af36,_0x166aad,_0xe9ffb4(_0x53af36,_0x4304('0x21')))};break;case _0x4304('0x39'):_0x166aad=function(_0xa5b0c0){const _0x5e4183=_0xa5b0c0[_0x4304('0xa')]();let _0x35ef6b=_0x5e4183[_0x4304('0x3d')]['nodeAfter'];for(;_0x35ef6b&&_0x5e4183[_0x4304('0x4')](_0x35ef6b);){if(_0x35ef6b[_0x4304('0x3b')](_0x4304('0x23'))>0x0)return!0x1;_0x35ef6b=_0x35ef6b[_0x4304('0x2c')];}return!0x0;}(_0x22800c)?_0xe9ffb4(_0x53af36,'*Format:*\x20remove\x20from\x20%0',_0xe9ffb4(_0x53af36,function(_0x3cfc93){const _0x4cd8f1=_0x3cfc93[_0x4304('0xa')]()[_0x4304('0x3d')]['nodeAfter'];return _0x4304('0x12')+_0x4cd8f1[_0x4304('0x3b')]('listType')[_0x4304('0x49')]()+_0x4304('0x17');}(_0x22800c))):_0xe9ffb4(_0x53af36,_0x4304('0xd'),_0xe9ffb4(_0x53af36,_0x4304('0x21'))),_0x5d8344={'type':'format','content':_0x166aad};break;case'mergeListItemBackward':case _0x4304('0x27'):!0x1===_0x50e8b0['multipleBlocks']&&(_0x166aad=_0x4304('0x2a'),_0x5d8344={'type':_0x4304('0x14'),'content':_0xe9ffb4(_0x53af36,_0x166aad,_0xe9ffb4(_0x53af36,_0x4304('0x21')))});}return _0x5d8344;}),_0x253aeb[_0x4304('0x30')][_0x4304('0x3a')](_0x4304('0x15'),'documentList','accept',function(_0x58142f,_0x4472fd){const _0x290ee1=[];for(let _0x13ac2d of _0x58142f)_0x13ac2d['start'][_0x4304('0x36')]===_0x13ac2d[_0x4304('0x1a')][_0x4304('0x9')]&&(_0x13ac2d=_0x45c48d[_0x4304('0x47')][_0x4304('0x41')](_0x45c48d[_0x4304('0x47')]['createPositionAt'](_0x13ac2d['start'][_0x4304('0x36')],0x0))),_0x290ee1[_0x4304('0x25')](_0x13ac2d);_0x45c48d['model'][_0x4304('0x43')](_0xbfbd46=>{const _0x57a457=_0x45c48d[_0x4304('0x47')][_0x4304('0xe')][_0x4304('0x33')],_0x5d5d52=Array['from'](_0x57a457['getRanges']())[_0x4304('0x2e')](_0x98a55c=>_0x53da5b[_0x4304('0xc')](_0x98a55c));_0xbfbd46[_0x4304('0x4a')](_0x290ee1),_0x45c48d[_0x4304('0x0')][_0x4304('0x8')](_0x4472fd[_0x4304('0x4e')])[_0x4304('0x6')](),_0x4472fd[_0x4304('0x48')]['push']({'forceDefaultExecution':!0x0}),_0x45c48d[_0x4304('0x4b')](_0x4472fd[_0x4304('0x4e')],..._0x4472fd[_0x4304('0x48')]),_0xbfbd46[_0x4304('0x4a')](_0x5d5d52);for(const _0x1768f0 of _0x5d5d52)_0x1768f0[_0x4304('0x2d')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aa2=['styles','document','editor','TrackChangesEditing','DocumentListUtils','*Format:*\x20set\x20start\x20index\x20to\x20%0','commandParams','expandListBlocksToCompleteList','bind','getListTypeFromListStyleType','handleDescriptions','length','_getSuggestionBlocks','listType','*Change\x20to:*\x20%0','toUpperCase','handleListStartCommand','push','listStyle','_getTranslationKeyForListStyle','commandName','DocumentListPropertiesEditing','afterInit','isListItemBlock','list.properties','get','listStart','plugins','startIndex','type','listReversed','ELEMENT_','reversed','enableCommand','_getSuggestionBlocksForListStyle','filter','has','locale','_LIST_','change','selection','*Format:*\x20set\x20order\x20to\x20reversed','model','format','handleListReversedCommand','DocumentListPropertiesUtils','handleListStyleCommand','getAttribute','markMultiRangeBlockFormat','from','numbered','registerDescriptionCallback','replace'];(function(_0x13c8a6,_0x3aa2c2){const _0x58d15c=function(_0x2b4a68){while(--_0x2b4a68){_0x13c8a6['push'](_0x13c8a6['shift']());}};_0x58d15c(++_0x3aa2c2);}(_0x3aa2,0xb7));const _0x58d1=function(_0x13c8a6,_0x3aa2c2){_0x13c8a6=_0x13c8a6-0x0;let _0x58d15c=_0x3aa2[_0x13c8a6];return _0x58d15c;};import{Plugin as _0x50c279}from'ckeditor5/src/core';import{getTranslation as _0x166f53}from'../utils/common-translations';export default class At extends _0x50c279{[_0x58d1('0x33')](){if(!this[_0x58d1('0x1f')][_0x58d1('0x3')][_0x58d1('0xc')](_0x58d1('0x32')))return;const _0x13d87f=this[_0x58d1('0x1f')]['config'][_0x58d1('0x1')](_0x58d1('0x0')),_0x25734e=this[_0x58d1('0x1f')][_0x58d1('0x3')][_0x58d1('0x1')](_0x58d1('0x20'));_0x13d87f[_0x58d1('0x1d')]&&_0x25734e[_0x58d1('0x9')](_0x58d1('0x2f'),this[_0x58d1('0x16')][_0x58d1('0x25')](this)),_0x13d87f[_0x58d1('0x8')]&&_0x25734e[_0x58d1('0x9')](_0x58d1('0x6'),this[_0x58d1('0x14')][_0x58d1('0x25')](this)),_0x13d87f[_0x58d1('0x4')]&&_0x25734e['enableCommand'](_0x58d1('0x2'),this[_0x58d1('0x2d')][_0x58d1('0x25')](this)),_0x25734e['_descriptionFactory'][_0x58d1('0x1b')](this['handleDescriptions'][_0x58d1('0x25')](this));}[_0x58d1('0x16')](_0x4c53b7,_0x135488={}){const _0x16807a=this['editor']['plugins']['get'](_0x58d1('0x20')),_0x4e01ba=this[_0x58d1('0xa')]();this[_0x58d1('0x1f')][_0x58d1('0x12')][_0x58d1('0xf')](()=>{_0x16807a[_0x58d1('0x18')](_0x4e01ba,{'commandName':_0x58d1('0x2f'),'commandParams':[{'type':_0x135488[_0x58d1('0x5')]}],'formatGroupId':_0x58d1('0x2f')});});}[_0x58d1('0x14')](_0x16d98d,_0x5b2b15={}){const _0x2dfe22=this[_0x58d1('0x1f')][_0x58d1('0x3')]['get'](_0x58d1('0x20')),_0x269cd7=this['editor'][_0x58d1('0x3')][_0x58d1('0x1')](_0x58d1('0x21')),_0x9cf84=this[_0x58d1('0x29')](_0x5f0b41=>_0x269cd7[_0x58d1('0x34')](_0x5f0b41)&&_0x58d1('0x1a')===_0x5f0b41[_0x58d1('0x17')](_0x58d1('0x2a')));null!==_0x9cf84&&this[_0x58d1('0x1f')][_0x58d1('0x12')][_0x58d1('0xf')](()=>{_0x2dfe22[_0x58d1('0x18')](_0x9cf84,{'commandName':'listReversed','commandParams':[{'reversed':_0x5b2b15[_0x58d1('0x8')]}],'formatGroupId':_0x58d1('0x6')});});}[_0x58d1('0x2d')](_0x2e56dc,_0x32aa2d={}){const _0x22d4a3=this['editor'][_0x58d1('0x3')][_0x58d1('0x1')](_0x58d1('0x20')),_0x1e79ff=this[_0x58d1('0x1f')]['plugins'][_0x58d1('0x1')](_0x58d1('0x21')),_0x2822cf=this[_0x58d1('0x29')](_0xcab8fc=>_0x1e79ff[_0x58d1('0x34')](_0xcab8fc)&&_0x58d1('0x1a')===_0xcab8fc['getAttribute'](_0x58d1('0x2a')));null!==_0x2822cf&&this['editor']['model'][_0x58d1('0xf')](()=>{_0x22d4a3[_0x58d1('0x18')](_0x2822cf,{'commandName':_0x58d1('0x2'),'commandParams':[{'startIndex':_0x32aa2d[_0x58d1('0x4')]}],'formatGroupId':_0x58d1('0x2')});});}[_0x58d1('0x27')](_0x226773){const _0x3d38cf=this[_0x58d1('0x1f')][_0x58d1('0xd')],{data:_0x59c279}=_0x226773;if(!_0x59c279)return;let _0x5a46d2,_0x5c9120;switch(_0x59c279[_0x58d1('0x31')]){case _0x58d1('0x2f'):_0x5a46d2=_0x58d1('0x2b'),_0x5c9120={'type':_0x58d1('0x13'),'content':_0x166f53(_0x3d38cf,_0x5a46d2,_0x166f53(_0x3d38cf,this[_0x58d1('0x30')](_0x59c279['commandParams'][0x0][_0x58d1('0x5')])))};break;case _0x58d1('0x6'):_0x5a46d2=_0x59c279[_0x58d1('0x23')][0x0][_0x58d1('0x8')]?_0x58d1('0x11'):'*Format:*\x20set\x20order\x20to\x20regular',_0x5c9120={'type':'format','content':_0x166f53(_0x3d38cf,_0x5a46d2)};break;case _0x58d1('0x2'):_0x5a46d2=_0x58d1('0x22'),_0x5c9120={'type':_0x58d1('0x13'),'content':_0x166f53(_0x3d38cf,_0x5a46d2,_0x59c279['commandParams'][0x0][_0x58d1('0x4')])};}return _0x5c9120;}['_getSuggestionBlocksForListStyle'](){const _0x5b3b4a=this['editor'][_0x58d1('0x3')][_0x58d1('0x1')](_0x58d1('0x21'));let _0x3cc846=Array['from'](this[_0x58d1('0x1f')][_0x58d1('0x12')][_0x58d1('0x1e')]['selection']['getSelectedBlocks']());return _0x3cc846[_0x58d1('0x2e')](..._0x5b3b4a[_0x58d1('0x24')](_0x3cc846)),_0x3cc846=[...new Set(_0x3cc846)],_0x3cc846;}[_0x58d1('0x29')](_0x524f78){const _0x57f40d=this['editor'][_0x58d1('0x3')]['get']('DocumentListUtils');let _0x1e501f=Array[_0x58d1('0x19')](this[_0x58d1('0x1f')]['model'][_0x58d1('0x1e')][_0x58d1('0x10')]['getSelectedBlocks']())[_0x58d1('0xb')](_0x524f78);if(!_0x1e501f[_0x58d1('0x28')])return null;_0x1e501f=_0x57f40d[_0x58d1('0x24')](_0x1e501f);const _0x6d72ec=[];for(const _0x3b1f15 of _0x1e501f)_0x57f40d['isFirstBlockOfListItem'](_0x3b1f15)&&_0x6d72ec[_0x58d1('0x2e')](_0x3b1f15);return _0x6d72ec;}[_0x58d1('0x30')](_0x33957a){return _0x58d1('0x7')+this[_0x58d1('0x1f')]['plugins'][_0x58d1('0x1')](_0x58d1('0x15'))[_0x58d1('0x26')](_0x33957a)[_0x58d1('0x2c')]()+_0x58d1('0xe')+_0x33957a['toUpperCase']()[_0x58d1('0x1c')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x358a=['end','enterBlock','afterExecute','getFirstPosition','get','split','detach','setSelection','change','remove','high','model','ck-suggestion-marker-split','createRange','plugins','document','parent','enableCommand','data','mapper','downcastDispatcher','showSuggestionHighlights','hasClass','createPositionAt','markerName','bind','selection','commands','fromRange','init','getFirstRange','editing','enter','markerNameToElements','unbindElementFromMarkerName'];(function(_0x4f8b72,_0x358a74){const _0x541184=function(_0x32590e){while(--_0x32590e){_0x4f8b72['push'](_0x4f8b72['shift']());}};_0x541184(++_0x358a74);}(_0x358a,0x1b2));const _0x5411=function(_0x4f8b72,_0x358a74){_0x4f8b72=_0x4f8b72-0x0;let _0x541184=_0x358a[_0x4f8b72];return _0x541184;};import{Plugin as _0x3dcd5f}from'ckeditor5/src/core';import{Enter as _0x227716}from'ckeditor5/src/enter';import{LiveRange as _0x218eaa}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2aec3a}from'./utils';export default class q extends _0x3dcd5f{static get['requires'](){return[_0x227716];}[_0x5411('0xf')](){const _0x198d1f=this['editor'],_0x5de501=_0x198d1f[_0x5411('0x0')]['get']('TrackChangesEditing'),_0x275c48=_0x198d1f[_0x5411('0xd')][_0x5411('0x19')](_0x5411('0x12'));_0x5de501[_0x5411('0x3')]('enter',()=>{_0x198d1f['model'][_0x5411('0x1d')](_0x3563a6=>{const _0x5a0475=_0x198d1f[_0x5411('0x20')][_0x5411('0x1')][_0x5411('0xc')],_0x2e1444=_0x5a0475[_0x5411('0x18')](),_0x5ce6f4=_0x218eaa[_0x5411('0xe')](_0x5a0475[_0x5411('0x10')]());if(_0x275c48[_0x5411('0x16')](_0x3563a6)){const _0x375aad=_0x198d1f['model'][_0x5411('0x9')](_0x2e1444[_0x5411('0x2')]['nextSibling'],0x0),_0x1908f2=_0x3563a6[_0x5411('0x22')](_0x2e1444,_0x375aad);_0x5de501['markInsertion'](_0x1908f2);}else _0x3563a6[_0x5411('0x1c')](_0x3563a6[_0x5411('0x22')](_0x5ce6f4[_0x5411('0x15')]));_0x5ce6f4[_0x5411('0x1b')](),_0x275c48['fire'](_0x5411('0x17'),{'writer':_0x3563a6});});}),_0x198d1f[_0x5411('0x11')][_0x5411('0x6')]['on']('addMarker:suggestion:insertion',_0x2aec3a(_0x198d1f,'split'),{'priority':_0x5411('0x1f')}),_0x198d1f[_0x5411('0x11')][_0x5411('0x6')]['on']('removeMarker:suggestion:insertion',(_0x4e5bb4,_0x10427,_0x794de0)=>{const _0x4773b0=_0x794de0[_0x5411('0x5')][_0x5411('0x13')](_0x10427[_0x5411('0xa')]);if(_0x4773b0)for(const _0x4d96fd of _0x4773b0)_0x4d96fd[_0x5411('0x8')](_0x5411('0x21'))&&(_0x794de0[_0x5411('0x5')][_0x5411('0x14')](_0x4d96fd,_0x10427[_0x5411('0xa')]),_0x794de0['writer'][_0x5411('0x1e')](_0x4d96fd));},{'priority':_0x5411('0x1f')}),_0x198d1f[_0x5411('0x4')][_0x5411('0x6')]['on']('addMarker:suggestion:insertion',(_0x4addd9,_0x443c36,_0x2fd45d)=>{_0x2fd45d['options'][_0x5411('0x7')]&&_0x2aec3a(_0x198d1f,_0x5411('0x1a'),{'showActiveMarker':!0x1})[_0x5411('0xb')](this)(_0x4addd9,_0x443c36,_0x2fd45d);},{'priority':_0x5411('0x1f')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11a7=['FindAndReplaceUtils','afterInit','createPositionAt','plugins','findNext','findByTextCallback','createRange','bind','editor','markers','handleFindCommand','find','getRange','start','get','item','replaceAll','model','string','filter','getIntersection','suggestion:deletion','has','findPrevious','enableCommand','FindAndReplaceEditing'];(function(_0x598fd3,_0x11a7d7){const _0x599067=function(_0x4a2fbe){while(--_0x4a2fbe){_0x598fd3['push'](_0x598fd3['shift']());}};_0x599067(++_0x11a7d7);}(_0x11a7,0x1dc));const _0x5990=function(_0x598fd3,_0x11a7d7){_0x598fd3=_0x598fd3-0x0;let _0x599067=_0x11a7[_0x598fd3];return _0x599067;};import{Plugin as _0x3f8176}from'ckeditor5/src/core';export default class z extends _0x3f8176{[_0x5990('0x13')](){if(!this[_0x5990('0x0')][_0x5990('0x15')][_0x5990('0xe')](_0x5990('0x11')))return;const _0x27d304=this[_0x5990('0x0')][_0x5990('0x15')]['get']('TrackChangesEditing');_0x27d304[_0x5990('0x10')](_0x5990('0x3'),this[_0x5990('0x2')][_0x5990('0x19')](this)),_0x27d304['enableCommand'](_0x5990('0x16')),_0x27d304[_0x5990('0x10')](_0x5990('0xf')),_0x27d304[_0x5990('0x10')]('replace'),_0x27d304[_0x5990('0x10')](_0x5990('0x8'));}[_0x5990('0x2')](_0x3ca418,_0x146790,_0x169759={}){const _0x5f1f57=this[_0x5990('0x0')][_0x5990('0x15')][_0x5990('0x6')](_0x5990('0x12'));void 0x0!==_0x169759&&_0x3ca418(_0x3a3425=>(_0x5990('0xa')==typeof _0x146790?_0x5f1f57[_0x5990('0x17')](_0x146790,_0x169759):_0x146790)(_0x3a3425)[_0x5990('0xb')](_0x72aa0c=>!0x1===this['_isInDeletionRange'](_0x72aa0c,_0x3a3425[_0x5990('0x7')])),_0x169759);}['_isInDeletionRange'](_0x26cb3a,_0x5457ab){const _0x2f466f=this[_0x5990('0x0')][_0x5990('0x9')][_0x5990('0x18')](this['editor'][_0x5990('0x9')][_0x5990('0x14')](_0x5457ab,_0x26cb3a[_0x5990('0x5')]),this[_0x5990('0x0')][_0x5990('0x9')][_0x5990('0x14')](_0x5457ab,_0x26cb3a['end']));for(const _0x279395 of this[_0x5990('0x0')][_0x5990('0x9')][_0x5990('0x1')]['getMarkersGroup'](_0x5990('0xd')))if(null!==_0x2f466f[_0x5990('0xc')](_0x279395[_0x5990('0x4')]()))return!0x0;return!0x1;}}
|