@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230803.0 → 0.0.0-nightly-20230805.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 -7
- 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-20230805.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,14 +39,10 @@
|
|
|
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-20230805.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230805.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
|
-
"engines": {
|
|
47
|
-
"node": ">=16.0.0",
|
|
48
|
-
"npm": ">=5.7.1"
|
|
49
|
-
},
|
|
50
46
|
"types": "src/index.d.ts",
|
|
51
47
|
"obfuscated": true
|
|
52
48
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28df=['_suggestions','getRanges','plugins','execute','canEditAt','editor','get','refresh','TrackChangesEditing','isEnabled','acceptSuggestion','_isEnabledBasedOnSelection'];(function(_0x46d3ab,_0x28df32){const _0x15b62a=function(_0x15bbd5){while(--_0x15bbd5){_0x46d3ab['push'](_0x46d3ab['shift']());}};_0x15b62a(++_0x28df32);}(_0x28df,0x18d));const _0x15b6=function(_0x46d3ab,_0x28df32){_0x46d3ab=_0x46d3ab-0x0;let _0x15b62a=_0x28df[_0x46d3ab];return _0x15b62a;};import{Command as _0x2755cc}from'ckeditor5/src/core';import{CKEditorError as _0x5e15bc}from'ckeditor5/src/utils';export default class M extends _0x2755cc{constructor(_0x1b255d,_0x3e4792){super(_0x1b255d),this['_suggestions']=_0x3e4792,this[_0x15b6('0x6')](),this[_0x15b6('0xa')]=!0x1;}[_0x15b6('0x6')](){this[_0x15b6('0x8')]=!0x0;}[_0x15b6('0x2')](_0x2452ed){const _0x47c59d=this[_0x15b6('0xb')][_0x15b6('0x5')](_0x2452ed);if(!_0x47c59d)throw new _0x5e15bc('track-changes-accept-suggestion-not-found',this);const _0x4cd67d=_0x47c59d[_0x15b6('0x0')]();this[_0x15b6('0x4')]['model'][_0x15b6('0x3')](_0x4cd67d)&&this['editor'][_0x15b6('0x1')][_0x15b6('0x5')](_0x15b6('0x7'))[_0x15b6('0x9')](_0x47c59d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf7c5=['getRanges','refresh','editor','execute','_isEnabledBasedOnSelection','model','get','canEditAt','TrackChangesEditing','isEnabled','track-changes-discard-suggestion-not-found','_suggestions','discardSuggestion'];(function(_0x490a26,_0xf7c552){const _0xbce5f9=function(_0x4e09c4){while(--_0x4e09c4){_0x490a26['push'](_0x490a26['shift']());}};_0xbce5f9(++_0xf7c552);}(_0xf7c5,0x197));const _0xbce5=function(_0x490a26,_0xf7c552){_0x490a26=_0x490a26-0x0;let _0xbce5f9=_0xf7c5[_0x490a26];return _0xbce5f9;};import{Command as _0x44e36c}from'ckeditor5/src/core';import{CKEditorError as _0x818604}from'ckeditor5/src/utils';export default class $ extends _0x44e36c{constructor(_0x3bea63,_0x4142d3){super(_0x3bea63),this['_suggestions']=_0x4142d3,this[_0xbce5('0xa')](),this[_0xbce5('0x0')]=!0x1;}[_0xbce5('0xa')](){this[_0xbce5('0x5')]=!0x0;}[_0xbce5('0xc')](_0x18504b){const _0x242c4d=this[_0xbce5('0x7')][_0xbce5('0x2')](_0x18504b);if(!_0x242c4d)throw new _0x818604(_0xbce5('0x6'),this);const _0x500aef=_0x242c4d[_0xbce5('0x9')]();this[_0xbce5('0xb')][_0xbce5('0x1')][_0xbce5('0x3')](_0x500aef)&&this[_0xbce5('0xb')]['plugins'][_0xbce5('0x2')](_0xbce5('0x4'))[_0xbce5('0x8')](_0x242c4d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1db7=['refresh','execute','isEnabled','editor','values','model','isInContent','_suggestions','canEditAt','getRanges'];(function(_0x3b268c,_0x1db752){const _0x28ec96=function(_0x5ece40){while(--_0x5ece40){_0x3b268c['push'](_0x3b268c['shift']());}};_0x28ec96(++_0x1db752);}(_0x1db7,0x15c));const _0x28ec=function(_0x3b268c,_0x1db752){_0x3b268c=_0x3b268c-0x0;let _0x28ec96=_0x1db7[_0x3b268c];return _0x28ec96;};import{Command as _0xcb9fbd}from'ckeditor5/src/core';import{sortSuggestions as _0x157a8e,executeCommandForSuggestions as _0x295780}from'../utils/utils';export default class N extends _0xcb9fbd{constructor(_0x366adb,_0x117f76,_0x5c66f1){super(_0x366adb),this['_command']=_0x117f76,this[_0x28ec('0x9')]=_0x5c66f1,this[_0x28ec('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x28ec('0x2')](){const _0x3e53f2=Array['from'](this[_0x28ec('0x9')][_0x28ec('0x6')]())['some'](_0x30203c=>_0x30203c[_0x28ec('0x8')]);this[_0x28ec('0x4')]=this['_command'][_0x28ec('0x4')]&&_0x3e53f2;}[_0x28ec('0x3')](){const _0x5bc6e3=_0x157a8e(Array['from'](this[_0x28ec('0x9')][_0x28ec('0x6')]()));for(const _0x2cc27e of _0x5bc6e3){const _0x4031a8=_0x2cc27e[_0x28ec('0x1')]();if(!this[_0x28ec('0x5')][_0x28ec('0x7')][_0x28ec('0x0')](_0x4031a8))return;}_0x295780(this[_0x28ec('0x5')][_0x28ec('0x7')],this['_command'],_0x5bc6e3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x227b=['getRanges','canEditAt','document','editor','from','_command','refresh','_selectedSuggestions','execute','selection','model','values','_suggestions','size','_isEnabledBasedOnSelection','isEnabled'];(function(_0x43da62,_0x227bad){const _0x1bd80d=function(_0x4a1731){while(--_0x4a1731){_0x43da62['push'](_0x43da62['shift']());}};_0x1bd80d(++_0x227bad);}(_0x227b,0x181));const _0x1bd8=function(_0x43da62,_0x227bad){_0x43da62=_0x43da62-0x0;let _0x1bd80d=_0x227b[_0x43da62];return _0x1bd80d;};import{Command as _0x3a8c8c}from'ckeditor5/src/core';import{sortSuggestions as _0x112472,getSelectedSuggestions as _0x31712b,executeCommandForSuggestions as _0x36c183}from'../utils/utils';export default class R extends _0x3a8c8c{constructor(_0x348d13,_0x4fbc23,_0x287c4a){super(_0x348d13),this[_0x1bd8('0x4')]=_0x4fbc23,this[_0x1bd8('0xb')]=_0x287c4a,this[_0x1bd8('0x6')]=new Set(),this[_0x1bd8('0x5')](),this[_0x1bd8('0xd')]=!0x1;}[_0x1bd8('0x5')](){const _0x1e904a=this['editor'][_0x1bd8('0x9')][_0x1bd8('0x1')][_0x1bd8('0x8')],_0x3a88e3=Array['from'](this[_0x1bd8('0xb')][_0x1bd8('0xa')]());this[_0x1bd8('0x6')]=_0x31712b(_0x1e904a,_0x3a88e3),this[_0x1bd8('0xe')]=this['_command'][_0x1bd8('0xe')]&&!!this['_selectedSuggestions'][_0x1bd8('0xc')];}[_0x1bd8('0x7')](){const _0x3177b3=_0x112472(Array[_0x1bd8('0x3')](this[_0x1bd8('0x6')]));for(const _0x1b7b91 of _0x3177b3){const _0x16a189=_0x1b7b91[_0x1bd8('0xf')]();if(!this[_0x1bd8('0x2')][_0x1bd8('0x9')][_0x1bd8('0x0')](_0x16a189))return;}_0x36c183(this[_0x1bd8('0x2')][_0x1bd8('0x9')],this[_0x1bd8('0x4')],_0x3177b3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x411f=['isEnabled','execute','_enableCommands','_isEnabledBasedOnSelection','value','commands','refresh','forceDisabled','_disableUnsupportedCommands','clearForceDisabled','has','TrackChangesCommand','affectsData','editor','_enabledCommands'];(function(_0x3efc31,_0x411fe5){const _0x227dcd=function(_0x4e7e59){while(--_0x4e7e59){_0x3efc31['push'](_0x3efc31['shift']());}};_0x227dcd(++_0x411fe5);}(_0x411f,0x16c));const _0x227d=function(_0x3efc31,_0x411fe5){_0x3efc31=_0x3efc31-0x0;let _0x227dcd=_0x411f[_0x3efc31];return _0x227dcd;};import{Command as _0x3db46d}from'ckeditor5/src/core';export default class _ extends _0x3db46d{constructor(_0x3c201d,_0x18f154){super(_0x3c201d),this['_enabledCommands']=_0x18f154,this['value']=!0x1,this[_0x227d('0x2')](),this[_0x227d('0xe')]=!0x1;}['refresh'](){this[_0x227d('0xb')]=!0x0;}[_0x227d('0xc')](){this[_0x227d('0x0')]=!this[_0x227d('0x0')],this[_0x227d('0x0')]?this[_0x227d('0x4')]():this[_0x227d('0xd')]();}['_disableUnsupportedCommands'](){for(const _0x39bba7 of this[_0x227d('0x9')][_0x227d('0x1')][_0x227d('0x1')]())_0x39bba7['affectsData']&&!this[_0x227d('0xa')]['has'](_0x39bba7)&&_0x39bba7[_0x227d('0x3')](_0x227d('0x7'));}[_0x227d('0xd')](){for(const _0x379f6e of this[_0x227d('0x9')][_0x227d('0x1')][_0x227d('0x1')]())_0x379f6e[_0x227d('0x8')]&&!this['_enabledCommands'][_0x227d('0x6')](_0x379f6e)&&_0x379f6e[_0x227d('0x5')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32aa=['left','TrackChangesEditing','enableCommand','right','schema','get','editor','_descriptionFactory','center','plugins','model','registerDescriptionCallback','value','FORMAT_ALIGN_TO_RIGHT','filter','ltr','checkAttribute','*Format:*\x20%0','commandParams','afterInit','justify','document','AlignmentEditing','commandName','has','markBlockFormat','getSelectedBlocks','getAttribute','locale','format','alignment'];(function(_0x42c8a7,_0x32aa5c){const _0x3dfdbe=function(_0x19cdd2){while(--_0x19cdd2){_0x42c8a7['push'](_0x42c8a7['shift']());}};_0x3dfdbe(++_0x32aa5c);}(_0x32aa,0x17c));const _0x3dfd=function(_0x42c8a7,_0x32aa5c){_0x42c8a7=_0x42c8a7-0x0;let _0x3dfdbe=_0x32aa[_0x42c8a7];return _0x3dfdbe;};import{Plugin as _0x5bc207}from'ckeditor5/src/core';import{getTranslation as _0x32f0d7}from'../utils/common-translations';export default class x extends _0x5bc207{[_0x3dfd('0xb')](){const _0x50af3c=this['editor'],_0x32b47b=_0x50af3c[_0x3dfd('0x14')];if(!_0x50af3c[_0x3dfd('0x1')][_0x3dfd('0x10')](_0x3dfd('0xe')))return;const _0x376e43=_0x50af3c['plugins'][_0x3dfd('0x1c')](_0x3dfd('0x18'));_0x376e43[_0x3dfd('0x19')]('alignment',(_0x24bf73,_0x10e1f8={})=>{let _0xb5e96b=_0x10e1f8[_0x3dfd('0x4')];_0x10e1f8['value']||(_0xb5e96b=_0x3dfd('0x7')===_0x50af3c[_0x3dfd('0x14')]['contentLanguageDirection']?_0x3dfd('0x17'):'right');const _0x31561a=Array['from'](this[_0x3dfd('0x1d')]['model'][_0x3dfd('0xd')]['selection'][_0x3dfd('0x12')]())[_0x3dfd('0x6')](_0x4706db=>function(_0x52ea7e,_0x30499b,_0x54eff2){const _0x13a0bd=_0x52ea7e[_0x3dfd('0x13')](_0x3dfd('0x16'))||null;return _0x30499b[_0x3dfd('0x8')](_0x52ea7e,_0x3dfd('0x16'))&&_0x54eff2!=_0x13a0bd;}(_0x4706db,this[_0x3dfd('0x1d')]['model'][_0x3dfd('0x1b')],_0xb5e96b));_0x50af3c[_0x3dfd('0x2')]['change'](()=>{for(const _0x50a69b of _0x31561a)_0x376e43[_0x3dfd('0x11')](_0x50a69b,{'commandName':_0x3dfd('0x16'),'commandParams':[{'value':_0xb5e96b}]});});}),_0x376e43[_0x3dfd('0x1e')][_0x3dfd('0x3')](_0x8baf79=>{const {data:_0x48116c}=_0x8baf79;if(_0x48116c&&_0x3dfd('0x16')==_0x48116c[_0x3dfd('0xf')]){const _0x4d962a=_0x48116c[_0x3dfd('0xa')][0x0][_0x3dfd('0x4')];return{'type':_0x3dfd('0x15'),'content':_0x32f0d7(_0x32b47b,_0x3dfd('0x9'),function(_0x52282e){switch(_0x52282e){case _0x3dfd('0x17'):return _0x32f0d7(_0x32b47b,'FORMAT_ALIGN_TO_LEFT');case _0x3dfd('0x1a'):return _0x32f0d7(_0x32b47b,_0x3dfd('0x5'));case _0x3dfd('0x0'):return _0x32f0d7(_0x32b47b,'FORMAT_ALIGN_TO_CENTER');case _0x3dfd('0xc'):return _0x32f0d7(_0x32b47b,'FORMAT_JUSTIFY_TEXT');}}(_0x4d962a))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27ce=['registerDescriptionCallback','StrikethroughEditing','FORMAT_SUPERSCRIPT','SuperscriptEditing','_descriptionFactory','underline','subscript','selection','markInlineFormat','slice','getRanges','commandParams','enableCommand','FORMAT_SUBSCRIPT','strikethrough','plugins','italic','ItalicEditing','forceValue','commands','*Format:*\x20%0','FORMAT_UNDERLINE','get','commandName','SubscriptEditing','FORMAT_ITALIC','change','format','from','FORMAT_BOLD','toLowerCase','superscript','isCollapsed','bold','CodeEditing','FORMAT_CODE','TrackChangesEditing','afterInit','BoldEditing'];(function(_0x377406,_0x27ce0b){const _0x37042b=function(_0x1c3647){while(--_0x1c3647){_0x377406['push'](_0x377406['shift']());}};_0x37042b(++_0x27ce0b);}(_0x27ce,0x72));const _0x3704=function(_0x377406,_0x27ce0b){_0x377406=_0x377406-0x0;let _0x37042b=_0x27ce[_0x377406];return _0x37042b;};import{Plugin as _0x260840}from'ckeditor5/src/core';import{getTranslation as _0x83fb73}from'../utils/common-translations';import{getRangesWithAttribute as _0x84da8c}from'./utils';const Kt=[_0x3704('0x2'),_0x3704('0x14'),'UnderlineEditing',_0x3704('0x25'),_0x3704('0x4'),_0x3704('0x1b'),_0x3704('0x6')];export default class U extends _0x260840{[_0x3704('0x1')](){const _0x32be41=this['editor'],_0xab260=_0x32be41['model'],_0x10207d=_0x32be41[_0x3704('0x12')]['get'](_0x3704('0x0')),_0x41d238=_0x32be41['locale'];for(const _0x38fd96 of Kt){if(!_0x32be41[_0x3704('0x12')]['has'](_0x38fd96))continue;const _0x2c2b43=_0x38fd96[_0x3704('0xc')](0x0,-0x7)[_0x3704('0x21')](),_0x1f6222=_0x32be41[_0x3704('0x16')][_0x3704('0x19')](_0x2c2b43);_0x10207d[_0x3704('0xf')](_0x2c2b43,(_0x52d39e,_0x1e4e13={})=>{const _0x2e3643=_0xab260['document'][_0x3704('0xa')];if(_0x2e3643[_0x3704('0x23')])return void _0x52d39e(_0x1e4e13);const _0xbeba0a=void 0x0!==_0x1e4e13['forceValue']?_0x1e4e13[_0x3704('0x15')]:!_0x1f6222['value'];_0xab260[_0x3704('0x1d')](()=>{const _0x57c3e7=Array[_0x3704('0x1f')](_0x2e3643[_0x3704('0xd')]());for(const _0x4a7491 of _0x57c3e7){const _0x25816d=_0xbeba0a?[_0x4a7491]:_0x84da8c(_0x2c2b43,_0x4a7491,_0xab260);for(const _0x188171 of _0x25816d)_0x10207d[_0x3704('0xb')](_0x188171,{'commandName':_0x2c2b43,'commandParams':[{'forceValue':_0xbeba0a}]});}});});}function _0x3a8e12(_0x958c86,_0x374ee6){_0x10207d[_0x3704('0x7')][_0x3704('0x3')](_0x57e704=>{const {data:_0x291872}=_0x57e704;if(_0x291872&&_0x291872[_0x3704('0x1a')]===_0x958c86)return _0x291872[_0x3704('0xe')][0x0]['forceValue']?{'type':'format','content':_0x83fb73(_0x41d238,_0x3704('0x17'),_0x374ee6)}:{'type':_0x3704('0x1e'),'content':_0x83fb73(_0x41d238,'*Remove\x20format:*\x20%0',_0x374ee6)};});}_0x3a8e12(_0x3704('0x24'),_0x83fb73(_0x41d238,_0x3704('0x20'))),_0x3a8e12(_0x3704('0x13'),_0x83fb73(_0x41d238,_0x3704('0x1c'))),_0x3a8e12(_0x3704('0x8'),_0x83fb73(_0x41d238,_0x3704('0x18'))),_0x3a8e12('code',_0x83fb73(_0x41d238,_0x3704('0x26'))),_0x3a8e12(_0x3704('0x11'),_0x83fb73(_0x41d238,'FORMAT_STRIKETHROUGH')),_0x3a8e12(_0x3704('0x9'),_0x83fb73(_0x41d238,_0x3704('0x10'))),_0x3a8e12(_0x3704('0x22'),_0x83fb73(_0x41d238,_0x3704('0x5')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e60=['afterInit','document','format','plugins','enableCommand','commandName','parent','TrackChangesEditing','value','from','registerDescriptionCallback','_descriptionFactory','model','filter','has','BlockQuoteEditing','editor','forceValue','blockQuote','schema','*Format:*\x20%0','markBlockFormat','checkChild','commandParams','get','*Remove\x20format:*\x20%0','$root','locale'];(function(_0x5da9c5,_0x5e6038){const _0x1b19e5=function(_0x5d4a1f){while(--_0x5d4a1f){_0x5da9c5['push'](_0x5da9c5['shift']());}};_0x1b19e5(++_0x5e6038);}(_0x5e60,0x7c));const _0x1b19=function(_0x5da9c5,_0x5e6038){_0x5da9c5=_0x5da9c5-0x0;let _0x1b19e5=_0x5e60[_0x5da9c5];return _0x1b19e5;};import{Plugin as _0x58fe7b}from'ckeditor5/src/core';import{getTranslation as _0x39aa0}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x150da5}from'../utils/utils';export default class j extends _0x58fe7b{[_0x1b19('0x10')](){const _0x27c150=this['editor'],_0xe7d1b5=_0x27c150[_0x1b19('0xf')];if(!_0x27c150[_0x1b19('0x13')][_0x1b19('0x2')](_0x1b19('0x3')))return;const _0x1bce89=_0x27c150[_0x1b19('0x13')]['get'](_0x1b19('0x17')),_0x13e275=this[_0x1b19('0x4')]['commands'][_0x1b19('0xc')](_0x1b19('0x6'));_0x1bce89[_0x1b19('0x14')](_0x1b19('0x6'),(_0xea9689,_0xa06be6={})=>{const _0x25e83f=this[_0x1b19('0x4')][_0x1b19('0x0')][_0x1b19('0x11')]['selection'],_0xbe4a86=_0xa06be6&&void 0x0!==_0xa06be6[_0x1b19('0x5')]?_0xa06be6[_0x1b19('0x5')]:!_0x13e275[_0x1b19('0x18')];let _0x38c3ee=[];if(_0xbe4a86){const _0x5b3dea=Array[_0x1b19('0x19')](_0x25e83f['getSelectedBlocks']())[_0x1b19('0x1')](_0x3c1994=>Xt(_0x3c1994)||function(_0x1d8eb5,_0x3902e2){const _0x15cf33=_0x3902e2[_0x1b19('0xa')](_0x1d8eb5[_0x1b19('0x16')],_0x1b19('0x6')),_0x2bece7=_0x3902e2[_0x1b19('0xa')]([_0x1b19('0xe'),_0x1b19('0x6')],_0x1d8eb5);return _0x15cf33&&_0x2bece7;}(_0x3c1994,this[_0x1b19('0x4')][_0x1b19('0x0')][_0x1b19('0x7')]));_0x38c3ee=_0x150da5(_0x5b3dea,_0x27c150['model']);}else{const _0xcb3680=Array['from'](_0x25e83f['getSelectedBlocks']())['filter'](_0x206762=>Xt(_0x206762));_0x38c3ee=_0x150da5(_0xcb3680,_0x27c150[_0x1b19('0x0')]);}_0x27c150[_0x1b19('0x0')]['change'](()=>{for(const _0x169c1d of _0x38c3ee)_0x1bce89[_0x1b19('0x9')](_0x169c1d,{'commandName':_0x1b19('0x6'),'commandParams':[{'forceValue':_0xbe4a86}]});});}),_0x1bce89[_0x1b19('0x1b')][_0x1b19('0x1a')](_0xd93b07=>{const {data:_0x2b0983}=_0xd93b07;if(_0x2b0983&&_0x1b19('0x6')==_0x2b0983[_0x1b19('0x15')]){const _0xf9db5a=_0x39aa0(_0xe7d1b5,'ELEMENT_BLOCK_QUOTE');return _0x2b0983[_0x1b19('0xb')][0x0][_0x1b19('0x5')]?{'type':_0x1b19('0x12'),'content':_0x39aa0(_0xe7d1b5,_0x1b19('0x8'),_0xf9db5a)}:{'type':_0x1b19('0x12'),'content':_0x39aa0(_0xe7d1b5,_0x1b19('0xd'),_0xf9db5a)};}});}}function Xt(_0x493bd1){return _0x1b19('0x6')==_0x493bd1['parent']['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b84=['commands','TrackChangesEditing','enableCommand','ckbox','afterInit','get','editor','plugins'];(function(_0x57aa5f,_0x5b84bd){const _0x5dbe77=function(_0x5a5282){while(--_0x5a5282){_0x57aa5f['push'](_0x57aa5f['shift']());}};_0x5dbe77(++_0x5b84bd);}(_0x5b84,0x1d4));const _0x5dbe=function(_0x57aa5f,_0x5b84bd){_0x57aa5f=_0x57aa5f-0x0;let _0x5dbe77=_0x5b84[_0x57aa5f];return _0x5dbe77;};import{Plugin as _0x366ded}from'ckeditor5/src/core';export default class E extends _0x366ded{[_0x5dbe('0x0')](){const _0x20e85a=this[_0x5dbe('0x2')];_0x20e85a[_0x5dbe('0x4')]['get'](_0x5dbe('0x7'))&&_0x20e85a[_0x5dbe('0x3')][_0x5dbe('0x1')](_0x5dbe('0x5'))[_0x5dbe('0x6')](_0x5dbe('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5803=['commandParams','codeBlock','plugins','get','registerElementLabel','has','TrackChangesEditing','parent','selection','value','schema','getSelectedBlocks','registerDescriptionCallback','document','blockName','CodeBlock','label','outdentCodeBlock','ELEMENT_CODE_BLOCK','name','formatBlock','change','checkChild','filter','language','markBlockFormat','_descriptionFactory','isLimit','locale','enableCommand','find','format','from','*Remove\x20format:*\x20%0','*Format:*\x20%0'];(function(_0x4d5b83,_0x5803a8){const _0x57b69d=function(_0x1f79ed){while(--_0x1f79ed){_0x4d5b83['push'](_0x4d5b83['shift']());}};_0x57b69d(++_0x5803a8);}(_0x5803,0x1a9));const _0x57b6=function(_0x4d5b83,_0x5803a8){_0x4d5b83=_0x4d5b83-0x0;let _0x57b69d=_0x5803[_0x4d5b83];return _0x57b69d;};import{Plugin as _0x5cfe1d}from'ckeditor5/src/core';import{getTranslation as _0x6ab29}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x227c87}from'../utils/utils';export default class O extends _0x5cfe1d{['afterInit'](){const _0x355035=this['editor'];if(!_0x355035[_0x57b6('0x20')][_0x57b6('0x0')](_0x57b6('0xa')))return;const _0x35b827=_0x355035[_0x57b6('0x20')][_0x57b6('0x21')](_0x57b6('0x1')),_0x49ff00=_0x355035[_0x57b6('0x17')],_0x402c70=_0x355035['config'][_0x57b6('0x21')](_0x57b6('0x1f'))['languages'],_0x49ef80=_0x355035['commands'][_0x57b6('0x21')]('codeBlock');_0x35b827[_0x57b6('0x18')]('indentCodeBlock'),_0x35b827[_0x57b6('0x18')](_0x57b6('0xc')),_0x35b827[_0x57b6('0x18')](_0x57b6('0x1f'),(_0xb9d8e0,_0x4d549e={})=>{const _0x19982f=_0x355035['model'],_0x46f704=_0x355035['model'][_0x57b6('0x8')][_0x57b6('0x3')],_0x4fb8ce=_0x4d549e&&void 0x0!==_0x4d549e['forceValue']?_0x4d549e['forceValue']:!_0x49ef80[_0x57b6('0x4')];let _0x4f032b;_0x4d549e[_0x57b6('0x13')]||(_0x4d549e[_0x57b6('0x13')]=_0x402c70[0x0][_0x57b6('0x13')]),_0x4f032b=_0x4fb8ce?Array['from'](_0x46f704[_0x57b6('0x6')]())[_0x57b6('0x12')](_0x19ec1c=>oo(_0x19ec1c)||function(_0x529989,_0x3d44b8){if(_0x529989['is']('rootElement')||_0x3d44b8[_0x57b6('0x16')](_0x529989))return!0x1;return _0x3d44b8[_0x57b6('0x11')](_0x529989[_0x57b6('0x2')],_0x57b6('0x1f'));}(_0x19ec1c,_0x19982f[_0x57b6('0x5')])):Array[_0x57b6('0x1b')](_0x46f704[_0x57b6('0x6')]())[_0x57b6('0x12')](_0x3d06b5=>oo(_0x3d06b5));const _0x5b6c35=_0x227c87(_0x4f032b,_0x19982f);_0x19982f[_0x57b6('0x10')](()=>{for(const _0x1bfb4e of _0x5b6c35)_0x35b827[_0x57b6('0x14')](_0x1bfb4e,{'commandName':_0x57b6('0x1f'),'commandParams':[{..._0x4d549e,'forceValue':_0x4fb8ce}],'formatGroupId':_0x57b6('0x9')});});}),(_0x35b827[_0x57b6('0x15')][_0x57b6('0x22')](_0x57b6('0x1f'),_0x390134=>_0x6ab29(_0x49ff00,'ELEMENT_CODE_BLOCK',_0x390134)),_0x35b827[_0x57b6('0x15')][_0x57b6('0x7')](_0x4053d5=>{const _0xcabe70=_0x49ff00['t'],{type:_0xaf5564,data:_0x4bc30f}=_0x4053d5;if(_0x57b6('0xf')==_0xaf5564&&_0x4bc30f&&_0x57b6('0x1f')==_0x4bc30f['commandName']){const _0x32925e=_0x4bc30f['commandParams'][0x0][_0x57b6('0x13')],_0x31414e=_0xcabe70(_0x402c70[_0x57b6('0x19')](_0x40ceac=>_0x40ceac[_0x57b6('0x13')]===_0x32925e)[_0x57b6('0xb')]);return _0x4bc30f[_0x57b6('0x1e')][0x0]['forceValue']?{'type':'format','content':_0x6ab29(_0x49ff00,_0x57b6('0x1d'),_0x6ab29(_0x49ff00,_0x57b6('0xd'),0x1)+'\x20('+_0x31414e+')')}:{'type':_0x57b6('0x1a'),'content':_0x6ab29(_0x49ff00,_0x57b6('0x1c'),_0x6ab29(_0x49ff00,_0x57b6('0xd'),0x1))};}}));}}function oo(_0xd6e879){return _0x57b6('0x1f')==_0xd6e879[_0x57b6('0xe')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f23=['enableCommand','editor','TrackChangesEditing','afterInit','addCommentThread','get','plugins','CommentsEditing'];(function(_0x434184,_0x1f2319){const _0x33bbf7=function(_0x484017){while(--_0x484017){_0x434184['push'](_0x434184['shift']());}};_0x33bbf7(++_0x1f2319);}(_0x1f23,0x17e));const _0x33bb=function(_0x434184,_0x1f2319){_0x434184=_0x434184-0x0;let _0x33bbf7=_0x1f23[_0x434184];return _0x33bbf7;};import{Plugin as _0x46a40f}from'ckeditor5/src/core';export default class F extends _0x46a40f{[_0x33bb('0x5')](){const _0x77293a=this[_0x33bb('0x3')];if(!_0x77293a[_0x33bb('0x0')]['has'](_0x33bb('0x1')))return;_0x77293a[_0x33bb('0x0')][_0x33bb('0x7')](_0x33bb('0x4'))[_0x33bb('0x2')](_0x33bb('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34aa=['createRange','downcastDispatcher','root','bind','isCollapsed','addMarker:suggestion:deletion','editing','unit','start','lock','batch','unlock','createSelection','showSuggestionHighlights','forward','getFirstRange','init','buffer','deleteForward','editor','commands','$graveyard','fromRange','setSelection','markerName','writer','removeMarker:suggestion:deletion','detach','merge','high','enqueueChange','model','TrackChangesEditing','end','document','mapper','remove'];(function(_0x1a8d8a,_0x34aa0c){const _0x176833=function(_0x4d3646){while(--_0x4d3646){_0x1a8d8a['push'](_0x1a8d8a['shift']());}};_0x176833(++_0x34aa0c);}(_0x34aa,0xd3));const _0x1768=function(_0x1a8d8a,_0x34aa0c){_0x1a8d8a=_0x1a8d8a-0x0;let _0x176833=_0x34aa[_0x1a8d8a];return _0x176833;};import{Plugin as _0x3d887f}from'ckeditor5/src/core';import{LiveRange as _0x41bd41}from'ckeditor5/src/engine';import{Delete as _0xca0e7e}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x30b45a}from'./utils';export default class G extends _0x3d887f{static get['requires'](){return[_0xca0e7e];}[_0x1768('0x1b')](){const _0x5a928f=this[_0x1768('0x1e')],_0x13e2f7=_0x5a928f['plugins']['get'](_0x1768('0x6'));_0x13e2f7['enableCommand']('delete');const _0x2753b6=_0x5a928f[_0x1768('0x1f')]['get'](_0x1768('0x1d'));_0x13e2f7['enableCommand'](_0x1768('0x1d'),(_0x41e19b,_0x1c0ea8={})=>{const _0xfb1eac=_0x5a928f[_0x1768('0x5')][_0x1768('0x17')](_0x5a928f[_0x1768('0x5')][_0x1768('0x8')]['selection']);_0xfb1eac[_0x1768('0xf')]&&_0x5a928f[_0x1768('0x5')]['modifySelection'](_0xfb1eac,{'direction':_0x1768('0x19'),'unit':_0x1c0ea8[_0x1768('0x12')]});const _0x37058d=_0xfb1eac[_0x1768('0x1a')](),_0xd30d48=_0x41bd41[_0x1768('0x21')](_0x37058d);let _0x591a4c;_0x41e19b(_0x1c0ea8),_0x591a4c=_0x1768('0x20')==_0xd30d48[_0x1768('0xd')]['rootName']?_0x5a928f[_0x1768('0x5')]['createRange'](_0x37058d[_0x1768('0x13')]):_0x5a928f[_0x1768('0x5')][_0x1768('0xb')](_0xd30d48[_0x1768('0x13')],_0xd30d48[_0x1768('0x7')]),_0xd30d48[_0x1768('0x1')](),_0x5a928f[_0x1768('0x5')][_0x1768('0x4')](_0x2753b6[_0x1768('0x1c')][_0x1768('0x15')],_0x25cd21=>{_0x2753b6['buffer'][_0x1768('0x14')](),_0x25cd21[_0x1768('0x22')](_0x25cd21[_0x1768('0xb')](_0x591a4c[_0x1768('0x7')])),_0x2753b6[_0x1768('0x1c')][_0x1768('0x16')]();});}),_0x5a928f[_0x1768('0x11')][_0x1768('0xc')]['on'](_0x1768('0x10'),_0x30b45a(_0x5a928f,_0x1768('0x2')),{'priority':_0x1768('0x3')}),_0x5a928f['data'][_0x1768('0xc')]['on'](_0x1768('0x10'),(_0x5a6681,_0x357f3f,_0x556901)=>{_0x556901['options'][_0x1768('0x18')]&&_0x30b45a(_0x5a928f,_0x1768('0x2'),{'showActiveMarker':!0x1})[_0x1768('0xe')](this)(_0x5a6681,_0x357f3f,_0x556901);},{'priority':_0x1768('0x3')}),_0x5a928f[_0x1768('0x11')][_0x1768('0xc')]['on'](_0x1768('0x0'),(_0xb7aebe,_0x29b5ca,_0x442f04)=>{const _0xfe3a98=_0x442f04[_0x1768('0x9')]['markerNameToElements'](_0x29b5ca['markerName']);if(_0xfe3a98)for(const _0x57aed of _0xfe3a98)_0x57aed['is']('uiElement')&&(_0x442f04[_0x1768('0x9')]['unbindElementFromMarkerName'](_0x57aed,_0x29b5ca[_0x1768('0x23')]),_0x442f04[_0x1768('0x24')][_0x1768('0xa')](_0x57aed));},{'priority':_0x1768('0x3')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5279=['fromRange','*Indent:*\x20%0','markMultiRangeBlockFormat','indentList','editor','enableCommand','start','deletion','nodeAfter','toUpperCase','listItemId','format','outdentList','from','_suggestionFactory','getAttribute','findIndex','commandParams','*Change\x20to:*\x20%0','splitListItemBefore','markBlockFormat','commands','numberedList','selection','listIndent','refresh','DocumentListEditing','splitListItemAfter','map','afterInit','registerDescriptionCallback','document','ELEMENT_LIST_ITEM','ELEMENT_BULLETED_LIST','detach','locale','createRange','length','execute','listType','DocumentListUtils','change','containsItem','hasAttribute','_descriptionFactory','schema','add','has','documentList','get','slice','model','bulletedList','registerElementLabel','setSelection','nextSibling','*Format:*\x20remove\x20from\x20%0','registerCustomCallback','isObject','end','previousSibling','push','forceValue','getSelectedBlocks','formatBlock','*Format:*\x20insert\x20into\x20%0','commandName','createPositionAt','value','getFirstRange','isFirstBlockOfListItem','plugins','_LIST'];(function(_0xf9adf4,_0x527936){const _0x21fc78=function(_0x81590a){while(--_0x81590a){_0xf9adf4['push'](_0xf9adf4['shift']());}};_0x21fc78(++_0x527936);}(_0x5279,0xa5));const _0x21fc=function(_0xf9adf4,_0x527936){_0xf9adf4=_0xf9adf4-0x0;let _0x21fc78=_0x5279[_0xf9adf4];return _0x21fc78;};import{Plugin as _0xed197f}from'ckeditor5/src/core';import{getTranslation as _0x3c9820}from'../utils/common-translations';import{LiveRange as _0x36ef54}from'ckeditor5/src/engine';export default class L extends _0xed197f{[_0x21fc('0xa')](){const _0x47339f=this[_0x21fc('0x3a')];if(!_0x47339f[_0x21fc('0x34')][_0x21fc('0x1c')](_0x21fc('0x7')))return;const _0x14b956=_0x47339f[_0x21fc('0x10')],_0x34d30f=_0x47339f[_0x21fc('0x34')][_0x21fc('0x1e')]('TrackChangesEditing'),_0x28aca5=_0x47339f[_0x21fc('0x34')][_0x21fc('0x1e')](_0x21fc('0x15'));function _0x2bba9b(_0x823d99){return()=>{const _0x4e2c55=_0x47339f[_0x21fc('0x2')][_0x21fc('0x1e')](_0x823d99);let _0x4eec12=Array[_0x21fc('0x43')](_0x47339f[_0x21fc('0x20')][_0x21fc('0xc')][_0x21fc('0x4')][_0x21fc('0x2c')]());if(_0x5905d9(_0x823d99)){_0x4eec12=_0x28aca5['expandListBlocksToCompleteList'](_0x4eec12);const _0x419959=[];for(const _0x22f95f of _0x4eec12)_0x28aca5[_0x21fc('0x33')](_0x22f95f)&&_0x419959[_0x21fc('0x2a')](_0x22f95f);_0x4eec12=_0x419959;}_0x47339f[_0x21fc('0x20')][_0x21fc('0x16')](()=>{_0x34d30f[_0x21fc('0x38')](_0x4eec12,{'commandName':_0x823d99,'commandParams':[{'forceValue':!_0x4e2c55['value']}],'formatGroupId':_0x21fc('0x14')},[],'documentList');});};}function _0x208f86(_0x47da48){return()=>{const _0x2b905b=function(_0x2d45cd){let _0x544bdd=Array[_0x21fc('0x43')](_0x2d45cd);const _0x40e99d=_0x544bdd[_0x21fc('0x46')](_0x55578d=>!_0x55578d[_0x21fc('0x18')]('listItemId'));return _0x40e99d>-0x1&&(_0x544bdd=_0x544bdd[_0x21fc('0x1f')](0x0,_0x40e99d)),_0x544bdd;}(_0x47339f[_0x21fc('0x20')][_0x21fc('0xc')][_0x21fc('0x4')][_0x21fc('0x2c')]()),_0x4ea08a=_0x2b905b[_0x2b905b[_0x21fc('0x12')]-0x1],_0x5c68e8=_0x47339f[_0x21fc('0x20')][_0x21fc('0x1a')][_0x21fc('0x27')](_0x4ea08a)?'after':_0x21fc('0x28'),_0x2eba7f=_0x47339f[_0x21fc('0x20')]['createRange'](_0x47339f['model']['createPositionAt'](_0x2b905b[0x0],'before'),_0x47339f[_0x21fc('0x20')][_0x21fc('0x30')](_0x4ea08a,_0x5c68e8));_0x47339f[_0x21fc('0x20')][_0x21fc('0x16')](()=>{_0x34d30f[_0x21fc('0x1')](_0x2eba7f,{'commandName':_0x47da48,'commandParams':[],'formatGroupId':_0x21fc('0x14')},function(_0x6e6deb){const _0x3346e4=new Set();for(const _0x2eac53 of _0x6e6deb){let _0x3c1167=_0x2eac53['nextSibling'];for(;_0x3c1167&&_0x3c1167[_0x21fc('0x45')](_0x21fc('0x5'))>_0x2eac53[_0x21fc('0x45')](_0x21fc('0x5'));)_0x3346e4[_0x21fc('0x1b')](_0x3c1167),_0x3c1167=_0x3c1167[_0x21fc('0x24')];}return Array[_0x21fc('0x43')](_0x3346e4);}(_0x2b905b));});};}function _0x3eb18c(_0x51a14b){return()=>{const _0x4d65cf=_0x47339f[_0x21fc('0x20')][_0x21fc('0xc')][_0x21fc('0x4')][_0x21fc('0x2c')]()['next']()['value'],_0x14e658=_0x47339f[_0x21fc('0x20')]['createPositionAt'](_0x4d65cf,'before'),_0x37eaa1=_0x47339f[_0x21fc('0x20')]['createPositionAt'](_0x4d65cf,0x0),_0x485a50=_0x47339f['model'][_0x21fc('0x11')](_0x14e658,_0x37eaa1);_0x47339f[_0x21fc('0x20')][_0x21fc('0x16')](()=>{_0x34d30f[_0x21fc('0x1')](_0x485a50,{'commandName':_0x51a14b,'commandParams':[],'formatGroupId':'listType'});});};}function _0x5905d9(_0x53d519){const _0x374fbd=_0x47339f[_0x21fc('0x2')][_0x21fc('0x1e')](_0x21fc('0x21'))[_0x21fc('0x31')],_0x11eaef=_0x47339f[_0x21fc('0x2')][_0x21fc('0x1e')](_0x21fc('0x3'))['value'];return'numberedList'===_0x53d519?_0x374fbd:_0x11eaef;}_0x34d30f[_0x21fc('0x3b')](_0x21fc('0x3'),_0x2bba9b(_0x21fc('0x3'))),_0x34d30f[_0x21fc('0x3b')]('bulletedList',_0x2bba9b(_0x21fc('0x21'))),_0x34d30f['enableCommand'](_0x21fc('0x39'),_0x208f86(_0x21fc('0x39'))),_0x34d30f['enableCommand'](_0x21fc('0x42'),_0x208f86(_0x21fc('0x42'))),_0x34d30f['enableCommand']('splitListItemAfter',_0x3eb18c(_0x21fc('0x8'))),_0x34d30f[_0x21fc('0x3b')](_0x21fc('0x0'),_0x3eb18c(_0x21fc('0x0'))),_0x34d30f[_0x21fc('0x19')][_0x21fc('0x22')](function(_0x29afd6){const _0x17c74a=!_0x47339f[_0x21fc('0x20')]['schema'][_0x21fc('0x27')](_0x29afd6),_0x40f537=_0x29afd6[_0x21fc('0x29')],_0x1677e7=_0x29afd6[_0x21fc('0x24')],_0x8783e4=_0x29afd6[_0x21fc('0x45')](_0x21fc('0x40')),_0x2302c8=!_0x40f537||_0x40f537[_0x21fc('0x45')]('listItemId')!==_0x8783e4,_0x5554ef=!_0x1677e7||_0x1677e7[_0x21fc('0x45')](_0x21fc('0x40'))!==_0x8783e4;return _0x17c74a&&Boolean(_0x8783e4)&&_0x2302c8&&_0x5554ef;},_0xeebe12=>_0x3c9820(_0x14b956,_0x21fc('0xd'),_0xeebe12)),_0x34d30f[_0x21fc('0x19')][_0x21fc('0xb')](function(_0x3e4719){const {data:_0x26debe}=_0x3e4719;if(!_0x26debe)return;let _0x38a52c,_0x208362,_0x1eea63,_0x24a5ae;switch(_0x26debe['commandName']){case _0x21fc('0x21'):_0x1eea63=_0x26debe[_0x21fc('0x47')][0x0][_0x21fc('0x2b')],_0x24a5ae=_0x5905d9(_0x26debe['commandName']),_0x38a52c=_0x1eea63?_0x21fc('0x2e'):'*Format:*\x20remove\x20from\x20%0',_0x24a5ae&&(_0x38a52c=_0x21fc('0x48')),_0x208362={'type':'format','content':_0x3c9820(_0x14b956,_0x38a52c,_0x3c9820(_0x14b956,_0x21fc('0xe')))};break;case _0x21fc('0x3'):_0x1eea63=_0x26debe['commandParams'][0x0][_0x21fc('0x2b')],_0x24a5ae=_0x5905d9(_0x26debe[_0x21fc('0x2f')]),_0x38a52c=_0x1eea63?'*Format:*\x20insert\x20into\x20%0':_0x21fc('0x25'),_0x24a5ae&&(_0x38a52c='*Change\x20to:*\x20%0'),_0x208362={'type':_0x21fc('0x41'),'content':_0x3c9820(_0x14b956,_0x38a52c,_0x3c9820(_0x14b956,'ELEMENT_NUMBERED_LIST'))};break;case _0x21fc('0x39'):_0x38a52c=_0x21fc('0x37'),_0x208362={'type':_0x21fc('0x41'),'content':_0x3c9820(_0x14b956,_0x38a52c,_0x3c9820(_0x14b956,'ELEMENT_LIST_ITEM'))};break;case _0x21fc('0x42'):_0x38a52c=function(_0x1640ec){const _0x52ab97=_0x1640ec[_0x21fc('0x32')]();let _0xf856d2=_0x52ab97['start']['nodeAfter'];for(;_0xf856d2&&_0x52ab97[_0x21fc('0x17')](_0xf856d2);){if(_0xf856d2[_0x21fc('0x45')]('listIndent')>0x0)return!0x1;_0xf856d2=_0xf856d2['nextSibling'];}return!0x0;}(_0x3e4719)?_0x3c9820(_0x14b956,_0x21fc('0x25'),_0x3c9820(_0x14b956,function(_0xf3be44){const _0x9c10e4=_0xf3be44[_0x21fc('0x32')]()[_0x21fc('0x3c')][_0x21fc('0x3e')];return'ELEMENT_'+_0x9c10e4[_0x21fc('0x45')](_0x21fc('0x14'))[_0x21fc('0x3f')]()+_0x21fc('0x35');}(_0x3e4719))):_0x3c9820(_0x14b956,'*Outdent:*\x20%0',_0x3c9820(_0x14b956,'ELEMENT_LIST_ITEM')),_0x208362={'type':'format','content':_0x38a52c};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x26debe['multipleBlocks']&&(_0x38a52c='*Merge:*\x20%0',_0x208362={'type':_0x21fc('0x3d'),'content':_0x3c9820(_0x14b956,_0x38a52c,_0x3c9820(_0x14b956,_0x21fc('0xd')))});}return _0x208362;}),_0x34d30f[_0x21fc('0x44')][_0x21fc('0x26')](_0x21fc('0x2d'),_0x21fc('0x1d'),'accept',function(_0x102b03,_0x84dfd){const _0x113b64=[];for(let _0x5cc273 of _0x102b03)_0x5cc273[_0x21fc('0x3c')]['nodeAfter']===_0x5cc273[_0x21fc('0x28')]['parent']&&(_0x5cc273=_0x47339f[_0x21fc('0x20')][_0x21fc('0x11')](_0x47339f[_0x21fc('0x20')][_0x21fc('0x30')](_0x5cc273[_0x21fc('0x3c')][_0x21fc('0x3e')],0x0))),_0x113b64[_0x21fc('0x2a')](_0x5cc273);_0x47339f[_0x21fc('0x20')][_0x21fc('0x16')](_0x80db27=>{const _0x101522=_0x47339f[_0x21fc('0x20')]['document']['selection'],_0x458248=Array[_0x21fc('0x43')](_0x101522['getRanges']())[_0x21fc('0x9')](_0x5a5558=>_0x36ef54[_0x21fc('0x36')](_0x5a5558));_0x80db27[_0x21fc('0x23')](_0x113b64),_0x47339f[_0x21fc('0x2')][_0x21fc('0x1e')](_0x84dfd[_0x21fc('0x2f')])[_0x21fc('0x6')](),_0x84dfd['commandParams'][_0x21fc('0x2a')]({'forceDefaultExecution':!0x0}),_0x47339f[_0x21fc('0x13')](_0x84dfd[_0x21fc('0x2f')],..._0x84dfd['commandParams']),_0x80db27[_0x21fc('0x23')](_0x458248);for(const _0xf4843a of _0x458248)_0xf4843a[_0x21fc('0xf')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x381e=['DocumentListUtils','_getSuggestionBlocksForListStyle','getListTypeFromListStyleType','bind','styles','format','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','editor','filter','get','from','numbered','list.properties','listStart','listType','listReversed','registerDescriptionCallback','length','startIndex','change','isListItemBlock','isFirstBlockOfListItem','config','plugins','_getSuggestionBlocks','reversed','DocumentListPropertiesEditing','listStyle','*Change\x20to:*\x20%0','push','replace','expandListBlocksToCompleteList','*Format:*\x20set\x20order\x20to\x20regular','DocumentListPropertiesUtils','getAttribute','TrackChangesEditing','_LIST_','model','_descriptionFactory','handleListStartCommand','enableCommand','toUpperCase','has','commandParams','type','selection','markMultiRangeBlockFormat','document','*Format:*\x20set\x20order\x20to\x20reversed','handleDescriptions'];(function(_0x15daa1,_0x381e61){const _0x3ad147=function(_0x3a1eba){while(--_0x3a1eba){_0x15daa1['push'](_0x15daa1['shift']());}};_0x3ad147(++_0x381e61);}(_0x381e,0xbf));const _0x3ad1=function(_0x15daa1,_0x381e61){_0x15daa1=_0x15daa1-0x0;let _0x3ad147=_0x381e[_0x15daa1];return _0x3ad147;};import{Plugin as _0x464e86}from'ckeditor5/src/core';import{getTranslation as _0x8d03f9}from'../utils/common-translations';export default class At extends _0x464e86{['afterInit'](){if(!this[_0x3ad1('0x15')][_0x3ad1('0x25')][_0x3ad1('0x5')](_0x3ad1('0x28')))return;const _0x539f04=this[_0x3ad1('0x15')][_0x3ad1('0x24')]['get'](_0x3ad1('0x1a')),_0x4a5ac1=this[_0x3ad1('0x15')][_0x3ad1('0x25')][_0x3ad1('0x17')]('TrackChangesEditing');_0x539f04[_0x3ad1('0x11')]&&_0x4a5ac1[_0x3ad1('0x3')]('listStyle',this['handleListStyleCommand'][_0x3ad1('0x10')](this)),_0x539f04['reversed']&&_0x4a5ac1[_0x3ad1('0x3')]('listReversed',this['handleListReversedCommand'][_0x3ad1('0x10')](this)),_0x539f04[_0x3ad1('0x20')]&&_0x4a5ac1[_0x3ad1('0x3')]('listStart',this[_0x3ad1('0x2')]['bind'](this)),_0x4a5ac1[_0x3ad1('0x1')][_0x3ad1('0x1e')](this[_0x3ad1('0xc')][_0x3ad1('0x10')](this));}['handleListStyleCommand'](_0x1b9f5d,_0x45b82b={}){const _0x45ac6a=this['editor'][_0x3ad1('0x25')][_0x3ad1('0x17')](_0x3ad1('0x31')),_0x38eba9=this['_getSuggestionBlocksForListStyle']();this[_0x3ad1('0x15')]['model'][_0x3ad1('0x21')](()=>{_0x45ac6a[_0x3ad1('0x9')](_0x38eba9,{'commandName':_0x3ad1('0x29'),'commandParams':[{'type':_0x45b82b[_0x3ad1('0x7')]}],'formatGroupId':_0x3ad1('0x29')});});}['handleListReversedCommand'](_0x207b2c,_0x1e90a9={}){const _0x4b4b5e=this['editor']['plugins'][_0x3ad1('0x17')]('TrackChangesEditing'),_0x171f36=this[_0x3ad1('0x15')][_0x3ad1('0x25')]['get'](_0x3ad1('0xd')),_0xf9006a=this[_0x3ad1('0x26')](_0x470185=>_0x171f36[_0x3ad1('0x22')](_0x470185)&&_0x3ad1('0x19')===_0x470185[_0x3ad1('0x30')](_0x3ad1('0x1c')));null!==_0xf9006a&&this[_0x3ad1('0x15')]['model'][_0x3ad1('0x21')](()=>{_0x4b4b5e[_0x3ad1('0x9')](_0xf9006a,{'commandName':_0x3ad1('0x1d'),'commandParams':[{'reversed':_0x1e90a9['reversed']}],'formatGroupId':_0x3ad1('0x1d')});});}[_0x3ad1('0x2')](_0x46f357,_0x128aaf={}){const _0x435f51=this[_0x3ad1('0x15')]['plugins'][_0x3ad1('0x17')](_0x3ad1('0x31')),_0x31d07e=this[_0x3ad1('0x15')][_0x3ad1('0x25')][_0x3ad1('0x17')](_0x3ad1('0xd')),_0x618573=this['_getSuggestionBlocks'](_0x4763f7=>_0x31d07e[_0x3ad1('0x22')](_0x4763f7)&&_0x3ad1('0x19')===_0x4763f7[_0x3ad1('0x30')](_0x3ad1('0x1c')));null!==_0x618573&&this['editor'][_0x3ad1('0x0')][_0x3ad1('0x21')](()=>{_0x435f51['markMultiRangeBlockFormat'](_0x618573,{'commandName':_0x3ad1('0x1b'),'commandParams':[{'startIndex':_0x128aaf[_0x3ad1('0x20')]}],'formatGroupId':_0x3ad1('0x1b')});});}['handleDescriptions'](_0xb0ca07){const _0x27efc3=this[_0x3ad1('0x15')]['locale'],{data:_0x1e7a1d}=_0xb0ca07;if(!_0x1e7a1d)return;let _0x4867a9,_0x4342f6;switch(_0x1e7a1d['commandName']){case _0x3ad1('0x29'):_0x4867a9=_0x3ad1('0x2a'),_0x4342f6={'type':_0x3ad1('0x12'),'content':_0x8d03f9(_0x27efc3,_0x4867a9,_0x8d03f9(_0x27efc3,this['_getTranslationKeyForListStyle'](_0x1e7a1d[_0x3ad1('0x6')][0x0]['type'])))};break;case _0x3ad1('0x1d'):_0x4867a9=_0x1e7a1d[_0x3ad1('0x6')][0x0][_0x3ad1('0x27')]?_0x3ad1('0xb'):_0x3ad1('0x2e'),_0x4342f6={'type':'format','content':_0x8d03f9(_0x27efc3,_0x4867a9)};break;case'listStart':_0x4867a9=_0x3ad1('0x13'),_0x4342f6={'type':_0x3ad1('0x12'),'content':_0x8d03f9(_0x27efc3,_0x4867a9,_0x1e7a1d[_0x3ad1('0x6')][0x0][_0x3ad1('0x20')])};}return _0x4342f6;}[_0x3ad1('0xe')](){const _0x262d76=this[_0x3ad1('0x15')][_0x3ad1('0x25')][_0x3ad1('0x17')](_0x3ad1('0xd'));let _0x1c2571=Array[_0x3ad1('0x18')](this[_0x3ad1('0x15')]['model'][_0x3ad1('0xa')][_0x3ad1('0x8')][_0x3ad1('0x14')]());return _0x1c2571[_0x3ad1('0x2b')](..._0x262d76[_0x3ad1('0x2d')](_0x1c2571)),_0x1c2571=[...new Set(_0x1c2571)],_0x1c2571;}[_0x3ad1('0x26')](_0x5e60bb){const _0x2d6c98=this[_0x3ad1('0x15')][_0x3ad1('0x25')][_0x3ad1('0x17')](_0x3ad1('0xd'));let _0x55d0e2=Array[_0x3ad1('0x18')](this[_0x3ad1('0x15')][_0x3ad1('0x0')][_0x3ad1('0xa')][_0x3ad1('0x8')]['getSelectedBlocks']())[_0x3ad1('0x16')](_0x5e60bb);if(!_0x55d0e2[_0x3ad1('0x1f')])return null;_0x55d0e2=_0x2d6c98[_0x3ad1('0x2d')](_0x55d0e2);const _0x2df91b=[];for(const _0x14087f of _0x55d0e2)_0x2d6c98[_0x3ad1('0x23')](_0x14087f)&&_0x2df91b[_0x3ad1('0x2b')](_0x14087f);return _0x2df91b;}['_getTranslationKeyForListStyle'](_0x487ebd){return'ELEMENT_'+this[_0x3ad1('0x15')][_0x3ad1('0x25')][_0x3ad1('0x17')](_0x3ad1('0x2f'))[_0x3ad1('0xf')](_0x487ebd)[_0x3ad1('0x4')]()+_0x3ad1('0x32')+_0x487ebd[_0x3ad1('0x4')]()[_0x3ad1('0x2c')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dc2=['high','createPositionAt','markerName','requires','parent','setSelection','document','change','addMarker:suggestion:insertion','downcastDispatcher','unbindElementFromMarkerName','model','get','end','hasClass','split','ck-suggestion-marker-split','enter','fromRange','TrackChangesEditing','removeMarker:suggestion:insertion','init','editing','mapper','createRange','getFirstRange','selection','nextSibling','writer','plugins','enableCommand','options','commands','fire'];(function(_0x53e9bd,_0x2dc248){const _0x1ba27c=function(_0x2c5694){while(--_0x2c5694){_0x53e9bd['push'](_0x53e9bd['shift']());}};_0x1ba27c(++_0x2dc248);}(_0x2dc2,0x1c4));const _0x1ba2=function(_0x53e9bd,_0x2dc248){_0x53e9bd=_0x53e9bd-0x0;let _0x1ba27c=_0x2dc2[_0x53e9bd];return _0x1ba27c;};import{Plugin as _0x350a66}from'ckeditor5/src/core';import{Enter as _0x59376d}from'ckeditor5/src/enter';import{LiveRange as _0x3c04d7}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3ca311}from'./utils';export default class q extends _0x350a66{static get[_0x1ba2('0x1b')](){return[_0x59376d];}[_0x1ba2('0xb')](){const _0x5ab45c=this['editor'],_0x53d4fe=_0x5ab45c[_0x1ba2('0x13')][_0x1ba2('0x2')](_0x1ba2('0x9')),_0x4758d5=_0x5ab45c[_0x1ba2('0x16')][_0x1ba2('0x2')](_0x1ba2('0x7'));_0x53d4fe[_0x1ba2('0x14')](_0x1ba2('0x7'),()=>{_0x5ab45c['model'][_0x1ba2('0x1f')](_0x421a58=>{const _0x3c2360=_0x5ab45c[_0x1ba2('0x1')][_0x1ba2('0x1e')][_0x1ba2('0x10')],_0xffcbf7=_0x3c2360['getFirstPosition'](),_0x17a2f4=_0x3c04d7[_0x1ba2('0x8')](_0x3c2360[_0x1ba2('0xf')]());if(_0x4758d5['enterBlock'](_0x421a58)){const _0x33f6dd=_0x5ab45c['model'][_0x1ba2('0x19')](_0xffcbf7[_0x1ba2('0x1c')][_0x1ba2('0x11')],0x0),_0x346a31=_0x421a58[_0x1ba2('0xe')](_0xffcbf7,_0x33f6dd);_0x53d4fe['markInsertion'](_0x346a31);}else _0x421a58[_0x1ba2('0x1d')](_0x421a58[_0x1ba2('0xe')](_0x17a2f4[_0x1ba2('0x3')]));_0x17a2f4['detach'](),_0x4758d5[_0x1ba2('0x17')]('afterExecute',{'writer':_0x421a58});});}),_0x5ab45c[_0x1ba2('0xc')][_0x1ba2('0x21')]['on'](_0x1ba2('0x20'),_0x3ca311(_0x5ab45c,_0x1ba2('0x5')),{'priority':_0x1ba2('0x18')}),_0x5ab45c[_0x1ba2('0xc')][_0x1ba2('0x21')]['on'](_0x1ba2('0xa'),(_0x17434f,_0x43e0ff,_0x32c5b5)=>{const _0x24e58f=_0x32c5b5[_0x1ba2('0xd')]['markerNameToElements'](_0x43e0ff[_0x1ba2('0x1a')]);if(_0x24e58f)for(const _0x58e613 of _0x24e58f)_0x58e613[_0x1ba2('0x4')](_0x1ba2('0x6'))&&(_0x32c5b5[_0x1ba2('0xd')][_0x1ba2('0x0')](_0x58e613,_0x43e0ff[_0x1ba2('0x1a')]),_0x32c5b5[_0x1ba2('0x12')]['remove'](_0x58e613));},{'priority':_0x1ba2('0x18')}),_0x5ab45c['data'][_0x1ba2('0x21')]['on'](_0x1ba2('0x20'),(_0x16e1ab,_0x1edbd4,_0x2c1230)=>{_0x2c1230[_0x1ba2('0x15')]['showSuggestionHighlights']&&_0x3ca311(_0x5ab45c,_0x1ba2('0x5'),{'showActiveMarker':!0x1})['bind'](this)(_0x16e1ab,_0x1edbd4,_0x2c1230);},{'priority':_0x1ba2('0x18')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x238c=['editor','bind','plugins','find','replaceAll','get','has','findNext','findPrevious','createRange','enableCommand','end','getIntersection','getRange','filter','suggestion:deletion','item','createPositionAt','model','handleFindCommand','FindAndReplaceUtils','start','_isInDeletionRange'];(function(_0x580287,_0x238cee){const _0x1502b6=function(_0x301712){while(--_0x301712){_0x580287['push'](_0x580287['shift']());}};_0x1502b6(++_0x238cee);}(_0x238c,0x1d6));const _0x1502=function(_0x580287,_0x238cee){_0x580287=_0x580287-0x0;let _0x1502b6=_0x238c[_0x580287];return _0x1502b6;};import{Plugin as _0xe86add}from'ckeditor5/src/core';export default class z extends _0xe86add{['afterInit'](){if(!this['editor'][_0x1502('0xf')][_0x1502('0x13')]('FindAndReplaceEditing'))return;const _0x3a3518=this[_0x1502('0xd')][_0x1502('0xf')][_0x1502('0x12')]('TrackChangesEditing');_0x3a3518['enableCommand'](_0x1502('0x10'),this[_0x1502('0x9')][_0x1502('0xe')](this)),_0x3a3518['enableCommand'](_0x1502('0x14')),_0x3a3518[_0x1502('0x0')](_0x1502('0x15')),_0x3a3518[_0x1502('0x0')]('replace'),_0x3a3518[_0x1502('0x0')](_0x1502('0x11'));}[_0x1502('0x9')](_0x461092,_0x4fdd7a,_0xe9819c={}){const _0x469a90=this[_0x1502('0xd')][_0x1502('0xf')][_0x1502('0x12')](_0x1502('0xa'));void 0x0!==_0xe9819c&&_0x461092(_0x3ece48=>('string'==typeof _0x4fdd7a?_0x469a90['findByTextCallback'](_0x4fdd7a,_0xe9819c):_0x4fdd7a)(_0x3ece48)[_0x1502('0x4')](_0x1581e9=>!0x1===this[_0x1502('0xc')](_0x1581e9,_0x3ece48[_0x1502('0x6')])),_0xe9819c);}[_0x1502('0xc')](_0x3fe2ba,_0x1e7ac5){const _0x456131=this['editor'][_0x1502('0x8')][_0x1502('0x16')](this[_0x1502('0xd')][_0x1502('0x8')][_0x1502('0x7')](_0x1e7ac5,_0x3fe2ba[_0x1502('0xb')]),this[_0x1502('0xd')][_0x1502('0x8')]['createPositionAt'](_0x1e7ac5,_0x3fe2ba[_0x1502('0x1')]));for(const _0x20710c of this[_0x1502('0xd')][_0x1502('0x8')]['markers']['getMarkersGroup'](_0x1502('0x5')))if(null!==_0x456131[_0x1502('0x2')](_0x20710c[_0x1502('0x3')]()))return!0x0;return!0x1;}}
|