@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231025.0 → 0.0.0-nightly-20231026.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.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-20231026.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-20231026.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231026.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 _0x2968=['isEnabled','plugins','TrackChangesEditing','_suggestions','acceptSuggestion','get','canEditAt','refresh','getRanges','track-changes-accept-suggestion-not-found','model','_isEnabledBasedOnSelection'];(function(_0x458a4a,_0x296857){const _0x41dfdf=function(_0x470890){while(--_0x470890){_0x458a4a['push'](_0x458a4a['shift']());}};_0x41dfdf(++_0x296857);}(_0x2968,0x188));const _0x41df=function(_0x458a4a,_0x296857){_0x458a4a=_0x458a4a-0x0;let _0x41dfdf=_0x2968[_0x458a4a];return _0x41dfdf;};import{Command as _0x4aa036}from'ckeditor5/src/core';import{CKEditorError as _0x2bf7c0}from'ckeditor5/src/utils';export default class M extends _0x4aa036{constructor(_0x59872f,_0x5ece7e){super(_0x59872f),this['_suggestions']=_0x5ece7e,this[_0x41df('0xb')](),this[_0x41df('0x3')]=!0x1;}['refresh'](){this[_0x41df('0x4')]=!0x0;}['execute'](_0x48b7ef){const _0x38aa58=this[_0x41df('0x7')]['get'](_0x48b7ef);if(!_0x38aa58)throw new _0x2bf7c0(_0x41df('0x1'),this);const _0x2f8f9d=_0x38aa58[_0x41df('0x0')]();this['editor'][_0x41df('0x2')][_0x41df('0xa')](_0x2f8f9d)&&this['editor'][_0x41df('0x5')][_0x41df('0x9')](_0x41df('0x6'))[_0x41df('0x8')](_0x38aa58);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b63=['_isEnabledBasedOnSelection','model','editor','TrackChangesEditing','get','canEditAt','discardSuggestion','_suggestions','plugins','getRanges','refresh'];(function(_0x40b871,_0x2b6348){const _0x1a640d=function(_0x452830){while(--_0x452830){_0x40b871['push'](_0x40b871['shift']());}};_0x1a640d(++_0x2b6348);}(_0x2b63,0x174));const _0x1a64=function(_0x40b871,_0x2b6348){_0x40b871=_0x40b871-0x0;let _0x1a640d=_0x2b63[_0x40b871];return _0x1a640d;};import{Command as _0xdaaea9}from'ckeditor5/src/core';import{CKEditorError as _0x5f1dc9}from'ckeditor5/src/utils';export default class $ extends _0xdaaea9{constructor(_0x43621e,_0x2a46c7){super(_0x43621e),this['_suggestions']=_0x2a46c7,this['refresh'](),this[_0x1a64('0x2')]=!0x1;}[_0x1a64('0x1')](){this['isEnabled']=!0x0;}['execute'](_0x2d5686){const _0x2449af=this[_0x1a64('0x9')]['get'](_0x2d5686);if(!_0x2449af)throw new _0x5f1dc9('track-changes-discard-suggestion-not-found',this);const _0x2af4bd=_0x2449af[_0x1a64('0x0')]();this[_0x1a64('0x4')][_0x1a64('0x3')][_0x1a64('0x7')](_0x2af4bd)&&this[_0x1a64('0x4')][_0x1a64('0xa')][_0x1a64('0x6')](_0x1a64('0x5'))[_0x1a64('0x8')](_0x2449af);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ebb=['values','editor','isInContent','refresh','from','_isEnabledBasedOnSelection','isEnabled','model','_command','canEditAt','some','_suggestions'];(function(_0x5619af,_0x5ebb7f){const _0x3ae88f=function(_0x4b4c0b){while(--_0x4b4c0b){_0x5619af['push'](_0x5619af['shift']());}};_0x3ae88f(++_0x5ebb7f);}(_0x5ebb,0x1ce));const _0x3ae8=function(_0x5619af,_0x5ebb7f){_0x5619af=_0x5619af-0x0;let _0x3ae88f=_0x5ebb[_0x5619af];return _0x3ae88f;};import{Command as _0x29bc12}from'ckeditor5/src/core';import{sortSuggestions as _0x5e1f5e,executeCommandForSuggestions as _0x1af252}from'../utils/utils';export default class N extends _0x29bc12{constructor(_0x3ca236,_0x4d604e,_0x1d2cd2){super(_0x3ca236),this[_0x3ae8('0x2')]=_0x4d604e,this['_suggestions']=_0x1d2cd2,this[_0x3ae8('0x9')](),this[_0x3ae8('0xb')]=!0x1;}[_0x3ae8('0x9')](){const _0x2b6383=Array[_0x3ae8('0xa')](this[_0x3ae8('0x5')][_0x3ae8('0x6')]())[_0x3ae8('0x4')](_0x51ff98=>_0x51ff98[_0x3ae8('0x8')]);this[_0x3ae8('0x0')]=this[_0x3ae8('0x2')][_0x3ae8('0x0')]&&_0x2b6383;}['execute'](){const _0x21dafe=_0x5e1f5e(Array[_0x3ae8('0xa')](this[_0x3ae8('0x5')][_0x3ae8('0x6')]()));for(const _0x460a34 of _0x21dafe){const _0xaa61=_0x460a34['getRanges']();if(!this[_0x3ae8('0x7')][_0x3ae8('0x1')][_0x3ae8('0x3')](_0xaa61))return;}_0x1af252(this[_0x3ae8('0x7')][_0x3ae8('0x1')],this[_0x3ae8('0x2')],_0x21dafe);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaef9=['editor','_suggestions','getRanges','from','document','isEnabled','canEditAt','model','_isEnabledBasedOnSelection','refresh','size','_selectedSuggestions','selection','_command','values'];(function(_0x17df1b,_0xaef9bf){const _0x4e803b=function(_0x1a17a3){while(--_0x1a17a3){_0x17df1b['push'](_0x17df1b['shift']());}};_0x4e803b(++_0xaef9bf);}(_0xaef9,0xc8));const _0x4e80=function(_0x17df1b,_0xaef9bf){_0x17df1b=_0x17df1b-0x0;let _0x4e803b=_0xaef9[_0x17df1b];return _0x4e803b;};import{Command as _0x27a24a}from'ckeditor5/src/core';import{sortSuggestions as _0x5d31c1,getSelectedSuggestions as _0x25aed6,executeCommandForSuggestions as _0x2e7853}from'../utils/utils';export default class R extends _0x27a24a{constructor(_0x52e8c1,_0x2403c7,_0x5d04ea){super(_0x52e8c1),this[_0x4e80('0x8')]=_0x2403c7,this['_suggestions']=_0x5d04ea,this[_0x4e80('0x6')]=new Set(),this[_0x4e80('0x4')](),this[_0x4e80('0x3')]=!0x1;}['refresh'](){const _0x225077=this[_0x4e80('0xa')][_0x4e80('0x2')][_0x4e80('0xe')][_0x4e80('0x7')],_0x1cae22=Array[_0x4e80('0xd')](this[_0x4e80('0xb')][_0x4e80('0x9')]());this[_0x4e80('0x6')]=_0x25aed6(_0x225077,_0x1cae22),this[_0x4e80('0x0')]=this['_command'][_0x4e80('0x0')]&&!!this['_selectedSuggestions'][_0x4e80('0x5')];}['execute'](){const _0x242a84=_0x5d31c1(Array[_0x4e80('0xd')](this[_0x4e80('0x6')]));for(const _0x430b9e of _0x242a84){const _0x146321=_0x430b9e[_0x4e80('0xc')]();if(!this[_0x4e80('0xa')][_0x4e80('0x2')][_0x4e80('0x1')](_0x146321))return;}_0x2e7853(this[_0x4e80('0xa')][_0x4e80('0x2')],this[_0x4e80('0x8')],_0x242a84);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x338a=['_disableUnsupportedCommands','affectsData','value','TrackChangesCommand','forceDisabled','_enabledCommands','refresh','execute','editor','clearForceDisabled','commands','_enableCommands','isEnabled','has'];(function(_0x2b0512,_0x338a44){const _0x1f5133=function(_0x5b09a0){while(--_0x5b09a0){_0x2b0512['push'](_0x2b0512['shift']());}};_0x1f5133(++_0x338a44);}(_0x338a,0x118));const _0x1f51=function(_0x2b0512,_0x338a44){_0x2b0512=_0x2b0512-0x0;let _0x1f5133=_0x338a[_0x2b0512];return _0x1f5133;};import{Command as _0x3cab02}from'ckeditor5/src/core';export default class _ extends _0x3cab02{constructor(_0x3678d8,_0x563905){super(_0x3678d8),this['_enabledCommands']=_0x563905,this[_0x1f51('0x2')]=!0x1,this[_0x1f51('0x6')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1f51('0x6')](){this[_0x1f51('0xc')]=!0x0;}[_0x1f51('0x7')](){this[_0x1f51('0x2')]=!this[_0x1f51('0x2')],this[_0x1f51('0x2')]?this[_0x1f51('0x0')]():this[_0x1f51('0xb')]();}[_0x1f51('0x0')](){for(const _0x1a6401 of this[_0x1f51('0x8')][_0x1f51('0xa')][_0x1f51('0xa')]())_0x1a6401['affectsData']&&!this[_0x1f51('0x5')]['has'](_0x1a6401)&&_0x1a6401[_0x1f51('0x4')](_0x1f51('0x3'));}[_0x1f51('0xb')](){for(const _0x17d2c4 of this[_0x1f51('0x8')][_0x1f51('0xa')][_0x1f51('0xa')]())_0x17d2c4[_0x1f51('0x1')]&&!this[_0x1f51('0x5')][_0x1f51('0xd')](_0x17d2c4)&&_0x17d2c4[_0x1f51('0x9')](_0x1f51('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3130=['showAIAssistant','enableCommand','TrackChangesEditing','afterInit','get','editor','plugins','commands'];(function(_0x18104e,_0x3130b3){const _0x206740=function(_0xba2a4a){while(--_0xba2a4a){_0x18104e['push'](_0x18104e['shift']());}};_0x206740(++_0x3130b3);}(_0x3130,0xc9));const _0x2067=function(_0x18104e,_0x3130b3){_0x18104e=_0x18104e-0x0;let _0x206740=_0x3130[_0x18104e];return _0x206740;};import{Plugin as _0x4c90d8}from'ckeditor5/src/core';export default class j extends _0x4c90d8{[_0x2067('0x2')](){const _0x6461da=this[_0x2067('0x4')],_0xe3cf3b=_0x6461da[_0x2067('0x5')][_0x2067('0x3')](_0x2067('0x1'));_0x6461da[_0x2067('0x6')][_0x2067('0x3')](_0x2067('0x7'))&&_0xe3cf3b[_0x2067('0x0')](_0x2067('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5947=['schema','commandParams','plugins','FORMAT_JUSTIFY_TEXT','locale','has','checkAttribute','format','contentLanguageDirection','model','document','FORMAT_ALIGN_TO_CENTER','get','right','afterInit','TrackChangesEditing','markBlockFormat','*Format:*\x20%0','enableCommand','value','left','_descriptionFactory','commandName','alignment','registerDescriptionCallback','editor','getSelectedBlocks','FORMAT_ALIGN_TO_RIGHT','change','justify','from','selection'];(function(_0x2d2924,_0x5947cd){const _0x3bdae7=function(_0x4ffa2b){while(--_0x4ffa2b){_0x2d2924['push'](_0x2d2924['shift']());}};_0x3bdae7(++_0x5947cd);}(_0x5947,0x121));const _0x3bda=function(_0x2d2924,_0x5947cd){_0x2d2924=_0x2d2924-0x0;let _0x3bdae7=_0x5947[_0x2d2924];return _0x3bdae7;};import{Plugin as _0xb70fdf}from'ckeditor5/src/core';import{getTranslation as _0x45b575}from'../utils/common-translations';export default class x extends _0xb70fdf{[_0x3bda('0xd')](){const _0x5bc86a=this[_0x3bda('0x18')],_0x1ac038=_0x5bc86a[_0x3bda('0x3')];if(!_0x5bc86a[_0x3bda('0x1')][_0x3bda('0x4')]('AlignmentEditing'))return;const _0x1d9360=_0x5bc86a['plugins'][_0x3bda('0xb')](_0x3bda('0xe'));_0x1d9360[_0x3bda('0x11')](_0x3bda('0x16'),(_0x1328e8,_0x5d2139={})=>{let _0x490ef4=_0x5d2139[_0x3bda('0x12')];_0x5d2139['value']||(_0x490ef4='ltr'===_0x5bc86a[_0x3bda('0x3')][_0x3bda('0x7')]?_0x3bda('0x13'):_0x3bda('0xc'));const _0x21804c=Array[_0x3bda('0x1d')](this[_0x3bda('0x18')][_0x3bda('0x8')][_0x3bda('0x9')][_0x3bda('0x1e')][_0x3bda('0x19')]())['filter'](_0x4398ed=>function(_0x13d724,_0x18331c,_0x43e254){const _0x3ce30d=_0x13d724['getAttribute'](_0x3bda('0x16'))||null;return _0x18331c[_0x3bda('0x5')](_0x13d724,_0x3bda('0x16'))&&_0x43e254!=_0x3ce30d;}(_0x4398ed,this[_0x3bda('0x18')][_0x3bda('0x8')][_0x3bda('0x1f')],_0x490ef4));_0x5bc86a[_0x3bda('0x8')][_0x3bda('0x1b')](()=>{for(const _0x336164 of _0x21804c)_0x1d9360[_0x3bda('0xf')](_0x336164,{'commandName':_0x3bda('0x16'),'commandParams':[{'value':_0x490ef4}]});});}),_0x1d9360[_0x3bda('0x14')][_0x3bda('0x17')](_0x5c9be0=>{const {data:_0x1a66c6}=_0x5c9be0;if(_0x1a66c6&&_0x3bda('0x16')==_0x1a66c6[_0x3bda('0x15')]){const _0x4b17a5=_0x1a66c6[_0x3bda('0x0')][0x0][_0x3bda('0x12')];return{'type':_0x3bda('0x6'),'content':_0x45b575(_0x1ac038,_0x3bda('0x10'),function(_0x2425ea){switch(_0x2425ea){case'left':return _0x45b575(_0x1ac038,'FORMAT_ALIGN_TO_LEFT');case _0x3bda('0xc'):return _0x45b575(_0x1ac038,_0x3bda('0x1a'));case'center':return _0x45b575(_0x1ac038,_0x3bda('0xa'));case _0x3bda('0x1c'):return _0x45b575(_0x1ac038,_0x3bda('0x2'));}}(_0x4b17a5))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x261d=['CodeEditing','isCollapsed','UnderlineEditing','format','BoldEditing','slice','FORMAT_BOLD','FORMAT_STRIKETHROUGH','forceValue','commands','StrikethroughEditing','SuperscriptEditing','value','getRanges','editor','underline','FORMAT_CODE','ItalicEditing','enableCommand','selection','bold','model','FORMAT_UNDERLINE','get','TrackChangesEditing','*Remove\x20format:*\x20%0','from','*Format:*\x20%0','markInlineFormat','locale','FORMAT_SUBSCRIPT','plugins','commandParams'];(function(_0x3a951d,_0x261d98){const _0x7f7651=function(_0x36d648){while(--_0x36d648){_0x3a951d['push'](_0x3a951d['shift']());}};_0x7f7651(++_0x261d98);}(_0x261d,0x15a));const _0x7f76=function(_0x3a951d,_0x261d98){_0x3a951d=_0x3a951d-0x0;let _0x7f7651=_0x261d[_0x3a951d];return _0x7f7651;};import{Plugin as _0x4c979d}from'ckeditor5/src/core';import{getTranslation as _0x3165d1}from'../utils/common-translations';import{getRangesWithAttribute as _0x448e50}from'./utils';const Zt=[_0x7f76('0x15'),_0x7f76('0x1'),_0x7f76('0x13'),_0x7f76('0x11'),_0x7f76('0x1b'),'SubscriptEditing',_0x7f76('0x1c')];export default class U extends _0x4c979d{['afterInit'](){const _0x37c410=this[_0x7f76('0x1f')],_0x294730=_0x37c410[_0x7f76('0x5')],_0x357e74=_0x37c410[_0x7f76('0xf')][_0x7f76('0x7')](_0x7f76('0x8')),_0x7ec8b3=_0x37c410[_0x7f76('0xd')];for(const _0x5ccd6b of Zt){if(!_0x37c410[_0x7f76('0xf')]['has'](_0x5ccd6b))continue;const _0x228eda=_0x5ccd6b[_0x7f76('0x16')](0x0,-0x7)['toLowerCase'](),_0x201a7f=_0x37c410[_0x7f76('0x1a')]['get'](_0x228eda);_0x357e74[_0x7f76('0x2')](_0x228eda,(_0x18b2d1,_0x57b225={})=>{const _0x76f90d=_0x294730['document'][_0x7f76('0x3')];if(_0x76f90d[_0x7f76('0x12')])return void _0x18b2d1(_0x57b225);const _0xb302c3=void 0x0!==_0x57b225[_0x7f76('0x19')]?_0x57b225[_0x7f76('0x19')]:!_0x201a7f[_0x7f76('0x1d')];_0x294730['change'](()=>{const _0x563078=Array[_0x7f76('0xa')](_0x76f90d[_0x7f76('0x1e')]());for(const _0x492d4c of _0x563078){const _0x369d9f=_0xb302c3?[_0x492d4c]:_0x448e50(_0x228eda,_0x492d4c,_0x294730);for(const _0xfa0d6f of _0x369d9f)_0x357e74[_0x7f76('0xc')](_0xfa0d6f,{'commandName':_0x228eda,'commandParams':[{'forceValue':_0xb302c3}]});}});});}function _0x2c4717(_0x271598,_0x21a88d){_0x357e74['_descriptionFactory']['registerDescriptionCallback'](_0x20bbbd=>{const {data:_0x530ab7}=_0x20bbbd;if(_0x530ab7&&_0x530ab7['commandName']===_0x271598)return _0x530ab7[_0x7f76('0x10')][0x0][_0x7f76('0x19')]?{'type':'format','content':_0x3165d1(_0x7ec8b3,_0x7f76('0xb'),_0x21a88d)}:{'type':_0x7f76('0x14'),'content':_0x3165d1(_0x7ec8b3,_0x7f76('0x9'),_0x21a88d)};});}_0x2c4717(_0x7f76('0x4'),_0x3165d1(_0x7ec8b3,_0x7f76('0x17'))),_0x2c4717('italic',_0x3165d1(_0x7ec8b3,'FORMAT_ITALIC')),_0x2c4717(_0x7f76('0x20'),_0x3165d1(_0x7ec8b3,_0x7f76('0x6'))),_0x2c4717('code',_0x3165d1(_0x7ec8b3,_0x7f76('0x0'))),_0x2c4717('strikethrough',_0x3165d1(_0x7ec8b3,_0x7f76('0x18'))),_0x2c4717('subscript',_0x3165d1(_0x7ec8b3,_0x7f76('0xe'))),_0x2c4717('superscript',_0x3165d1(_0x7ec8b3,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fb6=['_descriptionFactory','registerDescriptionCallback','name','document','plugins','blockQuote','getSelectedBlocks','change','ELEMENT_BLOCK_QUOTE','*Remove\x20format:*\x20%0','BlockQuoteEditing','locale','commandName','enableCommand','get','checkChild','markBlockFormat','*Format:*\x20%0','model','parent','format','afterInit','commandParams','value','filter','editor','has','schema','forceValue','from'];(function(_0x8c5a8c,_0x2fb657){const _0x5031eb=function(_0x2a1519){while(--_0x2a1519){_0x8c5a8c['push'](_0x8c5a8c['shift']());}};_0x5031eb(++_0x2fb657);}(_0x2fb6,0x88));const _0x5031=function(_0x8c5a8c,_0x2fb657){_0x8c5a8c=_0x8c5a8c-0x0;let _0x5031eb=_0x2fb6[_0x8c5a8c];return _0x5031eb;};import{Plugin as _0x150415}from'ckeditor5/src/core';import{getTranslation as _0x525db6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x20563d}from'../utils/utils';export default class O extends _0x150415{[_0x5031('0x5')](){const _0x140ac5=this[_0x5031('0x9')],_0x5bb007=_0x140ac5[_0x5031('0x19')];if(!_0x140ac5[_0x5031('0x12')][_0x5031('0xa')](_0x5031('0x18')))return;const _0x495eb8=_0x140ac5[_0x5031('0x12')][_0x5031('0x1c')]('TrackChangesEditing'),_0x3b0870=this['editor']['commands'][_0x5031('0x1c')](_0x5031('0x13'));_0x495eb8[_0x5031('0x1b')]('blockQuote',(_0x204811,_0x2035de={})=>{const _0x22af3e=this[_0x5031('0x9')][_0x5031('0x2')][_0x5031('0x11')]['selection'],_0x4bffd7=_0x2035de&&void 0x0!==_0x2035de[_0x5031('0xc')]?_0x2035de[_0x5031('0xc')]:!_0x3b0870[_0x5031('0x7')];let _0x1249e1=[];if(_0x4bffd7){const _0x41add2=Array[_0x5031('0xd')](_0x22af3e[_0x5031('0x14')]())[_0x5031('0x8')](_0x986b6b=>oo(_0x986b6b)||function(_0x2f9d25,_0xcfa45a){const _0x4c82aa=_0xcfa45a['checkChild'](_0x2f9d25[_0x5031('0x3')],_0x5031('0x13')),_0x431a76=_0xcfa45a[_0x5031('0x1d')](['$root','blockQuote'],_0x2f9d25);return _0x4c82aa&&_0x431a76;}(_0x986b6b,this[_0x5031('0x9')][_0x5031('0x2')][_0x5031('0xb')]));_0x1249e1=_0x20563d(_0x41add2,_0x140ac5[_0x5031('0x2')]);}else{const _0x470b92=Array[_0x5031('0xd')](_0x22af3e[_0x5031('0x14')]())['filter'](_0x1d9905=>oo(_0x1d9905));_0x1249e1=_0x20563d(_0x470b92,_0x140ac5[_0x5031('0x2')]);}_0x140ac5[_0x5031('0x2')][_0x5031('0x15')](()=>{for(const _0x1fa348 of _0x1249e1)_0x495eb8[_0x5031('0x0')](_0x1fa348,{'commandName':_0x5031('0x13'),'commandParams':[{'forceValue':_0x4bffd7}]});});}),_0x495eb8[_0x5031('0xe')][_0x5031('0xf')](_0x386591=>{const {data:_0x4032da}=_0x386591;if(_0x4032da&&'blockQuote'==_0x4032da[_0x5031('0x1a')]){const _0x4485a9=_0x525db6(_0x5bb007,_0x5031('0x16'));return _0x4032da[_0x5031('0x6')][0x0][_0x5031('0xc')]?{'type':_0x5031('0x4'),'content':_0x525db6(_0x5bb007,_0x5031('0x1'),_0x4485a9)}:{'type':_0x5031('0x4'),'content':_0x525db6(_0x5bb007,_0x5031('0x17'),_0x4485a9)};}});}}function oo(_0x3f8b74){return'blockQuote'==_0x3f8b74[_0x5031('0x3')][_0x5031('0x10')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fb6=['ckbox','plugins','get','TrackChangesEditing'];(function(_0x4a648a,_0x4fb60f){const _0x5a40b3=function(_0xff67e0){while(--_0xff67e0){_0x4a648a['push'](_0x4a648a['shift']());}};_0x5a40b3(++_0x4fb60f);}(_0x4fb6,0x19c));const _0x5a40=function(_0x4a648a,_0x4fb60f){_0x4a648a=_0x4a648a-0x0;let _0x5a40b3=_0x4fb6[_0x4a648a];return _0x5a40b3;};import{Plugin as _0x29764c}from'ckeditor5/src/core';export default class E extends _0x29764c{['afterInit'](){const _0x5adf1a=this['editor'];_0x5adf1a['commands']['get'](_0x5a40('0x0'))&&_0x5adf1a[_0x5a40('0x1')][_0x5a40('0x2')](_0x5a40('0x3'))['enableCommand'](_0x5a40('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2abf=['get','commandName','plugins','TrackChangesEditing','getSelectedBlocks','parent','model','*Remove\x20format:*\x20%0','codeBlock','markBlockFormat','change','checkChild','from','indentCodeBlock','formatBlock','_descriptionFactory','find','format','languages','forceValue','blockName','editor','afterInit','label','locale','commands','outdentCodeBlock','registerElementLabel','rootElement','document','config','ELEMENT_CODE_BLOCK','CodeBlock','language','registerDescriptionCallback','commandParams','enableCommand'];(function(_0x745267,_0x2abfd3){const _0x30fd22=function(_0x3efca7){while(--_0x3efca7){_0x745267['push'](_0x745267['shift']());}};_0x30fd22(++_0x2abfd3);}(_0x2abf,0x82));const _0x30fd=function(_0x745267,_0x2abfd3){_0x745267=_0x745267-0x0;let _0x30fd22=_0x2abf[_0x745267];return _0x30fd22;};import{Plugin as _0xe06247}from'ckeditor5/src/core';import{getTranslation as _0x4decb5}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x326fce}from'../utils/utils';export default class F extends _0xe06247{[_0x30fd('0x3')](){const _0x1f9546=this[_0x30fd('0x2')];if(!_0x1f9546[_0x30fd('0x14')]['has'](_0x30fd('0xd')))return;const _0x337718=_0x1f9546[_0x30fd('0x14')][_0x30fd('0x12')](_0x30fd('0x15')),_0x3bbc29=_0x1f9546[_0x30fd('0x5')],_0xf8fbea=_0x1f9546[_0x30fd('0xb')]['get'](_0x30fd('0x1a'))[_0x30fd('0x24')],_0x27de07=_0x1f9546[_0x30fd('0x6')]['get'](_0x30fd('0x1a'));_0x337718[_0x30fd('0x11')](_0x30fd('0x1f')),_0x337718['enableCommand'](_0x30fd('0x7')),_0x337718[_0x30fd('0x11')](_0x30fd('0x1a'),(_0x3a4d3e,_0x16f543={})=>{const _0x5e7332=_0x1f9546[_0x30fd('0x18')],_0x282ce4=_0x1f9546['model'][_0x30fd('0xa')]['selection'],_0x562307=_0x16f543&&void 0x0!==_0x16f543['forceValue']?_0x16f543[_0x30fd('0x0')]:!_0x27de07['value'];let _0x32971d;_0x16f543['language']||(_0x16f543[_0x30fd('0xe')]=_0xf8fbea[0x0][_0x30fd('0xe')]),_0x32971d=_0x562307?Array[_0x30fd('0x1e')](_0x282ce4[_0x30fd('0x16')]())['filter'](_0x49af7c=>co(_0x49af7c)||function(_0x46c661,_0x3b9527){if(_0x46c661['is'](_0x30fd('0x9'))||_0x3b9527['isLimit'](_0x46c661))return!0x1;return _0x3b9527[_0x30fd('0x1d')](_0x46c661[_0x30fd('0x17')],_0x30fd('0x1a'));}(_0x49af7c,_0x5e7332['schema'])):Array[_0x30fd('0x1e')](_0x282ce4[_0x30fd('0x16')]())['filter'](_0x32df6a=>co(_0x32df6a));const _0x5331df=_0x326fce(_0x32971d,_0x5e7332);_0x5e7332[_0x30fd('0x1c')](()=>{for(const _0x2034c7 of _0x5331df)_0x337718[_0x30fd('0x1b')](_0x2034c7,{'commandName':_0x30fd('0x1a'),'commandParams':[{..._0x16f543,'forceValue':_0x562307}],'formatGroupId':_0x30fd('0x1')});});}),(_0x337718[_0x30fd('0x21')][_0x30fd('0x8')](_0x30fd('0x1a'),_0x439ff6=>_0x4decb5(_0x3bbc29,_0x30fd('0xc'),_0x439ff6)),_0x337718[_0x30fd('0x21')][_0x30fd('0xf')](_0x34bde1=>{const _0x122240=_0x3bbc29['t'],{type:_0x1c561d,data:_0x592d9c}=_0x34bde1;if(_0x30fd('0x20')==_0x1c561d&&_0x592d9c&&_0x30fd('0x1a')==_0x592d9c[_0x30fd('0x13')]){const _0x1b625b=_0x592d9c['commandParams'][0x0]['language'],_0x57870f=_0x122240(_0xf8fbea[_0x30fd('0x22')](_0x1c72ab=>_0x1c72ab[_0x30fd('0xe')]===_0x1b625b)[_0x30fd('0x4')]);return _0x592d9c[_0x30fd('0x10')][0x0][_0x30fd('0x0')]?{'type':'format','content':_0x4decb5(_0x3bbc29,'*Format:*\x20%0',_0x4decb5(_0x3bbc29,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x57870f+')')}:{'type':_0x30fd('0x23'),'content':_0x4decb5(_0x3bbc29,_0x30fd('0x19'),_0x4decb5(_0x3bbc29,_0x30fd('0xc'),0x1))};}}));}}function co(_0x14a857){return _0x30fd('0x1a')==_0x14a857['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4719=['editor','enableCommand','has','plugins','addCommentThread','get'];(function(_0x42973f,_0x47199b){const _0x28bdc8=function(_0x273c69){while(--_0x273c69){_0x42973f['push'](_0x42973f['shift']());}};_0x28bdc8(++_0x47199b);}(_0x4719,0x17b));const _0x28bd=function(_0x42973f,_0x47199b){_0x42973f=_0x42973f-0x0;let _0x28bdc8=_0x4719[_0x42973f];return _0x28bdc8;};import{Plugin as _0x35eb93}from'ckeditor5/src/core';export default class G extends _0x35eb93{['afterInit'](){const _0x25b6cc=this[_0x28bd('0x5')];if(!_0x25b6cc[_0x28bd('0x2')][_0x28bd('0x1')]('CommentsEditing'))return;_0x25b6cc['plugins'][_0x28bd('0x4')]('TrackChangesEditing')[_0x28bd('0x0')](_0x28bd('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3948=['editor','setSelection','init','bind','deleteForward','commands','getFirstRange','enqueueChange','high','fromRange','buffer','delete','start','lock','showSuggestionHighlights','editing','TrackChangesEditing','requires','removeMarker:suggestion:deletion','isCollapsed','modifySelection','model','root','markerName','markerNameToElements','downcastDispatcher','unbindElementFromMarkerName','get','unlock','remove','writer','createRange','selection','mapper','detach','document','forward','createSelection','uiElement','unit','merge','enableCommand'];(function(_0x50592c,_0x3948c0){const _0x5806d4=function(_0x17b8dd){while(--_0x17b8dd){_0x50592c['push'](_0x50592c['shift']());}};_0x5806d4(++_0x3948c0);}(_0x3948,0x1b5));const _0x5806=function(_0x50592c,_0x3948c0){_0x50592c=_0x50592c-0x0;let _0x5806d4=_0x3948[_0x50592c];return _0x5806d4;};import{Plugin as _0x30abda}from'ckeditor5/src/core';import{LiveRange as _0x586e3b}from'ckeditor5/src/engine';import{Delete as _0xcf55d5}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2c9a05}from'./utils';export default class L extends _0x30abda{static get[_0x5806('0x0')](){return[_0xcf55d5];}[_0x5806('0x1b')](){const _0x2fd331=this[_0x5806('0x19')],_0x205130=_0x2fd331['plugins'][_0x5806('0xa')](_0x5806('0x29'));_0x205130[_0x5806('0x18')](_0x5806('0x24'));const _0x4f21e7=_0x2fd331[_0x5806('0x1e')][_0x5806('0xa')](_0x5806('0x1d'));_0x205130['enableCommand'](_0x5806('0x1d'),(_0x754762,_0x428c84={})=>{const _0x3208c9=_0x2fd331[_0x5806('0x4')][_0x5806('0x14')](_0x2fd331[_0x5806('0x4')][_0x5806('0x12')][_0x5806('0xf')]);_0x3208c9[_0x5806('0x2')]&&_0x2fd331[_0x5806('0x4')][_0x5806('0x3')](_0x3208c9,{'direction':_0x5806('0x13'),'unit':_0x428c84[_0x5806('0x16')]});const _0x7758b=_0x3208c9[_0x5806('0x1f')](),_0x39158e=_0x586e3b[_0x5806('0x22')](_0x7758b);let _0x1ed568;_0x754762(_0x428c84),_0x1ed568='$graveyard'==_0x39158e[_0x5806('0x5')]['rootName']?_0x2fd331[_0x5806('0x4')][_0x5806('0xe')](_0x7758b[_0x5806('0x25')]):_0x2fd331[_0x5806('0x4')]['createRange'](_0x39158e[_0x5806('0x25')],_0x39158e['end']),_0x39158e[_0x5806('0x11')](),_0x2fd331['model'][_0x5806('0x20')](_0x4f21e7['buffer']['batch'],_0x2b1dfc=>{_0x4f21e7[_0x5806('0x23')][_0x5806('0x26')](),_0x2b1dfc[_0x5806('0x1a')](_0x2b1dfc[_0x5806('0xe')](_0x1ed568['end'])),_0x4f21e7[_0x5806('0x23')][_0x5806('0xb')]();});}),_0x2fd331[_0x5806('0x28')][_0x5806('0x8')]['on']('addMarker:suggestion:deletion',_0x2c9a05(_0x2fd331,_0x5806('0x17')),{'priority':'high'}),_0x2fd331['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4a1326,_0x2553d9,_0x8c4f29)=>{_0x8c4f29['options'][_0x5806('0x27')]&&_0x2c9a05(_0x2fd331,_0x5806('0x17'),{'showActiveMarker':!0x1})[_0x5806('0x1c')](this)(_0x4a1326,_0x2553d9,_0x8c4f29);},{'priority':_0x5806('0x21')}),_0x2fd331[_0x5806('0x28')][_0x5806('0x8')]['on'](_0x5806('0x1'),(_0x336847,_0x582f62,_0x9bbb5d)=>{const _0x4ef9f0=_0x9bbb5d['mapper'][_0x5806('0x7')](_0x582f62['markerName']);if(_0x4ef9f0)for(const _0x48a980 of _0x4ef9f0)_0x48a980['is'](_0x5806('0x15'))&&(_0x9bbb5d[_0x5806('0x10')][_0x5806('0x9')](_0x48a980,_0x582f62[_0x5806('0x6')]),_0x9bbb5d[_0x5806('0xd')][_0x5806('0xc')](_0x48a980));},{'priority':_0x5806('0x21')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4420=['enableCommand','ELEMENT_BULLETED_LIST','documentList','setSelection','registerCustomCallback','config','map','model','DocumentListEditing','findIndex','length','registerElementLabel','change','getFirstRange','bulletedList','commandParams','splitListItemBefore','ELEMENT_NUMBERED_LIST','start','editor','markMultiRangeBlockFormat','execute','containsItem','list.multiBlock','paragraph','_suggestionFactory','ELEMENT_','schema','before','markBlockFormat','listItemId','has','isObject','push','*Format:*\x20insert\x20into\x20%0','expandListBlocksToCompleteList','TrackChangesEditing','_LIST','registerDescriptionCallback','nextSibling','afterInit','getRanges','splitListItemAfter','format','multipleBlocks','nodeAfter','forceValue','deletion','*Outdent:*\x20%0','*Indent:*\x20%0','after','end','_descriptionFactory','add','getAttribute','document','listType','refresh','commands','ELEMENT_LIST_ITEM','formatBlock','hasAttribute','selection','slice','indentList','value','*Format:*\x20remove\x20from\x20%0','createPositionAt','get','previousSibling','mergeListItemForward','plugins','commandName','*Merge:*\x20%0','numberedList','createRange','from','*Change\x20to:*\x20%0','getSelectedBlocks','outdentList'];(function(_0x317ce0,_0x442056){const _0x5029db=function(_0x4a3b81){while(--_0x4a3b81){_0x317ce0['push'](_0x317ce0['shift']());}};_0x5029db(++_0x442056);}(_0x4420,0x134));const _0x5029=function(_0x317ce0,_0x442056){_0x317ce0=_0x317ce0-0x0;let _0x5029db=_0x4420[_0x317ce0];return _0x5029db;};import{Plugin as _0x5f3a31}from'ckeditor5/src/core';import{getTranslation as _0x77dc34}from'../utils/common-translations';import{LiveRange as _0x52a970}from'ckeditor5/src/engine';export default class q extends _0x5f3a31{[_0x5029('0x34')](){const _0x401e05=this[_0x5029('0x1f')];if(!_0x401e05[_0x5029('0x3')][_0x5029('0x2b')](_0x5029('0x14')))return;const _0x52ae37=_0x401e05['locale'],_0x2b2bf6=_0x401e05[_0x5029('0x3')][_0x5029('0x0')](_0x5029('0x30')),_0x569e6d=_0x401e05['plugins'][_0x5029('0x0')]('DocumentListUtils');function _0xdfecc(_0x45bc2e){return()=>{const _0x32b22a=_0x401e05[_0x5029('0x46')][_0x5029('0x0')](_0x45bc2e);if(_0x32b22a[_0x5029('0x4d')]&&!_0x401e05[_0x5029('0x11')]['get'](_0x5029('0x23')))return void _0x401e05[_0x5029('0x21')](_0x5029('0x24'),{});let _0x17587b=Array['from'](_0x401e05['model'][_0x5029('0x43')][_0x5029('0x4a')][_0x5029('0xa')]());if(_0x3dbfa4(_0x45bc2e)){_0x17587b=_0x569e6d[_0x5029('0x2f')](_0x17587b);const _0x43abd6=[];for(const _0x5932b3 of _0x17587b)_0x569e6d['isFirstBlockOfListItem'](_0x5932b3)&&_0x43abd6[_0x5029('0x2d')](_0x5932b3);_0x17587b=_0x43abd6;}_0x401e05['model'][_0x5029('0x18')](()=>{_0x2b2bf6[_0x5029('0x20')](_0x17587b,{'commandName':_0x45bc2e,'commandParams':[{'forceValue':!_0x32b22a[_0x5029('0x4d')]}],'formatGroupId':_0x5029('0x44')},[],_0x5029('0xe'));});};}function _0x4e111a(_0x245974){return()=>{const _0x40d9d8=function(_0x3e097c){let _0x212018=Array[_0x5029('0x8')](_0x3e097c);const _0x4c1870=_0x212018[_0x5029('0x15')](_0x3c8f10=>!_0x3c8f10[_0x5029('0x49')](_0x5029('0x2a')));return _0x4c1870>-0x1&&(_0x212018=_0x212018[_0x5029('0x4b')](0x0,_0x4c1870)),_0x212018;}(_0x401e05[_0x5029('0x13')][_0x5029('0x43')]['selection']['getSelectedBlocks']()),_0x17497a=_0x40d9d8[_0x40d9d8[_0x5029('0x16')]-0x1],_0x95162d=_0x401e05[_0x5029('0x13')][_0x5029('0x27')][_0x5029('0x2c')](_0x17497a)?_0x5029('0x3e'):'end',_0xf9c4e1=_0x401e05[_0x5029('0x13')][_0x5029('0x7')](_0x401e05['model'][_0x5029('0x4f')](_0x40d9d8[0x0],'before'),_0x401e05[_0x5029('0x13')]['createPositionAt'](_0x17497a,_0x95162d));_0x401e05[_0x5029('0x13')]['change'](()=>{_0x2b2bf6[_0x5029('0x29')](_0xf9c4e1,{'commandName':_0x245974,'commandParams':[],'formatGroupId':_0x5029('0x44')},function(_0x1e84fc){const _0x1481da=new Set();for(const _0x3db7c1 of _0x1e84fc){let _0x5e6f1d=_0x3db7c1[_0x5029('0x33')];for(;_0x5e6f1d&&_0x5e6f1d[_0x5029('0x42')]('listIndent')>_0x3db7c1[_0x5029('0x42')]('listIndent');)_0x1481da[_0x5029('0x41')](_0x5e6f1d),_0x5e6f1d=_0x5e6f1d[_0x5029('0x33')];}return Array[_0x5029('0x8')](_0x1481da);}(_0x40d9d8));});};}function _0x35dd20(_0x32b996){return()=>{const _0x50031e=_0x401e05['model'][_0x5029('0x43')][_0x5029('0x4a')]['getSelectedBlocks']()['next']()[_0x5029('0x4d')],_0x137a30=_0x401e05[_0x5029('0x13')]['createPositionAt'](_0x50031e,_0x5029('0x28')),_0x46efb1=_0x401e05[_0x5029('0x13')][_0x5029('0x4f')](_0x50031e,0x0),_0x46538e=_0x401e05['model'][_0x5029('0x7')](_0x137a30,_0x46efb1);_0x401e05[_0x5029('0x13')][_0x5029('0x18')](()=>{_0x2b2bf6['markBlockFormat'](_0x46538e,{'commandName':_0x32b996,'commandParams':[],'formatGroupId':_0x5029('0x44')});});};}function _0x3dbfa4(_0x43b988){const _0x4a4cab=_0x401e05[_0x5029('0x46')][_0x5029('0x0')](_0x5029('0x1a'))[_0x5029('0x4d')],_0x409773=_0x401e05[_0x5029('0x46')][_0x5029('0x0')]('numberedList')[_0x5029('0x4d')];return'numberedList'===_0x43b988?_0x4a4cab:_0x409773;}_0x2b2bf6['enableCommand'](_0x5029('0x6'),_0xdfecc(_0x5029('0x6'))),_0x2b2bf6[_0x5029('0xc')](_0x5029('0x1a'),_0xdfecc(_0x5029('0x1a'))),_0x2b2bf6['enableCommand'](_0x5029('0x4c'),_0x4e111a(_0x5029('0x4c'))),_0x2b2bf6[_0x5029('0xc')](_0x5029('0xb'),_0x4e111a(_0x5029('0xb'))),_0x2b2bf6[_0x5029('0xc')](_0x5029('0x36'),_0x35dd20(_0x5029('0x36'))),_0x2b2bf6[_0x5029('0xc')](_0x5029('0x1c'),_0x35dd20(_0x5029('0x1c'))),_0x2b2bf6[_0x5029('0x40')][_0x5029('0x17')](function(_0xbfd048){const _0xb925a7=!_0x401e05[_0x5029('0x13')][_0x5029('0x27')][_0x5029('0x2c')](_0xbfd048),_0x352095=_0xbfd048[_0x5029('0x1')],_0x44e630=_0xbfd048[_0x5029('0x33')],_0x4fd775=_0xbfd048[_0x5029('0x42')](_0x5029('0x2a')),_0x47a5d8=!_0x352095||_0x352095['getAttribute']('listItemId')!==_0x4fd775,_0x49ff5a=!_0x44e630||_0x44e630[_0x5029('0x42')](_0x5029('0x2a'))!==_0x4fd775;return _0xb925a7&&Boolean(_0x4fd775)&&_0x47a5d8&&_0x49ff5a;},_0xc5d580=>_0x77dc34(_0x52ae37,_0x5029('0x47'),_0xc5d580)),_0x2b2bf6[_0x5029('0x40')][_0x5029('0x32')](function(_0x743bfa){const {data:_0x53261a}=_0x743bfa;if(!_0x53261a)return;let _0x4bdc80,_0x4af89f,_0x29ee75,_0xfc0d9c;switch(_0x53261a[_0x5029('0x4')]){case'bulletedList':_0x29ee75=_0x53261a[_0x5029('0x1b')][0x0]['forceValue'],_0xfc0d9c=_0x3dbfa4(_0x53261a[_0x5029('0x4')]),_0x4bdc80=_0x29ee75?_0x5029('0x2e'):_0x5029('0x4e'),!_0xfc0d9c&&_0x401e05['config']['get']('list.multiBlock')||(_0x4bdc80=_0x5029('0x9')),_0x4af89f={'type':_0x5029('0x37'),'content':_0x77dc34(_0x52ae37,_0x4bdc80,_0x77dc34(_0x52ae37,_0x5029('0xd')))};break;case _0x5029('0x6'):_0x29ee75=_0x53261a[_0x5029('0x1b')][0x0][_0x5029('0x3a')],_0xfc0d9c=_0x3dbfa4(_0x53261a[_0x5029('0x4')]),_0x4bdc80=_0x29ee75?_0x5029('0x2e'):_0x5029('0x4e'),!_0xfc0d9c&&_0x401e05[_0x5029('0x11')][_0x5029('0x0')](_0x5029('0x23'))||(_0x4bdc80=_0x5029('0x9')),_0x4af89f={'type':_0x5029('0x37'),'content':_0x77dc34(_0x52ae37,_0x4bdc80,_0x77dc34(_0x52ae37,_0x5029('0x1d')))};break;case _0x5029('0x4c'):_0x4bdc80=_0x5029('0x3d'),_0x4af89f={'type':_0x5029('0x37'),'content':_0x77dc34(_0x52ae37,_0x4bdc80,_0x77dc34(_0x52ae37,'ELEMENT_LIST_ITEM'))};break;case _0x5029('0xb'):_0x4bdc80=function(_0x1ab475){const _0x1d67a6=_0x1ab475[_0x5029('0x19')]();let _0x4dc955=_0x1d67a6[_0x5029('0x1e')]['nodeAfter'];for(;_0x4dc955&&_0x1d67a6[_0x5029('0x22')](_0x4dc955);){if(_0x4dc955[_0x5029('0x42')]('listIndent')>0x0)return!0x1;_0x4dc955=_0x4dc955['nextSibling'];}return!0x0;}(_0x743bfa)?_0x77dc34(_0x52ae37,_0x5029('0x4e'),_0x77dc34(_0x52ae37,function(_0x59961e){const _0x58c28d=_0x59961e[_0x5029('0x19')]()[_0x5029('0x1e')][_0x5029('0x39')];return _0x5029('0x26')+_0x58c28d['getAttribute'](_0x5029('0x44'))['toUpperCase']()+_0x5029('0x31');}(_0x743bfa))):_0x77dc34(_0x52ae37,_0x5029('0x3c'),_0x77dc34(_0x52ae37,_0x5029('0x47'))),_0x4af89f={'type':_0x5029('0x37'),'content':_0x4bdc80};break;case'mergeListItemBackward':case _0x5029('0x2'):!0x1===_0x53261a[_0x5029('0x38')]&&(_0x4bdc80=_0x5029('0x5'),_0x4af89f={'type':_0x5029('0x3b'),'content':_0x77dc34(_0x52ae37,_0x4bdc80,_0x77dc34(_0x52ae37,'ELEMENT_LIST_ITEM'))});}return _0x4af89f;}),_0x2b2bf6[_0x5029('0x25')][_0x5029('0x10')](_0x5029('0x48'),_0x5029('0xe'),'accept',function(_0x69e4c8,_0x489321){const _0x133e15=[];for(let _0x4a5e03 of _0x69e4c8)_0x4a5e03['start'][_0x5029('0x39')]===_0x4a5e03[_0x5029('0x3f')]['parent']&&(_0x4a5e03=_0x401e05['model'][_0x5029('0x7')](_0x401e05['model']['createPositionAt'](_0x4a5e03[_0x5029('0x1e')][_0x5029('0x39')],0x0))),_0x133e15[_0x5029('0x2d')](_0x4a5e03);_0x401e05[_0x5029('0x13')][_0x5029('0x18')](_0x372720=>{const _0x43462e=_0x401e05[_0x5029('0x13')][_0x5029('0x43')][_0x5029('0x4a')],_0x1a4b77=Array['from'](_0x43462e[_0x5029('0x35')]())[_0x5029('0x12')](_0x334aad=>_0x52a970['fromRange'](_0x334aad));_0x372720[_0x5029('0xf')](_0x133e15),_0x401e05[_0x5029('0x46')][_0x5029('0x0')](_0x489321[_0x5029('0x4')])[_0x5029('0x45')](),_0x489321[_0x5029('0x1b')][_0x5029('0x2d')]({'forceDefaultExecution':!0x0}),_0x401e05[_0x5029('0x21')](_0x489321[_0x5029('0x4')],..._0x489321[_0x5029('0x1b')]),_0x372720['setSelection'](_0x1a4b77);for(const _0x2a3b39 of _0x1a4b77)_0x2a3b39['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x515d=['format','filter','bind','document','getAttribute','list.properties','listStart','editor','DocumentListUtils','*Format:*\x20set\x20start\x20index\x20to\x20%0','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20reversed','change','reversed','handleListStartCommand','_descriptionFactory','toUpperCase','handleDescriptions','listType','locale','_LIST_','listReversed','length','_getTranslationKeyForListStyle','plugins','afterInit','handleListStyleCommand','from','_getSuggestionBlocksForListStyle','listStyle','commandParams','handleListReversedCommand','*Change\x20to:*\x20%0','model','TrackChangesEditing','selection','push','startIndex','has','numbered','isListItemBlock','get','markMultiRangeBlockFormat','getSelectedBlocks','enableCommand','isFirstBlockOfListItem','config','ELEMENT_','type','DocumentListPropertiesEditing','commandName','styles','DocumentListPropertiesUtils'];(function(_0x369ea0,_0x515d41){const _0x4b85db=function(_0x394a37){while(--_0x394a37){_0x369ea0['push'](_0x369ea0['shift']());}};_0x4b85db(++_0x515d41);}(_0x515d,0x149));const _0x4b85=function(_0x369ea0,_0x515d41){_0x369ea0=_0x369ea0-0x0;let _0x4b85db=_0x515d[_0x369ea0];return _0x4b85db;};import{Plugin as _0x597cd2}from'ckeditor5/src/core';import{getTranslation as _0x4aaa13}from'../utils/common-translations';export default class Ct extends _0x597cd2{[_0x4b85('0xe')](){if(!this[_0x4b85('0x31')][_0x4b85('0xd')][_0x4b85('0x1b')](_0x4b85('0x26')))return;const _0x354a6f=this[_0x4b85('0x31')][_0x4b85('0x23')][_0x4b85('0x1e')](_0x4b85('0x2f')),_0x5afc94=this[_0x4b85('0x31')][_0x4b85('0xd')]['get']('TrackChangesEditing');_0x354a6f[_0x4b85('0x28')]&&_0x5afc94[_0x4b85('0x21')](_0x4b85('0x12'),this[_0x4b85('0xf')]['bind'](this)),_0x354a6f[_0x4b85('0x2')]&&_0x5afc94['enableCommand'](_0x4b85('0xa'),this[_0x4b85('0x14')][_0x4b85('0x2c')](this)),_0x354a6f[_0x4b85('0x1a')]&&_0x5afc94[_0x4b85('0x21')](_0x4b85('0x30'),this[_0x4b85('0x3')][_0x4b85('0x2c')](this)),_0x5afc94[_0x4b85('0x4')]['registerDescriptionCallback'](this[_0x4b85('0x6')]['bind'](this));}[_0x4b85('0xf')](_0x5633ef,_0x3f126f={}){const _0x17e2b1=this['editor'][_0x4b85('0xd')]['get'](_0x4b85('0x17')),_0x59569a=this[_0x4b85('0x11')]();this[_0x4b85('0x31')][_0x4b85('0x16')]['change'](()=>{_0x17e2b1[_0x4b85('0x1f')](_0x59569a,{'commandName':'listStyle','commandParams':[{'type':_0x3f126f[_0x4b85('0x25')]}],'formatGroupId':'listStyle'});});}[_0x4b85('0x14')](_0x536800,_0x5e1ced={}){const _0x19dc50=this[_0x4b85('0x31')][_0x4b85('0xd')][_0x4b85('0x1e')](_0x4b85('0x17')),_0x3b9f4e=this[_0x4b85('0x31')][_0x4b85('0xd')][_0x4b85('0x1e')](_0x4b85('0x32')),_0x30273b=this[_0x4b85('0x34')](_0x513f3e=>_0x3b9f4e[_0x4b85('0x1d')](_0x513f3e)&&_0x4b85('0x1c')===_0x513f3e['getAttribute'](_0x4b85('0x7')));null!==_0x30273b&&this[_0x4b85('0x31')][_0x4b85('0x16')][_0x4b85('0x1')](()=>{_0x19dc50['markMultiRangeBlockFormat'](_0x30273b,{'commandName':_0x4b85('0xa'),'commandParams':[{'reversed':_0x5e1ced['reversed']}],'formatGroupId':_0x4b85('0xa')});});}[_0x4b85('0x3')](_0x38c94c,_0x301461={}){const _0x19b17a=this['editor'][_0x4b85('0xd')][_0x4b85('0x1e')](_0x4b85('0x17')),_0x1755cc=this[_0x4b85('0x31')][_0x4b85('0xd')][_0x4b85('0x1e')](_0x4b85('0x32')),_0x367496=this[_0x4b85('0x34')](_0x526520=>_0x1755cc[_0x4b85('0x1d')](_0x526520)&&_0x4b85('0x1c')===_0x526520[_0x4b85('0x2e')]('listType'));null!==_0x367496&&this[_0x4b85('0x31')][_0x4b85('0x16')][_0x4b85('0x1')](()=>{_0x19b17a[_0x4b85('0x1f')](_0x367496,{'commandName':_0x4b85('0x30'),'commandParams':[{'startIndex':_0x301461[_0x4b85('0x1a')]}],'formatGroupId':_0x4b85('0x30')});});}[_0x4b85('0x6')](_0xa10df7){const _0x4ce957=this[_0x4b85('0x31')][_0x4b85('0x8')],{data:_0x369a54}=_0xa10df7;if(!_0x369a54)return;let _0x4ec644,_0x2b7bee;switch(_0x369a54[_0x4b85('0x27')]){case _0x4b85('0x12'):_0x4ec644=_0x4b85('0x15'),_0x2b7bee={'type':'format','content':_0x4aaa13(_0x4ce957,_0x4ec644,_0x4aaa13(_0x4ce957,this[_0x4b85('0xc')](_0x369a54['commandParams'][0x0]['type'])))};break;case _0x4b85('0xa'):_0x4ec644=_0x369a54[_0x4b85('0x13')][0x0]['reversed']?_0x4b85('0x0'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2b7bee={'type':_0x4b85('0x2a'),'content':_0x4aaa13(_0x4ce957,_0x4ec644)};break;case'listStart':_0x4ec644=_0x4b85('0x33'),_0x2b7bee={'type':_0x4b85('0x2a'),'content':_0x4aaa13(_0x4ce957,_0x4ec644,_0x369a54['commandParams'][0x0][_0x4b85('0x1a')])};}return _0x2b7bee;}[_0x4b85('0x11')](){const _0x1eb6e8=this[_0x4b85('0x31')]['plugins'][_0x4b85('0x1e')](_0x4b85('0x32'));let _0x21573a=Array[_0x4b85('0x10')](this[_0x4b85('0x31')]['model'][_0x4b85('0x2d')]['selection'][_0x4b85('0x20')]());return _0x21573a[_0x4b85('0x19')](..._0x1eb6e8['expandListBlocksToCompleteList'](_0x21573a)),_0x21573a=[...new Set(_0x21573a)],_0x21573a;}[_0x4b85('0x34')](_0x2562de){const _0x31877c=this[_0x4b85('0x31')]['plugins'][_0x4b85('0x1e')](_0x4b85('0x32'));let _0x357c37=Array[_0x4b85('0x10')](this[_0x4b85('0x31')][_0x4b85('0x16')]['document'][_0x4b85('0x18')][_0x4b85('0x20')]())[_0x4b85('0x2b')](_0x2562de);if(!_0x357c37[_0x4b85('0xb')])return null;_0x357c37=_0x31877c['expandListBlocksToCompleteList'](_0x357c37);const _0x59091b=[];for(const _0x28f563 of _0x357c37)_0x31877c[_0x4b85('0x22')](_0x28f563)&&_0x59091b[_0x4b85('0x19')](_0x28f563);return _0x59091b;}[_0x4b85('0xc')](_0x526711){return _0x4b85('0x24')+this[_0x4b85('0x31')][_0x4b85('0xd')][_0x4b85('0x1e')](_0x4b85('0x29'))['getListTypeFromListStyleType'](_0x526711)[_0x4b85('0x5')]()+_0x4b85('0x9')+_0x526711[_0x4b85('0x5')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52d2=['parent','options','selection','high','split','downcastDispatcher','showSuggestionHighlights','plugins','end','detach','init','fire','hasClass','data','setSelection','nextSibling','requires','model','unbindElementFromMarkerName','ck-suggestion-marker-split','afterExecute','bind','createRange','writer','remove','document','markerName','get','enterBlock','getFirstPosition','editing','mapper','change','editor','addMarker:suggestion:insertion'];(function(_0x1c8b05,_0x52d2bc){const _0x3c9757=function(_0x825344){while(--_0x825344){_0x1c8b05['push'](_0x1c8b05['shift']());}};_0x3c9757(++_0x52d2bc);}(_0x52d2,0xdb));const _0x3c97=function(_0x1c8b05,_0x52d2bc){_0x1c8b05=_0x1c8b05-0x0;let _0x3c9757=_0x52d2[_0x1c8b05];return _0x3c9757;};import{Plugin as _0x17bb55}from'ckeditor5/src/core';import{Enter as _0x3a22ad}from'ckeditor5/src/enter';import{LiveRange as _0x4189e4}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4efe00}from'./utils';export default class z extends _0x17bb55{static get[_0x3c97('0x7')](){return[_0x3a22ad];}[_0x3c97('0x1')](){const _0x5ce091=this[_0x3c97('0x18')],_0x3b1b68=_0x5ce091[_0x3c97('0x21')][_0x3c97('0x12')]('TrackChangesEditing'),_0x5a5897=_0x5ce091['commands']['get']('enter');_0x3b1b68['enableCommand']('enter',()=>{_0x5ce091[_0x3c97('0x8')][_0x3c97('0x17')](_0x2f99b8=>{const _0x389426=_0x5ce091[_0x3c97('0x8')][_0x3c97('0x10')][_0x3c97('0x1c')],_0x24bdf5=_0x389426[_0x3c97('0x14')](),_0x2842bb=_0x4189e4['fromRange'](_0x389426['getFirstRange']());if(_0x5a5897[_0x3c97('0x13')](_0x2f99b8)){const _0x39f7a6=_0x5ce091[_0x3c97('0x8')]['createPositionAt'](_0x24bdf5[_0x3c97('0x1a')][_0x3c97('0x6')],0x0),_0x138500=_0x2f99b8[_0x3c97('0xd')](_0x24bdf5,_0x39f7a6);_0x3b1b68['markInsertion'](_0x138500);}else _0x2f99b8[_0x3c97('0x5')](_0x2f99b8[_0x3c97('0xd')](_0x2842bb[_0x3c97('0x22')]));_0x2842bb[_0x3c97('0x0')](),_0x5a5897[_0x3c97('0x2')](_0x3c97('0xb'),{'writer':_0x2f99b8});});}),_0x5ce091[_0x3c97('0x15')][_0x3c97('0x1f')]['on'](_0x3c97('0x19'),_0x4efe00(_0x5ce091,_0x3c97('0x1e')),{'priority':'high'}),_0x5ce091['editing']['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x272849,_0x20eebf,_0x3b31b4)=>{const _0x581765=_0x3b31b4['mapper']['markerNameToElements'](_0x20eebf[_0x3c97('0x11')]);if(_0x581765)for(const _0x35fa86 of _0x581765)_0x35fa86[_0x3c97('0x3')](_0x3c97('0xa'))&&(_0x3b31b4[_0x3c97('0x16')][_0x3c97('0x9')](_0x35fa86,_0x20eebf[_0x3c97('0x11')]),_0x3b31b4[_0x3c97('0xe')][_0x3c97('0xf')](_0x35fa86));},{'priority':_0x3c97('0x1d')}),_0x5ce091[_0x3c97('0x4')][_0x3c97('0x1f')]['on'](_0x3c97('0x19'),(_0x276b04,_0x5e6a51,_0x25481f)=>{_0x25481f[_0x3c97('0x1b')][_0x3c97('0x20')]&&_0x4efe00(_0x5ce091,'split',{'showActiveMarker':!0x1})[_0x3c97('0xc')](this)(_0x276b04,_0x5e6a51,_0x25481f);},{'priority':_0x3c97('0x1d')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1db9=['replace','find','createPositionAt','findByTextCallback','findNext','FindAndReplaceEditing','createRange','afterInit','TrackChangesEditing','_isInDeletionRange','model','plugins','string','getIntersection','findPrevious','get','editor','enableCommand','start','item','has','getRange','suggestion:deletion','handleFindCommand','filter','getMarkersGroup','replaceAll'];(function(_0x41f1d8,_0x1db921){const _0x4c4df9=function(_0x1fc585){while(--_0x1fc585){_0x41f1d8['push'](_0x41f1d8['shift']());}};_0x4c4df9(++_0x1db921);}(_0x1db9,0x179));const _0x4c4d=function(_0x41f1d8,_0x1db921){_0x41f1d8=_0x41f1d8-0x0;let _0x4c4df9=_0x1db9[_0x41f1d8];return _0x4c4df9;};import{Plugin as _0x188bb4}from'ckeditor5/src/core';export default class H extends _0x188bb4{[_0x4c4d('0x8')](){if(!this[_0x4c4d('0x11')]['plugins'][_0x4c4d('0x15')](_0x4c4d('0x6')))return;const _0x5a4d30=this['editor']['plugins'][_0x4c4d('0x10')](_0x4c4d('0x9'));_0x5a4d30[_0x4c4d('0x12')](_0x4c4d('0x2'),this[_0x4c4d('0x18')]['bind'](this)),_0x5a4d30['enableCommand'](_0x4c4d('0x5')),_0x5a4d30[_0x4c4d('0x12')](_0x4c4d('0xf')),_0x5a4d30['enableCommand'](_0x4c4d('0x1')),_0x5a4d30[_0x4c4d('0x12')](_0x4c4d('0x0'));}[_0x4c4d('0x18')](_0x3d0c47,_0x5ad079,_0x57d56b={}){const _0x500f6e=this[_0x4c4d('0x11')][_0x4c4d('0xc')][_0x4c4d('0x10')]('FindAndReplaceUtils');if(void 0x0!==_0x57d56b)return _0x3d0c47(_0x3e678a=>(_0x4c4d('0xd')==typeof _0x5ad079?_0x500f6e[_0x4c4d('0x4')](_0x5ad079,_0x57d56b):_0x5ad079)(_0x3e678a)[_0x4c4d('0x19')](_0x2601a0=>!0x1===this[_0x4c4d('0xa')](_0x2601a0,_0x3e678a[_0x4c4d('0x14')])),_0x57d56b);}[_0x4c4d('0xa')](_0xe50c4,_0x166a10){const _0x59e6f2=this['editor'][_0x4c4d('0xb')][_0x4c4d('0x7')](this[_0x4c4d('0x11')]['model'][_0x4c4d('0x3')](_0x166a10,_0xe50c4[_0x4c4d('0x13')]),this[_0x4c4d('0x11')][_0x4c4d('0xb')][_0x4c4d('0x3')](_0x166a10,_0xe50c4['end']));for(const _0x2765ff of this['editor'][_0x4c4d('0xb')]['markers'][_0x4c4d('0x1a')](_0x4c4d('0x17')))if(null!==_0x59e6f2[_0x4c4d('0xe')](_0x2765ff[_0x4c4d('0x16')]()))return!0x0;return!0x1;}}
|