@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231010.0 → 0.0.0-nightly-20231012.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +21 -0
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +5 -2
- 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-20231012.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-20231012.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231012.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 _0x2330=['model','_suggestions','getRanges','isEnabled','TrackChangesEditing','refresh','plugins','editor','track-changes-accept-suggestion-not-found','execute'];(function(_0x409839,_0x23308e){const _0x30beae=function(_0x53db11){while(--_0x53db11){_0x409839['push'](_0x409839['shift']());}};_0x30beae(++_0x23308e);}(_0x2330,0x173));const _0x30be=function(_0x409839,_0x23308e){_0x409839=_0x409839-0x0;let _0x30beae=_0x2330[_0x409839];return _0x30beae;};import{Command as _0x3cdcc6}from'ckeditor5/src/core';import{CKEditorError as _0x31823f}from'ckeditor5/src/utils';export default class M extends _0x3cdcc6{constructor(_0x3fabd5,_0x2c4c73){super(_0x3fabd5),this['_suggestions']=_0x2c4c73,this[_0x30be('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x30be('0x4')](){this[_0x30be('0x2')]=!0x0;}[_0x30be('0x8')](_0x140b0d){const _0x91d334=this[_0x30be('0x0')]['get'](_0x140b0d);if(!_0x91d334)throw new _0x31823f(_0x30be('0x7'),this);const _0x5bbb71=_0x91d334[_0x30be('0x1')]();this['editor'][_0x30be('0x9')]['canEditAt'](_0x5bbb71)&&this[_0x30be('0x6')][_0x30be('0x5')]['get'](_0x30be('0x3'))['acceptSuggestion'](_0x91d334);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48be=['plugins','execute','model','get','refresh','editor','_isEnabledBasedOnSelection','discardSuggestion','_suggestions','TrackChangesEditing','getRanges','isEnabled'];(function(_0x57890f,_0x48be58){const _0x160e34=function(_0x16dc61){while(--_0x16dc61){_0x57890f['push'](_0x57890f['shift']());}};_0x160e34(++_0x48be58);}(_0x48be,0x1d4));const _0x160e=function(_0x57890f,_0x48be58){_0x57890f=_0x57890f-0x0;let _0x160e34=_0x48be[_0x57890f];return _0x160e34;};import{Command as _0x92763b}from'ckeditor5/src/core';import{CKEditorError as _0x151f26}from'ckeditor5/src/utils';export default class $ extends _0x92763b{constructor(_0x3b45f9,_0x1b4168){super(_0x3b45f9),this[_0x160e('0x8')]=_0x1b4168,this['refresh'](),this[_0x160e('0x6')]=!0x1;}[_0x160e('0x4')](){this[_0x160e('0xb')]=!0x0;}[_0x160e('0x1')](_0x523645){const _0x3d84c9=this[_0x160e('0x8')][_0x160e('0x3')](_0x523645);if(!_0x3d84c9)throw new _0x151f26('track-changes-discard-suggestion-not-found',this);const _0x203e78=_0x3d84c9[_0x160e('0xa')]();this[_0x160e('0x5')][_0x160e('0x2')]['canEditAt'](_0x203e78)&&this['editor'][_0x160e('0x0')]['get'](_0x160e('0x9'))[_0x160e('0x7')](_0x3d84c9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbb66=['_isEnabledBasedOnSelection','getRanges','_suggestions','from','refresh','some','_command','canEditAt','isEnabled','values','isInContent','editor'];(function(_0x539351,_0xbb665a){const _0x218fb6=function(_0xa31f9){while(--_0xa31f9){_0x539351['push'](_0x539351['shift']());}};_0x218fb6(++_0xbb665a);}(_0xbb66,0x1c3));const _0x218f=function(_0x539351,_0xbb665a){_0x539351=_0x539351-0x0;let _0x218fb6=_0xbb66[_0x539351];return _0x218fb6;};import{Command as _0x285a2b}from'ckeditor5/src/core';import{sortSuggestions as _0x391fcc,executeCommandForSuggestions as _0x409046}from'../utils/utils';export default class N extends _0x285a2b{constructor(_0x4a0eae,_0x25cab6,_0x4aa684){super(_0x4a0eae),this[_0x218f('0xb')]=_0x25cab6,this[_0x218f('0x7')]=_0x4aa684,this[_0x218f('0x9')](),this[_0x218f('0x5')]=!0x1;}[_0x218f('0x9')](){const _0x2cd52e=Array[_0x218f('0x8')](this['_suggestions'][_0x218f('0x2')]())[_0x218f('0xa')](_0x439141=>_0x439141[_0x218f('0x3')]);this[_0x218f('0x1')]=this[_0x218f('0xb')][_0x218f('0x1')]&&_0x2cd52e;}['execute'](){const _0x5c64dd=_0x391fcc(Array[_0x218f('0x8')](this[_0x218f('0x7')]['values']()));for(const _0x574319 of _0x5c64dd){const _0x300e0e=_0x574319[_0x218f('0x6')]();if(!this[_0x218f('0x4')]['model'][_0x218f('0x0')](_0x300e0e))return;}_0x409046(this[_0x218f('0x4')]['model'],this[_0x218f('0xb')],_0x5c64dd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17ef=['_suggestions','_command','from','_selectedSuggestions','execute','size','selection','values','document','editor','_isEnabledBasedOnSelection','isEnabled','model'];(function(_0xbc46a7,_0x17ef3f){const _0x1038ef=function(_0x71c541){while(--_0x71c541){_0xbc46a7['push'](_0xbc46a7['shift']());}};_0x1038ef(++_0x17ef3f);}(_0x17ef,0x95));const _0x1038=function(_0xbc46a7,_0x17ef3f){_0xbc46a7=_0xbc46a7-0x0;let _0x1038ef=_0x17ef[_0xbc46a7];return _0x1038ef;};import{Command as _0x1939cf}from'ckeditor5/src/core';import{sortSuggestions as _0x16147b,getSelectedSuggestions as _0x350f39,executeCommandForSuggestions as _0x59159e}from'../utils/utils';export default class R extends _0x1939cf{constructor(_0x25a534,_0x142ed2,_0x42920c){super(_0x25a534),this['_command']=_0x142ed2,this[_0x1038('0x7')]=_0x42920c,this[_0x1038('0xa')]=new Set(),this['refresh'](),this[_0x1038('0x4')]=!0x1;}['refresh'](){const _0x47c813=this[_0x1038('0x3')][_0x1038('0x6')][_0x1038('0x2')][_0x1038('0x0')],_0x3e4c45=Array[_0x1038('0x9')](this['_suggestions'][_0x1038('0x1')]());this[_0x1038('0xa')]=_0x350f39(_0x47c813,_0x3e4c45),this[_0x1038('0x5')]=this[_0x1038('0x8')][_0x1038('0x5')]&&!!this[_0x1038('0xa')][_0x1038('0xc')];}[_0x1038('0xb')](){const _0x5614ba=_0x16147b(Array[_0x1038('0x9')](this[_0x1038('0xa')]));for(const _0x333bc8 of _0x5614ba){const _0x352443=_0x333bc8['getRanges']();if(!this[_0x1038('0x3')][_0x1038('0x6')]['canEditAt'](_0x352443))return;}_0x59159e(this[_0x1038('0x3')][_0x1038('0x6')],this[_0x1038('0x8')],_0x5614ba);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b94=['clearForceDisabled','_disableUnsupportedCommands','_enableCommands','_isEnabledBasedOnSelection','refresh','editor','forceDisabled','value','TrackChangesCommand','commands','affectsData','execute','has','_enabledCommands'];(function(_0x1536b5,_0x4b946f){const _0x2fc62b=function(_0x3bf511){while(--_0x3bf511){_0x1536b5['push'](_0x1536b5['shift']());}};_0x2fc62b(++_0x4b946f);}(_0x4b94,0xbd));const _0x2fc6=function(_0x1536b5,_0x4b946f){_0x1536b5=_0x1536b5-0x0;let _0x2fc62b=_0x4b94[_0x1536b5];return _0x2fc62b;};import{Command as _0x5018d7}from'ckeditor5/src/core';export default class _ extends _0x5018d7{constructor(_0x57333d,_0x4ca852){super(_0x57333d),this[_0x2fc6('0x6')]=_0x4ca852,this[_0x2fc6('0x0')]=!0x1,this['refresh'](),this[_0x2fc6('0xa')]=!0x1;}[_0x2fc6('0xb')](){this['isEnabled']=!0x0;}[_0x2fc6('0x4')](){this[_0x2fc6('0x0')]=!this[_0x2fc6('0x0')],this[_0x2fc6('0x0')]?this[_0x2fc6('0x8')]():this[_0x2fc6('0x9')]();}[_0x2fc6('0x8')](){for(const _0x2be0a5 of this[_0x2fc6('0xc')]['commands'][_0x2fc6('0x2')]())_0x2be0a5[_0x2fc6('0x3')]&&!this[_0x2fc6('0x6')][_0x2fc6('0x5')](_0x2be0a5)&&_0x2be0a5[_0x2fc6('0xd')](_0x2fc6('0x1'));}[_0x2fc6('0x9')](){for(const _0xa7e93d of this[_0x2fc6('0xc')][_0x2fc6('0x2')][_0x2fc6('0x2')]())_0xa7e93d[_0x2fc6('0x3')]&&!this[_0x2fc6('0x6')][_0x2fc6('0x5')](_0xa7e93d)&&_0xa7e93d[_0x2fc6('0x7')](_0x2fc6('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c39=['showAIAssistant','enableCommand','get','commands','editor','TrackChangesEditing','afterInit'];(function(_0x44c60a,_0x4c3939){const _0xdc2168=function(_0x14b64e){while(--_0x14b64e){_0x44c60a['push'](_0x44c60a['shift']());}};_0xdc2168(++_0x4c3939);}(_0x4c39,0x185));const _0xdc21=function(_0x44c60a,_0x4c3939){_0x44c60a=_0x44c60a-0x0;let _0xdc2168=_0x4c39[_0x44c60a];return _0xdc2168;};import{Plugin as _0xf1eb34}from'ckeditor5/src/core';export default class j extends _0xf1eb34{[_0xdc21('0x2')](){const _0x380f49=this[_0xdc21('0x0')],_0x1e8c42=_0x380f49['plugins'][_0xdc21('0x5')](_0xdc21('0x1'));_0x380f49[_0xdc21('0x6')][_0xdc21('0x5')](_0xdc21('0x3'))&&_0x1e8c42[_0xdc21('0x4')](_0xdc21('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3152=['commandName','afterInit','contentLanguageDirection','_descriptionFactory','value','FORMAT_ALIGN_TO_RIGHT','AlignmentEditing','alignment','commandParams','*Format:*\x20%0','schema','locale','editor','markBlockFormat','TrackChangesEditing','get','registerDescriptionCallback','checkAttribute','enableCommand','selection','filter','FORMAT_ALIGN_TO_LEFT','right','FORMAT_ALIGN_TO_CENTER','format','left','model','plugins','ltr'];(function(_0x1dd803,_0x3152bd){const _0x38c512=function(_0x207eb9){while(--_0x207eb9){_0x1dd803['push'](_0x1dd803['shift']());}};_0x38c512(++_0x3152bd);}(_0x3152,0x6b));const _0x38c5=function(_0x1dd803,_0x3152bd){_0x1dd803=_0x1dd803-0x0;let _0x38c512=_0x3152[_0x1dd803];return _0x38c512;};import{Plugin as _0x3020d5}from'ckeditor5/src/core';import{getTranslation as _0x1cc3c4}from'../utils/common-translations';export default class x extends _0x3020d5{[_0x38c5('0xa')](){const _0x1f04ca=this['editor'],_0x12a510=_0x1f04ca[_0x38c5('0x14')];if(!_0x1f04ca[_0x38c5('0x7')]['has'](_0x38c5('0xf')))return;const _0x40e6a1=_0x1f04ca[_0x38c5('0x7')][_0x38c5('0x18')](_0x38c5('0x17'));_0x40e6a1[_0x38c5('0x1b')](_0x38c5('0x10'),(_0x44474f,_0x30e90c={})=>{let _0x1079a0=_0x30e90c['value'];_0x30e90c[_0x38c5('0xd')]||(_0x1079a0=_0x38c5('0x8')===_0x1f04ca[_0x38c5('0x14')][_0x38c5('0xb')]?'left':_0x38c5('0x2'));const _0x60a6f=Array['from'](this[_0x38c5('0x15')]['model']['document'][_0x38c5('0x1c')]['getSelectedBlocks']())[_0x38c5('0x0')](_0x1e9dac=>function(_0x4cd787,_0x429da3,_0xa91653){const _0x17dd76=_0x4cd787['getAttribute']('alignment')||null;return _0x429da3[_0x38c5('0x1a')](_0x4cd787,_0x38c5('0x10'))&&_0xa91653!=_0x17dd76;}(_0x1e9dac,this['editor'][_0x38c5('0x6')][_0x38c5('0x13')],_0x1079a0));_0x1f04ca[_0x38c5('0x6')]['change'](()=>{for(const _0x52d6f4 of _0x60a6f)_0x40e6a1[_0x38c5('0x16')](_0x52d6f4,{'commandName':_0x38c5('0x10'),'commandParams':[{'value':_0x1079a0}]});});}),_0x40e6a1[_0x38c5('0xc')][_0x38c5('0x19')](_0x4d08ce=>{const {data:_0x478e4b}=_0x4d08ce;if(_0x478e4b&&_0x38c5('0x10')==_0x478e4b[_0x38c5('0x9')]){const _0x16bced=_0x478e4b[_0x38c5('0x11')][0x0][_0x38c5('0xd')];return{'type':_0x38c5('0x4'),'content':_0x1cc3c4(_0x12a510,_0x38c5('0x12'),function(_0x9443a7){switch(_0x9443a7){case _0x38c5('0x5'):return _0x1cc3c4(_0x12a510,_0x38c5('0x1'));case _0x38c5('0x2'):return _0x1cc3c4(_0x12a510,_0x38c5('0xe'));case'center':return _0x1cc3c4(_0x12a510,_0x38c5('0x3'));case'justify':return _0x1cc3c4(_0x12a510,'FORMAT_JUSTIFY_TEXT');}}(_0x16bced))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c64=['toLowerCase','FORMAT_ITALIC','FORMAT_UNDERLINE','superscript','format','CodeEditing','commandParams','getRanges','markInlineFormat','underline','forceValue','italic','FORMAT_CODE','code','registerDescriptionCallback','TrackChangesEditing','BoldEditing','commandName','subscript','*Format:*\x20%0','commands','change','FORMAT_SUPERSCRIPT','isCollapsed','slice','UnderlineEditing','ItalicEditing','FORMAT_STRIKETHROUGH','StrikethroughEditing','locale','get','from','model','_descriptionFactory','SubscriptEditing'];(function(_0xaa09e3,_0x1c64bc){const _0x528ed1=function(_0x4d9580){while(--_0x4d9580){_0xaa09e3['push'](_0xaa09e3['shift']());}};_0x528ed1(++_0x1c64bc);}(_0x1c64,0x90));const _0x528e=function(_0xaa09e3,_0x1c64bc){_0xaa09e3=_0xaa09e3-0x0;let _0x528ed1=_0x1c64[_0xaa09e3];return _0x528ed1;};import{Plugin as _0x2a73ae}from'ckeditor5/src/core';import{getTranslation as _0x3f2bcb}from'../utils/common-translations';import{getRangesWithAttribute as _0x380774}from'./utils';const Zt=[_0x528e('0xc'),_0x528e('0x16'),_0x528e('0x15'),_0x528e('0x1'),_0x528e('0x18'),_0x528e('0x1e'),'SuperscriptEditing'];export default class U extends _0x2a73ae{['afterInit'](){const _0x57e561=this['editor'],_0x789bd6=_0x57e561[_0x528e('0x1c')],_0x25764b=_0x57e561['plugins'][_0x528e('0x1a')](_0x528e('0xb')),_0x1ccdab=_0x57e561[_0x528e('0x19')];for(const _0x408b57 of Zt){if(!_0x57e561['plugins']['has'](_0x408b57))continue;const _0x4c103a=_0x408b57[_0x528e('0x14')](0x0,-0x7)[_0x528e('0x1f')](),_0x41ab52=_0x57e561[_0x528e('0x10')][_0x528e('0x1a')](_0x4c103a);_0x25764b['enableCommand'](_0x4c103a,(_0xd5e345,_0x5b9061={})=>{const _0xa256b=_0x789bd6['document']['selection'];if(_0xa256b[_0x528e('0x13')])return void _0xd5e345(_0x5b9061);const _0x5dd6f6=void 0x0!==_0x5b9061[_0x528e('0x6')]?_0x5b9061[_0x528e('0x6')]:!_0x41ab52['value'];_0x789bd6[_0x528e('0x11')](()=>{const _0x2aca5a=Array[_0x528e('0x1b')](_0xa256b[_0x528e('0x3')]());for(const _0x369b44 of _0x2aca5a){const _0x53d539=_0x5dd6f6?[_0x369b44]:_0x380774(_0x4c103a,_0x369b44,_0x789bd6);for(const _0x340ed4 of _0x53d539)_0x25764b[_0x528e('0x4')](_0x340ed4,{'commandName':_0x4c103a,'commandParams':[{'forceValue':_0x5dd6f6}]});}});});}function _0x2cd21a(_0x1f748c,_0x52f30f){_0x25764b[_0x528e('0x1d')][_0x528e('0xa')](_0x4747bc=>{const {data:_0x45e474}=_0x4747bc;if(_0x45e474&&_0x45e474[_0x528e('0xd')]===_0x1f748c)return _0x45e474[_0x528e('0x2')][0x0][_0x528e('0x6')]?{'type':_0x528e('0x0'),'content':_0x3f2bcb(_0x1ccdab,_0x528e('0xf'),_0x52f30f)}:{'type':_0x528e('0x0'),'content':_0x3f2bcb(_0x1ccdab,'*Remove\x20format:*\x20%0',_0x52f30f)};});}_0x2cd21a('bold',_0x3f2bcb(_0x1ccdab,'FORMAT_BOLD')),_0x2cd21a(_0x528e('0x7'),_0x3f2bcb(_0x1ccdab,_0x528e('0x20'))),_0x2cd21a(_0x528e('0x5'),_0x3f2bcb(_0x1ccdab,_0x528e('0x21'))),_0x2cd21a(_0x528e('0x9'),_0x3f2bcb(_0x1ccdab,_0x528e('0x8'))),_0x2cd21a('strikethrough',_0x3f2bcb(_0x1ccdab,_0x528e('0x17'))),_0x2cd21a(_0x528e('0xe'),_0x3f2bcb(_0x1ccdab,'FORMAT_SUBSCRIPT')),_0x2cd21a(_0x528e('0x22'),_0x3f2bcb(_0x1ccdab,_0x528e('0x12')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ac9=['filter','TrackChangesEditing','forceValue','*Remove\x20format:*\x20%0','selection','getSelectedBlocks','plugins','get','format','checkChild','value','commands','locale','enableCommand','blockQuote','BlockQuoteEditing','parent','has','registerDescriptionCallback','editor','commandParams','afterInit','*Format:*\x20%0','commandName','name','model','markBlockFormat','from'];(function(_0x1f0d07,_0x1ac9ca){const _0x5e12e0=function(_0x13cc09){while(--_0x13cc09){_0x1f0d07['push'](_0x1f0d07['shift']());}};_0x5e12e0(++_0x1ac9ca);}(_0x1ac9,0xe6));const _0x5e12=function(_0x1f0d07,_0x1ac9ca){_0x1f0d07=_0x1f0d07-0x0;let _0x5e12e0=_0x1ac9[_0x1f0d07];return _0x5e12e0;};import{Plugin as _0x34a6df}from'ckeditor5/src/core';import{getTranslation as _0x59110e}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3c99e6}from'../utils/utils';export default class O extends _0x34a6df{[_0x5e12('0xf')](){const _0x261fbd=this['editor'],_0x35dab7=_0x261fbd[_0x5e12('0x6')];if(!_0x261fbd[_0x5e12('0x0')][_0x5e12('0xb')](_0x5e12('0x9')))return;const _0x50789f=_0x261fbd[_0x5e12('0x0')][_0x5e12('0x1')](_0x5e12('0x17')),_0x2a9585=this['editor'][_0x5e12('0x5')][_0x5e12('0x1')](_0x5e12('0x8'));_0x50789f[_0x5e12('0x7')](_0x5e12('0x8'),(_0x408297,_0x1f1c6e={})=>{const _0x369e16=this[_0x5e12('0xd')][_0x5e12('0x13')]['document'][_0x5e12('0x1a')],_0x51ccdc=_0x1f1c6e&&void 0x0!==_0x1f1c6e['forceValue']?_0x1f1c6e['forceValue']:!_0x2a9585[_0x5e12('0x4')];let _0x365285=[];if(_0x51ccdc){const _0x57c80b=Array[_0x5e12('0x15')](_0x369e16[_0x5e12('0x1b')]())[_0x5e12('0x16')](_0x3c23b2=>oo(_0x3c23b2)||function(_0x4b4813,_0x5a64c4){const _0x1f86d0=_0x5a64c4['checkChild'](_0x4b4813[_0x5e12('0xa')],_0x5e12('0x8')),_0x18a6c4=_0x5a64c4[_0x5e12('0x3')](['$root',_0x5e12('0x8')],_0x4b4813);return _0x1f86d0&&_0x18a6c4;}(_0x3c23b2,this[_0x5e12('0xd')][_0x5e12('0x13')]['schema']));_0x365285=_0x3c99e6(_0x57c80b,_0x261fbd[_0x5e12('0x13')]);}else{const _0x40cefb=Array[_0x5e12('0x15')](_0x369e16[_0x5e12('0x1b')]())[_0x5e12('0x16')](_0x4e161f=>oo(_0x4e161f));_0x365285=_0x3c99e6(_0x40cefb,_0x261fbd['model']);}_0x261fbd[_0x5e12('0x13')]['change'](()=>{for(const _0x1eb87a of _0x365285)_0x50789f[_0x5e12('0x14')](_0x1eb87a,{'commandName':_0x5e12('0x8'),'commandParams':[{'forceValue':_0x51ccdc}]});});}),_0x50789f['_descriptionFactory'][_0x5e12('0xc')](_0x3d433e=>{const {data:_0x340a7e}=_0x3d433e;if(_0x340a7e&&'blockQuote'==_0x340a7e[_0x5e12('0x11')]){const _0x53bd93=_0x59110e(_0x35dab7,'ELEMENT_BLOCK_QUOTE');return _0x340a7e[_0x5e12('0xe')][0x0][_0x5e12('0x18')]?{'type':_0x5e12('0x2'),'content':_0x59110e(_0x35dab7,_0x5e12('0x10'),_0x53bd93)}:{'type':_0x5e12('0x2'),'content':_0x59110e(_0x35dab7,_0x5e12('0x19'),_0x53bd93)};}});}}function oo(_0x51fb93){return'blockQuote'==_0x51fb93['parent'][_0x5e12('0x12')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x115e=['plugins','enableCommand','ckbox','afterInit','get','editor'];(function(_0x3a541d,_0x115e91){const _0x1f4e27=function(_0x131afb){while(--_0x131afb){_0x3a541d['push'](_0x3a541d['shift']());}};_0x1f4e27(++_0x115e91);}(_0x115e,0x159));const _0x1f4e=function(_0x3a541d,_0x115e91){_0x3a541d=_0x3a541d-0x0;let _0x1f4e27=_0x115e[_0x3a541d];return _0x1f4e27;};import{Plugin as _0x20c826}from'ckeditor5/src/core';export default class E extends _0x20c826{[_0x1f4e('0x0')](){const _0x1d6cb6=this[_0x1f4e('0x2')];_0x1d6cb6['commands']['get'](_0x1f4e('0x5'))&&_0x1d6cb6[_0x1f4e('0x3')][_0x1f4e('0x1')]('TrackChangesEditing')[_0x1f4e('0x4')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23aa=['*Remove\x20format:*\x20%0','get','has','forceValue','filter','commandParams','*Format:*\x20%0','plugins','change','getSelectedBlocks','checkChild','language','TrackChangesEditing','_descriptionFactory','registerElementLabel','model','selection','afterInit','name','codeBlock','commandName','value','commands','label','locale','find','document','format','from','parent','ELEMENT_CODE_BLOCK','markBlockFormat','isLimit','outdentCodeBlock','enableCommand','formatBlock','languages','indentCodeBlock'];(function(_0x3bdea0,_0x23aad3){const _0x21f171=function(_0x3e0114){while(--_0x3e0114){_0x3bdea0['push'](_0x3bdea0['shift']());}};_0x21f171(++_0x23aad3);}(_0x23aa,0x15f));const _0x21f1=function(_0x3bdea0,_0x23aad3){_0x3bdea0=_0x3bdea0-0x0;let _0x21f171=_0x23aa[_0x3bdea0];return _0x21f171;};import{Plugin as _0x25a31c}from'ckeditor5/src/core';import{getTranslation as _0x54da67}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4f51f7}from'../utils/utils';export default class F extends _0x25a31c{[_0x21f1('0x8')](){const _0x5e4b70=this['editor'];if(!_0x5e4b70[_0x21f1('0x24')][_0x21f1('0x1f')]('CodeBlock'))return;const _0x772b0=_0x5e4b70[_0x21f1('0x24')]['get'](_0x21f1('0x3')),_0x3772ca=_0x5e4b70[_0x21f1('0xf')],_0xad3d73=_0x5e4b70['config'][_0x21f1('0x1e')](_0x21f1('0xa'))[_0x21f1('0x1b')],_0x5768f6=_0x5e4b70[_0x21f1('0xd')][_0x21f1('0x1e')](_0x21f1('0xa'));_0x772b0[_0x21f1('0x19')](_0x21f1('0x1c')),_0x772b0[_0x21f1('0x19')](_0x21f1('0x18')),_0x772b0[_0x21f1('0x19')]('codeBlock',(_0x3c6b5f,_0x25cdb3={})=>{const _0x52c5ce=_0x5e4b70[_0x21f1('0x6')],_0x2d78c9=_0x5e4b70[_0x21f1('0x6')][_0x21f1('0x11')][_0x21f1('0x7')],_0x57dae1=_0x25cdb3&&void 0x0!==_0x25cdb3['forceValue']?_0x25cdb3[_0x21f1('0x20')]:!_0x5768f6[_0x21f1('0xc')];let _0x34dd7a;_0x25cdb3['language']||(_0x25cdb3[_0x21f1('0x2')]=_0xad3d73[0x0][_0x21f1('0x2')]),_0x34dd7a=_0x57dae1?Array[_0x21f1('0x13')](_0x2d78c9[_0x21f1('0x0')]())[_0x21f1('0x21')](_0x155c3d=>co(_0x155c3d)||function(_0x1ab8e8,_0x44d43d){if(_0x1ab8e8['is']('rootElement')||_0x44d43d[_0x21f1('0x17')](_0x1ab8e8))return!0x1;return _0x44d43d[_0x21f1('0x1')](_0x1ab8e8[_0x21f1('0x14')],'codeBlock');}(_0x155c3d,_0x52c5ce['schema'])):Array[_0x21f1('0x13')](_0x2d78c9['getSelectedBlocks']())[_0x21f1('0x21')](_0x5c36d9=>co(_0x5c36d9));const _0x46f003=_0x4f51f7(_0x34dd7a,_0x52c5ce);_0x52c5ce[_0x21f1('0x25')](()=>{for(const _0xd0c5a2 of _0x46f003)_0x772b0[_0x21f1('0x16')](_0xd0c5a2,{'commandName':_0x21f1('0xa'),'commandParams':[{..._0x25cdb3,'forceValue':_0x57dae1}],'formatGroupId':'blockName'});});}),(_0x772b0[_0x21f1('0x4')][_0x21f1('0x5')](_0x21f1('0xa'),_0x4e5808=>_0x54da67(_0x3772ca,_0x21f1('0x15'),_0x4e5808)),_0x772b0[_0x21f1('0x4')]['registerDescriptionCallback'](_0x537de1=>{const _0x1e3740=_0x3772ca['t'],{type:_0x1cd249,data:_0x19c2e9}=_0x537de1;if(_0x21f1('0x1a')==_0x1cd249&&_0x19c2e9&&'codeBlock'==_0x19c2e9[_0x21f1('0xb')]){const _0xc6bdc5=_0x19c2e9['commandParams'][0x0][_0x21f1('0x2')],_0x1c7c51=_0x1e3740(_0xad3d73[_0x21f1('0x10')](_0x714c0=>_0x714c0[_0x21f1('0x2')]===_0xc6bdc5)[_0x21f1('0xe')]);return _0x19c2e9[_0x21f1('0x22')][0x0]['forceValue']?{'type':_0x21f1('0x12'),'content':_0x54da67(_0x3772ca,_0x21f1('0x23'),_0x54da67(_0x3772ca,_0x21f1('0x15'),0x1)+'\x20('+_0x1c7c51+')')}:{'type':_0x21f1('0x12'),'content':_0x54da67(_0x3772ca,_0x21f1('0x1d'),_0x54da67(_0x3772ca,_0x21f1('0x15'),0x1))};}}));}}function co(_0x48343c){return _0x21f1('0xa')==_0x48343c[_0x21f1('0x9')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13ec=['TrackChangesEditing','afterInit','CommentsEditing','plugins','get','addCommentThread'];(function(_0x4c341f,_0x13ec24){const _0x5d6313=function(_0xc90ee3){while(--_0xc90ee3){_0x4c341f['push'](_0x4c341f['shift']());}};_0x5d6313(++_0x13ec24);}(_0x13ec,0x1a4));const _0x5d63=function(_0x4c341f,_0x13ec24){_0x4c341f=_0x4c341f-0x0;let _0x5d6313=_0x13ec[_0x4c341f];return _0x5d6313;};import{Plugin as _0x191427}from'ckeditor5/src/core';export default class G extends _0x191427{[_0x5d63('0x1')](){const _0x3d0e39=this['editor'];if(!_0x3d0e39[_0x5d63('0x3')]['has'](_0x5d63('0x2')))return;_0x3d0e39['plugins'][_0x5d63('0x4')](_0x5d63('0x0'))['enableCommand'](_0x5d63('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d1d=['get','data','rootName','forward','showSuggestionHighlights','document','unit','deleteForward','downcastDispatcher','commands','removeMarker:suggestion:deletion','selection','isCollapsed','unlock','uiElement','delete','detach','createSelection','model','enableCommand','writer','buffer','editor','editing','addMarker:suggestion:deletion','TrackChangesEditing','mapper','markerName','requires','unbindElementFromMarkerName','init','enqueueChange','fromRange','merge','start','root','batch','end','high','createRange'];(function(_0x489a9a,_0x4d1d05){const _0x39e367=function(_0x304a5d){while(--_0x304a5d){_0x489a9a['push'](_0x489a9a['shift']());}};_0x39e367(++_0x4d1d05);}(_0x4d1d,0x195));const _0x39e3=function(_0x489a9a,_0x4d1d05){_0x489a9a=_0x489a9a-0x0;let _0x39e367=_0x4d1d[_0x489a9a];return _0x39e367;};import{Plugin as _0x24aa4f}from'ckeditor5/src/core';import{LiveRange as _0x32da47}from'ckeditor5/src/engine';import{Delete as _0x182a29}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x5b48af}from'./utils';export default class L extends _0x24aa4f{static get[_0x39e3('0x17')](){return[_0x182a29];}[_0x39e3('0x19')](){const _0x5990a9=this[_0x39e3('0x11')],_0x223a64=_0x5990a9['plugins'][_0x39e3('0x23')](_0x39e3('0x14'));_0x223a64[_0x39e3('0xe')](_0x39e3('0xa'));const _0x774dc0=_0x5990a9[_0x39e3('0x4')][_0x39e3('0x23')](_0x39e3('0x2'));_0x223a64['enableCommand'](_0x39e3('0x2'),(_0x3eae10,_0x4642c7={})=>{const _0x2a3e22=_0x5990a9['model'][_0x39e3('0xc')](_0x5990a9['model'][_0x39e3('0x0')][_0x39e3('0x6')]);_0x2a3e22[_0x39e3('0x7')]&&_0x5990a9[_0x39e3('0xd')]['modifySelection'](_0x2a3e22,{'direction':_0x39e3('0x26'),'unit':_0x4642c7[_0x39e3('0x1')]});const _0x92da6=_0x2a3e22['getFirstRange'](),_0x3db923=_0x32da47[_0x39e3('0x1b')](_0x92da6);let _0x429b4f;_0x3eae10(_0x4642c7),_0x429b4f='$graveyard'==_0x3db923[_0x39e3('0x1e')][_0x39e3('0x25')]?_0x5990a9['model'][_0x39e3('0x22')](_0x92da6[_0x39e3('0x1d')]):_0x5990a9[_0x39e3('0xd')][_0x39e3('0x22')](_0x3db923[_0x39e3('0x1d')],_0x3db923[_0x39e3('0x20')]),_0x3db923[_0x39e3('0xb')](),_0x5990a9[_0x39e3('0xd')][_0x39e3('0x1a')](_0x774dc0[_0x39e3('0x10')][_0x39e3('0x1f')],_0x57725d=>{_0x774dc0['buffer']['lock'](),_0x57725d['setSelection'](_0x57725d[_0x39e3('0x22')](_0x429b4f['end'])),_0x774dc0[_0x39e3('0x10')][_0x39e3('0x8')]();});}),_0x5990a9['editing'][_0x39e3('0x3')]['on'](_0x39e3('0x13'),_0x5b48af(_0x5990a9,_0x39e3('0x1c')),{'priority':_0x39e3('0x21')}),_0x5990a9[_0x39e3('0x24')][_0x39e3('0x3')]['on'](_0x39e3('0x13'),(_0x1c70f4,_0x2d9f10,_0x2db1d8)=>{_0x2db1d8['options'][_0x39e3('0x27')]&&_0x5b48af(_0x5990a9,_0x39e3('0x1c'),{'showActiveMarker':!0x1})['bind'](this)(_0x1c70f4,_0x2d9f10,_0x2db1d8);},{'priority':_0x39e3('0x21')}),_0x5990a9[_0x39e3('0x12')][_0x39e3('0x3')]['on'](_0x39e3('0x5'),(_0x36adde,_0x1e023f,_0x35d08c)=>{const _0x1a0cde=_0x35d08c[_0x39e3('0x15')]['markerNameToElements'](_0x1e023f[_0x39e3('0x16')]);if(_0x1a0cde)for(const _0x3d0ec0 of _0x1a0cde)_0x3d0ec0['is'](_0x39e3('0x9'))&&(_0x35d08c['mapper'][_0x39e3('0x18')](_0x3d0ec0,_0x1e023f['markerName']),_0x35d08c[_0x39e3('0xf')]['remove'](_0x3d0ec0));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54b6=['containsItem','*Format:*\x20remove\x20from\x20%0','detach','model','editor','_LIST','list.multiBlock','commandParams','selection','after','commandName','next','registerDescriptionCallback','listIndent','*Change\x20to:*\x20%0','*Format:*\x20insert\x20into\x20%0','_suggestionFactory','nodeAfter','isFirstBlockOfListItem','end','from','schema','createPositionAt','numberedList','commands','deletion','multipleBlocks','enableCommand','markMultiRangeBlockFormat','slice','add','setSelection','outdentList','parent','splitListItemAfter','listType','listItemId','get','DocumentListUtils','markBlockFormat','fromRange','config','push','ELEMENT_','getAttribute','splitListItemBefore','documentList','ELEMENT_BULLETED_LIST','bulletedList','accept','has','TrackChangesEditing','document','getSelectedBlocks','paragraph','nextSibling','getRanges','createRange','hasAttribute','length','mergeListItemForward','indentList','start','change','refresh','plugins','mergeListItemBackward','ELEMENT_LIST_ITEM','isObject','*Merge:*\x20%0','afterInit','execute','DocumentListEditing','registerElementLabel','expandListBlocksToCompleteList','previousSibling','value','toUpperCase','getFirstRange','*Indent:*\x20%0','formatBlock','format','forceValue','*Outdent:*\x20%0'];(function(_0x5d0edc,_0x54b62c){const _0x1a7cf0=function(_0x21abf7){while(--_0x21abf7){_0x5d0edc['push'](_0x5d0edc['shift']());}};_0x1a7cf0(++_0x54b62c);}(_0x54b6,0x7c));const _0x1a7c=function(_0x5d0edc,_0x54b62c){_0x5d0edc=_0x5d0edc-0x0;let _0x1a7cf0=_0x54b6[_0x5d0edc];return _0x1a7cf0;};import{Plugin as _0x59d406}from'ckeditor5/src/core';import{getTranslation as _0x602109}from'../utils/common-translations';import{LiveRange as _0x41ea51}from'ckeditor5/src/engine';export default class q extends _0x59d406{[_0x1a7c('0x1e')](){const _0x45f922=this[_0x1a7c('0x30')];if(!_0x45f922['plugins'][_0x1a7c('0xa')](_0x1a7c('0x20')))return;const _0x3dd1be=_0x45f922['locale'],_0x33409b=_0x45f922['plugins'][_0x1a7c('0x51')](_0x1a7c('0xb')),_0x1152b9=_0x45f922[_0x1a7c('0x19')][_0x1a7c('0x51')](_0x1a7c('0x52'));function _0x1134c3(_0x2849a3){return()=>{const _0x52c18a=_0x45f922['commands'][_0x1a7c('0x51')](_0x2849a3);if(_0x52c18a[_0x1a7c('0x24')]&&!_0x45f922[_0x1a7c('0x1')]['get']('list.multiBlock'))return void _0x45f922[_0x1a7c('0x1f')](_0x1a7c('0xe'),{});let _0x380526=Array[_0x1a7c('0x40')](_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0xc')][_0x1a7c('0x34')][_0x1a7c('0xd')]());if(_0x4fb1ec(_0x2849a3)){_0x380526=_0x1152b9[_0x1a7c('0x22')](_0x380526);const _0x429ad7=[];for(const _0x6592fa of _0x380526)_0x1152b9[_0x1a7c('0x3e')](_0x6592fa)&&_0x429ad7[_0x1a7c('0x2')](_0x6592fa);_0x380526=_0x429ad7;}_0x45f922[_0x1a7c('0x2f')]['change'](()=>{_0x33409b[_0x1a7c('0x48')](_0x380526,{'commandName':_0x2849a3,'commandParams':[{'forceValue':!_0x52c18a[_0x1a7c('0x24')]}],'formatGroupId':'listType'},[],_0x1a7c('0x6'));});};}function _0x16273b(_0x3331bd){return()=>{const _0x21b667=function(_0x51d2f2){let _0x1d3f91=Array['from'](_0x51d2f2);const _0x109fdf=_0x1d3f91['findIndex'](_0x3f1d99=>!_0x3f1d99[_0x1a7c('0x12')](_0x1a7c('0x50')));return _0x109fdf>-0x1&&(_0x1d3f91=_0x1d3f91[_0x1a7c('0x49')](0x0,_0x109fdf)),_0x1d3f91;}(_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0xc')][_0x1a7c('0x34')][_0x1a7c('0xd')]()),_0x756e6f=_0x21b667[_0x21b667[_0x1a7c('0x13')]-0x1],_0x1d6e1e=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x41')][_0x1a7c('0x1c')](_0x756e6f)?_0x1a7c('0x35'):_0x1a7c('0x3f'),_0x27582c=_0x45f922[_0x1a7c('0x2f')]['createRange'](_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x21b667[0x0],'before'),_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x756e6f,_0x1d6e1e));_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x17')](()=>{_0x33409b[_0x1a7c('0x53')](_0x27582c,{'commandName':_0x3331bd,'commandParams':[],'formatGroupId':'listType'},function(_0x62f69d){const _0x5d0f6c=new Set();for(const _0x126a26 of _0x62f69d){let _0x5da120=_0x126a26[_0x1a7c('0xf')];for(;_0x5da120&&_0x5da120[_0x1a7c('0x4')](_0x1a7c('0x39'))>_0x126a26[_0x1a7c('0x4')](_0x1a7c('0x39'));)_0x5d0f6c[_0x1a7c('0x4a')](_0x5da120),_0x5da120=_0x5da120['nextSibling'];}return Array[_0x1a7c('0x40')](_0x5d0f6c);}(_0x21b667));});};}function _0x5e6abf(_0x3d6801){return()=>{const _0x5002cd=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0xc')][_0x1a7c('0x34')][_0x1a7c('0xd')]()[_0x1a7c('0x37')]()[_0x1a7c('0x24')],_0x202fea=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x5002cd,'before'),_0x412653=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x5002cd,0x0),_0x976a74=_0x45f922[_0x1a7c('0x2f')]['createRange'](_0x202fea,_0x412653);_0x45f922[_0x1a7c('0x2f')]['change'](()=>{_0x33409b['markBlockFormat'](_0x976a74,{'commandName':_0x3d6801,'commandParams':[],'formatGroupId':'listType'});});};}function _0x4fb1ec(_0x119b19){const _0xe017cb=_0x45f922[_0x1a7c('0x44')][_0x1a7c('0x51')](_0x1a7c('0x8'))['value'],_0x43fedb=_0x45f922['commands'][_0x1a7c('0x51')](_0x1a7c('0x43'))[_0x1a7c('0x24')];return _0x1a7c('0x43')===_0x119b19?_0xe017cb:_0x43fedb;}_0x33409b['enableCommand'](_0x1a7c('0x43'),_0x1134c3('numberedList')),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x8'),_0x1134c3(_0x1a7c('0x8'))),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x15'),_0x16273b(_0x1a7c('0x15'))),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x4c'),_0x16273b(_0x1a7c('0x4c'))),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x4e'),_0x5e6abf(_0x1a7c('0x4e'))),_0x33409b['enableCommand'](_0x1a7c('0x5'),_0x5e6abf('splitListItemBefore')),_0x33409b['_descriptionFactory'][_0x1a7c('0x21')](function(_0x106209){const _0x2b9863=!_0x45f922['model'][_0x1a7c('0x41')]['isObject'](_0x106209),_0x1aed93=_0x106209[_0x1a7c('0x23')],_0xb11c80=_0x106209[_0x1a7c('0xf')],_0xc9623c=_0x106209['getAttribute']('listItemId'),_0x24d32d=!_0x1aed93||_0x1aed93[_0x1a7c('0x4')]('listItemId')!==_0xc9623c,_0x51d517=!_0xb11c80||_0xb11c80[_0x1a7c('0x4')]('listItemId')!==_0xc9623c;return _0x2b9863&&Boolean(_0xc9623c)&&_0x24d32d&&_0x51d517;},_0x153d50=>_0x602109(_0x3dd1be,'ELEMENT_LIST_ITEM',_0x153d50)),_0x33409b['_descriptionFactory'][_0x1a7c('0x38')](function(_0x553e90){const {data:_0x2bf1db}=_0x553e90;if(!_0x2bf1db)return;let _0x5d7ff0,_0x376f5a,_0x37b1a7,_0x13f52d;switch(_0x2bf1db[_0x1a7c('0x36')]){case'bulletedList':_0x37b1a7=_0x2bf1db[_0x1a7c('0x33')][0x0][_0x1a7c('0x2a')],_0x13f52d=_0x4fb1ec(_0x2bf1db[_0x1a7c('0x36')]),_0x5d7ff0=_0x37b1a7?_0x1a7c('0x3b'):'*Format:*\x20remove\x20from\x20%0',!_0x13f52d&&_0x45f922['config'][_0x1a7c('0x51')]('list.multiBlock')||(_0x5d7ff0=_0x1a7c('0x3a')),_0x376f5a={'type':'format','content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,_0x1a7c('0x7')))};break;case _0x1a7c('0x43'):_0x37b1a7=_0x2bf1db[_0x1a7c('0x33')][0x0][_0x1a7c('0x2a')],_0x13f52d=_0x4fb1ec(_0x2bf1db['commandName']),_0x5d7ff0=_0x37b1a7?_0x1a7c('0x3b'):_0x1a7c('0x2d'),!_0x13f52d&&_0x45f922[_0x1a7c('0x1')]['get'](_0x1a7c('0x32'))||(_0x5d7ff0='*Change\x20to:*\x20%0'),_0x376f5a={'type':'format','content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,'ELEMENT_NUMBERED_LIST'))};break;case _0x1a7c('0x15'):_0x5d7ff0=_0x1a7c('0x27'),_0x376f5a={'type':_0x1a7c('0x29'),'content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,_0x1a7c('0x1b')))};break;case _0x1a7c('0x4c'):_0x5d7ff0=function(_0x1f062c){const _0x2e2f3a=_0x1f062c['getFirstRange']();let _0x3fae81=_0x2e2f3a['start'][_0x1a7c('0x3d')];for(;_0x3fae81&&_0x2e2f3a[_0x1a7c('0x2c')](_0x3fae81);){if(_0x3fae81[_0x1a7c('0x4')](_0x1a7c('0x39'))>0x0)return!0x1;_0x3fae81=_0x3fae81[_0x1a7c('0xf')];}return!0x0;}(_0x553e90)?_0x602109(_0x3dd1be,_0x1a7c('0x2d'),_0x602109(_0x3dd1be,function(_0x52fc1d){const _0x599b95=_0x52fc1d[_0x1a7c('0x26')]()[_0x1a7c('0x16')][_0x1a7c('0x3d')];return _0x1a7c('0x3')+_0x599b95[_0x1a7c('0x4')](_0x1a7c('0x4f'))[_0x1a7c('0x25')]()+_0x1a7c('0x31');}(_0x553e90))):_0x602109(_0x3dd1be,_0x1a7c('0x2b'),_0x602109(_0x3dd1be,'ELEMENT_LIST_ITEM')),_0x376f5a={'type':'format','content':_0x5d7ff0};break;case _0x1a7c('0x1a'):case _0x1a7c('0x14'):!0x1===_0x2bf1db[_0x1a7c('0x46')]&&(_0x5d7ff0=_0x1a7c('0x1d'),_0x376f5a={'type':_0x1a7c('0x45'),'content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,_0x1a7c('0x1b')))});}return _0x376f5a;}),_0x33409b[_0x1a7c('0x3c')]['registerCustomCallback'](_0x1a7c('0x28'),_0x1a7c('0x6'),_0x1a7c('0x9'),function(_0x3214d2,_0x956519){const _0x354d83=[];for(let _0x5270ad of _0x3214d2)_0x5270ad['start']['nodeAfter']===_0x5270ad['end'][_0x1a7c('0x4d')]&&(_0x5270ad=_0x45f922['model'][_0x1a7c('0x11')](_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x5270ad[_0x1a7c('0x16')][_0x1a7c('0x3d')],0x0))),_0x354d83[_0x1a7c('0x2')](_0x5270ad);_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x17')](_0x435def=>{const _0x36ee08=_0x45f922[_0x1a7c('0x2f')]['document'][_0x1a7c('0x34')],_0x2ba889=Array[_0x1a7c('0x40')](_0x36ee08[_0x1a7c('0x10')]())['map'](_0x546264=>_0x41ea51[_0x1a7c('0x0')](_0x546264));_0x435def[_0x1a7c('0x4b')](_0x354d83),_0x45f922[_0x1a7c('0x44')][_0x1a7c('0x51')](_0x956519[_0x1a7c('0x36')])[_0x1a7c('0x18')](),_0x956519[_0x1a7c('0x33')][_0x1a7c('0x2')]({'forceDefaultExecution':!0x0}),_0x45f922['execute'](_0x956519[_0x1a7c('0x36')],..._0x956519[_0x1a7c('0x33')]),_0x435def['setSelection'](_0x2ba889);for(const _0x495e13 of _0x2ba889)_0x495e13[_0x1a7c('0x2e')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f9d=['_LIST_','_getSuggestionBlocksForListStyle','enableCommand','expandListBlocksToCompleteList','DocumentListPropertiesEditing','config','reversed','listReversed','handleListStyleCommand','commandParams','getListTypeFromListStyleType','type','handleListReversedCommand','*Change\x20to:*\x20%0','from','format','afterInit','startIndex','model','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','DocumentListUtils','ELEMENT_','TrackChangesEditing','handleDescriptions','getAttribute','*Format:*\x20set\x20order\x20to\x20reversed','push','isFirstBlockOfListItem','bind','markMultiRangeBlockFormat','handleListStartCommand','document','locale','*Format:*\x20set\x20order\x20to\x20regular','replace','_getTranslationKeyForListStyle','plugins','isListItemBlock','toUpperCase','registerDescriptionCallback','listStyle','listStart','listType','list.properties','_descriptionFactory','editor','DocumentListPropertiesUtils','change','getSelectedBlocks','selection','length','commandName','styles'];(function(_0x2a27b1,_0x1f9dc5){const _0x1e1273=function(_0x50ae14){while(--_0x50ae14){_0x2a27b1['push'](_0x2a27b1['shift']());}};_0x1e1273(++_0x1f9dc5);}(_0x1f9d,0x115));const _0x1e12=function(_0x2a27b1,_0x1f9dc5){_0x2a27b1=_0x2a27b1-0x0;let _0x1e1273=_0x1f9d[_0x2a27b1];return _0x1e1273;};import{Plugin as _0x56f471}from'ckeditor5/src/core';import{getTranslation as _0x4007de}from'../utils/common-translations';export default class Ct extends _0x56f471{[_0x1e12('0xe')](){if(!this[_0x1e12('0x2d')][_0x1e12('0x24')]['has'](_0x1e12('0x2')))return;const _0x21f1ca=this[_0x1e12('0x2d')][_0x1e12('0x3')][_0x1e12('0x13')](_0x1e12('0x2b')),_0x3dcaa3=this['editor'][_0x1e12('0x24')]['get'](_0x1e12('0x16'));_0x21f1ca[_0x1e12('0x34')]&&_0x3dcaa3['enableCommand'](_0x1e12('0x28'),this['handleListStyleCommand'][_0x1e12('0x1c')](this)),_0x21f1ca['reversed']&&_0x3dcaa3[_0x1e12('0x0')](_0x1e12('0x5'),this[_0x1e12('0xa')][_0x1e12('0x1c')](this)),_0x21f1ca['startIndex']&&_0x3dcaa3['enableCommand'](_0x1e12('0x29'),this['handleListStartCommand']['bind'](this)),_0x3dcaa3[_0x1e12('0x2c')][_0x1e12('0x27')](this[_0x1e12('0x17')][_0x1e12('0x1c')](this));}[_0x1e12('0x6')](_0x3f0fc0,_0x199847={}){const _0x421aa5=this['editor'][_0x1e12('0x24')][_0x1e12('0x13')](_0x1e12('0x16')),_0x3fc564=this['_getSuggestionBlocksForListStyle']();this[_0x1e12('0x2d')][_0x1e12('0x10')][_0x1e12('0x2f')](()=>{_0x421aa5[_0x1e12('0x1d')](_0x3fc564,{'commandName':_0x1e12('0x28'),'commandParams':[{'type':_0x199847[_0x1e12('0x9')]}],'formatGroupId':_0x1e12('0x28')});});}[_0x1e12('0xa')](_0x2e0e52,_0x4d18df={}){const _0x229814=this[_0x1e12('0x2d')]['plugins']['get'](_0x1e12('0x16')),_0x408160=this['editor']['plugins'][_0x1e12('0x13')](_0x1e12('0x14')),_0x421c86=this['_getSuggestionBlocks'](_0x30fd7f=>_0x408160[_0x1e12('0x25')](_0x30fd7f)&&_0x1e12('0x11')===_0x30fd7f[_0x1e12('0x18')](_0x1e12('0x2a')));null!==_0x421c86&&this[_0x1e12('0x2d')][_0x1e12('0x10')]['change'](()=>{_0x229814[_0x1e12('0x1d')](_0x421c86,{'commandName':_0x1e12('0x5'),'commandParams':[{'reversed':_0x4d18df[_0x1e12('0x4')]}],'formatGroupId':'listReversed'});});}[_0x1e12('0x1e')](_0x2876fa,_0x483561={}){const _0x1a0cdd=this[_0x1e12('0x2d')]['plugins'][_0x1e12('0x13')]('TrackChangesEditing'),_0x1d8858=this[_0x1e12('0x2d')][_0x1e12('0x24')]['get']('DocumentListUtils'),_0x4ee0ff=this['_getSuggestionBlocks'](_0xd2d36c=>_0x1d8858[_0x1e12('0x25')](_0xd2d36c)&&_0x1e12('0x11')===_0xd2d36c['getAttribute'](_0x1e12('0x2a')));null!==_0x4ee0ff&&this['editor'][_0x1e12('0x10')][_0x1e12('0x2f')](()=>{_0x1a0cdd['markMultiRangeBlockFormat'](_0x4ee0ff,{'commandName':_0x1e12('0x29'),'commandParams':[{'startIndex':_0x483561[_0x1e12('0xf')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x2ff1a1){const _0x3f22aa=this[_0x1e12('0x2d')][_0x1e12('0x20')],{data:_0x406d4c}=_0x2ff1a1;if(!_0x406d4c)return;let _0x26df88,_0x1b4dfc;switch(_0x406d4c[_0x1e12('0x33')]){case _0x1e12('0x28'):_0x26df88=_0x1e12('0xb'),_0x1b4dfc={'type':_0x1e12('0xd'),'content':_0x4007de(_0x3f22aa,_0x26df88,_0x4007de(_0x3f22aa,this[_0x1e12('0x23')](_0x406d4c['commandParams'][0x0][_0x1e12('0x9')])))};break;case _0x1e12('0x5'):_0x26df88=_0x406d4c[_0x1e12('0x7')][0x0]['reversed']?_0x1e12('0x19'):_0x1e12('0x21'),_0x1b4dfc={'type':'format','content':_0x4007de(_0x3f22aa,_0x26df88)};break;case'listStart':_0x26df88=_0x1e12('0x12'),_0x1b4dfc={'type':_0x1e12('0xd'),'content':_0x4007de(_0x3f22aa,_0x26df88,_0x406d4c[_0x1e12('0x7')][0x0][_0x1e12('0xf')])};}return _0x1b4dfc;}[_0x1e12('0x36')](){const _0x4dacd9=this['editor']['plugins'][_0x1e12('0x13')](_0x1e12('0x14'));let _0x14e76b=Array[_0x1e12('0xc')](this[_0x1e12('0x2d')][_0x1e12('0x10')]['document'][_0x1e12('0x31')][_0x1e12('0x30')]());return _0x14e76b[_0x1e12('0x1a')](..._0x4dacd9[_0x1e12('0x1')](_0x14e76b)),_0x14e76b=[...new Set(_0x14e76b)],_0x14e76b;}['_getSuggestionBlocks'](_0x50862c){const _0x3613b0=this['editor'][_0x1e12('0x24')]['get']('DocumentListUtils');let _0x266ce3=Array[_0x1e12('0xc')](this[_0x1e12('0x2d')]['model'][_0x1e12('0x1f')][_0x1e12('0x31')][_0x1e12('0x30')]())['filter'](_0x50862c);if(!_0x266ce3[_0x1e12('0x32')])return null;_0x266ce3=_0x3613b0[_0x1e12('0x1')](_0x266ce3);const _0x1a5896=[];for(const _0xd1ac4a of _0x266ce3)_0x3613b0[_0x1e12('0x1b')](_0xd1ac4a)&&_0x1a5896['push'](_0xd1ac4a);return _0x1a5896;}['_getTranslationKeyForListStyle'](_0x4fb273){return _0x1e12('0x15')+this['editor'][_0x1e12('0x24')][_0x1e12('0x13')](_0x1e12('0x2e'))[_0x1e12('0x8')](_0x4fb273)[_0x1e12('0x26')]()+_0x1e12('0x35')+_0x4fb273[_0x1e12('0x26')]()[_0x1e12('0x22')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ab6=['createRange','enableCommand','document','ck-suggestion-marker-split','commands','hasClass','enterBlock','nextSibling','model','TrackChangesEditing','setSelection','fire','mapper','get','enter','markerName','writer','getFirstPosition','createPositionAt','bind','plugins','requires','parent','afterExecute','editing','selection','addMarker:suggestion:insertion','markInsertion','unbindElementFromMarkerName','init','data','showSuggestionHighlights','high','downcastDispatcher','removeMarker:suggestion:insertion','editor','end','split'];(function(_0x51aa92,_0x3ab696){const _0x46fdac=function(_0x2738db){while(--_0x2738db){_0x51aa92['push'](_0x51aa92['shift']());}};_0x46fdac(++_0x3ab696);}(_0x3ab6,0x1bb));const _0x46fd=function(_0x51aa92,_0x3ab696){_0x51aa92=_0x51aa92-0x0;let _0x46fdac=_0x3ab6[_0x51aa92];return _0x46fdac;};import{Plugin as _0x238b40}from'ckeditor5/src/core';import{Enter as _0x40d9ec}from'ckeditor5/src/enter';import{LiveRange as _0x125b9b}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a78ff}from'./utils';export default class z extends _0x238b40{static get[_0x46fd('0x22')](){return[_0x40d9ec];}[_0x46fd('0x4')](){const _0x9ac017=this[_0x46fd('0xa')],_0x5ab9ff=_0x9ac017[_0x46fd('0x21')][_0x46fd('0x1a')](_0x46fd('0x16')),_0x3649bd=_0x9ac017[_0x46fd('0x11')][_0x46fd('0x1a')](_0x46fd('0x1b'));_0x5ab9ff[_0x46fd('0xe')]('enter',()=>{_0x9ac017[_0x46fd('0x15')]['change'](_0x210eaa=>{const _0x55e31c=_0x9ac017[_0x46fd('0x15')][_0x46fd('0xf')][_0x46fd('0x0')],_0x33b5a3=_0x55e31c[_0x46fd('0x1e')](),_0x5d328d=_0x125b9b['fromRange'](_0x55e31c['getFirstRange']());if(_0x3649bd[_0x46fd('0x13')](_0x210eaa)){const _0x2b1bb0=_0x9ac017[_0x46fd('0x15')][_0x46fd('0x1f')](_0x33b5a3[_0x46fd('0x23')][_0x46fd('0x14')],0x0),_0x46df92=_0x210eaa[_0x46fd('0xd')](_0x33b5a3,_0x2b1bb0);_0x5ab9ff[_0x46fd('0x2')](_0x46df92);}else _0x210eaa[_0x46fd('0x17')](_0x210eaa['createRange'](_0x5d328d[_0x46fd('0xb')]));_0x5d328d['detach'](),_0x3649bd[_0x46fd('0x18')](_0x46fd('0x24'),{'writer':_0x210eaa});});}),_0x9ac017[_0x46fd('0x25')]['downcastDispatcher']['on'](_0x46fd('0x1'),_0x2a78ff(_0x9ac017,_0x46fd('0xc')),{'priority':_0x46fd('0x7')}),_0x9ac017[_0x46fd('0x25')][_0x46fd('0x8')]['on'](_0x46fd('0x9'),(_0x58d897,_0x5f431e,_0x3bd365)=>{const _0x47cdbd=_0x3bd365['mapper']['markerNameToElements'](_0x5f431e[_0x46fd('0x1c')]);if(_0x47cdbd)for(const _0x3d9f08 of _0x47cdbd)_0x3d9f08[_0x46fd('0x12')](_0x46fd('0x10'))&&(_0x3bd365[_0x46fd('0x19')][_0x46fd('0x3')](_0x3d9f08,_0x5f431e[_0x46fd('0x1c')]),_0x3bd365[_0x46fd('0x1d')]['remove'](_0x3d9f08));},{'priority':_0x46fd('0x7')}),_0x9ac017[_0x46fd('0x5')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x23f9c7,_0x86e09,_0x3ad01b)=>{_0x3ad01b['options'][_0x46fd('0x6')]&&_0x2a78ff(_0x9ac017,_0x46fd('0xc'),{'showActiveMarker':!0x1})[_0x46fd('0x20')](this)(_0x23f9c7,_0x86e09,_0x3ad01b);},{'priority':_0x46fd('0x7')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cc5=['filter','editor','end','start','enableCommand','suggestion:deletion','item','findNext','get','findByTextCallback','getRange','model','handleFindCommand','_isInDeletionRange','findPrevious','plugins','getIntersection','getMarkersGroup','string','markers','FindAndReplaceUtils','createPositionAt','FindAndReplaceEditing','TrackChangesEditing'];(function(_0x28790b,_0x3cc56d){const _0x1391bd=function(_0x1135ab){while(--_0x1135ab){_0x28790b['push'](_0x28790b['shift']());}};_0x1391bd(++_0x3cc56d);}(_0x3cc5,0x10e));const _0x1391=function(_0x28790b,_0x3cc56d){_0x28790b=_0x28790b-0x0;let _0x1391bd=_0x3cc5[_0x28790b];return _0x1391bd;};import{Plugin as _0x146550}from'ckeditor5/src/core';export default class H extends _0x146550{['afterInit'](){if(!this['editor'][_0x1391('0x9')]['has'](_0x1391('0x10')))return;const _0x54d5d2=this['editor']['plugins'][_0x1391('0x2')](_0x1391('0x11'));_0x54d5d2[_0x1391('0x16')]('find',this[_0x1391('0x6')]['bind'](this)),_0x54d5d2[_0x1391('0x16')](_0x1391('0x1')),_0x54d5d2['enableCommand'](_0x1391('0x8')),_0x54d5d2[_0x1391('0x16')]('replace'),_0x54d5d2[_0x1391('0x16')]('replaceAll');}['handleFindCommand'](_0x12491a,_0x24e947,_0x34373f={}){const _0x34120a=this[_0x1391('0x13')]['plugins'][_0x1391('0x2')](_0x1391('0xe'));void 0x0!==_0x34373f&&_0x12491a(_0x4f9e5b=>(_0x1391('0xc')==typeof _0x24e947?_0x34120a[_0x1391('0x3')](_0x24e947,_0x34373f):_0x24e947)(_0x4f9e5b)[_0x1391('0x12')](_0x561752=>!0x1===this[_0x1391('0x7')](_0x561752,_0x4f9e5b[_0x1391('0x0')])),_0x34373f);}[_0x1391('0x7')](_0x51c492,_0x4cb13b){const _0x18900f=this[_0x1391('0x13')][_0x1391('0x5')]['createRange'](this[_0x1391('0x13')][_0x1391('0x5')][_0x1391('0xf')](_0x4cb13b,_0x51c492[_0x1391('0x15')]),this[_0x1391('0x13')][_0x1391('0x5')]['createPositionAt'](_0x4cb13b,_0x51c492[_0x1391('0x14')]));for(const _0x2e5863 of this[_0x1391('0x13')]['model'][_0x1391('0xd')][_0x1391('0xb')](_0x1391('0x17')))if(null!==_0x18900f[_0x1391('0xa')](_0x2e5863[_0x1391('0x4')]()))return!0x0;return!0x1;}}
|