@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231130.0 → 0.0.0-nightly-20231201.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/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-20231201.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-20231201.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231201.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x117c=['model','TrackChangesEditing','isEnabled','get','refresh','getRanges','_suggestions','_isEnabledBasedOnSelection','acceptSuggestion','canEditAt','execute','plugins','track-changes-accept-suggestion-not-found','editor'];(function(_0x46dc9d,_0x117c15){const _0x30b1e4=function(_0x5acd69){while(--_0x5acd69){_0x46dc9d['push'](_0x46dc9d['shift']());}};_0x30b1e4(++_0x117c15);}(_0x117c,0x18d));const _0x30b1=function(_0x46dc9d,_0x117c15){_0x46dc9d=_0x46dc9d-0x0;let _0x30b1e4=_0x117c[_0x46dc9d];return _0x30b1e4;};import{Command as _0x1f3685}from'ckeditor5/src/core';import{CKEditorError as _0x4fa446}from'ckeditor5/src/utils';export default class B extends _0x1f3685{constructor(_0x50e3d,_0x178603){super(_0x50e3d),this[_0x30b1('0x1')]=_0x178603,this[_0x30b1('0xd')](),this[_0x30b1('0x2')]=!0x1;}[_0x30b1('0xd')](){this[_0x30b1('0xb')]=!0x0;}[_0x30b1('0x5')](_0x1e5858){const _0x367bc8=this[_0x30b1('0x1')][_0x30b1('0xc')](_0x1e5858);if(!_0x367bc8)throw new _0x4fa446(_0x30b1('0x7'),this);const _0x4c646a=_0x367bc8[_0x30b1('0x0')]();this[_0x30b1('0x8')][_0x30b1('0x9')][_0x30b1('0x4')](_0x4c646a)&&this[_0x30b1('0x8')][_0x30b1('0x6')][_0x30b1('0xc')](_0x30b1('0xa'))[_0x30b1('0x3')](_0x367bc8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c21=['TrackChangesEditing','isEnabled','editor','_suggestions','track-changes-discard-suggestion-not-found','execute','getRanges','model','_isEnabledBasedOnSelection','get','plugins'];(function(_0x54921e,_0x4c212b){const _0x2f2d98=function(_0x10aa3f){while(--_0x10aa3f){_0x54921e['push'](_0x54921e['shift']());}};_0x2f2d98(++_0x4c212b);}(_0x4c21,0x1c7));const _0x2f2d=function(_0x54921e,_0x4c212b){_0x54921e=_0x54921e-0x0;let _0x2f2d98=_0x4c21[_0x54921e];return _0x2f2d98;};import{Command as _0x235857}from'ckeditor5/src/core';import{CKEditorError as _0x41b064}from'ckeditor5/src/utils';export default class x extends _0x235857{constructor(_0x422a80,_0x235a08){super(_0x422a80),this[_0x2f2d('0xa')]=_0x235a08,this['refresh'](),this[_0x2f2d('0x4')]=!0x1;}['refresh'](){this[_0x2f2d('0x8')]=!0x0;}[_0x2f2d('0x1')](_0x273e93){const _0x434387=this['_suggestions'][_0x2f2d('0x5')](_0x273e93);if(!_0x434387)throw new _0x41b064(_0x2f2d('0x0'),this);const _0x44e97e=_0x434387[_0x2f2d('0x2')]();this['editor'][_0x2f2d('0x3')]['canEditAt'](_0x44e97e)&&this[_0x2f2d('0x9')][_0x2f2d('0x6')][_0x2f2d('0x5')](_0x2f2d('0x7'))['discardSuggestion'](_0x434387);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3078=['_suggestions','from','model','editor','getRanges','canEditAt','values','_isEnabledBasedOnSelection','isEnabled','execute','_command'];(function(_0x35cdb8,_0x3078cf){const _0x527100=function(_0x101319){while(--_0x101319){_0x35cdb8['push'](_0x35cdb8['shift']());}};_0x527100(++_0x3078cf);}(_0x3078,0x146));const _0x5271=function(_0x35cdb8,_0x3078cf){_0x35cdb8=_0x35cdb8-0x0;let _0x527100=_0x3078[_0x35cdb8];return _0x527100;};import{Command as _0x2fc47f}from'ckeditor5/src/core';import{sortSuggestions as _0x281c48,executeCommandForSuggestions as _0x286002}from'../utils/utils';export default class E extends _0x2fc47f{constructor(_0xaf13ab,_0x320350,_0x79d4dd){super(_0xaf13ab),this[_0x5271('0x3')]=_0x320350,this[_0x5271('0x4')]=_0x79d4dd,this['refresh'](),this[_0x5271('0x0')]=!0x1;}['refresh'](){const _0x35b872=Array[_0x5271('0x5')](this[_0x5271('0x4')][_0x5271('0xa')]())['some'](_0x12faff=>_0x12faff['isInContent']);this[_0x5271('0x1')]=this['_command'][_0x5271('0x1')]&&_0x35b872;}[_0x5271('0x2')](){const _0x5b260d=_0x281c48(Array['from'](this[_0x5271('0x4')][_0x5271('0xa')]()));for(const _0x1a3c70 of _0x5b260d){const _0x537093=_0x1a3c70[_0x5271('0x8')]();if(!this[_0x5271('0x7')]['model'][_0x5271('0x9')](_0x537093))return;}_0x286002(this['editor'][_0x5271('0x6')],this[_0x5271('0x3')],_0x5b260d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6c76=['size','_selectedSuggestions','_command','document','getRanges','canEditAt','_suggestions','from','execute','selection','isEnabled','values','model','editor','refresh','_isEnabledBasedOnSelection'];(function(_0x836e58,_0x6c7629){const _0x10d133=function(_0x16a67a){while(--_0x16a67a){_0x836e58['push'](_0x836e58['shift']());}};_0x10d133(++_0x6c7629);}(_0x6c76,0x86));const _0x10d1=function(_0x836e58,_0x6c7629){_0x836e58=_0x836e58-0x0;let _0x10d133=_0x6c76[_0x836e58];return _0x10d133;};import{Command as _0x36eab3}from'ckeditor5/src/core';import{sortSuggestions as _0xad7f58,getSelectedSuggestions as _0x1052f1,executeCommandForSuggestions as _0x328dc6}from'../utils/utils';export default class R extends _0x36eab3{constructor(_0x2c6a78,_0x2d6b98,_0x15e963){super(_0x2c6a78),this['_command']=_0x2d6b98,this[_0x10d1('0x0')]=_0x15e963,this['_selectedSuggestions']=new Set(),this[_0x10d1('0x8')](),this[_0x10d1('0x9')]=!0x1;}['refresh'](){const _0x349f71=this[_0x10d1('0x7')][_0x10d1('0x6')][_0x10d1('0xd')][_0x10d1('0x3')],_0x3a3362=Array[_0x10d1('0x1')](this[_0x10d1('0x0')][_0x10d1('0x5')]());this[_0x10d1('0xb')]=_0x1052f1(_0x349f71,_0x3a3362),this[_0x10d1('0x4')]=this[_0x10d1('0xc')][_0x10d1('0x4')]&&!!this[_0x10d1('0xb')][_0x10d1('0xa')];}[_0x10d1('0x2')](){const _0x5f0c0d=_0xad7f58(Array[_0x10d1('0x1')](this[_0x10d1('0xb')]));for(const _0x3f2b4b of _0x5f0c0d){const _0x4aea72=_0x3f2b4b[_0x10d1('0xe')]();if(!this[_0x10d1('0x7')][_0x10d1('0x6')][_0x10d1('0xf')](_0x4aea72))return;}_0x328dc6(this['editor'][_0x10d1('0x6')],this[_0x10d1('0xc')],_0x5f0c0d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a97=['affectsData','_disableUnsupportedCommands','forceDisabled','isEnabled','commands','_enableCommands','_enabledCommands','value','clearForceDisabled','execute','refresh','TrackChangesCommand','_isEnabledBasedOnSelection','editor'];(function(_0x164fac,_0x4a9756){const _0x2cad7c=function(_0x219be2){while(--_0x219be2){_0x164fac['push'](_0x164fac['shift']());}};_0x2cad7c(++_0x4a9756);}(_0x4a97,0xc1));const _0x2cad=function(_0x164fac,_0x4a9756){_0x164fac=_0x164fac-0x0;let _0x2cad7c=_0x4a97[_0x164fac];return _0x2cad7c;};import{Command as _0x593201}from'ckeditor5/src/core';export default class $ extends _0x593201{constructor(_0x2ebe7c,_0x42f9f6){super(_0x2ebe7c),this['_enabledCommands']=_0x42f9f6,this[_0x2cad('0xa')]=!0x1,this[_0x2cad('0xd')](),this[_0x2cad('0x1')]=!0x1;}[_0x2cad('0xd')](){this[_0x2cad('0x6')]=!0x0;}[_0x2cad('0xc')](){this['value']=!this['value'],this['value']?this['_disableUnsupportedCommands']():this[_0x2cad('0x8')]();}[_0x2cad('0x4')](){for(const _0x33c995 of this['editor'][_0x2cad('0x7')][_0x2cad('0x7')]())_0x33c995[_0x2cad('0x3')]&&!this[_0x2cad('0x9')]['has'](_0x33c995)&&_0x33c995[_0x2cad('0x5')](_0x2cad('0x0'));}['_enableCommands'](){for(const _0x551d07 of this[_0x2cad('0x2')][_0x2cad('0x7')][_0x2cad('0x7')]())_0x551d07['affectsData']&&!this[_0x2cad('0x9')]['has'](_0x551d07)&&_0x551d07[_0x2cad('0xb')](_0x2cad('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53ec=['afterInit','commands','get','enableCommand','TrackChangesEditing','showAIAssistant','plugins'];(function(_0x485dd3,_0x53ec45){const _0x45e03a=function(_0x4ef16c){while(--_0x4ef16c){_0x485dd3['push'](_0x485dd3['shift']());}};_0x45e03a(++_0x53ec45);}(_0x53ec,0x194));const _0x45e0=function(_0x485dd3,_0x53ec45){_0x485dd3=_0x485dd3-0x0;let _0x45e03a=_0x53ec[_0x485dd3];return _0x45e03a;};import{Plugin as _0x171236}from'ckeditor5/src/core';export default class j extends _0x171236{[_0x45e0('0x2')](){const _0x2cc7c3=this['editor'],_0x3e20e6=_0x2cc7c3[_0x45e0('0x1')][_0x45e0('0x4')](_0x45e0('0x6'));_0x2cc7c3[_0x45e0('0x3')][_0x45e0('0x4')](_0x45e0('0x0'))&&_0x3e20e6[_0x45e0('0x5')](_0x45e0('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd88d=['left','get','TrackChangesEditing','locale','type','FORMAT_ALIGN_TO_CENTER','FORMAT_ALIGNMENT','AlignmentEditing','right','registerAttributeLabel','FORMAT_ALIGN_TO_LEFT','registerDescriptionCallback','*Format:*\x20%0','FORMAT_JUSTIFY_TEXT','commandName','formatBlock','_descriptionFactory','value','editor','alignment','FORMAT_ALIGN_TO_RIGHT','commandParams','format','plugins','_enableDefaultAttributesIntegration'];(function(_0x5771c2,_0xd88d90){const _0xe054da=function(_0x35b2d3){while(--_0x35b2d3){_0x5771c2['push'](_0x5771c2['shift']());}};_0xe054da(++_0xd88d90);}(_0xd88d,0x1d3));const _0xe054=function(_0x5771c2,_0xd88d90){_0x5771c2=_0x5771c2-0x0;let _0xe054da=_0xd88d[_0x5771c2];return _0xe054da;};import{Plugin as _0x26a8ea}from'ckeditor5/src/core';import{getTranslation as _0x45d5e4}from'../utils/common-translations';export default class U extends _0x26a8ea{['afterInit'](){const _0x36445e=this[_0xe054('0x1')],_0x74c194=_0x36445e[_0xe054('0xb')];if(!_0x36445e[_0xe054('0x6')]['has'](_0xe054('0xf')))return;const _0x507afa=_0x36445e[_0xe054('0x6')][_0xe054('0x9')](_0xe054('0xa'));_0x507afa[_0xe054('0x7')]('alignment',[],['alignment']),_0x507afa[_0xe054('0x18')][_0xe054('0x11')](_0xe054('0x2'),_0x45d5e4(_0x74c194,_0xe054('0xe'))),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3a0d66=this[_0xe054('0x1')],_0x1498df=_0x3a0d66[_0xe054('0xb')];_0x3a0d66[_0xe054('0x6')][_0xe054('0x9')](_0xe054('0xa'))[_0xe054('0x18')][_0xe054('0x13')](_0x1f3193=>{if(_0xe054('0x17')!=_0x1f3193[_0xe054('0xc')])return;const {data:_0x51adf5}=_0x1f3193;if(_0x51adf5&&_0xe054('0x2')==_0x51adf5[_0xe054('0x16')]){const _0x4c882f=_0x51adf5[_0xe054('0x4')][0x0][_0xe054('0x0')];return{'type':_0xe054('0x5'),'content':_0x45d5e4(_0x1498df,_0xe054('0x14'),function(_0x299c2f){switch(_0x299c2f){case _0xe054('0x8'):return _0x45d5e4(_0x1498df,_0xe054('0x12'));case _0xe054('0x10'):return _0x45d5e4(_0x1498df,_0xe054('0x3'));case'center':return _0x45d5e4(_0x1498df,_0xe054('0xd'));case'justify':return _0x45d5e4(_0x1498df,_0xe054('0x15'));}}(_0x4c882f))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1660=['_registerLegacyDescription','locale','FORMAT_SUBSCRIPT','afterInit','bold','subscript','plugins','CodeEditing','FORMAT_BOLD','FORMAT_UNDERLINE','slice','italic','_enableDefaultAttributesIntegration','registerDescriptionCallback','BoldEditing','strikethrough','commandName','TrackChangesEditing','editor','SubscriptEditing','*Format:*\x20%0','FORMAT_SUPERSCRIPT','FORMAT_CODE','FORMAT_','underline','ItalicEditing','StrikethroughEditing','toUpperCase'];(function(_0x1e8d93,_0x166043){const _0x161568=function(_0x14b691){while(--_0x14b691){_0x1e8d93['push'](_0x1e8d93['shift']());}};_0x161568(++_0x166043);}(_0x1660,0xe4));const _0x1615=function(_0x1e8d93,_0x166043){_0x1e8d93=_0x1e8d93-0x0;let _0x161568=_0x1660[_0x1e8d93];return _0x161568;};import{Plugin as _0x589185}from'ckeditor5/src/core';import{getTranslation as _0x4d987b}from'../utils/common-translations';const ti=[_0x1615('0xa'),_0x1615('0x15'),'UnderlineEditing',_0x1615('0x3'),_0x1615('0x16'),_0x1615('0xf'),'SuperscriptEditing'];export default class O extends _0x589185{[_0x1615('0x1b')](){const _0x1c25a0=this['editor'],_0x23f7b0=_0x1c25a0['plugins']['get'](_0x1615('0xd')),_0x2d70e9=_0x1c25a0[_0x1615('0x19')];for(const _0x4c6dfb of ti){if(!_0x1c25a0[_0x1615('0x2')]['has'](_0x4c6dfb))continue;const _0x55dbc5=_0x4c6dfb[_0x1615('0x6')](0x0,-0x7)['toLowerCase'](),_0x452595=_0x1615('0x13')+_0x55dbc5[_0x1615('0x17')]();_0x23f7b0[_0x1615('0x8')](_0x55dbc5,[_0x55dbc5]),_0x23f7b0['_descriptionFactory']['registerAttributeLabel'](_0x55dbc5,_0x4d987b(_0x2d70e9,_0x452595));}this['_registerLegacyDescription']();}[_0x1615('0x18')](){const _0x14c049=this[_0x1615('0xe')],_0x5d8e76=_0x14c049[_0x1615('0x19')],_0x5d8c28=_0x14c049['plugins']['get'](_0x1615('0xd'));function _0x1985e8(_0x2f7571,_0x140f01){_0x5d8c28['_descriptionFactory'][_0x1615('0x9')](_0x3c6893=>{if('formatInline'!=_0x3c6893['type'])return;const {data:_0x353eb4}=_0x3c6893;return _0x353eb4&&_0x353eb4[_0x1615('0xc')]===_0x2f7571?_0x353eb4['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x4d987b(_0x5d8e76,_0x1615('0x10'),_0x140f01)}:{'type':'format','content':_0x4d987b(_0x5d8e76,'*Remove\x20format:*\x20%0',_0x140f01)}:void 0x0;});}_0x1985e8(_0x1615('0x0'),_0x4d987b(_0x5d8e76,_0x1615('0x4'))),_0x1985e8(_0x1615('0x7'),_0x4d987b(_0x5d8e76,'FORMAT_ITALIC')),_0x1985e8(_0x1615('0x14'),_0x4d987b(_0x5d8e76,_0x1615('0x5'))),_0x1985e8('code',_0x4d987b(_0x5d8e76,_0x1615('0x12'))),_0x1985e8(_0x1615('0xb'),_0x4d987b(_0x5d8e76,'FORMAT_STRIKETHROUGH')),_0x1985e8(_0x1615('0x1'),_0x4d987b(_0x5d8e76,_0x1615('0x1a'))),_0x1985e8('superscript',_0x4d987b(_0x5d8e76,_0x1615('0x11')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x169f=['commandName','parent','model','editor','getSelectedBlocks','has','_descriptionFactory','format','markBlockFormat','checkChild','enableCommand','$root','*Remove\x20format:*\x20%0','selection','name','registerDescriptionCallback','BlockQuoteEditing','schema','from','plugins','change','blockQuote','get','forceValue','value','TrackChangesEditing','ELEMENT_BLOCK_QUOTE','*Set\x20format:*\x20%0','afterInit','commandParams','document','commands'];(function(_0x3dd08c,_0x169f27){const _0x60f99d=function(_0x14ac28){while(--_0x14ac28){_0x3dd08c['push'](_0x3dd08c['shift']());}};_0x60f99d(++_0x169f27);}(_0x169f,0x167));const _0x60f9=function(_0x3dd08c,_0x169f27){_0x3dd08c=_0x3dd08c-0x0;let _0x60f99d=_0x169f[_0x3dd08c];return _0x60f99d;};import{Plugin as _0x139705}from'ckeditor5/src/core';import{getTranslation as _0x208458}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5a1fff}from'../utils/utils';export default class V extends _0x139705{[_0x60f9('0x15')](){const _0x437252=this['editor'],_0x265030=_0x437252['locale'];if(!_0x437252[_0x60f9('0xc')][_0x60f9('0x1e')](_0x60f9('0x9')))return;const _0x26c16c=_0x437252['plugins']['get'](_0x60f9('0x12')),_0x4d17e2=this['editor'][_0x60f9('0x18')][_0x60f9('0xf')]('blockQuote');_0x26c16c[_0x60f9('0x3')](_0x60f9('0xe'),(_0x3154c1,_0xa24241={})=>{const _0x121d3d=this[_0x60f9('0x1c')][_0x60f9('0x1b')][_0x60f9('0x17')][_0x60f9('0x6')],_0x80eb5b=_0xa24241&&void 0x0!==_0xa24241[_0x60f9('0x10')]?_0xa24241[_0x60f9('0x10')]:!_0x4d17e2[_0x60f9('0x11')];let _0x2b217a=[];if(_0x80eb5b){const _0x52adc4=Array[_0x60f9('0xb')](_0x121d3d[_0x60f9('0x1d')]())['filter'](_0x25b0a2=>oo(_0x25b0a2)||function(_0x3abcc7,_0x3e493a){const _0x428242=_0x3e493a[_0x60f9('0x2')](_0x3abcc7['parent'],'blockQuote'),_0x2a1f13=_0x3e493a[_0x60f9('0x2')]([_0x60f9('0x4'),_0x60f9('0xe')],_0x3abcc7);return _0x428242&&_0x2a1f13;}(_0x25b0a2,this[_0x60f9('0x1c')][_0x60f9('0x1b')][_0x60f9('0xa')]));_0x2b217a=_0x5a1fff(_0x52adc4,_0x437252[_0x60f9('0x1b')]);}else{const _0x33c239=Array[_0x60f9('0xb')](_0x121d3d[_0x60f9('0x1d')]())['filter'](_0x4cfa55=>oo(_0x4cfa55));_0x2b217a=_0x5a1fff(_0x33c239,_0x437252[_0x60f9('0x1b')]);}_0x437252['model'][_0x60f9('0xd')](()=>{for(const _0x17b794 of _0x2b217a)_0x26c16c[_0x60f9('0x1')](_0x17b794,{'commandName':_0x60f9('0xe'),'commandParams':[{'forceValue':_0x80eb5b}]});});}),_0x26c16c[_0x60f9('0x1f')][_0x60f9('0x8')](_0x54797c=>{const {data:_0x1db1b6}=_0x54797c;if(_0x1db1b6&&_0x60f9('0xe')==_0x1db1b6[_0x60f9('0x19')]){const _0x5f1e39=_0x208458(_0x265030,_0x60f9('0x13'));return _0x1db1b6[_0x60f9('0x16')][0x0][_0x60f9('0x10')]?{'type':_0x60f9('0x0'),'content':_0x208458(_0x265030,_0x60f9('0x14'),_0x5f1e39)}:{'type':_0x60f9('0x0'),'content':_0x208458(_0x265030,_0x60f9('0x5'),_0x5f1e39)};}});}}function oo(_0x3f9c5b){return _0x60f9('0xe')==_0x3f9c5b[_0x60f9('0x1a')][_0x60f9('0x7')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x321b=['afterInit','get','TrackChangesEditing','commands','enableCommand','editor','ckbox'];(function(_0x2670f0,_0x321b63){const _0x70bf7e=function(_0x3df70f){while(--_0x3df70f){_0x2670f0['push'](_0x2670f0['shift']());}};_0x70bf7e(++_0x321b63);}(_0x321b,0x105));const _0x70bf=function(_0x2670f0,_0x321b63){_0x2670f0=_0x2670f0-0x0;let _0x70bf7e=_0x321b[_0x2670f0];return _0x70bf7e;};import{Plugin as _0x29ad8a}from'ckeditor5/src/core';export default class G extends _0x29ad8a{[_0x70bf('0x5')](){const _0x4d35f1=this[_0x70bf('0x3')];_0x4d35f1[_0x70bf('0x1')]['get']('ckbox')&&_0x4d35f1['plugins'][_0x70bf('0x6')](_0x70bf('0x0'))[_0x70bf('0x2')](_0x70bf('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bad=['codeBlock','editor','getSelectedBlocks','config','commands','rootElement','get','model','languages','document','selection','indentCodeBlock','filter','CodeBlock','ELEMENT_CODE_BLOCK','afterInit','blockName','type','markBlockFormat','language','enableCommand','find','forceValue','TrackChangesEditing','isLimit','_descriptionFactory','label','checkChild','change','parent','name','plugins','format','commandParams','*Remove\x20format:*\x20%0','toLowerCase','*Set\x20format:*\x20%0','commandName'];(function(_0x14f401,_0x4bad65){const _0x34bbcb=function(_0x373955){while(--_0x373955){_0x14f401['push'](_0x14f401['shift']());}};_0x34bbcb(++_0x4bad65);}(_0x4bad,0xbc));const _0x34bb=function(_0x14f401,_0x4bad65){_0x14f401=_0x14f401-0x0;let _0x34bbcb=_0x4bad[_0x14f401];return _0x34bbcb;};import{Plugin as _0x617421}from'ckeditor5/src/core';import{getTranslation as _0x59409c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4bc1e6}from'../utils/utils';export default class F extends _0x617421{[_0x34bb('0x11')](){const _0x44a809=this[_0x34bb('0x3')];if(!_0x44a809[_0x34bb('0x21')]['has'](_0x34bb('0xf')))return;const _0x183bc5=_0x44a809[_0x34bb('0x21')][_0x34bb('0x8')](_0x34bb('0x19')),_0x310e44=_0x44a809['locale'],_0x9800f2=_0x44a809[_0x34bb('0x5')][_0x34bb('0x8')](_0x34bb('0x2'))[_0x34bb('0xa')],_0x564139=_0x44a809[_0x34bb('0x6')][_0x34bb('0x8')](_0x34bb('0x2'));_0x183bc5[_0x34bb('0x16')](_0x34bb('0xd')),_0x183bc5[_0x34bb('0x16')]('outdentCodeBlock'),_0x183bc5['enableCommand']('codeBlock',(_0x2aa535,_0x59fd5f={})=>{const _0x52c8c8=_0x44a809[_0x34bb('0x9')],_0x4ff32b=_0x44a809['model'][_0x34bb('0xb')][_0x34bb('0xc')],_0x44b9aa=_0x59fd5f&&void 0x0!==_0x59fd5f[_0x34bb('0x18')]?_0x59fd5f['forceValue']:!_0x564139['value'];let _0x24a506;_0x59fd5f['language']||(_0x59fd5f[_0x34bb('0x15')]=_0x9800f2[0x0]['language']),_0x24a506=_0x44b9aa?Array['from'](_0x4ff32b[_0x34bb('0x4')]())[_0x34bb('0xe')](_0x509d97=>eo(_0x509d97)||function(_0x475eaf,_0x1184a2){if(_0x475eaf['is'](_0x34bb('0x7'))||_0x1184a2[_0x34bb('0x1a')](_0x475eaf))return!0x1;return _0x1184a2[_0x34bb('0x1d')](_0x475eaf[_0x34bb('0x1f')],_0x34bb('0x2'));}(_0x509d97,_0x52c8c8['schema'])):Array['from'](_0x4ff32b[_0x34bb('0x4')]())['filter'](_0xacf576=>eo(_0xacf576));const _0x1d56a5=_0x4bc1e6(_0x24a506,_0x52c8c8);_0x52c8c8[_0x34bb('0x1e')](()=>{for(const _0x2b64d2 of _0x1d56a5)_0x183bc5[_0x34bb('0x14')](_0x2b64d2,{'commandName':_0x34bb('0x2'),'commandParams':[{..._0x59fd5f,'forceValue':_0x44b9aa}],'formatGroupId':_0x34bb('0x12')});});}),(_0x183bc5['_descriptionFactory']['registerElementLabel'](_0x34bb('0x2'),_0x434c93=>_0x59409c(_0x310e44,_0x34bb('0x10'),_0x434c93)),_0x183bc5[_0x34bb('0x1b')]['registerDescriptionCallback'](_0x41e9c2=>{if('formatBlock'!=_0x41e9c2[_0x34bb('0x13')])return;const _0x4e8728=_0x310e44['t'],{data:_0x2b7bf6}=_0x41e9c2;if(!_0x2b7bf6||_0x34bb('0x2')!=_0x2b7bf6[_0x34bb('0x1')])return;const _0x5c8bdf=_0x2b7bf6[_0x34bb('0x23')][0x0][_0x34bb('0x15')],_0x33ec4b=_0x4e8728(_0x9800f2[_0x34bb('0x17')](_0x10f8c3=>_0x10f8c3[_0x34bb('0x15')]===_0x5c8bdf)[_0x34bb('0x1c')])[_0x34bb('0x25')]();return _0x2b7bf6[_0x34bb('0x23')][0x0][_0x34bb('0x18')]?{'type':_0x34bb('0x22'),'content':_0x59409c(_0x310e44,_0x34bb('0x0'),_0x59409c(_0x310e44,_0x34bb('0x10'),0x1)+'\x20('+_0x33ec4b+')')}:{'type':_0x34bb('0x22'),'content':_0x59409c(_0x310e44,_0x34bb('0x24'),_0x59409c(_0x310e44,_0x34bb('0x10'),0x1))};}));}}function eo(_0x28bb8a){return _0x34bb('0x2')==_0x28bb8a[_0x34bb('0x20')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c6f=['has','editor','TrackChangesEditing','get','CommentsEditing','enableCommand'];(function(_0x122de7,_0x2c6f71){const _0x17e44b=function(_0x5504dc){while(--_0x5504dc){_0x122de7['push'](_0x122de7['shift']());}};_0x17e44b(++_0x2c6f71);}(_0x2c6f,0xb0));const _0x17e4=function(_0x122de7,_0x2c6f71){_0x122de7=_0x122de7-0x0;let _0x17e44b=_0x2c6f[_0x122de7];return _0x17e44b;};import{Plugin as _0x1e9de1}from'ckeditor5/src/core';export default class L extends _0x1e9de1{['afterInit'](){const _0x2e026d=this[_0x17e4('0x5')];if(!_0x2e026d['plugins'][_0x17e4('0x4')](_0x17e4('0x2')))return;_0x2e026d['plugins'][_0x17e4('0x1')](_0x17e4('0x0'))[_0x17e4('0x3')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52da=['isCollapsed','model','unit','delete','buffer','unlock','document','deleteForward','enqueueChange','unbindElementFromMarkerName','createRange','markerName','merge','removeMarker:suggestion:deletion','$graveyard','rootName','detach','requires','editor','selection','uiElement','mapper','options','getFirstRange','end','setSelection','get','start','forward','enableCommand','fromRange','lock','editing','commands','downcastDispatcher','showSuggestionHighlights','plugins','markerNameToElements','data','high','remove','root','addMarker:suggestion:deletion'];(function(_0x583bac,_0x52dabd){const _0x3baf28=function(_0x3ac86c){while(--_0x3ac86c){_0x583bac['push'](_0x583bac['shift']());}};_0x3baf28(++_0x52dabd);}(_0x52da,0x1d6));const _0x3baf=function(_0x583bac,_0x52dabd){_0x583bac=_0x583bac-0x0;let _0x3baf28=_0x52da[_0x583bac];return _0x3baf28;};import{Plugin as _0x3343c8}from'ckeditor5/src/core';import{LiveRange as _0x202802}from'ckeditor5/src/engine';import{Delete as _0x30c456}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x5b5536}from'./utils';export default class H extends _0x3343c8{static get[_0x3baf('0x14')](){return[_0x30c456];}['init'](){const _0x1cf3cd=this[_0x3baf('0x15')],_0x2133a1=_0x1cf3cd[_0x3baf('0x27')][_0x3baf('0x1d')]('TrackChangesEditing');_0x2133a1[_0x3baf('0x20')](_0x3baf('0x6'));const _0x56a1d0=_0x1cf3cd[_0x3baf('0x24')][_0x3baf('0x1d')](_0x3baf('0xa'));_0x2133a1[_0x3baf('0x20')](_0x3baf('0xa'),(_0x463e5e,_0x55f51b={})=>{const _0x44aeb1=_0x1cf3cd[_0x3baf('0x4')]['createSelection'](_0x1cf3cd['model'][_0x3baf('0x9')][_0x3baf('0x16')]);_0x44aeb1[_0x3baf('0x3')]&&_0x1cf3cd['model']['modifySelection'](_0x44aeb1,{'direction':_0x3baf('0x1f'),'unit':_0x55f51b[_0x3baf('0x5')]});const _0x4fc5a1=_0x44aeb1[_0x3baf('0x1a')](),_0x3172ee=_0x202802[_0x3baf('0x21')](_0x4fc5a1);let _0x145c72;_0x463e5e(_0x55f51b),_0x145c72=_0x3baf('0x11')==_0x3172ee[_0x3baf('0x1')][_0x3baf('0x12')]?_0x1cf3cd[_0x3baf('0x4')]['createRange'](_0x4fc5a1[_0x3baf('0x1e')]):_0x1cf3cd[_0x3baf('0x4')][_0x3baf('0xd')](_0x3172ee[_0x3baf('0x1e')],_0x3172ee['end']),_0x3172ee[_0x3baf('0x13')](),_0x1cf3cd[_0x3baf('0x4')][_0x3baf('0xb')](_0x56a1d0[_0x3baf('0x7')]['batch'],_0x5c6917=>{_0x56a1d0[_0x3baf('0x7')][_0x3baf('0x22')](),_0x5c6917[_0x3baf('0x1c')](_0x5c6917['createRange'](_0x145c72[_0x3baf('0x1b')])),_0x56a1d0[_0x3baf('0x7')][_0x3baf('0x8')]();});}),_0x1cf3cd['editing']['downcastDispatcher']['on'](_0x3baf('0x2'),_0x5b5536(_0x1cf3cd,_0x3baf('0xf')),{'priority':_0x3baf('0x2a')}),_0x1cf3cd[_0x3baf('0x29')]['downcastDispatcher']['on'](_0x3baf('0x2'),(_0x55e9e7,_0x2b3fcd,_0x71083a)=>{_0x71083a[_0x3baf('0x19')][_0x3baf('0x26')]&&_0x5b5536(_0x1cf3cd,_0x3baf('0xf'),{'showActiveMarker':!0x1})['bind'](this)(_0x55e9e7,_0x2b3fcd,_0x71083a);},{'priority':'high'}),_0x1cf3cd[_0x3baf('0x23')][_0x3baf('0x25')]['on'](_0x3baf('0x10'),(_0x1ddcd0,_0x10b944,_0x2a437d)=>{const _0x4831dc=_0x2a437d[_0x3baf('0x18')][_0x3baf('0x28')](_0x10b944[_0x3baf('0xe')]);if(_0x4831dc)for(const _0x4064ba of _0x4831dc)_0x4064ba['is'](_0x3baf('0x17'))&&(_0x2a437d[_0x3baf('0x18')][_0x3baf('0xc')](_0x4064ba,_0x10b944[_0x3baf('0xe')]),_0x2a437d['writer'][_0x3baf('0x0')](_0x4064ba));},{'priority':_0x3baf('0x2a')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5adc=['map','fromRange','plugins','value','TrackChangesEditing','execute','hasAttribute','getRanges','documentList','mergeListItemBackward','ELEMENT_LIST_ITEM','listIndent','slice','toUpperCase','setSelection','DocumentListUtils','registerElementLabel','ELEMENT_','format','enableCommand','model','createPositionAt','commandName','nodeAfter','detach','isObject','formatInline','push','isFirstBlockOfListItem','type','add','listType','numberedList','getAttribute','listItemId','*Merge:*\x20%0','start','containsItem','*Change\x20to:*\x20%0','_suggestionFactory','splitListItemBefore','paragraph','getFirstRange','bulletedList','*Outdent:*\x20%0','*Indent:*\x20%0','before','formatBlock','createRange','*Format:*\x20insert\x20into\x20%0','expandListBlocksToCompleteList','accept','commands','previousSibling','get','afterInit','indentList','commandParams','next','*Format:*\x20remove\x20from\x20%0','list.multiBlock','after','document','schema','markBlockFormat','from','getSelectedBlocks','length','change','nextSibling','outdentList','refresh','selection','_LIST','registerCustomCallback','DocumentListEditing','splitListItemAfter','end','_descriptionFactory'];(function(_0x5bcfb5,_0x5adc6c){const _0x1030d2=function(_0x1cc45b){while(--_0x1cc45b){_0x5bcfb5['push'](_0x5bcfb5['shift']());}};_0x1030d2(++_0x5adc6c);}(_0x5adc,0x1e6));const _0x1030=function(_0x5bcfb5,_0x5adc6c){_0x5bcfb5=_0x5bcfb5-0x0;let _0x1030d2=_0x5adc[_0x5bcfb5];return _0x1030d2;};import{Plugin as _0x429648}from'ckeditor5/src/core';import{getTranslation as _0x44136c}from'../utils/common-translations';import{LiveRange as _0x38f38a}from'ckeditor5/src/engine';export default class q extends _0x429648{[_0x1030('0x2b')](){const _0x346082=this['editor'];if(!_0x346082['plugins']['has'](_0x1030('0x3f')))return;const _0x39b45a=_0x346082['locale'],_0x51100e=_0x346082[_0x1030('0x45')]['get'](_0x1030('0x47')),_0x33199c=_0x346082[_0x1030('0x45')][_0x1030('0x2a')](_0x1030('0x3'));function _0x11c0f5(_0x4765f1){return()=>{const _0x4e55a0=_0x346082[_0x1030('0x28')][_0x1030('0x2a')](_0x4765f1);if(_0x4e55a0[_0x1030('0x46')]&&!_0x346082['config']['get'](_0x1030('0x30')))return void _0x346082[_0x1030('0x48')](_0x1030('0x1d'),{});let _0x15ecc3=Array[_0x1030('0x35')](_0x346082[_0x1030('0x8')]['document'][_0x1030('0x3c')]['getSelectedBlocks']());if(_0x30ea1f(_0x4765f1)){_0x15ecc3=_0x33199c[_0x1030('0x26')](_0x15ecc3);const _0x3efb7e=[];for(const _0x3ded6d of _0x15ecc3)_0x33199c[_0x1030('0x10')](_0x3ded6d)&&_0x3efb7e['push'](_0x3ded6d);_0x15ecc3=_0x3efb7e;}_0x346082[_0x1030('0x8')][_0x1030('0x38')](()=>{_0x51100e['markMultiRangeBlockFormat'](_0x15ecc3,{'commandName':_0x4765f1,'commandParams':[{'forceValue':!_0x4e55a0[_0x1030('0x46')]}],'formatGroupId':'listType'},[],_0x1030('0x4b'));});};}function _0x3fead2(_0x438390){return()=>{const _0x1aecf5=function(_0x2b4677){let _0x45791e=Array[_0x1030('0x35')](_0x2b4677);const _0x185974=_0x45791e['findIndex'](_0x1b05ee=>!_0x1b05ee[_0x1030('0x49')](_0x1030('0x16')));return _0x185974>-0x1&&(_0x45791e=_0x45791e[_0x1030('0x0')](0x0,_0x185974)),_0x45791e;}(_0x346082[_0x1030('0x8')][_0x1030('0x32')][_0x1030('0x3c')]['getSelectedBlocks']()),_0x253352=_0x1aecf5[_0x1aecf5[_0x1030('0x37')]-0x1],_0x45e1f1=_0x346082['model'][_0x1030('0x33')][_0x1030('0xd')](_0x253352)?_0x1030('0x31'):_0x1030('0x41'),_0x3dd6fe=_0x346082[_0x1030('0x8')][_0x1030('0x24')](_0x346082[_0x1030('0x8')][_0x1030('0x9')](_0x1aecf5[0x0],_0x1030('0x22')),_0x346082[_0x1030('0x8')]['createPositionAt'](_0x253352,_0x45e1f1));_0x346082[_0x1030('0x8')][_0x1030('0x38')](()=>{_0x51100e[_0x1030('0x34')](_0x3dd6fe,{'commandName':_0x438390,'commandParams':[],'formatGroupId':_0x1030('0x13')},function(_0x1d7808){const _0x195223=new Set();for(const _0x57af02 of _0x1d7808){let _0x3122da=_0x57af02[_0x1030('0x39')];for(;_0x3122da&&_0x3122da[_0x1030('0x15')]('listIndent')>_0x57af02[_0x1030('0x15')](_0x1030('0x4e'));)_0x195223[_0x1030('0x12')](_0x3122da),_0x3122da=_0x3122da['nextSibling'];}return Array['from'](_0x195223);}(_0x1aecf5));});};}function _0x139280(_0x312ba0){return()=>{const _0x1b13a2=_0x346082[_0x1030('0x8')][_0x1030('0x32')]['selection'][_0x1030('0x36')]()[_0x1030('0x2e')]()[_0x1030('0x46')],_0xeece35=_0x346082['model'][_0x1030('0x9')](_0x1b13a2,_0x1030('0x22')),_0x46785c=_0x346082[_0x1030('0x8')][_0x1030('0x9')](_0x1b13a2,0x0),_0x196f6b=_0x346082['model'][_0x1030('0x24')](_0xeece35,_0x46785c);_0x346082[_0x1030('0x8')][_0x1030('0x38')](()=>{_0x51100e[_0x1030('0x34')](_0x196f6b,{'commandName':_0x312ba0,'commandParams':[],'formatGroupId':_0x1030('0x13')});});};}function _0x30ea1f(_0x50df22){const _0x190434=_0x346082[_0x1030('0x28')]['get'](_0x1030('0x1f'))['value'],_0x14abdb=_0x346082[_0x1030('0x28')][_0x1030('0x2a')](_0x1030('0x14'))['value'];return _0x1030('0x14')===_0x50df22?_0x190434:_0x14abdb;}_0x51100e[_0x1030('0x7')]('numberedList',_0x11c0f5('numberedList')),_0x51100e[_0x1030('0x7')](_0x1030('0x1f'),_0x11c0f5(_0x1030('0x1f'))),_0x51100e[_0x1030('0x7')](_0x1030('0x2c'),_0x3fead2('indentList')),_0x51100e[_0x1030('0x7')](_0x1030('0x3a'),_0x3fead2(_0x1030('0x3a'))),_0x51100e[_0x1030('0x7')]('splitListItemAfter',_0x139280(_0x1030('0x40'))),_0x51100e[_0x1030('0x7')](_0x1030('0x1c'),_0x139280(_0x1030('0x1c'))),_0x51100e[_0x1030('0x42')][_0x1030('0x4')](function(_0x49ff65){const _0xf78c93=!_0x346082[_0x1030('0x8')]['schema'][_0x1030('0xd')](_0x49ff65),_0x1e5a18=_0x49ff65[_0x1030('0x29')],_0x77846=_0x49ff65['nextSibling'],_0x2ad60f=_0x49ff65[_0x1030('0x15')]('listItemId'),_0x34d3c0=!_0x1e5a18||_0x1e5a18[_0x1030('0x15')]('listItemId')!==_0x2ad60f,_0x2ce9e1=!_0x77846||_0x77846['getAttribute'](_0x1030('0x16'))!==_0x2ad60f;return _0xf78c93&&Boolean(_0x2ad60f)&&_0x34d3c0&&_0x2ce9e1;},_0x47e760=>_0x44136c(_0x39b45a,_0x1030('0x4d'),_0x47e760)),_0x51100e['_descriptionFactory']['registerDescriptionCallback'](function(_0x223f50){if(_0x1030('0x23')!=_0x223f50[_0x1030('0x11')]&&_0x1030('0xe')!=_0x223f50[_0x1030('0x11')])return;const {data:_0x21e10f}=_0x223f50;if(!_0x21e10f)return;let _0x1a11fe,_0x1cae7c,_0x455f14,_0x64248a;switch(_0x21e10f['commandName']){case _0x1030('0x1f'):_0x455f14=_0x21e10f['commandParams'][0x0]['forceValue'],_0x64248a=_0x30ea1f(_0x21e10f[_0x1030('0xa')]),_0x1a11fe=_0x455f14?_0x1030('0x25'):'*Format:*\x20remove\x20from\x20%0',!_0x64248a&&_0x346082['config'][_0x1030('0x2a')](_0x1030('0x30'))||(_0x1a11fe=_0x1030('0x1a')),_0x1cae7c={'type':'format','content':_0x44136c(_0x39b45a,_0x1a11fe,_0x44136c(_0x39b45a,'ELEMENT_BULLETED_LIST'))};break;case _0x1030('0x14'):_0x455f14=_0x21e10f[_0x1030('0x2d')][0x0]['forceValue'],_0x64248a=_0x30ea1f(_0x21e10f[_0x1030('0xa')]),_0x1a11fe=_0x455f14?_0x1030('0x25'):_0x1030('0x2f'),!_0x64248a&&_0x346082['config'][_0x1030('0x2a')](_0x1030('0x30'))||(_0x1a11fe=_0x1030('0x1a')),_0x1cae7c={'type':_0x1030('0x6'),'content':_0x44136c(_0x39b45a,_0x1a11fe,_0x44136c(_0x39b45a,'ELEMENT_NUMBERED_LIST'))};break;case _0x1030('0x2c'):_0x1a11fe=_0x1030('0x21'),_0x1cae7c={'type':_0x1030('0x6'),'content':_0x44136c(_0x39b45a,_0x1a11fe,_0x44136c(_0x39b45a,_0x1030('0x4d')))};break;case'outdentList':_0x1a11fe=function(_0x16f792){const _0x4d68da=_0x16f792[_0x1030('0x1e')]();let _0x37e2f5=_0x4d68da[_0x1030('0x18')][_0x1030('0xb')];for(;_0x37e2f5&&_0x4d68da[_0x1030('0x19')](_0x37e2f5);){if(_0x37e2f5[_0x1030('0x15')](_0x1030('0x4e'))>0x0)return!0x1;_0x37e2f5=_0x37e2f5[_0x1030('0x39')];}return!0x0;}(_0x223f50)?_0x44136c(_0x39b45a,_0x1030('0x2f'),_0x44136c(_0x39b45a,function(_0x5a237b){const _0x5efeef=_0x5a237b[_0x1030('0x1e')]()['start']['nodeAfter'];return _0x1030('0x5')+_0x5efeef[_0x1030('0x15')](_0x1030('0x13'))[_0x1030('0x1')]()+_0x1030('0x3d');}(_0x223f50))):_0x44136c(_0x39b45a,_0x1030('0x20'),_0x44136c(_0x39b45a,_0x1030('0x4d'))),_0x1cae7c={'type':_0x1030('0x6'),'content':_0x1a11fe};break;case _0x1030('0x4c'):case'mergeListItemForward':!0x1===_0x21e10f['multipleBlocks']&&(_0x1a11fe=_0x1030('0x17'),_0x1cae7c={'type':'deletion','content':_0x44136c(_0x39b45a,_0x1a11fe,_0x44136c(_0x39b45a,_0x1030('0x4d')))});}return _0x1cae7c;}),_0x51100e[_0x1030('0x1b')][_0x1030('0x3e')](_0x1030('0x23'),_0x1030('0x4b'),_0x1030('0x27'),function(_0x290465,_0x577ff4){const _0x267713=[];for(let _0x365e06 of _0x290465)_0x365e06[_0x1030('0x18')]['nodeAfter']===_0x365e06[_0x1030('0x41')]['parent']&&(_0x365e06=_0x346082['model'][_0x1030('0x24')](_0x346082[_0x1030('0x8')][_0x1030('0x9')](_0x365e06[_0x1030('0x18')][_0x1030('0xb')],0x0))),_0x267713[_0x1030('0xf')](_0x365e06);_0x346082[_0x1030('0x8')][_0x1030('0x38')](_0x1d3736=>{const _0x385b00=_0x346082['model'][_0x1030('0x32')][_0x1030('0x3c')],_0x57af0f=Array[_0x1030('0x35')](_0x385b00[_0x1030('0x4a')]())[_0x1030('0x43')](_0x526f10=>_0x38f38a[_0x1030('0x44')](_0x526f10));_0x1d3736[_0x1030('0x2')](_0x267713),_0x346082[_0x1030('0x28')]['get'](_0x577ff4[_0x1030('0xa')])[_0x1030('0x3b')](),_0x577ff4[_0x1030('0x2d')][_0x1030('0xf')]({'forceDefaultExecution':!0x0}),_0x346082[_0x1030('0x48')](_0x577ff4['commandName'],..._0x577ff4[_0x1030('0x2d')]),_0x1d3736[_0x1030('0x2')](_0x57af0f);for(const _0x77a8cf of _0x57af0f)_0x77a8cf[_0x1030('0xc')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x484a=['listReversed','commandName','handleDescriptions','TrackChangesEditing','has','startIndex','toUpperCase','commandParams','afterInit','from','isListItemBlock','isFirstBlockOfListItem','ELEMENT_','replace','listStart','format','styles','listType','getAttribute','*Format:*\x20set\x20order\x20to\x20reversed','handleListStyleCommand','_getSuggestionBlocksForListStyle','selection','_LIST_','list.properties','handleListStartCommand','DocumentListUtils','editor','formatBlock','markMultiRangeBlockFormat','length','model','registerDescriptionCallback','expandListBlocksToCompleteList','*Format:*\x20set\x20order\x20to\x20regular','document','type','DocumentListPropertiesUtils','_getTranslationKeyForListStyle','push','handleListReversedCommand','bind','*Change\x20to:*\x20%0','getSelectedBlocks','change','_getSuggestionBlocks','formatInline','DocumentListPropertiesEditing','numbered','enableCommand','config','get','locale','plugins'];(function(_0x3cc3d6,_0x484a5a){const _0x10ada9=function(_0x11faa2){while(--_0x11faa2){_0x3cc3d6['push'](_0x3cc3d6['shift']());}};_0x10ada9(++_0x484a5a);}(_0x484a,0x163));const _0x10ad=function(_0x3cc3d6,_0x484a5a){_0x3cc3d6=_0x3cc3d6-0x0;let _0x10ada9=_0x484a[_0x3cc3d6];return _0x10ada9;};import{Plugin as _0x47a643}from'ckeditor5/src/core';import{getTranslation as _0x1b3ca1}from'../utils/common-translations';export default class z extends _0x47a643{[_0x10ad('0x1f')](){if(!this[_0x10ad('0x32')][_0x10ad('0x16')][_0x10ad('0x1b')](_0x10ad('0x10')))return;const _0x4e988e=this[_0x10ad('0x32')][_0x10ad('0x13')][_0x10ad('0x14')](_0x10ad('0x2f')),_0x551aa2=this['editor'][_0x10ad('0x16')]['get'](_0x10ad('0x1a'));_0x4e988e[_0x10ad('0x27')]&&_0x551aa2[_0x10ad('0x12')]('listStyle',this[_0x10ad('0x2b')]['bind'](this)),_0x4e988e['reversed']&&_0x551aa2[_0x10ad('0x12')](_0x10ad('0x17'),this['handleListReversedCommand'][_0x10ad('0xa')](this)),_0x4e988e[_0x10ad('0x1c')]&&_0x551aa2[_0x10ad('0x12')](_0x10ad('0x25'),this[_0x10ad('0x30')]['bind'](this)),_0x551aa2['_descriptionFactory'][_0x10ad('0x1')](this[_0x10ad('0x19')]['bind'](this));}[_0x10ad('0x2b')](_0x5ca20d,_0x52cb95={}){const _0x484652=this[_0x10ad('0x32')][_0x10ad('0x16')][_0x10ad('0x14')](_0x10ad('0x1a')),_0x1b7fbd=this[_0x10ad('0x2c')]();this[_0x10ad('0x32')][_0x10ad('0x0')][_0x10ad('0xd')](()=>{_0x484652[_0x10ad('0x34')](_0x1b7fbd,{'commandName':'listStyle','commandParams':[{'type':_0x52cb95[_0x10ad('0x5')]}],'formatGroupId':'listStyle'});});}[_0x10ad('0x9')](_0x91bdbd,_0x3fd02d={}){const _0xdbc784=this[_0x10ad('0x32')]['plugins']['get'](_0x10ad('0x1a')),_0x304514=this[_0x10ad('0x32')][_0x10ad('0x16')][_0x10ad('0x14')](_0x10ad('0x31')),_0x9fc52d=this[_0x10ad('0xe')](_0x22f596=>_0x304514[_0x10ad('0x21')](_0x22f596)&&_0x10ad('0x11')===_0x22f596[_0x10ad('0x29')]('listType'));null!==_0x9fc52d&&this[_0x10ad('0x32')][_0x10ad('0x0')]['change'](()=>{_0xdbc784['markMultiRangeBlockFormat'](_0x9fc52d,{'commandName':_0x10ad('0x17'),'commandParams':[{'reversed':_0x3fd02d['reversed']}],'formatGroupId':_0x10ad('0x17')});});}['handleListStartCommand'](_0x4c2519,_0x2b0828={}){const _0x33fa93=this[_0x10ad('0x32')][_0x10ad('0x16')][_0x10ad('0x14')](_0x10ad('0x1a')),_0x442c09=this[_0x10ad('0x32')][_0x10ad('0x16')][_0x10ad('0x14')](_0x10ad('0x31')),_0x1c3d53=this['_getSuggestionBlocks'](_0x4b81b9=>_0x442c09[_0x10ad('0x21')](_0x4b81b9)&&_0x10ad('0x11')===_0x4b81b9['getAttribute'](_0x10ad('0x28')));null!==_0x1c3d53&&this['editor']['model'][_0x10ad('0xd')](()=>{_0x33fa93[_0x10ad('0x34')](_0x1c3d53,{'commandName':_0x10ad('0x25'),'commandParams':[{'startIndex':_0x2b0828[_0x10ad('0x1c')]}],'formatGroupId':_0x10ad('0x25')});});}[_0x10ad('0x19')](_0x11eac7){if(_0x10ad('0x33')!=_0x11eac7[_0x10ad('0x5')]&&_0x10ad('0xf')!=_0x11eac7[_0x10ad('0x5')])return;const _0x31640b=this[_0x10ad('0x32')][_0x10ad('0x15')],{data:_0x179442}=_0x11eac7;if(!_0x179442)return;let _0x59296e,_0x4041e2;switch(_0x179442[_0x10ad('0x18')]){case'listStyle':_0x59296e=_0x10ad('0xb'),_0x4041e2={'type':_0x10ad('0x26'),'content':_0x1b3ca1(_0x31640b,_0x59296e,_0x1b3ca1(_0x31640b,this[_0x10ad('0x7')](_0x179442[_0x10ad('0x1e')][0x0][_0x10ad('0x5')])))};break;case _0x10ad('0x17'):_0x59296e=_0x179442[_0x10ad('0x1e')][0x0]['reversed']?_0x10ad('0x2a'):_0x10ad('0x3'),_0x4041e2={'type':_0x10ad('0x26'),'content':_0x1b3ca1(_0x31640b,_0x59296e)};break;case'listStart':_0x59296e='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4041e2={'type':_0x10ad('0x26'),'content':_0x1b3ca1(_0x31640b,_0x59296e,_0x179442[_0x10ad('0x1e')][0x0]['startIndex'])};}return _0x4041e2;}[_0x10ad('0x2c')](){const _0x132645=this[_0x10ad('0x32')][_0x10ad('0x16')][_0x10ad('0x14')](_0x10ad('0x31'));let _0x1fdcf1=Array[_0x10ad('0x20')](this[_0x10ad('0x32')]['model'][_0x10ad('0x4')][_0x10ad('0x2d')][_0x10ad('0xc')]());return _0x1fdcf1[_0x10ad('0x8')](..._0x132645['expandListBlocksToCompleteList'](_0x1fdcf1)),_0x1fdcf1=[...new Set(_0x1fdcf1)],_0x1fdcf1;}[_0x10ad('0xe')](_0x237a55){const _0x5734e8=this[_0x10ad('0x32')]['plugins'][_0x10ad('0x14')](_0x10ad('0x31'));let _0x7a1892=Array[_0x10ad('0x20')](this['editor'][_0x10ad('0x0')][_0x10ad('0x4')][_0x10ad('0x2d')][_0x10ad('0xc')]())['filter'](_0x237a55);if(!_0x7a1892[_0x10ad('0x35')])return null;_0x7a1892=_0x5734e8[_0x10ad('0x2')](_0x7a1892);const _0x3a95ea=[];for(const _0x500830 of _0x7a1892)_0x5734e8[_0x10ad('0x22')](_0x500830)&&_0x3a95ea[_0x10ad('0x8')](_0x500830);return _0x3a95ea;}['_getTranslationKeyForListStyle'](_0x4d6231){return _0x10ad('0x23')+this[_0x10ad('0x32')][_0x10ad('0x16')]['get'](_0x10ad('0x6'))['getListTypeFromListStyleType'](_0x4d6231)[_0x10ad('0x1d')]()+_0x10ad('0x2e')+_0x4d6231[_0x10ad('0x1d')]()[_0x10ad('0x24')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc969=['model','afterExecute','downcastDispatcher','fromRange','enableCommand','options','addMarker:suggestion:insertion','markerName','enterBlock','remove','markInsertion','document','createRange','createPositionAt','data','getFirstPosition','writer','end','init','commands','TrackChangesEditing','selection','get','enter','editing','detach','getFirstRange','change','requires','bind','fire','mapper','markerNameToElements','high','split','hasClass','ck-suggestion-marker-split'];(function(_0x515ff5,_0xc96988){const _0x329bad=function(_0x3153f0){while(--_0x3153f0){_0x515ff5['push'](_0x515ff5['shift']());}};_0x329bad(++_0xc96988);}(_0xc969,0x1ba));const _0x329b=function(_0x515ff5,_0xc96988){_0x515ff5=_0x515ff5-0x0;let _0x329bad=_0xc969[_0x515ff5];return _0x329bad;};import{Plugin as _0x37efcc}from'ckeditor5/src/core';import{Enter as _0x235dbd}from'ckeditor5/src/enter';import{LiveRange as _0x477995}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x21c016}from'./utils';export default class W extends _0x37efcc{static get[_0x329b('0x1e')](){return[_0x235dbd];}[_0x329b('0x14')](){const _0x24291f=this['editor'],_0x4f7cd3=_0x24291f['plugins'][_0x329b('0x18')](_0x329b('0x16')),_0x4bdb31=_0x24291f[_0x329b('0x15')][_0x329b('0x18')](_0x329b('0x19'));_0x4f7cd3[_0x329b('0x6')]('enter',()=>{_0x24291f[_0x329b('0x2')][_0x329b('0x1d')](_0x522483=>{const _0x34f202=_0x24291f[_0x329b('0x2')][_0x329b('0xd')][_0x329b('0x17')],_0x5aee3d=_0x34f202[_0x329b('0x11')](),_0x4d0a59=_0x477995[_0x329b('0x5')](_0x34f202[_0x329b('0x1c')]());if(_0x4bdb31[_0x329b('0xa')](_0x522483)){const _0x158356=_0x24291f[_0x329b('0x2')][_0x329b('0xf')](_0x5aee3d['parent']['nextSibling'],0x0),_0x3a0a37=_0x522483[_0x329b('0xe')](_0x5aee3d,_0x158356);_0x4f7cd3[_0x329b('0xc')](_0x3a0a37);}else _0x522483['setSelection'](_0x522483[_0x329b('0xe')](_0x4d0a59[_0x329b('0x13')]));_0x4d0a59[_0x329b('0x1b')](),_0x4bdb31[_0x329b('0x20')](_0x329b('0x3'),{'writer':_0x522483});});}),_0x24291f[_0x329b('0x1a')]['downcastDispatcher']['on'](_0x329b('0x8'),_0x21c016(_0x24291f,'split'),{'priority':_0x329b('0x23')}),_0x24291f['editing'][_0x329b('0x4')]['on']('removeMarker:suggestion:insertion',(_0x540a3b,_0x362734,_0xd78716)=>{const _0x1bb089=_0xd78716[_0x329b('0x21')][_0x329b('0x22')](_0x362734[_0x329b('0x9')]);if(_0x1bb089)for(const _0x14c8dd of _0x1bb089)_0x14c8dd[_0x329b('0x0')](_0x329b('0x1'))&&(_0xd78716[_0x329b('0x21')]['unbindElementFromMarkerName'](_0x14c8dd,_0x362734[_0x329b('0x9')]),_0xd78716[_0x329b('0x12')][_0x329b('0xb')](_0x14c8dd));},{'priority':_0x329b('0x23')}),_0x24291f[_0x329b('0x10')][_0x329b('0x4')]['on'](_0x329b('0x8'),(_0x45a303,_0x3990fa,_0x48ef9e)=>{_0x48ef9e[_0x329b('0x7')]['showSuggestionHighlights']&&_0x21c016(_0x24291f,_0x329b('0x24'),{'showActiveMarker':!0x1})[_0x329b('0x1f')](this)(_0x45a303,_0x3990fa,_0x48ef9e);},{'priority':_0x329b('0x23')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbb03=['plugins','end','getIntersection','_isInDeletionRange','get','item','afterInit','findPrevious','has','editor','createPositionAt','getRange','FindAndReplaceEditing','getMarkersGroup','model','findNext','enableCommand','start','replaceAll','TrackChangesEditing','markers','handleFindCommand','find','createRange','suggestion:deletion','string','filter','bind'];(function(_0x5b3b93,_0xbb0300){const _0x175015=function(_0x32917f){while(--_0x32917f){_0x5b3b93['push'](_0x5b3b93['shift']());}};_0x175015(++_0xbb0300);}(_0xbb03,0x1e3));const _0x1750=function(_0x5b3b93,_0xbb0300){_0x5b3b93=_0x5b3b93-0x0;let _0x175015=_0xbb03[_0x5b3b93];return _0x175015;};import{Plugin as _0x2f8a56}from'ckeditor5/src/core';export default class J extends _0x2f8a56{[_0x1750('0x1b')](){if(!this[_0x1750('0x2')][_0x1750('0x15')][_0x1750('0x1')](_0x1750('0x5')))return;const _0x2d40cb=this[_0x1750('0x2')][_0x1750('0x15')][_0x1750('0x19')](_0x1750('0xc'));_0x2d40cb[_0x1750('0x9')](_0x1750('0xf'),this[_0x1750('0xe')][_0x1750('0x14')](this)),_0x2d40cb[_0x1750('0x9')](_0x1750('0x8')),_0x2d40cb[_0x1750('0x9')](_0x1750('0x0')),_0x2d40cb['enableCommand']('replace'),_0x2d40cb['enableCommand'](_0x1750('0xb'));}[_0x1750('0xe')](_0x286d4b,_0x2791b2,_0x18d178={}){const _0x58e8f4=this[_0x1750('0x2')][_0x1750('0x15')][_0x1750('0x19')]('FindAndReplaceUtils');return _0x286d4b(_0x22d66a=>(_0x1750('0x12')==typeof _0x2791b2?_0x58e8f4['findByTextCallback'](_0x2791b2,_0x18d178):_0x2791b2)(_0x22d66a)[_0x1750('0x13')](_0x28bbd5=>!0x1===this[_0x1750('0x18')](_0x28bbd5,_0x22d66a[_0x1750('0x1a')])),_0x18d178);}['_isInDeletionRange'](_0x139f42,_0x3e841a){const _0x196597=this[_0x1750('0x2')][_0x1750('0x7')][_0x1750('0x10')](this[_0x1750('0x2')][_0x1750('0x7')][_0x1750('0x3')](_0x3e841a,_0x139f42[_0x1750('0xa')]),this[_0x1750('0x2')][_0x1750('0x7')][_0x1750('0x3')](_0x3e841a,_0x139f42[_0x1750('0x16')]));for(const _0x31bef7 of this[_0x1750('0x2')][_0x1750('0x7')][_0x1750('0xd')][_0x1750('0x6')](_0x1750('0x11')))if(null!==_0x196597[_0x1750('0x17')](_0x31bef7[_0x1750('0x4')]()))return!0x0;return!0x1;}}
|