@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231022.0 → 0.0.0-nightly-20231024.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231024.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20231024.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231024.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x362e=['isEnabled','acceptSuggestion','model','editor','canEditAt','track-changes-accept-suggestion-not-found','getRanges','refresh','get','plugins','_suggestions','_isEnabledBasedOnSelection'];(function(_0x2d86ce,_0x362e1e){const _0x3867bc=function(_0x166cdc){while(--_0x166cdc){_0x2d86ce['push'](_0x2d86ce['shift']());}};_0x3867bc(++_0x362e1e);}(_0x362e,0x123));const _0x3867=function(_0x2d86ce,_0x362e1e){_0x2d86ce=_0x2d86ce-0x0;let _0x3867bc=_0x362e[_0x2d86ce];return _0x3867bc;};import{Command as _0x1fa53e}from'ckeditor5/src/core';import{CKEditorError as _0x3ff5f4}from'ckeditor5/src/utils';export default class M extends _0x1fa53e{constructor(_0xb4dc91,_0xd717e0){super(_0xb4dc91),this[_0x3867('0x7')]=_0xd717e0,this[_0x3867('0x4')](),this[_0x3867('0x8')]=!0x1;}['refresh'](){this[_0x3867('0x9')]=!0x0;}['execute'](_0x4dec1c){const _0x1fbf0e=this[_0x3867('0x7')][_0x3867('0x5')](_0x4dec1c);if(!_0x1fbf0e)throw new _0x3ff5f4(_0x3867('0x2'),this);const _0xb663e4=_0x1fbf0e[_0x3867('0x3')]();this[_0x3867('0x0')][_0x3867('0xb')][_0x3867('0x1')](_0xb663e4)&&this[_0x3867('0x0')][_0x3867('0x6')][_0x3867('0x5')]('TrackChangesEditing')[_0x3867('0xa')](_0x1fbf0e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x506a=['discardSuggestion','canEditAt','isEnabled','get','track-changes-discard-suggestion-not-found','editor','getRanges','plugins','model','refresh','_suggestions','_isEnabledBasedOnSelection'];(function(_0x4ac370,_0x506ab8){const _0x3b8933=function(_0x16e3d6){while(--_0x16e3d6){_0x4ac370['push'](_0x4ac370['shift']());}};_0x3b8933(++_0x506ab8);}(_0x506a,0x19e));const _0x3b89=function(_0x4ac370,_0x506ab8){_0x4ac370=_0x4ac370-0x0;let _0x3b8933=_0x506a[_0x4ac370];return _0x3b8933;};import{Command as _0x37fc7a}from'ckeditor5/src/core';import{CKEditorError as _0x4468bb}from'ckeditor5/src/utils';export default class $ extends _0x37fc7a{constructor(_0x39c0b1,_0x502417){super(_0x39c0b1),this['_suggestions']=_0x502417,this[_0x3b89('0x3')](),this[_0x3b89('0x5')]=!0x1;}[_0x3b89('0x3')](){this[_0x3b89('0x8')]=!0x0;}['execute'](_0x418dbf){const _0x15f97e=this[_0x3b89('0x4')][_0x3b89('0x9')](_0x418dbf);if(!_0x15f97e)throw new _0x4468bb(_0x3b89('0xa'),this);const _0x4e46b5=_0x15f97e[_0x3b89('0x0')]();this[_0x3b89('0xb')][_0x3b89('0x2')][_0x3b89('0x7')](_0x4e46b5)&&this[_0x3b89('0xb')][_0x3b89('0x1')]['get']('TrackChangesEditing')[_0x3b89('0x6')](_0x15f97e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f05=['canEditAt','_isEnabledBasedOnSelection','execute','from','values','getRanges','model','_suggestions','refresh','some','editor','isEnabled','_command'];(function(_0x2feb75,_0x5f05ff){const _0x46768b=function(_0x3c0cf6){while(--_0x3c0cf6){_0x2feb75['push'](_0x2feb75['shift']());}};_0x46768b(++_0x5f05ff);}(_0x5f05,0x12d));const _0x4676=function(_0x2feb75,_0x5f05ff){_0x2feb75=_0x2feb75-0x0;let _0x46768b=_0x5f05[_0x2feb75];return _0x46768b;};import{Command as _0x458faa}from'ckeditor5/src/core';import{sortSuggestions as _0x9c630d,executeCommandForSuggestions as _0x19beb6}from'../utils/utils';export default class N extends _0x458faa{constructor(_0x598d5e,_0x4b8ac2,_0x1ea3fd){super(_0x598d5e),this[_0x4676('0xa')]=_0x4b8ac2,this['_suggestions']=_0x1ea3fd,this[_0x4676('0x6')](),this[_0x4676('0xc')]=!0x1;}[_0x4676('0x6')](){const _0x4ea410=Array[_0x4676('0x1')](this[_0x4676('0x5')][_0x4676('0x2')]())[_0x4676('0x7')](_0x29c9a2=>_0x29c9a2['isInContent']);this[_0x4676('0x9')]=this[_0x4676('0xa')]['isEnabled']&&_0x4ea410;}[_0x4676('0x0')](){const _0x1db143=_0x9c630d(Array[_0x4676('0x1')](this['_suggestions'][_0x4676('0x2')]()));for(const _0x5bb5d4 of _0x1db143){const _0x394f6f=_0x5bb5d4[_0x4676('0x3')]();if(!this[_0x4676('0x8')]['model'][_0x4676('0xb')](_0x394f6f))return;}_0x19beb6(this[_0x4676('0x8')][_0x4676('0x4')],this['_command'],_0x1db143);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b6a=['_selectedSuggestions','values','model','document','getRanges','refresh','_command','size','isEnabled','_suggestions','_isEnabledBasedOnSelection','editor'];(function(_0x449a7e,_0x2b6aab){const _0x448913=function(_0x1b850a){while(--_0x1b850a){_0x449a7e['push'](_0x449a7e['shift']());}};_0x448913(++_0x2b6aab);}(_0x2b6a,0x184));const _0x4489=function(_0x449a7e,_0x2b6aab){_0x449a7e=_0x449a7e-0x0;let _0x448913=_0x2b6a[_0x449a7e];return _0x448913;};import{Command as _0x8d9400}from'ckeditor5/src/core';import{sortSuggestions as _0x267812,getSelectedSuggestions as _0x33afd1,executeCommandForSuggestions as _0x1a0568}from'../utils/utils';export default class R extends _0x8d9400{constructor(_0x4f18ec,_0x18b55e,_0x459f3e){super(_0x4f18ec),this[_0x4489('0x2')]=_0x18b55e,this[_0x4489('0x5')]=_0x459f3e,this[_0x4489('0x8')]=new Set(),this[_0x4489('0x1')](),this[_0x4489('0x6')]=!0x1;}[_0x4489('0x1')](){const _0x5cfcd5=this[_0x4489('0x7')][_0x4489('0xa')][_0x4489('0xb')]['selection'],_0x3cea38=Array['from'](this[_0x4489('0x5')][_0x4489('0x9')]());this['_selectedSuggestions']=_0x33afd1(_0x5cfcd5,_0x3cea38),this[_0x4489('0x4')]=this['_command']['isEnabled']&&!!this[_0x4489('0x8')][_0x4489('0x3')];}['execute'](){const _0x4c1d15=_0x267812(Array['from'](this['_selectedSuggestions']));for(const _0x4cefc0 of _0x4c1d15){const _0x1e0db9=_0x4cefc0[_0x4489('0x0')]();if(!this[_0x4489('0x7')][_0x4489('0xa')]['canEditAt'](_0x1e0db9))return;}_0x1a0568(this['editor']['model'],this[_0x4489('0x2')],_0x4c1d15);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aff=['has','clearForceDisabled','execute','value','affectsData','refresh','_enabledCommands','_enableCommands','editor','_disableUnsupportedCommands','commands','forceDisabled','TrackChangesCommand','_isEnabledBasedOnSelection'];(function(_0x4d1e2b,_0x3aff77){const _0x48b026=function(_0x24c370){while(--_0x24c370){_0x4d1e2b['push'](_0x4d1e2b['shift']());}};_0x48b026(++_0x3aff77);}(_0x3aff,0x1a8));const _0x48b0=function(_0x4d1e2b,_0x3aff77){_0x4d1e2b=_0x4d1e2b-0x0;let _0x48b026=_0x3aff[_0x4d1e2b];return _0x48b026;};import{Command as _0x247d9e}from'ckeditor5/src/core';export default class _ extends _0x247d9e{constructor(_0x31fe31,_0x512e48){super(_0x31fe31),this[_0x48b0('0x2')]=_0x512e48,this[_0x48b0('0xd')]=!0x1,this[_0x48b0('0x1')](),this[_0x48b0('0x9')]=!0x1;}[_0x48b0('0x1')](){this['isEnabled']=!0x0;}[_0x48b0('0xc')](){this['value']=!this['value'],this[_0x48b0('0xd')]?this[_0x48b0('0x5')]():this['_enableCommands']();}[_0x48b0('0x5')](){for(const _0x38f622 of this[_0x48b0('0x4')][_0x48b0('0x6')][_0x48b0('0x6')]())_0x38f622[_0x48b0('0x0')]&&!this[_0x48b0('0x2')][_0x48b0('0xa')](_0x38f622)&&_0x38f622[_0x48b0('0x7')](_0x48b0('0x8'));}[_0x48b0('0x3')](){for(const _0x1d9575 of this[_0x48b0('0x4')]['commands'][_0x48b0('0x6')]())_0x1d9575[_0x48b0('0x0')]&&!this[_0x48b0('0x2')][_0x48b0('0xa')](_0x1d9575)&&_0x1d9575[_0x48b0('0xb')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x269b=['TrackChangesEditing','afterInit','get','plugins','showAIAssistant','enableCommand'];(function(_0x4d7c17,_0x269bad){const _0x563111=function(_0x4aaa9b){while(--_0x4aaa9b){_0x4d7c17['push'](_0x4d7c17['shift']());}};_0x563111(++_0x269bad);}(_0x269b,0x1a9));const _0x5631=function(_0x4d7c17,_0x269bad){_0x4d7c17=_0x4d7c17-0x0;let _0x563111=_0x269b[_0x4d7c17];return _0x563111;};import{Plugin as _0xbb1320}from'ckeditor5/src/core';export default class j extends _0xbb1320{[_0x5631('0x2')](){const _0x39ef29=this['editor'],_0x161208=_0x39ef29[_0x5631('0x4')][_0x5631('0x3')](_0x5631('0x1'));_0x39ef29['commands'][_0x5631('0x3')](_0x5631('0x5'))&&_0x161208[_0x5631('0x0')](_0x5631('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48a7=['commandParams','document','value','model','FORMAT_ALIGN_TO_CENTER','commandName','get','checkAttribute','change','alignment','markBlockFormat','justify','AlignmentEditing','ltr','_descriptionFactory','selection','left','right','enableCommand','schema','editor','TrackChangesEditing','afterInit','from','FORMAT_ALIGN_TO_LEFT','plugins','locale','FORMAT_ALIGN_TO_RIGHT','*Format:*\x20%0','filter','getSelectedBlocks','getAttribute'];(function(_0x57691d,_0x48a734){const _0x3fde42=function(_0x25f76a){while(--_0x25f76a){_0x57691d['push'](_0x57691d['shift']());}};_0x3fde42(++_0x48a734);}(_0x48a7,0x1d3));const _0x3fde=function(_0x57691d,_0x48a734){_0x57691d=_0x57691d-0x0;let _0x3fde42=_0x48a7[_0x57691d];return _0x3fde42;};import{Plugin as _0x8220c8}from'ckeditor5/src/core';import{getTranslation as _0x34f138}from'../utils/common-translations';export default class x extends _0x8220c8{[_0x3fde('0x3')](){const _0x1566a0=this[_0x3fde('0x1')],_0x4c7ff9=_0x1566a0[_0x3fde('0x7')];if(!_0x1566a0['plugins']['has'](_0x3fde('0x19')))return;const _0x16f8a9=_0x1566a0[_0x3fde('0x6')][_0x3fde('0x13')](_0x3fde('0x2'));_0x16f8a9[_0x3fde('0x1f')](_0x3fde('0x16'),(_0x3ba3bf,_0x497c78={})=>{let _0x5928c6=_0x497c78['value'];_0x497c78[_0x3fde('0xf')]||(_0x5928c6=_0x3fde('0x1a')===_0x1566a0[_0x3fde('0x7')]['contentLanguageDirection']?_0x3fde('0x1d'):_0x3fde('0x1e'));const _0x365b7f=Array[_0x3fde('0x4')](this[_0x3fde('0x1')][_0x3fde('0x10')][_0x3fde('0xe')][_0x3fde('0x1c')][_0x3fde('0xb')]())[_0x3fde('0xa')](_0x38733d=>function(_0x560f70,_0x1cec7e,_0x5bba2b){const _0x2f6213=_0x560f70[_0x3fde('0xc')](_0x3fde('0x16'))||null;return _0x1cec7e[_0x3fde('0x14')](_0x560f70,_0x3fde('0x16'))&&_0x5bba2b!=_0x2f6213;}(_0x38733d,this['editor'][_0x3fde('0x10')][_0x3fde('0x0')],_0x5928c6));_0x1566a0[_0x3fde('0x10')][_0x3fde('0x15')](()=>{for(const _0x42c748 of _0x365b7f)_0x16f8a9[_0x3fde('0x17')](_0x42c748,{'commandName':_0x3fde('0x16'),'commandParams':[{'value':_0x5928c6}]});});}),_0x16f8a9[_0x3fde('0x1b')]['registerDescriptionCallback'](_0x363e19=>{const {data:_0x20f36b}=_0x363e19;if(_0x20f36b&&_0x3fde('0x16')==_0x20f36b[_0x3fde('0x12')]){const _0x1b4d81=_0x20f36b[_0x3fde('0xd')][0x0][_0x3fde('0xf')];return{'type':'format','content':_0x34f138(_0x4c7ff9,_0x3fde('0x9'),function(_0x4679eb){switch(_0x4679eb){case _0x3fde('0x1d'):return _0x34f138(_0x4c7ff9,_0x3fde('0x5'));case _0x3fde('0x1e'):return _0x34f138(_0x4c7ff9,_0x3fde('0x8'));case'center':return _0x34f138(_0x4c7ff9,_0x3fde('0x11'));case _0x3fde('0x18'):return _0x34f138(_0x4c7ff9,'FORMAT_JUSTIFY_TEXT');}}(_0x1b4d81))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd9f1=['FORMAT_UNDERLINE','document','markInlineFormat','afterInit','has','SuperscriptEditing','*Format:*\x20%0','from','format','model','FORMAT_BOLD','isCollapsed','get','editor','StrikethroughEditing','FORMAT_STRIKETHROUGH','bold','TrackChangesEditing','strikethrough','getRanges','commandName','toLowerCase','locale','slice','italic','forceValue','UnderlineEditing','FORMAT_SUPERSCRIPT','commandParams','registerDescriptionCallback','selection','commands','underline','change','CodeEditing','*Remove\x20format:*\x20%0','plugins','code','BoldEditing'];(function(_0x396548,_0xd9f12b){const _0x52d49f=function(_0x2f8732){while(--_0x2f8732){_0x396548['push'](_0x396548['shift']());}};_0x52d49f(++_0xd9f12b);}(_0xd9f1,0x155));const _0x52d4=function(_0x396548,_0xd9f12b){_0x396548=_0x396548-0x0;let _0x52d49f=_0xd9f1[_0x396548];return _0x52d49f;};import{Plugin as _0x5f3f83}from'ckeditor5/src/core';import{getTranslation as _0x55b879}from'../utils/common-translations';import{getRangesWithAttribute as _0x2e29ba}from'./utils';const Zt=[_0x52d4('0x9'),'ItalicEditing',_0x52d4('0x24'),_0x52d4('0x5'),_0x52d4('0x18'),'SubscriptEditing',_0x52d4('0xf')];export default class U extends _0x5f3f83{[_0x52d4('0xd')](){const _0x2933c2=this[_0x52d4('0x17')],_0x188cac=_0x2933c2[_0x52d4('0x13')],_0x2a69e5=_0x2933c2['plugins']['get'](_0x52d4('0x1b')),_0x203378=_0x2933c2[_0x52d4('0x20')];for(const _0x5e29a4 of Zt){if(!_0x2933c2[_0x52d4('0x7')][_0x52d4('0xe')](_0x5e29a4))continue;const _0xee21e7=_0x5e29a4[_0x52d4('0x21')](0x0,-0x7)[_0x52d4('0x1f')](),_0x12d190=_0x2933c2[_0x52d4('0x2')][_0x52d4('0x16')](_0xee21e7);_0x2a69e5['enableCommand'](_0xee21e7,(_0x2b323f,_0x351826={})=>{const _0x5c819c=_0x188cac[_0x52d4('0xb')][_0x52d4('0x1')];if(_0x5c819c[_0x52d4('0x15')])return void _0x2b323f(_0x351826);const _0x112577=void 0x0!==_0x351826[_0x52d4('0x23')]?_0x351826[_0x52d4('0x23')]:!_0x12d190['value'];_0x188cac[_0x52d4('0x4')](()=>{const _0x3a3a00=Array[_0x52d4('0x11')](_0x5c819c[_0x52d4('0x1d')]());for(const _0x388088 of _0x3a3a00){const _0x2f25c0=_0x112577?[_0x388088]:_0x2e29ba(_0xee21e7,_0x388088,_0x188cac);for(const _0x1eb9eb of _0x2f25c0)_0x2a69e5[_0x52d4('0xc')](_0x1eb9eb,{'commandName':_0xee21e7,'commandParams':[{'forceValue':_0x112577}]});}});});}function _0x3e6e6e(_0x4c4679,_0x389343){_0x2a69e5['_descriptionFactory'][_0x52d4('0x0')](_0x30d7b2=>{const {data:_0x2baba9}=_0x30d7b2;if(_0x2baba9&&_0x2baba9[_0x52d4('0x1e')]===_0x4c4679)return _0x2baba9[_0x52d4('0x26')][0x0][_0x52d4('0x23')]?{'type':_0x52d4('0x12'),'content':_0x55b879(_0x203378,_0x52d4('0x10'),_0x389343)}:{'type':_0x52d4('0x12'),'content':_0x55b879(_0x203378,_0x52d4('0x6'),_0x389343)};});}_0x3e6e6e(_0x52d4('0x1a'),_0x55b879(_0x203378,_0x52d4('0x14'))),_0x3e6e6e(_0x52d4('0x22'),_0x55b879(_0x203378,'FORMAT_ITALIC')),_0x3e6e6e(_0x52d4('0x3'),_0x55b879(_0x203378,_0x52d4('0xa'))),_0x3e6e6e(_0x52d4('0x8'),_0x55b879(_0x203378,'FORMAT_CODE')),_0x3e6e6e(_0x52d4('0x1c'),_0x55b879(_0x203378,_0x52d4('0x19'))),_0x3e6e6e('subscript',_0x55b879(_0x203378,'FORMAT_SUBSCRIPT')),_0x3e6e6e('superscript',_0x55b879(_0x203378,_0x52d4('0x25')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3be4=['value','locale','enableCommand','parent','blockQuote','filter','name','getSelectedBlocks','get','$root','afterInit','editor','registerDescriptionCallback','plugins','model','from','has','BlockQuoteEditing','checkChild','ELEMENT_BLOCK_QUOTE','schema','format','document','forceValue','*Remove\x20format:*\x20%0','commands','commandParams'];(function(_0x92ef6e,_0x3be4e7){const _0x24dd87=function(_0x4269ee){while(--_0x4269ee){_0x92ef6e['push'](_0x92ef6e['shift']());}};_0x24dd87(++_0x3be4e7);}(_0x3be4,0x8a));const _0x24dd=function(_0x92ef6e,_0x3be4e7){_0x92ef6e=_0x92ef6e-0x0;let _0x24dd87=_0x3be4[_0x92ef6e];return _0x24dd87;};import{Plugin as _0x4003d5}from'ckeditor5/src/core';import{getTranslation as _0x394c36}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x48c6af}from'../utils/utils';export default class O extends _0x4003d5{[_0x24dd('0x7')](){const _0x3d9a3a=this[_0x24dd('0x8')],_0x15c8f5=_0x3d9a3a[_0x24dd('0x19')];if(!_0x3d9a3a[_0x24dd('0xa')][_0x24dd('0xd')](_0x24dd('0xe')))return;const _0x365d23=_0x3d9a3a[_0x24dd('0xa')]['get']('TrackChangesEditing'),_0x58a176=this[_0x24dd('0x8')][_0x24dd('0x16')][_0x24dd('0x5')](_0x24dd('0x1'));_0x365d23[_0x24dd('0x1a')]('blockQuote',(_0x3f8d88,_0x17659b={})=>{const _0x5dd313=this['editor']['model'][_0x24dd('0x13')]['selection'],_0x1b6180=_0x17659b&&void 0x0!==_0x17659b[_0x24dd('0x14')]?_0x17659b['forceValue']:!_0x58a176[_0x24dd('0x18')];let _0x541679=[];if(_0x1b6180){const _0x55bce8=Array['from'](_0x5dd313[_0x24dd('0x4')]())['filter'](_0x22c371=>oo(_0x22c371)||function(_0xa0bb93,_0x32e0f8){const _0x52dd5f=_0x32e0f8['checkChild'](_0xa0bb93[_0x24dd('0x0')],_0x24dd('0x1')),_0x189591=_0x32e0f8[_0x24dd('0xf')]([_0x24dd('0x6'),_0x24dd('0x1')],_0xa0bb93);return _0x52dd5f&&_0x189591;}(_0x22c371,this[_0x24dd('0x8')]['model'][_0x24dd('0x11')]));_0x541679=_0x48c6af(_0x55bce8,_0x3d9a3a[_0x24dd('0xb')]);}else{const _0x1917b2=Array[_0x24dd('0xc')](_0x5dd313['getSelectedBlocks']())[_0x24dd('0x2')](_0x20eb2e=>oo(_0x20eb2e));_0x541679=_0x48c6af(_0x1917b2,_0x3d9a3a[_0x24dd('0xb')]);}_0x3d9a3a[_0x24dd('0xb')]['change'](()=>{for(const _0x1da93b of _0x541679)_0x365d23['markBlockFormat'](_0x1da93b,{'commandName':_0x24dd('0x1'),'commandParams':[{'forceValue':_0x1b6180}]});});}),_0x365d23['_descriptionFactory'][_0x24dd('0x9')](_0x31a088=>{const {data:_0x50c701}=_0x31a088;if(_0x50c701&&_0x24dd('0x1')==_0x50c701['commandName']){const _0x42d502=_0x394c36(_0x15c8f5,_0x24dd('0x10'));return _0x50c701[_0x24dd('0x17')][0x0][_0x24dd('0x14')]?{'type':_0x24dd('0x12'),'content':_0x394c36(_0x15c8f5,'*Format:*\x20%0',_0x42d502)}:{'type':_0x24dd('0x12'),'content':_0x394c36(_0x15c8f5,_0x24dd('0x15'),_0x42d502)};}});}}function oo(_0x51b721){return _0x24dd('0x1')==_0x51b721[_0x24dd('0x0')][_0x24dd('0x3')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56a6=['afterInit','enableCommand','TrackChangesEditing','ckbox','plugins','get','commands'];(function(_0x17f9a0,_0x56a6b3){const _0x542308=function(_0x5cb529){while(--_0x5cb529){_0x17f9a0['push'](_0x17f9a0['shift']());}};_0x542308(++_0x56a6b3);}(_0x56a6,0xc8));const _0x5423=function(_0x17f9a0,_0x56a6b3){_0x17f9a0=_0x17f9a0-0x0;let _0x542308=_0x56a6[_0x17f9a0];return _0x542308;};import{Plugin as _0x250fbb}from'ckeditor5/src/core';export default class E extends _0x250fbb{[_0x5423('0x3')](){const _0x169149=this['editor'];_0x169149[_0x5423('0x2')][_0x5423('0x1')](_0x5423('0x6'))&&_0x169149[_0x5423('0x0')][_0x5423('0x1')](_0x5423('0x5'))[_0x5423('0x4')](_0x5423('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ee4=['editor','_descriptionFactory','parent','commandName','enableCommand','languages','rootElement','codeBlock','forceValue','label','checkChild','getSelectedBlocks','has','schema','format','find','outdentCodeBlock','document','model','from','filter','CodeBlock','indentCodeBlock','formatBlock','get','*Remove\x20format:*\x20%0','blockName','plugins','config','TrackChangesEditing','*Format:*\x20%0','markBlockFormat','commandParams','registerDescriptionCallback','afterInit','ELEMENT_CODE_BLOCK','name','language'];(function(_0x113823,_0x5ee423){const _0x5ccef5=function(_0x1d76b2){while(--_0x1d76b2){_0x113823['push'](_0x113823['shift']());}};_0x5ccef5(++_0x5ee423);}(_0x5ee4,0x68));const _0x5cce=function(_0x113823,_0x5ee423){_0x113823=_0x113823-0x0;let _0x5ccef5=_0x5ee4[_0x113823];return _0x5ccef5;};import{Plugin as _0x595466}from'ckeditor5/src/core';import{getTranslation as _0x59219d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3d65d1}from'../utils/utils';export default class F extends _0x595466{[_0x5cce('0x6')](){const _0x56a5fa=this[_0x5cce('0xa')];if(!_0x56a5fa['plugins'][_0x5cce('0x16')](_0x5cce('0x1f')))return;const _0x5629b0=_0x56a5fa[_0x5cce('0x25')][_0x5cce('0x22')](_0x5cce('0x1')),_0x48f28e=_0x56a5fa['locale'],_0x1dd508=_0x56a5fa[_0x5cce('0x0')][_0x5cce('0x22')]('codeBlock')[_0x5cce('0xf')],_0x1333bd=_0x56a5fa['commands'][_0x5cce('0x22')](_0x5cce('0x11'));_0x5629b0['enableCommand'](_0x5cce('0x20')),_0x5629b0[_0x5cce('0xe')](_0x5cce('0x1a')),_0x5629b0['enableCommand'](_0x5cce('0x11'),(_0x2420d2,_0x2f280d={})=>{const _0x266184=_0x56a5fa[_0x5cce('0x1c')],_0x808ab4=_0x56a5fa[_0x5cce('0x1c')][_0x5cce('0x1b')]['selection'],_0x264065=_0x2f280d&&void 0x0!==_0x2f280d[_0x5cce('0x12')]?_0x2f280d[_0x5cce('0x12')]:!_0x1333bd['value'];let _0x119d7f;_0x2f280d[_0x5cce('0x9')]||(_0x2f280d['language']=_0x1dd508[0x0][_0x5cce('0x9')]),_0x119d7f=_0x264065?Array[_0x5cce('0x1d')](_0x808ab4[_0x5cce('0x15')]())[_0x5cce('0x1e')](_0x465239=>co(_0x465239)||function(_0x5e8819,_0x3a8b9b){if(_0x5e8819['is'](_0x5cce('0x10'))||_0x3a8b9b['isLimit'](_0x5e8819))return!0x1;return _0x3a8b9b[_0x5cce('0x14')](_0x5e8819[_0x5cce('0xc')],_0x5cce('0x11'));}(_0x465239,_0x266184[_0x5cce('0x17')])):Array[_0x5cce('0x1d')](_0x808ab4[_0x5cce('0x15')]())['filter'](_0x2f0b90=>co(_0x2f0b90));const _0x279a93=_0x3d65d1(_0x119d7f,_0x266184);_0x266184['change'](()=>{for(const _0x5bd2bb of _0x279a93)_0x5629b0[_0x5cce('0x3')](_0x5bd2bb,{'commandName':_0x5cce('0x11'),'commandParams':[{..._0x2f280d,'forceValue':_0x264065}],'formatGroupId':_0x5cce('0x24')});});}),(_0x5629b0[_0x5cce('0xb')]['registerElementLabel'](_0x5cce('0x11'),_0x8300f8=>_0x59219d(_0x48f28e,'ELEMENT_CODE_BLOCK',_0x8300f8)),_0x5629b0['_descriptionFactory'][_0x5cce('0x5')](_0x51ea0b=>{const _0x2a94b7=_0x48f28e['t'],{type:_0x1237ff,data:_0xb1f982}=_0x51ea0b;if(_0x5cce('0x21')==_0x1237ff&&_0xb1f982&&'codeBlock'==_0xb1f982[_0x5cce('0xd')]){const _0xdae776=_0xb1f982[_0x5cce('0x4')][0x0][_0x5cce('0x9')],_0x2d00d4=_0x2a94b7(_0x1dd508[_0x5cce('0x19')](_0x3a2ecd=>_0x3a2ecd['language']===_0xdae776)[_0x5cce('0x13')]);return _0xb1f982[_0x5cce('0x4')][0x0]['forceValue']?{'type':_0x5cce('0x18'),'content':_0x59219d(_0x48f28e,_0x5cce('0x2'),_0x59219d(_0x48f28e,_0x5cce('0x7'),0x1)+'\x20('+_0x2d00d4+')')}:{'type':_0x5cce('0x18'),'content':_0x59219d(_0x48f28e,_0x5cce('0x23'),_0x59219d(_0x48f28e,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function co(_0xa52dc5){return _0x5cce('0x11')==_0xa52dc5[_0x5cce('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43e7=['editor','CommentsEditing','get','plugins','afterInit'];(function(_0x475bb2,_0x43e75f){const _0x120c75=function(_0x5d1d9a){while(--_0x5d1d9a){_0x475bb2['push'](_0x475bb2['shift']());}};_0x120c75(++_0x43e75f);}(_0x43e7,0x190));const _0x120c=function(_0x475bb2,_0x43e75f){_0x475bb2=_0x475bb2-0x0;let _0x120c75=_0x43e7[_0x475bb2];return _0x120c75;};import{Plugin as _0x9871dd}from'ckeditor5/src/core';export default class G extends _0x9871dd{[_0x120c('0x4')](){const _0x3abdbd=this[_0x120c('0x0')];if(!_0x3abdbd[_0x120c('0x3')]['has'](_0x120c('0x1')))return;_0x3abdbd[_0x120c('0x3')][_0x120c('0x2')]('TrackChangesEditing')['enableCommand']('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12f6=['uiElement','showSuggestionHighlights','markerName','downcastDispatcher','markerNameToElements','commands','enableCommand','data','end','buffer','merge','batch','editing','editor','model','remove','high','lock','requires','TrackChangesEditing','detach','createRange','selection','delete','start','unbindElementFromMarkerName','mapper','options','unlock','deleteForward','isCollapsed','unit','fromRange','bind','get','root','$graveyard','plugins','addMarker:suggestion:deletion','createSelection','removeMarker:suggestion:deletion','writer'];(function(_0x33fa6d,_0x12f603){const _0x316e69=function(_0x1f805d){while(--_0x1f805d){_0x33fa6d['push'](_0x33fa6d['shift']());}};_0x316e69(++_0x12f603);}(_0x12f6,0x13e));const _0x316e=function(_0x33fa6d,_0x12f603){_0x33fa6d=_0x33fa6d-0x0;let _0x316e69=_0x12f6[_0x33fa6d];return _0x316e69;};import{Plugin as _0x37a798}from'ckeditor5/src/core';import{LiveRange as _0x2c0fd6}from'ckeditor5/src/engine';import{Delete as _0xc00956}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x51b9a0}from'./utils';export default class L extends _0x37a798{static get[_0x316e('0x24')](){return[_0xc00956];}['init'](){const _0x6bc21c=this[_0x316e('0x1f')],_0x541482=_0x6bc21c[_0x316e('0xd')][_0x316e('0xa')](_0x316e('0x25'));_0x541482[_0x316e('0x18')](_0x316e('0x29'));const _0x2b148b=_0x6bc21c[_0x316e('0x17')]['get'](_0x316e('0x5'));_0x541482['enableCommand'](_0x316e('0x5'),(_0x1b5c61,_0x56fa22={})=>{const _0x18734c=_0x6bc21c[_0x316e('0x20')][_0x316e('0xf')](_0x6bc21c[_0x316e('0x20')]['document'][_0x316e('0x28')]);_0x18734c[_0x316e('0x6')]&&_0x6bc21c[_0x316e('0x20')]['modifySelection'](_0x18734c,{'direction':'forward','unit':_0x56fa22[_0x316e('0x7')]});const _0x257937=_0x18734c['getFirstRange'](),_0x4016dc=_0x2c0fd6[_0x316e('0x8')](_0x257937);let _0x3cc538;_0x1b5c61(_0x56fa22),_0x3cc538=_0x316e('0xc')==_0x4016dc[_0x316e('0xb')]['rootName']?_0x6bc21c[_0x316e('0x20')][_0x316e('0x27')](_0x257937[_0x316e('0x0')]):_0x6bc21c['model']['createRange'](_0x4016dc[_0x316e('0x0')],_0x4016dc[_0x316e('0x1a')]),_0x4016dc[_0x316e('0x26')](),_0x6bc21c[_0x316e('0x20')]['enqueueChange'](_0x2b148b[_0x316e('0x1b')][_0x316e('0x1d')],_0x2d660f=>{_0x2b148b[_0x316e('0x1b')][_0x316e('0x23')](),_0x2d660f['setSelection'](_0x2d660f[_0x316e('0x27')](_0x3cc538[_0x316e('0x1a')])),_0x2b148b['buffer'][_0x316e('0x4')]();});}),_0x6bc21c['editing']['downcastDispatcher']['on'](_0x316e('0xe'),_0x51b9a0(_0x6bc21c,_0x316e('0x1c')),{'priority':_0x316e('0x22')}),_0x6bc21c[_0x316e('0x19')][_0x316e('0x15')]['on'](_0x316e('0xe'),(_0x5d9fc3,_0x3c5402,_0x2f5158)=>{_0x2f5158[_0x316e('0x3')][_0x316e('0x13')]&&_0x51b9a0(_0x6bc21c,'merge',{'showActiveMarker':!0x1})[_0x316e('0x9')](this)(_0x5d9fc3,_0x3c5402,_0x2f5158);},{'priority':'high'}),_0x6bc21c[_0x316e('0x1e')][_0x316e('0x15')]['on'](_0x316e('0x10'),(_0x389b20,_0x2ef629,_0x75e997)=>{const _0x14565e=_0x75e997[_0x316e('0x2')][_0x316e('0x16')](_0x2ef629[_0x316e('0x14')]);if(_0x14565e)for(const _0x12f9f9 of _0x14565e)_0x12f9f9['is'](_0x316e('0x12'))&&(_0x75e997['mapper'][_0x316e('0x1')](_0x12f9f9,_0x2ef629[_0x316e('0x14')]),_0x75e997[_0x316e('0x11')][_0x316e('0x21')](_0x12f9f9));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19b3=['locale','editor','*Format:*\x20insert\x20into\x20%0','commandName','document','registerCustomCallback','*Merge:*\x20%0','paragraph','ELEMENT_','*Indent:*\x20%0','isObject','nodeAfter','getSelectedBlocks','containsItem','_suggestionFactory','_descriptionFactory','has','listIndent','*Outdent:*\x20%0','commands','expandListBlocksToCompleteList','numberedList','deletion','outdentList','toUpperCase','enableCommand','model','getAttribute','documentList','getFirstRange','selection','*Change\x20to:*\x20%0','execute','start','DocumentListEditing','schema','map','listType','next','accept','from','TrackChangesEditing','list.multiBlock','nextSibling','DocumentListUtils','previousSibling','ELEMENT_LIST_ITEM','format','_LIST','markBlockFormat','parent','indentList','forceValue','refresh','ELEMENT_NUMBERED_LIST','plugins','add','end','get','fromRange','change','multipleBlocks','value','afterInit','length','*Format:*\x20remove\x20from\x20%0','ELEMENT_BULLETED_LIST','createPositionAt','splitListItemAfter','bulletedList','mergeListItemForward','createRange','setSelection','commandParams','detach','after','listItemId','splitListItemBefore','findIndex','config'];(function(_0x242993,_0x19b35e){const _0x7e2541=function(_0x3014b2){while(--_0x3014b2){_0x242993['push'](_0x242993['shift']());}};_0x7e2541(++_0x19b35e);}(_0x19b3,0xfc));const _0x7e25=function(_0x242993,_0x19b35e){_0x242993=_0x242993-0x0;let _0x7e2541=_0x19b3[_0x242993];return _0x7e2541;};import{Plugin as _0x3c715e}from'ckeditor5/src/core';import{getTranslation as _0x43c493}from'../utils/common-translations';import{LiveRange as _0x33a3ca}from'ckeditor5/src/engine';export default class q extends _0x3c715e{[_0x7e25('0x33')](){const _0x38b9c6=this[_0x7e25('0x45')];if(!_0x38b9c6[_0x7e25('0x2b')][_0x7e25('0x4')](_0x7e25('0x16')))return;const _0x5ba6e1=_0x38b9c6[_0x7e25('0x44')],_0xba6c84=_0x38b9c6[_0x7e25('0x2b')][_0x7e25('0x2e')](_0x7e25('0x1d')),_0x5a37ed=_0x38b9c6[_0x7e25('0x2b')][_0x7e25('0x2e')](_0x7e25('0x20'));function _0x387f12(_0x313c7d){return()=>{const _0x1b16b4=_0x38b9c6[_0x7e25('0x7')]['get'](_0x313c7d);if(_0x1b16b4[_0x7e25('0x32')]&&!_0x38b9c6[_0x7e25('0x43')][_0x7e25('0x2e')](_0x7e25('0x1e')))return void _0x38b9c6[_0x7e25('0x14')](_0x7e25('0x4b'),{});let _0xd4df9a=Array['from'](_0x38b9c6[_0x7e25('0xe')]['document'][_0x7e25('0x12')][_0x7e25('0x0')]());if(_0x47c5c9(_0x313c7d)){_0xd4df9a=_0x5a37ed[_0x7e25('0x8')](_0xd4df9a);const _0xd0a9e0=[];for(const _0x27ea75 of _0xd4df9a)_0x5a37ed['isFirstBlockOfListItem'](_0x27ea75)&&_0xd0a9e0['push'](_0x27ea75);_0xd4df9a=_0xd0a9e0;}_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x30')](()=>{_0xba6c84['markMultiRangeBlockFormat'](_0xd4df9a,{'commandName':_0x313c7d,'commandParams':[{'forceValue':!_0x1b16b4[_0x7e25('0x32')]}],'formatGroupId':_0x7e25('0x19')},[],_0x7e25('0x10'));});};}function _0x1a489c(_0x200d65){return()=>{const _0x299f1f=function(_0x36d1f9){let _0x41be47=Array[_0x7e25('0x1c')](_0x36d1f9);const _0x306339=_0x41be47[_0x7e25('0x42')](_0x36582d=>!_0x36582d['hasAttribute']('listItemId'));return _0x306339>-0x1&&(_0x41be47=_0x41be47['slice'](0x0,_0x306339)),_0x41be47;}(_0x38b9c6[_0x7e25('0xe')]['document']['selection'][_0x7e25('0x0')]()),_0x5f2a1b=_0x299f1f[_0x299f1f[_0x7e25('0x34')]-0x1],_0x251b92=_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x17')][_0x7e25('0x4e')](_0x5f2a1b)?_0x7e25('0x3f'):_0x7e25('0x2d'),_0x52b161=_0x38b9c6['model'][_0x7e25('0x3b')](_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x37')](_0x299f1f[0x0],'before'),_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x37')](_0x5f2a1b,_0x251b92));_0x38b9c6['model'][_0x7e25('0x30')](()=>{_0xba6c84[_0x7e25('0x25')](_0x52b161,{'commandName':_0x200d65,'commandParams':[],'formatGroupId':'listType'},function(_0x375740){const _0x4c9d1f=new Set();for(const _0x5e4829 of _0x375740){let _0x217f38=_0x5e4829[_0x7e25('0x1f')];for(;_0x217f38&&_0x217f38[_0x7e25('0xf')]('listIndent')>_0x5e4829[_0x7e25('0xf')](_0x7e25('0x5'));)_0x4c9d1f[_0x7e25('0x2c')](_0x217f38),_0x217f38=_0x217f38['nextSibling'];}return Array[_0x7e25('0x1c')](_0x4c9d1f);}(_0x299f1f));});};}function _0xb5614b(_0x3b3733){return()=>{const _0x222e76=_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x48')][_0x7e25('0x12')][_0x7e25('0x0')]()[_0x7e25('0x1a')]()[_0x7e25('0x32')],_0x52db97=_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x37')](_0x222e76,'before'),_0x3fbc09=_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x37')](_0x222e76,0x0),_0x12941d=_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x3b')](_0x52db97,_0x3fbc09);_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x30')](()=>{_0xba6c84[_0x7e25('0x25')](_0x12941d,{'commandName':_0x3b3733,'commandParams':[],'formatGroupId':'listType'});});};}function _0x47c5c9(_0x5d9d3c){const _0x58a628=_0x38b9c6[_0x7e25('0x7')][_0x7e25('0x2e')](_0x7e25('0x39'))[_0x7e25('0x32')],_0x2137b9=_0x38b9c6['commands'][_0x7e25('0x2e')]('numberedList')[_0x7e25('0x32')];return _0x7e25('0x9')===_0x5d9d3c?_0x58a628:_0x2137b9;}_0xba6c84['enableCommand']('numberedList',_0x387f12(_0x7e25('0x9'))),_0xba6c84[_0x7e25('0xd')](_0x7e25('0x39'),_0x387f12(_0x7e25('0x39'))),_0xba6c84[_0x7e25('0xd')](_0x7e25('0x27'),_0x1a489c(_0x7e25('0x27'))),_0xba6c84[_0x7e25('0xd')](_0x7e25('0xb'),_0x1a489c(_0x7e25('0xb'))),_0xba6c84['enableCommand'](_0x7e25('0x38'),_0xb5614b(_0x7e25('0x38'))),_0xba6c84[_0x7e25('0xd')](_0x7e25('0x41'),_0xb5614b(_0x7e25('0x41'))),_0xba6c84['_descriptionFactory']['registerElementLabel'](function(_0x58b65f){const _0x1d4f65=!_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x17')][_0x7e25('0x4e')](_0x58b65f),_0x1c652d=_0x58b65f[_0x7e25('0x21')],_0x4e5321=_0x58b65f[_0x7e25('0x1f')],_0x1f2f98=_0x58b65f['getAttribute'](_0x7e25('0x40')),_0x250fcf=!_0x1c652d||_0x1c652d[_0x7e25('0xf')](_0x7e25('0x40'))!==_0x1f2f98,_0x558371=!_0x4e5321||_0x4e5321[_0x7e25('0xf')]('listItemId')!==_0x1f2f98;return _0x1d4f65&&Boolean(_0x1f2f98)&&_0x250fcf&&_0x558371;},_0x2a6580=>_0x43c493(_0x5ba6e1,_0x7e25('0x22'),_0x2a6580)),_0xba6c84[_0x7e25('0x3')]['registerDescriptionCallback'](function(_0x3a6083){const {data:_0x3b74c4}=_0x3a6083;if(!_0x3b74c4)return;let _0x1c2f2b,_0xf2ad67,_0x2bc0a2,_0x544104;switch(_0x3b74c4[_0x7e25('0x47')]){case _0x7e25('0x39'):_0x2bc0a2=_0x3b74c4[_0x7e25('0x3d')][0x0][_0x7e25('0x28')],_0x544104=_0x47c5c9(_0x3b74c4[_0x7e25('0x47')]),_0x1c2f2b=_0x2bc0a2?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x544104&&_0x38b9c6[_0x7e25('0x43')]['get'](_0x7e25('0x1e'))||(_0x1c2f2b=_0x7e25('0x13')),_0xf2ad67={'type':_0x7e25('0x23'),'content':_0x43c493(_0x5ba6e1,_0x1c2f2b,_0x43c493(_0x5ba6e1,_0x7e25('0x36')))};break;case'numberedList':_0x2bc0a2=_0x3b74c4[_0x7e25('0x3d')][0x0][_0x7e25('0x28')],_0x544104=_0x47c5c9(_0x3b74c4['commandName']),_0x1c2f2b=_0x2bc0a2?_0x7e25('0x46'):_0x7e25('0x35'),!_0x544104&&_0x38b9c6[_0x7e25('0x43')][_0x7e25('0x2e')]('list.multiBlock')||(_0x1c2f2b=_0x7e25('0x13')),_0xf2ad67={'type':_0x7e25('0x23'),'content':_0x43c493(_0x5ba6e1,_0x1c2f2b,_0x43c493(_0x5ba6e1,_0x7e25('0x2a')))};break;case'indentList':_0x1c2f2b=_0x7e25('0x4d'),_0xf2ad67={'type':_0x7e25('0x23'),'content':_0x43c493(_0x5ba6e1,_0x1c2f2b,_0x43c493(_0x5ba6e1,_0x7e25('0x22')))};break;case'outdentList':_0x1c2f2b=function(_0x3ab4e5){const _0x30edce=_0x3ab4e5['getFirstRange']();let _0x18b3e7=_0x30edce[_0x7e25('0x15')][_0x7e25('0x4f')];for(;_0x18b3e7&&_0x30edce[_0x7e25('0x1')](_0x18b3e7);){if(_0x18b3e7[_0x7e25('0xf')](_0x7e25('0x5'))>0x0)return!0x1;_0x18b3e7=_0x18b3e7[_0x7e25('0x1f')];}return!0x0;}(_0x3a6083)?_0x43c493(_0x5ba6e1,_0x7e25('0x35'),_0x43c493(_0x5ba6e1,function(_0x25f68c){const _0x560c6c=_0x25f68c[_0x7e25('0x11')]()['start']['nodeAfter'];return _0x7e25('0x4c')+_0x560c6c['getAttribute'](_0x7e25('0x19'))[_0x7e25('0xc')]()+_0x7e25('0x24');}(_0x3a6083))):_0x43c493(_0x5ba6e1,_0x7e25('0x6'),_0x43c493(_0x5ba6e1,_0x7e25('0x22'))),_0xf2ad67={'type':_0x7e25('0x23'),'content':_0x1c2f2b};break;case'mergeListItemBackward':case _0x7e25('0x3a'):!0x1===_0x3b74c4[_0x7e25('0x31')]&&(_0x1c2f2b=_0x7e25('0x4a'),_0xf2ad67={'type':_0x7e25('0xa'),'content':_0x43c493(_0x5ba6e1,_0x1c2f2b,_0x43c493(_0x5ba6e1,'ELEMENT_LIST_ITEM'))});}return _0xf2ad67;}),_0xba6c84[_0x7e25('0x2')][_0x7e25('0x49')]('formatBlock','documentList',_0x7e25('0x1b'),function(_0x314d96,_0x1ac836){const _0x254dc5=[];for(let _0x3375e2 of _0x314d96)_0x3375e2[_0x7e25('0x15')][_0x7e25('0x4f')]===_0x3375e2['end'][_0x7e25('0x26')]&&(_0x3375e2=_0x38b9c6['model']['createRange'](_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x37')](_0x3375e2[_0x7e25('0x15')][_0x7e25('0x4f')],0x0))),_0x254dc5['push'](_0x3375e2);_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x30')](_0x21880f=>{const _0x27bbfd=_0x38b9c6[_0x7e25('0xe')][_0x7e25('0x48')][_0x7e25('0x12')],_0x5ca69f=Array[_0x7e25('0x1c')](_0x27bbfd['getRanges']())[_0x7e25('0x18')](_0x81e81a=>_0x33a3ca[_0x7e25('0x2f')](_0x81e81a));_0x21880f['setSelection'](_0x254dc5),_0x38b9c6['commands'][_0x7e25('0x2e')](_0x1ac836[_0x7e25('0x47')])[_0x7e25('0x29')](),_0x1ac836[_0x7e25('0x3d')]['push']({'forceDefaultExecution':!0x0}),_0x38b9c6[_0x7e25('0x14')](_0x1ac836[_0x7e25('0x47')],..._0x1ac836[_0x7e25('0x3d')]),_0x21880f[_0x7e25('0x3c')](_0x5ca69f);for(const _0x10f88d of _0x5ca69f)_0x10f88d[_0x7e25('0x3e')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cf3=['list.properties','listReversed','listType','document','push','bind','registerDescriptionCallback','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListUtils','enableCommand','listStart','change','get','commandParams','plugins','_getSuggestionBlocksForListStyle','*Format:*\x20set\x20order\x20to\x20regular','isListItemBlock','replace','filter','markMultiRangeBlockFormat','_getTranslationKeyForListStyle','TrackChangesEditing','config','format','getSelectedBlocks','numbered','expandListBlocksToCompleteList','reversed','type','getAttribute','ELEMENT_','startIndex','handleDescriptions','handleListReversedCommand','_LIST_','handleListStartCommand','handleListStyleCommand','has','commandName','listStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','from','editor','_getSuggestionBlocks','afterInit','selection','model','DocumentListPropertiesEditing'];(function(_0x986a25,_0x5cf3b3){const _0xe3ee2c=function(_0x1bd311){while(--_0x1bd311){_0x986a25['push'](_0x986a25['shift']());}};_0xe3ee2c(++_0x5cf3b3);}(_0x5cf3,0x8c));const _0xe3ee=function(_0x986a25,_0x5cf3b3){_0x986a25=_0x986a25-0x0;let _0xe3ee2c=_0x5cf3[_0x986a25];return _0xe3ee2c;};import{Plugin as _0x2e7669}from'ckeditor5/src/core';import{getTranslation as _0x30dd91}from'../utils/common-translations';export default class Ct extends _0x2e7669{[_0xe3ee('0x3')](){if(!this['editor'][_0xe3ee('0x15')][_0xe3ee('0x2d')](_0xe3ee('0x6')))return;const _0x5a48fa=this[_0xe3ee('0x1')][_0xe3ee('0x1e')][_0xe3ee('0x13')](_0xe3ee('0x7')),_0x120ed5=this[_0xe3ee('0x1')][_0xe3ee('0x15')][_0xe3ee('0x13')]('TrackChangesEditing');_0x5a48fa['styles']&&_0x120ed5['enableCommand'](_0xe3ee('0x2f'),this[_0xe3ee('0x2c')][_0xe3ee('0xc')](this)),_0x5a48fa['reversed']&&_0x120ed5[_0xe3ee('0x10')](_0xe3ee('0x8'),this[_0xe3ee('0x29')][_0xe3ee('0xc')](this)),_0x5a48fa[_0xe3ee('0x27')]&&_0x120ed5[_0xe3ee('0x10')](_0xe3ee('0x11'),this[_0xe3ee('0x2b')][_0xe3ee('0xc')](this)),_0x120ed5['_descriptionFactory'][_0xe3ee('0xd')](this[_0xe3ee('0x28')][_0xe3ee('0xc')](this));}[_0xe3ee('0x2c')](_0x43d33b,_0x198926={}){const _0xce787d=this[_0xe3ee('0x1')][_0xe3ee('0x15')]['get'](_0xe3ee('0x1d')),_0xad0bc3=this[_0xe3ee('0x16')]();this[_0xe3ee('0x1')]['model'][_0xe3ee('0x12')](()=>{_0xce787d[_0xe3ee('0x1b')](_0xad0bc3,{'commandName':_0xe3ee('0x2f'),'commandParams':[{'type':_0x198926['type']}],'formatGroupId':'listStyle'});});}[_0xe3ee('0x29')](_0x83a271,_0x21c162={}){const _0x1936af=this['editor'][_0xe3ee('0x15')][_0xe3ee('0x13')](_0xe3ee('0x1d')),_0x428c90=this[_0xe3ee('0x1')]['plugins'][_0xe3ee('0x13')](_0xe3ee('0xf')),_0x27db0d=this['_getSuggestionBlocks'](_0x5daf6b=>_0x428c90[_0xe3ee('0x18')](_0x5daf6b)&&_0xe3ee('0x21')===_0x5daf6b[_0xe3ee('0x25')](_0xe3ee('0x9')));null!==_0x27db0d&&this[_0xe3ee('0x1')][_0xe3ee('0x5')]['change'](()=>{_0x1936af['markMultiRangeBlockFormat'](_0x27db0d,{'commandName':_0xe3ee('0x8'),'commandParams':[{'reversed':_0x21c162[_0xe3ee('0x23')]}],'formatGroupId':_0xe3ee('0x8')});});}['handleListStartCommand'](_0x43e413,_0xfae6da={}){const _0x52ff8e=this['editor'][_0xe3ee('0x15')][_0xe3ee('0x13')](_0xe3ee('0x1d')),_0x22e069=this[_0xe3ee('0x1')][_0xe3ee('0x15')][_0xe3ee('0x13')](_0xe3ee('0xf')),_0x5e25ad=this[_0xe3ee('0x2')](_0x4415a7=>_0x22e069[_0xe3ee('0x18')](_0x4415a7)&&_0xe3ee('0x21')===_0x4415a7[_0xe3ee('0x25')]('listType'));null!==_0x5e25ad&&this[_0xe3ee('0x1')][_0xe3ee('0x5')][_0xe3ee('0x12')](()=>{_0x52ff8e[_0xe3ee('0x1b')](_0x5e25ad,{'commandName':_0xe3ee('0x11'),'commandParams':[{'startIndex':_0xfae6da[_0xe3ee('0x27')]}],'formatGroupId':_0xe3ee('0x11')});});}[_0xe3ee('0x28')](_0x374307){const _0x3ad5d8=this[_0xe3ee('0x1')]['locale'],{data:_0x3f88f2}=_0x374307;if(!_0x3f88f2)return;let _0x1bd077,_0x3fa072;switch(_0x3f88f2[_0xe3ee('0x2e')]){case _0xe3ee('0x2f'):_0x1bd077='*Change\x20to:*\x20%0',_0x3fa072={'type':'format','content':_0x30dd91(_0x3ad5d8,_0x1bd077,_0x30dd91(_0x3ad5d8,this['_getTranslationKeyForListStyle'](_0x3f88f2[_0xe3ee('0x14')][0x0][_0xe3ee('0x24')])))};break;case _0xe3ee('0x8'):_0x1bd077=_0x3f88f2['commandParams'][0x0]['reversed']?_0xe3ee('0xe'):_0xe3ee('0x17'),_0x3fa072={'type':_0xe3ee('0x1f'),'content':_0x30dd91(_0x3ad5d8,_0x1bd077)};break;case _0xe3ee('0x11'):_0x1bd077=_0xe3ee('0x30'),_0x3fa072={'type':_0xe3ee('0x1f'),'content':_0x30dd91(_0x3ad5d8,_0x1bd077,_0x3f88f2[_0xe3ee('0x14')][0x0][_0xe3ee('0x27')])};}return _0x3fa072;}[_0xe3ee('0x16')](){const _0x3ada3d=this[_0xe3ee('0x1')][_0xe3ee('0x15')][_0xe3ee('0x13')](_0xe3ee('0xf'));let _0x2d7170=Array[_0xe3ee('0x0')](this['editor'][_0xe3ee('0x5')][_0xe3ee('0xa')][_0xe3ee('0x4')][_0xe3ee('0x20')]());return _0x2d7170[_0xe3ee('0xb')](..._0x3ada3d[_0xe3ee('0x22')](_0x2d7170)),_0x2d7170=[...new Set(_0x2d7170)],_0x2d7170;}['_getSuggestionBlocks'](_0x3b994d){const _0x1ac67f=this[_0xe3ee('0x1')]['plugins'][_0xe3ee('0x13')]('DocumentListUtils');let _0x523414=Array[_0xe3ee('0x0')](this[_0xe3ee('0x1')][_0xe3ee('0x5')][_0xe3ee('0xa')]['selection'][_0xe3ee('0x20')]())[_0xe3ee('0x1a')](_0x3b994d);if(!_0x523414['length'])return null;_0x523414=_0x1ac67f[_0xe3ee('0x22')](_0x523414);const _0x30a3b7=[];for(const _0x4453f0 of _0x523414)_0x1ac67f['isFirstBlockOfListItem'](_0x4453f0)&&_0x30a3b7[_0xe3ee('0xb')](_0x4453f0);return _0x30a3b7;}[_0xe3ee('0x1c')](_0x199839){return _0xe3ee('0x26')+this['editor']['plugins']['get']('DocumentListPropertiesUtils')['getListTypeFromListStyleType'](_0x199839)['toUpperCase']()+_0xe3ee('0x2a')+_0x199839['toUpperCase']()[_0xe3ee('0x19')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ec5=['ck-suggestion-marker-split','showSuggestionHighlights','fire','document','change','downcastDispatcher','addMarker:suggestion:insertion','selection','editing','nextSibling','mapper','afterExecute','createPositionAt','hasClass','end','removeMarker:suggestion:insertion','TrackChangesEditing','plugins','high','enter','markerNameToElements','split','get','unbindElementFromMarkerName','commands','markerName','requires','writer','init','createRange','data','model','enableCommand'];(function(_0x4d4454,_0x1ec5e3){const _0x103f86=function(_0xba81aa){while(--_0xba81aa){_0x4d4454['push'](_0x4d4454['shift']());}};_0x103f86(++_0x1ec5e3);}(_0x1ec5,0x1a8));const _0x103f=function(_0x4d4454,_0x1ec5e3){_0x4d4454=_0x4d4454-0x0;let _0x103f86=_0x1ec5[_0x4d4454];return _0x103f86;};import{Plugin as _0x53cff4}from'ckeditor5/src/core';import{Enter as _0x18cd39}from'ckeditor5/src/enter';import{LiveRange as _0x54f528}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x454a3a}from'./utils';export default class z extends _0x53cff4{static get[_0x103f('0x1f')](){return[_0x18cd39];}[_0x103f('0x0')](){const _0x5cbdbf=this['editor'],_0x2c4f0c=_0x5cbdbf[_0x103f('0x16')]['get'](_0x103f('0x15')),_0x11a7eb=_0x5cbdbf[_0x103f('0x1d')][_0x103f('0x1b')](_0x103f('0x18'));_0x2c4f0c[_0x103f('0x4')](_0x103f('0x18'),()=>{_0x5cbdbf[_0x103f('0x3')][_0x103f('0x9')](_0x1f89f5=>{const _0x275918=_0x5cbdbf[_0x103f('0x3')][_0x103f('0x8')][_0x103f('0xc')],_0xb0114a=_0x275918['getFirstPosition'](),_0x205881=_0x54f528['fromRange'](_0x275918['getFirstRange']());if(_0x11a7eb['enterBlock'](_0x1f89f5)){const _0x44070b=_0x5cbdbf[_0x103f('0x3')][_0x103f('0x11')](_0xb0114a['parent'][_0x103f('0xe')],0x0),_0x233033=_0x1f89f5['createRange'](_0xb0114a,_0x44070b);_0x2c4f0c['markInsertion'](_0x233033);}else _0x1f89f5['setSelection'](_0x1f89f5[_0x103f('0x1')](_0x205881[_0x103f('0x13')]));_0x205881['detach'](),_0x11a7eb[_0x103f('0x7')](_0x103f('0x10'),{'writer':_0x1f89f5});});}),_0x5cbdbf[_0x103f('0xd')][_0x103f('0xa')]['on'](_0x103f('0xb'),_0x454a3a(_0x5cbdbf,_0x103f('0x1a')),{'priority':_0x103f('0x17')}),_0x5cbdbf[_0x103f('0xd')][_0x103f('0xa')]['on'](_0x103f('0x14'),(_0x5d95b2,_0x4d80e1,_0xdf06e3)=>{const _0x286666=_0xdf06e3[_0x103f('0xf')][_0x103f('0x19')](_0x4d80e1[_0x103f('0x1e')]);if(_0x286666)for(const _0x2eddfe of _0x286666)_0x2eddfe[_0x103f('0x12')](_0x103f('0x5'))&&(_0xdf06e3[_0x103f('0xf')][_0x103f('0x1c')](_0x2eddfe,_0x4d80e1[_0x103f('0x1e')]),_0xdf06e3[_0x103f('0x20')]['remove'](_0x2eddfe));},{'priority':_0x103f('0x17')}),_0x5cbdbf[_0x103f('0x2')]['downcastDispatcher']['on'](_0x103f('0xb'),(_0x4e128d,_0x3df3ea,_0x39f561)=>{_0x39f561['options'][_0x103f('0x6')]&&_0x454a3a(_0x5cbdbf,'split',{'showActiveMarker':!0x1})['bind'](this)(_0x4e128d,_0x3df3ea,_0x39f561);},{'priority':_0x103f('0x17')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b5f=['plugins','markers','TrackChangesEditing','createPositionAt','get','editor','suggestion:deletion','filter','FindAndReplaceUtils','handleFindCommand','start','findNext','item','enableCommand','getRange','findPrevious','getIntersection','FindAndReplaceEditing','findByTextCallback','_isInDeletionRange','string','has','afterInit','createRange','bind','end','replace','model','replaceAll'];(function(_0x24dc0c,_0x3b5fce){const _0x1a40bc=function(_0x21960e){while(--_0x21960e){_0x24dc0c['push'](_0x24dc0c['shift']());}};_0x1a40bc(++_0x3b5fce);}(_0x3b5f,0xfe));const _0x1a40=function(_0x24dc0c,_0x3b5fce){_0x24dc0c=_0x24dc0c-0x0;let _0x1a40bc=_0x3b5f[_0x24dc0c];return _0x1a40bc;};import{Plugin as _0x8ee25a}from'ckeditor5/src/core';export default class H extends _0x8ee25a{[_0x1a40('0x0')](){if(!this[_0x1a40('0xc')][_0x1a40('0x7')][_0x1a40('0x1c')](_0x1a40('0x18')))return;const _0x387002=this[_0x1a40('0xc')][_0x1a40('0x7')][_0x1a40('0xb')](_0x1a40('0x9'));_0x387002[_0x1a40('0x14')]('find',this['handleFindCommand'][_0x1a40('0x2')](this)),_0x387002[_0x1a40('0x14')](_0x1a40('0x12')),_0x387002[_0x1a40('0x14')](_0x1a40('0x16')),_0x387002['enableCommand'](_0x1a40('0x4')),_0x387002[_0x1a40('0x14')](_0x1a40('0x6'));}[_0x1a40('0x10')](_0x1ddb9f,_0x20440a,_0x42fe8e={}){const _0x4c625=this[_0x1a40('0xc')][_0x1a40('0x7')][_0x1a40('0xb')](_0x1a40('0xf'));if(void 0x0!==_0x42fe8e)return _0x1ddb9f(_0x4d5e54=>(_0x1a40('0x1b')==typeof _0x20440a?_0x4c625[_0x1a40('0x19')](_0x20440a,_0x42fe8e):_0x20440a)(_0x4d5e54)[_0x1a40('0xe')](_0x3e1ba6=>!0x1===this[_0x1a40('0x1a')](_0x3e1ba6,_0x4d5e54[_0x1a40('0x13')])),_0x42fe8e);}[_0x1a40('0x1a')](_0x2646ec,_0x383cb1){const _0xea6179=this[_0x1a40('0xc')][_0x1a40('0x5')][_0x1a40('0x1')](this[_0x1a40('0xc')][_0x1a40('0x5')][_0x1a40('0xa')](_0x383cb1,_0x2646ec[_0x1a40('0x11')]),this[_0x1a40('0xc')][_0x1a40('0x5')][_0x1a40('0xa')](_0x383cb1,_0x2646ec[_0x1a40('0x3')]));for(const _0x258db8 of this['editor'][_0x1a40('0x5')][_0x1a40('0x8')]['getMarkersGroup'](_0x1a40('0xd')))if(null!==_0xea6179[_0x1a40('0x17')](_0x258db8[_0x1a40('0x15')]()))return!0x0;return!0x1;}}
|