@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240124.0 → 0.0.0-nightly-20240126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.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/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.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-20240126.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20240126.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240126.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x198a=['model','editor','TrackChangesEditing','_isEnabledBasedOnSelection','isEnabled','get','_suggestions','canEditAt','refresh'];(function(_0xd011a5,_0x198a74){const _0x46cba7=function(_0xc8b430){while(--_0xc8b430){_0xd011a5['push'](_0xd011a5['shift']());}};_0x46cba7(++_0x198a74);}(_0x198a,0x9a));const _0x46cb=function(_0xd011a5,_0x198a74){_0xd011a5=_0xd011a5-0x0;let _0x46cba7=_0x198a[_0xd011a5];return _0x46cba7;};import{Command as _0x1cf4f4}from'ckeditor5/src/core.js';import{CKEditorError as _0x401445}from'ckeditor5/src/utils.js';export default class $ extends _0x1cf4f4{constructor(_0x42479c,_0xe873c1){super(_0x42479c),this['_suggestions']=_0xe873c1,this[_0x46cb('0x7')](),this[_0x46cb('0x2')]=!0x1;}['refresh'](){this[_0x46cb('0x3')]=!0x0;}['execute'](_0x51bf4c){const _0x331078=this[_0x46cb('0x5')]['get'](_0x51bf4c);if(!_0x331078)throw new _0x401445('track-changes-accept-suggestion-not-found',this);const _0x4f5543=_0x331078['getRanges']();this[_0x46cb('0x0')][_0x46cb('0x8')][_0x46cb('0x6')](_0x4f5543)&&this[_0x46cb('0x0')]['plugins'][_0x46cb('0x4')](_0x46cb('0x1'))['acceptSuggestion'](_0x331078);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2511=['_isEnabledBasedOnSelection','track-changes-discard-suggestion-not-found','canEditAt','discardSuggestion','plugins','getRanges','TrackChangesEditing','get','_suggestions','refresh','editor'];(function(_0x1c8816,_0x2511f0){const _0x5b2257=function(_0x108725){while(--_0x108725){_0x1c8816['push'](_0x1c8816['shift']());}};_0x5b2257(++_0x2511f0);}(_0x2511,0xdb));const _0x5b22=function(_0x1c8816,_0x2511f0){_0x1c8816=_0x1c8816-0x0;let _0x5b2257=_0x2511[_0x1c8816];return _0x5b2257;};import{Command as _0x86247d}from'ckeditor5/src/core.js';import{CKEditorError as _0x5544f1}from'ckeditor5/src/utils.js';export default class B extends _0x86247d{constructor(_0x3b11a5,_0xd2c433){super(_0x3b11a5),this[_0x5b22('0x9')]=_0xd2c433,this[_0x5b22('0xa')](),this[_0x5b22('0x1')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x4dda10){const _0x63f59e=this[_0x5b22('0x9')][_0x5b22('0x8')](_0x4dda10);if(!_0x63f59e)throw new _0x5544f1(_0x5b22('0x2'),this);const _0x166a31=_0x63f59e[_0x5b22('0x6')]();this[_0x5b22('0x0')]['model'][_0x5b22('0x3')](_0x166a31)&&this[_0x5b22('0x0')][_0x5b22('0x5')]['get'](_0x5b22('0x7'))[_0x5b22('0x4')](_0x63f59e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ab7=['_command','_isEnabledBasedOnSelection','isEnabled','editor','some','_suggestions','refresh','model','getRanges','isInContent'];(function(_0x489bf2,_0x1ab77a){const _0x4f0b35=function(_0x3a61b9){while(--_0x3a61b9){_0x489bf2['push'](_0x489bf2['shift']());}};_0x4f0b35(++_0x1ab77a);}(_0x1ab7,0x77));const _0x4f0b=function(_0x489bf2,_0x1ab77a){_0x489bf2=_0x489bf2-0x0;let _0x4f0b35=_0x1ab7[_0x489bf2];return _0x4f0b35;};import{Command as _0x1bd468}from'ckeditor5/src/core.js';import{sortSuggestions as _0x1b9991,executeCommandForSuggestions as _0x526e51}from'../utils/utils.js';export default class x extends _0x1bd468{constructor(_0x15b524,_0x205a8b,_0x2bf6a9){super(_0x15b524),this[_0x4f0b('0x1')]=_0x205a8b,this[_0x4f0b('0x6')]=_0x2bf6a9,this[_0x4f0b('0x7')](),this[_0x4f0b('0x2')]=!0x1;}[_0x4f0b('0x7')](){const _0x5676b7=Array['from'](this[_0x4f0b('0x6')]['values']())[_0x4f0b('0x5')](_0x10138a=>_0x10138a[_0x4f0b('0x0')]);this[_0x4f0b('0x3')]=this[_0x4f0b('0x1')]['isEnabled']&&_0x5676b7;}['execute'](){const _0x267559=_0x1b9991(Array['from'](this['_suggestions']['values']()));for(const _0x20932b of _0x267559){const _0x57b3e1=_0x20932b[_0x4f0b('0x9')]();if(!this[_0x4f0b('0x4')][_0x4f0b('0x8')]['canEditAt'](_0x57b3e1))return;}_0x526e51(this[_0x4f0b('0x4')][_0x4f0b('0x8')],this[_0x4f0b('0x1')],_0x267559);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5285=['model','_selectedSuggestions','document','refresh','from','editor','_command','execute','selection','getRanges','isEnabled','_suggestions'];(function(_0x5e2764,_0x528530){const _0x4b7e5b=function(_0x29cda5){while(--_0x29cda5){_0x5e2764['push'](_0x5e2764['shift']());}};_0x4b7e5b(++_0x528530);}(_0x5285,0x1ef));const _0x4b7e=function(_0x5e2764,_0x528530){_0x5e2764=_0x5e2764-0x0;let _0x4b7e5b=_0x5285[_0x5e2764];return _0x4b7e5b;};import{Command as _0x4fb5b7}from'ckeditor5/src/core.js';import{sortSuggestions as _0x481b19,getSelectedSuggestions as _0x4ee8a7,executeCommandForSuggestions as _0x283c84}from'../utils/utils.js';export default class R extends _0x4fb5b7{constructor(_0x5176b6,_0x1fef2f,_0x291a1c){super(_0x5176b6),this['_command']=_0x1fef2f,this['_suggestions']=_0x291a1c,this[_0x4b7e('0xa')]=new Set(),this[_0x4b7e('0x0')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0xed7255=this[_0x4b7e('0x2')]['model'][_0x4b7e('0xb')][_0x4b7e('0x5')],_0x355a88=Array[_0x4b7e('0x1')](this[_0x4b7e('0x8')]['values']());this[_0x4b7e('0xa')]=_0x4ee8a7(_0xed7255,_0x355a88),this[_0x4b7e('0x7')]=this[_0x4b7e('0x3')][_0x4b7e('0x7')]&&!!this['_selectedSuggestions']['size'];}[_0x4b7e('0x4')](){const _0x51ce7d=_0x481b19(Array[_0x4b7e('0x1')](this['_selectedSuggestions']));for(const _0xa2c57c of _0x51ce7d){const _0x448c2b=_0xa2c57c[_0x4b7e('0x6')]();if(!this[_0x4b7e('0x2')][_0x4b7e('0x9')]['canEditAt'](_0x448c2b))return;}_0x283c84(this['editor'][_0x4b7e('0x9')],this[_0x4b7e('0x3')],_0x51ce7d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ed0=['_enabledCommands','forceDisabled','value','isEnabled','commands','has','editor','refresh','execute','clearForceDisabled','TrackChangesCommand','_enableCommands','_isEnabledBasedOnSelection','affectsData','_disableUnsupportedCommands'];(function(_0x31666f,_0x3ed0be){const _0x40ec6a=function(_0x346481){while(--_0x346481){_0x31666f['push'](_0x31666f['shift']());}};_0x40ec6a(++_0x3ed0be);}(_0x3ed0,0x133));const _0x40ec=function(_0x31666f,_0x3ed0be){_0x31666f=_0x31666f-0x0;let _0x40ec6a=_0x3ed0[_0x31666f];return _0x40ec6a;};import{Command as _0x3a6e1a}from'ckeditor5/src/core.js';export default class M extends _0x3a6e1a{constructor(_0x1cc0c4,_0x6c1666){super(_0x1cc0c4),this[_0x40ec('0x8')]=_0x6c1666,this[_0x40ec('0xa')]=!0x1,this['refresh'](),this[_0x40ec('0x5')]=!0x1;}[_0x40ec('0x0')](){this[_0x40ec('0xb')]=!0x0;}[_0x40ec('0x1')](){this['value']=!this[_0x40ec('0xa')],this[_0x40ec('0xa')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x40ec('0x7')](){for(const _0x2d640f of this[_0x40ec('0xe')]['commands'][_0x40ec('0xc')]())_0x2d640f[_0x40ec('0x6')]&&!this['_enabledCommands']['has'](_0x2d640f)&&_0x2d640f[_0x40ec('0x9')](_0x40ec('0x3'));}[_0x40ec('0x4')](){for(const _0x3f4f8f of this[_0x40ec('0xe')][_0x40ec('0xc')][_0x40ec('0xc')]())_0x3f4f8f[_0x40ec('0x6')]&&!this[_0x40ec('0x8')][_0x40ec('0xd')](_0x3f4f8f)&&_0x3f4f8f[_0x40ec('0x2')](_0x40ec('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55e6=['enableCommand','get','showAIAssistant','TrackChangesEditing','plugins'];(function(_0xc7de9d,_0x55e695){const _0x1a5e4d=function(_0x292b4b){while(--_0x292b4b){_0xc7de9d['push'](_0xc7de9d['shift']());}};_0x1a5e4d(++_0x55e695);}(_0x55e6,0x98));const _0x1a5e=function(_0xc7de9d,_0x55e695){_0xc7de9d=_0xc7de9d-0x0;let _0x1a5e4d=_0x55e6[_0xc7de9d];return _0x1a5e4d;};import{Plugin as _0x1bba4c}from'ckeditor5/src/core.js';export default class E extends _0x1bba4c{['afterInit'](){const _0x185c5c=this['editor'],_0x287715=_0x185c5c[_0x1a5e('0x2')][_0x1a5e('0x4')](_0x1a5e('0x1'));_0x185c5c['commands']['get'](_0x1a5e('0x0'))&&_0x287715[_0x1a5e('0x3')](_0x1a5e('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12b4=['AlignmentEditing','center','alignment','_registerLegacyDescription','get','*Format:*\x20%0','has','TrackChangesEditing','registerDescriptionCallback','formatBlock','right','_descriptionFactory','commandParams','FORMAT_ALIGN_TO_RIGHT','editor','FORMAT_ALIGN_TO_LEFT','_enableDefaultAttributesIntegration','FORMAT_ALIGN_TO_CENTER','FORMAT_ALIGNMENT','justify','plugins','FORMAT_JUSTIFY_TEXT','afterInit','registerAttributeLabel'];(function(_0x14afb6,_0x12b484){const _0x34d056=function(_0x1047e4){while(--_0x1047e4){_0x14afb6['push'](_0x14afb6['shift']());}};_0x34d056(++_0x12b484);}(_0x12b4,0xba));const _0x34d0=function(_0x14afb6,_0x12b484){_0x14afb6=_0x14afb6-0x0;let _0x34d056=_0x12b4[_0x14afb6];return _0x34d056;};import{Plugin as _0x578a5b}from'ckeditor5/src/core.js';import{getTranslation as _0x24d9a1}from'../utils/common-translations.js';export default class V extends _0x578a5b{[_0x34d0('0x4')](){const _0x33f4fc=this['editor'],_0x1facea=_0x33f4fc['locale'];if(!_0x33f4fc[_0x34d0('0x2')][_0x34d0('0xc')](_0x34d0('0x6')))return;const _0x1e5b9f=_0x33f4fc['plugins'][_0x34d0('0xa')](_0x34d0('0xd'));_0x1e5b9f[_0x34d0('0x16')](_0x34d0('0x8'),[],[_0x34d0('0x8')]),_0x1e5b9f['_descriptionFactory'][_0x34d0('0x5')](_0x34d0('0x8'),_0x24d9a1(_0x1facea,_0x34d0('0x0'))),this['_registerLegacyDescription']();}[_0x34d0('0x9')](){const _0x14ea80=this[_0x34d0('0x14')],_0xb71f24=_0x14ea80['locale'];_0x14ea80[_0x34d0('0x2')]['get']('TrackChangesEditing')[_0x34d0('0x11')][_0x34d0('0xe')](_0x2a1216=>{if(_0x34d0('0xf')!=_0x2a1216['type'])return;const {data:_0x512dfa}=_0x2a1216;if(_0x512dfa&&'alignment'==_0x512dfa['commandName']){const _0x3db1f9=_0x512dfa[_0x34d0('0x12')][0x0]['value'];return{'type':'format','content':_0x24d9a1(_0xb71f24,_0x34d0('0xb'),function(_0xbee17f){switch(_0xbee17f){case'left':return _0x24d9a1(_0xb71f24,_0x34d0('0x15'));case _0x34d0('0x10'):return _0x24d9a1(_0xb71f24,_0x34d0('0x13'));case _0x34d0('0x7'):return _0x24d9a1(_0xb71f24,_0x34d0('0x17'));case _0x34d0('0x1'):return _0x24d9a1(_0xb71f24,_0x34d0('0x3'));}}(_0x3db1f9))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x465b=['toLowerCase','toUpperCase','strikethrough','format','subscript','superscript','_descriptionFactory','FORMAT_STRIKETHROUGH','afterInit','CodeEditing','FORMAT_','registerDescriptionCallback','locale','FORMAT_SUBSCRIPT','has','commandName','commandParams','_enableDefaultAttributesIntegration','plugins','bold','formatInline','SuperscriptEditing','SubscriptEditing','underline','registerAttributeLabel','code','_registerLegacyDescription','TrackChangesEditing','FORMAT_BOLD','get','italic'];(function(_0x115708,_0x465bb8){const _0x2409b7=function(_0x1fca76){while(--_0x1fca76){_0x115708['push'](_0x115708['shift']());}};_0x2409b7(++_0x465bb8);}(_0x465b,0xac));const _0x2409=function(_0x115708,_0x465bb8){_0x115708=_0x115708-0x0;let _0x2409b7=_0x465b[_0x115708];return _0x2409b7;};import{Plugin as _0x30122a}from'ckeditor5/src/core.js';import{getTranslation as _0x54fd93}from'../utils/common-translations.js';const ti=['BoldEditing','ItalicEditing','UnderlineEditing',_0x2409('0x17'),'StrikethroughEditing',_0x2409('0x5'),_0x2409('0x4')];export default class U extends _0x30122a{[_0x2409('0x16')](){const _0x4fb43e=this['editor'],_0x169c47=_0x4fb43e[_0x2409('0x1')][_0x2409('0xc')](_0x2409('0xa')),_0x3ab0b2=_0x4fb43e[_0x2409('0x1a')];for(const _0x2130f1 of ti){if(!_0x4fb43e['plugins'][_0x2409('0x1c')](_0x2130f1))continue;const _0x567386=_0x2130f1['slice'](0x0,-0x7)[_0x2409('0xe')](),_0xf6bdf4=_0x2409('0x18')+_0x567386[_0x2409('0xf')]();_0x169c47[_0x2409('0x0')](_0x567386,[_0x567386]),_0x169c47[_0x2409('0x14')][_0x2409('0x7')](_0x567386,_0x54fd93(_0x3ab0b2,_0xf6bdf4));}this[_0x2409('0x9')]();}['_registerLegacyDescription'](){const _0x2a06b0=this['editor'],_0x119f1c=_0x2a06b0[_0x2409('0x1a')],_0x530267=_0x2a06b0[_0x2409('0x1')][_0x2409('0xc')](_0x2409('0xa'));function _0x472c7b(_0x37eabe,_0x21d3e0){_0x530267[_0x2409('0x14')][_0x2409('0x19')](_0x388efb=>{if(_0x2409('0x3')!=_0x388efb['type'])return;const {data:_0x43f2d2}=_0x388efb;return _0x43f2d2&&_0x43f2d2[_0x2409('0x1d')]===_0x37eabe?_0x43f2d2[_0x2409('0x1e')][0x0]['forceValue']?{'type':_0x2409('0x11'),'content':_0x54fd93(_0x119f1c,'*Format:*\x20%0',_0x21d3e0)}:{'type':_0x2409('0x11'),'content':_0x54fd93(_0x119f1c,'*Remove\x20format:*\x20%0',_0x21d3e0)}:void 0x0;});}_0x472c7b(_0x2409('0x2'),_0x54fd93(_0x119f1c,_0x2409('0xb'))),_0x472c7b(_0x2409('0xd'),_0x54fd93(_0x119f1c,'FORMAT_ITALIC')),_0x472c7b(_0x2409('0x6'),_0x54fd93(_0x119f1c,'FORMAT_UNDERLINE')),_0x472c7b(_0x2409('0x8'),_0x54fd93(_0x119f1c,'FORMAT_CODE')),_0x472c7b(_0x2409('0x10'),_0x54fd93(_0x119f1c,_0x2409('0x15'))),_0x472c7b(_0x2409('0x12'),_0x54fd93(_0x119f1c,_0x2409('0x1b'))),_0x472c7b(_0x2409('0x13'),_0x54fd93(_0x119f1c,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9f37=['plugins','commands','getSelectedBlocks','$root','checkChild','markBlockFormat','_descriptionFactory','change','format','document','editor','forceValue','get','afterInit','*Set\x20format:*\x20%0','parent','BlockQuoteEditing','locale','filter','selection','commandParams','model','ELEMENT_BLOCK_QUOTE','TrackChangesEditing','value','blockQuote','enableCommand','*Remove\x20format:*\x20%0','registerDescriptionCallback','name'];(function(_0x10efdd,_0x9f3742){const _0x231767=function(_0x518c6b){while(--_0x518c6b){_0x10efdd['push'](_0x10efdd['shift']());}};_0x231767(++_0x9f3742);}(_0x9f37,0xab));const _0x2317=function(_0x10efdd,_0x9f3742){_0x10efdd=_0x10efdd-0x0;let _0x231767=_0x9f37[_0x10efdd];return _0x231767;};import{Plugin as _0x219259}from'ckeditor5/src/core.js';import{getTranslation as _0x125b0a}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x36825b}from'../utils/utils.js';export default class O extends _0x219259{[_0x2317('0x16')](){const _0x58f5a0=this['editor'],_0x3f3d87=_0x58f5a0[_0x2317('0x1a')];if(!_0x58f5a0[_0x2317('0x9')]['has'](_0x2317('0x19')))return;const _0x3a6f8f=_0x58f5a0[_0x2317('0x9')][_0x2317('0x15')](_0x2317('0x2')),_0x4eed7f=this[_0x2317('0x13')][_0x2317('0xa')]['get'](_0x2317('0x4'));_0x3a6f8f[_0x2317('0x5')]('blockQuote',(_0x59c2a1,_0x25fbe9={})=>{const _0xae9eef=this[_0x2317('0x13')]['model'][_0x2317('0x12')][_0x2317('0x1c')],_0x39efb2=_0x25fbe9&&void 0x0!==_0x25fbe9[_0x2317('0x14')]?_0x25fbe9[_0x2317('0x14')]:!_0x4eed7f[_0x2317('0x3')];let _0x1d4240=[];if(_0x39efb2){const _0x81e7f0=Array['from'](_0xae9eef[_0x2317('0xb')]())[_0x2317('0x1b')](_0x5d26f2=>oo(_0x5d26f2)||function(_0x3fb276,_0x11d1fb){const _0x1bf751=_0x11d1fb[_0x2317('0xd')](_0x3fb276[_0x2317('0x18')],_0x2317('0x4')),_0x4184f9=_0x11d1fb[_0x2317('0xd')]([_0x2317('0xc'),_0x2317('0x4')],_0x3fb276);return _0x1bf751&&_0x4184f9;}(_0x5d26f2,this[_0x2317('0x13')][_0x2317('0x0')]['schema']));_0x1d4240=_0x36825b(_0x81e7f0,_0x58f5a0[_0x2317('0x0')]);}else{const _0x2d096e=Array['from'](_0xae9eef['getSelectedBlocks']())[_0x2317('0x1b')](_0x2e3dff=>oo(_0x2e3dff));_0x1d4240=_0x36825b(_0x2d096e,_0x58f5a0[_0x2317('0x0')]);}_0x58f5a0['model'][_0x2317('0x10')](()=>{for(const _0x1f5db9 of _0x1d4240)_0x3a6f8f[_0x2317('0xe')](_0x1f5db9,{'commandName':_0x2317('0x4'),'commandParams':[{'forceValue':_0x39efb2}]});});}),_0x3a6f8f[_0x2317('0xf')][_0x2317('0x7')](_0x205ed7=>{const {data:_0x1df7ff}=_0x205ed7;if(_0x1df7ff&&'blockQuote'==_0x1df7ff['commandName']){const _0x2d8643=_0x125b0a(_0x3f3d87,_0x2317('0x1'));return _0x1df7ff[_0x2317('0x1d')][0x0][_0x2317('0x14')]?{'type':'format','content':_0x125b0a(_0x3f3d87,_0x2317('0x17'),_0x2d8643)}:{'type':_0x2317('0x11'),'content':_0x125b0a(_0x3f3d87,_0x2317('0x6'),_0x2d8643)};}});}}function oo(_0x2b0d58){return _0x2317('0x4')==_0x2b0d58[_0x2317('0x18')][_0x2317('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bae=['afterInit','plugins','changeCaseTitle','changeCaseUpper','enableCommand','TrackChangesEditing','get','has','changeCaseLower'];(function(_0x54d316,_0x5baefc){const _0x2e0687=function(_0x31ccaa){while(--_0x31ccaa){_0x54d316['push'](_0x54d316['shift']());}};_0x2e0687(++_0x5baefc);}(_0x5bae,0x1c8));const _0x2e06=function(_0x54d316,_0x5baefc){_0x54d316=_0x54d316-0x0;let _0x2e0687=_0x5bae[_0x54d316];return _0x2e0687;};import{Plugin as _0x2e5340}from'ckeditor5/src/core.js';export default class G extends _0x2e5340{[_0x2e06('0x3')](){const _0x5ae3ab=this['editor'];_0x5ae3ab[_0x2e06('0x4')][_0x2e06('0x1')]('CaseChange')&&(_0x5ae3ab[_0x2e06('0x4')][_0x2e06('0x0')]('TrackChangesEditing')[_0x2e06('0x7')](_0x2e06('0x6')),_0x5ae3ab[_0x2e06('0x4')][_0x2e06('0x0')]('TrackChangesEditing')[_0x2e06('0x7')](_0x2e06('0x2')),_0x5ae3ab[_0x2e06('0x4')]['get'](_0x2e06('0x8'))[_0x2e06('0x7')](_0x2e06('0x5')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2639=['afterInit','ckbox','enableCommand','get','plugins','editor','TrackChangesEditing'];(function(_0x4d2ecc,_0x263911){const _0x274332=function(_0x3d82af){while(--_0x3d82af){_0x4d2ecc['push'](_0x4d2ecc['shift']());}};_0x274332(++_0x263911);}(_0x2639,0x1a8));const _0x2743=function(_0x4d2ecc,_0x263911){_0x4d2ecc=_0x4d2ecc-0x0;let _0x274332=_0x2639[_0x4d2ecc];return _0x274332;};import{Plugin as _0xd4238e}from'ckeditor5/src/core.js';export default class F extends _0xd4238e{[_0x2743('0x3')](){const _0x381c16=this[_0x2743('0x1')];_0x381c16['commands'][_0x2743('0x6')](_0x2743('0x4'))&&_0x381c16[_0x2743('0x0')][_0x2743('0x6')](_0x2743('0x2'))[_0x2743('0x5')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5023=['*Remove\x20format:*\x20%0','outdentCodeBlock','isLimit','ELEMENT_CODE_BLOCK','model','commandParams','registerDescriptionCallback','*Set\x20format:*\x20%0','languages','plugins','afterInit','config','blockName','enableCommand','has','rootElement','change','find','value','commandName','filter','parent','from','getSelectedBlocks','selection','schema','formatBlock','registerElementLabel','label','_descriptionFactory','type','codeBlock','forceValue','markBlockFormat','name','document','get','toLowerCase','language'];(function(_0x390b72,_0x50237d){const _0x5298e4=function(_0x50b97c){while(--_0x50b97c){_0x390b72['push'](_0x390b72['shift']());}};_0x5298e4(++_0x50237d);}(_0x5023,0x72));const _0x5298=function(_0x390b72,_0x50237d){_0x390b72=_0x390b72-0x0;let _0x5298e4=_0x5023[_0x390b72];return _0x5298e4;};import{Plugin as _0x3ef5ff}from'ckeditor5/src/core.js';import{getTranslation as _0x3b7fa1}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x5b8460}from'../utils/utils.js';export default class L extends _0x3ef5ff{[_0x5298('0xd')](){const _0xcf285=this['editor'];if(!_0xcf285[_0x5298('0xc')][_0x5298('0x11')]('CodeBlock'))return;const _0x1db6c6=_0xcf285[_0x5298('0xc')][_0x5298('0x0')]('TrackChangesEditing'),_0x625347=_0xcf285['locale'],_0x179628=_0xcf285[_0x5298('0xe')]['get'](_0x5298('0x22'))[_0x5298('0xb')],_0x2cb970=_0xcf285['commands'][_0x5298('0x0')](_0x5298('0x22'));_0x1db6c6[_0x5298('0x10')]('indentCodeBlock'),_0x1db6c6['enableCommand'](_0x5298('0x4')),_0x1db6c6[_0x5298('0x10')](_0x5298('0x22'),(_0x50250e,_0x2f95cf={})=>{const _0x5383bd=_0xcf285['model'],_0x52566d=_0xcf285[_0x5298('0x7')][_0x5298('0x26')][_0x5298('0x1b')],_0x4ff8ef=_0x2f95cf&&void 0x0!==_0x2f95cf[_0x5298('0x23')]?_0x2f95cf[_0x5298('0x23')]:!_0x2cb970[_0x5298('0x15')];let _0x114cb8;_0x2f95cf['language']||(_0x2f95cf[_0x5298('0x2')]=_0x179628[0x0][_0x5298('0x2')]),_0x114cb8=_0x4ff8ef?Array[_0x5298('0x19')](_0x52566d[_0x5298('0x1a')]())[_0x5298('0x17')](_0x150fc6=>eo(_0x150fc6)||function(_0x2ca8d7,_0x330b45){if(_0x2ca8d7['is'](_0x5298('0x12'))||_0x330b45[_0x5298('0x5')](_0x2ca8d7))return!0x1;return _0x330b45['checkChild'](_0x2ca8d7[_0x5298('0x18')],_0x5298('0x22'));}(_0x150fc6,_0x5383bd[_0x5298('0x1c')])):Array[_0x5298('0x19')](_0x52566d[_0x5298('0x1a')]())[_0x5298('0x17')](_0x1b3e69=>eo(_0x1b3e69));const _0x4ee447=_0x5b8460(_0x114cb8,_0x5383bd);_0x5383bd[_0x5298('0x13')](()=>{for(const _0x10f2f1 of _0x4ee447)_0x1db6c6[_0x5298('0x24')](_0x10f2f1,{'commandName':_0x5298('0x22'),'commandParams':[{..._0x2f95cf,'forceValue':_0x4ff8ef}],'formatGroupId':_0x5298('0xf')});});}),(_0x1db6c6[_0x5298('0x20')][_0x5298('0x1e')]('codeBlock',_0x209544=>_0x3b7fa1(_0x625347,_0x5298('0x6'),_0x209544)),_0x1db6c6[_0x5298('0x20')][_0x5298('0x9')](_0x163a46=>{if(_0x5298('0x1d')!=_0x163a46[_0x5298('0x21')])return;const _0xe364b5=_0x625347['t'],{data:_0x3a1ef8}=_0x163a46;if(!_0x3a1ef8||'codeBlock'!=_0x3a1ef8[_0x5298('0x16')])return;const _0x44941f=_0x3a1ef8[_0x5298('0x8')][0x0][_0x5298('0x2')],_0x3363d4=_0xe364b5(_0x179628[_0x5298('0x14')](_0x527f25=>_0x527f25[_0x5298('0x2')]===_0x44941f)[_0x5298('0x1f')])[_0x5298('0x1')]();return _0x3a1ef8['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x3b7fa1(_0x625347,_0x5298('0xa'),_0x3b7fa1(_0x625347,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x3363d4+')')}:{'type':'format','content':_0x3b7fa1(_0x625347,_0x5298('0x3'),_0x3b7fa1(_0x625347,_0x5298('0x6'),0x1))};}));}}function eo(_0x925250){return _0x5298('0x22')==_0x925250[_0x5298('0x25')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24ed=['CommentsEditing','get','enableCommand','afterInit','plugins','TrackChangesEditing','editor','has'];(function(_0x1c214a,_0x24ed0b){const _0x3ce307=function(_0x17178f){while(--_0x17178f){_0x1c214a['push'](_0x1c214a['shift']());}};_0x3ce307(++_0x24ed0b);}(_0x24ed,0xda));const _0x3ce3=function(_0x1c214a,_0x24ed0b){_0x1c214a=_0x1c214a-0x0;let _0x3ce307=_0x24ed[_0x1c214a];return _0x3ce307;};import{Plugin as _0x2de45e}from'ckeditor5/src/core.js';export default class H extends _0x2de45e{[_0x3ce3('0x1')](){const _0x5d57d8=this[_0x3ce3('0x4')];if(!_0x5d57d8['plugins'][_0x3ce3('0x5')](_0x3ce3('0x6')))return;_0x5d57d8[_0x3ce3('0x2')][_0x3ce3('0x7')](_0x3ce3('0x3'))[_0x3ce3('0x0')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x443b=['start','showSuggestionHighlights','unbindElementFromMarkerName','editor','get','downcastDispatcher','mapper','uiElement','lock','addMarker:suggestion:deletion','plugins','removeMarker:suggestion:deletion','enableCommand','commands','getFirstRange','model','merge','forward','deleteForward','init','batch','detach','rootName','high','modifySelection','end','buffer','bind','options','createSelection','createRange','writer','document','$graveyard','editing','enqueueChange'];(function(_0x169f6d,_0x443b04){const _0x5b4991=function(_0x3f6908){while(--_0x3f6908){_0x169f6d['push'](_0x169f6d['shift']());}};_0x5b4991(++_0x443b04);}(_0x443b,0xc3));const _0x5b49=function(_0x169f6d,_0x443b04){_0x169f6d=_0x169f6d-0x0;let _0x5b4991=_0x443b[_0x169f6d];return _0x5b4991;};import{Plugin as _0x22a967}from'ckeditor5/src/core.js';import{LiveRange as _0x520dd7}from'ckeditor5/src/engine.js';import{Delete as _0x4f9377}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x541703}from'./utils.js';export default class q extends _0x22a967{static get['requires'](){return[_0x4f9377];}[_0x5b49('0x4')](){const _0x5f2592=this[_0x5b49('0x18')],_0xf55e4e=_0x5f2592[_0x5b49('0x1f')][_0x5b49('0x19')]('TrackChangesEditing');_0xf55e4e['enableCommand']('delete');const _0x3c875c=_0x5f2592[_0x5b49('0x22')][_0x5b49('0x19')](_0x5b49('0x3'));_0xf55e4e[_0x5b49('0x21')](_0x5b49('0x3'),(_0x46e0ee,_0x20ffdb={})=>{const _0x565b54=_0x5f2592[_0x5b49('0x0')][_0x5b49('0xe')](_0x5f2592[_0x5b49('0x0')][_0x5b49('0x11')]['selection']);_0x565b54['isCollapsed']&&_0x5f2592[_0x5b49('0x0')][_0x5b49('0x9')](_0x565b54,{'direction':_0x5b49('0x2'),'unit':_0x20ffdb['unit']});const _0x47f7f5=_0x565b54[_0x5b49('0x23')](),_0x5b2ae6=_0x520dd7['fromRange'](_0x47f7f5);let _0x559439;_0x46e0ee(_0x20ffdb),_0x559439=_0x5b49('0x12')==_0x5b2ae6['root'][_0x5b49('0x7')]?_0x5f2592[_0x5b49('0x0')][_0x5b49('0xf')](_0x47f7f5[_0x5b49('0x15')]):_0x5f2592[_0x5b49('0x0')][_0x5b49('0xf')](_0x5b2ae6[_0x5b49('0x15')],_0x5b2ae6[_0x5b49('0xa')]),_0x5b2ae6[_0x5b49('0x6')](),_0x5f2592[_0x5b49('0x0')][_0x5b49('0x14')](_0x3c875c[_0x5b49('0xb')][_0x5b49('0x5')],_0x18813e=>{_0x3c875c[_0x5b49('0xb')][_0x5b49('0x1d')](),_0x18813e['setSelection'](_0x18813e[_0x5b49('0xf')](_0x559439['end'])),_0x3c875c[_0x5b49('0xb')]['unlock']();});}),_0x5f2592[_0x5b49('0x13')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x541703(_0x5f2592,_0x5b49('0x1')),{'priority':_0x5b49('0x8')}),_0x5f2592['data'][_0x5b49('0x1a')]['on'](_0x5b49('0x1e'),(_0x5f2f6f,_0x22c81f,_0x4a413a)=>{_0x4a413a[_0x5b49('0xd')][_0x5b49('0x16')]&&_0x541703(_0x5f2592,_0x5b49('0x1'),{'showActiveMarker':!0x1})[_0x5b49('0xc')](this)(_0x5f2f6f,_0x22c81f,_0x4a413a);},{'priority':_0x5b49('0x8')}),_0x5f2592[_0x5b49('0x13')][_0x5b49('0x1a')]['on'](_0x5b49('0x20'),(_0x3fc914,_0x45fc0a,_0x10da98)=>{const _0x435d80=_0x10da98[_0x5b49('0x1b')]['markerNameToElements'](_0x45fc0a['markerName']);if(_0x435d80)for(const _0x50c0ff of _0x435d80)_0x50c0ff['is'](_0x5b49('0x1c'))&&(_0x10da98[_0x5b49('0x1b')][_0x5b49('0x17')](_0x50c0ff,_0x45fc0a['markerName']),_0x10da98[_0x5b49('0x10')]['remove'](_0x50c0ff));},{'priority':_0x5b49('0x8')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ec3=['setSelection','getFirstPosition','ck-suggestion-marker-split','mapper','split','init','showSuggestionHighlights','getFirstRange','bind','selection','addMarker:suggestion:insertion','remove','change','hasClass','document','commands','afterExecute','parent','markerName','TrackChangesEditing','downcastDispatcher','writer','enterBlock','markerNameToElements','end','options','enter','editing','high','createRange','enableCommand','markInsertion','plugins','model','data','removeMarker:suggestion:insertion','fromRange','createPositionAt','detach'];(function(_0x2dc1d7,_0x3ec3e6){const _0x361c0d=function(_0xc193cc){while(--_0xc193cc){_0x2dc1d7['push'](_0x2dc1d7['shift']());}};_0x361c0d(++_0x3ec3e6);}(_0x3ec3,0x124));const _0x361c=function(_0x2dc1d7,_0x3ec3e6){_0x2dc1d7=_0x2dc1d7-0x0;let _0x361c0d=_0x3ec3[_0x2dc1d7];return _0x361c0d;};import{Plugin as _0x379090}from'ckeditor5/src/core.js';import{Enter as _0x290766}from'ckeditor5/src/enter.js';import{LiveRange as _0xb1739e}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x47b5ee}from'./utils.js';export default class W extends _0x379090{static get['requires'](){return[_0x290766];}[_0x361c('0x19')](){const _0x219315=this['editor'],_0xafd8ce=_0x219315[_0x361c('0xd')]['get'](_0x361c('0x0')),_0x4b76d4=_0x219315[_0x361c('0x23')]['get']('enter');_0xafd8ce[_0x361c('0xb')](_0x361c('0x7'),()=>{_0x219315[_0x361c('0xe')][_0x361c('0x20')](_0x56ee64=>{const _0x86d400=_0x219315[_0x361c('0xe')][_0x361c('0x22')][_0x361c('0x1d')],_0x39b2a4=_0x86d400[_0x361c('0x15')](),_0x5f140c=_0xb1739e[_0x361c('0x11')](_0x86d400[_0x361c('0x1b')]());if(_0x4b76d4[_0x361c('0x3')](_0x56ee64)){const _0x692e82=_0x219315[_0x361c('0xe')][_0x361c('0x12')](_0x39b2a4[_0x361c('0x25')]['nextSibling'],0x0),_0x3233b9=_0x56ee64['createRange'](_0x39b2a4,_0x692e82);_0xafd8ce[_0x361c('0xc')](_0x3233b9);}else _0x56ee64[_0x361c('0x14')](_0x56ee64[_0x361c('0xa')](_0x5f140c[_0x361c('0x5')]));_0x5f140c[_0x361c('0x13')](),_0x4b76d4['fire'](_0x361c('0x24'),{'writer':_0x56ee64});});}),_0x219315['editing']['downcastDispatcher']['on'](_0x361c('0x1e'),_0x47b5ee(_0x219315,_0x361c('0x18')),{'priority':_0x361c('0x9')}),_0x219315[_0x361c('0x8')]['downcastDispatcher']['on'](_0x361c('0x10'),(_0x4eca37,_0x206060,_0x1b882b)=>{const _0x58f9b1=_0x1b882b[_0x361c('0x17')][_0x361c('0x4')](_0x206060[_0x361c('0x26')]);if(_0x58f9b1)for(const _0x2b9251 of _0x58f9b1)_0x2b9251[_0x361c('0x21')](_0x361c('0x16'))&&(_0x1b882b[_0x361c('0x17')]['unbindElementFromMarkerName'](_0x2b9251,_0x206060[_0x361c('0x26')]),_0x1b882b[_0x361c('0x2')][_0x361c('0x1f')](_0x2b9251));},{'priority':_0x361c('0x9')}),_0x219315[_0x361c('0xf')][_0x361c('0x1')]['on'](_0x361c('0x1e'),(_0x533ff6,_0x4c7ed4,_0x218581)=>{_0x218581[_0x361c('0x6')][_0x361c('0x1a')]&&_0x47b5ee(_0x219315,_0x361c('0x18'),{'showActiveMarker':!0x1})[_0x361c('0x1c')](this)(_0x533ff6,_0x4c7ed4,_0x218581);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xed39=['getIntersection','has','afterInit','createRange','item','findPrevious','model','find','markers','getMarkersGroup','editor','end','replaceAll','_isInDeletionRange','plugins','enableCommand','FindAndReplaceEditing','findNext','createPositionAt','getRange','get','findByTextCallback','handleFindCommand','filter','FindAndReplaceUtils'];(function(_0x13dfcb,_0xed390b){const _0x4b48b1=function(_0xd19d91){while(--_0xd19d91){_0x13dfcb['push'](_0x13dfcb['shift']());}};_0x4b48b1(++_0xed390b);}(_0xed39,0xb7));const _0x4b48=function(_0x13dfcb,_0xed390b){_0x13dfcb=_0x13dfcb-0x0;let _0x4b48b1=_0xed39[_0x13dfcb];return _0x4b48b1;};import{Plugin as _0x1ac307}from'ckeditor5/src/core.js';export default class J extends _0x1ac307{[_0x4b48('0x13')](){if(!this[_0x4b48('0x2')][_0x4b48('0x6')][_0x4b48('0x12')](_0x4b48('0x8')))return;const _0x2eb1e1=this['editor'][_0x4b48('0x6')]['get']('TrackChangesEditing');_0x2eb1e1['enableCommand'](_0x4b48('0x18'),this[_0x4b48('0xe')]['bind'](this)),_0x2eb1e1[_0x4b48('0x7')](_0x4b48('0x9')),_0x2eb1e1['enableCommand'](_0x4b48('0x16')),_0x2eb1e1[_0x4b48('0x7')]('replace'),_0x2eb1e1[_0x4b48('0x7')](_0x4b48('0x4'));}[_0x4b48('0xe')](_0xaa0482,_0x4129ab,_0x4a21b3={}){const _0x201aaa=this[_0x4b48('0x2')][_0x4b48('0x6')][_0x4b48('0xc')](_0x4b48('0x10'));return _0xaa0482(_0x583ac7=>('string'==typeof _0x4129ab?_0x201aaa[_0x4b48('0xd')](_0x4129ab,_0x4a21b3):_0x4129ab)(_0x583ac7)[_0x4b48('0xf')](_0x32ba09=>!0x1===this[_0x4b48('0x5')](_0x32ba09,_0x583ac7[_0x4b48('0x15')])),_0x4a21b3);}['_isInDeletionRange'](_0xf3ff78,_0x1eccef){const _0x3665b5=this[_0x4b48('0x2')][_0x4b48('0x17')][_0x4b48('0x14')](this[_0x4b48('0x2')]['model'][_0x4b48('0xa')](_0x1eccef,_0xf3ff78['start']),this[_0x4b48('0x2')][_0x4b48('0x17')][_0x4b48('0xa')](_0x1eccef,_0xf3ff78[_0x4b48('0x3')]));for(const _0x8eff46 of this[_0x4b48('0x2')][_0x4b48('0x17')][_0x4b48('0x0')][_0x4b48('0x1')]('suggestion:deletion'))if(null!==_0x3665b5[_0x4b48('0x11')](_0x8eff46[_0x4b48('0xb')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17f8=['*Set\x20font\x20family:*\x20%0','formatInline','*Reset\x20font\x20family*','normalizeSizeOptions','FORMAT_FONT_COLOR','type','commandName','label','registerAttributeLabel','value','fontColor.colors','_registerLegacyDescription','fontColor','*Set\x20font\x20color:*\x20%0','FontSize','*Reset\x20font\x20background\x20color*','*Set\x20font\x20size:*\x20%0','editor','toLowerCase','*Reset\x20font\x20color*','fontBackgroundColor','fontSize','FORMAT_FONT_SIZE','model','fontSize.options','config','fontBackgroundColor.colors','*Reset\x20font\x20size*','_descriptionFactory','locale','trim','commandParams','registerDescriptionCallback','get','_enableDefaultAttributesIntegration','format','find','has','TrackChangesEditing','plugins','fontFamily','FontBackgroundColorEditing','FORMAT_FONT_FAMILY','FontColorEditing','FontSizeEditing'];(function(_0x1052f9,_0x17f820){const _0x41120f=function(_0x1335db){while(--_0x1335db){_0x1052f9['push'](_0x1052f9['shift']());}};_0x41120f(++_0x17f820);}(_0x17f8,0xa8));const _0x4112=function(_0x1052f9,_0x17f820){_0x1052f9=_0x1052f9-0x0;let _0x41120f=_0x17f8[_0x1052f9];return _0x41120f;};import{Plugin as _0x36b297}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x4b91a4}from'ckeditor5/src/ui.js';import{getTranslation as _0xc9e78}from'../utils/common-translations.js';const ro=[{'pluginName':_0x4112('0xb'),'commandName':_0x4112('0x21')},{'pluginName':'FontFamilyEditing','commandName':_0x4112('0x7')},{'pluginName':_0x4112('0xa'),'commandName':_0x4112('0x18')},{'pluginName':_0x4112('0x8'),'commandName':_0x4112('0x20')}];export default class Q extends _0x36b297{['afterInit'](){const _0x3ddedb=this[_0x4112('0x1d')]['locale'],_0x2ceb5d=this['editor'][_0x4112('0x6')][_0x4112('0x0')](_0x4112('0x5'));for(const {pluginName:_0x43da73,commandName:_0x56a994}of ro)this['editor'][_0x4112('0x6')][_0x4112('0x4')](_0x43da73)&&_0x2ceb5d[_0x4112('0x1')](_0x56a994,[_0x56a994]);_0x3ddedb['t'],(_0x2ceb5d[_0x4112('0x28')][_0x4112('0x14')](_0x4112('0x21'),_0xc9e78(_0x3ddedb,_0x4112('0x22'))),_0x2ceb5d[_0x4112('0x28')]['registerAttributeLabel'](_0x4112('0x7'),_0xc9e78(_0x3ddedb,_0x4112('0x9'))),_0x2ceb5d[_0x4112('0x28')][_0x4112('0x14')](_0x4112('0x18'),_0xc9e78(_0x3ddedb,_0x4112('0x10'))),_0x2ceb5d[_0x4112('0x28')]['registerAttributeLabel'](_0x4112('0x20'),_0xc9e78(_0x3ddedb,'FORMAT_FONT_BACKGROUND')),this[_0x4112('0x17')]());}['_registerLegacyDescription'](){const _0x4973c9=this[_0x4112('0x1d')],_0x3d9ee0=_0x4973c9[_0x4112('0x29')];_0x4973c9[_0x4112('0x6')][_0x4112('0x0')](_0x4112('0x5'))[_0x4112('0x28')][_0x4112('0x2c')](_0x30353f=>{const _0x3fdaaa=_0x3d9ee0['t'];if(_0x4112('0xd')!=_0x30353f[_0x4112('0x11')])return;const {data:_0xaec08}=_0x30353f;if(null!=_0xaec08){if(_0x4112('0x21')==_0xaec08[_0x4112('0x12')]){const _0x4685b2=_0xaec08[_0x4112('0x2b')][0x0][_0x4112('0x15')];if(_0x4685b2){const _0xcccbc5=_0x3fdaaa(this[_0x4112('0x1d')][_0x4112('0x6')][_0x4112('0x0')](_0x4112('0x1a'))[_0x4112('0xf')](this[_0x4112('0x1d')][_0x4112('0x25')][_0x4112('0x0')](_0x4112('0x24')))[_0x4112('0x3')](_0x3d9949=>_0x3d9949[_0x4112('0x23')]==_0x4685b2)['title'])[_0x4112('0x1e')]();return{'type':'format','content':_0xc9e78(_0x3d9ee0,_0x4112('0x1c'),_0xcccbc5)};}return{'type':_0x4112('0x2'),'content':_0xc9e78(_0x3d9ee0,_0x4112('0x27'))};}if(_0x4112('0x7')==_0xaec08['commandName']){const _0x482906=_0xaec08[_0x4112('0x2b')][0x0]['value'];return _0x482906?{'type':_0x4112('0x2'),'content':_0xc9e78(_0x3d9ee0,_0x4112('0xc'),_0x482906)}:{'type':_0x4112('0x2'),'content':_0xc9e78(_0x3d9ee0,_0x4112('0xe'))};}if(_0x4112('0x18')==_0xaec08['commandName']){const _0x161f7e=_0xaec08['commandParams'][0x0]['value'];if(_0x161f7e){const _0x1a86c3=_0x4b91a4(this[_0x4112('0x1d')][_0x4112('0x25')][_0x4112('0x0')](_0x4112('0x16')))[_0x4112('0x3')](_0x3e8712=>_0x3e8712['model']==_0x161f7e);let _0xd01966=_0x161f7e,_0x41e4dc='';return _0x1a86c3&&(_0xd01966=_0x1a86c3[_0x4112('0x13')],_0x41e4dc=_0x3fdaaa(_0xd01966)[_0x4112('0x1e')]()),{'type':_0x4112('0x2'),'content':_0xc9e78(_0x3d9ee0,_0x4112('0x19'),_0x41e4dc)[_0x4112('0x2a')](),'color':{'value':_0x161f7e,'title':_0x41e4dc||_0xd01966}};}return{'type':_0x4112('0x2'),'content':_0xc9e78(_0x3d9ee0,_0x4112('0x1f'))};}if(_0x4112('0x20')==_0xaec08[_0x4112('0x12')]){const _0x4a6d32=_0xaec08[_0x4112('0x2b')][0x0][_0x4112('0x15')];if(_0x4a6d32){const _0x32de06=_0x4b91a4(this[_0x4112('0x1d')]['config']['get'](_0x4112('0x26')))[_0x4112('0x3')](_0x48e1cd=>_0x48e1cd[_0x4112('0x23')]==_0x4a6d32);let _0x464729=_0x4a6d32,_0x254eec='';return _0x32de06&&(_0x464729=_0x32de06[_0x4112('0x13')],_0x254eec=_0x3fdaaa(_0x464729)['toLowerCase']()),{'type':_0x4112('0x2'),'content':_0xc9e78(_0x3d9ee0,'*Set\x20font\x20background\x20color:*\x20%0',_0x254eec)[_0x4112('0x2a')](),'color':{'value':_0x4a6d32,'title':_0x254eec||_0x464729}};}return{'type':_0x4112('0x2'),'content':_0xc9e78(_0x3d9ee0,_0x4112('0x1b'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5578=['fontSize.options','normalizeSizeOptions','*Remove\x20all\x20formatting*','formatInline','*Set\x20format\x20to:*\x20%0','pasteFormat','_descriptionFactory','_enableDefaultAttributesIntegration','find','format','FontSize','commandParams','registerDescriptionCallback','boolean','get','fontColor.colors','config','editor','fontSize','join','toLowerCase','type','model','charAt','length','commands','split','locale','_registerLegacyDescription','title','entries','slice','copyFormat','fontBackgroundColor','commandName','plugins','TrackChangesEditing'];(function(_0x44d9b7,_0x5578ae){const _0x328874=function(_0x54d7d6){while(--_0x54d7d6){_0x44d9b7['push'](_0x44d9b7['shift']());}};_0x328874(++_0x5578ae);}(_0x5578,0x185));const _0x3288=function(_0x44d9b7,_0x5578ae){_0x44d9b7=_0x44d9b7-0x0;let _0x328874=_0x5578[_0x44d9b7];return _0x328874;};import{Plugin as _0x3aa2ac}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x40e828}from'ckeditor5/src/ui.js';import{getTranslation as _0x35a43b}from'../utils/common-translations.js';export default class X extends _0x3aa2ac{['afterInit'](){const _0x2111eb=this[_0x3288('0x23')],_0x4b84b8=_0x2111eb[_0x3288('0x10')][_0x3288('0x20')](_0x3288('0x11')),_0x4cde14=_0x2111eb['commands']['get'](_0x3288('0xd')),_0x3bbb4d=_0x2111eb[_0x3288('0x6')][_0x3288('0x20')](_0x3288('0x17'));_0x4cde14&&_0x3bbb4d&&(_0x4b84b8[_0x3288('0x19')](_0x3288('0x17')),_0x4b84b8['enableCommand'](_0x3288('0xd')),this[_0x3288('0x9')]());}[_0x3288('0x9')](){const _0x13928a=this[_0x3288('0x23')],_0x329a14=_0x13928a[_0x3288('0x8')];_0x13928a[_0x3288('0x10')][_0x3288('0x20')](_0x3288('0x11'))[_0x3288('0x18')][_0x3288('0x1e')](_0x45e70c=>{if('formatBlock'!=_0x45e70c[_0x3288('0x2')]&&_0x3288('0x15')!=_0x45e70c[_0x3288('0x2')])return;const {data:_0x3b4f46}=_0x45e70c;if(_0x3b4f46&&_0x3288('0x17')===_0x3b4f46[_0x3288('0xf')]){const _0x4b20da=[],_0x4db670=_0x3b4f46[_0x3288('0x1d')][0x0];for(const [_0x5658cd,_0x4dde1c]of Object[_0x3288('0xb')](_0x4db670))_0x4b20da['push'](so(_0x13928a,_0x5658cd,_0x4dde1c));return _0x4b20da[_0x3288('0x5')]?{'type':'format','content':_0x35a43b(_0x329a14,_0x3288('0x16'),_0x4b20da[_0x3288('0x0')](',\x20'))}:{'type':_0x3288('0x1b'),'content':_0x35a43b(_0x329a14,_0x3288('0x14'))};}});}}function so(_0x1d2c95,_0x476ff6,_0x5bf716){const _0x1fe8ec=_0x1d2c95[_0x3288('0x8')]['t'],_0x2268c5=_0x476ff6[_0x3288('0x7')](/(?=[A-Z])/)[_0x3288('0x0')]('\x20'),_0x503c71=_0x1fe8ec(_0x2268c5[_0x3288('0x4')](0x0)['toUpperCase']()+_0x2268c5[_0x3288('0xc')](0x1))[_0x3288('0x1')]();if(_0x3288('0x1f')==typeof _0x5bf716)return _0x503c71;if('fontColor'===_0x476ff6||_0x3288('0xe')===_0x476ff6){const _0x4a7b9d=_0x40e828(_0x1d2c95[_0x3288('0x22')][_0x3288('0x20')](_0x3288('0x21')))[_0x3288('0x1a')](_0x3bd609=>_0x3bd609[_0x3288('0x3')]==_0x5bf716);return _0x503c71+'\x20('+(_0x4a7b9d?_0x1fe8ec(_0x4a7b9d['label'])[_0x3288('0x1')]():_0x5bf716)+')';}if(_0x3288('0x24')===_0x476ff6&&isNaN(parseFloat(_0x5bf716))){const _0x3903d9=_0x1d2c95[_0x3288('0x10')]['get'](_0x3288('0x1c'))[_0x3288('0x13')](_0x1d2c95[_0x3288('0x22')]['get'](_0x3288('0x12')))[_0x3288('0x1a')](_0xd76938=>_0xd76938[_0x3288('0x3')]==_0x5bf716);return _0x503c71+'\x20('+(_0x3903d9?_0x1fe8ec(_0x3903d9[_0x3288('0xa')])[_0x3288('0x1')]():_0x5bf716)+')';}return _0x503c71+'\x20('+_0x5bf716+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2885=['match','value','_registerLegacyDescription','find','paragraph','ELEMENT_HEADING','_enableDefaultAttributesIntegration','config','model','type','title','editor','commandName','heading.options','afterInit','locale','*Change\x20to:*\x20%0','heading','_getHeadingLevel','ELEMENT_HEADING_CUSTOM','registerElementLabel','_descriptionFactory','plugins','has','get','format','name','_headingOptions','TrackChangesEditing','view','formatBlock'];(function(_0x42eeae,_0x288598){const _0x7abd9f=function(_0x153cfb){while(--_0x153cfb){_0x42eeae['push'](_0x42eeae['shift']());}};_0x7abd9f(++_0x288598);}(_0x2885,0x17d));const _0x7abd=function(_0x42eeae,_0x288598){_0x42eeae=_0x42eeae-0x0;let _0x7abd9f=_0x2885[_0x42eeae];return _0x7abd9f;};import{Plugin as _0x5402ab}from'ckeditor5/src/core.js';import{getTranslation as _0x2cd790}from'../utils/common-translations.js';export default class Y extends _0x5402ab{[_0x7abd('0x5')](){const _0x2a7f63=this[_0x7abd('0x2')];if(!_0x2a7f63[_0x7abd('0xd')][_0x7abd('0xe')]('HeadingEditing'))return;this[_0x7abd('0x12')]=_0x2a7f63[_0x7abd('0x1d')][_0x7abd('0xf')](_0x7abd('0x4'));const _0x83707=_0x2a7f63[_0x7abd('0x6')],_0x2bcd9b=_0x2a7f63[_0x7abd('0xd')]['get'](_0x7abd('0x13'));_0x2bcd9b[_0x7abd('0x1c')](_0x7abd('0x8'));for(const _0x1f5422 of this['_headingOptions'])_0x7abd('0x1a')!=_0x1f5422[_0x7abd('0x1e')]&&_0x2bcd9b['_descriptionFactory'][_0x7abd('0xb')](_0x1f5422['model'],_0x4ccc61=>{const _0x7851e4=this['_getHeadingLevel'](_0x1f5422['model']);return null!==_0x7851e4?_0x3dcf5b(_0x4ccc61,_0x7851e4):_0x264b77(_0x4ccc61,_0x1f5422[_0x7abd('0x1')]);});function _0x3dcf5b(_0x45a584,_0x23cafa){return _0x2cd790(_0x83707,_0x7abd('0x1b'),[_0x45a584,_0x23cafa]);}function _0x264b77(_0x356198,_0xee47f9){return _0x2cd790(_0x83707,_0x7abd('0xa'),[_0x356198,_0xee47f9]);}this['_registerLegacyDescription']();}[_0x7abd('0x18')](){const _0x566171=this[_0x7abd('0x2')],_0x3b16c3=_0x566171['locale'];function _0x1c803a(_0x5771f8,_0x1a3918){return _0x2cd790(_0x3b16c3,_0x7abd('0xa'),[_0x5771f8,_0x1a3918]);}_0x566171['plugins'][_0x7abd('0xf')]('TrackChangesEditing')[_0x7abd('0xc')]['registerDescriptionCallback'](_0x1bc2b3=>{if(_0x7abd('0x15')!=_0x1bc2b3[_0x7abd('0x0')])return;const {data:_0x413169}=_0x1bc2b3;if(_0x413169&&'heading'==_0x413169[_0x7abd('0x3')]){const _0x2a3f20=_0x413169['commandParams'][0x0][_0x7abd('0x17')],_0x35ab78=this[_0x7abd('0x9')](_0x2a3f20);if(null!==_0x35ab78)return{'type':_0x7abd('0x10'),'content':_0x2cd790(_0x3b16c3,'*Change\x20to:*\x20%0',(_0xd24717=0x1,_0x1483e5=_0x35ab78,_0x2cd790(_0x3b16c3,_0x7abd('0x1b'),[_0xd24717,_0x1483e5])))};const _0x5cca5a=this[_0x7abd('0x12')]['find'](_0x15edc1=>_0x15edc1[_0x7abd('0x1e')]===_0x2a3f20)[_0x7abd('0x1')];return{'type':_0x7abd('0x10'),'content':_0x2cd790(_0x3b16c3,_0x7abd('0x7'),_0x1c803a(0x1,_0x5cca5a))};}var _0xd24717,_0x1483e5;});}[_0x7abd('0x9')](_0x1be034){var _0x3e9912,_0x12b284;const _0x2b07fd=_0x1be034[_0x7abd('0x16')](/^heading(\d+)/);if(_0x2b07fd)return _0x2b07fd[0x1];const _0x52161b=null===(_0x3e9912=this['_headingOptions'])||void 0x0===_0x3e9912?void 0x0:_0x3e9912[_0x7abd('0x19')](_0x53b359=>_0x53b359['model']==_0x1be034);if(_0x52161b&&_0x52161b[_0x7abd('0x14')]){const _0xa3365c=_0x52161b['view'],_0x5202cf=(null!==(_0x12b284=_0xa3365c[_0x7abd('0x11')])&&void 0x0!==_0x12b284?_0x12b284:_0xa3365c)[_0x7abd('0x16')](/^h(\d+)/);if(_0x5202cf)return _0x5202cf[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cc1=['title','registerAttributeLabel','format','commandParams','color','find','_descriptionFactory','afterInit','HighlightEditing','get','*Set\x20highlight:*\x20%0','has','type','toLowerCase','plugins','locale','value','highlight.options','FORMAT_HIGHLIGHT','highlight','_registerLegacyDescription','formatInline','TrackChangesEditing'];(function(_0x9c7067,_0x2cc178){const _0x589ad1=function(_0x868ae){while(--_0x868ae){_0x9c7067['push'](_0x9c7067['shift']());}};_0x589ad1(++_0x2cc178);}(_0x2cc1,0x8d));const _0x589a=function(_0x9c7067,_0x2cc178){_0x9c7067=_0x9c7067-0x0;let _0x589ad1=_0x2cc1[_0x9c7067];return _0x589ad1;};import{Plugin as _0x3ea1bf}from'ckeditor5/src/core.js';import{getTranslation as _0x4d52ca}from'../utils/common-translations.js';export default class Z extends _0x3ea1bf{[_0x589a('0x4')](){const _0x29c0ba=this['editor'];if(!_0x29c0ba['plugins'][_0x589a('0x8')](_0x589a('0x5')))return;const _0x1b03b7=_0x29c0ba[_0x589a('0xb')][_0x589a('0x6')](_0x589a('0x13')),_0x5b0e7e=_0x29c0ba[_0x589a('0xc')];_0x1b03b7['_enableDefaultAttributesIntegration']('highlight',[_0x589a('0x10')]),_0x1b03b7[_0x589a('0x3')][_0x589a('0x15')](_0x589a('0x10'),_0x4d52ca(_0x5b0e7e,_0x589a('0xf'))),this[_0x589a('0x11')]();}['_registerLegacyDescription'](){const _0x5515e0=this['editor'],_0x4b80a1=_0x5515e0[_0x589a('0xc')];_0x5515e0[_0x589a('0xb')][_0x589a('0x6')]('TrackChangesEditing')['_descriptionFactory']['registerDescriptionCallback'](_0x63623c=>{if(_0x589a('0x12')!=_0x63623c[_0x589a('0x9')])return;const {data:_0x55de80}=_0x63623c;if(_0x55de80&&'highlight'==_0x55de80['commandName']){const _0x3d34f1=_0x4b80a1['t'],_0x4754be=_0x55de80[_0x589a('0x0')][0x0][_0x589a('0xd')];if(_0x4754be){const _0x390cb6=_0x5515e0['config'][_0x589a('0x6')](_0x589a('0xe'))[_0x589a('0x2')](_0x180180=>_0x180180['model']==_0x4754be),_0x41a44d=_0x3d34f1(_0x390cb6[_0x589a('0x14')])[_0x589a('0xa')]();return{'type':_0x589a('0x16'),'content':_0x4d52ca(_0x4b80a1,_0x589a('0x7'),_0x41a44d),'color':{'value':_0x390cb6[_0x589a('0x1')],'title':_0x390cb6['title']}};}return{'type':'format','content':_0x4d52ca(_0x4b80a1,'*Remove\x20highlight*',_0x4d52ca(_0x4b80a1,_0x589a('0xf')))};}});}}
|