@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231207.0 → 0.0.0-nightly-20231209.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231209.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-20231209.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231209.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 _0xa3fa=['TrackChangesEditing','plugins','canEditAt','_isEnabledBasedOnSelection','model','isEnabled','refresh','get','getRanges','_suggestions','editor'];(function(_0x45e54b,_0xa3fa2d){const _0x44057b=function(_0x2d7145){while(--_0x2d7145){_0x45e54b['push'](_0x45e54b['shift']());}};_0x44057b(++_0xa3fa2d);}(_0xa3fa,0x189));const _0x4405=function(_0x45e54b,_0xa3fa2d){_0x45e54b=_0x45e54b-0x0;let _0x44057b=_0xa3fa[_0x45e54b];return _0x44057b;};import{Command as _0x12ad85}from'ckeditor5/src/core';import{CKEditorError as _0x3bbabf}from'ckeditor5/src/utils';export default class B extends _0x12ad85{constructor(_0x13df8e,_0x429cc){super(_0x13df8e),this['_suggestions']=_0x429cc,this[_0x4405('0x9')](),this[_0x4405('0x6')]=!0x1;}[_0x4405('0x9')](){this[_0x4405('0x8')]=!0x0;}['execute'](_0x332c38){const _0x318c24=this[_0x4405('0x1')][_0x4405('0xa')](_0x332c38);if(!_0x318c24)throw new _0x3bbabf('track-changes-accept-suggestion-not-found',this);const _0x293f35=_0x318c24[_0x4405('0x0')]();this[_0x4405('0x2')][_0x4405('0x7')][_0x4405('0x5')](_0x293f35)&&this[_0x4405('0x2')][_0x4405('0x4')][_0x4405('0xa')](_0x4405('0x3'))['acceptSuggestion'](_0x318c24);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a13=['_suggestions','isEnabled','execute','track-changes-discard-suggestion-not-found','getRanges','plugins','editor','_isEnabledBasedOnSelection','model','get'];(function(_0x3118c9,_0x4a1310){const _0x11df52=function(_0x30b32c){while(--_0x30b32c){_0x3118c9['push'](_0x3118c9['shift']());}};_0x11df52(++_0x4a1310);}(_0x4a13,0x132));const _0x11df=function(_0x3118c9,_0x4a1310){_0x3118c9=_0x3118c9-0x0;let _0x11df52=_0x4a13[_0x3118c9];return _0x11df52;};import{Command as _0x215e2e}from'ckeditor5/src/core';import{CKEditorError as _0x5df5ac}from'ckeditor5/src/utils';export default class x extends _0x215e2e{constructor(_0x39fe37,_0x1e6160){super(_0x39fe37),this[_0x11df('0x4')]=_0x1e6160,this['refresh'](),this[_0x11df('0x1')]=!0x1;}['refresh'](){this[_0x11df('0x5')]=!0x0;}[_0x11df('0x6')](_0x2429d8){const _0xb5581a=this[_0x11df('0x4')]['get'](_0x2429d8);if(!_0xb5581a)throw new _0x5df5ac(_0x11df('0x7'),this);const _0xa9584d=_0xb5581a[_0x11df('0x8')]();this[_0x11df('0x0')][_0x11df('0x2')]['canEditAt'](_0xa9584d)&&this[_0x11df('0x0')][_0x11df('0x9')][_0x11df('0x3')]('TrackChangesEditing')['discardSuggestion'](_0xb5581a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dbe=['from','editor','canEditAt','isEnabled','_suggestions','values','isInContent','refresh','_command','model'];(function(_0x49c5ca,_0x1dbe51){const _0x2a521b=function(_0x1f43e2){while(--_0x1f43e2){_0x49c5ca['push'](_0x49c5ca['shift']());}};_0x2a521b(++_0x1dbe51);}(_0x1dbe,0x19a));const _0x2a52=function(_0x49c5ca,_0x1dbe51){_0x49c5ca=_0x49c5ca-0x0;let _0x2a521b=_0x1dbe[_0x49c5ca];return _0x2a521b;};import{Command as _0x73ef26}from'ckeditor5/src/core';import{sortSuggestions as _0x1e320f,executeCommandForSuggestions as _0x308f58}from'../utils/utils';export default class E extends _0x73ef26{constructor(_0x5ab60e,_0x39dbc2,_0x5ed27c){super(_0x5ab60e),this[_0x2a52('0x8')]=_0x39dbc2,this[_0x2a52('0x4')]=_0x5ed27c,this[_0x2a52('0x7')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x455c73=Array[_0x2a52('0x0')](this['_suggestions'][_0x2a52('0x5')]())['some'](_0x504d66=>_0x504d66[_0x2a52('0x6')]);this['isEnabled']=this[_0x2a52('0x8')][_0x2a52('0x3')]&&_0x455c73;}['execute'](){const _0x4d4ed6=_0x1e320f(Array[_0x2a52('0x0')](this[_0x2a52('0x4')][_0x2a52('0x5')]()));for(const _0x5214c0 of _0x4d4ed6){const _0x27d02e=_0x5214c0['getRanges']();if(!this[_0x2a52('0x1')]['model'][_0x2a52('0x2')](_0x27d02e))return;}_0x308f58(this[_0x2a52('0x1')][_0x2a52('0x9')],this[_0x2a52('0x8')],_0x4d4ed6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f14=['_isEnabledBasedOnSelection','_selectedSuggestions','size','editor','model','_command','canEditAt','selection','isEnabled','refresh','from','_suggestions'];(function(_0x3347db,_0x2f145b){const _0x1e62a9=function(_0x387cb3){while(--_0x387cb3){_0x3347db['push'](_0x3347db['shift']());}};_0x1e62a9(++_0x2f145b);}(_0x2f14,0x13b));const _0x1e62=function(_0x3347db,_0x2f145b){_0x3347db=_0x3347db-0x0;let _0x1e62a9=_0x2f14[_0x3347db];return _0x1e62a9;};import{Command as _0x4414c1}from'ckeditor5/src/core';import{sortSuggestions as _0x2bdba7,getSelectedSuggestions as _0x329f6c,executeCommandForSuggestions as _0x260b68}from'../utils/utils';export default class R extends _0x4414c1{constructor(_0x9d4774,_0x526ee4,_0x5210bb){super(_0x9d4774),this[_0x1e62('0x2')]=_0x526ee4,this['_suggestions']=_0x5210bb,this[_0x1e62('0xa')]=new Set(),this[_0x1e62('0x6')](),this[_0x1e62('0x9')]=!0x1;}['refresh'](){const _0x517324=this[_0x1e62('0x0')][_0x1e62('0x1')]['document'][_0x1e62('0x4')],_0x50bb8a=Array['from'](this[_0x1e62('0x8')]['values']());this['_selectedSuggestions']=_0x329f6c(_0x517324,_0x50bb8a),this[_0x1e62('0x5')]=this[_0x1e62('0x2')][_0x1e62('0x5')]&&!!this['_selectedSuggestions'][_0x1e62('0xb')];}['execute'](){const _0x542b76=_0x2bdba7(Array[_0x1e62('0x7')](this[_0x1e62('0xa')]));for(const _0x2aa239 of _0x542b76){const _0x64936a=_0x2aa239['getRanges']();if(!this[_0x1e62('0x0')]['model'][_0x1e62('0x3')](_0x64936a))return;}_0x260b68(this[_0x1e62('0x0')]['model'],this['_command'],_0x542b76);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dfe=['editor','forceDisabled','clearForceDisabled','_enabledCommands','TrackChangesCommand','commands','refresh','affectsData','value','isEnabled','has','_disableUnsupportedCommands','_isEnabledBasedOnSelection'];(function(_0x1eff4e,_0x5dfe9d){const _0x35b46e=function(_0x53c463){while(--_0x53c463){_0x1eff4e['push'](_0x1eff4e['shift']());}};_0x35b46e(++_0x5dfe9d);}(_0x5dfe,0xe6));const _0x35b4=function(_0x1eff4e,_0x5dfe9d){_0x1eff4e=_0x1eff4e-0x0;let _0x35b46e=_0x5dfe[_0x1eff4e];return _0x35b46e;};import{Command as _0x556953}from'ckeditor5/src/core';export default class $ extends _0x556953{constructor(_0x8a8261,_0x17db1d){super(_0x8a8261),this[_0x35b4('0x7')]=_0x17db1d,this[_0x35b4('0xc')]=!0x1,this[_0x35b4('0xa')](),this[_0x35b4('0x3')]=!0x1;}[_0x35b4('0xa')](){this[_0x35b4('0x0')]=!0x0;}['execute'](){this['value']=!this[_0x35b4('0xc')],this[_0x35b4('0xc')]?this[_0x35b4('0x2')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x22a94e of this[_0x35b4('0x4')]['commands'][_0x35b4('0x9')]())_0x22a94e[_0x35b4('0xb')]&&!this[_0x35b4('0x7')][_0x35b4('0x1')](_0x22a94e)&&_0x22a94e[_0x35b4('0x5')](_0x35b4('0x8'));}['_enableCommands'](){for(const _0x414160 of this[_0x35b4('0x4')][_0x35b4('0x9')][_0x35b4('0x9')]())_0x414160['affectsData']&&!this['_enabledCommands'][_0x35b4('0x1')](_0x414160)&&_0x414160[_0x35b4('0x6')](_0x35b4('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3338=['commands','editor','get','enableCommand','afterInit','showAIAssistant','TrackChangesEditing','plugins'];(function(_0x30ab6b,_0x333889){const _0x2de303=function(_0x6d0951){while(--_0x6d0951){_0x30ab6b['push'](_0x30ab6b['shift']());}};_0x2de303(++_0x333889);}(_0x3338,0x130));const _0x2de3=function(_0x30ab6b,_0x333889){_0x30ab6b=_0x30ab6b-0x0;let _0x2de303=_0x3338[_0x30ab6b];return _0x2de303;};import{Plugin as _0x1c349f}from'ckeditor5/src/core';export default class j extends _0x1c349f{[_0x2de3('0x4')](){const _0xf44eba=this[_0x2de3('0x1')],_0x362bc7=_0xf44eba[_0x2de3('0x7')][_0x2de3('0x2')](_0x2de3('0x6'));_0xf44eba[_0x2de3('0x0')][_0x2de3('0x2')](_0x2de3('0x5'))&&_0x362bc7[_0x2de3('0x3')](_0x2de3('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ac4=['center','registerAttributeLabel','has','FORMAT_ALIGN_TO_LEFT','_descriptionFactory','FORMAT_ALIGN_TO_CENTER','get','plugins','type','formatBlock','locale','editor','left','value','TrackChangesEditing','afterInit','FORMAT_ALIGNMENT','alignment','justify','right','*Format:*\x20%0','commandParams','commandName','_registerLegacyDescription'];(function(_0x8098d4,_0x1ac4d4){const _0x2b5d15=function(_0x4860c9){while(--_0x4860c9){_0x8098d4['push'](_0x8098d4['shift']());}};_0x2b5d15(++_0x1ac4d4);}(_0x1ac4,0x85));const _0x2b5d=function(_0x8098d4,_0x1ac4d4){_0x8098d4=_0x8098d4-0x0;let _0x2b5d15=_0x1ac4[_0x8098d4];return _0x2b5d15;};import{Plugin as _0x523e10}from'ckeditor5/src/core';import{getTranslation as _0x59de7e}from'../utils/common-translations';export default class U extends _0x523e10{[_0x2b5d('0x2')](){const _0x2943bc=this['editor'],_0x1481c0=_0x2943bc[_0x2b5d('0x15')];if(!_0x2943bc[_0x2b5d('0x12')][_0x2b5d('0xd')]('AlignmentEditing'))return;const _0x2c2847=_0x2943bc['plugins'][_0x2b5d('0x11')](_0x2b5d('0x1'));_0x2c2847['_enableDefaultAttributesIntegration'](_0x2b5d('0x4'),[],[_0x2b5d('0x4')]),_0x2c2847[_0x2b5d('0xf')][_0x2b5d('0xc')](_0x2b5d('0x4'),_0x59de7e(_0x1481c0,_0x2b5d('0x3'))),this[_0x2b5d('0xa')]();}['_registerLegacyDescription'](){const _0x225d73=this[_0x2b5d('0x16')],_0x25cd2d=_0x225d73[_0x2b5d('0x15')];_0x225d73[_0x2b5d('0x12')]['get'](_0x2b5d('0x1'))['_descriptionFactory']['registerDescriptionCallback'](_0xe7bc52=>{if(_0x2b5d('0x14')!=_0xe7bc52[_0x2b5d('0x13')])return;const {data:_0x3f523b}=_0xe7bc52;if(_0x3f523b&&_0x2b5d('0x4')==_0x3f523b[_0x2b5d('0x9')]){const _0x5f2b1a=_0x3f523b[_0x2b5d('0x8')][0x0][_0x2b5d('0x0')];return{'type':'format','content':_0x59de7e(_0x25cd2d,_0x2b5d('0x7'),function(_0x22e730){switch(_0x22e730){case _0x2b5d('0x17'):return _0x59de7e(_0x25cd2d,_0x2b5d('0xe'));case _0x2b5d('0x6'):return _0x59de7e(_0x25cd2d,'FORMAT_ALIGN_TO_RIGHT');case _0x2b5d('0xb'):return _0x59de7e(_0x25cd2d,_0x2b5d('0x10'));case _0x2b5d('0x5'):return _0x59de7e(_0x25cd2d,'FORMAT_JUSTIFY_TEXT');}}(_0x5f2b1a))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41bb=['_enableDefaultAttributesIntegration','FORMAT_STRIKETHROUGH','bold','type','editor','toLowerCase','strikethrough','underline','commandParams','FORMAT_UNDERLINE','_registerLegacyDescription','toUpperCase','locale','afterInit','StrikethroughEditing','_descriptionFactory','slice','commandName','TrackChangesEditing','FORMAT_BOLD','BoldEditing','*Remove\x20format:*\x20%0','plugins','FORMAT_SUBSCRIPT','ItalicEditing','CodeEditing','forceValue','FORMAT_','get','UnderlineEditing','FORMAT_ITALIC','subscript','SubscriptEditing','FORMAT_SUPERSCRIPT','has'];(function(_0xe83573,_0x41bbdc){const _0x3295b8=function(_0x4e12e4){while(--_0x4e12e4){_0xe83573['push'](_0xe83573['shift']());}};_0x3295b8(++_0x41bbdc);}(_0x41bb,0xa0));const _0x3295=function(_0xe83573,_0x41bbdc){_0xe83573=_0xe83573-0x0;let _0x3295b8=_0x41bb[_0xe83573];return _0x3295b8;};import{Plugin as _0x514478}from'ckeditor5/src/core';import{getTranslation as _0x3c77e2}from'../utils/common-translations';const ti=[_0x3295('0x0'),_0x3295('0x4'),_0x3295('0x9'),_0x3295('0x5'),_0x3295('0x1d'),_0x3295('0xc'),'SuperscriptEditing'];export default class O extends _0x514478{[_0x3295('0x1c')](){const _0x45bd8e=this[_0x3295('0x13')],_0xd65030=_0x45bd8e[_0x3295('0x2')][_0x3295('0x8')](_0x3295('0x21')),_0x5ea5f0=_0x45bd8e[_0x3295('0x1b')];for(const _0x1d9f57 of ti){if(!_0x45bd8e[_0x3295('0x2')][_0x3295('0xe')](_0x1d9f57))continue;const _0x5d5a15=_0x1d9f57[_0x3295('0x1f')](0x0,-0x7)[_0x3295('0x14')](),_0x4fe73a=_0x3295('0x7')+_0x5d5a15[_0x3295('0x1a')]();_0xd65030[_0x3295('0xf')](_0x5d5a15,[_0x5d5a15]),_0xd65030['_descriptionFactory']['registerAttributeLabel'](_0x5d5a15,_0x3c77e2(_0x5ea5f0,_0x4fe73a));}this[_0x3295('0x19')]();}['_registerLegacyDescription'](){const _0x67a07e=this[_0x3295('0x13')],_0x178cd0=_0x67a07e[_0x3295('0x1b')],_0x627cdb=_0x67a07e[_0x3295('0x2')][_0x3295('0x8')](_0x3295('0x21'));function _0x1311a8(_0x460694,_0x4c4b2a){_0x627cdb[_0x3295('0x1e')]['registerDescriptionCallback'](_0x5d1c2e=>{if('formatInline'!=_0x5d1c2e[_0x3295('0x12')])return;const {data:_0x2904b1}=_0x5d1c2e;return _0x2904b1&&_0x2904b1[_0x3295('0x20')]===_0x460694?_0x2904b1[_0x3295('0x17')][0x0][_0x3295('0x6')]?{'type':'format','content':_0x3c77e2(_0x178cd0,'*Format:*\x20%0',_0x4c4b2a)}:{'type':'format','content':_0x3c77e2(_0x178cd0,_0x3295('0x1'),_0x4c4b2a)}:void 0x0;});}_0x1311a8(_0x3295('0x11'),_0x3c77e2(_0x178cd0,_0x3295('0x22'))),_0x1311a8('italic',_0x3c77e2(_0x178cd0,_0x3295('0xa'))),_0x1311a8(_0x3295('0x16'),_0x3c77e2(_0x178cd0,_0x3295('0x18'))),_0x1311a8('code',_0x3c77e2(_0x178cd0,'FORMAT_CODE')),_0x1311a8(_0x3295('0x15'),_0x3c77e2(_0x178cd0,_0x3295('0x10'))),_0x1311a8(_0x3295('0xb'),_0x3c77e2(_0x178cd0,_0x3295('0x3'))),_0x1311a8('superscript',_0x3c77e2(_0x178cd0,_0x3295('0xd')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ce3=['commands','model','markBlockFormat','plugins','_descriptionFactory','has','blockQuote','format','TrackChangesEditing','commandParams','forceValue','locale','document','change','schema','from','afterInit','editor','filter','name','get','checkChild','parent','getSelectedBlocks','enableCommand','commandName','$root'];(function(_0x2feca7,_0x1ce34e){const _0x197d5e=function(_0x5b4c40){while(--_0x5b4c40){_0x2feca7['push'](_0x2feca7['shift']());}};_0x197d5e(++_0x1ce34e);}(_0x1ce3,0x12d));const _0x197d=function(_0x2feca7,_0x1ce34e){_0x2feca7=_0x2feca7-0x0;let _0x197d5e=_0x1ce3[_0x2feca7];return _0x197d5e;};import{Plugin as _0x57044e}from'ckeditor5/src/core';import{getTranslation as _0x440bbe}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x516e35}from'../utils/utils';export default class V extends _0x57044e{[_0x197d('0xc')](){const _0x3f7dc=this[_0x197d('0xd')],_0x52cea7=_0x3f7dc[_0x197d('0x7')];if(!_0x3f7dc[_0x197d('0x1a')][_0x197d('0x1')]('BlockQuoteEditing'))return;const _0x2fbe00=_0x3f7dc['plugins'][_0x197d('0x10')](_0x197d('0x4')),_0x2064f5=this['editor'][_0x197d('0x17')]['get'](_0x197d('0x2'));_0x2fbe00[_0x197d('0x14')](_0x197d('0x2'),(_0x1a8cec,_0x36cbe0={})=>{const _0x47d91f=this[_0x197d('0xd')]['model'][_0x197d('0x8')]['selection'],_0x1fb147=_0x36cbe0&&void 0x0!==_0x36cbe0[_0x197d('0x6')]?_0x36cbe0[_0x197d('0x6')]:!_0x2064f5['value'];let _0x592eab=[];if(_0x1fb147){const _0x193560=Array[_0x197d('0xb')](_0x47d91f[_0x197d('0x13')]())[_0x197d('0xe')](_0x482733=>oo(_0x482733)||function(_0x5c132b,_0x16e823){const _0x41d784=_0x16e823[_0x197d('0x11')](_0x5c132b['parent'],'blockQuote'),_0x4fc8b6=_0x16e823[_0x197d('0x11')]([_0x197d('0x16'),_0x197d('0x2')],_0x5c132b);return _0x41d784&&_0x4fc8b6;}(_0x482733,this['editor']['model'][_0x197d('0xa')]));_0x592eab=_0x516e35(_0x193560,_0x3f7dc[_0x197d('0x18')]);}else{const _0x2dcf06=Array['from'](_0x47d91f['getSelectedBlocks']())[_0x197d('0xe')](_0x24b42a=>oo(_0x24b42a));_0x592eab=_0x516e35(_0x2dcf06,_0x3f7dc['model']);}_0x3f7dc['model'][_0x197d('0x9')](()=>{for(const _0x30a22e of _0x592eab)_0x2fbe00[_0x197d('0x19')](_0x30a22e,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x1fb147}]});});}),_0x2fbe00[_0x197d('0x0')]['registerDescriptionCallback'](_0x57e7b9=>{const {data:_0x31d153}=_0x57e7b9;if(_0x31d153&&_0x197d('0x2')==_0x31d153[_0x197d('0x15')]){const _0x28b90d=_0x440bbe(_0x52cea7,'ELEMENT_BLOCK_QUOTE');return _0x31d153[_0x197d('0x5')][0x0]['forceValue']?{'type':_0x197d('0x3'),'content':_0x440bbe(_0x52cea7,'*Set\x20format:*\x20%0',_0x28b90d)}:{'type':_0x197d('0x3'),'content':_0x440bbe(_0x52cea7,'*Remove\x20format:*\x20%0',_0x28b90d)};}});}}function oo(_0x197f8c){return _0x197d('0x2')==_0x197f8c[_0x197d('0x12')][_0x197d('0xf')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x269e=['editor','commands','ckbox','afterInit','TrackChangesEditing','get'];(function(_0x10b072,_0x269e4d){const _0x23cb59=function(_0x15b449){while(--_0x15b449){_0x10b072['push'](_0x10b072['shift']());}};_0x23cb59(++_0x269e4d);}(_0x269e,0xaa));const _0x23cb=function(_0x10b072,_0x269e4d){_0x10b072=_0x10b072-0x0;let _0x23cb59=_0x269e[_0x10b072];return _0x23cb59;};import{Plugin as _0x46320d}from'ckeditor5/src/core';export default class G extends _0x46320d{[_0x23cb('0x1')](){const _0x4f3fab=this[_0x23cb('0x4')];_0x4f3fab[_0x23cb('0x5')]['get'](_0x23cb('0x0'))&&_0x4f3fab['plugins'][_0x23cb('0x3')](_0x23cb('0x2'))['enableCommand'](_0x23cb('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49ce=['parent','plugins','forceValue','*Remove\x20format:*\x20%0','codeBlock','CodeBlock','change','rootElement','ELEMENT_CODE_BLOCK','formatBlock','label','language','_descriptionFactory','*Set\x20format:*\x20%0','type','afterInit','locale','toLowerCase','get','markBlockFormat','commandParams','document','value','from','enableCommand','commandName','isLimit','commands','model','registerElementLabel','TrackChangesEditing','selection','registerDescriptionCallback','has','editor','languages','getSelectedBlocks','filter','find','config'];(function(_0x2d3bfb,_0x49ceda){const _0x290682=function(_0x1c7f31){while(--_0x1c7f31){_0x2d3bfb['push'](_0x2d3bfb['shift']());}};_0x290682(++_0x49ceda);}(_0x49ce,0x122));const _0x2906=function(_0x2d3bfb,_0x49ceda){_0x2d3bfb=_0x2d3bfb-0x0;let _0x290682=_0x49ce[_0x2d3bfb];return _0x290682;};import{Plugin as _0x2c3c84}from'ckeditor5/src/core';import{getTranslation as _0x57c441}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x243794}from'../utils/utils';export default class F extends _0x2c3c84{[_0x2906('0x5')](){const _0x27df05=this[_0x2906('0x18')];if(!_0x27df05[_0x2906('0x1f')][_0x2906('0x17')](_0x2906('0x23')))return;const _0x57ac9c=_0x27df05[_0x2906('0x1f')][_0x2906('0x8')](_0x2906('0x14')),_0x18eebb=_0x27df05[_0x2906('0x6')],_0x1c0898=_0x27df05[_0x2906('0x1d')]['get'](_0x2906('0x22'))[_0x2906('0x19')],_0x1db213=_0x27df05[_0x2906('0x11')][_0x2906('0x8')](_0x2906('0x22'));_0x57ac9c[_0x2906('0xe')]('indentCodeBlock'),_0x57ac9c[_0x2906('0xe')]('outdentCodeBlock'),_0x57ac9c[_0x2906('0xe')](_0x2906('0x22'),(_0x1c13a8,_0x3a9d25={})=>{const _0x57ad91=_0x27df05[_0x2906('0x12')],_0x5d2294=_0x27df05[_0x2906('0x12')][_0x2906('0xb')][_0x2906('0x15')],_0x4a18cf=_0x3a9d25&&void 0x0!==_0x3a9d25['forceValue']?_0x3a9d25[_0x2906('0x20')]:!_0x1db213[_0x2906('0xc')];let _0xdaf241;_0x3a9d25[_0x2906('0x1')]||(_0x3a9d25['language']=_0x1c0898[0x0]['language']),_0xdaf241=_0x4a18cf?Array[_0x2906('0xd')](_0x5d2294['getSelectedBlocks']())[_0x2906('0x1b')](_0x9ddc15=>eo(_0x9ddc15)||function(_0x18555c,_0x23808a){if(_0x18555c['is'](_0x2906('0x25'))||_0x23808a[_0x2906('0x10')](_0x18555c))return!0x1;return _0x23808a['checkChild'](_0x18555c[_0x2906('0x1e')],_0x2906('0x22'));}(_0x9ddc15,_0x57ad91['schema'])):Array[_0x2906('0xd')](_0x5d2294[_0x2906('0x1a')]())[_0x2906('0x1b')](_0xa2d91a=>eo(_0xa2d91a));const _0x759823=_0x243794(_0xdaf241,_0x57ad91);_0x57ad91[_0x2906('0x24')](()=>{for(const _0x2165a8 of _0x759823)_0x57ac9c[_0x2906('0x9')](_0x2165a8,{'commandName':'codeBlock','commandParams':[{..._0x3a9d25,'forceValue':_0x4a18cf}],'formatGroupId':'blockName'});});}),(_0x57ac9c[_0x2906('0x2')][_0x2906('0x13')]('codeBlock',_0x36cd32=>_0x57c441(_0x18eebb,_0x2906('0x26'),_0x36cd32)),_0x57ac9c['_descriptionFactory'][_0x2906('0x16')](_0x45c7bc=>{if(_0x2906('0x27')!=_0x45c7bc[_0x2906('0x4')])return;const _0x55f725=_0x18eebb['t'],{data:_0x35b364}=_0x45c7bc;if(!_0x35b364||_0x2906('0x22')!=_0x35b364[_0x2906('0xf')])return;const _0x58e8f7=_0x35b364[_0x2906('0xa')][0x0]['language'],_0x52e0db=_0x55f725(_0x1c0898[_0x2906('0x1c')](_0x4170d0=>_0x4170d0[_0x2906('0x1')]===_0x58e8f7)[_0x2906('0x0')])[_0x2906('0x7')]();return _0x35b364[_0x2906('0xa')][0x0][_0x2906('0x20')]?{'type':'format','content':_0x57c441(_0x18eebb,_0x2906('0x3'),_0x57c441(_0x18eebb,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x52e0db+')')}:{'type':'format','content':_0x57c441(_0x18eebb,_0x2906('0x21'),_0x57c441(_0x18eebb,_0x2906('0x26'),0x1))};}));}}function eo(_0x300072){return _0x2906('0x22')==_0x300072['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4529=['has','plugins','enableCommand','editor','CommentsEditing'];(function(_0xe979d4,_0x452947){const _0x2d1f88=function(_0x3d9031){while(--_0x3d9031){_0xe979d4['push'](_0xe979d4['shift']());}};_0x2d1f88(++_0x452947);}(_0x4529,0xa1));const _0x2d1f=function(_0xe979d4,_0x452947){_0xe979d4=_0xe979d4-0x0;let _0x2d1f88=_0x4529[_0xe979d4];return _0x2d1f88;};import{Plugin as _0x509ddd}from'ckeditor5/src/core';export default class L extends _0x509ddd{['afterInit'](){const _0x5973e7=this[_0x2d1f('0x2')];if(!_0x5973e7['plugins'][_0x2d1f('0x4')](_0x2d1f('0x3')))return;_0x5973e7[_0x2d1f('0x0')]['get']('TrackChangesEditing')[_0x2d1f('0x1')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9f6e=['end','document','setSelection','editing','markerName','lock','fromRange','writer','selection','detach','showSuggestionHighlights','plugins','batch','editor','model','downcastDispatcher','createSelection','delete','commands','removeMarker:suggestion:deletion','enableCommand','options','createRange','deleteForward','modifySelection','forward','rootName','get','unit','TrackChangesEditing','start','addMarker:suggestion:deletion','mapper','high','root','buffer','bind','unbindElementFromMarkerName','getFirstRange','markerNameToElements','unlock','merge'];(function(_0x1cc132,_0x9f6e53){const _0x55b784=function(_0x5e17ec){while(--_0x5e17ec){_0x1cc132['push'](_0x1cc132['shift']());}};_0x55b784(++_0x9f6e53);}(_0x9f6e,0xdc));const _0x55b7=function(_0x1cc132,_0x9f6e53){_0x1cc132=_0x1cc132-0x0;let _0x55b784=_0x9f6e[_0x1cc132];return _0x55b784;};import{Plugin as _0x1a0ffb}from'ckeditor5/src/core';import{LiveRange as _0x47381f}from'ckeditor5/src/engine';import{Delete as _0x3d345b}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2eaf32}from'./utils';export default class H extends _0x1a0ffb{static get['requires'](){return[_0x3d345b];}['init'](){const _0x1dbfe8=this[_0x55b7('0x3')],_0x477fe5=_0x1dbfe8[_0x55b7('0x1')]['get'](_0x55b7('0x13'));_0x477fe5[_0x55b7('0xa')](_0x55b7('0x7'));const _0x194083=_0x1dbfe8[_0x55b7('0x8')][_0x55b7('0x11')]('deleteForward');_0x477fe5[_0x55b7('0xa')](_0x55b7('0xd'),(_0x36c883,_0x9ef13b={})=>{const _0x525c6c=_0x1dbfe8[_0x55b7('0x4')][_0x55b7('0x6')](_0x1dbfe8[_0x55b7('0x4')][_0x55b7('0x21')][_0x55b7('0x28')]);_0x525c6c['isCollapsed']&&_0x1dbfe8[_0x55b7('0x4')][_0x55b7('0xe')](_0x525c6c,{'direction':_0x55b7('0xf'),'unit':_0x9ef13b[_0x55b7('0x12')]});const _0x5c51d4=_0x525c6c[_0x55b7('0x1c')](),_0x143c27=_0x47381f[_0x55b7('0x26')](_0x5c51d4);let _0x5a53a7;_0x36c883(_0x9ef13b),_0x5a53a7='$graveyard'==_0x143c27[_0x55b7('0x18')][_0x55b7('0x10')]?_0x1dbfe8[_0x55b7('0x4')]['createRange'](_0x5c51d4[_0x55b7('0x14')]):_0x1dbfe8[_0x55b7('0x4')][_0x55b7('0xc')](_0x143c27[_0x55b7('0x14')],_0x143c27[_0x55b7('0x20')]),_0x143c27[_0x55b7('0x29')](),_0x1dbfe8['model']['enqueueChange'](_0x194083['buffer'][_0x55b7('0x2')],_0x401f30=>{_0x194083[_0x55b7('0x19')][_0x55b7('0x25')](),_0x401f30[_0x55b7('0x22')](_0x401f30[_0x55b7('0xc')](_0x5a53a7[_0x55b7('0x20')])),_0x194083['buffer'][_0x55b7('0x1e')]();});}),_0x1dbfe8[_0x55b7('0x23')][_0x55b7('0x5')]['on']('addMarker:suggestion:deletion',_0x2eaf32(_0x1dbfe8,_0x55b7('0x1f')),{'priority':_0x55b7('0x17')}),_0x1dbfe8['data'][_0x55b7('0x5')]['on'](_0x55b7('0x15'),(_0x2fcf00,_0x3d21e7,_0x2920b1)=>{_0x2920b1[_0x55b7('0xb')][_0x55b7('0x0')]&&_0x2eaf32(_0x1dbfe8,_0x55b7('0x1f'),{'showActiveMarker':!0x1})[_0x55b7('0x1a')](this)(_0x2fcf00,_0x3d21e7,_0x2920b1);},{'priority':_0x55b7('0x17')}),_0x1dbfe8[_0x55b7('0x23')][_0x55b7('0x5')]['on'](_0x55b7('0x9'),(_0x2593f6,_0x407f5e,_0x4599bc)=>{const _0x3838d0=_0x4599bc[_0x55b7('0x16')][_0x55b7('0x1d')](_0x407f5e['markerName']);if(_0x3838d0)for(const _0x16a906 of _0x3838d0)_0x16a906['is']('uiElement')&&(_0x4599bc[_0x55b7('0x16')][_0x55b7('0x1b')](_0x16a906,_0x407f5e[_0x55b7('0x24')]),_0x4599bc[_0x55b7('0x27')]['remove'](_0x16a906));},{'priority':_0x55b7('0x17')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53e8=['has','value','splitListItemAfter','before','type','push','schema','isFirstBlockOfListItem','TrackChangesEditing','map','mergeListItemForward','length','forceValue','isObject','ELEMENT_NUMBERED_LIST','add','_suggestionFactory','multipleBlocks','_descriptionFactory','createPositionAt','findIndex','list.multiBlock','setSelection','format','getSelectedBlocks','editor','from','plugins','expandListBlocksToCompleteList','registerCustomCallback','listIndent','get','nextSibling','containsItem','commandName','listItemId','*Format:*\x20remove\x20from\x20%0','paragraph','markBlockFormat','enableCommand','model','*Indent:*\x20%0','registerDescriptionCallback','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','documentList','markMultiRangeBlockFormat','nodeAfter','indentList','deletion','document','toUpperCase','*Merge:*\x20%0','change','bulletedList','getAttribute','DocumentListUtils','*Format:*\x20insert\x20into\x20%0','commandParams','*Outdent:*\x20%0','commands','ELEMENT_BULLETED_LIST','createRange','previousSibling','splitListItemBefore','next','getRanges','_LIST','formatBlock','locale','numberedList','detach','end','fromRange','start','listType','getFirstRange','selection','config','parent','outdentList','slice','formatInline'];(function(_0x15f7bc,_0x53e8be){const _0x8bc8f2=function(_0x2e0798){while(--_0x2e0798){_0x15f7bc['push'](_0x15f7bc['shift']());}};_0x8bc8f2(++_0x53e8be);}(_0x53e8,0xc0));const _0x8bc8=function(_0x15f7bc,_0x53e8be){_0x15f7bc=_0x15f7bc-0x0;let _0x8bc8f2=_0x53e8[_0x15f7bc];return _0x8bc8f2;};import{Plugin as _0x4e6918}from'ckeditor5/src/core';import{getTranslation as _0x2d2f3b}from'../utils/common-translations';import{LiveRange as _0x5a3076}from'ckeditor5/src/engine';export default class q extends _0x4e6918{['afterInit'](){const _0x48f4ee=this[_0x8bc8('0x52')];if(!_0x48f4ee[_0x8bc8('0x1')][_0x8bc8('0x39')]('DocumentListEditing'))return;const _0xdf07ae=_0x48f4ee[_0x8bc8('0x2b')],_0x29d2e4=_0x48f4ee[_0x8bc8('0x1')][_0x8bc8('0x5')](_0x8bc8('0x41')),_0x52ccc3=_0x48f4ee['plugins']['get'](_0x8bc8('0x1e'));function _0x29ee86(_0x6442b){return()=>{const _0xcaf9eb=_0x48f4ee[_0x8bc8('0x22')][_0x8bc8('0x5')](_0x6442b);if(_0xcaf9eb[_0x8bc8('0x3a')]&&!_0x48f4ee[_0x8bc8('0x34')]['get'](_0x8bc8('0x4e')))return void _0x48f4ee['execute'](_0x8bc8('0xb'),{});let _0x167662=Array[_0x8bc8('0x0')](_0x48f4ee['model'][_0x8bc8('0x18')][_0x8bc8('0x33')][_0x8bc8('0x51')]());if(_0x1ca54f(_0x6442b)){_0x167662=_0x52ccc3[_0x8bc8('0x2')](_0x167662);const _0x3d31b5=[];for(const _0x579e49 of _0x167662)_0x52ccc3[_0x8bc8('0x40')](_0x579e49)&&_0x3d31b5[_0x8bc8('0x3e')](_0x579e49);_0x167662=_0x3d31b5;}_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x1b')](()=>{_0x29d2e4[_0x8bc8('0x14')](_0x167662,{'commandName':_0x6442b,'commandParams':[{'forceValue':!_0xcaf9eb[_0x8bc8('0x3a')]}],'formatGroupId':'listType'},[],_0x8bc8('0x13'));});};}function _0x4ed344(_0x371c99){return()=>{const _0xbd2c27=function(_0x1704f7){let _0x3e0ce4=Array['from'](_0x1704f7);const _0xeac956=_0x3e0ce4[_0x8bc8('0x4d')](_0x3d2097=>!_0x3d2097['hasAttribute']('listItemId'));return _0xeac956>-0x1&&(_0x3e0ce4=_0x3e0ce4[_0x8bc8('0x37')](0x0,_0xeac956)),_0x3e0ce4;}(_0x48f4ee['model']['document']['selection'][_0x8bc8('0x51')]()),_0x2ce0e2=_0xbd2c27[_0xbd2c27[_0x8bc8('0x44')]-0x1],_0x5dc8eb=_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x3f')]['isObject'](_0x2ce0e2)?'after':_0x8bc8('0x2e'),_0x30e910=_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x24')](_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x4c')](_0xbd2c27[0x0],_0x8bc8('0x3c')),_0x48f4ee[_0x8bc8('0xe')]['createPositionAt'](_0x2ce0e2,_0x5dc8eb));_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x1b')](()=>{_0x29d2e4[_0x8bc8('0xc')](_0x30e910,{'commandName':_0x371c99,'commandParams':[],'formatGroupId':_0x8bc8('0x31')},function(_0x1784e4){const _0x102304=new Set();for(const _0x228d5c of _0x1784e4){let _0x1b4442=_0x228d5c[_0x8bc8('0x6')];for(;_0x1b4442&&_0x1b4442['getAttribute']('listIndent')>_0x228d5c[_0x8bc8('0x1d')](_0x8bc8('0x4'));)_0x102304[_0x8bc8('0x48')](_0x1b4442),_0x1b4442=_0x1b4442[_0x8bc8('0x6')];}return Array[_0x8bc8('0x0')](_0x102304);}(_0xbd2c27));});};}function _0x1ea964(_0x38ed6c){return()=>{const _0x5088f7=_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x18')][_0x8bc8('0x33')][_0x8bc8('0x51')]()[_0x8bc8('0x27')]()['value'],_0x426e8c=_0x48f4ee['model']['createPositionAt'](_0x5088f7,_0x8bc8('0x3c')),_0x4ca774=_0x48f4ee['model']['createPositionAt'](_0x5088f7,0x0),_0x4cdabe=_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x24')](_0x426e8c,_0x4ca774);_0x48f4ee['model'][_0x8bc8('0x1b')](()=>{_0x29d2e4['markBlockFormat'](_0x4cdabe,{'commandName':_0x38ed6c,'commandParams':[],'formatGroupId':_0x8bc8('0x31')});});};}function _0x1ca54f(_0x4b4312){const _0x4fe11d=_0x48f4ee[_0x8bc8('0x22')][_0x8bc8('0x5')]('bulletedList')[_0x8bc8('0x3a')],_0x1780a0=_0x48f4ee[_0x8bc8('0x22')][_0x8bc8('0x5')](_0x8bc8('0x2c'))[_0x8bc8('0x3a')];return'numberedList'===_0x4b4312?_0x4fe11d:_0x1780a0;}_0x29d2e4['enableCommand'](_0x8bc8('0x2c'),_0x29ee86(_0x8bc8('0x2c'))),_0x29d2e4[_0x8bc8('0xd')]('bulletedList',_0x29ee86(_0x8bc8('0x1c'))),_0x29d2e4[_0x8bc8('0xd')](_0x8bc8('0x16'),_0x4ed344('indentList')),_0x29d2e4[_0x8bc8('0xd')](_0x8bc8('0x36'),_0x4ed344('outdentList')),_0x29d2e4[_0x8bc8('0xd')](_0x8bc8('0x3b'),_0x1ea964(_0x8bc8('0x3b'))),_0x29d2e4[_0x8bc8('0xd')](_0x8bc8('0x26'),_0x1ea964(_0x8bc8('0x26'))),_0x29d2e4['_descriptionFactory']['registerElementLabel'](function(_0x91b759){const _0xa4c7a1=!_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x3f')][_0x8bc8('0x46')](_0x91b759),_0x41a850=_0x91b759[_0x8bc8('0x25')],_0x4f0f2d=_0x91b759[_0x8bc8('0x6')],_0x513fa0=_0x91b759[_0x8bc8('0x1d')](_0x8bc8('0x9')),_0x4ee0ae=!_0x41a850||_0x41a850['getAttribute']('listItemId')!==_0x513fa0,_0x273279=!_0x4f0f2d||_0x4f0f2d[_0x8bc8('0x1d')](_0x8bc8('0x9'))!==_0x513fa0;return _0xa4c7a1&&Boolean(_0x513fa0)&&_0x4ee0ae&&_0x273279;},_0x469c52=>_0x2d2f3b(_0xdf07ae,_0x8bc8('0x11'),_0x469c52)),_0x29d2e4[_0x8bc8('0x4b')][_0x8bc8('0x10')](function(_0x5a5539){if(_0x8bc8('0x2a')!=_0x5a5539['type']&&_0x8bc8('0x38')!=_0x5a5539[_0x8bc8('0x3d')])return;const {data:_0x15c9f6}=_0x5a5539;if(!_0x15c9f6)return;let _0x3168a8,_0x1bd5d2,_0x1f23a1,_0x169e5f;switch(_0x15c9f6[_0x8bc8('0x8')]){case _0x8bc8('0x1c'):_0x1f23a1=_0x15c9f6['commandParams'][0x0][_0x8bc8('0x45')],_0x169e5f=_0x1ca54f(_0x15c9f6[_0x8bc8('0x8')]),_0x3168a8=_0x1f23a1?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x169e5f&&_0x48f4ee[_0x8bc8('0x34')]['get']('list.multiBlock')||(_0x3168a8='*Change\x20to:*\x20%0'),_0x1bd5d2={'type':_0x8bc8('0x50'),'content':_0x2d2f3b(_0xdf07ae,_0x3168a8,_0x2d2f3b(_0xdf07ae,_0x8bc8('0x23')))};break;case _0x8bc8('0x2c'):_0x1f23a1=_0x15c9f6[_0x8bc8('0x20')][0x0][_0x8bc8('0x45')],_0x169e5f=_0x1ca54f(_0x15c9f6[_0x8bc8('0x8')]),_0x3168a8=_0x1f23a1?_0x8bc8('0x1f'):_0x8bc8('0xa'),!_0x169e5f&&_0x48f4ee[_0x8bc8('0x34')][_0x8bc8('0x5')]('list.multiBlock')||(_0x3168a8=_0x8bc8('0x12')),_0x1bd5d2={'type':_0x8bc8('0x50'),'content':_0x2d2f3b(_0xdf07ae,_0x3168a8,_0x2d2f3b(_0xdf07ae,_0x8bc8('0x47')))};break;case _0x8bc8('0x16'):_0x3168a8=_0x8bc8('0xf'),_0x1bd5d2={'type':'format','content':_0x2d2f3b(_0xdf07ae,_0x3168a8,_0x2d2f3b(_0xdf07ae,_0x8bc8('0x11')))};break;case _0x8bc8('0x36'):_0x3168a8=function(_0x1a663e){const _0xb9016b=_0x1a663e[_0x8bc8('0x32')]();let _0xece416=_0xb9016b[_0x8bc8('0x30')][_0x8bc8('0x15')];for(;_0xece416&&_0xb9016b[_0x8bc8('0x7')](_0xece416);){if(_0xece416[_0x8bc8('0x1d')]('listIndent')>0x0)return!0x1;_0xece416=_0xece416['nextSibling'];}return!0x0;}(_0x5a5539)?_0x2d2f3b(_0xdf07ae,_0x8bc8('0xa'),_0x2d2f3b(_0xdf07ae,function(_0x30640c){const _0x3b9ca9=_0x30640c[_0x8bc8('0x32')]()[_0x8bc8('0x30')][_0x8bc8('0x15')];return'ELEMENT_'+_0x3b9ca9[_0x8bc8('0x1d')](_0x8bc8('0x31'))[_0x8bc8('0x19')]()+_0x8bc8('0x29');}(_0x5a5539))):_0x2d2f3b(_0xdf07ae,_0x8bc8('0x21'),_0x2d2f3b(_0xdf07ae,_0x8bc8('0x11'))),_0x1bd5d2={'type':_0x8bc8('0x50'),'content':_0x3168a8};break;case'mergeListItemBackward':case _0x8bc8('0x43'):!0x1===_0x15c9f6[_0x8bc8('0x4a')]&&(_0x3168a8=_0x8bc8('0x1a'),_0x1bd5d2={'type':_0x8bc8('0x17'),'content':_0x2d2f3b(_0xdf07ae,_0x3168a8,_0x2d2f3b(_0xdf07ae,_0x8bc8('0x11')))});}return _0x1bd5d2;}),_0x29d2e4[_0x8bc8('0x49')][_0x8bc8('0x3')](_0x8bc8('0x2a'),'documentList','accept',function(_0x5331ae,_0x25f3f0){const _0x2c80b6=[];for(let _0xd8443 of _0x5331ae)_0xd8443[_0x8bc8('0x30')][_0x8bc8('0x15')]===_0xd8443[_0x8bc8('0x2e')][_0x8bc8('0x35')]&&(_0xd8443=_0x48f4ee[_0x8bc8('0xe')]['createRange'](_0x48f4ee['model']['createPositionAt'](_0xd8443[_0x8bc8('0x30')][_0x8bc8('0x15')],0x0))),_0x2c80b6[_0x8bc8('0x3e')](_0xd8443);_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x1b')](_0x61eca0=>{const _0x240577=_0x48f4ee[_0x8bc8('0xe')][_0x8bc8('0x18')][_0x8bc8('0x33')],_0xba93ac=Array[_0x8bc8('0x0')](_0x240577[_0x8bc8('0x28')]())[_0x8bc8('0x42')](_0x3936e3=>_0x5a3076[_0x8bc8('0x2f')](_0x3936e3));_0x61eca0[_0x8bc8('0x4f')](_0x2c80b6),_0x48f4ee['commands']['get'](_0x25f3f0[_0x8bc8('0x8')])['refresh'](),_0x25f3f0['commandParams'][_0x8bc8('0x3e')]({'forceDefaultExecution':!0x0}),_0x48f4ee['execute'](_0x25f3f0[_0x8bc8('0x8')],..._0x25f3f0['commandParams']),_0x61eca0['setSelection'](_0xba93ac);for(const _0x21847f of _0xba93ac)_0x21847f[_0x8bc8('0x2d')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c60=['DocumentListUtils','document','listType','listStyle','getListTypeFromListStyleType','toUpperCase','DocumentListPropertiesUtils','enableCommand','listReversed','type','editor','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20reversed','isListItemBlock','format','bind','formatBlock','commandParams','push','handleListReversedCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','replace','getAttribute','config','reversed','plugins','_descriptionFactory','afterInit','DocumentListPropertiesEditing','get','styles','markMultiRangeBlockFormat','commandName','registerDescriptionCallback','_getTranslationKeyForListStyle','*Format:*\x20set\x20order\x20to\x20regular','getSelectedBlocks','model','has','ELEMENT_','TrackChangesEditing','change','selection','_getSuggestionBlocksForListStyle','handleListStartCommand','from','formatInline','handleDescriptions','isFirstBlockOfListItem','expandListBlocksToCompleteList','listStart','_getSuggestionBlocks','locale','numbered','startIndex'];(function(_0xc5c75e,_0x5c60f1){const _0x3771d6=function(_0x483bae){while(--_0x483bae){_0xc5c75e['push'](_0xc5c75e['shift']());}};_0x3771d6(++_0x5c60f1);}(_0x5c60,0x97));const _0x3771=function(_0xc5c75e,_0x5c60f1){_0xc5c75e=_0xc5c75e-0x0;let _0x3771d6=_0x5c60[_0xc5c75e];return _0x3771d6;};import{Plugin as _0x17e056}from'ckeditor5/src/core';import{getTranslation as _0x430afd}from'../utils/common-translations';export default class z extends _0x17e056{[_0x3771('0x29')](){if(!this[_0x3771('0x18')][_0x3771('0x27')][_0x3771('0x34')](_0x3771('0x2a')))return;const _0x53eeda=this['editor'][_0x3771('0x25')][_0x3771('0x2b')]('list.properties'),_0x496e8b=this['editor'][_0x3771('0x27')][_0x3771('0x2b')](_0x3771('0x36'));_0x53eeda[_0x3771('0x2c')]&&_0x496e8b[_0x3771('0x15')](_0x3771('0x11'),this['handleListStyleCommand'][_0x3771('0x1d')](this)),_0x53eeda[_0x3771('0x26')]&&_0x496e8b['enableCommand'](_0x3771('0x16'),this[_0x3771('0x21')][_0x3771('0x1d')](this)),_0x53eeda[_0x3771('0xd')]&&_0x496e8b[_0x3771('0x15')]('listStart',this[_0x3771('0x3')]['bind'](this)),_0x496e8b[_0x3771('0x28')][_0x3771('0x2f')](this[_0x3771('0x6')]['bind'](this));}[_0x3771('0x19')](_0x159d87,_0x462a18={}){const _0x5e3883=this[_0x3771('0x18')][_0x3771('0x27')][_0x3771('0x2b')](_0x3771('0x36')),_0x18e947=this['_getSuggestionBlocksForListStyle']();this[_0x3771('0x18')]['model'][_0x3771('0x0')](()=>{_0x5e3883[_0x3771('0x2d')](_0x18e947,{'commandName':_0x3771('0x11'),'commandParams':[{'type':_0x462a18['type']}],'formatGroupId':_0x3771('0x11')});});}[_0x3771('0x21')](_0x1f84d1,_0x47d71c={}){const _0x4d50f0=this[_0x3771('0x18')][_0x3771('0x27')][_0x3771('0x2b')](_0x3771('0x36')),_0x1934a5=this[_0x3771('0x18')][_0x3771('0x27')][_0x3771('0x2b')](_0x3771('0xe')),_0xba13da=this[_0x3771('0xa')](_0x590c53=>_0x1934a5['isListItemBlock'](_0x590c53)&&_0x3771('0xc')===_0x590c53[_0x3771('0x24')](_0x3771('0x10')));null!==_0xba13da&&this[_0x3771('0x18')][_0x3771('0x33')][_0x3771('0x0')](()=>{_0x4d50f0[_0x3771('0x2d')](_0xba13da,{'commandName':_0x3771('0x16'),'commandParams':[{'reversed':_0x47d71c[_0x3771('0x26')]}],'formatGroupId':_0x3771('0x16')});});}['handleListStartCommand'](_0x439da6,_0x3e3d4f={}){const _0xc56d76=this[_0x3771('0x18')]['plugins'][_0x3771('0x2b')]('TrackChangesEditing'),_0x2c7e86=this[_0x3771('0x18')]['plugins']['get'](_0x3771('0xe')),_0x3ba9f1=this[_0x3771('0xa')](_0x32a6ba=>_0x2c7e86[_0x3771('0x1b')](_0x32a6ba)&&'numbered'===_0x32a6ba[_0x3771('0x24')]('listType'));null!==_0x3ba9f1&&this['editor'][_0x3771('0x33')]['change'](()=>{_0xc56d76[_0x3771('0x2d')](_0x3ba9f1,{'commandName':_0x3771('0x9'),'commandParams':[{'startIndex':_0x3e3d4f[_0x3771('0xd')]}],'formatGroupId':_0x3771('0x9')});});}[_0x3771('0x6')](_0x494503){if(_0x3771('0x1e')!=_0x494503[_0x3771('0x17')]&&_0x3771('0x5')!=_0x494503[_0x3771('0x17')])return;const _0x3ad609=this[_0x3771('0x18')][_0x3771('0xb')],{data:_0x1dd478}=_0x494503;if(!_0x1dd478)return;let _0x14cf70,_0x537765;switch(_0x1dd478[_0x3771('0x2e')]){case _0x3771('0x11'):_0x14cf70='*Change\x20to:*\x20%0',_0x537765={'type':_0x3771('0x1c'),'content':_0x430afd(_0x3ad609,_0x14cf70,_0x430afd(_0x3ad609,this[_0x3771('0x30')](_0x1dd478[_0x3771('0x1f')][0x0][_0x3771('0x17')])))};break;case _0x3771('0x16'):_0x14cf70=_0x1dd478[_0x3771('0x1f')][0x0]['reversed']?_0x3771('0x1a'):_0x3771('0x31'),_0x537765={'type':'format','content':_0x430afd(_0x3ad609,_0x14cf70)};break;case _0x3771('0x9'):_0x14cf70=_0x3771('0x22'),_0x537765={'type':_0x3771('0x1c'),'content':_0x430afd(_0x3ad609,_0x14cf70,_0x1dd478[_0x3771('0x1f')][0x0][_0x3771('0xd')])};}return _0x537765;}[_0x3771('0x2')](){const _0x78b082=this['editor'][_0x3771('0x27')]['get'](_0x3771('0xe'));let _0x1cef7b=Array[_0x3771('0x4')](this[_0x3771('0x18')][_0x3771('0x33')]['document']['selection'][_0x3771('0x32')]());return _0x1cef7b[_0x3771('0x20')](..._0x78b082[_0x3771('0x8')](_0x1cef7b)),_0x1cef7b=[...new Set(_0x1cef7b)],_0x1cef7b;}[_0x3771('0xa')](_0x1216ed){const _0x3834e0=this[_0x3771('0x18')]['plugins']['get'](_0x3771('0xe'));let _0x30356b=Array[_0x3771('0x4')](this['editor'][_0x3771('0x33')][_0x3771('0xf')][_0x3771('0x1')][_0x3771('0x32')]())['filter'](_0x1216ed);if(!_0x30356b['length'])return null;_0x30356b=_0x3834e0[_0x3771('0x8')](_0x30356b);const _0xdf66a2=[];for(const _0x2be909 of _0x30356b)_0x3834e0[_0x3771('0x7')](_0x2be909)&&_0xdf66a2[_0x3771('0x20')](_0x2be909);return _0xdf66a2;}[_0x3771('0x30')](_0x324952){return _0x3771('0x35')+this[_0x3771('0x18')][_0x3771('0x27')][_0x3771('0x2b')](_0x3771('0x14'))[_0x3771('0x12')](_0x324952)[_0x3771('0x13')]()+'_LIST_'+_0x324952[_0x3771('0x13')]()[_0x3771('0x23')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5709=['split','createRange','change','options','detach','writer','commands','fromRange','selection','end','nextSibling','get','plugins','init','markerNameToElements','unbindElementFromMarkerName','fire','high','TrackChangesEditing','markerName','downcastDispatcher','mapper','editor','enter','bind','requires','remove','createPositionAt','model','document','data','removeMarker:suggestion:insertion','getFirstPosition','markInsertion','showSuggestionHighlights','editing','addMarker:suggestion:insertion'];(function(_0x4b8f46,_0x5709c9){const _0x3f258a=function(_0x47403a){while(--_0x47403a){_0x4b8f46['push'](_0x4b8f46['shift']());}};_0x3f258a(++_0x5709c9);}(_0x5709,0x1a1));const _0x3f25=function(_0x4b8f46,_0x5709c9){_0x4b8f46=_0x4b8f46-0x0;let _0x3f258a=_0x5709[_0x4b8f46];return _0x3f258a;};import{Plugin as _0x560094}from'ckeditor5/src/core';import{Enter as _0x5812b5}from'ckeditor5/src/enter';import{LiveRange as _0x28a206}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3756a6}from'./utils';export default class W extends _0x560094{static get[_0x3f25('0xf')](){return[_0x5812b5];}[_0x3f25('0x3')](){const _0x52172b=this[_0x3f25('0xc')],_0x4b7973=_0x52172b[_0x3f25('0x2')][_0x3f25('0x1')](_0x3f25('0x8')),_0x594db0=_0x52172b[_0x3f25('0x21')]['get']('enter');_0x4b7973['enableCommand'](_0x3f25('0xd'),()=>{_0x52172b['model'][_0x3f25('0x1d')](_0x160fa1=>{const _0x5cd2f0=_0x52172b[_0x3f25('0x12')][_0x3f25('0x13')][_0x3f25('0x23')],_0x33608c=_0x5cd2f0[_0x3f25('0x16')](),_0x526dd9=_0x28a206[_0x3f25('0x22')](_0x5cd2f0['getFirstRange']());if(_0x594db0['enterBlock'](_0x160fa1)){const _0x11e8a0=_0x52172b[_0x3f25('0x12')][_0x3f25('0x11')](_0x33608c['parent'][_0x3f25('0x0')],0x0),_0x149125=_0x160fa1[_0x3f25('0x1c')](_0x33608c,_0x11e8a0);_0x4b7973[_0x3f25('0x17')](_0x149125);}else _0x160fa1['setSelection'](_0x160fa1['createRange'](_0x526dd9[_0x3f25('0x24')]));_0x526dd9[_0x3f25('0x1f')](),_0x594db0[_0x3f25('0x6')]('afterExecute',{'writer':_0x160fa1});});}),_0x52172b['editing'][_0x3f25('0xa')]['on'](_0x3f25('0x1a'),_0x3756a6(_0x52172b,_0x3f25('0x1b')),{'priority':_0x3f25('0x7')}),_0x52172b[_0x3f25('0x19')][_0x3f25('0xa')]['on'](_0x3f25('0x15'),(_0x492559,_0x4aa998,_0x560efa)=>{const _0x1ec833=_0x560efa['mapper'][_0x3f25('0x4')](_0x4aa998[_0x3f25('0x9')]);if(_0x1ec833)for(const _0x335252 of _0x1ec833)_0x335252['hasClass']('ck-suggestion-marker-split')&&(_0x560efa[_0x3f25('0xb')][_0x3f25('0x5')](_0x335252,_0x4aa998[_0x3f25('0x9')]),_0x560efa[_0x3f25('0x20')][_0x3f25('0x10')](_0x335252));},{'priority':_0x3f25('0x7')}),_0x52172b[_0x3f25('0x14')]['downcastDispatcher']['on'](_0x3f25('0x1a'),(_0x352d2c,_0x33add6,_0x2219ea)=>{_0x2219ea[_0x3f25('0x1e')][_0x3f25('0x18')]&&_0x3756a6(_0x52172b,_0x3f25('0x1b'),{'showActiveMarker':!0x1})[_0x3f25('0xe')](this)(_0x352d2c,_0x33add6,_0x2219ea);},{'priority':_0x3f25('0x7')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ef1=['getRange','find','handleFindCommand','enableCommand','_isInDeletionRange','findNext','findByTextCallback','markers','filter','model','FindAndReplaceUtils','get','editor','getIntersection','plugins','item','createRange','replace','start','createPositionAt','getMarkersGroup'];(function(_0x41d5d7,_0x4ef144){const _0x3c91c7=function(_0xc31cfb){while(--_0xc31cfb){_0x41d5d7['push'](_0x41d5d7['shift']());}};_0x3c91c7(++_0x4ef144);}(_0x4ef1,0x178));const _0x3c91=function(_0x41d5d7,_0x4ef144){_0x41d5d7=_0x41d5d7-0x0;let _0x3c91c7=_0x4ef1[_0x41d5d7];return _0x3c91c7;};import{Plugin as _0x2f918f}from'ckeditor5/src/core';export default class J extends _0x2f918f{['afterInit'](){if(!this['editor'][_0x3c91('0x10')]['has']('FindAndReplaceEditing'))return;const _0x59ae56=this[_0x3c91('0xe')][_0x3c91('0x10')]['get']('TrackChangesEditing');_0x59ae56['enableCommand'](_0x3c91('0x3'),this[_0x3c91('0x4')]['bind'](this)),_0x59ae56[_0x3c91('0x5')](_0x3c91('0x7')),_0x59ae56[_0x3c91('0x5')]('findPrevious'),_0x59ae56[_0x3c91('0x5')](_0x3c91('0x13')),_0x59ae56[_0x3c91('0x5')]('replaceAll');}[_0x3c91('0x4')](_0x2a850d,_0x2371ce,_0x3ac138={}){const _0x360e6c=this[_0x3c91('0xe')][_0x3c91('0x10')][_0x3c91('0xd')](_0x3c91('0xc'));return _0x2a850d(_0x3af65c=>('string'==typeof _0x2371ce?_0x360e6c[_0x3c91('0x8')](_0x2371ce,_0x3ac138):_0x2371ce)(_0x3af65c)[_0x3c91('0xa')](_0x13c326=>!0x1===this['_isInDeletionRange'](_0x13c326,_0x3af65c[_0x3c91('0x11')])),_0x3ac138);}[_0x3c91('0x6')](_0x2ba945,_0x1aa609){const _0x1e3a80=this['editor']['model'][_0x3c91('0x12')](this[_0x3c91('0xe')][_0x3c91('0xb')][_0x3c91('0x0')](_0x1aa609,_0x2ba945[_0x3c91('0x14')]),this[_0x3c91('0xe')][_0x3c91('0xb')][_0x3c91('0x0')](_0x1aa609,_0x2ba945['end']));for(const _0x185fed of this[_0x3c91('0xe')][_0x3c91('0xb')][_0x3c91('0x9')][_0x3c91('0x1')]('suggestion:deletion'))if(null!==_0x1e3a80[_0x3c91('0xf')](_0x185fed[_0x3c91('0x2')]()))return!0x0;return!0x1;}}
|