@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231025.0 → 0.0.0-nightly-20231027.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231027.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-20231027.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231027.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 _0x412d=['_isEnabledBasedOnSelection','model','acceptSuggestion','_suggestions','get','refresh','isEnabled','execute','getRanges','TrackChangesEditing','plugins','editor','track-changes-accept-suggestion-not-found'];(function(_0x1d4ce8,_0x412d6c){const _0x320a38=function(_0x4e1452){while(--_0x4e1452){_0x1d4ce8['push'](_0x1d4ce8['shift']());}};_0x320a38(++_0x412d6c);}(_0x412d,0xdf));const _0x320a=function(_0x1d4ce8,_0x412d6c){_0x1d4ce8=_0x1d4ce8-0x0;let _0x320a38=_0x412d[_0x1d4ce8];return _0x320a38;};import{Command as _0x2b6891}from'ckeditor5/src/core';import{CKEditorError as _0xb8fef1}from'ckeditor5/src/utils';export default class M extends _0x2b6891{constructor(_0x558de9,_0x306f5c){super(_0x558de9),this['_suggestions']=_0x306f5c,this[_0x320a('0x3')](),this[_0x320a('0xb')]=!0x1;}['refresh'](){this[_0x320a('0x4')]=!0x0;}[_0x320a('0x5')](_0x2a71c4){const _0x168869=this[_0x320a('0x1')][_0x320a('0x2')](_0x2a71c4);if(!_0x168869)throw new _0xb8fef1(_0x320a('0xa'),this);const _0x5dcdbe=_0x168869[_0x320a('0x6')]();this[_0x320a('0x9')][_0x320a('0xc')]['canEditAt'](_0x5dcdbe)&&this[_0x320a('0x9')][_0x320a('0x8')][_0x320a('0x2')](_0x320a('0x7'))[_0x320a('0x0')](_0x168869);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51bc=['track-changes-discard-suggestion-not-found','plugins','canEditAt','_suggestions','get','editor','getRanges','refresh','isEnabled'];(function(_0x400b1d,_0x51bcc4){const _0xece189=function(_0x4d19b7){while(--_0x4d19b7){_0x400b1d['push'](_0x400b1d['shift']());}};_0xece189(++_0x51bcc4);}(_0x51bc,0x171));const _0xece1=function(_0x400b1d,_0x51bcc4){_0x400b1d=_0x400b1d-0x0;let _0xece189=_0x51bc[_0x400b1d];return _0xece189;};import{Command as _0x479fa0}from'ckeditor5/src/core';import{CKEditorError as _0x2480b7}from'ckeditor5/src/utils';export default class $ extends _0x479fa0{constructor(_0x12cc84,_0x1fa78f){super(_0x12cc84),this[_0xece1('0x3')]=_0x1fa78f,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0xece1('0x7')](){this[_0xece1('0x8')]=!0x0;}['execute'](_0x139e53){const _0x1bbd47=this[_0xece1('0x3')][_0xece1('0x4')](_0x139e53);if(!_0x1bbd47)throw new _0x2480b7(_0xece1('0x0'),this);const _0x5c85f2=_0x1bbd47[_0xece1('0x6')]();this[_0xece1('0x5')]['model'][_0xece1('0x2')](_0x5c85f2)&&this[_0xece1('0x5')][_0xece1('0x1')][_0xece1('0x4')]('TrackChangesEditing')['discardSuggestion'](_0x1bbd47);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d30=['model','_suggestions','_command','values','some','isInContent','_isEnabledBasedOnSelection','canEditAt','isEnabled','from','refresh','editor'];(function(_0x5cf491,_0x3d3061){const _0x54553f=function(_0x5e887b){while(--_0x5e887b){_0x5cf491['push'](_0x5cf491['shift']());}};_0x54553f(++_0x3d3061);}(_0x3d30,0x1ea));const _0x5455=function(_0x5cf491,_0x3d3061){_0x5cf491=_0x5cf491-0x0;let _0x54553f=_0x3d30[_0x5cf491];return _0x54553f;};import{Command as _0x15b693}from'ckeditor5/src/core';import{sortSuggestions as _0x3ad64c,executeCommandForSuggestions as _0x54896b}from'../utils/utils';export default class N extends _0x15b693{constructor(_0x5ce429,_0x2f89a0,_0x283f51){super(_0x5ce429),this[_0x5455('0x4')]=_0x2f89a0,this[_0x5455('0x3')]=_0x283f51,this[_0x5455('0x0')](),this[_0x5455('0x8')]=!0x1;}[_0x5455('0x0')](){const _0x3001b8=Array[_0x5455('0xb')](this['_suggestions'][_0x5455('0x5')]())[_0x5455('0x6')](_0xd2ed62=>_0xd2ed62[_0x5455('0x7')]);this[_0x5455('0xa')]=this[_0x5455('0x4')][_0x5455('0xa')]&&_0x3001b8;}['execute'](){const _0x36bf6f=_0x3ad64c(Array[_0x5455('0xb')](this[_0x5455('0x3')][_0x5455('0x5')]()));for(const _0x5c083f of _0x36bf6f){const _0x428cab=_0x5c083f['getRanges']();if(!this['editor'][_0x5455('0x2')][_0x5455('0x9')](_0x428cab))return;}_0x54896b(this[_0x5455('0x1')][_0x5455('0x2')],this[_0x5455('0x4')],_0x36bf6f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa3cc=['document','canEditAt','refresh','editor','isEnabled','selection','_selectedSuggestions','getRanges','_isEnabledBasedOnSelection','model','from','_command','_suggestions'];(function(_0x1dea37,_0xa3cca1){const _0x28eba8=function(_0x176f50){while(--_0x176f50){_0x1dea37['push'](_0x1dea37['shift']());}};_0x28eba8(++_0xa3cca1);}(_0xa3cc,0xe1));const _0x28eb=function(_0x1dea37,_0xa3cca1){_0x1dea37=_0x1dea37-0x0;let _0x28eba8=_0xa3cc[_0x1dea37];return _0x28eba8;};import{Command as _0x8136a8}from'ckeditor5/src/core';import{sortSuggestions as _0x2f006f,getSelectedSuggestions as _0xd45ed3,executeCommandForSuggestions as _0x48584e}from'../utils/utils';export default class R extends _0x8136a8{constructor(_0x19784a,_0x5ceb28,_0x41d7a0){super(_0x19784a),this['_command']=_0x5ceb28,this['_suggestions']=_0x41d7a0,this['_selectedSuggestions']=new Set(),this[_0x28eb('0xb')](),this[_0x28eb('0x4')]=!0x1;}[_0x28eb('0xb')](){const _0x4e705b=this[_0x28eb('0xc')][_0x28eb('0x5')][_0x28eb('0x9')][_0x28eb('0x1')],_0x14b878=Array[_0x28eb('0x6')](this[_0x28eb('0x8')]['values']());this[_0x28eb('0x2')]=_0xd45ed3(_0x4e705b,_0x14b878),this[_0x28eb('0x0')]=this[_0x28eb('0x7')][_0x28eb('0x0')]&&!!this[_0x28eb('0x2')]['size'];}['execute'](){const _0x5cd765=_0x2f006f(Array[_0x28eb('0x6')](this['_selectedSuggestions']));for(const _0x5ac7c8 of _0x5cd765){const _0x2e324d=_0x5ac7c8[_0x28eb('0x3')]();if(!this[_0x28eb('0xc')][_0x28eb('0x5')][_0x28eb('0xa')](_0x2e324d))return;}_0x48584e(this[_0x28eb('0xc')][_0x28eb('0x5')],this[_0x28eb('0x7')],_0x5cd765);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4000=['_isEnabledBasedOnSelection','forceDisabled','commands','_enableCommands','value','clearForceDisabled','_disableUnsupportedCommands','_enabledCommands','TrackChangesCommand','has','refresh','isEnabled','editor','execute','affectsData'];(function(_0x16aab5,_0x400090){const _0x3f8cd7=function(_0x10bbac){while(--_0x10bbac){_0x16aab5['push'](_0x16aab5['shift']());}};_0x3f8cd7(++_0x400090);}(_0x4000,0xc3));const _0x3f8c=function(_0x16aab5,_0x400090){_0x16aab5=_0x16aab5-0x0;let _0x3f8cd7=_0x4000[_0x16aab5];return _0x3f8cd7;};import{Command as _0x4fa2ff}from'ckeditor5/src/core';export default class _ extends _0x4fa2ff{constructor(_0x155ef6,_0xb3be31){super(_0x155ef6),this['_enabledCommands']=_0xb3be31,this[_0x3f8c('0x4')]=!0x1,this[_0x3f8c('0xa')](),this[_0x3f8c('0x0')]=!0x1;}[_0x3f8c('0xa')](){this[_0x3f8c('0xb')]=!0x0;}[_0x3f8c('0xd')](){this[_0x3f8c('0x4')]=!this[_0x3f8c('0x4')],this[_0x3f8c('0x4')]?this[_0x3f8c('0x6')]():this[_0x3f8c('0x3')]();}[_0x3f8c('0x6')](){for(const _0x2b7948 of this[_0x3f8c('0xc')][_0x3f8c('0x2')][_0x3f8c('0x2')]())_0x2b7948[_0x3f8c('0xe')]&&!this[_0x3f8c('0x7')][_0x3f8c('0x9')](_0x2b7948)&&_0x2b7948[_0x3f8c('0x1')](_0x3f8c('0x8'));}[_0x3f8c('0x3')](){for(const _0x5287ad of this[_0x3f8c('0xc')][_0x3f8c('0x2')]['commands']())_0x5287ad[_0x3f8c('0xe')]&&!this[_0x3f8c('0x7')][_0x3f8c('0x9')](_0x5287ad)&&_0x5287ad[_0x3f8c('0x5')](_0x3f8c('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d97=['TrackChangesEditing','showAIAssistant','commands','enableCommand','plugins'];(function(_0x526e95,_0x1d9723){const _0x59bc05=function(_0x559bb7){while(--_0x559bb7){_0x526e95['push'](_0x526e95['shift']());}};_0x59bc05(++_0x1d9723);}(_0x1d97,0x1be));const _0x59bc=function(_0x526e95,_0x1d9723){_0x526e95=_0x526e95-0x0;let _0x59bc05=_0x1d97[_0x526e95];return _0x59bc05;};import{Plugin as _0xb34f89}from'ckeditor5/src/core';export default class j extends _0xb34f89{['afterInit'](){const _0x346ada=this['editor'],_0x576d4a=_0x346ada[_0x59bc('0x3')]['get'](_0x59bc('0x4'));_0x346ada[_0x59bc('0x1')]['get'](_0x59bc('0x0'))&&_0x576d4a[_0x59bc('0x2')](_0x59bc('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d7c=['checkAttribute','getAttribute','afterInit','center','alignment','schema','model','locale','enableCommand','FORMAT_ALIGN_TO_CENTER','*Format:*\x20%0','getSelectedBlocks','format','get','right','left','value','from','FORMAT_ALIGN_TO_RIGHT','AlignmentEditing','filter','selection','markBlockFormat','TrackChangesEditing','ltr','editor','plugins','has','document','change','commandName','justify','FORMAT_ALIGN_TO_LEFT'];(function(_0x50808b,_0x3d7cff){const _0x555e27=function(_0x21d7f4){while(--_0x21d7f4){_0x50808b['push'](_0x50808b['shift']());}};_0x555e27(++_0x3d7cff);}(_0x3d7c,0x1b6));const _0x555e=function(_0x50808b,_0x3d7cff){_0x50808b=_0x50808b-0x0;let _0x555e27=_0x3d7c[_0x50808b];return _0x555e27;};import{Plugin as _0x456b03}from'ckeditor5/src/core';import{getTranslation as _0x25ef43}from'../utils/common-translations';export default class x extends _0x456b03{[_0x555e('0x1a')](){const _0x46157d=this[_0x555e('0x10')],_0x3b4b4f=_0x46157d['locale'];if(!_0x46157d[_0x555e('0x11')][_0x555e('0x12')](_0x555e('0xa')))return;const _0x38c18b=_0x46157d[_0x555e('0x11')][_0x555e('0x4')](_0x555e('0xe'));_0x38c18b[_0x555e('0x20')]('alignment',(_0x331cdb,_0x6f1979={})=>{let _0x3e4d73=_0x6f1979[_0x555e('0x7')];_0x6f1979[_0x555e('0x7')]||(_0x3e4d73=_0x555e('0xf')===_0x46157d[_0x555e('0x1f')]['contentLanguageDirection']?'left':'right');const _0x2e5d02=Array[_0x555e('0x8')](this[_0x555e('0x10')]['model'][_0x555e('0x13')][_0x555e('0xc')][_0x555e('0x2')]())[_0x555e('0xb')](_0x4a07b4=>function(_0x2b627a,_0x975f85,_0x5201e7){const _0x29b728=_0x2b627a[_0x555e('0x19')](_0x555e('0x1c'))||null;return _0x975f85[_0x555e('0x18')](_0x2b627a,_0x555e('0x1c'))&&_0x5201e7!=_0x29b728;}(_0x4a07b4,this['editor'][_0x555e('0x1e')][_0x555e('0x1d')],_0x3e4d73));_0x46157d['model'][_0x555e('0x14')](()=>{for(const _0x5b335b of _0x2e5d02)_0x38c18b[_0x555e('0xd')](_0x5b335b,{'commandName':'alignment','commandParams':[{'value':_0x3e4d73}]});});}),_0x38c18b['_descriptionFactory']['registerDescriptionCallback'](_0x786126=>{const {data:_0x4f7371}=_0x786126;if(_0x4f7371&&_0x555e('0x1c')==_0x4f7371[_0x555e('0x15')]){const _0x511648=_0x4f7371['commandParams'][0x0][_0x555e('0x7')];return{'type':_0x555e('0x3'),'content':_0x25ef43(_0x3b4b4f,_0x555e('0x1'),function(_0x3b9f17){switch(_0x3b9f17){case _0x555e('0x6'):return _0x25ef43(_0x3b4b4f,_0x555e('0x17'));case _0x555e('0x5'):return _0x25ef43(_0x3b4b4f,_0x555e('0x9'));case _0x555e('0x1b'):return _0x25ef43(_0x3b4b4f,_0x555e('0x0'));case _0x555e('0x16'):return _0x25ef43(_0x3b4b4f,'FORMAT_JUSTIFY_TEXT');}}(_0x511648))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39c4=['TrackChangesEditing','commandParams','format','commands','get','slice','FORMAT_ITALIC','markInlineFormat','StrikethroughEditing','code','value','FORMAT_SUPERSCRIPT','editor','plugins','subscript','toLowerCase','*Format:*\x20%0','CodeEditing','from','change','strikethrough','UnderlineEditing','registerDescriptionCallback','SubscriptEditing','_descriptionFactory','afterInit','bold','enableCommand','ItalicEditing','BoldEditing','getRanges','italic','superscript','selection','forceValue','*Remove\x20format:*\x20%0','document','locale','underline','has','SuperscriptEditing','FORMAT_CODE','FORMAT_SUBSCRIPT'];(function(_0x2b4577,_0x39c432){const _0xd528c3=function(_0x44cebd){while(--_0x44cebd){_0x2b4577['push'](_0x2b4577['shift']());}};_0xd528c3(++_0x39c432);}(_0x39c4,0x119));const _0xd528=function(_0x2b4577,_0x39c432){_0x2b4577=_0x2b4577-0x0;let _0xd528c3=_0x39c4[_0x2b4577];return _0xd528c3;};import{Plugin as _0x3fe191}from'ckeditor5/src/core';import{getTranslation as _0x50076f}from'../utils/common-translations';import{getRangesWithAttribute as _0x292ca7}from'./utils';const Zt=[_0xd528('0x6'),_0xd528('0x5'),_0xd528('0x29'),_0xd528('0x25'),_0xd528('0x1c'),_0xd528('0x0'),_0xd528('0x11')];export default class U extends _0x3fe191{[_0xd528('0x2')](){const _0x2efc42=this[_0xd528('0x20')],_0x4c2f2f=_0x2efc42['model'],_0x3443c0=_0x2efc42['plugins'][_0xd528('0x18')](_0xd528('0x14')),_0x5d7d39=_0x2efc42[_0xd528('0xe')];for(const _0x5d988e of Zt){if(!_0x2efc42[_0xd528('0x21')][_0xd528('0x10')](_0x5d988e))continue;const _0x2b84eb=_0x5d988e[_0xd528('0x19')](0x0,-0x7)[_0xd528('0x23')](),_0x3ac0e1=_0x2efc42[_0xd528('0x17')][_0xd528('0x18')](_0x2b84eb);_0x3443c0[_0xd528('0x4')](_0x2b84eb,(_0x1e3f3d,_0x4e1131={})=>{const _0xbf8db9=_0x4c2f2f[_0xd528('0xd')][_0xd528('0xa')];if(_0xbf8db9['isCollapsed'])return void _0x1e3f3d(_0x4e1131);const _0x3d2552=void 0x0!==_0x4e1131[_0xd528('0xb')]?_0x4e1131[_0xd528('0xb')]:!_0x3ac0e1[_0xd528('0x1e')];_0x4c2f2f[_0xd528('0x27')](()=>{const _0x912ae1=Array[_0xd528('0x26')](_0xbf8db9[_0xd528('0x7')]());for(const _0x3d8f97 of _0x912ae1){const _0x2419b6=_0x3d2552?[_0x3d8f97]:_0x292ca7(_0x2b84eb,_0x3d8f97,_0x4c2f2f);for(const _0x5742ef of _0x2419b6)_0x3443c0[_0xd528('0x1b')](_0x5742ef,{'commandName':_0x2b84eb,'commandParams':[{'forceValue':_0x3d2552}]});}});});}function _0x5d107c(_0xa3e9f9,_0x10deac){_0x3443c0[_0xd528('0x1')][_0xd528('0x2a')](_0x980721=>{const {data:_0x38b7d7}=_0x980721;if(_0x38b7d7&&_0x38b7d7['commandName']===_0xa3e9f9)return _0x38b7d7[_0xd528('0x15')][0x0]['forceValue']?{'type':_0xd528('0x16'),'content':_0x50076f(_0x5d7d39,_0xd528('0x24'),_0x10deac)}:{'type':_0xd528('0x16'),'content':_0x50076f(_0x5d7d39,_0xd528('0xc'),_0x10deac)};});}_0x5d107c(_0xd528('0x3'),_0x50076f(_0x5d7d39,'FORMAT_BOLD')),_0x5d107c(_0xd528('0x8'),_0x50076f(_0x5d7d39,_0xd528('0x1a'))),_0x5d107c(_0xd528('0xf'),_0x50076f(_0x5d7d39,'FORMAT_UNDERLINE')),_0x5d107c(_0xd528('0x1d'),_0x50076f(_0x5d7d39,_0xd528('0x12'))),_0x5d107c(_0xd528('0x28'),_0x50076f(_0x5d7d39,'FORMAT_STRIKETHROUGH')),_0x5d107c(_0xd528('0x22'),_0x50076f(_0x5d7d39,_0xd528('0x13'))),_0x5d107c(_0xd528('0x9'),_0x50076f(_0x5d7d39,_0xd528('0x1f')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7959=['name','blockQuote','_descriptionFactory','*Format:*\x20%0','enableCommand','plugins','*Remove\x20format:*\x20%0','ELEMENT_BLOCK_QUOTE','$root','format','document','BlockQuoteEditing','schema','filter','commandName','from','TrackChangesEditing','commandParams','locale','getSelectedBlocks','registerDescriptionCallback','parent','afterInit','selection','editor','value','change','get','model','forceValue'];(function(_0x20a3e0,_0x79592){const _0x143a73=function(_0x5cf74d){while(--_0x5cf74d){_0x20a3e0['push'](_0x20a3e0['shift']());}};_0x143a73(++_0x79592);}(_0x7959,0xed));const _0x143a=function(_0x20a3e0,_0x79592){_0x20a3e0=_0x20a3e0-0x0;let _0x143a73=_0x7959[_0x20a3e0];return _0x143a73;};import{Plugin as _0x4a7fe6}from'ckeditor5/src/core';import{getTranslation as _0x34e14b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x54c6c7}from'../utils/utils';export default class O extends _0x4a7fe6{[_0x143a('0x19')](){const _0x297ce4=this[_0x143a('0x1b')],_0x2dc220=_0x297ce4[_0x143a('0x15')];if(!_0x297ce4[_0x143a('0x8')]['has'](_0x143a('0xe')))return;const _0xf90886=_0x297ce4[_0x143a('0x8')][_0x143a('0x0')](_0x143a('0x13')),_0x60c10=this[_0x143a('0x1b')]['commands']['get']('blockQuote');_0xf90886[_0x143a('0x7')]('blockQuote',(_0x3c508b,_0x4d2f9d={})=>{const _0x5d8121=this['editor']['model'][_0x143a('0xd')][_0x143a('0x1a')],_0x133ca9=_0x4d2f9d&&void 0x0!==_0x4d2f9d['forceValue']?_0x4d2f9d[_0x143a('0x2')]:!_0x60c10[_0x143a('0x1c')];let _0x261809=[];if(_0x133ca9){const _0xdeebeb=Array[_0x143a('0x12')](_0x5d8121['getSelectedBlocks']())[_0x143a('0x10')](_0x307b78=>oo(_0x307b78)||function(_0x279008,_0x4cfae0){const _0x9b987c=_0x4cfae0['checkChild'](_0x279008['parent'],_0x143a('0x4')),_0x59da7e=_0x4cfae0['checkChild']([_0x143a('0xb'),_0x143a('0x4')],_0x279008);return _0x9b987c&&_0x59da7e;}(_0x307b78,this[_0x143a('0x1b')][_0x143a('0x1')][_0x143a('0xf')]));_0x261809=_0x54c6c7(_0xdeebeb,_0x297ce4[_0x143a('0x1')]);}else{const _0x85eab3=Array[_0x143a('0x12')](_0x5d8121[_0x143a('0x16')]())[_0x143a('0x10')](_0x10c4f7=>oo(_0x10c4f7));_0x261809=_0x54c6c7(_0x85eab3,_0x297ce4[_0x143a('0x1')]);}_0x297ce4[_0x143a('0x1')][_0x143a('0x1d')](()=>{for(const _0x499e34 of _0x261809)_0xf90886['markBlockFormat'](_0x499e34,{'commandName':_0x143a('0x4'),'commandParams':[{'forceValue':_0x133ca9}]});});}),_0xf90886[_0x143a('0x5')][_0x143a('0x17')](_0x1fc886=>{const {data:_0x33dcab}=_0x1fc886;if(_0x33dcab&&_0x143a('0x4')==_0x33dcab[_0x143a('0x11')]){const _0x2e9e56=_0x34e14b(_0x2dc220,_0x143a('0xa'));return _0x33dcab[_0x143a('0x14')][0x0][_0x143a('0x2')]?{'type':'format','content':_0x34e14b(_0x2dc220,_0x143a('0x6'),_0x2e9e56)}:{'type':_0x143a('0xc'),'content':_0x34e14b(_0x2dc220,_0x143a('0x9'),_0x2e9e56)};}});}}function oo(_0x19136e){return _0x143a('0x4')==_0x19136e[_0x143a('0x18')][_0x143a('0x3')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c2c=['commands','enableCommand','afterInit','editor','TrackChangesEditing','ckbox','plugins'];(function(_0x10913d,_0x3c2c6a){const _0x2d3b73=function(_0x4633f7){while(--_0x4633f7){_0x10913d['push'](_0x10913d['shift']());}};_0x2d3b73(++_0x3c2c6a);}(_0x3c2c,0xa9));const _0x2d3b=function(_0x10913d,_0x3c2c6a){_0x10913d=_0x10913d-0x0;let _0x2d3b73=_0x3c2c[_0x10913d];return _0x2d3b73;};import{Plugin as _0x1b676a}from'ckeditor5/src/core';export default class E extends _0x1b676a{[_0x2d3b('0x1')](){const _0x266356=this[_0x2d3b('0x2')];_0x266356[_0x2d3b('0x6')]['get']('ckbox')&&_0x266356[_0x2d3b('0x5')]['get'](_0x2d3b('0x3'))[_0x2d3b('0x0')](_0x2d3b('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d21=['CodeBlock','registerElementLabel','schema','indentCodeBlock','*Remove\x20format:*\x20%0','name','registerDescriptionCallback','_descriptionFactory','rootElement','languages','has','model','from','forceValue','document','locale','config','isLimit','ELEMENT_CODE_BLOCK','editor','format','getSelectedBlocks','checkChild','language','commandParams','filter','commands','TrackChangesEditing','afterInit','enableCommand','codeBlock','plugins','*Format:*\x20%0','label','outdentCodeBlock','get'];(function(_0x3e3da7,_0x4d211e){const _0x26773e=function(_0x55b3e7){while(--_0x55b3e7){_0x3e3da7['push'](_0x3e3da7['shift']());}};_0x26773e(++_0x4d211e);}(_0x4d21,0x169));const _0x2677=function(_0x3e3da7,_0x4d211e){_0x3e3da7=_0x3e3da7-0x0;let _0x26773e=_0x4d21[_0x3e3da7];return _0x26773e;};import{Plugin as _0x14295c}from'ckeditor5/src/core';import{getTranslation as _0x1827ea}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x10c7a3}from'../utils/utils';export default class F extends _0x14295c{[_0x2677('0x1b')](){const _0x11e577=this[_0x2677('0x12')];if(!_0x11e577[_0x2677('0x1e')][_0x2677('0x9')](_0x2677('0x23')))return;const _0x366e58=_0x11e577[_0x2677('0x1e')][_0x2677('0x22')](_0x2677('0x1a')),_0x16928b=_0x11e577[_0x2677('0xe')],_0xd94559=_0x11e577[_0x2677('0xf')][_0x2677('0x22')]('codeBlock')[_0x2677('0x8')],_0x426404=_0x11e577[_0x2677('0x19')][_0x2677('0x22')]('codeBlock');_0x366e58[_0x2677('0x1c')](_0x2677('0x2')),_0x366e58[_0x2677('0x1c')](_0x2677('0x21')),_0x366e58[_0x2677('0x1c')](_0x2677('0x1d'),(_0x507bdc,_0x3d3da3={})=>{const _0x486213=_0x11e577[_0x2677('0xa')],_0x5a560b=_0x11e577[_0x2677('0xa')][_0x2677('0xd')]['selection'],_0x102a2f=_0x3d3da3&&void 0x0!==_0x3d3da3[_0x2677('0xc')]?_0x3d3da3[_0x2677('0xc')]:!_0x426404['value'];let _0x4e970f;_0x3d3da3[_0x2677('0x16')]||(_0x3d3da3[_0x2677('0x16')]=_0xd94559[0x0]['language']),_0x4e970f=_0x102a2f?Array[_0x2677('0xb')](_0x5a560b[_0x2677('0x14')]())[_0x2677('0x18')](_0x33070d=>co(_0x33070d)||function(_0xc9a725,_0x47f69e){if(_0xc9a725['is'](_0x2677('0x7'))||_0x47f69e[_0x2677('0x10')](_0xc9a725))return!0x1;return _0x47f69e[_0x2677('0x15')](_0xc9a725['parent'],_0x2677('0x1d'));}(_0x33070d,_0x486213[_0x2677('0x1')])):Array[_0x2677('0xb')](_0x5a560b[_0x2677('0x14')]())[_0x2677('0x18')](_0xe94e04=>co(_0xe94e04));const _0x32528c=_0x10c7a3(_0x4e970f,_0x486213);_0x486213['change'](()=>{for(const _0x1936ca of _0x32528c)_0x366e58['markBlockFormat'](_0x1936ca,{'commandName':_0x2677('0x1d'),'commandParams':[{..._0x3d3da3,'forceValue':_0x102a2f}],'formatGroupId':'blockName'});});}),(_0x366e58['_descriptionFactory'][_0x2677('0x0')]('codeBlock',_0x18f399=>_0x1827ea(_0x16928b,_0x2677('0x11'),_0x18f399)),_0x366e58[_0x2677('0x6')][_0x2677('0x5')](_0x10f5c9=>{const _0x585377=_0x16928b['t'],{type:_0x13976b,data:_0x4a8814}=_0x10f5c9;if('formatBlock'==_0x13976b&&_0x4a8814&&_0x2677('0x1d')==_0x4a8814['commandName']){const _0x36b438=_0x4a8814[_0x2677('0x17')][0x0][_0x2677('0x16')],_0x9cf968=_0x585377(_0xd94559['find'](_0x307dc3=>_0x307dc3[_0x2677('0x16')]===_0x36b438)[_0x2677('0x20')]);return _0x4a8814[_0x2677('0x17')][0x0][_0x2677('0xc')]?{'type':_0x2677('0x13'),'content':_0x1827ea(_0x16928b,_0x2677('0x1f'),_0x1827ea(_0x16928b,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x9cf968+')')}:{'type':'format','content':_0x1827ea(_0x16928b,_0x2677('0x3'),_0x1827ea(_0x16928b,_0x2677('0x11'),0x1))};}}));}}function co(_0x5ac991){return'codeBlock'==_0x5ac991[_0x2677('0x4')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5553=['has','get','editor','plugins','addCommentThread','afterInit','CommentsEditing','TrackChangesEditing'];(function(_0x20222e,_0x5553ba){const _0x599dbf=function(_0x5f552c){while(--_0x5f552c){_0x20222e['push'](_0x20222e['shift']());}};_0x599dbf(++_0x5553ba);}(_0x5553,0xeb));const _0x599d=function(_0x20222e,_0x5553ba){_0x20222e=_0x20222e-0x0;let _0x599dbf=_0x5553[_0x20222e];return _0x599dbf;};import{Plugin as _0x2c85c0}from'ckeditor5/src/core';export default class G extends _0x2c85c0{[_0x599d('0x2')](){const _0x56a2dc=this[_0x599d('0x7')];if(!_0x56a2dc[_0x599d('0x0')][_0x599d('0x5')](_0x599d('0x3')))return;_0x56a2dc[_0x599d('0x0')][_0x599d('0x6')](_0x599d('0x4'))['enableCommand'](_0x599d('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xfd6b=['enqueueChange','end','isCollapsed','createRange','mapper','data','requires','detach','enableCommand','high','unbindElementFromMarkerName','selection','root','merge','commands','fromRange','setSelection','unit','lock','start','markerNameToElements','remove','downcastDispatcher','forward','unlock','addMarker:suggestion:deletion','TrackChangesEditing','editor','deleteForward','buffer','bind','model','options','$graveyard','editing','writer','modifySelection','rootName','delete','showSuggestionHighlights','batch','getFirstRange','get','plugins','uiElement'];(function(_0x303cec,_0xfd6bf7){const _0x1b3446=function(_0x4ad559){while(--_0x4ad559){_0x303cec['push'](_0x303cec['shift']());}};_0x1b3446(++_0xfd6bf7);}(_0xfd6b,0x12e));const _0x1b34=function(_0x303cec,_0xfd6bf7){_0x303cec=_0x303cec-0x0;let _0x1b3446=_0xfd6b[_0x303cec];return _0x1b3446;};import{Plugin as _0x1bf72e}from'ckeditor5/src/core';import{LiveRange as _0x58044e}from'ckeditor5/src/engine';import{Delete as _0x377779}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x58aefa}from'./utils';export default class L extends _0x1bf72e{static get[_0x1b34('0x13')](){return[_0x377779];}['init'](){const _0xf94b5=this[_0x1b34('0x28')],_0x5c9f6d=_0xf94b5[_0x1b34('0xb')][_0x1b34('0xa')](_0x1b34('0x27'));_0x5c9f6d[_0x1b34('0x15')](_0x1b34('0x6'));const _0x34045b=_0xf94b5[_0x1b34('0x1b')][_0x1b34('0xa')](_0x1b34('0x29'));_0x5c9f6d[_0x1b34('0x15')](_0x1b34('0x29'),(_0x229cb6,_0x4ee3b6={})=>{const _0x20c637=_0xf94b5[_0x1b34('0x2c')]['createSelection'](_0xf94b5['model']['document'][_0x1b34('0x18')]);_0x20c637[_0x1b34('0xf')]&&_0xf94b5[_0x1b34('0x2c')][_0x1b34('0x4')](_0x20c637,{'direction':_0x1b34('0x24'),'unit':_0x4ee3b6[_0x1b34('0x1e')]});const _0x33f041=_0x20c637[_0x1b34('0x9')](),_0x5865d5=_0x58044e[_0x1b34('0x1c')](_0x33f041);let _0xa919f8;_0x229cb6(_0x4ee3b6),_0xa919f8=_0x1b34('0x1')==_0x5865d5[_0x1b34('0x19')][_0x1b34('0x5')]?_0xf94b5[_0x1b34('0x2c')][_0x1b34('0x10')](_0x33f041['start']):_0xf94b5['model'][_0x1b34('0x10')](_0x5865d5[_0x1b34('0x20')],_0x5865d5[_0x1b34('0xe')]),_0x5865d5[_0x1b34('0x14')](),_0xf94b5[_0x1b34('0x2c')][_0x1b34('0xd')](_0x34045b[_0x1b34('0x2a')][_0x1b34('0x8')],_0xfcd739=>{_0x34045b[_0x1b34('0x2a')][_0x1b34('0x1f')](),_0xfcd739[_0x1b34('0x1d')](_0xfcd739[_0x1b34('0x10')](_0xa919f8[_0x1b34('0xe')])),_0x34045b[_0x1b34('0x2a')][_0x1b34('0x25')]();});}),_0xf94b5[_0x1b34('0x2')][_0x1b34('0x23')]['on'](_0x1b34('0x26'),_0x58aefa(_0xf94b5,_0x1b34('0x1a')),{'priority':_0x1b34('0x16')}),_0xf94b5[_0x1b34('0x12')]['downcastDispatcher']['on'](_0x1b34('0x26'),(_0x592670,_0x362f32,_0xa7e3cc)=>{_0xa7e3cc[_0x1b34('0x0')][_0x1b34('0x7')]&&_0x58aefa(_0xf94b5,'merge',{'showActiveMarker':!0x1})[_0x1b34('0x2b')](this)(_0x592670,_0x362f32,_0xa7e3cc);},{'priority':_0x1b34('0x16')}),_0xf94b5[_0x1b34('0x2')][_0x1b34('0x23')]['on']('removeMarker:suggestion:deletion',(_0x2573bb,_0x4cc1a7,_0xe23dba)=>{const _0x5d6072=_0xe23dba[_0x1b34('0x11')][_0x1b34('0x21')](_0x4cc1a7['markerName']);if(_0x5d6072)for(const _0xeb3d86 of _0x5d6072)_0xeb3d86['is'](_0x1b34('0xc'))&&(_0xe23dba['mapper'][_0x1b34('0x17')](_0xeb3d86,_0x4cc1a7['markerName']),_0xe23dba[_0x1b34('0x3')][_0x1b34('0x22')](_0xeb3d86));},{'priority':_0x1b34('0x16')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57bf=['getRanges','change','start','nextSibling','setSelection','schema','paragraph','execute','mergeListItemForward','multipleBlocks','commands','*Format:*\x20insert\x20into\x20%0','push','config','has','markMultiRangeBlockFormat','toUpperCase','end','*Change\x20to:*\x20%0','model','list.multiBlock','outdentList','selection','numberedList','deletion','_LIST','getAttribute','accept','indentList','enableCommand','add','format','getSelectedBlocks','ELEMENT_LIST_ITEM','get','commandName','*Format:*\x20remove\x20from\x20%0','fromRange','slice','listItemId','length','plugins','listIndent','after','documentList','value','bulletedList','registerDescriptionCallback','map','refresh','locale','before','ELEMENT_BULLETED_LIST','createRange','document','parent','from','listType','commandParams','isFirstBlockOfListItem','registerCustomCallback','forceValue','markBlockFormat','ELEMENT_NUMBERED_LIST','DocumentListEditing','createPositionAt','nodeAfter','expandListBlocksToCompleteList','afterInit','isObject','ELEMENT_','splitListItemBefore','formatBlock','*Outdent:*\x20%0','getFirstRange','registerElementLabel','_descriptionFactory','containsItem','DocumentListUtils','splitListItemAfter'];(function(_0x421678,_0x57bf28){const _0x6143a7=function(_0xe84d68){while(--_0xe84d68){_0x421678['push'](_0x421678['shift']());}};_0x6143a7(++_0x57bf28);}(_0x57bf,0x179));const _0x6143=function(_0x421678,_0x57bf28){_0x421678=_0x421678-0x0;let _0x6143a7=_0x57bf[_0x421678];return _0x6143a7;};import{Plugin as _0x2394fc}from'ckeditor5/src/core';import{getTranslation as _0x32936c}from'../utils/common-translations';import{LiveRange as _0x2b6ad9}from'ckeditor5/src/engine';export default class q extends _0x2394fc{[_0x6143('0xb')](){const _0x7a2980=this['editor'];if(!_0x7a2980[_0x6143('0x40')][_0x6143('0x25')](_0x6143('0x7')))return;const _0x2d03f0=_0x7a2980[_0x6143('0x49')],_0x206824=_0x7a2980[_0x6143('0x40')][_0x6143('0x39')]('TrackChangesEditing'),_0x37ca27=_0x7a2980[_0x6143('0x40')][_0x6143('0x39')](_0x6143('0x15'));function _0x9547ba(_0x3779e8){return()=>{const _0x449e66=_0x7a2980[_0x6143('0x21')][_0x6143('0x39')](_0x3779e8);if(_0x449e66['value']&&!_0x7a2980[_0x6143('0x24')][_0x6143('0x39')](_0x6143('0x2b')))return void _0x7a2980['execute'](_0x6143('0x1d'),{});let _0x4c5fb3=Array['from'](_0x7a2980[_0x6143('0x2a')][_0x6143('0x4d')]['selection'][_0x6143('0x37')]());if(_0x587abe(_0x3779e8)){_0x4c5fb3=_0x37ca27[_0x6143('0xa')](_0x4c5fb3);const _0x29db6f=[];for(const _0x382772 of _0x4c5fb3)_0x37ca27[_0x6143('0x2')](_0x382772)&&_0x29db6f[_0x6143('0x23')](_0x382772);_0x4c5fb3=_0x29db6f;}_0x7a2980['model'][_0x6143('0x18')](()=>{_0x206824[_0x6143('0x26')](_0x4c5fb3,{'commandName':_0x3779e8,'commandParams':[{'forceValue':!_0x449e66[_0x6143('0x44')]}],'formatGroupId':_0x6143('0x0')},[],_0x6143('0x43'));});};}function _0x1ac1b0(_0x1f0e45){return()=>{const _0x5d74f1=function(_0x3fbaf2){let _0x270399=Array[_0x6143('0x4f')](_0x3fbaf2);const _0x2eedbd=_0x270399['findIndex'](_0x582b43=>!_0x582b43['hasAttribute'](_0x6143('0x3e')));return _0x2eedbd>-0x1&&(_0x270399=_0x270399[_0x6143('0x3d')](0x0,_0x2eedbd)),_0x270399;}(_0x7a2980['model'][_0x6143('0x4d')][_0x6143('0x2d')]['getSelectedBlocks']()),_0x39a11b=_0x5d74f1[_0x5d74f1[_0x6143('0x3f')]-0x1],_0x2b41c1=_0x7a2980['model'][_0x6143('0x1c')][_0x6143('0xc')](_0x39a11b)?_0x6143('0x42'):_0x6143('0x28'),_0x21e8ee=_0x7a2980[_0x6143('0x2a')][_0x6143('0x4c')](_0x7a2980[_0x6143('0x2a')][_0x6143('0x8')](_0x5d74f1[0x0],'before'),_0x7a2980[_0x6143('0x2a')]['createPositionAt'](_0x39a11b,_0x2b41c1));_0x7a2980[_0x6143('0x2a')]['change'](()=>{_0x206824[_0x6143('0x5')](_0x21e8ee,{'commandName':_0x1f0e45,'commandParams':[],'formatGroupId':_0x6143('0x0')},function(_0x1d1998){const _0x1cb0e8=new Set();for(const _0x50ef8c of _0x1d1998){let _0x1c7d07=_0x50ef8c[_0x6143('0x1a')];for(;_0x1c7d07&&_0x1c7d07[_0x6143('0x31')]('listIndent')>_0x50ef8c['getAttribute']('listIndent');)_0x1cb0e8[_0x6143('0x35')](_0x1c7d07),_0x1c7d07=_0x1c7d07['nextSibling'];}return Array[_0x6143('0x4f')](_0x1cb0e8);}(_0x5d74f1));});};}function _0x17eec3(_0x4f7ee6){return()=>{const _0x550e7d=_0x7a2980[_0x6143('0x2a')][_0x6143('0x4d')][_0x6143('0x2d')][_0x6143('0x37')]()['next']()['value'],_0x1ef9b2=_0x7a2980[_0x6143('0x2a')][_0x6143('0x8')](_0x550e7d,_0x6143('0x4a')),_0x4b44ba=_0x7a2980[_0x6143('0x2a')][_0x6143('0x8')](_0x550e7d,0x0),_0x221ecf=_0x7a2980[_0x6143('0x2a')][_0x6143('0x4c')](_0x1ef9b2,_0x4b44ba);_0x7a2980[_0x6143('0x2a')][_0x6143('0x18')](()=>{_0x206824[_0x6143('0x5')](_0x221ecf,{'commandName':_0x4f7ee6,'commandParams':[],'formatGroupId':_0x6143('0x0')});});};}function _0x587abe(_0x59ddb8){const _0x1d7235=_0x7a2980['commands'][_0x6143('0x39')]('bulletedList')[_0x6143('0x44')],_0x29efa5=_0x7a2980['commands'][_0x6143('0x39')](_0x6143('0x2e'))[_0x6143('0x44')];return _0x6143('0x2e')===_0x59ddb8?_0x1d7235:_0x29efa5;}_0x206824['enableCommand'](_0x6143('0x2e'),_0x9547ba(_0x6143('0x2e'))),_0x206824['enableCommand'](_0x6143('0x45'),_0x9547ba(_0x6143('0x45'))),_0x206824[_0x6143('0x34')](_0x6143('0x33'),_0x1ac1b0(_0x6143('0x33'))),_0x206824[_0x6143('0x34')](_0x6143('0x2c'),_0x1ac1b0('outdentList')),_0x206824[_0x6143('0x34')](_0x6143('0x16'),_0x17eec3(_0x6143('0x16'))),_0x206824['enableCommand']('splitListItemBefore',_0x17eec3(_0x6143('0xe'))),_0x206824[_0x6143('0x13')][_0x6143('0x12')](function(_0x51af85){const _0x462ee4=!_0x7a2980[_0x6143('0x2a')]['schema'][_0x6143('0xc')](_0x51af85),_0x23dcd1=_0x51af85['previousSibling'],_0x19c852=_0x51af85[_0x6143('0x1a')],_0x13d596=_0x51af85['getAttribute']('listItemId'),_0x140bfd=!_0x23dcd1||_0x23dcd1[_0x6143('0x31')](_0x6143('0x3e'))!==_0x13d596,_0xd9eca0=!_0x19c852||_0x19c852[_0x6143('0x31')](_0x6143('0x3e'))!==_0x13d596;return _0x462ee4&&Boolean(_0x13d596)&&_0x140bfd&&_0xd9eca0;},_0x57ab00=>_0x32936c(_0x2d03f0,'ELEMENT_LIST_ITEM',_0x57ab00)),_0x206824[_0x6143('0x13')][_0x6143('0x46')](function(_0x83d09b){const {data:_0x9b657c}=_0x83d09b;if(!_0x9b657c)return;let _0x581b5f,_0x41ab54,_0x2d724d,_0x6ba48;switch(_0x9b657c[_0x6143('0x3a')]){case'bulletedList':_0x2d724d=_0x9b657c[_0x6143('0x1')][0x0]['forceValue'],_0x6ba48=_0x587abe(_0x9b657c[_0x6143('0x3a')]),_0x581b5f=_0x2d724d?_0x6143('0x22'):_0x6143('0x3b'),!_0x6ba48&&_0x7a2980[_0x6143('0x24')][_0x6143('0x39')](_0x6143('0x2b'))||(_0x581b5f=_0x6143('0x29')),_0x41ab54={'type':_0x6143('0x36'),'content':_0x32936c(_0x2d03f0,_0x581b5f,_0x32936c(_0x2d03f0,_0x6143('0x4b')))};break;case _0x6143('0x2e'):_0x2d724d=_0x9b657c[_0x6143('0x1')][0x0][_0x6143('0x4')],_0x6ba48=_0x587abe(_0x9b657c[_0x6143('0x3a')]),_0x581b5f=_0x2d724d?_0x6143('0x22'):_0x6143('0x3b'),!_0x6ba48&&_0x7a2980[_0x6143('0x24')][_0x6143('0x39')](_0x6143('0x2b'))||(_0x581b5f='*Change\x20to:*\x20%0'),_0x41ab54={'type':_0x6143('0x36'),'content':_0x32936c(_0x2d03f0,_0x581b5f,_0x32936c(_0x2d03f0,_0x6143('0x6')))};break;case'indentList':_0x581b5f='*Indent:*\x20%0',_0x41ab54={'type':'format','content':_0x32936c(_0x2d03f0,_0x581b5f,_0x32936c(_0x2d03f0,_0x6143('0x38')))};break;case'outdentList':_0x581b5f=function(_0x5df61d){const _0x148e81=_0x5df61d[_0x6143('0x11')]();let _0x46376a=_0x148e81[_0x6143('0x19')][_0x6143('0x9')];for(;_0x46376a&&_0x148e81[_0x6143('0x14')](_0x46376a);){if(_0x46376a['getAttribute'](_0x6143('0x41'))>0x0)return!0x1;_0x46376a=_0x46376a[_0x6143('0x1a')];}return!0x0;}(_0x83d09b)?_0x32936c(_0x2d03f0,'*Format:*\x20remove\x20from\x20%0',_0x32936c(_0x2d03f0,function(_0x274822){const _0x1c5530=_0x274822[_0x6143('0x11')]()[_0x6143('0x19')]['nodeAfter'];return _0x6143('0xd')+_0x1c5530[_0x6143('0x31')](_0x6143('0x0'))[_0x6143('0x27')]()+_0x6143('0x30');}(_0x83d09b))):_0x32936c(_0x2d03f0,_0x6143('0x10'),_0x32936c(_0x2d03f0,_0x6143('0x38'))),_0x41ab54={'type':_0x6143('0x36'),'content':_0x581b5f};break;case'mergeListItemBackward':case _0x6143('0x1f'):!0x1===_0x9b657c[_0x6143('0x20')]&&(_0x581b5f='*Merge:*\x20%0',_0x41ab54={'type':_0x6143('0x2f'),'content':_0x32936c(_0x2d03f0,_0x581b5f,_0x32936c(_0x2d03f0,_0x6143('0x38')))});}return _0x41ab54;}),_0x206824['_suggestionFactory'][_0x6143('0x3')](_0x6143('0xf'),_0x6143('0x43'),_0x6143('0x32'),function(_0x1c7f64,_0x167897){const _0x4ff8b9=[];for(let _0x3a546c of _0x1c7f64)_0x3a546c[_0x6143('0x19')][_0x6143('0x9')]===_0x3a546c['end'][_0x6143('0x4e')]&&(_0x3a546c=_0x7a2980['model'][_0x6143('0x4c')](_0x7a2980[_0x6143('0x2a')]['createPositionAt'](_0x3a546c['start']['nodeAfter'],0x0))),_0x4ff8b9[_0x6143('0x23')](_0x3a546c);_0x7a2980['model'][_0x6143('0x18')](_0x5e2f8c=>{const _0x124625=_0x7a2980[_0x6143('0x2a')][_0x6143('0x4d')][_0x6143('0x2d')],_0x4169ef=Array['from'](_0x124625[_0x6143('0x17')]())[_0x6143('0x47')](_0x2026de=>_0x2b6ad9[_0x6143('0x3c')](_0x2026de));_0x5e2f8c[_0x6143('0x1b')](_0x4ff8b9),_0x7a2980[_0x6143('0x21')][_0x6143('0x39')](_0x167897[_0x6143('0x3a')])[_0x6143('0x48')](),_0x167897[_0x6143('0x1')][_0x6143('0x23')]({'forceDefaultExecution':!0x0}),_0x7a2980[_0x6143('0x1e')](_0x167897[_0x6143('0x3a')],..._0x167897[_0x6143('0x1')]),_0x5e2f8c[_0x6143('0x1b')](_0x4169ef);for(const _0x207620 of _0x4169ef)_0x207620['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e51=['TrackChangesEditing','config','toUpperCase','selection','_getTranslationKeyForListStyle','listStart','ELEMENT_','getAttribute','expandListBlocksToCompleteList','get','format','listType','afterInit','handleListReversedCommand','from','numbered','handleDescriptions','getListTypeFromListStyleType','_getSuggestionBlocksForListStyle','DocumentListPropertiesEditing','startIndex','DocumentListPropertiesUtils','enableCommand','locale','model','plugins','*Change\x20to:*\x20%0','bind','DocumentListUtils','editor','commandName','isFirstBlockOfListItem','registerDescriptionCallback','markMultiRangeBlockFormat','getSelectedBlocks','commandParams','*Format:*\x20set\x20order\x20to\x20regular','push','isListItemBlock','reversed','listReversed','change','has','type','filter','handleListStartCommand'];(function(_0x291737,_0x5e5143){const _0x12c1ab=function(_0x8e71ef){while(--_0x8e71ef){_0x291737['push'](_0x291737['shift']());}};_0x12c1ab(++_0x5e5143);}(_0x5e51,0x110));const _0x12c1=function(_0x291737,_0x5e5143){_0x291737=_0x291737-0x0;let _0x12c1ab=_0x5e51[_0x291737];return _0x12c1ab;};import{Plugin as _0x538f5a}from'ckeditor5/src/core';import{getTranslation as _0x42a7c7}from'../utils/common-translations';export default class Ct extends _0x538f5a{[_0x12c1('0x10')](){if(!this[_0x12c1('0x21')][_0x12c1('0x1d')][_0x12c1('0x0')](_0x12c1('0x17')))return;const _0x290a02=this[_0x12c1('0x21')][_0x12c1('0x5')][_0x12c1('0xd')]('list.properties'),_0x7d8d04=this['editor'][_0x12c1('0x1d')][_0x12c1('0xd')]('TrackChangesEditing');_0x290a02['styles']&&_0x7d8d04[_0x12c1('0x1a')]('listStyle',this['handleListStyleCommand']['bind'](this)),_0x290a02[_0x12c1('0x2b')]&&_0x7d8d04[_0x12c1('0x1a')](_0x12c1('0x2c'),this[_0x12c1('0x11')][_0x12c1('0x1f')](this)),_0x290a02[_0x12c1('0x18')]&&_0x7d8d04[_0x12c1('0x1a')]('listStart',this[_0x12c1('0x3')][_0x12c1('0x1f')](this)),_0x7d8d04['_descriptionFactory'][_0x12c1('0x24')](this['handleDescriptions'][_0x12c1('0x1f')](this));}['handleListStyleCommand'](_0x18b7ae,_0x39cc54={}){const _0x5ae0de=this[_0x12c1('0x21')][_0x12c1('0x1d')][_0x12c1('0xd')](_0x12c1('0x4')),_0x242804=this[_0x12c1('0x16')]();this[_0x12c1('0x21')]['model'][_0x12c1('0x2d')](()=>{_0x5ae0de[_0x12c1('0x25')](_0x242804,{'commandName':'listStyle','commandParams':[{'type':_0x39cc54[_0x12c1('0x1')]}],'formatGroupId':'listStyle'});});}[_0x12c1('0x11')](_0x2bda44,_0x2b1856={}){const _0x139e38=this['editor'][_0x12c1('0x1d')][_0x12c1('0xd')](_0x12c1('0x4')),_0x5779d3=this[_0x12c1('0x21')][_0x12c1('0x1d')]['get'](_0x12c1('0x20')),_0x2d418d=this['_getSuggestionBlocks'](_0x15b24c=>_0x5779d3[_0x12c1('0x2a')](_0x15b24c)&&'numbered'===_0x15b24c[_0x12c1('0xb')]('listType'));null!==_0x2d418d&&this[_0x12c1('0x21')][_0x12c1('0x1c')][_0x12c1('0x2d')](()=>{_0x139e38[_0x12c1('0x25')](_0x2d418d,{'commandName':_0x12c1('0x2c'),'commandParams':[{'reversed':_0x2b1856[_0x12c1('0x2b')]}],'formatGroupId':_0x12c1('0x2c')});});}['handleListStartCommand'](_0x3a064d,_0x192782={}){const _0x48b679=this[_0x12c1('0x21')][_0x12c1('0x1d')][_0x12c1('0xd')](_0x12c1('0x4')),_0x59174a=this[_0x12c1('0x21')]['plugins'][_0x12c1('0xd')]('DocumentListUtils'),_0x3094cd=this['_getSuggestionBlocks'](_0x53050e=>_0x59174a[_0x12c1('0x2a')](_0x53050e)&&_0x12c1('0x13')===_0x53050e[_0x12c1('0xb')](_0x12c1('0xf')));null!==_0x3094cd&&this['editor'][_0x12c1('0x1c')]['change'](()=>{_0x48b679[_0x12c1('0x25')](_0x3094cd,{'commandName':_0x12c1('0x9'),'commandParams':[{'startIndex':_0x192782[_0x12c1('0x18')]}],'formatGroupId':_0x12c1('0x9')});});}[_0x12c1('0x14')](_0xb53f45){const _0x1f1034=this[_0x12c1('0x21')][_0x12c1('0x1b')],{data:_0x314e7f}=_0xb53f45;if(!_0x314e7f)return;let _0x5860b9,_0x2fdb1c;switch(_0x314e7f[_0x12c1('0x22')]){case'listStyle':_0x5860b9=_0x12c1('0x1e'),_0x2fdb1c={'type':_0x12c1('0xe'),'content':_0x42a7c7(_0x1f1034,_0x5860b9,_0x42a7c7(_0x1f1034,this['_getTranslationKeyForListStyle'](_0x314e7f['commandParams'][0x0]['type'])))};break;case _0x12c1('0x2c'):_0x5860b9=_0x314e7f[_0x12c1('0x27')][0x0][_0x12c1('0x2b')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x12c1('0x28'),_0x2fdb1c={'type':_0x12c1('0xe'),'content':_0x42a7c7(_0x1f1034,_0x5860b9)};break;case _0x12c1('0x9'):_0x5860b9='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2fdb1c={'type':_0x12c1('0xe'),'content':_0x42a7c7(_0x1f1034,_0x5860b9,_0x314e7f[_0x12c1('0x27')][0x0]['startIndex'])};}return _0x2fdb1c;}[_0x12c1('0x16')](){const _0x1e18a5=this['editor'][_0x12c1('0x1d')]['get']('DocumentListUtils');let _0x3b44a1=Array[_0x12c1('0x12')](this[_0x12c1('0x21')][_0x12c1('0x1c')]['document'][_0x12c1('0x7')][_0x12c1('0x26')]());return _0x3b44a1[_0x12c1('0x29')](..._0x1e18a5['expandListBlocksToCompleteList'](_0x3b44a1)),_0x3b44a1=[...new Set(_0x3b44a1)],_0x3b44a1;}['_getSuggestionBlocks'](_0x400da1){const _0x2bb8ae=this[_0x12c1('0x21')][_0x12c1('0x1d')][_0x12c1('0xd')](_0x12c1('0x20'));let _0x42b7df=Array['from'](this[_0x12c1('0x21')]['model']['document']['selection'][_0x12c1('0x26')]())[_0x12c1('0x2')](_0x400da1);if(!_0x42b7df['length'])return null;_0x42b7df=_0x2bb8ae[_0x12c1('0xc')](_0x42b7df);const _0x2cdc97=[];for(const _0x1b5d75 of _0x42b7df)_0x2bb8ae[_0x12c1('0x23')](_0x1b5d75)&&_0x2cdc97[_0x12c1('0x29')](_0x1b5d75);return _0x2cdc97;}[_0x12c1('0x8')](_0x79525b){return _0x12c1('0xa')+this[_0x12c1('0x21')][_0x12c1('0x1d')][_0x12c1('0xd')](_0x12c1('0x19'))[_0x12c1('0x15')](_0x79525b)['toUpperCase']()+'_LIST_'+_0x79525b[_0x12c1('0x6')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3907=['enableCommand','options','parent','getFirstRange','markInsertion','markerName','get','enter','addMarker:suggestion:insertion','mapper','fromRange','getFirstPosition','setSelection','init','TrackChangesEditing','ck-suggestion-marker-split','editor','remove','split','detach','downcastDispatcher','removeMarker:suggestion:insertion','hasClass','document','high','writer','createRange','editing','plugins','showSuggestionHighlights','fire','commands','afterExecute','data','model','createPositionAt','requires','selection','change'];(function(_0x4eadd4,_0x3907d9){const _0x3065c1=function(_0x41642f){while(--_0x41642f){_0x4eadd4['push'](_0x4eadd4['shift']());}};_0x3065c1(++_0x3907d9);}(_0x3907,0x1ae));const _0x3065=function(_0x4eadd4,_0x3907d9){_0x4eadd4=_0x4eadd4-0x0;let _0x3065c1=_0x3907[_0x4eadd4];return _0x3065c1;};import{Plugin as _0x23f19b}from'ckeditor5/src/core';import{Enter as _0x2b5a9c}from'ckeditor5/src/enter';import{LiveRange as _0x399851}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x218aae}from'./utils';export default class z extends _0x23f19b{static get[_0x3065('0x23')](){return[_0x2b5a9c];}[_0x3065('0xc')](){const _0x59551e=this[_0x3065('0xf')],_0x3fbd4d=_0x59551e[_0x3065('0x1b')][_0x3065('0x5')](_0x3065('0xd')),_0x25abce=_0x59551e[_0x3065('0x1e')][_0x3065('0x5')](_0x3065('0x6'));_0x3fbd4d[_0x3065('0x26')](_0x3065('0x6'),()=>{_0x59551e[_0x3065('0x21')][_0x3065('0x25')](_0x181a7d=>{const _0x443196=_0x59551e['model'][_0x3065('0x16')][_0x3065('0x24')],_0x13a9d6=_0x443196[_0x3065('0xa')](),_0x243ea9=_0x399851[_0x3065('0x9')](_0x443196[_0x3065('0x2')]());if(_0x25abce['enterBlock'](_0x181a7d)){const _0x2cf79c=_0x59551e[_0x3065('0x21')][_0x3065('0x22')](_0x13a9d6[_0x3065('0x1')]['nextSibling'],0x0),_0x2396ae=_0x181a7d[_0x3065('0x19')](_0x13a9d6,_0x2cf79c);_0x3fbd4d[_0x3065('0x3')](_0x2396ae);}else _0x181a7d[_0x3065('0xb')](_0x181a7d['createRange'](_0x243ea9['end']));_0x243ea9[_0x3065('0x12')](),_0x25abce[_0x3065('0x1d')](_0x3065('0x1f'),{'writer':_0x181a7d});});}),_0x59551e[_0x3065('0x1a')][_0x3065('0x13')]['on'](_0x3065('0x7'),_0x218aae(_0x59551e,_0x3065('0x11')),{'priority':_0x3065('0x17')}),_0x59551e[_0x3065('0x1a')][_0x3065('0x13')]['on'](_0x3065('0x14'),(_0x4f5892,_0x1eac52,_0x5667bc)=>{const _0x22fa2f=_0x5667bc[_0x3065('0x8')]['markerNameToElements'](_0x1eac52[_0x3065('0x4')]);if(_0x22fa2f)for(const _0x4add42 of _0x22fa2f)_0x4add42[_0x3065('0x15')](_0x3065('0xe'))&&(_0x5667bc['mapper']['unbindElementFromMarkerName'](_0x4add42,_0x1eac52[_0x3065('0x4')]),_0x5667bc[_0x3065('0x18')][_0x3065('0x10')](_0x4add42));},{'priority':'high'}),_0x59551e[_0x3065('0x20')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x114117,_0x4d0a6e,_0x5bf387)=>{_0x5bf387[_0x3065('0x0')][_0x3065('0x1c')]&&_0x218aae(_0x59551e,_0x3065('0x11'),{'showActiveMarker':!0x1})['bind'](this)(_0x114117,_0x4d0a6e,_0x5bf387);},{'priority':_0x3065('0x17')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e87=['filter','getIntersection','handleFindCommand','get','findByTextCallback','createRange','FindAndReplaceUtils','has','enableCommand','model','markers','replaceAll','afterInit','editor','suggestion:deletion','bind','getRange','start','TrackChangesEditing','findNext','getMarkersGroup','end','string','plugins','findPrevious','FindAndReplaceEditing','_isInDeletionRange'];(function(_0x228c3c,_0x2e87ff){const _0x1c337c=function(_0x58da53){while(--_0x58da53){_0x228c3c['push'](_0x228c3c['shift']());}};_0x1c337c(++_0x2e87ff);}(_0x2e87,0xf5));const _0x1c33=function(_0x228c3c,_0x2e87ff){_0x228c3c=_0x228c3c-0x0;let _0x1c337c=_0x2e87[_0x228c3c];return _0x1c337c;};import{Plugin as _0x350821}from'ckeditor5/src/core';export default class H extends _0x350821{[_0x1c33('0xa')](){if(!this['editor'][_0x1c33('0x15')][_0x1c33('0x5')](_0x1c33('0x17')))return;const _0x351a84=this[_0x1c33('0xb')][_0x1c33('0x15')][_0x1c33('0x1')](_0x1c33('0x10'));_0x351a84[_0x1c33('0x6')]('find',this['handleFindCommand'][_0x1c33('0xd')](this)),_0x351a84[_0x1c33('0x6')](_0x1c33('0x11')),_0x351a84[_0x1c33('0x6')](_0x1c33('0x16')),_0x351a84[_0x1c33('0x6')]('replace'),_0x351a84[_0x1c33('0x6')](_0x1c33('0x9'));}[_0x1c33('0x0')](_0x213b60,_0x24371c,_0x4b63cd={}){const _0x54818b=this[_0x1c33('0xb')][_0x1c33('0x15')][_0x1c33('0x1')](_0x1c33('0x4'));if(void 0x0!==_0x4b63cd)return _0x213b60(_0x52767d=>(_0x1c33('0x14')==typeof _0x24371c?_0x54818b[_0x1c33('0x2')](_0x24371c,_0x4b63cd):_0x24371c)(_0x52767d)[_0x1c33('0x19')](_0x274f6d=>!0x1===this['_isInDeletionRange'](_0x274f6d,_0x52767d['item'])),_0x4b63cd);}[_0x1c33('0x18')](_0x46da9a,_0x1d4d88){const _0x365b6e=this[_0x1c33('0xb')]['model'][_0x1c33('0x3')](this[_0x1c33('0xb')][_0x1c33('0x7')]['createPositionAt'](_0x1d4d88,_0x46da9a[_0x1c33('0xf')]),this[_0x1c33('0xb')]['model']['createPositionAt'](_0x1d4d88,_0x46da9a[_0x1c33('0x13')]));for(const _0x14e351 of this[_0x1c33('0xb')][_0x1c33('0x7')][_0x1c33('0x8')][_0x1c33('0x12')](_0x1c33('0xc')))if(null!==_0x365b6e[_0x1c33('0x1a')](_0x14e351[_0x1c33('0xe')]()))return!0x0;return!0x1;}}
|