@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231205.0 → 0.0.0-nightly-20231206.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/imagestyle.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-20231206.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-20231206.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231206.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 _0x3af4=['getRanges','model','_isEnabledBasedOnSelection','refresh','canEditAt','track-changes-accept-suggestion-not-found','_suggestions','execute','get','isEnabled','plugins','editor'];(function(_0x23372b,_0x3af45e){const _0x210c81=function(_0x26bae1){while(--_0x26bae1){_0x23372b['push'](_0x23372b['shift']());}};_0x210c81(++_0x3af45e);}(_0x3af4,0xf8));const _0x210c=function(_0x23372b,_0x3af45e){_0x23372b=_0x23372b-0x0;let _0x210c81=_0x3af4[_0x23372b];return _0x210c81;};import{Command as _0x3dad1d}from'ckeditor5/src/core';import{CKEditorError as _0x3ae59e}from'ckeditor5/src/utils';export default class B extends _0x3dad1d{constructor(_0x1d239a,_0x4f5802){super(_0x1d239a),this[_0x210c('0xa')]=_0x4f5802,this[_0x210c('0x7')](),this[_0x210c('0x6')]=!0x1;}[_0x210c('0x7')](){this[_0x210c('0x1')]=!0x0;}[_0x210c('0xb')](_0x335ddd){const _0xe6dd53=this[_0x210c('0xa')][_0x210c('0x0')](_0x335ddd);if(!_0xe6dd53)throw new _0x3ae59e(_0x210c('0x9'),this);const _0x162be5=_0xe6dd53[_0x210c('0x4')]();this['editor'][_0x210c('0x5')][_0x210c('0x8')](_0x162be5)&&this[_0x210c('0x3')][_0x210c('0x2')][_0x210c('0x0')]('TrackChangesEditing')['acceptSuggestion'](_0xe6dd53);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cca=['get','_isEnabledBasedOnSelection','getRanges','TrackChangesEditing','editor','refresh','execute','model','discardSuggestion','canEditAt','_suggestions'];(function(_0x50b2c6,_0x1cca07){const _0x41f812=function(_0x5d2ee8){while(--_0x5d2ee8){_0x50b2c6['push'](_0x50b2c6['shift']());}};_0x41f812(++_0x1cca07);}(_0x1cca,0x1b7));const _0x41f8=function(_0x50b2c6,_0x1cca07){_0x50b2c6=_0x50b2c6-0x0;let _0x41f812=_0x1cca[_0x50b2c6];return _0x41f812;};import{Command as _0x3d93bf}from'ckeditor5/src/core';import{CKEditorError as _0x19af04}from'ckeditor5/src/utils';export default class x extends _0x3d93bf{constructor(_0x337e4c,_0x951722){super(_0x337e4c),this[_0x41f8('0x0')]=_0x951722,this[_0x41f8('0x6')](),this[_0x41f8('0x2')]=!0x1;}[_0x41f8('0x6')](){this['isEnabled']=!0x0;}[_0x41f8('0x7')](_0xb3fd95){const _0xc5ab0b=this['_suggestions'][_0x41f8('0x1')](_0xb3fd95);if(!_0xc5ab0b)throw new _0x19af04('track-changes-discard-suggestion-not-found',this);const _0x146965=_0xc5ab0b[_0x41f8('0x3')]();this[_0x41f8('0x5')][_0x41f8('0x8')][_0x41f8('0xa')](_0x146965)&&this[_0x41f8('0x5')]['plugins'][_0x41f8('0x1')](_0x41f8('0x4'))[_0x41f8('0x9')](_0xc5ab0b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x389b=['execute','refresh','from','values','_suggestions','some','_isEnabledBasedOnSelection','_command','canEditAt','model','getRanges'];(function(_0x41da52,_0x389bc8){const _0x2eaff9=function(_0x58a8fa){while(--_0x58a8fa){_0x41da52['push'](_0x41da52['shift']());}};_0x2eaff9(++_0x389bc8);}(_0x389b,0x178));const _0x2eaf=function(_0x41da52,_0x389bc8){_0x41da52=_0x41da52-0x0;let _0x2eaff9=_0x389b[_0x41da52];return _0x2eaff9;};import{Command as _0x31d6ad}from'ckeditor5/src/core';import{sortSuggestions as _0x48116f,executeCommandForSuggestions as _0x5dd3e4}from'../utils/utils';export default class E extends _0x31d6ad{constructor(_0x1bc338,_0x1fb690,_0xbfe976){super(_0x1bc338),this[_0x2eaf('0x5')]=_0x1fb690,this[_0x2eaf('0x2')]=_0xbfe976,this[_0x2eaf('0xa')](),this[_0x2eaf('0x4')]=!0x1;}[_0x2eaf('0xa')](){const _0x227d06=Array[_0x2eaf('0x0')](this['_suggestions'][_0x2eaf('0x1')]())[_0x2eaf('0x3')](_0x59fc28=>_0x59fc28['isInContent']);this['isEnabled']=this[_0x2eaf('0x5')]['isEnabled']&&_0x227d06;}[_0x2eaf('0x9')](){const _0xceaed2=_0x48116f(Array[_0x2eaf('0x0')](this[_0x2eaf('0x2')][_0x2eaf('0x1')]()));for(const _0x47f0ae of _0xceaed2){const _0x3becbb=_0x47f0ae[_0x2eaf('0x8')]();if(!this['editor'][_0x2eaf('0x7')][_0x2eaf('0x6')](_0x3becbb))return;}_0x5dd3e4(this['editor'][_0x2eaf('0x7')],this[_0x2eaf('0x5')],_0xceaed2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2090=['isEnabled','from','_isEnabledBasedOnSelection','editor','model','execute','size','values','refresh','document','_command','canEditAt','selection','_selectedSuggestions','getRanges'];(function(_0x28d63f,_0x209017){const _0x3c41d9=function(_0x3abbca){while(--_0x3abbca){_0x28d63f['push'](_0x28d63f['shift']());}};_0x3c41d9(++_0x209017);}(_0x2090,0x10f));const _0x3c41=function(_0x28d63f,_0x209017){_0x28d63f=_0x28d63f-0x0;let _0x3c41d9=_0x2090[_0x28d63f];return _0x3c41d9;};import{Command as _0x576a00}from'ckeditor5/src/core';import{sortSuggestions as _0x29fdb2,getSelectedSuggestions as _0x2b7338,executeCommandForSuggestions as _0x4a797e}from'../utils/utils';export default class R extends _0x576a00{constructor(_0x24fd7f,_0x274676,_0x2203e0){super(_0x24fd7f),this[_0x3c41('0x9')]=_0x274676,this['_suggestions']=_0x2203e0,this[_0x3c41('0xc')]=new Set(),this[_0x3c41('0x7')](),this[_0x3c41('0x1')]=!0x1;}[_0x3c41('0x7')](){const _0x33d48d=this[_0x3c41('0x2')][_0x3c41('0x3')][_0x3c41('0x8')][_0x3c41('0xb')],_0x209508=Array[_0x3c41('0x0')](this['_suggestions'][_0x3c41('0x6')]());this['_selectedSuggestions']=_0x2b7338(_0x33d48d,_0x209508),this[_0x3c41('0xe')]=this[_0x3c41('0x9')][_0x3c41('0xe')]&&!!this[_0x3c41('0xc')][_0x3c41('0x5')];}[_0x3c41('0x4')](){const _0x5a3997=_0x29fdb2(Array['from'](this['_selectedSuggestions']));for(const _0x421c27 of _0x5a3997){const _0x3ced09=_0x421c27[_0x3c41('0xd')]();if(!this[_0x3c41('0x2')][_0x3c41('0x3')][_0x3c41('0xa')](_0x3ced09))return;}_0x4a797e(this[_0x3c41('0x2')][_0x3c41('0x3')],this[_0x3c41('0x9')],_0x5a3997);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19ed=['_enableCommands','has','clearForceDisabled','forceDisabled','affectsData','commands','_disableUnsupportedCommands','refresh','editor','TrackChangesCommand','value','_enabledCommands'];(function(_0x395eff,_0x19ed48){const _0x45da96=function(_0x478032){while(--_0x478032){_0x395eff['push'](_0x395eff['shift']());}};_0x45da96(++_0x19ed48);}(_0x19ed,0x155));const _0x45da=function(_0x395eff,_0x19ed48){_0x395eff=_0x395eff-0x0;let _0x45da96=_0x19ed[_0x395eff];return _0x45da96;};import{Command as _0x4b402a}from'ckeditor5/src/core';export default class $ extends _0x4b402a{constructor(_0x7282c4,_0x57afbf){super(_0x7282c4),this[_0x45da('0x6')]=_0x57afbf,this['value']=!0x1,this[_0x45da('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x45da('0x2')](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0x45da('0x5')],this['value']?this[_0x45da('0x1')]():this[_0x45da('0x7')]();}['_disableUnsupportedCommands'](){for(const _0x34137d of this[_0x45da('0x3')][_0x45da('0x0')][_0x45da('0x0')]())_0x34137d[_0x45da('0xb')]&&!this[_0x45da('0x6')][_0x45da('0x8')](_0x34137d)&&_0x34137d[_0x45da('0xa')](_0x45da('0x4'));}[_0x45da('0x7')](){for(const _0x5bcc54 of this['editor']['commands'][_0x45da('0x0')]())_0x5bcc54[_0x45da('0xb')]&&!this[_0x45da('0x6')]['has'](_0x5bcc54)&&_0x5bcc54[_0x45da('0x9')](_0x45da('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcd24=['enableCommand','TrackChangesEditing','commands','get','showAIAssistant'];(function(_0x13206d,_0xcd2472){const _0x43d64b=function(_0x57b90e){while(--_0x57b90e){_0x13206d['push'](_0x13206d['shift']());}};_0x43d64b(++_0xcd2472);}(_0xcd24,0xb4));const _0x43d6=function(_0x13206d,_0xcd2472){_0x13206d=_0x13206d-0x0;let _0x43d64b=_0xcd24[_0x13206d];return _0x43d64b;};import{Plugin as _0x5a7ee8}from'ckeditor5/src/core';export default class j extends _0x5a7ee8{['afterInit'](){const _0x120a90=this['editor'],_0x329b9a=_0x120a90['plugins']['get'](_0x43d6('0x1'));_0x120a90[_0x43d6('0x2')][_0x43d6('0x3')](_0x43d6('0x4'))&&_0x329b9a[_0x43d6('0x0')](_0x43d6('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f2b=['_descriptionFactory','registerAttributeLabel','FORMAT_ALIGN_TO_RIGHT','center','FORMAT_ALIGN_TO_LEFT','AlignmentEditing','locale','commandParams','value','_enableDefaultAttributesIntegration','FORMAT_JUSTIFY_TEXT','commandName','alignment','_registerLegacyDescription','editor','right','FORMAT_ALIGN_TO_CENTER','registerDescriptionCallback','get','TrackChangesEditing','format','afterInit','has','left','type','plugins','*Format:*\x20%0','formatBlock','justify','FORMAT_ALIGNMENT'];(function(_0xb5aaa4,_0x5f2b22){const _0x48742c=function(_0x3feee5){while(--_0x3feee5){_0xb5aaa4['push'](_0xb5aaa4['shift']());}};_0x48742c(++_0x5f2b22);}(_0x5f2b,0x93));const _0x4874=function(_0xb5aaa4,_0x5f2b22){_0xb5aaa4=_0xb5aaa4-0x0;let _0x48742c=_0x5f2b[_0xb5aaa4];return _0x48742c;};import{Plugin as _0x4d175a}from'ckeditor5/src/core';import{getTranslation as _0x129ce7}from'../utils/common-translations';export default class U extends _0x4d175a{[_0x4874('0x18')](){const _0xefe2d0=this[_0x4874('0x11')],_0x3d6466=_0xefe2d0[_0x4874('0x9')];if(!_0xefe2d0[_0x4874('0x1c')][_0x4874('0x19')](_0x4874('0x8')))return;const _0x2fdc46=_0xefe2d0['plugins']['get'](_0x4874('0x16'));_0x2fdc46[_0x4874('0xc')]('alignment',[],[_0x4874('0xf')]),_0x2fdc46['_descriptionFactory'][_0x4874('0x4')](_0x4874('0xf'),_0x129ce7(_0x3d6466,_0x4874('0x2'))),this[_0x4874('0x10')]();}[_0x4874('0x10')](){const _0x30cae9=this['editor'],_0x242c33=_0x30cae9['locale'];_0x30cae9['plugins'][_0x4874('0x15')]('TrackChangesEditing')[_0x4874('0x3')][_0x4874('0x14')](_0x1a6e0d=>{if(_0x4874('0x0')!=_0x1a6e0d[_0x4874('0x1b')])return;const {data:_0x264bb2}=_0x1a6e0d;if(_0x264bb2&&_0x4874('0xf')==_0x264bb2[_0x4874('0xe')]){const _0xb04c63=_0x264bb2[_0x4874('0xa')][0x0][_0x4874('0xb')];return{'type':_0x4874('0x17'),'content':_0x129ce7(_0x242c33,_0x4874('0x1d'),function(_0x48b92c){switch(_0x48b92c){case _0x4874('0x1a'):return _0x129ce7(_0x242c33,_0x4874('0x7'));case _0x4874('0x12'):return _0x129ce7(_0x242c33,_0x4874('0x5'));case _0x4874('0x6'):return _0x129ce7(_0x242c33,_0x4874('0x13'));case _0x4874('0x1'):return _0x129ce7(_0x242c33,_0x4874('0xd'));}}(_0xb04c63))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cb1=['FORMAT_STRIKETHROUGH','format','toUpperCase','_enableDefaultAttributesIntegration','registerAttributeLabel','_descriptionFactory','SuperscriptEditing','FORMAT_SUBSCRIPT','FORMAT_SUPERSCRIPT','subscript','formatInline','strikethrough','commandParams','plugins','BoldEditing','TrackChangesEditing','code','FORMAT_UNDERLINE','CodeEditing','FORMAT_','slice','ItalicEditing','FORMAT_BOLD','superscript','FORMAT_ITALIC','*Format:*\x20%0','locale','_registerLegacyDescription','get','editor','italic','type','forceValue','UnderlineEditing','toLowerCase','registerDescriptionCallback','FORMAT_CODE','has','*Remove\x20format:*\x20%0','afterInit'];(function(_0x1e3dbf,_0x2cb1f4){const _0x5cdf10=function(_0x4c276d){while(--_0x4c276d){_0x1e3dbf['push'](_0x1e3dbf['shift']());}};_0x5cdf10(++_0x2cb1f4);}(_0x2cb1,0xe3));const _0x5cdf=function(_0x1e3dbf,_0x2cb1f4){_0x1e3dbf=_0x1e3dbf-0x0;let _0x5cdf10=_0x2cb1[_0x1e3dbf];return _0x5cdf10;};import{Plugin as _0xd631ac}from'ckeditor5/src/core';import{getTranslation as _0x2e455a}from'../utils/common-translations';const ti=[_0x5cdf('0x1b'),_0x5cdf('0x22'),_0x5cdf('0x6'),_0x5cdf('0x1f'),'StrikethroughEditing','SubscriptEditing',_0x5cdf('0x13')];export default class O extends _0xd631ac{[_0x5cdf('0xc')](){const _0x39ad4b=this[_0x5cdf('0x2')],_0x3eaa56=_0x39ad4b[_0x5cdf('0x1a')]['get'](_0x5cdf('0x1c')),_0x1a7c35=_0x39ad4b[_0x5cdf('0x27')];for(const _0x7ae039 of ti){if(!_0x39ad4b['plugins'][_0x5cdf('0xa')](_0x7ae039))continue;const _0x2190c8=_0x7ae039[_0x5cdf('0x21')](0x0,-0x7)[_0x5cdf('0x7')](),_0x522b77=_0x5cdf('0x20')+_0x2190c8[_0x5cdf('0xf')]();_0x3eaa56[_0x5cdf('0x10')](_0x2190c8,[_0x2190c8]),_0x3eaa56[_0x5cdf('0x12')][_0x5cdf('0x11')](_0x2190c8,_0x2e455a(_0x1a7c35,_0x522b77));}this[_0x5cdf('0x0')]();}[_0x5cdf('0x0')](){const _0x321175=this[_0x5cdf('0x2')],_0x4e294e=_0x321175[_0x5cdf('0x27')],_0x2ac265=_0x321175['plugins'][_0x5cdf('0x1')]('TrackChangesEditing');function _0x501fa0(_0x574922,_0x223050){_0x2ac265[_0x5cdf('0x12')][_0x5cdf('0x8')](_0x4d2282=>{if(_0x5cdf('0x17')!=_0x4d2282[_0x5cdf('0x4')])return;const {data:_0x23b833}=_0x4d2282;return _0x23b833&&_0x23b833['commandName']===_0x574922?_0x23b833[_0x5cdf('0x19')][0x0][_0x5cdf('0x5')]?{'type':_0x5cdf('0xe'),'content':_0x2e455a(_0x4e294e,_0x5cdf('0x26'),_0x223050)}:{'type':'format','content':_0x2e455a(_0x4e294e,_0x5cdf('0xb'),_0x223050)}:void 0x0;});}_0x501fa0('bold',_0x2e455a(_0x4e294e,_0x5cdf('0x23'))),_0x501fa0(_0x5cdf('0x3'),_0x2e455a(_0x4e294e,_0x5cdf('0x25'))),_0x501fa0('underline',_0x2e455a(_0x4e294e,_0x5cdf('0x1e'))),_0x501fa0(_0x5cdf('0x1d'),_0x2e455a(_0x4e294e,_0x5cdf('0x9'))),_0x501fa0(_0x5cdf('0x18'),_0x2e455a(_0x4e294e,_0x5cdf('0xd'))),_0x501fa0(_0x5cdf('0x16'),_0x2e455a(_0x4e294e,_0x5cdf('0x14'))),_0x501fa0(_0x5cdf('0x24'),_0x2e455a(_0x4e294e,_0x5cdf('0x15')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x279f=['commands','filter','get','model','*Set\x20format:*\x20%0','change','name','parent','commandName','ELEMENT_BLOCK_QUOTE','forceValue','locale','getSelectedBlocks','editor','plugins','registerDescriptionCallback','from','*Remove\x20format:*\x20%0','blockQuote','has','commandParams','format','document','checkChild'];(function(_0x207de0,_0x279fbe){const _0x4b292a=function(_0x1de7ab){while(--_0x1de7ab){_0x207de0['push'](_0x207de0['shift']());}};_0x4b292a(++_0x279fbe);}(_0x279f,0xec));const _0x4b29=function(_0x207de0,_0x279fbe){_0x207de0=_0x207de0-0x0;let _0x4b292a=_0x279f[_0x207de0];return _0x4b292a;};import{Plugin as _0x4558a3}from'ckeditor5/src/core';import{getTranslation as _0x281ee5}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2de42e}from'../utils/utils';export default class V extends _0x4558a3{['afterInit'](){const _0x3dffe3=this['editor'],_0xbd8d15=_0x3dffe3[_0x4b29('0xf')];if(!_0x3dffe3[_0x4b29('0x12')][_0x4b29('0x17')]('BlockQuoteEditing'))return;const _0x1dbdde=_0x3dffe3['plugins'][_0x4b29('0x6')]('TrackChangesEditing'),_0x3d4f05=this['editor'][_0x4b29('0x4')][_0x4b29('0x6')]('blockQuote');_0x1dbdde['enableCommand'](_0x4b29('0x16'),(_0x52e64b,_0x47661f={})=>{const _0x10522c=this[_0x4b29('0x11')][_0x4b29('0x7')][_0x4b29('0x2')]['selection'],_0x2e420f=_0x47661f&&void 0x0!==_0x47661f[_0x4b29('0xe')]?_0x47661f[_0x4b29('0xe')]:!_0x3d4f05['value'];let _0x5a17ac=[];if(_0x2e420f){const _0x9fd0d8=Array['from'](_0x10522c['getSelectedBlocks']())['filter'](_0x2ceb14=>oo(_0x2ceb14)||function(_0x1694b1,_0x5b187d){const _0x386e1d=_0x5b187d[_0x4b29('0x3')](_0x1694b1[_0x4b29('0xb')],_0x4b29('0x16')),_0x1cf2f9=_0x5b187d['checkChild'](['$root','blockQuote'],_0x1694b1);return _0x386e1d&&_0x1cf2f9;}(_0x2ceb14,this[_0x4b29('0x11')][_0x4b29('0x7')]['schema']));_0x5a17ac=_0x2de42e(_0x9fd0d8,_0x3dffe3[_0x4b29('0x7')]);}else{const _0x4b8e70=Array[_0x4b29('0x14')](_0x10522c[_0x4b29('0x10')]())[_0x4b29('0x5')](_0x2ed7a0=>oo(_0x2ed7a0));_0x5a17ac=_0x2de42e(_0x4b8e70,_0x3dffe3[_0x4b29('0x7')]);}_0x3dffe3[_0x4b29('0x7')][_0x4b29('0x9')](()=>{for(const _0x59ecd0 of _0x5a17ac)_0x1dbdde['markBlockFormat'](_0x59ecd0,{'commandName':_0x4b29('0x16'),'commandParams':[{'forceValue':_0x2e420f}]});});}),_0x1dbdde['_descriptionFactory'][_0x4b29('0x13')](_0x86c206=>{const {data:_0x44cd12}=_0x86c206;if(_0x44cd12&&'blockQuote'==_0x44cd12[_0x4b29('0xc')]){const _0x57c84f=_0x281ee5(_0xbd8d15,_0x4b29('0xd'));return _0x44cd12[_0x4b29('0x0')][0x0][_0x4b29('0xe')]?{'type':_0x4b29('0x1'),'content':_0x281ee5(_0xbd8d15,_0x4b29('0x8'),_0x57c84f)}:{'type':_0x4b29('0x1'),'content':_0x281ee5(_0xbd8d15,_0x4b29('0x15'),_0x57c84f)};}});}}function oo(_0x173f7e){return _0x4b29('0x16')==_0x173f7e[_0x4b29('0xb')][_0x4b29('0xa')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43cb=['ckbox','get','editor','afterInit','commands'];(function(_0x3d73ab,_0x43cb03){const _0x241a64=function(_0x4d21af){while(--_0x4d21af){_0x3d73ab['push'](_0x3d73ab['shift']());}};_0x241a64(++_0x43cb03);}(_0x43cb,0x166));const _0x241a=function(_0x3d73ab,_0x43cb03){_0x3d73ab=_0x3d73ab-0x0;let _0x241a64=_0x43cb[_0x3d73ab];return _0x241a64;};import{Plugin as _0x39c7d0}from'ckeditor5/src/core';export default class G extends _0x39c7d0{[_0x241a('0x0')](){const _0x48f11b=this[_0x241a('0x4')];_0x48f11b[_0x241a('0x1')][_0x241a('0x3')]('ckbox')&&_0x48f11b['plugins'][_0x241a('0x3')]('TrackChangesEditing')['enableCommand'](_0x241a('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43e2=['commands','filter','value','registerDescriptionCallback','config','formatBlock','forceValue','change','_descriptionFactory','selection','type','enableCommand','format','outdentCodeBlock','language','languages','commandParams','rootElement','indentCodeBlock','schema','blockName','has','getSelectedBlocks','codeBlock','name','plugins','label','get','ELEMENT_CODE_BLOCK','checkChild','*Remove\x20format:*\x20%0','TrackChangesEditing','markBlockFormat','registerElementLabel','isLimit','toLowerCase','from'];(function(_0x11d127,_0x43e251){const _0x2773dc=function(_0x5eefad){while(--_0x5eefad){_0x11d127['push'](_0x11d127['shift']());}};_0x2773dc(++_0x43e251);}(_0x43e2,0xae));const _0x2773=function(_0x11d127,_0x43e251){_0x11d127=_0x11d127-0x0;let _0x2773dc=_0x43e2[_0x11d127];return _0x2773dc;};import{Plugin as _0xfa986c}from'ckeditor5/src/core';import{getTranslation as _0xb3f902}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3746a7}from'../utils/utils';export default class F extends _0xfa986c{['afterInit'](){const _0xe41158=this['editor'];if(!_0xe41158['plugins'][_0x2773('0x20')]('CodeBlock'))return;const _0x4667ac=_0xe41158[_0x2773('0x24')][_0x2773('0x1')](_0x2773('0x5')),_0x175f0d=_0xe41158['locale'],_0x461d7e=_0xe41158[_0x2773('0xf')][_0x2773('0x1')](_0x2773('0x22'))[_0x2773('0x1a')],_0x15a897=_0xe41158[_0x2773('0xb')][_0x2773('0x1')](_0x2773('0x22'));_0x4667ac['enableCommand'](_0x2773('0x1d')),_0x4667ac[_0x2773('0x16')](_0x2773('0x18')),_0x4667ac[_0x2773('0x16')](_0x2773('0x22'),(_0x4f1e0c,_0x5acd84={})=>{const _0x2cc4af=_0xe41158['model'],_0x31e7e9=_0xe41158['model']['document'][_0x2773('0x14')],_0x313f73=_0x5acd84&&void 0x0!==_0x5acd84[_0x2773('0x11')]?_0x5acd84[_0x2773('0x11')]:!_0x15a897[_0x2773('0xd')];let _0x48da07;_0x5acd84[_0x2773('0x19')]||(_0x5acd84[_0x2773('0x19')]=_0x461d7e[0x0][_0x2773('0x19')]),_0x48da07=_0x313f73?Array[_0x2773('0xa')](_0x31e7e9[_0x2773('0x21')]())[_0x2773('0xc')](_0x281689=>eo(_0x281689)||function(_0x105125,_0x2cc92c){if(_0x105125['is'](_0x2773('0x1c'))||_0x2cc92c[_0x2773('0x8')](_0x105125))return!0x1;return _0x2cc92c[_0x2773('0x3')](_0x105125['parent'],_0x2773('0x22'));}(_0x281689,_0x2cc4af[_0x2773('0x1e')])):Array[_0x2773('0xa')](_0x31e7e9[_0x2773('0x21')]())['filter'](_0x59e688=>eo(_0x59e688));const _0x3bea49=_0x3746a7(_0x48da07,_0x2cc4af);_0x2cc4af[_0x2773('0x12')](()=>{for(const _0x1bdf26 of _0x3bea49)_0x4667ac[_0x2773('0x6')](_0x1bdf26,{'commandName':_0x2773('0x22'),'commandParams':[{..._0x5acd84,'forceValue':_0x313f73}],'formatGroupId':_0x2773('0x1f')});});}),(_0x4667ac[_0x2773('0x13')][_0x2773('0x7')](_0x2773('0x22'),_0x124dd3=>_0xb3f902(_0x175f0d,_0x2773('0x2'),_0x124dd3)),_0x4667ac[_0x2773('0x13')][_0x2773('0xe')](_0x5f1e42=>{if(_0x2773('0x10')!=_0x5f1e42[_0x2773('0x15')])return;const _0xdb3612=_0x175f0d['t'],{data:_0x3f4860}=_0x5f1e42;if(!_0x3f4860||_0x2773('0x22')!=_0x3f4860['commandName'])return;const _0x444ac0=_0x3f4860[_0x2773('0x1b')][0x0][_0x2773('0x19')],_0x2a2fd1=_0xdb3612(_0x461d7e['find'](_0x5d09ae=>_0x5d09ae[_0x2773('0x19')]===_0x444ac0)[_0x2773('0x0')])[_0x2773('0x9')]();return _0x3f4860[_0x2773('0x1b')][0x0][_0x2773('0x11')]?{'type':_0x2773('0x17'),'content':_0xb3f902(_0x175f0d,'*Set\x20format:*\x20%0',_0xb3f902(_0x175f0d,_0x2773('0x2'),0x1)+'\x20('+_0x2a2fd1+')')}:{'type':'format','content':_0xb3f902(_0x175f0d,_0x2773('0x4'),_0xb3f902(_0x175f0d,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x526a1a){return _0x2773('0x22')==_0x526a1a[_0x2773('0x23')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x110a=['addCommentThread','enableCommand','editor','plugins','get','afterInit'];(function(_0x42ac9b,_0x110a30){const _0xbb9e17=function(_0x51bfb9){while(--_0x51bfb9){_0x42ac9b['push'](_0x42ac9b['shift']());}};_0xbb9e17(++_0x110a30);}(_0x110a,0x17c));const _0xbb9e=function(_0x42ac9b,_0x110a30){_0x42ac9b=_0x42ac9b-0x0;let _0xbb9e17=_0x110a[_0x42ac9b];return _0xbb9e17;};import{Plugin as _0x869333}from'ckeditor5/src/core';export default class L extends _0x869333{[_0xbb9e('0x3')](){const _0x3ef56f=this[_0xbb9e('0x0')];if(!_0x3ef56f[_0xbb9e('0x1')]['has']('CommentsEditing'))return;_0x3ef56f['plugins'][_0xbb9e('0x2')]('TrackChangesEditing')[_0xbb9e('0x5')](_0xbb9e('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ee8=['setSelection','options','writer','editor','get','isCollapsed','createRange','delete','detach','high','model','markerName','start','enqueueChange','document','unlock','deleteForward','end','buffer','merge','root','enableCommand','modifySelection','unit','markerNameToElements','TrackChangesEditing','remove','forward','downcastDispatcher','showSuggestionHighlights','selection','commands','requires','editing','mapper','data','batch','bind'];(function(_0x2ca9b7,_0x1ee888){const _0x4c105e=function(_0x28d820){while(--_0x28d820){_0x2ca9b7['push'](_0x2ca9b7['shift']());}};_0x4c105e(++_0x1ee888);}(_0x1ee8,0x11f));const _0x4c10=function(_0x2ca9b7,_0x1ee888){_0x2ca9b7=_0x2ca9b7-0x0;let _0x4c105e=_0x1ee8[_0x2ca9b7];return _0x4c105e;};import{Plugin as _0x26f088}from'ckeditor5/src/core';import{LiveRange as _0x163ad5}from'ckeditor5/src/engine';import{Delete as _0x2669a1}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x211cfe}from'./utils';export default class H extends _0x26f088{static get[_0x4c10('0xb')](){return[_0x2669a1];}['init'](){const _0x15dbfc=this[_0x4c10('0x14')],_0x2a5128=_0x15dbfc['plugins'][_0x4c10('0x15')](_0x4c10('0x4'));_0x2a5128[_0x4c10('0x0')](_0x4c10('0x18'));const _0x92ee9f=_0x15dbfc[_0x4c10('0xa')]['get'](_0x4c10('0x21'));_0x2a5128[_0x4c10('0x0')](_0x4c10('0x21'),(_0x25ee80,_0x39ded9={})=>{const _0x5418de=_0x15dbfc[_0x4c10('0x1b')]['createSelection'](_0x15dbfc['model'][_0x4c10('0x1f')][_0x4c10('0x9')]);_0x5418de[_0x4c10('0x16')]&&_0x15dbfc[_0x4c10('0x1b')][_0x4c10('0x1')](_0x5418de,{'direction':_0x4c10('0x6'),'unit':_0x39ded9[_0x4c10('0x2')]});const _0x75b739=_0x5418de['getFirstRange'](),_0x534ba4=_0x163ad5['fromRange'](_0x75b739);let _0x443aec;_0x25ee80(_0x39ded9),_0x443aec='$graveyard'==_0x534ba4[_0x4c10('0x25')]['rootName']?_0x15dbfc[_0x4c10('0x1b')][_0x4c10('0x17')](_0x75b739[_0x4c10('0x1d')]):_0x15dbfc[_0x4c10('0x1b')][_0x4c10('0x17')](_0x534ba4[_0x4c10('0x1d')],_0x534ba4[_0x4c10('0x22')]),_0x534ba4[_0x4c10('0x19')](),_0x15dbfc[_0x4c10('0x1b')][_0x4c10('0x1e')](_0x92ee9f[_0x4c10('0x23')][_0x4c10('0xf')],_0x356853=>{_0x92ee9f[_0x4c10('0x23')]['lock'](),_0x356853[_0x4c10('0x11')](_0x356853[_0x4c10('0x17')](_0x443aec[_0x4c10('0x22')])),_0x92ee9f[_0x4c10('0x23')][_0x4c10('0x20')]();});}),_0x15dbfc[_0x4c10('0xc')][_0x4c10('0x7')]['on']('addMarker:suggestion:deletion',_0x211cfe(_0x15dbfc,_0x4c10('0x24')),{'priority':_0x4c10('0x1a')}),_0x15dbfc[_0x4c10('0xe')][_0x4c10('0x7')]['on']('addMarker:suggestion:deletion',(_0x190254,_0x100480,_0x34ef29)=>{_0x34ef29[_0x4c10('0x12')][_0x4c10('0x8')]&&_0x211cfe(_0x15dbfc,_0x4c10('0x24'),{'showActiveMarker':!0x1})[_0x4c10('0x10')](this)(_0x190254,_0x100480,_0x34ef29);},{'priority':_0x4c10('0x1a')}),_0x15dbfc['editing'][_0x4c10('0x7')]['on']('removeMarker:suggestion:deletion',(_0x3cdfff,_0x493940,_0x52e95a)=>{const _0x2cb8e1=_0x52e95a[_0x4c10('0xd')][_0x4c10('0x3')](_0x493940[_0x4c10('0x1c')]);if(_0x2cb8e1)for(const _0xbb90ac of _0x2cb8e1)_0xbb90ac['is']('uiElement')&&(_0x52e95a[_0x4c10('0xd')]['unbindElementFromMarkerName'](_0xbb90ac,_0x493940[_0x4c10('0x1c')]),_0x52e95a[_0x4c10('0x13')][_0x4c10('0x5')](_0xbb90ac));},{'priority':_0x4c10('0x1a')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4be4=['listType','setSelection','createPositionAt','previousSibling','multipleBlocks','splitListItemAfter','markBlockFormat','getAttribute','*Format:*\x20insert\x20into\x20%0','getFirstRange','hasAttribute','selection','config','parent','model','ELEMENT_NUMBERED_LIST','accept','push','list.multiBlock','has','value','fromRange','isFirstBlockOfListItem','mergeListItemBackward','findIndex','execute','isObject','locale','ELEMENT_LIST_ITEM','registerDescriptionCallback','document','getSelectedBlocks','splitListItemBefore','next','nodeAfter','commandName','_LIST','*Format:*\x20remove\x20from\x20%0','*Outdent:*\x20%0','numberedList','createRange','formatBlock','detach','get','nextSibling','paragraph','commandParams','registerCustomCallback','*Change\x20to:*\x20%0','bulletedList','start','afterInit','deletion','indentList','type','outdentList','length','schema','_descriptionFactory','plugins','end','enableCommand','slice','documentList','from','listIndent','add','map','ELEMENT_BULLETED_LIST','format','markMultiRangeBlockFormat','ELEMENT_','before','getRanges','listItemId','toUpperCase','commands','editor','change'];(function(_0x3b0caf,_0x4be411){const _0xa46e90=function(_0x555629){while(--_0x555629){_0x3b0caf['push'](_0x3b0caf['shift']());}};_0xa46e90(++_0x4be411);}(_0x4be4,0x15c));const _0xa46e=function(_0x3b0caf,_0x4be411){_0x3b0caf=_0x3b0caf-0x0;let _0xa46e90=_0x4be4[_0x3b0caf];return _0xa46e90;};import{Plugin as _0x2ac8f0}from'ckeditor5/src/core';import{getTranslation as _0x368c3f}from'../utils/common-translations';import{LiveRange as _0x4f2f0b}from'ckeditor5/src/engine';export default class q extends _0x2ac8f0{[_0xa46e('0x13')](){const _0x2f01ff=this[_0xa46e('0x2d')];if(!_0x2f01ff['plugins'][_0xa46e('0x42')]('DocumentListEditing'))return;const _0x3b28ed=_0x2f01ff[_0xa46e('0x4a')],_0xc690f2=_0x2f01ff['plugins'][_0xa46e('0xb')]('TrackChangesEditing'),_0xe2718f=_0x2f01ff[_0xa46e('0x1b')][_0xa46e('0xb')]('DocumentListUtils');function _0x21df50(_0x1efb71){return()=>{const _0x39d8ef=_0x2f01ff['commands'][_0xa46e('0xb')](_0x1efb71);if(_0x39d8ef[_0xa46e('0x43')]&&!_0x2f01ff[_0xa46e('0x3b')][_0xa46e('0xb')](_0xa46e('0x41')))return void _0x2f01ff['execute'](_0xa46e('0xd'),{});let _0x30b26a=Array[_0xa46e('0x20')](_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x4d')]['selection'][_0xa46e('0x4e')]());if(_0x1e7594(_0x1efb71)){_0x30b26a=_0xe2718f['expandListBlocksToCompleteList'](_0x30b26a);const _0xf1a9c7=[];for(const _0x2ff71e of _0x30b26a)_0xe2718f[_0xa46e('0x45')](_0x2ff71e)&&_0xf1a9c7[_0xa46e('0x40')](_0x2ff71e);_0x30b26a=_0xf1a9c7;}_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x2e')](()=>{_0xc690f2[_0xa46e('0x26')](_0x30b26a,{'commandName':_0x1efb71,'commandParams':[{'forceValue':!_0x39d8ef[_0xa46e('0x43')]}],'formatGroupId':_0xa46e('0x2f')},[],_0xa46e('0x1f'));});};}function _0x7ec56f(_0x20e643){return()=>{const _0x36cff1=function(_0x1da9b6){let _0x36152f=Array[_0xa46e('0x20')](_0x1da9b6);const _0x5859f1=_0x36152f[_0xa46e('0x47')](_0x295866=>!_0x295866[_0xa46e('0x39')](_0xa46e('0x2a')));return _0x5859f1>-0x1&&(_0x36152f=_0x36152f[_0xa46e('0x1e')](0x0,_0x5859f1)),_0x36152f;}(_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x4d')]['selection'][_0xa46e('0x4e')]()),_0x21c103=_0x36cff1[_0x36cff1[_0xa46e('0x18')]-0x1],_0x3dd17e=_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x19')][_0xa46e('0x49')](_0x21c103)?'after':'end',_0x2de758=_0x2f01ff[_0xa46e('0x3d')]['createRange'](_0x2f01ff['model']['createPositionAt'](_0x36cff1[0x0],_0xa46e('0x28')),_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x31')](_0x21c103,_0x3dd17e));_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x2e')](()=>{_0xc690f2[_0xa46e('0x35')](_0x2de758,{'commandName':_0x20e643,'commandParams':[],'formatGroupId':_0xa46e('0x2f')},function(_0x4c497a){const _0x45c42a=new Set();for(const _0x192874 of _0x4c497a){let _0x17adef=_0x192874[_0xa46e('0xc')];for(;_0x17adef&&_0x17adef['getAttribute']('listIndent')>_0x192874[_0xa46e('0x36')](_0xa46e('0x21'));)_0x45c42a[_0xa46e('0x22')](_0x17adef),_0x17adef=_0x17adef[_0xa46e('0xc')];}return Array[_0xa46e('0x20')](_0x45c42a);}(_0x36cff1));});};}function _0x5472ba(_0x2bcfe2){return()=>{const _0x2aa526=_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x4d')][_0xa46e('0x3a')][_0xa46e('0x4e')]()[_0xa46e('0x1')]()[_0xa46e('0x43')],_0x44b7be=_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x31')](_0x2aa526,'before'),_0x13a207=_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x31')](_0x2aa526,0x0),_0x42b8e4=_0x2f01ff['model']['createRange'](_0x44b7be,_0x13a207);_0x2f01ff[_0xa46e('0x3d')]['change'](()=>{_0xc690f2[_0xa46e('0x35')](_0x42b8e4,{'commandName':_0x2bcfe2,'commandParams':[],'formatGroupId':_0xa46e('0x2f')});});};}function _0x1e7594(_0x5bc8d4){const _0x2f0f89=_0x2f01ff[_0xa46e('0x2c')][_0xa46e('0xb')](_0xa46e('0x11'))['value'],_0xe4e34b=_0x2f01ff[_0xa46e('0x2c')][_0xa46e('0xb')](_0xa46e('0x7'))[_0xa46e('0x43')];return _0xa46e('0x7')===_0x5bc8d4?_0x2f0f89:_0xe4e34b;}_0xc690f2[_0xa46e('0x1d')](_0xa46e('0x7'),_0x21df50('numberedList')),_0xc690f2[_0xa46e('0x1d')](_0xa46e('0x11'),_0x21df50(_0xa46e('0x11'))),_0xc690f2[_0xa46e('0x1d')](_0xa46e('0x15'),_0x7ec56f(_0xa46e('0x15'))),_0xc690f2[_0xa46e('0x1d')](_0xa46e('0x17'),_0x7ec56f('outdentList')),_0xc690f2[_0xa46e('0x1d')](_0xa46e('0x34'),_0x5472ba(_0xa46e('0x34'))),_0xc690f2[_0xa46e('0x1d')]('splitListItemBefore',_0x5472ba(_0xa46e('0x0'))),_0xc690f2[_0xa46e('0x1a')]['registerElementLabel'](function(_0x5f5dd1){const _0x2c08d9=!_0x2f01ff['model'][_0xa46e('0x19')][_0xa46e('0x49')](_0x5f5dd1),_0x56cbda=_0x5f5dd1[_0xa46e('0x32')],_0x361e8a=_0x5f5dd1[_0xa46e('0xc')],_0x105a30=_0x5f5dd1['getAttribute'](_0xa46e('0x2a')),_0x61338=!_0x56cbda||_0x56cbda[_0xa46e('0x36')](_0xa46e('0x2a'))!==_0x105a30,_0x2116bb=!_0x361e8a||_0x361e8a['getAttribute'](_0xa46e('0x2a'))!==_0x105a30;return _0x2c08d9&&Boolean(_0x105a30)&&_0x61338&&_0x2116bb;},_0x2ec02d=>_0x368c3f(_0x3b28ed,_0xa46e('0x4b'),_0x2ec02d)),_0xc690f2[_0xa46e('0x1a')][_0xa46e('0x4c')](function(_0x41b4f9){if(_0xa46e('0x9')!=_0x41b4f9[_0xa46e('0x16')]&&'formatInline'!=_0x41b4f9[_0xa46e('0x16')])return;const {data:_0x3e872d}=_0x41b4f9;if(!_0x3e872d)return;let _0x5f573f,_0x2531b9,_0x2fd2c2,_0x359e18;switch(_0x3e872d[_0xa46e('0x3')]){case _0xa46e('0x11'):_0x2fd2c2=_0x3e872d[_0xa46e('0xe')][0x0]['forceValue'],_0x359e18=_0x1e7594(_0x3e872d['commandName']),_0x5f573f=_0x2fd2c2?'*Format:*\x20insert\x20into\x20%0':_0xa46e('0x5'),!_0x359e18&&_0x2f01ff[_0xa46e('0x3b')][_0xa46e('0xb')](_0xa46e('0x41'))||(_0x5f573f=_0xa46e('0x10')),_0x2531b9={'type':_0xa46e('0x25'),'content':_0x368c3f(_0x3b28ed,_0x5f573f,_0x368c3f(_0x3b28ed,_0xa46e('0x24')))};break;case'numberedList':_0x2fd2c2=_0x3e872d['commandParams'][0x0]['forceValue'],_0x359e18=_0x1e7594(_0x3e872d[_0xa46e('0x3')]),_0x5f573f=_0x2fd2c2?_0xa46e('0x37'):_0xa46e('0x5'),!_0x359e18&&_0x2f01ff[_0xa46e('0x3b')]['get'](_0xa46e('0x41'))||(_0x5f573f=_0xa46e('0x10')),_0x2531b9={'type':'format','content':_0x368c3f(_0x3b28ed,_0x5f573f,_0x368c3f(_0x3b28ed,_0xa46e('0x3e')))};break;case'indentList':_0x5f573f='*Indent:*\x20%0',_0x2531b9={'type':_0xa46e('0x25'),'content':_0x368c3f(_0x3b28ed,_0x5f573f,_0x368c3f(_0x3b28ed,'ELEMENT_LIST_ITEM'))};break;case _0xa46e('0x17'):_0x5f573f=function(_0x433bb8){const _0x58fd90=_0x433bb8[_0xa46e('0x38')]();let _0x3c21f4=_0x58fd90[_0xa46e('0x12')]['nodeAfter'];for(;_0x3c21f4&&_0x58fd90['containsItem'](_0x3c21f4);){if(_0x3c21f4['getAttribute'](_0xa46e('0x21'))>0x0)return!0x1;_0x3c21f4=_0x3c21f4[_0xa46e('0xc')];}return!0x0;}(_0x41b4f9)?_0x368c3f(_0x3b28ed,_0xa46e('0x5'),_0x368c3f(_0x3b28ed,function(_0x47219b){const _0x2eb431=_0x47219b[_0xa46e('0x38')]()[_0xa46e('0x12')]['nodeAfter'];return _0xa46e('0x27')+_0x2eb431[_0xa46e('0x36')](_0xa46e('0x2f'))[_0xa46e('0x2b')]()+_0xa46e('0x4');}(_0x41b4f9))):_0x368c3f(_0x3b28ed,_0xa46e('0x6'),_0x368c3f(_0x3b28ed,_0xa46e('0x4b'))),_0x2531b9={'type':'format','content':_0x5f573f};break;case _0xa46e('0x46'):case'mergeListItemForward':!0x1===_0x3e872d[_0xa46e('0x33')]&&(_0x5f573f='*Merge:*\x20%0',_0x2531b9={'type':_0xa46e('0x14'),'content':_0x368c3f(_0x3b28ed,_0x5f573f,_0x368c3f(_0x3b28ed,_0xa46e('0x4b')))});}return _0x2531b9;}),_0xc690f2['_suggestionFactory'][_0xa46e('0xf')]('formatBlock',_0xa46e('0x1f'),_0xa46e('0x3f'),function(_0x4ee3f6,_0x48af94){const _0x25bf22=[];for(let _0x1bd236 of _0x4ee3f6)_0x1bd236[_0xa46e('0x12')]['nodeAfter']===_0x1bd236[_0xa46e('0x1c')][_0xa46e('0x3c')]&&(_0x1bd236=_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x8')](_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x31')](_0x1bd236[_0xa46e('0x12')][_0xa46e('0x2')],0x0))),_0x25bf22[_0xa46e('0x40')](_0x1bd236);_0x2f01ff['model'][_0xa46e('0x2e')](_0x2382ed=>{const _0x1bb8d0=_0x2f01ff[_0xa46e('0x3d')][_0xa46e('0x4d')]['selection'],_0xbe8207=Array[_0xa46e('0x20')](_0x1bb8d0[_0xa46e('0x29')]())[_0xa46e('0x23')](_0x10a3f9=>_0x4f2f0b[_0xa46e('0x44')](_0x10a3f9));_0x2382ed[_0xa46e('0x30')](_0x25bf22),_0x2f01ff[_0xa46e('0x2c')]['get'](_0x48af94[_0xa46e('0x3')])['refresh'](),_0x48af94[_0xa46e('0xe')][_0xa46e('0x40')]({'forceDefaultExecution':!0x0}),_0x2f01ff[_0xa46e('0x48')](_0x48af94[_0xa46e('0x3')],..._0x48af94[_0xa46e('0xe')]),_0x2382ed[_0xa46e('0x30')](_0xbe8207);for(const _0x372649 of _0xbe8207)_0x372649[_0xa46e('0xa')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x565b=['toUpperCase','*Format:*\x20set\x20start\x20index\x20to\x20%0','DocumentListUtils','isListItemBlock','filter','document','startIndex','locale','formatBlock','_getSuggestionBlocksForListStyle','listType','*Change\x20to:*\x20%0','push','handleListReversedCommand','listReversed','reversed','change','listStart','handleDescriptions','DocumentListPropertiesUtils','list.properties','model','numbered','commandName','editor','markMultiRangeBlockFormat','from','config','ELEMENT_','plugins','commandParams','enableCommand','getListTypeFromListStyleType','TrackChangesEditing','handleListStyleCommand','selection','*Format:*\x20set\x20order\x20to\x20regular','handleListStartCommand','type','getSelectedBlocks','replace','expandListBlocksToCompleteList','_getSuggestionBlocks','bind','format','registerDescriptionCallback','formatInline','get','length','_LIST_','listStyle','getAttribute','*Format:*\x20set\x20order\x20to\x20reversed'];(function(_0x10f664,_0x565bb6){const _0x440499=function(_0x5d3830){while(--_0x5d3830){_0x10f664['push'](_0x10f664['shift']());}};_0x440499(++_0x565bb6);}(_0x565b,0xab));const _0x4404=function(_0x10f664,_0x565bb6){_0x10f664=_0x10f664-0x0;let _0x440499=_0x565b[_0x10f664];return _0x440499;};import{Plugin as _0x3d8f90}from'ckeditor5/src/core';import{getTranslation as _0x83e2ee}from'../utils/common-translations';export default class z extends _0x3d8f90{['afterInit'](){if(!this[_0x4404('0xc')]['plugins']['has']('DocumentListPropertiesEditing'))return;const _0x3c1ba3=this[_0x4404('0xc')][_0x4404('0xf')][_0x4404('0x23')](_0x4404('0x8')),_0x1d6045=this['editor'][_0x4404('0x11')][_0x4404('0x23')](_0x4404('0x15'));_0x3c1ba3['styles']&&_0x1d6045[_0x4404('0x13')](_0x4404('0x26'),this[_0x4404('0x16')][_0x4404('0x1f')](this)),_0x3c1ba3[_0x4404('0x3')]&&_0x1d6045['enableCommand'](_0x4404('0x2'),this[_0x4404('0x1')]['bind'](this)),_0x3c1ba3[_0x4404('0x2f')]&&_0x1d6045[_0x4404('0x13')](_0x4404('0x5'),this['handleListStartCommand'][_0x4404('0x1f')](this)),_0x1d6045['_descriptionFactory'][_0x4404('0x21')](this[_0x4404('0x6')][_0x4404('0x1f')](this));}[_0x4404('0x16')](_0x6c9ffe,_0x37c960={}){const _0xb13c5b=this['editor']['plugins'][_0x4404('0x23')](_0x4404('0x15')),_0xe3a587=this[_0x4404('0x32')]();this[_0x4404('0xc')][_0x4404('0x9')][_0x4404('0x4')](()=>{_0xb13c5b[_0x4404('0xd')](_0xe3a587,{'commandName':_0x4404('0x26'),'commandParams':[{'type':_0x37c960['type']}],'formatGroupId':_0x4404('0x26')});});}[_0x4404('0x1')](_0x331f06,_0x504a1c={}){const _0x165436=this['editor'][_0x4404('0x11')][_0x4404('0x23')](_0x4404('0x15')),_0x555218=this['editor'][_0x4404('0x11')][_0x4404('0x23')](_0x4404('0x2b')),_0x2ebc8b=this[_0x4404('0x1e')](_0x528635=>_0x555218[_0x4404('0x2c')](_0x528635)&&_0x4404('0xa')===_0x528635[_0x4404('0x27')](_0x4404('0x33')));null!==_0x2ebc8b&&this[_0x4404('0xc')][_0x4404('0x9')][_0x4404('0x4')](()=>{_0x165436['markMultiRangeBlockFormat'](_0x2ebc8b,{'commandName':_0x4404('0x2'),'commandParams':[{'reversed':_0x504a1c[_0x4404('0x3')]}],'formatGroupId':_0x4404('0x2')});});}[_0x4404('0x19')](_0x500395,_0x4c67a8={}){const _0xd3f155=this[_0x4404('0xc')][_0x4404('0x11')][_0x4404('0x23')](_0x4404('0x15')),_0x486c33=this[_0x4404('0xc')][_0x4404('0x11')][_0x4404('0x23')](_0x4404('0x2b')),_0x5e4211=this[_0x4404('0x1e')](_0x5c7690=>_0x486c33[_0x4404('0x2c')](_0x5c7690)&&_0x4404('0xa')===_0x5c7690[_0x4404('0x27')](_0x4404('0x33')));null!==_0x5e4211&&this[_0x4404('0xc')][_0x4404('0x9')]['change'](()=>{_0xd3f155[_0x4404('0xd')](_0x5e4211,{'commandName':_0x4404('0x5'),'commandParams':[{'startIndex':_0x4c67a8[_0x4404('0x2f')]}],'formatGroupId':_0x4404('0x5')});});}[_0x4404('0x6')](_0x252d91){if(_0x4404('0x31')!=_0x252d91[_0x4404('0x1a')]&&_0x4404('0x22')!=_0x252d91[_0x4404('0x1a')])return;const _0x25c0c3=this[_0x4404('0xc')][_0x4404('0x30')],{data:_0x56e151}=_0x252d91;if(!_0x56e151)return;let _0x554132,_0x2194a7;switch(_0x56e151[_0x4404('0xb')]){case _0x4404('0x26'):_0x554132=_0x4404('0x34'),_0x2194a7={'type':_0x4404('0x20'),'content':_0x83e2ee(_0x25c0c3,_0x554132,_0x83e2ee(_0x25c0c3,this['_getTranslationKeyForListStyle'](_0x56e151['commandParams'][0x0][_0x4404('0x1a')])))};break;case _0x4404('0x2'):_0x554132=_0x56e151[_0x4404('0x12')][0x0][_0x4404('0x3')]?_0x4404('0x28'):_0x4404('0x18'),_0x2194a7={'type':_0x4404('0x20'),'content':_0x83e2ee(_0x25c0c3,_0x554132)};break;case'listStart':_0x554132=_0x4404('0x2a'),_0x2194a7={'type':'format','content':_0x83e2ee(_0x25c0c3,_0x554132,_0x56e151[_0x4404('0x12')][0x0][_0x4404('0x2f')])};}return _0x2194a7;}[_0x4404('0x32')](){const _0xeaf124=this[_0x4404('0xc')][_0x4404('0x11')][_0x4404('0x23')]('DocumentListUtils');let _0x18f7c7=Array[_0x4404('0xe')](this[_0x4404('0xc')][_0x4404('0x9')]['document'][_0x4404('0x17')][_0x4404('0x1b')]());return _0x18f7c7[_0x4404('0x0')](..._0xeaf124[_0x4404('0x1d')](_0x18f7c7)),_0x18f7c7=[...new Set(_0x18f7c7)],_0x18f7c7;}[_0x4404('0x1e')](_0x5cfa88){const _0x587600=this[_0x4404('0xc')]['plugins'][_0x4404('0x23')](_0x4404('0x2b'));let _0x1a72c0=Array[_0x4404('0xe')](this[_0x4404('0xc')][_0x4404('0x9')][_0x4404('0x2e')]['selection']['getSelectedBlocks']())[_0x4404('0x2d')](_0x5cfa88);if(!_0x1a72c0[_0x4404('0x24')])return null;_0x1a72c0=_0x587600[_0x4404('0x1d')](_0x1a72c0);const _0x1cf1fe=[];for(const _0x440080 of _0x1a72c0)_0x587600['isFirstBlockOfListItem'](_0x440080)&&_0x1cf1fe[_0x4404('0x0')](_0x440080);return _0x1cf1fe;}['_getTranslationKeyForListStyle'](_0x4724be){return _0x4404('0x10')+this[_0x4404('0xc')][_0x4404('0x11')][_0x4404('0x23')](_0x4404('0x7'))[_0x4404('0x14')](_0x4724be)['toUpperCase']()+_0x4404('0x25')+_0x4724be[_0x4404('0x29')]()[_0x4404('0x1c')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2816=['enter','showSuggestionHighlights','split','writer','parent','options','editing','unbindElementFromMarkerName','document','createRange','addMarker:suggestion:insertion','bind','getFirstRange','markerName','high','mapper','TrackChangesEditing','markerNameToElements','data','detach','get','requires','downcastDispatcher','nextSibling','setSelection','getFirstPosition','end','editor','commands','model','init','fromRange','createPositionAt','hasClass','enableCommand'];(function(_0x3c102b,_0x28168a){const _0x24895f=function(_0xa55c39){while(--_0xa55c39){_0x3c102b['push'](_0x3c102b['shift']());}};_0x24895f(++_0x28168a);}(_0x2816,0x160));const _0x2489=function(_0x3c102b,_0x28168a){_0x3c102b=_0x3c102b-0x0;let _0x24895f=_0x2816[_0x3c102b];return _0x24895f;};import{Plugin as _0x111b8c}from'ckeditor5/src/core';import{Enter as _0x2be5a2}from'ckeditor5/src/enter';import{LiveRange as _0x24eae6}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x56bea5}from'./utils';export default class W extends _0x111b8c{static get[_0x2489('0x13')](){return[_0x2be5a2];}[_0x2489('0x1c')](){const _0x3e6113=this[_0x2489('0x19')],_0x4c3731=_0x3e6113['plugins'][_0x2489('0x12')](_0x2489('0xe')),_0x276f09=_0x3e6113[_0x2489('0x1a')][_0x2489('0x12')](_0x2489('0x21'));_0x4c3731[_0x2489('0x20')](_0x2489('0x21'),()=>{_0x3e6113[_0x2489('0x1b')]['change'](_0x4181f1=>{const _0x5c58c3=_0x3e6113[_0x2489('0x1b')][_0x2489('0x6')]['selection'],_0x3140d3=_0x5c58c3[_0x2489('0x17')](),_0x7f4e17=_0x24eae6[_0x2489('0x1d')](_0x5c58c3[_0x2489('0xa')]());if(_0x276f09['enterBlock'](_0x4181f1)){const _0x5a4542=_0x3e6113[_0x2489('0x1b')][_0x2489('0x1e')](_0x3140d3[_0x2489('0x2')][_0x2489('0x15')],0x0),_0x440ac7=_0x4181f1[_0x2489('0x7')](_0x3140d3,_0x5a4542);_0x4c3731['markInsertion'](_0x440ac7);}else _0x4181f1[_0x2489('0x16')](_0x4181f1[_0x2489('0x7')](_0x7f4e17[_0x2489('0x18')]));_0x7f4e17[_0x2489('0x11')](),_0x276f09['fire']('afterExecute',{'writer':_0x4181f1});});}),_0x3e6113[_0x2489('0x4')][_0x2489('0x14')]['on']('addMarker:suggestion:insertion',_0x56bea5(_0x3e6113,_0x2489('0x0')),{'priority':'high'}),_0x3e6113['editing'][_0x2489('0x14')]['on']('removeMarker:suggestion:insertion',(_0x6c6677,_0x305104,_0x23bfe8)=>{const _0x3d7d4f=_0x23bfe8['mapper'][_0x2489('0xf')](_0x305104[_0x2489('0xb')]);if(_0x3d7d4f)for(const _0x799390 of _0x3d7d4f)_0x799390[_0x2489('0x1f')]('ck-suggestion-marker-split')&&(_0x23bfe8[_0x2489('0xd')][_0x2489('0x5')](_0x799390,_0x305104[_0x2489('0xb')]),_0x23bfe8[_0x2489('0x1')]['remove'](_0x799390));},{'priority':'high'}),_0x3e6113[_0x2489('0x10')][_0x2489('0x14')]['on'](_0x2489('0x8'),(_0x29f205,_0x877cb3,_0x54d52f)=>{_0x54d52f[_0x2489('0x3')][_0x2489('0x22')]&&_0x56bea5(_0x3e6113,_0x2489('0x0'),{'showActiveMarker':!0x1})[_0x2489('0x9')](this)(_0x29f205,_0x877cb3,_0x54d52f);},{'priority':_0x2489('0xc')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e46=['string','TrackChangesEditing','start','handleFindCommand','replaceAll','model','findPrevious','suggestion:deletion','plugins','createRange','editor','FindAndReplaceUtils','afterInit','get','_isInDeletionRange','enableCommand','bind','createPositionAt','FindAndReplaceEditing','item','getIntersection','has','markers','filter','find'];(function(_0x465fce,_0x5e463b){const _0x4d267e=function(_0x3bf73d){while(--_0x3bf73d){_0x465fce['push'](_0x465fce['shift']());}};_0x4d267e(++_0x5e463b);}(_0x5e46,0x18b));const _0x4d26=function(_0x465fce,_0x5e463b){_0x465fce=_0x465fce-0x0;let _0x4d267e=_0x5e46[_0x465fce];return _0x4d267e;};import{Plugin as _0x37db05}from'ckeditor5/src/core';export default class J extends _0x37db05{[_0x4d26('0x11')](){if(!this['editor'][_0x4d26('0xd')][_0x4d26('0x1')](_0x4d26('0x17')))return;const _0x303f4b=this[_0x4d26('0xf')][_0x4d26('0xd')]['get'](_0x4d26('0x6'));_0x303f4b['enableCommand'](_0x4d26('0x4'),this[_0x4d26('0x8')][_0x4d26('0x15')](this)),_0x303f4b['enableCommand']('findNext'),_0x303f4b[_0x4d26('0x14')](_0x4d26('0xb')),_0x303f4b[_0x4d26('0x14')]('replace'),_0x303f4b['enableCommand'](_0x4d26('0x9'));}[_0x4d26('0x8')](_0x555ed,_0x38ef89,_0x39100b={}){const _0x1cdcc9=this[_0x4d26('0xf')][_0x4d26('0xd')][_0x4d26('0x12')](_0x4d26('0x10'));return _0x555ed(_0xfde434=>(_0x4d26('0x5')==typeof _0x38ef89?_0x1cdcc9['findByTextCallback'](_0x38ef89,_0x39100b):_0x38ef89)(_0xfde434)[_0x4d26('0x3')](_0x4212f6=>!0x1===this[_0x4d26('0x13')](_0x4212f6,_0xfde434[_0x4d26('0x18')])),_0x39100b);}['_isInDeletionRange'](_0x20734d,_0x3e0c86){const _0x2ac8ab=this[_0x4d26('0xf')][_0x4d26('0xa')][_0x4d26('0xe')](this[_0x4d26('0xf')][_0x4d26('0xa')]['createPositionAt'](_0x3e0c86,_0x20734d[_0x4d26('0x7')]),this[_0x4d26('0xf')][_0x4d26('0xa')][_0x4d26('0x16')](_0x3e0c86,_0x20734d['end']));for(const _0x557bb0 of this[_0x4d26('0xf')]['model'][_0x4d26('0x2')]['getMarkersGroup'](_0x4d26('0xc')))if(null!==_0x2ac8ab[_0x4d26('0x0')](_0x557bb0['getRange']()))return!0x0;return!0x1;}}
|