@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231215.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/aiassistant.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/imagestyle.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-20231215.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-20231215.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231215.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f62=['_suggestions','model','plugins','_isEnabledBasedOnSelection','get','refresh','acceptSuggestion','track-changes-accept-suggestion-not-found','getRanges','canEditAt','isEnabled','TrackChangesEditing','editor'];(function(_0x380e67,_0x1f62c0){const _0x1e289a=function(_0xa3dedc){while(--_0xa3dedc){_0x380e67['push'](_0x380e67['shift']());}};_0x1e289a(++_0x1f62c0);}(_0x1f62,0x14f));const _0x1e28=function(_0x380e67,_0x1f62c0){_0x380e67=_0x380e67-0x0;let _0x1e289a=_0x1f62[_0x380e67];return _0x1e289a;};import{Command as _0x4be1f6}from'ckeditor5/src/core';import{CKEditorError as _0x413aef}from'ckeditor5/src/utils';export default class B extends _0x4be1f6{constructor(_0x4af0c2,_0x4156d4){super(_0x4af0c2),this[_0x1e28('0x3')]=_0x4156d4,this[_0x1e28('0x8')](),this[_0x1e28('0x6')]=!0x1;}[_0x1e28('0x8')](){this[_0x1e28('0x0')]=!0x0;}['execute'](_0x405640){const _0x1e2fc1=this[_0x1e28('0x3')]['get'](_0x405640);if(!_0x1e2fc1)throw new _0x413aef(_0x1e28('0xa'),this);const _0x499e3d=_0x1e2fc1[_0x1e28('0xb')]();this[_0x1e28('0x2')][_0x1e28('0x4')][_0x1e28('0xc')](_0x499e3d)&&this[_0x1e28('0x2')][_0x1e28('0x5')][_0x1e28('0x7')](_0x1e28('0x1'))[_0x1e28('0x9')](_0x1e2fc1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38ed=['refresh','_isEnabledBasedOnSelection','discardSuggestion','editor','get','execute','getRanges','model','_suggestions','plugins','isEnabled'];(function(_0x40960c,_0x38edb3){const _0x4ed8da=function(_0x251939){while(--_0x251939){_0x40960c['push'](_0x40960c['shift']());}};_0x4ed8da(++_0x38edb3);}(_0x38ed,0x173));const _0x4ed8=function(_0x40960c,_0x38edb3){_0x40960c=_0x40960c-0x0;let _0x4ed8da=_0x38ed[_0x40960c];return _0x4ed8da;};import{Command as _0x3fca97}from'ckeditor5/src/core';import{CKEditorError as _0x4cdb6e}from'ckeditor5/src/utils';export default class x extends _0x3fca97{constructor(_0x5baca7,_0x489158){super(_0x5baca7),this['_suggestions']=_0x489158,this[_0x4ed8('0x3')](),this[_0x4ed8('0x4')]=!0x1;}[_0x4ed8('0x3')](){this[_0x4ed8('0x2')]=!0x0;}[_0x4ed8('0x8')](_0x5163ac){const _0xeca237=this[_0x4ed8('0x0')]['get'](_0x5163ac);if(!_0xeca237)throw new _0x4cdb6e('track-changes-discard-suggestion-not-found',this);const _0x4cb62f=_0xeca237[_0x4ed8('0x9')]();this['editor'][_0x4ed8('0xa')]['canEditAt'](_0x4cb62f)&&this[_0x4ed8('0x6')][_0x4ed8('0x1')][_0x4ed8('0x7')]('TrackChangesEditing')[_0x4ed8('0x5')](_0xeca237);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a07=['isEnabled','isInContent','_suggestions','from','_isEnabledBasedOnSelection','_command','values','refresh','some','model'];(function(_0x346384,_0x4a078c){const _0x5191d7=function(_0x4ad3b9){while(--_0x4ad3b9){_0x346384['push'](_0x346384['shift']());}};_0x5191d7(++_0x4a078c);}(_0x4a07,0x140));const _0x5191=function(_0x346384,_0x4a078c){_0x346384=_0x346384-0x0;let _0x5191d7=_0x4a07[_0x346384];return _0x5191d7;};import{Command as _0x1a9824}from'ckeditor5/src/core';import{sortSuggestions as _0x171024,executeCommandForSuggestions as _0x35adfa}from'../utils/utils';export default class E extends _0x1a9824{constructor(_0x4537a3,_0x2647a0,_0x324813){super(_0x4537a3),this['_command']=_0x2647a0,this[_0x5191('0x2')]=_0x324813,this[_0x5191('0x7')](),this[_0x5191('0x4')]=!0x1;}[_0x5191('0x7')](){const _0x17e84d=Array[_0x5191('0x3')](this['_suggestions'][_0x5191('0x6')]())[_0x5191('0x8')](_0x55b51d=>_0x55b51d[_0x5191('0x1')]);this['isEnabled']=this[_0x5191('0x5')][_0x5191('0x0')]&&_0x17e84d;}['execute'](){const _0x1b496f=_0x171024(Array[_0x5191('0x3')](this[_0x5191('0x2')][_0x5191('0x6')]()));for(const _0x357418 of _0x1b496f){const _0x1cfc2f=_0x357418['getRanges']();if(!this['editor'][_0x5191('0x9')]['canEditAt'](_0x1cfc2f))return;}_0x35adfa(this['editor'][_0x5191('0x9')],this[_0x5191('0x5')],_0x1b496f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b21=['selection','_isEnabledBasedOnSelection','values','model','_command','from','canEditAt','getRanges','isEnabled','document','editor','_suggestions','_selectedSuggestions','refresh'];(function(_0x3f2823,_0x5b2199){const _0x818a0c=function(_0x46121e){while(--_0x46121e){_0x3f2823['push'](_0x3f2823['shift']());}};_0x818a0c(++_0x5b2199);}(_0x5b21,0x16d));const _0x818a=function(_0x3f2823,_0x5b2199){_0x3f2823=_0x3f2823-0x0;let _0x818a0c=_0x5b21[_0x3f2823];return _0x818a0c;};import{Command as _0x309b4c}from'ckeditor5/src/core';import{sortSuggestions as _0x52c5bd,getSelectedSuggestions as _0x1377e2,executeCommandForSuggestions as _0x10db80}from'../utils/utils';export default class R extends _0x309b4c{constructor(_0x5c9109,_0x542898,_0x45280e){super(_0x5c9109),this[_0x818a('0x3')]=_0x542898,this['_suggestions']=_0x45280e,this[_0x818a('0xb')]=new Set(),this[_0x818a('0xc')](),this[_0x818a('0x0')]=!0x1;}[_0x818a('0xc')](){const _0x46ed1f=this[_0x818a('0x9')][_0x818a('0x2')][_0x818a('0x8')][_0x818a('0xd')],_0xc1399d=Array[_0x818a('0x4')](this[_0x818a('0xa')][_0x818a('0x1')]());this['_selectedSuggestions']=_0x1377e2(_0x46ed1f,_0xc1399d),this[_0x818a('0x7')]=this[_0x818a('0x3')][_0x818a('0x7')]&&!!this[_0x818a('0xb')]['size'];}['execute'](){const _0x332482=_0x52c5bd(Array[_0x818a('0x4')](this['_selectedSuggestions']));for(const _0x103f93 of _0x332482){const _0x1a0784=_0x103f93[_0x818a('0x6')]();if(!this['editor'][_0x818a('0x2')][_0x818a('0x5')](_0x1a0784))return;}_0x10db80(this['editor'][_0x818a('0x2')],this[_0x818a('0x3')],_0x332482);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c05=['_enabledCommands','commands','_disableUnsupportedCommands','TrackChangesCommand','value','editor','_isEnabledBasedOnSelection','forceDisabled','refresh','clearForceDisabled','has'];(function(_0x4f00cc,_0x3c0536){const _0x3776fa=function(_0x1d8e14){while(--_0x1d8e14){_0x4f00cc['push'](_0x4f00cc['shift']());}};_0x3776fa(++_0x3c0536);}(_0x3c05,0x1b0));const _0x3776=function(_0x4f00cc,_0x3c0536){_0x4f00cc=_0x4f00cc-0x0;let _0x3776fa=_0x3c05[_0x4f00cc];return _0x3776fa;};import{Command as _0x5935d2}from'ckeditor5/src/core';export default class $ extends _0x5935d2{constructor(_0x55f826,_0x288f42){super(_0x55f826),this[_0x3776('0x8')]=_0x288f42,this[_0x3776('0x1')]=!0x1,this[_0x3776('0x5')](),this[_0x3776('0x3')]=!0x1;}[_0x3776('0x5')](){this['isEnabled']=!0x0;}['execute'](){this[_0x3776('0x1')]=!this[_0x3776('0x1')],this[_0x3776('0x1')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x3776('0xa')](){for(const _0x50ec6e of this[_0x3776('0x2')][_0x3776('0x9')][_0x3776('0x9')]())_0x50ec6e['affectsData']&&!this[_0x3776('0x8')][_0x3776('0x7')](_0x50ec6e)&&_0x50ec6e[_0x3776('0x4')](_0x3776('0x0'));}['_enableCommands'](){for(const _0x2ab131 of this[_0x3776('0x2')][_0x3776('0x9')][_0x3776('0x9')]())_0x2ab131['affectsData']&&!this[_0x3776('0x8')]['has'](_0x2ab131)&&_0x2ab131[_0x3776('0x6')](_0x3776('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27cf=['editor','get','showAIAssistant','afterInit','commands','plugins'];(function(_0x1c1fd0,_0x27cf9a){const _0x34f4cc=function(_0x2b9c2f){while(--_0x2b9c2f){_0x1c1fd0['push'](_0x1c1fd0['shift']());}};_0x34f4cc(++_0x27cf9a);}(_0x27cf,0xda));const _0x34f4=function(_0x1c1fd0,_0x27cf9a){_0x1c1fd0=_0x1c1fd0-0x0;let _0x34f4cc=_0x27cf[_0x1c1fd0];return _0x34f4cc;};import{Plugin as _0x37acef}from'ckeditor5/src/core';export default class j extends _0x37acef{[_0x34f4('0x1')](){const _0x853629=this[_0x34f4('0x4')],_0x3714b9=_0x853629[_0x34f4('0x3')][_0x34f4('0x5')]('TrackChangesEditing');_0x853629[_0x34f4('0x2')][_0x34f4('0x5')]('showAIAssistant')&&_0x3714b9['enableCommand'](_0x34f4('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c36=['commandName','FORMAT_JUSTIFY_TEXT','left','get','registerAttributeLabel','FORMAT_ALIGNMENT','_enableDefaultAttributesIntegration','afterInit','alignment','AlignmentEditing','registerDescriptionCallback','*Format:*\x20%0','type','FORMAT_ALIGN_TO_CENTER','commandParams','locale','has','editor','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGN_TO_LEFT','_registerLegacyDescription','justify','_descriptionFactory','value','right','TrackChangesEditing','plugins'];(function(_0x1fe405,_0x5c3652){const _0x1ebb13=function(_0x4eddc0){while(--_0x4eddc0){_0x1fe405['push'](_0x1fe405['shift']());}};_0x1ebb13(++_0x5c3652);}(_0x5c36,0xea));const _0x1ebb=function(_0x1fe405,_0x5c3652){_0x1fe405=_0x1fe405-0x0;let _0x1ebb13=_0x5c36[_0x1fe405];return _0x1ebb13;};import{Plugin as _0x321ba0}from'ckeditor5/src/core';import{getTranslation as _0x4fb2ad}from'../utils/common-translations';export default class U extends _0x321ba0{[_0x1ebb('0x10')](){const _0x1e9896=this[_0x1ebb('0x1a')],_0x3d5384=_0x1e9896[_0x1ebb('0x18')];if(!_0x1e9896[_0x1ebb('0x8')][_0x1ebb('0x19')](_0x1ebb('0x12')))return;const _0x248116=_0x1e9896[_0x1ebb('0x8')][_0x1ebb('0xc')](_0x1ebb('0x7'));_0x248116[_0x1ebb('0xf')](_0x1ebb('0x11'),[],[_0x1ebb('0x11')]),_0x248116['_descriptionFactory'][_0x1ebb('0xd')](_0x1ebb('0x11'),_0x4fb2ad(_0x3d5384,_0x1ebb('0xe'))),this[_0x1ebb('0x2')]();}[_0x1ebb('0x2')](){const _0x247343=this['editor'],_0x4cdf51=_0x247343[_0x1ebb('0x18')];_0x247343[_0x1ebb('0x8')][_0x1ebb('0xc')](_0x1ebb('0x7'))[_0x1ebb('0x4')][_0x1ebb('0x13')](_0x1e47b6=>{if('formatBlock'!=_0x1e47b6[_0x1ebb('0x15')])return;const {data:_0x407057}=_0x1e47b6;if(_0x407057&&_0x1ebb('0x11')==_0x407057[_0x1ebb('0x9')]){const _0x3690c3=_0x407057[_0x1ebb('0x17')][0x0][_0x1ebb('0x5')];return{'type':'format','content':_0x4fb2ad(_0x4cdf51,_0x1ebb('0x14'),function(_0x47b966){switch(_0x47b966){case _0x1ebb('0xb'):return _0x4fb2ad(_0x4cdf51,_0x1ebb('0x1'));case _0x1ebb('0x6'):return _0x4fb2ad(_0x4cdf51,_0x1ebb('0x0'));case'center':return _0x4fb2ad(_0x4cdf51,_0x1ebb('0x16'));case _0x1ebb('0x3'):return _0x4fb2ad(_0x4cdf51,_0x1ebb('0xa'));}}(_0x3690c3))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xde4c=['FORMAT_SUPERSCRIPT','_descriptionFactory','superscript','FORMAT_CODE','commandName','subscript','FORMAT_ITALIC','get','SubscriptEditing','_registerLegacyDescription','strikethrough','FORMAT_','plugins','slice','editor','registerAttributeLabel','TrackChangesEditing','BoldEditing','registerDescriptionCallback','format','*Format:*\x20%0','commandParams','FORMAT_STRIKETHROUGH','formatInline','ItalicEditing','UnderlineEditing','toLowerCase','underline','has','code','type','italic','*Remove\x20format:*\x20%0','FORMAT_SUBSCRIPT','FORMAT_UNDERLINE','SuperscriptEditing','toUpperCase','locale','forceValue'];(function(_0x56d588,_0xde4cb3){const _0x43997e=function(_0xd499a5){while(--_0xd499a5){_0x56d588['push'](_0x56d588['shift']());}};_0x43997e(++_0xde4cb3);}(_0xde4c,0x7a));const _0x4399=function(_0x56d588,_0xde4cb3){_0x56d588=_0x56d588-0x0;let _0x43997e=_0xde4c[_0x56d588];return _0x43997e;};import{Plugin as _0x41c27a}from'ckeditor5/src/core';import{getTranslation as _0x3564e7}from'../utils/common-translations';const ti=[_0x4399('0xc'),_0x4399('0x13'),_0x4399('0x14'),'CodeEditing','StrikethroughEditing',_0x4399('0x3'),_0x4399('0x1e')];export default class O extends _0x41c27a{['afterInit'](){const _0x44eb1a=this[_0x4399('0x9')],_0xbf82f2=_0x44eb1a[_0x4399('0x7')][_0x4399('0x2')](_0x4399('0xb')),_0x41b72d=_0x44eb1a['locale'];for(const _0x29408b of ti){if(!_0x44eb1a[_0x4399('0x7')][_0x4399('0x17')](_0x29408b))continue;const _0x182935=_0x29408b[_0x4399('0x8')](0x0,-0x7)[_0x4399('0x15')](),_0x17e997=_0x4399('0x6')+_0x182935[_0x4399('0x1f')]();_0xbf82f2['_enableDefaultAttributesIntegration'](_0x182935,[_0x182935]),_0xbf82f2[_0x4399('0x23')][_0x4399('0xa')](_0x182935,_0x3564e7(_0x41b72d,_0x17e997));}this[_0x4399('0x4')]();}[_0x4399('0x4')](){const _0x21c1f6=this[_0x4399('0x9')],_0x433d2f=_0x21c1f6[_0x4399('0x20')],_0x2a6168=_0x21c1f6[_0x4399('0x7')][_0x4399('0x2')](_0x4399('0xb'));function _0x43a9b5(_0x2a054c,_0x3dfcbd){_0x2a6168[_0x4399('0x23')][_0x4399('0xd')](_0x32797a=>{if(_0x4399('0x12')!=_0x32797a[_0x4399('0x19')])return;const {data:_0x519997}=_0x32797a;return _0x519997&&_0x519997[_0x4399('0x26')]===_0x2a054c?_0x519997[_0x4399('0x10')][0x0][_0x4399('0x21')]?{'type':_0x4399('0xe'),'content':_0x3564e7(_0x433d2f,_0x4399('0xf'),_0x3dfcbd)}:{'type':_0x4399('0xe'),'content':_0x3564e7(_0x433d2f,_0x4399('0x1b'),_0x3dfcbd)}:void 0x0;});}_0x43a9b5('bold',_0x3564e7(_0x433d2f,'FORMAT_BOLD')),_0x43a9b5(_0x4399('0x1a'),_0x3564e7(_0x433d2f,_0x4399('0x1'))),_0x43a9b5(_0x4399('0x16'),_0x3564e7(_0x433d2f,_0x4399('0x1d'))),_0x43a9b5(_0x4399('0x18'),_0x3564e7(_0x433d2f,_0x4399('0x25'))),_0x43a9b5(_0x4399('0x5'),_0x3564e7(_0x433d2f,_0x4399('0x11'))),_0x43a9b5(_0x4399('0x0'),_0x3564e7(_0x433d2f,_0x4399('0x1c'))),_0x43a9b5(_0x4399('0x24'),_0x3564e7(_0x433d2f,_0x4399('0x22')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5920=['*Set\x20format:*\x20%0','document','blockQuote','get','registerDescriptionCallback','forceValue','afterInit','name','markBlockFormat','_descriptionFactory','schema','format','commandName','$root','from','has','BlockQuoteEditing','commandParams','selection','model','value','*Remove\x20format:*\x20%0','editor','getSelectedBlocks','checkChild','parent','plugins'];(function(_0x321142,_0x59206d){const _0x340e8b=function(_0x29d74e){while(--_0x29d74e){_0x321142['push'](_0x321142['shift']());}};_0x340e8b(++_0x59206d);}(_0x5920,0x136));const _0x340e=function(_0x321142,_0x59206d){_0x321142=_0x321142-0x0;let _0x340e8b=_0x5920[_0x321142];return _0x340e8b;};import{Plugin as _0x50be81}from'ckeditor5/src/core';import{getTranslation as _0x3d6f69}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x43605d}from'../utils/utils';export default class V extends _0x50be81{[_0x340e('0x14')](){const _0x5b7369=this[_0x340e('0x9')],_0x1d661=_0x5b7369['locale'];if(!_0x5b7369[_0x340e('0xd')][_0x340e('0x2')](_0x340e('0x3')))return;const _0x4eee1c=_0x5b7369[_0x340e('0xd')][_0x340e('0x11')]('TrackChangesEditing'),_0x51c5a3=this[_0x340e('0x9')]['commands'][_0x340e('0x11')](_0x340e('0x10'));_0x4eee1c['enableCommand'](_0x340e('0x10'),(_0x54ae67,_0x3305d9={})=>{const _0x912977=this['editor'][_0x340e('0x6')][_0x340e('0xf')][_0x340e('0x5')],_0x3550c2=_0x3305d9&&void 0x0!==_0x3305d9['forceValue']?_0x3305d9[_0x340e('0x13')]:!_0x51c5a3[_0x340e('0x7')];let _0xd1d949=[];if(_0x3550c2){const _0x3c12db=Array['from'](_0x912977[_0x340e('0xa')]())['filter'](_0x14e2b2=>oo(_0x14e2b2)||function(_0x2c4f12,_0x5632e3){const _0x895a8a=_0x5632e3[_0x340e('0xb')](_0x2c4f12['parent'],_0x340e('0x10')),_0x41f12b=_0x5632e3[_0x340e('0xb')]([_0x340e('0x0'),_0x340e('0x10')],_0x2c4f12);return _0x895a8a&&_0x41f12b;}(_0x14e2b2,this[_0x340e('0x9')][_0x340e('0x6')][_0x340e('0x18')]));_0xd1d949=_0x43605d(_0x3c12db,_0x5b7369[_0x340e('0x6')]);}else{const _0xdd12db=Array[_0x340e('0x1')](_0x912977['getSelectedBlocks']())['filter'](_0x24ab92=>oo(_0x24ab92));_0xd1d949=_0x43605d(_0xdd12db,_0x5b7369['model']);}_0x5b7369[_0x340e('0x6')]['change'](()=>{for(const _0x3cb7a9 of _0xd1d949)_0x4eee1c[_0x340e('0x16')](_0x3cb7a9,{'commandName':_0x340e('0x10'),'commandParams':[{'forceValue':_0x3550c2}]});});}),_0x4eee1c[_0x340e('0x17')][_0x340e('0x12')](_0x199ad1=>{const {data:_0x364e8e}=_0x199ad1;if(_0x364e8e&&_0x340e('0x10')==_0x364e8e[_0x340e('0x1a')]){const _0x4352b5=_0x3d6f69(_0x1d661,'ELEMENT_BLOCK_QUOTE');return _0x364e8e[_0x340e('0x4')][0x0]['forceValue']?{'type':'format','content':_0x3d6f69(_0x1d661,_0x340e('0xe'),_0x4352b5)}:{'type':_0x340e('0x19'),'content':_0x3d6f69(_0x1d661,_0x340e('0x8'),_0x4352b5)};}});}}function oo(_0x559c81){return'blockQuote'==_0x559c81[_0x340e('0xc')][_0x340e('0x15')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fe3=['get','enableCommand','afterInit','ckbox','editor','commands','plugins'];(function(_0x22066e,_0x1fe34c){const _0xaf74cd=function(_0xaefc46){while(--_0xaefc46){_0x22066e['push'](_0x22066e['shift']());}};_0xaf74cd(++_0x1fe34c);}(_0x1fe3,0xf3));const _0xaf74=function(_0x22066e,_0x1fe34c){_0x22066e=_0x22066e-0x0;let _0xaf74cd=_0x1fe3[_0x22066e];return _0xaf74cd;};import{Plugin as _0x1bce75}from'ckeditor5/src/core';export default class G extends _0x1bce75{[_0xaf74('0x4')](){const _0x33e85b=this[_0xaf74('0x6')];_0x33e85b[_0xaf74('0x0')][_0xaf74('0x2')](_0xaf74('0x5'))&&_0x33e85b[_0xaf74('0x1')][_0xaf74('0x2')]('TrackChangesEditing')[_0xaf74('0x3')](_0xaf74('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ec8=['config','indentCodeBlock','commandParams','rootElement','enableCommand','schema','from','languages','plugins','getSelectedBlocks','registerDescriptionCallback','format','has','locale','forceValue','language','commandName','codeBlock','afterInit','formatBlock','get','toLowerCase','TrackChangesEditing','blockName','find','label','model','filter','name','parent','ELEMENT_CODE_BLOCK','type','registerElementLabel','selection','isLimit','*Remove\x20format:*\x20%0','change'];(function(_0x5ee1ae,_0x4ec89f){const _0x17e518=function(_0x275c78){while(--_0x275c78){_0x5ee1ae['push'](_0x5ee1ae['shift']());}};_0x17e518(++_0x4ec89f);}(_0x4ec8,0x1f2));const _0x17e5=function(_0x5ee1ae,_0x4ec89f){_0x5ee1ae=_0x5ee1ae-0x0;let _0x17e518=_0x4ec8[_0x5ee1ae];return _0x17e518;};import{Plugin as _0x58ccb6}from'ckeditor5/src/core';import{getTranslation as _0x4da097}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x544fd7}from'../utils/utils';export default class F extends _0x58ccb6{[_0x17e5('0x1')](){const _0x3b5621=this['editor'];if(!_0x3b5621[_0x17e5('0x1c')][_0x17e5('0x20')]('CodeBlock'))return;const _0x20379a=_0x3b5621['plugins'][_0x17e5('0x3')](_0x17e5('0x5')),_0x3b048d=_0x3b5621[_0x17e5('0x21')],_0x2dd309=_0x3b5621[_0x17e5('0x14')][_0x17e5('0x3')](_0x17e5('0x0'))[_0x17e5('0x1b')],_0x19493b=_0x3b5621['commands'][_0x17e5('0x3')](_0x17e5('0x0'));_0x20379a[_0x17e5('0x18')](_0x17e5('0x15')),_0x20379a['enableCommand']('outdentCodeBlock'),_0x20379a[_0x17e5('0x18')](_0x17e5('0x0'),(_0x205943,_0x2654c8={})=>{const _0x9ecd91=_0x3b5621[_0x17e5('0x9')],_0x5dca11=_0x3b5621[_0x17e5('0x9')]['document'][_0x17e5('0x10')],_0x3f6507=_0x2654c8&&void 0x0!==_0x2654c8[_0x17e5('0x22')]?_0x2654c8[_0x17e5('0x22')]:!_0x19493b['value'];let _0x3eaa71;_0x2654c8[_0x17e5('0x23')]||(_0x2654c8[_0x17e5('0x23')]=_0x2dd309[0x0][_0x17e5('0x23')]),_0x3eaa71=_0x3f6507?Array[_0x17e5('0x1a')](_0x5dca11[_0x17e5('0x1d')]())[_0x17e5('0xa')](_0x3179ad=>eo(_0x3179ad)||function(_0x48a752,_0xaf35e1){if(_0x48a752['is'](_0x17e5('0x17'))||_0xaf35e1[_0x17e5('0x11')](_0x48a752))return!0x1;return _0xaf35e1['checkChild'](_0x48a752[_0x17e5('0xc')],_0x17e5('0x0'));}(_0x3179ad,_0x9ecd91[_0x17e5('0x19')])):Array[_0x17e5('0x1a')](_0x5dca11['getSelectedBlocks']())[_0x17e5('0xa')](_0x341273=>eo(_0x341273));const _0x423967=_0x544fd7(_0x3eaa71,_0x9ecd91);_0x9ecd91[_0x17e5('0x13')](()=>{for(const _0x8c8877 of _0x423967)_0x20379a['markBlockFormat'](_0x8c8877,{'commandName':_0x17e5('0x0'),'commandParams':[{..._0x2654c8,'forceValue':_0x3f6507}],'formatGroupId':_0x17e5('0x6')});});}),(_0x20379a['_descriptionFactory'][_0x17e5('0xf')](_0x17e5('0x0'),_0x394083=>_0x4da097(_0x3b048d,_0x17e5('0xd'),_0x394083)),_0x20379a['_descriptionFactory'][_0x17e5('0x1e')](_0x47328a=>{if(_0x17e5('0x2')!=_0x47328a[_0x17e5('0xe')])return;const _0x3ddbb2=_0x3b048d['t'],{data:_0x476241}=_0x47328a;if(!_0x476241||'codeBlock'!=_0x476241[_0x17e5('0x24')])return;const _0x1b1f1d=_0x476241[_0x17e5('0x16')][0x0]['language'],_0x17360a=_0x3ddbb2(_0x2dd309[_0x17e5('0x7')](_0x27ec9=>_0x27ec9[_0x17e5('0x23')]===_0x1b1f1d)[_0x17e5('0x8')])[_0x17e5('0x4')]();return _0x476241[_0x17e5('0x16')][0x0]['forceValue']?{'type':_0x17e5('0x1f'),'content':_0x4da097(_0x3b048d,'*Set\x20format:*\x20%0',_0x4da097(_0x3b048d,_0x17e5('0xd'),0x1)+'\x20('+_0x17360a+')')}:{'type':'format','content':_0x4da097(_0x3b048d,_0x17e5('0x12'),_0x4da097(_0x3b048d,_0x17e5('0xd'),0x1))};}));}}function eo(_0xf2d5f){return _0x17e5('0x0')==_0xf2d5f[_0x17e5('0xb')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c29=['plugins','has','afterInit','enableCommand','CommentsEditing','get','editor','addCommentThread','TrackChangesEditing'];(function(_0x5ba1e9,_0x2c2933){const _0x10031e=function(_0x5d5e64){while(--_0x5d5e64){_0x5ba1e9['push'](_0x5ba1e9['shift']());}};_0x10031e(++_0x2c2933);}(_0x2c29,0x1e5));const _0x1003=function(_0x5ba1e9,_0x2c2933){_0x5ba1e9=_0x5ba1e9-0x0;let _0x10031e=_0x2c29[_0x5ba1e9];return _0x10031e;};import{Plugin as _0x3d6e75}from'ckeditor5/src/core';export default class L extends _0x3d6e75{[_0x1003('0x3')](){const _0x522626=this[_0x1003('0x7')];if(!_0x522626[_0x1003('0x1')][_0x1003('0x2')](_0x1003('0x5')))return;_0x522626[_0x1003('0x1')][_0x1003('0x6')](_0x1003('0x0'))[_0x1003('0x4')](_0x1003('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39bf=['getFirstRange','model','uiElement','editor','modifySelection','init','isCollapsed','fromRange','options','root','remove','setSelection','high','enableCommand','createRange','addMarker:suggestion:deletion','merge','editing','deleteForward','lock','removeMarker:suggestion:deletion','markerName','rootName','mapper','buffer','unlock','bind','writer','batch','get','unbindElementFromMarkerName','createSelection','showSuggestionHighlights','downcastDispatcher','commands','selection','plugins','requires','start','document','forward','data','unit','TrackChangesEditing','end','detach'];(function(_0x22af8e,_0x39bffb){const _0x9a13af=function(_0x188a3b){while(--_0x188a3b){_0x22af8e['push'](_0x22af8e['shift']());}};_0x9a13af(++_0x39bffb);}(_0x39bf,0xf5));const _0x9a13=function(_0x22af8e,_0x39bffb){_0x22af8e=_0x22af8e-0x0;let _0x9a13af=_0x39bf[_0x22af8e];return _0x9a13af;};import{Plugin as _0x5d6c84}from'ckeditor5/src/core';import{LiveRange as _0x3d9932}from'ckeditor5/src/engine';import{Delete as _0x1f4f87}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0xd717a2}from'./utils';export default class H extends _0x5d6c84{static get[_0x9a13('0x16')](){return[_0x1f4f87];}[_0x9a13('0x24')](){const _0x294363=this[_0x9a13('0x22')],_0x3ff384=_0x294363[_0x9a13('0x15')][_0x9a13('0xe')](_0x9a13('0x1c'));_0x3ff384['enableCommand']('delete');const _0x308792=_0x294363[_0x9a13('0x13')][_0x9a13('0xe')](_0x9a13('0x3'));_0x3ff384[_0x9a13('0x2c')](_0x9a13('0x3'),(_0x589d26,_0xd7034f={})=>{const _0x3b2428=_0x294363[_0x9a13('0x20')][_0x9a13('0x10')](_0x294363[_0x9a13('0x20')][_0x9a13('0x18')][_0x9a13('0x14')]);_0x3b2428[_0x9a13('0x25')]&&_0x294363[_0x9a13('0x20')][_0x9a13('0x23')](_0x3b2428,{'direction':_0x9a13('0x19'),'unit':_0xd7034f[_0x9a13('0x1b')]});const _0x2d7bfd=_0x3b2428[_0x9a13('0x1f')](),_0x2de0e7=_0x3d9932[_0x9a13('0x26')](_0x2d7bfd);let _0x3fc39f;_0x589d26(_0xd7034f),_0x3fc39f='$graveyard'==_0x2de0e7[_0x9a13('0x28')][_0x9a13('0x7')]?_0x294363[_0x9a13('0x20')][_0x9a13('0x2d')](_0x2d7bfd['start']):_0x294363['model']['createRange'](_0x2de0e7[_0x9a13('0x17')],_0x2de0e7[_0x9a13('0x1d')]),_0x2de0e7[_0x9a13('0x1e')](),_0x294363[_0x9a13('0x20')]['enqueueChange'](_0x308792[_0x9a13('0x9')][_0x9a13('0xd')],_0x13736e=>{_0x308792[_0x9a13('0x9')][_0x9a13('0x4')](),_0x13736e[_0x9a13('0x2a')](_0x13736e['createRange'](_0x3fc39f[_0x9a13('0x1d')])),_0x308792[_0x9a13('0x9')][_0x9a13('0xa')]();});}),_0x294363[_0x9a13('0x2')]['downcastDispatcher']['on'](_0x9a13('0x0'),_0xd717a2(_0x294363,_0x9a13('0x1')),{'priority':'high'}),_0x294363[_0x9a13('0x1a')][_0x9a13('0x12')]['on']('addMarker:suggestion:deletion',(_0x481895,_0x3ded55,_0x229702)=>{_0x229702[_0x9a13('0x27')][_0x9a13('0x11')]&&_0xd717a2(_0x294363,'merge',{'showActiveMarker':!0x1})[_0x9a13('0xb')](this)(_0x481895,_0x3ded55,_0x229702);},{'priority':_0x9a13('0x2b')}),_0x294363[_0x9a13('0x2')][_0x9a13('0x12')]['on'](_0x9a13('0x5'),(_0x44ec11,_0x42128e,_0x43b429)=>{const _0x34543b=_0x43b429['mapper']['markerNameToElements'](_0x42128e[_0x9a13('0x6')]);if(_0x34543b)for(const _0x7bf282 of _0x34543b)_0x7bf282['is'](_0x9a13('0x21'))&&(_0x43b429[_0x9a13('0x8')][_0x9a13('0xf')](_0x7bf282,_0x42128e[_0x9a13('0x6')]),_0x43b429[_0x9a13('0xc')][_0x9a13('0x29')](_0x7bf282));},{'priority':_0x9a13('0x2b')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ada=['markBlockFormat','detach','type','has','before','isFirstBlockOfListItem','afterInit','editor','format','nodeAfter','createRange','length','enableCommand','indentList','change','commandParams','from','selection','listItemId','outdentList','mergeListItemForward','getRanges','nextSibling','TrackChangesEditing','ELEMENT_LIST_ITEM','_suggestionFactory','config','numberedList','execute','plugins','_descriptionFactory','commandName','setSelection','listType','locale','registerElementLabel','getFirstRange','commands','start','getAttribute','*Format:*\x20insert\x20into\x20%0','*Format:*\x20remove\x20from\x20%0','accept','splitListItemAfter','paragraph','get','deletion','bulletedList','createPositionAt','add','getSelectedBlocks','DocumentListEditing','push','after','schema','formatInline','documentList','hasAttribute','registerDescriptionCallback','value','ELEMENT_','map','list.multiBlock','forceValue','formatBlock','findIndex','*Merge:*\x20%0','expandListBlocksToCompleteList','containsItem','markMultiRangeBlockFormat','model','DocumentListUtils','*Change\x20to:*\x20%0','slice','document','next','splitListItemBefore','end','previousSibling','ELEMENT_NUMBERED_LIST','isObject'];(function(_0x164b5f,_0x4adab7){const _0x58dc76=function(_0x121c35){while(--_0x121c35){_0x164b5f['push'](_0x164b5f['shift']());}};_0x58dc76(++_0x4adab7);}(_0x4ada,0xc1));const _0x58dc=function(_0x164b5f,_0x4adab7){_0x164b5f=_0x164b5f-0x0;let _0x58dc76=_0x4ada[_0x164b5f];return _0x58dc76;};import{Plugin as _0x5c0747}from'ckeditor5/src/core';import{getTranslation as _0x1869a0}from'../utils/common-translations';import{LiveRange as _0x63d6b1}from'ckeditor5/src/engine';export default class q extends _0x5c0747{[_0x58dc('0x38')](){const _0x43148a=this[_0x58dc('0x39')];if(!_0x43148a[_0x58dc('0x4f')][_0x58dc('0x35')](_0x58dc('0x14')))return;const _0x17802a=_0x43148a[_0x58dc('0x3')],_0x573e91=_0x43148a[_0x58dc('0x4f')]['get'](_0x58dc('0x49')),_0x5a7060=_0x43148a['plugins']['get'](_0x58dc('0x28'));function _0x107bbe(_0x474ba9){return()=>{const _0x4721f4=_0x43148a['commands']['get'](_0x474ba9);if(_0x4721f4[_0x58dc('0x1c')]&&!_0x43148a[_0x58dc('0x4c')]['get'](_0x58dc('0x1f')))return void _0x43148a[_0x58dc('0x4e')](_0x58dc('0xd'),{});let _0xe8fc0c=Array['from'](_0x43148a[_0x58dc('0x27')]['document']['selection'][_0x58dc('0x13')]());if(_0x522d98(_0x474ba9)){_0xe8fc0c=_0x5a7060[_0x58dc('0x24')](_0xe8fc0c);const _0x49c268=[];for(const _0x245e7c of _0xe8fc0c)_0x5a7060[_0x58dc('0x37')](_0x245e7c)&&_0x49c268[_0x58dc('0x15')](_0x245e7c);_0xe8fc0c=_0x49c268;}_0x43148a[_0x58dc('0x27')][_0x58dc('0x40')](()=>{_0x573e91[_0x58dc('0x26')](_0xe8fc0c,{'commandName':_0x474ba9,'commandParams':[{'forceValue':!_0x4721f4[_0x58dc('0x1c')]}],'formatGroupId':_0x58dc('0x2')},[],'documentList');});};}function _0xa5f6f9(_0x422e6e){return()=>{const _0x1479f7=function(_0x1701bb){let _0x55af17=Array[_0x58dc('0x42')](_0x1701bb);const _0x128d90=_0x55af17[_0x58dc('0x22')](_0x37ca4e=>!_0x37ca4e[_0x58dc('0x1a')](_0x58dc('0x44')));return _0x128d90>-0x1&&(_0x55af17=_0x55af17[_0x58dc('0x2a')](0x0,_0x128d90)),_0x55af17;}(_0x43148a['model']['document'][_0x58dc('0x43')][_0x58dc('0x13')]()),_0x300ef3=_0x1479f7[_0x1479f7[_0x58dc('0x3d')]-0x1],_0x21c947=_0x43148a[_0x58dc('0x27')][_0x58dc('0x17')][_0x58dc('0x31')](_0x300ef3)?_0x58dc('0x16'):_0x58dc('0x2e'),_0x1f8414=_0x43148a[_0x58dc('0x27')][_0x58dc('0x3c')](_0x43148a[_0x58dc('0x27')][_0x58dc('0x11')](_0x1479f7[0x0],_0x58dc('0x36')),_0x43148a[_0x58dc('0x27')][_0x58dc('0x11')](_0x300ef3,_0x21c947));_0x43148a[_0x58dc('0x27')][_0x58dc('0x40')](()=>{_0x573e91[_0x58dc('0x32')](_0x1f8414,{'commandName':_0x422e6e,'commandParams':[],'formatGroupId':_0x58dc('0x2')},function(_0x284e91){const _0x3ea0ed=new Set();for(const _0x16771b of _0x284e91){let _0x3a8d24=_0x16771b[_0x58dc('0x48')];for(;_0x3a8d24&&_0x3a8d24[_0x58dc('0x8')]('listIndent')>_0x16771b[_0x58dc('0x8')]('listIndent');)_0x3ea0ed[_0x58dc('0x12')](_0x3a8d24),_0x3a8d24=_0x3a8d24[_0x58dc('0x48')];}return Array[_0x58dc('0x42')](_0x3ea0ed);}(_0x1479f7));});};}function _0x2697a9(_0x2d344a){return()=>{const _0x3a8647=_0x43148a['model'][_0x58dc('0x2b')][_0x58dc('0x43')][_0x58dc('0x13')]()[_0x58dc('0x2c')]()[_0x58dc('0x1c')],_0x3c6883=_0x43148a['model']['createPositionAt'](_0x3a8647,_0x58dc('0x36')),_0x40d212=_0x43148a[_0x58dc('0x27')][_0x58dc('0x11')](_0x3a8647,0x0),_0x1f5ddb=_0x43148a['model'][_0x58dc('0x3c')](_0x3c6883,_0x40d212);_0x43148a['model'][_0x58dc('0x40')](()=>{_0x573e91[_0x58dc('0x32')](_0x1f5ddb,{'commandName':_0x2d344a,'commandParams':[],'formatGroupId':'listType'});});};}function _0x522d98(_0x429756){const _0x567159=_0x43148a[_0x58dc('0x6')][_0x58dc('0xe')]('bulletedList')[_0x58dc('0x1c')],_0x4fcd5d=_0x43148a['commands'][_0x58dc('0xe')]('numberedList')[_0x58dc('0x1c')];return _0x58dc('0x4d')===_0x429756?_0x567159:_0x4fcd5d;}_0x573e91[_0x58dc('0x3e')](_0x58dc('0x4d'),_0x107bbe(_0x58dc('0x4d'))),_0x573e91[_0x58dc('0x3e')](_0x58dc('0x10'),_0x107bbe(_0x58dc('0x10'))),_0x573e91[_0x58dc('0x3e')]('indentList',_0xa5f6f9(_0x58dc('0x3f'))),_0x573e91['enableCommand'](_0x58dc('0x45'),_0xa5f6f9('outdentList')),_0x573e91[_0x58dc('0x3e')]('splitListItemAfter',_0x2697a9(_0x58dc('0xc'))),_0x573e91[_0x58dc('0x3e')](_0x58dc('0x2d'),_0x2697a9('splitListItemBefore')),_0x573e91['_descriptionFactory'][_0x58dc('0x4')](function(_0x1feb75){const _0x3c7036=!_0x43148a[_0x58dc('0x27')]['schema']['isObject'](_0x1feb75),_0x5341ea=_0x1feb75[_0x58dc('0x2f')],_0x426721=_0x1feb75['nextSibling'],_0x2d804e=_0x1feb75[_0x58dc('0x8')](_0x58dc('0x44')),_0x118768=!_0x5341ea||_0x5341ea['getAttribute'](_0x58dc('0x44'))!==_0x2d804e,_0x53a450=!_0x426721||_0x426721[_0x58dc('0x8')](_0x58dc('0x44'))!==_0x2d804e;return _0x3c7036&&Boolean(_0x2d804e)&&_0x118768&&_0x53a450;},_0x2fe243=>_0x1869a0(_0x17802a,'ELEMENT_LIST_ITEM',_0x2fe243)),_0x573e91[_0x58dc('0x50')][_0x58dc('0x1b')](function(_0x24d307){if(_0x58dc('0x21')!=_0x24d307[_0x58dc('0x34')]&&_0x58dc('0x18')!=_0x24d307[_0x58dc('0x34')])return;const {data:_0x2b40e3}=_0x24d307;if(!_0x2b40e3)return;let _0x264f3d,_0x57cc55,_0x584f12,_0x3d8c9b;switch(_0x2b40e3[_0x58dc('0x0')]){case _0x58dc('0x10'):_0x584f12=_0x2b40e3[_0x58dc('0x41')][0x0][_0x58dc('0x20')],_0x3d8c9b=_0x522d98(_0x2b40e3[_0x58dc('0x0')]),_0x264f3d=_0x584f12?_0x58dc('0x9'):_0x58dc('0xa'),!_0x3d8c9b&&_0x43148a[_0x58dc('0x4c')][_0x58dc('0xe')]('list.multiBlock')||(_0x264f3d=_0x58dc('0x29')),_0x57cc55={'type':_0x58dc('0x3a'),'content':_0x1869a0(_0x17802a,_0x264f3d,_0x1869a0(_0x17802a,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x584f12=_0x2b40e3[_0x58dc('0x41')][0x0]['forceValue'],_0x3d8c9b=_0x522d98(_0x2b40e3['commandName']),_0x264f3d=_0x584f12?_0x58dc('0x9'):_0x58dc('0xa'),!_0x3d8c9b&&_0x43148a['config'][_0x58dc('0xe')](_0x58dc('0x1f'))||(_0x264f3d=_0x58dc('0x29')),_0x57cc55={'type':_0x58dc('0x3a'),'content':_0x1869a0(_0x17802a,_0x264f3d,_0x1869a0(_0x17802a,_0x58dc('0x30')))};break;case _0x58dc('0x3f'):_0x264f3d='*Indent:*\x20%0',_0x57cc55={'type':_0x58dc('0x3a'),'content':_0x1869a0(_0x17802a,_0x264f3d,_0x1869a0(_0x17802a,'ELEMENT_LIST_ITEM'))};break;case _0x58dc('0x45'):_0x264f3d=function(_0x998922){const _0x204604=_0x998922[_0x58dc('0x5')]();let _0x364ebc=_0x204604[_0x58dc('0x7')][_0x58dc('0x3b')];for(;_0x364ebc&&_0x204604[_0x58dc('0x25')](_0x364ebc);){if(_0x364ebc[_0x58dc('0x8')]('listIndent')>0x0)return!0x1;_0x364ebc=_0x364ebc[_0x58dc('0x48')];}return!0x0;}(_0x24d307)?_0x1869a0(_0x17802a,_0x58dc('0xa'),_0x1869a0(_0x17802a,function(_0x4092df){const _0x23dc0a=_0x4092df[_0x58dc('0x5')]()[_0x58dc('0x7')]['nodeAfter'];return _0x58dc('0x1d')+_0x23dc0a['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x24d307))):_0x1869a0(_0x17802a,'*Outdent:*\x20%0',_0x1869a0(_0x17802a,_0x58dc('0x4a'))),_0x57cc55={'type':'format','content':_0x264f3d};break;case'mergeListItemBackward':case _0x58dc('0x46'):!0x1===_0x2b40e3['multipleBlocks']&&(_0x264f3d=_0x58dc('0x23'),_0x57cc55={'type':_0x58dc('0xf'),'content':_0x1869a0(_0x17802a,_0x264f3d,_0x1869a0(_0x17802a,'ELEMENT_LIST_ITEM'))});}return _0x57cc55;}),_0x573e91[_0x58dc('0x4b')]['registerCustomCallback'](_0x58dc('0x21'),_0x58dc('0x19'),_0x58dc('0xb'),function(_0x2fabfe,_0x916bc4){const _0x534820=[];for(let _0x9f360e of _0x2fabfe)_0x9f360e[_0x58dc('0x7')][_0x58dc('0x3b')]===_0x9f360e[_0x58dc('0x2e')]['parent']&&(_0x9f360e=_0x43148a['model'][_0x58dc('0x3c')](_0x43148a[_0x58dc('0x27')][_0x58dc('0x11')](_0x9f360e[_0x58dc('0x7')][_0x58dc('0x3b')],0x0))),_0x534820[_0x58dc('0x15')](_0x9f360e);_0x43148a['model'][_0x58dc('0x40')](_0x198182=>{const _0x3aa21f=_0x43148a[_0x58dc('0x27')]['document'][_0x58dc('0x43')],_0x4149a0=Array[_0x58dc('0x42')](_0x3aa21f[_0x58dc('0x47')]())[_0x58dc('0x1e')](_0x1cb90a=>_0x63d6b1['fromRange'](_0x1cb90a));_0x198182[_0x58dc('0x1')](_0x534820),_0x43148a['commands'][_0x58dc('0xe')](_0x916bc4[_0x58dc('0x0')])['refresh'](),_0x916bc4[_0x58dc('0x41')][_0x58dc('0x15')]({'forceDefaultExecution':!0x0}),_0x43148a['execute'](_0x916bc4[_0x58dc('0x0')],..._0x916bc4['commandParams']),_0x198182[_0x58dc('0x1')](_0x4149a0);for(const _0x12ca42 of _0x4149a0)_0x12ca42[_0x58dc('0x33')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x100c=['formatBlock','registerDescriptionCallback','expandListBlocksToCompleteList','type','handleListStyleCommand','plugins','push','handleListReversedCommand','DocumentListUtils','*Format:*\x20set\x20order\x20to\x20regular','_LIST_','replace','enableCommand','ELEMENT_','afterInit','_descriptionFactory','listStart','getSelectedBlocks','model','get','handleListStartCommand','format','isFirstBlockOfListItem','commandName','commandParams','DocumentListPropertiesUtils','isListItemBlock','_getTranslationKeyForListStyle','formatInline','listReversed','getAttribute','from','TrackChangesEditing','startIndex','listStyle','*Change\x20to:*\x20%0','listType','numbered','editor','filter','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20reversed','_getSuggestionBlocksForListStyle','change','markMultiRangeBlockFormat','reversed','handleDescriptions','selection','bind','list.properties','toUpperCase','document'];(function(_0x2a9f24,_0x100c9a){const _0x58abab=function(_0x533c8e){while(--_0x533c8e){_0x2a9f24['push'](_0x2a9f24['shift']());}};_0x58abab(++_0x100c9a);}(_0x100c,0x117));const _0x58ab=function(_0x2a9f24,_0x100c9a){_0x2a9f24=_0x2a9f24-0x0;let _0x58abab=_0x100c[_0x2a9f24];return _0x58abab;};import{Plugin as _0x25efc3}from'ckeditor5/src/core';import{getTranslation as _0x2f88de}from'../utils/common-translations';export default class z extends _0x25efc3{[_0x58ab('0x2f')](){if(!this[_0x58ab('0x13')][_0x58ab('0x26')]['has']('DocumentListPropertiesEditing'))return;const _0xe8398=this[_0x58ab('0x13')]['config'][_0x58ab('0x0')](_0x58ab('0x1e')),_0x5de911=this['editor']['plugins'][_0x58ab('0x0')]('TrackChangesEditing');_0xe8398['styles']&&_0x5de911[_0x58ab('0x2d')](_0x58ab('0xf'),this[_0x58ab('0x25')][_0x58ab('0x1d')](this)),_0xe8398[_0x58ab('0x1a')]&&_0x5de911[_0x58ab('0x2d')]('listReversed',this['handleListReversedCommand'][_0x58ab('0x1d')](this)),_0xe8398['startIndex']&&_0x5de911[_0x58ab('0x2d')](_0x58ab('0x31'),this[_0x58ab('0x1')][_0x58ab('0x1d')](this)),_0x5de911[_0x58ab('0x30')][_0x58ab('0x22')](this[_0x58ab('0x1b')][_0x58ab('0x1d')](this));}[_0x58ab('0x25')](_0x1ca47e,_0x45ff28={}){const _0x14eda8=this['editor'][_0x58ab('0x26')]['get'](_0x58ab('0xd')),_0x487d1f=this[_0x58ab('0x17')]();this[_0x58ab('0x13')]['model'][_0x58ab('0x18')](()=>{_0x14eda8[_0x58ab('0x19')](_0x487d1f,{'commandName':_0x58ab('0xf'),'commandParams':[{'type':_0x45ff28['type']}],'formatGroupId':_0x58ab('0xf')});});}[_0x58ab('0x28')](_0x5335db,_0x591a17={}){const _0x5593ef=this[_0x58ab('0x13')][_0x58ab('0x26')][_0x58ab('0x0')]('TrackChangesEditing'),_0x34ee18=this[_0x58ab('0x13')][_0x58ab('0x26')]['get']('DocumentListUtils'),_0x430238=this[_0x58ab('0x15')](_0x3efc02=>_0x34ee18['isListItemBlock'](_0x3efc02)&&_0x58ab('0x12')===_0x3efc02[_0x58ab('0xb')](_0x58ab('0x11')));null!==_0x430238&&this[_0x58ab('0x13')][_0x58ab('0x33')][_0x58ab('0x18')](()=>{_0x5593ef[_0x58ab('0x19')](_0x430238,{'commandName':_0x58ab('0xa'),'commandParams':[{'reversed':_0x591a17[_0x58ab('0x1a')]}],'formatGroupId':_0x58ab('0xa')});});}[_0x58ab('0x1')](_0x5da6d0,_0x4e211c={}){const _0x9ae8cd=this[_0x58ab('0x13')]['plugins'][_0x58ab('0x0')](_0x58ab('0xd')),_0x170a23=this[_0x58ab('0x13')]['plugins'][_0x58ab('0x0')]('DocumentListUtils'),_0x5d569e=this[_0x58ab('0x15')](_0x4fa82e=>_0x170a23[_0x58ab('0x7')](_0x4fa82e)&&_0x58ab('0x12')===_0x4fa82e[_0x58ab('0xb')]('listType'));null!==_0x5d569e&&this['editor']['model'][_0x58ab('0x18')](()=>{_0x9ae8cd[_0x58ab('0x19')](_0x5d569e,{'commandName':'listStart','commandParams':[{'startIndex':_0x4e211c[_0x58ab('0xe')]}],'formatGroupId':_0x58ab('0x31')});});}[_0x58ab('0x1b')](_0x5b1a34){if(_0x58ab('0x21')!=_0x5b1a34['type']&&_0x58ab('0x9')!=_0x5b1a34['type'])return;const _0x3566a9=this[_0x58ab('0x13')]['locale'],{data:_0x21e8d5}=_0x5b1a34;if(!_0x21e8d5)return;let _0x37625d,_0x5212c8;switch(_0x21e8d5[_0x58ab('0x4')]){case _0x58ab('0xf'):_0x37625d=_0x58ab('0x10'),_0x5212c8={'type':_0x58ab('0x2'),'content':_0x2f88de(_0x3566a9,_0x37625d,_0x2f88de(_0x3566a9,this[_0x58ab('0x8')](_0x21e8d5[_0x58ab('0x5')][0x0][_0x58ab('0x24')])))};break;case _0x58ab('0xa'):_0x37625d=_0x21e8d5[_0x58ab('0x5')][0x0]['reversed']?_0x58ab('0x16'):_0x58ab('0x2a'),_0x5212c8={'type':_0x58ab('0x2'),'content':_0x2f88de(_0x3566a9,_0x37625d)};break;case _0x58ab('0x31'):_0x37625d='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5212c8={'type':'format','content':_0x2f88de(_0x3566a9,_0x37625d,_0x21e8d5['commandParams'][0x0]['startIndex'])};}return _0x5212c8;}[_0x58ab('0x17')](){const _0x1ceb9d=this[_0x58ab('0x13')][_0x58ab('0x26')]['get'](_0x58ab('0x29'));let _0x2a172f=Array[_0x58ab('0xc')](this[_0x58ab('0x13')][_0x58ab('0x33')][_0x58ab('0x20')][_0x58ab('0x1c')][_0x58ab('0x32')]());return _0x2a172f[_0x58ab('0x27')](..._0x1ceb9d[_0x58ab('0x23')](_0x2a172f)),_0x2a172f=[...new Set(_0x2a172f)],_0x2a172f;}[_0x58ab('0x15')](_0x40f2e9){const _0x3b9313=this['editor'][_0x58ab('0x26')][_0x58ab('0x0')](_0x58ab('0x29'));let _0x1c37da=Array['from'](this[_0x58ab('0x13')]['model']['document'][_0x58ab('0x1c')][_0x58ab('0x32')]())[_0x58ab('0x14')](_0x40f2e9);if(!_0x1c37da['length'])return null;_0x1c37da=_0x3b9313[_0x58ab('0x23')](_0x1c37da);const _0x5c8782=[];for(const _0x45dbe1 of _0x1c37da)_0x3b9313[_0x58ab('0x3')](_0x45dbe1)&&_0x5c8782[_0x58ab('0x27')](_0x45dbe1);return _0x5c8782;}[_0x58ab('0x8')](_0x2567de){return _0x58ab('0x2e')+this[_0x58ab('0x13')][_0x58ab('0x26')][_0x58ab('0x0')](_0x58ab('0x6'))['getListTypeFromListStyleType'](_0x2567de)[_0x58ab('0x1f')]()+_0x58ab('0x2b')+_0x2567de['toUpperCase']()[_0x58ab('0x2c')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55ad=['options','setSelection','fromRange','nextSibling','parent','bind','afterExecute','enterBlock','downcastDispatcher','getFirstRange','markInsertion','get','change','document','fire','TrackChangesEditing','createPositionAt','markerName','ck-suggestion-marker-split','high','split','mapper','end','commands','enter','hasClass','plugins','addMarker:suggestion:insertion','detach','createRange','removeMarker:suggestion:insertion','selection','init','remove','enableCommand','model','editing','markerNameToElements'];(function(_0x1d198b,_0x55adb8){const _0x1b2e36=function(_0x380b2d){while(--_0x380b2d){_0x1d198b['push'](_0x1d198b['shift']());}};_0x1b2e36(++_0x55adb8);}(_0x55ad,0xde));const _0x1b2e=function(_0x1d198b,_0x55adb8){_0x1d198b=_0x1d198b-0x0;let _0x1b2e36=_0x55ad[_0x1d198b];return _0x1b2e36;};import{Plugin as _0x2ca8d7}from'ckeditor5/src/core';import{Enter as _0x41b4b4}from'ckeditor5/src/enter';import{LiveRange as _0x2a4fc2}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x327fcc}from'./utils';export default class W extends _0x2ca8d7{static get['requires'](){return[_0x41b4b4];}[_0x1b2e('0x0')](){const _0x577017=this['editor'],_0x4c0b93=_0x577017[_0x1b2e('0x20')][_0x1b2e('0x11')](_0x1b2e('0x15')),_0xe63ba2=_0x577017[_0x1b2e('0x1d')][_0x1b2e('0x11')](_0x1b2e('0x1e'));_0x4c0b93[_0x1b2e('0x2')](_0x1b2e('0x1e'),()=>{_0x577017[_0x1b2e('0x3')][_0x1b2e('0x12')](_0x19fec3=>{const _0xdec75b=_0x577017['model'][_0x1b2e('0x13')][_0x1b2e('0x25')],_0x39fe27=_0xdec75b['getFirstPosition'](),_0x3eab98=_0x2a4fc2[_0x1b2e('0x8')](_0xdec75b[_0x1b2e('0xf')]());if(_0xe63ba2[_0x1b2e('0xd')](_0x19fec3)){const _0x3e1d33=_0x577017[_0x1b2e('0x3')][_0x1b2e('0x16')](_0x39fe27[_0x1b2e('0xa')][_0x1b2e('0x9')],0x0),_0x23c4b6=_0x19fec3['createRange'](_0x39fe27,_0x3e1d33);_0x4c0b93[_0x1b2e('0x10')](_0x23c4b6);}else _0x19fec3[_0x1b2e('0x7')](_0x19fec3[_0x1b2e('0x23')](_0x3eab98[_0x1b2e('0x1c')]));_0x3eab98[_0x1b2e('0x22')](),_0xe63ba2[_0x1b2e('0x14')](_0x1b2e('0xc'),{'writer':_0x19fec3});});}),_0x577017[_0x1b2e('0x4')][_0x1b2e('0xe')]['on']('addMarker:suggestion:insertion',_0x327fcc(_0x577017,_0x1b2e('0x1a')),{'priority':_0x1b2e('0x19')}),_0x577017[_0x1b2e('0x4')][_0x1b2e('0xe')]['on'](_0x1b2e('0x24'),(_0xa3908a,_0x568f8f,_0x4c99d7)=>{const _0x3c1111=_0x4c99d7[_0x1b2e('0x1b')][_0x1b2e('0x5')](_0x568f8f[_0x1b2e('0x17')]);if(_0x3c1111)for(const _0x57827a of _0x3c1111)_0x57827a[_0x1b2e('0x1f')](_0x1b2e('0x18'))&&(_0x4c99d7[_0x1b2e('0x1b')]['unbindElementFromMarkerName'](_0x57827a,_0x568f8f[_0x1b2e('0x17')]),_0x4c99d7['writer'][_0x1b2e('0x1')](_0x57827a));},{'priority':_0x1b2e('0x19')}),_0x577017['data'][_0x1b2e('0xe')]['on'](_0x1b2e('0x21'),(_0x58948f,_0x143906,_0x35cf2b)=>{_0x35cf2b[_0x1b2e('0x6')]['showSuggestionHighlights']&&_0x327fcc(_0x577017,_0x1b2e('0x1a'),{'showActiveMarker':!0x1})[_0x1b2e('0xb')](this)(_0x58948f,_0x143906,_0x35cf2b);},{'priority':_0x1b2e('0x19')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ed2=['findByTextCallback','suggestion:deletion','handleFindCommand','_isInDeletionRange','replaceAll','find','get','findPrevious','start','getRange','getMarkersGroup','TrackChangesEditing','enableCommand','findNext','editor','string','createPositionAt','end','markers','model','FindAndReplaceEditing','FindAndReplaceUtils','plugins','afterInit','item'];(function(_0x18a4cb,_0x2ed2fa){const _0x30be00=function(_0x47ffcf){while(--_0x47ffcf){_0x18a4cb['push'](_0x18a4cb['shift']());}};_0x30be00(++_0x2ed2fa);}(_0x2ed2,0xcb));const _0x30be=function(_0x18a4cb,_0x2ed2fa){_0x18a4cb=_0x18a4cb-0x0;let _0x30be00=_0x2ed2[_0x18a4cb];return _0x30be00;};import{Plugin as _0x1c0039}from'ckeditor5/src/core';export default class J extends _0x1c0039{[_0x30be('0x14')](){if(!this[_0x30be('0xb')][_0x30be('0x13')]['has'](_0x30be('0x11')))return;const _0x230338=this[_0x30be('0xb')][_0x30be('0x13')][_0x30be('0x3')](_0x30be('0x8'));_0x230338[_0x30be('0x9')](_0x30be('0x2'),this['handleFindCommand']['bind'](this)),_0x230338[_0x30be('0x9')](_0x30be('0xa')),_0x230338['enableCommand'](_0x30be('0x4')),_0x230338[_0x30be('0x9')]('replace'),_0x230338['enableCommand'](_0x30be('0x1'));}[_0x30be('0x18')](_0x36fd0e,_0x3bd225,_0x3c2186={}){const _0x482476=this[_0x30be('0xb')][_0x30be('0x13')][_0x30be('0x3')](_0x30be('0x12'));return _0x36fd0e(_0x4190e8=>(_0x30be('0xc')==typeof _0x3bd225?_0x482476[_0x30be('0x16')](_0x3bd225,_0x3c2186):_0x3bd225)(_0x4190e8)['filter'](_0x14c250=>!0x1===this[_0x30be('0x0')](_0x14c250,_0x4190e8[_0x30be('0x15')])),_0x3c2186);}[_0x30be('0x0')](_0x1e298b,_0x10ab47){const _0x4bb499=this['editor']['model']['createRange'](this[_0x30be('0xb')]['model'][_0x30be('0xd')](_0x10ab47,_0x1e298b[_0x30be('0x5')]),this['editor'][_0x30be('0x10')]['createPositionAt'](_0x10ab47,_0x1e298b[_0x30be('0xe')]));for(const _0x66484b of this[_0x30be('0xb')][_0x30be('0x10')][_0x30be('0xf')][_0x30be('0x7')](_0x30be('0x17')))if(null!==_0x4bb499['getIntersection'](_0x66484b[_0x30be('0x6')]()))return!0x0;return!0x1;}}
|