@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230914.0 → 0.0.0-nightly-20230915.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/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-20230915.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-20230915.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230915.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 _0x8891=['execute','track-changes-accept-suggestion-not-found','canEditAt','editor','plugins','TrackChangesEditing','acceptSuggestion','getRanges','_suggestions','model','_isEnabledBasedOnSelection','refresh','isEnabled','get'];(function(_0x4586a3,_0x8891d3){const _0x3c1b15=function(_0x209fdb){while(--_0x209fdb){_0x4586a3['push'](_0x4586a3['shift']());}};_0x3c1b15(++_0x8891d3);}(_0x8891,0x76));const _0x3c1b=function(_0x4586a3,_0x8891d3){_0x4586a3=_0x4586a3-0x0;let _0x3c1b15=_0x8891[_0x4586a3];return _0x3c1b15;};import{Command as _0x563c2f}from'ckeditor5/src/core';import{CKEditorError as _0x2f2afd}from'ckeditor5/src/utils';export default class M extends _0x563c2f{constructor(_0x1d895e,_0x188792){super(_0x1d895e),this[_0x3c1b('0x2')]=_0x188792,this['refresh'](),this[_0x3c1b('0x4')]=!0x1;}[_0x3c1b('0x5')](){this[_0x3c1b('0x6')]=!0x0;}[_0x3c1b('0x8')](_0x2384fb){const _0x47f0d2=this[_0x3c1b('0x2')][_0x3c1b('0x7')](_0x2384fb);if(!_0x47f0d2)throw new _0x2f2afd(_0x3c1b('0x9'),this);const _0x446715=_0x47f0d2[_0x3c1b('0x1')]();this[_0x3c1b('0xb')][_0x3c1b('0x3')][_0x3c1b('0xa')](_0x446715)&&this[_0x3c1b('0xb')][_0x3c1b('0xc')]['get'](_0x3c1b('0xd'))[_0x3c1b('0x0')](_0x47f0d2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a74=['canEditAt','get','getRanges','refresh','execute','TrackChangesEditing','model','discardSuggestion','editor','_suggestions'];(function(_0xfaab23,_0x1a74e9){const _0x2996dd=function(_0x4fe682){while(--_0x4fe682){_0xfaab23['push'](_0xfaab23['shift']());}};_0x2996dd(++_0x1a74e9);}(_0x1a74,0xa5));const _0x2996=function(_0xfaab23,_0x1a74e9){_0xfaab23=_0xfaab23-0x0;let _0x2996dd=_0x1a74[_0xfaab23];return _0x2996dd;};import{Command as _0x1b9e81}from'ckeditor5/src/core';import{CKEditorError as _0x1437c6}from'ckeditor5/src/utils';export default class $ extends _0x1b9e81{constructor(_0x232318,_0x2b945f){super(_0x232318),this[_0x2996('0x4')]=_0x2b945f,this[_0x2996('0x8')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2996('0x8')](){this['isEnabled']=!0x0;}[_0x2996('0x9')](_0x2df5d8){const _0x2fa6cb=this['_suggestions'][_0x2996('0x6')](_0x2df5d8);if(!_0x2fa6cb)throw new _0x1437c6('track-changes-discard-suggestion-not-found',this);const _0x18ba75=_0x2fa6cb[_0x2996('0x7')]();this[_0x2996('0x3')][_0x2996('0x1')][_0x2996('0x5')](_0x18ba75)&&this[_0x2996('0x3')]['plugins'][_0x2996('0x6')](_0x2996('0x0'))[_0x2996('0x2')](_0x2fa6cb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24b3=['isInContent','editor','model','_command','some','from','values','refresh','_isEnabledBasedOnSelection','getRanges','canEditAt','_suggestions','isEnabled','execute'];(function(_0x740436,_0x24b32f){const _0x578650=function(_0x27038a){while(--_0x27038a){_0x740436['push'](_0x740436['shift']());}};_0x578650(++_0x24b32f);}(_0x24b3,0x82));const _0x5786=function(_0x740436,_0x24b32f){_0x740436=_0x740436-0x0;let _0x578650=_0x24b3[_0x740436];return _0x578650;};import{Command as _0x59c8f1}from'ckeditor5/src/core';import{sortSuggestions as _0x2bbe38,executeCommandForSuggestions as _0x508c9b}from'../utils/utils';export default class N extends _0x59c8f1{constructor(_0x376bfa,_0x150340,_0x146cb7){super(_0x376bfa),this[_0x5786('0xd')]=_0x150340,this[_0x5786('0x7')]=_0x146cb7,this[_0x5786('0x3')](),this[_0x5786('0x4')]=!0x1;}[_0x5786('0x3')](){const _0x3dc6ef=Array[_0x5786('0x1')](this[_0x5786('0x7')][_0x5786('0x2')]())[_0x5786('0x0')](_0x21afb3=>_0x21afb3[_0x5786('0xa')]);this[_0x5786('0x8')]=this[_0x5786('0xd')]['isEnabled']&&_0x3dc6ef;}[_0x5786('0x9')](){const _0x298a3f=_0x2bbe38(Array[_0x5786('0x1')](this['_suggestions'][_0x5786('0x2')]()));for(const _0x2b142f of _0x298a3f){const _0x4aec03=_0x2b142f[_0x5786('0x5')]();if(!this[_0x5786('0xb')]['model'][_0x5786('0x6')](_0x4aec03))return;}_0x508c9b(this[_0x5786('0xb')][_0x5786('0xc')],this[_0x5786('0xd')],_0x298a3f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4741=['from','editor','size','values','refresh','isEnabled','getRanges','document','_command','selection','_isEnabledBasedOnSelection','execute','_selectedSuggestions'];(function(_0x2dd5b3,_0x47416c){const _0x4b0123=function(_0x1703cb){while(--_0x1703cb){_0x2dd5b3['push'](_0x2dd5b3['shift']());}};_0x4b0123(++_0x47416c);}(_0x4741,0x124));const _0x4b01=function(_0x2dd5b3,_0x47416c){_0x2dd5b3=_0x2dd5b3-0x0;let _0x4b0123=_0x4741[_0x2dd5b3];return _0x4b0123;};import{Command as _0x22a7a7}from'ckeditor5/src/core';import{sortSuggestions as _0x34cd84,getSelectedSuggestions as _0x1ff2f6,executeCommandForSuggestions as _0x3fb41b}from'../utils/utils';export default class R extends _0x22a7a7{constructor(_0x2389e3,_0x5bb2e2,_0x16fc4e){super(_0x2389e3),this[_0x4b01('0x2')]=_0x5bb2e2,this['_suggestions']=_0x16fc4e,this[_0x4b01('0x6')]=new Set(),this[_0x4b01('0xb')](),this[_0x4b01('0x4')]=!0x1;}[_0x4b01('0xb')](){const _0x1e07c1=this[_0x4b01('0x8')]['model'][_0x4b01('0x1')][_0x4b01('0x3')],_0x4409cb=Array[_0x4b01('0x7')](this['_suggestions'][_0x4b01('0xa')]());this[_0x4b01('0x6')]=_0x1ff2f6(_0x1e07c1,_0x4409cb),this[_0x4b01('0xc')]=this[_0x4b01('0x2')][_0x4b01('0xc')]&&!!this['_selectedSuggestions'][_0x4b01('0x9')];}[_0x4b01('0x5')](){const _0x282590=_0x34cd84(Array[_0x4b01('0x7')](this['_selectedSuggestions']));for(const _0x3780c2 of _0x282590){const _0x1abcfd=_0x3780c2[_0x4b01('0x0')]();if(!this['editor']['model']['canEditAt'](_0x1abcfd))return;}_0x3fb41b(this[_0x4b01('0x8')]['model'],this[_0x4b01('0x2')],_0x282590);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2534=['refresh','_disableUnsupportedCommands','_isEnabledBasedOnSelection','isEnabled','commands','editor','_enabledCommands','value','has','TrackChangesCommand','affectsData','_enableCommands'];(function(_0x57d715,_0x2534c0){const _0x2f9de9=function(_0x46331b){while(--_0x46331b){_0x57d715['push'](_0x57d715['shift']());}};_0x2f9de9(++_0x2534c0);}(_0x2534,0x1d5));const _0x2f9d=function(_0x57d715,_0x2534c0){_0x57d715=_0x57d715-0x0;let _0x2f9de9=_0x2534[_0x57d715];return _0x2f9de9;};import{Command as _0x230544}from'ckeditor5/src/core';export default class _ extends _0x230544{constructor(_0x2a9ce1,_0x3a4603){super(_0x2a9ce1),this[_0x2f9d('0x5')]=_0x3a4603,this[_0x2f9d('0x6')]=!0x1,this[_0x2f9d('0xb')](),this[_0x2f9d('0x1')]=!0x1;}[_0x2f9d('0xb')](){this[_0x2f9d('0x2')]=!0x0;}['execute'](){this['value']=!this[_0x2f9d('0x6')],this['value']?this['_disableUnsupportedCommands']():this[_0x2f9d('0xa')]();}[_0x2f9d('0x0')](){for(const _0x11a921 of this[_0x2f9d('0x4')][_0x2f9d('0x3')][_0x2f9d('0x3')]())_0x11a921[_0x2f9d('0x9')]&&!this['_enabledCommands'][_0x2f9d('0x7')](_0x11a921)&&_0x11a921['forceDisabled'](_0x2f9d('0x8'));}['_enableCommands'](){for(const _0x5bc4bc of this[_0x2f9d('0x4')][_0x2f9d('0x3')]['commands']())_0x5bc4bc[_0x2f9d('0x9')]&&!this[_0x2f9d('0x5')][_0x2f9d('0x7')](_0x5bc4bc)&&_0x5bc4bc['clearForceDisabled'](_0x2f9d('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c51=['ltr','TrackChangesEditing','commandParams','change','editor','model','left','justify','_descriptionFactory','filter','FORMAT_ALIGN_TO_RIGHT','*Format:*\x20%0','get','center','FORMAT_ALIGN_TO_LEFT','has','FORMAT_JUSTIFY_TEXT','FORMAT_ALIGN_TO_CENTER','document','locale','schema','plugins','format','enableCommand','right','selection','getSelectedBlocks','commandName','checkAttribute','value','alignment','contentLanguageDirection','markBlockFormat'];(function(_0x292232,_0x1c5179){const _0x32f75f=function(_0x3f69cd){while(--_0x3f69cd){_0x292232['push'](_0x292232['shift']());}};_0x32f75f(++_0x1c5179);}(_0x1c51,0x110));const _0x32f7=function(_0x292232,_0x1c5179){_0x292232=_0x292232-0x0;let _0x32f75f=_0x1c51[_0x292232];return _0x32f75f;};import{Plugin as _0x1bea0b}from'ckeditor5/src/core';import{getTranslation as _0x126bf1}from'../utils/common-translations';export default class j extends _0x1bea0b{['afterInit'](){const _0x55b23d=this[_0x32f7('0x1d')],_0x464316=_0x55b23d['locale'];if(!_0x55b23d[_0x32f7('0xd')][_0x32f7('0x7')]('AlignmentEditing'))return;const _0x55dca8=_0x55b23d[_0x32f7('0xd')][_0x32f7('0x4')](_0x32f7('0x1a'));_0x55dca8[_0x32f7('0xf')]('alignment',(_0x2f849f,_0x1377f8={})=>{let _0x5be162=_0x1377f8[_0x32f7('0x15')];_0x1377f8[_0x32f7('0x15')]||(_0x5be162=_0x32f7('0x19')===_0x55b23d[_0x32f7('0xb')][_0x32f7('0x17')]?_0x32f7('0x1f'):_0x32f7('0x10'));const _0x17e1b8=Array['from'](this[_0x32f7('0x1d')][_0x32f7('0x1e')][_0x32f7('0xa')][_0x32f7('0x11')][_0x32f7('0x12')]())[_0x32f7('0x1')](_0x4a3c4d=>function(_0x5c9192,_0x1d7dd1,_0x183d27){const _0x3bf9e1=_0x5c9192['getAttribute'](_0x32f7('0x16'))||null;return _0x1d7dd1[_0x32f7('0x14')](_0x5c9192,_0x32f7('0x16'))&&_0x183d27!=_0x3bf9e1;}(_0x4a3c4d,this[_0x32f7('0x1d')][_0x32f7('0x1e')][_0x32f7('0xc')],_0x5be162));_0x55b23d[_0x32f7('0x1e')][_0x32f7('0x1c')](()=>{for(const _0x51b01f of _0x17e1b8)_0x55dca8[_0x32f7('0x18')](_0x51b01f,{'commandName':_0x32f7('0x16'),'commandParams':[{'value':_0x5be162}]});});}),_0x55dca8[_0x32f7('0x0')]['registerDescriptionCallback'](_0x36b91f=>{const {data:_0x122510}=_0x36b91f;if(_0x122510&&_0x32f7('0x16')==_0x122510[_0x32f7('0x13')]){const _0x5c5fae=_0x122510[_0x32f7('0x1b')][0x0][_0x32f7('0x15')];return{'type':_0x32f7('0xe'),'content':_0x126bf1(_0x464316,_0x32f7('0x3'),function(_0x4c96c8){switch(_0x4c96c8){case'left':return _0x126bf1(_0x464316,_0x32f7('0x6'));case _0x32f7('0x10'):return _0x126bf1(_0x464316,_0x32f7('0x2'));case _0x32f7('0x5'):return _0x126bf1(_0x464316,_0x32f7('0x9'));case _0x32f7('0x20'):return _0x126bf1(_0x464316,_0x32f7('0x8'));}}(_0x5c5fae))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cb3=['CodeEditing','getRanges','FORMAT_SUPERSCRIPT','italic','has','markInlineFormat','UnderlineEditing','afterInit','get','TrackChangesEditing','SuperscriptEditing','StrikethroughEditing','forceValue','FORMAT_CODE','value','underline','isCollapsed','format','selection','commands','document','ItalicEditing','plugins','slice','change','FORMAT_ITALIC','editor','superscript','FORMAT_SUBSCRIPT','bold','BoldEditing','registerDescriptionCallback','FORMAT_BOLD','strikethrough','code','subscript'];(function(_0xdfa260,_0x2cb30f){const _0x218b06=function(_0x2e4104){while(--_0x2e4104){_0xdfa260['push'](_0xdfa260['shift']());}};_0x218b06(++_0x2cb30f);}(_0x2cb3,0x9e));const _0x218b=function(_0xdfa260,_0x2cb30f){_0xdfa260=_0xdfa260-0x0;let _0x218b06=_0x2cb3[_0xdfa260];return _0x218b06;};import{Plugin as _0x3c974a}from'ckeditor5/src/core';import{getTranslation as _0x56b6d9}from'../utils/common-translations';import{getRangesWithAttribute as _0x158619}from'./utils';const Yt=[_0x218b('0x10'),_0x218b('0x7'),_0x218b('0x1c'),_0x218b('0x16'),_0x218b('0x21'),'SubscriptEditing',_0x218b('0x20')];export default class x extends _0x3c974a{[_0x218b('0x1d')](){const _0x4ae9eb=this[_0x218b('0xc')],_0x5af54d=_0x4ae9eb['model'],_0x42d499=_0x4ae9eb[_0x218b('0x8')][_0x218b('0x1e')](_0x218b('0x1f')),_0x3eaa5d=_0x4ae9eb['locale'];for(const _0x69934f of Yt){if(!_0x4ae9eb[_0x218b('0x8')][_0x218b('0x1a')](_0x69934f))continue;const _0x4b244e=_0x69934f[_0x218b('0x9')](0x0,-0x7)['toLowerCase'](),_0x51df35=_0x4ae9eb[_0x218b('0x5')]['get'](_0x4b244e);_0x42d499['enableCommand'](_0x4b244e,(_0x3fb8fa,_0x11c2fc={})=>{const _0x41d12e=_0x5af54d[_0x218b('0x6')][_0x218b('0x4')];if(_0x41d12e[_0x218b('0x2')])return void _0x3fb8fa(_0x11c2fc);const _0x4bfe8c=void 0x0!==_0x11c2fc['forceValue']?_0x11c2fc[_0x218b('0x22')]:!_0x51df35[_0x218b('0x0')];_0x5af54d[_0x218b('0xa')](()=>{const _0x1d65b8=Array['from'](_0x41d12e[_0x218b('0x17')]());for(const _0x2e54b9 of _0x1d65b8){const _0x3ce670=_0x4bfe8c?[_0x2e54b9]:_0x158619(_0x4b244e,_0x2e54b9,_0x5af54d);for(const _0x661951 of _0x3ce670)_0x42d499[_0x218b('0x1b')](_0x661951,{'commandName':_0x4b244e,'commandParams':[{'forceValue':_0x4bfe8c}]});}});});}function _0x25f434(_0x4722ba,_0x28a55c){_0x42d499['_descriptionFactory'][_0x218b('0x11')](_0x4c6db6=>{const {data:_0x6dec30}=_0x4c6db6;if(_0x6dec30&&_0x6dec30['commandName']===_0x4722ba)return _0x6dec30['commandParams'][0x0][_0x218b('0x22')]?{'type':_0x218b('0x3'),'content':_0x56b6d9(_0x3eaa5d,'*Format:*\x20%0',_0x28a55c)}:{'type':_0x218b('0x3'),'content':_0x56b6d9(_0x3eaa5d,'*Remove\x20format:*\x20%0',_0x28a55c)};});}_0x25f434(_0x218b('0xf'),_0x56b6d9(_0x3eaa5d,_0x218b('0x12'))),_0x25f434(_0x218b('0x19'),_0x56b6d9(_0x3eaa5d,_0x218b('0xb'))),_0x25f434(_0x218b('0x1'),_0x56b6d9(_0x3eaa5d,'FORMAT_UNDERLINE')),_0x25f434(_0x218b('0x14'),_0x56b6d9(_0x3eaa5d,_0x218b('0x23'))),_0x25f434(_0x218b('0x13'),_0x56b6d9(_0x3eaa5d,'FORMAT_STRIKETHROUGH')),_0x25f434(_0x218b('0x15'),_0x56b6d9(_0x3eaa5d,_0x218b('0xe'))),_0x25f434(_0x218b('0xd'),_0x56b6d9(_0x3eaa5d,_0x218b('0x18')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4473=['commandParams','getSelectedBlocks','document','ELEMENT_BLOCK_QUOTE','filter','markBlockFormat','_descriptionFactory','change','commands','*Format:*\x20%0','BlockQuoteEditing','blockQuote','commandName','get','enableCommand','TrackChangesEditing','has','model','parent','forceValue','$root','afterInit','plugins','checkChild','editor','selection','schema','format'];(function(_0x15365a,_0x44736f){const _0x46e183=function(_0x7256cb){while(--_0x7256cb){_0x15365a['push'](_0x15365a['shift']());}};_0x46e183(++_0x44736f);}(_0x4473,0xbd));const _0x46e1=function(_0x15365a,_0x44736f){_0x15365a=_0x15365a-0x0;let _0x46e183=_0x4473[_0x15365a];return _0x46e183;};import{Plugin as _0x2d55b2}from'ckeditor5/src/core';import{getTranslation as _0x18b8dd}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2dbf40}from'../utils/utils';export default class U extends _0x2d55b2{[_0x46e1('0x0')](){const _0x56b955=this[_0x46e1('0x3')],_0x3aea3a=_0x56b955['locale'];if(!_0x56b955[_0x46e1('0x1')][_0x46e1('0x17')](_0x46e1('0x11')))return;const _0xfba99d=_0x56b955[_0x46e1('0x1')][_0x46e1('0x14')](_0x46e1('0x16')),_0x4f44be=this[_0x46e1('0x3')][_0x46e1('0xf')][_0x46e1('0x14')](_0x46e1('0x12'));_0xfba99d[_0x46e1('0x15')](_0x46e1('0x12'),(_0x42f82f,_0x5d032a={})=>{const _0x5af785=this['editor'][_0x46e1('0x18')][_0x46e1('0x9')][_0x46e1('0x4')],_0x41b3bd=_0x5d032a&&void 0x0!==_0x5d032a[_0x46e1('0x1a')]?_0x5d032a[_0x46e1('0x1a')]:!_0x4f44be['value'];let _0x6ba0db=[];if(_0x41b3bd){const _0x49eacf=Array['from'](_0x5af785[_0x46e1('0x8')]())['filter'](_0x1f05b4=>to(_0x1f05b4)||function(_0x3cbf95,_0x2ba46c){const _0x343a11=_0x2ba46c['checkChild'](_0x3cbf95[_0x46e1('0x19')],_0x46e1('0x12')),_0x20082e=_0x2ba46c[_0x46e1('0x2')]([_0x46e1('0x1b'),'blockQuote'],_0x3cbf95);return _0x343a11&&_0x20082e;}(_0x1f05b4,this['editor'][_0x46e1('0x18')][_0x46e1('0x5')]));_0x6ba0db=_0x2dbf40(_0x49eacf,_0x56b955['model']);}else{const _0x31b6e9=Array['from'](_0x5af785[_0x46e1('0x8')]())[_0x46e1('0xb')](_0x54232c=>to(_0x54232c));_0x6ba0db=_0x2dbf40(_0x31b6e9,_0x56b955[_0x46e1('0x18')]);}_0x56b955[_0x46e1('0x18')][_0x46e1('0xe')](()=>{for(const _0x2cc1fe of _0x6ba0db)_0xfba99d[_0x46e1('0xc')](_0x2cc1fe,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x41b3bd}]});});}),_0xfba99d[_0x46e1('0xd')]['registerDescriptionCallback'](_0x309123=>{const {data:_0x158fc4}=_0x309123;if(_0x158fc4&&_0x46e1('0x12')==_0x158fc4[_0x46e1('0x13')]){const _0x54d44b=_0x18b8dd(_0x3aea3a,_0x46e1('0xa'));return _0x158fc4[_0x46e1('0x7')][0x0][_0x46e1('0x1a')]?{'type':_0x46e1('0x6'),'content':_0x18b8dd(_0x3aea3a,_0x46e1('0x10'),_0x54d44b)}:{'type':'format','content':_0x18b8dd(_0x3aea3a,'*Remove\x20format:*\x20%0',_0x54d44b)};}});}}function to(_0x181277){return _0x46e1('0x12')==_0x181277[_0x46e1('0x19')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cbd=['commands','ckbox','get','plugins'];(function(_0x119776,_0x4cbd5c){const _0x10c5e4=function(_0x49064a){while(--_0x49064a){_0x119776['push'](_0x119776['shift']());}};_0x10c5e4(++_0x4cbd5c);}(_0x4cbd,0xad));const _0x10c5=function(_0x119776,_0x4cbd5c){_0x119776=_0x119776-0x0;let _0x10c5e4=_0x4cbd[_0x119776];return _0x10c5e4;};import{Plugin as _0x43739f}from'ckeditor5/src/core';export default class O extends _0x43739f{['afterInit'](){const _0x1b4012=this['editor'];_0x1b4012[_0x10c5('0x3')][_0x10c5('0x1')](_0x10c5('0x0'))&&_0x1b4012[_0x10c5('0x2')][_0x10c5('0x1')]('TrackChangesEditing')['enableCommand'](_0x10c5('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7b84=['ELEMENT_CODE_BLOCK','change','parent','enableCommand','codeBlock','forceValue','filter','config','CodeBlock','isLimit','*Remove\x20format:*\x20%0','checkChild','blockName','TrackChangesEditing','value','format','formatBlock','find','selection','commands','get','label','has','model','getSelectedBlocks','editor','afterInit','document','rootElement','from','language','commandParams','*Format:*\x20%0','indentCodeBlock','_descriptionFactory'];(function(_0xa1f24f,_0x7b84d0){const _0x52e194=function(_0x420e3a){while(--_0x420e3a){_0xa1f24f['push'](_0xa1f24f['shift']());}};_0x52e194(++_0x7b84d0);}(_0x7b84,0x8e));const _0x52e1=function(_0xa1f24f,_0x7b84d0){_0xa1f24f=_0xa1f24f-0x0;let _0x52e194=_0x7b84[_0xa1f24f];return _0x52e194;};import{Plugin as _0x740231}from'ckeditor5/src/core';import{getTranslation as _0x4c5f69}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1dbdb0}from'../utils/utils';export default class E extends _0x740231{[_0x52e1('0x18')](){const _0x3bdafd=this[_0x52e1('0x17')];if(!_0x3bdafd['plugins'][_0x52e1('0x14')](_0x52e1('0x6')))return;const _0x5ce109=_0x3bdafd['plugins'][_0x52e1('0x12')](_0x52e1('0xb')),_0x35e109=_0x3bdafd['locale'],_0x1cad34=_0x3bdafd[_0x52e1('0x5')][_0x52e1('0x12')](_0x52e1('0x2'))['languages'],_0x5b34e1=_0x3bdafd[_0x52e1('0x11')][_0x52e1('0x12')](_0x52e1('0x2'));_0x5ce109[_0x52e1('0x1')](_0x52e1('0x1f')),_0x5ce109[_0x52e1('0x1')]('outdentCodeBlock'),_0x5ce109['enableCommand'](_0x52e1('0x2'),(_0x113fe1,_0x4cc888={})=>{const _0x252eea=_0x3bdafd[_0x52e1('0x15')],_0x481a89=_0x3bdafd['model'][_0x52e1('0x19')][_0x52e1('0x10')],_0xeac143=_0x4cc888&&void 0x0!==_0x4cc888['forceValue']?_0x4cc888[_0x52e1('0x3')]:!_0x5b34e1[_0x52e1('0xc')];let _0x2b5c94;_0x4cc888[_0x52e1('0x1c')]||(_0x4cc888[_0x52e1('0x1c')]=_0x1cad34[0x0][_0x52e1('0x1c')]),_0x2b5c94=_0xeac143?Array['from'](_0x481a89[_0x52e1('0x16')]())[_0x52e1('0x4')](_0x57189e=>oo(_0x57189e)||function(_0x4975d1,_0x46a39c){if(_0x4975d1['is'](_0x52e1('0x1a'))||_0x46a39c[_0x52e1('0x7')](_0x4975d1))return!0x1;return _0x46a39c[_0x52e1('0x9')](_0x4975d1[_0x52e1('0x0')],_0x52e1('0x2'));}(_0x57189e,_0x252eea['schema'])):Array[_0x52e1('0x1b')](_0x481a89[_0x52e1('0x16')]())[_0x52e1('0x4')](_0x258cdd=>oo(_0x258cdd));const _0x295dc9=_0x1dbdb0(_0x2b5c94,_0x252eea);_0x252eea[_0x52e1('0x22')](()=>{for(const _0x491ea4 of _0x295dc9)_0x5ce109['markBlockFormat'](_0x491ea4,{'commandName':_0x52e1('0x2'),'commandParams':[{..._0x4cc888,'forceValue':_0xeac143}],'formatGroupId':_0x52e1('0xa')});});}),(_0x5ce109[_0x52e1('0x20')]['registerElementLabel'](_0x52e1('0x2'),_0x4014de=>_0x4c5f69(_0x35e109,_0x52e1('0x21'),_0x4014de)),_0x5ce109[_0x52e1('0x20')]['registerDescriptionCallback'](_0xff4103=>{const _0x27705f=_0x35e109['t'],{type:_0x5d8770,data:_0x29e355}=_0xff4103;if(_0x52e1('0xe')==_0x5d8770&&_0x29e355&&_0x52e1('0x2')==_0x29e355['commandName']){const _0x56050a=_0x29e355[_0x52e1('0x1d')][0x0]['language'],_0x2413d4=_0x27705f(_0x1cad34[_0x52e1('0xf')](_0x428856=>_0x428856[_0x52e1('0x1c')]===_0x56050a)[_0x52e1('0x13')]);return _0x29e355[_0x52e1('0x1d')][0x0]['forceValue']?{'type':_0x52e1('0xd'),'content':_0x4c5f69(_0x35e109,_0x52e1('0x1e'),_0x4c5f69(_0x35e109,_0x52e1('0x21'),0x1)+'\x20('+_0x2413d4+')')}:{'type':_0x52e1('0xd'),'content':_0x4c5f69(_0x35e109,_0x52e1('0x8'),_0x4c5f69(_0x35e109,_0x52e1('0x21'),0x1))};}}));}}function oo(_0x3c4a1b){return _0x52e1('0x2')==_0x3c4a1b['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b59=['plugins','enableCommand','TrackChangesEditing','get','editor','afterInit','CommentsEditing','has'];(function(_0x45188f,_0x5b59f0){const _0x5acbb4=function(_0x29249d){while(--_0x29249d){_0x45188f['push'](_0x45188f['shift']());}};_0x5acbb4(++_0x5b59f0);}(_0x5b59,0x186));const _0x5acb=function(_0x45188f,_0x5b59f0){_0x45188f=_0x45188f-0x0;let _0x5acbb4=_0x5b59[_0x45188f];return _0x5acbb4;};import{Plugin as _0xa4ba0c}from'ckeditor5/src/core';export default class F extends _0xa4ba0c{[_0x5acb('0x7')](){const _0x210ac4=this[_0x5acb('0x6')];if(!_0x210ac4[_0x5acb('0x2')][_0x5acb('0x1')](_0x5acb('0x0')))return;_0x210ac4[_0x5acb('0x2')][_0x5acb('0x5')](_0x5acb('0x4'))[_0x5acb('0x3')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7970=['createSelection','deleteForward','writer','markerName','unlock','uiElement','remove','markerNameToElements','start','enqueueChange','unit','detach','fromRange','get','enableCommand','showSuggestionHighlights','buffer','merge','isCollapsed','data','forward','delete','downcastDispatcher','removeMarker:suggestion:deletion','editing','lock','high','getFirstRange','addMarker:suggestion:deletion','mapper','batch','commands','init','model','options','end','setSelection','root','bind','$graveyard','createRange','document','plugins','unbindElementFromMarkerName','TrackChangesEditing'];(function(_0x24cc1e,_0x79702e){const _0x21ea5b=function(_0x33d519){while(--_0x33d519){_0x24cc1e['push'](_0x24cc1e['shift']());}};_0x21ea5b(++_0x79702e);}(_0x7970,0xfe));const _0x21ea=function(_0x24cc1e,_0x79702e){_0x24cc1e=_0x24cc1e-0x0;let _0x21ea5b=_0x7970[_0x24cc1e];return _0x21ea5b;};import{Plugin as _0x2d6cdb}from'ckeditor5/src/core';import{LiveRange as _0x41bbbf}from'ckeditor5/src/engine';import{Delete as _0x9f1631}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x463b7f}from'./utils';export default class G extends _0x2d6cdb{static get['requires'](){return[_0x9f1631];}[_0x21ea('0x3')](){const _0x43dc9e=this['editor'],_0x5061f7=_0x43dc9e[_0x21ea('0xd')][_0x21ea('0x1d')](_0x21ea('0xf'));_0x5061f7[_0x21ea('0x1e')](_0x21ea('0x25'));const _0x10956f=_0x43dc9e[_0x21ea('0x2')][_0x21ea('0x1d')](_0x21ea('0x11'));_0x5061f7['enableCommand'](_0x21ea('0x11'),(_0x20e48b,_0x48061e={})=>{const _0x45d9cd=_0x43dc9e[_0x21ea('0x4')][_0x21ea('0x10')](_0x43dc9e['model'][_0x21ea('0xc')]['selection']);_0x45d9cd[_0x21ea('0x22')]&&_0x43dc9e['model']['modifySelection'](_0x45d9cd,{'direction':_0x21ea('0x24'),'unit':_0x48061e[_0x21ea('0x1a')]});const _0x1a87d6=_0x45d9cd[_0x21ea('0x2b')](),_0x10d893=_0x41bbbf[_0x21ea('0x1c')](_0x1a87d6);let _0x40637a;_0x20e48b(_0x48061e),_0x40637a=_0x21ea('0xa')==_0x10d893[_0x21ea('0x8')]['rootName']?_0x43dc9e[_0x21ea('0x4')][_0x21ea('0xb')](_0x1a87d6[_0x21ea('0x18')]):_0x43dc9e[_0x21ea('0x4')]['createRange'](_0x10d893[_0x21ea('0x18')],_0x10d893[_0x21ea('0x6')]),_0x10d893[_0x21ea('0x1b')](),_0x43dc9e[_0x21ea('0x4')][_0x21ea('0x19')](_0x10956f[_0x21ea('0x20')][_0x21ea('0x1')],_0x5ebbce=>{_0x10956f[_0x21ea('0x20')][_0x21ea('0x29')](),_0x5ebbce[_0x21ea('0x7')](_0x5ebbce[_0x21ea('0xb')](_0x40637a[_0x21ea('0x6')])),_0x10956f[_0x21ea('0x20')][_0x21ea('0x14')]();});}),_0x43dc9e[_0x21ea('0x28')]['downcastDispatcher']['on'](_0x21ea('0x2c'),_0x463b7f(_0x43dc9e,_0x21ea('0x21')),{'priority':_0x21ea('0x2a')}),_0x43dc9e[_0x21ea('0x23')][_0x21ea('0x26')]['on'](_0x21ea('0x2c'),(_0x4c4a17,_0x36ebdb,_0x582c30)=>{_0x582c30[_0x21ea('0x5')][_0x21ea('0x1f')]&&_0x463b7f(_0x43dc9e,_0x21ea('0x21'),{'showActiveMarker':!0x1})[_0x21ea('0x9')](this)(_0x4c4a17,_0x36ebdb,_0x582c30);},{'priority':_0x21ea('0x2a')}),_0x43dc9e[_0x21ea('0x28')][_0x21ea('0x26')]['on'](_0x21ea('0x27'),(_0x396c4b,_0x284988,_0x2d34aa)=>{const _0x54d6e1=_0x2d34aa[_0x21ea('0x0')][_0x21ea('0x17')](_0x284988[_0x21ea('0x13')]);if(_0x54d6e1)for(const _0x5a0642 of _0x54d6e1)_0x5a0642['is'](_0x21ea('0x15'))&&(_0x2d34aa[_0x21ea('0x0')][_0x21ea('0xe')](_0x5a0642,_0x284988['markerName']),_0x2d34aa[_0x21ea('0x12')][_0x21ea('0x16')](_0x5a0642));},{'priority':_0x21ea('0x2a')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6b0b=['length','_suggestionFactory','plugins','bulletedList','forceValue','setSelection','TrackChangesEditing','getAttribute','splitListItemBefore','fromRange','value','DocumentListEditing','next','before','commandParams','*Change\x20to:*\x20%0','document','registerElementLabel','listItemId','expandListBlocksToCompleteList','*Format:*\x20insert\x20into\x20%0','mergeListItemBackward','registerCustomCallback','nodeAfter','parent','model','toUpperCase','*Indent:*\x20%0','commandName','isObject','outdentList','from','refresh','locale','listType','editor','ELEMENT_NUMBERED_LIST','change','commands','_descriptionFactory','isFirstBlockOfListItem','getRanges','splitListItemAfter','getSelectedBlocks','*Format:*\x20remove\x20from\x20%0','add','indentList','createPositionAt','after','*Outdent:*\x20%0','listIndent','registerDescriptionCallback','end','multipleBlocks','numberedList','afterInit','accept','ELEMENT_','getFirstRange','selection','createRange','_LIST','enableCommand','get','push','containsItem','ELEMENT_BULLETED_LIST','schema','hasAttribute','deletion','documentList','nextSibling','start','ELEMENT_LIST_ITEM','format','markBlockFormat','DocumentListUtils'];(function(_0x6d5618,_0x6b0bff){const _0x4c0e06=function(_0x1e5aeb){while(--_0x1e5aeb){_0x6d5618['push'](_0x6d5618['shift']());}};_0x4c0e06(++_0x6b0bff);}(_0x6b0b,0x80));const _0x4c0e=function(_0x6d5618,_0x6b0bff){_0x6d5618=_0x6d5618-0x0;let _0x4c0e06=_0x6b0b[_0x6d5618];return _0x4c0e06;};import{Plugin as _0x254881}from'ckeditor5/src/core';import{getTranslation as _0x260ed6}from'../utils/common-translations';import{LiveRange as _0xa06298}from'ckeditor5/src/engine';export default class L extends _0x254881{[_0x4c0e('0x4')](){const _0xded844=this[_0x4c0e('0x3d')];if(!_0xded844[_0x4c0e('0x1c')]['has'](_0x4c0e('0x25')))return;const _0x24d141=_0xded844[_0x4c0e('0x3b')],_0x531321=_0xded844[_0x4c0e('0x1c')][_0x4c0e('0xc')](_0x4c0e('0x20')),_0x2968b8=_0xded844['plugins'][_0x4c0e('0xc')](_0x4c0e('0x19'));function _0x55c23e(_0x11613a){return()=>{const _0x5a1400=_0xded844[_0x4c0e('0x40')][_0x4c0e('0xc')](_0x11613a);let _0x46a2fa=Array[_0x4c0e('0x39')](_0xded844[_0x4c0e('0x33')][_0x4c0e('0x2a')][_0x4c0e('0x8')]['getSelectedBlocks']());if(_0x1f9dca(_0x11613a)){_0x46a2fa=_0x2968b8[_0x4c0e('0x2d')](_0x46a2fa);const _0x265776=[];for(const _0xb03560 of _0x46a2fa)_0x2968b8[_0x4c0e('0x42')](_0xb03560)&&_0x265776[_0x4c0e('0xd')](_0xb03560);_0x46a2fa=_0x265776;}_0xded844[_0x4c0e('0x33')][_0x4c0e('0x3f')](()=>{_0x531321['markMultiRangeBlockFormat'](_0x46a2fa,{'commandName':_0x11613a,'commandParams':[{'forceValue':!_0x5a1400[_0x4c0e('0x24')]}],'formatGroupId':_0x4c0e('0x3c')},[],'documentList');});};}function _0x22e146(_0x4882c1){return()=>{const _0x26e6d2=function(_0x55e1d1){let _0xcc16c=Array[_0x4c0e('0x39')](_0x55e1d1);const _0x4fd39c=_0xcc16c['findIndex'](_0x12c940=>!_0x12c940[_0x4c0e('0x11')](_0x4c0e('0x2c')));return _0x4fd39c>-0x1&&(_0xcc16c=_0xcc16c['slice'](0x0,_0x4fd39c)),_0xcc16c;}(_0xded844[_0x4c0e('0x33')]['document'][_0x4c0e('0x8')][_0x4c0e('0x45')]()),_0x11f636=_0x26e6d2[_0x26e6d2[_0x4c0e('0x1a')]-0x1],_0x5f08c0=_0xded844['model'][_0x4c0e('0x10')][_0x4c0e('0x37')](_0x11f636)?_0x4c0e('0x4a'):'end',_0x19b33e=_0xded844[_0x4c0e('0x33')]['createRange'](_0xded844[_0x4c0e('0x33')][_0x4c0e('0x49')](_0x26e6d2[0x0],_0x4c0e('0x27')),_0xded844[_0x4c0e('0x33')][_0x4c0e('0x49')](_0x11f636,_0x5f08c0));_0xded844[_0x4c0e('0x33')][_0x4c0e('0x3f')](()=>{_0x531321[_0x4c0e('0x18')](_0x19b33e,{'commandName':_0x4882c1,'commandParams':[],'formatGroupId':'listType'},function(_0x1c24ed){const _0x569a3e=new Set();for(const _0x5a5c01 of _0x1c24ed){let _0x33fdf2=_0x5a5c01[_0x4c0e('0x14')];for(;_0x33fdf2&&_0x33fdf2[_0x4c0e('0x21')](_0x4c0e('0x4c'))>_0x5a5c01['getAttribute'](_0x4c0e('0x4c'));)_0x569a3e[_0x4c0e('0x47')](_0x33fdf2),_0x33fdf2=_0x33fdf2[_0x4c0e('0x14')];}return Array[_0x4c0e('0x39')](_0x569a3e);}(_0x26e6d2));});};}function _0x901fc0(_0x1e52c0){return()=>{const _0xbac474=_0xded844[_0x4c0e('0x33')][_0x4c0e('0x2a')][_0x4c0e('0x8')][_0x4c0e('0x45')]()[_0x4c0e('0x26')]()[_0x4c0e('0x24')],_0xa1a4fc=_0xded844[_0x4c0e('0x33')]['createPositionAt'](_0xbac474,_0x4c0e('0x27')),_0x2d9f84=_0xded844[_0x4c0e('0x33')][_0x4c0e('0x49')](_0xbac474,0x0),_0x50ed60=_0xded844[_0x4c0e('0x33')]['createRange'](_0xa1a4fc,_0x2d9f84);_0xded844[_0x4c0e('0x33')][_0x4c0e('0x3f')](()=>{_0x531321[_0x4c0e('0x18')](_0x50ed60,{'commandName':_0x1e52c0,'commandParams':[],'formatGroupId':'listType'});});};}function _0x1f9dca(_0x5b328f){const _0x5ccc9a=_0xded844[_0x4c0e('0x40')][_0x4c0e('0xc')]('bulletedList')[_0x4c0e('0x24')],_0x24c1ef=_0xded844['commands']['get'](_0x4c0e('0x3'))['value'];return _0x4c0e('0x3')===_0x5b328f?_0x5ccc9a:_0x24c1ef;}_0x531321[_0x4c0e('0xb')]('numberedList',_0x55c23e(_0x4c0e('0x3'))),_0x531321[_0x4c0e('0xb')](_0x4c0e('0x1d'),_0x55c23e('bulletedList')),_0x531321[_0x4c0e('0xb')](_0x4c0e('0x48'),_0x22e146(_0x4c0e('0x48'))),_0x531321['enableCommand'](_0x4c0e('0x38'),_0x22e146(_0x4c0e('0x38'))),_0x531321['enableCommand'](_0x4c0e('0x44'),_0x901fc0(_0x4c0e('0x44'))),_0x531321[_0x4c0e('0xb')](_0x4c0e('0x22'),_0x901fc0(_0x4c0e('0x22'))),_0x531321[_0x4c0e('0x41')][_0x4c0e('0x2b')](function(_0x11da60){const _0x4fd38d=!_0xded844[_0x4c0e('0x33')]['schema'][_0x4c0e('0x37')](_0x11da60),_0x1f66fb=_0x11da60['previousSibling'],_0x1ce453=_0x11da60[_0x4c0e('0x14')],_0x54e51a=_0x11da60[_0x4c0e('0x21')](_0x4c0e('0x2c')),_0x4908cf=!_0x1f66fb||_0x1f66fb[_0x4c0e('0x21')](_0x4c0e('0x2c'))!==_0x54e51a,_0x5dc55c=!_0x1ce453||_0x1ce453[_0x4c0e('0x21')](_0x4c0e('0x2c'))!==_0x54e51a;return _0x4fd38d&&Boolean(_0x54e51a)&&_0x4908cf&&_0x5dc55c;},_0xa81e02=>_0x260ed6(_0x24d141,'ELEMENT_LIST_ITEM',_0xa81e02)),_0x531321[_0x4c0e('0x41')][_0x4c0e('0x0')](function(_0x341679){const {data:_0x268509}=_0x341679;if(!_0x268509)return;let _0x5b5f4e,_0x397820,_0x20dfa0,_0x5373d7;switch(_0x268509[_0x4c0e('0x36')]){case'bulletedList':_0x20dfa0=_0x268509[_0x4c0e('0x28')][0x0][_0x4c0e('0x1e')],_0x5373d7=_0x1f9dca(_0x268509[_0x4c0e('0x36')]),_0x5b5f4e=_0x20dfa0?_0x4c0e('0x2e'):_0x4c0e('0x46'),_0x5373d7&&(_0x5b5f4e='*Change\x20to:*\x20%0'),_0x397820={'type':_0x4c0e('0x17'),'content':_0x260ed6(_0x24d141,_0x5b5f4e,_0x260ed6(_0x24d141,_0x4c0e('0xf')))};break;case'numberedList':_0x20dfa0=_0x268509['commandParams'][0x0]['forceValue'],_0x5373d7=_0x1f9dca(_0x268509[_0x4c0e('0x36')]),_0x5b5f4e=_0x20dfa0?'*Format:*\x20insert\x20into\x20%0':_0x4c0e('0x46'),_0x5373d7&&(_0x5b5f4e=_0x4c0e('0x29')),_0x397820={'type':_0x4c0e('0x17'),'content':_0x260ed6(_0x24d141,_0x5b5f4e,_0x260ed6(_0x24d141,_0x4c0e('0x3e')))};break;case'indentList':_0x5b5f4e=_0x4c0e('0x35'),_0x397820={'type':'format','content':_0x260ed6(_0x24d141,_0x5b5f4e,_0x260ed6(_0x24d141,_0x4c0e('0x16')))};break;case _0x4c0e('0x38'):_0x5b5f4e=function(_0x381089){const _0x1a9c81=_0x381089[_0x4c0e('0x7')]();let _0x243d2c=_0x1a9c81[_0x4c0e('0x15')][_0x4c0e('0x31')];for(;_0x243d2c&&_0x1a9c81[_0x4c0e('0xe')](_0x243d2c);){if(_0x243d2c[_0x4c0e('0x21')](_0x4c0e('0x4c'))>0x0)return!0x1;_0x243d2c=_0x243d2c['nextSibling'];}return!0x0;}(_0x341679)?_0x260ed6(_0x24d141,_0x4c0e('0x46'),_0x260ed6(_0x24d141,function(_0x2c358b){const _0x583899=_0x2c358b['getFirstRange']()[_0x4c0e('0x15')][_0x4c0e('0x31')];return _0x4c0e('0x6')+_0x583899[_0x4c0e('0x21')](_0x4c0e('0x3c'))[_0x4c0e('0x34')]()+_0x4c0e('0xa');}(_0x341679))):_0x260ed6(_0x24d141,_0x4c0e('0x4b'),_0x260ed6(_0x24d141,'ELEMENT_LIST_ITEM')),_0x397820={'type':'format','content':_0x5b5f4e};break;case _0x4c0e('0x2f'):case'mergeListItemForward':!0x1===_0x268509[_0x4c0e('0x2')]&&(_0x5b5f4e='*Merge:*\x20%0',_0x397820={'type':_0x4c0e('0x12'),'content':_0x260ed6(_0x24d141,_0x5b5f4e,_0x260ed6(_0x24d141,_0x4c0e('0x16')))});}return _0x397820;}),_0x531321[_0x4c0e('0x1b')][_0x4c0e('0x30')]('formatBlock',_0x4c0e('0x13'),_0x4c0e('0x5'),function(_0x7ff9ff,_0x3b7c63){const _0x930608=[];for(let _0x4c3492 of _0x7ff9ff)_0x4c3492[_0x4c0e('0x15')][_0x4c0e('0x31')]===_0x4c3492[_0x4c0e('0x1')][_0x4c0e('0x32')]&&(_0x4c3492=_0xded844['model'][_0x4c0e('0x9')](_0xded844[_0x4c0e('0x33')]['createPositionAt'](_0x4c3492[_0x4c0e('0x15')][_0x4c0e('0x31')],0x0))),_0x930608['push'](_0x4c3492);_0xded844['model'][_0x4c0e('0x3f')](_0x23764a=>{const _0x4b02b7=_0xded844[_0x4c0e('0x33')]['document'][_0x4c0e('0x8')],_0x505c47=Array['from'](_0x4b02b7[_0x4c0e('0x43')]())['map'](_0x3a716d=>_0xa06298[_0x4c0e('0x23')](_0x3a716d));_0x23764a['setSelection'](_0x930608),_0xded844[_0x4c0e('0x40')][_0x4c0e('0xc')](_0x3b7c63['commandName'])[_0x4c0e('0x3a')](),_0x3b7c63[_0x4c0e('0x28')]['push']({'forceDefaultExecution':!0x0}),_0xded844['execute'](_0x3b7c63[_0x4c0e('0x36')],..._0x3b7c63[_0x4c0e('0x28')]),_0x23764a[_0x4c0e('0x1f')](_0x505c47);for(const _0x50dca9 of _0x505c47)_0x50dca9['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33a3=['_descriptionFactory','getAttribute','commandParams','listType','push','isListItemBlock','change','DocumentListUtils','enableCommand','bind','locale','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','_getSuggestionBlocks','registerDescriptionCallback','handleListStyleCommand','_getTranslationKeyForListStyle','expandListBlocksToCompleteList','document','*Change\x20to:*\x20%0','startIndex','reversed','handleListReversedCommand','commandName','selection','model','_LIST_','plugins','handleDescriptions','listStyle','handleListStartCommand','listStart','type','listReversed','DocumentListPropertiesEditing','*Format:*\x20set\x20order\x20to\x20regular','ELEMENT_','TrackChangesEditing','from','config','toUpperCase','format','length','numbered','get','getSelectedBlocks','getListTypeFromListStyleType','*Format:*\x20set\x20order\x20to\x20reversed','list.properties','editor'];(function(_0x17af90,_0x33a3fc){const _0x532a1e=function(_0x1fe0d8){while(--_0x1fe0d8){_0x17af90['push'](_0x17af90['shift']());}};_0x532a1e(++_0x33a3fc);}(_0x33a3,0xc7));const _0x532a=function(_0x17af90,_0x33a3fc){_0x17af90=_0x17af90-0x0;let _0x532a1e=_0x33a3[_0x17af90];return _0x532a1e;};import{Plugin as _0x45457d}from'ckeditor5/src/core';import{getTranslation as _0x4fb830}from'../utils/common-translations';export default class At extends _0x45457d{['afterInit'](){if(!this['editor'][_0x532a('0x1c')]['has'](_0x532a('0x23')))return;const _0x1c0873=this[_0x532a('0x0')][_0x532a('0x28')][_0x532a('0x2d')](_0x532a('0x31')),_0x185078=this[_0x532a('0x0')]['plugins'][_0x532a('0x2d')](_0x532a('0x26'));_0x1c0873['styles']&&_0x185078['enableCommand'](_0x532a('0x1e'),this[_0x532a('0x10')][_0x532a('0xa')](this)),_0x1c0873[_0x532a('0x16')]&&_0x185078[_0x532a('0x9')](_0x532a('0x22'),this[_0x532a('0x17')][_0x532a('0xa')](this)),_0x1c0873[_0x532a('0x15')]&&_0x185078['enableCommand'](_0x532a('0x20'),this['handleListStartCommand']['bind'](this)),_0x185078[_0x532a('0x1')][_0x532a('0xf')](this['handleDescriptions'][_0x532a('0xa')](this));}[_0x532a('0x10')](_0x260fa0,_0x11de22={}){const _0x37e5f6=this['editor'][_0x532a('0x1c')]['get'](_0x532a('0x26')),_0x3409d7=this[_0x532a('0xd')]();this['editor'][_0x532a('0x1a')][_0x532a('0x7')](()=>{_0x37e5f6['markMultiRangeBlockFormat'](_0x3409d7,{'commandName':_0x532a('0x1e'),'commandParams':[{'type':_0x11de22[_0x532a('0x21')]}],'formatGroupId':'listStyle'});});}[_0x532a('0x17')](_0x2b790a,_0x47b373={}){const _0x55f799=this['editor'][_0x532a('0x1c')]['get'](_0x532a('0x26')),_0x27b25e=this[_0x532a('0x0')][_0x532a('0x1c')][_0x532a('0x2d')](_0x532a('0x8')),_0x1a332b=this[_0x532a('0xe')](_0x4ef92d=>_0x27b25e['isListItemBlock'](_0x4ef92d)&&_0x532a('0x2c')===_0x4ef92d['getAttribute'](_0x532a('0x4')));null!==_0x1a332b&&this[_0x532a('0x0')][_0x532a('0x1a')][_0x532a('0x7')](()=>{_0x55f799[_0x532a('0xc')](_0x1a332b,{'commandName':_0x532a('0x22'),'commandParams':[{'reversed':_0x47b373[_0x532a('0x16')]}],'formatGroupId':_0x532a('0x22')});});}[_0x532a('0x1f')](_0x581122,_0x56154b={}){const _0x30a93f=this[_0x532a('0x0')][_0x532a('0x1c')]['get'](_0x532a('0x26')),_0x144d85=this['editor'][_0x532a('0x1c')][_0x532a('0x2d')](_0x532a('0x8')),_0x5894c2=this['_getSuggestionBlocks'](_0xc8eb64=>_0x144d85[_0x532a('0x6')](_0xc8eb64)&&_0x532a('0x2c')===_0xc8eb64[_0x532a('0x2')](_0x532a('0x4')));null!==_0x5894c2&&this[_0x532a('0x0')][_0x532a('0x1a')]['change'](()=>{_0x30a93f[_0x532a('0xc')](_0x5894c2,{'commandName':'listStart','commandParams':[{'startIndex':_0x56154b['startIndex']}],'formatGroupId':_0x532a('0x20')});});}[_0x532a('0x1d')](_0x3f73e2){const _0x2de47f=this[_0x532a('0x0')][_0x532a('0xb')],{data:_0x4e609c}=_0x3f73e2;if(!_0x4e609c)return;let _0x2e54e5,_0x146d6d;switch(_0x4e609c[_0x532a('0x18')]){case'listStyle':_0x2e54e5=_0x532a('0x14'),_0x146d6d={'type':_0x532a('0x2a'),'content':_0x4fb830(_0x2de47f,_0x2e54e5,_0x4fb830(_0x2de47f,this[_0x532a('0x11')](_0x4e609c[_0x532a('0x3')][0x0][_0x532a('0x21')])))};break;case _0x532a('0x22'):_0x2e54e5=_0x4e609c[_0x532a('0x3')][0x0][_0x532a('0x16')]?_0x532a('0x30'):_0x532a('0x24'),_0x146d6d={'type':_0x532a('0x2a'),'content':_0x4fb830(_0x2de47f,_0x2e54e5)};break;case _0x532a('0x20'):_0x2e54e5='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x146d6d={'type':'format','content':_0x4fb830(_0x2de47f,_0x2e54e5,_0x4e609c[_0x532a('0x3')][0x0][_0x532a('0x15')])};}return _0x146d6d;}[_0x532a('0xd')](){const _0x1fa0ec=this[_0x532a('0x0')][_0x532a('0x1c')]['get']('DocumentListUtils');let _0x247c6d=Array[_0x532a('0x27')](this[_0x532a('0x0')][_0x532a('0x1a')][_0x532a('0x13')][_0x532a('0x19')][_0x532a('0x2e')]());return _0x247c6d[_0x532a('0x5')](..._0x1fa0ec['expandListBlocksToCompleteList'](_0x247c6d)),_0x247c6d=[...new Set(_0x247c6d)],_0x247c6d;}[_0x532a('0xe')](_0xe22603){const _0x3aba51=this['editor'][_0x532a('0x1c')]['get']('DocumentListUtils');let _0x567563=Array[_0x532a('0x27')](this[_0x532a('0x0')][_0x532a('0x1a')]['document'][_0x532a('0x19')][_0x532a('0x2e')]())['filter'](_0xe22603);if(!_0x567563[_0x532a('0x2b')])return null;_0x567563=_0x3aba51[_0x532a('0x12')](_0x567563);const _0x2a8f1e=[];for(const _0x5b3f2a of _0x567563)_0x3aba51['isFirstBlockOfListItem'](_0x5b3f2a)&&_0x2a8f1e[_0x532a('0x5')](_0x5b3f2a);return _0x2a8f1e;}['_getTranslationKeyForListStyle'](_0x665276){return _0x532a('0x25')+this[_0x532a('0x0')][_0x532a('0x1c')][_0x532a('0x2d')]('DocumentListPropertiesUtils')[_0x532a('0x2f')](_0x665276)['toUpperCase']()+_0x532a('0x1b')+_0x665276[_0x532a('0x29')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dbd=['TrackChangesEditing','addMarker:suggestion:insertion','markerName','remove','bind','document','parent','writer','plugins','model','removeMarker:suggestion:insertion','change','end','split','requires','showSuggestionHighlights','hasClass','downcastDispatcher','afterExecute','detach','commands','enterBlock','high','ck-suggestion-marker-split','init','createRange','nextSibling','editor','getFirstRange','enableCommand','fromRange','getFirstPosition','mapper','fire','selection','editing','enter'];(function(_0x2bab2b,_0x5dbda4){const _0x36cebb=function(_0x2661eb){while(--_0x2661eb){_0x2bab2b['push'](_0x2bab2b['shift']());}};_0x36cebb(++_0x5dbda4);}(_0x5dbd,0x11b));const _0x36ce=function(_0x2bab2b,_0x5dbda4){_0x2bab2b=_0x2bab2b-0x0;let _0x36cebb=_0x5dbd[_0x2bab2b];return _0x36cebb;};import{Plugin as _0x11aeb9}from'ckeditor5/src/core';import{Enter as _0x283f68}from'ckeditor5/src/enter';import{LiveRange as _0x2f397f}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x70338a}from'./utils';export default class q extends _0x11aeb9{static get[_0x36ce('0x1b')](){return[_0x283f68];}[_0x36ce('0x0')](){const _0x28a47d=this[_0x36ce('0x3')],_0x280f11=_0x28a47d[_0x36ce('0x15')]['get'](_0x36ce('0xd')),_0xb5ad69=_0x28a47d[_0x36ce('0x21')]['get'](_0x36ce('0xc'));_0x280f11[_0x36ce('0x5')](_0x36ce('0xc'),()=>{_0x28a47d[_0x36ce('0x16')][_0x36ce('0x18')](_0x52ab77=>{const _0x2a9c9c=_0x28a47d[_0x36ce('0x16')][_0x36ce('0x12')][_0x36ce('0xa')],_0x5d51b0=_0x2a9c9c[_0x36ce('0x7')](),_0x45ceee=_0x2f397f[_0x36ce('0x6')](_0x2a9c9c[_0x36ce('0x4')]());if(_0xb5ad69[_0x36ce('0x22')](_0x52ab77)){const _0x359507=_0x28a47d[_0x36ce('0x16')]['createPositionAt'](_0x5d51b0[_0x36ce('0x13')][_0x36ce('0x2')],0x0),_0x558de3=_0x52ab77[_0x36ce('0x1')](_0x5d51b0,_0x359507);_0x280f11['markInsertion'](_0x558de3);}else _0x52ab77['setSelection'](_0x52ab77[_0x36ce('0x1')](_0x45ceee[_0x36ce('0x19')]));_0x45ceee[_0x36ce('0x20')](),_0xb5ad69[_0x36ce('0x9')](_0x36ce('0x1f'),{'writer':_0x52ab77});});}),_0x28a47d['editing']['downcastDispatcher']['on'](_0x36ce('0xe'),_0x70338a(_0x28a47d,'split'),{'priority':'high'}),_0x28a47d[_0x36ce('0xb')][_0x36ce('0x1e')]['on'](_0x36ce('0x17'),(_0x2ddaa4,_0x5c0084,_0x1de35e)=>{const _0x4addb2=_0x1de35e[_0x36ce('0x8')]['markerNameToElements'](_0x5c0084['markerName']);if(_0x4addb2)for(const _0x1ab64a of _0x4addb2)_0x1ab64a[_0x36ce('0x1d')](_0x36ce('0x24'))&&(_0x1de35e[_0x36ce('0x8')]['unbindElementFromMarkerName'](_0x1ab64a,_0x5c0084[_0x36ce('0xf')]),_0x1de35e[_0x36ce('0x14')][_0x36ce('0x10')](_0x1ab64a));},{'priority':_0x36ce('0x23')}),_0x28a47d['data']['downcastDispatcher']['on'](_0x36ce('0xe'),(_0x2b9b75,_0x376480,_0x2c7e6a)=>{_0x2c7e6a['options'][_0x36ce('0x1c')]&&_0x70338a(_0x28a47d,_0x36ce('0x1a'),{'showActiveMarker':!0x1})[_0x36ce('0x11')](this)(_0x2b9b75,_0x376480,_0x2c7e6a);},{'priority':_0x36ce('0x23')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29b1=['editor','model','markers','replaceAll','findPrevious','end','start','_isInDeletionRange','find','afterInit','findByTextCallback','TrackChangesEditing','createPositionAt','get','handleFindCommand','plugins','createRange','getRange','FindAndReplaceUtils','getIntersection','bind','suggestion:deletion','enableCommand','has'];(function(_0x242cf9,_0x29b174){const _0x13bbd6=function(_0x266693){while(--_0x266693){_0x242cf9['push'](_0x242cf9['shift']());}};_0x13bbd6(++_0x29b174);}(_0x29b1,0xfc));const _0x13bb=function(_0x242cf9,_0x29b174){_0x242cf9=_0x242cf9-0x0;let _0x13bbd6=_0x29b1[_0x242cf9];return _0x13bbd6;};import{Plugin as _0x21ccc5}from'ckeditor5/src/core';export default class z extends _0x21ccc5{[_0x13bb('0x15')](){if(!this[_0x13bb('0xc')][_0x13bb('0x3')][_0x13bb('0xb')]('FindAndReplaceEditing'))return;const _0xee6784=this[_0x13bb('0xc')]['plugins']['get'](_0x13bb('0x17'));_0xee6784['enableCommand'](_0x13bb('0x14'),this[_0x13bb('0x2')][_0x13bb('0x8')](this)),_0xee6784[_0x13bb('0xa')]('findNext'),_0xee6784[_0x13bb('0xa')](_0x13bb('0x10')),_0xee6784['enableCommand']('replace'),_0xee6784[_0x13bb('0xa')](_0x13bb('0xf'));}[_0x13bb('0x2')](_0x5430e7,_0x2668ca,_0x4c6a0f={}){const _0x59e8f7=this[_0x13bb('0xc')][_0x13bb('0x3')][_0x13bb('0x1')](_0x13bb('0x6'));void 0x0!==_0x4c6a0f&&_0x5430e7(_0x4e9491=>('string'==typeof _0x2668ca?_0x59e8f7[_0x13bb('0x16')](_0x2668ca,_0x4c6a0f):_0x2668ca)(_0x4e9491)['filter'](_0x52c43d=>!0x1===this['_isInDeletionRange'](_0x52c43d,_0x4e9491['item'])),_0x4c6a0f);}[_0x13bb('0x13')](_0x225ee0,_0x3fe5ef){const _0xb4cbb5=this['editor'][_0x13bb('0xd')][_0x13bb('0x4')](this[_0x13bb('0xc')][_0x13bb('0xd')][_0x13bb('0x0')](_0x3fe5ef,_0x225ee0[_0x13bb('0x12')]),this[_0x13bb('0xc')]['model']['createPositionAt'](_0x3fe5ef,_0x225ee0[_0x13bb('0x11')]));for(const _0x2cd2ed of this['editor']['model'][_0x13bb('0xe')]['getMarkersGroup'](_0x13bb('0x9')))if(null!==_0xb4cbb5[_0x13bb('0x7')](_0x2cd2ed[_0x13bb('0x5')]()))return!0x0;return!0x1;}}
|