@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231128.0 → 0.0.0-nightly-20231130.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/CHANGELOG.md +15 -15
- package/README.md +1 -1
- 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-20231130.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-20231130.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231130.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 _0xd888=['track-changes-accept-suggestion-not-found','getRanges','canEditAt','plugins','model','acceptSuggestion','execute','refresh','TrackChangesEditing','_suggestions','get','_isEnabledBasedOnSelection','editor'];(function(_0x3103b2,_0xd88843){const _0x7248c3=function(_0x3d274d){while(--_0x3d274d){_0x3103b2['push'](_0x3103b2['shift']());}};_0x7248c3(++_0xd88843);}(_0xd888,0x132));const _0x7248=function(_0x3103b2,_0xd88843){_0x3103b2=_0x3103b2-0x0;let _0x7248c3=_0xd888[_0x3103b2];return _0x7248c3;};import{Command as _0x2c6bd4}from'ckeditor5/src/core';import{CKEditorError as _0x18d4c7}from'ckeditor5/src/utils';export default class B extends _0x2c6bd4{constructor(_0x2735ca,_0x259842){super(_0x2735ca),this[_0x7248('0x2')]=_0x259842,this[_0x7248('0x0')](),this[_0x7248('0x4')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x7248('0xc')](_0xd19781){const _0x2fa320=this[_0x7248('0x2')]['get'](_0xd19781);if(!_0x2fa320)throw new _0x18d4c7(_0x7248('0x6'),this);const _0x141121=_0x2fa320[_0x7248('0x7')]();this[_0x7248('0x5')][_0x7248('0xa')][_0x7248('0x8')](_0x141121)&&this[_0x7248('0x5')][_0x7248('0x9')][_0x7248('0x3')](_0x7248('0x1'))[_0x7248('0xb')](_0x2fa320);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3790=['discardSuggestion','get','_suggestions','refresh','isEnabled','getRanges','editor','model','_isEnabledBasedOnSelection','plugins','TrackChangesEditing'];(function(_0x3e0c3e,_0x3790d3){const _0x2398d3=function(_0x3ee13a){while(--_0x3ee13a){_0x3e0c3e['push'](_0x3e0c3e['shift']());}};_0x2398d3(++_0x3790d3);}(_0x3790,0x168));const _0x2398=function(_0x3e0c3e,_0x3790d3){_0x3e0c3e=_0x3e0c3e-0x0;let _0x2398d3=_0x3790[_0x3e0c3e];return _0x2398d3;};import{Command as _0x90ca3b}from'ckeditor5/src/core';import{CKEditorError as _0x2f012f}from'ckeditor5/src/utils';export default class x extends _0x90ca3b{constructor(_0x3edb40,_0x491b50){super(_0x3edb40),this[_0x2398('0x5')]=_0x491b50,this[_0x2398('0x6')](),this[_0x2398('0x0')]=!0x1;}[_0x2398('0x6')](){this[_0x2398('0x7')]=!0x0;}['execute'](_0x4556a5){const _0x11b2c3=this[_0x2398('0x5')]['get'](_0x4556a5);if(!_0x11b2c3)throw new _0x2f012f('track-changes-discard-suggestion-not-found',this);const _0x115308=_0x11b2c3[_0x2398('0x8')]();this[_0x2398('0x9')][_0x2398('0xa')]['canEditAt'](_0x115308)&&this['editor'][_0x2398('0x1')][_0x2398('0x4')](_0x2398('0x2'))[_0x2398('0x3')](_0x11b2c3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59a6=['from','values','canEditAt','refresh','model','isEnabled','editor','_isEnabledBasedOnSelection','_suggestions','_command'];(function(_0x40a68e,_0x59a6d9){const _0xba37a3=function(_0x3eeb88){while(--_0x3eeb88){_0x40a68e['push'](_0x40a68e['shift']());}};_0xba37a3(++_0x59a6d9);}(_0x59a6,0x173));const _0xba37=function(_0x40a68e,_0x59a6d9){_0x40a68e=_0x40a68e-0x0;let _0xba37a3=_0x59a6[_0x40a68e];return _0xba37a3;};import{Command as _0x33c5f1}from'ckeditor5/src/core';import{sortSuggestions as _0xe76a30,executeCommandForSuggestions as _0x19349d}from'../utils/utils';export default class E extends _0x33c5f1{constructor(_0x477a24,_0x1da6fd,_0x2f664b){super(_0x477a24),this[_0xba37('0x8')]=_0x1da6fd,this[_0xba37('0x7')]=_0x2f664b,this[_0xba37('0x2')](),this[_0xba37('0x6')]=!0x1;}[_0xba37('0x2')](){const _0x33ddc6=Array[_0xba37('0x9')](this[_0xba37('0x7')][_0xba37('0x0')]())['some'](_0x48c739=>_0x48c739['isInContent']);this[_0xba37('0x4')]=this[_0xba37('0x8')][_0xba37('0x4')]&&_0x33ddc6;}['execute'](){const _0x24575f=_0xe76a30(Array[_0xba37('0x9')](this[_0xba37('0x7')]['values']()));for(const _0x97ad18 of _0x24575f){const _0x155f83=_0x97ad18['getRanges']();if(!this['editor'][_0xba37('0x3')][_0xba37('0x1')](_0x155f83))return;}_0x19349d(this[_0xba37('0x5')]['model'],this[_0xba37('0x8')],_0x24575f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49e0=['model','_command','values','isEnabled','_selectedSuggestions','execute','from','refresh','_suggestions','getRanges','editor','selection','canEditAt'];(function(_0x3de90b,_0x49e028){const _0x34ee40=function(_0x4763ab){while(--_0x4763ab){_0x3de90b['push'](_0x3de90b['shift']());}};_0x34ee40(++_0x49e028);}(_0x49e0,0x168));const _0x34ee=function(_0x3de90b,_0x49e028){_0x3de90b=_0x3de90b-0x0;let _0x34ee40=_0x49e0[_0x3de90b];return _0x34ee40;};import{Command as _0x42f6af}from'ckeditor5/src/core';import{sortSuggestions as _0x3f42ee,getSelectedSuggestions as _0x365c3f,executeCommandForSuggestions as _0x306099}from'../utils/utils';export default class R extends _0x42f6af{constructor(_0x21ba38,_0x485882,_0x1f572b){super(_0x21ba38),this['_command']=_0x485882,this['_suggestions']=_0x1f572b,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x34ee('0xb')](){const _0x3cd5b7=this[_0x34ee('0x1')][_0x34ee('0x4')]['document'][_0x34ee('0x2')],_0x1f0a9f=Array['from'](this[_0x34ee('0xc')][_0x34ee('0x6')]());this[_0x34ee('0x8')]=_0x365c3f(_0x3cd5b7,_0x1f0a9f),this[_0x34ee('0x7')]=this['_command'][_0x34ee('0x7')]&&!!this['_selectedSuggestions']['size'];}[_0x34ee('0x9')](){const _0x5a04a4=_0x3f42ee(Array[_0x34ee('0xa')](this[_0x34ee('0x8')]));for(const _0x380cad of _0x5a04a4){const _0x5f143c=_0x380cad[_0x34ee('0x0')]();if(!this['editor'][_0x34ee('0x4')][_0x34ee('0x3')](_0x5f143c))return;}_0x306099(this['editor'][_0x34ee('0x4')],this[_0x34ee('0x5')],_0x5a04a4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d06=['editor','forceDisabled','affectsData','clearForceDisabled','_disableUnsupportedCommands','value','_enabledCommands','_enableCommands','refresh','commands','execute','TrackChangesCommand'];(function(_0x1c5d20,_0x1d0622){const _0x391cdf=function(_0x284837){while(--_0x284837){_0x1c5d20['push'](_0x1c5d20['shift']());}};_0x391cdf(++_0x1d0622);}(_0x1d06,0xdb));const _0x391c=function(_0x1c5d20,_0x1d0622){_0x1c5d20=_0x1c5d20-0x0;let _0x391cdf=_0x1d06[_0x1c5d20];return _0x391cdf;};import{Command as _0x348ad2}from'ckeditor5/src/core';export default class $ extends _0x348ad2{constructor(_0x25cb62,_0x1a10d8){super(_0x25cb62),this[_0x391c('0x3')]=_0x1a10d8,this[_0x391c('0x2')]=!0x1,this[_0x391c('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x391c('0x5')](){this['isEnabled']=!0x0;}[_0x391c('0x7')](){this['value']=!this['value'],this[_0x391c('0x2')]?this[_0x391c('0x1')]():this[_0x391c('0x4')]();}[_0x391c('0x1')](){for(const _0x359ecf of this[_0x391c('0x9')][_0x391c('0x6')][_0x391c('0x6')]())_0x359ecf['affectsData']&&!this['_enabledCommands']['has'](_0x359ecf)&&_0x359ecf[_0x391c('0xa')](_0x391c('0x8'));}[_0x391c('0x4')](){for(const _0x52f004 of this['editor'][_0x391c('0x6')][_0x391c('0x6')]())_0x52f004[_0x391c('0xb')]&&!this[_0x391c('0x3')]['has'](_0x52f004)&&_0x52f004[_0x391c('0x0')](_0x391c('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x468a=['editor','commands','get','plugins','afterInit','TrackChangesEditing','showAIAssistant'];(function(_0x423bde,_0x468a2f){const _0x27dd10=function(_0x2806ca){while(--_0x2806ca){_0x423bde['push'](_0x423bde['shift']());}};_0x27dd10(++_0x468a2f);}(_0x468a,0x17a));const _0x27dd=function(_0x423bde,_0x468a2f){_0x423bde=_0x423bde-0x0;let _0x27dd10=_0x468a[_0x423bde];return _0x27dd10;};import{Plugin as _0x59f12d}from'ckeditor5/src/core';export default class j extends _0x59f12d{[_0x27dd('0x4')](){const _0x4ad8a0=this[_0x27dd('0x0')],_0x4d455f=_0x4ad8a0[_0x27dd('0x3')][_0x27dd('0x2')](_0x27dd('0x5'));_0x4ad8a0[_0x27dd('0x1')][_0x27dd('0x2')]('showAIAssistant')&&_0x4d455f['enableCommand'](_0x27dd('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cec=['registerDescriptionCallback','registerAttributeLabel','FORMAT_ALIGN_TO_RIGHT','plugins','_enableDefaultAttributesIntegration','_descriptionFactory','FORMAT_ALIGNMENT','commandName','_registerLegacyDescription','FORMAT_ALIGN_TO_LEFT','locale','editor','has','alignment','center','type','afterInit','format','*Format:*\x20%0','TrackChangesEditing','justify','FORMAT_JUSTIFY_TEXT'];(function(_0x13f92e,_0x2cecca){const _0x44790f=function(_0x5e82cc){while(--_0x5e82cc){_0x13f92e['push'](_0x13f92e['shift']());}};_0x44790f(++_0x2cecca);}(_0x2cec,0xb7));const _0x4479=function(_0x13f92e,_0x2cecca){_0x13f92e=_0x13f92e-0x0;let _0x44790f=_0x2cec[_0x13f92e];return _0x44790f;};import{Plugin as _0x5a1151}from'ckeditor5/src/core';import{getTranslation as _0x53b2ac}from'../utils/common-translations';export default class U extends _0x5a1151{[_0x4479('0x9')](){const _0xbdbd06=this[_0x4479('0x4')],_0x4b5ec4=_0xbdbd06[_0x4479('0x3')];if(!_0xbdbd06['plugins'][_0x4479('0x5')]('AlignmentEditing'))return;const _0x4f6028=_0xbdbd06[_0x4479('0x12')]['get'](_0x4479('0xc'));_0x4f6028[_0x4479('0x13')](_0x4479('0x6'),[],[_0x4479('0x6')]),_0x4f6028[_0x4479('0x14')][_0x4479('0x10')](_0x4479('0x6'),_0x53b2ac(_0x4b5ec4,_0x4479('0x15'))),this[_0x4479('0x1')]();}[_0x4479('0x1')](){const _0x380592=this[_0x4479('0x4')],_0x3e928d=_0x380592[_0x4479('0x3')];_0x380592[_0x4479('0x12')]['get'](_0x4479('0xc'))[_0x4479('0x14')][_0x4479('0xf')](_0x233399=>{if('formatBlock'!=_0x233399[_0x4479('0x8')])return;const {data:_0x1a8b8b}=_0x233399;if(_0x1a8b8b&&_0x4479('0x6')==_0x1a8b8b[_0x4479('0x0')]){const _0x3c76c5=_0x1a8b8b['commandParams'][0x0]['value'];return{'type':_0x4479('0xa'),'content':_0x53b2ac(_0x3e928d,_0x4479('0xb'),function(_0xbbefc2){switch(_0xbbefc2){case'left':return _0x53b2ac(_0x3e928d,_0x4479('0x2'));case'right':return _0x53b2ac(_0x3e928d,_0x4479('0x11'));case _0x4479('0x7'):return _0x53b2ac(_0x3e928d,'FORMAT_ALIGN_TO_CENTER');case _0x4479('0xd'):return _0x53b2ac(_0x3e928d,_0x4479('0xe'));}}(_0x3c76c5))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cda=['toLowerCase','code','FORMAT_UNDERLINE','ItalicEditing','FORMAT_ITALIC','BoldEditing','formatInline','subscript','*Format:*\x20%0','editor','_registerLegacyDescription','FORMAT_CODE','afterInit','registerAttributeLabel','strikethrough','toUpperCase','forceValue','slice','StrikethroughEditing','locale','underline','plugins','TrackChangesEditing','italic','UnderlineEditing','has','format','get','bold','_descriptionFactory','registerDescriptionCallback','FORMAT_SUBSCRIPT','FORMAT_BOLD','FORMAT_STRIKETHROUGH','commandName'];(function(_0x3a8317,_0x5cda46){const _0x303637=function(_0x2cad39){while(--_0x2cad39){_0x3a8317['push'](_0x3a8317['shift']());}};_0x303637(++_0x5cda46);}(_0x5cda,0x15a));const _0x3036=function(_0x3a8317,_0x5cda46){_0x3a8317=_0x3a8317-0x0;let _0x303637=_0x5cda[_0x3a8317];return _0x303637;};import{Plugin as _0x47bde7}from'ckeditor5/src/core';import{getTranslation as _0x105049}from'../utils/common-translations';const ti=[_0x3036('0x9'),_0x3036('0x7'),_0x3036('0x1c'),'CodeEditing',_0x3036('0x16'),'SubscriptEditing','SuperscriptEditing'];export default class O extends _0x47bde7{[_0x3036('0x10')](){const _0x1607ba=this[_0x3036('0xd')],_0x4ece4f=_0x1607ba[_0x3036('0x19')][_0x3036('0x1f')](_0x3036('0x1a')),_0x39bf64=_0x1607ba[_0x3036('0x17')];for(const _0x2cc540 of ti){if(!_0x1607ba[_0x3036('0x19')][_0x3036('0x1d')](_0x2cc540))continue;const _0x5c769f=_0x2cc540[_0x3036('0x15')](0x0,-0x7)[_0x3036('0x4')](),_0x415e43='FORMAT_'+_0x5c769f[_0x3036('0x13')]();_0x4ece4f['_enableDefaultAttributesIntegration'](_0x5c769f,[_0x5c769f]),_0x4ece4f[_0x3036('0x21')][_0x3036('0x11')](_0x5c769f,_0x105049(_0x39bf64,_0x415e43));}this[_0x3036('0xe')]();}['_registerLegacyDescription'](){const _0x5a59df=this[_0x3036('0xd')],_0x3c8b71=_0x5a59df['locale'],_0x20ffe2=_0x5a59df[_0x3036('0x19')]['get'](_0x3036('0x1a'));function _0x498b8b(_0x174fe2,_0x447ef8){_0x20ffe2[_0x3036('0x21')][_0x3036('0x22')](_0xe7ad2d=>{if(_0x3036('0xa')!=_0xe7ad2d['type'])return;const {data:_0x5f17c1}=_0xe7ad2d;return _0x5f17c1&&_0x5f17c1[_0x3036('0x3')]===_0x174fe2?_0x5f17c1['commandParams'][0x0][_0x3036('0x14')]?{'type':_0x3036('0x1e'),'content':_0x105049(_0x3c8b71,_0x3036('0xc'),_0x447ef8)}:{'type':_0x3036('0x1e'),'content':_0x105049(_0x3c8b71,'*Remove\x20format:*\x20%0',_0x447ef8)}:void 0x0;});}_0x498b8b(_0x3036('0x20'),_0x105049(_0x3c8b71,_0x3036('0x1'))),_0x498b8b(_0x3036('0x1b'),_0x105049(_0x3c8b71,_0x3036('0x8'))),_0x498b8b(_0x3036('0x18'),_0x105049(_0x3c8b71,_0x3036('0x6'))),_0x498b8b(_0x3036('0x5'),_0x105049(_0x3c8b71,_0x3036('0xf'))),_0x498b8b(_0x3036('0x12'),_0x105049(_0x3c8b71,_0x3036('0x2'))),_0x498b8b(_0x3036('0xb'),_0x105049(_0x3c8b71,_0x3036('0x0'))),_0x498b8b('superscript',_0x105049(_0x3c8b71,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1edf=['name','document','has','TrackChangesEditing','*Remove\x20format:*\x20%0','selection','*Set\x20format:*\x20%0','commandParams','editor','locale','blockQuote','from','commandName','forceValue','afterInit','get','getSelectedBlocks','registerDescriptionCallback','value','model','parent','_descriptionFactory','plugins','$root','change','filter','format','schema'];(function(_0x290d20,_0x1edf7e){const _0x3cfceb=function(_0x49e1d3){while(--_0x49e1d3){_0x290d20['push'](_0x290d20['shift']());}};_0x3cfceb(++_0x1edf7e);}(_0x1edf,0x110));const _0x3cfc=function(_0x290d20,_0x1edf7e){_0x290d20=_0x290d20-0x0;let _0x3cfceb=_0x1edf[_0x290d20];return _0x3cfceb;};import{Plugin as _0x1bdbc8}from'ckeditor5/src/core';import{getTranslation as _0x37d54c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x580e3d}from'../utils/utils';export default class V extends _0x1bdbc8{[_0x3cfc('0x16')](){const _0x3dd91d=this[_0x3cfc('0x10')],_0x22cd02=_0x3dd91d[_0x3cfc('0x11')];if(!_0x3dd91d['plugins'][_0x3cfc('0xa')]('BlockQuoteEditing'))return;const _0x1bef30=_0x3dd91d[_0x3cfc('0x2')][_0x3cfc('0x17')](_0x3cfc('0xb')),_0x4e4c15=this[_0x3cfc('0x10')]['commands'][_0x3cfc('0x17')](_0x3cfc('0x12'));_0x1bef30['enableCommand'](_0x3cfc('0x12'),(_0x5e7a43,_0x3f0497={})=>{const _0x5641c8=this[_0x3cfc('0x10')][_0x3cfc('0x1b')][_0x3cfc('0x9')][_0x3cfc('0xd')],_0x4b1a50=_0x3f0497&&void 0x0!==_0x3f0497[_0x3cfc('0x15')]?_0x3f0497[_0x3cfc('0x15')]:!_0x4e4c15[_0x3cfc('0x1a')];let _0x5982ed=[];if(_0x4b1a50){const _0x4f2bd0=Array[_0x3cfc('0x13')](_0x5641c8['getSelectedBlocks']())[_0x3cfc('0x5')](_0x5e27db=>oo(_0x5e27db)||function(_0x18250e,_0xc26987){const _0x4ab419=_0xc26987['checkChild'](_0x18250e[_0x3cfc('0x0')],_0x3cfc('0x12')),_0x5d5ec1=_0xc26987['checkChild']([_0x3cfc('0x3'),_0x3cfc('0x12')],_0x18250e);return _0x4ab419&&_0x5d5ec1;}(_0x5e27db,this['editor'][_0x3cfc('0x1b')][_0x3cfc('0x7')]));_0x5982ed=_0x580e3d(_0x4f2bd0,_0x3dd91d['model']);}else{const _0x3c7952=Array['from'](_0x5641c8[_0x3cfc('0x18')]())[_0x3cfc('0x5')](_0x23519=>oo(_0x23519));_0x5982ed=_0x580e3d(_0x3c7952,_0x3dd91d['model']);}_0x3dd91d['model'][_0x3cfc('0x4')](()=>{for(const _0x21ebbb of _0x5982ed)_0x1bef30['markBlockFormat'](_0x21ebbb,{'commandName':_0x3cfc('0x12'),'commandParams':[{'forceValue':_0x4b1a50}]});});}),_0x1bef30[_0x3cfc('0x1')][_0x3cfc('0x19')](_0x3ec96d=>{const {data:_0x38f739}=_0x3ec96d;if(_0x38f739&&_0x3cfc('0x12')==_0x38f739[_0x3cfc('0x14')]){const _0x8e18ba=_0x37d54c(_0x22cd02,'ELEMENT_BLOCK_QUOTE');return _0x38f739[_0x3cfc('0xf')][0x0][_0x3cfc('0x15')]?{'type':_0x3cfc('0x6'),'content':_0x37d54c(_0x22cd02,_0x3cfc('0xe'),_0x8e18ba)}:{'type':_0x3cfc('0x6'),'content':_0x37d54c(_0x22cd02,_0x3cfc('0xc'),_0x8e18ba)};}});}}function oo(_0x3686e8){return'blockQuote'==_0x3686e8[_0x3cfc('0x0')][_0x3cfc('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c5b=['plugins','get','ckbox','editor','afterInit','commands','TrackChangesEditing'];(function(_0x157432,_0x2c5b82){const _0x4a2282=function(_0x23da83){while(--_0x23da83){_0x157432['push'](_0x157432['shift']());}};_0x4a2282(++_0x2c5b82);}(_0x2c5b,0xbe));const _0x4a22=function(_0x157432,_0x2c5b82){_0x157432=_0x157432-0x0;let _0x4a2282=_0x2c5b[_0x157432];return _0x4a2282;};import{Plugin as _0x4255db}from'ckeditor5/src/core';export default class F extends _0x4255db{[_0x4a22('0x3')](){const _0x1da7d0=this[_0x4a22('0x2')];_0x1da7d0[_0x4a22('0x4')][_0x4a22('0x0')]('ckbox')&&_0x1da7d0[_0x4a22('0x6')][_0x4a22('0x0')](_0x4a22('0x5'))['enableCommand'](_0x4a22('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x379e=['has','ELEMENT_CODE_BLOCK','find','editor','blockName','filter','*Set\x20format:*\x20%0','TrackChangesEditing','CodeBlock','registerDescriptionCallback','outdentCodeBlock','get','commands','locale','change','_descriptionFactory','document','schema','name','parent','*Remove\x20format:*\x20%0','codeBlock','type','format','config','registerElementLabel','model','checkChild','enableCommand','toLowerCase','selection','language','markBlockFormat','commandParams','plugins','forceValue','getSelectedBlocks','isLimit'];(function(_0x211932,_0x379e35){const _0x1d45fa=function(_0x4ddc73){while(--_0x4ddc73){_0x211932['push'](_0x211932['shift']());}};_0x1d45fa(++_0x379e35);}(_0x379e,0xef));const _0x1d45=function(_0x211932,_0x379e35){_0x211932=_0x211932-0x0;let _0x1d45fa=_0x379e[_0x211932];return _0x1d45fa;};import{Plugin as _0x2557db}from'ckeditor5/src/core';import{getTranslation as _0x18301b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x142b48}from'../utils/utils';export default class G extends _0x2557db{['afterInit'](){const _0x3b1466=this[_0x1d45('0x1e')];if(!_0x3b1466[_0x1d45('0x17')][_0x1d45('0x1b')](_0x1d45('0x23')))return;const _0x108aa7=_0x3b1466['plugins'][_0x1d45('0x0')](_0x1d45('0x22')),_0x1f7971=_0x3b1466[_0x1d45('0x2')],_0x11e504=_0x3b1466[_0x1d45('0xd')]['get'](_0x1d45('0xa'))['languages'],_0x47479b=_0x3b1466[_0x1d45('0x1')]['get']('codeBlock');_0x108aa7[_0x1d45('0x11')]('indentCodeBlock'),_0x108aa7[_0x1d45('0x11')](_0x1d45('0x25')),_0x108aa7[_0x1d45('0x11')]('codeBlock',(_0x353d9c,_0x4ac2cf={})=>{const _0x1b070a=_0x3b1466[_0x1d45('0xf')],_0x35be91=_0x3b1466[_0x1d45('0xf')][_0x1d45('0x5')][_0x1d45('0x13')],_0x1ded2e=_0x4ac2cf&&void 0x0!==_0x4ac2cf[_0x1d45('0x18')]?_0x4ac2cf[_0x1d45('0x18')]:!_0x47479b['value'];let _0x1c6f04;_0x4ac2cf[_0x1d45('0x14')]||(_0x4ac2cf[_0x1d45('0x14')]=_0x11e504[0x0][_0x1d45('0x14')]),_0x1c6f04=_0x1ded2e?Array['from'](_0x35be91[_0x1d45('0x19')]())[_0x1d45('0x20')](_0x3dd0a1=>eo(_0x3dd0a1)||function(_0x2864df,_0x4f39a9){if(_0x2864df['is']('rootElement')||_0x4f39a9[_0x1d45('0x1a')](_0x2864df))return!0x1;return _0x4f39a9[_0x1d45('0x10')](_0x2864df[_0x1d45('0x8')],'codeBlock');}(_0x3dd0a1,_0x1b070a[_0x1d45('0x6')])):Array['from'](_0x35be91[_0x1d45('0x19')]())[_0x1d45('0x20')](_0x20d26a=>eo(_0x20d26a));const _0x2be913=_0x142b48(_0x1c6f04,_0x1b070a);_0x1b070a[_0x1d45('0x3')](()=>{for(const _0x81a1e8 of _0x2be913)_0x108aa7[_0x1d45('0x15')](_0x81a1e8,{'commandName':_0x1d45('0xa'),'commandParams':[{..._0x4ac2cf,'forceValue':_0x1ded2e}],'formatGroupId':_0x1d45('0x1f')});});}),(_0x108aa7[_0x1d45('0x4')][_0x1d45('0xe')](_0x1d45('0xa'),_0x3e24ef=>_0x18301b(_0x1f7971,_0x1d45('0x1c'),_0x3e24ef)),_0x108aa7[_0x1d45('0x4')][_0x1d45('0x24')](_0xee2d5d=>{if('formatBlock'!=_0xee2d5d[_0x1d45('0xb')])return;const _0x5890cc=_0x1f7971['t'],{data:_0x44cf51}=_0xee2d5d;if(!_0x44cf51||_0x1d45('0xa')!=_0x44cf51['commandName'])return;const _0x71df4c=_0x44cf51[_0x1d45('0x16')][0x0][_0x1d45('0x14')],_0xac1489=_0x5890cc(_0x11e504[_0x1d45('0x1d')](_0x2baf10=>_0x2baf10[_0x1d45('0x14')]===_0x71df4c)['label'])[_0x1d45('0x12')]();return _0x44cf51[_0x1d45('0x16')][0x0][_0x1d45('0x18')]?{'type':_0x1d45('0xc'),'content':_0x18301b(_0x1f7971,_0x1d45('0x21'),_0x18301b(_0x1f7971,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0xac1489+')')}:{'type':_0x1d45('0xc'),'content':_0x18301b(_0x1f7971,_0x1d45('0x9'),_0x18301b(_0x1f7971,_0x1d45('0x1c'),0x1))};}));}}function eo(_0x330697){return _0x1d45('0xa')==_0x330697[_0x1d45('0x7')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xfb75=['editor','afterInit','has','enableCommand','CommentsEditing','plugins','get'];(function(_0x5a8d33,_0xfb75bd){const _0xb80b4e=function(_0x3dccc){while(--_0x3dccc){_0x5a8d33['push'](_0x5a8d33['shift']());}};_0xb80b4e(++_0xfb75bd);}(_0xfb75,0x1e0));const _0xb80b=function(_0x5a8d33,_0xfb75bd){_0x5a8d33=_0x5a8d33-0x0;let _0xb80b4e=_0xfb75[_0x5a8d33];return _0xb80b4e;};import{Plugin as _0xd2c38e}from'ckeditor5/src/core';export default class L extends _0xd2c38e{[_0xb80b('0x4')](){const _0x3884eb=this[_0xb80b('0x3')];if(!_0x3884eb['plugins'][_0xb80b('0x5')](_0xb80b('0x0')))return;_0x3884eb[_0xb80b('0x1')][_0xb80b('0x2')]('TrackChangesEditing')[_0xb80b('0x6')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a7f=['$graveyard','start','writer','lock','remove','unit','document','isCollapsed','enableCommand','showSuggestionHighlights','selection','detach','removeMarker:suggestion:deletion','addMarker:suggestion:deletion','deleteForward','createRange','unbindElementFromMarkerName','uiElement','downcastDispatcher','options','unlock','requires','markerName','TrackChangesEditing','end','getFirstRange','enqueueChange','setSelection','init','get','forward','editing','merge','high','model','rootName','buffer','fromRange','commands','plugins','mapper'];(function(_0x140d04,_0x3a7f52){const _0x3b510d=function(_0x4ceb24){while(--_0x4ceb24){_0x140d04['push'](_0x140d04['shift']());}};_0x3b510d(++_0x3a7f52);}(_0x3a7f,0xb8));const _0x3b51=function(_0x140d04,_0x3a7f52){_0x140d04=_0x140d04-0x0;let _0x3b510d=_0x3a7f[_0x140d04];return _0x3b510d;};import{Plugin as _0x5ab37c}from'ckeditor5/src/core';import{LiveRange as _0x15b269}from'ckeditor5/src/engine';import{Delete as _0x57db03}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x462490}from'./utils';export default class H extends _0x5ab37c{static get[_0x3b51('0x1')](){return[_0x57db03];}[_0x3b51('0x8')](){const _0x4ddef0=this['editor'],_0x40dccb=_0x4ddef0[_0x3b51('0x13')][_0x3b51('0x9')](_0x3b51('0x3'));_0x40dccb[_0x3b51('0x1d')]('delete');const _0x1ab241=_0x4ddef0[_0x3b51('0x12')][_0x3b51('0x9')](_0x3b51('0x23'));_0x40dccb['enableCommand']('deleteForward',(_0x558647,_0x194d0d={})=>{const _0x2dd190=_0x4ddef0[_0x3b51('0xe')]['createSelection'](_0x4ddef0['model'][_0x3b51('0x1b')][_0x3b51('0x1f')]);_0x2dd190[_0x3b51('0x1c')]&&_0x4ddef0[_0x3b51('0xe')]['modifySelection'](_0x2dd190,{'direction':_0x3b51('0xa'),'unit':_0x194d0d[_0x3b51('0x1a')]});const _0x36a12e=_0x2dd190[_0x3b51('0x5')](),_0x4af8d0=_0x15b269[_0x3b51('0x11')](_0x36a12e);let _0x564c12;_0x558647(_0x194d0d),_0x564c12=_0x3b51('0x15')==_0x4af8d0['root'][_0x3b51('0xf')]?_0x4ddef0[_0x3b51('0xe')][_0x3b51('0x24')](_0x36a12e['start']):_0x4ddef0['model'][_0x3b51('0x24')](_0x4af8d0[_0x3b51('0x16')],_0x4af8d0[_0x3b51('0x4')]),_0x4af8d0[_0x3b51('0x20')](),_0x4ddef0[_0x3b51('0xe')][_0x3b51('0x6')](_0x1ab241[_0x3b51('0x10')]['batch'],_0x2959f9=>{_0x1ab241[_0x3b51('0x10')][_0x3b51('0x18')](),_0x2959f9[_0x3b51('0x7')](_0x2959f9['createRange'](_0x564c12[_0x3b51('0x4')])),_0x1ab241['buffer'][_0x3b51('0x0')]();});}),_0x4ddef0['editing']['downcastDispatcher']['on'](_0x3b51('0x22'),_0x462490(_0x4ddef0,'merge'),{'priority':_0x3b51('0xd')}),_0x4ddef0['data'][_0x3b51('0x27')]['on'](_0x3b51('0x22'),(_0x5de07f,_0xf4127f,_0x48a210)=>{_0x48a210[_0x3b51('0x28')][_0x3b51('0x1e')]&&_0x462490(_0x4ddef0,_0x3b51('0xc'),{'showActiveMarker':!0x1})['bind'](this)(_0x5de07f,_0xf4127f,_0x48a210);},{'priority':'high'}),_0x4ddef0[_0x3b51('0xb')]['downcastDispatcher']['on'](_0x3b51('0x21'),(_0x1ba9e8,_0xfcd89d,_0xdc01e5)=>{const _0x7af3d3=_0xdc01e5[_0x3b51('0x14')]['markerNameToElements'](_0xfcd89d['markerName']);if(_0x7af3d3)for(const _0x50f91b of _0x7af3d3)_0x50f91b['is'](_0x3b51('0x26'))&&(_0xdc01e5['mapper'][_0x3b51('0x25')](_0x50f91b,_0xfcd89d[_0x3b51('0x2')]),_0xdc01e5[_0x3b51('0x17')][_0x3b51('0x19')](_0x50f91b));},{'priority':_0x3b51('0xd')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3071=['outdentList','forceValue','selection','end','numberedList','toUpperCase','push','DocumentListUtils','accept','has','after','isObject','documentList','add','format','nextSibling','fromRange','getFirstRange','start','createPositionAt','locale','listItemId','length','from','splitListItemAfter','config','next','setSelection','map','commandParams','slice','before','_descriptionFactory','getRanges','get','nodeAfter','findIndex','splitListItemBefore','value','change','enableCommand','*Format:*\x20remove\x20from\x20%0','document','list.multiBlock','markBlockFormat','_LIST','ELEMENT_LIST_ITEM','_suggestionFactory','listType','previousSibling','commands','ELEMENT_BULLETED_LIST','ELEMENT_','DocumentListEditing','*Merge:*\x20%0','paragraph','formatBlock','commandName','type','execute','schema','*Format:*\x20insert\x20into\x20%0','model','indentList','registerDescriptionCallback','detach','listIndent','isFirstBlockOfListItem','createRange','mergeListItemForward','getSelectedBlocks','plugins','multipleBlocks','getAttribute','hasAttribute','bulletedList'];(function(_0x3af426,_0x30712f){const _0x15e6bd=function(_0x166e66){while(--_0x166e66){_0x3af426['push'](_0x3af426['shift']());}};_0x15e6bd(++_0x30712f);}(_0x3071,0x15b));const _0x15e6=function(_0x3af426,_0x30712f){_0x3af426=_0x3af426-0x0;let _0x15e6bd=_0x3071[_0x3af426];return _0x15e6bd;};import{Plugin as _0x348cc3}from'ckeditor5/src/core';import{getTranslation as _0x1740c9}from'../utils/common-translations';import{LiveRange as _0x2e4bb9}from'ckeditor5/src/engine';export default class q extends _0x348cc3{['afterInit'](){const _0x4a94eb=this['editor'];if(!_0x4a94eb['plugins'][_0x15e6('0x2a')](_0x15e6('0xa')))return;const _0x40069b=_0x4a94eb[_0x15e6('0x35')],_0x5df5ce=_0x4a94eb[_0x15e6('0x1c')][_0x15e6('0x43')]('TrackChangesEditing'),_0x3fa680=_0x4a94eb[_0x15e6('0x1c')]['get'](_0x15e6('0x28'));function _0x472134(_0x2b6a2d){return()=>{const _0xa05fb5=_0x4a94eb[_0x15e6('0x7')][_0x15e6('0x43')](_0x2b6a2d);if(_0xa05fb5[_0x15e6('0x47')]&&!_0x4a94eb[_0x15e6('0x3a')]['get'](_0x15e6('0x0')))return void _0x4a94eb[_0x15e6('0x10')](_0x15e6('0xc'),{});let _0x22cda3=Array[_0x15e6('0x38')](_0x4a94eb['model'][_0x15e6('0x4b')][_0x15e6('0x23')][_0x15e6('0x1b')]());if(_0x2c8439(_0x2b6a2d)){_0x22cda3=_0x3fa680['expandListBlocksToCompleteList'](_0x22cda3);const _0x343394=[];for(const _0x17753f of _0x22cda3)_0x3fa680[_0x15e6('0x18')](_0x17753f)&&_0x343394[_0x15e6('0x27')](_0x17753f);_0x22cda3=_0x343394;}_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x48')](()=>{_0x5df5ce['markMultiRangeBlockFormat'](_0x22cda3,{'commandName':_0x2b6a2d,'commandParams':[{'forceValue':!_0xa05fb5[_0x15e6('0x47')]}],'formatGroupId':_0x15e6('0x5')},[],_0x15e6('0x2d'));});};}function _0x46bbef(_0x1e824e){return()=>{const _0x2d5a9e=function(_0x15f43a){let _0x14d615=Array[_0x15e6('0x38')](_0x15f43a);const _0x42acb7=_0x14d615[_0x15e6('0x45')](_0x11c068=>!_0x11c068[_0x15e6('0x1f')](_0x15e6('0x36')));return _0x42acb7>-0x1&&(_0x14d615=_0x14d615[_0x15e6('0x3f')](0x0,_0x42acb7)),_0x14d615;}(_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x4b')]['selection']['getSelectedBlocks']()),_0xcd108c=_0x2d5a9e[_0x2d5a9e[_0x15e6('0x37')]-0x1],_0x548129=_0x4a94eb['model'][_0x15e6('0x11')][_0x15e6('0x2c')](_0xcd108c)?_0x15e6('0x2b'):_0x15e6('0x24'),_0x4bd818=_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x19')](_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x34')](_0x2d5a9e[0x0],'before'),_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x34')](_0xcd108c,_0x548129));_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x48')](()=>{_0x5df5ce[_0x15e6('0x1')](_0x4bd818,{'commandName':_0x1e824e,'commandParams':[],'formatGroupId':_0x15e6('0x5')},function(_0x231c0e){const _0x3b77c0=new Set();for(const _0xfd29ce of _0x231c0e){let _0x399f12=_0xfd29ce[_0x15e6('0x30')];for(;_0x399f12&&_0x399f12[_0x15e6('0x1e')](_0x15e6('0x17'))>_0xfd29ce['getAttribute'](_0x15e6('0x17'));)_0x3b77c0[_0x15e6('0x2e')](_0x399f12),_0x399f12=_0x399f12[_0x15e6('0x30')];}return Array[_0x15e6('0x38')](_0x3b77c0);}(_0x2d5a9e));});};}function _0xf33d07(_0x33290b){return()=>{const _0x56bc48=_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x4b')][_0x15e6('0x23')][_0x15e6('0x1b')]()[_0x15e6('0x3b')]()[_0x15e6('0x47')],_0x217bdd=_0x4a94eb['model'][_0x15e6('0x34')](_0x56bc48,_0x15e6('0x40')),_0x1fbf27=_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x34')](_0x56bc48,0x0),_0x5236f4=_0x4a94eb['model'][_0x15e6('0x19')](_0x217bdd,_0x1fbf27);_0x4a94eb[_0x15e6('0x13')]['change'](()=>{_0x5df5ce[_0x15e6('0x1')](_0x5236f4,{'commandName':_0x33290b,'commandParams':[],'formatGroupId':_0x15e6('0x5')});});};}function _0x2c8439(_0x4cf081){const _0x35d8b5=_0x4a94eb[_0x15e6('0x7')]['get'](_0x15e6('0x20'))[_0x15e6('0x47')],_0x3e5fbd=_0x4a94eb['commands'][_0x15e6('0x43')](_0x15e6('0x25'))[_0x15e6('0x47')];return'numberedList'===_0x4cf081?_0x35d8b5:_0x3e5fbd;}_0x5df5ce[_0x15e6('0x49')](_0x15e6('0x25'),_0x472134(_0x15e6('0x25'))),_0x5df5ce[_0x15e6('0x49')](_0x15e6('0x20'),_0x472134(_0x15e6('0x20'))),_0x5df5ce['enableCommand'](_0x15e6('0x14'),_0x46bbef(_0x15e6('0x14'))),_0x5df5ce['enableCommand']('outdentList',_0x46bbef(_0x15e6('0x21'))),_0x5df5ce[_0x15e6('0x49')](_0x15e6('0x39'),_0xf33d07(_0x15e6('0x39'))),_0x5df5ce['enableCommand'](_0x15e6('0x46'),_0xf33d07(_0x15e6('0x46'))),_0x5df5ce[_0x15e6('0x41')]['registerElementLabel'](function(_0x519398){const _0x2a4add=!_0x4a94eb['model'][_0x15e6('0x11')][_0x15e6('0x2c')](_0x519398),_0x11aa45=_0x519398[_0x15e6('0x6')],_0x5a598f=_0x519398[_0x15e6('0x30')],_0x7b05f0=_0x519398[_0x15e6('0x1e')](_0x15e6('0x36')),_0x688239=!_0x11aa45||_0x11aa45['getAttribute']('listItemId')!==_0x7b05f0,_0x58b468=!_0x5a598f||_0x5a598f[_0x15e6('0x1e')](_0x15e6('0x36'))!==_0x7b05f0;return _0x2a4add&&Boolean(_0x7b05f0)&&_0x688239&&_0x58b468;},_0x7cfd76=>_0x1740c9(_0x40069b,_0x15e6('0x3'),_0x7cfd76)),_0x5df5ce[_0x15e6('0x41')][_0x15e6('0x15')](function(_0x549b35){if(_0x15e6('0xd')!=_0x549b35['type']&&'formatInline'!=_0x549b35[_0x15e6('0xf')])return;const {data:_0x5b564c}=_0x549b35;if(!_0x5b564c)return;let _0xde0759,_0x5e86cd,_0x28dcbb,_0x84d26c;switch(_0x5b564c[_0x15e6('0xe')]){case _0x15e6('0x20'):_0x28dcbb=_0x5b564c[_0x15e6('0x3e')][0x0][_0x15e6('0x22')],_0x84d26c=_0x2c8439(_0x5b564c[_0x15e6('0xe')]),_0xde0759=_0x28dcbb?_0x15e6('0x12'):_0x15e6('0x4a'),!_0x84d26c&&_0x4a94eb['config'][_0x15e6('0x43')](_0x15e6('0x0'))||(_0xde0759='*Change\x20to:*\x20%0'),_0x5e86cd={'type':_0x15e6('0x2f'),'content':_0x1740c9(_0x40069b,_0xde0759,_0x1740c9(_0x40069b,_0x15e6('0x8')))};break;case _0x15e6('0x25'):_0x28dcbb=_0x5b564c['commandParams'][0x0][_0x15e6('0x22')],_0x84d26c=_0x2c8439(_0x5b564c['commandName']),_0xde0759=_0x28dcbb?'*Format:*\x20insert\x20into\x20%0':_0x15e6('0x4a'),!_0x84d26c&&_0x4a94eb[_0x15e6('0x3a')]['get']('list.multiBlock')||(_0xde0759='*Change\x20to:*\x20%0'),_0x5e86cd={'type':_0x15e6('0x2f'),'content':_0x1740c9(_0x40069b,_0xde0759,_0x1740c9(_0x40069b,'ELEMENT_NUMBERED_LIST'))};break;case _0x15e6('0x14'):_0xde0759='*Indent:*\x20%0',_0x5e86cd={'type':'format','content':_0x1740c9(_0x40069b,_0xde0759,_0x1740c9(_0x40069b,_0x15e6('0x3')))};break;case _0x15e6('0x21'):_0xde0759=function(_0x4a6ec9){const _0x5c66c0=_0x4a6ec9['getFirstRange']();let _0x7a070=_0x5c66c0['start'][_0x15e6('0x44')];for(;_0x7a070&&_0x5c66c0['containsItem'](_0x7a070);){if(_0x7a070['getAttribute']('listIndent')>0x0)return!0x1;_0x7a070=_0x7a070[_0x15e6('0x30')];}return!0x0;}(_0x549b35)?_0x1740c9(_0x40069b,_0x15e6('0x4a'),_0x1740c9(_0x40069b,function(_0x5e19b9){const _0x59589d=_0x5e19b9[_0x15e6('0x32')]()[_0x15e6('0x33')]['nodeAfter'];return _0x15e6('0x9')+_0x59589d[_0x15e6('0x1e')]('listType')[_0x15e6('0x26')]()+_0x15e6('0x2');}(_0x549b35))):_0x1740c9(_0x40069b,'*Outdent:*\x20%0',_0x1740c9(_0x40069b,_0x15e6('0x3'))),_0x5e86cd={'type':'format','content':_0xde0759};break;case'mergeListItemBackward':case _0x15e6('0x1a'):!0x1===_0x5b564c[_0x15e6('0x1d')]&&(_0xde0759=_0x15e6('0xb'),_0x5e86cd={'type':'deletion','content':_0x1740c9(_0x40069b,_0xde0759,_0x1740c9(_0x40069b,'ELEMENT_LIST_ITEM'))});}return _0x5e86cd;}),_0x5df5ce[_0x15e6('0x4')]['registerCustomCallback']('formatBlock',_0x15e6('0x2d'),_0x15e6('0x29'),function(_0x315806,_0x2cf91){const _0x24ee69=[];for(let _0x2b97ad of _0x315806)_0x2b97ad[_0x15e6('0x33')][_0x15e6('0x44')]===_0x2b97ad[_0x15e6('0x24')]['parent']&&(_0x2b97ad=_0x4a94eb[_0x15e6('0x13')]['createRange'](_0x4a94eb['model']['createPositionAt'](_0x2b97ad[_0x15e6('0x33')][_0x15e6('0x44')],0x0))),_0x24ee69[_0x15e6('0x27')](_0x2b97ad);_0x4a94eb['model'][_0x15e6('0x48')](_0x243272=>{const _0x17808e=_0x4a94eb[_0x15e6('0x13')][_0x15e6('0x4b')]['selection'],_0x1f7f3f=Array[_0x15e6('0x38')](_0x17808e[_0x15e6('0x42')]())[_0x15e6('0x3d')](_0x19db85=>_0x2e4bb9[_0x15e6('0x31')](_0x19db85));_0x243272[_0x15e6('0x3c')](_0x24ee69),_0x4a94eb[_0x15e6('0x7')][_0x15e6('0x43')](_0x2cf91[_0x15e6('0xe')])['refresh'](),_0x2cf91[_0x15e6('0x3e')]['push']({'forceDefaultExecution':!0x0}),_0x4a94eb[_0x15e6('0x10')](_0x2cf91[_0x15e6('0xe')],..._0x2cf91[_0x15e6('0x3e')]),_0x243272[_0x15e6('0x3c')](_0x1f7f3f);for(const _0x549d9d of _0x1f7f3f)_0x549d9d[_0x15e6('0x16')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38e6=['formatInline','push','registerDescriptionCallback','formatBlock','format','getListTypeFromListStyleType','isListItemBlock','has','change','listStyle','markMultiRangeBlockFormat','replace','model','DocumentListPropertiesEditing','handleListStartCommand','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','expandListBlocksToCompleteList','toUpperCase','styles','_descriptionFactory','get','commandParams','filter','from','handleListStyleCommand','listStart','plugins','listType','isFirstBlockOfListItem','*Format:*\x20set\x20order\x20to\x20regular','*Change\x20to:*\x20%0','type','getSelectedBlocks','numbered','_getSuggestionBlocks','DocumentListPropertiesUtils','getAttribute','DocumentListUtils','locale','bind','listReversed','startIndex','_LIST_','reversed','list.properties','handleDescriptions','enableCommand','editor','TrackChangesEditing','handleListReversedCommand'];(function(_0x4af8a0,_0x38e614){const _0x4ed087=function(_0x17f88d){while(--_0x17f88d){_0x4af8a0['push'](_0x4af8a0['shift']());}};_0x4ed087(++_0x38e614);}(_0x38e6,0x19f));const _0x4ed0=function(_0x4af8a0,_0x38e614){_0x4af8a0=_0x4af8a0-0x0;let _0x4ed087=_0x38e6[_0x4af8a0];return _0x4ed087;};import{Plugin as _0x4032e1}from'ckeditor5/src/core';import{getTranslation as _0x2d03da}from'../utils/common-translations';export default class z extends _0x4032e1{['afterInit'](){if(!this[_0x4ed0('0x29')][_0x4ed0('0x14')][_0x4ed0('0x0')](_0x4ed0('0x6')))return;const _0x409475=this[_0x4ed0('0x29')]['config'][_0x4ed0('0xe')](_0x4ed0('0x26')),_0x3c7f6b=this[_0x4ed0('0x29')][_0x4ed0('0x14')][_0x4ed0('0xe')](_0x4ed0('0x2a'));_0x409475[_0x4ed0('0xc')]&&_0x3c7f6b[_0x4ed0('0x28')]('listStyle',this[_0x4ed0('0x12')][_0x4ed0('0x21')](this)),_0x409475[_0x4ed0('0x25')]&&_0x3c7f6b[_0x4ed0('0x28')]('listReversed',this['handleListReversedCommand'][_0x4ed0('0x21')](this)),_0x409475[_0x4ed0('0x23')]&&_0x3c7f6b[_0x4ed0('0x28')](_0x4ed0('0x13'),this['handleListStartCommand']['bind'](this)),_0x3c7f6b[_0x4ed0('0xd')][_0x4ed0('0x2e')](this[_0x4ed0('0x27')][_0x4ed0('0x21')](this));}['handleListStyleCommand'](_0x3095dd,_0xee6919={}){const _0x16647e=this[_0x4ed0('0x29')][_0x4ed0('0x14')]['get'](_0x4ed0('0x2a')),_0x58584d=this['_getSuggestionBlocksForListStyle']();this[_0x4ed0('0x29')][_0x4ed0('0x5')][_0x4ed0('0x1')](()=>{_0x16647e[_0x4ed0('0x3')](_0x58584d,{'commandName':_0x4ed0('0x2'),'commandParams':[{'type':_0xee6919[_0x4ed0('0x19')]}],'formatGroupId':_0x4ed0('0x2')});});}[_0x4ed0('0x2b')](_0x2b0ff4,_0x581b02={}){const _0x3badb9=this['editor'][_0x4ed0('0x14')][_0x4ed0('0xe')](_0x4ed0('0x2a')),_0x49cfb3=this['editor']['plugins'][_0x4ed0('0xe')](_0x4ed0('0x1f')),_0x8a6ff4=this['_getSuggestionBlocks'](_0x42fb15=>_0x49cfb3[_0x4ed0('0x32')](_0x42fb15)&&_0x4ed0('0x1b')===_0x42fb15[_0x4ed0('0x1e')](_0x4ed0('0x15')));null!==_0x8a6ff4&&this[_0x4ed0('0x29')]['model'][_0x4ed0('0x1')](()=>{_0x3badb9[_0x4ed0('0x3')](_0x8a6ff4,{'commandName':_0x4ed0('0x22'),'commandParams':[{'reversed':_0x581b02[_0x4ed0('0x25')]}],'formatGroupId':_0x4ed0('0x22')});});}[_0x4ed0('0x7')](_0x46ddd6,_0x1759f3={}){const _0x2ceeb3=this[_0x4ed0('0x29')][_0x4ed0('0x14')][_0x4ed0('0xe')]('TrackChangesEditing'),_0x5aefe5=this[_0x4ed0('0x29')][_0x4ed0('0x14')][_0x4ed0('0xe')](_0x4ed0('0x1f')),_0x127724=this[_0x4ed0('0x1c')](_0x3d8203=>_0x5aefe5['isListItemBlock'](_0x3d8203)&&_0x4ed0('0x1b')===_0x3d8203[_0x4ed0('0x1e')](_0x4ed0('0x15')));null!==_0x127724&&this[_0x4ed0('0x29')]['model']['change'](()=>{_0x2ceeb3[_0x4ed0('0x3')](_0x127724,{'commandName':_0x4ed0('0x13'),'commandParams':[{'startIndex':_0x1759f3['startIndex']}],'formatGroupId':_0x4ed0('0x13')});});}[_0x4ed0('0x27')](_0x3d5434){if(_0x4ed0('0x2f')!=_0x3d5434[_0x4ed0('0x19')]&&_0x4ed0('0x2c')!=_0x3d5434['type'])return;const _0x149639=this[_0x4ed0('0x29')][_0x4ed0('0x20')],{data:_0xe395f1}=_0x3d5434;if(!_0xe395f1)return;let _0x43ad0c,_0x4c2a33;switch(_0xe395f1['commandName']){case _0x4ed0('0x2'):_0x43ad0c=_0x4ed0('0x18'),_0x4c2a33={'type':_0x4ed0('0x30'),'content':_0x2d03da(_0x149639,_0x43ad0c,_0x2d03da(_0x149639,this[_0x4ed0('0x9')](_0xe395f1['commandParams'][0x0][_0x4ed0('0x19')])))};break;case _0x4ed0('0x22'):_0x43ad0c=_0xe395f1[_0x4ed0('0xf')][0x0][_0x4ed0('0x25')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x4ed0('0x17'),_0x4c2a33={'type':_0x4ed0('0x30'),'content':_0x2d03da(_0x149639,_0x43ad0c)};break;case _0x4ed0('0x13'):_0x43ad0c='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4c2a33={'type':_0x4ed0('0x30'),'content':_0x2d03da(_0x149639,_0x43ad0c,_0xe395f1['commandParams'][0x0][_0x4ed0('0x23')])};}return _0x4c2a33;}[_0x4ed0('0x8')](){const _0x3eddf0=this[_0x4ed0('0x29')]['plugins'][_0x4ed0('0xe')]('DocumentListUtils');let _0x35d0f7=Array[_0x4ed0('0x11')](this[_0x4ed0('0x29')]['model']['document']['selection'][_0x4ed0('0x1a')]());return _0x35d0f7[_0x4ed0('0x2d')](..._0x3eddf0[_0x4ed0('0xa')](_0x35d0f7)),_0x35d0f7=[...new Set(_0x35d0f7)],_0x35d0f7;}[_0x4ed0('0x1c')](_0x238ee5){const _0x43686b=this[_0x4ed0('0x29')]['plugins'][_0x4ed0('0xe')](_0x4ed0('0x1f'));let _0x3f8cc2=Array[_0x4ed0('0x11')](this[_0x4ed0('0x29')][_0x4ed0('0x5')]['document']['selection'][_0x4ed0('0x1a')]())[_0x4ed0('0x10')](_0x238ee5);if(!_0x3f8cc2['length'])return null;_0x3f8cc2=_0x43686b[_0x4ed0('0xa')](_0x3f8cc2);const _0xbee6d3=[];for(const _0x1757b1 of _0x3f8cc2)_0x43686b[_0x4ed0('0x16')](_0x1757b1)&&_0xbee6d3[_0x4ed0('0x2d')](_0x1757b1);return _0xbee6d3;}[_0x4ed0('0x9')](_0x33b7b9){return'ELEMENT_'+this['editor'][_0x4ed0('0x14')][_0x4ed0('0xe')](_0x4ed0('0x1d'))[_0x4ed0('0x31')](_0x33b7b9)[_0x4ed0('0xb')]()+_0x4ed0('0x24')+_0x33b7b9[_0x4ed0('0xb')]()[_0x4ed0('0x4')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b50=['high','options','setSelection','fromRange','get','unbindElementFromMarkerName','requires','hasClass','downcastDispatcher','end','mapper','selection','writer','data','remove','parent','nextSibling','bind','markInsertion','createRange','markerName','fire','enableCommand','commands','split','model','TrackChangesEditing','editing','document','getFirstRange','afterExecute','createPositionAt','removeMarker:suggestion:insertion','markerNameToElements','enterBlock','enter','getFirstPosition','plugins','init','addMarker:suggestion:insertion'];(function(_0x2f99be,_0x4b5011){const _0x85c5ef=function(_0x372f3e){while(--_0x372f3e){_0x2f99be['push'](_0x2f99be['shift']());}};_0x85c5ef(++_0x4b5011);}(_0x4b50,0x12c));const _0x85c5=function(_0x2f99be,_0x4b5011){_0x2f99be=_0x2f99be-0x0;let _0x85c5ef=_0x4b50[_0x2f99be];return _0x85c5ef;};import{Plugin as _0x5006d0}from'ckeditor5/src/core';import{Enter as _0x7c5ded}from'ckeditor5/src/enter';import{LiveRange as _0x5d4651}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x5b9bae}from'./utils';export default class K extends _0x5006d0{static get[_0x85c5('0x1a')](){return[_0x7c5ded];}[_0x85c5('0x12')](){const _0x5e26d0=this['editor'],_0x5d5b9=_0x5e26d0[_0x85c5('0x11')][_0x85c5('0x18')](_0x85c5('0x6')),_0x21bc07=_0x5e26d0[_0x85c5('0x3')][_0x85c5('0x18')]('enter');_0x5d5b9[_0x85c5('0x2')](_0x85c5('0xf'),()=>{_0x5e26d0[_0x85c5('0x5')]['change'](_0x2093cd=>{const _0x1f7594=_0x5e26d0['model'][_0x85c5('0x8')][_0x85c5('0x1f')],_0x12a589=_0x1f7594[_0x85c5('0x10')](),_0x254d60=_0x5d4651[_0x85c5('0x17')](_0x1f7594[_0x85c5('0x9')]());if(_0x21bc07[_0x85c5('0xe')](_0x2093cd)){const _0x5bc06c=_0x5e26d0[_0x85c5('0x5')][_0x85c5('0xb')](_0x12a589[_0x85c5('0x23')][_0x85c5('0x24')],0x0),_0x47149a=_0x2093cd[_0x85c5('0x27')](_0x12a589,_0x5bc06c);_0x5d5b9[_0x85c5('0x26')](_0x47149a);}else _0x2093cd[_0x85c5('0x16')](_0x2093cd[_0x85c5('0x27')](_0x254d60[_0x85c5('0x1d')]));_0x254d60['detach'](),_0x21bc07[_0x85c5('0x1')](_0x85c5('0xa'),{'writer':_0x2093cd});});}),_0x5e26d0[_0x85c5('0x7')]['downcastDispatcher']['on'](_0x85c5('0x13'),_0x5b9bae(_0x5e26d0,_0x85c5('0x4')),{'priority':_0x85c5('0x14')}),_0x5e26d0[_0x85c5('0x7')][_0x85c5('0x1c')]['on'](_0x85c5('0xc'),(_0x3c52a3,_0xc9b3d,_0x14337b)=>{const _0x576356=_0x14337b[_0x85c5('0x1e')][_0x85c5('0xd')](_0xc9b3d[_0x85c5('0x0')]);if(_0x576356)for(const _0x47472c of _0x576356)_0x47472c[_0x85c5('0x1b')]('ck-suggestion-marker-split')&&(_0x14337b[_0x85c5('0x1e')][_0x85c5('0x19')](_0x47472c,_0xc9b3d[_0x85c5('0x0')]),_0x14337b[_0x85c5('0x20')][_0x85c5('0x22')](_0x47472c));},{'priority':'high'}),_0x5e26d0[_0x85c5('0x21')][_0x85c5('0x1c')]['on'](_0x85c5('0x13'),(_0x4a96ac,_0x1295ae,_0x11e6e6)=>{_0x11e6e6[_0x85c5('0x15')]['showSuggestionHighlights']&&_0x5b9bae(_0x5e26d0,_0x85c5('0x4'),{'showActiveMarker':!0x1})[_0x85c5('0x25')](this)(_0x4a96ac,_0x1295ae,_0x11e6e6);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1511=['replace','bind','string','getRange','findByTextCallback','item','findNext','start','findPrevious','enableCommand','replaceAll','suggestion:deletion','_isInDeletionRange','createRange','markers','getMarkersGroup','model','has','editor','get','filter','FindAndReplaceEditing','end','TrackChangesEditing','plugins','handleFindCommand','afterInit','createPositionAt'];(function(_0x3ad674,_0x15113c){const _0x1a25c5=function(_0x575d71){while(--_0x575d71){_0x3ad674['push'](_0x3ad674['shift']());}};_0x1a25c5(++_0x15113c);}(_0x1511,0x15b));const _0x1a25=function(_0x3ad674,_0x15113c){_0x3ad674=_0x3ad674-0x0;let _0x1a25c5=_0x1511[_0x3ad674];return _0x1a25c5;};import{Plugin as _0x29b34a}from'ckeditor5/src/core';export default class W extends _0x29b34a{[_0x1a25('0xf')](){if(!this['editor']['plugins'][_0x1a25('0x6')](_0x1a25('0xa')))return;const _0x1fadc3=this['editor'][_0x1a25('0xd')][_0x1a25('0x8')](_0x1a25('0xc'));_0x1fadc3[_0x1a25('0x1a')]('find',this[_0x1a25('0xe')][_0x1a25('0x12')](this)),_0x1fadc3[_0x1a25('0x1a')](_0x1a25('0x17')),_0x1fadc3[_0x1a25('0x1a')](_0x1a25('0x19')),_0x1fadc3[_0x1a25('0x1a')](_0x1a25('0x11')),_0x1fadc3[_0x1a25('0x1a')](_0x1a25('0x1b'));}[_0x1a25('0xe')](_0x32d74a,_0x41f12b,_0x11d6b5={}){const _0x385b9d=this[_0x1a25('0x7')]['plugins'][_0x1a25('0x8')]('FindAndReplaceUtils');if(void 0x0!==_0x11d6b5)return _0x32d74a(_0x437ead=>(_0x1a25('0x13')==typeof _0x41f12b?_0x385b9d[_0x1a25('0x15')](_0x41f12b,_0x11d6b5):_0x41f12b)(_0x437ead)[_0x1a25('0x9')](_0x5c3d09=>!0x1===this[_0x1a25('0x1')](_0x5c3d09,_0x437ead[_0x1a25('0x16')])),_0x11d6b5);}['_isInDeletionRange'](_0x1c95b8,_0x4dff61){const _0x5b392f=this[_0x1a25('0x7')][_0x1a25('0x5')][_0x1a25('0x2')](this[_0x1a25('0x7')][_0x1a25('0x5')][_0x1a25('0x10')](_0x4dff61,_0x1c95b8[_0x1a25('0x18')]),this[_0x1a25('0x7')][_0x1a25('0x5')][_0x1a25('0x10')](_0x4dff61,_0x1c95b8[_0x1a25('0xb')]));for(const _0x24d8f2 of this['editor'][_0x1a25('0x5')][_0x1a25('0x3')][_0x1a25('0x4')](_0x1a25('0x0')))if(null!==_0x5b392f['getIntersection'](_0x24d8f2[_0x1a25('0x14')]()))return!0x0;return!0x1;}}
|