@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230821.0 → 0.0.0-nightly-20230821.1
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-20230821.
|
|
3
|
+
"version": "0.0.0-nightly-20230821.1",
|
|
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-20230821.
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-20230821.
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230821.1",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230821.1",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bee=['TrackChangesEditing','refresh','editor','canEditAt','_suggestions','get','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','execute','model','getRanges'];(function(_0x17ad3f,_0x1beeac){const _0x27f687=function(_0x245d08){while(--_0x245d08){_0x17ad3f['push'](_0x17ad3f['shift']());}};_0x27f687(++_0x1beeac);}(_0x1bee,0xc7));const _0x27f6=function(_0x17ad3f,_0x1beeac){_0x17ad3f=_0x17ad3f-0x0;let _0x27f687=_0x1bee[_0x17ad3f];return _0x27f687;};import{Command as _0x348b8b}from'ckeditor5/src/core';import{CKEditorError as _0x18a976}from'ckeditor5/src/utils';export default class M extends _0x348b8b{constructor(_0x347186,_0x55b315){super(_0x347186),this[_0x27f6('0x3')]=_0x55b315,this[_0x27f6('0x0')](),this[_0x27f6('0x6')]=!0x1;}[_0x27f6('0x0')](){this['isEnabled']=!0x0;}[_0x27f6('0x7')](_0x109af6){const _0x233173=this[_0x27f6('0x3')][_0x27f6('0x4')](_0x109af6);if(!_0x233173)throw new _0x18a976(_0x27f6('0x5'),this);const _0x1ffce7=_0x233173[_0x27f6('0x9')]();this[_0x27f6('0x1')][_0x27f6('0x8')][_0x27f6('0x2')](_0x1ffce7)&&this[_0x27f6('0x1')]['plugins'][_0x27f6('0x4')](_0x27f6('0xa'))['acceptSuggestion'](_0x233173);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e73=['discardSuggestion','plugins','model','_isEnabledBasedOnSelection','execute','_suggestions','editor','canEditAt','refresh','getRanges','isEnabled','track-changes-discard-suggestion-not-found'];(function(_0x2372be,_0x3e73cb){const _0x2c3ba6=function(_0x73ebe6){while(--_0x73ebe6){_0x2372be['push'](_0x2372be['shift']());}};_0x2c3ba6(++_0x3e73cb);}(_0x3e73,0xf9));const _0x2c3b=function(_0x2372be,_0x3e73cb){_0x2372be=_0x2372be-0x0;let _0x2c3ba6=_0x3e73[_0x2372be];return _0x2c3ba6;};import{Command as _0x242803}from'ckeditor5/src/core';import{CKEditorError as _0x4d3154}from'ckeditor5/src/utils';export default class $ extends _0x242803{constructor(_0x5ad73c,_0x51f904){super(_0x5ad73c),this[_0x2c3b('0x8')]=_0x51f904,this[_0x2c3b('0xb')](),this[_0x2c3b('0x6')]=!0x1;}['refresh'](){this[_0x2c3b('0x1')]=!0x0;}[_0x2c3b('0x7')](_0x2eaaf7){const _0xc05f71=this[_0x2c3b('0x8')]['get'](_0x2eaaf7);if(!_0xc05f71)throw new _0x4d3154(_0x2c3b('0x2'),this);const _0x4f14ac=_0xc05f71[_0x2c3b('0x0')]();this[_0x2c3b('0x9')][_0x2c3b('0x5')][_0x2c3b('0xa')](_0x4f14ac)&&this['editor'][_0x2c3b('0x4')]['get']('TrackChangesEditing')[_0x2c3b('0x3')](_0xc05f71);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdd9c=['values','_suggestions','model','canEditAt','isEnabled','from','_command','some','execute','_isEnabledBasedOnSelection','getRanges','editor','refresh'];(function(_0x33f800,_0xdd9c92){const _0x5ecb66=function(_0x15594f){while(--_0x15594f){_0x33f800['push'](_0x33f800['shift']());}};_0x5ecb66(++_0xdd9c92);}(_0xdd9c,0x13e));const _0x5ecb=function(_0x33f800,_0xdd9c92){_0x33f800=_0x33f800-0x0;let _0x5ecb66=_0xdd9c[_0x33f800];return _0x5ecb66;};import{Command as _0xa173c7}from'ckeditor5/src/core';import{sortSuggestions as _0x3cced2,executeCommandForSuggestions as _0x3ea69a}from'../utils/utils';export default class N extends _0xa173c7{constructor(_0x507bd3,_0x4db4ac,_0x5a1f45){super(_0x507bd3),this[_0x5ecb('0x0')]=_0x4db4ac,this[_0x5ecb('0x8')]=_0x5a1f45,this[_0x5ecb('0x6')](),this[_0x5ecb('0x3')]=!0x1;}[_0x5ecb('0x6')](){const _0x12cac7=Array[_0x5ecb('0xc')](this[_0x5ecb('0x8')][_0x5ecb('0x7')]())[_0x5ecb('0x1')](_0x30595f=>_0x30595f['isInContent']);this[_0x5ecb('0xb')]=this[_0x5ecb('0x0')]['isEnabled']&&_0x12cac7;}[_0x5ecb('0x2')](){const _0x50e4c3=_0x3cced2(Array[_0x5ecb('0xc')](this[_0x5ecb('0x8')][_0x5ecb('0x7')]()));for(const _0x5df8ae of _0x50e4c3){const _0x46ce84=_0x5df8ae[_0x5ecb('0x4')]();if(!this[_0x5ecb('0x5')]['model'][_0x5ecb('0xa')](_0x46ce84))return;}_0x3ea69a(this[_0x5ecb('0x5')][_0x5ecb('0x9')],this['_command'],_0x50e4c3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25dc=['execute','selection','from','getRanges','canEditAt','refresh','size','_suggestions','editor','isEnabled','model','_command','_selectedSuggestions'];(function(_0xa9bdc1,_0x25dcce){const _0xf1d7c3=function(_0xa86e3e){while(--_0xa86e3e){_0xa9bdc1['push'](_0xa9bdc1['shift']());}};_0xf1d7c3(++_0x25dcce);}(_0x25dc,0x90));const _0xf1d7=function(_0xa9bdc1,_0x25dcce){_0xa9bdc1=_0xa9bdc1-0x0;let _0xf1d7c3=_0x25dc[_0xa9bdc1];return _0xf1d7c3;};import{Command as _0x2057f8}from'ckeditor5/src/core';import{sortSuggestions as _0xc083a0,getSelectedSuggestions as _0x252379,executeCommandForSuggestions as _0x12ea9f}from'../utils/utils';export default class R extends _0x2057f8{constructor(_0x1dec1b,_0x101a6d,_0xb5dc9f){super(_0x1dec1b),this[_0xf1d7('0xa')]=_0x101a6d,this[_0xf1d7('0x6')]=_0xb5dc9f,this[_0xf1d7('0xb')]=new Set(),this[_0xf1d7('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0xf1d7('0x4')](){const _0x10ccd7=this['editor']['model']['document'][_0xf1d7('0x0')],_0x4b545b=Array[_0xf1d7('0x1')](this['_suggestions']['values']());this[_0xf1d7('0xb')]=_0x252379(_0x10ccd7,_0x4b545b),this[_0xf1d7('0x8')]=this[_0xf1d7('0xa')][_0xf1d7('0x8')]&&!!this[_0xf1d7('0xb')][_0xf1d7('0x5')];}[_0xf1d7('0xc')](){const _0x40d03d=_0xc083a0(Array[_0xf1d7('0x1')](this[_0xf1d7('0xb')]));for(const _0x39e233 of _0x40d03d){const _0x1cb478=_0x39e233[_0xf1d7('0x2')]();if(!this[_0xf1d7('0x7')]['model'][_0xf1d7('0x3')](_0x1cb478))return;}_0x12ea9f(this[_0xf1d7('0x7')][_0xf1d7('0x9')],this[_0xf1d7('0xa')],_0x40d03d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14b9=['editor','_enabledCommands','_disableUnsupportedCommands','has','refresh','_isEnabledBasedOnSelection','commands','value','TrackChangesCommand','execute','_enableCommands','affectsData','clearForceDisabled','isEnabled','forceDisabled'];(function(_0x4b33f2,_0x14b9b5){const _0x1c700d=function(_0x44aba4){while(--_0x44aba4){_0x4b33f2['push'](_0x4b33f2['shift']());}};_0x1c700d(++_0x14b9b5);}(_0x14b9,0x1a0));const _0x1c70=function(_0x4b33f2,_0x14b9b5){_0x4b33f2=_0x4b33f2-0x0;let _0x1c700d=_0x14b9[_0x4b33f2];return _0x1c700d;};import{Command as _0xd70925}from'ckeditor5/src/core';export default class _ extends _0xd70925{constructor(_0x39eb6f,_0x46e64b){super(_0x39eb6f),this[_0x1c70('0x5')]=_0x46e64b,this[_0x1c70('0xb')]=!0x1,this[_0x1c70('0x8')](),this[_0x1c70('0x9')]=!0x1;}[_0x1c70('0x8')](){this[_0x1c70('0x2')]=!0x0;}[_0x1c70('0xd')](){this[_0x1c70('0xb')]=!this[_0x1c70('0xb')],this['value']?this[_0x1c70('0x6')]():this['_enableCommands']();}[_0x1c70('0x6')](){for(const _0x4181f6 of this[_0x1c70('0x4')][_0x1c70('0xa')][_0x1c70('0xa')]())_0x4181f6[_0x1c70('0x0')]&&!this['_enabledCommands'][_0x1c70('0x7')](_0x4181f6)&&_0x4181f6[_0x1c70('0x3')](_0x1c70('0xc'));}[_0x1c70('0xe')](){for(const _0x2a63d3 of this[_0x1c70('0x4')][_0x1c70('0xa')][_0x1c70('0xa')]())_0x2a63d3['affectsData']&&!this[_0x1c70('0x5')]['has'](_0x2a63d3)&&_0x2a63d3[_0x1c70('0x1')](_0x1c70('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cb9=['document','model','plugins','FORMAT_ALIGN_TO_CENTER','*Format:*\x20%0','has','filter','afterInit','alignment','commandName','TrackChangesEditing','locale','ltr','enableCommand','value','center','FORMAT_ALIGN_TO_LEFT','right','selection','get','_descriptionFactory','justify','schema','change','contentLanguageDirection','FORMAT_ALIGN_TO_RIGHT','FORMAT_JUSTIFY_TEXT','registerDescriptionCallback','getSelectedBlocks','format','markBlockFormat'];(function(_0x52ef82,_0x3cb989){const _0x2393f8=function(_0x1b9882){while(--_0x1b9882){_0x52ef82['push'](_0x52ef82['shift']());}};_0x2393f8(++_0x3cb989);}(_0x3cb9,0x1c0));const _0x2393=function(_0x52ef82,_0x3cb989){_0x52ef82=_0x52ef82-0x0;let _0x2393f8=_0x3cb9[_0x52ef82];return _0x2393f8;};import{Plugin as _0x93a5ef}from'ckeditor5/src/core';import{getTranslation as _0x508982}from'../utils/common-translations';export default class x extends _0x93a5ef{[_0x2393('0x18')](){const _0x4968f5=this['editor'],_0x18c488=_0x4968f5['locale'];if(!_0x4968f5[_0x2393('0x13')][_0x2393('0x16')]('AlignmentEditing'))return;const _0x1afc74=_0x4968f5['plugins'][_0x2393('0x5')](_0x2393('0x1b'));_0x1afc74[_0x2393('0x1e')](_0x2393('0x19'),(_0x44c263,_0x2986a9={})=>{let _0x51823d=_0x2986a9[_0x2393('0x0')];_0x2986a9['value']||(_0x51823d=_0x2393('0x1d')===_0x4968f5[_0x2393('0x1c')][_0x2393('0xa')]?'left':_0x2393('0x3'));const _0x3c8c5d=Array['from'](this['editor'][_0x2393('0x12')][_0x2393('0x11')][_0x2393('0x4')][_0x2393('0xe')]())[_0x2393('0x17')](_0x524d98=>function(_0x5ea35f,_0x54a785,_0x39f47f){const _0x2579d8=_0x5ea35f['getAttribute']('alignment')||null;return _0x54a785['checkAttribute'](_0x5ea35f,_0x2393('0x19'))&&_0x39f47f!=_0x2579d8;}(_0x524d98,this['editor'][_0x2393('0x12')][_0x2393('0x8')],_0x51823d));_0x4968f5[_0x2393('0x12')][_0x2393('0x9')](()=>{for(const _0x4b460a of _0x3c8c5d)_0x1afc74[_0x2393('0x10')](_0x4b460a,{'commandName':_0x2393('0x19'),'commandParams':[{'value':_0x51823d}]});});}),_0x1afc74[_0x2393('0x6')][_0x2393('0xd')](_0x36fc60=>{const {data:_0x32d0a1}=_0x36fc60;if(_0x32d0a1&&_0x2393('0x19')==_0x32d0a1[_0x2393('0x1a')]){const _0xb7a310=_0x32d0a1['commandParams'][0x0][_0x2393('0x0')];return{'type':_0x2393('0xf'),'content':_0x508982(_0x18c488,_0x2393('0x15'),function(_0x552174){switch(_0x552174){case'left':return _0x508982(_0x18c488,_0x2393('0x2'));case'right':return _0x508982(_0x18c488,_0x2393('0xb'));case _0x2393('0x1'):return _0x508982(_0x18c488,_0x2393('0x14'));case _0x2393('0x7'):return _0x508982(_0x18c488,_0x2393('0xc'));}}(_0xb7a310))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15f5=['ItalicEditing','format','from','plugins','toLowerCase','get','model','FORMAT_UNDERLINE','document','afterInit','markInlineFormat','BoldEditing','forceValue','value','enableCommand','registerDescriptionCallback','FORMAT_BOLD','_descriptionFactory','StrikethroughEditing','slice','superscript','FORMAT_SUBSCRIPT','CodeEditing','underline','has','editor','subscript','FORMAT_ITALIC','*Remove\x20format:*\x20%0','TrackChangesEditing','commandParams','SubscriptEditing','*Format:*\x20%0','SuperscriptEditing','locale','FORMAT_CODE','FORMAT_STRIKETHROUGH','change','italic','UnderlineEditing','selection','bold','FORMAT_SUPERSCRIPT'];(function(_0x45a1b8,_0x15f5a8){const _0x27f7c2=function(_0x3df2dc){while(--_0x3df2dc){_0x45a1b8['push'](_0x45a1b8['shift']());}};_0x27f7c2(++_0x15f5a8);}(_0x15f5,0x188));const _0x27f7=function(_0x45a1b8,_0x15f5a8){_0x45a1b8=_0x45a1b8-0x0;let _0x27f7c2=_0x15f5[_0x45a1b8];return _0x27f7c2;};import{Plugin as _0x341894}from'ckeditor5/src/core';import{getTranslation as _0x22113c}from'../utils/common-translations';import{getRangesWithAttribute as _0x31e6ca}from'./utils';const Kt=[_0x27f7('0x6'),_0x27f7('0x26'),_0x27f7('0x22'),_0x27f7('0x11'),_0x27f7('0xd'),_0x27f7('0x1a'),_0x27f7('0x1c')];export default class U extends _0x341894{[_0x27f7('0x4')](){const _0x5d9c7e=this[_0x27f7('0x14')],_0x384a2e=_0x5d9c7e[_0x27f7('0x1')],_0x35514e=_0x5d9c7e[_0x27f7('0x29')][_0x27f7('0x0')](_0x27f7('0x18')),_0x5db695=_0x5d9c7e[_0x27f7('0x1d')];for(const _0xff064d of Kt){if(!_0x5d9c7e['plugins'][_0x27f7('0x13')](_0xff064d))continue;const _0x3172f6=_0xff064d[_0x27f7('0xe')](0x0,-0x7)[_0x27f7('0x2a')](),_0x161781=_0x5d9c7e['commands'][_0x27f7('0x0')](_0x3172f6);_0x35514e[_0x27f7('0x9')](_0x3172f6,(_0x117d20,_0x515f92={})=>{const _0x20c722=_0x384a2e[_0x27f7('0x3')][_0x27f7('0x23')];if(_0x20c722['isCollapsed'])return void _0x117d20(_0x515f92);const _0x14cfa9=void 0x0!==_0x515f92[_0x27f7('0x7')]?_0x515f92[_0x27f7('0x7')]:!_0x161781[_0x27f7('0x8')];_0x384a2e[_0x27f7('0x20')](()=>{const _0x2f93de=Array[_0x27f7('0x28')](_0x20c722['getRanges']());for(const _0x3d99ce of _0x2f93de){const _0x323804=_0x14cfa9?[_0x3d99ce]:_0x31e6ca(_0x3172f6,_0x3d99ce,_0x384a2e);for(const _0x2df335 of _0x323804)_0x35514e[_0x27f7('0x5')](_0x2df335,{'commandName':_0x3172f6,'commandParams':[{'forceValue':_0x14cfa9}]});}});});}function _0x3ed59c(_0x5f3702,_0x4ef98d){_0x35514e[_0x27f7('0xc')][_0x27f7('0xa')](_0x3ffe67=>{const {data:_0x3709e4}=_0x3ffe67;if(_0x3709e4&&_0x3709e4['commandName']===_0x5f3702)return _0x3709e4[_0x27f7('0x19')][0x0][_0x27f7('0x7')]?{'type':_0x27f7('0x27'),'content':_0x22113c(_0x5db695,_0x27f7('0x1b'),_0x4ef98d)}:{'type':_0x27f7('0x27'),'content':_0x22113c(_0x5db695,_0x27f7('0x17'),_0x4ef98d)};});}_0x3ed59c(_0x27f7('0x24'),_0x22113c(_0x5db695,_0x27f7('0xb'))),_0x3ed59c(_0x27f7('0x21'),_0x22113c(_0x5db695,_0x27f7('0x16'))),_0x3ed59c(_0x27f7('0x12'),_0x22113c(_0x5db695,_0x27f7('0x2'))),_0x3ed59c('code',_0x22113c(_0x5db695,_0x27f7('0x1e'))),_0x3ed59c('strikethrough',_0x22113c(_0x5db695,_0x27f7('0x1f'))),_0x3ed59c(_0x27f7('0x15'),_0x22113c(_0x5db695,_0x27f7('0x10'))),_0x3ed59c(_0x27f7('0xf'),_0x22113c(_0x5db695,_0x27f7('0x25')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dac=['parent','blockQuote','get','*Remove\x20format:*\x20%0','_descriptionFactory','model','commands','*Format:*\x20%0','BlockQuoteEditing','registerDescriptionCallback','editor','checkChild','name','commandParams','plugins','document','$root','locale','filter','selection','format','getSelectedBlocks'];(function(_0x28c2a2,_0x2dac63){const _0x2069de=function(_0x3579b6){while(--_0x3579b6){_0x28c2a2['push'](_0x28c2a2['shift']());}};_0x2069de(++_0x2dac63);}(_0x2dac,0x10f));const _0x2069=function(_0x28c2a2,_0x2dac63){_0x28c2a2=_0x28c2a2-0x0;let _0x2069de=_0x2dac[_0x28c2a2];return _0x2069de;};import{Plugin as _0x101542}from'ckeditor5/src/core';import{getTranslation as _0x836edc}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x264112}from'../utils/utils';export default class j extends _0x101542{['afterInit'](){const _0x16d1eb=this[_0x2069('0x3')],_0x24dd6b=_0x16d1eb[_0x2069('0xa')];if(!_0x16d1eb[_0x2069('0x7')]['has'](_0x2069('0x1')))return;const _0x4f7af5=_0x16d1eb[_0x2069('0x7')][_0x2069('0x11')]('TrackChangesEditing'),_0x5ed87d=this[_0x2069('0x3')][_0x2069('0x15')]['get'](_0x2069('0x10'));_0x4f7af5['enableCommand']('blockQuote',(_0x37aebf,_0x2c921b={})=>{const _0x153c4d=this[_0x2069('0x3')]['model'][_0x2069('0x8')][_0x2069('0xc')],_0x33c105=_0x2c921b&&void 0x0!==_0x2c921b['forceValue']?_0x2c921b['forceValue']:!_0x5ed87d['value'];let _0x1192fe=[];if(_0x33c105){const _0x1503be=Array['from'](_0x153c4d[_0x2069('0xe')]())['filter'](_0x2a4cc6=>Xt(_0x2a4cc6)||function(_0x47cf28,_0x8584ca){const _0x41ea7a=_0x8584ca[_0x2069('0x4')](_0x47cf28[_0x2069('0xf')],'blockQuote'),_0x5cbfef=_0x8584ca[_0x2069('0x4')]([_0x2069('0x9'),_0x2069('0x10')],_0x47cf28);return _0x41ea7a&&_0x5cbfef;}(_0x2a4cc6,this['editor']['model']['schema']));_0x1192fe=_0x264112(_0x1503be,_0x16d1eb['model']);}else{const _0x2dc973=Array['from'](_0x153c4d[_0x2069('0xe')]())[_0x2069('0xb')](_0xb5d3e8=>Xt(_0xb5d3e8));_0x1192fe=_0x264112(_0x2dc973,_0x16d1eb[_0x2069('0x14')]);}_0x16d1eb[_0x2069('0x14')]['change'](()=>{for(const _0x5ec954 of _0x1192fe)_0x4f7af5['markBlockFormat'](_0x5ec954,{'commandName':_0x2069('0x10'),'commandParams':[{'forceValue':_0x33c105}]});});}),_0x4f7af5[_0x2069('0x13')][_0x2069('0x2')](_0x471cda=>{const {data:_0x421c68}=_0x471cda;if(_0x421c68&&_0x2069('0x10')==_0x421c68['commandName']){const _0x478758=_0x836edc(_0x24dd6b,'ELEMENT_BLOCK_QUOTE');return _0x421c68[_0x2069('0x6')][0x0]['forceValue']?{'type':_0x2069('0xd'),'content':_0x836edc(_0x24dd6b,_0x2069('0x0'),_0x478758)}:{'type':'format','content':_0x836edc(_0x24dd6b,_0x2069('0x12'),_0x478758)};}});}}function Xt(_0x51654e){return'blockQuote'==_0x51654e[_0x2069('0xf')][_0x2069('0x5')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf766=['editor','commands','enableCommand','plugins','TrackChangesEditing','ckbox','get','afterInit'];(function(_0x548cce,_0xf76656){const _0x326e61=function(_0x3d2a3f){while(--_0x3d2a3f){_0x548cce['push'](_0x548cce['shift']());}};_0x326e61(++_0xf76656);}(_0xf766,0x1c7));const _0x326e=function(_0x548cce,_0xf76656){_0x548cce=_0x548cce-0x0;let _0x326e61=_0xf766[_0x548cce];return _0x326e61;};import{Plugin as _0x331b94}from'ckeditor5/src/core';export default class E extends _0x331b94{[_0x326e('0x0')](){const _0x34253f=this[_0x326e('0x1')];_0x34253f[_0x326e('0x2')][_0x326e('0x7')]('ckbox')&&_0x34253f[_0x326e('0x4')][_0x326e('0x7')](_0x326e('0x5'))[_0x326e('0x3')](_0x326e('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc4ea=['TrackChangesEditing','languages','config','commandParams','label','blockName','isLimit','CodeBlock','commandName','registerElementLabel','plugins','afterInit','filter','selection','enableCommand','model','codeBlock','has','commands','language','from','value','find','schema','getSelectedBlocks','change','forceValue','get','outdentCodeBlock','*Remove\x20format:*\x20%0','editor','ELEMENT_CODE_BLOCK','_descriptionFactory','markBlockFormat','checkChild','document'];(function(_0x221d63,_0xc4eaa2){const _0x2d9961=function(_0xdc5766){while(--_0xdc5766){_0x221d63['push'](_0x221d63['shift']());}};_0x2d9961(++_0xc4eaa2);}(_0xc4ea,0xf3));const _0x2d99=function(_0x221d63,_0xc4eaa2){_0x221d63=_0x221d63-0x0;let _0x2d9961=_0xc4ea[_0x221d63];return _0x2d9961;};import{Plugin as _0x1f0464}from'ckeditor5/src/core';import{getTranslation as _0x4856a7}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x977087}from'../utils/utils';export default class O extends _0x1f0464{[_0x2d99('0x14')](){const _0x38943b=this[_0x2d99('0x3')];if(!_0x38943b[_0x2d99('0x13')][_0x2d99('0x1a')](_0x2d99('0x10')))return;const _0x26e33b=_0x38943b['plugins'][_0x2d99('0x0')](_0x2d99('0x9')),_0x2bc131=_0x38943b['locale'],_0x3e0e98=_0x38943b[_0x2d99('0xb')][_0x2d99('0x0')]('codeBlock')[_0x2d99('0xa')],_0xa81852=_0x38943b[_0x2d99('0x1b')][_0x2d99('0x0')](_0x2d99('0x19'));_0x26e33b[_0x2d99('0x17')]('indentCodeBlock'),_0x26e33b[_0x2d99('0x17')](_0x2d99('0x1')),_0x26e33b[_0x2d99('0x17')](_0x2d99('0x19'),(_0x1e69be,_0x218501={})=>{const _0x43636d=_0x38943b['model'],_0xde08c5=_0x38943b[_0x2d99('0x18')][_0x2d99('0x8')][_0x2d99('0x16')],_0x58cd5b=_0x218501&&void 0x0!==_0x218501[_0x2d99('0x23')]?_0x218501[_0x2d99('0x23')]:!_0xa81852[_0x2d99('0x1e')];let _0x7d5af3;_0x218501['language']||(_0x218501[_0x2d99('0x1c')]=_0x3e0e98[0x0][_0x2d99('0x1c')]),_0x7d5af3=_0x58cd5b?Array[_0x2d99('0x1d')](_0xde08c5[_0x2d99('0x21')]())[_0x2d99('0x15')](_0x213d2a=>oo(_0x213d2a)||function(_0xb56170,_0x5cb5e8){if(_0xb56170['is']('rootElement')||_0x5cb5e8[_0x2d99('0xf')](_0xb56170))return!0x1;return _0x5cb5e8[_0x2d99('0x7')](_0xb56170['parent'],_0x2d99('0x19'));}(_0x213d2a,_0x43636d[_0x2d99('0x20')])):Array[_0x2d99('0x1d')](_0xde08c5[_0x2d99('0x21')]())['filter'](_0x50f038=>oo(_0x50f038));const _0x4d2f79=_0x977087(_0x7d5af3,_0x43636d);_0x43636d[_0x2d99('0x22')](()=>{for(const _0x57c1be of _0x4d2f79)_0x26e33b[_0x2d99('0x6')](_0x57c1be,{'commandName':'codeBlock','commandParams':[{..._0x218501,'forceValue':_0x58cd5b}],'formatGroupId':_0x2d99('0xe')});});}),(_0x26e33b['_descriptionFactory'][_0x2d99('0x12')](_0x2d99('0x19'),_0x21c4c7=>_0x4856a7(_0x2bc131,_0x2d99('0x4'),_0x21c4c7)),_0x26e33b[_0x2d99('0x5')]['registerDescriptionCallback'](_0x8035cb=>{const _0x2cc5f9=_0x2bc131['t'],{type:_0x227ccc,data:_0x4241a2}=_0x8035cb;if('formatBlock'==_0x227ccc&&_0x4241a2&&_0x2d99('0x19')==_0x4241a2[_0x2d99('0x11')]){const _0x332946=_0x4241a2[_0x2d99('0xc')][0x0][_0x2d99('0x1c')],_0x3d2beb=_0x2cc5f9(_0x3e0e98[_0x2d99('0x1f')](_0xf8a160=>_0xf8a160['language']===_0x332946)[_0x2d99('0xd')]);return _0x4241a2[_0x2d99('0xc')][0x0]['forceValue']?{'type':'format','content':_0x4856a7(_0x2bc131,'*Format:*\x20%0',_0x4856a7(_0x2bc131,_0x2d99('0x4'),0x1)+'\x20('+_0x3d2beb+')')}:{'type':'format','content':_0x4856a7(_0x2bc131,_0x2d99('0x2'),_0x4856a7(_0x2bc131,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x49970a){return _0x2d99('0x19')==_0x49970a['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20dd=['get','afterInit','has','TrackChangesEditing','editor','addCommentThread','CommentsEditing'];(function(_0x1a223e,_0x20ddcd){const _0x384ed6=function(_0x5ca919){while(--_0x5ca919){_0x1a223e['push'](_0x1a223e['shift']());}};_0x384ed6(++_0x20ddcd);}(_0x20dd,0xd1));const _0x384e=function(_0x1a223e,_0x20ddcd){_0x1a223e=_0x1a223e-0x0;let _0x384ed6=_0x20dd[_0x1a223e];return _0x384ed6;};import{Plugin as _0x200ae3}from'ckeditor5/src/core';export default class F extends _0x200ae3{[_0x384e('0x2')](){const _0x239b7e=this[_0x384e('0x5')];if(!_0x239b7e['plugins'][_0x384e('0x3')](_0x384e('0x0')))return;_0x239b7e['plugins'][_0x384e('0x1')](_0x384e('0x4'))['enableCommand'](_0x384e('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a4b=['deleteForward','writer','mapper','createSelection','plugins','requires','lock','init','isCollapsed','bind','get','document','start','editing','markerNameToElements','commands','model','enqueueChange','delete','removeMarker:suggestion:deletion','unbindElementFromMarkerName','fromRange','remove','high','markerName','showSuggestionHighlights','forward','unit','setSelection','merge','selection','createRange','rootName','downcastDispatcher','batch','data','modifySelection','enableCommand','getFirstRange','buffer','$graveyard','root','addMarker:suggestion:deletion'];(function(_0x5bc03d,_0x3a4b47){const _0x2198e0=function(_0x53b88e){while(--_0x53b88e){_0x5bc03d['push'](_0x5bc03d['shift']());}};_0x2198e0(++_0x3a4b47);}(_0x3a4b,0x1e5));const _0x2198=function(_0x5bc03d,_0x3a4b47){_0x5bc03d=_0x5bc03d-0x0;let _0x2198e0=_0x3a4b[_0x5bc03d];return _0x2198e0;};import{Plugin as _0x5f38df}from'ckeditor5/src/core';import{LiveRange as _0x5054f8}from'ckeditor5/src/engine';import{Delete as _0x599d8e}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0xb4f15b}from'./utils';export default class G extends _0x5f38df{static get[_0x2198('0x24')](){return[_0x599d8e];}[_0x2198('0x26')](){const _0x543782=this['editor'],_0x443ebc=_0x543782[_0x2198('0x23')][_0x2198('0x29')]('TrackChangesEditing');_0x443ebc[_0x2198('0x19')](_0x2198('0x6'));const _0x446bf7=_0x543782[_0x2198('0x3')][_0x2198('0x29')](_0x2198('0x1f'));_0x443ebc[_0x2198('0x19')](_0x2198('0x1f'),(_0x3e4702,_0x566496={})=>{const _0xc85220=_0x543782[_0x2198('0x4')][_0x2198('0x22')](_0x543782[_0x2198('0x4')][_0x2198('0x2a')][_0x2198('0x12')]);_0xc85220[_0x2198('0x27')]&&_0x543782[_0x2198('0x4')][_0x2198('0x18')](_0xc85220,{'direction':_0x2198('0xe'),'unit':_0x566496[_0x2198('0xf')]});const _0x59e3f6=_0xc85220[_0x2198('0x1a')](),_0x2ddf2b=_0x5054f8[_0x2198('0x9')](_0x59e3f6);let _0x236175;_0x3e4702(_0x566496),_0x236175=_0x2198('0x1c')==_0x2ddf2b[_0x2198('0x1d')][_0x2198('0x14')]?_0x543782[_0x2198('0x4')][_0x2198('0x13')](_0x59e3f6['start']):_0x543782['model'][_0x2198('0x13')](_0x2ddf2b[_0x2198('0x0')],_0x2ddf2b['end']),_0x2ddf2b['detach'](),_0x543782['model'][_0x2198('0x5')](_0x446bf7['buffer'][_0x2198('0x16')],_0x271c84=>{_0x446bf7[_0x2198('0x1b')][_0x2198('0x25')](),_0x271c84[_0x2198('0x10')](_0x271c84['createRange'](_0x236175['end'])),_0x446bf7[_0x2198('0x1b')]['unlock']();});}),_0x543782[_0x2198('0x1')]['downcastDispatcher']['on'](_0x2198('0x1e'),_0xb4f15b(_0x543782,_0x2198('0x11')),{'priority':_0x2198('0xb')}),_0x543782[_0x2198('0x17')][_0x2198('0x15')]['on']('addMarker:suggestion:deletion',(_0x48f96e,_0x57d113,_0x58c04e)=>{_0x58c04e['options'][_0x2198('0xd')]&&_0xb4f15b(_0x543782,_0x2198('0x11'),{'showActiveMarker':!0x1})[_0x2198('0x28')](this)(_0x48f96e,_0x57d113,_0x58c04e);},{'priority':_0x2198('0xb')}),_0x543782['editing']['downcastDispatcher']['on'](_0x2198('0x7'),(_0x4ec112,_0x326e6a,_0x39d91c)=>{const _0x528794=_0x39d91c[_0x2198('0x21')][_0x2198('0x2')](_0x326e6a[_0x2198('0xc')]);if(_0x528794)for(const _0x2c63d4 of _0x528794)_0x2c63d4['is']('uiElement')&&(_0x39d91c[_0x2198('0x21')][_0x2198('0x8')](_0x2c63d4,_0x326e6a['markerName']),_0x39d91c[_0x2198('0x20')][_0x2198('0xa')](_0x2c63d4));},{'priority':_0x2198('0xb')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe7f4=['format','selection','markMultiRangeBlockFormat','formatBlock','deletion','fromRange','*Format:*\x20remove\x20from\x20%0','_suggestionFactory','_descriptionFactory','createPositionAt','documentList','refresh','document','getAttribute','has','previousSibling','commands','ELEMENT_BULLETED_LIST','isFirstBlockOfListItem','splitListItemBefore','start','nextSibling','*Format:*\x20insert\x20into\x20%0','after','setSelection','enableCommand','forceValue','getFirstRange','listIndent','_LIST','editor','execute','afterInit','mergeListItemBackward','isObject','change','listType','ELEMENT_LIST_ITEM','value','listItemId','map','push','schema','nodeAfter','hasAttribute','from','ELEMENT_NUMBERED_LIST','*Outdent:*\x20%0','splitListItemAfter','*Merge:*\x20%0','detach','DocumentListEditing','*Indent:*\x20%0','toUpperCase','parent','plugins','markBlockFormat','bulletedList','TrackChangesEditing','registerElementLabel','createRange','registerDescriptionCallback','get','indentList','commandName','accept','before','containsItem','numberedList','next','findIndex','commandParams','add','outdentList','getSelectedBlocks','model'];(function(_0x4129de,_0xe7f468){const _0xc1c9ec=function(_0x20d902){while(--_0x20d902){_0x4129de['push'](_0x4129de['shift']());}};_0xc1c9ec(++_0xe7f468);}(_0xe7f4,0x175));const _0xc1c9=function(_0x4129de,_0xe7f468){_0x4129de=_0x4129de-0x0;let _0xc1c9ec=_0xe7f4[_0x4129de];return _0xc1c9ec;};import{Plugin as _0x135737}from'ckeditor5/src/core';import{getTranslation as _0x3d6339}from'../utils/common-translations';import{LiveRange as _0x18556e}from'ckeditor5/src/engine';export default class L extends _0x135737{[_0xc1c9('0x27')](){const _0x7fb25d=this[_0xc1c9('0x25')];if(!_0x7fb25d[_0xc1c9('0x3e')][_0xc1c9('0x15')](_0xc1c9('0x3a')))return;const _0x13bbc2=_0x7fb25d['locale'],_0x410b0d=_0x7fb25d['plugins'][_0xc1c9('0x45')](_0xc1c9('0x41')),_0x4f1933=_0x7fb25d[_0xc1c9('0x3e')]['get']('DocumentListUtils');function _0x4abc79(_0x31a90e){return()=>{const _0x2cac0b=_0x7fb25d[_0xc1c9('0x17')][_0xc1c9('0x45')](_0x31a90e);let _0x28ed72=Array[_0xc1c9('0x34')](_0x7fb25d[_0xc1c9('0x6')]['document'][_0xc1c9('0x8')]['getSelectedBlocks']());if(_0x37e136(_0x31a90e)){_0x28ed72=_0x4f1933['expandListBlocksToCompleteList'](_0x28ed72);const _0x500494=[];for(const _0x2e441f of _0x28ed72)_0x4f1933[_0xc1c9('0x19')](_0x2e441f)&&_0x500494[_0xc1c9('0x30')](_0x2e441f);_0x28ed72=_0x500494;}_0x7fb25d[_0xc1c9('0x6')]['change'](()=>{_0x410b0d[_0xc1c9('0x9')](_0x28ed72,{'commandName':_0x31a90e,'commandParams':[{'forceValue':!_0x2cac0b[_0xc1c9('0x2d')]}],'formatGroupId':_0xc1c9('0x2b')},[],'documentList');});};}function _0x36579f(_0x5d6de2){return()=>{const _0xe7a2c=function(_0x530410){let _0x1fb60a=Array[_0xc1c9('0x34')](_0x530410);const _0x59c859=_0x1fb60a[_0xc1c9('0x1')](_0x1d1451=>!_0x1d1451[_0xc1c9('0x33')](_0xc1c9('0x2e')));return _0x59c859>-0x1&&(_0x1fb60a=_0x1fb60a['slice'](0x0,_0x59c859)),_0x1fb60a;}(_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x13')][_0xc1c9('0x8')][_0xc1c9('0x5')]()),_0x317a04=_0xe7a2c[_0xe7a2c['length']-0x1],_0x3041a2=_0x7fb25d['model']['schema'][_0xc1c9('0x29')](_0x317a04)?_0xc1c9('0x1e'):'end',_0x1af6b5=_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x43')](_0x7fb25d['model'][_0xc1c9('0x10')](_0xe7a2c[0x0],'before'),_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x10')](_0x317a04,_0x3041a2));_0x7fb25d['model'][_0xc1c9('0x2a')](()=>{_0x410b0d['markBlockFormat'](_0x1af6b5,{'commandName':_0x5d6de2,'commandParams':[],'formatGroupId':'listType'},function(_0x310283){const _0x573c22=new Set();for(const _0x59441a of _0x310283){let _0x1a4a6e=_0x59441a[_0xc1c9('0x1c')];for(;_0x1a4a6e&&_0x1a4a6e[_0xc1c9('0x14')](_0xc1c9('0x23'))>_0x59441a['getAttribute'](_0xc1c9('0x23'));)_0x573c22[_0xc1c9('0x3')](_0x1a4a6e),_0x1a4a6e=_0x1a4a6e['nextSibling'];}return Array['from'](_0x573c22);}(_0xe7a2c));});};}function _0x15c5ff(_0x2af455){return()=>{const _0x52cbb3=_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x13')][_0xc1c9('0x8')][_0xc1c9('0x5')]()[_0xc1c9('0x0')]()[_0xc1c9('0x2d')],_0x1cec6a=_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x10')](_0x52cbb3,_0xc1c9('0x49')),_0x2a4ab8=_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x10')](_0x52cbb3,0x0),_0x425a8a=_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x43')](_0x1cec6a,_0x2a4ab8);_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x2a')](()=>{_0x410b0d[_0xc1c9('0x3f')](_0x425a8a,{'commandName':_0x2af455,'commandParams':[],'formatGroupId':_0xc1c9('0x2b')});});};}function _0x37e136(_0x269afe){const _0x57cedd=_0x7fb25d['commands'][_0xc1c9('0x45')](_0xc1c9('0x40'))[_0xc1c9('0x2d')],_0x509a80=_0x7fb25d[_0xc1c9('0x17')]['get']('numberedList')[_0xc1c9('0x2d')];return _0xc1c9('0x4b')===_0x269afe?_0x57cedd:_0x509a80;}_0x410b0d['enableCommand'](_0xc1c9('0x4b'),_0x4abc79(_0xc1c9('0x4b'))),_0x410b0d[_0xc1c9('0x20')]('bulletedList',_0x4abc79('bulletedList')),_0x410b0d['enableCommand'](_0xc1c9('0x46'),_0x36579f(_0xc1c9('0x46'))),_0x410b0d[_0xc1c9('0x20')]('outdentList',_0x36579f(_0xc1c9('0x4'))),_0x410b0d[_0xc1c9('0x20')](_0xc1c9('0x37'),_0x15c5ff(_0xc1c9('0x37'))),_0x410b0d[_0xc1c9('0x20')]('splitListItemBefore',_0x15c5ff(_0xc1c9('0x1a'))),_0x410b0d['_descriptionFactory'][_0xc1c9('0x42')](function(_0x22aa7e){const _0x1de288=!_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x31')][_0xc1c9('0x29')](_0x22aa7e),_0x15b4d5=_0x22aa7e[_0xc1c9('0x16')],_0x4bef4d=_0x22aa7e['nextSibling'],_0x2cd75f=_0x22aa7e['getAttribute'](_0xc1c9('0x2e')),_0x5a0cd0=!_0x15b4d5||_0x15b4d5[_0xc1c9('0x14')]('listItemId')!==_0x2cd75f,_0xf43dc8=!_0x4bef4d||_0x4bef4d[_0xc1c9('0x14')](_0xc1c9('0x2e'))!==_0x2cd75f;return _0x1de288&&Boolean(_0x2cd75f)&&_0x5a0cd0&&_0xf43dc8;},_0x96eaf0=>_0x3d6339(_0x13bbc2,_0xc1c9('0x2c'),_0x96eaf0)),_0x410b0d[_0xc1c9('0xf')][_0xc1c9('0x44')](function(_0x726bb6){const {data:_0x3e68ed}=_0x726bb6;if(!_0x3e68ed)return;let _0x202a6a,_0x5ab6f4,_0x317914,_0x2ff7ce;switch(_0x3e68ed[_0xc1c9('0x47')]){case _0xc1c9('0x40'):_0x317914=_0x3e68ed[_0xc1c9('0x2')][0x0][_0xc1c9('0x21')],_0x2ff7ce=_0x37e136(_0x3e68ed[_0xc1c9('0x47')]),_0x202a6a=_0x317914?_0xc1c9('0x1d'):_0xc1c9('0xd'),_0x2ff7ce&&(_0x202a6a='*Change\x20to:*\x20%0'),_0x5ab6f4={'type':'format','content':_0x3d6339(_0x13bbc2,_0x202a6a,_0x3d6339(_0x13bbc2,_0xc1c9('0x18')))};break;case _0xc1c9('0x4b'):_0x317914=_0x3e68ed['commandParams'][0x0][_0xc1c9('0x21')],_0x2ff7ce=_0x37e136(_0x3e68ed[_0xc1c9('0x47')]),_0x202a6a=_0x317914?_0xc1c9('0x1d'):'*Format:*\x20remove\x20from\x20%0',_0x2ff7ce&&(_0x202a6a='*Change\x20to:*\x20%0'),_0x5ab6f4={'type':_0xc1c9('0x7'),'content':_0x3d6339(_0x13bbc2,_0x202a6a,_0x3d6339(_0x13bbc2,_0xc1c9('0x35')))};break;case _0xc1c9('0x46'):_0x202a6a=_0xc1c9('0x3b'),_0x5ab6f4={'type':_0xc1c9('0x7'),'content':_0x3d6339(_0x13bbc2,_0x202a6a,_0x3d6339(_0x13bbc2,_0xc1c9('0x2c')))};break;case _0xc1c9('0x4'):_0x202a6a=function(_0x1c037c){const _0x50fe22=_0x1c037c[_0xc1c9('0x22')]();let _0x90dba8=_0x50fe22[_0xc1c9('0x1b')][_0xc1c9('0x32')];for(;_0x90dba8&&_0x50fe22[_0xc1c9('0x4a')](_0x90dba8);){if(_0x90dba8['getAttribute'](_0xc1c9('0x23'))>0x0)return!0x1;_0x90dba8=_0x90dba8[_0xc1c9('0x1c')];}return!0x0;}(_0x726bb6)?_0x3d6339(_0x13bbc2,'*Format:*\x20remove\x20from\x20%0',_0x3d6339(_0x13bbc2,function(_0x6fa676){const _0x42c355=_0x6fa676[_0xc1c9('0x22')]()[_0xc1c9('0x1b')][_0xc1c9('0x32')];return'ELEMENT_'+_0x42c355[_0xc1c9('0x14')]('listType')[_0xc1c9('0x3c')]()+_0xc1c9('0x24');}(_0x726bb6))):_0x3d6339(_0x13bbc2,_0xc1c9('0x36'),_0x3d6339(_0x13bbc2,'ELEMENT_LIST_ITEM')),_0x5ab6f4={'type':_0xc1c9('0x7'),'content':_0x202a6a};break;case _0xc1c9('0x28'):case'mergeListItemForward':!0x1===_0x3e68ed['multipleBlocks']&&(_0x202a6a=_0xc1c9('0x38'),_0x5ab6f4={'type':_0xc1c9('0xb'),'content':_0x3d6339(_0x13bbc2,_0x202a6a,_0x3d6339(_0x13bbc2,_0xc1c9('0x2c')))});}return _0x5ab6f4;}),_0x410b0d[_0xc1c9('0xe')]['registerCustomCallback'](_0xc1c9('0xa'),_0xc1c9('0x11'),_0xc1c9('0x48'),function(_0x176443,_0x26c4e8){const _0x403b31=[];for(let _0x7f0768 of _0x176443)_0x7f0768[_0xc1c9('0x1b')]['nodeAfter']===_0x7f0768['end'][_0xc1c9('0x3d')]&&(_0x7f0768=_0x7fb25d['model'][_0xc1c9('0x43')](_0x7fb25d[_0xc1c9('0x6')]['createPositionAt'](_0x7f0768[_0xc1c9('0x1b')]['nodeAfter'],0x0))),_0x403b31['push'](_0x7f0768);_0x7fb25d[_0xc1c9('0x6')][_0xc1c9('0x2a')](_0x45b75a=>{const _0x162c64=_0x7fb25d['model']['document'][_0xc1c9('0x8')],_0x4ccb8c=Array[_0xc1c9('0x34')](_0x162c64['getRanges']())[_0xc1c9('0x2f')](_0x4adf17=>_0x18556e[_0xc1c9('0xc')](_0x4adf17));_0x45b75a[_0xc1c9('0x1f')](_0x403b31),_0x7fb25d[_0xc1c9('0x17')][_0xc1c9('0x45')](_0x26c4e8[_0xc1c9('0x47')])[_0xc1c9('0x12')](),_0x26c4e8[_0xc1c9('0x2')][_0xc1c9('0x30')]({'forceDefaultExecution':!0x0}),_0x7fb25d[_0xc1c9('0x26')](_0x26c4e8[_0xc1c9('0x47')],..._0x26c4e8['commandParams']),_0x45b75a['setSelection'](_0x4ccb8c);for(const _0x509787 of _0x4ccb8c)_0x509787[_0xc1c9('0x39')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf803=['from','bind','*Format:*\x20set\x20order\x20to\x20reversed','commandName','list.properties','push','reversed','has','DocumentListUtils','config','handleListStartCommand','type','*Format:*\x20set\x20order\x20to\x20regular','_getTranslationKeyForListStyle','selection','change','_getSuggestionBlocksForListStyle','listReversed','handleListStyleCommand','listType','registerDescriptionCallback','listStyle','styles','length','handleDescriptions','filter','*Format:*\x20set\x20start\x20index\x20to\x20%0','*Change\x20to:*\x20%0','isFirstBlockOfListItem','startIndex','get','numbered','_LIST_','enableCommand','commandParams','TrackChangesEditing','ELEMENT_','DocumentListPropertiesUtils','listStart','editor','plugins','locale','getAttribute','expandListBlocksToCompleteList','_getSuggestionBlocks','afterInit','model','markMultiRangeBlockFormat','document','handleListReversedCommand','DocumentListPropertiesEditing','isListItemBlock','getSelectedBlocks'];(function(_0x173069,_0xf80321){const _0x24b017=function(_0x4a829c){while(--_0x4a829c){_0x173069['push'](_0x173069['shift']());}};_0x24b017(++_0xf80321);}(_0xf803,0xc5));const _0x24b0=function(_0x173069,_0xf80321){_0x173069=_0x173069-0x0;let _0x24b017=_0xf803[_0x173069];return _0x24b017;};import{Plugin as _0x51b5fe}from'ckeditor5/src/core';import{getTranslation as _0xc0a459}from'../utils/common-translations';export default class At extends _0x51b5fe{[_0x24b0('0x7')](){if(!this[_0x24b0('0x1')]['plugins'][_0x24b0('0x16')](_0x24b0('0xc')))return;const _0x55cf1e=this[_0x24b0('0x1')][_0x24b0('0x18')][_0x24b0('0x2d')](_0x24b0('0x13')),_0x4bf088=this[_0x24b0('0x1')][_0x24b0('0x2')]['get'](_0x24b0('0x32'));_0x55cf1e[_0x24b0('0x25')]&&_0x4bf088[_0x24b0('0x30')]('listStyle',this[_0x24b0('0x21')][_0x24b0('0x10')](this)),_0x55cf1e['reversed']&&_0x4bf088[_0x24b0('0x30')](_0x24b0('0x20'),this[_0x24b0('0xb')][_0x24b0('0x10')](this)),_0x55cf1e[_0x24b0('0x2c')]&&_0x4bf088[_0x24b0('0x30')](_0x24b0('0x0'),this[_0x24b0('0x19')][_0x24b0('0x10')](this)),_0x4bf088['_descriptionFactory'][_0x24b0('0x23')](this['handleDescriptions'][_0x24b0('0x10')](this));}[_0x24b0('0x21')](_0x28d939,_0x570a5b={}){const _0x1281c4=this[_0x24b0('0x1')][_0x24b0('0x2')]['get'](_0x24b0('0x32')),_0x2a5482=this[_0x24b0('0x1f')]();this[_0x24b0('0x1')][_0x24b0('0x8')][_0x24b0('0x1e')](()=>{_0x1281c4[_0x24b0('0x9')](_0x2a5482,{'commandName':_0x24b0('0x24'),'commandParams':[{'type':_0x570a5b['type']}],'formatGroupId':_0x24b0('0x24')});});}[_0x24b0('0xb')](_0x57fcca,_0x16d781={}){const _0x580a14=this['editor'][_0x24b0('0x2')][_0x24b0('0x2d')](_0x24b0('0x32')),_0x9224ea=this[_0x24b0('0x1')]['plugins']['get']('DocumentListUtils'),_0x451a8f=this[_0x24b0('0x6')](_0x48c034=>_0x9224ea[_0x24b0('0xd')](_0x48c034)&&_0x24b0('0x2e')===_0x48c034[_0x24b0('0x4')]('listType'));null!==_0x451a8f&&this[_0x24b0('0x1')][_0x24b0('0x8')]['change'](()=>{_0x580a14['markMultiRangeBlockFormat'](_0x451a8f,{'commandName':_0x24b0('0x20'),'commandParams':[{'reversed':_0x16d781[_0x24b0('0x15')]}],'formatGroupId':_0x24b0('0x20')});});}[_0x24b0('0x19')](_0x3b3216,_0xaabaea={}){const _0x1e8d4e=this[_0x24b0('0x1')][_0x24b0('0x2')][_0x24b0('0x2d')](_0x24b0('0x32')),_0x50b986=this[_0x24b0('0x1')]['plugins'][_0x24b0('0x2d')](_0x24b0('0x17')),_0x5beeba=this[_0x24b0('0x6')](_0x533061=>_0x50b986[_0x24b0('0xd')](_0x533061)&&_0x24b0('0x2e')===_0x533061[_0x24b0('0x4')](_0x24b0('0x22')));null!==_0x5beeba&&this[_0x24b0('0x1')][_0x24b0('0x8')][_0x24b0('0x1e')](()=>{_0x1e8d4e[_0x24b0('0x9')](_0x5beeba,{'commandName':'listStart','commandParams':[{'startIndex':_0xaabaea[_0x24b0('0x2c')]}],'formatGroupId':_0x24b0('0x0')});});}[_0x24b0('0x27')](_0x25d764){const _0x2663bc=this[_0x24b0('0x1')][_0x24b0('0x3')],{data:_0x5cdf54}=_0x25d764;if(!_0x5cdf54)return;let _0x2b55e1,_0x3a6fd1;switch(_0x5cdf54[_0x24b0('0x12')]){case _0x24b0('0x24'):_0x2b55e1=_0x24b0('0x2a'),_0x3a6fd1={'type':'format','content':_0xc0a459(_0x2663bc,_0x2b55e1,_0xc0a459(_0x2663bc,this[_0x24b0('0x1c')](_0x5cdf54[_0x24b0('0x31')][0x0][_0x24b0('0x1a')])))};break;case'listReversed':_0x2b55e1=_0x5cdf54[_0x24b0('0x31')][0x0][_0x24b0('0x15')]?_0x24b0('0x11'):_0x24b0('0x1b'),_0x3a6fd1={'type':'format','content':_0xc0a459(_0x2663bc,_0x2b55e1)};break;case _0x24b0('0x0'):_0x2b55e1=_0x24b0('0x29'),_0x3a6fd1={'type':'format','content':_0xc0a459(_0x2663bc,_0x2b55e1,_0x5cdf54['commandParams'][0x0][_0x24b0('0x2c')])};}return _0x3a6fd1;}['_getSuggestionBlocksForListStyle'](){const _0xb4432b=this[_0x24b0('0x1')][_0x24b0('0x2')][_0x24b0('0x2d')]('DocumentListUtils');let _0x122b6c=Array[_0x24b0('0xf')](this[_0x24b0('0x1')][_0x24b0('0x8')][_0x24b0('0xa')][_0x24b0('0x1d')][_0x24b0('0xe')]());return _0x122b6c[_0x24b0('0x14')](..._0xb4432b[_0x24b0('0x5')](_0x122b6c)),_0x122b6c=[...new Set(_0x122b6c)],_0x122b6c;}[_0x24b0('0x6')](_0x29527f){const _0x23fd7f=this[_0x24b0('0x1')][_0x24b0('0x2')][_0x24b0('0x2d')]('DocumentListUtils');let _0x50d304=Array[_0x24b0('0xf')](this[_0x24b0('0x1')][_0x24b0('0x8')][_0x24b0('0xa')]['selection']['getSelectedBlocks']())[_0x24b0('0x28')](_0x29527f);if(!_0x50d304[_0x24b0('0x26')])return null;_0x50d304=_0x23fd7f[_0x24b0('0x5')](_0x50d304);const _0x456c5a=[];for(const _0x387118 of _0x50d304)_0x23fd7f[_0x24b0('0x2b')](_0x387118)&&_0x456c5a[_0x24b0('0x14')](_0x387118);return _0x456c5a;}[_0x24b0('0x1c')](_0x2b3bc7){return _0x24b0('0x33')+this[_0x24b0('0x1')]['plugins']['get'](_0x24b0('0x34'))['getListTypeFromListStyleType'](_0x2b3bc7)['toUpperCase']()+_0x24b0('0x2f')+_0x2b3bc7['toUpperCase']()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33fb=['options','selection','createPositionAt','enableCommand','editing','split','remove','parent','get','markerNameToElements','addMarker:suggestion:insertion','bind','fire','nextSibling','high','model','document','editor','requires','markInsertion','afterExecute','plugins','removeMarker:suggestion:insertion','mapper','ck-suggestion-marker-split','getFirstRange','downcastDispatcher','commands','getFirstPosition','createRange','hasClass','markerName','enter','end'];(function(_0x1a8941,_0x33fb9b){const _0x4f8277=function(_0x24e011){while(--_0x24e011){_0x1a8941['push'](_0x1a8941['shift']());}};_0x4f8277(++_0x33fb9b);}(_0x33fb,0xd3));const _0x4f82=function(_0x1a8941,_0x33fb9b){_0x1a8941=_0x1a8941-0x0;let _0x4f8277=_0x33fb[_0x1a8941];return _0x4f8277;};import{Plugin as _0x2c414f}from'ckeditor5/src/core';import{Enter as _0x2fd4cd}from'ckeditor5/src/enter';import{LiveRange as _0x479cbb}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xf7125a}from'./utils';export default class q extends _0x2c414f{static get[_0x4f82('0xb')](){return[_0x2fd4cd];}['init'](){const _0x59da37=this[_0x4f82('0xa')],_0x3d7510=_0x59da37[_0x4f82('0xe')][_0x4f82('0x1')]('TrackChangesEditing'),_0x45c5e1=_0x59da37[_0x4f82('0x14')][_0x4f82('0x1')](_0x4f82('0x19'));_0x3d7510[_0x4f82('0x1e')](_0x4f82('0x19'),()=>{_0x59da37['model']['change'](_0x17842e=>{const _0x81057a=_0x59da37['model'][_0x4f82('0x9')][_0x4f82('0x1c')],_0x558bde=_0x81057a[_0x4f82('0x15')](),_0x1ed2e0=_0x479cbb['fromRange'](_0x81057a[_0x4f82('0x12')]());if(_0x45c5e1['enterBlock'](_0x17842e)){const _0x426c1b=_0x59da37[_0x4f82('0x8')][_0x4f82('0x1d')](_0x558bde[_0x4f82('0x0')][_0x4f82('0x6')],0x0),_0xc4a6fc=_0x17842e[_0x4f82('0x16')](_0x558bde,_0x426c1b);_0x3d7510[_0x4f82('0xc')](_0xc4a6fc);}else _0x17842e['setSelection'](_0x17842e[_0x4f82('0x16')](_0x1ed2e0[_0x4f82('0x1a')]));_0x1ed2e0['detach'](),_0x45c5e1[_0x4f82('0x5')](_0x4f82('0xd'),{'writer':_0x17842e});});}),_0x59da37[_0x4f82('0x1f')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0xf7125a(_0x59da37,_0x4f82('0x20')),{'priority':_0x4f82('0x7')}),_0x59da37['editing']['downcastDispatcher']['on'](_0x4f82('0xf'),(_0x46a2e2,_0x599fcb,_0x5ce519)=>{const _0xd9917c=_0x5ce519['mapper'][_0x4f82('0x2')](_0x599fcb[_0x4f82('0x18')]);if(_0xd9917c)for(const _0x155c63 of _0xd9917c)_0x155c63[_0x4f82('0x17')](_0x4f82('0x11'))&&(_0x5ce519[_0x4f82('0x10')]['unbindElementFromMarkerName'](_0x155c63,_0x599fcb[_0x4f82('0x18')]),_0x5ce519['writer'][_0x4f82('0x21')](_0x155c63));},{'priority':_0x4f82('0x7')}),_0x59da37['data'][_0x4f82('0x13')]['on'](_0x4f82('0x3'),(_0x23b92c,_0x5a35ee,_0x36a19d)=>{_0x36a19d[_0x4f82('0x1b')]['showSuggestionHighlights']&&_0xf7125a(_0x59da37,_0x4f82('0x20'),{'showActiveMarker':!0x1})[_0x4f82('0x4')](this)(_0x23b92c,_0x5a35ee,_0x36a19d);},{'priority':_0x4f82('0x7')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb4c1=['afterInit','find','end','editor','replace','getIntersection','getRange','enableCommand','filter','createRange','FindAndReplaceEditing','model','getMarkersGroup','handleFindCommand','FindAndReplaceUtils','bind','has','markers','plugins','TrackChangesEditing'];(function(_0x1359ca,_0xb4c13a){const _0x4f0379=function(_0x110321){while(--_0x110321){_0x1359ca['push'](_0x1359ca['shift']());}};_0x4f0379(++_0xb4c13a);}(_0xb4c1,0xb5));const _0x4f03=function(_0x1359ca,_0xb4c13a){_0x1359ca=_0x1359ca-0x0;let _0x4f0379=_0xb4c1[_0x1359ca];return _0x4f0379;};import{Plugin as _0x1b3a84}from'ckeditor5/src/core';export default class z extends _0x1b3a84{[_0x4f03('0x13')](){if(!this[_0x4f03('0x2')]['plugins'][_0x4f03('0xf')](_0x4f03('0x9')))return;const _0x2c017c=this['editor'][_0x4f03('0x11')]['get'](_0x4f03('0x12'));_0x2c017c[_0x4f03('0x6')](_0x4f03('0x0'),this[_0x4f03('0xc')][_0x4f03('0xe')](this)),_0x2c017c[_0x4f03('0x6')]('findNext'),_0x2c017c['enableCommand']('findPrevious'),_0x2c017c[_0x4f03('0x6')](_0x4f03('0x3')),_0x2c017c[_0x4f03('0x6')]('replaceAll');}['handleFindCommand'](_0x2ba712,_0x3595e2,_0x39fe51={}){const _0x23a347=this[_0x4f03('0x2')][_0x4f03('0x11')]['get'](_0x4f03('0xd'));void 0x0!==_0x39fe51&&_0x2ba712(_0x41bf46=>('string'==typeof _0x3595e2?_0x23a347['findByTextCallback'](_0x3595e2,_0x39fe51):_0x3595e2)(_0x41bf46)[_0x4f03('0x7')](_0x146052=>!0x1===this['_isInDeletionRange'](_0x146052,_0x41bf46['item'])),_0x39fe51);}['_isInDeletionRange'](_0x270351,_0xea1c6f){const _0x5c8dcf=this[_0x4f03('0x2')][_0x4f03('0xa')][_0x4f03('0x8')](this[_0x4f03('0x2')][_0x4f03('0xa')]['createPositionAt'](_0xea1c6f,_0x270351['start']),this[_0x4f03('0x2')][_0x4f03('0xa')]['createPositionAt'](_0xea1c6f,_0x270351[_0x4f03('0x1')]));for(const _0x3fe0e6 of this[_0x4f03('0x2')]['model'][_0x4f03('0x10')][_0x4f03('0xb')]('suggestion:deletion'))if(null!==_0x5c8dcf[_0x4f03('0x4')](_0x3fe0e6[_0x4f03('0x5')]()))return!0x0;return!0x1;}}
|