@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230718.0 → 0.0.0-nightly-20230720.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 +4 -4
- 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-20230720.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,9 +39,9 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
44
|
-
"lodash-es": "
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230720.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230720.0",
|
|
44
|
+
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=16.0.0",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ed8=['model','track-changes-accept-suggestion-not-found','get','_isEnabledBasedOnSelection','canEditAt','getRanges','editor','execute','_suggestions','refresh','TrackChangesEditing','isEnabled'];(function(_0x57ea21,_0x2ed88a){const _0x4e3d17=function(_0x819071){while(--_0x819071){_0x57ea21['push'](_0x57ea21['shift']());}};_0x4e3d17(++_0x2ed88a);}(_0x2ed8,0x1d5));const _0x4e3d=function(_0x57ea21,_0x2ed88a){_0x57ea21=_0x57ea21-0x0;let _0x4e3d17=_0x2ed8[_0x57ea21];return _0x4e3d17;};import{Command as _0x464851}from'ckeditor5/src/core';import{CKEditorError as _0x5f14c5}from'ckeditor5/src/utils';export default class M extends _0x464851{constructor(_0x456b3c,_0x11ec0b){super(_0x456b3c),this[_0x4e3d('0x7')]=_0x11ec0b,this[_0x4e3d('0x8')](),this[_0x4e3d('0x2')]=!0x1;}[_0x4e3d('0x8')](){this[_0x4e3d('0xa')]=!0x0;}[_0x4e3d('0x6')](_0x515887){const _0xec9bf=this[_0x4e3d('0x7')][_0x4e3d('0x1')](_0x515887);if(!_0xec9bf)throw new _0x5f14c5(_0x4e3d('0x0'),this);const _0x313be9=_0xec9bf[_0x4e3d('0x4')]();this[_0x4e3d('0x5')][_0x4e3d('0xb')][_0x4e3d('0x3')](_0x313be9)&&this[_0x4e3d('0x5')]['plugins'][_0x4e3d('0x1')](_0x4e3d('0x9'))['acceptSuggestion'](_0xec9bf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2188=['execute','isEnabled','TrackChangesEditing','refresh','get','model','discardSuggestion','editor','_suggestions','_isEnabledBasedOnSelection','canEditAt','track-changes-discard-suggestion-not-found'];(function(_0x2ca225,_0x218892){const _0x33ca2d=function(_0x3ca3b7){while(--_0x3ca3b7){_0x2ca225['push'](_0x2ca225['shift']());}};_0x33ca2d(++_0x218892);}(_0x2188,0x11f));const _0x33ca=function(_0x2ca225,_0x218892){_0x2ca225=_0x2ca225-0x0;let _0x33ca2d=_0x2188[_0x2ca225];return _0x33ca2d;};import{Command as _0x1c5c19}from'ckeditor5/src/core';import{CKEditorError as _0x1ccac2}from'ckeditor5/src/utils';export default class $ extends _0x1c5c19{constructor(_0x50cb9c,_0xf0a3b9){super(_0x50cb9c),this['_suggestions']=_0xf0a3b9,this[_0x33ca('0x4')](),this[_0x33ca('0xa')]=!0x1;}[_0x33ca('0x4')](){this[_0x33ca('0x2')]=!0x0;}[_0x33ca('0x1')](_0x19a3b7){const _0x3052c7=this[_0x33ca('0x9')][_0x33ca('0x5')](_0x19a3b7);if(!_0x3052c7)throw new _0x1ccac2(_0x33ca('0x0'),this);const _0x4fbf41=_0x3052c7['getRanges']();this[_0x33ca('0x8')][_0x33ca('0x6')][_0x33ca('0xb')](_0x4fbf41)&&this['editor']['plugins'][_0x33ca('0x5')](_0x33ca('0x3'))[_0x33ca('0x7')](_0x3052c7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf6d3=['_suggestions','_isEnabledBasedOnSelection','isEnabled','from','some','values','execute','getRanges','refresh','model','_command','editor'];(function(_0x575919,_0xf6d389){const _0x3691de=function(_0x58f944){while(--_0x58f944){_0x575919['push'](_0x575919['shift']());}};_0x3691de(++_0xf6d389);}(_0xf6d3,0x1d3));const _0x3691=function(_0x575919,_0xf6d389){_0x575919=_0x575919-0x0;let _0x3691de=_0xf6d3[_0x575919];return _0x3691de;};import{Command as _0x1d020a}from'ckeditor5/src/core';import{sortSuggestions as _0x2db8e1,executeCommandForSuggestions as _0x10850b}from'../utils/utils';export default class N extends _0x1d020a{constructor(_0x1b6a60,_0x4bda06,_0x3dc769){super(_0x1b6a60),this['_command']=_0x4bda06,this[_0x3691('0x1')]=_0x3dc769,this[_0x3691('0x9')](),this[_0x3691('0x2')]=!0x1;}[_0x3691('0x9')](){const _0x2a6fc0=Array[_0x3691('0x4')](this[_0x3691('0x1')]['values']())[_0x3691('0x5')](_0x113f01=>_0x113f01['isInContent']);this[_0x3691('0x3')]=this['_command'][_0x3691('0x3')]&&_0x2a6fc0;}[_0x3691('0x7')](){const _0x40409e=_0x2db8e1(Array[_0x3691('0x4')](this[_0x3691('0x1')][_0x3691('0x6')]()));for(const _0xab69f3 of _0x40409e){const _0x59abdf=_0xab69f3[_0x3691('0x8')]();if(!this['editor'][_0x3691('0xa')]['canEditAt'](_0x59abdf))return;}_0x10850b(this[_0x3691('0x0')][_0x3691('0xa')],this[_0x3691('0xb')],_0x40409e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3266=['document','isEnabled','_selectedSuggestions','execute','refresh','_command','from','canEditAt','editor','selection','_suggestions'];(function(_0x3d0622,_0x32665b){const _0x5ac2ba=function(_0x189178){while(--_0x189178){_0x3d0622['push'](_0x3d0622['shift']());}};_0x5ac2ba(++_0x32665b);}(_0x3266,0x164));const _0x5ac2=function(_0x3d0622,_0x32665b){_0x3d0622=_0x3d0622-0x0;let _0x5ac2ba=_0x3266[_0x3d0622];return _0x5ac2ba;};import{Command as _0x3d5a33}from'ckeditor5/src/core';import{sortSuggestions as _0x1de6ae,getSelectedSuggestions as _0x473517,executeCommandForSuggestions as _0xe1ed7f}from'../utils/utils';export default class R extends _0x3d5a33{constructor(_0x117bf1,_0x24197e,_0x9deddb){super(_0x117bf1),this[_0x5ac2('0x1')]=_0x24197e,this['_suggestions']=_0x9deddb,this[_0x5ac2('0x9')]=new Set(),this[_0x5ac2('0x0')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5ac2('0x0')](){const _0x19fac9=this['editor']['model'][_0x5ac2('0x7')][_0x5ac2('0x5')],_0x5a8084=Array['from'](this[_0x5ac2('0x6')]['values']());this['_selectedSuggestions']=_0x473517(_0x19fac9,_0x5a8084),this[_0x5ac2('0x8')]=this[_0x5ac2('0x1')][_0x5ac2('0x8')]&&!!this[_0x5ac2('0x9')]['size'];}[_0x5ac2('0xa')](){const _0x1904fc=_0x1de6ae(Array[_0x5ac2('0x2')](this[_0x5ac2('0x9')]));for(const _0x183696 of _0x1904fc){const _0x1a196c=_0x183696['getRanges']();if(!this['editor']['model'][_0x5ac2('0x3')](_0x1a196c))return;}_0xe1ed7f(this[_0x5ac2('0x4')]['model'],this['_command'],_0x1904fc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59b0=['has','editor','value','isEnabled','commands','_isEnabledBasedOnSelection','execute','TrackChangesCommand','_enableCommands','_enabledCommands','refresh','forceDisabled','_disableUnsupportedCommands','affectsData','clearForceDisabled'];(function(_0xe64a5d,_0x59b0f2){const _0x29377d=function(_0x1a6e03){while(--_0x1a6e03){_0xe64a5d['push'](_0xe64a5d['shift']());}};_0x29377d(++_0x59b0f2);}(_0x59b0,0xa0));const _0x2937=function(_0xe64a5d,_0x59b0f2){_0xe64a5d=_0xe64a5d-0x0;let _0x29377d=_0x59b0[_0xe64a5d];return _0x29377d;};import{Command as _0x3218e5}from'ckeditor5/src/core';export default class _ extends _0x3218e5{constructor(_0x5ac9f2,_0x3939da){super(_0x5ac9f2),this[_0x2937('0xe')]=_0x3939da,this[_0x2937('0x7')]=!0x1,this[_0x2937('0x0')](),this[_0x2937('0xa')]=!0x1;}[_0x2937('0x0')](){this[_0x2937('0x8')]=!0x0;}[_0x2937('0xb')](){this[_0x2937('0x7')]=!this[_0x2937('0x7')],this[_0x2937('0x7')]?this[_0x2937('0x2')]():this[_0x2937('0xd')]();}[_0x2937('0x2')](){for(const _0x23536d of this[_0x2937('0x6')][_0x2937('0x9')]['commands']())_0x23536d['affectsData']&&!this[_0x2937('0xe')][_0x2937('0x5')](_0x23536d)&&_0x23536d[_0x2937('0x1')](_0x2937('0xc'));}[_0x2937('0xd')](){for(const _0x14b89c of this['editor'][_0x2937('0x9')][_0x2937('0x9')]())_0x14b89c[_0x2937('0x3')]&&!this['_enabledCommands'][_0x2937('0x5')](_0x14b89c)&&_0x14b89c[_0x2937('0x4')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x310f=['justify','markBlockFormat','left','FORMAT_JUSTIFY_TEXT','getAttribute','commandParams','checkAttribute','from','plugins','TrackChangesEditing','model','value','afterInit','registerDescriptionCallback','selection','alignment','change','contentLanguageDirection','FORMAT_ALIGN_TO_CENTER','locale','schema','right','format','commandName','get','*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT'];(function(_0x42aa40,_0x310fbf){const _0x45135d=function(_0xb2c0a8){while(--_0xb2c0a8){_0x42aa40['push'](_0x42aa40['shift']());}};_0x45135d(++_0x310fbf);}(_0x310f,0x17c));const _0x4513=function(_0x42aa40,_0x310fbf){_0x42aa40=_0x42aa40-0x0;let _0x45135d=_0x310f[_0x42aa40];return _0x45135d;};import{Plugin as _0x18ff23}from'ckeditor5/src/core';import{getTranslation as _0x28c1ae}from'../utils/common-translations';export default class x extends _0x18ff23{[_0x4513('0xa')](){const _0x5a4f2e=this['editor'],_0x322067=_0x5a4f2e[_0x4513('0x11')];if(!_0x5a4f2e['plugins']['has']('AlignmentEditing'))return;const _0x503120=_0x5a4f2e[_0x4513('0x6')][_0x4513('0x16')](_0x4513('0x7'));_0x503120['enableCommand'](_0x4513('0xd'),(_0x4c6360,_0x1c2f5d={})=>{let _0x324b9a=_0x1c2f5d[_0x4513('0x9')];_0x1c2f5d[_0x4513('0x9')]||(_0x324b9a='ltr'===_0x5a4f2e['locale'][_0x4513('0xf')]?_0x4513('0x0'):'right');const _0x379b93=Array[_0x4513('0x5')](this['editor'][_0x4513('0x8')]['document'][_0x4513('0xc')]['getSelectedBlocks']())['filter'](_0x4210b8=>function(_0x300468,_0x18b006,_0x3cc175){const _0x499321=_0x300468[_0x4513('0x2')](_0x4513('0xd'))||null;return _0x18b006[_0x4513('0x4')](_0x300468,'alignment')&&_0x3cc175!=_0x499321;}(_0x4210b8,this['editor'][_0x4513('0x8')][_0x4513('0x12')],_0x324b9a));_0x5a4f2e['model'][_0x4513('0xe')](()=>{for(const _0x2962b9 of _0x379b93)_0x503120[_0x4513('0x1a')](_0x2962b9,{'commandName':'alignment','commandParams':[{'value':_0x324b9a}]});});}),_0x503120['_descriptionFactory'][_0x4513('0xb')](_0x322d74=>{const {data:_0x2a5361}=_0x322d74;if(_0x2a5361&&_0x4513('0xd')==_0x2a5361[_0x4513('0x15')]){const _0xe01d03=_0x2a5361[_0x4513('0x3')][0x0]['value'];return{'type':_0x4513('0x14'),'content':_0x28c1ae(_0x322067,_0x4513('0x17'),function(_0x18ac66){switch(_0x18ac66){case _0x4513('0x0'):return _0x28c1ae(_0x322067,'FORMAT_ALIGN_TO_LEFT');case _0x4513('0x13'):return _0x28c1ae(_0x322067,_0x4513('0x18'));case'center':return _0x28c1ae(_0x322067,_0x4513('0x10'));case _0x4513('0x19'):return _0x28c1ae(_0x322067,_0x4513('0x1'));}}(_0xe01d03))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b77=['StrikethroughEditing','afterInit','FORMAT_SUBSCRIPT','FORMAT_STRIKETHROUGH','FORMAT_ITALIC','forceValue','markInlineFormat','isCollapsed','slice','plugins','FORMAT_SUPERSCRIPT','BoldEditing','code','SuperscriptEditing','editor','has','model','subscript','registerDescriptionCallback','locale','ItalicEditing','toLowerCase','SubscriptEditing','commandName','strikethrough','italic','enableCommand','*Remove\x20format:*\x20%0','get','getRanges','format','FORMAT_CODE','bold','CodeEditing','value','document','change','*Format:*\x20%0','FORMAT_UNDERLINE'];(function(_0xefffc6,_0x3b77dc){const _0x2b1a90=function(_0x1c0b2c){while(--_0x1c0b2c){_0xefffc6['push'](_0xefffc6['shift']());}};_0x2b1a90(++_0x3b77dc);}(_0x3b77,0xa3));const _0x2b1a=function(_0xefffc6,_0x3b77dc){_0xefffc6=_0xefffc6-0x0;let _0x2b1a90=_0x3b77[_0xefffc6];return _0x2b1a90;};import{Plugin as _0x390f2c}from'ckeditor5/src/core';import{getTranslation as _0x21dbe1}from'../utils/common-translations';import{getRangesWithAttribute as _0xe57c0a}from'./utils';const Kt=[_0x2b1a('0x4'),_0x2b1a('0xd'),'UnderlineEditing',_0x2b1a('0x1a'),_0x2b1a('0x20'),_0x2b1a('0xf'),_0x2b1a('0x6')];export default class U extends _0x390f2c{[_0x2b1a('0x21')](){const _0x28ed0a=this[_0x2b1a('0x7')],_0x2b8ea8=_0x28ed0a[_0x2b1a('0x9')],_0x5bb328=_0x28ed0a[_0x2b1a('0x2')][_0x2b1a('0x15')]('TrackChangesEditing'),_0x61315c=_0x28ed0a[_0x2b1a('0xc')];for(const _0x7872c2 of Kt){if(!_0x28ed0a[_0x2b1a('0x2')][_0x2b1a('0x8')](_0x7872c2))continue;const _0x44f7e0=_0x7872c2[_0x2b1a('0x1')](0x0,-0x7)[_0x2b1a('0xe')](),_0x2b734f=_0x28ed0a['commands'][_0x2b1a('0x15')](_0x44f7e0);_0x5bb328[_0x2b1a('0x13')](_0x44f7e0,(_0x2d091b,_0x1c464f={})=>{const _0x5b3fa5=_0x2b8ea8[_0x2b1a('0x1c')]['selection'];if(_0x5b3fa5[_0x2b1a('0x0')])return void _0x2d091b(_0x1c464f);const _0x534b0d=void 0x0!==_0x1c464f[_0x2b1a('0x25')]?_0x1c464f[_0x2b1a('0x25')]:!_0x2b734f[_0x2b1a('0x1b')];_0x2b8ea8[_0x2b1a('0x1d')](()=>{const _0x3b096f=Array['from'](_0x5b3fa5[_0x2b1a('0x16')]());for(const _0x40ecaf of _0x3b096f){const _0x5f4dee=_0x534b0d?[_0x40ecaf]:_0xe57c0a(_0x44f7e0,_0x40ecaf,_0x2b8ea8);for(const _0x293fab of _0x5f4dee)_0x5bb328[_0x2b1a('0x26')](_0x293fab,{'commandName':_0x44f7e0,'commandParams':[{'forceValue':_0x534b0d}]});}});});}function _0x5e9db0(_0x1803b7,_0xe7c307){_0x5bb328['_descriptionFactory'][_0x2b1a('0xb')](_0x1976c8=>{const {data:_0x357d2b}=_0x1976c8;if(_0x357d2b&&_0x357d2b[_0x2b1a('0x10')]===_0x1803b7)return _0x357d2b['commandParams'][0x0][_0x2b1a('0x25')]?{'type':_0x2b1a('0x17'),'content':_0x21dbe1(_0x61315c,_0x2b1a('0x1e'),_0xe7c307)}:{'type':_0x2b1a('0x17'),'content':_0x21dbe1(_0x61315c,_0x2b1a('0x14'),_0xe7c307)};});}_0x5e9db0(_0x2b1a('0x19'),_0x21dbe1(_0x61315c,'FORMAT_BOLD')),_0x5e9db0(_0x2b1a('0x12'),_0x21dbe1(_0x61315c,_0x2b1a('0x24'))),_0x5e9db0('underline',_0x21dbe1(_0x61315c,_0x2b1a('0x1f'))),_0x5e9db0(_0x2b1a('0x5'),_0x21dbe1(_0x61315c,_0x2b1a('0x18'))),_0x5e9db0(_0x2b1a('0x11'),_0x21dbe1(_0x61315c,_0x2b1a('0x23'))),_0x5e9db0(_0x2b1a('0xa'),_0x21dbe1(_0x61315c,_0x2b1a('0x22'))),_0x5e9db0('superscript',_0x21dbe1(_0x61315c,_0x2b1a('0x3')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11ca=['name','commands','editor','plugins','TrackChangesEditing','ELEMENT_BLOCK_QUOTE','schema','selection','filter','enableCommand','BlockQuoteEditing','commandParams','from','checkChild','model','afterInit','parent','format','$root','blockQuote','get','getSelectedBlocks','*Remove\x20format:*\x20%0','commandName','locale','forceValue','has','value','change','markBlockFormat','*Format:*\x20%0','document','_descriptionFactory'];(function(_0x3e3f3c,_0x11cacf){const _0x3a0121=function(_0x3c01a8){while(--_0x3c01a8){_0x3e3f3c['push'](_0x3e3f3c['shift']());}};_0x3a0121(++_0x11cacf);}(_0x11ca,0x169));const _0x3a01=function(_0x3e3f3c,_0x11cacf){_0x3e3f3c=_0x3e3f3c-0x0;let _0x3a0121=_0x11ca[_0x3e3f3c];return _0x3a0121;};import{Plugin as _0x5e1bcf}from'ckeditor5/src/core';import{getTranslation as _0x2b6381}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3646d5}from'../utils/utils';export default class j extends _0x5e1bcf{[_0x3a01('0x11')](){const _0x57b01a=this[_0x3a01('0x4')],_0x421956=_0x57b01a[_0x3a01('0x1a')];if(!_0x57b01a[_0x3a01('0x5')][_0x3a01('0x1c')](_0x3a01('0xc')))return;const _0x1b44c3=_0x57b01a[_0x3a01('0x5')][_0x3a01('0x16')](_0x3a01('0x6')),_0xa53ae6=this['editor'][_0x3a01('0x3')][_0x3a01('0x16')](_0x3a01('0x15'));_0x1b44c3[_0x3a01('0xb')](_0x3a01('0x15'),(_0xbc78fa,_0x272563={})=>{const _0x1da771=this['editor']['model'][_0x3a01('0x0')][_0x3a01('0x9')],_0x390550=_0x272563&&void 0x0!==_0x272563[_0x3a01('0x1b')]?_0x272563['forceValue']:!_0xa53ae6[_0x3a01('0x1d')];let _0x1e275d=[];if(_0x390550){const _0x5aefc4=Array[_0x3a01('0xe')](_0x1da771['getSelectedBlocks']())[_0x3a01('0xa')](_0x25640a=>Xt(_0x25640a)||function(_0x4231,_0x4510bc){const _0x1626f0=_0x4510bc[_0x3a01('0xf')](_0x4231[_0x3a01('0x12')],_0x3a01('0x15')),_0x2410fc=_0x4510bc['checkChild']([_0x3a01('0x14'),'blockQuote'],_0x4231);return _0x1626f0&&_0x2410fc;}(_0x25640a,this[_0x3a01('0x4')][_0x3a01('0x10')][_0x3a01('0x8')]));_0x1e275d=_0x3646d5(_0x5aefc4,_0x57b01a[_0x3a01('0x10')]);}else{const _0xdb155c=Array[_0x3a01('0xe')](_0x1da771[_0x3a01('0x17')]())['filter'](_0x541f1e=>Xt(_0x541f1e));_0x1e275d=_0x3646d5(_0xdb155c,_0x57b01a[_0x3a01('0x10')]);}_0x57b01a[_0x3a01('0x10')][_0x3a01('0x1e')](()=>{for(const _0x44ffb7 of _0x1e275d)_0x1b44c3[_0x3a01('0x1f')](_0x44ffb7,{'commandName':_0x3a01('0x15'),'commandParams':[{'forceValue':_0x390550}]});});}),_0x1b44c3[_0x3a01('0x1')]['registerDescriptionCallback'](_0x263648=>{const {data:_0x321ce5}=_0x263648;if(_0x321ce5&&_0x3a01('0x15')==_0x321ce5[_0x3a01('0x19')]){const _0x353efc=_0x2b6381(_0x421956,_0x3a01('0x7'));return _0x321ce5[_0x3a01('0xd')][0x0][_0x3a01('0x1b')]?{'type':_0x3a01('0x13'),'content':_0x2b6381(_0x421956,_0x3a01('0x20'),_0x353efc)}:{'type':_0x3a01('0x13'),'content':_0x2b6381(_0x421956,_0x3a01('0x18'),_0x353efc)};}});}}function Xt(_0x9f0aad){return'blockQuote'==_0x9f0aad[_0x3a01('0x12')][_0x3a01('0x2')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5856=['commands','afterInit','editor','TrackChangesEditing','ckbox','get'];(function(_0x5ec004,_0x58564d){const _0x4d33b6=function(_0x19cea6){while(--_0x19cea6){_0x5ec004['push'](_0x5ec004['shift']());}};_0x4d33b6(++_0x58564d);}(_0x5856,0x1f2));const _0x4d33=function(_0x5ec004,_0x58564d){_0x5ec004=_0x5ec004-0x0;let _0x4d33b6=_0x5856[_0x5ec004];return _0x4d33b6;};import{Plugin as _0x43cec4}from'ckeditor5/src/core';export default class E extends _0x43cec4{[_0x4d33('0x1')](){const _0x591f59=this[_0x4d33('0x2')];_0x591f59[_0x4d33('0x0')][_0x4d33('0x5')](_0x4d33('0x4'))&&_0x591f59['plugins'][_0x4d33('0x5')](_0x4d33('0x3'))['enableCommand'](_0x4d33('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fa0=['commands','plugins','_descriptionFactory','getSelectedBlocks','schema','registerDescriptionCallback','rootElement','from','TrackChangesEditing','outdentCodeBlock','language','codeBlock','name','format','editor','locale','get','model','parent','afterInit','document','value','filter','*Format:*\x20%0','forceValue','ELEMENT_CODE_BLOCK','registerElementLabel','commandParams','enableCommand','*Remove\x20format:*\x20%0','selection','formatBlock','markBlockFormat','find'];(function(_0xf5a26e,_0x1fa0d3){const _0x32694d=function(_0x229f05){while(--_0x229f05){_0xf5a26e['push'](_0xf5a26e['shift']());}};_0x32694d(++_0x1fa0d3);}(_0x1fa0,0xa4));const _0x3269=function(_0xf5a26e,_0x1fa0d3){_0xf5a26e=_0xf5a26e-0x0;let _0x32694d=_0x1fa0[_0xf5a26e];return _0x32694d;};import{Plugin as _0x595db7}from'ckeditor5/src/core';import{getTranslation as _0x18a83f}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x470638}from'../utils/utils';export default class O extends _0x595db7{[_0x3269('0x19')](){const _0x38b125=this[_0x3269('0x14')];if(!_0x38b125[_0x3269('0x7')]['has']('CodeBlock'))return;const _0x869c76=_0x38b125[_0x3269('0x7')][_0x3269('0x16')](_0x3269('0xe')),_0x24df99=_0x38b125[_0x3269('0x15')],_0x800cc3=_0x38b125['config'][_0x3269('0x16')](_0x3269('0x11'))['languages'],_0x35ae16=_0x38b125[_0x3269('0x6')][_0x3269('0x16')]('codeBlock');_0x869c76[_0x3269('0x0')]('indentCodeBlock'),_0x869c76['enableCommand'](_0x3269('0xf')),_0x869c76[_0x3269('0x0')](_0x3269('0x11'),(_0x5863f4,_0x4b11a4={})=>{const _0x2f48c3=_0x38b125['model'],_0x5e6c1a=_0x38b125[_0x3269('0x17')][_0x3269('0x1a')][_0x3269('0x2')],_0x228ac8=_0x4b11a4&&void 0x0!==_0x4b11a4[_0x3269('0x1e')]?_0x4b11a4[_0x3269('0x1e')]:!_0x35ae16[_0x3269('0x1b')];let _0x333bdd;_0x4b11a4[_0x3269('0x10')]||(_0x4b11a4[_0x3269('0x10')]=_0x800cc3[0x0][_0x3269('0x10')]),_0x333bdd=_0x228ac8?Array['from'](_0x5e6c1a[_0x3269('0x9')]())['filter'](_0x471b1a=>oo(_0x471b1a)||function(_0x12eb7f,_0x678a83){if(_0x12eb7f['is'](_0x3269('0xc'))||_0x678a83['isLimit'](_0x12eb7f))return!0x1;return _0x678a83['checkChild'](_0x12eb7f[_0x3269('0x18')],_0x3269('0x11'));}(_0x471b1a,_0x2f48c3[_0x3269('0xa')])):Array[_0x3269('0xd')](_0x5e6c1a[_0x3269('0x9')]())[_0x3269('0x1c')](_0xb1bc0a=>oo(_0xb1bc0a));const _0x462b75=_0x470638(_0x333bdd,_0x2f48c3);_0x2f48c3['change'](()=>{for(const _0x4af8e8 of _0x462b75)_0x869c76[_0x3269('0x4')](_0x4af8e8,{'commandName':'codeBlock','commandParams':[{..._0x4b11a4,'forceValue':_0x228ac8}],'formatGroupId':'blockName'});});}),(_0x869c76[_0x3269('0x8')][_0x3269('0x20')](_0x3269('0x11'),_0x140ac2=>_0x18a83f(_0x24df99,_0x3269('0x1f'),_0x140ac2)),_0x869c76[_0x3269('0x8')][_0x3269('0xb')](_0x1c3df5=>{const _0x3d91bf=_0x24df99['t'],{type:_0x28bf30,data:_0x4da9e1}=_0x1c3df5;if(_0x3269('0x3')==_0x28bf30&&_0x4da9e1&&'codeBlock'==_0x4da9e1['commandName']){const _0x5611ec=_0x4da9e1['commandParams'][0x0][_0x3269('0x10')],_0x3a2827=_0x3d91bf(_0x800cc3[_0x3269('0x5')](_0x70e9d6=>_0x70e9d6['language']===_0x5611ec)['label']);return _0x4da9e1[_0x3269('0x21')][0x0][_0x3269('0x1e')]?{'type':_0x3269('0x13'),'content':_0x18a83f(_0x24df99,_0x3269('0x1d'),_0x18a83f(_0x24df99,_0x3269('0x1f'),0x1)+'\x20('+_0x3a2827+')')}:{'type':_0x3269('0x13'),'content':_0x18a83f(_0x24df99,_0x3269('0x1'),_0x18a83f(_0x24df99,_0x3269('0x1f'),0x1))};}}));}}function oo(_0x2ee57a){return'codeBlock'==_0x2ee57a[_0x3269('0x12')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bd2=['CommentsEditing','get','has','TrackChangesEditing','enableCommand','plugins','afterInit','addCommentThread'];(function(_0x49b3d0,_0x3bd251){const _0x1a0eb7=function(_0x1c303f){while(--_0x1c303f){_0x49b3d0['push'](_0x49b3d0['shift']());}};_0x1a0eb7(++_0x3bd251);}(_0x3bd2,0x199));const _0x1a0e=function(_0x49b3d0,_0x3bd251){_0x49b3d0=_0x49b3d0-0x0;let _0x1a0eb7=_0x3bd2[_0x49b3d0];return _0x1a0eb7;};import{Plugin as _0x627ba2}from'ckeditor5/src/core';export default class F extends _0x627ba2{[_0x1a0e('0x5')](){const _0x222e06=this['editor'];if(!_0x222e06[_0x1a0e('0x4')][_0x1a0e('0x1')](_0x1a0e('0x7')))return;_0x222e06[_0x1a0e('0x4')][_0x1a0e('0x0')](_0x1a0e('0x2'))[_0x1a0e('0x3')](_0x1a0e('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c62=['rootName','addMarker:suggestion:deletion','$graveyard','selection','createSelection','downcastDispatcher','markerNameToElements','showSuggestionHighlights','createRange','merge','buffer','uiElement','data','lock','setSelection','getFirstRange','remove','enableCommand','delete','enqueueChange','deleteForward','mapper','init','removeMarker:suggestion:deletion','modifySelection','markerName','high','editing','commands','end','get','unit','unlock','requires','writer','model','start'];(function(_0x40a584,_0x1c6255){const _0x2682f8=function(_0x49cdeb){while(--_0x49cdeb){_0x40a584['push'](_0x40a584['shift']());}};_0x2682f8(++_0x1c6255);}(_0x1c62,0x173));const _0x2682=function(_0x40a584,_0x1c6255){_0x40a584=_0x40a584-0x0;let _0x2682f8=_0x1c62[_0x40a584];return _0x2682f8;};import{Plugin as _0x27a608}from'ckeditor5/src/core';import{LiveRange as _0x1ec700}from'ckeditor5/src/engine';import{Delete as _0x1f580f}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3979b0}from'./utils';export default class G extends _0x27a608{static get[_0x2682('0x20')](){return[_0x1f580f];}[_0x2682('0x15')](){const _0x21eff6=this['editor'],_0x2d0f27=_0x21eff6['plugins'][_0x2682('0x1d')]('TrackChangesEditing');_0x2d0f27[_0x2682('0x10')](_0x2682('0x11'));const _0x1e98fa=_0x21eff6[_0x2682('0x1b')][_0x2682('0x1d')](_0x2682('0x13'));_0x2d0f27[_0x2682('0x10')](_0x2682('0x13'),(_0x3e24f3,_0x212421={})=>{const _0x1e9dc7=_0x21eff6[_0x2682('0x22')][_0x2682('0x3')](_0x21eff6[_0x2682('0x22')]['document'][_0x2682('0x2')]);_0x1e9dc7['isCollapsed']&&_0x21eff6[_0x2682('0x22')][_0x2682('0x17')](_0x1e9dc7,{'direction':'forward','unit':_0x212421[_0x2682('0x1e')]});const _0x158f25=_0x1e9dc7[_0x2682('0xe')](),_0x4af86f=_0x1ec700['fromRange'](_0x158f25);let _0x310c63;_0x3e24f3(_0x212421),_0x310c63=_0x2682('0x1')==_0x4af86f['root'][_0x2682('0x24')]?_0x21eff6[_0x2682('0x22')][_0x2682('0x7')](_0x158f25[_0x2682('0x23')]):_0x21eff6[_0x2682('0x22')][_0x2682('0x7')](_0x4af86f[_0x2682('0x23')],_0x4af86f['end']),_0x4af86f['detach'](),_0x21eff6[_0x2682('0x22')][_0x2682('0x12')](_0x1e98fa[_0x2682('0x9')]['batch'],_0x50dd97=>{_0x1e98fa[_0x2682('0x9')][_0x2682('0xc')](),_0x50dd97[_0x2682('0xd')](_0x50dd97['createRange'](_0x310c63[_0x2682('0x1c')])),_0x1e98fa[_0x2682('0x9')][_0x2682('0x1f')]();});}),_0x21eff6[_0x2682('0x1a')][_0x2682('0x4')]['on'](_0x2682('0x0'),_0x3979b0(_0x21eff6,_0x2682('0x8')),{'priority':_0x2682('0x19')}),_0x21eff6[_0x2682('0xb')][_0x2682('0x4')]['on']('addMarker:suggestion:deletion',(_0x3408f7,_0x46cb08,_0x528b3f)=>{_0x528b3f['options'][_0x2682('0x6')]&&_0x3979b0(_0x21eff6,_0x2682('0x8'),{'showActiveMarker':!0x1})['bind'](this)(_0x3408f7,_0x46cb08,_0x528b3f);},{'priority':_0x2682('0x19')}),_0x21eff6['editing'][_0x2682('0x4')]['on'](_0x2682('0x16'),(_0x26f2af,_0x4f1cee,_0x4a1748)=>{const _0x464c68=_0x4a1748[_0x2682('0x14')][_0x2682('0x5')](_0x4f1cee['markerName']);if(_0x464c68)for(const _0x1ca25f of _0x464c68)_0x1ca25f['is'](_0x2682('0xa'))&&(_0x4a1748[_0x2682('0x14')]['unbindElementFromMarkerName'](_0x1ca25f,_0x4f1cee[_0x2682('0x18')]),_0x4a1748[_0x2682('0x21')][_0x2682('0xf')](_0x1ca25f));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a8e=['_suggestionFactory','slice','indentList','format','_LIST','expandListBlocksToCompleteList','commandName','outdentList','map','mergeListItemBackward','document','listItemId','listIndent','enableCommand','*Change\x20to:*\x20%0','multipleBlocks','splitListItemBefore','schema','containsItem','DocumentListEditing','end','editor','afterInit','commands','_descriptionFactory','getRanges','after','value','DocumentListUtils','ELEMENT_LIST_ITEM','commandParams','get','next','nodeAfter','isFirstBlockOfListItem','markBlockFormat','change','hasAttribute','locale','*Indent:*\x20%0','ELEMENT_','*Format:*\x20insert\x20into\x20%0','parent','*Merge:*\x20%0','formatBlock','createPositionAt','detach','start','listType','numberedList','createRange','registerCustomCallback','documentList','has','bulletedList','from','splitListItemAfter','getFirstRange','fromRange','model','*Outdent:*\x20%0','getAttribute','*Format:*\x20remove\x20from\x20%0','getSelectedBlocks','execute','selection','registerElementLabel','setSelection','refresh','isObject','nextSibling','before','previousSibling','push','markMultiRangeBlockFormat','plugins','registerDescriptionCallback'];(function(_0x228610,_0x1a8e7e){const _0x1c6fca=function(_0x5d314a){while(--_0x5d314a){_0x228610['push'](_0x228610['shift']());}};_0x1c6fca(++_0x1a8e7e);}(_0x1a8e,0xf5));const _0x1c6f=function(_0x228610,_0x1a8e7e){_0x228610=_0x228610-0x0;let _0x1c6fca=_0x1a8e[_0x228610];return _0x1c6fca;};import{Plugin as _0x2f04b6}from'ckeditor5/src/core';import{getTranslation as _0x39d7bb}from'../utils/common-translations';import{LiveRange as _0x499143}from'ckeditor5/src/engine';export default class L extends _0x2f04b6{[_0x1c6f('0x8')](){const _0x597fab=this[_0x1c6f('0x7')];if(!_0x597fab[_0x1c6f('0x3d')][_0x1c6f('0x27')](_0x1c6f('0x5')))return;const _0x1feaa6=_0x597fab[_0x1c6f('0x18')],_0x52e736=_0x597fab[_0x1c6f('0x3d')][_0x1c6f('0x11')]('TrackChangesEditing'),_0x1f3a40=_0x597fab['plugins'][_0x1c6f('0x11')](_0x1c6f('0xe'));function _0x305760(_0x3445ac){return()=>{const _0x1e433a=_0x597fab['commands']['get'](_0x3445ac);let _0x2bc1af=Array[_0x1c6f('0x29')](_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x49')]['selection'][_0x1c6f('0x31')]());if(_0x4f709b(_0x3445ac)){_0x2bc1af=_0x1f3a40[_0x1c6f('0x44')](_0x2bc1af);const _0x4e00f1=[];for(const _0x3f9ff7 of _0x2bc1af)_0x1f3a40[_0x1c6f('0x14')](_0x3f9ff7)&&_0x4e00f1[_0x1c6f('0x3b')](_0x3f9ff7);_0x2bc1af=_0x4e00f1;}_0x597fab[_0x1c6f('0x2d')]['change'](()=>{_0x52e736[_0x1c6f('0x3c')](_0x2bc1af,{'commandName':_0x3445ac,'commandParams':[{'forceValue':!_0x1e433a[_0x1c6f('0xd')]}],'formatGroupId':_0x1c6f('0x22')},[],_0x1c6f('0x26'));});};}function _0x506142(_0x10cee6){return()=>{const _0x108a70=function(_0x478967){let _0x2699bc=Array[_0x1c6f('0x29')](_0x478967);const _0x1f36f1=_0x2699bc['findIndex'](_0x44d2e1=>!_0x44d2e1[_0x1c6f('0x17')](_0x1c6f('0x4a')));return _0x1f36f1>-0x1&&(_0x2699bc=_0x2699bc[_0x1c6f('0x40')](0x0,_0x1f36f1)),_0x2699bc;}(_0x597fab['model'][_0x1c6f('0x49')][_0x1c6f('0x33')][_0x1c6f('0x31')]()),_0x53dfcd=_0x108a70[_0x108a70['length']-0x1],_0x5f37e4=_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x3')][_0x1c6f('0x37')](_0x53dfcd)?_0x1c6f('0xc'):_0x1c6f('0x6'),_0x148dd6=_0x597fab[_0x1c6f('0x2d')]['createRange'](_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x1f')](_0x108a70[0x0],_0x1c6f('0x39')),_0x597fab['model'][_0x1c6f('0x1f')](_0x53dfcd,_0x5f37e4));_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x16')](()=>{_0x52e736[_0x1c6f('0x15')](_0x148dd6,{'commandName':_0x10cee6,'commandParams':[],'formatGroupId':'listType'},function(_0x13c079){const _0x3ac588=new Set();for(const _0x26eb76 of _0x13c079){let _0x1db3a7=_0x26eb76['nextSibling'];for(;_0x1db3a7&&_0x1db3a7[_0x1c6f('0x2f')]('listIndent')>_0x26eb76[_0x1c6f('0x2f')](_0x1c6f('0x4b'));)_0x3ac588['add'](_0x1db3a7),_0x1db3a7=_0x1db3a7['nextSibling'];}return Array[_0x1c6f('0x29')](_0x3ac588);}(_0x108a70));});};}function _0x53445a(_0x46229c){return()=>{const _0x278ff0=_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x49')]['selection'][_0x1c6f('0x31')]()[_0x1c6f('0x12')]()['value'],_0x28a632=_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x1f')](_0x278ff0,'before'),_0x2c0566=_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x1f')](_0x278ff0,0x0),_0x47c549=_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x24')](_0x28a632,_0x2c0566);_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x16')](()=>{_0x52e736[_0x1c6f('0x15')](_0x47c549,{'commandName':_0x46229c,'commandParams':[],'formatGroupId':_0x1c6f('0x22')});});};}function _0x4f709b(_0x2bcc1e){const _0x40a180=_0x597fab[_0x1c6f('0x9')][_0x1c6f('0x11')](_0x1c6f('0x28'))['value'],_0x139e99=_0x597fab[_0x1c6f('0x9')][_0x1c6f('0x11')]('numberedList')[_0x1c6f('0xd')];return _0x1c6f('0x23')===_0x2bcc1e?_0x40a180:_0x139e99;}_0x52e736[_0x1c6f('0x4c')](_0x1c6f('0x23'),_0x305760(_0x1c6f('0x23'))),_0x52e736[_0x1c6f('0x4c')](_0x1c6f('0x28'),_0x305760(_0x1c6f('0x28'))),_0x52e736[_0x1c6f('0x4c')](_0x1c6f('0x41'),_0x506142(_0x1c6f('0x41'))),_0x52e736[_0x1c6f('0x4c')](_0x1c6f('0x46'),_0x506142(_0x1c6f('0x46'))),_0x52e736['enableCommand'](_0x1c6f('0x2a'),_0x53445a(_0x1c6f('0x2a'))),_0x52e736[_0x1c6f('0x4c')](_0x1c6f('0x2'),_0x53445a(_0x1c6f('0x2'))),_0x52e736[_0x1c6f('0xa')][_0x1c6f('0x34')](function(_0x28e5e2){const _0x91ed49=!_0x597fab['model'][_0x1c6f('0x3')][_0x1c6f('0x37')](_0x28e5e2),_0x4712b5=_0x28e5e2[_0x1c6f('0x3a')],_0x4f8d9e=_0x28e5e2[_0x1c6f('0x38')],_0x5430fb=_0x28e5e2[_0x1c6f('0x2f')](_0x1c6f('0x4a')),_0x24b0e7=!_0x4712b5||_0x4712b5[_0x1c6f('0x2f')](_0x1c6f('0x4a'))!==_0x5430fb,_0xad9481=!_0x4f8d9e||_0x4f8d9e['getAttribute']('listItemId')!==_0x5430fb;return _0x91ed49&&Boolean(_0x5430fb)&&_0x24b0e7&&_0xad9481;},_0x328597=>_0x39d7bb(_0x1feaa6,'ELEMENT_LIST_ITEM',_0x328597)),_0x52e736['_descriptionFactory'][_0x1c6f('0x3e')](function(_0x122a33){const {data:_0xe987db}=_0x122a33;if(!_0xe987db)return;let _0x16e022,_0x14b61f,_0x5670a3,_0x359cb2;switch(_0xe987db[_0x1c6f('0x45')]){case _0x1c6f('0x28'):_0x5670a3=_0xe987db[_0x1c6f('0x10')][0x0]['forceValue'],_0x359cb2=_0x4f709b(_0xe987db['commandName']),_0x16e022=_0x5670a3?_0x1c6f('0x1b'):_0x1c6f('0x30'),_0x359cb2&&(_0x16e022=_0x1c6f('0x0')),_0x14b61f={'type':_0x1c6f('0x42'),'content':_0x39d7bb(_0x1feaa6,_0x16e022,_0x39d7bb(_0x1feaa6,'ELEMENT_BULLETED_LIST'))};break;case _0x1c6f('0x23'):_0x5670a3=_0xe987db[_0x1c6f('0x10')][0x0]['forceValue'],_0x359cb2=_0x4f709b(_0xe987db[_0x1c6f('0x45')]),_0x16e022=_0x5670a3?'*Format:*\x20insert\x20into\x20%0':_0x1c6f('0x30'),_0x359cb2&&(_0x16e022=_0x1c6f('0x0')),_0x14b61f={'type':_0x1c6f('0x42'),'content':_0x39d7bb(_0x1feaa6,_0x16e022,_0x39d7bb(_0x1feaa6,'ELEMENT_NUMBERED_LIST'))};break;case _0x1c6f('0x41'):_0x16e022=_0x1c6f('0x19'),_0x14b61f={'type':_0x1c6f('0x42'),'content':_0x39d7bb(_0x1feaa6,_0x16e022,_0x39d7bb(_0x1feaa6,_0x1c6f('0xf')))};break;case _0x1c6f('0x46'):_0x16e022=function(_0x724312){const _0x15ded2=_0x724312[_0x1c6f('0x2b')]();let _0x571b39=_0x15ded2['start'][_0x1c6f('0x13')];for(;_0x571b39&&_0x15ded2[_0x1c6f('0x4')](_0x571b39);){if(_0x571b39[_0x1c6f('0x2f')](_0x1c6f('0x4b'))>0x0)return!0x1;_0x571b39=_0x571b39['nextSibling'];}return!0x0;}(_0x122a33)?_0x39d7bb(_0x1feaa6,_0x1c6f('0x30'),_0x39d7bb(_0x1feaa6,function(_0x43ad90){const _0x4b0b02=_0x43ad90['getFirstRange']()[_0x1c6f('0x21')]['nodeAfter'];return _0x1c6f('0x1a')+_0x4b0b02['getAttribute']('listType')['toUpperCase']()+_0x1c6f('0x43');}(_0x122a33))):_0x39d7bb(_0x1feaa6,_0x1c6f('0x2e'),_0x39d7bb(_0x1feaa6,'ELEMENT_LIST_ITEM')),_0x14b61f={'type':'format','content':_0x16e022};break;case _0x1c6f('0x48'):case'mergeListItemForward':!0x1===_0xe987db[_0x1c6f('0x1')]&&(_0x16e022=_0x1c6f('0x1d'),_0x14b61f={'type':'deletion','content':_0x39d7bb(_0x1feaa6,_0x16e022,_0x39d7bb(_0x1feaa6,_0x1c6f('0xf')))});}return _0x14b61f;}),_0x52e736[_0x1c6f('0x3f')][_0x1c6f('0x25')](_0x1c6f('0x1e'),'documentList','accept',function(_0x7ff52c,_0x25ab1d){const _0x1613dd=[];for(let _0x8efd79 of _0x7ff52c)_0x8efd79['start']['nodeAfter']===_0x8efd79['end'][_0x1c6f('0x1c')]&&(_0x8efd79=_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x24')](_0x597fab[_0x1c6f('0x2d')]['createPositionAt'](_0x8efd79['start'][_0x1c6f('0x13')],0x0))),_0x1613dd[_0x1c6f('0x3b')](_0x8efd79);_0x597fab[_0x1c6f('0x2d')]['change'](_0x1261e8=>{const _0x43b492=_0x597fab[_0x1c6f('0x2d')][_0x1c6f('0x49')]['selection'],_0x4a833e=Array[_0x1c6f('0x29')](_0x43b492[_0x1c6f('0xb')]())[_0x1c6f('0x47')](_0x2dc3de=>_0x499143[_0x1c6f('0x2c')](_0x2dc3de));_0x1261e8[_0x1c6f('0x35')](_0x1613dd),_0x597fab['commands']['get'](_0x25ab1d[_0x1c6f('0x45')])[_0x1c6f('0x36')](),_0x25ab1d['commandParams'][_0x1c6f('0x3b')]({'forceDefaultExecution':!0x0}),_0x597fab[_0x1c6f('0x32')](_0x25ab1d[_0x1c6f('0x45')],..._0x25ab1d[_0x1c6f('0x10')]),_0x1261e8['setSelection'](_0x4a833e);for(const _0x3afe62 of _0x4a833e)_0x3afe62[_0x1c6f('0x20')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f19=['*Format:*\x20set\x20start\x20index\x20to\x20%0','_getSuggestionBlocksForListStyle','ELEMENT_','*Format:*\x20set\x20order\x20to\x20reversed','TrackChangesEditing','commandName','handleListStyleCommand','numbered','bind','document','locale','registerDescriptionCallback','DocumentListUtils','markMultiRangeBlockFormat','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20regular','reversed','startIndex','toUpperCase','listStart','listStyle','expandListBlocksToCompleteList','plugins','selection','list.properties','push','isFirstBlockOfListItem','config','length','type','listReversed','getListTypeFromListStyleType','getAttribute','from','_getTranslationKeyForListStyle','format','handleDescriptions','editor','enableCommand','isListItemBlock','change','model','_LIST_','listType','filter','get','*Change\x20to:*\x20%0','handleListReversedCommand','_descriptionFactory','handleListStartCommand'];(function(_0x1e175b,_0x3f194f){const _0x2fd3a7=function(_0x3377fd){while(--_0x3377fd){_0x1e175b['push'](_0x1e175b['shift']());}};_0x2fd3a7(++_0x3f194f);}(_0x3f19,0xe2));const _0x2fd3=function(_0x1e175b,_0x3f194f){_0x1e175b=_0x1e175b-0x0;let _0x2fd3a7=_0x3f19[_0x1e175b];return _0x2fd3a7;};import{Plugin as _0x11ad3c}from'ckeditor5/src/core';import{getTranslation as _0xa0e7da}from'../utils/common-translations';export default class At extends _0x11ad3c{['afterInit'](){if(!this[_0x2fd3('0xb')]['plugins']['has']('DocumentListPropertiesEditing'))return;const _0x185551=this[_0x2fd3('0xb')][_0x2fd3('0x1')]['get'](_0x2fd3('0x30')),_0x3225ea=this[_0x2fd3('0xb')][_0x2fd3('0x2e')][_0x2fd3('0x13')](_0x2fd3('0x1c'));_0x185551['styles']&&_0x3225ea[_0x2fd3('0xc')](_0x2fd3('0x2c'),this['handleListStyleCommand'][_0x2fd3('0x20')](this)),_0x185551[_0x2fd3('0x28')]&&_0x3225ea['enableCommand'](_0x2fd3('0x4'),this[_0x2fd3('0x15')][_0x2fd3('0x20')](this)),_0x185551[_0x2fd3('0x29')]&&_0x3225ea[_0x2fd3('0xc')]('listStart',this[_0x2fd3('0x17')][_0x2fd3('0x20')](this)),_0x3225ea[_0x2fd3('0x16')][_0x2fd3('0x23')](this[_0x2fd3('0xa')]['bind'](this));}[_0x2fd3('0x1e')](_0x4f00a4,_0x39fefc={}){const _0x189034=this[_0x2fd3('0xb')]['plugins']['get'](_0x2fd3('0x1c')),_0xf3f1eb=this['_getSuggestionBlocksForListStyle']();this[_0x2fd3('0xb')]['model'][_0x2fd3('0xe')](()=>{_0x189034[_0x2fd3('0x25')](_0xf3f1eb,{'commandName':_0x2fd3('0x2c'),'commandParams':[{'type':_0x39fefc[_0x2fd3('0x3')]}],'formatGroupId':_0x2fd3('0x2c')});});}[_0x2fd3('0x15')](_0x355dce,_0x40e890={}){const _0xc4b17b=this['editor'][_0x2fd3('0x2e')][_0x2fd3('0x13')](_0x2fd3('0x1c')),_0xb0d91d=this['editor'][_0x2fd3('0x2e')][_0x2fd3('0x13')]('DocumentListUtils'),_0x5fb770=this[_0x2fd3('0x26')](_0x551c69=>_0xb0d91d[_0x2fd3('0xd')](_0x551c69)&&_0x2fd3('0x1f')===_0x551c69[_0x2fd3('0x6')](_0x2fd3('0x11')));null!==_0x5fb770&&this[_0x2fd3('0xb')][_0x2fd3('0xf')]['change'](()=>{_0xc4b17b[_0x2fd3('0x25')](_0x5fb770,{'commandName':_0x2fd3('0x4'),'commandParams':[{'reversed':_0x40e890[_0x2fd3('0x28')]}],'formatGroupId':_0x2fd3('0x4')});});}[_0x2fd3('0x17')](_0x4afe5d,_0x5ee120={}){const _0x1611f2=this[_0x2fd3('0xb')]['plugins'][_0x2fd3('0x13')](_0x2fd3('0x1c')),_0x5c97d7=this[_0x2fd3('0xb')][_0x2fd3('0x2e')][_0x2fd3('0x13')](_0x2fd3('0x24')),_0x1968df=this[_0x2fd3('0x26')](_0x354aab=>_0x5c97d7[_0x2fd3('0xd')](_0x354aab)&&_0x2fd3('0x1f')===_0x354aab[_0x2fd3('0x6')](_0x2fd3('0x11')));null!==_0x1968df&&this[_0x2fd3('0xb')][_0x2fd3('0xf')][_0x2fd3('0xe')](()=>{_0x1611f2[_0x2fd3('0x25')](_0x1968df,{'commandName':_0x2fd3('0x2b'),'commandParams':[{'startIndex':_0x5ee120[_0x2fd3('0x29')]}],'formatGroupId':_0x2fd3('0x2b')});});}['handleDescriptions'](_0xadd1f9){const _0x46670c=this['editor'][_0x2fd3('0x22')],{data:_0x30a924}=_0xadd1f9;if(!_0x30a924)return;let _0x13cd4f,_0x4feea3;switch(_0x30a924[_0x2fd3('0x1d')]){case _0x2fd3('0x2c'):_0x13cd4f=_0x2fd3('0x14'),_0x4feea3={'type':_0x2fd3('0x9'),'content':_0xa0e7da(_0x46670c,_0x13cd4f,_0xa0e7da(_0x46670c,this[_0x2fd3('0x8')](_0x30a924['commandParams'][0x0][_0x2fd3('0x3')])))};break;case _0x2fd3('0x4'):_0x13cd4f=_0x30a924['commandParams'][0x0][_0x2fd3('0x28')]?_0x2fd3('0x1b'):_0x2fd3('0x27'),_0x4feea3={'type':'format','content':_0xa0e7da(_0x46670c,_0x13cd4f)};break;case _0x2fd3('0x2b'):_0x13cd4f=_0x2fd3('0x18'),_0x4feea3={'type':_0x2fd3('0x9'),'content':_0xa0e7da(_0x46670c,_0x13cd4f,_0x30a924['commandParams'][0x0][_0x2fd3('0x29')])};}return _0x4feea3;}[_0x2fd3('0x19')](){const _0x246700=this[_0x2fd3('0xb')][_0x2fd3('0x2e')]['get'](_0x2fd3('0x24'));let _0x17e8bb=Array[_0x2fd3('0x7')](this[_0x2fd3('0xb')]['model'][_0x2fd3('0x21')]['selection']['getSelectedBlocks']());return _0x17e8bb[_0x2fd3('0x31')](..._0x246700[_0x2fd3('0x2d')](_0x17e8bb)),_0x17e8bb=[...new Set(_0x17e8bb)],_0x17e8bb;}[_0x2fd3('0x26')](_0x88194e){const _0x4ebc3b=this[_0x2fd3('0xb')][_0x2fd3('0x2e')][_0x2fd3('0x13')](_0x2fd3('0x24'));let _0x44dd40=Array[_0x2fd3('0x7')](this[_0x2fd3('0xb')][_0x2fd3('0xf')][_0x2fd3('0x21')][_0x2fd3('0x2f')]['getSelectedBlocks']())[_0x2fd3('0x12')](_0x88194e);if(!_0x44dd40[_0x2fd3('0x2')])return null;_0x44dd40=_0x4ebc3b[_0x2fd3('0x2d')](_0x44dd40);const _0xf4843a=[];for(const _0x3b307d of _0x44dd40)_0x4ebc3b[_0x2fd3('0x0')](_0x3b307d)&&_0xf4843a[_0x2fd3('0x31')](_0x3b307d);return _0xf4843a;}[_0x2fd3('0x8')](_0x204534){return _0x2fd3('0x1a')+this[_0x2fd3('0xb')][_0x2fd3('0x2e')][_0x2fd3('0x13')]('DocumentListPropertiesUtils')[_0x2fd3('0x5')](_0x204534)['toUpperCase']()+_0x2fd3('0x10')+_0x204534[_0x2fd3('0x2a')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fc3=['markInsertion','fromRange','nextSibling','removeMarker:suggestion:insertion','plugins','bind','setSelection','end','model','data','high','mapper','writer','get','markerNameToElements','getFirstRange','TrackChangesEditing','unbindElementFromMarkerName','document','showSuggestionHighlights','remove','afterExecute','enableCommand','hasClass','init','downcastDispatcher','editing','enter','editor','createRange','selection','fire','parent','enterBlock','addMarker:suggestion:insertion','requires','split','markerName','options','createPositionAt','ck-suggestion-marker-split'];(function(_0x4f3f89,_0x2fc3b3){const _0x1a73eb=function(_0x4302af){while(--_0x4302af){_0x4f3f89['push'](_0x4f3f89['shift']());}};_0x1a73eb(++_0x2fc3b3);}(_0x2fc3,0x1b1));const _0x1a73=function(_0x4f3f89,_0x2fc3b3){_0x4f3f89=_0x4f3f89-0x0;let _0x1a73eb=_0x2fc3[_0x4f3f89];return _0x1a73eb;};import{Plugin as _0x20887a}from'ckeditor5/src/core';import{Enter as _0x15b283}from'ckeditor5/src/enter';import{LiveRange as _0x10ba48}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x33ea26}from'./utils';export default class q extends _0x20887a{static get[_0x1a73('0xc')](){return[_0x15b283];}[_0x1a73('0x1')](){const _0x5449e7=this[_0x1a73('0x5')],_0x3b5a09=_0x5449e7[_0x1a73('0x16')][_0x1a73('0x1f')](_0x1a73('0x22')),_0x2a8377=_0x5449e7['commands'][_0x1a73('0x1f')]('enter');_0x3b5a09[_0x1a73('0x28')](_0x1a73('0x4'),()=>{_0x5449e7[_0x1a73('0x1a')]['change'](_0x269feb=>{const _0x4a15d6=_0x5449e7[_0x1a73('0x1a')][_0x1a73('0x24')][_0x1a73('0x7')],_0x67a36c=_0x4a15d6['getFirstPosition'](),_0x2bccd1=_0x10ba48[_0x1a73('0x13')](_0x4a15d6[_0x1a73('0x21')]());if(_0x2a8377[_0x1a73('0xa')](_0x269feb)){const _0x5c0a34=_0x5449e7[_0x1a73('0x1a')][_0x1a73('0x10')](_0x67a36c[_0x1a73('0x9')][_0x1a73('0x14')],0x0),_0x54cf73=_0x269feb[_0x1a73('0x6')](_0x67a36c,_0x5c0a34);_0x3b5a09[_0x1a73('0x12')](_0x54cf73);}else _0x269feb[_0x1a73('0x18')](_0x269feb[_0x1a73('0x6')](_0x2bccd1[_0x1a73('0x19')]));_0x2bccd1['detach'](),_0x2a8377[_0x1a73('0x8')](_0x1a73('0x27'),{'writer':_0x269feb});});}),_0x5449e7['editing']['downcastDispatcher']['on'](_0x1a73('0xb'),_0x33ea26(_0x5449e7,_0x1a73('0xd')),{'priority':'high'}),_0x5449e7[_0x1a73('0x3')][_0x1a73('0x2')]['on'](_0x1a73('0x15'),(_0x1a6512,_0x254cdc,_0x37a0b2)=>{const _0x468ab0=_0x37a0b2[_0x1a73('0x1d')][_0x1a73('0x20')](_0x254cdc[_0x1a73('0xe')]);if(_0x468ab0)for(const _0x12e1d8 of _0x468ab0)_0x12e1d8[_0x1a73('0x0')](_0x1a73('0x11'))&&(_0x37a0b2[_0x1a73('0x1d')][_0x1a73('0x23')](_0x12e1d8,_0x254cdc[_0x1a73('0xe')]),_0x37a0b2[_0x1a73('0x1e')][_0x1a73('0x26')](_0x12e1d8));},{'priority':'high'}),_0x5449e7[_0x1a73('0x1b')][_0x1a73('0x2')]['on'](_0x1a73('0xb'),(_0x1a9593,_0x69a82,_0x52904d)=>{_0x52904d[_0x1a73('0xf')][_0x1a73('0x25')]&&_0x33ea26(_0x5449e7,'split',{'showActiveMarker':!0x1})[_0x1a73('0x17')](this)(_0x1a9593,_0x69a82,_0x52904d);},{'priority':_0x1a73('0x1c')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x342d=['string','model','_isInDeletionRange','bind','filter','suggestion:deletion','TrackChangesEditing','FindAndReplaceUtils','has','createPositionAt','findPrevious','handleFindCommand','FindAndReplaceEditing','enableCommand','editor','findByTextCallback','replace','getRange','item','find','replaceAll','end','plugins','start','get'];(function(_0x3876a1,_0x342dcf){const _0xd64084=function(_0x3f8786){while(--_0x3f8786){_0x3876a1['push'](_0x3876a1['shift']());}};_0xd64084(++_0x342dcf);}(_0x342d,0x151));const _0xd640=function(_0x3876a1,_0x342dcf){_0x3876a1=_0x3876a1-0x0;let _0xd64084=_0x342d[_0x3876a1];return _0xd64084;};import{Plugin as _0x11886a}from'ckeditor5/src/core';export default class z extends _0x11886a{['afterInit'](){if(!this[_0xd640('0x2')][_0xd640('0xa')][_0xd640('0x15')](_0xd640('0x0')))return;const _0x206dd7=this[_0xd640('0x2')][_0xd640('0xa')][_0xd640('0xc')](_0xd640('0x13'));_0x206dd7[_0xd640('0x1')](_0xd640('0x7'),this[_0xd640('0x18')][_0xd640('0x10')](this)),_0x206dd7[_0xd640('0x1')]('findNext'),_0x206dd7[_0xd640('0x1')](_0xd640('0x17')),_0x206dd7['enableCommand'](_0xd640('0x4')),_0x206dd7[_0xd640('0x1')](_0xd640('0x8'));}[_0xd640('0x18')](_0x515d51,_0x516c32,_0x154442={}){const _0x53261e=this[_0xd640('0x2')][_0xd640('0xa')]['get'](_0xd640('0x14'));void 0x0!==_0x154442&&_0x515d51(_0x3a47a5=>(_0xd640('0xd')==typeof _0x516c32?_0x53261e[_0xd640('0x3')](_0x516c32,_0x154442):_0x516c32)(_0x3a47a5)[_0xd640('0x11')](_0x3dbb05=>!0x1===this[_0xd640('0xf')](_0x3dbb05,_0x3a47a5[_0xd640('0x6')])),_0x154442);}[_0xd640('0xf')](_0x4af054,_0xfcd58a){const _0x1cdb64=this[_0xd640('0x2')][_0xd640('0xe')]['createRange'](this['editor'][_0xd640('0xe')][_0xd640('0x16')](_0xfcd58a,_0x4af054[_0xd640('0xb')]),this[_0xd640('0x2')][_0xd640('0xe')][_0xd640('0x16')](_0xfcd58a,_0x4af054[_0xd640('0x9')]));for(const _0x473ae2 of this[_0xd640('0x2')][_0xd640('0xe')]['markers']['getMarkersGroup'](_0xd640('0x12')))if(null!==_0x1cdb64['getIntersection'](_0x473ae2[_0xd640('0x5')]()))return!0x0;return!0x1;}}
|