@ckeditor/ckeditor5-track-changes 39.0.0 → 39.0.1
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": "39.0.
|
|
3
|
+
"version": "39.0.1",
|
|
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": "39.0.
|
|
43
|
-
"ckeditor5-collaboration": "39.0.
|
|
42
|
+
"ckeditor5": "39.0.1",
|
|
43
|
+
"ckeditor5-collaboration": "39.0.1",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x151c=['plugins','execute','editor','acceptSuggestion','refresh','_isEnabledBasedOnSelection','_suggestions','isEnabled','get','TrackChangesEditing','track-changes-accept-suggestion-not-found'];(function(_0x3ea551,_0x151cc5){const _0x25b6d6=function(_0x1f9b08){while(--_0x1f9b08){_0x3ea551['push'](_0x3ea551['shift']());}};_0x25b6d6(++_0x151cc5);}(_0x151c,0x16b));const _0x25b6=function(_0x3ea551,_0x151cc5){_0x3ea551=_0x3ea551-0x0;let _0x25b6d6=_0x151c[_0x3ea551];return _0x25b6d6;};import{Command as _0x24d577}from'ckeditor5/src/core';import{CKEditorError as _0x1d9aae}from'ckeditor5/src/utils';export default class M extends _0x24d577{constructor(_0x369fc7,_0x5f1312){super(_0x369fc7),this[_0x25b6('0x6')]=_0x5f1312,this[_0x25b6('0x4')](),this[_0x25b6('0x5')]=!0x1;}[_0x25b6('0x4')](){this[_0x25b6('0x7')]=!0x0;}[_0x25b6('0x1')](_0x171096){const _0x6eb855=this['_suggestions'][_0x25b6('0x8')](_0x171096);if(!_0x6eb855)throw new _0x1d9aae(_0x25b6('0xa'),this);const _0xe3dd79=_0x6eb855['getRanges']();this[_0x25b6('0x2')]['model']['canEditAt'](_0xe3dd79)&&this[_0x25b6('0x2')][_0x25b6('0x0')][_0x25b6('0x8')](_0x25b6('0x9'))[_0x25b6('0x3')](_0x6eb855);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44da=['track-changes-discard-suggestion-not-found','isEnabled','refresh','getRanges','discardSuggestion','plugins','canEditAt','get','_isEnabledBasedOnSelection','execute'];(function(_0x5c46e3,_0x44da73){const _0x5f503a=function(_0x3acb73){while(--_0x3acb73){_0x5c46e3['push'](_0x5c46e3['shift']());}};_0x5f503a(++_0x44da73);}(_0x44da,0x1e8));const _0x5f50=function(_0x5c46e3,_0x44da73){_0x5c46e3=_0x5c46e3-0x0;let _0x5f503a=_0x44da[_0x5c46e3];return _0x5f503a;};import{Command as _0x3df63e}from'ckeditor5/src/core';import{CKEditorError as _0x386dbe}from'ckeditor5/src/utils';export default class $ extends _0x3df63e{constructor(_0x359ed0,_0x5a2970){super(_0x359ed0),this['_suggestions']=_0x5a2970,this['refresh'](),this[_0x5f50('0x0')]=!0x1;}[_0x5f50('0x4')](){this[_0x5f50('0x3')]=!0x0;}[_0x5f50('0x1')](_0x8d0614){const _0x379e44=this['_suggestions'][_0x5f50('0x9')](_0x8d0614);if(!_0x379e44)throw new _0x386dbe(_0x5f50('0x2'),this);const _0x2bae3d=_0x379e44[_0x5f50('0x5')]();this['editor']['model'][_0x5f50('0x8')](_0x2bae3d)&&this['editor'][_0x5f50('0x7')][_0x5f50('0x9')]('TrackChangesEditing')[_0x5f50('0x6')](_0x379e44);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37c0=['editor','some','refresh','_command','canEditAt','model','isEnabled','_suggestions','from','values'];(function(_0x59b4d1,_0x37c0e3){const _0x4c5d99=function(_0x54ab7c){while(--_0x54ab7c){_0x59b4d1['push'](_0x59b4d1['shift']());}};_0x4c5d99(++_0x37c0e3);}(_0x37c0,0x1dd));const _0x4c5d=function(_0x59b4d1,_0x37c0e3){_0x59b4d1=_0x59b4d1-0x0;let _0x4c5d99=_0x37c0[_0x59b4d1];return _0x4c5d99;};import{Command as _0x160690}from'ckeditor5/src/core';import{sortSuggestions as _0x2dedd8,executeCommandForSuggestions as _0x26501c}from'../utils/utils';export default class N extends _0x160690{constructor(_0x465bfe,_0x57ee11,_0x151d12){super(_0x465bfe),this['_command']=_0x57ee11,this[_0x4c5d('0x0')]=_0x151d12,this[_0x4c5d('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4c5d('0x5')](){const _0x10fe77=Array[_0x4c5d('0x1')](this[_0x4c5d('0x0')][_0x4c5d('0x2')]())[_0x4c5d('0x4')](_0x24e320=>_0x24e320['isInContent']);this[_0x4c5d('0x9')]=this['_command']['isEnabled']&&_0x10fe77;}['execute'](){const _0x528db2=_0x2dedd8(Array[_0x4c5d('0x1')](this[_0x4c5d('0x0')][_0x4c5d('0x2')]()));for(const _0x5e212f of _0x528db2){const _0x1e3ea6=_0x5e212f['getRanges']();if(!this['editor'][_0x4c5d('0x8')][_0x4c5d('0x7')](_0x1e3ea6))return;}_0x26501c(this[_0x4c5d('0x3')][_0x4c5d('0x8')],this[_0x4c5d('0x6')],_0x528db2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48bc=['_suggestions','execute','_isEnabledBasedOnSelection','document','editor','_selectedSuggestions','_command','isEnabled','size','model','refresh','from'];(function(_0x35a277,_0x48bcf9){const _0x2cdfd6=function(_0x5066a6){while(--_0x5066a6){_0x35a277['push'](_0x35a277['shift']());}};_0x2cdfd6(++_0x48bcf9);}(_0x48bc,0x145));const _0x2cdf=function(_0x35a277,_0x48bcf9){_0x35a277=_0x35a277-0x0;let _0x2cdfd6=_0x48bc[_0x35a277];return _0x2cdfd6;};import{Command as _0x2814e5}from'ckeditor5/src/core';import{sortSuggestions as _0x587b73,getSelectedSuggestions as _0x15be24,executeCommandForSuggestions as _0x2873bd}from'../utils/utils';export default class R extends _0x2814e5{constructor(_0x2549d4,_0x5ab46b,_0xc25eb3){super(_0x2549d4),this[_0x2cdf('0x5')]=_0x5ab46b,this[_0x2cdf('0xb')]=_0xc25eb3,this[_0x2cdf('0x4')]=new Set(),this['refresh'](),this[_0x2cdf('0x1')]=!0x1;}[_0x2cdf('0x9')](){const _0xfac5a1=this[_0x2cdf('0x3')][_0x2cdf('0x8')][_0x2cdf('0x2')]['selection'],_0x5018ca=Array[_0x2cdf('0xa')](this['_suggestions']['values']());this[_0x2cdf('0x4')]=_0x15be24(_0xfac5a1,_0x5018ca),this[_0x2cdf('0x6')]=this[_0x2cdf('0x5')]['isEnabled']&&!!this['_selectedSuggestions'][_0x2cdf('0x7')];}[_0x2cdf('0x0')](){const _0x3fc560=_0x587b73(Array[_0x2cdf('0xa')](this[_0x2cdf('0x4')]));for(const _0x157c57 of _0x3fc560){const _0x4016b6=_0x157c57['getRanges']();if(!this[_0x2cdf('0x3')][_0x2cdf('0x8')]['canEditAt'](_0x4016b6))return;}_0x2873bd(this[_0x2cdf('0x3')][_0x2cdf('0x8')],this[_0x2cdf('0x5')],_0x3fc560);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b8f=['has','value','commands','editor','TrackChangesCommand','clearForceDisabled','forceDisabled','_isEnabledBasedOnSelection','refresh','_enabledCommands','execute','_disableUnsupportedCommands','_enableCommands','affectsData'];(function(_0x1e11b5,_0x2b8fce){const _0x2a94cf=function(_0x2f088d){while(--_0x2f088d){_0x1e11b5['push'](_0x1e11b5['shift']());}};_0x2a94cf(++_0x2b8fce);}(_0x2b8f,0xe2));const _0x2a94=function(_0x1e11b5,_0x2b8fce){_0x1e11b5=_0x1e11b5-0x0;let _0x2a94cf=_0x2b8f[_0x1e11b5];return _0x2a94cf;};import{Command as _0x1a7584}from'ckeditor5/src/core';export default class _ extends _0x1a7584{constructor(_0x5e82a2,_0x164275){super(_0x5e82a2),this['_enabledCommands']=_0x164275,this[_0x2a94('0xd')]=!0x1,this[_0x2a94('0x6')](),this[_0x2a94('0x5')]=!0x1;}[_0x2a94('0x6')](){this['isEnabled']=!0x0;}[_0x2a94('0x8')](){this[_0x2a94('0xd')]=!this['value'],this[_0x2a94('0xd')]?this[_0x2a94('0x9')]():this[_0x2a94('0xa')]();}['_disableUnsupportedCommands'](){for(const _0x1643d4 of this['editor']['commands'][_0x2a94('0x0')]())_0x1643d4['affectsData']&&!this[_0x2a94('0x7')]['has'](_0x1643d4)&&_0x1643d4[_0x2a94('0x4')](_0x2a94('0x2'));}[_0x2a94('0xa')](){for(const _0x40367a of this[_0x2a94('0x1')][_0x2a94('0x0')][_0x2a94('0x0')]())_0x40367a[_0x2a94('0xb')]&&!this[_0x2a94('0x7')][_0x2a94('0xc')](_0x40367a)&&_0x40367a[_0x2a94('0x3')](_0x2a94('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1887=['commandName','has','*Format:*\x20%0','justify','FORMAT_ALIGN_TO_LEFT','right','get','commandParams','change','left','document','FORMAT_JUSTIFY_TEXT','registerDescriptionCallback','locale','checkAttribute','model','plugins','schema','FORMAT_ALIGN_TO_CENTER','selection','editor','afterInit','contentLanguageDirection','ltr','from','TrackChangesEditing','value','_descriptionFactory','markBlockFormat','filter','alignment','getAttribute'];(function(_0x272ec3,_0x1887d1){const _0x54020e=function(_0x10cbfa){while(--_0x10cbfa){_0x272ec3['push'](_0x272ec3['shift']());}};_0x54020e(++_0x1887d1);}(_0x1887,0x108));const _0x5402=function(_0x272ec3,_0x1887d1){_0x272ec3=_0x272ec3-0x0;let _0x54020e=_0x1887[_0x272ec3];return _0x54020e;};import{Plugin as _0x474ddf}from'ckeditor5/src/core';import{getTranslation as _0x2fc84b}from'../utils/common-translations';export default class x extends _0x474ddf{[_0x5402('0xd')](){const _0x95f25e=this['editor'],_0x5f34ce=_0x95f25e[_0x5402('0x5')];if(!_0x95f25e[_0x5402('0x8')][_0x5402('0x19')]('AlignmentEditing'))return;const _0x3999ed=_0x95f25e[_0x5402('0x8')][_0x5402('0x1e')](_0x5402('0x11'));_0x3999ed['enableCommand']('alignment',(_0x7d28d0,_0xab200={})=>{let _0x38bb8d=_0xab200[_0x5402('0x12')];_0xab200[_0x5402('0x12')]||(_0x38bb8d=_0x5402('0xf')===_0x95f25e['locale'][_0x5402('0xe')]?_0x5402('0x1'):'right');const _0x25172d=Array[_0x5402('0x10')](this[_0x5402('0xc')][_0x5402('0x7')][_0x5402('0x2')][_0x5402('0xb')]['getSelectedBlocks']())[_0x5402('0x15')](_0x4aff64=>function(_0x1eeb3e,_0x5e5c06,_0x2d7234){const _0x579f8e=_0x1eeb3e[_0x5402('0x17')](_0x5402('0x16'))||null;return _0x5e5c06[_0x5402('0x6')](_0x1eeb3e,_0x5402('0x16'))&&_0x2d7234!=_0x579f8e;}(_0x4aff64,this[_0x5402('0xc')][_0x5402('0x7')][_0x5402('0x9')],_0x38bb8d));_0x95f25e['model'][_0x5402('0x0')](()=>{for(const _0x4983c2 of _0x25172d)_0x3999ed[_0x5402('0x14')](_0x4983c2,{'commandName':_0x5402('0x16'),'commandParams':[{'value':_0x38bb8d}]});});}),_0x3999ed[_0x5402('0x13')][_0x5402('0x4')](_0x5aa08d=>{const {data:_0x7ff55}=_0x5aa08d;if(_0x7ff55&&_0x5402('0x16')==_0x7ff55[_0x5402('0x18')]){const _0x39eb85=_0x7ff55[_0x5402('0x1f')][0x0]['value'];return{'type':'format','content':_0x2fc84b(_0x5f34ce,_0x5402('0x1a'),function(_0x589104){switch(_0x589104){case'left':return _0x2fc84b(_0x5f34ce,_0x5402('0x1c'));case _0x5402('0x1d'):return _0x2fc84b(_0x5f34ce,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x2fc84b(_0x5f34ce,_0x5402('0xa'));case _0x5402('0x1b'):return _0x2fc84b(_0x5f34ce,_0x5402('0x3'));}}(_0x39eb85))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56bf=['FORMAT_CODE','FORMAT_ITALIC','_descriptionFactory','commandName','BoldEditing','isCollapsed','SuperscriptEditing','SubscriptEditing','forceValue','plugins','CodeEditing','subscript','code','document','registerDescriptionCallback','UnderlineEditing','afterInit','from','StrikethroughEditing','*Format:*\x20%0','getRanges','has','TrackChangesEditing','commands','bold','commandParams','get','FORMAT_STRIKETHROUGH','*Remove\x20format:*\x20%0','markInlineFormat','enableCommand','underline','slice','format','model'];(function(_0xbec7a6,_0x56bfbb){const _0x3ccae0=function(_0x45dedf){while(--_0x45dedf){_0xbec7a6['push'](_0xbec7a6['shift']());}};_0x3ccae0(++_0x56bfbb);}(_0x56bf,0x96));const _0x3cca=function(_0xbec7a6,_0x56bfbb){_0xbec7a6=_0xbec7a6-0x0;let _0x3ccae0=_0x56bf[_0xbec7a6];return _0x3ccae0;};import{Plugin as _0x6030fa}from'ckeditor5/src/core';import{getTranslation as _0x4dcd31}from'../utils/common-translations';import{getRangesWithAttribute as _0x3cc6cd}from'./utils';const Kt=[_0x3cca('0x1d'),'ItalicEditing',_0x3cca('0x5'),_0x3cca('0x0'),_0x3cca('0x8'),_0x3cca('0x20'),_0x3cca('0x1f')];export default class U extends _0x6030fa{[_0x3cca('0x6')](){const _0x20b644=this['editor'],_0x3acd29=_0x20b644[_0x3cca('0x18')],_0x2963db=_0x20b644[_0x3cca('0x22')][_0x3cca('0x10')](_0x3cca('0xc')),_0x543d27=_0x20b644['locale'];for(const _0xa30fb5 of Kt){if(!_0x20b644['plugins'][_0x3cca('0xb')](_0xa30fb5))continue;const _0x1cfdee=_0xa30fb5[_0x3cca('0x16')](0x0,-0x7)['toLowerCase'](),_0xc1fc8c=_0x20b644[_0x3cca('0xd')]['get'](_0x1cfdee);_0x2963db[_0x3cca('0x14')](_0x1cfdee,(_0x5e0e31,_0x2c1189={})=>{const _0x5a2a24=_0x3acd29[_0x3cca('0x3')]['selection'];if(_0x5a2a24[_0x3cca('0x1e')])return void _0x5e0e31(_0x2c1189);const _0x1adef1=void 0x0!==_0x2c1189['forceValue']?_0x2c1189[_0x3cca('0x21')]:!_0xc1fc8c['value'];_0x3acd29['change'](()=>{const _0x36cf49=Array[_0x3cca('0x7')](_0x5a2a24[_0x3cca('0xa')]());for(const _0x1dc6a3 of _0x36cf49){const _0x52a0f4=_0x1adef1?[_0x1dc6a3]:_0x3cc6cd(_0x1cfdee,_0x1dc6a3,_0x3acd29);for(const _0x4936dd of _0x52a0f4)_0x2963db[_0x3cca('0x13')](_0x4936dd,{'commandName':_0x1cfdee,'commandParams':[{'forceValue':_0x1adef1}]});}});});}function _0x57354b(_0x2275da,_0x4eb310){_0x2963db[_0x3cca('0x1b')][_0x3cca('0x4')](_0x1e377a=>{const {data:_0x33c70a}=_0x1e377a;if(_0x33c70a&&_0x33c70a[_0x3cca('0x1c')]===_0x2275da)return _0x33c70a[_0x3cca('0xf')][0x0]['forceValue']?{'type':_0x3cca('0x17'),'content':_0x4dcd31(_0x543d27,_0x3cca('0x9'),_0x4eb310)}:{'type':_0x3cca('0x17'),'content':_0x4dcd31(_0x543d27,_0x3cca('0x12'),_0x4eb310)};});}_0x57354b(_0x3cca('0xe'),_0x4dcd31(_0x543d27,'FORMAT_BOLD')),_0x57354b('italic',_0x4dcd31(_0x543d27,_0x3cca('0x1a'))),_0x57354b(_0x3cca('0x15'),_0x4dcd31(_0x543d27,'FORMAT_UNDERLINE')),_0x57354b(_0x3cca('0x2'),_0x4dcd31(_0x543d27,_0x3cca('0x19'))),_0x57354b('strikethrough',_0x4dcd31(_0x543d27,_0x3cca('0x11'))),_0x57354b(_0x3cca('0x1'),_0x4dcd31(_0x543d27,'FORMAT_SUBSCRIPT')),_0x57354b('superscript',_0x4dcd31(_0x543d27,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42ed=['markBlockFormat','value','parent','change','get','checkChild','afterInit','from','commandName','forceValue','plugins','TrackChangesEditing','commandParams','_descriptionFactory','commands','locale','ELEMENT_BLOCK_QUOTE','document','*Format:*\x20%0','*Remove\x20format:*\x20%0','getSelectedBlocks','BlockQuoteEditing','has','filter','editor','model','schema','name','$root','format','blockQuote'];(function(_0x22efb0,_0x42ed1c){const _0x572e3e=function(_0x14252e){while(--_0x14252e){_0x22efb0['push'](_0x22efb0['shift']());}};_0x572e3e(++_0x42ed1c);}(_0x42ed,0xf6));const _0x572e=function(_0x22efb0,_0x42ed1c){_0x22efb0=_0x22efb0-0x0;let _0x572e3e=_0x42ed[_0x22efb0];return _0x572e3e;};import{Plugin as _0x564e84}from'ckeditor5/src/core';import{getTranslation as _0x1240b9}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xc63868}from'../utils/utils';export default class j extends _0x564e84{[_0x572e('0x8')](){const _0x4570a6=this[_0x572e('0x1a')],_0x1d45d9=_0x4570a6[_0x572e('0x11')];if(!_0x4570a6[_0x572e('0xc')][_0x572e('0x18')](_0x572e('0x17')))return;const _0x45a384=_0x4570a6[_0x572e('0xc')][_0x572e('0x6')](_0x572e('0xd')),_0x429a2b=this['editor'][_0x572e('0x10')][_0x572e('0x6')](_0x572e('0x1'));_0x45a384['enableCommand'](_0x572e('0x1'),(_0x1f886d,_0x3fb7ec={})=>{const _0x52c88c=this[_0x572e('0x1a')][_0x572e('0x1b')][_0x572e('0x13')]['selection'],_0x12d730=_0x3fb7ec&&void 0x0!==_0x3fb7ec[_0x572e('0xb')]?_0x3fb7ec[_0x572e('0xb')]:!_0x429a2b[_0x572e('0x3')];let _0x47802b=[];if(_0x12d730){const _0x12674e=Array[_0x572e('0x9')](_0x52c88c[_0x572e('0x16')]())[_0x572e('0x19')](_0x57fdc4=>Xt(_0x57fdc4)||function(_0x593cee,_0x3cb38b){const _0x4eaf3c=_0x3cb38b[_0x572e('0x7')](_0x593cee[_0x572e('0x4')],_0x572e('0x1')),_0x50bea7=_0x3cb38b[_0x572e('0x7')]([_0x572e('0x1e'),_0x572e('0x1')],_0x593cee);return _0x4eaf3c&&_0x50bea7;}(_0x57fdc4,this[_0x572e('0x1a')][_0x572e('0x1b')][_0x572e('0x1c')]));_0x47802b=_0xc63868(_0x12674e,_0x4570a6[_0x572e('0x1b')]);}else{const _0x53371a=Array['from'](_0x52c88c[_0x572e('0x16')]())[_0x572e('0x19')](_0x2c579f=>Xt(_0x2c579f));_0x47802b=_0xc63868(_0x53371a,_0x4570a6[_0x572e('0x1b')]);}_0x4570a6['model'][_0x572e('0x5')](()=>{for(const _0x2858e8 of _0x47802b)_0x45a384[_0x572e('0x2')](_0x2858e8,{'commandName':_0x572e('0x1'),'commandParams':[{'forceValue':_0x12d730}]});});}),_0x45a384[_0x572e('0xf')]['registerDescriptionCallback'](_0x203465=>{const {data:_0x39ca8a}=_0x203465;if(_0x39ca8a&&_0x572e('0x1')==_0x39ca8a[_0x572e('0xa')]){const _0x3428d2=_0x1240b9(_0x1d45d9,_0x572e('0x12'));return _0x39ca8a[_0x572e('0xe')][0x0][_0x572e('0xb')]?{'type':_0x572e('0x0'),'content':_0x1240b9(_0x1d45d9,_0x572e('0x14'),_0x3428d2)}:{'type':'format','content':_0x1240b9(_0x1d45d9,_0x572e('0x15'),_0x3428d2)};}});}}function Xt(_0x19a670){return'blockQuote'==_0x19a670['parent'][_0x572e('0x1d')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ba8=['enableCommand','TrackChangesEditing','plugins','afterInit','ckbox','editor'];(function(_0x3546cf,_0x3ba8fc){const _0xd72efa=function(_0x1a11a8){while(--_0x1a11a8){_0x3546cf['push'](_0x3546cf['shift']());}};_0xd72efa(++_0x3ba8fc);}(_0x3ba8,0x71));const _0xd72e=function(_0x3546cf,_0x3ba8fc){_0x3546cf=_0x3546cf-0x0;let _0xd72efa=_0x3ba8[_0x3546cf];return _0xd72efa;};import{Plugin as _0x3a8a14}from'ckeditor5/src/core';export default class E extends _0x3a8a14{[_0xd72e('0x4')](){const _0x5deab7=this[_0xd72e('0x0')];_0x5deab7['commands']['get'](_0xd72e('0x5'))&&_0x5deab7[_0xd72e('0x3')]['get'](_0xd72e('0x2'))[_0xd72e('0x1')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4637=['_descriptionFactory','registerDescriptionCallback','commands','label','ELEMENT_CODE_BLOCK','commandParams','locale','has','afterInit','blockName','config','language','*Format:*\x20%0','forceValue','from','find','*Remove\x20format:*\x20%0','CodeBlock','model','enableCommand','checkChild','parent','filter','indentCodeBlock','outdentCodeBlock','editor','codeBlock','getSelectedBlocks','plugins','format','commandName','TrackChangesEditing','change','selection','get'];(function(_0x4686d9,_0x4637cc){const _0x2c5db3=function(_0xf87b28){while(--_0xf87b28){_0x4686d9['push'](_0x4686d9['shift']());}};_0x2c5db3(++_0x4637cc);}(_0x4637,0x18c));const _0x2c5d=function(_0x4686d9,_0x4637cc){_0x4686d9=_0x4686d9-0x0;let _0x2c5db3=_0x4637[_0x4686d9];return _0x2c5db3;};import{Plugin as _0x4a19b7}from'ckeditor5/src/core';import{getTranslation as _0x4a994a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b2453}from'../utils/utils';export default class O extends _0x4a19b7{[_0x2c5d('0x20')](){const _0xeaf733=this[_0x2c5d('0xe')];if(!_0xeaf733[_0x2c5d('0x11')][_0x2c5d('0x1f')](_0x2c5d('0x6')))return;const _0xaf580c=_0xeaf733[_0x2c5d('0x11')][_0x2c5d('0x17')](_0x2c5d('0x14')),_0x244ec6=_0xeaf733[_0x2c5d('0x1e')],_0x36babd=_0xeaf733[_0x2c5d('0x22')][_0x2c5d('0x17')](_0x2c5d('0xf'))['languages'],_0x1c5917=_0xeaf733[_0x2c5d('0x1a')][_0x2c5d('0x17')]('codeBlock');_0xaf580c[_0x2c5d('0x8')](_0x2c5d('0xc')),_0xaf580c[_0x2c5d('0x8')](_0x2c5d('0xd')),_0xaf580c[_0x2c5d('0x8')]('codeBlock',(_0x201a97,_0x23894a={})=>{const _0x2813bb=_0xeaf733['model'],_0x5d4350=_0xeaf733[_0x2c5d('0x7')]['document'][_0x2c5d('0x16')],_0x5ecc48=_0x23894a&&void 0x0!==_0x23894a['forceValue']?_0x23894a[_0x2c5d('0x2')]:!_0x1c5917['value'];let _0x4629fa;_0x23894a['language']||(_0x23894a[_0x2c5d('0x0')]=_0x36babd[0x0][_0x2c5d('0x0')]),_0x4629fa=_0x5ecc48?Array[_0x2c5d('0x3')](_0x5d4350[_0x2c5d('0x10')]())['filter'](_0x2683ed=>to(_0x2683ed)||function(_0x24057c,_0x335e7d){if(_0x24057c['is']('rootElement')||_0x335e7d['isLimit'](_0x24057c))return!0x1;return _0x335e7d[_0x2c5d('0x9')](_0x24057c[_0x2c5d('0xa')],_0x2c5d('0xf'));}(_0x2683ed,_0x2813bb['schema'])):Array[_0x2c5d('0x3')](_0x5d4350['getSelectedBlocks']())[_0x2c5d('0xb')](_0x3bf94f=>to(_0x3bf94f));const _0x580fa6=_0x2b2453(_0x4629fa,_0x2813bb);_0x2813bb[_0x2c5d('0x15')](()=>{for(const _0x26dc8c of _0x580fa6)_0xaf580c['markBlockFormat'](_0x26dc8c,{'commandName':_0x2c5d('0xf'),'commandParams':[{..._0x23894a,'forceValue':_0x5ecc48}],'formatGroupId':_0x2c5d('0x21')});});}),(_0xaf580c[_0x2c5d('0x18')]['registerElementLabel'](_0x2c5d('0xf'),_0x5e8262=>_0x4a994a(_0x244ec6,_0x2c5d('0x1c'),_0x5e8262)),_0xaf580c['_descriptionFactory'][_0x2c5d('0x19')](_0x443616=>{const _0x3e0645=_0x244ec6['t'],{type:_0x1f980a,data:_0x5eb69c}=_0x443616;if('formatBlock'==_0x1f980a&&_0x5eb69c&&_0x2c5d('0xf')==_0x5eb69c[_0x2c5d('0x13')]){const _0x4d0c82=_0x5eb69c[_0x2c5d('0x1d')][0x0]['language'],_0x52d06e=_0x3e0645(_0x36babd[_0x2c5d('0x4')](_0x312feb=>_0x312feb[_0x2c5d('0x0')]===_0x4d0c82)[_0x2c5d('0x1b')]);return _0x5eb69c[_0x2c5d('0x1d')][0x0][_0x2c5d('0x2')]?{'type':_0x2c5d('0x12'),'content':_0x4a994a(_0x244ec6,_0x2c5d('0x1'),_0x4a994a(_0x244ec6,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x52d06e+')')}:{'type':_0x2c5d('0x12'),'content':_0x4a994a(_0x244ec6,_0x2c5d('0x5'),_0x4a994a(_0x244ec6,_0x2c5d('0x1c'),0x1))};}}));}}function to(_0x78aff5){return _0x2c5d('0xf')==_0x78aff5['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55d2=['get','enableCommand','plugins','TrackChangesEditing','CommentsEditing','addCommentThread','editor'];(function(_0x4f8b04,_0x55d2ef){const _0x422cb9=function(_0x380c5d){while(--_0x380c5d){_0x4f8b04['push'](_0x4f8b04['shift']());}};_0x422cb9(++_0x55d2ef);}(_0x55d2,0x1b2));const _0x422c=function(_0x4f8b04,_0x55d2ef){_0x4f8b04=_0x4f8b04-0x0;let _0x422cb9=_0x55d2[_0x4f8b04];return _0x422cb9;};import{Plugin as _0x46e1f7}from'ckeditor5/src/core';export default class F extends _0x46e1f7{['afterInit'](){const _0x394675=this[_0x422c('0x6')];if(!_0x394675[_0x422c('0x2')]['has'](_0x422c('0x4')))return;_0x394675['plugins'][_0x422c('0x0')](_0x422c('0x3'))[_0x422c('0x1')](_0x422c('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4502=['fromRange','mapper','batch','get','forward','createRange','delete','isCollapsed','markerName','buffer','merge','commands','plugins','markerNameToElements','TrackChangesEditing','$graveyard','unit','data','detach','addMarker:suggestion:deletion','high','downcastDispatcher','showSuggestionHighlights','setSelection','bind','createSelection','options','modifySelection','unbindElementFromMarkerName','requires','lock','uiElement','model','editor','root','deleteForward','rootName','getFirstRange','enableCommand','enqueueChange','start','removeMarker:suggestion:deletion','writer'];(function(_0xf49204,_0x450236){const _0x155366=function(_0x1a8980){while(--_0x1a8980){_0xf49204['push'](_0xf49204['shift']());}};_0x155366(++_0x450236);}(_0x4502,0xa4));const _0x1553=function(_0xf49204,_0x450236){_0xf49204=_0xf49204-0x0;let _0x155366=_0x4502[_0xf49204];return _0x155366;};import{Plugin as _0x949c29}from'ckeditor5/src/core';import{LiveRange as _0x11206c}from'ckeditor5/src/engine';import{Delete as _0x1a90ec}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x16ff7c}from'./utils';export default class G extends _0x949c29{static get[_0x1553('0x25')](){return[_0x1a90ec];}['init'](){const _0x2c9e44=this[_0x1553('0x29')],_0x5e23f8=_0x2c9e44[_0x1553('0x14')]['get'](_0x1553('0x16'));_0x5e23f8[_0x1553('0x3')](_0x1553('0xe'));const _0x216ed0=_0x2c9e44[_0x1553('0x13')][_0x1553('0xb')](_0x1553('0x0'));_0x5e23f8[_0x1553('0x3')]('deleteForward',(_0x2effad,_0x56b907={})=>{const _0xddf98=_0x2c9e44['model'][_0x1553('0x21')](_0x2c9e44['model']['document']['selection']);_0xddf98[_0x1553('0xf')]&&_0x2c9e44[_0x1553('0x28')][_0x1553('0x23')](_0xddf98,{'direction':_0x1553('0xc'),'unit':_0x56b907[_0x1553('0x18')]});const _0x27ec6a=_0xddf98[_0x1553('0x2')](),_0x4ea716=_0x11206c[_0x1553('0x8')](_0x27ec6a);let _0x45092d;_0x2effad(_0x56b907),_0x45092d=_0x1553('0x17')==_0x4ea716[_0x1553('0x2a')][_0x1553('0x1')]?_0x2c9e44[_0x1553('0x28')]['createRange'](_0x27ec6a[_0x1553('0x5')]):_0x2c9e44['model'][_0x1553('0xd')](_0x4ea716[_0x1553('0x5')],_0x4ea716['end']),_0x4ea716[_0x1553('0x1a')](),_0x2c9e44[_0x1553('0x28')][_0x1553('0x4')](_0x216ed0[_0x1553('0x11')][_0x1553('0xa')],_0x4e2483=>{_0x216ed0[_0x1553('0x11')][_0x1553('0x26')](),_0x4e2483[_0x1553('0x1f')](_0x4e2483[_0x1553('0xd')](_0x45092d['end'])),_0x216ed0[_0x1553('0x11')]['unlock']();});}),_0x2c9e44['editing'][_0x1553('0x1d')]['on'](_0x1553('0x1b'),_0x16ff7c(_0x2c9e44,'merge'),{'priority':'high'}),_0x2c9e44[_0x1553('0x19')][_0x1553('0x1d')]['on'](_0x1553('0x1b'),(_0xaa428c,_0x46976c,_0x9e7af5)=>{_0x9e7af5[_0x1553('0x22')][_0x1553('0x1e')]&&_0x16ff7c(_0x2c9e44,_0x1553('0x12'),{'showActiveMarker':!0x1})[_0x1553('0x20')](this)(_0xaa428c,_0x46976c,_0x9e7af5);},{'priority':_0x1553('0x1c')}),_0x2c9e44['editing'][_0x1553('0x1d')]['on'](_0x1553('0x6'),(_0xcbd0e1,_0x724c61,_0x1d63ca)=>{const _0x2747cc=_0x1d63ca['mapper'][_0x1553('0x15')](_0x724c61[_0x1553('0x10')]);if(_0x2747cc)for(const _0x2abc16 of _0x2747cc)_0x2abc16['is'](_0x1553('0x27'))&&(_0x1d63ca[_0x1553('0x9')][_0x1553('0x24')](_0x2abc16,_0x724c61[_0x1553('0x10')]),_0x1d63ca[_0x1553('0x7')]['remove'](_0x2abc16));},{'priority':_0x1553('0x1c')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd800=['slice','push','*Format:*\x20remove\x20from\x20%0','ELEMENT_NUMBERED_LIST','createPositionAt','commandName','forceValue','listIndent','expandListBlocksToCompleteList','fromRange','isObject','nodeAfter','format','enableCommand','from','*Indent:*\x20%0','previousSibling','has','length','registerCustomCallback','splitListItemAfter','plugins','mergeListItemForward','detach','listItemId','*Format:*\x20insert\x20into\x20%0','value','get','formatBlock','change','map','ELEMENT_LIST_ITEM','multipleBlocks','findIndex','add','execute','getAttribute','ELEMENT_BULLETED_LIST','*Change\x20to:*\x20%0','commandParams','model','end','selection','start','createRange','document','TrackChangesEditing','parent','bulletedList','before','mergeListItemBackward','indentList','_descriptionFactory','nextSibling','documentList','_LIST','toUpperCase','registerElementLabel','outdentList','schema','isFirstBlockOfListItem','numberedList','editor','hasAttribute','*Outdent:*\x20%0','*Merge:*\x20%0','markBlockFormat','listType','commands','containsItem','getSelectedBlocks','getFirstRange','afterInit'];(function(_0x2368ba,_0xd800ee){const _0x38698c=function(_0x13733b){while(--_0x13733b){_0x2368ba['push'](_0x2368ba['shift']());}};_0x38698c(++_0xd800ee);}(_0xd800,0xf8));const _0x3869=function(_0x2368ba,_0xd800ee){_0x2368ba=_0x2368ba-0x0;let _0x38698c=_0xd800[_0x2368ba];return _0x38698c;};import{Plugin as _0x4508a8}from'ckeditor5/src/core';import{getTranslation as _0x25e30c}from'../utils/common-translations';import{LiveRange as _0x2b5f57}from'ckeditor5/src/engine';export default class L extends _0x4508a8{[_0x3869('0x2b')](){const _0x47b98a=this[_0x3869('0x21')];if(!_0x47b98a[_0x3869('0x41')][_0x3869('0x3d')]('DocumentListEditing'))return;const _0x4cd470=_0x47b98a['locale'],_0x1d4e68=_0x47b98a[_0x3869('0x41')][_0x3869('0x47')](_0x3869('0x11')),_0x20a6f5=_0x47b98a[_0x3869('0x41')][_0x3869('0x47')]('DocumentListUtils');function _0x5deb1c(_0x1c7eb9){return()=>{const _0x3f3d27=_0x47b98a[_0x3869('0x27')][_0x3869('0x47')](_0x1c7eb9);let _0x2bc7bf=Array[_0x3869('0x3a')](_0x47b98a[_0x3869('0xb')]['document'][_0x3869('0xd')][_0x3869('0x29')]());if(_0x2e0fcd(_0x1c7eb9)){_0x2bc7bf=_0x20a6f5[_0x3869('0x34')](_0x2bc7bf);const _0x313084=[];for(const _0x4631c2 of _0x2bc7bf)_0x20a6f5[_0x3869('0x1f')](_0x4631c2)&&_0x313084[_0x3869('0x2d')](_0x4631c2);_0x2bc7bf=_0x313084;}_0x47b98a[_0x3869('0xb')][_0x3869('0x0')](()=>{_0x1d4e68['markMultiRangeBlockFormat'](_0x2bc7bf,{'commandName':_0x1c7eb9,'commandParams':[{'forceValue':!_0x3f3d27['value']}],'formatGroupId':_0x3869('0x26')},[],_0x3869('0x19'));});};}function _0x1ded44(_0x42765e){return()=>{const _0x558473=function(_0x4417a8){let _0x47ef82=Array[_0x3869('0x3a')](_0x4417a8);const _0x5349e5=_0x47ef82[_0x3869('0x4')](_0xa40895=>!_0xa40895[_0x3869('0x22')]('listItemId'));return _0x5349e5>-0x1&&(_0x47ef82=_0x47ef82[_0x3869('0x2c')](0x0,_0x5349e5)),_0x47ef82;}(_0x47b98a[_0x3869('0xb')][_0x3869('0x10')][_0x3869('0xd')][_0x3869('0x29')]()),_0x32af51=_0x558473[_0x558473[_0x3869('0x3e')]-0x1],_0x78baac=_0x47b98a['model'][_0x3869('0x1e')][_0x3869('0x36')](_0x32af51)?'after':_0x3869('0xc'),_0x5e94ff=_0x47b98a[_0x3869('0xb')][_0x3869('0xf')](_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x558473[0x0],_0x3869('0x14')),_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x32af51,_0x78baac));_0x47b98a[_0x3869('0xb')]['change'](()=>{_0x1d4e68[_0x3869('0x25')](_0x5e94ff,{'commandName':_0x42765e,'commandParams':[],'formatGroupId':'listType'},function(_0x17f902){const _0x7fcbe=new Set();for(const _0x40abee of _0x17f902){let _0x5dab6b=_0x40abee[_0x3869('0x18')];for(;_0x5dab6b&&_0x5dab6b[_0x3869('0x7')](_0x3869('0x33'))>_0x40abee[_0x3869('0x7')](_0x3869('0x33'));)_0x7fcbe[_0x3869('0x5')](_0x5dab6b),_0x5dab6b=_0x5dab6b[_0x3869('0x18')];}return Array[_0x3869('0x3a')](_0x7fcbe);}(_0x558473));});};}function _0x5bc319(_0x93f8d6){return()=>{const _0x49674e=_0x47b98a[_0x3869('0xb')][_0x3869('0x10')][_0x3869('0xd')][_0x3869('0x29')]()['next']()[_0x3869('0x46')],_0x1765c9=_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x49674e,'before'),_0x3c055d=_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x49674e,0x0),_0x96299e=_0x47b98a['model'][_0x3869('0xf')](_0x1765c9,_0x3c055d);_0x47b98a[_0x3869('0xb')][_0x3869('0x0')](()=>{_0x1d4e68[_0x3869('0x25')](_0x96299e,{'commandName':_0x93f8d6,'commandParams':[],'formatGroupId':'listType'});});};}function _0x2e0fcd(_0x3ffda2){const _0x5ddfe8=_0x47b98a[_0x3869('0x27')][_0x3869('0x47')](_0x3869('0x13'))[_0x3869('0x46')],_0x5a2f9b=_0x47b98a[_0x3869('0x27')]['get'](_0x3869('0x20'))[_0x3869('0x46')];return _0x3869('0x20')===_0x3ffda2?_0x5ddfe8:_0x5a2f9b;}_0x1d4e68[_0x3869('0x39')](_0x3869('0x20'),_0x5deb1c(_0x3869('0x20'))),_0x1d4e68[_0x3869('0x39')](_0x3869('0x13'),_0x5deb1c(_0x3869('0x13'))),_0x1d4e68['enableCommand']('indentList',_0x1ded44(_0x3869('0x16'))),_0x1d4e68[_0x3869('0x39')](_0x3869('0x1d'),_0x1ded44(_0x3869('0x1d'))),_0x1d4e68[_0x3869('0x39')](_0x3869('0x40'),_0x5bc319(_0x3869('0x40'))),_0x1d4e68[_0x3869('0x39')]('splitListItemBefore',_0x5bc319('splitListItemBefore')),_0x1d4e68[_0x3869('0x17')][_0x3869('0x1c')](function(_0x1f589f){const _0x334627=!_0x47b98a['model'][_0x3869('0x1e')][_0x3869('0x36')](_0x1f589f),_0x4206d1=_0x1f589f[_0x3869('0x3c')],_0x492813=_0x1f589f[_0x3869('0x18')],_0x274a57=_0x1f589f[_0x3869('0x7')]('listItemId'),_0x456cc5=!_0x4206d1||_0x4206d1[_0x3869('0x7')]('listItemId')!==_0x274a57,_0x2e93e1=!_0x492813||_0x492813[_0x3869('0x7')](_0x3869('0x44'))!==_0x274a57;return _0x334627&&Boolean(_0x274a57)&&_0x456cc5&&_0x2e93e1;},_0x398795=>_0x25e30c(_0x4cd470,_0x3869('0x2'),_0x398795)),_0x1d4e68[_0x3869('0x17')]['registerDescriptionCallback'](function(_0x3065ad){const {data:_0x4de9d9}=_0x3065ad;if(!_0x4de9d9)return;let _0x4f6931,_0x10f938,_0x3fb883,_0x4b6724;switch(_0x4de9d9[_0x3869('0x31')]){case _0x3869('0x13'):_0x3fb883=_0x4de9d9[_0x3869('0xa')][0x0][_0x3869('0x32')],_0x4b6724=_0x2e0fcd(_0x4de9d9[_0x3869('0x31')]),_0x4f6931=_0x3fb883?'*Format:*\x20insert\x20into\x20%0':_0x3869('0x2e'),_0x4b6724&&(_0x4f6931=_0x3869('0x9')),_0x10f938={'type':_0x3869('0x38'),'content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x8')))};break;case _0x3869('0x20'):_0x3fb883=_0x4de9d9[_0x3869('0xa')][0x0]['forceValue'],_0x4b6724=_0x2e0fcd(_0x4de9d9[_0x3869('0x31')]),_0x4f6931=_0x3fb883?_0x3869('0x45'):_0x3869('0x2e'),_0x4b6724&&(_0x4f6931=_0x3869('0x9')),_0x10f938={'type':_0x3869('0x38'),'content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x2f')))};break;case _0x3869('0x16'):_0x4f6931=_0x3869('0x3b'),_0x10f938={'type':_0x3869('0x38'),'content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x2')))};break;case _0x3869('0x1d'):_0x4f6931=function(_0x181bf5){const _0x55d3cf=_0x181bf5[_0x3869('0x2a')]();let _0x323388=_0x55d3cf[_0x3869('0xe')]['nodeAfter'];for(;_0x323388&&_0x55d3cf[_0x3869('0x28')](_0x323388);){if(_0x323388['getAttribute']('listIndent')>0x0)return!0x1;_0x323388=_0x323388[_0x3869('0x18')];}return!0x0;}(_0x3065ad)?_0x25e30c(_0x4cd470,'*Format:*\x20remove\x20from\x20%0',_0x25e30c(_0x4cd470,function(_0x313b3b){const _0x5d9874=_0x313b3b[_0x3869('0x2a')]()[_0x3869('0xe')][_0x3869('0x37')];return'ELEMENT_'+_0x5d9874[_0x3869('0x7')](_0x3869('0x26'))[_0x3869('0x1b')]()+_0x3869('0x1a');}(_0x3065ad))):_0x25e30c(_0x4cd470,_0x3869('0x23'),_0x25e30c(_0x4cd470,_0x3869('0x2'))),_0x10f938={'type':_0x3869('0x38'),'content':_0x4f6931};break;case _0x3869('0x15'):case _0x3869('0x42'):!0x1===_0x4de9d9[_0x3869('0x3')]&&(_0x4f6931=_0x3869('0x24'),_0x10f938={'type':'deletion','content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x2')))});}return _0x10f938;}),_0x1d4e68['_suggestionFactory'][_0x3869('0x3f')](_0x3869('0x48'),_0x3869('0x19'),'accept',function(_0x49666c,_0x31dcef){const _0x27056f=[];for(let _0x19e488 of _0x49666c)_0x19e488['start'][_0x3869('0x37')]===_0x19e488[_0x3869('0xc')][_0x3869('0x12')]&&(_0x19e488=_0x47b98a['model']['createRange'](_0x47b98a[_0x3869('0xb')]['createPositionAt'](_0x19e488[_0x3869('0xe')][_0x3869('0x37')],0x0))),_0x27056f['push'](_0x19e488);_0x47b98a[_0x3869('0xb')][_0x3869('0x0')](_0x23242a=>{const _0x2accbb=_0x47b98a[_0x3869('0xb')]['document'][_0x3869('0xd')],_0x484bdc=Array[_0x3869('0x3a')](_0x2accbb['getRanges']())[_0x3869('0x1')](_0x4bb007=>_0x2b5f57[_0x3869('0x35')](_0x4bb007));_0x23242a['setSelection'](_0x27056f),_0x47b98a['commands'][_0x3869('0x47')](_0x31dcef['commandName'])['refresh'](),_0x31dcef[_0x3869('0xa')][_0x3869('0x2d')]({'forceDefaultExecution':!0x0}),_0x47b98a[_0x3869('0x6')](_0x31dcef[_0x3869('0x31')],..._0x31dcef[_0x3869('0xa')]),_0x23242a['setSelection'](_0x484bdc);for(const _0x2cb6d0 of _0x484bdc)_0x2cb6d0[_0x3869('0x43')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d92=['afterInit','_LIST_','locale','TrackChangesEditing','handleListStyleCommand','type','has','plugins','*Format:*\x20set\x20order\x20to\x20regular','bind','getAttribute','listReversed','config','handleDescriptions','replace','reversed','model','selection','commandParams','document','getSelectedBlocks','DocumentListPropertiesUtils','_getTranslationKeyForListStyle','styles','handleListStartCommand','format','from','push','listStart','expandListBlocksToCompleteList','handleListReversedCommand','*Change\x20to:*\x20%0','toUpperCase','_getSuggestionBlocksForListStyle','markMultiRangeBlockFormat','listStyle','_descriptionFactory','startIndex','editor','isFirstBlockOfListItem','DocumentListPropertiesEditing','isListItemBlock','get','_getSuggestionBlocks','DocumentListUtils','change','enableCommand','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','listType','ELEMENT_'];(function(_0x4ccb32,_0x3d9230){const _0x1ff0a8=function(_0x5c65b9){while(--_0x5c65b9){_0x4ccb32['push'](_0x4ccb32['shift']());}};_0x1ff0a8(++_0x3d9230);}(_0x3d92,0x1a6));const _0x1ff0=function(_0x4ccb32,_0x3d9230){_0x4ccb32=_0x4ccb32-0x0;let _0x1ff0a8=_0x3d92[_0x4ccb32];return _0x1ff0a8;};import{Plugin as _0x357c96}from'ckeditor5/src/core';import{getTranslation as _0x5f35e7}from'../utils/common-translations';export default class At extends _0x357c96{[_0x1ff0('0x2e')](){if(!this['editor'][_0x1ff0('0x1')][_0x1ff0('0x0')](_0x1ff0('0x22')))return;const _0x191a3a=this['editor'][_0x1ff0('0x6')][_0x1ff0('0x24')](_0x1ff0('0x29')),_0xcac827=this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0x31'));_0x191a3a[_0x1ff0('0x11')]&&_0xcac827[_0x1ff0('0x28')](_0x1ff0('0x1d'),this[_0x1ff0('0x32')]['bind'](this)),_0x191a3a['reversed']&&_0xcac827[_0x1ff0('0x28')](_0x1ff0('0x5'),this[_0x1ff0('0x18')][_0x1ff0('0x3')](this)),_0x191a3a['startIndex']&&_0xcac827[_0x1ff0('0x28')](_0x1ff0('0x16'),this['handleListStartCommand'][_0x1ff0('0x3')](this)),_0xcac827[_0x1ff0('0x1e')]['registerDescriptionCallback'](this['handleDescriptions'][_0x1ff0('0x3')](this));}[_0x1ff0('0x32')](_0x3695a8,_0x4170d6={}){const _0x24ab57=this[_0x1ff0('0x20')]['plugins']['get']('TrackChangesEditing'),_0x176e2c=this[_0x1ff0('0x1b')]();this[_0x1ff0('0x20')][_0x1ff0('0xa')]['change'](()=>{_0x24ab57[_0x1ff0('0x1c')](_0x176e2c,{'commandName':_0x1ff0('0x1d'),'commandParams':[{'type':_0x4170d6[_0x1ff0('0x33')]}],'formatGroupId':'listStyle'});});}[_0x1ff0('0x18')](_0x1557f9,_0x4f314c={}){const _0x1033fd=this['editor'][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0x31')),_0x39be80=this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')]('DocumentListUtils'),_0x234937=this[_0x1ff0('0x25')](_0x38e3b3=>_0x39be80['isListItemBlock'](_0x38e3b3)&&'numbered'===_0x38e3b3[_0x1ff0('0x4')](_0x1ff0('0x2c')));null!==_0x234937&&this[_0x1ff0('0x20')]['model'][_0x1ff0('0x27')](()=>{_0x1033fd[_0x1ff0('0x1c')](_0x234937,{'commandName':_0x1ff0('0x5'),'commandParams':[{'reversed':_0x4f314c[_0x1ff0('0x9')]}],'formatGroupId':'listReversed'});});}[_0x1ff0('0x12')](_0x44d19e,_0x226c5b={}){const _0x2953be=this[_0x1ff0('0x20')]['plugins'][_0x1ff0('0x24')](_0x1ff0('0x31')),_0xc4a499=this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0x26')),_0x55ff6a=this[_0x1ff0('0x25')](_0x1e327b=>_0xc4a499[_0x1ff0('0x23')](_0x1e327b)&&'numbered'===_0x1e327b['getAttribute'](_0x1ff0('0x2c')));null!==_0x55ff6a&&this[_0x1ff0('0x20')][_0x1ff0('0xa')][_0x1ff0('0x27')](()=>{_0x2953be['markMultiRangeBlockFormat'](_0x55ff6a,{'commandName':'listStart','commandParams':[{'startIndex':_0x226c5b[_0x1ff0('0x1f')]}],'formatGroupId':_0x1ff0('0x16')});});}[_0x1ff0('0x7')](_0x5d8cfe){const _0xdd22f6=this['editor'][_0x1ff0('0x30')],{data:_0x54bb74}=_0x5d8cfe;if(!_0x54bb74)return;let _0x572eb1,_0x510de1;switch(_0x54bb74['commandName']){case _0x1ff0('0x1d'):_0x572eb1=_0x1ff0('0x19'),_0x510de1={'type':_0x1ff0('0x13'),'content':_0x5f35e7(_0xdd22f6,_0x572eb1,_0x5f35e7(_0xdd22f6,this[_0x1ff0('0x10')](_0x54bb74['commandParams'][0x0][_0x1ff0('0x33')])))};break;case _0x1ff0('0x5'):_0x572eb1=_0x54bb74[_0x1ff0('0xc')][0x0][_0x1ff0('0x9')]?_0x1ff0('0x2a'):_0x1ff0('0x2'),_0x510de1={'type':_0x1ff0('0x13'),'content':_0x5f35e7(_0xdd22f6,_0x572eb1)};break;case _0x1ff0('0x16'):_0x572eb1=_0x1ff0('0x2b'),_0x510de1={'type':_0x1ff0('0x13'),'content':_0x5f35e7(_0xdd22f6,_0x572eb1,_0x54bb74[_0x1ff0('0xc')][0x0][_0x1ff0('0x1f')])};}return _0x510de1;}['_getSuggestionBlocksForListStyle'](){const _0x3c2e88=this['editor'][_0x1ff0('0x1')]['get']('DocumentListUtils');let _0x5bb969=Array['from'](this[_0x1ff0('0x20')][_0x1ff0('0xa')][_0x1ff0('0xd')][_0x1ff0('0xb')][_0x1ff0('0xe')]());return _0x5bb969[_0x1ff0('0x15')](..._0x3c2e88[_0x1ff0('0x17')](_0x5bb969)),_0x5bb969=[...new Set(_0x5bb969)],_0x5bb969;}[_0x1ff0('0x25')](_0x104a19){const _0x53d940=this['editor']['plugins'][_0x1ff0('0x24')](_0x1ff0('0x26'));let _0x264d77=Array[_0x1ff0('0x14')](this['editor'][_0x1ff0('0xa')][_0x1ff0('0xd')][_0x1ff0('0xb')][_0x1ff0('0xe')]())['filter'](_0x104a19);if(!_0x264d77['length'])return null;_0x264d77=_0x53d940[_0x1ff0('0x17')](_0x264d77);const _0x39757b=[];for(const _0x43625c of _0x264d77)_0x53d940[_0x1ff0('0x21')](_0x43625c)&&_0x39757b[_0x1ff0('0x15')](_0x43625c);return _0x39757b;}[_0x1ff0('0x10')](_0xc3c4eb){return _0x1ff0('0x2d')+this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0xf'))['getListTypeFromListStyleType'](_0xc3c4eb)[_0x1ff0('0x1a')]()+_0x1ff0('0x2f')+_0xc3c4eb[_0x1ff0('0x1a')]()[_0x1ff0('0x8')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4600=['requires','downcastDispatcher','mapper','markInsertion','unbindElementFromMarkerName','createPositionAt','enter','init','commands','getFirstPosition','change','plugins','markerName','fire','selection','addMarker:suggestion:insertion','showSuggestionHighlights','high','fromRange','split','editor','removeMarker:suggestion:insertion','model','ck-suggestion-marker-split','get','end','bind','markerNameToElements','afterExecute','createRange','editing','enableCommand','document','writer','parent','setSelection','options'];(function(_0x369906,_0x4600fa){const _0x32c2e3=function(_0x54e9b6){while(--_0x54e9b6){_0x369906['push'](_0x369906['shift']());}};_0x32c2e3(++_0x4600fa);}(_0x4600,0x149));const _0x32c2=function(_0x369906,_0x4600fa){_0x369906=_0x369906-0x0;let _0x32c2e3=_0x4600[_0x369906];return _0x32c2e3;};import{Plugin as _0x450ffd}from'ckeditor5/src/core';import{Enter as _0x525a71}from'ckeditor5/src/enter';import{LiveRange as _0x1d34da}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xf905e0}from'./utils';export default class q extends _0x450ffd{static get[_0x32c2('0x4')](){return[_0x525a71];}[_0x32c2('0xb')](){const _0x11959f=this[_0x32c2('0x18')],_0x5f747d=_0x11959f[_0x32c2('0xf')][_0x32c2('0x1c')]('TrackChangesEditing'),_0x530784=_0x11959f[_0x32c2('0xc')][_0x32c2('0x1c')](_0x32c2('0xa'));_0x5f747d[_0x32c2('0x23')](_0x32c2('0xa'),()=>{_0x11959f[_0x32c2('0x1a')][_0x32c2('0xe')](_0x290c53=>{const _0x59f6bb=_0x11959f[_0x32c2('0x1a')][_0x32c2('0x24')][_0x32c2('0x12')],_0x43c13a=_0x59f6bb[_0x32c2('0xd')](),_0x218f83=_0x1d34da[_0x32c2('0x16')](_0x59f6bb['getFirstRange']());if(_0x530784['enterBlock'](_0x290c53)){const _0x307404=_0x11959f[_0x32c2('0x1a')][_0x32c2('0x9')](_0x43c13a[_0x32c2('0x1')]['nextSibling'],0x0),_0x586f45=_0x290c53[_0x32c2('0x21')](_0x43c13a,_0x307404);_0x5f747d[_0x32c2('0x7')](_0x586f45);}else _0x290c53[_0x32c2('0x2')](_0x290c53[_0x32c2('0x21')](_0x218f83[_0x32c2('0x1d')]));_0x218f83['detach'](),_0x530784[_0x32c2('0x11')](_0x32c2('0x20'),{'writer':_0x290c53});});}),_0x11959f[_0x32c2('0x22')][_0x32c2('0x5')]['on'](_0x32c2('0x13'),_0xf905e0(_0x11959f,_0x32c2('0x17')),{'priority':_0x32c2('0x15')}),_0x11959f['editing'][_0x32c2('0x5')]['on'](_0x32c2('0x19'),(_0x4e7ae9,_0x3567ef,_0x242075)=>{const _0x10ab34=_0x242075['mapper'][_0x32c2('0x1f')](_0x3567ef[_0x32c2('0x10')]);if(_0x10ab34)for(const _0x4a8195 of _0x10ab34)_0x4a8195['hasClass'](_0x32c2('0x1b'))&&(_0x242075[_0x32c2('0x6')][_0x32c2('0x8')](_0x4a8195,_0x3567ef['markerName']),_0x242075[_0x32c2('0x0')]['remove'](_0x4a8195));},{'priority':_0x32c2('0x15')}),_0x11959f['data'][_0x32c2('0x5')]['on'](_0x32c2('0x13'),(_0x3eb7ec,_0x32a57a,_0x2cbc20)=>{_0x2cbc20[_0x32c2('0x3')][_0x32c2('0x14')]&&_0xf905e0(_0x11959f,_0x32c2('0x17'),{'showActiveMarker':!0x1})[_0x32c2('0x1e')](this)(_0x3eb7ec,_0x32a57a,_0x2cbc20);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ba5=['plugins','find','createPositionAt','markers','getMarkersGroup','FindAndReplaceUtils','afterInit','string','handleFindCommand','FindAndReplaceEditing','TrackChangesEditing','item','enableCommand','findPrevious','editor','getRange','bind','filter','model','get','_isInDeletionRange','findNext','getIntersection','replace','has'];(function(_0x46c022,_0x5ba5b3){const _0x42577d=function(_0x3143e7){while(--_0x3143e7){_0x46c022['push'](_0x46c022['shift']());}};_0x42577d(++_0x5ba5b3);}(_0x5ba5,0x18d));const _0x4257=function(_0x46c022,_0x5ba5b3){_0x46c022=_0x46c022-0x0;let _0x42577d=_0x5ba5[_0x46c022];return _0x42577d;};import{Plugin as _0x5b36e1}from'ckeditor5/src/core';export default class z extends _0x5b36e1{[_0x4257('0x9')](){if(!this[_0x4257('0x11')][_0x4257('0x3')][_0x4257('0x2')](_0x4257('0xc')))return;const _0x246226=this[_0x4257('0x11')][_0x4257('0x3')][_0x4257('0x16')](_0x4257('0xd'));_0x246226[_0x4257('0xf')](_0x4257('0x4'),this[_0x4257('0xb')][_0x4257('0x13')](this)),_0x246226[_0x4257('0xf')](_0x4257('0x18')),_0x246226[_0x4257('0xf')](_0x4257('0x10')),_0x246226[_0x4257('0xf')](_0x4257('0x1')),_0x246226['enableCommand']('replaceAll');}[_0x4257('0xb')](_0x34760e,_0x48f599,_0x4365a4={}){const _0x587100=this[_0x4257('0x11')][_0x4257('0x3')][_0x4257('0x16')](_0x4257('0x8'));void 0x0!==_0x4365a4&&_0x34760e(_0x4b3cb0=>(_0x4257('0xa')==typeof _0x48f599?_0x587100['findByTextCallback'](_0x48f599,_0x4365a4):_0x48f599)(_0x4b3cb0)[_0x4257('0x14')](_0x46d4f5=>!0x1===this[_0x4257('0x17')](_0x46d4f5,_0x4b3cb0[_0x4257('0xe')])),_0x4365a4);}[_0x4257('0x17')](_0x53b2f7,_0x21a5a9){const _0x537310=this[_0x4257('0x11')][_0x4257('0x15')]['createRange'](this['editor'][_0x4257('0x15')][_0x4257('0x5')](_0x21a5a9,_0x53b2f7['start']),this[_0x4257('0x11')]['model'][_0x4257('0x5')](_0x21a5a9,_0x53b2f7['end']));for(const _0x151422 of this[_0x4257('0x11')]['model'][_0x4257('0x6')][_0x4257('0x7')]('suggestion:deletion'))if(null!==_0x537310[_0x4257('0x0')](_0x151422[_0x4257('0x12')]()))return!0x0;return!0x1;}}
|