@ckeditor/ckeditor5-track-changes 37.0.0 → 37.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/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/tableproperties.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": "37.0.
|
|
3
|
+
"version": "37.0.1",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"postversion": "npm run build"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"ckeditor5": "^37.0.
|
|
45
|
-
"ckeditor5-collaboration": "^
|
|
44
|
+
"ckeditor5": "^37.0.1",
|
|
45
|
+
"ckeditor5-collaboration": "^37.0.1",
|
|
46
46
|
"lodash-es": "^4.17.11"
|
|
47
47
|
},
|
|
48
48
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdf3d=['TrackChangesEditing','editor','execute','isEnabled','get','acceptSuggestion','track-changes-accept-suggestion-not-found','refresh','plugins'];(function(_0x146df5,_0xdf3db){const _0x297eb0=function(_0x53f267){while(--_0x53f267){_0x146df5['push'](_0x146df5['shift']());}};_0x297eb0(++_0xdf3db);}(_0xdf3d,0xb9));const _0x297e=function(_0x146df5,_0xdf3db){_0x146df5=_0x146df5-0x0;let _0x297eb0=_0xdf3d[_0x146df5];return _0x297eb0;};import{Command as _0x5799ae}from'ckeditor5/src/core';import{CKEditorError as _0x11ddc8}from'ckeditor5/src/utils';export default class M extends _0x5799ae{constructor(_0x4dcae6,_0x340ce0){super(_0x4dcae6),this['_suggestions']=_0x340ce0,this[_0x297e('0x2')]();}[_0x297e('0x2')](){this[_0x297e('0x7')]=!0x0;}[_0x297e('0x6')](_0x494aab){const _0x5b94f8=this['_suggestions']['get'](_0x494aab);if(!_0x5b94f8)throw new _0x11ddc8(_0x297e('0x1'),this);this[_0x297e('0x5')][_0x297e('0x3')][_0x297e('0x8')](_0x297e('0x4'))[_0x297e('0x0')](_0x5b94f8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x303f=['isEnabled','plugins','editor','_suggestions','TrackChangesEditing','discardSuggestion','execute','refresh','get'];(function(_0x4c2262,_0x303fc1){const _0x7f201f=function(_0x427427){while(--_0x427427){_0x4c2262['push'](_0x4c2262['shift']());}};_0x7f201f(++_0x303fc1);}(_0x303f,0x1a4));const _0x7f20=function(_0x4c2262,_0x303fc1){_0x4c2262=_0x4c2262-0x0;let _0x7f201f=_0x303f[_0x4c2262];return _0x7f201f;};import{Command as _0xa8f169}from'ckeditor5/src/core';import{CKEditorError as _0x5b8c52}from'ckeditor5/src/utils';export default class $ extends _0xa8f169{constructor(_0x4b4918,_0x4daf52){super(_0x4b4918),this[_0x7f20('0x6')]=_0x4daf52,this['refresh']();}[_0x7f20('0x1')](){this[_0x7f20('0x3')]=!0x0;}[_0x7f20('0x0')](_0x58593b){const _0x5568e1=this['_suggestions'][_0x7f20('0x2')](_0x58593b);if(!_0x5568e1)throw new _0x5b8c52('track-changes-discard-suggestion-not-found',this);this[_0x7f20('0x5')][_0x7f20('0x4')][_0x7f20('0x2')](_0x7f20('0x7'))[_0x7f20('0x8')](_0x5568e1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b80=['isEnabled','refresh','some','values','_suggestions','isInContent','from','_command','model'];(function(_0x328f68,_0x4b80df){const _0x5c1dd5=function(_0xeeecba){while(--_0xeeecba){_0x328f68['push'](_0x328f68['shift']());}};_0x5c1dd5(++_0x4b80df);}(_0x4b80,0x138));const _0x5c1d=function(_0x328f68,_0x4b80df){_0x328f68=_0x328f68-0x0;let _0x5c1dd5=_0x4b80[_0x328f68];return _0x5c1dd5;};import{Command as _0x3abbdf}from'ckeditor5/src/core';import{sortSuggestions as _0x51752f,executeCommandForSuggestions as _0xe713f7}from'../utils/utils';export default class N extends _0x3abbdf{constructor(_0x9508ad,_0x58adbb,_0x4cfb56){super(_0x9508ad),this[_0x5c1d('0x1')]=_0x58adbb,this[_0x5c1d('0x7')]=_0x4cfb56,this['refresh']();}[_0x5c1d('0x4')](){const _0x25565f=Array['from'](this[_0x5c1d('0x7')]['values']())[_0x5c1d('0x5')](_0x290aa4=>_0x290aa4[_0x5c1d('0x8')]);this['isEnabled']=this[_0x5c1d('0x1')][_0x5c1d('0x3')]&&_0x25565f;}['execute'](){const _0x17270e=_0x51752f(Array[_0x5c1d('0x0')](this[_0x5c1d('0x7')][_0x5c1d('0x6')]()));_0xe713f7(this['editor'][_0x5c1d('0x2')],this['_command'],_0x17270e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3534=['_selectedSuggestions','_command','_suggestions','execute','size','values','model','document','isEnabled','selection','from'];(function(_0x105929,_0x353441){const _0x30012d=function(_0x5acf5e){while(--_0x5acf5e){_0x105929['push'](_0x105929['shift']());}};_0x30012d(++_0x353441);}(_0x3534,0xa8));const _0x3001=function(_0x105929,_0x353441){_0x105929=_0x105929-0x0;let _0x30012d=_0x3534[_0x105929];return _0x30012d;};import{Command as _0x1b8b90}from'ckeditor5/src/core';import{sortSuggestions as _0x2c368d,getSelectedSuggestions as _0x4e6eca,executeCommandForSuggestions as _0x4bf43a}from'../utils/utils';export default class R extends _0x1b8b90{constructor(_0x5e8535,_0x23836c,_0x27e150){super(_0x5e8535),this['_command']=_0x23836c,this[_0x3001('0xa')]=_0x27e150,this[_0x3001('0x8')]=new Set(),this['refresh']();}['refresh'](){const _0x470e40=this['editor'][_0x3001('0x3')][_0x3001('0x4')][_0x3001('0x6')],_0x18e148=Array['from'](this[_0x3001('0xa')][_0x3001('0x2')]());this[_0x3001('0x8')]=_0x4e6eca(_0x470e40,_0x18e148),this['isEnabled']=this['_command'][_0x3001('0x5')]&&!!this['_selectedSuggestions'][_0x3001('0x1')];}[_0x3001('0x0')](){const _0x2a4d44=_0x2c368d(Array[_0x3001('0x7')](this[_0x3001('0x8')]));_0x4bf43a(this['editor'][_0x3001('0x3')],this[_0x3001('0x9')],_0x2a4d44);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13da=['editor','_enabledCommands','_disableUnsupportedCommands','forceDisabled','execute','TrackChangesCommand','commands','clearForceDisabled','isEnabled','value','refresh','affectsData','has'];(function(_0x400943,_0x13da64){const _0x52bd77=function(_0x8eccf7){while(--_0x8eccf7){_0x400943['push'](_0x400943['shift']());}};_0x52bd77(++_0x13da64);}(_0x13da,0x171));const _0x52bd=function(_0x400943,_0x13da64){_0x400943=_0x400943-0x0;let _0x52bd77=_0x13da[_0x400943];return _0x52bd77;};import{Command as _0x23a276}from'ckeditor5/src/core';export default class _ extends _0x23a276{constructor(_0x4312b8,_0x86a0be){super(_0x4312b8),this[_0x52bd('0x9')]=_0x86a0be,this[_0x52bd('0x4')]=!0x1,this[_0x52bd('0x5')]();}['refresh'](){this[_0x52bd('0x3')]=!0x0;}[_0x52bd('0xc')](){this[_0x52bd('0x4')]=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x52bd('0xa')](){for(const _0x15811d of this[_0x52bd('0x8')][_0x52bd('0x1')][_0x52bd('0x1')]())_0x15811d[_0x52bd('0x6')]&&!this['_enabledCommands'][_0x52bd('0x7')](_0x15811d)&&_0x15811d[_0x52bd('0xb')](_0x52bd('0x0'));}['_enableCommands'](){for(const _0x1a2a81 of this[_0x52bd('0x8')][_0x52bd('0x1')]['commands']())_0x1a2a81[_0x52bd('0x6')]&&!this[_0x52bd('0x9')][_0x52bd('0x7')](_0x1a2a81)&&_0x1a2a81[_0x52bd('0x2')](_0x52bd('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4411=['selection','afterInit','alignment','registerDescriptionCallback','FORMAT_ALIGN_TO_RIGHT','left','commandParams','FORMAT_JUSTIFY_TEXT','has','change','locale','document','plugins','getSelectedBlocks','FORMAT_ALIGN_TO_CENTER','model','right','value','markBlockFormat','schema','filter','*Format:*\x20%0','editor','get','AlignmentEditing','checkAttribute','from','_descriptionFactory','FORMAT_ALIGN_TO_LEFT'];(function(_0x2d22a1,_0x441131){const _0x4856e9=function(_0x151177){while(--_0x151177){_0x2d22a1['push'](_0x2d22a1['shift']());}};_0x4856e9(++_0x441131);}(_0x4411,0x121));const _0x4856=function(_0x2d22a1,_0x441131){_0x2d22a1=_0x2d22a1-0x0;let _0x4856e9=_0x4411[_0x2d22a1];return _0x4856e9;};import{Plugin as _0x18a535}from'ckeditor5/src/core';import{getTranslation as _0x3f86c1}from'../utils/common-translations';export default class x extends _0x18a535{[_0x4856('0x2')](){const _0x520be3=this[_0x4856('0x17')],_0x580cc3=_0x520be3[_0x4856('0xb')];if(!_0x520be3[_0x4856('0xd')][_0x4856('0x9')](_0x4856('0x19')))return;const _0x505522=_0x520be3['plugins'][_0x4856('0x18')]('TrackChangesEditing');_0x505522['enableCommand'](_0x4856('0x3'),(_0x43073e,_0x345bdb={})=>{let _0x5b33d6=_0x345bdb['value'];_0x345bdb[_0x4856('0x12')]||(_0x5b33d6='ltr'===_0x520be3[_0x4856('0xb')]['contentLanguageDirection']?'left':_0x4856('0x11'));const _0x918c4e=Array[_0x4856('0x1b')](this[_0x4856('0x17')]['model'][_0x4856('0xc')][_0x4856('0x1')][_0x4856('0xe')]())[_0x4856('0x15')](_0x3a9318=>function(_0x461e08,_0x5c955d,_0x3281a7){const _0x8c4644=_0x461e08['getAttribute'](_0x4856('0x3'))||null;return _0x5c955d[_0x4856('0x1a')](_0x461e08,_0x4856('0x3'))&&_0x3281a7!=_0x8c4644;}(_0x3a9318,this[_0x4856('0x17')][_0x4856('0x10')][_0x4856('0x14')],_0x5b33d6));_0x520be3['model'][_0x4856('0xa')](()=>{for(const _0x1b90ee of _0x918c4e)_0x505522[_0x4856('0x13')](_0x1b90ee,{'commandName':_0x4856('0x3'),'commandParams':[{'value':_0x5b33d6}]});});}),_0x505522[_0x4856('0x1c')][_0x4856('0x4')](_0x5346e6=>{const {data:_0x409ce9}=_0x5346e6;if(_0x409ce9&&_0x4856('0x3')==_0x409ce9['commandName']){const _0xa25a16=_0x409ce9[_0x4856('0x7')][0x0][_0x4856('0x12')];return{'type':'format','content':_0x3f86c1(_0x580cc3,_0x4856('0x16'),function(_0x3ba76b){switch(_0x3ba76b){case _0x4856('0x6'):return _0x3f86c1(_0x580cc3,_0x4856('0x0'));case'right':return _0x3f86c1(_0x580cc3,_0x4856('0x5'));case'center':return _0x3f86c1(_0x580cc3,_0x4856('0xf'));case'justify':return _0x3f86c1(_0x580cc3,_0x4856('0x8'));}}(_0xa25a16))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ddc=['FORMAT_CODE','registerDescriptionCallback','FORMAT_BOLD','model','underline','strikethrough','CodeEditing','FORMAT_ITALIC','superscript','get','SuperscriptEditing','plugins','afterInit','change','document','FORMAT_STRIKETHROUGH','SubscriptEditing','TrackChangesEditing','commandName','FORMAT_UNDERLINE','StrikethroughEditing','bold','editor','BoldEditing','locale','code','selection','*Format:*\x20%0','format','slice','FORMAT_SUPERSCRIPT','ItalicEditing','subscript','forceValue','has'];(function(_0x56fc68,_0x5ddc5f){const _0x1bbd08=function(_0x8c6ab1){while(--_0x8c6ab1){_0x56fc68['push'](_0x56fc68['shift']());}};_0x1bbd08(++_0x5ddc5f);}(_0x5ddc,0x1d1));const _0x1bbd=function(_0x56fc68,_0x5ddc5f){_0x56fc68=_0x56fc68-0x0;let _0x1bbd08=_0x5ddc[_0x56fc68];return _0x1bbd08;};import{Plugin as _0x3a4404}from'ckeditor5/src/core';import{getTranslation as _0x34376c}from'../utils/common-translations';import{getRangesWithAttribute as _0x54be5b}from'./utils';const Ht=[_0x1bbd('0xd'),_0x1bbd('0x15'),'UnderlineEditing',_0x1bbd('0x1f'),_0x1bbd('0xa'),_0x1bbd('0x6'),_0x1bbd('0x0')];export default class U extends _0x3a4404{[_0x1bbd('0x2')](){const _0x32628b=this[_0x1bbd('0xc')],_0x44267e=_0x32628b[_0x1bbd('0x1c')],_0x1353c2=_0x32628b['plugins'][_0x1bbd('0x22')](_0x1bbd('0x7')),_0x32f109=_0x32628b[_0x1bbd('0xe')];for(const _0x3b1361 of Ht){if(!_0x32628b[_0x1bbd('0x1')][_0x1bbd('0x18')](_0x3b1361))continue;const _0x50b977=_0x3b1361[_0x1bbd('0x13')](0x0,-0x7)['toLowerCase'](),_0x5f4ab8=_0x32628b['commands']['get'](_0x50b977);_0x1353c2['enableCommand'](_0x50b977,(_0x943c6f,_0x4c82b4={})=>{const _0x4d2a52=_0x44267e[_0x1bbd('0x4')][_0x1bbd('0x10')];if(_0x4d2a52['isCollapsed'])return void _0x943c6f(_0x4c82b4);const _0x145a00=void 0x0!==_0x4c82b4[_0x1bbd('0x17')]?_0x4c82b4[_0x1bbd('0x17')]:!_0x5f4ab8['value'];_0x44267e[_0x1bbd('0x3')](()=>{const _0x5f25ee=Array['from'](_0x4d2a52['getRanges']());for(const _0x302d5b of _0x5f25ee){const _0x2f717d=_0x145a00?[_0x302d5b]:_0x54be5b(_0x50b977,_0x302d5b,_0x44267e);for(const _0x140e18 of _0x2f717d)_0x1353c2['markInlineFormat'](_0x140e18,{'commandName':_0x50b977,'commandParams':[{'forceValue':_0x145a00}]});}});});}function _0x168971(_0x4f8868,_0x1f796a){_0x1353c2['_descriptionFactory'][_0x1bbd('0x1a')](_0x254874=>{const {data:_0x41bf9c}=_0x254874;if(_0x41bf9c&&_0x41bf9c[_0x1bbd('0x8')]===_0x4f8868)return _0x41bf9c['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x34376c(_0x32f109,_0x1bbd('0x11'),_0x1f796a)}:{'type':_0x1bbd('0x12'),'content':_0x34376c(_0x32f109,'*Remove\x20format:*\x20%0',_0x1f796a)};});}_0x168971(_0x1bbd('0xb'),_0x34376c(_0x32f109,_0x1bbd('0x1b'))),_0x168971('italic',_0x34376c(_0x32f109,_0x1bbd('0x20'))),_0x168971(_0x1bbd('0x1d'),_0x34376c(_0x32f109,_0x1bbd('0x9'))),_0x168971(_0x1bbd('0xf'),_0x34376c(_0x32f109,_0x1bbd('0x19'))),_0x168971(_0x1bbd('0x1e'),_0x34376c(_0x32f109,_0x1bbd('0x5'))),_0x168971(_0x1bbd('0x16'),_0x34376c(_0x32f109,'FORMAT_SUBSCRIPT')),_0x168971(_0x1bbd('0x21'),_0x34376c(_0x32f109,_0x1bbd('0x14')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c1f=['schema','enableCommand','plugins','parent','model','markBlockFormat','document','_descriptionFactory','has','from','filter','editor','checkChild','forceValue','selection','commandParams','getSelectedBlocks','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','blockQuote','value','format','name','afterInit','change'];(function(_0x3b99d3,_0x2c1fc4){const _0x23feb4=function(_0x22bbeb){while(--_0x22bbeb){_0x3b99d3['push'](_0x3b99d3['shift']());}};_0x23feb4(++_0x2c1fc4);}(_0x2c1f,0x15e));const _0x23fe=function(_0x3b99d3,_0x2c1fc4){_0x3b99d3=_0x3b99d3-0x0;let _0x23feb4=_0x2c1f[_0x3b99d3];return _0x23feb4;};import{Plugin as _0x20e5a2}from'ckeditor5/src/core';import{getTranslation as _0x298213}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x348397}from'../utils/utils';export default class j extends _0x20e5a2{[_0x23fe('0x17')](){const _0x4e1860=this[_0x23fe('0xb')],_0x26a61b=_0x4e1860['locale'];if(!_0x4e1860[_0x23fe('0x2')][_0x23fe('0x8')](_0x23fe('0x12')))return;const _0x21c616=_0x4e1860[_0x23fe('0x2')]['get']('TrackChangesEditing'),_0x27b078=this['editor']['commands']['get']('blockQuote');_0x21c616[_0x23fe('0x1')](_0x23fe('0x13'),(_0x96a3f2,_0x4018aa={})=>{const _0x5f37da=this[_0x23fe('0xb')][_0x23fe('0x4')][_0x23fe('0x6')][_0x23fe('0xe')],_0x38caef=_0x4018aa&&void 0x0!==_0x4018aa[_0x23fe('0xd')]?_0x4018aa[_0x23fe('0xd')]:!_0x27b078[_0x23fe('0x14')];let _0x57e686=[];if(_0x38caef){const _0x1c5742=Array[_0x23fe('0x9')](_0x5f37da[_0x23fe('0x10')]())[_0x23fe('0xa')](_0x543a5a=>Kt(_0x543a5a)||function(_0x504dda,_0x2369dc){const _0x4a9f06=_0x2369dc[_0x23fe('0xc')](_0x504dda[_0x23fe('0x3')],_0x23fe('0x13')),_0x4e25ce=_0x2369dc[_0x23fe('0xc')](['$root',_0x23fe('0x13')],_0x504dda);return _0x4a9f06&&_0x4e25ce;}(_0x543a5a,this['editor'][_0x23fe('0x4')][_0x23fe('0x0')]));_0x57e686=_0x348397(_0x1c5742,_0x4e1860[_0x23fe('0x4')]);}else{const _0x46f89c=Array[_0x23fe('0x9')](_0x5f37da[_0x23fe('0x10')]())[_0x23fe('0xa')](_0x293f61=>Kt(_0x293f61));_0x57e686=_0x348397(_0x46f89c,_0x4e1860[_0x23fe('0x4')]);}_0x4e1860[_0x23fe('0x4')][_0x23fe('0x18')](()=>{for(const _0x2413ae of _0x57e686)_0x21c616[_0x23fe('0x5')](_0x2413ae,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x38caef}]});});}),_0x21c616[_0x23fe('0x7')]['registerDescriptionCallback'](_0x3c9e6d=>{const {data:_0x5d89a5}=_0x3c9e6d;if(_0x5d89a5&&_0x23fe('0x13')==_0x5d89a5['commandName']){const _0x25102d=_0x298213(_0x26a61b,_0x23fe('0x11'));return _0x5d89a5[_0x23fe('0xf')][0x0][_0x23fe('0xd')]?{'type':_0x23fe('0x15'),'content':_0x298213(_0x26a61b,'*Format:*\x20%0',_0x25102d)}:{'type':_0x23fe('0x15'),'content':_0x298213(_0x26a61b,'*Remove\x20format:*\x20%0',_0x25102d)};}});}}function Kt(_0x1bea9f){return _0x23fe('0x13')==_0x1bea9f[_0x23fe('0x3')][_0x23fe('0x16')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x552c=['get','plugins','afterInit','TrackChangesEditing','ckbox'];(function(_0x15766e,_0x552ca6){const _0x385e81=function(_0x16da16){while(--_0x16da16){_0x15766e['push'](_0x15766e['shift']());}};_0x385e81(++_0x552ca6);}(_0x552c,0xbe));const _0x385e=function(_0x15766e,_0x552ca6){_0x15766e=_0x15766e-0x0;let _0x385e81=_0x552c[_0x15766e];return _0x385e81;};import{Plugin as _0x1a3aa2}from'ckeditor5/src/core';export default class E extends _0x1a3aa2{[_0x385e('0x2')](){const _0x7be8ed=this['editor'];_0x7be8ed['commands'][_0x385e('0x0')](_0x385e('0x4'))&&_0x7be8ed[_0x385e('0x1')][_0x385e('0x0')](_0x385e('0x3'))['enableCommand'](_0x385e('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a56=['enableCommand','afterInit','outdentCodeBlock','filter','label','parent','rootElement','find','selection','commandParams','document','forceValue','locale','registerElementLabel','has','language','languages','editor','ELEMENT_CODE_BLOCK','value','isLimit','config','getSelectedBlocks','indentCodeBlock','commands','*Format:*\x20%0','change','codeBlock','get','plugins','commandName','schema','markBlockFormat','TrackChangesEditing','formatBlock','format','_descriptionFactory','blockName','checkChild'];(function(_0x492084,_0x5a567f){const _0x15f28f=function(_0x4eed71){while(--_0x4eed71){_0x492084['push'](_0x492084['shift']());}};_0x15f28f(++_0x5a567f);}(_0x5a56,0x197));const _0x15f2=function(_0x492084,_0x5a567f){_0x492084=_0x492084-0x0;let _0x15f28f=_0x5a56[_0x492084];return _0x15f28f;};import{Plugin as _0x2acc1d}from'ckeditor5/src/core';import{getTranslation as _0x184140}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3c42d0}from'../utils/utils';export default class O extends _0x2acc1d{[_0x15f2('0x17')](){const _0x541b0e=this[_0x15f2('0x0')];if(!_0x541b0e['plugins'][_0x15f2('0x24')]('CodeBlock'))return;const _0x85fe5b=_0x541b0e[_0x15f2('0xc')][_0x15f2('0xb')](_0x15f2('0x10')),_0x510191=_0x541b0e[_0x15f2('0x22')],_0x36d37e=_0x541b0e[_0x15f2('0x4')][_0x15f2('0xb')](_0x15f2('0xa'))[_0x15f2('0x26')],_0x1748e4=_0x541b0e[_0x15f2('0x7')]['get']('codeBlock');_0x85fe5b[_0x15f2('0x16')](_0x15f2('0x6')),_0x85fe5b[_0x15f2('0x16')](_0x15f2('0x18')),_0x85fe5b[_0x15f2('0x16')]('codeBlock',(_0x1d23b5,_0x21bb1d={})=>{const _0x57fbd0=_0x541b0e['model'],_0x28e45f=_0x541b0e['model'][_0x15f2('0x20')][_0x15f2('0x1e')],_0x4e255d=_0x21bb1d&&void 0x0!==_0x21bb1d[_0x15f2('0x21')]?_0x21bb1d[_0x15f2('0x21')]:!_0x1748e4[_0x15f2('0x2')];let _0x51d6b3;_0x21bb1d[_0x15f2('0x25')]||(_0x21bb1d[_0x15f2('0x25')]=_0x36d37e[0x0][_0x15f2('0x25')]),_0x51d6b3=_0x4e255d?Array['from'](_0x28e45f[_0x15f2('0x5')]())[_0x15f2('0x19')](_0x35d260=>to(_0x35d260)||function(_0x30f184,_0x505bcf){if(_0x30f184['is'](_0x15f2('0x1c'))||_0x505bcf[_0x15f2('0x3')](_0x30f184))return!0x1;return _0x505bcf[_0x15f2('0x15')](_0x30f184[_0x15f2('0x1b')],_0x15f2('0xa'));}(_0x35d260,_0x57fbd0[_0x15f2('0xe')])):Array['from'](_0x28e45f[_0x15f2('0x5')]())['filter'](_0x6bb75b=>to(_0x6bb75b));const _0x1978ee=_0x3c42d0(_0x51d6b3,_0x57fbd0);_0x57fbd0[_0x15f2('0x9')](()=>{for(const _0x5d6e47 of _0x1978ee)_0x85fe5b[_0x15f2('0xf')](_0x5d6e47,{'commandName':_0x15f2('0xa'),'commandParams':[{..._0x21bb1d,'forceValue':_0x4e255d}],'formatGroupId':_0x15f2('0x14')});});}),(_0x85fe5b[_0x15f2('0x13')][_0x15f2('0x23')]('codeBlock',_0x380afa=>_0x184140(_0x510191,_0x15f2('0x1'),_0x380afa)),_0x85fe5b[_0x15f2('0x13')]['registerDescriptionCallback'](_0x1eeddf=>{const _0x49de10=_0x510191['t'],{type:_0x47f8ca,data:_0x221e90}=_0x1eeddf;if(_0x15f2('0x11')==_0x47f8ca&&_0x221e90&&_0x15f2('0xa')==_0x221e90[_0x15f2('0xd')]){const _0x5ba55a=_0x221e90[_0x15f2('0x1f')][0x0][_0x15f2('0x25')],_0x5916d3=_0x49de10(_0x36d37e[_0x15f2('0x1d')](_0x35315a=>_0x35315a[_0x15f2('0x25')]===_0x5ba55a)[_0x15f2('0x1a')]);return _0x221e90[_0x15f2('0x1f')][0x0][_0x15f2('0x21')]?{'type':'format','content':_0x184140(_0x510191,_0x15f2('0x8'),_0x184140(_0x510191,_0x15f2('0x1'),0x1)+'\x20('+_0x5916d3+')')}:{'type':_0x15f2('0x12'),'content':_0x184140(_0x510191,'*Remove\x20format:*\x20%0',_0x184140(_0x510191,_0x15f2('0x1'),0x1))};}}));}}function to(_0x56beb8){return _0x15f2('0xa')==_0x56beb8['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b33=['editor','has','plugins','get','TrackChangesEditing','enableCommand'];(function(_0x19b9e7,_0x3b336f){const _0x20ffa8=function(_0x4b3e87){while(--_0x4b3e87){_0x19b9e7['push'](_0x19b9e7['shift']());}};_0x20ffa8(++_0x3b336f);}(_0x3b33,0xd0));const _0x20ff=function(_0x19b9e7,_0x3b336f){_0x19b9e7=_0x19b9e7-0x0;let _0x20ffa8=_0x3b33[_0x19b9e7];return _0x20ffa8;};import{Plugin as _0x257cd6}from'ckeditor5/src/core';export default class F extends _0x257cd6{['afterInit'](){const _0x523bee=this[_0x20ff('0x2')];if(!_0x523bee['plugins'][_0x20ff('0x3')]('CommentsEditing'))return;_0x523bee[_0x20ff('0x4')][_0x20ff('0x5')](_0x20ff('0x0'))[_0x20ff('0x1')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ab9=['document','buffer','high','end','unlock','enableCommand','removeMarker:suggestion:deletion','isCollapsed','data','getFirstRange','createRange','setSelection','delete','$graveyard','merge','uiElement','unbindElementFromMarkerName','showSuggestionHighlights','selection','TrackChangesEditing','markerName','lock','bind','modifySelection','rootName','batch','root','forward','get','editing','model','start','requires','deleteForward','detach','createSelection','mapper','remove','downcastDispatcher','editor','plugins'];(function(_0x2af69c,_0x4ab928){const _0x24dc68=function(_0x1afff4){while(--_0x1afff4){_0x2af69c['push'](_0x2af69c['shift']());}};_0x24dc68(++_0x4ab928);}(_0x4ab9,0x118));const _0x24dc=function(_0x2af69c,_0x4ab928){_0x2af69c=_0x2af69c-0x0;let _0x24dc68=_0x4ab9[_0x2af69c];return _0x24dc68;};import{Plugin as _0x4c4f65}from'ckeditor5/src/core';import{LiveRange as _0x2fcecc}from'ckeditor5/src/engine';import{Delete as _0xd6dffc}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x101877}from'./utils';export default class G extends _0x4c4f65{static get[_0x24dc('0x27')](){return[_0xd6dffc];}['init'](){const _0xe36b4c=this[_0x24dc('0x5')],_0x503630=_0xe36b4c[_0x24dc('0x6')][_0x24dc('0x23')](_0x24dc('0x1a'));_0x503630[_0x24dc('0xc')](_0x24dc('0x13'));const _0x5437c7=_0xe36b4c['commands'][_0x24dc('0x23')](_0x24dc('0x28'));_0x503630[_0x24dc('0xc')](_0x24dc('0x28'),(_0x27b289,_0x19e5e1={})=>{const _0x2b0381=_0xe36b4c['model'][_0x24dc('0x1')](_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x7')][_0x24dc('0x19')]);_0x2b0381[_0x24dc('0xe')]&&_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x1e')](_0x2b0381,{'direction':_0x24dc('0x22'),'unit':_0x19e5e1['unit']});const _0x3d92d2=_0x2b0381[_0x24dc('0x10')](),_0x372318=_0x2fcecc['fromRange'](_0x3d92d2);let _0x51eec7;_0x27b289(_0x19e5e1),_0x51eec7=_0x24dc('0x14')==_0x372318[_0x24dc('0x21')][_0x24dc('0x1f')]?_0xe36b4c['model']['createRange'](_0x3d92d2[_0x24dc('0x26')]):_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x11')](_0x372318[_0x24dc('0x26')],_0x372318[_0x24dc('0xa')]),_0x372318[_0x24dc('0x0')](),_0xe36b4c[_0x24dc('0x25')]['enqueueChange'](_0x5437c7['buffer'][_0x24dc('0x20')],_0x466146=>{_0x5437c7[_0x24dc('0x8')][_0x24dc('0x1c')](),_0x466146[_0x24dc('0x12')](_0x466146[_0x24dc('0x11')](_0x51eec7[_0x24dc('0xa')])),_0x5437c7['buffer'][_0x24dc('0xb')]();});}),_0xe36b4c[_0x24dc('0x24')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x101877(_0xe36b4c,_0x24dc('0x15')),{'priority':_0x24dc('0x9')}),_0xe36b4c[_0x24dc('0xf')][_0x24dc('0x4')]['on']('addMarker:suggestion:deletion',(_0x455a98,_0x15279f,_0x3d7e97)=>{_0x3d7e97['options'][_0x24dc('0x18')]&&_0x101877(_0xe36b4c,_0x24dc('0x15'),{'showActiveMarker':!0x1})[_0x24dc('0x1d')](this)(_0x455a98,_0x15279f,_0x3d7e97);},{'priority':_0x24dc('0x9')}),_0xe36b4c['editing']['downcastDispatcher']['on'](_0x24dc('0xd'),(_0x54fb33,_0xd932c3,_0x3bd5b1)=>{const _0x3c0fbd=_0x3bd5b1[_0x24dc('0x2')]['markerNameToElements'](_0xd932c3[_0x24dc('0x1b')]);if(_0x3c0fbd)for(const _0x2abedc of _0x3c0fbd)_0x2abedc['is'](_0x24dc('0x16'))&&(_0x3bd5b1[_0x24dc('0x2')][_0x24dc('0x17')](_0x2abedc,_0xd932c3[_0x24dc('0x1b')]),_0x3bd5b1['writer'][_0x24dc('0x3')](_0x2abedc));},{'priority':_0x24dc('0x9')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d4c=['*Indent:*\x20%0','getAttribute','*Change\x20to:*\x20%0','createPositionAt','outdentList','indentList','documentList','DocumentListEditing','hasAttribute','change','listItemId','format','mergeListItemBackward','detach','registerDescriptionCallback','nodeAfter','enableCommand','locale','listIndent','bulletedList','push','numberedList','value','registerCustomCallback','deletion','length','getSelectedBlocks','expandListBlocksToCompleteList','registerElementLabel','schema','_descriptionFactory','from','commandName','nextSibling','next','commandParams','selection','multipleBlocks','slice','*Merge:*\x20%0','createRange','afterInit','markMultiRangeBlockFormat','after','*Outdent:*\x20%0','ELEMENT_','getFirstRange','splitListItemAfter','editor','refresh','*Format:*\x20insert\x20into\x20%0','start','findIndex','formatBlock','listType','accept','splitListItemBefore','commands','forceValue','model','document','has','execute','markBlockFormat','add','isObject','*Format:*\x20remove\x20from\x20%0','_LIST','plugins','DocumentListUtils','before','ELEMENT_NUMBERED_LIST','toUpperCase','get','ELEMENT_LIST_ITEM','mergeListItemForward'];(function(_0x8208e3,_0x4d4cc3){const _0x2f4f3d=function(_0xc2e75c){while(--_0xc2e75c){_0x8208e3['push'](_0x8208e3['shift']());}};_0x2f4f3d(++_0x4d4cc3);}(_0x4d4c,0x86));const _0x2f4f=function(_0x8208e3,_0x4d4cc3){_0x8208e3=_0x8208e3-0x0;let _0x2f4f3d=_0x4d4c[_0x8208e3];return _0x2f4f3d;};import{Plugin as _0x57a434}from'ckeditor5/src/core';import{getTranslation as _0x3fc98d}from'../utils/common-translations';import{LiveRange as _0x48d4bd}from'ckeditor5/src/engine';export default class L extends _0x57a434{[_0x2f4f('0x3b')](){const _0x407a3f=this[_0x2f4f('0x42')];if(!_0x407a3f[_0x2f4f('0xa')][_0x2f4f('0x3')](_0x2f4f('0x19')))return;const _0x56702e=_0x407a3f[_0x2f4f('0x23')],_0x37d9de=_0x407a3f[_0x2f4f('0xa')]['get']('TrackChangesEditing'),_0x27d08c=_0x407a3f[_0x2f4f('0xa')][_0x2f4f('0xf')](_0x2f4f('0xb'));function _0x1f91a7(_0x3d366f){return()=>{const _0x12d52d=_0x407a3f[_0x2f4f('0x4b')][_0x2f4f('0xf')](_0x3d366f);let _0x1603ac=Array[_0x2f4f('0x31')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')]['selection']['getSelectedBlocks']());if(_0xa65504(_0x3d366f)){_0x1603ac=_0x27d08c[_0x2f4f('0x2d')](_0x1603ac);const _0xd7b425=[];for(const _0x587a89 of _0x1603ac)_0x27d08c['isFirstBlockOfListItem'](_0x587a89)&&_0xd7b425[_0x2f4f('0x26')](_0x587a89);_0x1603ac=_0xd7b425;}_0x407a3f[_0x2f4f('0x1')]['change'](()=>{_0x37d9de[_0x2f4f('0x3c')](_0x1603ac,{'commandName':_0x3d366f,'commandParams':[{'forceValue':!_0x12d52d[_0x2f4f('0x28')]}],'formatGroupId':'listType'},[],_0x2f4f('0x18'));});};}function _0x4653f4(_0x18e62b){return()=>{const _0x349d40=function(_0x290982){let _0x16f7ff=Array['from'](_0x290982);const _0x3ae25c=_0x16f7ff[_0x2f4f('0x46')](_0x964537=>!_0x964537[_0x2f4f('0x1a')](_0x2f4f('0x1c')));return _0x3ae25c>-0x1&&(_0x16f7ff=_0x16f7ff[_0x2f4f('0x38')](0x0,_0x3ae25c)),_0x16f7ff;}(_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')][_0x2f4f('0x36')][_0x2f4f('0x2c')]()),_0x2bcf1a=_0x349d40[_0x349d40[_0x2f4f('0x2b')]-0x1],_0x2c17bc=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2f')][_0x2f4f('0x7')](_0x2bcf1a)?_0x2f4f('0x3d'):'end',_0x8d832b=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x3a')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x349d40[0x0],'before'),_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x2bcf1a,_0x2c17bc));_0x407a3f['model']['change'](()=>{_0x37d9de[_0x2f4f('0x5')](_0x8d832b,{'commandName':_0x18e62b,'commandParams':[],'formatGroupId':'listType'},function(_0x54b7ad){const _0x5d9244=new Set();for(const _0x35d737 of _0x54b7ad){let _0x174717=_0x35d737[_0x2f4f('0x33')];for(;_0x174717&&_0x174717[_0x2f4f('0x13')](_0x2f4f('0x24'))>_0x35d737[_0x2f4f('0x13')](_0x2f4f('0x24'));)_0x5d9244[_0x2f4f('0x6')](_0x174717),_0x174717=_0x174717['nextSibling'];}return Array['from'](_0x5d9244);}(_0x349d40));});};}function _0x5af1ee(_0x2db4f6){return()=>{const _0x3355c7=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')][_0x2f4f('0x36')]['getSelectedBlocks']()[_0x2f4f('0x34')]()[_0x2f4f('0x28')],_0x4bee88=_0x407a3f[_0x2f4f('0x1')]['createPositionAt'](_0x3355c7,_0x2f4f('0xc')),_0x5f1dcb=_0x407a3f[_0x2f4f('0x1')]['createPositionAt'](_0x3355c7,0x0),_0x368411=_0x407a3f['model'][_0x2f4f('0x3a')](_0x4bee88,_0x5f1dcb);_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x1b')](()=>{_0x37d9de['markBlockFormat'](_0x368411,{'commandName':_0x2db4f6,'commandParams':[],'formatGroupId':'listType'});});};}function _0xa65504(_0x544a9f){const _0x3011bf=_0x407a3f['commands'][_0x2f4f('0xf')](_0x2f4f('0x25'))[_0x2f4f('0x28')],_0x5a0b50=_0x407a3f['commands']['get'](_0x2f4f('0x27'))['value'];return'numberedList'===_0x544a9f?_0x3011bf:_0x5a0b50;}_0x37d9de['enableCommand'](_0x2f4f('0x27'),_0x1f91a7(_0x2f4f('0x27'))),_0x37d9de[_0x2f4f('0x22')]('bulletedList',_0x1f91a7(_0x2f4f('0x25'))),_0x37d9de[_0x2f4f('0x22')]('indentList',_0x4653f4('indentList')),_0x37d9de[_0x2f4f('0x22')](_0x2f4f('0x16'),_0x4653f4(_0x2f4f('0x16'))),_0x37d9de['enableCommand'](_0x2f4f('0x41'),_0x5af1ee(_0x2f4f('0x41'))),_0x37d9de[_0x2f4f('0x22')](_0x2f4f('0x4a'),_0x5af1ee('splitListItemBefore')),_0x37d9de['_descriptionFactory'][_0x2f4f('0x2e')](function(_0x62c835){const _0x47993b=!_0x407a3f[_0x2f4f('0x1')]['schema'][_0x2f4f('0x7')](_0x62c835),_0x30c06a=_0x62c835['previousSibling'],_0x3feda9=_0x62c835[_0x2f4f('0x33')],_0x3fd839=_0x62c835[_0x2f4f('0x13')](_0x2f4f('0x1c')),_0x411093=!_0x30c06a||_0x30c06a['getAttribute'](_0x2f4f('0x1c'))!==_0x3fd839,_0x235973=!_0x3feda9||_0x3feda9[_0x2f4f('0x13')](_0x2f4f('0x1c'))!==_0x3fd839;return _0x47993b&&Boolean(_0x3fd839)&&_0x411093&&_0x235973;},_0x2f146f=>_0x3fc98d(_0x56702e,_0x2f4f('0x10'),_0x2f146f)),_0x37d9de[_0x2f4f('0x30')][_0x2f4f('0x20')](function(_0x14a83c){const {data:_0x4c3829}=_0x14a83c;if(!_0x4c3829)return;let _0x2e5ee8,_0x3f757c,_0x2b3603,_0x4a2363;switch(_0x4c3829['commandName']){case'bulletedList':_0x2b3603=_0x4c3829[_0x2f4f('0x35')][0x0][_0x2f4f('0x0')],_0x4a2363=_0xa65504(_0x4c3829[_0x2f4f('0x32')]),_0x2e5ee8=_0x2b3603?_0x2f4f('0x44'):_0x2f4f('0x8'),_0x4a2363&&(_0x2e5ee8=_0x2f4f('0x14')),_0x3f757c={'type':_0x2f4f('0x1d'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x2b3603=_0x4c3829[_0x2f4f('0x35')][0x0][_0x2f4f('0x0')],_0x4a2363=_0xa65504(_0x4c3829[_0x2f4f('0x32')]),_0x2e5ee8=_0x2b3603?'*Format:*\x20insert\x20into\x20%0':_0x2f4f('0x8'),_0x4a2363&&(_0x2e5ee8=_0x2f4f('0x14')),_0x3f757c={'type':'format','content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0xd')))};break;case _0x2f4f('0x17'):_0x2e5ee8=_0x2f4f('0x12'),_0x3f757c={'type':_0x2f4f('0x1d'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0x10')))};break;case'outdentList':_0x2e5ee8=function(_0x4bf0eb){const _0x288154=_0x4bf0eb['getFirstRange']();let _0x1c4a89=_0x288154[_0x2f4f('0x45')]['nodeAfter'];for(;_0x1c4a89&&_0x288154['containsItem'](_0x1c4a89);){if(_0x1c4a89[_0x2f4f('0x13')](_0x2f4f('0x24'))>0x0)return!0x1;_0x1c4a89=_0x1c4a89['nextSibling'];}return!0x0;}(_0x14a83c)?_0x3fc98d(_0x56702e,_0x2f4f('0x8'),_0x3fc98d(_0x56702e,function(_0x4f0e04){const _0x590f17=_0x4f0e04[_0x2f4f('0x40')]()[_0x2f4f('0x45')][_0x2f4f('0x21')];return _0x2f4f('0x3f')+_0x590f17[_0x2f4f('0x13')](_0x2f4f('0x48'))[_0x2f4f('0xe')]()+_0x2f4f('0x9');}(_0x14a83c))):_0x3fc98d(_0x56702e,_0x2f4f('0x3e'),_0x3fc98d(_0x56702e,_0x2f4f('0x10'))),_0x3f757c={'type':'format','content':_0x2e5ee8};break;case _0x2f4f('0x1e'):case _0x2f4f('0x11'):!0x1===_0x4c3829[_0x2f4f('0x37')]&&(_0x2e5ee8=_0x2f4f('0x39'),_0x3f757c={'type':_0x2f4f('0x2a'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0x10')))});}return _0x3f757c;}),_0x37d9de['_suggestionFactory'][_0x2f4f('0x29')](_0x2f4f('0x47'),_0x2f4f('0x18'),_0x2f4f('0x49'),function(_0xb9e9b9,_0x1efada){const _0x126986=[];for(let _0x11b7d9 of _0xb9e9b9)_0x11b7d9[_0x2f4f('0x45')][_0x2f4f('0x21')]===_0x11b7d9['end']['parent']&&(_0x11b7d9=_0x407a3f['model'][_0x2f4f('0x3a')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x11b7d9[_0x2f4f('0x45')][_0x2f4f('0x21')],0x0))),_0x126986[_0x2f4f('0x26')](_0x11b7d9);_0x407a3f[_0x2f4f('0x1')]['change'](_0x3e6670=>{const _0x17df35=_0x407a3f[_0x2f4f('0x1')]['document'][_0x2f4f('0x36')],_0x3456ba=Array[_0x2f4f('0x31')](_0x17df35['getRanges']())['map'](_0x518674=>_0x48d4bd['fromRange'](_0x518674));_0x3e6670['setSelection'](_0x126986),_0x407a3f[_0x2f4f('0x4b')][_0x2f4f('0xf')](_0x1efada[_0x2f4f('0x32')])[_0x2f4f('0x43')](),_0x1efada[_0x2f4f('0x35')][_0x2f4f('0x26')]({'forceDefaultExecution':!0x0}),_0x407a3f[_0x2f4f('0x4')](_0x1efada[_0x2f4f('0x32')],..._0x1efada[_0x2f4f('0x35')]),_0x3e6670['setSelection'](_0x3456ba);for(const _0x2e89ee of _0x3456ba)_0x2e89ee[_0x2f4f('0x1f')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3555=['has','locale','DocumentListPropertiesUtils','startIndex','handleListReversedCommand','isFirstBlockOfListItem','type','format','selection','getAttribute','listReversed','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20regular','toUpperCase','ELEMENT_','list.properties','handleDescriptions','getListTypeFromListStyleType','afterInit','handleListStyleCommand','listStart','listStyle','plugins','document','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListUtils','commandParams','numbered','_getTranslationKeyForListStyle','expandListBlocksToCompleteList','handleListStartCommand','commandName','from','DocumentListPropertiesEditing','editor','enableCommand','styles','model','TrackChangesEditing','get','_getSuggestionBlocksForListStyle','isListItemBlock','config','length','bind','reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','filter','change','_getSuggestionBlocks'];(function(_0x369161,_0x3555da){const _0x573d42=function(_0xc9cfaa){while(--_0xc9cfaa){_0x369161['push'](_0x369161['shift']());}};_0x573d42(++_0x3555da);}(_0x3555,0x149));const _0x573d=function(_0x369161,_0x3555da){_0x369161=_0x369161-0x0;let _0x573d42=_0x3555[_0x369161];return _0x573d42;};import{Plugin as _0x1bcd6a}from'ckeditor5/src/core';import{getTranslation as _0x365adc}from'../utils/common-translations';export default class St extends _0x1bcd6a{[_0x573d('0x27')](){if(!this[_0x573d('0x5')][_0x573d('0x2b')][_0x573d('0x15')](_0x573d('0x4')))return;const _0x8dea46=this[_0x573d('0x5')][_0x573d('0xd')]['get'](_0x573d('0x24')),_0x35c238=this[_0x573d('0x5')][_0x573d('0x2b')][_0x573d('0xa')](_0x573d('0x9'));_0x8dea46[_0x573d('0x7')]&&_0x35c238[_0x573d('0x6')](_0x573d('0x2a'),this['handleListStyleCommand']['bind'](this)),_0x8dea46['reversed']&&_0x35c238[_0x573d('0x6')](_0x573d('0x1f'),this[_0x573d('0x19')][_0x573d('0xf')](this)),_0x8dea46['startIndex']&&_0x35c238[_0x573d('0x6')]('listStart',this[_0x573d('0x1')]['bind'](this)),_0x35c238['_descriptionFactory']['registerDescriptionCallback'](this[_0x573d('0x25')]['bind'](this));}[_0x573d('0x28')](_0x1c1350,_0x16bfe3={}){const _0x5932b9=this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x5b56d2=this['_getSuggestionBlocksForListStyle']();this[_0x573d('0x5')][_0x573d('0x8')][_0x573d('0x13')](()=>{_0x5932b9[_0x573d('0x20')](_0x5b56d2,{'commandName':'listStyle','commandParams':[{'type':_0x16bfe3['type']}],'formatGroupId':_0x573d('0x2a')});});}[_0x573d('0x19')](_0x5d321b,_0x38e4d3={}){const _0x445c64=this['editor'][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x3d44be=this['editor'][_0x573d('0x2b')][_0x573d('0xa')](_0x573d('0x2e')),_0x56610c=this[_0x573d('0x14')](_0x1bc3ba=>_0x3d44be[_0x573d('0xc')](_0x1bc3ba)&&'numbered'===_0x1bc3ba[_0x573d('0x1e')]('listType'));null!==_0x56610c&&this[_0x573d('0x5')]['model'][_0x573d('0x13')](()=>{_0x445c64['markMultiRangeBlockFormat'](_0x56610c,{'commandName':_0x573d('0x1f'),'commandParams':[{'reversed':_0x38e4d3[_0x573d('0x10')]}],'formatGroupId':_0x573d('0x1f')});});}[_0x573d('0x1')](_0x35af9e,_0x806aef={}){const _0x5ebae6=this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x5ccb7c=this[_0x573d('0x5')]['plugins'][_0x573d('0xa')]('DocumentListUtils'),_0x58c8be=this['_getSuggestionBlocks'](_0x328954=>_0x5ccb7c[_0x573d('0xc')](_0x328954)&&_0x573d('0x30')===_0x328954[_0x573d('0x1e')]('listType'));null!==_0x58c8be&&this[_0x573d('0x5')]['model'][_0x573d('0x13')](()=>{_0x5ebae6[_0x573d('0x20')](_0x58c8be,{'commandName':'listStart','commandParams':[{'startIndex':_0x806aef[_0x573d('0x18')]}],'formatGroupId':_0x573d('0x29')});});}[_0x573d('0x25')](_0x3d5569){const _0x31fc4=this['editor'][_0x573d('0x16')],{data:_0x439978}=_0x3d5569;if(!_0x439978)return;let _0x3c5e10,_0x3d79ad;switch(_0x439978[_0x573d('0x2')]){case _0x573d('0x2a'):_0x3c5e10='*Change\x20to:*\x20%0',_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10,_0x365adc(_0x31fc4,this[_0x573d('0x31')](_0x439978['commandParams'][0x0][_0x573d('0x1b')])))};break;case _0x573d('0x1f'):_0x3c5e10=_0x439978[_0x573d('0x2f')][0x0][_0x573d('0x10')]?_0x573d('0x2d'):_0x573d('0x21'),_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10)};break;case _0x573d('0x29'):_0x3c5e10=_0x573d('0x11'),_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10,_0x439978[_0x573d('0x2f')][0x0][_0x573d('0x18')])};}return _0x3d79ad;}[_0x573d('0xb')](){const _0x35774d=this['editor'][_0x573d('0x2b')][_0x573d('0xa')]('DocumentListUtils');let _0x3054d3=Array['from'](this[_0x573d('0x5')]['model'][_0x573d('0x2c')][_0x573d('0x1d')]['getSelectedBlocks']());return _0x3054d3['push'](..._0x35774d['expandListBlocksToCompleteList'](_0x3054d3)),_0x3054d3=[...new Set(_0x3054d3)],_0x3054d3;}['_getSuggestionBlocks'](_0x12d734){const _0x1b5ecd=this[_0x573d('0x5')]['plugins']['get'](_0x573d('0x2e'));let _0x4e8362=Array[_0x573d('0x3')](this[_0x573d('0x5')][_0x573d('0x8')]['document'][_0x573d('0x1d')]['getSelectedBlocks']())[_0x573d('0x12')](_0x12d734);if(!_0x4e8362[_0x573d('0xe')])return null;_0x4e8362=_0x1b5ecd[_0x573d('0x0')](_0x4e8362);const _0xacce6c=[];for(const _0x473741 of _0x4e8362)_0x1b5ecd[_0x573d('0x1a')](_0x473741)&&_0xacce6c['push'](_0x473741);return _0xacce6c;}[_0x573d('0x31')](_0x4bbfcf){return _0x573d('0x23')+this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x17'))[_0x573d('0x26')](_0x4bbfcf)[_0x573d('0x22')]()+'_LIST_'+_0x4bbfcf[_0x573d('0x22')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x96e0=['parent','markerName','mapper','change','writer','model','downcastDispatcher','markerNameToElements','getFirstRange','enableCommand','options','nextSibling','hasClass','requires','createPositionAt','editing','document','setSelection','commands','high','fire','get','afterExecute','selection','TrackChangesEditing','addMarker:suggestion:insertion','ck-suggestion-marker-split','bind','enterBlock','unbindElementFromMarkerName','data','fromRange','removeMarker:suggestion:insertion','createRange','split','markInsertion','showSuggestionHighlights'];(function(_0x1841e0,_0x96e0ff){const _0x1f97f7=function(_0x14927c){while(--_0x14927c){_0x1841e0['push'](_0x1841e0['shift']());}};_0x1f97f7(++_0x96e0ff);}(_0x96e0,0xc9));const _0x1f97=function(_0x1841e0,_0x96e0ff){_0x1841e0=_0x1841e0-0x0;let _0x1f97f7=_0x96e0[_0x1841e0];return _0x1f97f7;};import{Plugin as _0x543ec8}from'ckeditor5/src/core';import{Enter as _0x487d7e}from'ckeditor5/src/enter';import{LiveRange as _0x32468c}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a5b3f}from'./utils';export default class q extends _0x543ec8{static get[_0x1f97('0x22')](){return[_0x487d7e];}['init'](){const _0x418fd2=this['editor'],_0x5551f3=_0x418fd2['plugins'][_0x1f97('0x5')](_0x1f97('0x8')),_0x70380c=_0x418fd2[_0x1f97('0x2')]['get']('enter');_0x5551f3[_0x1f97('0x1e')]('enter',()=>{_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x18')](_0x342edc=>{const _0x210c1d=_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x0')][_0x1f97('0x7')],_0x9e1a7f=_0x210c1d['getFirstPosition'](),_0x976545=_0x32468c[_0x1f97('0xf')](_0x210c1d[_0x1f97('0x1d')]());if(_0x70380c[_0x1f97('0xc')](_0x342edc)){const _0x4b4793=_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x23')](_0x9e1a7f[_0x1f97('0x15')][_0x1f97('0x20')],0x0),_0x8ddc7c=_0x342edc[_0x1f97('0x11')](_0x9e1a7f,_0x4b4793);_0x5551f3[_0x1f97('0x13')](_0x8ddc7c);}else _0x342edc[_0x1f97('0x1')](_0x342edc[_0x1f97('0x11')](_0x976545['end']));_0x976545['detach'](),_0x70380c[_0x1f97('0x4')](_0x1f97('0x6'),{'writer':_0x342edc});});}),_0x418fd2['editing']['downcastDispatcher']['on'](_0x1f97('0x9'),_0x2a5b3f(_0x418fd2,_0x1f97('0x12')),{'priority':_0x1f97('0x3')}),_0x418fd2[_0x1f97('0x24')][_0x1f97('0x1b')]['on'](_0x1f97('0x10'),(_0x6011b8,_0x8c7655,_0x370780)=>{const _0x5710ab=_0x370780[_0x1f97('0x17')][_0x1f97('0x1c')](_0x8c7655[_0x1f97('0x16')]);if(_0x5710ab)for(const _0x3531e3 of _0x5710ab)_0x3531e3[_0x1f97('0x21')](_0x1f97('0xa'))&&(_0x370780['mapper'][_0x1f97('0xd')](_0x3531e3,_0x8c7655[_0x1f97('0x16')]),_0x370780[_0x1f97('0x19')]['remove'](_0x3531e3));},{'priority':_0x1f97('0x3')}),_0x418fd2[_0x1f97('0xe')][_0x1f97('0x1b')]['on']('addMarker:suggestion:insertion',(_0x4b69f5,_0x238ea5,_0x56b307)=>{_0x56b307[_0x1f97('0x1f')][_0x1f97('0x14')]&&_0x2a5b3f(_0x418fd2,_0x1f97('0x12'),{'showActiveMarker':!0x1})[_0x1f97('0xb')](this)(_0x4b69f5,_0x238ea5,_0x56b307);},{'priority':_0x1f97('0x3')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd151=['filter','plugins','createPositionAt','item','getRange','_isInDeletionRange','string','FindAndReplaceEditing','getIntersection','start','find','suggestion:deletion','editor','replaceAll','findByTextCallback','end','model','markers','has','handleFindCommand','bind','TrackChangesEditing','enableCommand','afterInit'];(function(_0x11d54b,_0xd151f9){const _0x42394d=function(_0x31a1c3){while(--_0x31a1c3){_0x11d54b['push'](_0x11d54b['shift']());}};_0x42394d(++_0xd151f9);}(_0xd151,0xae));const _0x4239=function(_0x11d54b,_0xd151f9){_0x11d54b=_0x11d54b-0x0;let _0x42394d=_0xd151[_0x11d54b];return _0x42394d;};import{Plugin as _0x4e8e91}from'ckeditor5/src/core';export default class z extends _0x4e8e91{[_0x4239('0x11')](){if(!this['editor'][_0x4239('0x13')][_0x4239('0xc')](_0x4239('0x1')))return;const _0x412aad=this['editor']['plugins']['get'](_0x4239('0xf'));_0x412aad[_0x4239('0x10')](_0x4239('0x4'),this[_0x4239('0xd')][_0x4239('0xe')](this)),_0x412aad['enableCommand']('findNext'),_0x412aad[_0x4239('0x10')]('findPrevious'),_0x412aad[_0x4239('0x10')]('replace'),_0x412aad[_0x4239('0x10')](_0x4239('0x7'));}['handleFindCommand'](_0x15d97b,_0x4d0571,_0x90ea51={}){const _0x2541b3=this['editor'][_0x4239('0x13')]['get']('FindAndReplaceUtils');void 0x0!==_0x90ea51&&_0x15d97b(_0x42f555=>(_0x4239('0x0')==typeof _0x4d0571?_0x2541b3[_0x4239('0x8')](_0x4d0571,_0x90ea51):_0x4d0571)(_0x42f555)[_0x4239('0x12')](_0x1984fb=>!0x1===this[_0x4239('0x17')](_0x1984fb,_0x42f555[_0x4239('0x15')])),_0x90ea51);}[_0x4239('0x17')](_0x59cae6,_0x59a49b){const _0x42d6d0=this[_0x4239('0x6')][_0x4239('0xa')]['createRange'](this['editor']['model'][_0x4239('0x14')](_0x59a49b,_0x59cae6[_0x4239('0x3')]),this['editor'][_0x4239('0xa')][_0x4239('0x14')](_0x59a49b,_0x59cae6[_0x4239('0x9')]));for(const _0x20540f of this[_0x4239('0x6')][_0x4239('0xa')][_0x4239('0xb')]['getMarkersGroup'](_0x4239('0x5')))if(null!==_0x42d6d0[_0x4239('0x2')](_0x20540f[_0x4239('0x16')]()))return!0x0;return!0x1;}}
|