@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230815.0 → 0.0.0-nightly-20230817.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/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-20230817.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-20230817.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230817.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 _0x3fe5=['refresh','canEditAt','acceptSuggestion','track-changes-accept-suggestion-not-found','plugins','_suggestions','TrackChangesEditing','model','getRanges','get','isEnabled','editor','_isEnabledBasedOnSelection'];(function(_0xdae699,_0x3fe51e){const _0x477f13=function(_0x34f387){while(--_0x34f387){_0xdae699['push'](_0xdae699['shift']());}};_0x477f13(++_0x3fe51e);}(_0x3fe5,0x9d));const _0x477f=function(_0xdae699,_0x3fe51e){_0xdae699=_0xdae699-0x0;let _0x477f13=_0x3fe5[_0xdae699];return _0x477f13;};import{Command as _0x3c0f1b}from'ckeditor5/src/core';import{CKEditorError as _0x25508b}from'ckeditor5/src/utils';export default class M extends _0x3c0f1b{constructor(_0x56883c,_0x535eb1){super(_0x56883c),this[_0x477f('0x4')]=_0x535eb1,this[_0x477f('0xc')](),this[_0x477f('0xb')]=!0x1;}[_0x477f('0xc')](){this[_0x477f('0x9')]=!0x0;}['execute'](_0x37c6ae){const _0xcf1681=this['_suggestions']['get'](_0x37c6ae);if(!_0xcf1681)throw new _0x25508b(_0x477f('0x2'),this);const _0xf7dfc2=_0xcf1681[_0x477f('0x7')]();this[_0x477f('0xa')][_0x477f('0x6')][_0x477f('0x0')](_0xf7dfc2)&&this[_0x477f('0xa')][_0x477f('0x3')][_0x477f('0x8')](_0x477f('0x5'))[_0x477f('0x1')](_0xcf1681);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1eef=['get','getRanges','model','isEnabled','_suggestions','_isEnabledBasedOnSelection','track-changes-discard-suggestion-not-found','canEditAt','editor','plugins','refresh','discardSuggestion'];(function(_0x326dae,_0x1eefec){const _0x1bc4a3=function(_0x30f721){while(--_0x30f721){_0x326dae['push'](_0x326dae['shift']());}};_0x1bc4a3(++_0x1eefec);}(_0x1eef,0x138));const _0x1bc4=function(_0x326dae,_0x1eefec){_0x326dae=_0x326dae-0x0;let _0x1bc4a3=_0x1eef[_0x326dae];return _0x1bc4a3;};import{Command as _0x14412e}from'ckeditor5/src/core';import{CKEditorError as _0x88c3a1}from'ckeditor5/src/utils';export default class $ extends _0x14412e{constructor(_0x29c9f7,_0x5f14c0){super(_0x29c9f7),this[_0x1bc4('0x4')]=_0x5f14c0,this[_0x1bc4('0xa')](),this[_0x1bc4('0x5')]=!0x1;}[_0x1bc4('0xa')](){this[_0x1bc4('0x3')]=!0x0;}['execute'](_0x1f3bd6){const _0x57157d=this['_suggestions'][_0x1bc4('0x0')](_0x1f3bd6);if(!_0x57157d)throw new _0x88c3a1(_0x1bc4('0x6'),this);const _0x3f5d12=_0x57157d[_0x1bc4('0x1')]();this[_0x1bc4('0x8')][_0x1bc4('0x2')][_0x1bc4('0x7')](_0x3f5d12)&&this['editor'][_0x1bc4('0x9')][_0x1bc4('0x0')]('TrackChangesEditing')[_0x1bc4('0xb')](_0x57157d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd160=['execute','model','isEnabled','_suggestions','from','values','_isEnabledBasedOnSelection','refresh','_command','editor','some','getRanges'];(function(_0x561fc5,_0xd160e9){const _0xbc6deb=function(_0x41158c){while(--_0x41158c){_0x561fc5['push'](_0x561fc5['shift']());}};_0xbc6deb(++_0xd160e9);}(_0xd160,0x1ce));const _0xbc6d=function(_0x561fc5,_0xd160e9){_0x561fc5=_0x561fc5-0x0;let _0xbc6deb=_0xd160[_0x561fc5];return _0xbc6deb;};import{Command as _0x33df4b}from'ckeditor5/src/core';import{sortSuggestions as _0x3a02a1,executeCommandForSuggestions as _0x572bd8}from'../utils/utils';export default class N extends _0x33df4b{constructor(_0x5ecfa8,_0x86dcde,_0x1ca7e1){super(_0x5ecfa8),this['_command']=_0x86dcde,this['_suggestions']=_0x1ca7e1,this[_0xbc6d('0x1')](),this[_0xbc6d('0x0')]=!0x1;}[_0xbc6d('0x1')](){const _0x1375bc=Array[_0xbc6d('0xa')](this[_0xbc6d('0x9')][_0xbc6d('0xb')]())[_0xbc6d('0x4')](_0x3db353=>_0x3db353['isInContent']);this['isEnabled']=this['_command'][_0xbc6d('0x8')]&&_0x1375bc;}[_0xbc6d('0x6')](){const _0x21e3e7=_0x3a02a1(Array[_0xbc6d('0xa')](this[_0xbc6d('0x9')][_0xbc6d('0xb')]()));for(const _0x8ce97a of _0x21e3e7){const _0x3b475c=_0x8ce97a[_0xbc6d('0x5')]();if(!this[_0xbc6d('0x3')][_0xbc6d('0x7')]['canEditAt'](_0x3b475c))return;}_0x572bd8(this[_0xbc6d('0x3')]['model'],this[_0xbc6d('0x2')],_0x21e3e7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x559a=['model','_selectedSuggestions','document','_suggestions','size','_command','values','canEditAt','from','editor','refresh','selection','isEnabled','_isEnabledBasedOnSelection'];(function(_0x2452e3,_0x559a33){const _0x378604=function(_0x3aab31){while(--_0x3aab31){_0x2452e3['push'](_0x2452e3['shift']());}};_0x378604(++_0x559a33);}(_0x559a,0x6d));const _0x3786=function(_0x2452e3,_0x559a33){_0x2452e3=_0x2452e3-0x0;let _0x378604=_0x559a[_0x2452e3];return _0x378604;};import{Command as _0x5cfb40}from'ckeditor5/src/core';import{sortSuggestions as _0x789724,getSelectedSuggestions as _0x116e4f,executeCommandForSuggestions as _0x596925}from'../utils/utils';export default class R extends _0x5cfb40{constructor(_0x498179,_0x2306b2,_0x4e78fc){super(_0x498179),this[_0x3786('0x8')]=_0x2306b2,this[_0x3786('0x6')]=_0x4e78fc,this['_selectedSuggestions']=new Set(),this[_0x3786('0xd')](),this[_0x3786('0x2')]=!0x1;}[_0x3786('0xd')](){const _0x3337e9=this[_0x3786('0xc')][_0x3786('0x3')][_0x3786('0x5')][_0x3786('0x0')],_0x580080=Array[_0x3786('0xb')](this[_0x3786('0x6')][_0x3786('0x9')]());this[_0x3786('0x4')]=_0x116e4f(_0x3337e9,_0x580080),this[_0x3786('0x1')]=this[_0x3786('0x8')]['isEnabled']&&!!this[_0x3786('0x4')][_0x3786('0x7')];}['execute'](){const _0x3d2875=_0x789724(Array[_0x3786('0xb')](this[_0x3786('0x4')]));for(const _0xe74765 of _0x3d2875){const _0x5c4e48=_0xe74765['getRanges']();if(!this[_0x3786('0xc')]['model'][_0x3786('0xa')](_0x5c4e48))return;}_0x596925(this['editor'][_0x3786('0x3')],this['_command'],_0x3d2875);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51b9=['has','editor','execute','value','commands','isEnabled','clearForceDisabled','_enableCommands','affectsData','_disableUnsupportedCommands','forceDisabled','TrackChangesCommand','_isEnabledBasedOnSelection','_enabledCommands'];(function(_0x1d6f46,_0x51b968){const _0x506775=function(_0x391ec5){while(--_0x391ec5){_0x1d6f46['push'](_0x1d6f46['shift']());}};_0x506775(++_0x51b968);}(_0x51b9,0xdf));const _0x5067=function(_0x1d6f46,_0x51b968){_0x1d6f46=_0x1d6f46-0x0;let _0x506775=_0x51b9[_0x1d6f46];return _0x506775;};import{Command as _0x856cbf}from'ckeditor5/src/core';export default class _ extends _0x856cbf{constructor(_0x278f68,_0x1f069c){super(_0x278f68),this['_enabledCommands']=_0x1f069c,this[_0x5067('0x4')]=!0x1,this['refresh'](),this[_0x5067('0xd')]=!0x1;}['refresh'](){this[_0x5067('0x6')]=!0x0;}[_0x5067('0x3')](){this[_0x5067('0x4')]=!this[_0x5067('0x4')],this[_0x5067('0x4')]?this[_0x5067('0xa')]():this[_0x5067('0x8')]();}[_0x5067('0xa')](){for(const _0x4f2e72 of this[_0x5067('0x2')][_0x5067('0x5')][_0x5067('0x5')]())_0x4f2e72['affectsData']&&!this['_enabledCommands'][_0x5067('0x1')](_0x4f2e72)&&_0x4f2e72[_0x5067('0xb')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x37e254 of this[_0x5067('0x2')][_0x5067('0x5')][_0x5067('0x5')]())_0x37e254[_0x5067('0x9')]&&!this[_0x5067('0x0')][_0x5067('0x1')](_0x37e254)&&_0x37e254[_0x5067('0x7')](_0x5067('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b67=['contentLanguageDirection','checkAttribute','_descriptionFactory','schema','change','FORMAT_ALIGN_TO_LEFT','left','alignment','center','markBlockFormat','getSelectedBlocks','value','from','selection','locale','document','enableCommand','FORMAT_ALIGN_TO_CENTER','right','plugins','FORMAT_ALIGN_TO_RIGHT','filter','registerDescriptionCallback','editor','AlignmentEditing','format','commandName','get','commandParams','model','TrackChangesEditing','*Format:*\x20%0','FORMAT_JUSTIFY_TEXT'];(function(_0xa1bc11,_0x4b6753){const _0x23f365=function(_0x550e48){while(--_0x550e48){_0xa1bc11['push'](_0xa1bc11['shift']());}};_0x23f365(++_0x4b6753);}(_0x4b67,0x8e));const _0x23f3=function(_0xa1bc11,_0x4b6753){_0xa1bc11=_0xa1bc11-0x0;let _0x23f365=_0x4b67[_0xa1bc11];return _0x23f365;};import{Plugin as _0x34352b}from'ckeditor5/src/core';import{getTranslation as _0x1762c5}from'../utils/common-translations';export default class x extends _0x34352b{['afterInit'](){const _0x296522=this[_0x23f3('0xd')],_0x52a343=_0x296522[_0x23f3('0x4')];if(!_0x296522[_0x23f3('0x9')]['has'](_0x23f3('0xe')))return;const _0x1c8b97=_0x296522[_0x23f3('0x9')][_0x23f3('0x11')](_0x23f3('0x14'));_0x1c8b97[_0x23f3('0x6')](_0x23f3('0x1e'),(_0x393d42,_0x1a2b2f={})=>{let _0x5c8d93=_0x1a2b2f['value'];_0x1a2b2f[_0x23f3('0x1')]||(_0x5c8d93='ltr'===_0x296522[_0x23f3('0x4')][_0x23f3('0x17')]?'left':_0x23f3('0x8'));const _0x4a8f88=Array[_0x23f3('0x2')](this[_0x23f3('0xd')][_0x23f3('0x13')][_0x23f3('0x5')][_0x23f3('0x3')][_0x23f3('0x0')]())[_0x23f3('0xb')](_0x917cbc=>function(_0x53d0fa,_0x2d107c,_0x457712){const _0x5d8606=_0x53d0fa['getAttribute'](_0x23f3('0x1e'))||null;return _0x2d107c[_0x23f3('0x18')](_0x53d0fa,_0x23f3('0x1e'))&&_0x457712!=_0x5d8606;}(_0x917cbc,this['editor'][_0x23f3('0x13')][_0x23f3('0x1a')],_0x5c8d93));_0x296522[_0x23f3('0x13')][_0x23f3('0x1b')](()=>{for(const _0x47cb47 of _0x4a8f88)_0x1c8b97[_0x23f3('0x20')](_0x47cb47,{'commandName':'alignment','commandParams':[{'value':_0x5c8d93}]});});}),_0x1c8b97[_0x23f3('0x19')][_0x23f3('0xc')](_0x59c5c6=>{const {data:_0x535776}=_0x59c5c6;if(_0x535776&&_0x23f3('0x1e')==_0x535776[_0x23f3('0x10')]){const _0x2b1013=_0x535776[_0x23f3('0x12')][0x0][_0x23f3('0x1')];return{'type':_0x23f3('0xf'),'content':_0x1762c5(_0x52a343,_0x23f3('0x15'),function(_0xc0f339){switch(_0xc0f339){case _0x23f3('0x1d'):return _0x1762c5(_0x52a343,_0x23f3('0x1c'));case _0x23f3('0x8'):return _0x1762c5(_0x52a343,_0x23f3('0xa'));case _0x23f3('0x1f'):return _0x1762c5(_0x52a343,_0x23f3('0x7'));case'justify':return _0x1762c5(_0x52a343,_0x23f3('0x16'));}}(_0x2b1013))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dbe=['commands','FORMAT_ITALIC','get','subscript','italic','StrikethroughEditing','forceValue','strikethrough','plugins','FORMAT_SUPERSCRIPT','getRanges','enableCommand','SuperscriptEditing','_descriptionFactory','UnderlineEditing','toLowerCase','from','has','model','FORMAT_BOLD','commandName','isCollapsed','slice','format','markInlineFormat','superscript','*Remove\x20format:*\x20%0','registerDescriptionCallback','CodeEditing','SubscriptEditing','TrackChangesEditing','code','locale','BoldEditing','underline','afterInit','document','value','*Format:*\x20%0'];(function(_0x2ad73b,_0x5dbe56){const _0x227e54=function(_0x143b98){while(--_0x143b98){_0x2ad73b['push'](_0x2ad73b['shift']());}};_0x227e54(++_0x5dbe56);}(_0x5dbe,0x6f));const _0x227e=function(_0x2ad73b,_0x5dbe56){_0x2ad73b=_0x2ad73b-0x0;let _0x227e54=_0x5dbe[_0x2ad73b];return _0x227e54;};import{Plugin as _0x3b538b}from'ckeditor5/src/core';import{getTranslation as _0x3527c0}from'../utils/common-translations';import{getRangesWithAttribute as _0x3c6007}from'./utils';const Kt=[_0x227e('0x0'),'ItalicEditing',_0x227e('0x14'),_0x227e('0x22'),_0x227e('0xb'),_0x227e('0x23'),_0x227e('0x12')];export default class U extends _0x3b538b{[_0x227e('0x2')](){const _0x1f4d35=this['editor'],_0x130b06=_0x1f4d35[_0x227e('0x18')],_0x1d2071=_0x1f4d35[_0x227e('0xe')]['get'](_0x227e('0x24')),_0x2fb6e6=_0x1f4d35[_0x227e('0x26')];for(const _0x36344a of Kt){if(!_0x1f4d35['plugins'][_0x227e('0x17')](_0x36344a))continue;const _0x319f42=_0x36344a[_0x227e('0x1c')](0x0,-0x7)[_0x227e('0x15')](),_0x21dcf0=_0x1f4d35[_0x227e('0x6')][_0x227e('0x8')](_0x319f42);_0x1d2071[_0x227e('0x11')](_0x319f42,(_0x593562,_0x2e6033={})=>{const _0x36a13e=_0x130b06[_0x227e('0x3')]['selection'];if(_0x36a13e[_0x227e('0x1b')])return void _0x593562(_0x2e6033);const _0x51cd18=void 0x0!==_0x2e6033[_0x227e('0xc')]?_0x2e6033[_0x227e('0xc')]:!_0x21dcf0[_0x227e('0x4')];_0x130b06['change'](()=>{const _0x2a7d16=Array[_0x227e('0x16')](_0x36a13e[_0x227e('0x10')]());for(const _0x5464c8 of _0x2a7d16){const _0x54bc87=_0x51cd18?[_0x5464c8]:_0x3c6007(_0x319f42,_0x5464c8,_0x130b06);for(const _0x36d92c of _0x54bc87)_0x1d2071[_0x227e('0x1e')](_0x36d92c,{'commandName':_0x319f42,'commandParams':[{'forceValue':_0x51cd18}]});}});});}function _0x521f98(_0x10a6f5,_0x352939){_0x1d2071[_0x227e('0x13')][_0x227e('0x21')](_0x39c7e7=>{const {data:_0x5257bf}=_0x39c7e7;if(_0x5257bf&&_0x5257bf[_0x227e('0x1a')]===_0x10a6f5)return _0x5257bf['commandParams'][0x0][_0x227e('0xc')]?{'type':_0x227e('0x1d'),'content':_0x3527c0(_0x2fb6e6,_0x227e('0x5'),_0x352939)}:{'type':_0x227e('0x1d'),'content':_0x3527c0(_0x2fb6e6,_0x227e('0x20'),_0x352939)};});}_0x521f98('bold',_0x3527c0(_0x2fb6e6,_0x227e('0x19'))),_0x521f98(_0x227e('0xa'),_0x3527c0(_0x2fb6e6,_0x227e('0x7'))),_0x521f98(_0x227e('0x1'),_0x3527c0(_0x2fb6e6,'FORMAT_UNDERLINE')),_0x521f98(_0x227e('0x25'),_0x3527c0(_0x2fb6e6,'FORMAT_CODE')),_0x521f98(_0x227e('0xd'),_0x3527c0(_0x2fb6e6,'FORMAT_STRIKETHROUGH')),_0x521f98(_0x227e('0x9'),_0x3527c0(_0x2fb6e6,'FORMAT_SUBSCRIPT')),_0x521f98(_0x227e('0x1f'),_0x3527c0(_0x2fb6e6,_0x227e('0xf')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46c2=['checkChild','format','getSelectedBlocks','filter','selection','document','forceValue','*Format:*\x20%0','plugins','afterInit','change','markBlockFormat','ELEMENT_BLOCK_QUOTE','get','has','model','commands','BlockQuoteEditing','*Remove\x20format:*\x20%0','editor','$root','commandName','commandParams','from','parent','name','blockQuote','_descriptionFactory'];(function(_0x19ca1b,_0x46c2ea){const _0x25f269=function(_0x2d6e7a){while(--_0x2d6e7a){_0x19ca1b['push'](_0x19ca1b['shift']());}};_0x25f269(++_0x46c2ea);}(_0x46c2,0xd0));const _0x25f2=function(_0x19ca1b,_0x46c2ea){_0x19ca1b=_0x19ca1b-0x0;let _0x25f269=_0x46c2[_0x19ca1b];return _0x25f269;};import{Plugin as _0x164445}from'ckeditor5/src/core';import{getTranslation as _0x258208}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x248861}from'../utils/utils';export default class j extends _0x164445{[_0x25f2('0x19')](){const _0x3cbf87=this['editor'],_0x1a8560=_0x3cbf87['locale'];if(!_0x3cbf87['plugins'][_0x25f2('0x2')](_0x25f2('0x5')))return;const _0x6e95e3=_0x3cbf87[_0x25f2('0x18')][_0x25f2('0x1')]('TrackChangesEditing'),_0x11c25b=this[_0x25f2('0x7')][_0x25f2('0x4')][_0x25f2('0x1')](_0x25f2('0xe'));_0x6e95e3['enableCommand'](_0x25f2('0xe'),(_0x22f93e,_0x2040aa={})=>{const _0x497389=this[_0x25f2('0x7')][_0x25f2('0x3')][_0x25f2('0x15')][_0x25f2('0x14')],_0x36f4c4=_0x2040aa&&void 0x0!==_0x2040aa[_0x25f2('0x16')]?_0x2040aa[_0x25f2('0x16')]:!_0x11c25b['value'];let _0x4c3844=[];if(_0x36f4c4){const _0x44344c=Array[_0x25f2('0xb')](_0x497389[_0x25f2('0x12')]())[_0x25f2('0x13')](_0x3acb1d=>Xt(_0x3acb1d)||function(_0x5a4b87,_0xd96538){const _0x44e11b=_0xd96538[_0x25f2('0x10')](_0x5a4b87['parent'],_0x25f2('0xe')),_0x47ce91=_0xd96538[_0x25f2('0x10')]([_0x25f2('0x8'),_0x25f2('0xe')],_0x5a4b87);return _0x44e11b&&_0x47ce91;}(_0x3acb1d,this[_0x25f2('0x7')][_0x25f2('0x3')]['schema']));_0x4c3844=_0x248861(_0x44344c,_0x3cbf87['model']);}else{const _0x5a6ada=Array['from'](_0x497389[_0x25f2('0x12')]())['filter'](_0x4ae3d2=>Xt(_0x4ae3d2));_0x4c3844=_0x248861(_0x5a6ada,_0x3cbf87[_0x25f2('0x3')]);}_0x3cbf87[_0x25f2('0x3')][_0x25f2('0x1a')](()=>{for(const _0x3cdd4b of _0x4c3844)_0x6e95e3[_0x25f2('0x1b')](_0x3cdd4b,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x36f4c4}]});});}),_0x6e95e3[_0x25f2('0xf')]['registerDescriptionCallback'](_0xdf4ce0=>{const {data:_0x2f2732}=_0xdf4ce0;if(_0x2f2732&&_0x25f2('0xe')==_0x2f2732[_0x25f2('0x9')]){const _0x172e7a=_0x258208(_0x1a8560,_0x25f2('0x0'));return _0x2f2732[_0x25f2('0xa')][0x0]['forceValue']?{'type':_0x25f2('0x11'),'content':_0x258208(_0x1a8560,_0x25f2('0x17'),_0x172e7a)}:{'type':_0x25f2('0x11'),'content':_0x258208(_0x1a8560,_0x25f2('0x6'),_0x172e7a)};}});}}function Xt(_0x4f02af){return _0x25f2('0xe')==_0x4f02af[_0x25f2('0xc')][_0x25f2('0xd')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f58=['enableCommand','plugins','ckbox','TrackChangesEditing','get'];(function(_0x134ede,_0x2f5850){const _0x31ecf7=function(_0x120ef9){while(--_0x120ef9){_0x134ede['push'](_0x134ede['shift']());}};_0x31ecf7(++_0x2f5850);}(_0x2f58,0xb5));const _0x31ec=function(_0x134ede,_0x2f5850){_0x134ede=_0x134ede-0x0;let _0x31ecf7=_0x2f58[_0x134ede];return _0x31ecf7;};import{Plugin as _0x6b3fa3}from'ckeditor5/src/core';export default class E extends _0x6b3fa3{['afterInit'](){const _0x2d1793=this['editor'];_0x2d1793['commands'][_0x31ec('0x3')](_0x31ec('0x1'))&&_0x2d1793[_0x31ec('0x0')][_0x31ec('0x3')](_0x31ec('0x2'))[_0x31ec('0x4')](_0x31ec('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cf2=['enableCommand','*Format:*\x20%0','afterInit','plugins','rootElement','name','TrackChangesEditing','codeBlock','commandName','ELEMENT_CODE_BLOCK','_descriptionFactory','formatBlock','language','commandParams','blockName','isLimit','checkChild','get','getSelectedBlocks','parent','locale','registerElementLabel','from','indentCodeBlock','markBlockFormat','model','config','filter','change','forceValue','schema','selection','find','label','*Remove\x20format:*\x20%0','editor','outdentCodeBlock','registerDescriptionCallback'];(function(_0x3702bf,_0x4cf2da){const _0x336bd0=function(_0x18b4f0){while(--_0x18b4f0){_0x3702bf['push'](_0x3702bf['shift']());}};_0x336bd0(++_0x4cf2da);}(_0x4cf2,0x14b));const _0x336b=function(_0x3702bf,_0x4cf2da){_0x3702bf=_0x3702bf-0x0;let _0x336bd0=_0x4cf2[_0x3702bf];return _0x336bd0;};import{Plugin as _0x38c04b}from'ckeditor5/src/core';import{getTranslation as _0x3757f5}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3afa3b}from'../utils/utils';export default class O extends _0x38c04b{[_0x336b('0xd')](){const _0x407240=this[_0x336b('0x8')];if(!_0x407240[_0x336b('0xe')]['has']('CodeBlock'))return;const _0x471796=_0x407240[_0x336b('0xe')]['get'](_0x336b('0x11')),_0x52cb80=_0x407240[_0x336b('0x1f')],_0x1726b5=_0x407240[_0x336b('0x25')][_0x336b('0x1c')](_0x336b('0x12'))['languages'],_0x279005=_0x407240['commands'][_0x336b('0x1c')]('codeBlock');_0x471796[_0x336b('0xb')](_0x336b('0x22')),_0x471796['enableCommand'](_0x336b('0x9')),_0x471796[_0x336b('0xb')]('codeBlock',(_0x59a61c,_0x1e211b={})=>{const _0x408010=_0x407240[_0x336b('0x24')],_0x5e1a94=_0x407240[_0x336b('0x24')]['document'][_0x336b('0x4')],_0x269d8d=_0x1e211b&&void 0x0!==_0x1e211b[_0x336b('0x2')]?_0x1e211b[_0x336b('0x2')]:!_0x279005['value'];let _0x4e2e9b;_0x1e211b[_0x336b('0x17')]||(_0x1e211b[_0x336b('0x17')]=_0x1726b5[0x0][_0x336b('0x17')]),_0x4e2e9b=_0x269d8d?Array[_0x336b('0x21')](_0x5e1a94[_0x336b('0x1d')]())[_0x336b('0x0')](_0x4d2fe0=>oo(_0x4d2fe0)||function(_0x3fa4b7,_0x555f1d){if(_0x3fa4b7['is'](_0x336b('0xf'))||_0x555f1d[_0x336b('0x1a')](_0x3fa4b7))return!0x1;return _0x555f1d[_0x336b('0x1b')](_0x3fa4b7[_0x336b('0x1e')],_0x336b('0x12'));}(_0x4d2fe0,_0x408010[_0x336b('0x3')])):Array[_0x336b('0x21')](_0x5e1a94['getSelectedBlocks']())[_0x336b('0x0')](_0x5f05bc=>oo(_0x5f05bc));const _0x188aae=_0x3afa3b(_0x4e2e9b,_0x408010);_0x408010[_0x336b('0x1')](()=>{for(const _0x491507 of _0x188aae)_0x471796[_0x336b('0x23')](_0x491507,{'commandName':_0x336b('0x12'),'commandParams':[{..._0x1e211b,'forceValue':_0x269d8d}],'formatGroupId':_0x336b('0x19')});});}),(_0x471796[_0x336b('0x15')][_0x336b('0x20')](_0x336b('0x12'),_0x59e181=>_0x3757f5(_0x52cb80,_0x336b('0x14'),_0x59e181)),_0x471796[_0x336b('0x15')][_0x336b('0xa')](_0x7df26a=>{const _0x4394af=_0x52cb80['t'],{type:_0x4fff13,data:_0x394e5a}=_0x7df26a;if(_0x336b('0x16')==_0x4fff13&&_0x394e5a&&_0x336b('0x12')==_0x394e5a[_0x336b('0x13')]){const _0x44eea6=_0x394e5a[_0x336b('0x18')][0x0]['language'],_0x253f2b=_0x4394af(_0x1726b5[_0x336b('0x5')](_0x5c3d9b=>_0x5c3d9b[_0x336b('0x17')]===_0x44eea6)[_0x336b('0x6')]);return _0x394e5a['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x3757f5(_0x52cb80,_0x336b('0xc'),_0x3757f5(_0x52cb80,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x253f2b+')')}:{'type':'format','content':_0x3757f5(_0x52cb80,_0x336b('0x7'),_0x3757f5(_0x52cb80,_0x336b('0x14'),0x1))};}}));}}function oo(_0x1d02ae){return _0x336b('0x12')==_0x1d02ae[_0x336b('0x10')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4082=['afterInit','get','TrackChangesEditing','CommentsEditing','has','enableCommand','addCommentThread'];(function(_0x1a45ae,_0x4082fb){const _0x2287e7=function(_0x5f3cf2){while(--_0x5f3cf2){_0x1a45ae['push'](_0x1a45ae['shift']());}};_0x2287e7(++_0x4082fb);}(_0x4082,0xd2));const _0x2287=function(_0x1a45ae,_0x4082fb){_0x1a45ae=_0x1a45ae-0x0;let _0x2287e7=_0x4082[_0x1a45ae];return _0x2287e7;};import{Plugin as _0x2a5827}from'ckeditor5/src/core';export default class F extends _0x2a5827{[_0x2287('0x0')](){const _0x2866b0=this['editor'];if(!_0x2866b0['plugins'][_0x2287('0x4')](_0x2287('0x3')))return;_0x2866b0['plugins'][_0x2287('0x1')](_0x2287('0x2'))[_0x2287('0x5')](_0x2287('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x388d=['model','plugins','getFirstRange','createSelection','init','editing','merge','isCollapsed','addMarker:suggestion:deletion','batch','data','delete','unit','buffer','rootName','setSelection','deleteForward','high','mapper','commands','TrackChangesEditing','end','selection','start','downcastDispatcher','showSuggestionHighlights','fromRange','enqueueChange','writer','markerName','forward','remove','modifySelection','get','markerNameToElements','enableCommand','requires','document','uiElement','createRange','unbindElementFromMarkerName','bind'];(function(_0x50dc68,_0x388d43){const _0x1ca1a0=function(_0x28f059){while(--_0x28f059){_0x50dc68['push'](_0x50dc68['shift']());}};_0x1ca1a0(++_0x388d43);}(_0x388d,0x1b7));const _0x1ca1=function(_0x50dc68,_0x388d43){_0x50dc68=_0x50dc68-0x0;let _0x1ca1a0=_0x388d[_0x50dc68];return _0x1ca1a0;};import{Plugin as _0x1678fe}from'ckeditor5/src/core';import{LiveRange as _0x22a529}from'ckeditor5/src/engine';import{Delete as _0x19d9c0}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2405ea}from'./utils';export default class G extends _0x1678fe{static get[_0x1ca1('0x11')](){return[_0x19d9c0];}[_0x1ca1('0x1b')](){const _0x15a18e=this['editor'],_0x3bad10=_0x15a18e[_0x1ca1('0x18')][_0x1ca1('0xe')](_0x1ca1('0x1'));_0x3bad10[_0x1ca1('0x10')](_0x1ca1('0x22'));const _0x5b0a62=_0x15a18e[_0x1ca1('0x0')]['get'](_0x1ca1('0x27'));_0x3bad10['enableCommand']('deleteForward',(_0x51d014,_0x72609b={})=>{const _0x405ec3=_0x15a18e['model'][_0x1ca1('0x1a')](_0x15a18e[_0x1ca1('0x17')][_0x1ca1('0x12')][_0x1ca1('0x3')]);_0x405ec3[_0x1ca1('0x1e')]&&_0x15a18e[_0x1ca1('0x17')][_0x1ca1('0xd')](_0x405ec3,{'direction':_0x1ca1('0xb'),'unit':_0x72609b[_0x1ca1('0x23')]});const _0x1f2661=_0x405ec3[_0x1ca1('0x19')](),_0x265014=_0x22a529[_0x1ca1('0x7')](_0x1f2661);let _0x41e93d;_0x51d014(_0x72609b),_0x41e93d='$graveyard'==_0x265014['root'][_0x1ca1('0x25')]?_0x15a18e[_0x1ca1('0x17')][_0x1ca1('0x14')](_0x1f2661['start']):_0x15a18e[_0x1ca1('0x17')][_0x1ca1('0x14')](_0x265014[_0x1ca1('0x4')],_0x265014[_0x1ca1('0x2')]),_0x265014['detach'](),_0x15a18e[_0x1ca1('0x17')][_0x1ca1('0x8')](_0x5b0a62['buffer'][_0x1ca1('0x20')],_0x1d49f1=>{_0x5b0a62[_0x1ca1('0x24')]['lock'](),_0x1d49f1[_0x1ca1('0x26')](_0x1d49f1[_0x1ca1('0x14')](_0x41e93d[_0x1ca1('0x2')])),_0x5b0a62['buffer']['unlock']();});}),_0x15a18e[_0x1ca1('0x1c')][_0x1ca1('0x5')]['on'](_0x1ca1('0x1f'),_0x2405ea(_0x15a18e,_0x1ca1('0x1d')),{'priority':_0x1ca1('0x28')}),_0x15a18e[_0x1ca1('0x21')][_0x1ca1('0x5')]['on'](_0x1ca1('0x1f'),(_0x410906,_0x6a0d07,_0x11e2d0)=>{_0x11e2d0['options'][_0x1ca1('0x6')]&&_0x2405ea(_0x15a18e,'merge',{'showActiveMarker':!0x1})[_0x1ca1('0x16')](this)(_0x410906,_0x6a0d07,_0x11e2d0);},{'priority':_0x1ca1('0x28')}),_0x15a18e['editing'][_0x1ca1('0x5')]['on']('removeMarker:suggestion:deletion',(_0xc90e49,_0x3a2aa0,_0x3cddf2)=>{const _0x2929ca=_0x3cddf2[_0x1ca1('0x29')][_0x1ca1('0xf')](_0x3a2aa0[_0x1ca1('0xa')]);if(_0x2929ca)for(const _0x166e88 of _0x2929ca)_0x166e88['is'](_0x1ca1('0x13'))&&(_0x3cddf2[_0x1ca1('0x29')][_0x1ca1('0x15')](_0x166e88,_0x3a2aa0[_0x1ca1('0xa')]),_0x3cddf2[_0x1ca1('0x9')][_0x1ca1('0xc')](_0x166e88));},{'priority':_0x1ca1('0x28')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7654=['formatBlock','*Indent:*\x20%0','afterInit','multipleBlocks','outdentList','execute','TrackChangesEditing','has','listIndent','isObject','commandParams','bulletedList','_descriptionFactory','from','before','splitListItemBefore','registerCustomCallback','getFirstRange','ELEMENT_BULLETED_LIST','listType','forceValue','commands','start','_LIST','*Format:*\x20remove\x20from\x20%0','containsItem','schema','nextSibling','ELEMENT_NUMBERED_LIST','mergeListItemBackward','model','enableCommand','get','ELEMENT_LIST_ITEM','deletion','refresh','DocumentListEditing','document','map','plugins','getRanges','getAttribute','setSelection','markMultiRangeBlockFormat','documentList','next','createPositionAt','end','getSelectedBlocks','after','locale','_suggestionFactory','length','detach','commandName','fromRange','createRange','accept','toUpperCase','findIndex','*Change\x20to:*\x20%0','*Format:*\x20insert\x20into\x20%0','markBlockFormat','splitListItemAfter','indentList','value','selection','ELEMENT_','change','expandListBlocksToCompleteList','*Merge:*\x20%0','hasAttribute','registerDescriptionCallback','nodeAfter','push','registerElementLabel','listItemId','add','numberedList','slice','format'];(function(_0x456a7a,_0x7654e6){const _0x18c47f=function(_0x5ea12a){while(--_0x5ea12a){_0x456a7a['push'](_0x456a7a['shift']());}};_0x18c47f(++_0x7654e6);}(_0x7654,0x187));const _0x18c4=function(_0x456a7a,_0x7654e6){_0x456a7a=_0x456a7a-0x0;let _0x18c47f=_0x7654[_0x456a7a];return _0x18c47f;};import{Plugin as _0x19cab1}from'ckeditor5/src/core';import{getTranslation as _0x433876}from'../utils/common-translations';import{LiveRange as _0x4d1cc1}from'ckeditor5/src/engine';export default class L extends _0x19cab1{[_0x18c4('0x10')](){const _0x411f1c=this['editor'];if(!_0x411f1c[_0x18c4('0x35')][_0x18c4('0x15')](_0x18c4('0x32')))return;const _0x220678=_0x411f1c[_0x18c4('0x40')],_0x314ebe=_0x411f1c[_0x18c4('0x35')][_0x18c4('0x2e')](_0x18c4('0x14')),_0x55a451=_0x411f1c[_0x18c4('0x35')]['get']('DocumentListUtils');function _0x40089f(_0x178ab8){return()=>{const _0x2d4514=_0x411f1c[_0x18c4('0x23')][_0x18c4('0x2e')](_0x178ab8);let _0x346bbc=Array[_0x18c4('0x1b')](_0x411f1c['model']['document']['selection'][_0x18c4('0x3e')]());if(_0x2140fa(_0x178ab8)){_0x346bbc=_0x55a451[_0x18c4('0x2')](_0x346bbc);const _0x308907=[];for(const _0x3385c5 of _0x346bbc)_0x55a451['isFirstBlockOfListItem'](_0x3385c5)&&_0x308907[_0x18c4('0x7')](_0x3385c5);_0x346bbc=_0x308907;}_0x411f1c[_0x18c4('0x2c')][_0x18c4('0x1')](()=>{_0x314ebe[_0x18c4('0x39')](_0x346bbc,{'commandName':_0x178ab8,'commandParams':[{'forceValue':!_0x2d4514[_0x18c4('0x4f')]}],'formatGroupId':'listType'},[],_0x18c4('0x3a'));});};}function _0x4bc6ee(_0x557d4c){return()=>{const _0x14f0dd=function(_0x83b6f9){let _0x13b71d=Array[_0x18c4('0x1b')](_0x83b6f9);const _0x405abb=_0x13b71d[_0x18c4('0x49')](_0x163da1=>!_0x163da1[_0x18c4('0x4')](_0x18c4('0x9')));return _0x405abb>-0x1&&(_0x13b71d=_0x13b71d[_0x18c4('0xc')](0x0,_0x405abb)),_0x13b71d;}(_0x411f1c['model']['document'][_0x18c4('0x50')]['getSelectedBlocks']()),_0x48f75b=_0x14f0dd[_0x14f0dd[_0x18c4('0x42')]-0x1],_0x1d2a96=_0x411f1c['model'][_0x18c4('0x28')][_0x18c4('0x17')](_0x48f75b)?_0x18c4('0x3f'):_0x18c4('0x3d'),_0x3268b2=_0x411f1c[_0x18c4('0x2c')][_0x18c4('0x46')](_0x411f1c[_0x18c4('0x2c')]['createPositionAt'](_0x14f0dd[0x0],_0x18c4('0x1c')),_0x411f1c[_0x18c4('0x2c')][_0x18c4('0x3c')](_0x48f75b,_0x1d2a96));_0x411f1c[_0x18c4('0x2c')][_0x18c4('0x1')](()=>{_0x314ebe['markBlockFormat'](_0x3268b2,{'commandName':_0x557d4c,'commandParams':[],'formatGroupId':'listType'},function(_0xcdfce8){const _0x3480c2=new Set();for(const _0x2238ba of _0xcdfce8){let _0x4b8454=_0x2238ba['nextSibling'];for(;_0x4b8454&&_0x4b8454[_0x18c4('0x37')](_0x18c4('0x16'))>_0x2238ba['getAttribute'](_0x18c4('0x16'));)_0x3480c2[_0x18c4('0xa')](_0x4b8454),_0x4b8454=_0x4b8454[_0x18c4('0x29')];}return Array[_0x18c4('0x1b')](_0x3480c2);}(_0x14f0dd));});};}function _0x2e145d(_0x350040){return()=>{const _0xb0607f=_0x411f1c[_0x18c4('0x2c')]['document'][_0x18c4('0x50')]['getSelectedBlocks']()[_0x18c4('0x3b')]()[_0x18c4('0x4f')],_0x4fcab7=_0x411f1c['model'][_0x18c4('0x3c')](_0xb0607f,'before'),_0x193d9e=_0x411f1c[_0x18c4('0x2c')][_0x18c4('0x3c')](_0xb0607f,0x0),_0x14eb30=_0x411f1c[_0x18c4('0x2c')]['createRange'](_0x4fcab7,_0x193d9e);_0x411f1c[_0x18c4('0x2c')][_0x18c4('0x1')](()=>{_0x314ebe[_0x18c4('0x4c')](_0x14eb30,{'commandName':_0x350040,'commandParams':[],'formatGroupId':'listType'});});};}function _0x2140fa(_0x47c25a){const _0x295407=_0x411f1c[_0x18c4('0x23')][_0x18c4('0x2e')]('bulletedList')[_0x18c4('0x4f')],_0x50307f=_0x411f1c[_0x18c4('0x23')][_0x18c4('0x2e')](_0x18c4('0xb'))[_0x18c4('0x4f')];return _0x18c4('0xb')===_0x47c25a?_0x295407:_0x50307f;}_0x314ebe[_0x18c4('0x2d')](_0x18c4('0xb'),_0x40089f(_0x18c4('0xb'))),_0x314ebe['enableCommand']('bulletedList',_0x40089f(_0x18c4('0x19'))),_0x314ebe[_0x18c4('0x2d')](_0x18c4('0x4e'),_0x4bc6ee(_0x18c4('0x4e'))),_0x314ebe[_0x18c4('0x2d')](_0x18c4('0x12'),_0x4bc6ee(_0x18c4('0x12'))),_0x314ebe[_0x18c4('0x2d')](_0x18c4('0x4d'),_0x2e145d('splitListItemAfter')),_0x314ebe[_0x18c4('0x2d')](_0x18c4('0x1d'),_0x2e145d('splitListItemBefore')),_0x314ebe[_0x18c4('0x1a')][_0x18c4('0x8')](function(_0x633ec6){const _0x506770=!_0x411f1c[_0x18c4('0x2c')]['schema'][_0x18c4('0x17')](_0x633ec6),_0xf42b36=_0x633ec6['previousSibling'],_0x1130bb=_0x633ec6['nextSibling'],_0x4bca55=_0x633ec6[_0x18c4('0x37')](_0x18c4('0x9')),_0x2cf15e=!_0xf42b36||_0xf42b36[_0x18c4('0x37')](_0x18c4('0x9'))!==_0x4bca55,_0x313dfb=!_0x1130bb||_0x1130bb[_0x18c4('0x37')](_0x18c4('0x9'))!==_0x4bca55;return _0x506770&&Boolean(_0x4bca55)&&_0x2cf15e&&_0x313dfb;},_0x2b16a3=>_0x433876(_0x220678,_0x18c4('0x2f'),_0x2b16a3)),_0x314ebe[_0x18c4('0x1a')][_0x18c4('0x5')](function(_0x80bf76){const {data:_0x8242d8}=_0x80bf76;if(!_0x8242d8)return;let _0x2e2003,_0x6702c2,_0xd75154,_0x51af20;switch(_0x8242d8[_0x18c4('0x44')]){case _0x18c4('0x19'):_0xd75154=_0x8242d8[_0x18c4('0x18')][0x0][_0x18c4('0x22')],_0x51af20=_0x2140fa(_0x8242d8['commandName']),_0x2e2003=_0xd75154?_0x18c4('0x4b'):_0x18c4('0x26'),_0x51af20&&(_0x2e2003=_0x18c4('0x4a')),_0x6702c2={'type':_0x18c4('0xd'),'content':_0x433876(_0x220678,_0x2e2003,_0x433876(_0x220678,_0x18c4('0x20')))};break;case _0x18c4('0xb'):_0xd75154=_0x8242d8['commandParams'][0x0][_0x18c4('0x22')],_0x51af20=_0x2140fa(_0x8242d8[_0x18c4('0x44')]),_0x2e2003=_0xd75154?_0x18c4('0x4b'):_0x18c4('0x26'),_0x51af20&&(_0x2e2003=_0x18c4('0x4a')),_0x6702c2={'type':'format','content':_0x433876(_0x220678,_0x2e2003,_0x433876(_0x220678,_0x18c4('0x2a')))};break;case _0x18c4('0x4e'):_0x2e2003=_0x18c4('0xf'),_0x6702c2={'type':'format','content':_0x433876(_0x220678,_0x2e2003,_0x433876(_0x220678,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x2e2003=function(_0xcab3b9){const _0x51d3dd=_0xcab3b9['getFirstRange']();let _0x2439cd=_0x51d3dd[_0x18c4('0x24')][_0x18c4('0x6')];for(;_0x2439cd&&_0x51d3dd[_0x18c4('0x27')](_0x2439cd);){if(_0x2439cd['getAttribute'](_0x18c4('0x16'))>0x0)return!0x1;_0x2439cd=_0x2439cd[_0x18c4('0x29')];}return!0x0;}(_0x80bf76)?_0x433876(_0x220678,_0x18c4('0x26'),_0x433876(_0x220678,function(_0x5a21f9){const _0x472a4e=_0x5a21f9[_0x18c4('0x1f')]()[_0x18c4('0x24')][_0x18c4('0x6')];return _0x18c4('0x0')+_0x472a4e[_0x18c4('0x37')](_0x18c4('0x21'))[_0x18c4('0x48')]()+_0x18c4('0x25');}(_0x80bf76))):_0x433876(_0x220678,'*Outdent:*\x20%0',_0x433876(_0x220678,_0x18c4('0x2f'))),_0x6702c2={'type':_0x18c4('0xd'),'content':_0x2e2003};break;case _0x18c4('0x2b'):case'mergeListItemForward':!0x1===_0x8242d8[_0x18c4('0x11')]&&(_0x2e2003=_0x18c4('0x3'),_0x6702c2={'type':_0x18c4('0x30'),'content':_0x433876(_0x220678,_0x2e2003,_0x433876(_0x220678,'ELEMENT_LIST_ITEM'))});}return _0x6702c2;}),_0x314ebe[_0x18c4('0x41')][_0x18c4('0x1e')](_0x18c4('0xe'),_0x18c4('0x3a'),_0x18c4('0x47'),function(_0x3b0524,_0x2dfa8f){const _0x445f35=[];for(let _0x37a4a1 of _0x3b0524)_0x37a4a1[_0x18c4('0x24')][_0x18c4('0x6')]===_0x37a4a1[_0x18c4('0x3d')]['parent']&&(_0x37a4a1=_0x411f1c[_0x18c4('0x2c')][_0x18c4('0x46')](_0x411f1c[_0x18c4('0x2c')]['createPositionAt'](_0x37a4a1[_0x18c4('0x24')][_0x18c4('0x6')],0x0))),_0x445f35[_0x18c4('0x7')](_0x37a4a1);_0x411f1c[_0x18c4('0x2c')]['change'](_0x1c6f0b=>{const _0x5d5498=_0x411f1c['model'][_0x18c4('0x33')][_0x18c4('0x50')],_0xeb47f9=Array[_0x18c4('0x1b')](_0x5d5498[_0x18c4('0x36')]())[_0x18c4('0x34')](_0x391e4f=>_0x4d1cc1[_0x18c4('0x45')](_0x391e4f));_0x1c6f0b[_0x18c4('0x38')](_0x445f35),_0x411f1c[_0x18c4('0x23')][_0x18c4('0x2e')](_0x2dfa8f['commandName'])[_0x18c4('0x31')](),_0x2dfa8f[_0x18c4('0x18')]['push']({'forceDefaultExecution':!0x0}),_0x411f1c[_0x18c4('0x13')](_0x2dfa8f['commandName'],..._0x2dfa8f[_0x18c4('0x18')]),_0x1c6f0b[_0x18c4('0x38')](_0xeb47f9);for(const _0x4cf5c3 of _0xeb47f9)_0x4cf5c3[_0x18c4('0x43')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a90=['change','editor','from','DocumentListPropertiesUtils','listReversed','selection','*Format:*\x20set\x20order\x20to\x20reversed','listType','model','replace','_LIST_','handleDescriptions','commandParams','get','numbered','*Format:*\x20set\x20order\x20to\x20regular','*Format:*\x20set\x20start\x20index\x20to\x20%0','markMultiRangeBlockFormat','getAttribute','DocumentListUtils','getSelectedBlocks','plugins','_getSuggestionBlocksForListStyle','ELEMENT_','type','handleListStyleCommand','_descriptionFactory','reversed','commandName','bind','listStart','toUpperCase','list.properties','TrackChangesEditing','listStyle','_getSuggestionBlocks','expandListBlocksToCompleteList','*Change\x20to:*\x20%0','handleListReversedCommand','document','isListItemBlock','isFirstBlockOfListItem','enableCommand','startIndex','locale','config','push','format','length','afterInit','styles','registerDescriptionCallback'];(function(_0x15fa8d,_0x5a900e){const _0x2bcb20=function(_0x44f915){while(--_0x44f915){_0x15fa8d['push'](_0x15fa8d['shift']());}};_0x2bcb20(++_0x5a900e);}(_0x5a90,0xc0));const _0x2bcb=function(_0x15fa8d,_0x5a900e){_0x15fa8d=_0x15fa8d-0x0;let _0x2bcb20=_0x5a90[_0x15fa8d];return _0x2bcb20;};import{Plugin as _0x37cd92}from'ckeditor5/src/core';import{getTranslation as _0x46ce27}from'../utils/common-translations';export default class At extends _0x37cd92{[_0x2bcb('0xd')](){if(!this[_0x2bcb('0x11')][_0x2bcb('0x25')]['has']('DocumentListPropertiesEditing'))return;const _0xdc34cc=this['editor'][_0x2bcb('0x9')][_0x2bcb('0x1d')](_0x2bcb('0x30')),_0x132a0a=this[_0x2bcb('0x11')]['plugins'][_0x2bcb('0x1d')](_0x2bcb('0x31'));_0xdc34cc[_0x2bcb('0xe')]&&_0x132a0a['enableCommand']('listStyle',this['handleListStyleCommand'][_0x2bcb('0x2d')](this)),_0xdc34cc['reversed']&&_0x132a0a[_0x2bcb('0x6')](_0x2bcb('0x14'),this[_0x2bcb('0x2')][_0x2bcb('0x2d')](this)),_0xdc34cc[_0x2bcb('0x7')]&&_0x132a0a['enableCommand']('listStart',this['handleListStartCommand'][_0x2bcb('0x2d')](this)),_0x132a0a[_0x2bcb('0x2a')][_0x2bcb('0xf')](this[_0x2bcb('0x1b')][_0x2bcb('0x2d')](this));}[_0x2bcb('0x29')](_0x2a848b,_0x3ac4f4={}){const _0x236d43=this['editor']['plugins'][_0x2bcb('0x1d')]('TrackChangesEditing'),_0x2a12ae=this[_0x2bcb('0x26')]();this[_0x2bcb('0x11')][_0x2bcb('0x18')][_0x2bcb('0x10')](()=>{_0x236d43[_0x2bcb('0x21')](_0x2a12ae,{'commandName':'listStyle','commandParams':[{'type':_0x3ac4f4[_0x2bcb('0x28')]}],'formatGroupId':_0x2bcb('0x32')});});}['handleListReversedCommand'](_0x2050e3,_0x1a4a66={}){const _0x5a96df=this[_0x2bcb('0x11')]['plugins']['get']('TrackChangesEditing'),_0xb0399a=this[_0x2bcb('0x11')]['plugins'][_0x2bcb('0x1d')]('DocumentListUtils'),_0x24be09=this[_0x2bcb('0x33')](_0x111b1a=>_0xb0399a[_0x2bcb('0x4')](_0x111b1a)&&_0x2bcb('0x1e')===_0x111b1a[_0x2bcb('0x22')]('listType'));null!==_0x24be09&&this['editor'][_0x2bcb('0x18')][_0x2bcb('0x10')](()=>{_0x5a96df[_0x2bcb('0x21')](_0x24be09,{'commandName':_0x2bcb('0x14'),'commandParams':[{'reversed':_0x1a4a66['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x50e18e,_0x2f3257={}){const _0x1cd4a9=this['editor'][_0x2bcb('0x25')][_0x2bcb('0x1d')](_0x2bcb('0x31')),_0x194a63=this[_0x2bcb('0x11')]['plugins'][_0x2bcb('0x1d')](_0x2bcb('0x23')),_0xad5c3b=this[_0x2bcb('0x33')](_0x59ff2b=>_0x194a63['isListItemBlock'](_0x59ff2b)&&_0x2bcb('0x1e')===_0x59ff2b[_0x2bcb('0x22')](_0x2bcb('0x17')));null!==_0xad5c3b&&this[_0x2bcb('0x11')][_0x2bcb('0x18')]['change'](()=>{_0x1cd4a9[_0x2bcb('0x21')](_0xad5c3b,{'commandName':_0x2bcb('0x2e'),'commandParams':[{'startIndex':_0x2f3257[_0x2bcb('0x7')]}],'formatGroupId':_0x2bcb('0x2e')});});}[_0x2bcb('0x1b')](_0x49dcaa){const _0x31e1be=this[_0x2bcb('0x11')][_0x2bcb('0x8')],{data:_0x310b6d}=_0x49dcaa;if(!_0x310b6d)return;let _0x4490ee,_0x5907a7;switch(_0x310b6d[_0x2bcb('0x2c')]){case _0x2bcb('0x32'):_0x4490ee=_0x2bcb('0x1'),_0x5907a7={'type':_0x2bcb('0xb'),'content':_0x46ce27(_0x31e1be,_0x4490ee,_0x46ce27(_0x31e1be,this['_getTranslationKeyForListStyle'](_0x310b6d[_0x2bcb('0x1c')][0x0]['type'])))};break;case _0x2bcb('0x14'):_0x4490ee=_0x310b6d['commandParams'][0x0][_0x2bcb('0x2b')]?_0x2bcb('0x16'):_0x2bcb('0x1f'),_0x5907a7={'type':'format','content':_0x46ce27(_0x31e1be,_0x4490ee)};break;case _0x2bcb('0x2e'):_0x4490ee=_0x2bcb('0x20'),_0x5907a7={'type':'format','content':_0x46ce27(_0x31e1be,_0x4490ee,_0x310b6d[_0x2bcb('0x1c')][0x0][_0x2bcb('0x7')])};}return _0x5907a7;}['_getSuggestionBlocksForListStyle'](){const _0x240720=this[_0x2bcb('0x11')][_0x2bcb('0x25')]['get'](_0x2bcb('0x23'));let _0x22ca47=Array[_0x2bcb('0x12')](this[_0x2bcb('0x11')]['model'][_0x2bcb('0x3')][_0x2bcb('0x15')][_0x2bcb('0x24')]());return _0x22ca47[_0x2bcb('0xa')](..._0x240720[_0x2bcb('0x0')](_0x22ca47)),_0x22ca47=[...new Set(_0x22ca47)],_0x22ca47;}[_0x2bcb('0x33')](_0x2723e7){const _0x2a6fcc=this[_0x2bcb('0x11')][_0x2bcb('0x25')][_0x2bcb('0x1d')](_0x2bcb('0x23'));let _0x8eb1f5=Array[_0x2bcb('0x12')](this[_0x2bcb('0x11')]['model']['document'][_0x2bcb('0x15')][_0x2bcb('0x24')]())['filter'](_0x2723e7);if(!_0x8eb1f5[_0x2bcb('0xc')])return null;_0x8eb1f5=_0x2a6fcc['expandListBlocksToCompleteList'](_0x8eb1f5);const _0x5c2501=[];for(const _0x4897fa of _0x8eb1f5)_0x2a6fcc[_0x2bcb('0x5')](_0x4897fa)&&_0x5c2501['push'](_0x4897fa);return _0x5c2501;}['_getTranslationKeyForListStyle'](_0x443ddc){return _0x2bcb('0x27')+this['editor'][_0x2bcb('0x25')][_0x2bcb('0x1d')](_0x2bcb('0x13'))['getListTypeFromListStyleType'](_0x443ddc)[_0x2bcb('0x2f')]()+_0x2bcb('0x1a')+_0x443ddc[_0x2bcb('0x2f')]()[_0x2bcb('0x19')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e42=['parent','split','model','get','removeMarker:suggestion:insertion','enableCommand','init','plugins','createPositionAt','markInsertion','requires','downcastDispatcher','markerNameToElements','nextSibling','setSelection','markerName','mapper','detach','data','ck-suggestion-marker-split','high','unbindElementFromMarkerName','end','fire','editor','afterExecute','remove','document','selection','addMarker:suggestion:insertion','TrackChangesEditing','getFirstPosition','showSuggestionHighlights'];(function(_0x4f9efd,_0x3e426e){const _0xd523d8=function(_0xc58bdb){while(--_0xc58bdb){_0x4f9efd['push'](_0x4f9efd['shift']());}};_0xd523d8(++_0x3e426e);}(_0x3e42,0x1b2));const _0xd523=function(_0x4f9efd,_0x3e426e){_0x4f9efd=_0x4f9efd-0x0;let _0xd523d8=_0x3e42[_0x4f9efd];return _0xd523d8;};import{Plugin as _0x1545d3}from'ckeditor5/src/core';import{Enter as _0x3fd9bd}from'ckeditor5/src/enter';import{LiveRange as _0x18e348}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x428c30}from'./utils';export default class q extends _0x1545d3{static get[_0xd523('0x5')](){return[_0x3fd9bd];}[_0xd523('0x1')](){const _0x54acf5=this[_0xd523('0x13')],_0x110968=_0x54acf5[_0xd523('0x2')]['get'](_0xd523('0x19')),_0x3b8a4c=_0x54acf5['commands'][_0xd523('0x1f')]('enter');_0x110968[_0xd523('0x0')]('enter',()=>{_0x54acf5['model']['change'](_0x4edbc7=>{const _0xc61ec1=_0x54acf5[_0xd523('0x1e')][_0xd523('0x16')][_0xd523('0x17')],_0x4c8ba1=_0xc61ec1[_0xd523('0x1a')](),_0x9a6817=_0x18e348['fromRange'](_0xc61ec1['getFirstRange']());if(_0x3b8a4c['enterBlock'](_0x4edbc7)){const _0xb907e1=_0x54acf5[_0xd523('0x1e')][_0xd523('0x3')](_0x4c8ba1[_0xd523('0x1c')][_0xd523('0x8')],0x0),_0x5a75c9=_0x4edbc7['createRange'](_0x4c8ba1,_0xb907e1);_0x110968[_0xd523('0x4')](_0x5a75c9);}else _0x4edbc7[_0xd523('0x9')](_0x4edbc7['createRange'](_0x9a6817[_0xd523('0x11')]));_0x9a6817[_0xd523('0xc')](),_0x3b8a4c[_0xd523('0x12')](_0xd523('0x14'),{'writer':_0x4edbc7});});}),_0x54acf5['editing'][_0xd523('0x6')]['on'](_0xd523('0x18'),_0x428c30(_0x54acf5,_0xd523('0x1d')),{'priority':'high'}),_0x54acf5['editing'][_0xd523('0x6')]['on'](_0xd523('0x20'),(_0x2dfb81,_0x2c7e20,_0xeda332)=>{const _0x2a7dc6=_0xeda332[_0xd523('0xb')][_0xd523('0x7')](_0x2c7e20['markerName']);if(_0x2a7dc6)for(const _0x481be1 of _0x2a7dc6)_0x481be1['hasClass'](_0xd523('0xe'))&&(_0xeda332[_0xd523('0xb')][_0xd523('0x10')](_0x481be1,_0x2c7e20[_0xd523('0xa')]),_0xeda332['writer'][_0xd523('0x15')](_0x481be1));},{'priority':_0xd523('0xf')}),_0x54acf5[_0xd523('0xd')]['downcastDispatcher']['on'](_0xd523('0x18'),(_0x578682,_0x5746ad,_0x2c71c6)=>{_0x2c71c6['options'][_0xd523('0x1b')]&&_0x428c30(_0x54acf5,_0xd523('0x1d'),{'showActiveMarker':!0x1})['bind'](this)(_0x578682,_0x5746ad,_0x2c71c6);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4945=['findPrevious','editor','start','end','find','findByTextCallback','findNext','markers','replaceAll','getMarkersGroup','get','createRange','model','suggestion:deletion','filter','createPositionAt','string','handleFindCommand','afterInit','_isInDeletionRange','FindAndReplaceUtils','enableCommand','getIntersection','plugins','has'];(function(_0x4168b6,_0x4945ae){const _0x59d10f=function(_0x53413a){while(--_0x53413a){_0x4168b6['push'](_0x4168b6['shift']());}};_0x59d10f(++_0x4945ae);}(_0x4945,0x177));const _0x59d1=function(_0x4168b6,_0x4945ae){_0x4168b6=_0x4168b6-0x0;let _0x59d10f=_0x4945[_0x4168b6];return _0x59d10f;};import{Plugin as _0x1a94d}from'ckeditor5/src/core';export default class z extends _0x1a94d{[_0x59d1('0x12')](){if(!this[_0x59d1('0x1')]['plugins'][_0x59d1('0x18')]('FindAndReplaceEditing'))return;const _0x12f16e=this[_0x59d1('0x1')][_0x59d1('0x17')][_0x59d1('0xa')]('TrackChangesEditing');_0x12f16e[_0x59d1('0x15')](_0x59d1('0x4'),this[_0x59d1('0x11')]['bind'](this)),_0x12f16e[_0x59d1('0x15')](_0x59d1('0x6')),_0x12f16e[_0x59d1('0x15')](_0x59d1('0x0')),_0x12f16e[_0x59d1('0x15')]('replace'),_0x12f16e[_0x59d1('0x15')](_0x59d1('0x8'));}['handleFindCommand'](_0x36fa14,_0x34b2a1,_0x369a87={}){const _0x13a21b=this[_0x59d1('0x1')][_0x59d1('0x17')][_0x59d1('0xa')](_0x59d1('0x14'));void 0x0!==_0x369a87&&_0x36fa14(_0x283fc2=>(_0x59d1('0x10')==typeof _0x34b2a1?_0x13a21b[_0x59d1('0x5')](_0x34b2a1,_0x369a87):_0x34b2a1)(_0x283fc2)[_0x59d1('0xe')](_0x464a98=>!0x1===this[_0x59d1('0x13')](_0x464a98,_0x283fc2['item'])),_0x369a87);}[_0x59d1('0x13')](_0x4cdb60,_0x154e7c){const _0x261032=this[_0x59d1('0x1')][_0x59d1('0xc')][_0x59d1('0xb')](this[_0x59d1('0x1')][_0x59d1('0xc')][_0x59d1('0xf')](_0x154e7c,_0x4cdb60[_0x59d1('0x2')]),this[_0x59d1('0x1')][_0x59d1('0xc')][_0x59d1('0xf')](_0x154e7c,_0x4cdb60[_0x59d1('0x3')]));for(const _0x2a3394 of this[_0x59d1('0x1')][_0x59d1('0xc')][_0x59d1('0x7')][_0x59d1('0x9')](_0x59d1('0xd')))if(null!==_0x261032[_0x59d1('0x16')](_0x2a3394['getRange']()))return!0x0;return!0x1;}}
|