@ckeditor/ckeditor5-track-changes 38.0.0-rc.0 → 38.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +2 -2
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "38.0.0-rc.
|
|
3
|
+
"version": "38.0.0-rc.1",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"postversion": "npm run build"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"ckeditor5": "^
|
|
45
|
-
"ckeditor5-collaboration": "^38.0.0-rc.
|
|
44
|
+
"ckeditor5": "^38.0.0-rc.1",
|
|
45
|
+
"ckeditor5-collaboration": "^38.0.0-rc.1",
|
|
46
46
|
"lodash-es": "^4.17.11"
|
|
47
47
|
},
|
|
48
48
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcbaf=['execute','plugins','_isEnabledBasedOnSelection','model','getRanges','_suggestions','editor','TrackChangesEditing','canEditAt','isEnabled','get','refresh'];(function(_0x4f13cf,_0xcbafe1){const _0x4d06dc=function(_0x299096){while(--_0x299096){_0x4f13cf['push'](_0x4f13cf['shift']());}};_0x4d06dc(++_0xcbafe1);}(_0xcbaf,0x1b0));const _0x4d06=function(_0x4f13cf,_0xcbafe1){_0x4f13cf=_0x4f13cf-0x0;let _0x4d06dc=_0xcbaf[_0x4f13cf];return _0x4d06dc;};import{Command as _0x1d39f5}from'ckeditor5/src/core';import{CKEditorError as _0x6375a9}from'ckeditor5/src/utils';export default class M extends _0x1d39f5{constructor(_0x137a00,_0x5ac8e2){super(_0x137a00),this['_suggestions']=_0x5ac8e2,this[_0x4d06('0xb')](),this[_0x4d06('0x2')]=!0x1;}['refresh'](){this[_0x4d06('0x9')]=!0x0;}[_0x4d06('0x0')](_0x248531){const _0xb0659d=this[_0x4d06('0x5')][_0x4d06('0xa')](_0x248531);if(!_0xb0659d)throw new _0x6375a9('track-changes-accept-suggestion-not-found',this);const _0x5e6a01=_0xb0659d[_0x4d06('0x4')]();this[_0x4d06('0x6')][_0x4d06('0x3')][_0x4d06('0x8')](_0x5e6a01)&&this[_0x4d06('0x6')][_0x4d06('0x1')]['get'](_0x4d06('0x7'))['acceptSuggestion'](_0xb0659d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x579c=['canEditAt','get','refresh','plugins','editor','isEnabled','_suggestions','execute','_isEnabledBasedOnSelection','getRanges'];(function(_0x81a1c1,_0x579c34){const _0x24b84f=function(_0x129347){while(--_0x129347){_0x81a1c1['push'](_0x81a1c1['shift']());}};_0x24b84f(++_0x579c34);}(_0x579c,0x86));const _0x24b8=function(_0x81a1c1,_0x579c34){_0x81a1c1=_0x81a1c1-0x0;let _0x24b84f=_0x579c[_0x81a1c1];return _0x24b84f;};import{Command as _0x19822c}from'ckeditor5/src/core';import{CKEditorError as _0x2bd2f4}from'ckeditor5/src/utils';export default class $ extends _0x19822c{constructor(_0x34e24f,_0x2c97d5){super(_0x34e24f),this[_0x24b8('0x2')]=_0x2c97d5,this[_0x24b8('0x8')](),this[_0x24b8('0x4')]=!0x1;}[_0x24b8('0x8')](){this[_0x24b8('0x1')]=!0x0;}[_0x24b8('0x3')](_0x505db5){const _0x1c0993=this[_0x24b8('0x2')]['get'](_0x505db5);if(!_0x1c0993)throw new _0x2bd2f4('track-changes-discard-suggestion-not-found',this);const _0x6c6b8a=_0x1c0993[_0x24b8('0x5')]();this['editor']['model'][_0x24b8('0x6')](_0x6c6b8a)&&this[_0x24b8('0x0')][_0x24b8('0x9')][_0x24b8('0x7')]('TrackChangesEditing')['discardSuggestion'](_0x1c0993);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7baf=['refresh','execute','editor','some','values','_isEnabledBasedOnSelection','isInContent','isEnabled','from','_command','canEditAt','model','_suggestions','getRanges'];(function(_0x4274bd,_0x7bafd5){const _0x58ae55=function(_0x2c85a8){while(--_0x2c85a8){_0x4274bd['push'](_0x4274bd['shift']());}};_0x58ae55(++_0x7bafd5);}(_0x7baf,0x17b));const _0x58ae=function(_0x4274bd,_0x7bafd5){_0x4274bd=_0x4274bd-0x0;let _0x58ae55=_0x7baf[_0x4274bd];return _0x58ae55;};import{Command as _0x3cf5bf}from'ckeditor5/src/core';import{sortSuggestions as _0x1380f1,executeCommandForSuggestions as _0x4ca07d}from'../utils/utils';export default class N extends _0x3cf5bf{constructor(_0x5e6001,_0x6d22de,_0x1920f5){super(_0x5e6001),this[_0x58ae('0x8')]=_0x6d22de,this[_0x58ae('0xb')]=_0x1920f5,this[_0x58ae('0xd')](),this[_0x58ae('0x4')]=!0x1;}[_0x58ae('0xd')](){const _0x5a822f=Array[_0x58ae('0x7')](this[_0x58ae('0xb')][_0x58ae('0x3')]())[_0x58ae('0x2')](_0x3301d6=>_0x3301d6[_0x58ae('0x5')]);this[_0x58ae('0x6')]=this[_0x58ae('0x8')]['isEnabled']&&_0x5a822f;}[_0x58ae('0x0')](){const _0x16f85e=_0x1380f1(Array[_0x58ae('0x7')](this[_0x58ae('0xb')][_0x58ae('0x3')]()));for(const _0x507044 of _0x16f85e){const _0x1f7d01=_0x507044[_0x58ae('0xc')]();if(!this['editor'][_0x58ae('0xa')][_0x58ae('0x9')](_0x1f7d01))return;}_0x4ca07d(this[_0x58ae('0x1')][_0x58ae('0xa')],this[_0x58ae('0x8')],_0x16f85e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaca4=['model','isEnabled','document','editor','from','_isEnabledBasedOnSelection','getRanges','_selectedSuggestions','refresh','size','_command','values','_suggestions'];(function(_0x1840ae,_0xaca495){const _0xd03679=function(_0x200638){while(--_0x200638){_0x1840ae['push'](_0x1840ae['shift']());}};_0xd03679(++_0xaca495);}(_0xaca4,0xc9));const _0xd036=function(_0x1840ae,_0xaca495){_0x1840ae=_0x1840ae-0x0;let _0xd03679=_0xaca4[_0x1840ae];return _0xd03679;};import{Command as _0x55e099}from'ckeditor5/src/core';import{sortSuggestions as _0x512c89,getSelectedSuggestions as _0x3f57c6,executeCommandForSuggestions as _0xe80611}from'../utils/utils';export default class R extends _0x55e099{constructor(_0x3d2a52,_0x1f2081,_0x3a506d){super(_0x3d2a52),this['_command']=_0x1f2081,this['_suggestions']=_0x3a506d,this[_0xd036('0x1')]=new Set(),this[_0xd036('0x2')](),this[_0xd036('0xc')]=!0x1;}[_0xd036('0x2')](){const _0x22c0da=this[_0xd036('0xa')][_0xd036('0x7')][_0xd036('0x9')]['selection'],_0x5ac61f=Array[_0xd036('0xb')](this[_0xd036('0x6')][_0xd036('0x5')]());this[_0xd036('0x1')]=_0x3f57c6(_0x22c0da,_0x5ac61f),this[_0xd036('0x8')]=this['_command'][_0xd036('0x8')]&&!!this['_selectedSuggestions'][_0xd036('0x3')];}['execute'](){const _0x1472b3=_0x512c89(Array[_0xd036('0xb')](this[_0xd036('0x1')]));for(const _0x2fc68b of _0x1472b3){const _0x580a3f=_0x2fc68b[_0xd036('0x0')]();if(!this[_0xd036('0xa')][_0xd036('0x7')]['canEditAt'](_0x580a3f))return;}_0xe80611(this[_0xd036('0xa')]['model'],this[_0xd036('0x4')],_0x1472b3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x391f=['TrackChangesCommand','value','forceDisabled','has','refresh','affectsData','_disableUnsupportedCommands','isEnabled','_enableCommands','clearForceDisabled','editor','_enabledCommands','_isEnabledBasedOnSelection'];(function(_0x217270,_0x391f89){const _0x554615=function(_0x3ac76c){while(--_0x3ac76c){_0x217270['push'](_0x217270['shift']());}};_0x554615(++_0x391f89);}(_0x391f,0xf0));const _0x5546=function(_0x217270,_0x391f89){_0x217270=_0x217270-0x0;let _0x554615=_0x391f[_0x217270];return _0x554615;};import{Command as _0x22d8f0}from'ckeditor5/src/core';export default class _ extends _0x22d8f0{constructor(_0x2bdeb7,_0x103beb){super(_0x2bdeb7),this[_0x5546('0x5')]=_0x103beb,this['value']=!0x1,this[_0x5546('0xb')](),this[_0x5546('0x6')]=!0x1;}[_0x5546('0xb')](){this[_0x5546('0x1')]=!0x0;}['execute'](){this[_0x5546('0x8')]=!this['value'],this['value']?this[_0x5546('0x0')]():this[_0x5546('0x2')]();}[_0x5546('0x0')](){for(const _0x26bdb3 of this[_0x5546('0x4')]['commands']['commands']())_0x26bdb3[_0x5546('0xc')]&&!this[_0x5546('0x5')]['has'](_0x26bdb3)&&_0x26bdb3[_0x5546('0x9')](_0x5546('0x7'));}[_0x5546('0x2')](){for(const _0x45a0b6 of this['editor']['commands']['commands']())_0x45a0b6[_0x5546('0xc')]&&!this[_0x5546('0x5')][_0x5546('0xa')](_0x45a0b6)&&_0x45a0b6[_0x5546('0x3')](_0x5546('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f85=['markBlockFormat','center','afterInit','selection','change','locale','document','get','FORMAT_JUSTIFY_TEXT','alignment','right','value','plugins','justify','checkAttribute','getAttribute','TrackChangesEditing','_descriptionFactory','commandName','has','format','filter','editor','left','enableCommand','from','registerDescriptionCallback','model','AlignmentEditing','commandParams','contentLanguageDirection','getSelectedBlocks'];(function(_0x194328,_0x1f85d2){const _0x5a524d=function(_0x225680){while(--_0x225680){_0x194328['push'](_0x194328['shift']());}};_0x5a524d(++_0x1f85d2);}(_0x1f85,0xce));const _0x5a52=function(_0x194328,_0x1f85d2){_0x194328=_0x194328-0x0;let _0x5a524d=_0x1f85[_0x194328];return _0x5a524d;};import{Plugin as _0x5dd42e}from'ckeditor5/src/core';import{getTranslation as _0x2e19ff}from'../utils/common-translations';export default class x extends _0x5dd42e{[_0x5a52('0x14')](){const _0x103745=this[_0x5a52('0x8')],_0x660361=_0x103745[_0x5a52('0x17')];if(!_0x103745['plugins'][_0x5a52('0x5')](_0x5a52('0xe')))return;const _0x2131e8=_0x103745[_0x5a52('0x1e')][_0x5a52('0x19')](_0x5a52('0x2'));_0x2131e8[_0x5a52('0xa')](_0x5a52('0x1b'),(_0x523ff0,_0xcab433={})=>{let _0x243aa4=_0xcab433[_0x5a52('0x1d')];_0xcab433[_0x5a52('0x1d')]||(_0x243aa4='ltr'===_0x103745[_0x5a52('0x17')][_0x5a52('0x10')]?_0x5a52('0x9'):_0x5a52('0x1c'));const _0x935931=Array[_0x5a52('0xb')](this[_0x5a52('0x8')][_0x5a52('0xd')][_0x5a52('0x18')][_0x5a52('0x15')][_0x5a52('0x11')]())[_0x5a52('0x7')](_0x329b92=>function(_0x437b4b,_0x42d988,_0x1fd315){const _0x3a21a5=_0x437b4b[_0x5a52('0x1')](_0x5a52('0x1b'))||null;return _0x42d988[_0x5a52('0x0')](_0x437b4b,'alignment')&&_0x1fd315!=_0x3a21a5;}(_0x329b92,this[_0x5a52('0x8')][_0x5a52('0xd')]['schema'],_0x243aa4));_0x103745[_0x5a52('0xd')][_0x5a52('0x16')](()=>{for(const _0x1f9d10 of _0x935931)_0x2131e8[_0x5a52('0x12')](_0x1f9d10,{'commandName':_0x5a52('0x1b'),'commandParams':[{'value':_0x243aa4}]});});}),_0x2131e8[_0x5a52('0x3')][_0x5a52('0xc')](_0x42a33c=>{const {data:_0x260c1e}=_0x42a33c;if(_0x260c1e&&_0x5a52('0x1b')==_0x260c1e[_0x5a52('0x4')]){const _0xebfafd=_0x260c1e[_0x5a52('0xf')][0x0][_0x5a52('0x1d')];return{'type':_0x5a52('0x6'),'content':_0x2e19ff(_0x660361,'*Format:*\x20%0',function(_0xc797b0){switch(_0xc797b0){case _0x5a52('0x9'):return _0x2e19ff(_0x660361,'FORMAT_ALIGN_TO_LEFT');case _0x5a52('0x1c'):return _0x2e19ff(_0x660361,'FORMAT_ALIGN_TO_RIGHT');case _0x5a52('0x13'):return _0x2e19ff(_0x660361,'FORMAT_ALIGN_TO_CENTER');case _0x5a52('0x1f'):return _0x2e19ff(_0x660361,_0x5a52('0x1a'));}}(_0xebfafd))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5658=['_descriptionFactory','subscript','FORMAT_UNDERLINE','format','forceValue','isCollapsed','toLowerCase','slice','plugins','StrikethroughEditing','*Remove\x20format:*\x20%0','strikethrough','selection','editor','get','SuperscriptEditing','enableCommand','afterInit','getRanges','bold','*Format:*\x20%0','UnderlineEditing','from','FORMAT_ITALIC','commands','FORMAT_STRIKETHROUGH','registerDescriptionCallback','FORMAT_CODE','code','markInlineFormat','document','BoldEditing','change','has'];(function(_0x230ed1,_0x565872){const _0x541565=function(_0xdb1322){while(--_0xdb1322){_0x230ed1['push'](_0x230ed1['shift']());}};_0x541565(++_0x565872);}(_0x5658,0xf7));const _0x5415=function(_0x230ed1,_0x565872){_0x230ed1=_0x230ed1-0x0;let _0x541565=_0x5658[_0x230ed1];return _0x541565;};import{Plugin as _0x43fa8a}from'ckeditor5/src/core';import{getTranslation as _0x51f61b}from'../utils/common-translations';import{getRangesWithAttribute as _0x169dc8}from'./utils';const Kt=[_0x5415('0x16'),'ItalicEditing',_0x5415('0xc'),'CodeEditing',_0x5415('0x0'),'SubscriptEditing',_0x5415('0x6')];export default class U extends _0x43fa8a{[_0x5415('0x8')](){const _0x50aefb=this[_0x5415('0x4')],_0x2a6df4=_0x50aefb['model'],_0x5f56f9=_0x50aefb[_0x5415('0x21')][_0x5415('0x5')]('TrackChangesEditing'),_0x166c14=_0x50aefb['locale'];for(const _0x41404e of Kt){if(!_0x50aefb[_0x5415('0x21')][_0x5415('0x18')](_0x41404e))continue;const _0x3a407f=_0x41404e[_0x5415('0x20')](0x0,-0x7)[_0x5415('0x1f')](),_0x3ea0ec=_0x50aefb[_0x5415('0xf')][_0x5415('0x5')](_0x3a407f);_0x5f56f9[_0x5415('0x7')](_0x3a407f,(_0x25c1d1,_0x1feede={})=>{const _0x3f8664=_0x2a6df4[_0x5415('0x15')][_0x5415('0x3')];if(_0x3f8664[_0x5415('0x1e')])return void _0x25c1d1(_0x1feede);const _0x5651dc=void 0x0!==_0x1feede[_0x5415('0x1d')]?_0x1feede['forceValue']:!_0x3ea0ec['value'];_0x2a6df4[_0x5415('0x17')](()=>{const _0x48d0d1=Array[_0x5415('0xd')](_0x3f8664[_0x5415('0x9')]());for(const _0x25e03a of _0x48d0d1){const _0x1e305d=_0x5651dc?[_0x25e03a]:_0x169dc8(_0x3a407f,_0x25e03a,_0x2a6df4);for(const _0x395b23 of _0x1e305d)_0x5f56f9[_0x5415('0x14')](_0x395b23,{'commandName':_0x3a407f,'commandParams':[{'forceValue':_0x5651dc}]});}});});}function _0x51289e(_0x385d79,_0x27228b){_0x5f56f9[_0x5415('0x19')][_0x5415('0x11')](_0x13b08e=>{const {data:_0x391bad}=_0x13b08e;if(_0x391bad&&_0x391bad['commandName']===_0x385d79)return _0x391bad['commandParams'][0x0][_0x5415('0x1d')]?{'type':_0x5415('0x1c'),'content':_0x51f61b(_0x166c14,_0x5415('0xb'),_0x27228b)}:{'type':_0x5415('0x1c'),'content':_0x51f61b(_0x166c14,_0x5415('0x1'),_0x27228b)};});}_0x51289e(_0x5415('0xa'),_0x51f61b(_0x166c14,'FORMAT_BOLD')),_0x51289e('italic',_0x51f61b(_0x166c14,_0x5415('0xe'))),_0x51289e('underline',_0x51f61b(_0x166c14,_0x5415('0x1b'))),_0x51289e(_0x5415('0x13'),_0x51f61b(_0x166c14,_0x5415('0x12'))),_0x51289e(_0x5415('0x2'),_0x51f61b(_0x166c14,_0x5415('0x10'))),_0x51289e(_0x5415('0x1a'),_0x51f61b(_0x166c14,'FORMAT_SUBSCRIPT')),_0x51289e('superscript',_0x51f61b(_0x166c14,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c20=['registerDescriptionCallback','format','value','model','document','change','commandName','$root','enableCommand','blockQuote','ELEMENT_BLOCK_QUOTE','from','commands','parent','forceValue','BlockQuoteEditing','*Format:*\x20%0','commandParams','getSelectedBlocks','checkChild','_descriptionFactory','selection','schema','has','afterInit','*Remove\x20format:*\x20%0','filter','TrackChangesEditing','plugins','markBlockFormat','get','editor','name'];(function(_0x1d0d65,_0x3c203d){const _0x38abb3=function(_0x1c479c){while(--_0x1c479c){_0x1d0d65['push'](_0x1d0d65['shift']());}};_0x38abb3(++_0x3c203d);}(_0x3c20,0xde));const _0x38ab=function(_0x1d0d65,_0x3c203d){_0x1d0d65=_0x1d0d65-0x0;let _0x38abb3=_0x3c20[_0x1d0d65];return _0x38abb3;};import{Plugin as _0x120c58}from'ckeditor5/src/core';import{getTranslation as _0x15c388}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x18fafa}from'../utils/utils';export default class j extends _0x120c58{[_0x38ab('0x0')](){const _0x24efb9=this[_0x38ab('0x7')],_0x466b79=_0x24efb9['locale'];if(!_0x24efb9[_0x38ab('0x4')][_0x38ab('0x20')](_0x38ab('0x18')))return;const _0x54002d=_0x24efb9[_0x38ab('0x4')][_0x38ab('0x6')](_0x38ab('0x3')),_0x2599a9=this[_0x38ab('0x7')][_0x38ab('0x15')][_0x38ab('0x6')](_0x38ab('0x12'));_0x54002d[_0x38ab('0x11')]('blockQuote',(_0x429ab0,_0x490a4a={})=>{const _0x620a68=this[_0x38ab('0x7')][_0x38ab('0xc')][_0x38ab('0xd')][_0x38ab('0x1e')],_0x7dda54=_0x490a4a&&void 0x0!==_0x490a4a[_0x38ab('0x17')]?_0x490a4a[_0x38ab('0x17')]:!_0x2599a9[_0x38ab('0xb')];let _0x47999e=[];if(_0x7dda54){const _0x71e744=Array[_0x38ab('0x14')](_0x620a68[_0x38ab('0x1b')]())['filter'](_0x758359=>Xt(_0x758359)||function(_0x72997f,_0x420a90){const _0xc3d0f2=_0x420a90[_0x38ab('0x1c')](_0x72997f[_0x38ab('0x16')],'blockQuote'),_0x22b35f=_0x420a90[_0x38ab('0x1c')]([_0x38ab('0x10'),_0x38ab('0x12')],_0x72997f);return _0xc3d0f2&&_0x22b35f;}(_0x758359,this[_0x38ab('0x7')]['model'][_0x38ab('0x1f')]));_0x47999e=_0x18fafa(_0x71e744,_0x24efb9[_0x38ab('0xc')]);}else{const _0x43047e=Array[_0x38ab('0x14')](_0x620a68['getSelectedBlocks']())[_0x38ab('0x2')](_0x2ded80=>Xt(_0x2ded80));_0x47999e=_0x18fafa(_0x43047e,_0x24efb9[_0x38ab('0xc')]);}_0x24efb9[_0x38ab('0xc')][_0x38ab('0xe')](()=>{for(const _0x50920d of _0x47999e)_0x54002d[_0x38ab('0x5')](_0x50920d,{'commandName':_0x38ab('0x12'),'commandParams':[{'forceValue':_0x7dda54}]});});}),_0x54002d[_0x38ab('0x1d')][_0x38ab('0x9')](_0x163d23=>{const {data:_0x46c22b}=_0x163d23;if(_0x46c22b&&'blockQuote'==_0x46c22b[_0x38ab('0xf')]){const _0x1a5cce=_0x15c388(_0x466b79,_0x38ab('0x13'));return _0x46c22b[_0x38ab('0x1a')][0x0]['forceValue']?{'type':_0x38ab('0xa'),'content':_0x15c388(_0x466b79,_0x38ab('0x19'),_0x1a5cce)}:{'type':_0x38ab('0xa'),'content':_0x15c388(_0x466b79,_0x38ab('0x1'),_0x1a5cce)};}});}}function Xt(_0x3919cf){return'blockQuote'==_0x3919cf[_0x38ab('0x16')][_0x38ab('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c64=['enableCommand','plugins','commands','afterInit','editor','get','TrackChangesEditing','ckbox'];(function(_0x35b0b8,_0x1c6422){const _0x370ce6=function(_0x2765a1){while(--_0x2765a1){_0x35b0b8['push'](_0x35b0b8['shift']());}};_0x370ce6(++_0x1c6422);}(_0x1c64,0x145));const _0x370c=function(_0x35b0b8,_0x1c6422){_0x35b0b8=_0x35b0b8-0x0;let _0x370ce6=_0x1c64[_0x35b0b8];return _0x370ce6;};import{Plugin as _0x59ba6d}from'ckeditor5/src/core';export default class E extends _0x59ba6d{[_0x370c('0x6')](){const _0x22d6f4=this[_0x370c('0x7')];_0x22d6f4[_0x370c('0x5')][_0x370c('0x0')](_0x370c('0x2'))&&_0x22d6f4[_0x370c('0x4')][_0x370c('0x0')](_0x370c('0x1'))[_0x370c('0x3')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x269e=['config','get','document','outdentCodeBlock','from','ELEMENT_CODE_BLOCK','format','registerElementLabel','languages','formatBlock','_descriptionFactory','forceValue','plugins','has','checkChild','commandParams','*Format:*\x20%0','locale','getSelectedBlocks','markBlockFormat','language','label','enableCommand','parent','afterInit','commandName','filter','change','find','codeBlock','selection','isLimit','indentCodeBlock','model','CodeBlock'];(function(_0x1a52aa,_0x269e3b){const _0x51c71b=function(_0x4b7cda){while(--_0x4b7cda){_0x1a52aa['push'](_0x1a52aa['shift']());}};_0x51c71b(++_0x269e3b);}(_0x269e,0xd2));const _0x51c7=function(_0x1a52aa,_0x269e3b){_0x1a52aa=_0x1a52aa-0x0;let _0x51c71b=_0x269e[_0x1a52aa];return _0x51c71b;};import{Plugin as _0x1133f6}from'ckeditor5/src/core';import{getTranslation as _0x4cdcc0}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4516f4}from'../utils/utils';export default class O extends _0x1133f6{[_0x51c7('0x18')](){const _0x514877=this['editor'];if(!_0x514877[_0x51c7('0xc')][_0x51c7('0xd')](_0x51c7('0x22')))return;const _0x42bdf0=_0x514877[_0x51c7('0xc')][_0x51c7('0x1')]('TrackChangesEditing'),_0x497148=_0x514877[_0x51c7('0x11')],_0x2c0150=_0x514877[_0x51c7('0x0')][_0x51c7('0x1')](_0x51c7('0x1d'))[_0x51c7('0x8')],_0x27482b=_0x514877['commands'][_0x51c7('0x1')](_0x51c7('0x1d'));_0x42bdf0['enableCommand'](_0x51c7('0x20')),_0x42bdf0['enableCommand'](_0x51c7('0x3')),_0x42bdf0[_0x51c7('0x16')](_0x51c7('0x1d'),(_0x386f39,_0xcdf0fd={})=>{const _0x35c786=_0x514877['model'],_0x1e73fb=_0x514877[_0x51c7('0x21')][_0x51c7('0x2')][_0x51c7('0x1e')],_0x372e52=_0xcdf0fd&&void 0x0!==_0xcdf0fd[_0x51c7('0xb')]?_0xcdf0fd['forceValue']:!_0x27482b['value'];let _0x267fcd;_0xcdf0fd[_0x51c7('0x14')]||(_0xcdf0fd['language']=_0x2c0150[0x0][_0x51c7('0x14')]),_0x267fcd=_0x372e52?Array['from'](_0x1e73fb['getSelectedBlocks']())[_0x51c7('0x1a')](_0x571785=>oo(_0x571785)||function(_0x1e9e5b,_0x840407){if(_0x1e9e5b['is']('rootElement')||_0x840407[_0x51c7('0x1f')](_0x1e9e5b))return!0x1;return _0x840407[_0x51c7('0xe')](_0x1e9e5b[_0x51c7('0x17')],_0x51c7('0x1d'));}(_0x571785,_0x35c786['schema'])):Array[_0x51c7('0x4')](_0x1e73fb[_0x51c7('0x12')]())[_0x51c7('0x1a')](_0x160105=>oo(_0x160105));const _0x7d5162=_0x4516f4(_0x267fcd,_0x35c786);_0x35c786[_0x51c7('0x1b')](()=>{for(const _0x3bea81 of _0x7d5162)_0x42bdf0[_0x51c7('0x13')](_0x3bea81,{'commandName':_0x51c7('0x1d'),'commandParams':[{..._0xcdf0fd,'forceValue':_0x372e52}],'formatGroupId':'blockName'});});}),(_0x42bdf0[_0x51c7('0xa')][_0x51c7('0x7')](_0x51c7('0x1d'),_0x1333d2=>_0x4cdcc0(_0x497148,_0x51c7('0x5'),_0x1333d2)),_0x42bdf0['_descriptionFactory']['registerDescriptionCallback'](_0x31c92d=>{const _0x425ab0=_0x497148['t'],{type:_0x3bde3c,data:_0x1ae5fe}=_0x31c92d;if(_0x51c7('0x9')==_0x3bde3c&&_0x1ae5fe&&_0x51c7('0x1d')==_0x1ae5fe[_0x51c7('0x19')]){const _0x2142b8=_0x1ae5fe[_0x51c7('0xf')][0x0]['language'],_0x58c490=_0x425ab0(_0x2c0150[_0x51c7('0x1c')](_0x46d0a0=>_0x46d0a0['language']===_0x2142b8)[_0x51c7('0x15')]);return _0x1ae5fe[_0x51c7('0xf')][0x0][_0x51c7('0xb')]?{'type':_0x51c7('0x6'),'content':_0x4cdcc0(_0x497148,_0x51c7('0x10'),_0x4cdcc0(_0x497148,_0x51c7('0x5'),0x1)+'\x20('+_0x58c490+')')}:{'type':'format','content':_0x4cdcc0(_0x497148,'*Remove\x20format:*\x20%0',_0x4cdcc0(_0x497148,_0x51c7('0x5'),0x1))};}}));}}function oo(_0x4ec019){return'codeBlock'==_0x4ec019['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cbc=['addCommentThread','enableCommand','has','CommentsEditing','plugins','TrackChangesEditing','get','editor'];(function(_0xb20ef6,_0x3cbc75){const _0x42ccfc=function(_0x23601f){while(--_0x23601f){_0xb20ef6['push'](_0xb20ef6['shift']());}};_0x42ccfc(++_0x3cbc75);}(_0x3cbc,0x92));const _0x42cc=function(_0xb20ef6,_0x3cbc75){_0xb20ef6=_0xb20ef6-0x0;let _0x42ccfc=_0x3cbc[_0xb20ef6];return _0x42ccfc;};import{Plugin as _0x2444b3}from'ckeditor5/src/core';export default class F extends _0x2444b3{['afterInit'](){const _0x15be45=this[_0x42cc('0x5')];if(!_0x15be45['plugins'][_0x42cc('0x0')](_0x42cc('0x1')))return;_0x15be45[_0x42cc('0x2')][_0x42cc('0x4')](_0x42cc('0x3'))[_0x42cc('0x7')](_0x42cc('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2370=['unbindElementFromMarkerName','unlock','merge','start','init','modifySelection','editing','markerNameToElements','addMarker:suggestion:deletion','showSuggestionHighlights','high','bind','plugins','model','enqueueChange','fromRange','downcastDispatcher','markerName','removeMarker:suggestion:deletion','requires','setSelection','getFirstRange','unit','editor','root','TrackChangesEditing','delete','mapper','get','buffer','createRange','detach','writer','isCollapsed','end','data','enableCommand','deleteForward'];(function(_0x2c9ce2,_0x237039){const _0xaa524d=function(_0x5fb893){while(--_0x5fb893){_0x2c9ce2['push'](_0x2c9ce2['shift']());}};_0xaa524d(++_0x237039);}(_0x2370,0x11f));const _0xaa52=function(_0x2c9ce2,_0x237039){_0x2c9ce2=_0x2c9ce2-0x0;let _0xaa524d=_0x2370[_0x2c9ce2];return _0xaa524d;};import{Plugin as _0x1373f4}from'ckeditor5/src/core';import{LiveRange as _0x4f5641}from'ckeditor5/src/engine';import{Delete as _0x19962e}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2196be}from'./utils';export default class G extends _0x1373f4{static get[_0xaa52('0x24')](){return[_0x19962e];}[_0xaa52('0x15')](){const _0xf31c70=this[_0xaa52('0x2')],_0xa5fb4c=_0xf31c70[_0xaa52('0x1d')][_0xaa52('0x7')](_0xaa52('0x4'));_0xa5fb4c[_0xaa52('0xf')](_0xaa52('0x5'));const _0x3f35e4=_0xf31c70['commands'][_0xaa52('0x7')](_0xaa52('0x10'));_0xa5fb4c[_0xaa52('0xf')](_0xaa52('0x10'),(_0x12ec67,_0x37ebd0={})=>{const _0x5596c4=_0xf31c70[_0xaa52('0x1e')]['createSelection'](_0xf31c70[_0xaa52('0x1e')]['document']['selection']);_0x5596c4[_0xaa52('0xc')]&&_0xf31c70['model'][_0xaa52('0x16')](_0x5596c4,{'direction':'forward','unit':_0x37ebd0[_0xaa52('0x1')]});const _0x269561=_0x5596c4[_0xaa52('0x0')](),_0x3cad73=_0x4f5641[_0xaa52('0x20')](_0x269561);let _0x19b5bd;_0x12ec67(_0x37ebd0),_0x19b5bd='$graveyard'==_0x3cad73[_0xaa52('0x3')]['rootName']?_0xf31c70[_0xaa52('0x1e')]['createRange'](_0x269561[_0xaa52('0x14')]):_0xf31c70[_0xaa52('0x1e')][_0xaa52('0x9')](_0x3cad73[_0xaa52('0x14')],_0x3cad73[_0xaa52('0xd')]),_0x3cad73[_0xaa52('0xa')](),_0xf31c70[_0xaa52('0x1e')][_0xaa52('0x1f')](_0x3f35e4[_0xaa52('0x8')]['batch'],_0x14d648=>{_0x3f35e4[_0xaa52('0x8')]['lock'](),_0x14d648[_0xaa52('0x25')](_0x14d648[_0xaa52('0x9')](_0x19b5bd[_0xaa52('0xd')])),_0x3f35e4[_0xaa52('0x8')][_0xaa52('0x12')]();});}),_0xf31c70[_0xaa52('0x17')][_0xaa52('0x21')]['on'](_0xaa52('0x19'),_0x2196be(_0xf31c70,_0xaa52('0x13')),{'priority':_0xaa52('0x1b')}),_0xf31c70[_0xaa52('0xe')][_0xaa52('0x21')]['on'](_0xaa52('0x19'),(_0x4e4a0e,_0x3975dd,_0xcaf36d)=>{_0xcaf36d['options'][_0xaa52('0x1a')]&&_0x2196be(_0xf31c70,_0xaa52('0x13'),{'showActiveMarker':!0x1})[_0xaa52('0x1c')](this)(_0x4e4a0e,_0x3975dd,_0xcaf36d);},{'priority':_0xaa52('0x1b')}),_0xf31c70[_0xaa52('0x17')][_0xaa52('0x21')]['on'](_0xaa52('0x23'),(_0x209d8a,_0x5eadda,_0x4e34c8)=>{const _0x520933=_0x4e34c8[_0xaa52('0x6')][_0xaa52('0x18')](_0x5eadda[_0xaa52('0x22')]);if(_0x520933)for(const _0x5c7469 of _0x520933)_0x5c7469['is']('uiElement')&&(_0x4e34c8['mapper'][_0xaa52('0x11')](_0x5c7469,_0x5eadda[_0xaa52('0x22')]),_0x4e34c8[_0xaa52('0xb')]['remove'](_0x5c7469));},{'priority':_0xaa52('0x1b')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d43=['registerDescriptionCallback','_suggestionFactory','hasAttribute','multipleBlocks','get','isFirstBlockOfListItem','expandListBlocksToCompleteList','change','ELEMENT_','map','from','before','markBlockFormat','mergeListItemBackward','toUpperCase','registerCustomCallback','accept','getAttribute','setSelection','getSelectedBlocks','value','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','getFirstRange','_descriptionFactory','*Format:*\x20remove\x20from\x20%0','forceValue','end','splitListItemAfter','selection','numberedList','enableCommand','splitListItemBefore','ELEMENT_BULLETED_LIST','has','listItemId','DocumentListEditing','bulletedList','after','*Format:*\x20insert\x20into\x20%0','outdentList','format','fromRange','start','slice','DocumentListUtils','listType','*Outdent:*\x20%0','document','model','ELEMENT_NUMBERED_LIST','commandParams','length','add','plugins','*Indent:*\x20%0','nextSibling','createPositionAt','registerElementLabel','execute','documentList','createRange','previousSibling','nodeAfter','indentList','isObject','commandName','markMultiRangeBlockFormat','containsItem','next','commands','findIndex','push','listIndent','detach','mergeListItemForward','_LIST'];(function(_0x40bfb3,_0x4d43fb){const _0x2bfa6b=function(_0xf214b7){while(--_0xf214b7){_0x40bfb3['push'](_0x40bfb3['shift']());}};_0x2bfa6b(++_0x4d43fb);}(_0x4d43,0x174));const _0x2bfa=function(_0x40bfb3,_0x4d43fb){_0x40bfb3=_0x40bfb3-0x0;let _0x2bfa6b=_0x4d43[_0x40bfb3];return _0x2bfa6b;};import{Plugin as _0x2e34d1}from'ckeditor5/src/core';import{getTranslation as _0x106635}from'../utils/common-translations';import{LiveRange as _0x526981}from'ckeditor5/src/engine';export default class L extends _0x2e34d1{['afterInit'](){const _0x1616ed=this['editor'];if(!_0x1616ed[_0x2bfa('0x43')][_0x2bfa('0x2f')](_0x2bfa('0x31')))return;const _0x57cc2f=_0x1616ed['locale'],_0x54ef94=_0x1616ed[_0x2bfa('0x43')][_0x2bfa('0x11')]('TrackChangesEditing'),_0x48b438=_0x1616ed['plugins']['get'](_0x2bfa('0x3a'));function _0x2f2244(_0x3bf41c){return()=>{const _0x49b804=_0x1616ed['commands']['get'](_0x3bf41c);let _0x2a6461=Array[_0x2bfa('0x17')](_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x3d')][_0x2bfa('0x2a')][_0x2bfa('0x20')]());if(_0x151ce3(_0x3bf41c)){_0x2a6461=_0x48b438[_0x2bfa('0x13')](_0x2a6461);const _0x1ca744=[];for(const _0x48ca4c of _0x2a6461)_0x48b438[_0x2bfa('0x12')](_0x48ca4c)&&_0x1ca744['push'](_0x48ca4c);_0x2a6461=_0x1ca744;}_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x14')](()=>{_0x54ef94[_0x2bfa('0x3')](_0x2a6461,{'commandName':_0x3bf41c,'commandParams':[{'forceValue':!_0x49b804[_0x2bfa('0x21')]}],'formatGroupId':'listType'},[],_0x2bfa('0x49'));});};}function _0x4c7927(_0x399ebb){return()=>{const _0x2d8153=function(_0x382256){let _0x224f88=Array[_0x2bfa('0x17')](_0x382256);const _0x3c6c2c=_0x224f88[_0x2bfa('0x7')](_0x12f088=>!_0x12f088[_0x2bfa('0xf')](_0x2bfa('0x30')));return _0x3c6c2c>-0x1&&(_0x224f88=_0x224f88[_0x2bfa('0x39')](0x0,_0x3c6c2c)),_0x224f88;}(_0x1616ed['model'][_0x2bfa('0x3d')][_0x2bfa('0x2a')][_0x2bfa('0x20')]()),_0x196553=_0x2d8153[_0x2d8153[_0x2bfa('0x41')]-0x1],_0x8e46cf=_0x1616ed[_0x2bfa('0x3e')]['schema']['isObject'](_0x196553)?_0x2bfa('0x33'):_0x2bfa('0x28'),_0x8fae2b=_0x1616ed[_0x2bfa('0x3e')]['createRange'](_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x2d8153[0x0],'before'),_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x196553,_0x8e46cf));_0x1616ed['model']['change'](()=>{_0x54ef94[_0x2bfa('0x19')](_0x8fae2b,{'commandName':_0x399ebb,'commandParams':[],'formatGroupId':_0x2bfa('0x3b')},function(_0x4d9830){const _0x720678=new Set();for(const _0xcb9910 of _0x4d9830){let _0x393f55=_0xcb9910['nextSibling'];for(;_0x393f55&&_0x393f55[_0x2bfa('0x1e')](_0x2bfa('0x9'))>_0xcb9910[_0x2bfa('0x1e')](_0x2bfa('0x9'));)_0x720678[_0x2bfa('0x42')](_0x393f55),_0x393f55=_0x393f55['nextSibling'];}return Array['from'](_0x720678);}(_0x2d8153));});};}function _0x32ad8e(_0x25ce9b){return()=>{const _0x1a17f0=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x3d')][_0x2bfa('0x2a')][_0x2bfa('0x20')]()[_0x2bfa('0x5')]()[_0x2bfa('0x21')],_0x37f098=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x1a17f0,_0x2bfa('0x18')),_0xe06a47=_0x1616ed['model'][_0x2bfa('0x46')](_0x1a17f0,0x0),_0x7bc8f6=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x4a')](_0x37f098,_0xe06a47);_0x1616ed['model']['change'](()=>{_0x54ef94['markBlockFormat'](_0x7bc8f6,{'commandName':_0x25ce9b,'commandParams':[],'formatGroupId':_0x2bfa('0x3b')});});};}function _0x151ce3(_0x269acf){const _0x45c09c=_0x1616ed['commands']['get'](_0x2bfa('0x32'))[_0x2bfa('0x21')],_0x4e47fa=_0x1616ed[_0x2bfa('0x6')][_0x2bfa('0x11')](_0x2bfa('0x2b'))[_0x2bfa('0x21')];return _0x2bfa('0x2b')===_0x269acf?_0x45c09c:_0x4e47fa;}_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x2b'),_0x2f2244(_0x2bfa('0x2b'))),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x32'),_0x2f2244(_0x2bfa('0x32'))),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x0'),_0x4c7927(_0x2bfa('0x0'))),_0x54ef94['enableCommand'](_0x2bfa('0x35'),_0x4c7927('outdentList')),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x29'),_0x32ad8e(_0x2bfa('0x29'))),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x2d'),_0x32ad8e(_0x2bfa('0x2d'))),_0x54ef94[_0x2bfa('0x25')][_0x2bfa('0x47')](function(_0x5d2950){const _0x5aeee9=!_0x1616ed[_0x2bfa('0x3e')]['schema'][_0x2bfa('0x1')](_0x5d2950),_0x51ceb8=_0x5d2950[_0x2bfa('0x4b')],_0x11a3ee=_0x5d2950[_0x2bfa('0x45')],_0x270287=_0x5d2950[_0x2bfa('0x1e')](_0x2bfa('0x30')),_0x33297e=!_0x51ceb8||_0x51ceb8['getAttribute'](_0x2bfa('0x30'))!==_0x270287,_0x327198=!_0x11a3ee||_0x11a3ee['getAttribute']('listItemId')!==_0x270287;return _0x5aeee9&&Boolean(_0x270287)&&_0x33297e&&_0x327198;},_0x4a90ae=>_0x106635(_0x57cc2f,'ELEMENT_LIST_ITEM',_0x4a90ae)),_0x54ef94[_0x2bfa('0x25')][_0x2bfa('0xd')](function(_0x2ab7af){const {data:_0x383915}=_0x2ab7af;if(!_0x383915)return;let _0x2805f5,_0x22b12b,_0x5f381a,_0xbad6e2;switch(_0x383915[_0x2bfa('0x2')]){case _0x2bfa('0x32'):_0x5f381a=_0x383915['commandParams'][0x0]['forceValue'],_0xbad6e2=_0x151ce3(_0x383915['commandName']),_0x2805f5=_0x5f381a?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0xbad6e2&&(_0x2805f5='*Change\x20to:*\x20%0'),_0x22b12b={'type':'format','content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,_0x2bfa('0x2e')))};break;case _0x2bfa('0x2b'):_0x5f381a=_0x383915[_0x2bfa('0x40')][0x0][_0x2bfa('0x27')],_0xbad6e2=_0x151ce3(_0x383915[_0x2bfa('0x2')]),_0x2805f5=_0x5f381a?_0x2bfa('0x34'):_0x2bfa('0x26'),_0xbad6e2&&(_0x2805f5=_0x2bfa('0x22')),_0x22b12b={'type':'format','content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,_0x2bfa('0x3f')))};break;case _0x2bfa('0x0'):_0x2805f5=_0x2bfa('0x44'),_0x22b12b={'type':_0x2bfa('0x36'),'content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,_0x2bfa('0x23')))};break;case _0x2bfa('0x35'):_0x2805f5=function(_0x426a47){const _0x3b8f25=_0x426a47[_0x2bfa('0x24')]();let _0x538269=_0x3b8f25[_0x2bfa('0x38')][_0x2bfa('0x4c')];for(;_0x538269&&_0x3b8f25[_0x2bfa('0x4')](_0x538269);){if(_0x538269[_0x2bfa('0x1e')]('listIndent')>0x0)return!0x1;_0x538269=_0x538269['nextSibling'];}return!0x0;}(_0x2ab7af)?_0x106635(_0x57cc2f,_0x2bfa('0x26'),_0x106635(_0x57cc2f,function(_0x3975a2){const _0x42f679=_0x3975a2[_0x2bfa('0x24')]()[_0x2bfa('0x38')]['nodeAfter'];return _0x2bfa('0x15')+_0x42f679[_0x2bfa('0x1e')](_0x2bfa('0x3b'))[_0x2bfa('0x1b')]()+_0x2bfa('0xc');}(_0x2ab7af))):_0x106635(_0x57cc2f,_0x2bfa('0x3c'),_0x106635(_0x57cc2f,_0x2bfa('0x23'))),_0x22b12b={'type':_0x2bfa('0x36'),'content':_0x2805f5};break;case _0x2bfa('0x1a'):case _0x2bfa('0xb'):!0x1===_0x383915[_0x2bfa('0x10')]&&(_0x2805f5='*Merge:*\x20%0',_0x22b12b={'type':'deletion','content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,'ELEMENT_LIST_ITEM'))});}return _0x22b12b;}),_0x54ef94[_0x2bfa('0xe')][_0x2bfa('0x1c')]('formatBlock',_0x2bfa('0x49'),_0x2bfa('0x1d'),function(_0x19c031,_0x65d1c2){const _0xc2ce0e=[];for(let _0x2613e4 of _0x19c031)_0x2613e4[_0x2bfa('0x38')]['nodeAfter']===_0x2613e4[_0x2bfa('0x28')]['parent']&&(_0x2613e4=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x4a')](_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x2613e4[_0x2bfa('0x38')]['nodeAfter'],0x0))),_0xc2ce0e[_0x2bfa('0x8')](_0x2613e4);_0x1616ed[_0x2bfa('0x3e')]['change'](_0x125bbb=>{const _0x218f0f=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x3d')]['selection'],_0x3be1f9=Array[_0x2bfa('0x17')](_0x218f0f['getRanges']())[_0x2bfa('0x16')](_0x2236fa=>_0x526981[_0x2bfa('0x37')](_0x2236fa));_0x125bbb[_0x2bfa('0x1f')](_0xc2ce0e),_0x1616ed[_0x2bfa('0x6')]['get'](_0x65d1c2['commandName'])['refresh'](),_0x65d1c2['commandParams'][_0x2bfa('0x8')]({'forceDefaultExecution':!0x0}),_0x1616ed[_0x2bfa('0x48')](_0x65d1c2[_0x2bfa('0x2')],..._0x65d1c2[_0x2bfa('0x40')]),_0x125bbb[_0x2bfa('0x1f')](_0x3be1f9);for(const _0xba1987 of _0x3be1f9)_0xba1987[_0x2bfa('0xa')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fe7=['enableCommand','_getSuggestionBlocksForListStyle','handleListStyleCommand','replace','push','styles','handleListReversedCommand','get','registerDescriptionCallback','reversed','handleListStartCommand','plugins','getAttribute','expandListBlocksToCompleteList','commandName','format','isListItemBlock','selection','locale','*Format:*\x20set\x20start\x20index\x20to\x20%0','ELEMENT_','startIndex','listStart','type','*Format:*\x20set\x20order\x20to\x20reversed','afterInit','getSelectedBlocks','listReversed','_getSuggestionBlocks','markMultiRangeBlockFormat','change','*Format:*\x20set\x20order\x20to\x20regular','DocumentListPropertiesEditing','bind','handleDescriptions','model','TrackChangesEditing','commandParams','_LIST_','list.properties','DocumentListPropertiesUtils','filter','DocumentListUtils','listStyle','listType','_descriptionFactory','getListTypeFromListStyleType','toUpperCase','config','document','_getTranslationKeyForListStyle','has','from','editor'];(function(_0x3812a1,_0x4fe7a7){const _0x11d716=function(_0x1bf18d){while(--_0x1bf18d){_0x3812a1['push'](_0x3812a1['shift']());}};_0x11d716(++_0x4fe7a7);}(_0x4fe7,0x14f));const _0x11d7=function(_0x3812a1,_0x4fe7a7){_0x3812a1=_0x3812a1-0x0;let _0x11d716=_0x4fe7[_0x3812a1];return _0x11d716;};import{Plugin as _0x1a6ee3}from'ckeditor5/src/core';import{getTranslation as _0x50d90b}from'../utils/common-translations';export default class At extends _0x1a6ee3{[_0x11d7('0xe')](){if(!this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x28')](_0x11d7('0x15')))return;const _0x128fc8=this[_0x11d7('0x2a')][_0x11d7('0x25')][_0x11d7('0x32')](_0x11d7('0x1c')),_0xa16d40=this['editor'][_0x11d7('0x0')][_0x11d7('0x32')](_0x11d7('0x19'));_0x128fc8[_0x11d7('0x30')]&&_0xa16d40[_0x11d7('0x2b')](_0x11d7('0x20'),this[_0x11d7('0x2d')][_0x11d7('0x16')](this)),_0x128fc8[_0x11d7('0x34')]&&_0xa16d40['enableCommand'](_0x11d7('0x10'),this[_0x11d7('0x31')]['bind'](this)),_0x128fc8[_0x11d7('0xa')]&&_0xa16d40[_0x11d7('0x2b')](_0x11d7('0xb'),this[_0x11d7('0x35')][_0x11d7('0x16')](this)),_0xa16d40[_0x11d7('0x22')][_0x11d7('0x33')](this[_0x11d7('0x17')][_0x11d7('0x16')](this));}[_0x11d7('0x2d')](_0x492b2f,_0xb83c5a={}){const _0xae223d=this[_0x11d7('0x2a')][_0x11d7('0x0')]['get'](_0x11d7('0x19')),_0x2df458=this[_0x11d7('0x2c')]();this[_0x11d7('0x2a')][_0x11d7('0x18')]['change'](()=>{_0xae223d[_0x11d7('0x12')](_0x2df458,{'commandName':_0x11d7('0x20'),'commandParams':[{'type':_0xb83c5a[_0x11d7('0xc')]}],'formatGroupId':_0x11d7('0x20')});});}[_0x11d7('0x31')](_0x89d461,_0x43836b={}){const _0x56e236=this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')]('TrackChangesEditing'),_0x645270=this[_0x11d7('0x2a')][_0x11d7('0x0')]['get'](_0x11d7('0x1f')),_0x12d441=this[_0x11d7('0x11')](_0x18ca8f=>_0x645270[_0x11d7('0x5')](_0x18ca8f)&&'numbered'===_0x18ca8f[_0x11d7('0x1')]('listType'));null!==_0x12d441&&this[_0x11d7('0x2a')][_0x11d7('0x18')][_0x11d7('0x13')](()=>{_0x56e236[_0x11d7('0x12')](_0x12d441,{'commandName':_0x11d7('0x10'),'commandParams':[{'reversed':_0x43836b['reversed']}],'formatGroupId':_0x11d7('0x10')});});}[_0x11d7('0x35')](_0xa0554b,_0x13fe38={}){const _0x427b47=this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')](_0x11d7('0x19')),_0x483f44=this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')]('DocumentListUtils'),_0x4872fc=this['_getSuggestionBlocks'](_0x3c4091=>_0x483f44[_0x11d7('0x5')](_0x3c4091)&&'numbered'===_0x3c4091[_0x11d7('0x1')](_0x11d7('0x21')));null!==_0x4872fc&&this[_0x11d7('0x2a')][_0x11d7('0x18')]['change'](()=>{_0x427b47['markMultiRangeBlockFormat'](_0x4872fc,{'commandName':_0x11d7('0xb'),'commandParams':[{'startIndex':_0x13fe38[_0x11d7('0xa')]}],'formatGroupId':'listStart'});});}[_0x11d7('0x17')](_0x1a8733){const _0x13d587=this[_0x11d7('0x2a')][_0x11d7('0x7')],{data:_0x7343ac}=_0x1a8733;if(!_0x7343ac)return;let _0x53484d,_0x4e7140;switch(_0x7343ac[_0x11d7('0x3')]){case _0x11d7('0x20'):_0x53484d='*Change\x20to:*\x20%0',_0x4e7140={'type':_0x11d7('0x4'),'content':_0x50d90b(_0x13d587,_0x53484d,_0x50d90b(_0x13d587,this[_0x11d7('0x27')](_0x7343ac[_0x11d7('0x1a')][0x0][_0x11d7('0xc')])))};break;case'listReversed':_0x53484d=_0x7343ac['commandParams'][0x0][_0x11d7('0x34')]?_0x11d7('0xd'):_0x11d7('0x14'),_0x4e7140={'type':_0x11d7('0x4'),'content':_0x50d90b(_0x13d587,_0x53484d)};break;case _0x11d7('0xb'):_0x53484d=_0x11d7('0x8'),_0x4e7140={'type':_0x11d7('0x4'),'content':_0x50d90b(_0x13d587,_0x53484d,_0x7343ac[_0x11d7('0x1a')][0x0][_0x11d7('0xa')])};}return _0x4e7140;}[_0x11d7('0x2c')](){const _0x52db35=this[_0x11d7('0x2a')]['plugins'][_0x11d7('0x32')](_0x11d7('0x1f'));let _0x6a58b3=Array[_0x11d7('0x29')](this['editor'][_0x11d7('0x18')][_0x11d7('0x26')]['selection'][_0x11d7('0xf')]());return _0x6a58b3[_0x11d7('0x2f')](..._0x52db35['expandListBlocksToCompleteList'](_0x6a58b3)),_0x6a58b3=[...new Set(_0x6a58b3)],_0x6a58b3;}[_0x11d7('0x11')](_0x465fef){const _0xaff894=this[_0x11d7('0x2a')][_0x11d7('0x0')]['get'](_0x11d7('0x1f'));let _0x5d1ade=Array[_0x11d7('0x29')](this['editor'][_0x11d7('0x18')]['document'][_0x11d7('0x6')][_0x11d7('0xf')]())[_0x11d7('0x1e')](_0x465fef);if(!_0x5d1ade['length'])return null;_0x5d1ade=_0xaff894[_0x11d7('0x2')](_0x5d1ade);const _0x17ada9=[];for(const _0x94102c of _0x5d1ade)_0xaff894['isFirstBlockOfListItem'](_0x94102c)&&_0x17ada9['push'](_0x94102c);return _0x17ada9;}['_getTranslationKeyForListStyle'](_0x10f75a){return _0x11d7('0x9')+this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')](_0x11d7('0x1d'))[_0x11d7('0x23')](_0x10f75a)['toUpperCase']()+_0x11d7('0x1b')+_0x10f75a[_0x11d7('0x24')]()[_0x11d7('0x2e')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aa8=['fromRange','addMarker:suggestion:insertion','options','split','removeMarker:suggestion:insertion','showSuggestionHighlights','editing','requires','change','nextSibling','fire','markerNameToElements','init','enterBlock','afterExecute','hasClass','getFirstRange','unbindElementFromMarkerName','bind','setSelection','high','detach','downcastDispatcher','ck-suggestion-marker-split','model','markInsertion','commands','plugins','get','enter','createPositionAt','selection','markerName','enableCommand','createRange','document','mapper'];(function(_0x5b2dcf,_0x1aa841){const _0x116cf6=function(_0x2fba41){while(--_0x2fba41){_0x5b2dcf['push'](_0x5b2dcf['shift']());}};_0x116cf6(++_0x1aa841);}(_0x1aa8,0x1e3));const _0x116c=function(_0x5b2dcf,_0x1aa841){_0x5b2dcf=_0x5b2dcf-0x0;let _0x116cf6=_0x1aa8[_0x5b2dcf];return _0x116cf6;};import{Plugin as _0x3b5ca6}from'ckeditor5/src/core';import{Enter as _0x24f429}from'ckeditor5/src/enter';import{LiveRange as _0x4d0cc1}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x6f0354}from'./utils';export default class q extends _0x3b5ca6{static get[_0x116c('0x5')](){return[_0x24f429];}[_0x116c('0xa')](){const _0xcd72c4=this['editor'],_0xe7930a=_0xcd72c4[_0x116c('0x19')][_0x116c('0x1a')]('TrackChangesEditing'),_0x470ad0=_0xcd72c4[_0x116c('0x18')][_0x116c('0x1a')]('enter');_0xe7930a[_0x116c('0x1f')](_0x116c('0x1b'),()=>{_0xcd72c4[_0x116c('0x16')][_0x116c('0x6')](_0x38968e=>{const _0x3ec862=_0xcd72c4[_0x116c('0x16')][_0x116c('0x21')][_0x116c('0x1d')],_0x25bc1f=_0x3ec862['getFirstPosition'](),_0x56a4be=_0x4d0cc1[_0x116c('0x23')](_0x3ec862[_0x116c('0xe')]());if(_0x470ad0[_0x116c('0xb')](_0x38968e)){const _0x5096bc=_0xcd72c4[_0x116c('0x16')][_0x116c('0x1c')](_0x25bc1f['parent'][_0x116c('0x7')],0x0),_0x34363e=_0x38968e[_0x116c('0x20')](_0x25bc1f,_0x5096bc);_0xe7930a[_0x116c('0x17')](_0x34363e);}else _0x38968e[_0x116c('0x11')](_0x38968e[_0x116c('0x20')](_0x56a4be['end']));_0x56a4be[_0x116c('0x13')](),_0x470ad0[_0x116c('0x8')](_0x116c('0xc'),{'writer':_0x38968e});});}),_0xcd72c4[_0x116c('0x4')][_0x116c('0x14')]['on'](_0x116c('0x24'),_0x6f0354(_0xcd72c4,_0x116c('0x1')),{'priority':_0x116c('0x12')}),_0xcd72c4[_0x116c('0x4')]['downcastDispatcher']['on'](_0x116c('0x2'),(_0x5e6287,_0x12659d,_0x123a08)=>{const _0x41c33b=_0x123a08[_0x116c('0x22')][_0x116c('0x9')](_0x12659d[_0x116c('0x1e')]);if(_0x41c33b)for(const _0x3c4d5c of _0x41c33b)_0x3c4d5c[_0x116c('0xd')](_0x116c('0x15'))&&(_0x123a08[_0x116c('0x22')][_0x116c('0xf')](_0x3c4d5c,_0x12659d['markerName']),_0x123a08['writer']['remove'](_0x3c4d5c));},{'priority':_0x116c('0x12')}),_0xcd72c4['data'][_0x116c('0x14')]['on'](_0x116c('0x24'),(_0x48bc7c,_0x249724,_0x3b099f)=>{_0x3b099f[_0x116c('0x0')][_0x116c('0x3')]&&_0x6f0354(_0xcd72c4,_0x116c('0x1'),{'showActiveMarker':!0x1})[_0x116c('0x10')](this)(_0x48bc7c,_0x249724,_0x3b099f);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56d7=['model','find','findPrevious','createPositionAt','has','markers','plugins','item','replaceAll','createRange','FindAndReplaceEditing','getIntersection','handleFindCommand','_isInDeletionRange','get','FindAndReplaceUtils','replace','editor','getMarkersGroup','findNext','getRange','start','suggestion:deletion','enableCommand','TrackChangesEditing','findByTextCallback','bind'];(function(_0xe6e34,_0x56d72d){const _0x298729=function(_0x439323){while(--_0x439323){_0xe6e34['push'](_0xe6e34['shift']());}};_0x298729(++_0x56d72d);}(_0x56d7,0x67));const _0x2987=function(_0xe6e34,_0x56d72d){_0xe6e34=_0xe6e34-0x0;let _0x298729=_0x56d7[_0xe6e34];return _0x298729;};import{Plugin as _0x117e92}from'ckeditor5/src/core';export default class z extends _0x117e92{['afterInit'](){if(!this[_0x2987('0x16')][_0x2987('0xb')][_0x2987('0x9')](_0x2987('0xf')))return;const _0x5376d4=this[_0x2987('0x16')][_0x2987('0xb')][_0x2987('0x13')](_0x2987('0x2'));_0x5376d4[_0x2987('0x1')](_0x2987('0x6'),this[_0x2987('0x11')][_0x2987('0x4')](this)),_0x5376d4[_0x2987('0x1')](_0x2987('0x18')),_0x5376d4[_0x2987('0x1')](_0x2987('0x7')),_0x5376d4[_0x2987('0x1')](_0x2987('0x15')),_0x5376d4['enableCommand'](_0x2987('0xd'));}[_0x2987('0x11')](_0x18cbb4,_0x34540f,_0x232382={}){const _0x4021d2=this['editor'][_0x2987('0xb')][_0x2987('0x13')](_0x2987('0x14'));void 0x0!==_0x232382&&_0x18cbb4(_0x587696=>('string'==typeof _0x34540f?_0x4021d2[_0x2987('0x3')](_0x34540f,_0x232382):_0x34540f)(_0x587696)['filter'](_0x2607cb=>!0x1===this[_0x2987('0x12')](_0x2607cb,_0x587696[_0x2987('0xc')])),_0x232382);}[_0x2987('0x12')](_0x44b929,_0x24676c){const _0x4ea3c5=this[_0x2987('0x16')]['model'][_0x2987('0xe')](this[_0x2987('0x16')]['model'][_0x2987('0x8')](_0x24676c,_0x44b929[_0x2987('0x1a')]),this[_0x2987('0x16')][_0x2987('0x5')][_0x2987('0x8')](_0x24676c,_0x44b929['end']));for(const _0x3570f5 of this[_0x2987('0x16')][_0x2987('0x5')][_0x2987('0xa')][_0x2987('0x17')](_0x2987('0x0')))if(null!==_0x4ea3c5[_0x2987('0x10')](_0x3570f5[_0x2987('0x19')]()))return!0x0;return!0x1;}}
|