@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230908.0 → 0.0.0-nightly-20230910.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-20230910.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-20230910.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230910.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 _0x3d84=['model','isEnabled','acceptSuggestion','_suggestions','get','getRanges','editor','_isEnabledBasedOnSelection','TrackChangesEditing','execute','track-changes-accept-suggestion-not-found'];(function(_0x113b1c,_0x3d8420){const _0x19730f=function(_0x1e9a4a){while(--_0x1e9a4a){_0x113b1c['push'](_0x113b1c['shift']());}};_0x19730f(++_0x3d8420);}(_0x3d84,0xac));const _0x1973=function(_0x113b1c,_0x3d8420){_0x113b1c=_0x113b1c-0x0;let _0x19730f=_0x3d84[_0x113b1c];return _0x19730f;};import{Command as _0x2de37f}from'ckeditor5/src/core';import{CKEditorError as _0x485680}from'ckeditor5/src/utils';export default class M extends _0x2de37f{constructor(_0x5d6477,_0x454084){super(_0x5d6477),this[_0x1973('0x7')]=_0x454084,this['refresh'](),this[_0x1973('0x0')]=!0x1;}['refresh'](){this[_0x1973('0x5')]=!0x0;}[_0x1973('0x2')](_0x2c00b2){const _0x2f9cab=this[_0x1973('0x7')][_0x1973('0x8')](_0x2c00b2);if(!_0x2f9cab)throw new _0x485680(_0x1973('0x3'),this);const _0x28ed54=_0x2f9cab[_0x1973('0x9')]();this[_0x1973('0xa')][_0x1973('0x4')]['canEditAt'](_0x28ed54)&&this[_0x1973('0xa')]['plugins'][_0x1973('0x8')](_0x1973('0x1'))[_0x1973('0x6')](_0x2f9cab);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a5a=['editor','refresh','get','canEditAt','model','execute','_suggestions','isEnabled','track-changes-discard-suggestion-not-found','_isEnabledBasedOnSelection','plugins'];(function(_0xdf362e,_0x5a5aad){const _0x4908cc=function(_0x481c04){while(--_0x481c04){_0xdf362e['push'](_0xdf362e['shift']());}};_0x4908cc(++_0x5a5aad);}(_0x5a5a,0x9e));const _0x4908=function(_0xdf362e,_0x5a5aad){_0xdf362e=_0xdf362e-0x0;let _0x4908cc=_0x5a5a[_0xdf362e];return _0x4908cc;};import{Command as _0x4f6d45}from'ckeditor5/src/core';import{CKEditorError as _0x12639e}from'ckeditor5/src/utils';export default class $ extends _0x4f6d45{constructor(_0xeea580,_0x31a7cd){super(_0xeea580),this['_suggestions']=_0x31a7cd,this[_0x4908('0x8')](),this[_0x4908('0x5')]=!0x1;}[_0x4908('0x8')](){this[_0x4908('0x3')]=!0x0;}[_0x4908('0x1')](_0x34149f){const _0x1e9265=this[_0x4908('0x2')][_0x4908('0x9')](_0x34149f);if(!_0x1e9265)throw new _0x12639e(_0x4908('0x4'),this);const _0x133e64=_0x1e9265['getRanges']();this['editor'][_0x4908('0x0')][_0x4908('0xa')](_0x133e64)&&this[_0x4908('0x7')][_0x4908('0x6')]['get']('TrackChangesEditing')['discardSuggestion'](_0x1e9265);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1208=['getRanges','model','_suggestions','_command','values','isEnabled','editor','from','canEditAt','refresh','execute','some'];(function(_0x8dcc86,_0x120828){const _0x1c3038=function(_0x221a26){while(--_0x221a26){_0x8dcc86['push'](_0x8dcc86['shift']());}};_0x1c3038(++_0x120828);}(_0x1208,0x89));const _0x1c30=function(_0x8dcc86,_0x120828){_0x8dcc86=_0x8dcc86-0x0;let _0x1c3038=_0x1208[_0x8dcc86];return _0x1c3038;};import{Command as _0x5ca111}from'ckeditor5/src/core';import{sortSuggestions as _0xd5e5fc,executeCommandForSuggestions as _0x12e65b}from'../utils/utils';export default class N extends _0x5ca111{constructor(_0x57619f,_0x446bc5,_0x391b9f){super(_0x57619f),this[_0x1c30('0xa')]=_0x446bc5,this[_0x1c30('0x9')]=_0x391b9f,this[_0x1c30('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1c30('0x4')](){const _0xcbad5f=Array[_0x1c30('0x2')](this['_suggestions'][_0x1c30('0xb')]())[_0x1c30('0x6')](_0x5a5288=>_0x5a5288['isInContent']);this[_0x1c30('0x0')]=this[_0x1c30('0xa')][_0x1c30('0x0')]&&_0xcbad5f;}[_0x1c30('0x5')](){const _0x2680f7=_0xd5e5fc(Array[_0x1c30('0x2')](this['_suggestions'][_0x1c30('0xb')]()));for(const _0x584b3e of _0x2680f7){const _0x337316=_0x584b3e[_0x1c30('0x7')]();if(!this[_0x1c30('0x1')][_0x1c30('0x8')][_0x1c30('0x3')](_0x337316))return;}_0x12e65b(this[_0x1c30('0x1')][_0x1c30('0x8')],this[_0x1c30('0xa')],_0x2680f7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49a7=['execute','_isEnabledBasedOnSelection','editor','document','isEnabled','size','model','_command','_selectedSuggestions','canEditAt','selection','values','refresh'];(function(_0x8fe593,_0x49a789){const _0x5a7036=function(_0x48df53){while(--_0x48df53){_0x8fe593['push'](_0x8fe593['shift']());}};_0x5a7036(++_0x49a789);}(_0x49a7,0x89));const _0x5a70=function(_0x8fe593,_0x49a789){_0x8fe593=_0x8fe593-0x0;let _0x5a7036=_0x49a7[_0x8fe593];return _0x5a7036;};import{Command as _0x20de1e}from'ckeditor5/src/core';import{sortSuggestions as _0x4d9baa,getSelectedSuggestions as _0x259f25,executeCommandForSuggestions as _0x2300fd}from'../utils/utils';export default class R extends _0x20de1e{constructor(_0x37195a,_0x560e90,_0x4a48d2){super(_0x37195a),this[_0x5a70('0x0')]=_0x560e90,this['_suggestions']=_0x4a48d2,this[_0x5a70('0x1')]=new Set(),this[_0x5a70('0x5')](),this[_0x5a70('0x7')]=!0x1;}['refresh'](){const _0x5ec077=this[_0x5a70('0x8')][_0x5a70('0xc')][_0x5a70('0x9')][_0x5a70('0x3')],_0x5588a9=Array['from'](this['_suggestions'][_0x5a70('0x4')]());this[_0x5a70('0x1')]=_0x259f25(_0x5ec077,_0x5588a9),this['isEnabled']=this[_0x5a70('0x0')][_0x5a70('0xa')]&&!!this['_selectedSuggestions'][_0x5a70('0xb')];}[_0x5a70('0x6')](){const _0x269090=_0x4d9baa(Array['from'](this[_0x5a70('0x1')]));for(const _0x5db2f0 of _0x269090){const _0xe3f0c4=_0x5db2f0['getRanges']();if(!this[_0x5a70('0x8')][_0x5a70('0xc')][_0x5a70('0x2')](_0xe3f0c4))return;}_0x2300fd(this['editor']['model'],this[_0x5a70('0x0')],_0x269090);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cba=['_disableUnsupportedCommands','editor','_enabledCommands','isEnabled','commands','_enableCommands','execute','_isEnabledBasedOnSelection','refresh','value','has','forceDisabled','TrackChangesCommand','affectsData','clearForceDisabled'];(function(_0x47228d,_0x1cba4b){const _0x35382d=function(_0x341410){while(--_0x341410){_0x47228d['push'](_0x47228d['shift']());}};_0x35382d(++_0x1cba4b);}(_0x1cba,0x18f));const _0x3538=function(_0x47228d,_0x1cba4b){_0x47228d=_0x47228d-0x0;let _0x35382d=_0x1cba[_0x47228d];return _0x35382d;};import{Command as _0x1076a5}from'ckeditor5/src/core';export default class _ extends _0x1076a5{constructor(_0x48a798,_0x119546){super(_0x48a798),this['_enabledCommands']=_0x119546,this[_0x3538('0x0')]=!0x1,this[_0x3538('0xe')](),this[_0x3538('0xd')]=!0x1;}[_0x3538('0xe')](){this[_0x3538('0x9')]=!0x0;}[_0x3538('0xc')](){this[_0x3538('0x0')]=!this[_0x3538('0x0')],this['value']?this[_0x3538('0x6')]():this[_0x3538('0xb')]();}[_0x3538('0x6')](){for(const _0x35b08a of this[_0x3538('0x7')]['commands'][_0x3538('0xa')]())_0x35b08a[_0x3538('0x4')]&&!this['_enabledCommands'][_0x3538('0x1')](_0x35b08a)&&_0x35b08a[_0x3538('0x2')](_0x3538('0x3'));}[_0x3538('0xb')](){for(const _0xd97b6c of this[_0x3538('0x7')][_0x3538('0xa')][_0x3538('0xa')]())_0xd97b6c[_0x3538('0x4')]&&!this[_0x3538('0x8')][_0x3538('0x1')](_0xd97b6c)&&_0xd97b6c[_0x3538('0x5')](_0x3538('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b3d=['document','getSelectedBlocks','getAttribute','editor','_descriptionFactory','registerDescriptionCallback','left','contentLanguageDirection','ltr','format','checkAttribute','plugins','commandParams','selection','change','value','model','FORMAT_ALIGN_TO_CENTER','enableCommand','schema','commandName','locale','has','alignment','TrackChangesEditing','afterInit','markBlockFormat','FORMAT_ALIGN_TO_RIGHT','from'];(function(_0x1eccef,_0x2b3d09){const _0x148d0c=function(_0x3218a3){while(--_0x3218a3){_0x1eccef['push'](_0x1eccef['shift']());}};_0x148d0c(++_0x2b3d09);}(_0x2b3d,0xe5));const _0x148d=function(_0x1eccef,_0x2b3d09){_0x1eccef=_0x1eccef-0x0;let _0x148d0c=_0x2b3d[_0x1eccef];return _0x148d0c;};import{Plugin as _0x53de6a}from'ckeditor5/src/core';import{getTranslation as _0x35e82b}from'../utils/common-translations';export default class j extends _0x53de6a{[_0x148d('0x1c')](){const _0x4622af=this[_0x148d('0x6')],_0x187659=_0x4622af[_0x148d('0x18')];if(!_0x4622af['plugins'][_0x148d('0x19')]('AlignmentEditing'))return;const _0x9f1213=_0x4622af[_0x148d('0xe')]['get'](_0x148d('0x1b'));_0x9f1213[_0x148d('0x15')]('alignment',(_0x2ac37c,_0x551c93={})=>{let _0xc1fc1b=_0x551c93[_0x148d('0x12')];_0x551c93['value']||(_0xc1fc1b=_0x148d('0xb')===_0x4622af[_0x148d('0x18')][_0x148d('0xa')]?_0x148d('0x9'):'right');const _0x3499c7=Array[_0x148d('0x2')](this['editor']['model'][_0x148d('0x3')][_0x148d('0x10')][_0x148d('0x4')]())['filter'](_0x382307=>function(_0x3a90ee,_0x1596e1,_0x552cc0){const _0x3d4560=_0x3a90ee[_0x148d('0x5')](_0x148d('0x1a'))||null;return _0x1596e1[_0x148d('0xd')](_0x3a90ee,_0x148d('0x1a'))&&_0x552cc0!=_0x3d4560;}(_0x382307,this[_0x148d('0x6')]['model'][_0x148d('0x16')],_0xc1fc1b));_0x4622af[_0x148d('0x13')][_0x148d('0x11')](()=>{for(const _0x54373a of _0x3499c7)_0x9f1213[_0x148d('0x0')](_0x54373a,{'commandName':_0x148d('0x1a'),'commandParams':[{'value':_0xc1fc1b}]});});}),_0x9f1213[_0x148d('0x7')][_0x148d('0x8')](_0x5b5899=>{const {data:_0x1dfe3e}=_0x5b5899;if(_0x1dfe3e&&_0x148d('0x1a')==_0x1dfe3e[_0x148d('0x17')]){const _0x2c4a9a=_0x1dfe3e[_0x148d('0xf')][0x0][_0x148d('0x12')];return{'type':_0x148d('0xc'),'content':_0x35e82b(_0x187659,'*Format:*\x20%0',function(_0x43dfa5){switch(_0x43dfa5){case'left':return _0x35e82b(_0x187659,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x35e82b(_0x187659,_0x148d('0x1'));case'center':return _0x35e82b(_0x187659,_0x148d('0x14'));case'justify':return _0x35e82b(_0x187659,'FORMAT_JUSTIFY_TEXT');}}(_0x2c4a9a))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48b5=['FORMAT_CODE','forceValue','strikethrough','value','FORMAT_STRIKETHROUGH','FORMAT_SUBSCRIPT','getRanges','editor','SuperscriptEditing','TrackChangesEditing','SubscriptEditing','locale','FORMAT_ITALIC','superscript','italic','document','toLowerCase','underline','format','subscript','*Remove\x20format:*\x20%0','BoldEditing','from','*Format:*\x20%0','FORMAT_UNDERLINE','ItalicEditing','StrikethroughEditing','slice','change','registerDescriptionCallback','FORMAT_SUPERSCRIPT','selection','get','CodeEditing','plugins','markInlineFormat'];(function(_0x4ec7a9,_0x48b52e){const _0x4b33fb=function(_0x4ddd81){while(--_0x4ddd81){_0x4ec7a9['push'](_0x4ec7a9['shift']());}};_0x4b33fb(++_0x48b52e);}(_0x48b5,0x1af));const _0x4b33=function(_0x4ec7a9,_0x48b52e){_0x4ec7a9=_0x4ec7a9-0x0;let _0x4b33fb=_0x48b5[_0x4ec7a9];return _0x4b33fb;};import{Plugin as _0x20b822}from'ckeditor5/src/core';import{getTranslation as _0x175046}from'../utils/common-translations';import{getRangesWithAttribute as _0x16820d}from'./utils';const Yt=[_0x4b33('0x16'),_0x4b33('0x1a'),'UnderlineEditing',_0x4b33('0x22'),_0x4b33('0x1b'),_0x4b33('0xb'),_0x4b33('0x9')];export default class x extends _0x20b822{['afterInit'](){const _0x2d8ff7=this[_0x4b33('0x8')],_0x470783=_0x2d8ff7['model'],_0x320c76=_0x2d8ff7[_0x4b33('0x23')]['get'](_0x4b33('0xa')),_0x9ecd34=_0x2d8ff7[_0x4b33('0xc')];for(const _0x3a8c57 of Yt){if(!_0x2d8ff7[_0x4b33('0x23')]['has'](_0x3a8c57))continue;const _0x3ff4cf=_0x3a8c57[_0x4b33('0x1c')](0x0,-0x7)[_0x4b33('0x11')](),_0x4588be=_0x2d8ff7['commands'][_0x4b33('0x21')](_0x3ff4cf);_0x320c76['enableCommand'](_0x3ff4cf,(_0x4f459a,_0x536c4c={})=>{const _0x209081=_0x470783[_0x4b33('0x10')][_0x4b33('0x20')];if(_0x209081['isCollapsed'])return void _0x4f459a(_0x536c4c);const _0x3e1492=void 0x0!==_0x536c4c['forceValue']?_0x536c4c[_0x4b33('0x2')]:!_0x4588be[_0x4b33('0x4')];_0x470783[_0x4b33('0x1d')](()=>{const _0x4a0aa=Array[_0x4b33('0x17')](_0x209081[_0x4b33('0x7')]());for(const _0x28f2ea of _0x4a0aa){const _0x5846aa=_0x3e1492?[_0x28f2ea]:_0x16820d(_0x3ff4cf,_0x28f2ea,_0x470783);for(const _0x1dd5eb of _0x5846aa)_0x320c76[_0x4b33('0x0')](_0x1dd5eb,{'commandName':_0x3ff4cf,'commandParams':[{'forceValue':_0x3e1492}]});}});});}function _0x511c30(_0x26a002,_0x28dce6){_0x320c76['_descriptionFactory'][_0x4b33('0x1e')](_0x557477=>{const {data:_0x23d351}=_0x557477;if(_0x23d351&&_0x23d351['commandName']===_0x26a002)return _0x23d351['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x175046(_0x9ecd34,_0x4b33('0x18'),_0x28dce6)}:{'type':_0x4b33('0x13'),'content':_0x175046(_0x9ecd34,_0x4b33('0x15'),_0x28dce6)};});}_0x511c30('bold',_0x175046(_0x9ecd34,'FORMAT_BOLD')),_0x511c30(_0x4b33('0xf'),_0x175046(_0x9ecd34,_0x4b33('0xd'))),_0x511c30(_0x4b33('0x12'),_0x175046(_0x9ecd34,_0x4b33('0x19'))),_0x511c30('code',_0x175046(_0x9ecd34,_0x4b33('0x1'))),_0x511c30(_0x4b33('0x3'),_0x175046(_0x9ecd34,_0x4b33('0x5'))),_0x511c30(_0x4b33('0x14'),_0x175046(_0x9ecd34,_0x4b33('0x6'))),_0x511c30(_0x4b33('0xe'),_0x175046(_0x9ecd34,_0x4b33('0x1f')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x394b=['plugins','document','has','schema','value','*Remove\x20format:*\x20%0','parent','change','editor','ELEMENT_BLOCK_QUOTE','getSelectedBlocks','locale','from','forceValue','selection','checkChild','blockQuote','afterInit','name','filter','registerDescriptionCallback','$root','format','enableCommand','*Format:*\x20%0','BlockQuoteEditing','get','model','commands'];(function(_0x1e5752,_0x394bf1){const _0x432f80=function(_0x2d2d55){while(--_0x2d2d55){_0x1e5752['push'](_0x1e5752['shift']());}};_0x432f80(++_0x394bf1);}(_0x394b,0xe3));const _0x432f=function(_0x1e5752,_0x394bf1){_0x1e5752=_0x1e5752-0x0;let _0x432f80=_0x394b[_0x1e5752];return _0x432f80;};import{Plugin as _0x7ff0bd}from'ckeditor5/src/core';import{getTranslation as _0x50d5ea}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x46f463}from'../utils/utils';export default class U extends _0x7ff0bd{[_0x432f('0x16')](){const _0x266647=this[_0x432f('0xd')],_0x329ff8=_0x266647[_0x432f('0x10')];if(!_0x266647[_0x432f('0x5')][_0x432f('0x7')](_0x432f('0x1')))return;const _0x1782da=_0x266647[_0x432f('0x5')][_0x432f('0x2')]('TrackChangesEditing'),_0x3d7311=this['editor'][_0x432f('0x4')][_0x432f('0x2')](_0x432f('0x15'));_0x1782da[_0x432f('0x1c')]('blockQuote',(_0x51993d,_0x45ad6a={})=>{const _0xf4b60a=this[_0x432f('0xd')]['model'][_0x432f('0x6')][_0x432f('0x13')],_0x45f146=_0x45ad6a&&void 0x0!==_0x45ad6a[_0x432f('0x12')]?_0x45ad6a['forceValue']:!_0x3d7311[_0x432f('0x9')];let _0x314b6d=[];if(_0x45f146){const _0x95283c=Array['from'](_0xf4b60a[_0x432f('0xf')]())[_0x432f('0x18')](_0x4ddf38=>to(_0x4ddf38)||function(_0x40dcb9,_0xbf3ebd){const _0x4ce611=_0xbf3ebd[_0x432f('0x14')](_0x40dcb9[_0x432f('0xb')],_0x432f('0x15')),_0x19715d=_0xbf3ebd[_0x432f('0x14')]([_0x432f('0x1a'),_0x432f('0x15')],_0x40dcb9);return _0x4ce611&&_0x19715d;}(_0x4ddf38,this[_0x432f('0xd')][_0x432f('0x3')][_0x432f('0x8')]));_0x314b6d=_0x46f463(_0x95283c,_0x266647[_0x432f('0x3')]);}else{const _0x388143=Array[_0x432f('0x11')](_0xf4b60a[_0x432f('0xf')]())[_0x432f('0x18')](_0x470d8b=>to(_0x470d8b));_0x314b6d=_0x46f463(_0x388143,_0x266647[_0x432f('0x3')]);}_0x266647['model'][_0x432f('0xc')](()=>{for(const _0x5dd1ea of _0x314b6d)_0x1782da['markBlockFormat'](_0x5dd1ea,{'commandName':_0x432f('0x15'),'commandParams':[{'forceValue':_0x45f146}]});});}),_0x1782da['_descriptionFactory'][_0x432f('0x19')](_0x3289c5=>{const {data:_0xb3f02a}=_0x3289c5;if(_0xb3f02a&&_0x432f('0x15')==_0xb3f02a['commandName']){const _0x5c3c64=_0x50d5ea(_0x329ff8,_0x432f('0xe'));return _0xb3f02a['commandParams'][0x0]['forceValue']?{'type':_0x432f('0x1b'),'content':_0x50d5ea(_0x329ff8,_0x432f('0x0'),_0x5c3c64)}:{'type':'format','content':_0x50d5ea(_0x329ff8,_0x432f('0xa'),_0x5c3c64)};}});}}function to(_0x19a337){return _0x432f('0x15')==_0x19a337['parent'][_0x432f('0x17')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ba6=['get','ckbox','TrackChangesEditing','plugins','editor','commands','afterInit'];(function(_0x1767a6,_0x5ba657){const _0x249c4c=function(_0x6342cd){while(--_0x6342cd){_0x1767a6['push'](_0x1767a6['shift']());}};_0x249c4c(++_0x5ba657);}(_0x5ba6,0xc6));const _0x249c=function(_0x1767a6,_0x5ba657){_0x1767a6=_0x1767a6-0x0;let _0x249c4c=_0x5ba6[_0x1767a6];return _0x249c4c;};import{Plugin as _0x50344f}from'ckeditor5/src/core';export default class O extends _0x50344f{[_0x249c('0x4')](){const _0x1db067=this[_0x249c('0x2')];_0x1db067[_0x249c('0x3')][_0x249c('0x5')](_0x249c('0x6'))&&_0x1db067[_0x249c('0x1')]['get'](_0x249c('0x0'))['enableCommand'](_0x249c('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x491f=['editor','*Format:*\x20%0','codeBlock','ELEMENT_CODE_BLOCK','formatBlock','model','registerElementLabel','selection','_descriptionFactory','label','get','config','commandParams','forceValue','getSelectedBlocks','language','commands','checkChild','rootElement','markBlockFormat','languages','outdentCodeBlock','plugins','enableCommand','commandName','schema','filter','*Remove\x20format:*\x20%0','blockName','has','CodeBlock','name','from','value','format','document','TrackChangesEditing'];(function(_0x173afc,_0x491f20){const _0x4195f7=function(_0x3477a3){while(--_0x3477a3){_0x173afc['push'](_0x173afc['shift']());}};_0x4195f7(++_0x491f20);}(_0x491f,0xc5));const _0x4195=function(_0x173afc,_0x491f20){_0x173afc=_0x173afc-0x0;let _0x4195f7=_0x491f[_0x173afc];return _0x4195f7;};import{Plugin as _0x191ebc}from'ckeditor5/src/core';import{getTranslation as _0x5795f0}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1b4654}from'../utils/utils';export default class E extends _0x191ebc{['afterInit'](){const _0x15bfc8=this[_0x4195('0x19')];if(!_0x15bfc8[_0x4195('0xa')][_0x4195('0x11')](_0x4195('0x12')))return;const _0x3a155c=_0x15bfc8[_0x4195('0xa')][_0x4195('0x23')](_0x4195('0x18')),_0x3ac528=_0x15bfc8['locale'],_0x28f02d=_0x15bfc8[_0x4195('0x24')][_0x4195('0x23')](_0x4195('0x1b'))[_0x4195('0x8')],_0x151c67=_0x15bfc8[_0x4195('0x4')][_0x4195('0x23')](_0x4195('0x1b'));_0x3a155c[_0x4195('0xb')]('indentCodeBlock'),_0x3a155c[_0x4195('0xb')](_0x4195('0x9')),_0x3a155c[_0x4195('0xb')]('codeBlock',(_0x26f844,_0x46c2d4={})=>{const _0x46c29a=_0x15bfc8[_0x4195('0x1e')],_0x488675=_0x15bfc8['model'][_0x4195('0x17')][_0x4195('0x20')],_0xf5eb96=_0x46c2d4&&void 0x0!==_0x46c2d4[_0x4195('0x1')]?_0x46c2d4[_0x4195('0x1')]:!_0x151c67[_0x4195('0x15')];let _0x306116;_0x46c2d4[_0x4195('0x3')]||(_0x46c2d4[_0x4195('0x3')]=_0x28f02d[0x0][_0x4195('0x3')]),_0x306116=_0xf5eb96?Array[_0x4195('0x14')](_0x488675['getSelectedBlocks']())[_0x4195('0xe')](_0x2e0d17=>oo(_0x2e0d17)||function(_0x1645df,_0x4ec3a0){if(_0x1645df['is'](_0x4195('0x6'))||_0x4ec3a0['isLimit'](_0x1645df))return!0x1;return _0x4ec3a0[_0x4195('0x5')](_0x1645df['parent'],_0x4195('0x1b'));}(_0x2e0d17,_0x46c29a[_0x4195('0xd')])):Array['from'](_0x488675[_0x4195('0x2')]())['filter'](_0x272d62=>oo(_0x272d62));const _0x2dd10e=_0x1b4654(_0x306116,_0x46c29a);_0x46c29a['change'](()=>{for(const _0xbf1b12 of _0x2dd10e)_0x3a155c[_0x4195('0x7')](_0xbf1b12,{'commandName':_0x4195('0x1b'),'commandParams':[{..._0x46c2d4,'forceValue':_0xf5eb96}],'formatGroupId':_0x4195('0x10')});});}),(_0x3a155c[_0x4195('0x21')][_0x4195('0x1f')]('codeBlock',_0x415ef3=>_0x5795f0(_0x3ac528,_0x4195('0x1c'),_0x415ef3)),_0x3a155c[_0x4195('0x21')]['registerDescriptionCallback'](_0x1f669d=>{const _0x4ac83a=_0x3ac528['t'],{type:_0x2faad2,data:_0x4d00b6}=_0x1f669d;if(_0x4195('0x1d')==_0x2faad2&&_0x4d00b6&&_0x4195('0x1b')==_0x4d00b6[_0x4195('0xc')]){const _0x1f19c1=_0x4d00b6['commandParams'][0x0][_0x4195('0x3')],_0x12f03d=_0x4ac83a(_0x28f02d['find'](_0xfc3721=>_0xfc3721[_0x4195('0x3')]===_0x1f19c1)[_0x4195('0x22')]);return _0x4d00b6[_0x4195('0x0')][0x0][_0x4195('0x1')]?{'type':_0x4195('0x16'),'content':_0x5795f0(_0x3ac528,_0x4195('0x1a'),_0x5795f0(_0x3ac528,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x12f03d+')')}:{'type':_0x4195('0x16'),'content':_0x5795f0(_0x3ac528,_0x4195('0xf'),_0x5795f0(_0x3ac528,_0x4195('0x1c'),0x1))};}}));}}function oo(_0x200129){return _0x4195('0x1b')==_0x200129[_0x4195('0x13')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2507=['editor','plugins','get','enableCommand','addCommentThread','TrackChangesEditing'];(function(_0x4b0059,_0x250746){const _0x28e669=function(_0x92d3d4){while(--_0x92d3d4){_0x4b0059['push'](_0x4b0059['shift']());}};_0x28e669(++_0x250746);}(_0x2507,0x19f));const _0x28e6=function(_0x4b0059,_0x250746){_0x4b0059=_0x4b0059-0x0;let _0x28e669=_0x2507[_0x4b0059];return _0x28e669;};import{Plugin as _0x2d7791}from'ckeditor5/src/core';export default class F extends _0x2d7791{['afterInit'](){const _0xe10ba8=this[_0x28e6('0x5')];if(!_0xe10ba8[_0x28e6('0x0')]['has']('CommentsEditing'))return;_0xe10ba8['plugins'][_0x28e6('0x1')](_0x28e6('0x4'))[_0x28e6('0x2')](_0x28e6('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1539=['batch','end','init','enqueueChange','unbindElementFromMarkerName','plugins','model','high','addMarker:suggestion:deletion','options','fromRange','lock','unlock','requires','delete','get','merge','createSelection','markerNameToElements','uiElement','createRange','getFirstRange','unit','selection','root','editing','downcastDispatcher','bind','commands','remove','removeMarker:suggestion:deletion','writer','markerName','deleteForward','start','setSelection','forward','buffer','enableCommand','isCollapsed'];(function(_0x5be642,_0x1539b7){const _0x1eafc1=function(_0x3c86c0){while(--_0x3c86c0){_0x5be642['push'](_0x5be642['shift']());}};_0x1eafc1(++_0x1539b7);}(_0x1539,0x1e6));const _0x1eaf=function(_0x5be642,_0x1539b7){_0x5be642=_0x5be642-0x0;let _0x1eafc1=_0x1539[_0x5be642];return _0x1eafc1;};import{Plugin as _0x2a2004}from'ckeditor5/src/core';import{LiveRange as _0x2d93f3}from'ckeditor5/src/engine';import{Delete as _0x1f4830}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3e4a46}from'./utils';export default class G extends _0x2a2004{static get[_0x1eaf('0x7')](){return[_0x1f4830];}[_0x1eaf('0x24')](){const _0x5b0436=this['editor'],_0x4341b0=_0x5b0436[_0x1eaf('0x27')]['get']('TrackChangesEditing');_0x4341b0[_0x1eaf('0x20')](_0x1eaf('0x8'));const _0x48ed65=_0x5b0436[_0x1eaf('0x16')][_0x1eaf('0x9')](_0x1eaf('0x1b'));_0x4341b0['enableCommand']('deleteForward',(_0x1a0631,_0x1eb861={})=>{const _0x3e568a=_0x5b0436['model'][_0x1eaf('0xb')](_0x5b0436[_0x1eaf('0x0')]['document'][_0x1eaf('0x11')]);_0x3e568a[_0x1eaf('0x21')]&&_0x5b0436[_0x1eaf('0x0')]['modifySelection'](_0x3e568a,{'direction':_0x1eaf('0x1e'),'unit':_0x1eb861[_0x1eaf('0x10')]});const _0x10092f=_0x3e568a[_0x1eaf('0xf')](),_0x26c891=_0x2d93f3[_0x1eaf('0x4')](_0x10092f);let _0x1c59fd;_0x1a0631(_0x1eb861),_0x1c59fd='$graveyard'==_0x26c891[_0x1eaf('0x12')]['rootName']?_0x5b0436[_0x1eaf('0x0')][_0x1eaf('0xe')](_0x10092f['start']):_0x5b0436[_0x1eaf('0x0')][_0x1eaf('0xe')](_0x26c891[_0x1eaf('0x1c')],_0x26c891[_0x1eaf('0x23')]),_0x26c891['detach'](),_0x5b0436[_0x1eaf('0x0')][_0x1eaf('0x25')](_0x48ed65['buffer'][_0x1eaf('0x22')],_0x49d45d=>{_0x48ed65['buffer'][_0x1eaf('0x5')](),_0x49d45d[_0x1eaf('0x1d')](_0x49d45d['createRange'](_0x1c59fd['end'])),_0x48ed65[_0x1eaf('0x1f')][_0x1eaf('0x6')]();});}),_0x5b0436[_0x1eaf('0x13')]['downcastDispatcher']['on'](_0x1eaf('0x2'),_0x3e4a46(_0x5b0436,'merge'),{'priority':_0x1eaf('0x1')}),_0x5b0436['data'][_0x1eaf('0x14')]['on']('addMarker:suggestion:deletion',(_0xd88c96,_0x2b4220,_0x1a45b6)=>{_0x1a45b6[_0x1eaf('0x3')]['showSuggestionHighlights']&&_0x3e4a46(_0x5b0436,_0x1eaf('0xa'),{'showActiveMarker':!0x1})[_0x1eaf('0x15')](this)(_0xd88c96,_0x2b4220,_0x1a45b6);},{'priority':_0x1eaf('0x1')}),_0x5b0436[_0x1eaf('0x13')]['downcastDispatcher']['on'](_0x1eaf('0x18'),(_0x1aaa4f,_0x343b64,_0xd4e951)=>{const _0x3f602a=_0xd4e951['mapper'][_0x1eaf('0xc')](_0x343b64[_0x1eaf('0x1a')]);if(_0x3f602a)for(const _0x4ca4e9 of _0x3f602a)_0x4ca4e9['is'](_0x1eaf('0xd'))&&(_0xd4e951['mapper'][_0x1eaf('0x26')](_0x4ca4e9,_0x343b64[_0x1eaf('0x1a')]),_0xd4e951[_0x1eaf('0x19')][_0x1eaf('0x17')](_0x4ca4e9));},{'priority':_0x1eaf('0x1')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d33=['commandParams','commands','from','plugins','DocumentListUtils','end','getFirstRange','afterInit','markMultiRangeBlockFormat','isFirstBlockOfListItem','before','expandListBlocksToCompleteList','has','registerDescriptionCallback','commandName','listIndent','push','value','accept','forceValue','enableCommand','previousSibling','containsItem','parent','createRange','createPositionAt','model','splitListItemBefore','indentList','getAttribute','documentList','*Change\x20to:*\x20%0','refresh','ELEMENT_NUMBERED_LIST','hasAttribute','numberedList','listType','get','_descriptionFactory','ELEMENT_BULLETED_LIST','detach','change','markBlockFormat','DocumentListEditing','outdentList','mergeListItemForward','selection','schema','add','locale','ELEMENT_LIST_ITEM','splitListItemAfter','multipleBlocks','ELEMENT_','format','listItemId','registerCustomCallback','isObject','document','editor','registerElementLabel','*Format:*\x20remove\x20from\x20%0','*Indent:*\x20%0','mergeListItemBackward','fromRange','execute','getSelectedBlocks','nextSibling','toUpperCase','setSelection','start','nodeAfter'];(function(_0x2cd9cc,_0x3d3332){const _0x1fb88a=function(_0x2aad1a){while(--_0x2aad1a){_0x2cd9cc['push'](_0x2cd9cc['shift']());}};_0x1fb88a(++_0x3d3332);}(_0x3d33,0x120));const _0x1fb8=function(_0x2cd9cc,_0x3d3332){_0x2cd9cc=_0x2cd9cc-0x0;let _0x1fb88a=_0x3d33[_0x2cd9cc];return _0x1fb88a;};import{Plugin as _0x3e15a7}from'ckeditor5/src/core';import{getTranslation as _0xf61265}from'../utils/common-translations';import{LiveRange as _0x483bf6}from'ckeditor5/src/engine';export default class L extends _0x3e15a7{[_0x1fb8('0x7')](){const _0x246e0d=this[_0x1fb8('0x3b')];if(!_0x246e0d[_0x1fb8('0x3')][_0x1fb8('0xc')](_0x1fb8('0x2b')))return;const _0x500580=_0x246e0d[_0x1fb8('0x31')],_0x2a9bb6=_0x246e0d['plugins']['get']('TrackChangesEditing'),_0x28a940=_0x246e0d[_0x1fb8('0x3')][_0x1fb8('0x25')](_0x1fb8('0x4'));function _0x1f0f82(_0x55a534){return()=>{const _0x3fca71=_0x246e0d[_0x1fb8('0x1')][_0x1fb8('0x25')](_0x55a534);let _0x4409e8=Array['from'](_0x246e0d['model'][_0x1fb8('0x3a')][_0x1fb8('0x2e')][_0x1fb8('0x42')]());if(_0x41267e(_0x55a534)){_0x4409e8=_0x28a940[_0x1fb8('0xb')](_0x4409e8);const _0x400286=[];for(const _0x478917 of _0x4409e8)_0x28a940[_0x1fb8('0x9')](_0x478917)&&_0x400286[_0x1fb8('0x10')](_0x478917);_0x4409e8=_0x400286;}_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x29')](()=>{_0x2a9bb6[_0x1fb8('0x8')](_0x4409e8,{'commandName':_0x55a534,'commandParams':[{'forceValue':!_0x3fca71[_0x1fb8('0x11')]}],'formatGroupId':_0x1fb8('0x24')},[],_0x1fb8('0x1e'));});};}function _0x59545d(_0x20606d){return()=>{const _0x12f93d=function(_0x254573){let _0x14ff74=Array[_0x1fb8('0x2')](_0x254573);const _0x2e2cc4=_0x14ff74['findIndex'](_0x306c77=>!_0x306c77[_0x1fb8('0x22')](_0x1fb8('0x37')));return _0x2e2cc4>-0x1&&(_0x14ff74=_0x14ff74['slice'](0x0,_0x2e2cc4)),_0x14ff74;}(_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x3a')][_0x1fb8('0x2e')]['getSelectedBlocks']()),_0x33d828=_0x12f93d[_0x12f93d['length']-0x1],_0x23b42c=_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x2f')][_0x1fb8('0x39')](_0x33d828)?'after':_0x1fb8('0x5'),_0x6a95c2=_0x246e0d[_0x1fb8('0x1a')]['createRange'](_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x19')](_0x12f93d[0x0],_0x1fb8('0xa')),_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x19')](_0x33d828,_0x23b42c));_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x29')](()=>{_0x2a9bb6['markBlockFormat'](_0x6a95c2,{'commandName':_0x20606d,'commandParams':[],'formatGroupId':_0x1fb8('0x24')},function(_0x10ff83){const _0x18677a=new Set();for(const _0x570840 of _0x10ff83){let _0x3e5d4f=_0x570840[_0x1fb8('0x43')];for(;_0x3e5d4f&&_0x3e5d4f[_0x1fb8('0x1d')]('listIndent')>_0x570840[_0x1fb8('0x1d')](_0x1fb8('0xf'));)_0x18677a[_0x1fb8('0x30')](_0x3e5d4f),_0x3e5d4f=_0x3e5d4f[_0x1fb8('0x43')];}return Array['from'](_0x18677a);}(_0x12f93d));});};}function _0x111a3b(_0x367ea6){return()=>{const _0x5d34d1=_0x246e0d['model'][_0x1fb8('0x3a')][_0x1fb8('0x2e')][_0x1fb8('0x42')]()['next']()[_0x1fb8('0x11')],_0x4063de=_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x19')](_0x5d34d1,_0x1fb8('0xa')),_0x350c67=_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x19')](_0x5d34d1,0x0),_0x115631=_0x246e0d['model'][_0x1fb8('0x18')](_0x4063de,_0x350c67);_0x246e0d['model'][_0x1fb8('0x29')](()=>{_0x2a9bb6[_0x1fb8('0x2a')](_0x115631,{'commandName':_0x367ea6,'commandParams':[],'formatGroupId':_0x1fb8('0x24')});});};}function _0x41267e(_0x3669ac){const _0x5bf6ce=_0x246e0d[_0x1fb8('0x1')][_0x1fb8('0x25')]('bulletedList')[_0x1fb8('0x11')],_0x5e1736=_0x246e0d['commands']['get'](_0x1fb8('0x23'))[_0x1fb8('0x11')];return _0x1fb8('0x23')===_0x3669ac?_0x5bf6ce:_0x5e1736;}_0x2a9bb6[_0x1fb8('0x14')](_0x1fb8('0x23'),_0x1f0f82('numberedList')),_0x2a9bb6[_0x1fb8('0x14')]('bulletedList',_0x1f0f82('bulletedList')),_0x2a9bb6[_0x1fb8('0x14')]('indentList',_0x59545d('indentList')),_0x2a9bb6[_0x1fb8('0x14')](_0x1fb8('0x2c'),_0x59545d(_0x1fb8('0x2c'))),_0x2a9bb6[_0x1fb8('0x14')]('splitListItemAfter',_0x111a3b(_0x1fb8('0x33'))),_0x2a9bb6[_0x1fb8('0x14')]('splitListItemBefore',_0x111a3b(_0x1fb8('0x1b'))),_0x2a9bb6[_0x1fb8('0x26')][_0x1fb8('0x3c')](function(_0x57be5a){const _0x4f6455=!_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x2f')][_0x1fb8('0x39')](_0x57be5a),_0x91fd8c=_0x57be5a[_0x1fb8('0x15')],_0x46938f=_0x57be5a[_0x1fb8('0x43')],_0x49ad9b=_0x57be5a[_0x1fb8('0x1d')](_0x1fb8('0x37')),_0x8eba26=!_0x91fd8c||_0x91fd8c['getAttribute'](_0x1fb8('0x37'))!==_0x49ad9b,_0x59b980=!_0x46938f||_0x46938f[_0x1fb8('0x1d')](_0x1fb8('0x37'))!==_0x49ad9b;return _0x4f6455&&Boolean(_0x49ad9b)&&_0x8eba26&&_0x59b980;},_0x5f281d=>_0xf61265(_0x500580,_0x1fb8('0x32'),_0x5f281d)),_0x2a9bb6[_0x1fb8('0x26')][_0x1fb8('0xd')](function(_0xafad88){const {data:_0x1ec56f}=_0xafad88;if(!_0x1ec56f)return;let _0x38cb3f,_0x5f4854,_0x241766,_0x5896ce;switch(_0x1ec56f[_0x1fb8('0xe')]){case'bulletedList':_0x241766=_0x1ec56f[_0x1fb8('0x0')][0x0][_0x1fb8('0x13')],_0x5896ce=_0x41267e(_0x1ec56f['commandName']),_0x38cb3f=_0x241766?'*Format:*\x20insert\x20into\x20%0':_0x1fb8('0x3d'),_0x5896ce&&(_0x38cb3f=_0x1fb8('0x1f')),_0x5f4854={'type':_0x1fb8('0x36'),'content':_0xf61265(_0x500580,_0x38cb3f,_0xf61265(_0x500580,_0x1fb8('0x27')))};break;case _0x1fb8('0x23'):_0x241766=_0x1ec56f[_0x1fb8('0x0')][0x0][_0x1fb8('0x13')],_0x5896ce=_0x41267e(_0x1ec56f[_0x1fb8('0xe')]),_0x38cb3f=_0x241766?'*Format:*\x20insert\x20into\x20%0':_0x1fb8('0x3d'),_0x5896ce&&(_0x38cb3f=_0x1fb8('0x1f')),_0x5f4854={'type':_0x1fb8('0x36'),'content':_0xf61265(_0x500580,_0x38cb3f,_0xf61265(_0x500580,_0x1fb8('0x21')))};break;case _0x1fb8('0x1c'):_0x38cb3f=_0x1fb8('0x3e'),_0x5f4854={'type':_0x1fb8('0x36'),'content':_0xf61265(_0x500580,_0x38cb3f,_0xf61265(_0x500580,_0x1fb8('0x32')))};break;case'outdentList':_0x38cb3f=function(_0x5d9ea8){const _0x57ee2d=_0x5d9ea8[_0x1fb8('0x6')]();let _0xebdd27=_0x57ee2d['start'][_0x1fb8('0x47')];for(;_0xebdd27&&_0x57ee2d[_0x1fb8('0x16')](_0xebdd27);){if(_0xebdd27[_0x1fb8('0x1d')]('listIndent')>0x0)return!0x1;_0xebdd27=_0xebdd27['nextSibling'];}return!0x0;}(_0xafad88)?_0xf61265(_0x500580,_0x1fb8('0x3d'),_0xf61265(_0x500580,function(_0x208a38){const _0x27e9ed=_0x208a38['getFirstRange']()[_0x1fb8('0x46')]['nodeAfter'];return _0x1fb8('0x35')+_0x27e9ed[_0x1fb8('0x1d')]('listType')[_0x1fb8('0x44')]()+'_LIST';}(_0xafad88))):_0xf61265(_0x500580,'*Outdent:*\x20%0',_0xf61265(_0x500580,_0x1fb8('0x32'))),_0x5f4854={'type':_0x1fb8('0x36'),'content':_0x38cb3f};break;case _0x1fb8('0x3f'):case _0x1fb8('0x2d'):!0x1===_0x1ec56f[_0x1fb8('0x34')]&&(_0x38cb3f='*Merge:*\x20%0',_0x5f4854={'type':'deletion','content':_0xf61265(_0x500580,_0x38cb3f,_0xf61265(_0x500580,_0x1fb8('0x32')))});}return _0x5f4854;}),_0x2a9bb6['_suggestionFactory'][_0x1fb8('0x38')]('formatBlock',_0x1fb8('0x1e'),_0x1fb8('0x12'),function(_0xe2d07d,_0x82fc70){const _0x599ee1=[];for(let _0x54352d of _0xe2d07d)_0x54352d[_0x1fb8('0x46')][_0x1fb8('0x47')]===_0x54352d['end'][_0x1fb8('0x17')]&&(_0x54352d=_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x18')](_0x246e0d[_0x1fb8('0x1a')]['createPositionAt'](_0x54352d[_0x1fb8('0x46')]['nodeAfter'],0x0))),_0x599ee1[_0x1fb8('0x10')](_0x54352d);_0x246e0d[_0x1fb8('0x1a')][_0x1fb8('0x29')](_0x22072c=>{const _0x6d931a=_0x246e0d[_0x1fb8('0x1a')]['document'][_0x1fb8('0x2e')],_0x21a519=Array[_0x1fb8('0x2')](_0x6d931a['getRanges']())['map'](_0xeb22ae=>_0x483bf6[_0x1fb8('0x40')](_0xeb22ae));_0x22072c[_0x1fb8('0x45')](_0x599ee1),_0x246e0d[_0x1fb8('0x1')][_0x1fb8('0x25')](_0x82fc70['commandName'])[_0x1fb8('0x20')](),_0x82fc70['commandParams'][_0x1fb8('0x10')]({'forceDefaultExecution':!0x0}),_0x246e0d[_0x1fb8('0x41')](_0x82fc70[_0x1fb8('0xe')],..._0x82fc70[_0x1fb8('0x0')]),_0x22072c[_0x1fb8('0x45')](_0x21a519);for(const _0x5a3898 of _0x21a519)_0x5a3898[_0x1fb8('0x28')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5251=['model','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','change','styles','toUpperCase','isFirstBlockOfListItem','_LIST_','_getSuggestionBlocks','listReversed','DocumentListPropertiesEditing','format','afterInit','get','enableCommand','expandListBlocksToCompleteList','getSelectedBlocks','TrackChangesEditing','_getTranslationKeyForListStyle','listStyle','numbered','handleListStyleCommand','commandParams','isListItemBlock','type','_descriptionFactory','startIndex','filter','document','bind','*Change\x20to:*\x20%0','getListTypeFromListStyleType','length','registerDescriptionCallback','listType','plugins','DocumentListPropertiesUtils','replace','DocumentListUtils','from','selection','handleListStartCommand','push','editor','getAttribute','_getSuggestionBlocksForListStyle','locale','markMultiRangeBlockFormat','listStart','reversed','handleDescriptions'];(function(_0x213d62,_0x52511b){const _0x24918b=function(_0x31f609){while(--_0x31f609){_0x213d62['push'](_0x213d62['shift']());}};_0x24918b(++_0x52511b);}(_0x5251,0xef));const _0x2491=function(_0x213d62,_0x52511b){_0x213d62=_0x213d62-0x0;let _0x24918b=_0x5251[_0x213d62];return _0x24918b;};import{Plugin as _0x5014c0}from'ckeditor5/src/core';import{getTranslation as _0x3f2db6}from'../utils/common-translations';export default class At extends _0x5014c0{[_0x2491('0x1c')](){if(!this['editor'][_0x2491('0x0')]['has'](_0x2491('0x1a')))return;const _0x2f52a5=this[_0x2491('0x8')]['config'][_0x2491('0x1d')](_0x2491('0x11')),_0x2b543b=this[_0x2491('0x8')][_0x2491('0x0')][_0x2491('0x1d')](_0x2491('0x21'));_0x2f52a5[_0x2491('0x14')]&&_0x2b543b[_0x2491('0x1e')](_0x2491('0x23'),this[_0x2491('0x25')]['bind'](this)),_0x2f52a5[_0x2491('0xe')]&&_0x2b543b[_0x2491('0x1e')](_0x2491('0x19'),this['handleListReversedCommand'][_0x2491('0x2d')](this)),_0x2f52a5[_0x2491('0x2a')]&&_0x2b543b[_0x2491('0x1e')](_0x2491('0xd'),this[_0x2491('0x6')][_0x2491('0x2d')](this)),_0x2b543b[_0x2491('0x29')][_0x2491('0x31')](this[_0x2491('0xf')][_0x2491('0x2d')](this));}[_0x2491('0x25')](_0x44a0d9,_0x1caacd={}){const _0xe5d07b=this[_0x2491('0x8')][_0x2491('0x0')][_0x2491('0x1d')](_0x2491('0x21')),_0x210a97=this[_0x2491('0xa')]();this[_0x2491('0x8')][_0x2491('0x10')][_0x2491('0x13')](()=>{_0xe5d07b['markMultiRangeBlockFormat'](_0x210a97,{'commandName':_0x2491('0x23'),'commandParams':[{'type':_0x1caacd[_0x2491('0x28')]}],'formatGroupId':_0x2491('0x23')});});}['handleListReversedCommand'](_0xd3d9cc,_0x181573={}){const _0x574e99=this['editor'][_0x2491('0x0')][_0x2491('0x1d')](_0x2491('0x21')),_0x5d98f3=this['editor'][_0x2491('0x0')][_0x2491('0x1d')](_0x2491('0x3')),_0x34d226=this[_0x2491('0x18')](_0x3f45fc=>_0x5d98f3[_0x2491('0x27')](_0x3f45fc)&&'numbered'===_0x3f45fc[_0x2491('0x9')](_0x2491('0x32')));null!==_0x34d226&&this[_0x2491('0x8')]['model']['change'](()=>{_0x574e99['markMultiRangeBlockFormat'](_0x34d226,{'commandName':'listReversed','commandParams':[{'reversed':_0x181573[_0x2491('0xe')]}],'formatGroupId':_0x2491('0x19')});});}[_0x2491('0x6')](_0x60fca4,_0x42d7e5={}){const _0x540acc=this[_0x2491('0x8')]['plugins'][_0x2491('0x1d')]('TrackChangesEditing'),_0x2653ce=this[_0x2491('0x8')][_0x2491('0x0')][_0x2491('0x1d')](_0x2491('0x3')),_0x57049b=this[_0x2491('0x18')](_0x4bd65c=>_0x2653ce[_0x2491('0x27')](_0x4bd65c)&&_0x2491('0x24')===_0x4bd65c[_0x2491('0x9')]('listType'));null!==_0x57049b&&this[_0x2491('0x8')]['model']['change'](()=>{_0x540acc[_0x2491('0xc')](_0x57049b,{'commandName':'listStart','commandParams':[{'startIndex':_0x42d7e5[_0x2491('0x2a')]}],'formatGroupId':_0x2491('0xd')});});}['handleDescriptions'](_0x1f84d2){const _0x4b036f=this[_0x2491('0x8')][_0x2491('0xb')],{data:_0x18baef}=_0x1f84d2;if(!_0x18baef)return;let _0x311a6b,_0x589398;switch(_0x18baef['commandName']){case _0x2491('0x23'):_0x311a6b=_0x2491('0x2e'),_0x589398={'type':_0x2491('0x1b'),'content':_0x3f2db6(_0x4b036f,_0x311a6b,_0x3f2db6(_0x4b036f,this[_0x2491('0x22')](_0x18baef[_0x2491('0x26')][0x0]['type'])))};break;case _0x2491('0x19'):_0x311a6b=_0x18baef[_0x2491('0x26')][0x0][_0x2491('0xe')]?_0x2491('0x12'):'*Format:*\x20set\x20order\x20to\x20regular',_0x589398={'type':_0x2491('0x1b'),'content':_0x3f2db6(_0x4b036f,_0x311a6b)};break;case _0x2491('0xd'):_0x311a6b='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x589398={'type':_0x2491('0x1b'),'content':_0x3f2db6(_0x4b036f,_0x311a6b,_0x18baef[_0x2491('0x26')][0x0]['startIndex'])};}return _0x589398;}[_0x2491('0xa')](){const _0x511741=this[_0x2491('0x8')]['plugins'][_0x2491('0x1d')](_0x2491('0x3'));let _0x4d3963=Array[_0x2491('0x4')](this[_0x2491('0x8')][_0x2491('0x10')][_0x2491('0x2c')][_0x2491('0x5')][_0x2491('0x20')]());return _0x4d3963['push'](..._0x511741[_0x2491('0x1f')](_0x4d3963)),_0x4d3963=[...new Set(_0x4d3963)],_0x4d3963;}[_0x2491('0x18')](_0x5b6b0a){const _0x432f73=this[_0x2491('0x8')][_0x2491('0x0')]['get']('DocumentListUtils');let _0x27c702=Array['from'](this['editor'][_0x2491('0x10')][_0x2491('0x2c')][_0x2491('0x5')][_0x2491('0x20')]())[_0x2491('0x2b')](_0x5b6b0a);if(!_0x27c702[_0x2491('0x30')])return null;_0x27c702=_0x432f73[_0x2491('0x1f')](_0x27c702);const _0x286e51=[];for(const _0x3656b2 of _0x27c702)_0x432f73[_0x2491('0x16')](_0x3656b2)&&_0x286e51[_0x2491('0x7')](_0x3656b2);return _0x286e51;}[_0x2491('0x22')](_0x29096a){return'ELEMENT_'+this[_0x2491('0x8')][_0x2491('0x0')][_0x2491('0x1d')](_0x2491('0x1'))[_0x2491('0x2f')](_0x29096a)[_0x2491('0x15')]()+_0x2491('0x17')+_0x29096a[_0x2491('0x15')]()[_0x2491('0x2')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4202=['detach','get','model','getFirstRange','plugins','afterExecute','hasClass','editing','data','removeMarker:suggestion:insertion','getFirstPosition','mapper','TrackChangesEditing','parent','createRange','downcastDispatcher','remove','addMarker:suggestion:insertion','markerNameToElements','ck-suggestion-marker-split','document','bind','unbindElementFromMarkerName','createPositionAt','change','selection','markInsertion','enterBlock','markerName','enter','setSelection','high','split'];(function(_0x491dcc,_0x420278){const _0x15bc51=function(_0x236629){while(--_0x236629){_0x491dcc['push'](_0x491dcc['shift']());}};_0x15bc51(++_0x420278);}(_0x4202,0x197));const _0x15bc=function(_0x491dcc,_0x420278){_0x491dcc=_0x491dcc-0x0;let _0x15bc51=_0x4202[_0x491dcc];return _0x15bc51;};import{Plugin as _0x5a3689}from'ckeditor5/src/core';import{Enter as _0x401fd6}from'ckeditor5/src/enter';import{LiveRange as _0x2428a7}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xe4247f}from'./utils';export default class q extends _0x5a3689{static get['requires'](){return[_0x401fd6];}['init'](){const _0x48197d=this['editor'],_0x316f0d=_0x48197d[_0x15bc('0x1a')][_0x15bc('0x17')](_0x15bc('0x1')),_0x51f7a2=_0x48197d['commands']['get'](_0x15bc('0x12'));_0x316f0d['enableCommand'](_0x15bc('0x12'),()=>{_0x48197d['model'][_0x15bc('0xd')](_0x9bf33b=>{const _0x482a1d=_0x48197d[_0x15bc('0x18')][_0x15bc('0x9')][_0x15bc('0xe')],_0x45f075=_0x482a1d[_0x15bc('0x20')](),_0x17ab2e=_0x2428a7['fromRange'](_0x482a1d[_0x15bc('0x19')]());if(_0x51f7a2[_0x15bc('0x10')](_0x9bf33b)){const _0x2fec8a=_0x48197d[_0x15bc('0x18')][_0x15bc('0xc')](_0x45f075[_0x15bc('0x2')]['nextSibling'],0x0),_0x1d5e61=_0x9bf33b[_0x15bc('0x3')](_0x45f075,_0x2fec8a);_0x316f0d[_0x15bc('0xf')](_0x1d5e61);}else _0x9bf33b[_0x15bc('0x13')](_0x9bf33b[_0x15bc('0x3')](_0x17ab2e['end']));_0x17ab2e[_0x15bc('0x16')](),_0x51f7a2['fire'](_0x15bc('0x1b'),{'writer':_0x9bf33b});});}),_0x48197d[_0x15bc('0x1d')][_0x15bc('0x4')]['on'](_0x15bc('0x6'),_0xe4247f(_0x48197d,_0x15bc('0x15')),{'priority':_0x15bc('0x14')}),_0x48197d[_0x15bc('0x1d')][_0x15bc('0x4')]['on'](_0x15bc('0x1f'),(_0x617e13,_0x2eb21e,_0x570f64)=>{const _0x4d1b25=_0x570f64['mapper'][_0x15bc('0x7')](_0x2eb21e[_0x15bc('0x11')]);if(_0x4d1b25)for(const _0x45a932 of _0x4d1b25)_0x45a932[_0x15bc('0x1c')](_0x15bc('0x8'))&&(_0x570f64[_0x15bc('0x0')][_0x15bc('0xb')](_0x45a932,_0x2eb21e[_0x15bc('0x11')]),_0x570f64['writer'][_0x15bc('0x5')](_0x45a932));},{'priority':_0x15bc('0x14')}),_0x48197d[_0x15bc('0x1e')][_0x15bc('0x4')]['on'](_0x15bc('0x6'),(_0x1b1a59,_0x333a27,_0x42cd26)=>{_0x42cd26['options']['showSuggestionHighlights']&&_0xe4247f(_0x48197d,_0x15bc('0x15'),{'showActiveMarker':!0x1})[_0x15bc('0xa')](this)(_0x1b1a59,_0x333a27,_0x42cd26);},{'priority':_0x15bc('0x14')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b6c=['find','FindAndReplaceEditing','getIntersection','findPrevious','model','markers','end','createPositionAt','string','handleFindCommand','afterInit','createRange','findByTextCallback','FindAndReplaceUtils','replaceAll','bind','plugins','enableCommand','_isInDeletionRange','getMarkersGroup','editor','get','item','getRange','start','suggestion:deletion','has'];(function(_0x1a160d,_0x1b6cf5){const _0x18fc15=function(_0x325eb2){while(--_0x325eb2){_0x1a160d['push'](_0x1a160d['shift']());}};_0x18fc15(++_0x1b6cf5);}(_0x1b6c,0xd1));const _0x18fc=function(_0x1a160d,_0x1b6cf5){_0x1a160d=_0x1a160d-0x0;let _0x18fc15=_0x1b6c[_0x1a160d];return _0x18fc15;};import{Plugin as _0x4fd4bf}from'ckeditor5/src/core';export default class z extends _0x4fd4bf{[_0x18fc('0x11')](){if(!this[_0x18fc('0x0')]['plugins'][_0x18fc('0x6')](_0x18fc('0x8')))return;const _0x3f2f68=this['editor'][_0x18fc('0x17')][_0x18fc('0x1')]('TrackChangesEditing');_0x3f2f68['enableCommand'](_0x18fc('0x7'),this[_0x18fc('0x10')][_0x18fc('0x16')](this)),_0x3f2f68[_0x18fc('0x18')]('findNext'),_0x3f2f68['enableCommand'](_0x18fc('0xa')),_0x3f2f68[_0x18fc('0x18')]('replace'),_0x3f2f68[_0x18fc('0x18')](_0x18fc('0x15'));}[_0x18fc('0x10')](_0x369a26,_0xd554b3,_0x347553={}){const _0x3353c4=this[_0x18fc('0x0')][_0x18fc('0x17')][_0x18fc('0x1')](_0x18fc('0x14'));void 0x0!==_0x347553&&_0x369a26(_0x5c04bc=>(_0x18fc('0xf')==typeof _0xd554b3?_0x3353c4[_0x18fc('0x13')](_0xd554b3,_0x347553):_0xd554b3)(_0x5c04bc)['filter'](_0x27eee2=>!0x1===this[_0x18fc('0x19')](_0x27eee2,_0x5c04bc[_0x18fc('0x2')])),_0x347553);}[_0x18fc('0x19')](_0x338ab3,_0x5c950a){const _0x2ab31a=this[_0x18fc('0x0')][_0x18fc('0xb')][_0x18fc('0x12')](this[_0x18fc('0x0')][_0x18fc('0xb')][_0x18fc('0xe')](_0x5c950a,_0x338ab3[_0x18fc('0x4')]),this['editor']['model'][_0x18fc('0xe')](_0x5c950a,_0x338ab3[_0x18fc('0xd')]));for(const _0x5f1de1 of this[_0x18fc('0x0')][_0x18fc('0xb')][_0x18fc('0xc')][_0x18fc('0x1a')](_0x18fc('0x5')))if(null!==_0x2ab31a[_0x18fc('0x9')](_0x5f1de1[_0x18fc('0x3')]()))return!0x0;return!0x1;}}
|