@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230706.0 → 0.0.0-nightly-20230708.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230708.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230708.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230708.0",
|
|
44
44
|
"lodash-es": "^4.17.11"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1054=['get','_suggestions','plugins','isEnabled','TrackChangesEditing','track-changes-accept-suggestion-not-found','refresh','execute','editor','canEditAt','model'];(function(_0x23bb45,_0x10541c){const _0x4253bb=function(_0x4bb045){while(--_0x4bb045){_0x23bb45['push'](_0x23bb45['shift']());}};_0x4253bb(++_0x10541c);}(_0x1054,0xfa));const _0x4253=function(_0x23bb45,_0x10541c){_0x23bb45=_0x23bb45-0x0;let _0x4253bb=_0x1054[_0x23bb45];return _0x4253bb;};import{Command as _0x4c16d7}from'ckeditor5/src/core';import{CKEditorError as _0x4beea0}from'ckeditor5/src/utils';export default class M extends _0x4c16d7{constructor(_0x5bc1cf,_0x5657b3){super(_0x5bc1cf),this[_0x4253('0x4')]=_0x5657b3,this[_0x4253('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this[_0x4253('0x6')]=!0x0;}[_0x4253('0xa')](_0x7466ef){const _0x53dac2=this[_0x4253('0x4')][_0x4253('0x3')](_0x7466ef);if(!_0x53dac2)throw new _0x4beea0(_0x4253('0x8'),this);const _0x4629f0=_0x53dac2['getRanges']();this['editor'][_0x4253('0x2')][_0x4253('0x1')](_0x4629f0)&&this[_0x4253('0x0')][_0x4253('0x5')][_0x4253('0x3')](_0x4253('0x7'))['acceptSuggestion'](_0x53dac2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2881=['get','refresh','canEditAt','isEnabled','track-changes-discard-suggestion-not-found','_suggestions','model','plugins','execute','getRanges','editor','TrackChangesEditing'];(function(_0x4e2555,_0x28813c){const _0x317051=function(_0x6be512){while(--_0x6be512){_0x4e2555['push'](_0x4e2555['shift']());}};_0x317051(++_0x28813c);}(_0x2881,0x1ac));const _0x3170=function(_0x4e2555,_0x28813c){_0x4e2555=_0x4e2555-0x0;let _0x317051=_0x2881[_0x4e2555];return _0x317051;};import{Command as _0x45d1ec}from'ckeditor5/src/core';import{CKEditorError as _0x5af539}from'ckeditor5/src/utils';export default class $ extends _0x45d1ec{constructor(_0x3a45d0,_0x27010e){super(_0x3a45d0),this[_0x3170('0x9')]=_0x27010e,this[_0x3170('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this[_0x3170('0x7')]=!0x0;}[_0x3170('0x0')](_0x3bb0b1){const _0x2a31df=this['_suggestions'][_0x3170('0x4')](_0x3bb0b1);if(!_0x2a31df)throw new _0x5af539(_0x3170('0x8'),this);const _0x1f3197=_0x2a31df[_0x3170('0x1')]();this[_0x3170('0x2')][_0x3170('0xa')][_0x3170('0x6')](_0x1f3197)&&this[_0x3170('0x2')][_0x3170('0xb')][_0x3170('0x4')](_0x3170('0x3'))['discardSuggestion'](_0x2a31df);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x597a=['isEnabled','from','values','editor','_command','_suggestions','refresh','isInContent','model'];(function(_0x13e024,_0x597acc){const _0x31a3e1=function(_0xd8744f){while(--_0xd8744f){_0x13e024['push'](_0x13e024['shift']());}};_0x31a3e1(++_0x597acc);}(_0x597a,0xb7));const _0x31a3=function(_0x13e024,_0x597acc){_0x13e024=_0x13e024-0x0;let _0x31a3e1=_0x597a[_0x13e024];return _0x31a3e1;};import{Command as _0x2ea1a8}from'ckeditor5/src/core';import{sortSuggestions as _0x115ba8,executeCommandForSuggestions as _0x2e8fd1}from'../utils/utils';export default class N extends _0x2ea1a8{constructor(_0x27d325,_0x199af9,_0xed47d7){super(_0x27d325),this[_0x31a3('0x1')]=_0x199af9,this['_suggestions']=_0xed47d7,this[_0x31a3('0x3')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x31a3('0x3')](){const _0x2027e3=Array['from'](this[_0x31a3('0x2')]['values']())['some'](_0xb73dcb=>_0xb73dcb[_0x31a3('0x4')]);this[_0x31a3('0x6')]=this[_0x31a3('0x1')][_0x31a3('0x6')]&&_0x2027e3;}['execute'](){const _0x354ff2=_0x115ba8(Array[_0x31a3('0x7')](this[_0x31a3('0x2')][_0x31a3('0x8')]()));for(const _0xf67fa6 of _0x354ff2){const _0x23ee67=_0xf67fa6['getRanges']();if(!this['editor'][_0x31a3('0x5')]['canEditAt'](_0x23ee67))return;}_0x2e8fd1(this[_0x31a3('0x0')][_0x31a3('0x5')],this[_0x31a3('0x1')],_0x354ff2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f0=['_command','_selectedSuggestions','model','canEditAt','_isEnabledBasedOnSelection','from','editor','document','isEnabled','_suggestions','size','refresh','values','getRanges','selection'];(function(_0x85f073,_0x10f0be){const _0x41ab14=function(_0x2b828e){while(--_0x2b828e){_0x85f073['push'](_0x85f073['shift']());}};_0x41ab14(++_0x10f0be);}(_0x10f0,0x87));const _0x41ab=function(_0x85f073,_0x10f0be){_0x85f073=_0x85f073-0x0;let _0x41ab14=_0x10f0[_0x85f073];return _0x41ab14;};import{Command as _0x47e781}from'ckeditor5/src/core';import{sortSuggestions as _0x50b71f,getSelectedSuggestions as _0x4849ad,executeCommandForSuggestions as _0x3fbc40}from'../utils/utils';export default class R extends _0x47e781{constructor(_0x4d9611,_0x4743c9,_0x5caa14){super(_0x4d9611),this[_0x41ab('0x0')]=_0x4743c9,this[_0x41ab('0x9')]=_0x5caa14,this[_0x41ab('0x1')]=new Set(),this[_0x41ab('0xb')](),this[_0x41ab('0x4')]=!0x1;}[_0x41ab('0xb')](){const _0xb3b991=this[_0x41ab('0x6')][_0x41ab('0x2')][_0x41ab('0x7')][_0x41ab('0xe')],_0xe67a0d=Array[_0x41ab('0x5')](this[_0x41ab('0x9')][_0x41ab('0xc')]());this[_0x41ab('0x1')]=_0x4849ad(_0xb3b991,_0xe67a0d),this[_0x41ab('0x8')]=this[_0x41ab('0x0')][_0x41ab('0x8')]&&!!this[_0x41ab('0x1')][_0x41ab('0xa')];}['execute'](){const _0x1c22bb=_0x50b71f(Array[_0x41ab('0x5')](this[_0x41ab('0x1')]));for(const _0xe06a04 of _0x1c22bb){const _0x510e4a=_0xe06a04[_0x41ab('0xd')]();if(!this[_0x41ab('0x6')][_0x41ab('0x2')][_0x41ab('0x3')](_0x510e4a))return;}_0x3fbc40(this[_0x41ab('0x6')][_0x41ab('0x2')],this[_0x41ab('0x0')],_0x1c22bb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1abd=['commands','TrackChangesCommand','has','execute','_enableCommands','isEnabled','forceDisabled','clearForceDisabled','_isEnabledBasedOnSelection','_disableUnsupportedCommands','editor','refresh','_enabledCommands','value'];(function(_0x4f8977,_0x1abd85){const _0x17de7e=function(_0x17d1df){while(--_0x17d1df){_0x4f8977['push'](_0x4f8977['shift']());}};_0x17de7e(++_0x1abd85);}(_0x1abd,0x1b2));const _0x17de=function(_0x4f8977,_0x1abd85){_0x4f8977=_0x4f8977-0x0;let _0x17de7e=_0x1abd[_0x4f8977];return _0x17de7e;};import{Command as _0x4b7ac3}from'ckeditor5/src/core';export default class _ extends _0x4b7ac3{constructor(_0x2547a7,_0x5a2b7b){super(_0x2547a7),this['_enabledCommands']=_0x5a2b7b,this[_0x17de('0xd')]=!0x1,this[_0x17de('0xb')](),this[_0x17de('0x8')]=!0x1;}[_0x17de('0xb')](){this[_0x17de('0x5')]=!0x0;}[_0x17de('0x3')](){this[_0x17de('0xd')]=!this[_0x17de('0xd')],this[_0x17de('0xd')]?this[_0x17de('0x9')]():this[_0x17de('0x4')]();}['_disableUnsupportedCommands'](){for(const _0x2320e3 of this['editor']['commands']['commands']())_0x2320e3['affectsData']&&!this['_enabledCommands'][_0x17de('0x2')](_0x2320e3)&&_0x2320e3[_0x17de('0x6')](_0x17de('0x1'));}[_0x17de('0x4')](){for(const _0x3e5b5f of this[_0x17de('0xa')][_0x17de('0x0')][_0x17de('0x0')]())_0x3e5b5f['affectsData']&&!this[_0x17de('0xc')][_0x17de('0x2')](_0x3e5b5f)&&_0x3e5b5f[_0x17de('0x7')](_0x17de('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2abd=['commandName','has','get','value','locale','enableCommand','TrackChangesEditing','filter','center','_descriptionFactory','*Format:*\x20%0','contentLanguageDirection','document','getAttribute','alignment','selection','model','FORMAT_ALIGN_TO_RIGHT','commandParams','FORMAT_ALIGN_TO_LEFT','AlignmentEditing','from','change','plugins','right','afterInit','left','markBlockFormat','getSelectedBlocks','FORMAT_ALIGN_TO_CENTER','justify','editor','format','FORMAT_JUSTIFY_TEXT'];(function(_0x5a586e,_0x2abdfb){const _0x3ac2e8=function(_0x1d6981){while(--_0x1d6981){_0x5a586e['push'](_0x5a586e['shift']());}};_0x3ac2e8(++_0x2abdfb);}(_0x2abd,0x1df));const _0x3ac2=function(_0x5a586e,_0x2abdfb){_0x5a586e=_0x5a586e-0x0;let _0x3ac2e8=_0x2abd[_0x5a586e];return _0x3ac2e8;};import{Plugin as _0x56c3d1}from'ckeditor5/src/core';import{getTranslation as _0xca2d08}from'../utils/common-translations';export default class x extends _0x56c3d1{[_0x3ac2('0x16')](){const _0x3aefae=this[_0x3ac2('0x1c')],_0x214c8b=_0x3aefae[_0x3ac2('0x1')];if(!_0x3aefae[_0x3ac2('0x14')][_0x3ac2('0x20')](_0x3ac2('0x11')))return;const _0x33dbf6=_0x3aefae['plugins'][_0x3ac2('0x21')](_0x3ac2('0x3'));_0x33dbf6[_0x3ac2('0x2')]('alignment',(_0x58146c,_0x365214={})=>{let _0x1b86ce=_0x365214['value'];_0x365214['value']||(_0x1b86ce='ltr'===_0x3aefae[_0x3ac2('0x1')][_0x3ac2('0x8')]?'left':_0x3ac2('0x15'));const _0x417af5=Array[_0x3ac2('0x12')](this['editor'][_0x3ac2('0xd')][_0x3ac2('0x9')][_0x3ac2('0xc')][_0x3ac2('0x19')]())[_0x3ac2('0x4')](_0x38bcf6=>function(_0x2d166f,_0x5b0234,_0x154a37){const _0x4e2d54=_0x2d166f[_0x3ac2('0xa')](_0x3ac2('0xb'))||null;return _0x5b0234['checkAttribute'](_0x2d166f,_0x3ac2('0xb'))&&_0x154a37!=_0x4e2d54;}(_0x38bcf6,this[_0x3ac2('0x1c')][_0x3ac2('0xd')]['schema'],_0x1b86ce));_0x3aefae[_0x3ac2('0xd')][_0x3ac2('0x13')](()=>{for(const _0x360123 of _0x417af5)_0x33dbf6[_0x3ac2('0x18')](_0x360123,{'commandName':'alignment','commandParams':[{'value':_0x1b86ce}]});});}),_0x33dbf6[_0x3ac2('0x6')]['registerDescriptionCallback'](_0x203ade=>{const {data:_0x22a94f}=_0x203ade;if(_0x22a94f&&_0x3ac2('0xb')==_0x22a94f[_0x3ac2('0x1f')]){const _0x2f266a=_0x22a94f[_0x3ac2('0xf')][0x0][_0x3ac2('0x0')];return{'type':_0x3ac2('0x1d'),'content':_0xca2d08(_0x214c8b,_0x3ac2('0x7'),function(_0x119ca0){switch(_0x119ca0){case _0x3ac2('0x17'):return _0xca2d08(_0x214c8b,_0x3ac2('0x10'));case _0x3ac2('0x15'):return _0xca2d08(_0x214c8b,_0x3ac2('0xe'));case _0x3ac2('0x5'):return _0xca2d08(_0x214c8b,_0x3ac2('0x1a'));case _0x3ac2('0x1b'):return _0xca2d08(_0x214c8b,_0x3ac2('0x1e'));}}(_0x2f266a))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50cc=['forceValue','*Remove\x20format:*\x20%0','getRanges','afterInit','commands','plugins','SuperscriptEditing','from','StrikethroughEditing','FORMAT_STRIKETHROUGH','change','selection','get','model','ItalicEditing','document','subscript','underline','value','format','FORMAT_UNDERLINE','enableCommand','SubscriptEditing','slice','editor','commandParams','UnderlineEditing','code','strikethrough','*Format:*\x20%0','superscript','registerDescriptionCallback','BoldEditing','FORMAT_CODE','italic','TrackChangesEditing','CodeEditing','locale'];(function(_0x8ed299,_0x50cc11){const _0x16a804=function(_0x13c238){while(--_0x13c238){_0x8ed299['push'](_0x8ed299['shift']());}};_0x16a804(++_0x50cc11);}(_0x50cc,0x89));const _0x16a8=function(_0x8ed299,_0x50cc11){_0x8ed299=_0x8ed299-0x0;let _0x16a804=_0x50cc[_0x8ed299];return _0x16a804;};import{Plugin as _0x1c9e59}from'ckeditor5/src/core';import{getTranslation as _0x385122}from'../utils/common-translations';import{getRangesWithAttribute as _0x2fd161}from'./utils';const Kt=[_0x16a8('0x9'),_0x16a8('0x1d'),_0x16a8('0x3'),_0x16a8('0xd'),_0x16a8('0x17'),_0x16a8('0x25'),_0x16a8('0x15')];export default class U extends _0x1c9e59{[_0x16a8('0x12')](){const _0x2f6a7e=this[_0x16a8('0x1')],_0x35f0d8=_0x2f6a7e[_0x16a8('0x1c')],_0x1f6290=_0x2f6a7e[_0x16a8('0x14')][_0x16a8('0x1b')](_0x16a8('0xc')),_0x5128a0=_0x2f6a7e[_0x16a8('0xe')];for(const _0x39c2b4 of Kt){if(!_0x2f6a7e[_0x16a8('0x14')]['has'](_0x39c2b4))continue;const _0x9c5d49=_0x39c2b4[_0x16a8('0x0')](0x0,-0x7)['toLowerCase'](),_0x17aa62=_0x2f6a7e[_0x16a8('0x13')][_0x16a8('0x1b')](_0x9c5d49);_0x1f6290[_0x16a8('0x24')](_0x9c5d49,(_0x49e195,_0x1d84e4={})=>{const _0xde88f3=_0x35f0d8[_0x16a8('0x1e')][_0x16a8('0x1a')];if(_0xde88f3['isCollapsed'])return void _0x49e195(_0x1d84e4);const _0x3fe05e=void 0x0!==_0x1d84e4[_0x16a8('0xf')]?_0x1d84e4['forceValue']:!_0x17aa62[_0x16a8('0x21')];_0x35f0d8[_0x16a8('0x19')](()=>{const _0x143406=Array[_0x16a8('0x16')](_0xde88f3[_0x16a8('0x11')]());for(const _0x328f58 of _0x143406){const _0x4d059b=_0x3fe05e?[_0x328f58]:_0x2fd161(_0x9c5d49,_0x328f58,_0x35f0d8);for(const _0x4372a1 of _0x4d059b)_0x1f6290['markInlineFormat'](_0x4372a1,{'commandName':_0x9c5d49,'commandParams':[{'forceValue':_0x3fe05e}]});}});});}function _0x34ffe9(_0x14b2c3,_0x258cdc){_0x1f6290['_descriptionFactory'][_0x16a8('0x8')](_0x387b64=>{const {data:_0x3d7fe9}=_0x387b64;if(_0x3d7fe9&&_0x3d7fe9['commandName']===_0x14b2c3)return _0x3d7fe9[_0x16a8('0x2')][0x0]['forceValue']?{'type':'format','content':_0x385122(_0x5128a0,_0x16a8('0x6'),_0x258cdc)}:{'type':_0x16a8('0x22'),'content':_0x385122(_0x5128a0,_0x16a8('0x10'),_0x258cdc)};});}_0x34ffe9('bold',_0x385122(_0x5128a0,'FORMAT_BOLD')),_0x34ffe9(_0x16a8('0xb'),_0x385122(_0x5128a0,'FORMAT_ITALIC')),_0x34ffe9(_0x16a8('0x20'),_0x385122(_0x5128a0,_0x16a8('0x23'))),_0x34ffe9(_0x16a8('0x4'),_0x385122(_0x5128a0,_0x16a8('0xa'))),_0x34ffe9(_0x16a8('0x5'),_0x385122(_0x5128a0,_0x16a8('0x18'))),_0x34ffe9(_0x16a8('0x1f'),_0x385122(_0x5128a0,'FORMAT_SUBSCRIPT')),_0x34ffe9(_0x16a8('0x7'),_0x385122(_0x5128a0,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x206c=['*Remove\x20format:*\x20%0','filter','schema','commandName','has','TrackChangesEditing','model','$root','locale','enableCommand','checkChild','document','blockQuote','selection','get','name','getSelectedBlocks','editor','*Format:*\x20%0','forceValue','markBlockFormat','afterInit','plugins','ELEMENT_BLOCK_QUOTE','format','_descriptionFactory','parent','BlockQuoteEditing'];(function(_0x27c93c,_0x206c1a){const _0x4452a1=function(_0x4a1af0){while(--_0x4a1af0){_0x27c93c['push'](_0x27c93c['shift']());}};_0x4452a1(++_0x206c1a);}(_0x206c,0x10b));const _0x4452=function(_0x27c93c,_0x206c1a){_0x27c93c=_0x27c93c-0x0;let _0x4452a1=_0x206c[_0x27c93c];return _0x4452a1;};import{Plugin as _0x11ff29}from'ckeditor5/src/core';import{getTranslation as _0x45fbbc}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2eaffe}from'../utils/utils';export default class j extends _0x11ff29{[_0x4452('0x6')](){const _0x5e81c8=this[_0x4452('0x2')],_0x4e6dce=_0x5e81c8[_0x4452('0x15')];if(!_0x5e81c8[_0x4452('0x7')][_0x4452('0x11')](_0x4452('0xc')))return;const _0x29eb9b=_0x5e81c8[_0x4452('0x7')][_0x4452('0x1b')](_0x4452('0x12')),_0x3589f2=this[_0x4452('0x2')]['commands']['get']('blockQuote');_0x29eb9b[_0x4452('0x16')](_0x4452('0x19'),(_0x1c91ae,_0x5bb111={})=>{const _0x10eb3e=this[_0x4452('0x2')][_0x4452('0x13')][_0x4452('0x18')][_0x4452('0x1a')],_0xc574d6=_0x5bb111&&void 0x0!==_0x5bb111['forceValue']?_0x5bb111[_0x4452('0x4')]:!_0x3589f2['value'];let _0x337e4c=[];if(_0xc574d6){const _0x17350d=Array['from'](_0x10eb3e[_0x4452('0x1')]())['filter'](_0x3c520a=>Xt(_0x3c520a)||function(_0xb8b29e,_0x2a6c6c){const _0x2c9a44=_0x2a6c6c[_0x4452('0x17')](_0xb8b29e[_0x4452('0xb')],'blockQuote'),_0x2fa8ca=_0x2a6c6c[_0x4452('0x17')]([_0x4452('0x14'),_0x4452('0x19')],_0xb8b29e);return _0x2c9a44&&_0x2fa8ca;}(_0x3c520a,this[_0x4452('0x2')][_0x4452('0x13')][_0x4452('0xf')]));_0x337e4c=_0x2eaffe(_0x17350d,_0x5e81c8[_0x4452('0x13')]);}else{const _0xc6d502=Array['from'](_0x10eb3e[_0x4452('0x1')]())[_0x4452('0xe')](_0x544676=>Xt(_0x544676));_0x337e4c=_0x2eaffe(_0xc6d502,_0x5e81c8[_0x4452('0x13')]);}_0x5e81c8['model']['change'](()=>{for(const _0x7b1475 of _0x337e4c)_0x29eb9b[_0x4452('0x5')](_0x7b1475,{'commandName':_0x4452('0x19'),'commandParams':[{'forceValue':_0xc574d6}]});});}),_0x29eb9b[_0x4452('0xa')]['registerDescriptionCallback'](_0xeed60d=>{const {data:_0x34c809}=_0xeed60d;if(_0x34c809&&_0x4452('0x19')==_0x34c809[_0x4452('0x10')]){const _0x270333=_0x45fbbc(_0x4e6dce,_0x4452('0x8'));return _0x34c809['commandParams'][0x0][_0x4452('0x4')]?{'type':_0x4452('0x9'),'content':_0x45fbbc(_0x4e6dce,_0x4452('0x3'),_0x270333)}:{'type':'format','content':_0x45fbbc(_0x4e6dce,_0x4452('0xd'),_0x270333)};}});}}function Xt(_0x454b40){return _0x4452('0x19')==_0x454b40[_0x4452('0xb')][_0x4452('0x0')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51a0=['editor','ckbox','get','enableCommand','afterInit','plugins','TrackChangesEditing'];(function(_0x73dd73,_0x51a082){const _0x2f46a4=function(_0x15330b){while(--_0x15330b){_0x73dd73['push'](_0x73dd73['shift']());}};_0x2f46a4(++_0x51a082);}(_0x51a0,0x82));const _0x2f46=function(_0x73dd73,_0x51a082){_0x73dd73=_0x73dd73-0x0;let _0x2f46a4=_0x51a0[_0x73dd73];return _0x2f46a4;};import{Plugin as _0x553b8a}from'ckeditor5/src/core';export default class E extends _0x553b8a{[_0x2f46('0x0')](){const _0x448b06=this[_0x2f46('0x3')];_0x448b06['commands']['get'](_0x2f46('0x4'))&&_0x448b06[_0x2f46('0x1')][_0x2f46('0x5')](_0x2f46('0x2'))[_0x2f46('0x6')](_0x2f46('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5644=['blockName','commandParams','commandName','isLimit','filter','markBlockFormat','plugins','document','enableCommand','name','checkChild','format','ELEMENT_CODE_BLOCK','find','locale','registerDescriptionCallback','afterInit','parent','_descriptionFactory','outdentCodeBlock','*Remove\x20format:*\x20%0','languages','has','*Format:*\x20%0','from','forceValue','registerElementLabel','rootElement','get','selection','language','getSelectedBlocks','label','config','indentCodeBlock','codeBlock','change','model'];(function(_0x1d8ca7,_0x5644b9){const _0xc32771=function(_0x2898e8){while(--_0x2898e8){_0x1d8ca7['push'](_0x1d8ca7['shift']());}};_0xc32771(++_0x5644b9);}(_0x5644,0xe0));const _0xc327=function(_0x1d8ca7,_0x5644b9){_0x1d8ca7=_0x1d8ca7-0x0;let _0xc32771=_0x5644[_0x1d8ca7];return _0xc32771;};import{Plugin as _0x209e10}from'ckeditor5/src/core';import{getTranslation as _0x1c972d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4043b2}from'../utils/utils';export default class O extends _0x209e10{[_0xc327('0x14')](){const _0x55dcdf=this['editor'];if(!_0x55dcdf['plugins'][_0xc327('0x1a')]('CodeBlock'))return;const _0x45258a=_0x55dcdf[_0xc327('0xa')][_0xc327('0x20')]('TrackChangesEditing'),_0x2181dc=_0x55dcdf[_0xc327('0x12')],_0xf4168a=_0x55dcdf[_0xc327('0x25')][_0xc327('0x20')](_0xc327('0x1'))[_0xc327('0x19')],_0x35c58c=_0x55dcdf['commands'][_0xc327('0x20')](_0xc327('0x1'));_0x45258a[_0xc327('0xc')](_0xc327('0x0')),_0x45258a['enableCommand'](_0xc327('0x17')),_0x45258a['enableCommand'](_0xc327('0x1'),(_0x1ca14e,_0xe1fe42={})=>{const _0x2a837f=_0x55dcdf['model'],_0x43d302=_0x55dcdf[_0xc327('0x3')][_0xc327('0xb')][_0xc327('0x21')],_0x24ac9a=_0xe1fe42&&void 0x0!==_0xe1fe42[_0xc327('0x1d')]?_0xe1fe42[_0xc327('0x1d')]:!_0x35c58c['value'];let _0x16beaf;_0xe1fe42[_0xc327('0x22')]||(_0xe1fe42[_0xc327('0x22')]=_0xf4168a[0x0][_0xc327('0x22')]),_0x16beaf=_0x24ac9a?Array[_0xc327('0x1c')](_0x43d302[_0xc327('0x23')]())[_0xc327('0x8')](_0x1a446a=>oo(_0x1a446a)||function(_0x3c3931,_0x520009){if(_0x3c3931['is'](_0xc327('0x1f'))||_0x520009[_0xc327('0x7')](_0x3c3931))return!0x1;return _0x520009[_0xc327('0xe')](_0x3c3931[_0xc327('0x15')],_0xc327('0x1'));}(_0x1a446a,_0x2a837f['schema'])):Array['from'](_0x43d302[_0xc327('0x23')]())[_0xc327('0x8')](_0x19d5fb=>oo(_0x19d5fb));const _0x475057=_0x4043b2(_0x16beaf,_0x2a837f);_0x2a837f[_0xc327('0x2')](()=>{for(const _0x512376 of _0x475057)_0x45258a[_0xc327('0x9')](_0x512376,{'commandName':'codeBlock','commandParams':[{..._0xe1fe42,'forceValue':_0x24ac9a}],'formatGroupId':_0xc327('0x4')});});}),(_0x45258a[_0xc327('0x16')][_0xc327('0x1e')](_0xc327('0x1'),_0xa5290b=>_0x1c972d(_0x2181dc,_0xc327('0x10'),_0xa5290b)),_0x45258a[_0xc327('0x16')][_0xc327('0x13')](_0x1fd2da=>{const _0x1d68d1=_0x2181dc['t'],{type:_0x317a40,data:_0x482331}=_0x1fd2da;if('formatBlock'==_0x317a40&&_0x482331&&_0xc327('0x1')==_0x482331[_0xc327('0x6')]){const _0x33bbe0=_0x482331[_0xc327('0x5')][0x0][_0xc327('0x22')],_0x21d797=_0x1d68d1(_0xf4168a[_0xc327('0x11')](_0x16cf05=>_0x16cf05[_0xc327('0x22')]===_0x33bbe0)[_0xc327('0x24')]);return _0x482331[_0xc327('0x5')][0x0][_0xc327('0x1d')]?{'type':_0xc327('0xf'),'content':_0x1c972d(_0x2181dc,_0xc327('0x1b'),_0x1c972d(_0x2181dc,_0xc327('0x10'),0x1)+'\x20('+_0x21d797+')')}:{'type':_0xc327('0xf'),'content':_0x1c972d(_0x2181dc,_0xc327('0x18'),_0x1c972d(_0x2181dc,_0xc327('0x10'),0x1))};}}));}}function oo(_0x838e5f){return _0xc327('0x1')==_0x838e5f[_0xc327('0xd')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xef28=['addCommentThread','editor','CommentsEditing','get','enableCommand','plugins','afterInit'];(function(_0x223a5c,_0xef2885){const _0x3294e7=function(_0x5527d1){while(--_0x5527d1){_0x223a5c['push'](_0x223a5c['shift']());}};_0x3294e7(++_0xef2885);}(_0xef28,0xf3));const _0x3294=function(_0x223a5c,_0xef2885){_0x223a5c=_0x223a5c-0x0;let _0x3294e7=_0xef28[_0x223a5c];return _0x3294e7;};import{Plugin as _0x581e82}from'ckeditor5/src/core';export default class F extends _0x581e82{[_0x3294('0x1')](){const _0x1d96f7=this[_0x3294('0x3')];if(!_0x1d96f7['plugins']['has'](_0x3294('0x4')))return;_0x1d96f7[_0x3294('0x0')][_0x3294('0x5')]('TrackChangesEditing')[_0x3294('0x6')](_0x3294('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcfb9=['enqueueChange','buffer','high','writer','getFirstRange','start','model','init','createSelection','TrackChangesEditing','markerNameToElements','detach','$graveyard','addMarker:suggestion:deletion','isCollapsed','editor','fromRange','enableCommand','unlock','unit','mapper','setSelection','deleteForward','end','commands','merge','selection','remove','editing','downcastDispatcher','bind','batch','createRange','markerName','get','uiElement','data','root','requires','delete'];(function(_0x209c1d,_0xcfb986){const _0x54bd4c=function(_0x157077){while(--_0x157077){_0x209c1d['push'](_0x209c1d['shift']());}};_0x54bd4c(++_0xcfb986);}(_0xcfb9,0xed));const _0x54bd=function(_0x209c1d,_0xcfb986){_0x209c1d=_0x209c1d-0x0;let _0x54bd4c=_0xcfb9[_0x209c1d];return _0x54bd4c;};import{Plugin as _0x2bd59d}from'ckeditor5/src/core';import{LiveRange as _0x53cad5}from'ckeditor5/src/engine';import{Delete as _0xe79b94}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0xb5f117}from'./utils';export default class G extends _0x2bd59d{static get[_0x54bd('0x1')](){return[_0xe79b94];}[_0x54bd('0xa')](){const _0x51ac9b=this[_0x54bd('0x12')],_0x335e18=_0x51ac9b['plugins'][_0x54bd('0x25')](_0x54bd('0xc'));_0x335e18[_0x54bd('0x14')](_0x54bd('0x2'));const _0x375404=_0x51ac9b[_0x54bd('0x1b')][_0x54bd('0x25')](_0x54bd('0x19'));_0x335e18[_0x54bd('0x14')](_0x54bd('0x19'),(_0x28161e,_0x4924ef={})=>{const _0x47ff81=_0x51ac9b['model'][_0x54bd('0xb')](_0x51ac9b[_0x54bd('0x9')]['document'][_0x54bd('0x1d')]);_0x47ff81[_0x54bd('0x11')]&&_0x51ac9b[_0x54bd('0x9')]['modifySelection'](_0x47ff81,{'direction':'forward','unit':_0x4924ef[_0x54bd('0x16')]});const _0x51a90f=_0x47ff81[_0x54bd('0x7')](),_0x33ca40=_0x53cad5[_0x54bd('0x13')](_0x51a90f);let _0x5e1b88;_0x28161e(_0x4924ef),_0x5e1b88=_0x54bd('0xf')==_0x33ca40[_0x54bd('0x0')]['rootName']?_0x51ac9b['model'][_0x54bd('0x23')](_0x51a90f[_0x54bd('0x8')]):_0x51ac9b['model'][_0x54bd('0x23')](_0x33ca40[_0x54bd('0x8')],_0x33ca40[_0x54bd('0x1a')]),_0x33ca40[_0x54bd('0xe')](),_0x51ac9b[_0x54bd('0x9')][_0x54bd('0x3')](_0x375404[_0x54bd('0x4')][_0x54bd('0x22')],_0x4cf3a6=>{_0x375404['buffer']['lock'](),_0x4cf3a6[_0x54bd('0x18')](_0x4cf3a6['createRange'](_0x5e1b88[_0x54bd('0x1a')])),_0x375404[_0x54bd('0x4')][_0x54bd('0x15')]();});}),_0x51ac9b[_0x54bd('0x1f')][_0x54bd('0x20')]['on'](_0x54bd('0x10'),_0xb5f117(_0x51ac9b,_0x54bd('0x1c')),{'priority':'high'}),_0x51ac9b[_0x54bd('0x27')][_0x54bd('0x20')]['on'](_0x54bd('0x10'),(_0xd9c431,_0x457ac2,_0x381e7a)=>{_0x381e7a['options']['showSuggestionHighlights']&&_0xb5f117(_0x51ac9b,_0x54bd('0x1c'),{'showActiveMarker':!0x1})[_0x54bd('0x21')](this)(_0xd9c431,_0x457ac2,_0x381e7a);},{'priority':_0x54bd('0x5')}),_0x51ac9b['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x2799b3,_0xe9e2ce,_0x411163)=>{const _0x449ce1=_0x411163['mapper'][_0x54bd('0xd')](_0xe9e2ce['markerName']);if(_0x449ce1)for(const _0x1af3e9 of _0x449ce1)_0x1af3e9['is'](_0x54bd('0x26'))&&(_0x411163[_0x54bd('0x17')]['unbindElementFromMarkerName'](_0x1af3e9,_0xe9e2ce[_0x54bd('0x24')]),_0x411163[_0x54bd('0x6')][_0x54bd('0x1e')](_0x1af3e9));},{'priority':_0x54bd('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x105d=['isFirstBlockOfListItem','model','detach','ELEMENT_NUMBERED_LIST','setSelection','plugins','TrackChangesEditing','DocumentListUtils','fromRange','createPositionAt','document','slice','createRange','getFirstRange','*Change\x20to:*\x20%0','format','previousSibling','bulletedList','*Merge:*\x20%0','toUpperCase','selection','enableCommand','registerCustomCallback','length','listIndent','push','_LIST','ELEMENT_LIST_ITEM','add','from','schema','markMultiRangeBlockFormat','accept','get','mergeListItemForward','_descriptionFactory','splitListItemBefore','change','getRanges','listItemId','registerElementLabel','*Outdent:*\x20%0','multipleBlocks','getAttribute','commands','DocumentListEditing','refresh','containsItem','has','getSelectedBlocks','commandName','*Format:*\x20remove\x20from\x20%0','listType','forceValue','execute','markBlockFormat','formatBlock','editor','afterInit','parent','indentList','value','start','next','after','end','documentList','before','outdentList','locale','nextSibling','splitListItemAfter','isObject','*Format:*\x20insert\x20into\x20%0','*Indent:*\x20%0','hasAttribute','deletion','commandParams','numberedList','nodeAfter'];(function(_0xbf2e78,_0x105d82){const _0x3b81df=function(_0x3f17f7){while(--_0x3f17f7){_0xbf2e78['push'](_0xbf2e78['shift']());}};_0x3b81df(++_0x105d82);}(_0x105d,0x96));const _0x3b81=function(_0xbf2e78,_0x105d82){_0xbf2e78=_0xbf2e78-0x0;let _0x3b81df=_0x105d[_0xbf2e78];return _0x3b81df;};import{Plugin as _0xe79bac}from'ckeditor5/src/core';import{getTranslation as _0x1514ac}from'../utils/common-translations';import{LiveRange as _0x17c67a}from'ckeditor5/src/engine';export default class L extends _0xe79bac{[_0x3b81('0x44')](){const _0x4199c0=this[_0x3b81('0x43')];if(!_0x4199c0[_0x3b81('0xf')][_0x3b81('0x3a')](_0x3b81('0x37')))return;const _0x4f1070=_0x4199c0[_0x3b81('0x4f')],_0x31bde5=_0x4199c0[_0x3b81('0xf')]['get'](_0x3b81('0x10')),_0x26cf72=_0x4199c0[_0x3b81('0xf')]['get'](_0x3b81('0x11'));function _0x592674(_0x14fa38){return()=>{const _0x283bb9=_0x4199c0[_0x3b81('0x36')][_0x3b81('0x2b')](_0x14fa38);let _0x184938=Array[_0x3b81('0x27')](_0x4199c0['model'][_0x3b81('0x14')]['selection'][_0x3b81('0x3b')]());if(_0x594568(_0x14fa38)){_0x184938=_0x26cf72['expandListBlocksToCompleteList'](_0x184938);const _0xd77cc2=[];for(const _0x3a9830 of _0x184938)_0x26cf72[_0x3b81('0xa')](_0x3a9830)&&_0xd77cc2[_0x3b81('0x23')](_0x3a9830);_0x184938=_0xd77cc2;}_0x4199c0[_0x3b81('0xb')]['change'](()=>{_0x31bde5[_0x3b81('0x29')](_0x184938,{'commandName':_0x14fa38,'commandParams':[{'forceValue':!_0x283bb9['value']}],'formatGroupId':_0x3b81('0x3e')},[],_0x3b81('0x4c'));});};}function _0x4fa67a(_0x4de5c1){return()=>{const _0x42cf68=function(_0x42a190){let _0x2c85a7=Array[_0x3b81('0x27')](_0x42a190);const _0x34aabf=_0x2c85a7['findIndex'](_0x460be8=>!_0x460be8[_0x3b81('0x5')](_0x3b81('0x31')));return _0x34aabf>-0x1&&(_0x2c85a7=_0x2c85a7[_0x3b81('0x15')](0x0,_0x34aabf)),_0x2c85a7;}(_0x4199c0['model'][_0x3b81('0x14')][_0x3b81('0x1e')][_0x3b81('0x3b')]()),_0x23754d=_0x42cf68[_0x42cf68[_0x3b81('0x21')]-0x1],_0x31e64e=_0x4199c0['model'][_0x3b81('0x28')][_0x3b81('0x2')](_0x23754d)?_0x3b81('0x4a'):'end',_0x2452cb=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x16')](_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x42cf68[0x0],_0x3b81('0x4d')),_0x4199c0[_0x3b81('0xb')]['createPositionAt'](_0x23754d,_0x31e64e));_0x4199c0['model'][_0x3b81('0x2f')](()=>{_0x31bde5[_0x3b81('0x41')](_0x2452cb,{'commandName':_0x4de5c1,'commandParams':[],'formatGroupId':'listType'},function(_0x39972c){const _0xc3f877=new Set();for(const _0xa9868c of _0x39972c){let _0x492214=_0xa9868c[_0x3b81('0x0')];for(;_0x492214&&_0x492214[_0x3b81('0x35')](_0x3b81('0x22'))>_0xa9868c['getAttribute'](_0x3b81('0x22'));)_0xc3f877[_0x3b81('0x26')](_0x492214),_0x492214=_0x492214[_0x3b81('0x0')];}return Array[_0x3b81('0x27')](_0xc3f877);}(_0x42cf68));});};}function _0x4e277a(_0xedab09){return()=>{const _0x1cad12=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x14')]['selection']['getSelectedBlocks']()[_0x3b81('0x49')]()[_0x3b81('0x47')],_0x18256d=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x1cad12,_0x3b81('0x4d')),_0x50f381=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x1cad12,0x0),_0x4f9c9f=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x16')](_0x18256d,_0x50f381);_0x4199c0['model'][_0x3b81('0x2f')](()=>{_0x31bde5[_0x3b81('0x41')](_0x4f9c9f,{'commandName':_0xedab09,'commandParams':[],'formatGroupId':_0x3b81('0x3e')});});};}function _0x594568(_0x1b626d){const _0x17d8e3=_0x4199c0[_0x3b81('0x36')][_0x3b81('0x2b')](_0x3b81('0x1b'))[_0x3b81('0x47')],_0x1bb07a=_0x4199c0[_0x3b81('0x36')][_0x3b81('0x2b')]('numberedList')[_0x3b81('0x47')];return _0x3b81('0x8')===_0x1b626d?_0x17d8e3:_0x1bb07a;}_0x31bde5[_0x3b81('0x1f')]('numberedList',_0x592674(_0x3b81('0x8'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x1b'),_0x592674(_0x3b81('0x1b'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x46'),_0x4fa67a(_0x3b81('0x46'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x4e'),_0x4fa67a('outdentList')),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x1'),_0x4e277a(_0x3b81('0x1'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x2e'),_0x4e277a(_0x3b81('0x2e'))),_0x31bde5[_0x3b81('0x2d')][_0x3b81('0x32')](function(_0x305758){const _0x35cb5e=!_0x4199c0[_0x3b81('0xb')][_0x3b81('0x28')][_0x3b81('0x2')](_0x305758),_0x5818d0=_0x305758[_0x3b81('0x1a')],_0x27bca4=_0x305758[_0x3b81('0x0')],_0x30ccc1=_0x305758[_0x3b81('0x35')](_0x3b81('0x31')),_0x324637=!_0x5818d0||_0x5818d0[_0x3b81('0x35')](_0x3b81('0x31'))!==_0x30ccc1,_0xd45cc1=!_0x27bca4||_0x27bca4['getAttribute']('listItemId')!==_0x30ccc1;return _0x35cb5e&&Boolean(_0x30ccc1)&&_0x324637&&_0xd45cc1;},_0x288ad1=>_0x1514ac(_0x4f1070,_0x3b81('0x25'),_0x288ad1)),_0x31bde5[_0x3b81('0x2d')]['registerDescriptionCallback'](function(_0x9d823f){const {data:_0x6f1a99}=_0x9d823f;if(!_0x6f1a99)return;let _0x29c37a,_0x2244e7,_0x59a329,_0x51b278;switch(_0x6f1a99[_0x3b81('0x3c')]){case _0x3b81('0x1b'):_0x59a329=_0x6f1a99[_0x3b81('0x7')][0x0][_0x3b81('0x3f')],_0x51b278=_0x594568(_0x6f1a99['commandName']),_0x29c37a=_0x59a329?_0x3b81('0x3'):_0x3b81('0x3d'),_0x51b278&&(_0x29c37a=_0x3b81('0x18')),_0x2244e7={'type':'format','content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,'ELEMENT_BULLETED_LIST'))};break;case _0x3b81('0x8'):_0x59a329=_0x6f1a99[_0x3b81('0x7')][0x0]['forceValue'],_0x51b278=_0x594568(_0x6f1a99[_0x3b81('0x3c')]),_0x29c37a=_0x59a329?_0x3b81('0x3'):'*Format:*\x20remove\x20from\x20%0',_0x51b278&&(_0x29c37a='*Change\x20to:*\x20%0'),_0x2244e7={'type':'format','content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,_0x3b81('0xd')))};break;case _0x3b81('0x46'):_0x29c37a=_0x3b81('0x4'),_0x2244e7={'type':'format','content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,_0x3b81('0x25')))};break;case _0x3b81('0x4e'):_0x29c37a=function(_0x235c19){const _0x5ce380=_0x235c19[_0x3b81('0x17')]();let _0x5a1a18=_0x5ce380[_0x3b81('0x48')][_0x3b81('0x9')];for(;_0x5a1a18&&_0x5ce380[_0x3b81('0x39')](_0x5a1a18);){if(_0x5a1a18['getAttribute'](_0x3b81('0x22'))>0x0)return!0x1;_0x5a1a18=_0x5a1a18[_0x3b81('0x0')];}return!0x0;}(_0x9d823f)?_0x1514ac(_0x4f1070,_0x3b81('0x3d'),_0x1514ac(_0x4f1070,function(_0x1dcba3){const _0x2a3acd=_0x1dcba3[_0x3b81('0x17')]()[_0x3b81('0x48')]['nodeAfter'];return'ELEMENT_'+_0x2a3acd[_0x3b81('0x35')](_0x3b81('0x3e'))[_0x3b81('0x1d')]()+_0x3b81('0x24');}(_0x9d823f))):_0x1514ac(_0x4f1070,_0x3b81('0x33'),_0x1514ac(_0x4f1070,_0x3b81('0x25'))),_0x2244e7={'type':_0x3b81('0x19'),'content':_0x29c37a};break;case'mergeListItemBackward':case _0x3b81('0x2c'):!0x1===_0x6f1a99[_0x3b81('0x34')]&&(_0x29c37a=_0x3b81('0x1c'),_0x2244e7={'type':_0x3b81('0x6'),'content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,_0x3b81('0x25')))});}return _0x2244e7;}),_0x31bde5['_suggestionFactory'][_0x3b81('0x20')](_0x3b81('0x42'),_0x3b81('0x4c'),_0x3b81('0x2a'),function(_0x5afd57,_0x30b8fa){const _0x29f5d6=[];for(let _0x23b93d of _0x5afd57)_0x23b93d[_0x3b81('0x48')][_0x3b81('0x9')]===_0x23b93d[_0x3b81('0x4b')][_0x3b81('0x45')]&&(_0x23b93d=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x16')](_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x23b93d['start'][_0x3b81('0x9')],0x0))),_0x29f5d6[_0x3b81('0x23')](_0x23b93d);_0x4199c0[_0x3b81('0xb')][_0x3b81('0x2f')](_0x3cffa8=>{const _0x575716=_0x4199c0['model'][_0x3b81('0x14')][_0x3b81('0x1e')],_0x46b89a=Array[_0x3b81('0x27')](_0x575716[_0x3b81('0x30')]())['map'](_0x49fad3=>_0x17c67a[_0x3b81('0x12')](_0x49fad3));_0x3cffa8[_0x3b81('0xe')](_0x29f5d6),_0x4199c0['commands'][_0x3b81('0x2b')](_0x30b8fa[_0x3b81('0x3c')])[_0x3b81('0x38')](),_0x30b8fa['commandParams'][_0x3b81('0x23')]({'forceDefaultExecution':!0x0}),_0x4199c0[_0x3b81('0x40')](_0x30b8fa['commandName'],..._0x30b8fa[_0x3b81('0x7')]),_0x3cffa8['setSelection'](_0x46b89a);for(const _0x59aa1e of _0x46b89a)_0x59aa1e[_0x3b81('0xc')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x159f=['config','DocumentListUtils','listStart','TrackChangesEditing','styles','handleListReversedCommand','_getSuggestionBlocks','isFirstBlockOfListItem','getSelectedBlocks','has','model','filter','_descriptionFactory','listStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','handleListStartCommand','afterInit','*Format:*\x20set\x20order\x20to\x20regular','handleDescriptions','push','list.properties','handleListStyleCommand','selection','ELEMENT_','getListTypeFromListStyleType','from','reversed','document','markMultiRangeBlockFormat','startIndex','getAttribute','listReversed','enableCommand','_LIST_','registerDescriptionCallback','commandName','listType','format','editor','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListPropertiesEditing','_getSuggestionBlocksForListStyle','isListItemBlock','expandListBlocksToCompleteList','numbered','commandParams','locale','toUpperCase','type','change','bind','plugins','DocumentListPropertiesUtils','replace','length','_getTranslationKeyForListStyle'];(function(_0x2586e1,_0x159f4d){const _0x356b24=function(_0x5166b3){while(--_0x5166b3){_0x2586e1['push'](_0x2586e1['shift']());}};_0x356b24(++_0x159f4d);}(_0x159f,0x101));const _0x356b=function(_0x2586e1,_0x159f4d){_0x2586e1=_0x2586e1-0x0;let _0x356b24=_0x159f[_0x2586e1];return _0x356b24;};import{Plugin as _0xd9c541}from'ckeditor5/src/core';import{getTranslation as _0x48efcd}from'../utils/common-translations';export default class At extends _0xd9c541{[_0x356b('0x2d')](){if(!this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x25')](_0x356b('0xc')))return;const _0xef1b1d=this[_0x356b('0xa')][_0x356b('0x1c')][_0x356b('0x2b')](_0x356b('0x31')),_0x186ad7=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f'));_0xef1b1d[_0x356b('0x20')]&&_0x186ad7['enableCommand'](_0x356b('0x29'),this['handleListStyleCommand'][_0x356b('0x16')](this)),_0xef1b1d[_0x356b('0x37')]&&_0x186ad7['enableCommand'](_0x356b('0x3'),this[_0x356b('0x21')][_0x356b('0x16')](this)),_0xef1b1d[_0x356b('0x1')]&&_0x186ad7[_0x356b('0x4')](_0x356b('0x1e'),this['handleListStartCommand'][_0x356b('0x16')](this)),_0x186ad7[_0x356b('0x28')][_0x356b('0x6')](this['handleDescriptions'][_0x356b('0x16')](this));}[_0x356b('0x32')](_0x309775,_0x1f34b1={}){const _0x228418=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f')),_0x58fa05=this['_getSuggestionBlocksForListStyle']();this[_0x356b('0xa')][_0x356b('0x26')][_0x356b('0x15')](()=>{_0x228418['markMultiRangeBlockFormat'](_0x58fa05,{'commandName':_0x356b('0x29'),'commandParams':[{'type':_0x1f34b1[_0x356b('0x14')]}],'formatGroupId':_0x356b('0x29')});});}[_0x356b('0x21')](_0x48c9bd,_0x12d780={}){const _0x4be446=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f')),_0x701001=this[_0x356b('0xa')]['plugins'][_0x356b('0x2b')](_0x356b('0x1d')),_0x12b979=this[_0x356b('0x22')](_0x26ff25=>_0x701001[_0x356b('0xe')](_0x26ff25)&&_0x356b('0x10')===_0x26ff25[_0x356b('0x2')](_0x356b('0x8')));null!==_0x12b979&&this[_0x356b('0xa')][_0x356b('0x26')]['change'](()=>{_0x4be446[_0x356b('0x0')](_0x12b979,{'commandName':_0x356b('0x3'),'commandParams':[{'reversed':_0x12d780['reversed']}],'formatGroupId':'listReversed'});});}[_0x356b('0x2c')](_0x34d970,_0x37972f={}){const _0x147ede=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f')),_0x31d08e=this[_0x356b('0xa')]['plugins'][_0x356b('0x2b')](_0x356b('0x1d')),_0x27aa1d=this['_getSuggestionBlocks'](_0x2d1b6f=>_0x31d08e[_0x356b('0xe')](_0x2d1b6f)&&_0x356b('0x10')===_0x2d1b6f[_0x356b('0x2')](_0x356b('0x8')));null!==_0x27aa1d&&this[_0x356b('0xa')][_0x356b('0x26')]['change'](()=>{_0x147ede[_0x356b('0x0')](_0x27aa1d,{'commandName':'listStart','commandParams':[{'startIndex':_0x37972f['startIndex']}],'formatGroupId':'listStart'});});}[_0x356b('0x2f')](_0x1cae78){const _0x32b428=this[_0x356b('0xa')][_0x356b('0x12')],{data:_0x154699}=_0x1cae78;if(!_0x154699)return;let _0x249b51,_0x4c2020;switch(_0x154699[_0x356b('0x7')]){case _0x356b('0x29'):_0x249b51='*Change\x20to:*\x20%0',_0x4c2020={'type':'format','content':_0x48efcd(_0x32b428,_0x249b51,_0x48efcd(_0x32b428,this['_getTranslationKeyForListStyle'](_0x154699['commandParams'][0x0][_0x356b('0x14')])))};break;case _0x356b('0x3'):_0x249b51=_0x154699['commandParams'][0x0]['reversed']?_0x356b('0xb'):_0x356b('0x2e'),_0x4c2020={'type':_0x356b('0x9'),'content':_0x48efcd(_0x32b428,_0x249b51)};break;case'listStart':_0x249b51=_0x356b('0x2a'),_0x4c2020={'type':_0x356b('0x9'),'content':_0x48efcd(_0x32b428,_0x249b51,_0x154699[_0x356b('0x11')][0x0][_0x356b('0x1')])};}return _0x4c2020;}[_0x356b('0xd')](){const _0x28a396=this['editor'][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1d'));let _0x10bcbe=Array[_0x356b('0x36')](this[_0x356b('0xa')][_0x356b('0x26')][_0x356b('0x38')][_0x356b('0x33')]['getSelectedBlocks']());return _0x10bcbe[_0x356b('0x30')](..._0x28a396[_0x356b('0xf')](_0x10bcbe)),_0x10bcbe=[...new Set(_0x10bcbe)],_0x10bcbe;}[_0x356b('0x22')](_0x585789){const _0x28e32d=this['editor'][_0x356b('0x17')]['get'](_0x356b('0x1d'));let _0x575ffc=Array['from'](this[_0x356b('0xa')][_0x356b('0x26')][_0x356b('0x38')][_0x356b('0x33')][_0x356b('0x24')]())[_0x356b('0x27')](_0x585789);if(!_0x575ffc[_0x356b('0x1a')])return null;_0x575ffc=_0x28e32d['expandListBlocksToCompleteList'](_0x575ffc);const _0x19ffa5=[];for(const _0x1d82a5 of _0x575ffc)_0x28e32d[_0x356b('0x23')](_0x1d82a5)&&_0x19ffa5[_0x356b('0x30')](_0x1d82a5);return _0x19ffa5;}[_0x356b('0x1b')](_0x495b07){return _0x356b('0x34')+this[_0x356b('0xa')]['plugins'][_0x356b('0x2b')](_0x356b('0x18'))[_0x356b('0x35')](_0x495b07)[_0x356b('0x13')]()+_0x356b('0x5')+_0x495b07[_0x356b('0x13')]()[_0x356b('0x19')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e76=['createRange','split','commands','showSuggestionHighlights','downcastDispatcher','remove','change','data','nextSibling','ck-suggestion-marker-split','mapper','fromRange','end','model','requires','addMarker:suggestion:insertion','bind','high','markerNameToElements','editing','fire','options','writer','editor','detach','init','getFirstRange','markInsertion','removeMarker:suggestion:insertion','setSelection','createPositionAt','enter','markerName','unbindElementFromMarkerName','parent'];(function(_0x4438f9,_0x3e769c){const _0x54d0d8=function(_0x34c8ed){while(--_0x34c8ed){_0x4438f9['push'](_0x4438f9['shift']());}};_0x54d0d8(++_0x3e769c);}(_0x3e76,0x182));const _0x54d0=function(_0x4438f9,_0x3e769c){_0x4438f9=_0x4438f9-0x0;let _0x54d0d8=_0x3e76[_0x4438f9];return _0x54d0d8;};import{Plugin as _0x374785}from'ckeditor5/src/core';import{Enter as _0x110b83}from'ckeditor5/src/enter';import{LiveRange as _0x5be78c}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2e2bfc}from'./utils';export default class q extends _0x374785{static get[_0x54d0('0xd')](){return[_0x110b83];}[_0x54d0('0x18')](){const _0x3781aa=this[_0x54d0('0x16')],_0x586fcd=_0x3781aa['plugins']['get']('TrackChangesEditing'),_0x3f09fb=_0x3781aa[_0x54d0('0x1')]['get'](_0x54d0('0x1e'));_0x586fcd['enableCommand'](_0x54d0('0x1e'),()=>{_0x3781aa[_0x54d0('0xc')][_0x54d0('0x5')](_0x330481=>{const _0x55fa7a=_0x3781aa[_0x54d0('0xc')]['document']['selection'],_0x13bd72=_0x55fa7a['getFirstPosition'](),_0x10e6c9=_0x5be78c[_0x54d0('0xa')](_0x55fa7a[_0x54d0('0x19')]());if(_0x3f09fb['enterBlock'](_0x330481)){const _0x36048f=_0x3781aa[_0x54d0('0xc')][_0x54d0('0x1d')](_0x13bd72[_0x54d0('0x21')][_0x54d0('0x7')],0x0),_0x55c6d7=_0x330481[_0x54d0('0x22')](_0x13bd72,_0x36048f);_0x586fcd[_0x54d0('0x1a')](_0x55c6d7);}else _0x330481[_0x54d0('0x1c')](_0x330481[_0x54d0('0x22')](_0x10e6c9[_0x54d0('0xb')]));_0x10e6c9[_0x54d0('0x17')](),_0x3f09fb[_0x54d0('0x13')]('afterExecute',{'writer':_0x330481});});}),_0x3781aa['editing'][_0x54d0('0x3')]['on'](_0x54d0('0xe'),_0x2e2bfc(_0x3781aa,'split'),{'priority':_0x54d0('0x10')}),_0x3781aa[_0x54d0('0x12')][_0x54d0('0x3')]['on'](_0x54d0('0x1b'),(_0x3f494e,_0x2c45fa,_0x4ba95c)=>{const _0x568f54=_0x4ba95c[_0x54d0('0x9')][_0x54d0('0x11')](_0x2c45fa['markerName']);if(_0x568f54)for(const _0x175d81 of _0x568f54)_0x175d81['hasClass'](_0x54d0('0x8'))&&(_0x4ba95c[_0x54d0('0x9')][_0x54d0('0x20')](_0x175d81,_0x2c45fa[_0x54d0('0x1f')]),_0x4ba95c[_0x54d0('0x15')][_0x54d0('0x4')](_0x175d81));},{'priority':_0x54d0('0x10')}),_0x3781aa[_0x54d0('0x6')][_0x54d0('0x3')]['on'](_0x54d0('0xe'),(_0x5c1b3b,_0x1d0eb4,_0x42d830)=>{_0x42d830[_0x54d0('0x14')][_0x54d0('0x2')]&&_0x2e2bfc(_0x3781aa,_0x54d0('0x0'),{'showActiveMarker':!0x1})[_0x54d0('0xf')](this)(_0x5c1b3b,_0x1d0eb4,_0x42d830);},{'priority':_0x54d0('0x10')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d52=['markers','get','has','replaceAll','createPositionAt','filter','enableCommand','findByTextCallback','_isInDeletionRange','FindAndReplaceEditing','getMarkersGroup','model','suggestion:deletion','plugins','bind','handleFindCommand','createRange','findPrevious','start','string','TrackChangesEditing','editor','find'];(function(_0x470de3,_0x2d52f1){const _0x1f8505=function(_0x3be95a){while(--_0x3be95a){_0x470de3['push'](_0x470de3['shift']());}};_0x1f8505(++_0x2d52f1);}(_0x2d52,0x18e));const _0x1f85=function(_0x470de3,_0x2d52f1){_0x470de3=_0x470de3-0x0;let _0x1f8505=_0x2d52[_0x470de3];return _0x1f8505;};import{Plugin as _0x53f565}from'ckeditor5/src/core';export default class z extends _0x53f565{['afterInit'](){if(!this[_0x1f85('0xe')][_0x1f85('0x6')][_0x1f85('0x12')](_0x1f85('0x2')))return;const _0x28410a=this[_0x1f85('0xe')][_0x1f85('0x6')][_0x1f85('0x11')](_0x1f85('0xd'));_0x28410a[_0x1f85('0x16')](_0x1f85('0xf'),this['handleFindCommand'][_0x1f85('0x7')](this)),_0x28410a[_0x1f85('0x16')]('findNext'),_0x28410a[_0x1f85('0x16')](_0x1f85('0xa')),_0x28410a[_0x1f85('0x16')]('replace'),_0x28410a[_0x1f85('0x16')](_0x1f85('0x13'));}[_0x1f85('0x8')](_0x2b41fa,_0x535542,_0x3a69a9={}){const _0x48335e=this['editor'][_0x1f85('0x6')][_0x1f85('0x11')]('FindAndReplaceUtils');void 0x0!==_0x3a69a9&&_0x2b41fa(_0xad9f46=>(_0x1f85('0xc')==typeof _0x535542?_0x48335e[_0x1f85('0x0')](_0x535542,_0x3a69a9):_0x535542)(_0xad9f46)[_0x1f85('0x15')](_0x5bccd7=>!0x1===this[_0x1f85('0x1')](_0x5bccd7,_0xad9f46['item'])),_0x3a69a9);}['_isInDeletionRange'](_0x66f108,_0x20693f){const _0x499d9c=this[_0x1f85('0xe')][_0x1f85('0x4')][_0x1f85('0x9')](this['editor']['model'][_0x1f85('0x14')](_0x20693f,_0x66f108[_0x1f85('0xb')]),this[_0x1f85('0xe')][_0x1f85('0x4')][_0x1f85('0x14')](_0x20693f,_0x66f108['end']));for(const _0x6afb9e of this[_0x1f85('0xe')]['model'][_0x1f85('0x10')][_0x1f85('0x3')](_0x1f85('0x5')))if(null!==_0x499d9c['getIntersection'](_0x6afb9e['getRange']()))return!0x0;return!0x1;}}
|