@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231119.0 → 0.0.0-nightly-20231121.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-20231121.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-20231121.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231121.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 _0xfbfa=['isEnabled','getRanges','_suggestions','acceptSuggestion','plugins','TrackChangesEditing','editor','get','execute','canEditAt','model','_isEnabledBasedOnSelection','refresh'];(function(_0x463f89,_0xfbfa6){const _0x1a6434=function(_0x3baf66){while(--_0x3baf66){_0x463f89['push'](_0x463f89['shift']());}};_0x1a6434(++_0xfbfa6);}(_0xfbfa,0x18b));const _0x1a64=function(_0x463f89,_0xfbfa6){_0x463f89=_0x463f89-0x0;let _0x1a6434=_0xfbfa[_0x463f89];return _0x1a6434;};import{Command as _0x312ecf}from'ckeditor5/src/core';import{CKEditorError as _0x28febf}from'ckeditor5/src/utils';export default class B extends _0x312ecf{constructor(_0x2e257e,_0x3bc638){super(_0x2e257e),this[_0x1a64('0xa')]=_0x3bc638,this[_0x1a64('0x7')](),this[_0x1a64('0x6')]=!0x1;}[_0x1a64('0x7')](){this[_0x1a64('0x8')]=!0x0;}[_0x1a64('0x3')](_0x2a4a24){const _0x202e74=this[_0x1a64('0xa')]['get'](_0x2a4a24);if(!_0x202e74)throw new _0x28febf('track-changes-accept-suggestion-not-found',this);const _0x37abd3=_0x202e74[_0x1a64('0x9')]();this[_0x1a64('0x1')][_0x1a64('0x5')][_0x1a64('0x4')](_0x37abd3)&&this[_0x1a64('0x1')][_0x1a64('0xc')][_0x1a64('0x2')](_0x1a64('0x0'))[_0x1a64('0xb')](_0x202e74);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4606=['discardSuggestion','get','_isEnabledBasedOnSelection','_suggestions','model','canEditAt','isEnabled','getRanges','TrackChangesEditing','plugins','track-changes-discard-suggestion-not-found','refresh'];(function(_0x8c4687,_0x4606f7){const _0x52b9fc=function(_0xac6c1f){while(--_0xac6c1f){_0x8c4687['push'](_0x8c4687['shift']());}};_0x52b9fc(++_0x4606f7);}(_0x4606,0x88));const _0x52b9=function(_0x8c4687,_0x4606f7){_0x8c4687=_0x8c4687-0x0;let _0x52b9fc=_0x4606[_0x8c4687];return _0x52b9fc;};import{Command as _0x194b96}from'ckeditor5/src/core';import{CKEditorError as _0x26f95f}from'ckeditor5/src/utils';export default class x extends _0x194b96{constructor(_0x1319fa,_0x226485){super(_0x1319fa),this[_0x52b9('0xb')]=_0x226485,this[_0x52b9('0x7')](),this[_0x52b9('0xa')]=!0x1;}[_0x52b9('0x7')](){this[_0x52b9('0x2')]=!0x0;}['execute'](_0x43fbb2){const _0x5370db=this['_suggestions'][_0x52b9('0x9')](_0x43fbb2);if(!_0x5370db)throw new _0x26f95f(_0x52b9('0x6'),this);const _0x4084c7=_0x5370db[_0x52b9('0x3')]();this['editor'][_0x52b9('0x0')][_0x52b9('0x1')](_0x4084c7)&&this['editor'][_0x52b9('0x5')][_0x52b9('0x9')](_0x52b9('0x4'))[_0x52b9('0x8')](_0x5370db);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf5fe=['values','model','_command','refresh','from','isInContent','canEditAt','_suggestions','some','editor','_isEnabledBasedOnSelection'];(function(_0x94d582,_0xf5fe42){const _0x22face=function(_0xf31e1b){while(--_0xf31e1b){_0x94d582['push'](_0x94d582['shift']());}};_0x22face(++_0xf5fe42);}(_0xf5fe,0x8b));const _0x22fa=function(_0x94d582,_0xf5fe42){_0x94d582=_0x94d582-0x0;let _0x22face=_0xf5fe[_0x94d582];return _0x22face;};import{Command as _0x405658}from'ckeditor5/src/core';import{sortSuggestions as _0x28714e,executeCommandForSuggestions as _0x2ac1ba}from'../utils/utils';export default class E extends _0x405658{constructor(_0x26ea8d,_0x2f3fa9,_0x238d2d){super(_0x26ea8d),this[_0x22fa('0x6')]=_0x2f3fa9,this[_0x22fa('0x0')]=_0x238d2d,this['refresh'](),this[_0x22fa('0x3')]=!0x1;}[_0x22fa('0x7')](){const _0x3e7bc8=Array[_0x22fa('0x8')](this[_0x22fa('0x0')]['values']())[_0x22fa('0x1')](_0x269868=>_0x269868[_0x22fa('0x9')]);this['isEnabled']=this[_0x22fa('0x6')]['isEnabled']&&_0x3e7bc8;}['execute'](){const _0x31ffe4=_0x28714e(Array[_0x22fa('0x8')](this[_0x22fa('0x0')][_0x22fa('0x4')]()));for(const _0x48eb75 of _0x31ffe4){const _0x36abb8=_0x48eb75['getRanges']();if(!this[_0x22fa('0x2')]['model'][_0x22fa('0xa')](_0x36abb8))return;}_0x2ac1ba(this['editor'][_0x22fa('0x5')],this[_0x22fa('0x6')],_0x31ffe4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d91=['values','editor','refresh','from','selection','_selectedSuggestions','execute','_isEnabledBasedOnSelection','isEnabled','size','document','_command','model','_suggestions'];(function(_0x4f46ad,_0x2d914a){const _0xd11f4=function(_0x11ccdc){while(--_0x11ccdc){_0x4f46ad['push'](_0x4f46ad['shift']());}};_0xd11f4(++_0x2d914a);}(_0x2d91,0x1b1));const _0xd11f=function(_0x4f46ad,_0x2d914a){_0x4f46ad=_0x4f46ad-0x0;let _0xd11f4=_0x2d91[_0x4f46ad];return _0xd11f4;};import{Command as _0x36b3a7}from'ckeditor5/src/core';import{sortSuggestions as _0x5406d2,getSelectedSuggestions as _0x5879a1,executeCommandForSuggestions as _0x19af7f}from'../utils/utils';export default class R extends _0x36b3a7{constructor(_0x4fa3f5,_0x846c14,_0xfd7ba4){super(_0x4fa3f5),this['_command']=_0x846c14,this[_0xd11f('0x0')]=_0xfd7ba4,this[_0xd11f('0x6')]=new Set(),this[_0xd11f('0x3')](),this[_0xd11f('0x8')]=!0x1;}[_0xd11f('0x3')](){const _0x2f3110=this['editor'][_0xd11f('0xd')][_0xd11f('0xb')][_0xd11f('0x5')],_0x5515e6=Array[_0xd11f('0x4')](this[_0xd11f('0x0')][_0xd11f('0x1')]());this['_selectedSuggestions']=_0x5879a1(_0x2f3110,_0x5515e6),this['isEnabled']=this['_command'][_0xd11f('0x9')]&&!!this['_selectedSuggestions'][_0xd11f('0xa')];}[_0xd11f('0x7')](){const _0x53cd2f=_0x5406d2(Array['from'](this[_0xd11f('0x6')]));for(const _0xc673eb of _0x53cd2f){const _0x1777e4=_0xc673eb['getRanges']();if(!this['editor'][_0xd11f('0xd')]['canEditAt'](_0x1777e4))return;}_0x19af7f(this[_0xd11f('0x2')][_0xd11f('0xd')],this[_0xd11f('0xc')],_0x53cd2f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47a8=['isEnabled','affectsData','_enabledCommands','_disableUnsupportedCommands','refresh','commands','execute','_isEnabledBasedOnSelection','value','editor','_enableCommands','TrackChangesCommand'];(function(_0x2a850f,_0x47a805){const _0x2fd4d0=function(_0x53e524){while(--_0x53e524){_0x2a850f['push'](_0x2a850f['shift']());}};_0x2fd4d0(++_0x47a805);}(_0x47a8,0x116));const _0x2fd4=function(_0x2a850f,_0x47a805){_0x2a850f=_0x2a850f-0x0;let _0x2fd4d0=_0x47a8[_0x2a850f];return _0x2fd4d0;};import{Command as _0x1a834c}from'ckeditor5/src/core';export default class $ extends _0x1a834c{constructor(_0xee2663,_0x213eae){super(_0xee2663),this[_0x2fd4('0x0')]=_0x213eae,this[_0x2fd4('0x6')]=!0x1,this[_0x2fd4('0x2')](),this[_0x2fd4('0x5')]=!0x1;}[_0x2fd4('0x2')](){this[_0x2fd4('0xa')]=!0x0;}[_0x2fd4('0x4')](){this[_0x2fd4('0x6')]=!this[_0x2fd4('0x6')],this['value']?this[_0x2fd4('0x1')]():this[_0x2fd4('0x8')]();}[_0x2fd4('0x1')](){for(const _0x3a9c17 of this[_0x2fd4('0x7')]['commands'][_0x2fd4('0x3')]())_0x3a9c17[_0x2fd4('0xb')]&&!this[_0x2fd4('0x0')]['has'](_0x3a9c17)&&_0x3a9c17['forceDisabled'](_0x2fd4('0x9'));}['_enableCommands'](){for(const _0x56274c of this['editor'][_0x2fd4('0x3')][_0x2fd4('0x3')]())_0x56274c[_0x2fd4('0xb')]&&!this['_enabledCommands']['has'](_0x56274c)&&_0x56274c['clearForceDisabled'](_0x2fd4('0x9'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cc3=['editor','get','showAIAssistant','afterInit','plugins','commands'];(function(_0xe42b42,_0x4cc3e1){const _0x1a5755=function(_0x31cc77){while(--_0x31cc77){_0xe42b42['push'](_0xe42b42['shift']());}};_0x1a5755(++_0x4cc3e1);}(_0x4cc3,0x9f));const _0x1a57=function(_0xe42b42,_0x4cc3e1){_0xe42b42=_0xe42b42-0x0;let _0x1a5755=_0x4cc3[_0xe42b42];return _0x1a5755;};import{Plugin as _0x41d509}from'ckeditor5/src/core';export default class j extends _0x41d509{[_0x1a57('0x0')](){const _0x46e175=this[_0x1a57('0x3')],_0x4ea33a=_0x46e175[_0x1a57('0x1')]['get']('TrackChangesEditing');_0x46e175[_0x1a57('0x2')][_0x1a57('0x4')](_0x1a57('0x5'))&&_0x4ea33a['enableCommand'](_0x1a57('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d7d=['format','get','plugins','right','left','value','commandName','registerAttributeLabel','_registerLegacyDescription','FORMAT_ALIGN_TO_LEFT','registerDescriptionCallback','AlignmentEditing','TrackChangesEditing','justify','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGNMENT','FORMAT_ALIGN_TO_CENTER','editor','has','formatBlock','locale','_descriptionFactory','alignment','center','commandParams','afterInit','type','FORMAT_JUSTIFY_TEXT'];(function(_0x5bb22a,_0x5d7d69){const _0x2febbc=function(_0x3c3b7b){while(--_0x3c3b7b){_0x5bb22a['push'](_0x5bb22a['shift']());}};_0x2febbc(++_0x5d7d69);}(_0x5d7d,0x1e5));const _0x2feb=function(_0x5bb22a,_0x5d7d69){_0x5bb22a=_0x5bb22a-0x0;let _0x2febbc=_0x5d7d[_0x5bb22a];return _0x2febbc;};import{Plugin as _0x433b48}from'ckeditor5/src/core';import{getTranslation as _0x29fd5e}from'../utils/common-translations';export default class U extends _0x433b48{[_0x2feb('0x10')](){const _0x13b733=this['editor'],_0x19abb0=_0x13b733[_0x2feb('0xb')];if(!_0x13b733['plugins'][_0x2feb('0x9')](_0x2feb('0x2')))return;const _0x3e10ee=_0x13b733[_0x2feb('0x15')][_0x2feb('0x14')](_0x2feb('0x3'));_0x3e10ee['_enableDefaultAttributesIntegration']('alignment',[],['alignment']),_0x3e10ee[_0x2feb('0xc')][_0x2feb('0x1a')](_0x2feb('0xd'),_0x29fd5e(_0x19abb0,_0x2feb('0x6'))),this[_0x2feb('0x1b')]();}['_registerLegacyDescription'](){const _0x385a6f=this[_0x2feb('0x8')],_0x223e74=_0x385a6f[_0x2feb('0xb')];_0x385a6f[_0x2feb('0x15')]['get'](_0x2feb('0x3'))[_0x2feb('0xc')][_0x2feb('0x1')](_0xbba9d8=>{if(_0x2feb('0xa')!=_0xbba9d8[_0x2feb('0x11')])return;const {data:_0xeb9b6d}=_0xbba9d8;if(_0xeb9b6d&&'alignment'==_0xeb9b6d[_0x2feb('0x19')]){const _0x549cb3=_0xeb9b6d[_0x2feb('0xf')][0x0][_0x2feb('0x18')];return{'type':_0x2feb('0x13'),'content':_0x29fd5e(_0x223e74,'*Format:*\x20%0',function(_0x598305){switch(_0x598305){case _0x2feb('0x17'):return _0x29fd5e(_0x223e74,_0x2feb('0x0'));case _0x2feb('0x16'):return _0x29fd5e(_0x223e74,_0x2feb('0x5'));case _0x2feb('0xe'):return _0x29fd5e(_0x223e74,_0x2feb('0x7'));case _0x2feb('0x4'):return _0x29fd5e(_0x223e74,_0x2feb('0x12'));}}(_0x549cb3))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2602=['_descriptionFactory','registerAttributeLabel','FORMAT_','commandParams','SubscriptEditing','FORMAT_SUPERSCRIPT','StrikethroughEditing','_registerLegacyDescription','ItalicEditing','locale','FORMAT_CODE','*Format:*\x20%0','UnderlineEditing','BoldEditing','registerDescriptionCallback','editor','plugins','superscript','code','_enableDefaultAttributesIntegration','afterInit','has','italic','forceValue','toLowerCase','commandName','TrackChangesEditing','get','type','SuperscriptEditing','FORMAT_ITALIC','format','FORMAT_BOLD','strikethrough','*Remove\x20format:*\x20%0','bold'];(function(_0x292857,_0x2602ad){const _0xa9166a=function(_0x2e5318){while(--_0x2e5318){_0x292857['push'](_0x292857['shift']());}};_0xa9166a(++_0x2602ad);}(_0x2602,0x111));const _0xa916=function(_0x292857,_0x2602ad){_0x292857=_0x292857-0x0;let _0xa9166a=_0x2602[_0x292857];return _0xa9166a;};import{Plugin as _0x4a5069}from'ckeditor5/src/core';import{getTranslation as _0x15049f}from'../utils/common-translations';const ti=[_0xa916('0x1c'),_0xa916('0x17'),_0xa916('0x1b'),'CodeEditing',_0xa916('0x15'),_0xa916('0x13'),_0xa916('0x8')];export default class O extends _0x4a5069{[_0xa916('0x23')](){const _0x10228b=this[_0xa916('0x1e')],_0x48c7ca=_0x10228b[_0xa916('0x1f')][_0xa916('0x6')](_0xa916('0x5')),_0x2ffca8=_0x10228b[_0xa916('0x18')];for(const _0xa9ed7d of ti){if(!_0x10228b[_0xa916('0x1f')][_0xa916('0x0')](_0xa9ed7d))continue;const _0x5da5d1=_0xa9ed7d['slice'](0x0,-0x7)[_0xa916('0x3')](),_0x5246ec=_0xa916('0x11')+_0x5da5d1['toUpperCase']();_0x48c7ca[_0xa916('0x22')](_0x5da5d1,[_0x5da5d1]),_0x48c7ca[_0xa916('0xf')][_0xa916('0x10')](_0x5da5d1,_0x15049f(_0x2ffca8,_0x5246ec));}this[_0xa916('0x16')]();}[_0xa916('0x16')](){const _0xfa3f=this[_0xa916('0x1e')],_0x1a1d36=_0xfa3f[_0xa916('0x18')],_0x5cdb37=_0xfa3f[_0xa916('0x1f')][_0xa916('0x6')]('TrackChangesEditing');function _0x50d4c9(_0x2451f1,_0xbca66c){_0x5cdb37[_0xa916('0xf')][_0xa916('0x1d')](_0x436d31=>{if('formatInline'!=_0x436d31[_0xa916('0x7')])return;const {data:_0x15e9f2}=_0x436d31;return _0x15e9f2&&_0x15e9f2[_0xa916('0x4')]===_0x2451f1?_0x15e9f2[_0xa916('0x12')][0x0][_0xa916('0x2')]?{'type':_0xa916('0xa'),'content':_0x15049f(_0x1a1d36,_0xa916('0x1a'),_0xbca66c)}:{'type':_0xa916('0xa'),'content':_0x15049f(_0x1a1d36,_0xa916('0xd'),_0xbca66c)}:void 0x0;});}_0x50d4c9(_0xa916('0xe'),_0x15049f(_0x1a1d36,_0xa916('0xb'))),_0x50d4c9(_0xa916('0x1'),_0x15049f(_0x1a1d36,_0xa916('0x9'))),_0x50d4c9('underline',_0x15049f(_0x1a1d36,'FORMAT_UNDERLINE')),_0x50d4c9(_0xa916('0x21'),_0x15049f(_0x1a1d36,_0xa916('0x19'))),_0x50d4c9(_0xa916('0xc'),_0x15049f(_0x1a1d36,'FORMAT_STRIKETHROUGH')),_0x50d4c9('subscript',_0x15049f(_0x1a1d36,'FORMAT_SUBSCRIPT')),_0x50d4c9(_0xa916('0x20'),_0x15049f(_0x1a1d36,_0xa916('0x14')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5407=['$root','get','editor','BlockQuoteEditing','plugins','getSelectedBlocks','blockQuote','checkChild','ELEMENT_BLOCK_QUOTE','locale','document','registerDescriptionCallback','markBlockFormat','parent','forceValue','name','*Set\x20format:*\x20%0','commandParams','from','model','commandName','enableCommand','format','filter','commands','value','TrackChangesEditing','*Remove\x20format:*\x20%0'];(function(_0x22a0d1,_0x5407da){const _0x27bc6f=function(_0x49f951){while(--_0x49f951){_0x22a0d1['push'](_0x22a0d1['shift']());}};_0x27bc6f(++_0x5407da);}(_0x5407,0xf5));const _0x27bc=function(_0x22a0d1,_0x5407da){_0x22a0d1=_0x22a0d1-0x0;let _0x27bc6f=_0x5407[_0x22a0d1];return _0x27bc6f;};import{Plugin as _0x330c7d}from'ckeditor5/src/core';import{getTranslation as _0x37a7ed}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x7c81ac}from'../utils/utils';export default class V extends _0x330c7d{['afterInit'](){const _0x4381bc=this[_0x27bc('0x9')],_0x55341d=_0x4381bc[_0x27bc('0x10')];if(!_0x4381bc[_0x27bc('0xb')]['has'](_0x27bc('0xa')))return;const _0xfe3546=_0x4381bc[_0x27bc('0xb')][_0x27bc('0x8')](_0x27bc('0x5')),_0x58524f=this[_0x27bc('0x9')][_0x27bc('0x3')][_0x27bc('0x8')](_0x27bc('0xd'));_0xfe3546[_0x27bc('0x0')](_0x27bc('0xd'),(_0x320cdd,_0x2820fb={})=>{const _0x1ac0ea=this[_0x27bc('0x9')][_0x27bc('0x1a')][_0x27bc('0x11')]['selection'],_0x2ed46c=_0x2820fb&&void 0x0!==_0x2820fb['forceValue']?_0x2820fb[_0x27bc('0x15')]:!_0x58524f[_0x27bc('0x4')];let _0x33c3eb=[];if(_0x2ed46c){const _0x45ca71=Array[_0x27bc('0x19')](_0x1ac0ea[_0x27bc('0xc')]())[_0x27bc('0x2')](_0x45922e=>oo(_0x45922e)||function(_0x1d101f,_0x3d47be){const _0x45f98d=_0x3d47be['checkChild'](_0x1d101f['parent'],_0x27bc('0xd')),_0x116d0b=_0x3d47be[_0x27bc('0xe')]([_0x27bc('0x7'),'blockQuote'],_0x1d101f);return _0x45f98d&&_0x116d0b;}(_0x45922e,this['editor']['model']['schema']));_0x33c3eb=_0x7c81ac(_0x45ca71,_0x4381bc['model']);}else{const _0x2ba8cc=Array['from'](_0x1ac0ea[_0x27bc('0xc')]())['filter'](_0x131e1e=>oo(_0x131e1e));_0x33c3eb=_0x7c81ac(_0x2ba8cc,_0x4381bc[_0x27bc('0x1a')]);}_0x4381bc[_0x27bc('0x1a')]['change'](()=>{for(const _0xf2dd8a of _0x33c3eb)_0xfe3546[_0x27bc('0x13')](_0xf2dd8a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x2ed46c}]});});}),_0xfe3546['_descriptionFactory'][_0x27bc('0x12')](_0x2e7fe6=>{const {data:_0x310bba}=_0x2e7fe6;if(_0x310bba&&_0x27bc('0xd')==_0x310bba[_0x27bc('0x1b')]){const _0x122560=_0x37a7ed(_0x55341d,_0x27bc('0xf'));return _0x310bba[_0x27bc('0x18')][0x0]['forceValue']?{'type':_0x27bc('0x1'),'content':_0x37a7ed(_0x55341d,_0x27bc('0x17'),_0x122560)}:{'type':_0x27bc('0x1'),'content':_0x37a7ed(_0x55341d,_0x27bc('0x6'),_0x122560)};}});}}function oo(_0x41a512){return _0x27bc('0xd')==_0x41a512[_0x27bc('0x14')][_0x27bc('0x16')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c44=['commands','enableCommand','ckbox','get'];(function(_0x3aa946,_0x4c44ba){const _0x264ac1=function(_0x21c18a){while(--_0x21c18a){_0x3aa946['push'](_0x3aa946['shift']());}};_0x264ac1(++_0x4c44ba);}(_0x4c44,0x15a));const _0x264a=function(_0x3aa946,_0x4c44ba){_0x3aa946=_0x3aa946-0x0;let _0x264ac1=_0x4c44[_0x3aa946];return _0x264ac1;};import{Plugin as _0x5d2992}from'ckeditor5/src/core';export default class F extends _0x5d2992{['afterInit'](){const _0x5e7e57=this['editor'];_0x5e7e57[_0x264a('0x2')][_0x264a('0x1')](_0x264a('0x0'))&&_0x5e7e57['plugins'][_0x264a('0x1')]('TrackChangesEditing')[_0x264a('0x3')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f36=['registerDescriptionCallback','*Remove\x20format:*\x20%0','plugins','value','formatBlock','language','checkChild','commands','find','filter','config','from','enableCommand','forceValue','name','type','isLimit','has','TrackChangesEditing','indentCodeBlock','toLowerCase','selection','codeBlock','registerElementLabel','parent','markBlockFormat','outdentCodeBlock','locale','commandParams','_descriptionFactory','languages','blockName','ELEMENT_CODE_BLOCK','model','get','getSelectedBlocks','format','schema','rootElement'];(function(_0x373bb2,_0x5f3629){const _0x1ed219=function(_0x986cc4){while(--_0x986cc4){_0x373bb2['push'](_0x373bb2['shift']());}};_0x1ed219(++_0x5f3629);}(_0x5f36,0x14c));const _0x1ed2=function(_0x373bb2,_0x5f3629){_0x373bb2=_0x373bb2-0x0;let _0x1ed219=_0x5f36[_0x373bb2];return _0x1ed219;};import{Plugin as _0x7e39a8}from'ckeditor5/src/core';import{getTranslation as _0x2f23d2}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x533cd2}from'../utils/utils';export default class G extends _0x7e39a8{['afterInit'](){const _0x2addf8=this['editor'];if(!_0x2addf8['plugins'][_0x1ed2('0x24')]('CodeBlock'))return;const _0x2778d3=_0x2addf8[_0x1ed2('0x15')][_0x1ed2('0xe')](_0x1ed2('0x25')),_0xaf0ac2=_0x2addf8[_0x1ed2('0x7')],_0x1a68a6=_0x2addf8[_0x1ed2('0x1d')][_0x1ed2('0xe')](_0x1ed2('0x2'))[_0x1ed2('0xa')],_0x2f80e4=_0x2addf8[_0x1ed2('0x1a')][_0x1ed2('0xe')]('codeBlock');_0x2778d3[_0x1ed2('0x1f')](_0x1ed2('0x26')),_0x2778d3[_0x1ed2('0x1f')](_0x1ed2('0x6')),_0x2778d3['enableCommand'](_0x1ed2('0x2'),(_0x14207c,_0x2eba68={})=>{const _0x3c1fd3=_0x2addf8[_0x1ed2('0xd')],_0x46fd2d=_0x2addf8['model']['document'][_0x1ed2('0x1')],_0x12b13c=_0x2eba68&&void 0x0!==_0x2eba68[_0x1ed2('0x20')]?_0x2eba68['forceValue']:!_0x2f80e4[_0x1ed2('0x16')];let _0x29a4bd;_0x2eba68['language']||(_0x2eba68['language']=_0x1a68a6[0x0][_0x1ed2('0x18')]),_0x29a4bd=_0x12b13c?Array[_0x1ed2('0x1e')](_0x46fd2d[_0x1ed2('0xf')]())[_0x1ed2('0x1c')](_0x39e443=>eo(_0x39e443)||function(_0x50ea43,_0x3221c2){if(_0x50ea43['is'](_0x1ed2('0x12'))||_0x3221c2[_0x1ed2('0x23')](_0x50ea43))return!0x1;return _0x3221c2[_0x1ed2('0x19')](_0x50ea43[_0x1ed2('0x4')],_0x1ed2('0x2'));}(_0x39e443,_0x3c1fd3[_0x1ed2('0x11')])):Array['from'](_0x46fd2d[_0x1ed2('0xf')]())[_0x1ed2('0x1c')](_0x2529e4=>eo(_0x2529e4));const _0x39e57e=_0x533cd2(_0x29a4bd,_0x3c1fd3);_0x3c1fd3['change'](()=>{for(const _0x1315b7 of _0x39e57e)_0x2778d3[_0x1ed2('0x5')](_0x1315b7,{'commandName':'codeBlock','commandParams':[{..._0x2eba68,'forceValue':_0x12b13c}],'formatGroupId':_0x1ed2('0xb')});});}),(_0x2778d3['_descriptionFactory'][_0x1ed2('0x3')]('codeBlock',_0x131917=>_0x2f23d2(_0xaf0ac2,_0x1ed2('0xc'),_0x131917)),_0x2778d3[_0x1ed2('0x9')][_0x1ed2('0x13')](_0x54b588=>{if(_0x1ed2('0x17')!=_0x54b588[_0x1ed2('0x22')])return;const _0x53b47c=_0xaf0ac2['t'],{data:_0x4866a1}=_0x54b588;if(!_0x4866a1||'codeBlock'!=_0x4866a1['commandName'])return;const _0x1b0c7e=_0x4866a1[_0x1ed2('0x8')][0x0][_0x1ed2('0x18')],_0x15274a=_0x53b47c(_0x1a68a6[_0x1ed2('0x1b')](_0x1a7843=>_0x1a7843[_0x1ed2('0x18')]===_0x1b0c7e)['label'])[_0x1ed2('0x0')]();return _0x4866a1[_0x1ed2('0x8')][0x0][_0x1ed2('0x20')]?{'type':_0x1ed2('0x10'),'content':_0x2f23d2(_0xaf0ac2,'*Set\x20format:*\x20%0',_0x2f23d2(_0xaf0ac2,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x15274a+')')}:{'type':_0x1ed2('0x10'),'content':_0x2f23d2(_0xaf0ac2,_0x1ed2('0x14'),_0x2f23d2(_0xaf0ac2,_0x1ed2('0xc'),0x1))};}));}}function eo(_0x334c8c){return _0x1ed2('0x2')==_0x334c8c[_0x1ed2('0x21')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1915=['plugins','CommentsEditing','addCommentThread','has','get','editor','TrackChangesEditing','enableCommand','afterInit'];(function(_0x23753e,_0x1915db){const _0x500de6=function(_0x7b57b6){while(--_0x7b57b6){_0x23753e['push'](_0x23753e['shift']());}};_0x500de6(++_0x1915db);}(_0x1915,0xf9));const _0x500d=function(_0x23753e,_0x1915db){_0x23753e=_0x23753e-0x0;let _0x500de6=_0x1915[_0x23753e];return _0x500de6;};import{Plugin as _0x344fd8}from'ckeditor5/src/core';export default class L extends _0x344fd8{[_0x500d('0x2')](){const _0x3f843e=this[_0x500d('0x8')];if(!_0x3f843e[_0x500d('0x3')][_0x500d('0x6')](_0x500d('0x4')))return;_0x3f843e[_0x500d('0x3')][_0x500d('0x7')](_0x500d('0x0'))[_0x500d('0x1')](_0x500d('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21ef=['TrackChangesEditing','high','modifySelection','editing','unbindElementFromMarkerName','isCollapsed','markerNameToElements','get','model','rootName','delete','deleteForward','enableCommand','commands','start','showSuggestionHighlights','editor','init','buffer','writer','unit','document','markerName','setSelection','merge','mapper','bind','lock','remove','unlock','addMarker:suggestion:deletion','detach','getFirstRange','createRange','batch','downcastDispatcher','data','fromRange','root','end','requires','plugins','uiElement','options'];(function(_0x1394bb,_0x21efdb){const _0x26bb03=function(_0x17e1e7){while(--_0x17e1e7){_0x1394bb['push'](_0x1394bb['shift']());}};_0x26bb03(++_0x21efdb);}(_0x21ef,0xb6));const _0x26bb=function(_0x1394bb,_0x21efdb){_0x1394bb=_0x1394bb-0x0;let _0x26bb03=_0x21ef[_0x1394bb];return _0x26bb03;};import{Plugin as _0x2f0df3}from'ckeditor5/src/core';import{LiveRange as _0xc31718}from'ckeditor5/src/engine';import{Delete as _0x2e29c4}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x404ce3}from'./utils';export default class H extends _0x2f0df3{static get[_0x26bb('0x22')](){return[_0x2e29c4];}[_0x26bb('0xb')](){const _0x75b43f=this[_0x26bb('0xa')],_0x59e809=_0x75b43f[_0x26bb('0x23')][_0x26bb('0x1')](_0x26bb('0x26'));_0x59e809[_0x26bb('0x6')](_0x26bb('0x4'));const _0x5907f2=_0x75b43f[_0x26bb('0x7')][_0x26bb('0x1')](_0x26bb('0x5'));_0x59e809[_0x26bb('0x6')](_0x26bb('0x5'),(_0x350060,_0x5b8035={})=>{const _0x491c1a=_0x75b43f['model']['createSelection'](_0x75b43f[_0x26bb('0x2')][_0x26bb('0xf')]['selection']);_0x491c1a[_0x26bb('0x2b')]&&_0x75b43f['model'][_0x26bb('0x28')](_0x491c1a,{'direction':'forward','unit':_0x5b8035[_0x26bb('0xe')]});const _0xb0c598=_0x491c1a[_0x26bb('0x1a')](),_0x17dbe9=_0xc31718[_0x26bb('0x1f')](_0xb0c598);let _0x43197d;_0x350060(_0x5b8035),_0x43197d='$graveyard'==_0x17dbe9[_0x26bb('0x20')][_0x26bb('0x3')]?_0x75b43f[_0x26bb('0x2')][_0x26bb('0x1b')](_0xb0c598[_0x26bb('0x8')]):_0x75b43f[_0x26bb('0x2')][_0x26bb('0x1b')](_0x17dbe9[_0x26bb('0x8')],_0x17dbe9[_0x26bb('0x21')]),_0x17dbe9[_0x26bb('0x19')](),_0x75b43f[_0x26bb('0x2')]['enqueueChange'](_0x5907f2[_0x26bb('0xc')][_0x26bb('0x1c')],_0x3a64b6=>{_0x5907f2['buffer'][_0x26bb('0x15')](),_0x3a64b6[_0x26bb('0x11')](_0x3a64b6['createRange'](_0x43197d[_0x26bb('0x21')])),_0x5907f2[_0x26bb('0xc')][_0x26bb('0x17')]();});}),_0x75b43f[_0x26bb('0x29')][_0x26bb('0x1d')]['on'](_0x26bb('0x18'),_0x404ce3(_0x75b43f,_0x26bb('0x12')),{'priority':_0x26bb('0x27')}),_0x75b43f[_0x26bb('0x1e')][_0x26bb('0x1d')]['on'](_0x26bb('0x18'),(_0x52ef13,_0x88553b,_0xeafa7b)=>{_0xeafa7b[_0x26bb('0x25')][_0x26bb('0x9')]&&_0x404ce3(_0x75b43f,_0x26bb('0x12'),{'showActiveMarker':!0x1})[_0x26bb('0x14')](this)(_0x52ef13,_0x88553b,_0xeafa7b);},{'priority':'high'}),_0x75b43f[_0x26bb('0x29')][_0x26bb('0x1d')]['on']('removeMarker:suggestion:deletion',(_0x46ff45,_0x3352aa,_0x53984b)=>{const _0x18e4ca=_0x53984b[_0x26bb('0x13')][_0x26bb('0x0')](_0x3352aa[_0x26bb('0x10')]);if(_0x18e4ca)for(const _0x4f7e98 of _0x18e4ca)_0x4f7e98['is'](_0x26bb('0x24'))&&(_0x53984b[_0x26bb('0x13')][_0x26bb('0x2a')](_0x4f7e98,_0x3352aa[_0x26bb('0x10')]),_0x53984b[_0x26bb('0xd')][_0x26bb('0x16')](_0x4f7e98));},{'priority':_0x26bb('0x27')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2271=['fromRange','getFirstRange','createPositionAt','isObject','DocumentListUtils','*Change\x20to:*\x20%0','slice','ELEMENT_LIST_ITEM','get','config','forceValue','change','createRange','enableCommand','refresh','listItemId','setSelection','*Merge:*\x20%0','*Format:*\x20remove\x20from\x20%0','value','listType','commandParams','documentList','afterInit','commandName','commands','after','getSelectedBlocks','accept','registerCustomCallback','end','plugins','push','model','format','indentList','hasAttribute','has','formatBlock','before','*Format:*\x20insert\x20into\x20%0','_LIST','document','isFirstBlockOfListItem','nextSibling','nodeAfter','expandListBlocksToCompleteList','markBlockFormat','length','findIndex','getAttribute','schema','next','getRanges','previousSibling','splitListItemBefore','outdentList','ELEMENT_NUMBERED_LIST','registerDescriptionCallback','markMultiRangeBlockFormat','formatInline','map','type','mergeListItemForward','start','_suggestionFactory','deletion','toUpperCase','*Outdent:*\x20%0','multipleBlocks','numberedList','listIndent','mergeListItemBackward','from','execute','registerElementLabel','list.multiBlock','bulletedList','ELEMENT_BULLETED_LIST','selection','containsItem','DocumentListEditing'];(function(_0x338497,_0x22710b){const _0x4cf0f4=function(_0x26eafb){while(--_0x26eafb){_0x338497['push'](_0x338497['shift']());}};_0x4cf0f4(++_0x22710b);}(_0x2271,0x13c));const _0x4cf0=function(_0x338497,_0x22710b){_0x338497=_0x338497-0x0;let _0x4cf0f4=_0x2271[_0x338497];return _0x4cf0f4;};import{Plugin as _0x27d176}from'ckeditor5/src/core';import{getTranslation as _0x244225}from'../utils/common-translations';import{LiveRange as _0x5e10b0}from'ckeditor5/src/engine';export default class q extends _0x27d176{[_0x4cf0('0x23')](){const _0x43c7f2=this['editor'];if(!_0x43c7f2[_0x4cf0('0x2b')][_0x4cf0('0x31')](_0x4cf0('0xb')))return;const _0x5939e9=_0x43c7f2['locale'],_0x658889=_0x43c7f2[_0x4cf0('0x2b')][_0x4cf0('0x14')]('TrackChangesEditing'),_0x22b436=_0x43c7f2[_0x4cf0('0x2b')][_0x4cf0('0x14')](_0x4cf0('0x10'));function _0x499bcb(_0xfd265b){return()=>{const _0x2ca4e9=_0x43c7f2[_0x4cf0('0x25')][_0x4cf0('0x14')](_0xfd265b);if(_0x2ca4e9[_0x4cf0('0x1f')]&&!_0x43c7f2['config'][_0x4cf0('0x14')](_0x4cf0('0x6')))return void _0x43c7f2[_0x4cf0('0x4')]('paragraph',{});let _0x92571d=Array[_0x4cf0('0x3')](_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x36')][_0x4cf0('0x9')][_0x4cf0('0x27')]());if(_0x4c80b5(_0xfd265b)){_0x92571d=_0x22b436[_0x4cf0('0x3a')](_0x92571d);const _0x3543f5=[];for(const _0x35077b of _0x92571d)_0x22b436[_0x4cf0('0x37')](_0x35077b)&&_0x3543f5[_0x4cf0('0x2c')](_0x35077b);_0x92571d=_0x3543f5;}_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x17')](()=>{_0x658889[_0x4cf0('0x47')](_0x92571d,{'commandName':_0xfd265b,'commandParams':[{'forceValue':!_0x2ca4e9[_0x4cf0('0x1f')]}],'formatGroupId':_0x4cf0('0x20')},[],_0x4cf0('0x22'));});};}function _0x12faa1(_0x4e488f){return()=>{const _0x31ec95=function(_0x34dc0c){let _0x5da877=Array[_0x4cf0('0x3')](_0x34dc0c);const _0x3f7ddf=_0x5da877[_0x4cf0('0x3d')](_0x3dd823=>!_0x3dd823[_0x4cf0('0x30')](_0x4cf0('0x1b')));return _0x3f7ddf>-0x1&&(_0x5da877=_0x5da877[_0x4cf0('0x12')](0x0,_0x3f7ddf)),_0x5da877;}(_0x43c7f2['model']['document'][_0x4cf0('0x9')][_0x4cf0('0x27')]()),_0x29f285=_0x31ec95[_0x31ec95[_0x4cf0('0x3c')]-0x1],_0x506091=_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x3f')][_0x4cf0('0xf')](_0x29f285)?_0x4cf0('0x26'):'end',_0x2f7202=_0x43c7f2['model']['createRange'](_0x43c7f2[_0x4cf0('0x2d')]['createPositionAt'](_0x31ec95[0x0],_0x4cf0('0x33')),_0x43c7f2['model']['createPositionAt'](_0x29f285,_0x506091));_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x17')](()=>{_0x658889[_0x4cf0('0x3b')](_0x2f7202,{'commandName':_0x4e488f,'commandParams':[],'formatGroupId':_0x4cf0('0x20')},function(_0x47d3fa){const _0x5d6f1a=new Set();for(const _0x4656db of _0x47d3fa){let _0x19f25d=_0x4656db['nextSibling'];for(;_0x19f25d&&_0x19f25d[_0x4cf0('0x3e')](_0x4cf0('0x1'))>_0x4656db[_0x4cf0('0x3e')](_0x4cf0('0x1'));)_0x5d6f1a['add'](_0x19f25d),_0x19f25d=_0x19f25d[_0x4cf0('0x38')];}return Array[_0x4cf0('0x3')](_0x5d6f1a);}(_0x31ec95));});};}function _0x5e5a07(_0x1c8c94){return()=>{const _0x1a3662=_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x36')][_0x4cf0('0x9')][_0x4cf0('0x27')]()[_0x4cf0('0x40')]()[_0x4cf0('0x1f')],_0x47fadb=_0x43c7f2['model'][_0x4cf0('0xe')](_0x1a3662,_0x4cf0('0x33')),_0x479c0d=_0x43c7f2[_0x4cf0('0x2d')]['createPositionAt'](_0x1a3662,0x0),_0x2cb32a=_0x43c7f2[_0x4cf0('0x2d')]['createRange'](_0x47fadb,_0x479c0d);_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x17')](()=>{_0x658889[_0x4cf0('0x3b')](_0x2cb32a,{'commandName':_0x1c8c94,'commandParams':[],'formatGroupId':'listType'});});};}function _0x4c80b5(_0x322629){const _0x93b233=_0x43c7f2['commands']['get']('bulletedList')[_0x4cf0('0x1f')],_0x1a4b41=_0x43c7f2[_0x4cf0('0x25')][_0x4cf0('0x14')](_0x4cf0('0x0'))[_0x4cf0('0x1f')];return _0x4cf0('0x0')===_0x322629?_0x93b233:_0x1a4b41;}_0x658889[_0x4cf0('0x19')](_0x4cf0('0x0'),_0x499bcb(_0x4cf0('0x0'))),_0x658889['enableCommand'](_0x4cf0('0x7'),_0x499bcb(_0x4cf0('0x7'))),_0x658889[_0x4cf0('0x19')]('indentList',_0x12faa1(_0x4cf0('0x2f'))),_0x658889['enableCommand'](_0x4cf0('0x44'),_0x12faa1('outdentList')),_0x658889['enableCommand']('splitListItemAfter',_0x5e5a07('splitListItemAfter')),_0x658889[_0x4cf0('0x19')](_0x4cf0('0x43'),_0x5e5a07(_0x4cf0('0x43'))),_0x658889['_descriptionFactory'][_0x4cf0('0x5')](function(_0x5cdf8c){const _0x3eb6ad=!_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x3f')][_0x4cf0('0xf')](_0x5cdf8c),_0x194ddf=_0x5cdf8c[_0x4cf0('0x42')],_0x4aa781=_0x5cdf8c[_0x4cf0('0x38')],_0x2c4f84=_0x5cdf8c[_0x4cf0('0x3e')](_0x4cf0('0x1b')),_0x1b844c=!_0x194ddf||_0x194ddf[_0x4cf0('0x3e')](_0x4cf0('0x1b'))!==_0x2c4f84,_0x438990=!_0x4aa781||_0x4aa781[_0x4cf0('0x3e')]('listItemId')!==_0x2c4f84;return _0x3eb6ad&&Boolean(_0x2c4f84)&&_0x1b844c&&_0x438990;},_0x5d9a0d=>_0x244225(_0x5939e9,_0x4cf0('0x13'),_0x5d9a0d)),_0x658889['_descriptionFactory'][_0x4cf0('0x46')](function(_0x1e1052){if(_0x4cf0('0x32')!=_0x1e1052[_0x4cf0('0x4a')]&&_0x4cf0('0x48')!=_0x1e1052[_0x4cf0('0x4a')])return;const {data:_0x46d3e8}=_0x1e1052;if(!_0x46d3e8)return;let _0x9019bd,_0xdceb19,_0x14018e,_0x593c1f;switch(_0x46d3e8[_0x4cf0('0x24')]){case _0x4cf0('0x7'):_0x14018e=_0x46d3e8['commandParams'][0x0]['forceValue'],_0x593c1f=_0x4c80b5(_0x46d3e8[_0x4cf0('0x24')]),_0x9019bd=_0x14018e?'*Format:*\x20insert\x20into\x20%0':_0x4cf0('0x1e'),!_0x593c1f&&_0x43c7f2[_0x4cf0('0x15')][_0x4cf0('0x14')](_0x4cf0('0x6'))||(_0x9019bd=_0x4cf0('0x11')),_0xdceb19={'type':_0x4cf0('0x2e'),'content':_0x244225(_0x5939e9,_0x9019bd,_0x244225(_0x5939e9,_0x4cf0('0x8')))};break;case _0x4cf0('0x0'):_0x14018e=_0x46d3e8[_0x4cf0('0x21')][0x0][_0x4cf0('0x16')],_0x593c1f=_0x4c80b5(_0x46d3e8[_0x4cf0('0x24')]),_0x9019bd=_0x14018e?_0x4cf0('0x34'):_0x4cf0('0x1e'),!_0x593c1f&&_0x43c7f2[_0x4cf0('0x15')][_0x4cf0('0x14')](_0x4cf0('0x6'))||(_0x9019bd=_0x4cf0('0x11')),_0xdceb19={'type':_0x4cf0('0x2e'),'content':_0x244225(_0x5939e9,_0x9019bd,_0x244225(_0x5939e9,_0x4cf0('0x45')))};break;case _0x4cf0('0x2f'):_0x9019bd='*Indent:*\x20%0',_0xdceb19={'type':_0x4cf0('0x2e'),'content':_0x244225(_0x5939e9,_0x9019bd,_0x244225(_0x5939e9,_0x4cf0('0x13')))};break;case _0x4cf0('0x44'):_0x9019bd=function(_0x41409d){const _0x3adaae=_0x41409d['getFirstRange']();let _0x40ad17=_0x3adaae['start'][_0x4cf0('0x39')];for(;_0x40ad17&&_0x3adaae[_0x4cf0('0xa')](_0x40ad17);){if(_0x40ad17[_0x4cf0('0x3e')](_0x4cf0('0x1'))>0x0)return!0x1;_0x40ad17=_0x40ad17[_0x4cf0('0x38')];}return!0x0;}(_0x1e1052)?_0x244225(_0x5939e9,_0x4cf0('0x1e'),_0x244225(_0x5939e9,function(_0x5a69b6){const _0x144566=_0x5a69b6[_0x4cf0('0xd')]()[_0x4cf0('0x4c')][_0x4cf0('0x39')];return'ELEMENT_'+_0x144566[_0x4cf0('0x3e')](_0x4cf0('0x20'))[_0x4cf0('0x4f')]()+_0x4cf0('0x35');}(_0x1e1052))):_0x244225(_0x5939e9,_0x4cf0('0x50'),_0x244225(_0x5939e9,_0x4cf0('0x13'))),_0xdceb19={'type':'format','content':_0x9019bd};break;case _0x4cf0('0x2'):case _0x4cf0('0x4b'):!0x1===_0x46d3e8[_0x4cf0('0x51')]&&(_0x9019bd=_0x4cf0('0x1d'),_0xdceb19={'type':_0x4cf0('0x4e'),'content':_0x244225(_0x5939e9,_0x9019bd,_0x244225(_0x5939e9,_0x4cf0('0x13')))});}return _0xdceb19;}),_0x658889[_0x4cf0('0x4d')][_0x4cf0('0x29')]('formatBlock','documentList',_0x4cf0('0x28'),function(_0x1f026b,_0x2e1817){const _0x5073e3=[];for(let _0x2aff84 of _0x1f026b)_0x2aff84['start'][_0x4cf0('0x39')]===_0x2aff84[_0x4cf0('0x2a')]['parent']&&(_0x2aff84=_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x18')](_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0xe')](_0x2aff84[_0x4cf0('0x4c')][_0x4cf0('0x39')],0x0))),_0x5073e3['push'](_0x2aff84);_0x43c7f2['model'][_0x4cf0('0x17')](_0x35d6b1=>{const _0x29010b=_0x43c7f2[_0x4cf0('0x2d')][_0x4cf0('0x36')][_0x4cf0('0x9')],_0x585df4=Array[_0x4cf0('0x3')](_0x29010b[_0x4cf0('0x41')]())[_0x4cf0('0x49')](_0x157949=>_0x5e10b0[_0x4cf0('0xc')](_0x157949));_0x35d6b1['setSelection'](_0x5073e3),_0x43c7f2[_0x4cf0('0x25')][_0x4cf0('0x14')](_0x2e1817[_0x4cf0('0x24')])[_0x4cf0('0x1a')](),_0x2e1817['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x43c7f2[_0x4cf0('0x4')](_0x2e1817[_0x4cf0('0x24')],..._0x2e1817[_0x4cf0('0x21')]),_0x35d6b1[_0x4cf0('0x1c')](_0x585df4);for(const _0x93f9ac of _0x585df4)_0x93f9ac['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41ee=['*Change\x20to:*\x20%0','getSelectedBlocks','_getSuggestionBlocksForListStyle','model','expandListBlocksToCompleteList','toUpperCase','change','_descriptionFactory','config','reversed','listType','replace','isFirstBlockOfListItem','editor','registerDescriptionCallback','plugins','format','afterInit','_getTranslationKeyForListStyle','from','bind','listStart','isListItemBlock','DocumentListPropertiesEditing','DocumentListPropertiesUtils','enableCommand','numbered','locale','type','formatInline','TrackChangesEditing','commandName','getListTypeFromListStyleType','DocumentListUtils','commandParams','handleListStyleCommand','handleListStartCommand','_LIST_','filter','getAttribute','get','startIndex','push','handleDescriptions','document','*Format:*\x20set\x20order\x20to\x20regular','listStyle','ELEMENT_','markMultiRangeBlockFormat','length','_getSuggestionBlocks','formatBlock'];(function(_0xdc5b7b,_0x41ee3e){const _0x48a925=function(_0x55d931){while(--_0x55d931){_0xdc5b7b['push'](_0xdc5b7b['shift']());}};_0x48a925(++_0x41ee3e);}(_0x41ee,0x9d));const _0x48a9=function(_0xdc5b7b,_0x41ee3e){_0xdc5b7b=_0xdc5b7b-0x0;let _0x48a925=_0x41ee[_0xdc5b7b];return _0x48a925;};import{Plugin as _0x1f458a}from'ckeditor5/src/core';import{getTranslation as _0x4445ca}from'../utils/common-translations';export default class z extends _0x1f458a{[_0x48a9('0x10')](){if(!this[_0x48a9('0xc')]['plugins']['has'](_0x48a9('0x16')))return;const _0x313b38=this[_0x48a9('0xc')][_0x48a9('0x7')][_0x48a9('0x27')]('list.properties'),_0x4635c9=this[_0x48a9('0xc')][_0x48a9('0xe')][_0x48a9('0x27')](_0x48a9('0x1d'));_0x313b38['styles']&&_0x4635c9['enableCommand'](_0x48a9('0x2d'),this[_0x48a9('0x22')][_0x48a9('0x13')](this)),_0x313b38[_0x48a9('0x8')]&&_0x4635c9[_0x48a9('0x18')]('listReversed',this['handleListReversedCommand'][_0x48a9('0x13')](this)),_0x313b38['startIndex']&&_0x4635c9[_0x48a9('0x18')](_0x48a9('0x14'),this[_0x48a9('0x23')]['bind'](this)),_0x4635c9[_0x48a9('0x6')][_0x48a9('0xd')](this[_0x48a9('0x2a')][_0x48a9('0x13')](this));}[_0x48a9('0x22')](_0x2c8a7d,_0x40958d={}){const _0x5e2c1f=this[_0x48a9('0xc')][_0x48a9('0xe')]['get'](_0x48a9('0x1d')),_0x5abdeb=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x48a9('0x2')][_0x48a9('0x5')](()=>{_0x5e2c1f[_0x48a9('0x2f')](_0x5abdeb,{'commandName':_0x48a9('0x2d'),'commandParams':[{'type':_0x40958d[_0x48a9('0x1b')]}],'formatGroupId':_0x48a9('0x2d')});});}['handleListReversedCommand'](_0x46a070,_0x20751b={}){const _0x1afccd=this['editor'][_0x48a9('0xe')][_0x48a9('0x27')](_0x48a9('0x1d')),_0x3ff10b=this['editor'][_0x48a9('0xe')]['get'](_0x48a9('0x20')),_0x2a89a0=this['_getSuggestionBlocks'](_0x177936=>_0x3ff10b['isListItemBlock'](_0x177936)&&'numbered'===_0x177936['getAttribute'](_0x48a9('0x9')));null!==_0x2a89a0&&this[_0x48a9('0xc')]['model']['change'](()=>{_0x1afccd[_0x48a9('0x2f')](_0x2a89a0,{'commandName':'listReversed','commandParams':[{'reversed':_0x20751b[_0x48a9('0x8')]}],'formatGroupId':'listReversed'});});}[_0x48a9('0x23')](_0x300f6c,_0x227474={}){const _0x41d183=this[_0x48a9('0xc')]['plugins']['get'](_0x48a9('0x1d')),_0x1a73f2=this[_0x48a9('0xc')][_0x48a9('0xe')][_0x48a9('0x27')](_0x48a9('0x20')),_0x17478c=this[_0x48a9('0x31')](_0x1d2f68=>_0x1a73f2[_0x48a9('0x15')](_0x1d2f68)&&_0x48a9('0x19')===_0x1d2f68[_0x48a9('0x26')](_0x48a9('0x9')));null!==_0x17478c&&this[_0x48a9('0xc')][_0x48a9('0x2')][_0x48a9('0x5')](()=>{_0x41d183['markMultiRangeBlockFormat'](_0x17478c,{'commandName':_0x48a9('0x14'),'commandParams':[{'startIndex':_0x227474[_0x48a9('0x28')]}],'formatGroupId':_0x48a9('0x14')});});}['handleDescriptions'](_0x3837f0){if(_0x48a9('0x32')!=_0x3837f0[_0x48a9('0x1b')]&&_0x48a9('0x1c')!=_0x3837f0['type'])return;const _0x7ff321=this['editor'][_0x48a9('0x1a')],{data:_0x136bc9}=_0x3837f0;if(!_0x136bc9)return;let _0x51b871,_0x17532f;switch(_0x136bc9[_0x48a9('0x1e')]){case _0x48a9('0x2d'):_0x51b871=_0x48a9('0x33'),_0x17532f={'type':'format','content':_0x4445ca(_0x7ff321,_0x51b871,_0x4445ca(_0x7ff321,this[_0x48a9('0x11')](_0x136bc9[_0x48a9('0x21')][0x0]['type'])))};break;case'listReversed':_0x51b871=_0x136bc9[_0x48a9('0x21')][0x0][_0x48a9('0x8')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x48a9('0x2c'),_0x17532f={'type':_0x48a9('0xf'),'content':_0x4445ca(_0x7ff321,_0x51b871)};break;case'listStart':_0x51b871='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x17532f={'type':_0x48a9('0xf'),'content':_0x4445ca(_0x7ff321,_0x51b871,_0x136bc9[_0x48a9('0x21')][0x0][_0x48a9('0x28')])};}return _0x17532f;}[_0x48a9('0x1')](){const _0x2c46fb=this[_0x48a9('0xc')][_0x48a9('0xe')][_0x48a9('0x27')](_0x48a9('0x20'));let _0x1117a8=Array[_0x48a9('0x12')](this[_0x48a9('0xc')]['model']['document']['selection']['getSelectedBlocks']());return _0x1117a8[_0x48a9('0x29')](..._0x2c46fb['expandListBlocksToCompleteList'](_0x1117a8)),_0x1117a8=[...new Set(_0x1117a8)],_0x1117a8;}[_0x48a9('0x31')](_0x46426c){const _0x1cc5dc=this['editor']['plugins']['get'](_0x48a9('0x20'));let _0x10045b=Array[_0x48a9('0x12')](this[_0x48a9('0xc')][_0x48a9('0x2')][_0x48a9('0x2b')]['selection'][_0x48a9('0x0')]())[_0x48a9('0x25')](_0x46426c);if(!_0x10045b[_0x48a9('0x30')])return null;_0x10045b=_0x1cc5dc[_0x48a9('0x3')](_0x10045b);const _0x393809=[];for(const _0x2e0f11 of _0x10045b)_0x1cc5dc[_0x48a9('0xb')](_0x2e0f11)&&_0x393809[_0x48a9('0x29')](_0x2e0f11);return _0x393809;}[_0x48a9('0x11')](_0x14d954){return _0x48a9('0x2e')+this['editor'][_0x48a9('0xe')][_0x48a9('0x27')](_0x48a9('0x17'))[_0x48a9('0x1f')](_0x14d954)['toUpperCase']()+_0x48a9('0x24')+_0x14d954[_0x48a9('0x4')]()[_0x48a9('0xa')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x596e=['markerNameToElements','enterBlock','removeMarker:suggestion:insertion','bind','requires','commands','model','showSuggestionHighlights','plugins','nextSibling','enableCommand','selection','downcastDispatcher','options','afterExecute','writer','init','high','createRange','document','markInsertion','getFirstRange','enter','fire','getFirstPosition','get','createPositionAt','split','mapper','addMarker:suggestion:insertion','hasClass','editor','ck-suggestion-marker-split','remove','TrackChangesEditing','end','editing','markerName'];(function(_0x4f2bab,_0x596e62){const _0x294a3a=function(_0x1c6e95){while(--_0x1c6e95){_0x4f2bab['push'](_0x4f2bab['shift']());}};_0x294a3a(++_0x596e62);}(_0x596e,0x1b0));const _0x294a=function(_0x4f2bab,_0x596e62){_0x4f2bab=_0x4f2bab-0x0;let _0x294a3a=_0x596e[_0x4f2bab];return _0x294a3a;};import{Plugin as _0x5003f4}from'ckeditor5/src/core';import{Enter as _0x42b376}from'ckeditor5/src/enter';import{LiveRange as _0x4c5a28}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x20ea50}from'./utils';export default class K extends _0x5003f4{static get[_0x294a('0x1c')](){return[_0x42b376];}[_0x294a('0x2')](){const _0x9dcd7=this[_0x294a('0x11')],_0x506b7b=_0x9dcd7[_0x294a('0x20')][_0x294a('0xb')](_0x294a('0x14')),_0x597af2=_0x9dcd7[_0x294a('0x1d')]['get'](_0x294a('0x8'));_0x506b7b[_0x294a('0x22')](_0x294a('0x8'),()=>{_0x9dcd7[_0x294a('0x1e')]['change'](_0x4add47=>{const _0x32ae33=_0x9dcd7[_0x294a('0x1e')][_0x294a('0x5')][_0x294a('0x23')],_0x4ac3da=_0x32ae33[_0x294a('0xa')](),_0x2e083d=_0x4c5a28['fromRange'](_0x32ae33[_0x294a('0x7')]());if(_0x597af2[_0x294a('0x19')](_0x4add47)){const _0x4f67c4=_0x9dcd7[_0x294a('0x1e')][_0x294a('0xc')](_0x4ac3da['parent'][_0x294a('0x21')],0x0),_0x3c35ad=_0x4add47[_0x294a('0x4')](_0x4ac3da,_0x4f67c4);_0x506b7b[_0x294a('0x6')](_0x3c35ad);}else _0x4add47['setSelection'](_0x4add47['createRange'](_0x2e083d[_0x294a('0x15')]));_0x2e083d['detach'](),_0x597af2[_0x294a('0x9')](_0x294a('0x0'),{'writer':_0x4add47});});}),_0x9dcd7['editing'][_0x294a('0x24')]['on'](_0x294a('0xf'),_0x20ea50(_0x9dcd7,_0x294a('0xd')),{'priority':_0x294a('0x3')}),_0x9dcd7[_0x294a('0x16')]['downcastDispatcher']['on'](_0x294a('0x1a'),(_0x34d066,_0x137390,_0x455763)=>{const _0x456020=_0x455763[_0x294a('0xe')][_0x294a('0x18')](_0x137390['markerName']);if(_0x456020)for(const _0x44e7c3 of _0x456020)_0x44e7c3[_0x294a('0x10')](_0x294a('0x12'))&&(_0x455763[_0x294a('0xe')]['unbindElementFromMarkerName'](_0x44e7c3,_0x137390[_0x294a('0x17')]),_0x455763[_0x294a('0x1')][_0x294a('0x13')](_0x44e7c3));},{'priority':_0x294a('0x3')}),_0x9dcd7['data'][_0x294a('0x24')]['on'](_0x294a('0xf'),(_0x47cdb8,_0x63d591,_0x4bf736)=>{_0x4bf736[_0x294a('0x25')][_0x294a('0x1f')]&&_0x20ea50(_0x9dcd7,_0x294a('0xd'),{'showActiveMarker':!0x1})[_0x294a('0x1b')](this)(_0x47cdb8,_0x63d591,_0x4bf736);},{'priority':_0x294a('0x3')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e86=['TrackChangesEditing','suggestion:deletion','createPositionAt','handleFindCommand','has','_isInDeletionRange','start','findByTextCallback','createRange','findPrevious','get','plugins','getRange','enableCommand','markers','editor','end','model','getIntersection','getMarkersGroup','find','replaceAll','filter','FindAndReplaceEditing','string','findNext','FindAndReplaceUtils'];(function(_0x216457,_0x5e8675){const _0x3567a1=function(_0x2b7184){while(--_0x2b7184){_0x216457['push'](_0x216457['shift']());}};_0x3567a1(++_0x5e8675);}(_0x5e86,0xf0));const _0x3567=function(_0x216457,_0x5e8675){_0x216457=_0x216457-0x0;let _0x3567a1=_0x5e86[_0x216457];return _0x3567a1;};import{Plugin as _0x3a071e}from'ckeditor5/src/core';export default class W extends _0x3a071e{['afterInit'](){if(!this[_0x3567('0x12')][_0x3567('0xe')][_0x3567('0x7')](_0x3567('0x1a')))return;const _0x3ac947=this[_0x3567('0x12')][_0x3567('0xe')]['get'](_0x3567('0x3'));_0x3ac947[_0x3567('0x10')](_0x3567('0x17'),this[_0x3567('0x6')]['bind'](this)),_0x3ac947[_0x3567('0x10')](_0x3567('0x1')),_0x3ac947[_0x3567('0x10')](_0x3567('0xc')),_0x3ac947[_0x3567('0x10')]('replace'),_0x3ac947[_0x3567('0x10')](_0x3567('0x18'));}[_0x3567('0x6')](_0x1f8fcc,_0x527cb3,_0x3830ee={}){const _0x1db749=this[_0x3567('0x12')][_0x3567('0xe')][_0x3567('0xd')](_0x3567('0x2'));if(void 0x0!==_0x3830ee)return _0x1f8fcc(_0x255f2d=>(_0x3567('0x0')==typeof _0x527cb3?_0x1db749[_0x3567('0xa')](_0x527cb3,_0x3830ee):_0x527cb3)(_0x255f2d)[_0x3567('0x19')](_0x277caf=>!0x1===this[_0x3567('0x8')](_0x277caf,_0x255f2d['item'])),_0x3830ee);}[_0x3567('0x8')](_0x491e03,_0x4a0732){const _0x4a344a=this[_0x3567('0x12')]['model'][_0x3567('0xb')](this[_0x3567('0x12')][_0x3567('0x14')]['createPositionAt'](_0x4a0732,_0x491e03[_0x3567('0x9')]),this[_0x3567('0x12')][_0x3567('0x14')][_0x3567('0x5')](_0x4a0732,_0x491e03[_0x3567('0x13')]));for(const _0x5039c5 of this['editor']['model'][_0x3567('0x11')][_0x3567('0x16')](_0x3567('0x4')))if(null!==_0x4a344a[_0x3567('0x15')](_0x5039c5[_0x3567('0xf')]()))return!0x0;return!0x1;}}
|