@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230630.0 → 0.0.0-nightly-20230702.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230702.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-20230702.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230702.0",
|
|
44
44
|
"lodash-es": "^4.17.11"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51f7=['getRanges','_isEnabledBasedOnSelection','canEditAt','isEnabled','acceptSuggestion','editor','_suggestions','track-changes-accept-suggestion-not-found','refresh','get','model','TrackChangesEditing'];(function(_0x39ba63,_0x51f718){const _0x3e1456=function(_0x3c1180){while(--_0x3c1180){_0x39ba63['push'](_0x39ba63['shift']());}};_0x3e1456(++_0x51f718);}(_0x51f7,0x156));const _0x3e14=function(_0x39ba63,_0x51f718){_0x39ba63=_0x39ba63-0x0;let _0x3e1456=_0x51f7[_0x39ba63];return _0x3e1456;};import{Command as _0x8f7426}from'ckeditor5/src/core';import{CKEditorError as _0x1eff57}from'ckeditor5/src/utils';export default class M extends _0x8f7426{constructor(_0x11e4c2,_0x174d0a){super(_0x11e4c2),this[_0x3e14('0x0')]=_0x174d0a,this[_0x3e14('0x2')](),this[_0x3e14('0x7')]=!0x1;}[_0x3e14('0x2')](){this[_0x3e14('0x9')]=!0x0;}['execute'](_0x4ad056){const _0x42d07e=this[_0x3e14('0x0')][_0x3e14('0x3')](_0x4ad056);if(!_0x42d07e)throw new _0x1eff57(_0x3e14('0x1'),this);const _0x14fa2f=_0x42d07e[_0x3e14('0x6')]();this[_0x3e14('0xb')][_0x3e14('0x4')][_0x3e14('0x8')](_0x14fa2f)&&this[_0x3e14('0xb')]['plugins']['get'](_0x3e14('0x5'))[_0x3e14('0xa')](_0x42d07e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f06=['get','execute','discardSuggestion','_isEnabledBasedOnSelection','editor','refresh','_suggestions','model','plugins','getRanges'];(function(_0x1ee4d6,_0x4f06f6){const _0x5599e3=function(_0x5d508f){while(--_0x5d508f){_0x1ee4d6['push'](_0x1ee4d6['shift']());}};_0x5599e3(++_0x4f06f6);}(_0x4f06,0xe5));const _0x5599=function(_0x1ee4d6,_0x4f06f6){_0x1ee4d6=_0x1ee4d6-0x0;let _0x5599e3=_0x4f06[_0x1ee4d6];return _0x5599e3;};import{Command as _0x3140ef}from'ckeditor5/src/core';import{CKEditorError as _0x51aeae}from'ckeditor5/src/utils';export default class $ extends _0x3140ef{constructor(_0x409998,_0x94be3a){super(_0x409998),this['_suggestions']=_0x94be3a,this[_0x5599('0x6')](),this[_0x5599('0x4')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x5599('0x2')](_0x4202d4){const _0x40a45b=this[_0x5599('0x7')][_0x5599('0x1')](_0x4202d4);if(!_0x40a45b)throw new _0x51aeae('track-changes-discard-suggestion-not-found',this);const _0x37c566=_0x40a45b[_0x5599('0x0')]();this[_0x5599('0x5')][_0x5599('0x8')]['canEditAt'](_0x37c566)&&this[_0x5599('0x5')][_0x5599('0x9')]['get']('TrackChangesEditing')[_0x5599('0x3')](_0x40a45b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41c6=['_suggestions','canEditAt','isEnabled','some','from','_command','getRanges','editor','refresh','values','execute','model','isInContent'];(function(_0x532e39,_0x41c642){const _0x12ea80=function(_0xccb5d8){while(--_0xccb5d8){_0x532e39['push'](_0x532e39['shift']());}};_0x12ea80(++_0x41c642);}(_0x41c6,0x1c1));const _0x12ea=function(_0x532e39,_0x41c642){_0x532e39=_0x532e39-0x0;let _0x12ea80=_0x41c6[_0x532e39];return _0x12ea80;};import{Command as _0x318104}from'ckeditor5/src/core';import{sortSuggestions as _0x4c9ad6,executeCommandForSuggestions as _0xe07ddc}from'../utils/utils';export default class N extends _0x318104{constructor(_0x469eba,_0x3b34a6,_0x373dce){super(_0x469eba),this[_0x12ea('0xb')]=_0x3b34a6,this[_0x12ea('0x6')]=_0x373dce,this[_0x12ea('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x12ea('0x1')](){const _0x530bda=Array[_0x12ea('0xa')](this[_0x12ea('0x6')][_0x12ea('0x2')]())[_0x12ea('0x9')](_0x510114=>_0x510114[_0x12ea('0x5')]);this['isEnabled']=this[_0x12ea('0xb')][_0x12ea('0x8')]&&_0x530bda;}[_0x12ea('0x3')](){const _0x330c22=_0x4c9ad6(Array['from'](this[_0x12ea('0x6')][_0x12ea('0x2')]()));for(const _0x2f97a6 of _0x330c22){const _0x4f3753=_0x2f97a6[_0x12ea('0xc')]();if(!this[_0x12ea('0x0')][_0x12ea('0x4')][_0x12ea('0x7')](_0x4f3753))return;}_0xe07ddc(this[_0x12ea('0x0')][_0x12ea('0x4')],this[_0x12ea('0xb')],_0x330c22);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4edb=['from','isEnabled','_isEnabledBasedOnSelection','getRanges','size','model','_selectedSuggestions','document','_command','selection','refresh','values','editor','_suggestions','execute'];(function(_0x351670,_0x4edb61){const _0x3dd8a5=function(_0x4a803d){while(--_0x4a803d){_0x351670['push'](_0x351670['shift']());}};_0x3dd8a5(++_0x4edb61);}(_0x4edb,0x143));const _0x3dd8=function(_0x351670,_0x4edb61){_0x351670=_0x351670-0x0;let _0x3dd8a5=_0x4edb[_0x351670];return _0x3dd8a5;};import{Command as _0x3a75c0}from'ckeditor5/src/core';import{sortSuggestions as _0x3da5b4,getSelectedSuggestions as _0x45a43f,executeCommandForSuggestions as _0x3a8032}from'../utils/utils';export default class R extends _0x3a75c0{constructor(_0x4a274c,_0x1f3b52,_0x54ecb2){super(_0x4a274c),this[_0x3dd8('0x0')]=_0x1f3b52,this[_0x3dd8('0x5')]=_0x54ecb2,this[_0x3dd8('0xd')]=new Set(),this[_0x3dd8('0x2')](),this[_0x3dd8('0x9')]=!0x1;}['refresh'](){const _0x3fa0e6=this[_0x3dd8('0x4')][_0x3dd8('0xc')][_0x3dd8('0xe')][_0x3dd8('0x1')],_0x353075=Array['from'](this[_0x3dd8('0x5')][_0x3dd8('0x3')]());this['_selectedSuggestions']=_0x45a43f(_0x3fa0e6,_0x353075),this[_0x3dd8('0x8')]=this[_0x3dd8('0x0')][_0x3dd8('0x8')]&&!!this['_selectedSuggestions'][_0x3dd8('0xb')];}[_0x3dd8('0x6')](){const _0xb73ea6=_0x3da5b4(Array[_0x3dd8('0x7')](this[_0x3dd8('0xd')]));for(const _0x5e36a3 of _0xb73ea6){const _0x5ed232=_0x5e36a3[_0x3dd8('0xa')]();if(!this[_0x3dd8('0x4')][_0x3dd8('0xc')]['canEditAt'](_0x5ed232))return;}_0x3a8032(this['editor']['model'],this[_0x3dd8('0x0')],_0xb73ea6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x400d=['clearForceDisabled','value','refresh','TrackChangesCommand','_isEnabledBasedOnSelection','isEnabled','_disableUnsupportedCommands','execute','_enabledCommands','commands','affectsData','editor','_enableCommands','has'];(function(_0x4b86d3,_0x400d94){const _0x16fb98=function(_0x33b917){while(--_0x33b917){_0x4b86d3['push'](_0x4b86d3['shift']());}};_0x16fb98(++_0x400d94);}(_0x400d,0x1a1));const _0x16fb=function(_0x4b86d3,_0x400d94){_0x4b86d3=_0x4b86d3-0x0;let _0x16fb98=_0x400d[_0x4b86d3];return _0x16fb98;};import{Command as _0x8a7d36}from'ckeditor5/src/core';export default class _ extends _0x8a7d36{constructor(_0x3bee4b,_0x2d1913){super(_0x3bee4b),this['_enabledCommands']=_0x2d1913,this['value']=!0x1,this[_0x16fb('0x5')](),this[_0x16fb('0x7')]=!0x1;}[_0x16fb('0x5')](){this[_0x16fb('0x8')]=!0x0;}[_0x16fb('0xa')](){this[_0x16fb('0x4')]=!this['value'],this[_0x16fb('0x4')]?this[_0x16fb('0x9')]():this[_0x16fb('0x1')]();}[_0x16fb('0x9')](){for(const _0x3015b0 of this[_0x16fb('0x0')][_0x16fb('0xc')]['commands']())_0x3015b0[_0x16fb('0xd')]&&!this[_0x16fb('0xb')][_0x16fb('0x2')](_0x3015b0)&&_0x3015b0['forceDisabled'](_0x16fb('0x6'));}['_enableCommands'](){for(const _0x48fee7 of this[_0x16fb('0x0')][_0x16fb('0xc')][_0x16fb('0xc')]())_0x48fee7[_0x16fb('0xd')]&&!this[_0x16fb('0xb')]['has'](_0x48fee7)&&_0x48fee7[_0x16fb('0x3')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dd5=['center','AlignmentEditing','model','change','FORMAT_ALIGN_TO_CENTER','ltr','justify','value','getAttribute','alignment','commandName','FORMAT_JUSTIFY_TEXT','right','*Format:*\x20%0','selection','left','FORMAT_ALIGN_TO_LEFT','getSelectedBlocks','document','registerDescriptionCallback','afterInit','from','TrackChangesEditing','format','plugins','editor','locale','markBlockFormat'];(function(_0x3915c4,_0x4dd5f2){const _0x480981=function(_0x40958a){while(--_0x40958a){_0x3915c4['push'](_0x3915c4['shift']());}};_0x480981(++_0x4dd5f2);}(_0x4dd5,0x154));const _0x4809=function(_0x3915c4,_0x4dd5f2){_0x3915c4=_0x3915c4-0x0;let _0x480981=_0x4dd5[_0x3915c4];return _0x480981;};import{Plugin as _0x1d429b}from'ckeditor5/src/core';import{getTranslation as _0x1a88dd}from'../utils/common-translations';export default class x extends _0x1d429b{[_0x4809('0x10')](){const _0x4a5121=this['editor'],_0x42d41e=_0x4a5121['locale'];if(!_0x4a5121[_0x4809('0x14')]['has'](_0x4809('0x19')))return;const _0x28b5ea=_0x4a5121[_0x4809('0x14')]['get'](_0x4809('0x12'));_0x28b5ea['enableCommand']('alignment',(_0x2c0376,_0x235460={})=>{let _0x452f13=_0x235460[_0x4809('0x3')];_0x235460[_0x4809('0x3')]||(_0x452f13=_0x4809('0x1')===_0x4a5121[_0x4809('0x16')]['contentLanguageDirection']?_0x4809('0xb'):_0x4809('0x8'));const _0x1866c6=Array[_0x4809('0x11')](this[_0x4809('0x15')][_0x4809('0x1a')][_0x4809('0xe')][_0x4809('0xa')][_0x4809('0xd')]())['filter'](_0x1cc35b=>function(_0x3f4682,_0x26808f,_0x4ac457){const _0x3482b4=_0x3f4682[_0x4809('0x4')](_0x4809('0x5'))||null;return _0x26808f['checkAttribute'](_0x3f4682,_0x4809('0x5'))&&_0x4ac457!=_0x3482b4;}(_0x1cc35b,this[_0x4809('0x15')]['model']['schema'],_0x452f13));_0x4a5121[_0x4809('0x1a')][_0x4809('0x1b')](()=>{for(const _0xa19321 of _0x1866c6)_0x28b5ea[_0x4809('0x17')](_0xa19321,{'commandName':_0x4809('0x5'),'commandParams':[{'value':_0x452f13}]});});}),_0x28b5ea['_descriptionFactory'][_0x4809('0xf')](_0x162c5c=>{const {data:_0x1dd9e2}=_0x162c5c;if(_0x1dd9e2&&_0x4809('0x5')==_0x1dd9e2[_0x4809('0x6')]){const _0x5c846a=_0x1dd9e2['commandParams'][0x0][_0x4809('0x3')];return{'type':_0x4809('0x13'),'content':_0x1a88dd(_0x42d41e,_0x4809('0x9'),function(_0x5e372b){switch(_0x5e372b){case _0x4809('0xb'):return _0x1a88dd(_0x42d41e,_0x4809('0xc'));case'right':return _0x1a88dd(_0x42d41e,'FORMAT_ALIGN_TO_RIGHT');case _0x4809('0x18'):return _0x1a88dd(_0x42d41e,_0x4809('0x0'));case _0x4809('0x2'):return _0x1a88dd(_0x42d41e,_0x4809('0x7'));}}(_0x5c846a))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x201e=['document','value','FORMAT_CODE','FORMAT_STRIKETHROUGH','SuperscriptEditing','underline','getRanges','strikethrough','locale','*Remove\x20format:*\x20%0','change','get','italic','plugins','format','UnderlineEditing','commandParams','superscript','BoldEditing','StrikethroughEditing','slice','FORMAT_SUBSCRIPT','ItalicEditing','selection','CodeEditing','FORMAT_ITALIC','markInlineFormat','afterInit','from','toLowerCase','FORMAT_BOLD','forceValue','has','*Format:*\x20%0','SubscriptEditing','commands','commandName','TrackChangesEditing','FORMAT_UNDERLINE','code','model'];(function(_0x22b859,_0x201e35){const _0xbe1325=function(_0x407f56){while(--_0x407f56){_0x22b859['push'](_0x22b859['shift']());}};_0xbe1325(++_0x201e35);}(_0x201e,0xf5));const _0xbe13=function(_0x22b859,_0x201e35){_0x22b859=_0x22b859-0x0;let _0xbe1325=_0x201e[_0x22b859];return _0xbe1325;};import{Plugin as _0x3b746d}from'ckeditor5/src/core';import{getTranslation as _0x4a2c2f}from'../utils/common-translations';import{getRangesWithAttribute as _0x120c14}from'./utils';const Kt=[_0xbe13('0x13'),_0xbe13('0x17'),_0xbe13('0x10'),_0xbe13('0x19'),_0xbe13('0x14'),_0xbe13('0x23'),_0xbe13('0x5')];export default class U extends _0x3b746d{[_0xbe13('0x1c')](){const _0x19620c=this['editor'],_0x5e09fb=_0x19620c[_0xbe13('0x0')],_0x578dce=_0x19620c[_0xbe13('0xe')][_0xbe13('0xc')](_0xbe13('0x26')),_0x560b84=_0x19620c[_0xbe13('0x9')];for(const _0x2ab942 of Kt){if(!_0x19620c[_0xbe13('0xe')][_0xbe13('0x21')](_0x2ab942))continue;const _0x22e608=_0x2ab942[_0xbe13('0x15')](0x0,-0x7)[_0xbe13('0x1e')](),_0xad4fcc=_0x19620c[_0xbe13('0x24')]['get'](_0x22e608);_0x578dce['enableCommand'](_0x22e608,(_0xaf7fc9,_0x3b1576={})=>{const _0x29e930=_0x5e09fb[_0xbe13('0x1')][_0xbe13('0x18')];if(_0x29e930['isCollapsed'])return void _0xaf7fc9(_0x3b1576);const _0x599d82=void 0x0!==_0x3b1576[_0xbe13('0x20')]?_0x3b1576[_0xbe13('0x20')]:!_0xad4fcc[_0xbe13('0x2')];_0x5e09fb[_0xbe13('0xb')](()=>{const _0x5f06b0=Array[_0xbe13('0x1d')](_0x29e930[_0xbe13('0x7')]());for(const _0x422bd2 of _0x5f06b0){const _0x33c60e=_0x599d82?[_0x422bd2]:_0x120c14(_0x22e608,_0x422bd2,_0x5e09fb);for(const _0x5d1a08 of _0x33c60e)_0x578dce[_0xbe13('0x1b')](_0x5d1a08,{'commandName':_0x22e608,'commandParams':[{'forceValue':_0x599d82}]});}});});}function _0x3e6331(_0x18b614,_0x1061ea){_0x578dce['_descriptionFactory']['registerDescriptionCallback'](_0x4f0bdd=>{const {data:_0x4cb3ec}=_0x4f0bdd;if(_0x4cb3ec&&_0x4cb3ec[_0xbe13('0x25')]===_0x18b614)return _0x4cb3ec[_0xbe13('0x11')][0x0][_0xbe13('0x20')]?{'type':_0xbe13('0xf'),'content':_0x4a2c2f(_0x560b84,_0xbe13('0x22'),_0x1061ea)}:{'type':_0xbe13('0xf'),'content':_0x4a2c2f(_0x560b84,_0xbe13('0xa'),_0x1061ea)};});}_0x3e6331('bold',_0x4a2c2f(_0x560b84,_0xbe13('0x1f'))),_0x3e6331(_0xbe13('0xd'),_0x4a2c2f(_0x560b84,_0xbe13('0x1a'))),_0x3e6331(_0xbe13('0x6'),_0x4a2c2f(_0x560b84,_0xbe13('0x27'))),_0x3e6331(_0xbe13('0x28'),_0x4a2c2f(_0x560b84,_0xbe13('0x3'))),_0x3e6331(_0xbe13('0x8'),_0x4a2c2f(_0x560b84,_0xbe13('0x4'))),_0x3e6331('subscript',_0x4a2c2f(_0x560b84,_0xbe13('0x16'))),_0x3e6331(_0xbe13('0x12'),_0x4a2c2f(_0x560b84,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x480c=['model','BlockQuoteEditing','get','has','checkChild','afterInit','markBlockFormat','_descriptionFactory','commands','*Format:*\x20%0','parent','$root','ELEMENT_BLOCK_QUOTE','blockQuote','commandName','name','from','change','format','enableCommand','filter','schema','getSelectedBlocks','registerDescriptionCallback','selection','forceValue','editor'];(function(_0x286492,_0x480cee){const _0x2d9fdb=function(_0x322ae3){while(--_0x322ae3){_0x286492['push'](_0x286492['shift']());}};_0x2d9fdb(++_0x480cee);}(_0x480c,0x10d));const _0x2d9f=function(_0x286492,_0x480cee){_0x286492=_0x286492-0x0;let _0x2d9fdb=_0x480c[_0x286492];return _0x2d9fdb;};import{Plugin as _0x343e4e}from'ckeditor5/src/core';import{getTranslation as _0x2b696d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x819264}from'../utils/utils';export default class j extends _0x343e4e{[_0x2d9f('0x6')](){const _0x61d9aa=this[_0x2d9f('0x0')],_0x369db8=_0x61d9aa['locale'];if(!_0x61d9aa['plugins'][_0x2d9f('0x4')](_0x2d9f('0x2')))return;const _0x39b38b=_0x61d9aa['plugins'][_0x2d9f('0x3')]('TrackChangesEditing'),_0x48ad52=this['editor'][_0x2d9f('0x9')][_0x2d9f('0x3')](_0x2d9f('0xe'));_0x39b38b[_0x2d9f('0x14')]('blockQuote',(_0x40d167,_0x5a63ca={})=>{const _0x43812d=this[_0x2d9f('0x0')]['model']['document'][_0x2d9f('0x19')],_0x85db8e=_0x5a63ca&&void 0x0!==_0x5a63ca[_0x2d9f('0x1a')]?_0x5a63ca[_0x2d9f('0x1a')]:!_0x48ad52['value'];let _0x1361c1=[];if(_0x85db8e){const _0x128a64=Array[_0x2d9f('0x11')](_0x43812d['getSelectedBlocks']())[_0x2d9f('0x15')](_0x58b287=>Xt(_0x58b287)||function(_0x3d0e31,_0x545d34){const _0x51e99b=_0x545d34[_0x2d9f('0x5')](_0x3d0e31[_0x2d9f('0xb')],_0x2d9f('0xe')),_0x1d79a7=_0x545d34[_0x2d9f('0x5')]([_0x2d9f('0xc'),_0x2d9f('0xe')],_0x3d0e31);return _0x51e99b&&_0x1d79a7;}(_0x58b287,this['editor'][_0x2d9f('0x1')][_0x2d9f('0x16')]));_0x1361c1=_0x819264(_0x128a64,_0x61d9aa[_0x2d9f('0x1')]);}else{const _0x1164d5=Array[_0x2d9f('0x11')](_0x43812d[_0x2d9f('0x17')]())[_0x2d9f('0x15')](_0x5bef8e=>Xt(_0x5bef8e));_0x1361c1=_0x819264(_0x1164d5,_0x61d9aa[_0x2d9f('0x1')]);}_0x61d9aa['model'][_0x2d9f('0x12')](()=>{for(const _0x509444 of _0x1361c1)_0x39b38b[_0x2d9f('0x7')](_0x509444,{'commandName':_0x2d9f('0xe'),'commandParams':[{'forceValue':_0x85db8e}]});});}),_0x39b38b[_0x2d9f('0x8')][_0x2d9f('0x18')](_0x13cafc=>{const {data:_0x54efb4}=_0x13cafc;if(_0x54efb4&&_0x2d9f('0xe')==_0x54efb4[_0x2d9f('0xf')]){const _0x31dae9=_0x2b696d(_0x369db8,_0x2d9f('0xd'));return _0x54efb4['commandParams'][0x0]['forceValue']?{'type':_0x2d9f('0x13'),'content':_0x2b696d(_0x369db8,_0x2d9f('0xa'),_0x31dae9)}:{'type':_0x2d9f('0x13'),'content':_0x2b696d(_0x369db8,'*Remove\x20format:*\x20%0',_0x31dae9)};}});}}function Xt(_0xbf98eb){return _0x2d9f('0xe')==_0xbf98eb[_0x2d9f('0xb')][_0x2d9f('0x10')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c5b=['get','TrackChangesEditing','commands','plugins','ckbox','enableCommand'];(function(_0x39b12d,_0x1c5b9c){const _0xabe9b2=function(_0x2ad1c5){while(--_0x2ad1c5){_0x39b12d['push'](_0x39b12d['shift']());}};_0xabe9b2(++_0x1c5b9c);}(_0x1c5b,0x156));const _0xabe9=function(_0x39b12d,_0x1c5b9c){_0x39b12d=_0x39b12d-0x0;let _0xabe9b2=_0x1c5b[_0x39b12d];return _0xabe9b2;};import{Plugin as _0x2f203a}from'ckeditor5/src/core';export default class E extends _0x2f203a{['afterInit'](){const _0x563a00=this['editor'];_0x563a00[_0xabe9('0x2')]['get'](_0xabe9('0x4'))&&_0x563a00[_0xabe9('0x3')][_0xabe9('0x0')](_0xabe9('0x1'))[_0xabe9('0x5')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x712e=['enableCommand','name','afterInit','format','languages','value','document','filter','blockName','forceValue','selection','locale','CodeBlock','get','plugins','commandName','commands','config','outdentCodeBlock','commandParams','ELEMENT_CODE_BLOCK','*Remove\x20format:*\x20%0','from','*Format:*\x20%0','codeBlock','_descriptionFactory','language','formatBlock','parent','schema','indentCodeBlock','model','checkChild','markBlockFormat','getSelectedBlocks','find','editor','registerElementLabel','change'];(function(_0x48c05a,_0x712ea8){const _0x511c93=function(_0x107676){while(--_0x107676){_0x48c05a['push'](_0x48c05a['shift']());}};_0x511c93(++_0x712ea8);}(_0x712e,0x195));const _0x511c=function(_0x48c05a,_0x712ea8){_0x48c05a=_0x48c05a-0x0;let _0x511c93=_0x712e[_0x48c05a];return _0x511c93;};import{Plugin as _0x286864}from'ckeditor5/src/core';import{getTranslation as _0x13c88b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1ba45d}from'../utils/utils';export default class O extends _0x286864{[_0x511c('0x1a')](){const _0x3b0142=this[_0x511c('0x15')];if(!_0x3b0142['plugins']['has'](_0x511c('0x24')))return;const _0x457044=_0x3b0142[_0x511c('0x26')][_0x511c('0x25')]('TrackChangesEditing'),_0x2c36d6=_0x3b0142[_0x511c('0x23')],_0x1ee2e2=_0x3b0142[_0x511c('0x2')][_0x511c('0x25')]('codeBlock')[_0x511c('0x1c')],_0x1d001f=_0x3b0142[_0x511c('0x1')][_0x511c('0x25')](_0x511c('0x9'));_0x457044[_0x511c('0x18')](_0x511c('0xf')),_0x457044[_0x511c('0x18')](_0x511c('0x3')),_0x457044[_0x511c('0x18')](_0x511c('0x9'),(_0x36c65c,_0x221f1a={})=>{const _0x321b7c=_0x3b0142[_0x511c('0x10')],_0x5a7496=_0x3b0142['model'][_0x511c('0x1e')][_0x511c('0x22')],_0x243303=_0x221f1a&&void 0x0!==_0x221f1a[_0x511c('0x21')]?_0x221f1a['forceValue']:!_0x1d001f[_0x511c('0x1d')];let _0x4f4609;_0x221f1a['language']||(_0x221f1a['language']=_0x1ee2e2[0x0][_0x511c('0xb')]),_0x4f4609=_0x243303?Array[_0x511c('0x7')](_0x5a7496[_0x511c('0x13')]())[_0x511c('0x1f')](_0x148d22=>oo(_0x148d22)||function(_0x48728a,_0x43f538){if(_0x48728a['is']('rootElement')||_0x43f538['isLimit'](_0x48728a))return!0x1;return _0x43f538[_0x511c('0x11')](_0x48728a[_0x511c('0xd')],'codeBlock');}(_0x148d22,_0x321b7c[_0x511c('0xe')])):Array[_0x511c('0x7')](_0x5a7496[_0x511c('0x13')]())[_0x511c('0x1f')](_0x1dda7c=>oo(_0x1dda7c));const _0x3ba4d3=_0x1ba45d(_0x4f4609,_0x321b7c);_0x321b7c[_0x511c('0x17')](()=>{for(const _0x53dec3 of _0x3ba4d3)_0x457044[_0x511c('0x12')](_0x53dec3,{'commandName':_0x511c('0x9'),'commandParams':[{..._0x221f1a,'forceValue':_0x243303}],'formatGroupId':_0x511c('0x20')});});}),(_0x457044[_0x511c('0xa')][_0x511c('0x16')](_0x511c('0x9'),_0x543497=>_0x13c88b(_0x2c36d6,_0x511c('0x5'),_0x543497)),_0x457044[_0x511c('0xa')]['registerDescriptionCallback'](_0x308756=>{const _0x403d97=_0x2c36d6['t'],{type:_0x31c8f1,data:_0x7a5b4c}=_0x308756;if(_0x511c('0xc')==_0x31c8f1&&_0x7a5b4c&&_0x511c('0x9')==_0x7a5b4c[_0x511c('0x0')]){const _0x462722=_0x7a5b4c[_0x511c('0x4')][0x0][_0x511c('0xb')],_0xe9d552=_0x403d97(_0x1ee2e2[_0x511c('0x14')](_0x235b5c=>_0x235b5c[_0x511c('0xb')]===_0x462722)['label']);return _0x7a5b4c['commandParams'][0x0][_0x511c('0x21')]?{'type':'format','content':_0x13c88b(_0x2c36d6,_0x511c('0x8'),_0x13c88b(_0x2c36d6,_0x511c('0x5'),0x1)+'\x20('+_0xe9d552+')')}:{'type':_0x511c('0x1b'),'content':_0x13c88b(_0x2c36d6,_0x511c('0x6'),_0x13c88b(_0x2c36d6,_0x511c('0x5'),0x1))};}}));}}function oo(_0x544ed8){return _0x511c('0x9')==_0x544ed8[_0x511c('0x19')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52d4=['enableCommand','addCommentThread','editor','CommentsEditing','plugins','has','get','TrackChangesEditing','afterInit'];(function(_0x23046b,_0x52d44f){const _0x153acb=function(_0x2775b9){while(--_0x2775b9){_0x23046b['push'](_0x23046b['shift']());}};_0x153acb(++_0x52d44f);}(_0x52d4,0xf7));const _0x153a=function(_0x23046b,_0x52d44f){_0x23046b=_0x23046b-0x0;let _0x153acb=_0x52d4[_0x23046b];return _0x153acb;};import{Plugin as _0x5871fc}from'ckeditor5/src/core';export default class F extends _0x5871fc{[_0x153a('0x4')](){const _0xadbb99=this[_0x153a('0x7')];if(!_0xadbb99[_0x153a('0x0')][_0x153a('0x1')](_0x153a('0x8')))return;_0xadbb99[_0x153a('0x0')][_0x153a('0x2')](_0x153a('0x3'))[_0x153a('0x5')](_0x153a('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41b4=['requires','setSelection','document','removeMarker:suggestion:deletion','data','createRange','enqueueChange','model','end','commands','bind','addMarker:suggestion:deletion','high','isCollapsed','getFirstRange','editor','lock','options','remove','get','start','enableCommand','unlock','deleteForward','root','init','$graveyard','downcastDispatcher','buffer','modifySelection','fromRange','markerNameToElements','forward','mapper','merge'];(function(_0x319937,_0x41b489){const _0x44cef1=function(_0x31c27f){while(--_0x31c27f){_0x319937['push'](_0x319937['shift']());}};_0x44cef1(++_0x41b489);}(_0x41b4,0x134));const _0x44ce=function(_0x319937,_0x41b489){_0x319937=_0x319937-0x0;let _0x44cef1=_0x41b4[_0x319937];return _0x44cef1;};import{Plugin as _0x83b3a1}from'ckeditor5/src/core';import{LiveRange as _0x554bd8}from'ckeditor5/src/engine';import{Delete as _0x5c2dba}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x250b39}from'./utils';export default class G extends _0x83b3a1{static get[_0x44ce('0x7')](){return[_0x5c2dba];}[_0x44ce('0x20')](){const _0x587eb9=this[_0x44ce('0x16')],_0x1b84e1=_0x587eb9['plugins'][_0x44ce('0x1a')]('TrackChangesEditing');_0x1b84e1['enableCommand']('delete');const _0x220614=_0x587eb9[_0x44ce('0x10')][_0x44ce('0x1a')](_0x44ce('0x1e'));_0x1b84e1[_0x44ce('0x1c')](_0x44ce('0x1e'),(_0x26e62c,_0x66a4b2={})=>{const _0x5565b3=_0x587eb9[_0x44ce('0xe')]['createSelection'](_0x587eb9[_0x44ce('0xe')][_0x44ce('0x9')]['selection']);_0x5565b3[_0x44ce('0x14')]&&_0x587eb9[_0x44ce('0xe')][_0x44ce('0x1')](_0x5565b3,{'direction':_0x44ce('0x4'),'unit':_0x66a4b2['unit']});const _0x4e3924=_0x5565b3[_0x44ce('0x15')](),_0x1dee7f=_0x554bd8[_0x44ce('0x2')](_0x4e3924);let _0x47d73d;_0x26e62c(_0x66a4b2),_0x47d73d=_0x44ce('0x21')==_0x1dee7f[_0x44ce('0x1f')]['rootName']?_0x587eb9[_0x44ce('0xe')][_0x44ce('0xc')](_0x4e3924[_0x44ce('0x1b')]):_0x587eb9[_0x44ce('0xe')][_0x44ce('0xc')](_0x1dee7f['start'],_0x1dee7f['end']),_0x1dee7f['detach'](),_0x587eb9[_0x44ce('0xe')][_0x44ce('0xd')](_0x220614[_0x44ce('0x0')]['batch'],_0x18b87d=>{_0x220614[_0x44ce('0x0')][_0x44ce('0x17')](),_0x18b87d[_0x44ce('0x8')](_0x18b87d[_0x44ce('0xc')](_0x47d73d[_0x44ce('0xf')])),_0x220614[_0x44ce('0x0')][_0x44ce('0x1d')]();});}),_0x587eb9['editing'][_0x44ce('0x22')]['on'](_0x44ce('0x12'),_0x250b39(_0x587eb9,_0x44ce('0x6')),{'priority':'high'}),_0x587eb9[_0x44ce('0xb')][_0x44ce('0x22')]['on'](_0x44ce('0x12'),(_0x3b7f65,_0x4b5817,_0x29a28d)=>{_0x29a28d[_0x44ce('0x18')]['showSuggestionHighlights']&&_0x250b39(_0x587eb9,_0x44ce('0x6'),{'showActiveMarker':!0x1})[_0x44ce('0x11')](this)(_0x3b7f65,_0x4b5817,_0x29a28d);},{'priority':'high'}),_0x587eb9['editing'][_0x44ce('0x22')]['on'](_0x44ce('0xa'),(_0x298e79,_0x5af0ce,_0x3f889a)=>{const _0x237c64=_0x3f889a[_0x44ce('0x5')][_0x44ce('0x3')](_0x5af0ce['markerName']);if(_0x237c64)for(const _0x5e1541 of _0x237c64)_0x5e1541['is']('uiElement')&&(_0x3f889a[_0x44ce('0x5')]['unbindElementFromMarkerName'](_0x5e1541,_0x5af0ce['markerName']),_0x3f889a['writer'][_0x44ce('0x19')](_0x5e1541));},{'priority':_0x44ce('0x13')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bf6=['nextSibling','previousSibling','isFirstBlockOfListItem','getRanges','DocumentListUtils','enableCommand','getAttribute','document','registerDescriptionCallback','isObject','documentList','getFirstRange','map','*Format:*\x20insert\x20into\x20%0','multipleBlocks','nodeAfter','TrackChangesEditing','mergeListItemForward','createRange','splitListItemBefore','_descriptionFactory','*Indent:*\x20%0','registerCustomCallback','ELEMENT_LIST_ITEM','markBlockFormat','markMultiRangeBlockFormat','formatBlock','before','plugins','commands','setSelection','get','commandParams','change','bulletedList','accept','DocumentListEditing','editor','from','listType','format','slice','start','schema','containsItem','after','commandName','numberedList','listItemId','push','outdentList','locale','listIndent','end','refresh','length','createPositionAt','getSelectedBlocks','value','forceValue','*Format:*\x20remove\x20from\x20%0','_LIST','ELEMENT_NUMBERED_LIST','toUpperCase','selection','next','*Outdent:*\x20%0','ELEMENT_BULLETED_LIST','model','fromRange','*Change\x20to:*\x20%0','indentList','splitListItemAfter','execute','has','*Merge:*\x20%0'];(function(_0x52a974,_0x1bf624){const _0x3e6c3b=function(_0x1573d8){while(--_0x1573d8){_0x52a974['push'](_0x52a974['shift']());}};_0x3e6c3b(++_0x1bf624);}(_0x1bf6,0x1bf));const _0x3e6c=function(_0x52a974,_0x1bf624){_0x52a974=_0x52a974-0x0;let _0x3e6c3b=_0x1bf6[_0x52a974];return _0x3e6c3b;};import{Plugin as _0x43c556}from'ckeditor5/src/core';import{getTranslation as _0x5b05e9}from'../utils/common-translations';import{LiveRange as _0x4cb536}from'ckeditor5/src/engine';export default class L extends _0x43c556{['afterInit'](){const _0x1990f1=this[_0x3e6c('0x2e')];if(!_0x1990f1[_0x3e6c('0x25')][_0x3e6c('0x7')](_0x3e6c('0x2d')))return;const _0x2744dd=_0x1990f1[_0x3e6c('0x3c')],_0x203c29=_0x1990f1['plugins'][_0x3e6c('0x28')](_0x3e6c('0x19')),_0x349ccc=_0x1990f1[_0x3e6c('0x25')]['get'](_0x3e6c('0xd'));function _0x22b151(_0x43fb82){return()=>{const _0x2110f6=_0x1990f1[_0x3e6c('0x26')][_0x3e6c('0x28')](_0x43fb82);let _0x1d60a3=Array[_0x3e6c('0x2f')](_0x1990f1['model'][_0x3e6c('0x10')][_0x3e6c('0x49')][_0x3e6c('0x42')]());if(_0x24b940(_0x43fb82)){_0x1d60a3=_0x349ccc['expandListBlocksToCompleteList'](_0x1d60a3);const _0x23aaec=[];for(const _0x3c8b5d of _0x1d60a3)_0x349ccc[_0x3e6c('0xb')](_0x3c8b5d)&&_0x23aaec[_0x3e6c('0x3a')](_0x3c8b5d);_0x1d60a3=_0x23aaec;}_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x2a')](()=>{_0x203c29[_0x3e6c('0x22')](_0x1d60a3,{'commandName':_0x43fb82,'commandParams':[{'forceValue':!_0x2110f6[_0x3e6c('0x43')]}],'formatGroupId':_0x3e6c('0x30')},[],_0x3e6c('0x13'));});};}function _0x15a63b(_0x1bde67){return()=>{const _0x5ed2e6=function(_0x58e782){let _0x4f89b1=Array['from'](_0x58e782);const _0x15ceae=_0x4f89b1['findIndex'](_0x36d85a=>!_0x36d85a['hasAttribute'](_0x3e6c('0x39')));return _0x15ceae>-0x1&&(_0x4f89b1=_0x4f89b1[_0x3e6c('0x32')](0x0,_0x15ceae)),_0x4f89b1;}(_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x10')][_0x3e6c('0x49')][_0x3e6c('0x42')]()),_0x405d8d=_0x5ed2e6[_0x5ed2e6[_0x3e6c('0x40')]-0x1],_0x4e9e14=_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x34')]['isObject'](_0x405d8d)?_0x3e6c('0x36'):_0x3e6c('0x3e'),_0x5371c4=_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x1b')](_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x41')](_0x5ed2e6[0x0],_0x3e6c('0x24')),_0x1990f1[_0x3e6c('0x1')]['createPositionAt'](_0x405d8d,_0x4e9e14));_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x2a')](()=>{_0x203c29[_0x3e6c('0x21')](_0x5371c4,{'commandName':_0x1bde67,'commandParams':[],'formatGroupId':'listType'},function(_0x11f167){const _0x96dbc4=new Set();for(const _0x4d58a1 of _0x11f167){let _0x473351=_0x4d58a1[_0x3e6c('0x9')];for(;_0x473351&&_0x473351[_0x3e6c('0xf')](_0x3e6c('0x3d'))>_0x4d58a1[_0x3e6c('0xf')]('listIndent');)_0x96dbc4['add'](_0x473351),_0x473351=_0x473351['nextSibling'];}return Array[_0x3e6c('0x2f')](_0x96dbc4);}(_0x5ed2e6));});};}function _0x586157(_0x18f2cd){return()=>{const _0x43bd4b=_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x10')]['selection'][_0x3e6c('0x42')]()[_0x3e6c('0x4a')]()[_0x3e6c('0x43')],_0x5214d7=_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x41')](_0x43bd4b,_0x3e6c('0x24')),_0x5975ae=_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x41')](_0x43bd4b,0x0),_0x34fe88=_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x1b')](_0x5214d7,_0x5975ae);_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x2a')](()=>{_0x203c29[_0x3e6c('0x21')](_0x34fe88,{'commandName':_0x18f2cd,'commandParams':[],'formatGroupId':'listType'});});};}function _0x24b940(_0x2f2f0e){const _0x4c4e3=_0x1990f1['commands'][_0x3e6c('0x28')](_0x3e6c('0x2b'))[_0x3e6c('0x43')],_0x54242f=_0x1990f1[_0x3e6c('0x26')][_0x3e6c('0x28')]('numberedList')[_0x3e6c('0x43')];return _0x3e6c('0x38')===_0x2f2f0e?_0x4c4e3:_0x54242f;}_0x203c29['enableCommand']('numberedList',_0x22b151(_0x3e6c('0x38'))),_0x203c29[_0x3e6c('0xe')]('bulletedList',_0x22b151('bulletedList')),_0x203c29['enableCommand']('indentList',_0x15a63b('indentList')),_0x203c29[_0x3e6c('0xe')](_0x3e6c('0x3b'),_0x15a63b(_0x3e6c('0x3b'))),_0x203c29['enableCommand'](_0x3e6c('0x5'),_0x586157(_0x3e6c('0x5'))),_0x203c29['enableCommand'](_0x3e6c('0x1c'),_0x586157('splitListItemBefore')),_0x203c29[_0x3e6c('0x1d')]['registerElementLabel'](function(_0x102119){const _0x24a438=!_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x34')][_0x3e6c('0x12')](_0x102119),_0x34ff2c=_0x102119[_0x3e6c('0xa')],_0x2d8cc9=_0x102119['nextSibling'],_0x4ef73f=_0x102119[_0x3e6c('0xf')]('listItemId'),_0x3be6b9=!_0x34ff2c||_0x34ff2c[_0x3e6c('0xf')]('listItemId')!==_0x4ef73f,_0x54221e=!_0x2d8cc9||_0x2d8cc9['getAttribute'](_0x3e6c('0x39'))!==_0x4ef73f;return _0x24a438&&Boolean(_0x4ef73f)&&_0x3be6b9&&_0x54221e;},_0x57c76b=>_0x5b05e9(_0x2744dd,_0x3e6c('0x20'),_0x57c76b)),_0x203c29[_0x3e6c('0x1d')][_0x3e6c('0x11')](function(_0x3cbe5c){const {data:_0x3a3863}=_0x3cbe5c;if(!_0x3a3863)return;let _0x53d106,_0x15465b,_0x4cc36e,_0x2ce82b;switch(_0x3a3863[_0x3e6c('0x37')]){case'bulletedList':_0x4cc36e=_0x3a3863[_0x3e6c('0x29')][0x0][_0x3e6c('0x44')],_0x2ce82b=_0x24b940(_0x3a3863[_0x3e6c('0x37')]),_0x53d106=_0x4cc36e?_0x3e6c('0x16'):_0x3e6c('0x45'),_0x2ce82b&&(_0x53d106='*Change\x20to:*\x20%0'),_0x15465b={'type':'format','content':_0x5b05e9(_0x2744dd,_0x53d106,_0x5b05e9(_0x2744dd,_0x3e6c('0x0')))};break;case'numberedList':_0x4cc36e=_0x3a3863[_0x3e6c('0x29')][0x0][_0x3e6c('0x44')],_0x2ce82b=_0x24b940(_0x3a3863['commandName']),_0x53d106=_0x4cc36e?_0x3e6c('0x16'):_0x3e6c('0x45'),_0x2ce82b&&(_0x53d106=_0x3e6c('0x3')),_0x15465b={'type':_0x3e6c('0x31'),'content':_0x5b05e9(_0x2744dd,_0x53d106,_0x5b05e9(_0x2744dd,_0x3e6c('0x47')))};break;case _0x3e6c('0x4'):_0x53d106=_0x3e6c('0x1e'),_0x15465b={'type':'format','content':_0x5b05e9(_0x2744dd,_0x53d106,_0x5b05e9(_0x2744dd,_0x3e6c('0x20')))};break;case _0x3e6c('0x3b'):_0x53d106=function(_0x3e8246){const _0x266e6b=_0x3e8246[_0x3e6c('0x14')]();let _0x2c1875=_0x266e6b[_0x3e6c('0x33')]['nodeAfter'];for(;_0x2c1875&&_0x266e6b[_0x3e6c('0x35')](_0x2c1875);){if(_0x2c1875['getAttribute']('listIndent')>0x0)return!0x1;_0x2c1875=_0x2c1875[_0x3e6c('0x9')];}return!0x0;}(_0x3cbe5c)?_0x5b05e9(_0x2744dd,_0x3e6c('0x45'),_0x5b05e9(_0x2744dd,function(_0x1dce70){const _0x5bfd10=_0x1dce70['getFirstRange']()[_0x3e6c('0x33')][_0x3e6c('0x18')];return'ELEMENT_'+_0x5bfd10[_0x3e6c('0xf')]('listType')[_0x3e6c('0x48')]()+_0x3e6c('0x46');}(_0x3cbe5c))):_0x5b05e9(_0x2744dd,_0x3e6c('0x4b'),_0x5b05e9(_0x2744dd,_0x3e6c('0x20'))),_0x15465b={'type':'format','content':_0x53d106};break;case'mergeListItemBackward':case _0x3e6c('0x1a'):!0x1===_0x3a3863[_0x3e6c('0x17')]&&(_0x53d106=_0x3e6c('0x8'),_0x15465b={'type':'deletion','content':_0x5b05e9(_0x2744dd,_0x53d106,_0x5b05e9(_0x2744dd,_0x3e6c('0x20')))});}return _0x15465b;}),_0x203c29['_suggestionFactory'][_0x3e6c('0x1f')](_0x3e6c('0x23'),_0x3e6c('0x13'),_0x3e6c('0x2c'),function(_0x35da5f,_0x3887c4){const _0x3c5e1d=[];for(let _0x36b01b of _0x35da5f)_0x36b01b[_0x3e6c('0x33')][_0x3e6c('0x18')]===_0x36b01b[_0x3e6c('0x3e')]['parent']&&(_0x36b01b=_0x1990f1['model'][_0x3e6c('0x1b')](_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x41')](_0x36b01b[_0x3e6c('0x33')][_0x3e6c('0x18')],0x0))),_0x3c5e1d[_0x3e6c('0x3a')](_0x36b01b);_0x1990f1[_0x3e6c('0x1')][_0x3e6c('0x2a')](_0x23f38e=>{const _0x348d60=_0x1990f1[_0x3e6c('0x1')]['document'][_0x3e6c('0x49')],_0xc02cb1=Array[_0x3e6c('0x2f')](_0x348d60[_0x3e6c('0xc')]())[_0x3e6c('0x15')](_0x5b3a4a=>_0x4cb536[_0x3e6c('0x2')](_0x5b3a4a));_0x23f38e['setSelection'](_0x3c5e1d),_0x1990f1[_0x3e6c('0x26')][_0x3e6c('0x28')](_0x3887c4[_0x3e6c('0x37')])[_0x3e6c('0x3f')](),_0x3887c4[_0x3e6c('0x29')][_0x3e6c('0x3a')]({'forceDefaultExecution':!0x0}),_0x1990f1[_0x3e6c('0x6')](_0x3887c4[_0x3e6c('0x37')],..._0x3887c4[_0x3e6c('0x29')]),_0x23f38e[_0x3e6c('0x27')](_0xc02cb1);for(const _0x1c8091 of _0xc02cb1)_0x1c8091['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3693=['*Format:*\x20set\x20start\x20index\x20to\x20%0','afterInit','filter','getAttribute','commandName','TrackChangesEditing','listType','change','expandListBlocksToCompleteList','commandParams','_getSuggestionBlocksForListStyle','plugins','replace','*Format:*\x20set\x20order\x20to\x20regular','from','_descriptionFactory','has','listStart','getListTypeFromListStyleType','get','DocumentListUtils','config','toUpperCase','handleListStartCommand','listReversed','_LIST_','handleDescriptions','numbered','ELEMENT_','_getSuggestionBlocks','document','*Change\x20to:*\x20%0','model','enableCommand','editor','listStyle','startIndex','getSelectedBlocks','DocumentListPropertiesUtils','type','push','selection','reversed','bind','markMultiRangeBlockFormat','length','format','handleListStyleCommand','styles','handleListReversedCommand','locale','list.properties','isListItemBlock'];(function(_0x1c387a,_0x369316){const _0x24f507=function(_0x206229){while(--_0x206229){_0x1c387a['push'](_0x1c387a['shift']());}};_0x24f507(++_0x369316);}(_0x3693,0xda));const _0x24f5=function(_0x1c387a,_0x369316){_0x1c387a=_0x1c387a-0x0;let _0x24f507=_0x3693[_0x1c387a];return _0x24f507;};import{Plugin as _0x3c5732}from'ckeditor5/src/core';import{getTranslation as _0x5f361c}from'../utils/common-translations';export default class At extends _0x3c5732{[_0x24f5('0x30')](){if(!this['editor']['plugins'][_0x24f5('0xa')]('DocumentListPropertiesEditing'))return;const _0xb4862=this['editor'][_0x24f5('0xf')][_0x24f5('0xd')](_0x24f5('0x2d')),_0x5bfe1b=this[_0x24f5('0x1c')]['plugins']['get'](_0x24f5('0x34'));_0xb4862[_0x24f5('0x2a')]&&_0x5bfe1b[_0x24f5('0x1b')](_0x24f5('0x1d'),this['handleListStyleCommand']['bind'](this)),_0xb4862[_0x24f5('0x24')]&&_0x5bfe1b[_0x24f5('0x1b')](_0x24f5('0x12'),this[_0x24f5('0x2b')][_0x24f5('0x25')](this)),_0xb4862[_0x24f5('0x1e')]&&_0x5bfe1b[_0x24f5('0x1b')](_0x24f5('0xb'),this['handleListStartCommand']['bind'](this)),_0x5bfe1b[_0x24f5('0x9')]['registerDescriptionCallback'](this[_0x24f5('0x14')][_0x24f5('0x25')](this));}[_0x24f5('0x29')](_0x11fe83,_0x3a5461={}){const _0x14fd81=this[_0x24f5('0x1c')][_0x24f5('0x5')]['get'](_0x24f5('0x34')),_0x18bba5=this[_0x24f5('0x4')]();this[_0x24f5('0x1c')][_0x24f5('0x1a')]['change'](()=>{_0x14fd81[_0x24f5('0x26')](_0x18bba5,{'commandName':_0x24f5('0x1d'),'commandParams':[{'type':_0x3a5461[_0x24f5('0x21')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x5d36d6,_0x2b5bc4={}){const _0xf4b85f=this[_0x24f5('0x1c')][_0x24f5('0x5')]['get']('TrackChangesEditing'),_0x39ee68=this[_0x24f5('0x1c')][_0x24f5('0x5')][_0x24f5('0xd')](_0x24f5('0xe')),_0xea7fac=this[_0x24f5('0x17')](_0x4a5448=>_0x39ee68['isListItemBlock'](_0x4a5448)&&_0x24f5('0x15')===_0x4a5448[_0x24f5('0x32')](_0x24f5('0x0')));null!==_0xea7fac&&this[_0x24f5('0x1c')]['model'][_0x24f5('0x1')](()=>{_0xf4b85f[_0x24f5('0x26')](_0xea7fac,{'commandName':_0x24f5('0x12'),'commandParams':[{'reversed':_0x2b5bc4[_0x24f5('0x24')]}],'formatGroupId':'listReversed'});});}[_0x24f5('0x11')](_0xea7732,_0xbc06ab={}){const _0x4c7c09=this[_0x24f5('0x1c')][_0x24f5('0x5')]['get'](_0x24f5('0x34')),_0x3df7aa=this['editor'][_0x24f5('0x5')][_0x24f5('0xd')](_0x24f5('0xe')),_0x17bb44=this[_0x24f5('0x17')](_0x492aa8=>_0x3df7aa[_0x24f5('0x2e')](_0x492aa8)&&'numbered'===_0x492aa8[_0x24f5('0x32')](_0x24f5('0x0')));null!==_0x17bb44&&this[_0x24f5('0x1c')][_0x24f5('0x1a')][_0x24f5('0x1')](()=>{_0x4c7c09[_0x24f5('0x26')](_0x17bb44,{'commandName':_0x24f5('0xb'),'commandParams':[{'startIndex':_0xbc06ab[_0x24f5('0x1e')]}],'formatGroupId':_0x24f5('0xb')});});}[_0x24f5('0x14')](_0xd34375){const _0x42812c=this['editor'][_0x24f5('0x2c')],{data:_0x389bab}=_0xd34375;if(!_0x389bab)return;let _0x5b04ab,_0x461bb8;switch(_0x389bab[_0x24f5('0x33')]){case _0x24f5('0x1d'):_0x5b04ab=_0x24f5('0x19'),_0x461bb8={'type':_0x24f5('0x28'),'content':_0x5f361c(_0x42812c,_0x5b04ab,_0x5f361c(_0x42812c,this['_getTranslationKeyForListStyle'](_0x389bab[_0x24f5('0x3')][0x0]['type'])))};break;case _0x24f5('0x12'):_0x5b04ab=_0x389bab[_0x24f5('0x3')][0x0][_0x24f5('0x24')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x24f5('0x7'),_0x461bb8={'type':_0x24f5('0x28'),'content':_0x5f361c(_0x42812c,_0x5b04ab)};break;case _0x24f5('0xb'):_0x5b04ab=_0x24f5('0x2f'),_0x461bb8={'type':_0x24f5('0x28'),'content':_0x5f361c(_0x42812c,_0x5b04ab,_0x389bab[_0x24f5('0x3')][0x0][_0x24f5('0x1e')])};}return _0x461bb8;}[_0x24f5('0x4')](){const _0x349cab=this[_0x24f5('0x1c')][_0x24f5('0x5')][_0x24f5('0xd')](_0x24f5('0xe'));let _0x58df37=Array[_0x24f5('0x8')](this[_0x24f5('0x1c')][_0x24f5('0x1a')]['document']['selection'][_0x24f5('0x1f')]());return _0x58df37[_0x24f5('0x22')](..._0x349cab[_0x24f5('0x2')](_0x58df37)),_0x58df37=[...new Set(_0x58df37)],_0x58df37;}[_0x24f5('0x17')](_0x267397){const _0x3762f5=this['editor'][_0x24f5('0x5')][_0x24f5('0xd')](_0x24f5('0xe'));let _0x20e42d=Array['from'](this[_0x24f5('0x1c')]['model'][_0x24f5('0x18')][_0x24f5('0x23')][_0x24f5('0x1f')]())[_0x24f5('0x31')](_0x267397);if(!_0x20e42d[_0x24f5('0x27')])return null;_0x20e42d=_0x3762f5[_0x24f5('0x2')](_0x20e42d);const _0x150f0c=[];for(const _0x4e51d4 of _0x20e42d)_0x3762f5['isFirstBlockOfListItem'](_0x4e51d4)&&_0x150f0c[_0x24f5('0x22')](_0x4e51d4);return _0x150f0c;}['_getTranslationKeyForListStyle'](_0x3003da){return _0x24f5('0x16')+this[_0x24f5('0x1c')][_0x24f5('0x5')][_0x24f5('0xd')](_0x24f5('0x20'))[_0x24f5('0xc')](_0x3003da)[_0x24f5('0x10')]()+_0x24f5('0x13')+_0x3003da[_0x24f5('0x10')]()[_0x24f5('0x6')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdd8a=['downcastDispatcher','document','ck-suggestion-marker-split','editing','markerNameToElements','selection','remove','requires','getFirstRange','showSuggestionHighlights','enterBlock','model','setSelection','fire','markerName','afterExecute','nextSibling','addMarker:suggestion:insertion','removeMarker:suggestion:insertion','unbindElementFromMarkerName','end','plugins','get','enableCommand','commands','TrackChangesEditing','markInsertion','mapper','hasClass','enter','high','parent','writer','split','editor','createRange'];(function(_0x5f0f0a,_0xdd8aeb){const _0x3c98c4=function(_0xd0f900){while(--_0xd0f900){_0x5f0f0a['push'](_0x5f0f0a['shift']());}};_0x3c98c4(++_0xdd8aeb);}(_0xdd8a,0x1f3));const _0x3c98=function(_0x5f0f0a,_0xdd8aeb){_0x5f0f0a=_0x5f0f0a-0x0;let _0x3c98c4=_0xdd8a[_0x5f0f0a];return _0x3c98c4;};import{Plugin as _0x4d6766}from'ckeditor5/src/core';import{Enter as _0x2b445a}from'ckeditor5/src/enter';import{LiveRange as _0x11e93a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4e5389}from'./utils';export default class q extends _0x4d6766{static get[_0x3c98('0xc')](){return[_0x2b445a];}['init'](){const _0x35560d=this[_0x3c98('0x3')],_0x5dc7c7=_0x35560d[_0x3c98('0x1a')]['get'](_0x3c98('0x1e')),_0xa2249e=_0x35560d[_0x3c98('0x1d')][_0x3c98('0x1b')](_0x3c98('0x22'));_0x5dc7c7[_0x3c98('0x1c')](_0x3c98('0x22'),()=>{_0x35560d[_0x3c98('0x10')]['change'](_0x4ed6cc=>{const _0x3be333=_0x35560d[_0x3c98('0x10')][_0x3c98('0x6')][_0x3c98('0xa')],_0x1a725f=_0x3be333['getFirstPosition'](),_0x53e212=_0x11e93a['fromRange'](_0x3be333[_0x3c98('0xd')]());if(_0xa2249e[_0x3c98('0xf')](_0x4ed6cc)){const _0x10139c=_0x35560d[_0x3c98('0x10')]['createPositionAt'](_0x1a725f[_0x3c98('0x0')][_0x3c98('0x15')],0x0),_0xc32eb7=_0x4ed6cc[_0x3c98('0x4')](_0x1a725f,_0x10139c);_0x5dc7c7[_0x3c98('0x1f')](_0xc32eb7);}else _0x4ed6cc[_0x3c98('0x11')](_0x4ed6cc['createRange'](_0x53e212[_0x3c98('0x19')]));_0x53e212['detach'](),_0xa2249e[_0x3c98('0x12')](_0x3c98('0x14'),{'writer':_0x4ed6cc});});}),_0x35560d[_0x3c98('0x8')][_0x3c98('0x5')]['on'](_0x3c98('0x16'),_0x4e5389(_0x35560d,_0x3c98('0x2')),{'priority':_0x3c98('0x23')}),_0x35560d[_0x3c98('0x8')][_0x3c98('0x5')]['on'](_0x3c98('0x17'),(_0x9902c8,_0x32a292,_0x500e5a)=>{const _0x2348ee=_0x500e5a[_0x3c98('0x20')][_0x3c98('0x9')](_0x32a292['markerName']);if(_0x2348ee)for(const _0x1be6ac of _0x2348ee)_0x1be6ac[_0x3c98('0x21')](_0x3c98('0x7'))&&(_0x500e5a['mapper'][_0x3c98('0x18')](_0x1be6ac,_0x32a292[_0x3c98('0x13')]),_0x500e5a[_0x3c98('0x1')][_0x3c98('0xb')](_0x1be6ac));},{'priority':_0x3c98('0x23')}),_0x35560d['data'][_0x3c98('0x5')]['on'](_0x3c98('0x16'),(_0x495a1c,_0x50fb52,_0x70503c)=>{_0x70503c['options'][_0x3c98('0xe')]&&_0x4e5389(_0x35560d,_0x3c98('0x2'),{'showActiveMarker':!0x1})['bind'](this)(_0x495a1c,_0x50fb52,_0x70503c);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f13=['getIntersection','findNext','handleFindCommand','replace','createPositionAt','replaceAll','find','get','string','findByTextCallback','model','getMarkersGroup','createRange','getRange','item','enableCommand','plugins','editor','suggestion:deletion','_isInDeletionRange','filter','has'];(function(_0x1a6cd8,_0x5f13bd){const _0x204a2c=function(_0x233d01){while(--_0x233d01){_0x1a6cd8['push'](_0x1a6cd8['shift']());}};_0x204a2c(++_0x5f13bd);}(_0x5f13,0xd3));const _0x204a=function(_0x1a6cd8,_0x5f13bd){_0x1a6cd8=_0x1a6cd8-0x0;let _0x204a2c=_0x5f13[_0x1a6cd8];return _0x204a2c;};import{Plugin as _0x576898}from'ckeditor5/src/core';export default class z extends _0x576898{['afterInit'](){if(!this[_0x204a('0x4')][_0x204a('0x3')][_0x204a('0x8')]('FindAndReplaceEditing'))return;const _0x5a9671=this['editor'][_0x204a('0x3')][_0x204a('0x10')]('TrackChangesEditing');_0x5a9671['enableCommand'](_0x204a('0xf'),this[_0x204a('0xb')]['bind'](this)),_0x5a9671['enableCommand'](_0x204a('0xa')),_0x5a9671[_0x204a('0x2')]('findPrevious'),_0x5a9671['enableCommand'](_0x204a('0xc')),_0x5a9671[_0x204a('0x2')](_0x204a('0xe'));}[_0x204a('0xb')](_0x81d97a,_0x383985,_0x4661a1={}){const _0x4978fe=this['editor']['plugins']['get']('FindAndReplaceUtils');void 0x0!==_0x4661a1&&_0x81d97a(_0xe24b45=>(_0x204a('0x11')==typeof _0x383985?_0x4978fe[_0x204a('0x12')](_0x383985,_0x4661a1):_0x383985)(_0xe24b45)[_0x204a('0x7')](_0x4c6a6c=>!0x1===this[_0x204a('0x6')](_0x4c6a6c,_0xe24b45[_0x204a('0x1')])),_0x4661a1);}[_0x204a('0x6')](_0x23f143,_0x5ecf1f){const _0x3f4b77=this[_0x204a('0x4')]['model'][_0x204a('0x15')](this[_0x204a('0x4')][_0x204a('0x13')]['createPositionAt'](_0x5ecf1f,_0x23f143['start']),this[_0x204a('0x4')]['model'][_0x204a('0xd')](_0x5ecf1f,_0x23f143['end']));for(const _0x199b3c of this[_0x204a('0x4')]['model']['markers'][_0x204a('0x14')](_0x204a('0x5')))if(null!==_0x3f4b77[_0x204a('0x9')](_0x199b3c[_0x204a('0x0')]()))return!0x0;return!0x1;}}
|