@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231103.0 → 0.0.0-nightly-20231105.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/LICENSE.md +3 -3
- 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-20231105.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-20231105.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231105.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 _0x4728=['isEnabled','editor','canEditAt','_isEnabledBasedOnSelection','model','get','_suggestions','refresh','getRanges','acceptSuggestion','track-changes-accept-suggestion-not-found'];(function(_0x1a44c3,_0x47283c){const _0x5d4995=function(_0x42667a){while(--_0x42667a){_0x1a44c3['push'](_0x1a44c3['shift']());}};_0x5d4995(++_0x47283c);}(_0x4728,0xd2));const _0x5d49=function(_0x1a44c3,_0x47283c){_0x1a44c3=_0x1a44c3-0x0;let _0x5d4995=_0x4728[_0x1a44c3];return _0x5d4995;};import{Command as _0x2093fe}from'ckeditor5/src/core';import{CKEditorError as _0xaf8a81}from'ckeditor5/src/utils';export default class M extends _0x2093fe{constructor(_0x4eaeb6,_0x5371cd){super(_0x4eaeb6),this[_0x5d49('0x5')]=_0x5371cd,this[_0x5d49('0x6')](),this[_0x5d49('0x2')]=!0x1;}[_0x5d49('0x6')](){this[_0x5d49('0xa')]=!0x0;}['execute'](_0x3e5695){const _0x99e3bf=this[_0x5d49('0x5')][_0x5d49('0x4')](_0x3e5695);if(!_0x99e3bf)throw new _0xaf8a81(_0x5d49('0x9'),this);const _0x4a8a60=_0x99e3bf[_0x5d49('0x7')]();this[_0x5d49('0x0')][_0x5d49('0x3')][_0x5d49('0x1')](_0x4a8a60)&&this[_0x5d49('0x0')]['plugins'][_0x5d49('0x4')]('TrackChangesEditing')[_0x5d49('0x8')](_0x99e3bf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1187=['get','isEnabled','model','plugins','TrackChangesEditing','_isEnabledBasedOnSelection','refresh','_suggestions','canEditAt'];(function(_0x2179a9,_0x1187da){const _0x2fd8b8=function(_0x876a9e){while(--_0x876a9e){_0x2179a9['push'](_0x2179a9['shift']());}};_0x2fd8b8(++_0x1187da);}(_0x1187,0x6c));const _0x2fd8=function(_0x2179a9,_0x1187da){_0x2179a9=_0x2179a9-0x0;let _0x2fd8b8=_0x1187[_0x2179a9];return _0x2fd8b8;};import{Command as _0x2d0d7e}from'ckeditor5/src/core';import{CKEditorError as _0x5cb917}from'ckeditor5/src/utils';export default class $ extends _0x2d0d7e{constructor(_0xa20914,_0x430f86){super(_0xa20914),this[_0x2fd8('0x7')]=_0x430f86,this[_0x2fd8('0x6')](),this[_0x2fd8('0x5')]=!0x1;}[_0x2fd8('0x6')](){this[_0x2fd8('0x1')]=!0x0;}['execute'](_0x3917fb){const _0x42e16f=this[_0x2fd8('0x7')]['get'](_0x3917fb);if(!_0x42e16f)throw new _0x5cb917('track-changes-discard-suggestion-not-found',this);const _0x51a99f=_0x42e16f['getRanges']();this['editor'][_0x2fd8('0x2')][_0x2fd8('0x8')](_0x51a99f)&&this['editor'][_0x2fd8('0x3')][_0x2fd8('0x0')](_0x2fd8('0x4'))['discardSuggestion'](_0x42e16f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13a5=['some','model','from','values','editor','_isEnabledBasedOnSelection','execute','isInContent','_suggestions','_command','isEnabled','canEditAt','refresh'];(function(_0x3eef0c,_0x13a50c){const _0x117046=function(_0x438681){while(--_0x438681){_0x3eef0c['push'](_0x3eef0c['shift']());}};_0x117046(++_0x13a50c);}(_0x13a5,0x16c));const _0x1170=function(_0x3eef0c,_0x13a50c){_0x3eef0c=_0x3eef0c-0x0;let _0x117046=_0x13a5[_0x3eef0c];return _0x117046;};import{Command as _0x591d1a}from'ckeditor5/src/core';import{sortSuggestions as _0x397be5,executeCommandForSuggestions as _0x16a81f}from'../utils/utils';export default class N extends _0x591d1a{constructor(_0x3f956b,_0x532d75,_0x1ad9d8){super(_0x3f956b),this['_command']=_0x532d75,this[_0x1170('0x8')]=_0x1ad9d8,this[_0x1170('0xc')](),this[_0x1170('0x5')]=!0x1;}[_0x1170('0xc')](){const _0x1529ff=Array['from'](this[_0x1170('0x8')]['values']())[_0x1170('0x0')](_0x6f6023=>_0x6f6023[_0x1170('0x7')]);this['isEnabled']=this[_0x1170('0x9')][_0x1170('0xa')]&&_0x1529ff;}[_0x1170('0x6')](){const _0x51fea1=_0x397be5(Array[_0x1170('0x2')](this[_0x1170('0x8')][_0x1170('0x3')]()));for(const _0x5cf9bb of _0x51fea1){const _0x31a20a=_0x5cf9bb['getRanges']();if(!this[_0x1170('0x4')][_0x1170('0x1')][_0x1170('0xb')](_0x31a20a))return;}_0x16a81f(this[_0x1170('0x4')][_0x1170('0x1')],this['_command'],_0x51fea1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46e2=['size','execute','canEditAt','_command','values','document','_selectedSuggestions','refresh','model','from','isEnabled','editor','_suggestions'];(function(_0x21f6ff,_0x46e201){const _0x3f55d3=function(_0x5d0639){while(--_0x5d0639){_0x21f6ff['push'](_0x21f6ff['shift']());}};_0x3f55d3(++_0x46e201);}(_0x46e2,0xf2));const _0x3f55=function(_0x21f6ff,_0x46e201){_0x21f6ff=_0x21f6ff-0x0;let _0x3f55d3=_0x46e2[_0x21f6ff];return _0x3f55d3;};import{Command as _0x3b6cab}from'ckeditor5/src/core';import{sortSuggestions as _0x1d75e4,getSelectedSuggestions as _0x4891f5,executeCommandForSuggestions as _0x78c6c6}from'../utils/utils';export default class R extends _0x3b6cab{constructor(_0x2803ca,_0x3fb9b8,_0x259bca){super(_0x2803ca),this[_0x3f55('0x8')]=_0x3fb9b8,this['_suggestions']=_0x259bca,this[_0x3f55('0xb')]=new Set(),this[_0x3f55('0xc')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x3f55('0xc')](){const _0x2bd66b=this[_0x3f55('0x3')][_0x3f55('0x0')][_0x3f55('0xa')]['selection'],_0xafa4c0=Array[_0x3f55('0x1')](this[_0x3f55('0x4')][_0x3f55('0x9')]());this['_selectedSuggestions']=_0x4891f5(_0x2bd66b,_0xafa4c0),this[_0x3f55('0x2')]=this['_command'][_0x3f55('0x2')]&&!!this[_0x3f55('0xb')][_0x3f55('0x5')];}[_0x3f55('0x6')](){const _0x50a9ea=_0x1d75e4(Array['from'](this[_0x3f55('0xb')]));for(const _0x2283bb of _0x50a9ea){const _0x363ce8=_0x2283bb['getRanges']();if(!this['editor'][_0x3f55('0x0')][_0x3f55('0x7')](_0x363ce8))return;}_0x78c6c6(this[_0x3f55('0x3')][_0x3f55('0x0')],this[_0x3f55('0x8')],_0x50a9ea);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5edf=['affectsData','_isEnabledBasedOnSelection','has','editor','refresh','forceDisabled','value','TrackChangesCommand','execute','_enabledCommands','commands','_enableCommands'];(function(_0x569827,_0x5edfa6){const _0x5a61fe=function(_0x22960c){while(--_0x22960c){_0x569827['push'](_0x569827['shift']());}};_0x5a61fe(++_0x5edfa6);}(_0x5edf,0x1d0));const _0x5a61=function(_0x569827,_0x5edfa6){_0x569827=_0x569827-0x0;let _0x5a61fe=_0x5edf[_0x569827];return _0x5a61fe;};import{Command as _0x67f18}from'ckeditor5/src/core';export default class _ extends _0x67f18{constructor(_0x7a8246,_0x26fd36){super(_0x7a8246),this[_0x5a61('0x1')]=_0x26fd36,this[_0x5a61('0xa')]=!0x1,this[_0x5a61('0x8')](),this[_0x5a61('0x5')]=!0x1;}[_0x5a61('0x8')](){this['isEnabled']=!0x0;}[_0x5a61('0x0')](){this[_0x5a61('0xa')]=!this[_0x5a61('0xa')],this[_0x5a61('0xa')]?this['_disableUnsupportedCommands']():this[_0x5a61('0x3')]();}['_disableUnsupportedCommands'](){for(const _0xc9bfb5 of this[_0x5a61('0x7')][_0x5a61('0x2')][_0x5a61('0x2')]())_0xc9bfb5[_0x5a61('0x4')]&&!this[_0x5a61('0x1')]['has'](_0xc9bfb5)&&_0xc9bfb5[_0x5a61('0x9')](_0x5a61('0xb'));}[_0x5a61('0x3')](){for(const _0xb0603d of this[_0x5a61('0x7')][_0x5a61('0x2')][_0x5a61('0x2')]())_0xb0603d[_0x5a61('0x4')]&&!this['_enabledCommands'][_0x5a61('0x6')](_0xb0603d)&&_0xb0603d['clearForceDisabled']('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28a7=['editor','enableCommand','get','TrackChangesEditing','plugins','showAIAssistant','afterInit'];(function(_0x422350,_0x28a79a){const _0x51cd3d=function(_0x321c01){while(--_0x321c01){_0x422350['push'](_0x422350['shift']());}};_0x51cd3d(++_0x28a79a);}(_0x28a7,0x17a));const _0x51cd=function(_0x422350,_0x28a79a){_0x422350=_0x422350-0x0;let _0x51cd3d=_0x28a7[_0x422350];return _0x51cd3d;};import{Plugin as _0x6526ef}from'ckeditor5/src/core';export default class j extends _0x6526ef{[_0x51cd('0x6')](){const _0x2c0a52=this[_0x51cd('0x0')],_0x2faf82=_0x2c0a52[_0x51cd('0x4')][_0x51cd('0x2')](_0x51cd('0x3'));_0x2c0a52['commands'][_0x51cd('0x2')]('showAIAssistant')&&_0x2faf82[_0x51cd('0x1')](_0x51cd('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4733=['AlignmentEditing','ltr','left','center','format','registerDescriptionCallback','document','model','_descriptionFactory','from','FORMAT_JUSTIFY_TEXT','getSelectedBlocks','has','getAttribute','schema','selection','change','right','commandName','value','alignment','plugins','afterInit','contentLanguageDirection','enableCommand','justify','checkAttribute','TrackChangesEditing','markBlockFormat','editor','get','filter','locale'];(function(_0x2d80fd,_0x47337c){const _0x2d3184=function(_0x28e526){while(--_0x28e526){_0x2d80fd['push'](_0x2d80fd['shift']());}};_0x2d3184(++_0x47337c);}(_0x4733,0x123));const _0x2d31=function(_0x2d80fd,_0x47337c){_0x2d80fd=_0x2d80fd-0x0;let _0x2d3184=_0x4733[_0x2d80fd];return _0x2d3184;};import{Plugin as _0x1dbe5c}from'ckeditor5/src/core';import{getTranslation as _0x46d6bd}from'../utils/common-translations';export default class x extends _0x1dbe5c{[_0x2d31('0x1c')](){const _0x539360=this[_0x2d31('0x2')],_0x1ab8d8=_0x539360[_0x2d31('0x5')];if(!_0x539360[_0x2d31('0x1b')][_0x2d31('0x12')](_0x2d31('0x6')))return;const _0x383ff1=_0x539360[_0x2d31('0x1b')][_0x2d31('0x3')](_0x2d31('0x0'));_0x383ff1[_0x2d31('0x1e')](_0x2d31('0x1a'),(_0x3ed77e,_0x57b654={})=>{let _0x53e628=_0x57b654['value'];_0x57b654[_0x2d31('0x19')]||(_0x53e628=_0x2d31('0x7')===_0x539360[_0x2d31('0x5')][_0x2d31('0x1d')]?_0x2d31('0x8'):_0x2d31('0x17'));const _0x1e7dd2=Array[_0x2d31('0xf')](this['editor'][_0x2d31('0xd')][_0x2d31('0xc')][_0x2d31('0x15')][_0x2d31('0x11')]())[_0x2d31('0x4')](_0x5cf7ae=>function(_0x38abcb,_0x277395,_0x2202fd){const _0x49e799=_0x38abcb[_0x2d31('0x13')](_0x2d31('0x1a'))||null;return _0x277395[_0x2d31('0x20')](_0x38abcb,'alignment')&&_0x2202fd!=_0x49e799;}(_0x5cf7ae,this['editor'][_0x2d31('0xd')][_0x2d31('0x14')],_0x53e628));_0x539360['model'][_0x2d31('0x16')](()=>{for(const _0x2ee41e of _0x1e7dd2)_0x383ff1[_0x2d31('0x1')](_0x2ee41e,{'commandName':_0x2d31('0x1a'),'commandParams':[{'value':_0x53e628}]});});}),_0x383ff1[_0x2d31('0xe')][_0x2d31('0xb')](_0x38284f=>{const {data:_0x4dc331}=_0x38284f;if(_0x4dc331&&_0x2d31('0x1a')==_0x4dc331[_0x2d31('0x18')]){const _0x17a0c0=_0x4dc331['commandParams'][0x0][_0x2d31('0x19')];return{'type':_0x2d31('0xa'),'content':_0x46d6bd(_0x1ab8d8,'*Format:*\x20%0',function(_0x345bbb){switch(_0x345bbb){case _0x2d31('0x8'):return _0x46d6bd(_0x1ab8d8,'FORMAT_ALIGN_TO_LEFT');case _0x2d31('0x17'):return _0x46d6bd(_0x1ab8d8,'FORMAT_ALIGN_TO_RIGHT');case _0x2d31('0x9'):return _0x46d6bd(_0x1ab8d8,'FORMAT_ALIGN_TO_CENTER');case _0x2d31('0x1f'):return _0x46d6bd(_0x1ab8d8,_0x2d31('0x10'));}}(_0x17a0c0))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b39=['change','FORMAT_UNDERLINE','format','bold','from','locale','commands','getRanges','BoldEditing','commandName','*Remove\x20format:*\x20%0','afterInit','FORMAT_BOLD','FORMAT_SUBSCRIPT','toLowerCase','CodeEditing','superscript','ItalicEditing','subscript','underline','get','selection','forceValue','plugins','model','SuperscriptEditing','enableCommand','slice','_descriptionFactory','strikethrough','TrackChangesEditing'];(function(_0x141938,_0x3b39dc){const _0x3ebc06=function(_0x17b948){while(--_0x17b948){_0x141938['push'](_0x141938['shift']());}};_0x3ebc06(++_0x3b39dc);}(_0x3b39,0xb8));const _0x3ebc=function(_0x141938,_0x3b39dc){_0x141938=_0x141938-0x0;let _0x3ebc06=_0x3b39[_0x141938];return _0x3ebc06;};import{Plugin as _0x1cb223}from'ckeditor5/src/core';import{getTranslation as _0xe63f7e}from'../utils/common-translations';import{getRangesWithAttribute as _0x3705ca}from'./utils';const Zt=[_0x3ebc('0xa'),_0x3ebc('0x13'),'UnderlineEditing',_0x3ebc('0x11'),'StrikethroughEditing','SubscriptEditing',_0x3ebc('0x1b')];export default class U extends _0x1cb223{[_0x3ebc('0xd')](){const _0x267ad5=this['editor'],_0x5e7c83=_0x267ad5[_0x3ebc('0x1a')],_0x2f1ac3=_0x267ad5[_0x3ebc('0x19')][_0x3ebc('0x16')](_0x3ebc('0x1')),_0x5a6166=_0x267ad5[_0x3ebc('0x7')];for(const _0x3e5bbe of Zt){if(!_0x267ad5[_0x3ebc('0x19')]['has'](_0x3e5bbe))continue;const _0x4eef44=_0x3e5bbe[_0x3ebc('0x1d')](0x0,-0x7)[_0x3ebc('0x10')](),_0x1c36a6=_0x267ad5[_0x3ebc('0x8')][_0x3ebc('0x16')](_0x4eef44);_0x2f1ac3[_0x3ebc('0x1c')](_0x4eef44,(_0xd60221,_0x3f1860={})=>{const _0x35557b=_0x5e7c83['document'][_0x3ebc('0x17')];if(_0x35557b['isCollapsed'])return void _0xd60221(_0x3f1860);const _0x4f1cd2=void 0x0!==_0x3f1860[_0x3ebc('0x18')]?_0x3f1860[_0x3ebc('0x18')]:!_0x1c36a6['value'];_0x5e7c83[_0x3ebc('0x2')](()=>{const _0x2e10a0=Array[_0x3ebc('0x6')](_0x35557b[_0x3ebc('0x9')]());for(const _0x4dd94d of _0x2e10a0){const _0x46bcbf=_0x4f1cd2?[_0x4dd94d]:_0x3705ca(_0x4eef44,_0x4dd94d,_0x5e7c83);for(const _0x19c443 of _0x46bcbf)_0x2f1ac3['markInlineFormat'](_0x19c443,{'commandName':_0x4eef44,'commandParams':[{'forceValue':_0x4f1cd2}]});}});});}function _0x581272(_0x4d31ed,_0x1f1b40){_0x2f1ac3[_0x3ebc('0x1e')]['registerDescriptionCallback'](_0x597fdb=>{const {data:_0x2e2a0b}=_0x597fdb;if(_0x2e2a0b&&_0x2e2a0b[_0x3ebc('0xb')]===_0x4d31ed)return _0x2e2a0b['commandParams'][0x0][_0x3ebc('0x18')]?{'type':_0x3ebc('0x4'),'content':_0xe63f7e(_0x5a6166,'*Format:*\x20%0',_0x1f1b40)}:{'type':_0x3ebc('0x4'),'content':_0xe63f7e(_0x5a6166,_0x3ebc('0xc'),_0x1f1b40)};});}_0x581272(_0x3ebc('0x5'),_0xe63f7e(_0x5a6166,_0x3ebc('0xe'))),_0x581272('italic',_0xe63f7e(_0x5a6166,'FORMAT_ITALIC')),_0x581272(_0x3ebc('0x15'),_0xe63f7e(_0x5a6166,_0x3ebc('0x3'))),_0x581272('code',_0xe63f7e(_0x5a6166,'FORMAT_CODE')),_0x581272(_0x3ebc('0x0'),_0xe63f7e(_0x5a6166,'FORMAT_STRIKETHROUGH')),_0x581272(_0x3ebc('0x14'),_0xe63f7e(_0x5a6166,_0x3ebc('0xf'))),_0x581272(_0x3ebc('0x12'),_0xe63f7e(_0x5a6166,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fed=['commands','afterInit','registerDescriptionCallback','change','plugins','BlockQuoteEditing','format','model','get','$root','forceValue','parent','has','markBlockFormat','from','TrackChangesEditing','locale','filter','name','getSelectedBlocks','editor','enableCommand','document','ELEMENT_BLOCK_QUOTE','checkChild','blockQuote','schema','selection'];(function(_0x341d9e,_0x3fed5d){const _0x4fc913=function(_0x4e2927){while(--_0x4e2927){_0x341d9e['push'](_0x341d9e['shift']());}};_0x4fc913(++_0x3fed5d);}(_0x3fed,0x13f));const _0x4fc9=function(_0x341d9e,_0x3fed5d){_0x341d9e=_0x341d9e-0x0;let _0x4fc913=_0x3fed[_0x341d9e];return _0x4fc913;};import{Plugin as _0x5956dd}from'ckeditor5/src/core';import{getTranslation as _0x3535d8}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x32340c}from'../utils/utils';export default class O extends _0x5956dd{[_0x4fc9('0x12')](){const _0x1253b4=this[_0x4fc9('0x9')],_0x59bcbe=_0x1253b4[_0x4fc9('0x5')];if(!_0x1253b4[_0x4fc9('0x15')][_0x4fc9('0x1')](_0x4fc9('0x16')))return;const _0x2d1397=_0x1253b4[_0x4fc9('0x15')][_0x4fc9('0x19')](_0x4fc9('0x4')),_0x200bbf=this[_0x4fc9('0x9')][_0x4fc9('0x11')][_0x4fc9('0x19')](_0x4fc9('0xe'));_0x2d1397[_0x4fc9('0xa')]('blockQuote',(_0x23a7ad,_0x7d39d8={})=>{const _0x252c58=this['editor']['model'][_0x4fc9('0xb')][_0x4fc9('0x10')],_0x55792d=_0x7d39d8&&void 0x0!==_0x7d39d8['forceValue']?_0x7d39d8['forceValue']:!_0x200bbf['value'];let _0x5a3695=[];if(_0x55792d){const _0x306a08=Array[_0x4fc9('0x3')](_0x252c58[_0x4fc9('0x8')]())[_0x4fc9('0x6')](_0x42abf5=>oo(_0x42abf5)||function(_0x5f4f21,_0x431172){const _0x59a379=_0x431172[_0x4fc9('0xd')](_0x5f4f21[_0x4fc9('0x0')],_0x4fc9('0xe')),_0x5490eb=_0x431172['checkChild']([_0x4fc9('0x1a'),_0x4fc9('0xe')],_0x5f4f21);return _0x59a379&&_0x5490eb;}(_0x42abf5,this[_0x4fc9('0x9')][_0x4fc9('0x18')][_0x4fc9('0xf')]));_0x5a3695=_0x32340c(_0x306a08,_0x1253b4[_0x4fc9('0x18')]);}else{const _0x47fed1=Array[_0x4fc9('0x3')](_0x252c58['getSelectedBlocks']())[_0x4fc9('0x6')](_0x2db16b=>oo(_0x2db16b));_0x5a3695=_0x32340c(_0x47fed1,_0x1253b4['model']);}_0x1253b4[_0x4fc9('0x18')][_0x4fc9('0x14')](()=>{for(const _0x5eddfd of _0x5a3695)_0x2d1397[_0x4fc9('0x2')](_0x5eddfd,{'commandName':_0x4fc9('0xe'),'commandParams':[{'forceValue':_0x55792d}]});});}),_0x2d1397['_descriptionFactory'][_0x4fc9('0x13')](_0x2a4617=>{const {data:_0x58caed}=_0x2a4617;if(_0x58caed&&_0x4fc9('0xe')==_0x58caed['commandName']){const _0x424e2b=_0x3535d8(_0x59bcbe,_0x4fc9('0xc'));return _0x58caed['commandParams'][0x0][_0x4fc9('0x1b')]?{'type':_0x4fc9('0x17'),'content':_0x3535d8(_0x59bcbe,'*Format:*\x20%0',_0x424e2b)}:{'type':'format','content':_0x3535d8(_0x59bcbe,'*Remove\x20format:*\x20%0',_0x424e2b)};}});}}function oo(_0x21b1e1){return _0x4fc9('0xe')==_0x21b1e1['parent'][_0x4fc9('0x7')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5728=['get','ckbox','plugins','enableCommand','editor','commands'];(function(_0x45f98c,_0x5728ce){const _0x101230=function(_0x1aeb36){while(--_0x1aeb36){_0x45f98c['push'](_0x45f98c['shift']());}};_0x101230(++_0x5728ce);}(_0x5728,0x18a));const _0x1012=function(_0x45f98c,_0x5728ce){_0x45f98c=_0x45f98c-0x0;let _0x101230=_0x5728[_0x45f98c];return _0x101230;};import{Plugin as _0x463f74}from'ckeditor5/src/core';export default class E extends _0x463f74{['afterInit'](){const _0x9a55ba=this[_0x1012('0x0')];_0x9a55ba[_0x1012('0x1')][_0x1012('0x2')](_0x1012('0x3'))&&_0x9a55ba[_0x1012('0x4')][_0x1012('0x2')]('TrackChangesEditing')[_0x1012('0x5')](_0x1012('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x216f=['document','commandName','isLimit','registerElementLabel','markBlockFormat','blockName','*Remove\x20format:*\x20%0','value','*Format:*\x20%0','filter','name','from','format','CodeBlock','TrackChangesEditing','editor','config','enableCommand','find','language','rootElement','indentCodeBlock','parent','languages','get','afterInit','commandParams','registerDescriptionCallback','locale','has','ELEMENT_CODE_BLOCK','getSelectedBlocks','forceValue','codeBlock','plugins','change','model','_descriptionFactory'];(function(_0x32df1d,_0x216f81){const _0x2d0480=function(_0x494736){while(--_0x494736){_0x32df1d['push'](_0x32df1d['shift']());}};_0x2d0480(++_0x216f81);}(_0x216f,0x139));const _0x2d04=function(_0x32df1d,_0x216f81){_0x32df1d=_0x32df1d-0x0;let _0x2d0480=_0x216f[_0x32df1d];return _0x2d0480;};import{Plugin as _0x5e04b6}from'ckeditor5/src/core';import{getTranslation as _0x8ad210}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x45a808}from'../utils/utils';export default class F extends _0x5e04b6{[_0x2d04('0x10')](){const _0x2c536a=this[_0x2d04('0x6')];if(!_0x2c536a[_0x2d04('0x19')][_0x2d04('0x14')](_0x2d04('0x4')))return;const _0x2c6459=_0x2c536a[_0x2d04('0x19')][_0x2d04('0xf')](_0x2d04('0x5')),_0x338b47=_0x2c536a[_0x2d04('0x13')],_0x24949e=_0x2c536a[_0x2d04('0x7')][_0x2d04('0xf')](_0x2d04('0x18'))[_0x2d04('0xe')],_0x534fee=_0x2c536a['commands']['get'](_0x2d04('0x18'));_0x2c6459[_0x2d04('0x8')](_0x2d04('0xc')),_0x2c6459[_0x2d04('0x8')]('outdentCodeBlock'),_0x2c6459['enableCommand'](_0x2d04('0x18'),(_0x463e3c,_0x1af943={})=>{const _0x2b2754=_0x2c536a[_0x2d04('0x1b')],_0x1628b5=_0x2c536a[_0x2d04('0x1b')][_0x2d04('0x1d')]['selection'],_0x233bdf=_0x1af943&&void 0x0!==_0x1af943[_0x2d04('0x17')]?_0x1af943[_0x2d04('0x17')]:!_0x534fee[_0x2d04('0x24')];let _0x161db8;_0x1af943['language']||(_0x1af943[_0x2d04('0xa')]=_0x24949e[0x0][_0x2d04('0xa')]),_0x161db8=_0x233bdf?Array[_0x2d04('0x2')](_0x1628b5[_0x2d04('0x16')]())[_0x2d04('0x0')](_0x494b8c=>co(_0x494b8c)||function(_0x4ec8f5,_0x5ef164){if(_0x4ec8f5['is'](_0x2d04('0xb'))||_0x5ef164[_0x2d04('0x1f')](_0x4ec8f5))return!0x1;return _0x5ef164['checkChild'](_0x4ec8f5[_0x2d04('0xd')],_0x2d04('0x18'));}(_0x494b8c,_0x2b2754['schema'])):Array[_0x2d04('0x2')](_0x1628b5[_0x2d04('0x16')]())[_0x2d04('0x0')](_0x59449d=>co(_0x59449d));const _0x475d4e=_0x45a808(_0x161db8,_0x2b2754);_0x2b2754[_0x2d04('0x1a')](()=>{for(const _0x25b2c0 of _0x475d4e)_0x2c6459[_0x2d04('0x21')](_0x25b2c0,{'commandName':_0x2d04('0x18'),'commandParams':[{..._0x1af943,'forceValue':_0x233bdf}],'formatGroupId':_0x2d04('0x22')});});}),(_0x2c6459[_0x2d04('0x1c')][_0x2d04('0x20')](_0x2d04('0x18'),_0x1eb79b=>_0x8ad210(_0x338b47,_0x2d04('0x15'),_0x1eb79b)),_0x2c6459[_0x2d04('0x1c')][_0x2d04('0x12')](_0x46659d=>{const _0x4f5302=_0x338b47['t'],{type:_0x3bbce7,data:_0x42bab0}=_0x46659d;if('formatBlock'==_0x3bbce7&&_0x42bab0&&_0x2d04('0x18')==_0x42bab0[_0x2d04('0x1e')]){const _0x4bb298=_0x42bab0[_0x2d04('0x11')][0x0][_0x2d04('0xa')],_0x193d20=_0x4f5302(_0x24949e[_0x2d04('0x9')](_0x38e85d=>_0x38e85d['language']===_0x4bb298)['label']);return _0x42bab0[_0x2d04('0x11')][0x0][_0x2d04('0x17')]?{'type':_0x2d04('0x3'),'content':_0x8ad210(_0x338b47,_0x2d04('0x25'),_0x8ad210(_0x338b47,_0x2d04('0x15'),0x1)+'\x20('+_0x193d20+')')}:{'type':'format','content':_0x8ad210(_0x338b47,_0x2d04('0x23'),_0x8ad210(_0x338b47,_0x2d04('0x15'),0x1))};}}));}}function co(_0x33a2c5){return _0x2d04('0x18')==_0x33a2c5[_0x2d04('0x1')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb832=['CommentsEditing','plugins','get','enableCommand'];(function(_0x25903e,_0xb8320c){const _0x152629=function(_0x498879){while(--_0x498879){_0x25903e['push'](_0x25903e['shift']());}};_0x152629(++_0xb8320c);}(_0xb832,0x101));const _0x1526=function(_0x25903e,_0xb8320c){_0x25903e=_0x25903e-0x0;let _0x152629=_0xb832[_0x25903e];return _0x152629;};import{Plugin as _0x11da21}from'ckeditor5/src/core';export default class G extends _0x11da21{['afterInit'](){const _0x5abc22=this['editor'];if(!_0x5abc22[_0x1526('0x0')]['has'](_0x1526('0x3')))return;_0x5abc22['plugins'][_0x1526('0x1')]('TrackChangesEditing')[_0x1526('0x2')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9e61=['createSelection','merge','init','unbindElementFromMarkerName','writer','options','uiElement','mapper','markerName','TrackChangesEditing','document','bind','markerNameToElements','isCollapsed','showSuggestionHighlights','high','fromRange','end','setSelection','addMarker:suggestion:deletion','unit','$graveyard','enqueueChange','modifySelection','detach','getFirstRange','lock','downcastDispatcher','batch','selection','unlock','createRange','model','editor','buffer','forward','start','remove','editing','deleteForward','requires'];(function(_0x20f0a9,_0x9e613c){const _0x2e99a3=function(_0x28acc7){while(--_0x28acc7){_0x20f0a9['push'](_0x20f0a9['shift']());}};_0x2e99a3(++_0x9e613c);}(_0x9e61,0xee));const _0x2e99=function(_0x20f0a9,_0x9e613c){_0x20f0a9=_0x20f0a9-0x0;let _0x2e99a3=_0x9e61[_0x20f0a9];return _0x2e99a3;};import{Plugin as _0x1eedce}from'ckeditor5/src/core';import{LiveRange as _0x5b3b24}from'ckeditor5/src/engine';import{Delete as _0x3d9c06}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x37ff3d}from'./utils';export default class L extends _0x1eedce{static get[_0x2e99('0x7')](){return[_0x3d9c06];}[_0x2e99('0xa')](){const _0x10eae5=this[_0x2e99('0x0')],_0x1c5ea0=_0x10eae5['plugins']['get'](_0x2e99('0x11'));_0x1c5ea0['enableCommand']('delete');const _0x253afa=_0x10eae5['commands']['get'](_0x2e99('0x6'));_0x1c5ea0['enableCommand'](_0x2e99('0x6'),(_0x4a9c32,_0x406fd7={})=>{const _0x43173b=_0x10eae5[_0x2e99('0x28')][_0x2e99('0x8')](_0x10eae5[_0x2e99('0x28')][_0x2e99('0x12')][_0x2e99('0x25')]);_0x43173b[_0x2e99('0x15')]&&_0x10eae5[_0x2e99('0x28')][_0x2e99('0x1f')](_0x43173b,{'direction':_0x2e99('0x2'),'unit':_0x406fd7[_0x2e99('0x1c')]});const _0x1c594a=_0x43173b[_0x2e99('0x21')](),_0x3f9296=_0x5b3b24[_0x2e99('0x18')](_0x1c594a);let _0x502e58;_0x4a9c32(_0x406fd7),_0x502e58=_0x2e99('0x1d')==_0x3f9296['root']['rootName']?_0x10eae5[_0x2e99('0x28')][_0x2e99('0x27')](_0x1c594a['start']):_0x10eae5['model']['createRange'](_0x3f9296[_0x2e99('0x3')],_0x3f9296['end']),_0x3f9296[_0x2e99('0x20')](),_0x10eae5['model'][_0x2e99('0x1e')](_0x253afa[_0x2e99('0x1')][_0x2e99('0x24')],_0x5159af=>{_0x253afa['buffer'][_0x2e99('0x22')](),_0x5159af[_0x2e99('0x1a')](_0x5159af['createRange'](_0x502e58[_0x2e99('0x19')])),_0x253afa['buffer'][_0x2e99('0x26')]();});}),_0x10eae5[_0x2e99('0x5')]['downcastDispatcher']['on'](_0x2e99('0x1b'),_0x37ff3d(_0x10eae5,'merge'),{'priority':_0x2e99('0x17')}),_0x10eae5['data'][_0x2e99('0x23')]['on'](_0x2e99('0x1b'),(_0x4a6922,_0x1ce6d4,_0x4d8971)=>{_0x4d8971[_0x2e99('0xd')][_0x2e99('0x16')]&&_0x37ff3d(_0x10eae5,_0x2e99('0x9'),{'showActiveMarker':!0x1})[_0x2e99('0x13')](this)(_0x4a6922,_0x1ce6d4,_0x4d8971);},{'priority':_0x2e99('0x17')}),_0x10eae5[_0x2e99('0x5')][_0x2e99('0x23')]['on']('removeMarker:suggestion:deletion',(_0x51a572,_0xad5f22,_0x104834)=>{const _0xf44cb6=_0x104834[_0x2e99('0xf')][_0x2e99('0x14')](_0xad5f22[_0x2e99('0x10')]);if(_0xf44cb6)for(const _0x2f06cb of _0xf44cb6)_0x2f06cb['is'](_0x2e99('0xe'))&&(_0x104834[_0x2e99('0xf')][_0x2e99('0xb')](_0x2f06cb,_0xad5f22[_0x2e99('0x10')]),_0x104834[_0x2e99('0xc')][_0x2e99('0x4')](_0x2f06cb));},{'priority':_0x2e99('0x17')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a5d=['getFirstRange','getRanges','list.multiBlock','nodeAfter','next','change','has','numberedList','multipleBlocks','createRange','execute','commandParams','ELEMENT_BULLETED_LIST','registerElementLabel','registerCustomCallback','locale','formatBlock','enableCommand','markMultiRangeBlockFormat','before','setSelection','paragraph','document','getAttribute','getSelectedBlocks','splitListItemAfter','value','forceValue','commands','containsItem','_descriptionFactory','nextSibling','afterInit','*Format:*\x20remove\x20from\x20%0','mergeListItemForward','listItemId','length','fromRange','*Format:*\x20insert\x20into\x20%0','isObject','selection','markBlockFormat','add','expandListBlocksToCompleteList','config','toUpperCase','commandName','hasAttribute','plugins','model','editor','indentList','schema','splitListItemBefore','listType','bulletedList','ELEMENT_LIST_ITEM','TrackChangesEditing','slice','listIndent','start','ELEMENT_','outdentList','*Merge:*\x20%0','push','end','_suggestionFactory','get','previousSibling','format','createPositionAt','*Change\x20to:*\x20%0','*Outdent:*\x20%0','from','documentList'];(function(_0x546924,_0x4a5d75){const _0xc51aec=function(_0x7d2407){while(--_0x7d2407){_0x546924['push'](_0x546924['shift']());}};_0xc51aec(++_0x4a5d75);}(_0x4a5d,0x1c6));const _0xc51a=function(_0x546924,_0x4a5d75){_0x546924=_0x546924-0x0;let _0xc51aec=_0x4a5d[_0x546924];return _0xc51aec;};import{Plugin as _0x4ce3e2}from'ckeditor5/src/core';import{getTranslation as _0x2cc274}from'../utils/common-translations';import{LiveRange as _0x49d301}from'ckeditor5/src/engine';export default class q extends _0x4ce3e2{[_0xc51a('0x1c')](){const _0x47d0ab=this[_0xc51a('0x2e')];if(!_0x47d0ab['plugins'][_0xc51a('0x2')]('DocumentListEditing'))return;const _0xf128a2=_0x47d0ab[_0xc51a('0xb')],_0x443862=_0x47d0ab[_0xc51a('0x2c')][_0xc51a('0x3f')](_0xc51a('0x35')),_0x3b93de=_0x47d0ab[_0xc51a('0x2c')][_0xc51a('0x3f')]('DocumentListUtils');function _0x5c2198(_0x53cc9a){return()=>{const _0xc4149d=_0x47d0ab[_0xc51a('0x18')][_0xc51a('0x3f')](_0x53cc9a);if(_0xc4149d['value']&&!_0x47d0ab[_0xc51a('0x28')]['get']('list.multiBlock'))return void _0x47d0ab[_0xc51a('0x6')](_0xc51a('0x11'),{});let _0x476f2f=Array[_0xc51a('0x45')](_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x12')][_0xc51a('0x24')]['getSelectedBlocks']());if(_0x1b25bb(_0x53cc9a)){_0x476f2f=_0x3b93de[_0xc51a('0x27')](_0x476f2f);const _0x4f5af8=[];for(const _0x1de8b0 of _0x476f2f)_0x3b93de['isFirstBlockOfListItem'](_0x1de8b0)&&_0x4f5af8['push'](_0x1de8b0);_0x476f2f=_0x4f5af8;}_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x1')](()=>{_0x443862[_0xc51a('0xe')](_0x476f2f,{'commandName':_0x53cc9a,'commandParams':[{'forceValue':!_0xc4149d[_0xc51a('0x16')]}],'formatGroupId':_0xc51a('0x32')},[],_0xc51a('0x46'));});};}function _0x54f680(_0x10a627){return()=>{const _0x5bc423=function(_0x7207d){let _0x230733=Array[_0xc51a('0x45')](_0x7207d);const _0x3623a0=_0x230733['findIndex'](_0x407823=>!_0x407823[_0xc51a('0x2b')]('listItemId'));return _0x3623a0>-0x1&&(_0x230733=_0x230733[_0xc51a('0x36')](0x0,_0x3623a0)),_0x230733;}(_0x47d0ab['model'][_0xc51a('0x12')][_0xc51a('0x24')][_0xc51a('0x14')]()),_0x14170c=_0x5bc423[_0x5bc423[_0xc51a('0x20')]-0x1],_0x597741=_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x30')][_0xc51a('0x23')](_0x14170c)?'after':_0xc51a('0x3d'),_0x211b58=_0x47d0ab['model'][_0xc51a('0x5')](_0x47d0ab['model'][_0xc51a('0x42')](_0x5bc423[0x0],_0xc51a('0xf')),_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x42')](_0x14170c,_0x597741));_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x1')](()=>{_0x443862[_0xc51a('0x25')](_0x211b58,{'commandName':_0x10a627,'commandParams':[],'formatGroupId':_0xc51a('0x32')},function(_0x46c0df){const _0x244b89=new Set();for(const _0x2bd521 of _0x46c0df){let _0x4534be=_0x2bd521[_0xc51a('0x1b')];for(;_0x4534be&&_0x4534be[_0xc51a('0x13')](_0xc51a('0x37'))>_0x2bd521[_0xc51a('0x13')](_0xc51a('0x37'));)_0x244b89[_0xc51a('0x26')](_0x4534be),_0x4534be=_0x4534be[_0xc51a('0x1b')];}return Array[_0xc51a('0x45')](_0x244b89);}(_0x5bc423));});};}function _0x386653(_0x8672b7){return()=>{const _0x401b06=_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x12')][_0xc51a('0x24')][_0xc51a('0x14')]()[_0xc51a('0x0')]()[_0xc51a('0x16')],_0x1f4d68=_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x42')](_0x401b06,_0xc51a('0xf')),_0xb659bb=_0x47d0ab['model'][_0xc51a('0x42')](_0x401b06,0x0),_0x74f506=_0x47d0ab['model']['createRange'](_0x1f4d68,_0xb659bb);_0x47d0ab[_0xc51a('0x2d')]['change'](()=>{_0x443862[_0xc51a('0x25')](_0x74f506,{'commandName':_0x8672b7,'commandParams':[],'formatGroupId':'listType'});});};}function _0x1b25bb(_0x2dca3b){const _0x4976b9=_0x47d0ab['commands'][_0xc51a('0x3f')](_0xc51a('0x33'))[_0xc51a('0x16')],_0x4c0eb0=_0x47d0ab[_0xc51a('0x18')][_0xc51a('0x3f')]('numberedList')['value'];return _0xc51a('0x3')===_0x2dca3b?_0x4976b9:_0x4c0eb0;}_0x443862[_0xc51a('0xd')]('numberedList',_0x5c2198(_0xc51a('0x3'))),_0x443862[_0xc51a('0xd')](_0xc51a('0x33'),_0x5c2198(_0xc51a('0x33'))),_0x443862[_0xc51a('0xd')]('indentList',_0x54f680(_0xc51a('0x2f'))),_0x443862['enableCommand'](_0xc51a('0x3a'),_0x54f680(_0xc51a('0x3a'))),_0x443862[_0xc51a('0xd')]('splitListItemAfter',_0x386653(_0xc51a('0x15'))),_0x443862[_0xc51a('0xd')](_0xc51a('0x31'),_0x386653('splitListItemBefore')),_0x443862['_descriptionFactory'][_0xc51a('0x9')](function(_0x29ea7e){const _0x43aa72=!_0x47d0ab[_0xc51a('0x2d')]['schema'][_0xc51a('0x23')](_0x29ea7e),_0x440742=_0x29ea7e[_0xc51a('0x40')],_0x310973=_0x29ea7e[_0xc51a('0x1b')],_0x110360=_0x29ea7e[_0xc51a('0x13')](_0xc51a('0x1f')),_0x21b23c=!_0x440742||_0x440742[_0xc51a('0x13')](_0xc51a('0x1f'))!==_0x110360,_0x5dd279=!_0x310973||_0x310973[_0xc51a('0x13')](_0xc51a('0x1f'))!==_0x110360;return _0x43aa72&&Boolean(_0x110360)&&_0x21b23c&&_0x5dd279;},_0x814f5a=>_0x2cc274(_0xf128a2,_0xc51a('0x34'),_0x814f5a)),_0x443862[_0xc51a('0x1a')]['registerDescriptionCallback'](function(_0x3e884e){const {data:_0x22e5d6}=_0x3e884e;if(!_0x22e5d6)return;let _0x5d5e4e,_0x430804,_0x2af5e3,_0x190c00;switch(_0x22e5d6[_0xc51a('0x2a')]){case'bulletedList':_0x2af5e3=_0x22e5d6[_0xc51a('0x7')][0x0][_0xc51a('0x17')],_0x190c00=_0x1b25bb(_0x22e5d6[_0xc51a('0x2a')]),_0x5d5e4e=_0x2af5e3?'*Format:*\x20insert\x20into\x20%0':_0xc51a('0x1d'),!_0x190c00&&_0x47d0ab[_0xc51a('0x28')][_0xc51a('0x3f')]('list.multiBlock')||(_0x5d5e4e=_0xc51a('0x43')),_0x430804={'type':_0xc51a('0x41'),'content':_0x2cc274(_0xf128a2,_0x5d5e4e,_0x2cc274(_0xf128a2,_0xc51a('0x8')))};break;case _0xc51a('0x3'):_0x2af5e3=_0x22e5d6[_0xc51a('0x7')][0x0][_0xc51a('0x17')],_0x190c00=_0x1b25bb(_0x22e5d6[_0xc51a('0x2a')]),_0x5d5e4e=_0x2af5e3?_0xc51a('0x22'):_0xc51a('0x1d'),!_0x190c00&&_0x47d0ab[_0xc51a('0x28')][_0xc51a('0x3f')](_0xc51a('0x49'))||(_0x5d5e4e=_0xc51a('0x43')),_0x430804={'type':_0xc51a('0x41'),'content':_0x2cc274(_0xf128a2,_0x5d5e4e,_0x2cc274(_0xf128a2,'ELEMENT_NUMBERED_LIST'))};break;case _0xc51a('0x2f'):_0x5d5e4e='*Indent:*\x20%0',_0x430804={'type':'format','content':_0x2cc274(_0xf128a2,_0x5d5e4e,_0x2cc274(_0xf128a2,_0xc51a('0x34')))};break;case _0xc51a('0x3a'):_0x5d5e4e=function(_0x1127bf){const _0x1e4f35=_0x1127bf[_0xc51a('0x47')]();let _0x227fac=_0x1e4f35[_0xc51a('0x38')][_0xc51a('0x4a')];for(;_0x227fac&&_0x1e4f35[_0xc51a('0x19')](_0x227fac);){if(_0x227fac['getAttribute'](_0xc51a('0x37'))>0x0)return!0x1;_0x227fac=_0x227fac[_0xc51a('0x1b')];}return!0x0;}(_0x3e884e)?_0x2cc274(_0xf128a2,_0xc51a('0x1d'),_0x2cc274(_0xf128a2,function(_0x4d1163){const _0x1aa6bd=_0x4d1163['getFirstRange']()[_0xc51a('0x38')][_0xc51a('0x4a')];return _0xc51a('0x39')+_0x1aa6bd['getAttribute']('listType')[_0xc51a('0x29')]()+'_LIST';}(_0x3e884e))):_0x2cc274(_0xf128a2,_0xc51a('0x44'),_0x2cc274(_0xf128a2,'ELEMENT_LIST_ITEM')),_0x430804={'type':'format','content':_0x5d5e4e};break;case'mergeListItemBackward':case _0xc51a('0x1e'):!0x1===_0x22e5d6[_0xc51a('0x4')]&&(_0x5d5e4e=_0xc51a('0x3b'),_0x430804={'type':'deletion','content':_0x2cc274(_0xf128a2,_0x5d5e4e,_0x2cc274(_0xf128a2,_0xc51a('0x34')))});}return _0x430804;}),_0x443862[_0xc51a('0x3e')][_0xc51a('0xa')](_0xc51a('0xc'),_0xc51a('0x46'),'accept',function(_0x569c46,_0x52835e){const _0x60b83c=[];for(let _0x414695 of _0x569c46)_0x414695[_0xc51a('0x38')]['nodeAfter']===_0x414695['end']['parent']&&(_0x414695=_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x5')](_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x42')](_0x414695[_0xc51a('0x38')][_0xc51a('0x4a')],0x0))),_0x60b83c[_0xc51a('0x3c')](_0x414695);_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x1')](_0x330665=>{const _0x14216c=_0x47d0ab[_0xc51a('0x2d')][_0xc51a('0x12')][_0xc51a('0x24')],_0x16b181=Array[_0xc51a('0x45')](_0x14216c[_0xc51a('0x48')]())['map'](_0x457e02=>_0x49d301[_0xc51a('0x21')](_0x457e02));_0x330665['setSelection'](_0x60b83c),_0x47d0ab[_0xc51a('0x18')][_0xc51a('0x3f')](_0x52835e[_0xc51a('0x2a')])['refresh'](),_0x52835e[_0xc51a('0x7')][_0xc51a('0x3c')]({'forceDefaultExecution':!0x0}),_0x47d0ab[_0xc51a('0x6')](_0x52835e[_0xc51a('0x2a')],..._0x52835e[_0xc51a('0x7')]),_0x330665[_0xc51a('0x10')](_0x16b181);for(const _0xa093ce of _0x16b181)_0xa093ce['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cbe=['expandListBlocksToCompleteList','_LIST_','type','replace','handleListStyleCommand','styles','DocumentListUtils','commandParams','get','listStart','handleListStartCommand','toUpperCase','getAttribute','handleListReversedCommand','_getSuggestionBlocksForListStyle','isListItemBlock','reversed','TrackChangesEditing','startIndex','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListPropertiesUtils','listStyle','change','_getSuggestionBlocks','ELEMENT_','*Change\x20to:*\x20%0','from','bind','afterInit','document','selection','editor','filter','listReversed','commandName','markMultiRangeBlockFormat','handleDescriptions','enableCommand','push','list.properties','model','*Format:*\x20set\x20start\x20index\x20to\x20%0','config','getListTypeFromListStyleType','plugins','DocumentListPropertiesEditing','numbered','_descriptionFactory','format'];(function(_0x43c0c5,_0x4cbeb5){const _0x3f94c6=function(_0xe66be2){while(--_0xe66be2){_0x43c0c5['push'](_0x43c0c5['shift']());}};_0x3f94c6(++_0x4cbeb5);}(_0x4cbe,0x180));const _0x3f94=function(_0x43c0c5,_0x4cbeb5){_0x43c0c5=_0x43c0c5-0x0;let _0x3f94c6=_0x4cbe[_0x43c0c5];return _0x3f94c6;};import{Plugin as _0x47856a}from'ckeditor5/src/core';import{getTranslation as _0x12cff5}from'../utils/common-translations';export default class Ct extends _0x47856a{[_0x3f94('0x24')](){if(!this['editor'][_0x3f94('0x3')]['has'](_0x3f94('0x4')))return;const _0x1b5534=this[_0x3f94('0x27')][_0x3f94('0x1')][_0x3f94('0x10')](_0x3f94('0x2f')),_0x2b42c4=this[_0x3f94('0x27')][_0x3f94('0x3')][_0x3f94('0x10')](_0x3f94('0x19'));_0x1b5534[_0x3f94('0xd')]&&_0x2b42c4[_0x3f94('0x2d')](_0x3f94('0x1d'),this[_0x3f94('0xc')][_0x3f94('0x23')](this)),_0x1b5534[_0x3f94('0x18')]&&_0x2b42c4[_0x3f94('0x2d')]('listReversed',this[_0x3f94('0x15')][_0x3f94('0x23')](this)),_0x1b5534[_0x3f94('0x1a')]&&_0x2b42c4[_0x3f94('0x2d')](_0x3f94('0x11'),this[_0x3f94('0x12')][_0x3f94('0x23')](this)),_0x2b42c4[_0x3f94('0x6')]['registerDescriptionCallback'](this['handleDescriptions'][_0x3f94('0x23')](this));}[_0x3f94('0xc')](_0x2722da,_0x11c198={}){const _0x472503=this[_0x3f94('0x27')]['plugins'][_0x3f94('0x10')](_0x3f94('0x19')),_0x466b48=this['_getSuggestionBlocksForListStyle']();this[_0x3f94('0x27')]['model'][_0x3f94('0x1e')](()=>{_0x472503[_0x3f94('0x2b')](_0x466b48,{'commandName':_0x3f94('0x1d'),'commandParams':[{'type':_0x11c198['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x1b80c4,_0x2f729f={}){const _0xbfdefe=this[_0x3f94('0x27')][_0x3f94('0x3')][_0x3f94('0x10')](_0x3f94('0x19')),_0x5be5b4=this[_0x3f94('0x27')][_0x3f94('0x3')][_0x3f94('0x10')](_0x3f94('0xe')),_0x811eba=this[_0x3f94('0x1f')](_0x115735=>_0x5be5b4[_0x3f94('0x17')](_0x115735)&&_0x3f94('0x5')===_0x115735[_0x3f94('0x14')]('listType'));null!==_0x811eba&&this[_0x3f94('0x27')][_0x3f94('0x30')][_0x3f94('0x1e')](()=>{_0xbfdefe['markMultiRangeBlockFormat'](_0x811eba,{'commandName':'listReversed','commandParams':[{'reversed':_0x2f729f[_0x3f94('0x18')]}],'formatGroupId':_0x3f94('0x29')});});}[_0x3f94('0x12')](_0x40b285,_0x1a54a1={}){const _0x5497fe=this['editor']['plugins'][_0x3f94('0x10')](_0x3f94('0x19')),_0x2b181a=this[_0x3f94('0x27')][_0x3f94('0x3')]['get'](_0x3f94('0xe')),_0xc7d608=this[_0x3f94('0x1f')](_0x32d9c1=>_0x2b181a['isListItemBlock'](_0x32d9c1)&&'numbered'===_0x32d9c1[_0x3f94('0x14')]('listType'));null!==_0xc7d608&&this['editor'][_0x3f94('0x30')][_0x3f94('0x1e')](()=>{_0x5497fe['markMultiRangeBlockFormat'](_0xc7d608,{'commandName':_0x3f94('0x11'),'commandParams':[{'startIndex':_0x1a54a1[_0x3f94('0x1a')]}],'formatGroupId':_0x3f94('0x11')});});}[_0x3f94('0x2c')](_0x146bc7){const _0x572e5f=this[_0x3f94('0x27')]['locale'],{data:_0x250365}=_0x146bc7;if(!_0x250365)return;let _0x149cef,_0x1d93cf;switch(_0x250365[_0x3f94('0x2a')]){case _0x3f94('0x1d'):_0x149cef=_0x3f94('0x21'),_0x1d93cf={'type':_0x3f94('0x7'),'content':_0x12cff5(_0x572e5f,_0x149cef,_0x12cff5(_0x572e5f,this['_getTranslationKeyForListStyle'](_0x250365[_0x3f94('0xf')][0x0][_0x3f94('0xa')])))};break;case _0x3f94('0x29'):_0x149cef=_0x250365['commandParams'][0x0][_0x3f94('0x18')]?_0x3f94('0x1b'):'*Format:*\x20set\x20order\x20to\x20regular',_0x1d93cf={'type':_0x3f94('0x7'),'content':_0x12cff5(_0x572e5f,_0x149cef)};break;case _0x3f94('0x11'):_0x149cef=_0x3f94('0x0'),_0x1d93cf={'type':_0x3f94('0x7'),'content':_0x12cff5(_0x572e5f,_0x149cef,_0x250365['commandParams'][0x0][_0x3f94('0x1a')])};}return _0x1d93cf;}[_0x3f94('0x16')](){const _0x346057=this[_0x3f94('0x27')][_0x3f94('0x3')][_0x3f94('0x10')]('DocumentListUtils');let _0x30588c=Array['from'](this[_0x3f94('0x27')][_0x3f94('0x30')][_0x3f94('0x25')][_0x3f94('0x26')]['getSelectedBlocks']());return _0x30588c[_0x3f94('0x2e')](..._0x346057[_0x3f94('0x8')](_0x30588c)),_0x30588c=[...new Set(_0x30588c)],_0x30588c;}[_0x3f94('0x1f')](_0x18912b){const _0x373f82=this[_0x3f94('0x27')][_0x3f94('0x3')]['get']('DocumentListUtils');let _0xf9a4f3=Array[_0x3f94('0x22')](this[_0x3f94('0x27')]['model'][_0x3f94('0x25')][_0x3f94('0x26')]['getSelectedBlocks']())[_0x3f94('0x28')](_0x18912b);if(!_0xf9a4f3['length'])return null;_0xf9a4f3=_0x373f82['expandListBlocksToCompleteList'](_0xf9a4f3);const _0x443b33=[];for(const _0x31caaf of _0xf9a4f3)_0x373f82['isFirstBlockOfListItem'](_0x31caaf)&&_0x443b33[_0x3f94('0x2e')](_0x31caaf);return _0x443b33;}['_getTranslationKeyForListStyle'](_0x460dd6){return _0x3f94('0x20')+this['editor'][_0x3f94('0x3')]['get'](_0x3f94('0x1c'))[_0x3f94('0x2')](_0x460dd6)[_0x3f94('0x13')]()+_0x3f94('0x9')+_0x460dd6[_0x3f94('0x13')]()[_0x3f94('0xb')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56f9=['model','plugins','markInsertion','createRange','init','enter','enableCommand','fire','editing','TrackChangesEditing','markerName','parent','setSelection','downcastDispatcher','bind','requires','commands','split','detach','enterBlock','fromRange','getFirstPosition','options','change','hasClass','high','addMarker:suggestion:insertion','editor','remove','end','nextSibling','get','afterExecute','document','mapper','unbindElementFromMarkerName','ck-suggestion-marker-split','showSuggestionHighlights','markerNameToElements'];(function(_0x29f003,_0x56f928){const _0x44acd1=function(_0x4e10dc){while(--_0x4e10dc){_0x29f003['push'](_0x29f003['shift']());}};_0x44acd1(++_0x56f928);}(_0x56f9,0x114));const _0x44ac=function(_0x29f003,_0x56f928){_0x29f003=_0x29f003-0x0;let _0x44acd1=_0x56f9[_0x29f003];return _0x44acd1;};import{Plugin as _0x1b3960}from'ckeditor5/src/core';import{Enter as _0x4eb289}from'ckeditor5/src/enter';import{LiveRange as _0xad81a7}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x439de9}from'./utils';export default class z extends _0x1b3960{static get[_0x44ac('0xc')](){return[_0x4eb289];}[_0x44ac('0x1')](){const _0x4a7d87=this[_0x44ac('0x18')],_0x250048=_0x4a7d87[_0x44ac('0x25')][_0x44ac('0x1c')](_0x44ac('0x6')),_0x4df8f9=_0x4a7d87[_0x44ac('0xd')][_0x44ac('0x1c')](_0x44ac('0x2'));_0x250048[_0x44ac('0x3')]('enter',()=>{_0x4a7d87[_0x44ac('0x24')][_0x44ac('0x14')](_0x57b345=>{const _0x572734=_0x4a7d87[_0x44ac('0x24')][_0x44ac('0x1e')]['selection'],_0x135c7a=_0x572734[_0x44ac('0x12')](),_0x552d8b=_0xad81a7[_0x44ac('0x11')](_0x572734['getFirstRange']());if(_0x4df8f9[_0x44ac('0x10')](_0x57b345)){const _0x288d37=_0x4a7d87['model']['createPositionAt'](_0x135c7a[_0x44ac('0x8')][_0x44ac('0x1b')],0x0),_0x3b3e60=_0x57b345[_0x44ac('0x0')](_0x135c7a,_0x288d37);_0x250048[_0x44ac('0x26')](_0x3b3e60);}else _0x57b345[_0x44ac('0x9')](_0x57b345[_0x44ac('0x0')](_0x552d8b[_0x44ac('0x1a')]));_0x552d8b[_0x44ac('0xf')](),_0x4df8f9[_0x44ac('0x4')](_0x44ac('0x1d'),{'writer':_0x57b345});});}),_0x4a7d87[_0x44ac('0x5')][_0x44ac('0xa')]['on']('addMarker:suggestion:insertion',_0x439de9(_0x4a7d87,_0x44ac('0xe')),{'priority':'high'}),_0x4a7d87['editing'][_0x44ac('0xa')]['on']('removeMarker:suggestion:insertion',(_0x2d219e,_0x26647c,_0x25fa23)=>{const _0x112386=_0x25fa23[_0x44ac('0x1f')][_0x44ac('0x23')](_0x26647c['markerName']);if(_0x112386)for(const _0x5b0845 of _0x112386)_0x5b0845[_0x44ac('0x15')](_0x44ac('0x21'))&&(_0x25fa23[_0x44ac('0x1f')][_0x44ac('0x20')](_0x5b0845,_0x26647c[_0x44ac('0x7')]),_0x25fa23['writer'][_0x44ac('0x19')](_0x5b0845));},{'priority':_0x44ac('0x16')}),_0x4a7d87['data'][_0x44ac('0xa')]['on'](_0x44ac('0x17'),(_0xe7dd6c,_0x2e12c0,_0x45f0bd)=>{_0x45f0bd[_0x44ac('0x13')][_0x44ac('0x22')]&&_0x439de9(_0x4a7d87,_0x44ac('0xe'),{'showActiveMarker':!0x1})[_0x44ac('0xb')](this)(_0xe7dd6c,_0x2e12c0,_0x45f0bd);},{'priority':_0x44ac('0x16')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b33=['TrackChangesEditing','model','replace','afterInit','item','find','get','enableCommand','handleFindCommand','getMarkersGroup','plugins','editor','createRange','filter','start','getIntersection','suggestion:deletion','getRange','markers','findNext'];(function(_0x13038a,_0x3b3354){const _0x2dceff=function(_0x1b22c2){while(--_0x1b22c2){_0x13038a['push'](_0x13038a['shift']());}};_0x2dceff(++_0x3b3354);}(_0x3b33,0x68));const _0x2dce=function(_0x13038a,_0x3b3354){_0x13038a=_0x13038a-0x0;let _0x2dceff=_0x3b33[_0x13038a];return _0x2dceff;};import{Plugin as _0x4d70a8}from'ckeditor5/src/core';export default class H extends _0x4d70a8{[_0x2dce('0x13')](){if(!this[_0x2dce('0x7')][_0x2dce('0x6')]['has']('FindAndReplaceEditing'))return;const _0x446907=this[_0x2dce('0x7')][_0x2dce('0x6')][_0x2dce('0x2')](_0x2dce('0x10'));_0x446907[_0x2dce('0x3')](_0x2dce('0x1'),this[_0x2dce('0x4')]['bind'](this)),_0x446907[_0x2dce('0x3')](_0x2dce('0xf')),_0x446907[_0x2dce('0x3')]('findPrevious'),_0x446907[_0x2dce('0x3')](_0x2dce('0x12')),_0x446907[_0x2dce('0x3')]('replaceAll');}[_0x2dce('0x4')](_0x5d9638,_0x31c577,_0x5e02d8={}){const _0x4c3489=this['editor'][_0x2dce('0x6')][_0x2dce('0x2')]('FindAndReplaceUtils');if(void 0x0!==_0x5e02d8)return _0x5d9638(_0x4d03d3=>('string'==typeof _0x31c577?_0x4c3489['findByTextCallback'](_0x31c577,_0x5e02d8):_0x31c577)(_0x4d03d3)[_0x2dce('0x9')](_0x443928=>!0x1===this['_isInDeletionRange'](_0x443928,_0x4d03d3[_0x2dce('0x0')])),_0x5e02d8);}['_isInDeletionRange'](_0x55b605,_0x48330d){const _0x1840ad=this[_0x2dce('0x7')][_0x2dce('0x11')][_0x2dce('0x8')](this[_0x2dce('0x7')][_0x2dce('0x11')]['createPositionAt'](_0x48330d,_0x55b605[_0x2dce('0xa')]),this['editor'][_0x2dce('0x11')]['createPositionAt'](_0x48330d,_0x55b605['end']));for(const _0x40b392 of this[_0x2dce('0x7')]['model'][_0x2dce('0xe')][_0x2dce('0x5')](_0x2dce('0xc')))if(null!==_0x1840ad[_0x2dce('0xb')](_0x40b392[_0x2dce('0xd')]()))return!0x0;return!0x1;}}
|