@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230911.0 → 0.0.0-nightly-20230913.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 +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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230913.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-20230913.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230913.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 _0x348b=['_isEnabledBasedOnSelection','model','isEnabled','TrackChangesEditing','_suggestions','refresh','execute','get','plugins','editor','track-changes-accept-suggestion-not-found','canEditAt'];(function(_0xcb3df0,_0x348bfe){const _0x281011=function(_0x8a192e){while(--_0x8a192e){_0xcb3df0['push'](_0xcb3df0['shift']());}};_0x281011(++_0x348bfe);}(_0x348b,0x99));const _0x2810=function(_0xcb3df0,_0x348bfe){_0xcb3df0=_0xcb3df0-0x0;let _0x281011=_0x348b[_0xcb3df0];return _0x281011;};import{Command as _0x4dc6e6}from'ckeditor5/src/core';import{CKEditorError as _0x1d7690}from'ckeditor5/src/utils';export default class M extends _0x4dc6e6{constructor(_0x3837c7,_0x54be41){super(_0x3837c7),this[_0x2810('0x7')]=_0x54be41,this[_0x2810('0x8')](),this[_0x2810('0x3')]=!0x1;}['refresh'](){this[_0x2810('0x5')]=!0x0;}[_0x2810('0x9')](_0x2a98d3){const _0x38b72c=this[_0x2810('0x7')][_0x2810('0xa')](_0x2a98d3);if(!_0x38b72c)throw new _0x1d7690(_0x2810('0x1'),this);const _0x59c261=_0x38b72c['getRanges']();this[_0x2810('0x0')][_0x2810('0x4')][_0x2810('0x2')](_0x59c261)&&this[_0x2810('0x0')][_0x2810('0xb')][_0x2810('0xa')](_0x2810('0x6'))['acceptSuggestion'](_0x38b72c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18d9=['model','TrackChangesEditing','execute','plugins','discardSuggestion','track-changes-discard-suggestion-not-found','editor','canEditAt','refresh','isEnabled','get'];(function(_0xcd08a1,_0x18d94c){const _0xd76e6a=function(_0x5d0f9f){while(--_0x5d0f9f){_0xcd08a1['push'](_0xcd08a1['shift']());}};_0xd76e6a(++_0x18d94c);}(_0x18d9,0x99));const _0xd76e=function(_0xcd08a1,_0x18d94c){_0xcd08a1=_0xcd08a1-0x0;let _0xd76e6a=_0x18d9[_0xcd08a1];return _0xd76e6a;};import{Command as _0x533250}from'ckeditor5/src/core';import{CKEditorError as _0x55566b}from'ckeditor5/src/utils';export default class $ extends _0x533250{constructor(_0xc26d56,_0x459169){super(_0xc26d56),this['_suggestions']=_0x459169,this[_0xd76e('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0xd76e('0x9')](){this[_0xd76e('0xa')]=!0x0;}[_0xd76e('0x3')](_0x4ae446){const _0x70033=this['_suggestions'][_0xd76e('0x0')](_0x4ae446);if(!_0x70033)throw new _0x55566b(_0xd76e('0x6'),this);const _0x5192a1=_0x70033['getRanges']();this[_0xd76e('0x7')][_0xd76e('0x1')][_0xd76e('0x8')](_0x5192a1)&&this[_0xd76e('0x7')][_0xd76e('0x4')][_0xd76e('0x0')](_0xd76e('0x2'))[_0xd76e('0x5')](_0x70033);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x314b=['refresh','values','_command','editor','model','canEditAt','execute','some','from','_isEnabledBasedOnSelection','isEnabled','getRanges','isInContent','_suggestions'];(function(_0x31a975,_0x314b21){const _0x21be8a=function(_0x2e2187){while(--_0x2e2187){_0x31a975['push'](_0x31a975['shift']());}};_0x21be8a(++_0x314b21);}(_0x314b,0x134));const _0x21be=function(_0x31a975,_0x314b21){_0x31a975=_0x31a975-0x0;let _0x21be8a=_0x314b[_0x31a975];return _0x21be8a;};import{Command as _0x2aff75}from'ckeditor5/src/core';import{sortSuggestions as _0x204eb2,executeCommandForSuggestions as _0xf144ad}from'../utils/utils';export default class N extends _0x2aff75{constructor(_0x4b1c8a,_0x18c033,_0x276476){super(_0x4b1c8a),this['_command']=_0x18c033,this[_0x21be('0xd')]=_0x276476,this[_0x21be('0x0')](),this[_0x21be('0x9')]=!0x1;}[_0x21be('0x0')](){const _0x163c1e=Array[_0x21be('0x8')](this['_suggestions']['values']())[_0x21be('0x7')](_0xf01a4c=>_0xf01a4c[_0x21be('0xc')]);this[_0x21be('0xa')]=this[_0x21be('0x2')][_0x21be('0xa')]&&_0x163c1e;}[_0x21be('0x6')](){const _0x235e75=_0x204eb2(Array[_0x21be('0x8')](this[_0x21be('0xd')][_0x21be('0x1')]()));for(const _0x12c5c7 of _0x235e75){const _0x33bafc=_0x12c5c7[_0x21be('0xb')]();if(!this[_0x21be('0x3')][_0x21be('0x4')][_0x21be('0x5')](_0x33bafc))return;}_0xf144ad(this[_0x21be('0x3')]['model'],this[_0x21be('0x2')],_0x235e75);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x313e=['_isEnabledBasedOnSelection','from','values','isEnabled','editor','refresh','canEditAt','_command','document','_selectedSuggestions','model','size','_suggestions','selection','execute'];(function(_0xc9edb4,_0x313e62){const _0x12fc33=function(_0x11d336){while(--_0x11d336){_0xc9edb4['push'](_0xc9edb4['shift']());}};_0x12fc33(++_0x313e62);}(_0x313e,0x99));const _0x12fc=function(_0xc9edb4,_0x313e62){_0xc9edb4=_0xc9edb4-0x0;let _0x12fc33=_0x313e[_0xc9edb4];return _0x12fc33;};import{Command as _0xb24d1e}from'ckeditor5/src/core';import{sortSuggestions as _0x26f37b,getSelectedSuggestions as _0x5da892,executeCommandForSuggestions as _0x26298d}from'../utils/utils';export default class R extends _0xb24d1e{constructor(_0xa21247,_0x10d19a,_0x3f70c0){super(_0xa21247),this['_command']=_0x10d19a,this[_0x12fc('0x9')]=_0x3f70c0,this[_0x12fc('0x6')]=new Set(),this[_0x12fc('0x2')](),this[_0x12fc('0xc')]=!0x1;}[_0x12fc('0x2')](){const _0x48ceb1=this[_0x12fc('0x1')][_0x12fc('0x7')][_0x12fc('0x5')][_0x12fc('0xa')],_0x26a25b=Array[_0x12fc('0xd')](this[_0x12fc('0x9')][_0x12fc('0xe')]());this['_selectedSuggestions']=_0x5da892(_0x48ceb1,_0x26a25b),this['isEnabled']=this[_0x12fc('0x4')][_0x12fc('0x0')]&&!!this[_0x12fc('0x6')][_0x12fc('0x8')];}[_0x12fc('0xb')](){const _0x5c3b27=_0x26f37b(Array['from'](this[_0x12fc('0x6')]));for(const _0x4d6786 of _0x5c3b27){const _0x16f357=_0x4d6786['getRanges']();if(!this[_0x12fc('0x1')][_0x12fc('0x7')][_0x12fc('0x3')](_0x16f357))return;}_0x26298d(this[_0x12fc('0x1')][_0x12fc('0x7')],this[_0x12fc('0x4')],_0x5c3b27);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a0a=['forceDisabled','isEnabled','commands','_enableCommands','refresh','clearForceDisabled','editor','affectsData','TrackChangesCommand','_isEnabledBasedOnSelection','value','execute','_disableUnsupportedCommands'];(function(_0x2f06f4,_0x5a0a85){const _0x46f1c6=function(_0x424621){while(--_0x424621){_0x2f06f4['push'](_0x2f06f4['shift']());}};_0x46f1c6(++_0x5a0a85);}(_0x5a0a,0x129));const _0x46f1=function(_0x2f06f4,_0x5a0a85){_0x2f06f4=_0x2f06f4-0x0;let _0x46f1c6=_0x5a0a[_0x2f06f4];return _0x46f1c6;};import{Command as _0x5ca9ad}from'ckeditor5/src/core';export default class _ extends _0x5ca9ad{constructor(_0x1d65d7,_0x256381){super(_0x1d65d7),this['_enabledCommands']=_0x256381,this[_0x46f1('0xc')]=!0x1,this[_0x46f1('0x6')](),this[_0x46f1('0xb')]=!0x1;}[_0x46f1('0x6')](){this[_0x46f1('0x3')]=!0x0;}[_0x46f1('0x0')](){this[_0x46f1('0xc')]=!this[_0x46f1('0xc')],this[_0x46f1('0xc')]?this[_0x46f1('0x1')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0xa40808 of this[_0x46f1('0x8')]['commands'][_0x46f1('0x4')]())_0xa40808[_0x46f1('0x9')]&&!this['_enabledCommands']['has'](_0xa40808)&&_0xa40808[_0x46f1('0x2')](_0x46f1('0xa'));}[_0x46f1('0x5')](){for(const _0x3239d6 of this[_0x46f1('0x8')]['commands'][_0x46f1('0x4')]())_0x3239d6[_0x46f1('0x9')]&&!this['_enabledCommands']['has'](_0x3239d6)&&_0x3239d6[_0x46f1('0x7')](_0x46f1('0xa'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c1d=['*Format:*\x20%0','editor','ltr','FORMAT_ALIGN_TO_RIGHT','getAttribute','getSelectedBlocks','_descriptionFactory','schema','has','selection','enableCommand','model','commandName','AlignmentEditing','FORMAT_ALIGN_TO_CENTER','afterInit','from','filter','alignment','left','right','markBlockFormat','document','contentLanguageDirection','format','checkAttribute','value','change','commandParams'];(function(_0x3b23c6,_0x5c1db1){const _0x174cb0=function(_0x5beef4){while(--_0x5beef4){_0x3b23c6['push'](_0x3b23c6['shift']());}};_0x174cb0(++_0x5c1db1);}(_0x5c1d,0x15c));const _0x174c=function(_0x3b23c6,_0x5c1db1){_0x3b23c6=_0x3b23c6-0x0;let _0x174cb0=_0x5c1d[_0x3b23c6];return _0x174cb0;};import{Plugin as _0x41eae6}from'ckeditor5/src/core';import{getTranslation as _0x2f26b0}from'../utils/common-translations';export default class j extends _0x41eae6{[_0x174c('0xf')](){const _0xf226a5=this[_0x174c('0x1')],_0x182a53=_0xf226a5['locale'];if(!_0xf226a5['plugins'][_0x174c('0x8')](_0x174c('0xd')))return;const _0x9ed653=_0xf226a5['plugins']['get']('TrackChangesEditing');_0x9ed653[_0x174c('0xa')](_0x174c('0x12'),(_0x2e3706,_0x57be84={})=>{let _0x46c782=_0x57be84['value'];_0x57be84['value']||(_0x46c782=_0x174c('0x2')===_0xf226a5['locale'][_0x174c('0x17')]?_0x174c('0x13'):_0x174c('0x14'));const _0x54e668=Array[_0x174c('0x10')](this[_0x174c('0x1')]['model'][_0x174c('0x16')][_0x174c('0x9')][_0x174c('0x5')]())[_0x174c('0x11')](_0x19e36c=>function(_0x48faba,_0x3a8e70,_0x518763){const _0x3c44a8=_0x48faba[_0x174c('0x4')](_0x174c('0x12'))||null;return _0x3a8e70[_0x174c('0x19')](_0x48faba,_0x174c('0x12'))&&_0x518763!=_0x3c44a8;}(_0x19e36c,this[_0x174c('0x1')][_0x174c('0xb')][_0x174c('0x7')],_0x46c782));_0xf226a5[_0x174c('0xb')][_0x174c('0x1b')](()=>{for(const _0x3b72d6 of _0x54e668)_0x9ed653[_0x174c('0x15')](_0x3b72d6,{'commandName':_0x174c('0x12'),'commandParams':[{'value':_0x46c782}]});});}),_0x9ed653[_0x174c('0x6')]['registerDescriptionCallback'](_0x3e5684=>{const {data:_0x4fc073}=_0x3e5684;if(_0x4fc073&&_0x174c('0x12')==_0x4fc073[_0x174c('0xc')]){const _0x4acc46=_0x4fc073[_0x174c('0x1c')][0x0][_0x174c('0x1a')];return{'type':_0x174c('0x18'),'content':_0x2f26b0(_0x182a53,_0x174c('0x0'),function(_0x855635){switch(_0x855635){case'left':return _0x2f26b0(_0x182a53,'FORMAT_ALIGN_TO_LEFT');case _0x174c('0x14'):return _0x2f26b0(_0x182a53,_0x174c('0x3'));case'center':return _0x2f26b0(_0x182a53,_0x174c('0xe'));case'justify':return _0x2f26b0(_0x182a53,'FORMAT_JUSTIFY_TEXT');}}(_0x4acc46))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a67=['has','format','forceValue','FORMAT_SUPERSCRIPT','plugins','italic','bold','commandName','code','subscript','selection','*Remove\x20format:*\x20%0','commands','model','ItalicEditing','locale','UnderlineEditing','commandParams','FORMAT_BOLD','FORMAT_UNDERLINE','from','editor','strikethrough','change','SuperscriptEditing','isCollapsed','value','CodeEditing','FORMAT_ITALIC','StrikethroughEditing','FORMAT_STRIKETHROUGH','enableCommand','SubscriptEditing','TrackChangesEditing','document','superscript','BoldEditing','markInlineFormat'];(function(_0x3b2aa2,_0x1a67b5){const _0x2b359b=function(_0x8fe87e){while(--_0x8fe87e){_0x3b2aa2['push'](_0x3b2aa2['shift']());}};_0x2b359b(++_0x1a67b5);}(_0x1a67,0x15c));const _0x2b35=function(_0x3b2aa2,_0x1a67b5){_0x3b2aa2=_0x3b2aa2-0x0;let _0x2b359b=_0x1a67[_0x3b2aa2];return _0x2b359b;};import{Plugin as _0x1d901b}from'ckeditor5/src/core';import{getTranslation as _0x32565a}from'../utils/common-translations';import{getRangesWithAttribute as _0x1f64eb}from'./utils';const Yt=[_0x2b35('0x1e'),_0x2b35('0x8'),_0x2b35('0xa'),_0x2b35('0x15'),_0x2b35('0x17'),_0x2b35('0x1a'),_0x2b35('0x12')];export default class x extends _0x1d901b{['afterInit'](){const _0x160f8e=this[_0x2b35('0xf')],_0x4c4108=_0x160f8e[_0x2b35('0x7')],_0x2f4929=_0x160f8e[_0x2b35('0x24')]['get'](_0x2b35('0x1b')),_0x25801b=_0x160f8e[_0x2b35('0x9')];for(const _0x385048 of Yt){if(!_0x160f8e['plugins'][_0x2b35('0x20')](_0x385048))continue;const _0x34fecb=_0x385048['slice'](0x0,-0x7)['toLowerCase'](),_0x1266e0=_0x160f8e[_0x2b35('0x6')]['get'](_0x34fecb);_0x2f4929[_0x2b35('0x19')](_0x34fecb,(_0x407ce6,_0x469ee2={})=>{const _0x5a752b=_0x4c4108[_0x2b35('0x1c')][_0x2b35('0x4')];if(_0x5a752b[_0x2b35('0x13')])return void _0x407ce6(_0x469ee2);const _0x1d389f=void 0x0!==_0x469ee2[_0x2b35('0x22')]?_0x469ee2[_0x2b35('0x22')]:!_0x1266e0[_0x2b35('0x14')];_0x4c4108[_0x2b35('0x11')](()=>{const _0x1d5edf=Array[_0x2b35('0xe')](_0x5a752b['getRanges']());for(const _0x5e11c5 of _0x1d5edf){const _0x25cf33=_0x1d389f?[_0x5e11c5]:_0x1f64eb(_0x34fecb,_0x5e11c5,_0x4c4108);for(const _0x275107 of _0x25cf33)_0x2f4929[_0x2b35('0x1f')](_0x275107,{'commandName':_0x34fecb,'commandParams':[{'forceValue':_0x1d389f}]});}});});}function _0x3947f5(_0x554fd4,_0x49c779){_0x2f4929['_descriptionFactory']['registerDescriptionCallback'](_0xba5c0a=>{const {data:_0xb53e40}=_0xba5c0a;if(_0xb53e40&&_0xb53e40[_0x2b35('0x1')]===_0x554fd4)return _0xb53e40[_0x2b35('0xb')][0x0][_0x2b35('0x22')]?{'type':_0x2b35('0x21'),'content':_0x32565a(_0x25801b,'*Format:*\x20%0',_0x49c779)}:{'type':_0x2b35('0x21'),'content':_0x32565a(_0x25801b,_0x2b35('0x5'),_0x49c779)};});}_0x3947f5(_0x2b35('0x0'),_0x32565a(_0x25801b,_0x2b35('0xc'))),_0x3947f5(_0x2b35('0x25'),_0x32565a(_0x25801b,_0x2b35('0x16'))),_0x3947f5('underline',_0x32565a(_0x25801b,_0x2b35('0xd'))),_0x3947f5(_0x2b35('0x2'),_0x32565a(_0x25801b,'FORMAT_CODE')),_0x3947f5(_0x2b35('0x10'),_0x32565a(_0x25801b,_0x2b35('0x18'))),_0x3947f5(_0x2b35('0x3'),_0x32565a(_0x25801b,'FORMAT_SUBSCRIPT')),_0x3947f5(_0x2b35('0x1d'),_0x32565a(_0x25801b,_0x2b35('0x23')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x706c=['commands','markBlockFormat','get','checkChild','TrackChangesEditing','ELEMENT_BLOCK_QUOTE','*Remove\x20format:*\x20%0','format','registerDescriptionCallback','from','document','name','forceValue','model','schema','commandParams','editor','$root','enableCommand','getSelectedBlocks','blockQuote','value'];(function(_0x31ba01,_0x706ce){const _0x427b45=function(_0x488c8a){while(--_0x488c8a){_0x31ba01['push'](_0x31ba01['shift']());}};_0x427b45(++_0x706ce);}(_0x706c,0x135));const _0x427b=function(_0x31ba01,_0x706ce){_0x31ba01=_0x31ba01-0x0;let _0x427b45=_0x706c[_0x31ba01];return _0x427b45;};import{Plugin as _0x49b813}from'ckeditor5/src/core';import{getTranslation as _0x5b1479}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5839ac}from'../utils/utils';export default class U extends _0x49b813{['afterInit'](){const _0x473bf5=this[_0x427b('0xf')],_0xfa6d4b=_0x473bf5['locale'];if(!_0x473bf5['plugins']['has']('BlockQuoteEditing'))return;const _0x20f94b=_0x473bf5['plugins'][_0x427b('0x1')](_0x427b('0x3')),_0x45aab1=this[_0x427b('0xf')][_0x427b('0x15')][_0x427b('0x1')](_0x427b('0x13'));_0x20f94b[_0x427b('0x11')](_0x427b('0x13'),(_0x3ecfe1,_0x137d65={})=>{const _0x43ddd3=this[_0x427b('0xf')]['model'][_0x427b('0x9')]['selection'],_0xcd87d2=_0x137d65&&void 0x0!==_0x137d65[_0x427b('0xb')]?_0x137d65[_0x427b('0xb')]:!_0x45aab1[_0x427b('0x14')];let _0x2fff19=[];if(_0xcd87d2){const _0xfdc075=Array[_0x427b('0x8')](_0x43ddd3[_0x427b('0x12')]())['filter'](_0x4458a2=>to(_0x4458a2)||function(_0x30d405,_0x293b5b){const _0x167a50=_0x293b5b[_0x427b('0x2')](_0x30d405['parent'],_0x427b('0x13')),_0x27e64a=_0x293b5b[_0x427b('0x2')]([_0x427b('0x10'),'blockQuote'],_0x30d405);return _0x167a50&&_0x27e64a;}(_0x4458a2,this[_0x427b('0xf')][_0x427b('0xc')][_0x427b('0xd')]));_0x2fff19=_0x5839ac(_0xfdc075,_0x473bf5[_0x427b('0xc')]);}else{const _0x926a92=Array[_0x427b('0x8')](_0x43ddd3[_0x427b('0x12')]())['filter'](_0x549880=>to(_0x549880));_0x2fff19=_0x5839ac(_0x926a92,_0x473bf5['model']);}_0x473bf5['model']['change'](()=>{for(const _0x2afba2 of _0x2fff19)_0x20f94b[_0x427b('0x0')](_0x2afba2,{'commandName':_0x427b('0x13'),'commandParams':[{'forceValue':_0xcd87d2}]});});}),_0x20f94b['_descriptionFactory'][_0x427b('0x7')](_0xfef222=>{const {data:_0x4b22c7}=_0xfef222;if(_0x4b22c7&&_0x427b('0x13')==_0x4b22c7['commandName']){const _0x3e20b8=_0x5b1479(_0xfa6d4b,_0x427b('0x4'));return _0x4b22c7[_0x427b('0xe')][0x0][_0x427b('0xb')]?{'type':_0x427b('0x6'),'content':_0x5b1479(_0xfa6d4b,'*Format:*\x20%0',_0x3e20b8)}:{'type':_0x427b('0x6'),'content':_0x5b1479(_0xfa6d4b,_0x427b('0x5'),_0x3e20b8)};}});}}function to(_0x5c53d7){return _0x427b('0x13')==_0x5c53d7['parent'][_0x427b('0xa')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6776=['afterInit','commands','get','TrackChangesEditing','ckbox','editor'];(function(_0x3a7d65,_0x6776c5){const _0x27c86c=function(_0x17a743){while(--_0x17a743){_0x3a7d65['push'](_0x3a7d65['shift']());}};_0x27c86c(++_0x6776c5);}(_0x6776,0x159));const _0x27c8=function(_0x3a7d65,_0x6776c5){_0x3a7d65=_0x3a7d65-0x0;let _0x27c86c=_0x6776[_0x3a7d65];return _0x27c86c;};import{Plugin as _0x27510b}from'ckeditor5/src/core';export default class O extends _0x27510b{[_0x27c8('0x3')](){const _0x2a8f41=this[_0x27c8('0x2')];_0x2a8f41[_0x27c8('0x4')][_0x27c8('0x5')](_0x27c8('0x1'))&&_0x2a8f41['plugins']['get'](_0x27c8('0x0'))['enableCommand'](_0x27c8('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f31=['registerDescriptionCallback','language','commandParams','schema','TrackChangesEditing','codeBlock','*Remove\x20format:*\x20%0','_descriptionFactory','CodeBlock','find','selection','languages','forceValue','enableCommand','rootElement','registerElementLabel','has','model','editor','indentCodeBlock','value','getSelectedBlocks','afterInit','format','filter','markBlockFormat','locale','commandName','parent','ELEMENT_CODE_BLOCK','document','change','get'];(function(_0x451825,_0x2f31ec){const _0x41586c=function(_0x5d3d74){while(--_0x5d3d74){_0x451825['push'](_0x451825['shift']());}};_0x41586c(++_0x2f31ec);}(_0x2f31,0x186));const _0x4158=function(_0x451825,_0x2f31ec){_0x451825=_0x451825-0x0;let _0x41586c=_0x2f31[_0x451825];return _0x41586c;};import{Plugin as _0x202736}from'ckeditor5/src/core';import{getTranslation as _0x3027cd}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3fec24}from'../utils/utils';export default class E extends _0x202736{[_0x4158('0x1c')](){const _0x1c7fe1=this[_0x4158('0x18')];if(!_0x1c7fe1['plugins'][_0x4158('0x16')](_0x4158('0xe')))return;const _0x1c8f7d=_0x1c7fe1['plugins'][_0x4158('0x5')](_0x4158('0xa')),_0x492421=_0x1c7fe1[_0x4158('0x20')],_0x2fc1a7=_0x1c7fe1['config'][_0x4158('0x5')](_0x4158('0xb'))[_0x4158('0x11')],_0x32201c=_0x1c7fe1['commands']['get'](_0x4158('0xb'));_0x1c8f7d[_0x4158('0x13')](_0x4158('0x19')),_0x1c8f7d['enableCommand']('outdentCodeBlock'),_0x1c8f7d[_0x4158('0x13')](_0x4158('0xb'),(_0x1902cb,_0x1ac6ac={})=>{const _0x1f4647=_0x1c7fe1['model'],_0xda0c5b=_0x1c7fe1[_0x4158('0x17')][_0x4158('0x3')][_0x4158('0x10')],_0x16bcbc=_0x1ac6ac&&void 0x0!==_0x1ac6ac[_0x4158('0x12')]?_0x1ac6ac[_0x4158('0x12')]:!_0x32201c[_0x4158('0x1a')];let _0x4f2222;_0x1ac6ac[_0x4158('0x7')]||(_0x1ac6ac[_0x4158('0x7')]=_0x2fc1a7[0x0]['language']),_0x4f2222=_0x16bcbc?Array['from'](_0xda0c5b[_0x4158('0x1b')]())[_0x4158('0x1e')](_0x354fbc=>oo(_0x354fbc)||function(_0x3034c1,_0xf1bd22){if(_0x3034c1['is'](_0x4158('0x14'))||_0xf1bd22['isLimit'](_0x3034c1))return!0x1;return _0xf1bd22['checkChild'](_0x3034c1[_0x4158('0x1')],_0x4158('0xb'));}(_0x354fbc,_0x1f4647[_0x4158('0x9')])):Array['from'](_0xda0c5b[_0x4158('0x1b')]())[_0x4158('0x1e')](_0x283bf1=>oo(_0x283bf1));const _0xe0da9d=_0x3fec24(_0x4f2222,_0x1f4647);_0x1f4647[_0x4158('0x4')](()=>{for(const _0x486aac of _0xe0da9d)_0x1c8f7d[_0x4158('0x1f')](_0x486aac,{'commandName':_0x4158('0xb'),'commandParams':[{..._0x1ac6ac,'forceValue':_0x16bcbc}],'formatGroupId':'blockName'});});}),(_0x1c8f7d['_descriptionFactory'][_0x4158('0x15')](_0x4158('0xb'),_0x25191e=>_0x3027cd(_0x492421,_0x4158('0x2'),_0x25191e)),_0x1c8f7d[_0x4158('0xd')][_0x4158('0x6')](_0x2971de=>{const _0x1017ee=_0x492421['t'],{type:_0x527b5d,data:_0xb8d525}=_0x2971de;if('formatBlock'==_0x527b5d&&_0xb8d525&&'codeBlock'==_0xb8d525[_0x4158('0x0')]){const _0x2c8f=_0xb8d525[_0x4158('0x8')][0x0][_0x4158('0x7')],_0x47d4bd=_0x1017ee(_0x2fc1a7[_0x4158('0xf')](_0x13f95a=>_0x13f95a[_0x4158('0x7')]===_0x2c8f)['label']);return _0xb8d525[_0x4158('0x8')][0x0]['forceValue']?{'type':_0x4158('0x1d'),'content':_0x3027cd(_0x492421,'*Format:*\x20%0',_0x3027cd(_0x492421,_0x4158('0x2'),0x1)+'\x20('+_0x47d4bd+')')}:{'type':_0x4158('0x1d'),'content':_0x3027cd(_0x492421,_0x4158('0xc'),_0x3027cd(_0x492421,_0x4158('0x2'),0x1))};}}));}}function oo(_0x1a602a){return _0x4158('0xb')==_0x1a602a['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e0e=['editor','addCommentThread','plugins','get'];(function(_0x21e1da,_0x4e0e62){const _0x5e3b50=function(_0xa47f59){while(--_0xa47f59){_0x21e1da['push'](_0x21e1da['shift']());}};_0x5e3b50(++_0x4e0e62);}(_0x4e0e,0xf2));const _0x5e3b=function(_0x21e1da,_0x4e0e62){_0x21e1da=_0x21e1da-0x0;let _0x5e3b50=_0x4e0e[_0x21e1da];return _0x5e3b50;};import{Plugin as _0x36c536}from'ckeditor5/src/core';export default class F extends _0x36c536{['afterInit'](){const _0x136cff=this[_0x5e3b('0x2')];if(!_0x136cff[_0x5e3b('0x0')]['has']('CommentsEditing'))return;_0x136cff[_0x5e3b('0x0')][_0x5e3b('0x1')]('TrackChangesEditing')['enableCommand'](_0x5e3b('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24ca=['document','isCollapsed','enableCommand','fromRange','createSelection','options','selection','bind','$graveyard','get','unlock','deleteForward','addMarker:suggestion:deletion','start','data','createRange','markerNameToElements','commands','remove','editing','model','batch','unit','requires','end','root','mapper','high','enqueueChange','lock','buffer','removeMarker:suggestion:deletion','forward','showSuggestionHighlights','getFirstRange','detach','unbindElementFromMarkerName','editor','markerName','uiElement','rootName','merge','downcastDispatcher','TrackChangesEditing'];(function(_0x1e407d,_0x24ca49){const _0x289918=function(_0x15ffb1){while(--_0x15ffb1){_0x1e407d['push'](_0x1e407d['shift']());}};_0x289918(++_0x24ca49);}(_0x24ca,0xe3));const _0x2899=function(_0x1e407d,_0x24ca49){_0x1e407d=_0x1e407d-0x0;let _0x289918=_0x24ca[_0x1e407d];return _0x289918;};import{Plugin as _0xbf8794}from'ckeditor5/src/core';import{LiveRange as _0x3ab173}from'ckeditor5/src/engine';import{Delete as _0x3e1577}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x433030}from'./utils';export default class G extends _0xbf8794{static get[_0x2899('0x10')](){return[_0x3e1577];}['init'](){const _0x505775=this[_0x2899('0x1e')],_0x5aeba3=_0x505775['plugins'][_0x2899('0x2')](_0x2899('0x24'));_0x5aeba3['enableCommand']('delete');const _0x319e58=_0x505775[_0x2899('0xa')][_0x2899('0x2')]('deleteForward');_0x5aeba3[_0x2899('0x27')](_0x2899('0x4'),(_0x4233ff,_0x2321b6={})=>{const _0x5b852a=_0x505775[_0x2899('0xd')][_0x2899('0x29')](_0x505775[_0x2899('0xd')][_0x2899('0x25')][_0x2899('0x2b')]);_0x5b852a[_0x2899('0x26')]&&_0x505775[_0x2899('0xd')]['modifySelection'](_0x5b852a,{'direction':_0x2899('0x19'),'unit':_0x2321b6[_0x2899('0xf')]});const _0x386f11=_0x5b852a[_0x2899('0x1b')](),_0x54eda5=_0x3ab173[_0x2899('0x28')](_0x386f11);let _0x23a021;_0x4233ff(_0x2321b6),_0x23a021=_0x2899('0x1')==_0x54eda5[_0x2899('0x12')][_0x2899('0x21')]?_0x505775['model'][_0x2899('0x8')](_0x386f11[_0x2899('0x6')]):_0x505775[_0x2899('0xd')][_0x2899('0x8')](_0x54eda5[_0x2899('0x6')],_0x54eda5[_0x2899('0x11')]),_0x54eda5[_0x2899('0x1c')](),_0x505775[_0x2899('0xd')][_0x2899('0x15')](_0x319e58[_0x2899('0x17')][_0x2899('0xe')],_0x402674=>{_0x319e58['buffer'][_0x2899('0x16')](),_0x402674['setSelection'](_0x402674['createRange'](_0x23a021[_0x2899('0x11')])),_0x319e58[_0x2899('0x17')][_0x2899('0x3')]();});}),_0x505775[_0x2899('0xc')][_0x2899('0x23')]['on'](_0x2899('0x5'),_0x433030(_0x505775,'merge'),{'priority':'high'}),_0x505775[_0x2899('0x7')]['downcastDispatcher']['on'](_0x2899('0x5'),(_0x21c06b,_0x164f2a,_0x2f7219)=>{_0x2f7219[_0x2899('0x2a')][_0x2899('0x1a')]&&_0x433030(_0x505775,_0x2899('0x22'),{'showActiveMarker':!0x1})[_0x2899('0x0')](this)(_0x21c06b,_0x164f2a,_0x2f7219);},{'priority':_0x2899('0x14')}),_0x505775[_0x2899('0xc')][_0x2899('0x23')]['on'](_0x2899('0x18'),(_0x469594,_0x23c75d,_0x390481)=>{const _0x2c7cda=_0x390481[_0x2899('0x13')][_0x2899('0x9')](_0x23c75d[_0x2899('0x1f')]);if(_0x2c7cda)for(const _0x5a3a33 of _0x2c7cda)_0x5a3a33['is'](_0x2899('0x20'))&&(_0x390481[_0x2899('0x13')][_0x2899('0x1d')](_0x5a3a33,_0x23c75d[_0x2899('0x1f')]),_0x390481['writer'][_0x2899('0xb')](_0x5a3a33));},{'priority':_0x2899('0x14')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e80=['bulletedList','ELEMENT_LIST_ITEM','registerCustomCallback','DocumentListEditing','numberedList','commands','splitListItemBefore','start','editor','forceValue','selection','length','listIndent','listType','getSelectedBlocks','findIndex','map','ELEMENT_NUMBERED_LIST','documentList','nextSibling','change','containsItem','end','model','add','push','parent','format','expandListBlocksToCompleteList','detach','locale','schema','from','indentList','value','mergeListItemForward','isFirstBlockOfListItem','previousSibling','document','registerElementLabel','accept','outdentList','slice','TrackChangesEditing','nodeAfter','next','_descriptionFactory','ELEMENT_','createRange','listItemId','getAttribute','splitListItemAfter','markBlockFormat','DocumentListUtils','getFirstRange','commandParams','commandName','createPositionAt','*Merge:*\x20%0','afterInit','ELEMENT_BULLETED_LIST','hasAttribute','setSelection','plugins','enableCommand','get','*Format:*\x20remove\x20from\x20%0','*Change\x20to:*\x20%0','deletion','isObject','*Format:*\x20insert\x20into\x20%0','before'];(function(_0x36a75e,_0x3e80de){const _0x248565=function(_0x1c39ce){while(--_0x1c39ce){_0x36a75e['push'](_0x36a75e['shift']());}};_0x248565(++_0x3e80de);}(_0x3e80,0x149));const _0x2485=function(_0x36a75e,_0x3e80de){_0x36a75e=_0x36a75e-0x0;let _0x248565=_0x3e80[_0x36a75e];return _0x248565;};import{Plugin as _0x29e4dc}from'ckeditor5/src/core';import{getTranslation as _0x5127a8}from'../utils/common-translations';import{LiveRange as _0x5f31f9}from'ckeditor5/src/engine';export default class L extends _0x29e4dc{[_0x2485('0x12')](){const _0x7eaf07=this[_0x2485('0x27')];if(!_0x7eaf07[_0x2485('0x16')]['has'](_0x2485('0x22')))return;const _0x45be8b=_0x7eaf07[_0x2485('0x3d')],_0x18498e=_0x7eaf07[_0x2485('0x16')]['get'](_0x2485('0x2')),_0x28a835=_0x7eaf07[_0x2485('0x16')][_0x2485('0x18')](_0x2485('0xc'));function _0x855e6(_0x423ab1){return()=>{const _0x5a2a73=_0x7eaf07[_0x2485('0x24')][_0x2485('0x18')](_0x423ab1);let _0x2101f7=Array[_0x2485('0x3f')](_0x7eaf07[_0x2485('0x36')][_0x2485('0x45')]['selection'][_0x2485('0x2d')]());if(_0x500540(_0x423ab1)){_0x2101f7=_0x28a835[_0x2485('0x3b')](_0x2101f7);const _0x16391d=[];for(const _0x15f74b of _0x2101f7)_0x28a835[_0x2485('0x43')](_0x15f74b)&&_0x16391d[_0x2485('0x38')](_0x15f74b);_0x2101f7=_0x16391d;}_0x7eaf07[_0x2485('0x36')]['change'](()=>{_0x18498e['markMultiRangeBlockFormat'](_0x2101f7,{'commandName':_0x423ab1,'commandParams':[{'forceValue':!_0x5a2a73[_0x2485('0x41')]}],'formatGroupId':_0x2485('0x2c')},[],_0x2485('0x31'));});};}function _0xb356d9(_0x35716c){return()=>{const _0x5cd0e7=function(_0x136f73){let _0x14fd77=Array[_0x2485('0x3f')](_0x136f73);const _0x85417=_0x14fd77[_0x2485('0x2e')](_0x39d653=>!_0x39d653[_0x2485('0x14')](_0x2485('0x8')));return _0x85417>-0x1&&(_0x14fd77=_0x14fd77[_0x2485('0x1')](0x0,_0x85417)),_0x14fd77;}(_0x7eaf07['model']['document'][_0x2485('0x29')][_0x2485('0x2d')]()),_0x29f1b3=_0x5cd0e7[_0x5cd0e7[_0x2485('0x2a')]-0x1],_0x16ab34=_0x7eaf07['model'][_0x2485('0x3e')][_0x2485('0x1c')](_0x29f1b3)?'after':'end',_0x38dd99=_0x7eaf07[_0x2485('0x36')][_0x2485('0x7')](_0x7eaf07[_0x2485('0x36')]['createPositionAt'](_0x5cd0e7[0x0],_0x2485('0x1e')),_0x7eaf07['model'][_0x2485('0x10')](_0x29f1b3,_0x16ab34));_0x7eaf07[_0x2485('0x36')][_0x2485('0x33')](()=>{_0x18498e[_0x2485('0xb')](_0x38dd99,{'commandName':_0x35716c,'commandParams':[],'formatGroupId':_0x2485('0x2c')},function(_0x424f7e){const _0x20e5de=new Set();for(const _0x2a4104 of _0x424f7e){let _0x3ebfbc=_0x2a4104[_0x2485('0x32')];for(;_0x3ebfbc&&_0x3ebfbc[_0x2485('0x9')](_0x2485('0x2b'))>_0x2a4104[_0x2485('0x9')](_0x2485('0x2b'));)_0x20e5de[_0x2485('0x37')](_0x3ebfbc),_0x3ebfbc=_0x3ebfbc[_0x2485('0x32')];}return Array['from'](_0x20e5de);}(_0x5cd0e7));});};}function _0x1a364f(_0x701a86){return()=>{const _0x1a1bc0=_0x7eaf07[_0x2485('0x36')][_0x2485('0x45')][_0x2485('0x29')][_0x2485('0x2d')]()[_0x2485('0x4')]()['value'],_0x3d2ca0=_0x7eaf07[_0x2485('0x36')][_0x2485('0x10')](_0x1a1bc0,'before'),_0x44fa21=_0x7eaf07['model'][_0x2485('0x10')](_0x1a1bc0,0x0),_0x2ad26b=_0x7eaf07['model'][_0x2485('0x7')](_0x3d2ca0,_0x44fa21);_0x7eaf07[_0x2485('0x36')][_0x2485('0x33')](()=>{_0x18498e['markBlockFormat'](_0x2ad26b,{'commandName':_0x701a86,'commandParams':[],'formatGroupId':_0x2485('0x2c')});});};}function _0x500540(_0x3a7662){const _0x278b23=_0x7eaf07[_0x2485('0x24')][_0x2485('0x18')](_0x2485('0x1f'))[_0x2485('0x41')],_0xe11d16=_0x7eaf07[_0x2485('0x24')][_0x2485('0x18')](_0x2485('0x23'))[_0x2485('0x41')];return _0x2485('0x23')===_0x3a7662?_0x278b23:_0xe11d16;}_0x18498e[_0x2485('0x17')](_0x2485('0x23'),_0x855e6(_0x2485('0x23'))),_0x18498e[_0x2485('0x17')](_0x2485('0x1f'),_0x855e6('bulletedList')),_0x18498e[_0x2485('0x17')](_0x2485('0x40'),_0xb356d9('indentList')),_0x18498e[_0x2485('0x17')](_0x2485('0x0'),_0xb356d9(_0x2485('0x0'))),_0x18498e[_0x2485('0x17')](_0x2485('0xa'),_0x1a364f(_0x2485('0xa'))),_0x18498e[_0x2485('0x17')](_0x2485('0x25'),_0x1a364f('splitListItemBefore')),_0x18498e[_0x2485('0x5')][_0x2485('0x46')](function(_0x442e50){const _0x4150fa=!_0x7eaf07[_0x2485('0x36')]['schema'][_0x2485('0x1c')](_0x442e50),_0x49e877=_0x442e50[_0x2485('0x44')],_0x1902c0=_0x442e50[_0x2485('0x32')],_0x1b3d66=_0x442e50['getAttribute'](_0x2485('0x8')),_0x6ebc98=!_0x49e877||_0x49e877[_0x2485('0x9')](_0x2485('0x8'))!==_0x1b3d66,_0x2ce6d0=!_0x1902c0||_0x1902c0['getAttribute'](_0x2485('0x8'))!==_0x1b3d66;return _0x4150fa&&Boolean(_0x1b3d66)&&_0x6ebc98&&_0x2ce6d0;},_0x1397cd=>_0x5127a8(_0x45be8b,'ELEMENT_LIST_ITEM',_0x1397cd)),_0x18498e[_0x2485('0x5')]['registerDescriptionCallback'](function(_0x462f29){const {data:_0x39fc06}=_0x462f29;if(!_0x39fc06)return;let _0x55acf2,_0x59aec4,_0x4a38fd,_0x55a92b;switch(_0x39fc06[_0x2485('0xf')]){case _0x2485('0x1f'):_0x4a38fd=_0x39fc06[_0x2485('0xe')][0x0][_0x2485('0x28')],_0x55a92b=_0x500540(_0x39fc06[_0x2485('0xf')]),_0x55acf2=_0x4a38fd?_0x2485('0x1d'):_0x2485('0x19'),_0x55a92b&&(_0x55acf2=_0x2485('0x1a')),_0x59aec4={'type':'format','content':_0x5127a8(_0x45be8b,_0x55acf2,_0x5127a8(_0x45be8b,_0x2485('0x13')))};break;case'numberedList':_0x4a38fd=_0x39fc06[_0x2485('0xe')][0x0][_0x2485('0x28')],_0x55a92b=_0x500540(_0x39fc06[_0x2485('0xf')]),_0x55acf2=_0x4a38fd?_0x2485('0x1d'):_0x2485('0x19'),_0x55a92b&&(_0x55acf2=_0x2485('0x1a')),_0x59aec4={'type':_0x2485('0x3a'),'content':_0x5127a8(_0x45be8b,_0x55acf2,_0x5127a8(_0x45be8b,_0x2485('0x30')))};break;case _0x2485('0x40'):_0x55acf2='*Indent:*\x20%0',_0x59aec4={'type':_0x2485('0x3a'),'content':_0x5127a8(_0x45be8b,_0x55acf2,_0x5127a8(_0x45be8b,_0x2485('0x20')))};break;case _0x2485('0x0'):_0x55acf2=function(_0x12d7db){const _0xf5b1a6=_0x12d7db[_0x2485('0xd')]();let _0x4e6853=_0xf5b1a6['start'][_0x2485('0x3')];for(;_0x4e6853&&_0xf5b1a6[_0x2485('0x34')](_0x4e6853);){if(_0x4e6853[_0x2485('0x9')](_0x2485('0x2b'))>0x0)return!0x1;_0x4e6853=_0x4e6853[_0x2485('0x32')];}return!0x0;}(_0x462f29)?_0x5127a8(_0x45be8b,_0x2485('0x19'),_0x5127a8(_0x45be8b,function(_0x3290fe){const _0x16352a=_0x3290fe['getFirstRange']()[_0x2485('0x26')]['nodeAfter'];return _0x2485('0x6')+_0x16352a[_0x2485('0x9')](_0x2485('0x2c'))['toUpperCase']()+'_LIST';}(_0x462f29))):_0x5127a8(_0x45be8b,'*Outdent:*\x20%0',_0x5127a8(_0x45be8b,'ELEMENT_LIST_ITEM')),_0x59aec4={'type':_0x2485('0x3a'),'content':_0x55acf2};break;case'mergeListItemBackward':case _0x2485('0x42'):!0x1===_0x39fc06['multipleBlocks']&&(_0x55acf2=_0x2485('0x11'),_0x59aec4={'type':_0x2485('0x1b'),'content':_0x5127a8(_0x45be8b,_0x55acf2,_0x5127a8(_0x45be8b,_0x2485('0x20')))});}return _0x59aec4;}),_0x18498e['_suggestionFactory'][_0x2485('0x21')]('formatBlock',_0x2485('0x31'),_0x2485('0x47'),function(_0x21322c,_0x541b2a){const _0x3d8bf9=[];for(let _0x1b744c of _0x21322c)_0x1b744c[_0x2485('0x26')][_0x2485('0x3')]===_0x1b744c[_0x2485('0x35')][_0x2485('0x39')]&&(_0x1b744c=_0x7eaf07[_0x2485('0x36')][_0x2485('0x7')](_0x7eaf07[_0x2485('0x36')][_0x2485('0x10')](_0x1b744c['start'][_0x2485('0x3')],0x0))),_0x3d8bf9['push'](_0x1b744c);_0x7eaf07[_0x2485('0x36')][_0x2485('0x33')](_0x13317a=>{const _0x5c4c72=_0x7eaf07['model'][_0x2485('0x45')]['selection'],_0x3214ce=Array[_0x2485('0x3f')](_0x5c4c72['getRanges']())[_0x2485('0x2f')](_0x2c3d68=>_0x5f31f9['fromRange'](_0x2c3d68));_0x13317a[_0x2485('0x15')](_0x3d8bf9),_0x7eaf07[_0x2485('0x24')][_0x2485('0x18')](_0x541b2a[_0x2485('0xf')])['refresh'](),_0x541b2a[_0x2485('0xe')][_0x2485('0x38')]({'forceDefaultExecution':!0x0}),_0x7eaf07['execute'](_0x541b2a['commandName'],..._0x541b2a[_0x2485('0xe')]),_0x13317a['setSelection'](_0x3214ce);for(const _0x1aae50 of _0x3214ce)_0x1aae50[_0x2485('0x3c')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13cd=['getAttribute','_descriptionFactory','*Format:*\x20set\x20start\x20index\x20to\x20%0','type','isFirstBlockOfListItem','has','commandName','DocumentListUtils','handleListReversedCommand','listType','push','*Format:*\x20set\x20order\x20to\x20regular','listStart','styles','document','editor','toUpperCase','TrackChangesEditing','handleDescriptions','numbered','listStyle','handleListStartCommand','afterInit','commandParams','markMultiRangeBlockFormat','getSelectedBlocks','*Change\x20to:*\x20%0','filter','ELEMENT_','get','DocumentListPropertiesEditing','model','getListTypeFromListStyleType','plugins','handleListStyleCommand','bind','format','enableCommand','_getTranslationKeyForListStyle','_getSuggestionBlocksForListStyle','selection','DocumentListPropertiesUtils','list.properties','startIndex','length','from','_LIST_','replace','reversed','_getSuggestionBlocks','change','expandListBlocksToCompleteList','listReversed'];(function(_0x486919,_0x13cda6){const _0x1dc639=function(_0x3030d9){while(--_0x3030d9){_0x486919['push'](_0x486919['shift']());}};_0x1dc639(++_0x13cda6);}(_0x13cd,0x194));const _0x1dc6=function(_0x486919,_0x13cda6){_0x486919=_0x486919-0x0;let _0x1dc639=_0x13cd[_0x486919];return _0x1dc639;};import{Plugin as _0x446334}from'ckeditor5/src/core';import{getTranslation as _0x2fdb7a}from'../utils/common-translations';export default class At extends _0x446334{[_0x1dc6('0x2a')](){if(!this[_0x1dc6('0x23')][_0x1dc6('0x0')][_0x1dc6('0x19')](_0x1dc6('0x32')))return;const _0x458639=this[_0x1dc6('0x23')]['config']['get'](_0x1dc6('0x9')),_0x3aba2f=this[_0x1dc6('0x23')][_0x1dc6('0x0')][_0x1dc6('0x31')](_0x1dc6('0x25'));_0x458639[_0x1dc6('0x21')]&&_0x3aba2f['enableCommand'](_0x1dc6('0x28'),this[_0x1dc6('0x1')][_0x1dc6('0x2')](this)),_0x458639['reversed']&&_0x3aba2f[_0x1dc6('0x4')](_0x1dc6('0x13'),this[_0x1dc6('0x1c')]['bind'](this)),_0x458639['startIndex']&&_0x3aba2f[_0x1dc6('0x4')](_0x1dc6('0x20'),this[_0x1dc6('0x29')][_0x1dc6('0x2')](this)),_0x3aba2f[_0x1dc6('0x15')]['registerDescriptionCallback'](this[_0x1dc6('0x26')][_0x1dc6('0x2')](this));}[_0x1dc6('0x1')](_0x4e9e05,_0x12cb0d={}){const _0x5504fe=this[_0x1dc6('0x23')][_0x1dc6('0x0')][_0x1dc6('0x31')]('TrackChangesEditing'),_0x499aec=this['_getSuggestionBlocksForListStyle']();this[_0x1dc6('0x23')]['model'][_0x1dc6('0x11')](()=>{_0x5504fe['markMultiRangeBlockFormat'](_0x499aec,{'commandName':_0x1dc6('0x28'),'commandParams':[{'type':_0x12cb0d[_0x1dc6('0x17')]}],'formatGroupId':_0x1dc6('0x28')});});}[_0x1dc6('0x1c')](_0xbca77,_0x43a923={}){const _0x186b56=this[_0x1dc6('0x23')][_0x1dc6('0x0')][_0x1dc6('0x31')](_0x1dc6('0x25')),_0x1a3b51=this[_0x1dc6('0x23')][_0x1dc6('0x0')][_0x1dc6('0x31')](_0x1dc6('0x1b')),_0x19e0de=this[_0x1dc6('0x10')](_0x3bc929=>_0x1a3b51['isListItemBlock'](_0x3bc929)&&_0x1dc6('0x27')===_0x3bc929[_0x1dc6('0x14')](_0x1dc6('0x1d')));null!==_0x19e0de&&this['editor'][_0x1dc6('0x33')][_0x1dc6('0x11')](()=>{_0x186b56[_0x1dc6('0x2c')](_0x19e0de,{'commandName':_0x1dc6('0x13'),'commandParams':[{'reversed':_0x43a923[_0x1dc6('0xf')]}],'formatGroupId':'listReversed'});});}[_0x1dc6('0x29')](_0x369b5c,_0x3d2f0f={}){const _0x2191fd=this[_0x1dc6('0x23')][_0x1dc6('0x0')][_0x1dc6('0x31')]('TrackChangesEditing'),_0x2a19f9=this['editor']['plugins'][_0x1dc6('0x31')](_0x1dc6('0x1b')),_0x3f1f83=this[_0x1dc6('0x10')](_0x38a8d=>_0x2a19f9['isListItemBlock'](_0x38a8d)&&_0x1dc6('0x27')===_0x38a8d[_0x1dc6('0x14')](_0x1dc6('0x1d')));null!==_0x3f1f83&&this['editor'][_0x1dc6('0x33')][_0x1dc6('0x11')](()=>{_0x2191fd[_0x1dc6('0x2c')](_0x3f1f83,{'commandName':_0x1dc6('0x20'),'commandParams':[{'startIndex':_0x3d2f0f[_0x1dc6('0xa')]}],'formatGroupId':_0x1dc6('0x20')});});}['handleDescriptions'](_0x1332da){const _0xde063e=this[_0x1dc6('0x23')]['locale'],{data:_0x17d3e0}=_0x1332da;if(!_0x17d3e0)return;let _0x35c152,_0x2931f3;switch(_0x17d3e0[_0x1dc6('0x1a')]){case _0x1dc6('0x28'):_0x35c152=_0x1dc6('0x2e'),_0x2931f3={'type':'format','content':_0x2fdb7a(_0xde063e,_0x35c152,_0x2fdb7a(_0xde063e,this[_0x1dc6('0x5')](_0x17d3e0[_0x1dc6('0x2b')][0x0]['type'])))};break;case _0x1dc6('0x13'):_0x35c152=_0x17d3e0['commandParams'][0x0][_0x1dc6('0xf')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x1dc6('0x1f'),_0x2931f3={'type':_0x1dc6('0x3'),'content':_0x2fdb7a(_0xde063e,_0x35c152)};break;case'listStart':_0x35c152=_0x1dc6('0x16'),_0x2931f3={'type':_0x1dc6('0x3'),'content':_0x2fdb7a(_0xde063e,_0x35c152,_0x17d3e0[_0x1dc6('0x2b')][0x0][_0x1dc6('0xa')])};}return _0x2931f3;}[_0x1dc6('0x6')](){const _0x37d86c=this['editor'][_0x1dc6('0x0')][_0x1dc6('0x31')](_0x1dc6('0x1b'));let _0x4dfeb0=Array[_0x1dc6('0xc')](this[_0x1dc6('0x23')][_0x1dc6('0x33')][_0x1dc6('0x22')]['selection'][_0x1dc6('0x2d')]());return _0x4dfeb0[_0x1dc6('0x1e')](..._0x37d86c[_0x1dc6('0x12')](_0x4dfeb0)),_0x4dfeb0=[...new Set(_0x4dfeb0)],_0x4dfeb0;}[_0x1dc6('0x10')](_0x355716){const _0x4f47e6=this[_0x1dc6('0x23')][_0x1dc6('0x0')]['get'](_0x1dc6('0x1b'));let _0x56271a=Array[_0x1dc6('0xc')](this[_0x1dc6('0x23')]['model'][_0x1dc6('0x22')][_0x1dc6('0x7')][_0x1dc6('0x2d')]())[_0x1dc6('0x2f')](_0x355716);if(!_0x56271a[_0x1dc6('0xb')])return null;_0x56271a=_0x4f47e6['expandListBlocksToCompleteList'](_0x56271a);const _0xd35adf=[];for(const _0x1fc7a8 of _0x56271a)_0x4f47e6[_0x1dc6('0x18')](_0x1fc7a8)&&_0xd35adf['push'](_0x1fc7a8);return _0xd35adf;}[_0x1dc6('0x5')](_0x1b28c5){return _0x1dc6('0x30')+this[_0x1dc6('0x23')][_0x1dc6('0x0')]['get'](_0x1dc6('0x8'))[_0x1dc6('0x34')](_0x1b28c5)[_0x1dc6('0x24')]()+_0x1dc6('0xd')+_0x1b28c5[_0x1dc6('0x24')]()[_0x1dc6('0xe')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c45=['requires','enableCommand','remove','init','setSelection','plugins','mapper','markInsertion','editing','commands','getFirstPosition','markerName','createRange','getFirstRange','split','hasClass','editor','high','unbindElementFromMarkerName','model','fromRange','get','showSuggestionHighlights','afterExecute','parent','addMarker:suggestion:insertion','removeMarker:suggestion:insertion','nextSibling','writer','enter','downcastDispatcher','fire','end'];(function(_0x458a27,_0x2c4562){const _0xa2914e=function(_0x2d672d){while(--_0x2d672d){_0x458a27['push'](_0x458a27['shift']());}};_0xa2914e(++_0x2c4562);}(_0x2c45,0x188));const _0xa291=function(_0x458a27,_0x2c4562){_0x458a27=_0x458a27-0x0;let _0xa2914e=_0x2c45[_0x458a27];return _0xa2914e;};import{Plugin as _0x4f5fae}from'ckeditor5/src/core';import{Enter as _0x2c96c0}from'ckeditor5/src/enter';import{LiveRange as _0x2440e2}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2070df}from'./utils';export default class q extends _0x4f5fae{static get[_0xa291('0x4')](){return[_0x2c96c0];}[_0xa291('0x7')](){const _0x1e7561=this[_0xa291('0x14')],_0x433efa=_0x1e7561[_0xa291('0x9')]['get']('TrackChangesEditing'),_0x4f3352=_0x1e7561[_0xa291('0xd')][_0xa291('0x19')](_0xa291('0x0'));_0x433efa[_0xa291('0x5')](_0xa291('0x0'),()=>{_0x1e7561[_0xa291('0x17')]['change'](_0x5c46f2=>{const _0x57f24f=_0x1e7561['model']['document']['selection'],_0x75a470=_0x57f24f[_0xa291('0xe')](),_0x4f4e63=_0x2440e2[_0xa291('0x18')](_0x57f24f[_0xa291('0x11')]());if(_0x4f3352['enterBlock'](_0x5c46f2)){const _0x3a3a0b=_0x1e7561[_0xa291('0x17')]['createPositionAt'](_0x75a470[_0xa291('0x1c')][_0xa291('0x1f')],0x0),_0x49b264=_0x5c46f2[_0xa291('0x10')](_0x75a470,_0x3a3a0b);_0x433efa[_0xa291('0xb')](_0x49b264);}else _0x5c46f2[_0xa291('0x8')](_0x5c46f2['createRange'](_0x4f4e63[_0xa291('0x3')]));_0x4f4e63['detach'](),_0x4f3352[_0xa291('0x2')](_0xa291('0x1b'),{'writer':_0x5c46f2});});}),_0x1e7561[_0xa291('0xc')][_0xa291('0x1')]['on']('addMarker:suggestion:insertion',_0x2070df(_0x1e7561,'split'),{'priority':_0xa291('0x15')}),_0x1e7561[_0xa291('0xc')][_0xa291('0x1')]['on'](_0xa291('0x1e'),(_0x29e013,_0x12493b,_0xa2c08a)=>{const _0x3e6fb6=_0xa2c08a[_0xa291('0xa')]['markerNameToElements'](_0x12493b[_0xa291('0xf')]);if(_0x3e6fb6)for(const _0x4e9f87 of _0x3e6fb6)_0x4e9f87[_0xa291('0x13')]('ck-suggestion-marker-split')&&(_0xa2c08a['mapper'][_0xa291('0x16')](_0x4e9f87,_0x12493b[_0xa291('0xf')]),_0xa2c08a[_0xa291('0x20')][_0xa291('0x6')](_0x4e9f87));},{'priority':_0xa291('0x15')}),_0x1e7561['data'][_0xa291('0x1')]['on'](_0xa291('0x1d'),(_0xe6e708,_0x3e4c43,_0xe7d425)=>{_0xe7d425['options'][_0xa291('0x1a')]&&_0x2070df(_0x1e7561,_0xa291('0x12'),{'showActiveMarker':!0x1})['bind'](this)(_0xe6e708,_0x3e4c43,_0xe7d425);},{'priority':_0xa291('0x15')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29e0=['start','enableCommand','replace','editor','filter','getIntersection','FindAndReplaceUtils','findByTextCallback','TrackChangesEditing','markers','string','handleFindCommand','FindAndReplaceEditing','has','model','createRange','getRange','_isInDeletionRange','createPositionAt','get','replaceAll','plugins','getMarkersGroup','end','item','suggestion:deletion'];(function(_0x14acca,_0x29e0ed){const _0x432ece=function(_0x3e1d78){while(--_0x3e1d78){_0x14acca['push'](_0x14acca['shift']());}};_0x432ece(++_0x29e0ed);}(_0x29e0,0xba));const _0x432e=function(_0x14acca,_0x29e0ed){_0x14acca=_0x14acca-0x0;let _0x432ece=_0x29e0[_0x14acca];return _0x432ece;};import{Plugin as _0x4f63c9}from'ckeditor5/src/core';export default class z extends _0x4f63c9{['afterInit'](){if(!this[_0x432e('0x19')]['plugins'][_0x432e('0x9')](_0x432e('0x8')))return;const _0x585b9e=this[_0x432e('0x19')]['plugins'][_0x432e('0xf')](_0x432e('0x4'));_0x585b9e[_0x432e('0x17')]('find',this[_0x432e('0x7')]['bind'](this)),_0x585b9e['enableCommand']('findNext'),_0x585b9e['enableCommand']('findPrevious'),_0x585b9e[_0x432e('0x17')](_0x432e('0x18')),_0x585b9e[_0x432e('0x17')](_0x432e('0x10'));}[_0x432e('0x7')](_0x16b24b,_0x2368ee,_0x4c328d={}){const _0x325773=this['editor'][_0x432e('0x11')][_0x432e('0xf')](_0x432e('0x2'));void 0x0!==_0x4c328d&&_0x16b24b(_0x6c1113=>(_0x432e('0x6')==typeof _0x2368ee?_0x325773[_0x432e('0x3')](_0x2368ee,_0x4c328d):_0x2368ee)(_0x6c1113)[_0x432e('0x0')](_0x18e997=>!0x1===this[_0x432e('0xd')](_0x18e997,_0x6c1113[_0x432e('0x14')])),_0x4c328d);}[_0x432e('0xd')](_0x7d924a,_0x30365a){const _0x554d39=this[_0x432e('0x19')][_0x432e('0xa')][_0x432e('0xb')](this[_0x432e('0x19')]['model'][_0x432e('0xe')](_0x30365a,_0x7d924a[_0x432e('0x16')]),this['editor']['model'][_0x432e('0xe')](_0x30365a,_0x7d924a[_0x432e('0x13')]));for(const _0x12a169 of this['editor'][_0x432e('0xa')][_0x432e('0x5')][_0x432e('0x12')](_0x432e('0x15')))if(null!==_0x554d39[_0x432e('0x1')](_0x12a169[_0x432e('0xc')]()))return!0x0;return!0x1;}}
|