@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231008.0 → 0.0.0-nightly-20231010.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/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-20231010.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-20231010.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231010.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 _0x41c9=['plugins','model','_isEnabledBasedOnSelection','canEditAt','get','TrackChangesEditing','track-changes-accept-suggestion-not-found','editor','_suggestions','execute','acceptSuggestion','isEnabled'];(function(_0x391d81,_0x41c9fc){const _0x2db56f=function(_0x2b724a){while(--_0x2b724a){_0x391d81['push'](_0x391d81['shift']());}};_0x2db56f(++_0x41c9fc);}(_0x41c9,0x154));const _0x2db5=function(_0x391d81,_0x41c9fc){_0x391d81=_0x391d81-0x0;let _0x2db56f=_0x41c9[_0x391d81];return _0x2db56f;};import{Command as _0x15c75d}from'ckeditor5/src/core';import{CKEditorError as _0x35350d}from'ckeditor5/src/utils';export default class M extends _0x15c75d{constructor(_0x3cfa98,_0x350c45){super(_0x3cfa98),this[_0x2db5('0x4')]=_0x350c45,this['refresh'](),this[_0x2db5('0xa')]=!0x1;}['refresh'](){this[_0x2db5('0x7')]=!0x0;}[_0x2db5('0x5')](_0x1fd1ec){const _0x440892=this[_0x2db5('0x4')][_0x2db5('0x0')](_0x1fd1ec);if(!_0x440892)throw new _0x35350d(_0x2db5('0x2'),this);const _0x4a42d4=_0x440892['getRanges']();this[_0x2db5('0x3')][_0x2db5('0x9')][_0x2db5('0xb')](_0x4a42d4)&&this[_0x2db5('0x3')][_0x2db5('0x8')][_0x2db5('0x0')](_0x2db5('0x1'))[_0x2db5('0x6')](_0x440892);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e9a=['discardSuggestion','model','get','isEnabled','track-changes-discard-suggestion-not-found','plugins','refresh','TrackChangesEditing','_suggestions','_isEnabledBasedOnSelection','canEditAt','editor'];(function(_0x350190,_0x3e9aaf){const _0x3eec56=function(_0x3b515a){while(--_0x3b515a){_0x350190['push'](_0x350190['shift']());}};_0x3eec56(++_0x3e9aaf);}(_0x3e9a,0x142));const _0x3eec=function(_0x350190,_0x3e9aaf){_0x350190=_0x350190-0x0;let _0x3eec56=_0x3e9a[_0x350190];return _0x3eec56;};import{Command as _0x4e34ac}from'ckeditor5/src/core';import{CKEditorError as _0x57631e}from'ckeditor5/src/utils';export default class $ extends _0x4e34ac{constructor(_0x154d98,_0x1b4e8e){super(_0x154d98),this[_0x3eec('0xa')]=_0x1b4e8e,this['refresh'](),this[_0x3eec('0xb')]=!0x1;}[_0x3eec('0x8')](){this[_0x3eec('0x5')]=!0x0;}['execute'](_0x133b91){const _0x5d7aa2=this[_0x3eec('0xa')][_0x3eec('0x4')](_0x133b91);if(!_0x5d7aa2)throw new _0x57631e(_0x3eec('0x6'),this);const _0x15361b=_0x5d7aa2['getRanges']();this[_0x3eec('0x1')][_0x3eec('0x3')][_0x3eec('0x0')](_0x15361b)&&this[_0x3eec('0x1')][_0x3eec('0x7')]['get'](_0x3eec('0x9'))[_0x3eec('0x2')](_0x5d7aa2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56fa=['refresh','getRanges','canEditAt','from','model','isEnabled','values','isInContent','_suggestions','_command'];(function(_0x3da02a,_0x56fa78){const _0x4202ed=function(_0x2e9d0a){while(--_0x2e9d0a){_0x3da02a['push'](_0x3da02a['shift']());}};_0x4202ed(++_0x56fa78);}(_0x56fa,0x167));const _0x4202=function(_0x3da02a,_0x56fa78){_0x3da02a=_0x3da02a-0x0;let _0x4202ed=_0x56fa[_0x3da02a];return _0x4202ed;};import{Command as _0x367abc}from'ckeditor5/src/core';import{sortSuggestions as _0x3284b0,executeCommandForSuggestions as _0x12cf94}from'../utils/utils';export default class N extends _0x367abc{constructor(_0x59a176,_0x5492fb,_0x58cce0){super(_0x59a176),this[_0x4202('0x0')]=_0x5492fb,this[_0x4202('0x9')]=_0x58cce0,this[_0x4202('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4202('0x1')](){const _0x5e15e2=Array[_0x4202('0x4')](this[_0x4202('0x9')][_0x4202('0x7')]())['some'](_0x17b008=>_0x17b008[_0x4202('0x8')]);this[_0x4202('0x6')]=this['_command']['isEnabled']&&_0x5e15e2;}['execute'](){const _0x521105=_0x3284b0(Array['from'](this[_0x4202('0x9')][_0x4202('0x7')]()));for(const _0x47c26a of _0x521105){const _0x153787=_0x47c26a[_0x4202('0x2')]();if(!this['editor'][_0x4202('0x5')][_0x4202('0x3')](_0x153787))return;}_0x12cf94(this['editor'][_0x4202('0x5')],this[_0x4202('0x0')],_0x521105);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6c37=['refresh','_selectedSuggestions','_command','isEnabled','model','execute','size','selection','document','_suggestions','editor','from','canEditAt'];(function(_0x2bbbfc,_0x6c371d){const _0x1d01e6=function(_0x4dd3eb){while(--_0x4dd3eb){_0x2bbbfc['push'](_0x2bbbfc['shift']());}};_0x1d01e6(++_0x6c371d);}(_0x6c37,0x11b));const _0x1d01=function(_0x2bbbfc,_0x6c371d){_0x2bbbfc=_0x2bbbfc-0x0;let _0x1d01e6=_0x6c37[_0x2bbbfc];return _0x1d01e6;};import{Command as _0x31fb08}from'ckeditor5/src/core';import{sortSuggestions as _0x50f62e,getSelectedSuggestions as _0x2f26d0,executeCommandForSuggestions as _0x8ed9e4}from'../utils/utils';export default class R extends _0x31fb08{constructor(_0x57408b,_0x58d2a6,_0x244256){super(_0x57408b),this[_0x1d01('0x5')]=_0x58d2a6,this[_0x1d01('0xc')]=_0x244256,this['_selectedSuggestions']=new Set(),this[_0x1d01('0x3')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1d01('0x3')](){const _0x5628a0=this[_0x1d01('0x0')][_0x1d01('0x7')][_0x1d01('0xb')][_0x1d01('0xa')],_0x222ec3=Array[_0x1d01('0x1')](this[_0x1d01('0xc')]['values']());this[_0x1d01('0x4')]=_0x2f26d0(_0x5628a0,_0x222ec3),this['isEnabled']=this['_command'][_0x1d01('0x6')]&&!!this['_selectedSuggestions'][_0x1d01('0x9')];}[_0x1d01('0x8')](){const _0x1f2d7a=_0x50f62e(Array['from'](this[_0x1d01('0x4')]));for(const _0x159f4c of _0x1f2d7a){const _0x43cf62=_0x159f4c['getRanges']();if(!this[_0x1d01('0x0')][_0x1d01('0x7')][_0x1d01('0x2')](_0x43cf62))return;}_0x8ed9e4(this[_0x1d01('0x0')][_0x1d01('0x7')],this[_0x1d01('0x5')],_0x1f2d7a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4647=['commands','_isEnabledBasedOnSelection','_enableCommands','editor','refresh','isEnabled','_disableUnsupportedCommands','_enabledCommands','affectsData','value','TrackChangesCommand','has','execute'];(function(_0x9271be,_0x4647a7){const _0x55537d=function(_0x3b96ad){while(--_0x3b96ad){_0x9271be['push'](_0x9271be['shift']());}};_0x55537d(++_0x4647a7);}(_0x4647,0x8a));const _0x5553=function(_0x9271be,_0x4647a7){_0x9271be=_0x9271be-0x0;let _0x55537d=_0x4647[_0x9271be];return _0x55537d;};import{Command as _0xb779a}from'ckeditor5/src/core';export default class _ extends _0xb779a{constructor(_0x341562,_0x30243d){super(_0x341562),this[_0x5553('0xc')]=_0x30243d,this['value']=!0x1,this[_0x5553('0x9')](),this[_0x5553('0x6')]=!0x1;}[_0x5553('0x9')](){this[_0x5553('0xa')]=!0x0;}[_0x5553('0x4')](){this[_0x5553('0x1')]=!this[_0x5553('0x1')],this['value']?this[_0x5553('0xb')]():this[_0x5553('0x7')]();}[_0x5553('0xb')](){for(const _0x168bcf of this[_0x5553('0x8')]['commands']['commands']())_0x168bcf['affectsData']&&!this[_0x5553('0xc')][_0x5553('0x3')](_0x168bcf)&&_0x168bcf['forceDisabled'](_0x5553('0x2'));}[_0x5553('0x7')](){for(const _0x20d28f of this[_0x5553('0x8')][_0x5553('0x5')][_0x5553('0x5')]())_0x20d28f[_0x5553('0x0')]&&!this[_0x5553('0xc')][_0x5553('0x3')](_0x20d28f)&&_0x20d28f['clearForceDisabled'](_0x5553('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49cc=['TrackChangesEditing','afterInit','showAIAssistant','editor','enableCommand','get'];(function(_0x29efea,_0x49ccbb){const _0x4eeeca=function(_0x51f1c2){while(--_0x51f1c2){_0x29efea['push'](_0x29efea['shift']());}};_0x4eeeca(++_0x49ccbb);}(_0x49cc,0x114));const _0x4eee=function(_0x29efea,_0x49ccbb){_0x29efea=_0x29efea-0x0;let _0x4eeeca=_0x49cc[_0x29efea];return _0x4eeeca;};import{Plugin as _0x19f01d}from'ckeditor5/src/core';export default class j extends _0x19f01d{[_0x4eee('0x1')](){const _0x2d65a9=this[_0x4eee('0x3')],_0x11b077=_0x2d65a9['plugins'][_0x4eee('0x5')](_0x4eee('0x0'));_0x2d65a9['commands'][_0x4eee('0x5')](_0x4eee('0x2'))&&_0x11b077[_0x4eee('0x4')]('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1846=['ltr','commandParams','from','alignment','left','commandName','format','contentLanguageDirection','right','locale','document','center','selection','_descriptionFactory','getSelectedBlocks','filter','enableCommand','justify','value','change','editor','markBlockFormat','model','schema','TrackChangesEditing','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_CENTER','get'];(function(_0x6b590f,_0x18463c){const _0x3ac794=function(_0x579ba3){while(--_0x579ba3){_0x6b590f['push'](_0x6b590f['shift']());}};_0x3ac794(++_0x18463c);}(_0x1846,0x80));const _0x3ac7=function(_0x6b590f,_0x18463c){_0x6b590f=_0x6b590f-0x0;let _0x3ac794=_0x1846[_0x6b590f];return _0x3ac794;};import{Plugin as _0xeed578}from'ckeditor5/src/core';import{getTranslation as _0x2f80c6}from'../utils/common-translations';export default class x extends _0xeed578{['afterInit'](){const _0x1c81c0=this[_0x3ac7('0x8')],_0x362fd0=_0x1c81c0[_0x3ac7('0x1a')];if(!_0x1c81c0['plugins']['has']('AlignmentEditing'))return;const _0x2fcd2d=_0x1c81c0['plugins'][_0x3ac7('0x10')](_0x3ac7('0xc'));_0x2fcd2d[_0x3ac7('0x4')](_0x3ac7('0x14'),(_0x550905,_0x1b4cc0={})=>{let _0x35b8b2=_0x1b4cc0[_0x3ac7('0x6')];_0x1b4cc0[_0x3ac7('0x6')]||(_0x35b8b2=_0x3ac7('0x11')===_0x1c81c0[_0x3ac7('0x1a')][_0x3ac7('0x18')]?_0x3ac7('0x15'):_0x3ac7('0x19'));const _0x7452de=Array[_0x3ac7('0x13')](this['editor']['model'][_0x3ac7('0x1b')][_0x3ac7('0x0')][_0x3ac7('0x2')]())[_0x3ac7('0x3')](_0x5d62c2=>function(_0x42b7a9,_0x23c064,_0x57ee0d){const _0x25d13e=_0x42b7a9['getAttribute'](_0x3ac7('0x14'))||null;return _0x23c064['checkAttribute'](_0x42b7a9,_0x3ac7('0x14'))&&_0x57ee0d!=_0x25d13e;}(_0x5d62c2,this[_0x3ac7('0x8')][_0x3ac7('0xa')][_0x3ac7('0xb')],_0x35b8b2));_0x1c81c0[_0x3ac7('0xa')][_0x3ac7('0x7')](()=>{for(const _0x5a5e4d of _0x7452de)_0x2fcd2d[_0x3ac7('0x9')](_0x5a5e4d,{'commandName':_0x3ac7('0x14'),'commandParams':[{'value':_0x35b8b2}]});});}),_0x2fcd2d[_0x3ac7('0x1')]['registerDescriptionCallback'](_0x12b881=>{const {data:_0x57704f}=_0x12b881;if(_0x57704f&&_0x3ac7('0x14')==_0x57704f[_0x3ac7('0x16')]){const _0x5be025=_0x57704f[_0x3ac7('0x12')][0x0][_0x3ac7('0x6')];return{'type':_0x3ac7('0x17'),'content':_0x2f80c6(_0x362fd0,'*Format:*\x20%0',function(_0x32f782){switch(_0x32f782){case _0x3ac7('0x15'):return _0x2f80c6(_0x362fd0,_0x3ac7('0xe'));case'right':return _0x2f80c6(_0x362fd0,_0x3ac7('0xd'));case _0x3ac7('0x1c'):return _0x2f80c6(_0x362fd0,_0x3ac7('0xf'));case _0x3ac7('0x5'):return _0x2f80c6(_0x362fd0,'FORMAT_JUSTIFY_TEXT');}}(_0x5be025))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c28=['*Remove\x20format:*\x20%0','commandName','enableCommand','format','value','UnderlineEditing','FORMAT_ITALIC','*Format:*\x20%0','CodeEditing','bold','forceValue','FORMAT_SUBSCRIPT','commandParams','locale','model','italic','getRanges','slice','get','document','SubscriptEditing','registerDescriptionCallback','code','change','toLowerCase','SuperscriptEditing','isCollapsed','commands','FORMAT_UNDERLINE','plugins','underline','FORMAT_STRIKETHROUGH','StrikethroughEditing','FORMAT_SUPERSCRIPT','strikethrough'];(function(_0x571953,_0x1c2851){const _0x52df3e=function(_0x1b4cc5){while(--_0x1b4cc5){_0x571953['push'](_0x571953['shift']());}};_0x52df3e(++_0x1c2851);}(_0x1c28,0x1d2));const _0x52df=function(_0x571953,_0x1c2851){_0x571953=_0x571953-0x0;let _0x52df3e=_0x1c28[_0x571953];return _0x52df3e;};import{Plugin as _0x4aab3f}from'ckeditor5/src/core';import{getTranslation as _0x5b4676}from'../utils/common-translations';import{getRangesWithAttribute as _0x55c1}from'./utils';const Zt=['BoldEditing','ItalicEditing',_0x52df('0x1d'),_0x52df('0x20'),_0x52df('0x15'),_0x52df('0x9'),_0x52df('0xe')];export default class U extends _0x4aab3f{['afterInit'](){const _0x1cf6aa=this['editor'],_0x5cc724=_0x1cf6aa[_0x52df('0x3')],_0x34c4e3=_0x1cf6aa[_0x52df('0x12')][_0x52df('0x7')]('TrackChangesEditing'),_0x4dfeb9=_0x1cf6aa[_0x52df('0x2')];for(const _0x2da8f4 of Zt){if(!_0x1cf6aa[_0x52df('0x12')]['has'](_0x2da8f4))continue;const _0x578f6a=_0x2da8f4[_0x52df('0x6')](0x0,-0x7)[_0x52df('0xd')](),_0x141e0f=_0x1cf6aa[_0x52df('0x10')]['get'](_0x578f6a);_0x34c4e3[_0x52df('0x1a')](_0x578f6a,(_0x4ad888,_0x415a87={})=>{const _0xaf84a1=_0x5cc724[_0x52df('0x8')]['selection'];if(_0xaf84a1[_0x52df('0xf')])return void _0x4ad888(_0x415a87);const _0x479be4=void 0x0!==_0x415a87['forceValue']?_0x415a87[_0x52df('0x22')]:!_0x141e0f[_0x52df('0x1c')];_0x5cc724[_0x52df('0xc')](()=>{const _0x738b13=Array['from'](_0xaf84a1[_0x52df('0x5')]());for(const _0x5e7215 of _0x738b13){const _0x2fe06d=_0x479be4?[_0x5e7215]:_0x55c1(_0x578f6a,_0x5e7215,_0x5cc724);for(const _0x26d35f of _0x2fe06d)_0x34c4e3['markInlineFormat'](_0x26d35f,{'commandName':_0x578f6a,'commandParams':[{'forceValue':_0x479be4}]});}});});}function _0x3071b5(_0x182cec,_0x4ed302){_0x34c4e3['_descriptionFactory'][_0x52df('0xa')](_0x37bfd7=>{const {data:_0x12c266}=_0x37bfd7;if(_0x12c266&&_0x12c266[_0x52df('0x19')]===_0x182cec)return _0x12c266[_0x52df('0x1')][0x0][_0x52df('0x22')]?{'type':_0x52df('0x1b'),'content':_0x5b4676(_0x4dfeb9,_0x52df('0x1f'),_0x4ed302)}:{'type':_0x52df('0x1b'),'content':_0x5b4676(_0x4dfeb9,_0x52df('0x18'),_0x4ed302)};});}_0x3071b5(_0x52df('0x21'),_0x5b4676(_0x4dfeb9,'FORMAT_BOLD')),_0x3071b5(_0x52df('0x4'),_0x5b4676(_0x4dfeb9,_0x52df('0x1e'))),_0x3071b5(_0x52df('0x13'),_0x5b4676(_0x4dfeb9,_0x52df('0x11'))),_0x3071b5(_0x52df('0xb'),_0x5b4676(_0x4dfeb9,'FORMAT_CODE')),_0x3071b5(_0x52df('0x17'),_0x5b4676(_0x4dfeb9,_0x52df('0x14'))),_0x3071b5('subscript',_0x5b4676(_0x4dfeb9,_0x52df('0x0'))),_0x3071b5('superscript',_0x5b4676(_0x4dfeb9,_0x52df('0x16')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b70=['get','selection','value','has','*Remove\x20format:*\x20%0','change','plugins','forceValue','markBlockFormat','blockQuote','enableCommand','getSelectedBlocks','_descriptionFactory','ELEMENT_BLOCK_QUOTE','format','commands','filter','locale','*Format:*\x20%0','checkChild','TrackChangesEditing','BlockQuoteEditing','afterInit','editor','model','document','name','parent','schema'];(function(_0x1c3422,_0x3b7040){const _0x14b557=function(_0x2bb7c9){while(--_0x2bb7c9){_0x1c3422['push'](_0x1c3422['shift']());}};_0x14b557(++_0x3b7040);}(_0x3b70,0xda));const _0x14b5=function(_0x1c3422,_0x3b7040){_0x1c3422=_0x1c3422-0x0;let _0x14b557=_0x3b70[_0x1c3422];return _0x14b557;};import{Plugin as _0x25f729}from'ckeditor5/src/core';import{getTranslation as _0xb4142a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5c4a18}from'../utils/utils';export default class O extends _0x25f729{[_0x14b5('0x7')](){const _0xf4165=this['editor'],_0x3282a9=_0xf4165[_0x14b5('0x2')];if(!_0xf4165[_0x14b5('0x14')][_0x14b5('0x11')](_0x14b5('0x6')))return;const _0x3c7190=_0xf4165['plugins'][_0x14b5('0xe')](_0x14b5('0x5')),_0x22a7ce=this[_0x14b5('0x8')][_0x14b5('0x0')]['get'](_0x14b5('0x17'));_0x3c7190[_0x14b5('0x18')]('blockQuote',(_0x1d5b14,_0x3418bc={})=>{const _0x5e74ca=this[_0x14b5('0x8')][_0x14b5('0x9')][_0x14b5('0xa')][_0x14b5('0xf')],_0x5d4d36=_0x3418bc&&void 0x0!==_0x3418bc['forceValue']?_0x3418bc[_0x14b5('0x15')]:!_0x22a7ce[_0x14b5('0x10')];let _0x284cf8=[];if(_0x5d4d36){const _0x48143b=Array['from'](_0x5e74ca['getSelectedBlocks']())[_0x14b5('0x1')](_0x1c9b5b=>oo(_0x1c9b5b)||function(_0x5dcffe,_0x2b4fee){const _0x371dcd=_0x2b4fee['checkChild'](_0x5dcffe[_0x14b5('0xc')],_0x14b5('0x17')),_0x48ff24=_0x2b4fee[_0x14b5('0x4')](['$root',_0x14b5('0x17')],_0x5dcffe);return _0x371dcd&&_0x48ff24;}(_0x1c9b5b,this[_0x14b5('0x8')][_0x14b5('0x9')][_0x14b5('0xd')]));_0x284cf8=_0x5c4a18(_0x48143b,_0xf4165[_0x14b5('0x9')]);}else{const _0x1edc32=Array['from'](_0x5e74ca[_0x14b5('0x19')]())[_0x14b5('0x1')](_0x22020c=>oo(_0x22020c));_0x284cf8=_0x5c4a18(_0x1edc32,_0xf4165['model']);}_0xf4165['model'][_0x14b5('0x13')](()=>{for(const _0x1f216f of _0x284cf8)_0x3c7190[_0x14b5('0x16')](_0x1f216f,{'commandName':_0x14b5('0x17'),'commandParams':[{'forceValue':_0x5d4d36}]});});}),_0x3c7190[_0x14b5('0x1a')]['registerDescriptionCallback'](_0x39ff23=>{const {data:_0x545e54}=_0x39ff23;if(_0x545e54&&_0x14b5('0x17')==_0x545e54['commandName']){const _0x4f0a44=_0xb4142a(_0x3282a9,_0x14b5('0x1b'));return _0x545e54['commandParams'][0x0]['forceValue']?{'type':_0x14b5('0x1c'),'content':_0xb4142a(_0x3282a9,_0x14b5('0x3'),_0x4f0a44)}:{'type':_0x14b5('0x1c'),'content':_0xb4142a(_0x3282a9,_0x14b5('0x12'),_0x4f0a44)};}});}}function oo(_0x2576b5){return _0x14b5('0x17')==_0x2576b5[_0x14b5('0xc')][_0x14b5('0xb')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b3d=['afterInit','plugins','get','commands','editor','TrackChangesEditing','ckbox'];(function(_0x586eac,_0x1b3db5){const _0x19b506=function(_0x524738){while(--_0x524738){_0x586eac['push'](_0x586eac['shift']());}};_0x19b506(++_0x1b3db5);}(_0x1b3d,0x1d7));const _0x19b5=function(_0x586eac,_0x1b3db5){_0x586eac=_0x586eac-0x0;let _0x19b506=_0x1b3d[_0x586eac];return _0x19b506;};import{Plugin as _0x4f10d7}from'ckeditor5/src/core';export default class E extends _0x4f10d7{[_0x19b5('0x5')](){const _0x5778ae=this[_0x19b5('0x2')];_0x5778ae[_0x19b5('0x1')][_0x19b5('0x0')](_0x19b5('0x4'))&&_0x5778ae[_0x19b5('0x6')][_0x19b5('0x0')](_0x19b5('0x3'))['enableCommand']('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3788=['change','plugins','TrackChangesEditing','filter','format','rootElement','blockName','parent','commands','CodeBlock','checkChild','get','language','registerElementLabel','document','*Remove\x20format:*\x20%0','_descriptionFactory','ELEMENT_CODE_BLOCK','enableCommand','model','indentCodeBlock','codeBlock','schema','commandName','from','label','markBlockFormat','locale','name','selection','*Format:*\x20%0','editor','isLimit','formatBlock','outdentCodeBlock','value','forceValue','getSelectedBlocks','commandParams','config'];(function(_0x19fef9,_0x378842){const _0x5a69ad=function(_0x24e84a){while(--_0x24e84a){_0x19fef9['push'](_0x19fef9['shift']());}};_0x5a69ad(++_0x378842);}(_0x3788,0xd1));const _0x5a69=function(_0x19fef9,_0x378842){_0x19fef9=_0x19fef9-0x0;let _0x5a69ad=_0x3788[_0x19fef9];return _0x5a69ad;};import{Plugin as _0x5c5eb}from'ckeditor5/src/core';import{getTranslation as _0x3ce661}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1fa5c3}from'../utils/utils';export default class F extends _0x5c5eb{['afterInit'](){const _0x49e77a=this[_0x5a69('0x16')];if(!_0x49e77a[_0x5a69('0x20')]['has'](_0x5a69('0x0')))return;const _0x178dd1=_0x49e77a['plugins']['get'](_0x5a69('0x21')),_0x2c094b=_0x49e77a[_0x5a69('0x12')],_0x172b8a=_0x49e77a[_0x5a69('0x1e')]['get'](_0x5a69('0xc'))['languages'],_0x3f3ae9=_0x49e77a[_0x5a69('0x27')][_0x5a69('0x2')](_0x5a69('0xc'));_0x178dd1[_0x5a69('0x9')](_0x5a69('0xb')),_0x178dd1[_0x5a69('0x9')](_0x5a69('0x19')),_0x178dd1[_0x5a69('0x9')]('codeBlock',(_0x50d336,_0x505616={})=>{const _0x56e1e7=_0x49e77a[_0x5a69('0xa')],_0x5e4eff=_0x49e77a[_0x5a69('0xa')][_0x5a69('0x5')][_0x5a69('0x14')],_0x5676d2=_0x505616&&void 0x0!==_0x505616[_0x5a69('0x1b')]?_0x505616[_0x5a69('0x1b')]:!_0x3f3ae9[_0x5a69('0x1a')];let _0x4e27ed;_0x505616[_0x5a69('0x3')]||(_0x505616[_0x5a69('0x3')]=_0x172b8a[0x0][_0x5a69('0x3')]),_0x4e27ed=_0x5676d2?Array['from'](_0x5e4eff[_0x5a69('0x1c')]())[_0x5a69('0x22')](_0x4d6a78=>co(_0x4d6a78)||function(_0x4b972c,_0x3a891f){if(_0x4b972c['is'](_0x5a69('0x24'))||_0x3a891f[_0x5a69('0x17')](_0x4b972c))return!0x1;return _0x3a891f[_0x5a69('0x1')](_0x4b972c[_0x5a69('0x26')],'codeBlock');}(_0x4d6a78,_0x56e1e7[_0x5a69('0xd')])):Array[_0x5a69('0xf')](_0x5e4eff['getSelectedBlocks']())['filter'](_0x1223c4=>co(_0x1223c4));const _0x2b3c16=_0x1fa5c3(_0x4e27ed,_0x56e1e7);_0x56e1e7[_0x5a69('0x1f')](()=>{for(const _0x221fdf of _0x2b3c16)_0x178dd1[_0x5a69('0x11')](_0x221fdf,{'commandName':'codeBlock','commandParams':[{..._0x505616,'forceValue':_0x5676d2}],'formatGroupId':_0x5a69('0x25')});});}),(_0x178dd1['_descriptionFactory'][_0x5a69('0x4')](_0x5a69('0xc'),_0x4f8c17=>_0x3ce661(_0x2c094b,_0x5a69('0x8'),_0x4f8c17)),_0x178dd1[_0x5a69('0x7')]['registerDescriptionCallback'](_0x1c7038=>{const _0x3633a5=_0x2c094b['t'],{type:_0x26662e,data:_0x140568}=_0x1c7038;if(_0x5a69('0x18')==_0x26662e&&_0x140568&&_0x5a69('0xc')==_0x140568[_0x5a69('0xe')]){const _0x147755=_0x140568[_0x5a69('0x1d')][0x0]['language'],_0x469ddb=_0x3633a5(_0x172b8a['find'](_0x38bdcd=>_0x38bdcd[_0x5a69('0x3')]===_0x147755)[_0x5a69('0x10')]);return _0x140568[_0x5a69('0x1d')][0x0][_0x5a69('0x1b')]?{'type':_0x5a69('0x23'),'content':_0x3ce661(_0x2c094b,_0x5a69('0x15'),_0x3ce661(_0x2c094b,_0x5a69('0x8'),0x1)+'\x20('+_0x469ddb+')')}:{'type':_0x5a69('0x23'),'content':_0x3ce661(_0x2c094b,_0x5a69('0x6'),_0x3ce661(_0x2c094b,_0x5a69('0x8'),0x1))};}}));}}function co(_0x216bb6){return'codeBlock'==_0x216bb6[_0x5a69('0x13')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bc5=['CommentsEditing','plugins','addCommentThread','TrackChangesEditing','editor','afterInit','enableCommand'];(function(_0x48a383,_0x2bc5d3){const _0x252258=function(_0x4c689b){while(--_0x4c689b){_0x48a383['push'](_0x48a383['shift']());}};_0x252258(++_0x2bc5d3);}(_0x2bc5,0x195));const _0x2522=function(_0x48a383,_0x2bc5d3){_0x48a383=_0x48a383-0x0;let _0x252258=_0x2bc5[_0x48a383];return _0x252258;};import{Plugin as _0x2dfcaf}from'ckeditor5/src/core';export default class G extends _0x2dfcaf{[_0x2522('0x6')](){const _0x5f0aef=this[_0x2522('0x5')];if(!_0x5f0aef[_0x2522('0x2')]['has'](_0x2522('0x1')))return;_0x5f0aef[_0x2522('0x2')]['get'](_0x2522('0x4'))[_0x2522('0x0')](_0x2522('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2170=['modifySelection','$graveyard','delete','fromRange','removeMarker:suggestion:deletion','get','unbindElementFromMarkerName','plugins','enqueueChange','TrackChangesEditing','root','model','setSelection','enableCommand','commands','getFirstRange','batch','createRange','addMarker:suggestion:deletion','bind','init','data','markerNameToElements','merge','deleteForward','buffer','detach','writer','downcastDispatcher','editing','selection','createSelection','forward','remove','unlock','mapper','isCollapsed','rootName','requires','options','lock','high','unit','markerName','start','end','uiElement'];(function(_0x4eafda,_0x2170e0){const _0x4610e5=function(_0x4830e0){while(--_0x4830e0){_0x4eafda['push'](_0x4eafda['shift']());}};_0x4610e5(++_0x2170e0);}(_0x2170,0x1ae));const _0x4610=function(_0x4eafda,_0x2170e0){_0x4eafda=_0x4eafda-0x0;let _0x4610e5=_0x2170[_0x4eafda];return _0x4610e5;};import{Plugin as _0x5c9ad0}from'ckeditor5/src/core';import{LiveRange as _0x7b6247}from'ckeditor5/src/engine';import{Delete as _0x119209}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x4ea382}from'./utils';export default class L extends _0x5c9ad0{static get[_0x4610('0x1f')](){return[_0x119209];}[_0x4610('0xd')](){const _0x212a0d=this['editor'],_0x4c21ac=_0x212a0d[_0x4610('0x0')][_0x4610('0x2d')](_0x4610('0x2'));_0x4c21ac[_0x4610('0x6')](_0x4610('0x2a'));const _0xa6cf21=_0x212a0d[_0x4610('0x7')]['get'](_0x4610('0x11'));_0x4c21ac[_0x4610('0x6')]('deleteForward',(_0x4fefa3,_0x137033={})=>{const _0x31fb12=_0x212a0d[_0x4610('0x4')][_0x4610('0x18')](_0x212a0d[_0x4610('0x4')]['document'][_0x4610('0x17')]);_0x31fb12[_0x4610('0x1d')]&&_0x212a0d['model'][_0x4610('0x28')](_0x31fb12,{'direction':_0x4610('0x19'),'unit':_0x137033[_0x4610('0x23')]});const _0x22292b=_0x31fb12[_0x4610('0x8')](),_0x5c0883=_0x7b6247[_0x4610('0x2b')](_0x22292b);let _0x24d8f6;_0x4fefa3(_0x137033),_0x24d8f6=_0x4610('0x29')==_0x5c0883[_0x4610('0x3')][_0x4610('0x1e')]?_0x212a0d[_0x4610('0x4')][_0x4610('0xa')](_0x22292b['start']):_0x212a0d[_0x4610('0x4')][_0x4610('0xa')](_0x5c0883[_0x4610('0x25')],_0x5c0883[_0x4610('0x26')]),_0x5c0883[_0x4610('0x13')](),_0x212a0d[_0x4610('0x4')][_0x4610('0x1')](_0xa6cf21[_0x4610('0x12')][_0x4610('0x9')],_0x55f1d0=>{_0xa6cf21[_0x4610('0x12')][_0x4610('0x21')](),_0x55f1d0[_0x4610('0x5')](_0x55f1d0[_0x4610('0xa')](_0x24d8f6[_0x4610('0x26')])),_0xa6cf21['buffer'][_0x4610('0x1b')]();});}),_0x212a0d['editing'][_0x4610('0x15')]['on'](_0x4610('0xb'),_0x4ea382(_0x212a0d,'merge'),{'priority':_0x4610('0x22')}),_0x212a0d[_0x4610('0xe')][_0x4610('0x15')]['on'](_0x4610('0xb'),(_0x59d0bf,_0x54b0ca,_0x5c0bdc)=>{_0x5c0bdc[_0x4610('0x20')]['showSuggestionHighlights']&&_0x4ea382(_0x212a0d,_0x4610('0x10'),{'showActiveMarker':!0x1})[_0x4610('0xc')](this)(_0x59d0bf,_0x54b0ca,_0x5c0bdc);},{'priority':_0x4610('0x22')}),_0x212a0d[_0x4610('0x16')]['downcastDispatcher']['on'](_0x4610('0x2c'),(_0x45e306,_0x1cb861,_0x2af09e)=>{const _0x171135=_0x2af09e[_0x4610('0x1c')][_0x4610('0xf')](_0x1cb861['markerName']);if(_0x171135)for(const _0x32e08b of _0x171135)_0x32e08b['is'](_0x4610('0x27'))&&(_0x2af09e[_0x4610('0x1c')][_0x4610('0x2e')](_0x32e08b,_0x1cb861[_0x4610('0x24')]),_0x2af09e[_0x4610('0x14')][_0x4610('0x1a')](_0x32e08b));},{'priority':_0x4610('0x22')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21fb=['mergeListItemBackward','afterInit','has','ELEMENT_','value','after','*Change\x20to:*\x20%0','markBlockFormat','getSelectedBlocks','formatBlock','isFirstBlockOfListItem','start','accept','schema','model','change','slice','map','locale','document','bulletedList','*Format:*\x20insert\x20into\x20%0','end','mergeListItemForward','forceValue','paragraph','selection','numberedList','listType','fromRange','commandName','registerCustomCallback','ELEMENT_LIST_ITEM','length','getAttribute','enableCommand','markMultiRangeBlockFormat','editor','list.multiBlock','*Format:*\x20remove\x20from\x20%0','from','registerDescriptionCallback','plugins','_suggestionFactory','toUpperCase','expandListBlocksToCompleteList','execute','commandParams','containsItem','multipleBlocks','commands','ELEMENT_NUMBERED_LIST','documentList','indentList','before','push','createPositionAt','hasAttribute','*Merge:*\x20%0','createRange','_LIST','splitListItemBefore','format','splitListItemAfter','nextSibling','getRanges','getFirstRange','next','listIndent','ELEMENT_BULLETED_LIST','DocumentListEditing','parent','get','setSelection','findIndex','outdentList','previousSibling','isObject','config','listItemId','nodeAfter'];(function(_0x425567,_0x21fbe6){const _0x520e5d=function(_0x37b47a){while(--_0x37b47a){_0x425567['push'](_0x425567['shift']());}};_0x520e5d(++_0x21fbe6);}(_0x21fb,0x17a));const _0x520e=function(_0x425567,_0x21fbe6){_0x425567=_0x425567-0x0;let _0x520e5d=_0x21fb[_0x425567];return _0x520e5d;};import{Plugin as _0x348461}from'ckeditor5/src/core';import{getTranslation as _0x156493}from'../utils/common-translations';import{LiveRange as _0x182a6e}from'ckeditor5/src/engine';export default class q extends _0x348461{[_0x520e('0x1c')](){const _0x2d108a=this[_0x520e('0x40')];if(!_0x2d108a[_0x520e('0x45')][_0x520e('0x1d')](_0x520e('0x10')))return;const _0xfe0cb9=_0x2d108a[_0x520e('0x2d')],_0x527958=_0x2d108a[_0x520e('0x45')][_0x520e('0x12')]('TrackChangesEditing'),_0x1dd353=_0x2d108a[_0x520e('0x45')][_0x520e('0x12')]('DocumentListUtils');function _0xf5af89(_0xb43aea){return()=>{const _0x4e6a1b=_0x2d108a[_0x520e('0x4d')][_0x520e('0x12')](_0xb43aea);if(_0x4e6a1b['value']&&!_0x2d108a[_0x520e('0x18')]['get'](_0x520e('0x41')))return void _0x2d108a[_0x520e('0x49')](_0x520e('0x34'),{});let _0x3d82b5=Array[_0x520e('0x43')](_0x2d108a[_0x520e('0x29')][_0x520e('0x2e')][_0x520e('0x35')][_0x520e('0x23')]());if(_0x17411d(_0xb43aea)){_0x3d82b5=_0x1dd353[_0x520e('0x48')](_0x3d82b5);const _0x392fa4=[];for(const _0xeacbd1 of _0x3d82b5)_0x1dd353[_0x520e('0x25')](_0xeacbd1)&&_0x392fa4[_0x520e('0x1')](_0xeacbd1);_0x3d82b5=_0x392fa4;}_0x2d108a[_0x520e('0x29')][_0x520e('0x2a')](()=>{_0x527958[_0x520e('0x3f')](_0x3d82b5,{'commandName':_0xb43aea,'commandParams':[{'forceValue':!_0x4e6a1b['value']}],'formatGroupId':_0x520e('0x37')},[],_0x520e('0x4f'));});};}function _0x3232df(_0x3d9471){return()=>{const _0x2c2061=function(_0x41b69c){let _0x412e9b=Array[_0x520e('0x43')](_0x41b69c);const _0x5e0c5a=_0x412e9b[_0x520e('0x14')](_0x320723=>!_0x320723[_0x520e('0x3')](_0x520e('0x19')));return _0x5e0c5a>-0x1&&(_0x412e9b=_0x412e9b[_0x520e('0x2b')](0x0,_0x5e0c5a)),_0x412e9b;}(_0x2d108a[_0x520e('0x29')][_0x520e('0x2e')][_0x520e('0x35')]['getSelectedBlocks']()),_0x4784b4=_0x2c2061[_0x2c2061[_0x520e('0x3c')]-0x1],_0x2abfc6=_0x2d108a[_0x520e('0x29')][_0x520e('0x28')][_0x520e('0x17')](_0x4784b4)?_0x520e('0x20'):'end',_0x33608b=_0x2d108a[_0x520e('0x29')]['createRange'](_0x2d108a['model'][_0x520e('0x2')](_0x2c2061[0x0],_0x520e('0x0')),_0x2d108a[_0x520e('0x29')][_0x520e('0x2')](_0x4784b4,_0x2abfc6));_0x2d108a['model']['change'](()=>{_0x527958[_0x520e('0x22')](_0x33608b,{'commandName':_0x3d9471,'commandParams':[],'formatGroupId':_0x520e('0x37')},function(_0x411b4d){const _0x1421c3=new Set();for(const _0x413fe5 of _0x411b4d){let _0x571f7=_0x413fe5[_0x520e('0xa')];for(;_0x571f7&&_0x571f7[_0x520e('0x3d')](_0x520e('0xe'))>_0x413fe5[_0x520e('0x3d')](_0x520e('0xe'));)_0x1421c3['add'](_0x571f7),_0x571f7=_0x571f7[_0x520e('0xa')];}return Array[_0x520e('0x43')](_0x1421c3);}(_0x2c2061));});};}function _0x588d83(_0xc42a32){return()=>{const _0x4b9e1b=_0x2d108a[_0x520e('0x29')][_0x520e('0x2e')][_0x520e('0x35')][_0x520e('0x23')]()[_0x520e('0xd')]()['value'],_0x142d8d=_0x2d108a[_0x520e('0x29')]['createPositionAt'](_0x4b9e1b,_0x520e('0x0')),_0x46cdb8=_0x2d108a[_0x520e('0x29')]['createPositionAt'](_0x4b9e1b,0x0),_0x5475e5=_0x2d108a[_0x520e('0x29')][_0x520e('0x5')](_0x142d8d,_0x46cdb8);_0x2d108a[_0x520e('0x29')]['change'](()=>{_0x527958[_0x520e('0x22')](_0x5475e5,{'commandName':_0xc42a32,'commandParams':[],'formatGroupId':_0x520e('0x37')});});};}function _0x17411d(_0x2ef3f3){const _0x5b216a=_0x2d108a['commands'][_0x520e('0x12')](_0x520e('0x2f'))[_0x520e('0x1f')],_0x103993=_0x2d108a[_0x520e('0x4d')][_0x520e('0x12')](_0x520e('0x36'))['value'];return'numberedList'===_0x2ef3f3?_0x5b216a:_0x103993;}_0x527958[_0x520e('0x3e')]('numberedList',_0xf5af89('numberedList')),_0x527958['enableCommand'](_0x520e('0x2f'),_0xf5af89(_0x520e('0x2f'))),_0x527958[_0x520e('0x3e')](_0x520e('0x50'),_0x3232df(_0x520e('0x50'))),_0x527958[_0x520e('0x3e')](_0x520e('0x15'),_0x3232df(_0x520e('0x15'))),_0x527958[_0x520e('0x3e')](_0x520e('0x9'),_0x588d83('splitListItemAfter')),_0x527958[_0x520e('0x3e')](_0x520e('0x7'),_0x588d83(_0x520e('0x7'))),_0x527958['_descriptionFactory']['registerElementLabel'](function(_0x5c4269){const _0x1dd765=!_0x2d108a[_0x520e('0x29')][_0x520e('0x28')][_0x520e('0x17')](_0x5c4269),_0x5a0309=_0x5c4269[_0x520e('0x16')],_0x1bfed5=_0x5c4269[_0x520e('0xa')],_0x16c954=_0x5c4269[_0x520e('0x3d')](_0x520e('0x19')),_0x3eda81=!_0x5a0309||_0x5a0309['getAttribute'](_0x520e('0x19'))!==_0x16c954,_0x341d2f=!_0x1bfed5||_0x1bfed5[_0x520e('0x3d')](_0x520e('0x19'))!==_0x16c954;return _0x1dd765&&Boolean(_0x16c954)&&_0x3eda81&&_0x341d2f;},_0x5c7002=>_0x156493(_0xfe0cb9,'ELEMENT_LIST_ITEM',_0x5c7002)),_0x527958['_descriptionFactory'][_0x520e('0x44')](function(_0x5de014){const {data:_0x383891}=_0x5de014;if(!_0x383891)return;let _0xa0dfef,_0x4663d1,_0x831899,_0x323045;switch(_0x383891['commandName']){case _0x520e('0x2f'):_0x831899=_0x383891[_0x520e('0x4a')][0x0]['forceValue'],_0x323045=_0x17411d(_0x383891[_0x520e('0x39')]),_0xa0dfef=_0x831899?_0x520e('0x30'):_0x520e('0x42'),!_0x323045&&_0x2d108a[_0x520e('0x18')][_0x520e('0x12')](_0x520e('0x41'))||(_0xa0dfef=_0x520e('0x21')),_0x4663d1={'type':'format','content':_0x156493(_0xfe0cb9,_0xa0dfef,_0x156493(_0xfe0cb9,_0x520e('0xf')))};break;case _0x520e('0x36'):_0x831899=_0x383891['commandParams'][0x0][_0x520e('0x33')],_0x323045=_0x17411d(_0x383891[_0x520e('0x39')]),_0xa0dfef=_0x831899?_0x520e('0x30'):_0x520e('0x42'),!_0x323045&&_0x2d108a[_0x520e('0x18')][_0x520e('0x12')](_0x520e('0x41'))||(_0xa0dfef=_0x520e('0x21')),_0x4663d1={'type':_0x520e('0x8'),'content':_0x156493(_0xfe0cb9,_0xa0dfef,_0x156493(_0xfe0cb9,_0x520e('0x4e')))};break;case _0x520e('0x50'):_0xa0dfef='*Indent:*\x20%0',_0x4663d1={'type':_0x520e('0x8'),'content':_0x156493(_0xfe0cb9,_0xa0dfef,_0x156493(_0xfe0cb9,'ELEMENT_LIST_ITEM'))};break;case _0x520e('0x15'):_0xa0dfef=function(_0x3b18c5){const _0x340cee=_0x3b18c5[_0x520e('0xc')]();let _0xf6c971=_0x340cee['start']['nodeAfter'];for(;_0xf6c971&&_0x340cee[_0x520e('0x4b')](_0xf6c971);){if(_0xf6c971['getAttribute']('listIndent')>0x0)return!0x1;_0xf6c971=_0xf6c971['nextSibling'];}return!0x0;}(_0x5de014)?_0x156493(_0xfe0cb9,_0x520e('0x42'),_0x156493(_0xfe0cb9,function(_0xeae01e){const _0x22b784=_0xeae01e[_0x520e('0xc')]()[_0x520e('0x26')][_0x520e('0x1a')];return _0x520e('0x1e')+_0x22b784['getAttribute'](_0x520e('0x37'))[_0x520e('0x47')]()+_0x520e('0x6');}(_0x5de014))):_0x156493(_0xfe0cb9,'*Outdent:*\x20%0',_0x156493(_0xfe0cb9,'ELEMENT_LIST_ITEM')),_0x4663d1={'type':'format','content':_0xa0dfef};break;case _0x520e('0x1b'):case _0x520e('0x32'):!0x1===_0x383891[_0x520e('0x4c')]&&(_0xa0dfef=_0x520e('0x4'),_0x4663d1={'type':'deletion','content':_0x156493(_0xfe0cb9,_0xa0dfef,_0x156493(_0xfe0cb9,_0x520e('0x3b')))});}return _0x4663d1;}),_0x527958[_0x520e('0x46')][_0x520e('0x3a')](_0x520e('0x24'),_0x520e('0x4f'),_0x520e('0x27'),function(_0x34ba44,_0x2b4398){const _0x420f8b=[];for(let _0x5f0c4b of _0x34ba44)_0x5f0c4b[_0x520e('0x26')]['nodeAfter']===_0x5f0c4b[_0x520e('0x31')][_0x520e('0x11')]&&(_0x5f0c4b=_0x2d108a[_0x520e('0x29')]['createRange'](_0x2d108a[_0x520e('0x29')][_0x520e('0x2')](_0x5f0c4b[_0x520e('0x26')]['nodeAfter'],0x0))),_0x420f8b[_0x520e('0x1')](_0x5f0c4b);_0x2d108a[_0x520e('0x29')]['change'](_0x4bf819=>{const _0x407383=_0x2d108a['model'][_0x520e('0x2e')]['selection'],_0x2ab7f0=Array[_0x520e('0x43')](_0x407383[_0x520e('0xb')]())[_0x520e('0x2c')](_0x4f5e2a=>_0x182a6e[_0x520e('0x38')](_0x4f5e2a));_0x4bf819[_0x520e('0x13')](_0x420f8b),_0x2d108a[_0x520e('0x4d')][_0x520e('0x12')](_0x2b4398[_0x520e('0x39')])['refresh'](),_0x2b4398['commandParams'][_0x520e('0x1')]({'forceDefaultExecution':!0x0}),_0x2d108a[_0x520e('0x49')](_0x2b4398['commandName'],..._0x2b4398['commandParams']),_0x4bf819[_0x520e('0x13')](_0x2ab7f0);for(const _0x3c08b5 of _0x2ab7f0)_0x3c08b5['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34a0=['reversed','getAttribute','registerDescriptionCallback','toUpperCase','change','_getSuggestionBlocks','editor','listType','startIndex','_getTranslationKeyForListStyle','_getSuggestionBlocksForListStyle','listStyle','isListItemBlock','enableCommand','isFirstBlockOfListItem','handleListReversedCommand','document','numbered','length','filter','DocumentListPropertiesEditing','has','commandParams','getSelectedBlocks','expandListBlocksToCompleteList','listReversed','*Format:*\x20set\x20order\x20to\x20reversed','push','get','*Format:*\x20set\x20start\x20index\x20to\x20%0','DocumentListUtils','markMultiRangeBlockFormat','type','format','selection','handleListStartCommand','listStart','_descriptionFactory','afterInit','styles','from','model','handleListStyleCommand','replace','handleDescriptions','locale','plugins','config','list.properties','TrackChangesEditing','bind'];(function(_0x556fcc,_0x34a05c){const _0x38a8b4=function(_0x281666){while(--_0x281666){_0x556fcc['push'](_0x556fcc['shift']());}};_0x38a8b4(++_0x34a05c);}(_0x34a0,0x1cb));const _0x38a8=function(_0x556fcc,_0x34a05c){_0x556fcc=_0x556fcc-0x0;let _0x38a8b4=_0x34a0[_0x556fcc];return _0x38a8b4;};import{Plugin as _0x2d59f5}from'ckeditor5/src/core';import{getTranslation as _0x3f85b8}from'../utils/common-translations';export default class Ct extends _0x2d59f5{[_0x38a8('0x26')](){if(!this[_0x38a8('0x6')]['plugins'][_0x38a8('0x15')](_0x38a8('0x14')))return;const _0x167823=this[_0x38a8('0x6')][_0x38a8('0x2f')]['get'](_0x38a8('0x30')),_0x313179=this[_0x38a8('0x6')][_0x38a8('0x2e')][_0x38a8('0x1c')]('TrackChangesEditing');_0x167823[_0x38a8('0x27')]&&_0x313179[_0x38a8('0xd')]('listStyle',this[_0x38a8('0x2a')]['bind'](this)),_0x167823['reversed']&&_0x313179[_0x38a8('0xd')]('listReversed',this['handleListReversedCommand'][_0x38a8('0x32')](this)),_0x167823['startIndex']&&_0x313179[_0x38a8('0xd')](_0x38a8('0x24'),this[_0x38a8('0x23')][_0x38a8('0x32')](this)),_0x313179[_0x38a8('0x25')][_0x38a8('0x2')](this['handleDescriptions']['bind'](this));}[_0x38a8('0x2a')](_0x83443f,_0xadbfa3={}){const _0x300c0c=this[_0x38a8('0x6')][_0x38a8('0x2e')]['get']('TrackChangesEditing'),_0x3f3909=this['_getSuggestionBlocksForListStyle']();this[_0x38a8('0x6')]['model']['change'](()=>{_0x300c0c[_0x38a8('0x1f')](_0x3f3909,{'commandName':_0x38a8('0xb'),'commandParams':[{'type':_0xadbfa3[_0x38a8('0x20')]}],'formatGroupId':_0x38a8('0xb')});});}[_0x38a8('0xf')](_0x2bb3b4,_0x379dbf={}){const _0x189572=this[_0x38a8('0x6')]['plugins'][_0x38a8('0x1c')](_0x38a8('0x31')),_0x255e87=this['editor'][_0x38a8('0x2e')][_0x38a8('0x1c')](_0x38a8('0x1e')),_0x1962cd=this['_getSuggestionBlocks'](_0x5dff17=>_0x255e87[_0x38a8('0xc')](_0x5dff17)&&_0x38a8('0x11')===_0x5dff17[_0x38a8('0x1')](_0x38a8('0x7')));null!==_0x1962cd&&this[_0x38a8('0x6')][_0x38a8('0x29')]['change'](()=>{_0x189572[_0x38a8('0x1f')](_0x1962cd,{'commandName':_0x38a8('0x19'),'commandParams':[{'reversed':_0x379dbf[_0x38a8('0x0')]}],'formatGroupId':_0x38a8('0x19')});});}[_0x38a8('0x23')](_0x342648,_0xdcc4f5={}){const _0x2c6ec4=this['editor'][_0x38a8('0x2e')][_0x38a8('0x1c')](_0x38a8('0x31')),_0x10973b=this['editor'][_0x38a8('0x2e')][_0x38a8('0x1c')]('DocumentListUtils'),_0x347421=this[_0x38a8('0x5')](_0x2f8111=>_0x10973b[_0x38a8('0xc')](_0x2f8111)&&'numbered'===_0x2f8111[_0x38a8('0x1')](_0x38a8('0x7')));null!==_0x347421&&this[_0x38a8('0x6')]['model'][_0x38a8('0x4')](()=>{_0x2c6ec4[_0x38a8('0x1f')](_0x347421,{'commandName':_0x38a8('0x24'),'commandParams':[{'startIndex':_0xdcc4f5[_0x38a8('0x8')]}],'formatGroupId':'listStart'});});}[_0x38a8('0x2c')](_0x17a61d){const _0x35db2f=this['editor'][_0x38a8('0x2d')],{data:_0x1ce5cf}=_0x17a61d;if(!_0x1ce5cf)return;let _0xd51a10,_0x16f763;switch(_0x1ce5cf['commandName']){case'listStyle':_0xd51a10='*Change\x20to:*\x20%0',_0x16f763={'type':_0x38a8('0x21'),'content':_0x3f85b8(_0x35db2f,_0xd51a10,_0x3f85b8(_0x35db2f,this[_0x38a8('0x9')](_0x1ce5cf[_0x38a8('0x16')][0x0][_0x38a8('0x20')])))};break;case _0x38a8('0x19'):_0xd51a10=_0x1ce5cf[_0x38a8('0x16')][0x0][_0x38a8('0x0')]?_0x38a8('0x1a'):'*Format:*\x20set\x20order\x20to\x20regular',_0x16f763={'type':'format','content':_0x3f85b8(_0x35db2f,_0xd51a10)};break;case'listStart':_0xd51a10=_0x38a8('0x1d'),_0x16f763={'type':_0x38a8('0x21'),'content':_0x3f85b8(_0x35db2f,_0xd51a10,_0x1ce5cf[_0x38a8('0x16')][0x0][_0x38a8('0x8')])};}return _0x16f763;}[_0x38a8('0xa')](){const _0x14262d=this[_0x38a8('0x6')][_0x38a8('0x2e')][_0x38a8('0x1c')](_0x38a8('0x1e'));let _0x2d39c6=Array['from'](this[_0x38a8('0x6')][_0x38a8('0x29')]['document'][_0x38a8('0x22')][_0x38a8('0x17')]());return _0x2d39c6['push'](..._0x14262d['expandListBlocksToCompleteList'](_0x2d39c6)),_0x2d39c6=[...new Set(_0x2d39c6)],_0x2d39c6;}['_getSuggestionBlocks'](_0x3dd642){const _0x76063c=this[_0x38a8('0x6')][_0x38a8('0x2e')]['get'](_0x38a8('0x1e'));let _0x2efcc4=Array[_0x38a8('0x28')](this['editor'][_0x38a8('0x29')][_0x38a8('0x10')][_0x38a8('0x22')]['getSelectedBlocks']())[_0x38a8('0x13')](_0x3dd642);if(!_0x2efcc4[_0x38a8('0x12')])return null;_0x2efcc4=_0x76063c[_0x38a8('0x18')](_0x2efcc4);const _0x1370e2=[];for(const _0x2f7582 of _0x2efcc4)_0x76063c[_0x38a8('0xe')](_0x2f7582)&&_0x1370e2[_0x38a8('0x1b')](_0x2f7582);return _0x1370e2;}[_0x38a8('0x9')](_0x5924aa){return'ELEMENT_'+this[_0x38a8('0x6')]['plugins']['get']('DocumentListPropertiesUtils')['getListTypeFromListStyleType'](_0x5924aa)[_0x38a8('0x3')]()+'_LIST_'+_0x5924aa[_0x38a8('0x3')]()[_0x38a8('0x2b')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c8c=['downcastDispatcher','remove','hasClass','markInsertion','setSelection','detach','removeMarker:suggestion:insertion','split','get','mapper','document','writer','enableCommand','createRange','selection','high','end','data','TrackChangesEditing','ck-suggestion-marker-split','fromRange','enter','parent','addMarker:suggestion:insertion','nextSibling','bind','showSuggestionHighlights','commands','editor','getFirstRange','getFirstPosition','createPositionAt','change','afterExecute','model','markerNameToElements','requires','editing'];(function(_0x13711a,_0x2c8cd8){const _0x3fc9eb=function(_0x38fe0b){while(--_0x38fe0b){_0x13711a['push'](_0x13711a['shift']());}};_0x3fc9eb(++_0x2c8cd8);}(_0x2c8c,0xb5));const _0x3fc9=function(_0x13711a,_0x2c8cd8){_0x13711a=_0x13711a-0x0;let _0x3fc9eb=_0x2c8c[_0x13711a];return _0x3fc9eb;};import{Plugin as _0x45e018}from'ckeditor5/src/core';import{Enter as _0x503309}from'ckeditor5/src/enter';import{LiveRange as _0x6aecdd}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x321650}from'./utils';export default class z extends _0x45e018{static get[_0x3fc9('0x7')](){return[_0x503309];}['init'](){const _0x2ffa86=this[_0x3fc9('0x25')],_0x3f3a22=_0x2ffa86['plugins'][_0x3fc9('0x11')](_0x3fc9('0x1b')),_0x404610=_0x2ffa86[_0x3fc9('0x24')]['get'](_0x3fc9('0x1e'));_0x3f3a22[_0x3fc9('0x15')](_0x3fc9('0x1e'),()=>{_0x2ffa86['model'][_0x3fc9('0x3')](_0x15578a=>{const _0x482428=_0x2ffa86[_0x3fc9('0x5')][_0x3fc9('0x13')][_0x3fc9('0x17')],_0x32054d=_0x482428[_0x3fc9('0x1')](),_0x265f8c=_0x6aecdd[_0x3fc9('0x1d')](_0x482428[_0x3fc9('0x0')]());if(_0x404610['enterBlock'](_0x15578a)){const _0x2ee397=_0x2ffa86[_0x3fc9('0x5')][_0x3fc9('0x2')](_0x32054d[_0x3fc9('0x1f')][_0x3fc9('0x21')],0x0),_0x1d0a90=_0x15578a[_0x3fc9('0x16')](_0x32054d,_0x2ee397);_0x3f3a22[_0x3fc9('0xc')](_0x1d0a90);}else _0x15578a[_0x3fc9('0xd')](_0x15578a[_0x3fc9('0x16')](_0x265f8c[_0x3fc9('0x19')]));_0x265f8c[_0x3fc9('0xe')](),_0x404610['fire'](_0x3fc9('0x4'),{'writer':_0x15578a});});}),_0x2ffa86[_0x3fc9('0x8')][_0x3fc9('0x9')]['on'](_0x3fc9('0x20'),_0x321650(_0x2ffa86,'split'),{'priority':'high'}),_0x2ffa86['editing'][_0x3fc9('0x9')]['on'](_0x3fc9('0xf'),(_0x38543a,_0xfb840e,_0x40866f)=>{const _0x3c1be9=_0x40866f[_0x3fc9('0x12')][_0x3fc9('0x6')](_0xfb840e['markerName']);if(_0x3c1be9)for(const _0x7db6b7 of _0x3c1be9)_0x7db6b7[_0x3fc9('0xb')](_0x3fc9('0x1c'))&&(_0x40866f['mapper']['unbindElementFromMarkerName'](_0x7db6b7,_0xfb840e['markerName']),_0x40866f[_0x3fc9('0x14')][_0x3fc9('0xa')](_0x7db6b7));},{'priority':_0x3fc9('0x18')}),_0x2ffa86[_0x3fc9('0x1a')][_0x3fc9('0x9')]['on'](_0x3fc9('0x20'),(_0x3c6fbb,_0x3c3283,_0x4d182f)=>{_0x4d182f['options'][_0x3fc9('0x23')]&&_0x321650(_0x2ffa86,_0x3fc9('0x10'),{'showActiveMarker':!0x1})[_0x3fc9('0x22')](this)(_0x3c6fbb,_0x3c3283,_0x4d182f);},{'priority':_0x3fc9('0x18')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2012=['item','getMarkersGroup','findNext','plugins','enableCommand','get','filter','FindAndReplaceUtils','FindAndReplaceEditing','_isInDeletionRange','createRange','findByTextCallback','TrackChangesEditing','editor','afterInit','replaceAll','string','model','handleFindCommand','has','find','bind','suggestion:deletion'];(function(_0xe90141,_0x201215){const _0x3bdd8d=function(_0x489645){while(--_0x489645){_0xe90141['push'](_0xe90141['shift']());}};_0x3bdd8d(++_0x201215);}(_0x2012,0xa1));const _0x3bdd=function(_0xe90141,_0x201215){_0xe90141=_0xe90141-0x0;let _0x3bdd8d=_0x2012[_0xe90141];return _0x3bdd8d;};import{Plugin as _0x25da8f}from'ckeditor5/src/core';export default class H extends _0x25da8f{[_0x3bdd('0xe')](){if(!this['editor'][_0x3bdd('0x3')][_0x3bdd('0x13')](_0x3bdd('0x8')))return;const _0x31a28f=this[_0x3bdd('0xd')][_0x3bdd('0x3')][_0x3bdd('0x5')](_0x3bdd('0xc'));_0x31a28f[_0x3bdd('0x4')](_0x3bdd('0x14'),this[_0x3bdd('0x12')][_0x3bdd('0x15')](this)),_0x31a28f[_0x3bdd('0x4')](_0x3bdd('0x2')),_0x31a28f['enableCommand']('findPrevious'),_0x31a28f[_0x3bdd('0x4')]('replace'),_0x31a28f[_0x3bdd('0x4')](_0x3bdd('0xf'));}[_0x3bdd('0x12')](_0x3a0acd,_0x1f4e5c,_0x4b4081={}){const _0x5b2997=this[_0x3bdd('0xd')][_0x3bdd('0x3')][_0x3bdd('0x5')](_0x3bdd('0x7'));void 0x0!==_0x4b4081&&_0x3a0acd(_0xfa9de9=>(_0x3bdd('0x10')==typeof _0x1f4e5c?_0x5b2997[_0x3bdd('0xb')](_0x1f4e5c,_0x4b4081):_0x1f4e5c)(_0xfa9de9)[_0x3bdd('0x6')](_0x1db64d=>!0x1===this[_0x3bdd('0x9')](_0x1db64d,_0xfa9de9[_0x3bdd('0x0')])),_0x4b4081);}[_0x3bdd('0x9')](_0x54043a,_0x3f0a7f){const _0x3a9e53=this[_0x3bdd('0xd')]['model'][_0x3bdd('0xa')](this[_0x3bdd('0xd')][_0x3bdd('0x11')]['createPositionAt'](_0x3f0a7f,_0x54043a['start']),this['editor'][_0x3bdd('0x11')]['createPositionAt'](_0x3f0a7f,_0x54043a['end']));for(const _0x4a3db4 of this[_0x3bdd('0xd')][_0x3bdd('0x11')]['markers'][_0x3bdd('0x1')](_0x3bdd('0x16')))if(null!==_0x3a9e53['getIntersection'](_0x4a3db4['getRange']()))return!0x0;return!0x1;}}
|