@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230828.0 → 0.0.0-nightly-20230830.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +29 -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-20230830.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-20230830.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230830.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 _0x46c0=['track-changes-accept-suggestion-not-found','isEnabled','refresh','editor','_suggestions','getRanges','acceptSuggestion','canEditAt','get','execute','plugins'];(function(_0x581d66,_0x46c0de){const _0x128e51=function(_0x217df4){while(--_0x217df4){_0x581d66['push'](_0x581d66['shift']());}};_0x128e51(++_0x46c0de);}(_0x46c0,0x7b));const _0x128e=function(_0x581d66,_0x46c0de){_0x581d66=_0x581d66-0x0;let _0x128e51=_0x46c0[_0x581d66];return _0x128e51;};import{Command as _0x4fc17c}from'ckeditor5/src/core';import{CKEditorError as _0x296a86}from'ckeditor5/src/utils';export default class M extends _0x4fc17c{constructor(_0x3ff585,_0x2f8536){super(_0x3ff585),this['_suggestions']=_0x2f8536,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x128e('0x0')](){this[_0x128e('0xa')]=!0x0;}[_0x128e('0x7')](_0x54f1b1){const _0x557386=this[_0x128e('0x2')]['get'](_0x54f1b1);if(!_0x557386)throw new _0x296a86(_0x128e('0x9'),this);const _0x3a20d0=_0x557386[_0x128e('0x3')]();this[_0x128e('0x1')]['model'][_0x128e('0x5')](_0x3a20d0)&&this['editor'][_0x128e('0x8')][_0x128e('0x6')]('TrackChangesEditing')[_0x128e('0x4')](_0x557386);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14f9=['track-changes-discard-suggestion-not-found','plugins','get','discardSuggestion','refresh','_isEnabledBasedOnSelection','model','canEditAt','isEnabled','execute','_suggestions'];(function(_0xb15eda,_0x14f9b9){const _0x771739=function(_0x397a29){while(--_0x397a29){_0xb15eda['push'](_0xb15eda['shift']());}};_0x771739(++_0x14f9b9);}(_0x14f9,0x92));const _0x7717=function(_0xb15eda,_0x14f9b9){_0xb15eda=_0xb15eda-0x0;let _0x771739=_0x14f9[_0xb15eda];return _0x771739;};import{Command as _0x2f84d2}from'ckeditor5/src/core';import{CKEditorError as _0x5c8faa}from'ckeditor5/src/utils';export default class $ extends _0x2f84d2{constructor(_0x2939c8,_0x3e9fe2){super(_0x2939c8),this['_suggestions']=_0x3e9fe2,this[_0x7717('0x1')](),this[_0x7717('0x2')]=!0x1;}[_0x7717('0x1')](){this[_0x7717('0x5')]=!0x0;}[_0x7717('0x6')](_0x1c389b){const _0x5f4f2c=this[_0x7717('0x7')][_0x7717('0xa')](_0x1c389b);if(!_0x5f4f2c)throw new _0x5c8faa(_0x7717('0x8'),this);const _0x341b6f=_0x5f4f2c['getRanges']();this['editor'][_0x7717('0x3')][_0x7717('0x4')](_0x341b6f)&&this['editor'][_0x7717('0x9')][_0x7717('0xa')]('TrackChangesEditing')[_0x7717('0x0')](_0x5f4f2c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x354c=['getRanges','model','_isEnabledBasedOnSelection','canEditAt','refresh','isInContent','values','some','editor','_command','isEnabled','from','_suggestions'];(function(_0x197835,_0x354c75){const _0x3b3964=function(_0x2298e6){while(--_0x2298e6){_0x197835['push'](_0x197835['shift']());}};_0x3b3964(++_0x354c75);}(_0x354c,0xcf));const _0x3b39=function(_0x197835,_0x354c75){_0x197835=_0x197835-0x0;let _0x3b3964=_0x354c[_0x197835];return _0x3b3964;};import{Command as _0x1f4796}from'ckeditor5/src/core';import{sortSuggestions as _0x560916,executeCommandForSuggestions as _0x51bd9f}from'../utils/utils';export default class N extends _0x1f4796{constructor(_0x3c866c,_0x7c92b0,_0x3afe26){super(_0x3c866c),this[_0x3b39('0xa')]=_0x7c92b0,this[_0x3b39('0x0')]=_0x3afe26,this[_0x3b39('0x5')](),this[_0x3b39('0x3')]=!0x1;}[_0x3b39('0x5')](){const _0x26841c=Array['from'](this[_0x3b39('0x0')][_0x3b39('0x7')]())[_0x3b39('0x8')](_0x12ddda=>_0x12ddda[_0x3b39('0x6')]);this[_0x3b39('0xb')]=this[_0x3b39('0xa')][_0x3b39('0xb')]&&_0x26841c;}['execute'](){const _0x3fc13d=_0x560916(Array[_0x3b39('0xc')](this['_suggestions']['values']()));for(const _0x24fbc2 of _0x3fc13d){const _0x534321=_0x24fbc2[_0x3b39('0x1')]();if(!this['editor'][_0x3b39('0x2')][_0x3b39('0x4')](_0x534321))return;}_0x51bd9f(this[_0x3b39('0x9')][_0x3b39('0x2')],this['_command'],_0x3fc13d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30d9=['size','_command','_suggestions','getRanges','model','editor','selection','values','from','refresh','isEnabled','canEditAt','_selectedSuggestions','_isEnabledBasedOnSelection'];(function(_0x52a79f,_0x30d90d){const _0x3b86c4=function(_0x53098a){while(--_0x53098a){_0x52a79f['push'](_0x52a79f['shift']());}};_0x3b86c4(++_0x30d90d);}(_0x30d9,0x79));const _0x3b86=function(_0x52a79f,_0x30d90d){_0x52a79f=_0x52a79f-0x0;let _0x3b86c4=_0x30d9[_0x52a79f];return _0x3b86c4;};import{Command as _0x466457}from'ckeditor5/src/core';import{sortSuggestions as _0x1ed225,getSelectedSuggestions as _0x313b05,executeCommandForSuggestions as _0x27f325}from'../utils/utils';export default class R extends _0x466457{constructor(_0x3784ca,_0x591fd5,_0x2c59c6){super(_0x3784ca),this[_0x3b86('0x6')]=_0x591fd5,this['_suggestions']=_0x2c59c6,this[_0x3b86('0x3')]=new Set(),this[_0x3b86('0x0')](),this[_0x3b86('0x4')]=!0x1;}[_0x3b86('0x0')](){const _0x19699f=this[_0x3b86('0xa')][_0x3b86('0x9')]['document'][_0x3b86('0xb')],_0x5a8f34=Array[_0x3b86('0xd')](this[_0x3b86('0x7')][_0x3b86('0xc')]());this[_0x3b86('0x3')]=_0x313b05(_0x19699f,_0x5a8f34),this[_0x3b86('0x1')]=this[_0x3b86('0x6')][_0x3b86('0x1')]&&!!this[_0x3b86('0x3')][_0x3b86('0x5')];}['execute'](){const _0x2841aa=_0x1ed225(Array[_0x3b86('0xd')](this[_0x3b86('0x3')]));for(const _0x81e24d of _0x2841aa){const _0x11ba83=_0x81e24d[_0x3b86('0x8')]();if(!this['editor'][_0x3b86('0x9')][_0x3b86('0x2')](_0x11ba83))return;}_0x27f325(this[_0x3b86('0xa')][_0x3b86('0x9')],this[_0x3b86('0x6')],_0x2841aa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34f8=['_enableCommands','isEnabled','_isEnabledBasedOnSelection','_enabledCommands','_disableUnsupportedCommands','value','has','affectsData','editor','execute','clearForceDisabled','commands','TrackChangesCommand','forceDisabled','refresh'];(function(_0x5ca4ec,_0x34f82c){const _0x26b312=function(_0x1b6552){while(--_0x1b6552){_0x5ca4ec['push'](_0x5ca4ec['shift']());}};_0x26b312(++_0x34f82c);}(_0x34f8,0x1e9));const _0x26b3=function(_0x5ca4ec,_0x34f82c){_0x5ca4ec=_0x5ca4ec-0x0;let _0x26b312=_0x34f8[_0x5ca4ec];return _0x26b312;};import{Command as _0x127e81}from'ckeditor5/src/core';export default class _ extends _0x127e81{constructor(_0x30e00e,_0x2985dc){super(_0x30e00e),this[_0x26b3('0x9')]=_0x2985dc,this['value']=!0x1,this[_0x26b3('0x5')](),this[_0x26b3('0x8')]=!0x1;}[_0x26b3('0x5')](){this[_0x26b3('0x7')]=!0x0;}[_0x26b3('0x0')](){this[_0x26b3('0xb')]=!this[_0x26b3('0xb')],this['value']?this[_0x26b3('0xa')]():this[_0x26b3('0x6')]();}[_0x26b3('0xa')](){for(const _0x4a7731 of this[_0x26b3('0xe')][_0x26b3('0x2')][_0x26b3('0x2')]())_0x4a7731['affectsData']&&!this['_enabledCommands']['has'](_0x4a7731)&&_0x4a7731[_0x26b3('0x4')](_0x26b3('0x3'));}[_0x26b3('0x6')](){for(const _0x40d407 of this[_0x26b3('0xe')][_0x26b3('0x2')]['commands']())_0x40d407[_0x26b3('0xd')]&&!this[_0x26b3('0x9')][_0x26b3('0xc')](_0x40d407)&&_0x40d407[_0x26b3('0x1')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41aa=['get','registerDescriptionCallback','right','checkAttribute','value','left','selection','editor','FORMAT_JUSTIFY_TEXT','getAttribute','commandName','model','contentLanguageDirection','justify','filter','FORMAT_ALIGN_TO_LEFT','locale','has','FORMAT_ALIGN_TO_RIGHT','from','markBlockFormat','getSelectedBlocks','center','_descriptionFactory','alignment','enableCommand','schema','document','commandParams'];(function(_0xc11b8f,_0x41aa67){const _0x310f04=function(_0xd103da){while(--_0xd103da){_0xc11b8f['push'](_0xc11b8f['shift']());}};_0x310f04(++_0x41aa67);}(_0x41aa,0x96));const _0x310f=function(_0xc11b8f,_0x41aa67){_0xc11b8f=_0xc11b8f-0x0;let _0x310f04=_0x41aa[_0xc11b8f];return _0x310f04;};import{Plugin as _0x3f190a}from'ckeditor5/src/core';import{getTranslation as _0x1b88e4}from'../utils/common-translations';export default class j extends _0x3f190a{['afterInit'](){const _0x18e560=this['editor'],_0x50e8e9=_0x18e560[_0x310f('0xb')];if(!_0x18e560['plugins'][_0x310f('0xc')]('AlignmentEditing'))return;const _0x5a50db=_0x18e560['plugins'][_0x310f('0x18')]('TrackChangesEditing');_0x5a50db[_0x310f('0x14')](_0x310f('0x13'),(_0x1ee7a0,_0x51fe99={})=>{let _0x5edb56=_0x51fe99[_0x310f('0x1c')];_0x51fe99[_0x310f('0x1c')]||(_0x5edb56='ltr'===_0x18e560[_0x310f('0xb')][_0x310f('0x7')]?_0x310f('0x0'):_0x310f('0x1a'));const _0x3f20e9=Array[_0x310f('0xe')](this[_0x310f('0x2')]['model'][_0x310f('0x16')][_0x310f('0x1')][_0x310f('0x10')]())[_0x310f('0x9')](_0x515372=>function(_0x5ada23,_0xf57b70,_0x1fcd6e){const _0x19b97b=_0x5ada23[_0x310f('0x4')](_0x310f('0x13'))||null;return _0xf57b70[_0x310f('0x1b')](_0x5ada23,_0x310f('0x13'))&&_0x1fcd6e!=_0x19b97b;}(_0x515372,this[_0x310f('0x2')][_0x310f('0x6')][_0x310f('0x15')],_0x5edb56));_0x18e560['model']['change'](()=>{for(const _0x1818cf of _0x3f20e9)_0x5a50db[_0x310f('0xf')](_0x1818cf,{'commandName':'alignment','commandParams':[{'value':_0x5edb56}]});});}),_0x5a50db[_0x310f('0x12')][_0x310f('0x19')](_0x3a2d3b=>{const {data:_0x269835}=_0x3a2d3b;if(_0x269835&&_0x310f('0x13')==_0x269835[_0x310f('0x5')]){const _0x10ad90=_0x269835[_0x310f('0x17')][0x0]['value'];return{'type':'format','content':_0x1b88e4(_0x50e8e9,'*Format:*\x20%0',function(_0x2b8132){switch(_0x2b8132){case'left':return _0x1b88e4(_0x50e8e9,_0x310f('0xa'));case'right':return _0x1b88e4(_0x50e8e9,_0x310f('0xd'));case _0x310f('0x11'):return _0x1b88e4(_0x50e8e9,'FORMAT_ALIGN_TO_CENTER');case _0x310f('0x8'):return _0x1b88e4(_0x50e8e9,_0x310f('0x3'));}}(_0x10ad90))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27e7=['slice','*Remove\x20format:*\x20%0','FORMAT_STRIKETHROUGH','CodeEditing','superscript','commandParams','change','get','FORMAT_ITALIC','plugins','getRanges','subscript','bold','from','underline','*Format:*\x20%0','selection','value','FORMAT_SUBSCRIPT','italic','commands','BoldEditing','forceValue','FORMAT_CODE','SuperscriptEditing','format','toLowerCase','enableCommand','_descriptionFactory','FORMAT_SUPERSCRIPT','registerDescriptionCallback','ItalicEditing','locale','TrackChangesEditing','afterInit','isCollapsed','commandName','has','editor','markInlineFormat'];(function(_0x23c586,_0x27e709){const _0x3fa104=function(_0x464c0c){while(--_0x464c0c){_0x23c586['push'](_0x23c586['shift']());}};_0x3fa104(++_0x27e709);}(_0x27e7,0xfa));const _0x3fa1=function(_0x23c586,_0x27e709){_0x23c586=_0x23c586-0x0;let _0x3fa104=_0x27e7[_0x23c586];return _0x3fa104;};import{Plugin as _0x5a5dd2}from'ckeditor5/src/core';import{getTranslation as _0x13ede9}from'../utils/common-translations';import{getRangesWithAttribute as _0x1111ab}from'./utils';const Yt=[_0x3fa1('0xb'),_0x3fa1('0x15'),'UnderlineEditing',_0x3fa1('0x21'),'StrikethroughEditing','SubscriptEditing',_0x3fa1('0xe')];export default class x extends _0x5a5dd2{[_0x3fa1('0x18')](){const _0x4cc7f3=this[_0x3fa1('0x1c')],_0x3c5601=_0x4cc7f3['model'],_0x48764e=_0x4cc7f3[_0x3fa1('0x27')][_0x3fa1('0x25')](_0x3fa1('0x17')),_0x27fe1f=_0x4cc7f3[_0x3fa1('0x16')];for(const _0x992666 of Yt){if(!_0x4cc7f3[_0x3fa1('0x27')][_0x3fa1('0x1b')](_0x992666))continue;const _0x4d70c3=_0x992666[_0x3fa1('0x1e')](0x0,-0x7)[_0x3fa1('0x10')](),_0xc47d1c=_0x4cc7f3[_0x3fa1('0xa')][_0x3fa1('0x25')](_0x4d70c3);_0x48764e[_0x3fa1('0x11')](_0x4d70c3,(_0x2ae29e,_0x20aeea={})=>{const _0x2b4bc9=_0x3c5601['document'][_0x3fa1('0x6')];if(_0x2b4bc9[_0x3fa1('0x19')])return void _0x2ae29e(_0x20aeea);const _0x431bcd=void 0x0!==_0x20aeea[_0x3fa1('0xc')]?_0x20aeea['forceValue']:!_0xc47d1c[_0x3fa1('0x7')];_0x3c5601[_0x3fa1('0x24')](()=>{const _0x21584c=Array[_0x3fa1('0x3')](_0x2b4bc9[_0x3fa1('0x0')]());for(const _0x34d004 of _0x21584c){const _0x143e6c=_0x431bcd?[_0x34d004]:_0x1111ab(_0x4d70c3,_0x34d004,_0x3c5601);for(const _0x38fae4 of _0x143e6c)_0x48764e[_0x3fa1('0x1d')](_0x38fae4,{'commandName':_0x4d70c3,'commandParams':[{'forceValue':_0x431bcd}]});}});});}function _0x13e468(_0x57596a,_0xcd14cc){_0x48764e[_0x3fa1('0x12')][_0x3fa1('0x14')](_0x66226=>{const {data:_0x5324b3}=_0x66226;if(_0x5324b3&&_0x5324b3[_0x3fa1('0x1a')]===_0x57596a)return _0x5324b3[_0x3fa1('0x23')][0x0][_0x3fa1('0xc')]?{'type':_0x3fa1('0xf'),'content':_0x13ede9(_0x27fe1f,_0x3fa1('0x5'),_0xcd14cc)}:{'type':'format','content':_0x13ede9(_0x27fe1f,_0x3fa1('0x1f'),_0xcd14cc)};});}_0x13e468(_0x3fa1('0x2'),_0x13ede9(_0x27fe1f,'FORMAT_BOLD')),_0x13e468(_0x3fa1('0x9'),_0x13ede9(_0x27fe1f,_0x3fa1('0x26'))),_0x13e468(_0x3fa1('0x4'),_0x13ede9(_0x27fe1f,'FORMAT_UNDERLINE')),_0x13e468('code',_0x13ede9(_0x27fe1f,_0x3fa1('0xd'))),_0x13e468('strikethrough',_0x13ede9(_0x27fe1f,_0x3fa1('0x20'))),_0x13e468(_0x3fa1('0x1'),_0x13ede9(_0x27fe1f,_0x3fa1('0x8'))),_0x13e468(_0x3fa1('0x22'),_0x13ede9(_0x27fe1f,_0x3fa1('0x13')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3392=['ELEMENT_BLOCK_QUOTE','afterInit','get','forceValue','parent','markBlockFormat','document','selection','model','format','commands','enableCommand','filter','commandName','editor','getSelectedBlocks','schema','*Remove\x20format:*\x20%0','$root','from','blockQuote','registerDescriptionCallback','has','commandParams','plugins','TrackChangesEditing','BlockQuoteEditing','checkChild'];(function(_0x129563,_0x339232){const _0x319efe=function(_0x4cf0d8){while(--_0x4cf0d8){_0x129563['push'](_0x129563['shift']());}};_0x319efe(++_0x339232);}(_0x3392,0xb2));const _0x319e=function(_0x129563,_0x339232){_0x129563=_0x129563-0x0;let _0x319efe=_0x3392[_0x129563];return _0x319efe;};import{Plugin as _0x893606}from'ckeditor5/src/core';import{getTranslation as _0x56a562}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x421619}from'../utils/utils';export default class U extends _0x893606{[_0x319e('0x13')](){const _0x57b049=this[_0x319e('0x4')],_0x5930ed=_0x57b049['locale'];if(!_0x57b049[_0x319e('0xe')][_0x319e('0xc')](_0x319e('0x10')))return;const _0x2b41a0=_0x57b049[_0x319e('0xe')][_0x319e('0x14')](_0x319e('0xf')),_0x34fb58=this['editor'][_0x319e('0x0')][_0x319e('0x14')](_0x319e('0xa'));_0x2b41a0[_0x319e('0x1')](_0x319e('0xa'),(_0x395bfd,_0x408775={})=>{const _0x3def8a=this[_0x319e('0x4')][_0x319e('0x1a')][_0x319e('0x18')][_0x319e('0x19')],_0x3d1ed7=_0x408775&&void 0x0!==_0x408775[_0x319e('0x15')]?_0x408775[_0x319e('0x15')]:!_0x34fb58['value'];let _0x146657=[];if(_0x3d1ed7){const _0x435f54=Array['from'](_0x3def8a[_0x319e('0x5')]())[_0x319e('0x2')](_0x11ad82=>to(_0x11ad82)||function(_0x1c2692,_0x1f325f){const _0x45850e=_0x1f325f[_0x319e('0x11')](_0x1c2692[_0x319e('0x16')],'blockQuote'),_0x593f16=_0x1f325f[_0x319e('0x11')]([_0x319e('0x8'),'blockQuote'],_0x1c2692);return _0x45850e&&_0x593f16;}(_0x11ad82,this[_0x319e('0x4')][_0x319e('0x1a')][_0x319e('0x6')]));_0x146657=_0x421619(_0x435f54,_0x57b049['model']);}else{const _0x62eca4=Array[_0x319e('0x9')](_0x3def8a[_0x319e('0x5')]())[_0x319e('0x2')](_0x1cb990=>to(_0x1cb990));_0x146657=_0x421619(_0x62eca4,_0x57b049['model']);}_0x57b049[_0x319e('0x1a')]['change'](()=>{for(const _0x3c03bc of _0x146657)_0x2b41a0[_0x319e('0x17')](_0x3c03bc,{'commandName':_0x319e('0xa'),'commandParams':[{'forceValue':_0x3d1ed7}]});});}),_0x2b41a0['_descriptionFactory'][_0x319e('0xb')](_0x4cbb9b=>{const {data:_0x276cc8}=_0x4cbb9b;if(_0x276cc8&&'blockQuote'==_0x276cc8[_0x319e('0x3')]){const _0x259348=_0x56a562(_0x5930ed,_0x319e('0x12'));return _0x276cc8[_0x319e('0xd')][0x0][_0x319e('0x15')]?{'type':'format','content':_0x56a562(_0x5930ed,'*Format:*\x20%0',_0x259348)}:{'type':_0x319e('0x1b'),'content':_0x56a562(_0x5930ed,_0x319e('0x7'),_0x259348)};}});}}function to(_0x46c2c2){return'blockQuote'==_0x46c2c2['parent']['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33f2=['commands','plugins','enableCommand','get','TrackChangesEditing','ckbox','afterInit'];(function(_0x411410,_0x33f2d4){const _0x51917c=function(_0x5c3f0e){while(--_0x5c3f0e){_0x411410['push'](_0x411410['shift']());}};_0x51917c(++_0x33f2d4);}(_0x33f2,0x175));const _0x5191=function(_0x411410,_0x33f2d4){_0x411410=_0x411410-0x0;let _0x51917c=_0x33f2[_0x411410];return _0x51917c;};import{Plugin as _0x4bfaeb}from'ckeditor5/src/core';export default class O extends _0x4bfaeb{[_0x5191('0x4')](){const _0x33364b=this['editor'];_0x33364b[_0x5191('0x5')][_0x5191('0x1')](_0x5191('0x3'))&&_0x33364b[_0x5191('0x6')]['get'](_0x5191('0x2'))[_0x5191('0x0')](_0x5191('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1061=['codeBlock','editor','document','label','config','registerElementLabel','ELEMENT_CODE_BLOCK','language','schema','_descriptionFactory','find','name','rootElement','plugins','format','languages','isLimit','enableCommand','*Format:*\x20%0','locale','commandParams','formatBlock','afterInit','filter','get','markBlockFormat','checkChild','getSelectedBlocks','*Remove\x20format:*\x20%0','selection','change','forceValue','commands','registerDescriptionCallback','TrackChangesEditing','outdentCodeBlock','model','parent','from','has','commandName'];(function(_0x43d445,_0x1061eb){const _0x245cf5=function(_0x4291f9){while(--_0x4291f9){_0x43d445['push'](_0x43d445['shift']());}};_0x245cf5(++_0x1061eb);}(_0x1061,0x181));const _0x245c=function(_0x43d445,_0x1061eb){_0x43d445=_0x43d445-0x0;let _0x245cf5=_0x1061[_0x43d445];return _0x245cf5;};import{Plugin as _0x49367f}from'ckeditor5/src/core';import{getTranslation as _0x309601}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3e0ed0}from'../utils/utils';export default class E extends _0x49367f{[_0x245c('0x6')](){const _0x25f499=this[_0x245c('0x1a')];if(!_0x25f499[_0x245c('0x26')][_0x245c('0x17')]('CodeBlock'))return;const _0x4545d2=_0x25f499[_0x245c('0x26')]['get'](_0x245c('0x12')),_0x5abc8e=_0x25f499[_0x245c('0x3')],_0x118a2e=_0x25f499[_0x245c('0x1d')][_0x245c('0x8')]('codeBlock')[_0x245c('0x28')],_0x4f4a94=_0x25f499[_0x245c('0x10')]['get'](_0x245c('0x19'));_0x4545d2[_0x245c('0x1')]('indentCodeBlock'),_0x4545d2[_0x245c('0x1')](_0x245c('0x13')),_0x4545d2[_0x245c('0x1')]('codeBlock',(_0x1c710e,_0x557f4e={})=>{const _0x455f2a=_0x25f499[_0x245c('0x14')],_0x26cace=_0x25f499[_0x245c('0x14')][_0x245c('0x1b')][_0x245c('0xd')],_0x51bcee=_0x557f4e&&void 0x0!==_0x557f4e[_0x245c('0xf')]?_0x557f4e[_0x245c('0xf')]:!_0x4f4a94['value'];let _0x4f363a;_0x557f4e[_0x245c('0x20')]||(_0x557f4e[_0x245c('0x20')]=_0x118a2e[0x0]['language']),_0x4f363a=_0x51bcee?Array[_0x245c('0x16')](_0x26cace[_0x245c('0xb')]())[_0x245c('0x7')](_0x3ab7dd=>oo(_0x3ab7dd)||function(_0x3d4ce2,_0x3af540){if(_0x3d4ce2['is'](_0x245c('0x25'))||_0x3af540[_0x245c('0x0')](_0x3d4ce2))return!0x1;return _0x3af540[_0x245c('0xa')](_0x3d4ce2[_0x245c('0x15')],_0x245c('0x19'));}(_0x3ab7dd,_0x455f2a[_0x245c('0x21')])):Array[_0x245c('0x16')](_0x26cace[_0x245c('0xb')]())[_0x245c('0x7')](_0x45cab6=>oo(_0x45cab6));const _0x18eafe=_0x3e0ed0(_0x4f363a,_0x455f2a);_0x455f2a[_0x245c('0xe')](()=>{for(const _0x3647c9 of _0x18eafe)_0x4545d2[_0x245c('0x9')](_0x3647c9,{'commandName':_0x245c('0x19'),'commandParams':[{..._0x557f4e,'forceValue':_0x51bcee}],'formatGroupId':'blockName'});});}),(_0x4545d2[_0x245c('0x22')][_0x245c('0x1e')]('codeBlock',_0x5893b7=>_0x309601(_0x5abc8e,_0x245c('0x1f'),_0x5893b7)),_0x4545d2[_0x245c('0x22')][_0x245c('0x11')](_0x5b65b8=>{const _0x1a6118=_0x5abc8e['t'],{type:_0x549d43,data:_0x278179}=_0x5b65b8;if(_0x245c('0x5')==_0x549d43&&_0x278179&&_0x245c('0x19')==_0x278179[_0x245c('0x18')]){const _0x3bc96d=_0x278179['commandParams'][0x0][_0x245c('0x20')],_0x43a5d8=_0x1a6118(_0x118a2e[_0x245c('0x23')](_0x2357d5=>_0x2357d5[_0x245c('0x20')]===_0x3bc96d)[_0x245c('0x1c')]);return _0x278179[_0x245c('0x4')][0x0][_0x245c('0xf')]?{'type':_0x245c('0x27'),'content':_0x309601(_0x5abc8e,_0x245c('0x2'),_0x309601(_0x5abc8e,_0x245c('0x1f'),0x1)+'\x20('+_0x43a5d8+')')}:{'type':_0x245c('0x27'),'content':_0x309601(_0x5abc8e,_0x245c('0xc'),_0x309601(_0x5abc8e,_0x245c('0x1f'),0x1))};}}));}}function oo(_0x2da90d){return'codeBlock'==_0x2da90d[_0x245c('0x24')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52b6=['get','CommentsEditing','afterInit','plugins','TrackChangesEditing','has'];(function(_0x186286,_0x52b62f){const _0x47facb=function(_0x51ec61){while(--_0x51ec61){_0x186286['push'](_0x186286['shift']());}};_0x47facb(++_0x52b62f);}(_0x52b6,0xca));const _0x47fa=function(_0x186286,_0x52b62f){_0x186286=_0x186286-0x0;let _0x47facb=_0x52b6[_0x186286];return _0x47facb;};import{Plugin as _0x4112b1}from'ckeditor5/src/core';export default class F extends _0x4112b1{[_0x47fa('0x4')](){const _0x241a42=this['editor'];if(!_0x241a42[_0x47fa('0x5')][_0x47fa('0x1')](_0x47fa('0x3')))return;_0x241a42[_0x47fa('0x5')][_0x47fa('0x2')](_0x47fa('0x0'))['enableCommand']('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x402b=['modifySelection','high','markerName','enableCommand','enqueueChange','remove','editing','addMarker:suggestion:deletion','detach','batch','isCollapsed','model','mapper','buffer','forward','document','unit','createSelection','$graveyard','delete','rootName','downcastDispatcher','requires','lock','plugins','fromRange','selection','end','unbindElementFromMarkerName','options','createRange','data','showSuggestionHighlights','merge','deleteForward','markerNameToElements','getFirstRange','editor','removeMarker:suggestion:deletion','root','writer','start','unlock'];(function(_0x34e92c,_0x402b26){const _0x265c58=function(_0x4b42af){while(--_0x4b42af){_0x34e92c['push'](_0x34e92c['shift']());}};_0x265c58(++_0x402b26);}(_0x402b,0x142));const _0x265c=function(_0x34e92c,_0x402b26){_0x34e92c=_0x34e92c-0x0;let _0x265c58=_0x402b[_0x34e92c];return _0x265c58;};import{Plugin as _0x3b8e91}from'ckeditor5/src/core';import{LiveRange as _0x459ee6}from'ckeditor5/src/engine';import{Delete as _0x105e79}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x4ec2cd}from'./utils';export default class G extends _0x3b8e91{static get[_0x265c('0x1')](){return[_0x105e79];}['init'](){const _0xa66c34=this[_0x265c('0x10')],_0x3b74da=_0xa66c34[_0x265c('0x3')]['get']('TrackChangesEditing');_0x3b74da[_0x265c('0x19')](_0x265c('0x29'));const _0x74a592=_0xa66c34['commands']['get']('deleteForward');_0x3b74da[_0x265c('0x19')](_0x265c('0xd'),(_0x48a31a,_0x442ad0={})=>{const _0x4899b8=_0xa66c34['model'][_0x265c('0x27')](_0xa66c34[_0x265c('0x21')][_0x265c('0x25')][_0x265c('0x5')]);_0x4899b8[_0x265c('0x20')]&&_0xa66c34['model'][_0x265c('0x16')](_0x4899b8,{'direction':_0x265c('0x24'),'unit':_0x442ad0[_0x265c('0x26')]});const _0x5b25ca=_0x4899b8[_0x265c('0xf')](),_0x41cd34=_0x459ee6[_0x265c('0x4')](_0x5b25ca);let _0xd2e5ea;_0x48a31a(_0x442ad0),_0xd2e5ea=_0x265c('0x28')==_0x41cd34[_0x265c('0x12')][_0x265c('0x2a')]?_0xa66c34['model'][_0x265c('0x9')](_0x5b25ca[_0x265c('0x14')]):_0xa66c34[_0x265c('0x21')][_0x265c('0x9')](_0x41cd34[_0x265c('0x14')],_0x41cd34[_0x265c('0x6')]),_0x41cd34[_0x265c('0x1e')](),_0xa66c34[_0x265c('0x21')][_0x265c('0x1a')](_0x74a592[_0x265c('0x23')][_0x265c('0x1f')],_0x68da9c=>{_0x74a592[_0x265c('0x23')][_0x265c('0x2')](),_0x68da9c['setSelection'](_0x68da9c['createRange'](_0xd2e5ea[_0x265c('0x6')])),_0x74a592[_0x265c('0x23')][_0x265c('0x15')]();});}),_0xa66c34[_0x265c('0x1c')][_0x265c('0x0')]['on'](_0x265c('0x1d'),_0x4ec2cd(_0xa66c34,_0x265c('0xc')),{'priority':'high'}),_0xa66c34[_0x265c('0xa')][_0x265c('0x0')]['on'](_0x265c('0x1d'),(_0x179c09,_0x4e126a,_0x4924a9)=>{_0x4924a9[_0x265c('0x8')][_0x265c('0xb')]&&_0x4ec2cd(_0xa66c34,_0x265c('0xc'),{'showActiveMarker':!0x1})['bind'](this)(_0x179c09,_0x4e126a,_0x4924a9);},{'priority':'high'}),_0xa66c34[_0x265c('0x1c')][_0x265c('0x0')]['on'](_0x265c('0x11'),(_0x42ecde,_0x3dad4d,_0x462932)=>{const _0x396def=_0x462932[_0x265c('0x22')][_0x265c('0xe')](_0x3dad4d['markerName']);if(_0x396def)for(const _0x26c127 of _0x396def)_0x26c127['is']('uiElement')&&(_0x462932[_0x265c('0x22')][_0x265c('0x7')](_0x26c127,_0x3dad4d[_0x265c('0x18')]),_0x462932[_0x265c('0x13')][_0x265c('0x1b')](_0x26c127));},{'priority':_0x265c('0x17')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x282e=['TrackChangesEditing','getAttribute','selection','ELEMENT_NUMBERED_LIST','*Merge:*\x20%0','ELEMENT_BULLETED_LIST','listIndent','*Change\x20to:*\x20%0','listItemId','commands','listType','ELEMENT_','findIndex','accept','registerCustomCallback','isFirstBlockOfListItem','createPositionAt','change','before','mergeListItemForward','splitListItemBefore','mergeListItemBackward','detach','add','commandParams','getRanges','length','registerElementLabel','indentList','deletion','nextSibling','get','bulletedList','slice','model','document','enableCommand','markMultiRangeBlockFormat','schema','DocumentListEditing','forceValue','start','end','fromRange','format','isObject','nodeAfter','multipleBlocks','formatBlock','splitListItemAfter','from','hasAttribute','markBlockFormat','ELEMENT_LIST_ITEM','*Indent:*\x20%0','toUpperCase','getSelectedBlocks','containsItem','commandName','expandListBlocksToCompleteList','setSelection','push','documentList','_descriptionFactory','plugins','createRange','getFirstRange','value','_LIST','numberedList','*Format:*\x20remove\x20from\x20%0','outdentList','registerDescriptionCallback','refresh'];(function(_0x47fce8,_0x282e68){const _0x48a5a7=function(_0x18aa66){while(--_0x18aa66){_0x47fce8['push'](_0x47fce8['shift']());}};_0x48a5a7(++_0x282e68);}(_0x282e,0x192));const _0x48a5=function(_0x47fce8,_0x282e68){_0x47fce8=_0x47fce8-0x0;let _0x48a5a7=_0x282e[_0x47fce8];return _0x48a5a7;};import{Plugin as _0x2bf46e}from'ckeditor5/src/core';import{getTranslation as _0x2585bc}from'../utils/common-translations';import{LiveRange as _0x1e207a}from'ckeditor5/src/engine';export default class L extends _0x2bf46e{['afterInit'](){const _0x3c5f2c=this['editor'];if(!_0x3c5f2c['plugins']['has'](_0x48a5('0x7')))return;const _0x2d67df=_0x3c5f2c['locale'],_0x4d7b3c=_0x3c5f2c[_0x48a5('0x20')][_0x48a5('0x49')](_0x48a5('0x2a')),_0x5e3bb3=_0x3c5f2c[_0x48a5('0x20')][_0x48a5('0x49')]('DocumentListUtils');function _0x2a171b(_0x4c44df){return()=>{const _0x250acf=_0x3c5f2c[_0x48a5('0x33')][_0x48a5('0x49')](_0x4c44df);let _0x19f6ed=Array[_0x48a5('0x12')](_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3')]['selection'][_0x48a5('0x18')]());if(_0x2f6a6a(_0x4c44df)){_0x19f6ed=_0x5e3bb3[_0x48a5('0x1b')](_0x19f6ed);const _0x7cfe66=[];for(const _0x2e8105 of _0x19f6ed)_0x5e3bb3[_0x48a5('0x39')](_0x2e8105)&&_0x7cfe66[_0x48a5('0x1d')](_0x2e8105);_0x19f6ed=_0x7cfe66;}_0x3c5f2c[_0x48a5('0x2')]['change'](()=>{_0x4d7b3c[_0x48a5('0x5')](_0x19f6ed,{'commandName':_0x4c44df,'commandParams':[{'forceValue':!_0x250acf['value']}],'formatGroupId':'listType'},[],'documentList');});};}function _0x1575e8(_0x3df460){return()=>{const _0x1711f9=function(_0x100c61){let _0x288426=Array[_0x48a5('0x12')](_0x100c61);const _0x16272e=_0x288426[_0x48a5('0x36')](_0x4b8b1e=>!_0x4b8b1e[_0x48a5('0x13')](_0x48a5('0x32')));return _0x16272e>-0x1&&(_0x288426=_0x288426[_0x48a5('0x1')](0x0,_0x16272e)),_0x288426;}(_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3')][_0x48a5('0x2c')][_0x48a5('0x18')]()),_0x6a899c=_0x1711f9[_0x1711f9[_0x48a5('0x44')]-0x1],_0x2fe3b5=_0x3c5f2c['model']['schema'][_0x48a5('0xd')](_0x6a899c)?'after':_0x48a5('0xa'),_0x27f638=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x21')](_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0x1711f9[0x0],_0x48a5('0x3c')),_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0x6a899c,_0x2fe3b5));_0x3c5f2c['model'][_0x48a5('0x3b')](()=>{_0x4d7b3c[_0x48a5('0x14')](_0x27f638,{'commandName':_0x3df460,'commandParams':[],'formatGroupId':_0x48a5('0x34')},function(_0x5047cd){const _0x1c36ca=new Set();for(const _0x296e7a of _0x5047cd){let _0x2d0fff=_0x296e7a[_0x48a5('0x48')];for(;_0x2d0fff&&_0x2d0fff[_0x48a5('0x2b')](_0x48a5('0x30'))>_0x296e7a[_0x48a5('0x2b')](_0x48a5('0x30'));)_0x1c36ca[_0x48a5('0x41')](_0x2d0fff),_0x2d0fff=_0x2d0fff['nextSibling'];}return Array[_0x48a5('0x12')](_0x1c36ca);}(_0x1711f9));});};}function _0xcce1c3(_0x5e4e87){return()=>{const _0x46a7fa=_0x3c5f2c[_0x48a5('0x2')]['document'][_0x48a5('0x2c')][_0x48a5('0x18')]()['next']()[_0x48a5('0x23')],_0xe53886=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0x46a7fa,'before'),_0x32cefb=_0x3c5f2c[_0x48a5('0x2')]['createPositionAt'](_0x46a7fa,0x0),_0x78080b=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x21')](_0xe53886,_0x32cefb);_0x3c5f2c['model']['change'](()=>{_0x4d7b3c['markBlockFormat'](_0x78080b,{'commandName':_0x5e4e87,'commandParams':[],'formatGroupId':_0x48a5('0x34')});});};}function _0x2f6a6a(_0x4ee13e){const _0x3d52d3=_0x3c5f2c[_0x48a5('0x33')][_0x48a5('0x49')](_0x48a5('0x0'))['value'],_0x4a1a6e=_0x3c5f2c['commands']['get']('numberedList')[_0x48a5('0x23')];return'numberedList'===_0x4ee13e?_0x3d52d3:_0x4a1a6e;}_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x25'),_0x2a171b(_0x48a5('0x25'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x0'),_0x2a171b(_0x48a5('0x0'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x46'),_0x1575e8(_0x48a5('0x46'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x27'),_0x1575e8(_0x48a5('0x27'))),_0x4d7b3c[_0x48a5('0x4')]('splitListItemAfter',_0xcce1c3(_0x48a5('0x11'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x3e'),_0xcce1c3('splitListItemBefore')),_0x4d7b3c[_0x48a5('0x1f')][_0x48a5('0x45')](function(_0x4ee0e7){const _0x28cdcc=!_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x6')][_0x48a5('0xd')](_0x4ee0e7),_0x107636=_0x4ee0e7['previousSibling'],_0x527bff=_0x4ee0e7[_0x48a5('0x48')],_0x8bdaea=_0x4ee0e7[_0x48a5('0x2b')](_0x48a5('0x32')),_0x59ed81=!_0x107636||_0x107636['getAttribute']('listItemId')!==_0x8bdaea,_0x594d48=!_0x527bff||_0x527bff[_0x48a5('0x2b')](_0x48a5('0x32'))!==_0x8bdaea;return _0x28cdcc&&Boolean(_0x8bdaea)&&_0x59ed81&&_0x594d48;},_0xf60e50=>_0x2585bc(_0x2d67df,_0x48a5('0x15'),_0xf60e50)),_0x4d7b3c[_0x48a5('0x1f')][_0x48a5('0x28')](function(_0x101d5e){const {data:_0x135a16}=_0x101d5e;if(!_0x135a16)return;let _0x56c703,_0x3ec2ab,_0x3ccd50,_0x2d8991;switch(_0x135a16['commandName']){case _0x48a5('0x0'):_0x3ccd50=_0x135a16['commandParams'][0x0][_0x48a5('0x8')],_0x2d8991=_0x2f6a6a(_0x135a16[_0x48a5('0x1a')]),_0x56c703=_0x3ccd50?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x2d8991&&(_0x56c703=_0x48a5('0x31')),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x2f')))};break;case _0x48a5('0x25'):_0x3ccd50=_0x135a16['commandParams'][0x0]['forceValue'],_0x2d8991=_0x2f6a6a(_0x135a16[_0x48a5('0x1a')]),_0x56c703=_0x3ccd50?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x2d8991&&(_0x56c703=_0x48a5('0x31')),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x2d')))};break;case _0x48a5('0x46'):_0x56c703=_0x48a5('0x16'),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x15')))};break;case _0x48a5('0x27'):_0x56c703=function(_0x335889){const _0x51b86f=_0x335889[_0x48a5('0x22')]();let _0x13e207=_0x51b86f[_0x48a5('0x9')][_0x48a5('0xe')];for(;_0x13e207&&_0x51b86f[_0x48a5('0x19')](_0x13e207);){if(_0x13e207[_0x48a5('0x2b')](_0x48a5('0x30'))>0x0)return!0x1;_0x13e207=_0x13e207[_0x48a5('0x48')];}return!0x0;}(_0x101d5e)?_0x2585bc(_0x2d67df,_0x48a5('0x26'),_0x2585bc(_0x2d67df,function(_0x9f92af){const _0x502013=_0x9f92af[_0x48a5('0x22')]()[_0x48a5('0x9')][_0x48a5('0xe')];return _0x48a5('0x35')+_0x502013['getAttribute'](_0x48a5('0x34'))[_0x48a5('0x17')]()+_0x48a5('0x24');}(_0x101d5e))):_0x2585bc(_0x2d67df,'*Outdent:*\x20%0',_0x2585bc(_0x2d67df,_0x48a5('0x15'))),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x56c703};break;case _0x48a5('0x3f'):case _0x48a5('0x3d'):!0x1===_0x135a16[_0x48a5('0xf')]&&(_0x56c703=_0x48a5('0x2e'),_0x3ec2ab={'type':_0x48a5('0x47'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x15')))});}return _0x3ec2ab;}),_0x4d7b3c['_suggestionFactory'][_0x48a5('0x38')](_0x48a5('0x10'),_0x48a5('0x1e'),_0x48a5('0x37'),function(_0x5db63b,_0x2bc20a){const _0x5b723e=[];for(let _0xaa4ca9 of _0x5db63b)_0xaa4ca9[_0x48a5('0x9')][_0x48a5('0xe')]===_0xaa4ca9['end']['parent']&&(_0xaa4ca9=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x21')](_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0xaa4ca9[_0x48a5('0x9')][_0x48a5('0xe')],0x0))),_0x5b723e['push'](_0xaa4ca9);_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3b')](_0x4e7e64=>{const _0x2a5e60=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3')][_0x48a5('0x2c')],_0x3b6088=Array[_0x48a5('0x12')](_0x2a5e60[_0x48a5('0x43')]())['map'](_0x3dc46f=>_0x1e207a[_0x48a5('0xb')](_0x3dc46f));_0x4e7e64[_0x48a5('0x1c')](_0x5b723e),_0x3c5f2c[_0x48a5('0x33')][_0x48a5('0x49')](_0x2bc20a[_0x48a5('0x1a')])[_0x48a5('0x29')](),_0x2bc20a[_0x48a5('0x42')][_0x48a5('0x1d')]({'forceDefaultExecution':!0x0}),_0x3c5f2c['execute'](_0x2bc20a['commandName'],..._0x2bc20a['commandParams']),_0x4e7e64[_0x48a5('0x1c')](_0x3b6088);for(const _0x43d0ad of _0x3b6088)_0x43d0ad[_0x48a5('0x40')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18a0=['getSelectedBlocks','DocumentListUtils','ELEMENT_','has','afterInit','from','bind','format','plugins','document','listReversed','numbered','_getTranslationKeyForListStyle','enableCommand','getAttribute','handleListReversedCommand','markMultiRangeBlockFormat','TrackChangesEditing','startIndex','get','handleListStartCommand','getListTypeFromListStyleType','length','editor','filter','selection','type','listStart','*Change\x20to:*\x20%0','isListItemBlock','handleListStyleCommand','reversed','_LIST_','*Format:*\x20set\x20start\x20index\x20to\x20%0','push','config','replace','_descriptionFactory','_getSuggestionBlocks','expandListBlocksToCompleteList','*Format:*\x20set\x20order\x20to\x20reversed','model','DocumentListPropertiesEditing','commandParams','change','listStyle','styles','list.properties','locale','isFirstBlockOfListItem','registerDescriptionCallback','_getSuggestionBlocksForListStyle','handleDescriptions','listType'];(function(_0x38ac19,_0x18a099){const _0x26003d=function(_0x8e6eed){while(--_0x8e6eed){_0x38ac19['push'](_0x38ac19['shift']());}};_0x26003d(++_0x18a099);}(_0x18a0,0x152));const _0x2600=function(_0x38ac19,_0x18a099){_0x38ac19=_0x38ac19-0x0;let _0x26003d=_0x18a0[_0x38ac19];return _0x26003d;};import{Plugin as _0x378473}from'ckeditor5/src/core';import{getTranslation as _0x2e8716}from'../utils/common-translations';export default class At extends _0x378473{[_0x2600('0x2c')](){if(!this[_0x2600('0x9')][_0x2600('0x30')][_0x2600('0x2b')](_0x2600('0x1c')))return;const _0x274dfb=this[_0x2600('0x9')][_0x2600('0x15')][_0x2600('0x5')](_0x2600('0x21')),_0x56e631=this[_0x2600('0x9')][_0x2600('0x30')][_0x2600('0x5')](_0x2600('0x3'));_0x274dfb[_0x2600('0x20')]&&_0x56e631[_0x2600('0x35')](_0x2600('0x1f'),this[_0x2600('0x10')][_0x2600('0x2e')](this)),_0x274dfb['reversed']&&_0x56e631[_0x2600('0x35')]('listReversed',this[_0x2600('0x1')][_0x2600('0x2e')](this)),_0x274dfb[_0x2600('0x4')]&&_0x56e631[_0x2600('0x35')]('listStart',this[_0x2600('0x6')][_0x2600('0x2e')](this)),_0x56e631[_0x2600('0x17')][_0x2600('0x24')](this[_0x2600('0x26')][_0x2600('0x2e')](this));}[_0x2600('0x10')](_0x4ac24b,_0x3ddafd={}){const _0x245521=this[_0x2600('0x9')][_0x2600('0x30')]['get'](_0x2600('0x3')),_0x163e5e=this[_0x2600('0x25')]();this[_0x2600('0x9')][_0x2600('0x1b')][_0x2600('0x1e')](()=>{_0x245521[_0x2600('0x2')](_0x163e5e,{'commandName':_0x2600('0x1f'),'commandParams':[{'type':_0x3ddafd[_0x2600('0xc')]}],'formatGroupId':_0x2600('0x1f')});});}[_0x2600('0x1')](_0x4e1e3b,_0x3a2620={}){const _0x4178f9=this[_0x2600('0x9')][_0x2600('0x30')]['get'](_0x2600('0x3')),_0x3051f8=this['editor'][_0x2600('0x30')]['get']('DocumentListUtils'),_0x52f19a=this[_0x2600('0x18')](_0x2981bd=>_0x3051f8[_0x2600('0xf')](_0x2981bd)&&_0x2600('0x33')===_0x2981bd[_0x2600('0x0')](_0x2600('0x27')));null!==_0x52f19a&&this['editor'][_0x2600('0x1b')][_0x2600('0x1e')](()=>{_0x4178f9[_0x2600('0x2')](_0x52f19a,{'commandName':_0x2600('0x32'),'commandParams':[{'reversed':_0x3a2620[_0x2600('0x11')]}],'formatGroupId':_0x2600('0x32')});});}['handleListStartCommand'](_0x4258ee,_0x4494b9={}){const _0x12a09f=this['editor'][_0x2600('0x30')][_0x2600('0x5')]('TrackChangesEditing'),_0x128c2c=this[_0x2600('0x9')]['plugins'][_0x2600('0x5')]('DocumentListUtils'),_0x3974fa=this['_getSuggestionBlocks'](_0x5e7a18=>_0x128c2c['isListItemBlock'](_0x5e7a18)&&_0x2600('0x33')===_0x5e7a18[_0x2600('0x0')](_0x2600('0x27')));null!==_0x3974fa&&this[_0x2600('0x9')][_0x2600('0x1b')][_0x2600('0x1e')](()=>{_0x12a09f['markMultiRangeBlockFormat'](_0x3974fa,{'commandName':_0x2600('0xd'),'commandParams':[{'startIndex':_0x4494b9[_0x2600('0x4')]}],'formatGroupId':'listStart'});});}[_0x2600('0x26')](_0x15aa48){const _0x496926=this[_0x2600('0x9')][_0x2600('0x22')],{data:_0x1ff957}=_0x15aa48;if(!_0x1ff957)return;let _0xa30872,_0x5af43a;switch(_0x1ff957['commandName']){case _0x2600('0x1f'):_0xa30872=_0x2600('0xe'),_0x5af43a={'type':_0x2600('0x2f'),'content':_0x2e8716(_0x496926,_0xa30872,_0x2e8716(_0x496926,this[_0x2600('0x34')](_0x1ff957[_0x2600('0x1d')][0x0][_0x2600('0xc')])))};break;case _0x2600('0x32'):_0xa30872=_0x1ff957[_0x2600('0x1d')][0x0][_0x2600('0x11')]?_0x2600('0x1a'):'*Format:*\x20set\x20order\x20to\x20regular',_0x5af43a={'type':'format','content':_0x2e8716(_0x496926,_0xa30872)};break;case _0x2600('0xd'):_0xa30872=_0x2600('0x13'),_0x5af43a={'type':'format','content':_0x2e8716(_0x496926,_0xa30872,_0x1ff957[_0x2600('0x1d')][0x0][_0x2600('0x4')])};}return _0x5af43a;}[_0x2600('0x25')](){const _0x23fa8=this[_0x2600('0x9')]['plugins'][_0x2600('0x5')](_0x2600('0x29'));let _0x5497cd=Array[_0x2600('0x2d')](this[_0x2600('0x9')]['model'][_0x2600('0x31')]['selection'][_0x2600('0x28')]());return _0x5497cd[_0x2600('0x14')](..._0x23fa8[_0x2600('0x19')](_0x5497cd)),_0x5497cd=[...new Set(_0x5497cd)],_0x5497cd;}[_0x2600('0x18')](_0x1f8d65){const _0x3e4320=this['editor'][_0x2600('0x30')][_0x2600('0x5')](_0x2600('0x29'));let _0x4cd380=Array[_0x2600('0x2d')](this[_0x2600('0x9')]['model']['document'][_0x2600('0xb')][_0x2600('0x28')]())[_0x2600('0xa')](_0x1f8d65);if(!_0x4cd380[_0x2600('0x8')])return null;_0x4cd380=_0x3e4320[_0x2600('0x19')](_0x4cd380);const _0x3d6ecf=[];for(const _0xb5b219 of _0x4cd380)_0x3e4320[_0x2600('0x23')](_0xb5b219)&&_0x3d6ecf[_0x2600('0x14')](_0xb5b219);return _0x3d6ecf;}[_0x2600('0x34')](_0x4b120d){return _0x2600('0x2a')+this[_0x2600('0x9')][_0x2600('0x30')][_0x2600('0x5')]('DocumentListPropertiesUtils')[_0x2600('0x7')](_0x4b120d)['toUpperCase']()+_0x2600('0x12')+_0x4b120d['toUpperCase']()[_0x2600('0x16')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x503f=['model','selection','detach','markerName','createPositionAt','downcastDispatcher','data','end','unbindElementFromMarkerName','enterBlock','commands','remove','bind','markInsertion','addMarker:suggestion:insertion','showSuggestionHighlights','plugins','parent','document','ck-suggestion-marker-split','change','editor','createRange','get','split','getFirstRange','removeMarker:suggestion:insertion','fromRange','setSelection','high','enter','TrackChangesEditing','hasClass','mapper','nextSibling'];(function(_0x62ceb,_0x503fa9){const _0x324175=function(_0x426147){while(--_0x426147){_0x62ceb['push'](_0x62ceb['shift']());}};_0x324175(++_0x503fa9);}(_0x503f,0x65));const _0x3241=function(_0x62ceb,_0x503fa9){_0x62ceb=_0x62ceb-0x0;let _0x324175=_0x503f[_0x62ceb];return _0x324175;};import{Plugin as _0x2b711e}from'ckeditor5/src/core';import{Enter as _0x158d4f}from'ckeditor5/src/enter';import{LiveRange as _0x2121f9}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a0caa}from'./utils';export default class q extends _0x2b711e{static get['requires'](){return[_0x158d4f];}['init'](){const _0x461bad=this[_0x3241('0x19')],_0x536bc5=_0x461bad[_0x3241('0x14')][_0x3241('0x1b')](_0x3241('0x0')),_0x23262e=_0x461bad[_0x3241('0xe')][_0x3241('0x1b')](_0x3241('0x22'));_0x536bc5['enableCommand'](_0x3241('0x22'),()=>{_0x461bad['model'][_0x3241('0x18')](_0x365acc=>{const _0x485105=_0x461bad[_0x3241('0x4')][_0x3241('0x16')][_0x3241('0x5')],_0x4f5d6f=_0x485105['getFirstPosition'](),_0x37322d=_0x2121f9[_0x3241('0x1f')](_0x485105[_0x3241('0x1d')]());if(_0x23262e[_0x3241('0xd')](_0x365acc)){const _0x480d95=_0x461bad[_0x3241('0x4')][_0x3241('0x8')](_0x4f5d6f[_0x3241('0x15')][_0x3241('0x3')],0x0),_0x5772b7=_0x365acc[_0x3241('0x1a')](_0x4f5d6f,_0x480d95);_0x536bc5[_0x3241('0x11')](_0x5772b7);}else _0x365acc[_0x3241('0x20')](_0x365acc['createRange'](_0x37322d[_0x3241('0xb')]));_0x37322d[_0x3241('0x6')](),_0x23262e['fire']('afterExecute',{'writer':_0x365acc});});}),_0x461bad['editing'][_0x3241('0x9')]['on'](_0x3241('0x12'),_0x2a0caa(_0x461bad,_0x3241('0x1c')),{'priority':_0x3241('0x21')}),_0x461bad['editing'][_0x3241('0x9')]['on'](_0x3241('0x1e'),(_0x17c73c,_0x344453,_0x50ad56)=>{const _0x3ac82a=_0x50ad56[_0x3241('0x2')]['markerNameToElements'](_0x344453[_0x3241('0x7')]);if(_0x3ac82a)for(const _0xbc0c65 of _0x3ac82a)_0xbc0c65[_0x3241('0x1')](_0x3241('0x17'))&&(_0x50ad56[_0x3241('0x2')][_0x3241('0xc')](_0xbc0c65,_0x344453[_0x3241('0x7')]),_0x50ad56['writer'][_0x3241('0xf')](_0xbc0c65));},{'priority':_0x3241('0x21')}),_0x461bad[_0x3241('0xa')]['downcastDispatcher']['on'](_0x3241('0x12'),(_0x467ff0,_0xc5cb71,_0x178dfb)=>{_0x178dfb['options'][_0x3241('0x13')]&&_0x2a0caa(_0x461bad,_0x3241('0x1c'),{'showActiveMarker':!0x1})[_0x3241('0x10')](this)(_0x467ff0,_0xc5cb71,_0x178dfb);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x235b=['editor','start','FindAndReplaceUtils','createRange','TrackChangesEditing','getIntersection','suggestion:deletion','_isInDeletionRange','markers','model','replaceAll','end','string','filter','handleFindCommand','enableCommand','item','afterInit','bind','findPrevious','getRange','get','getMarkersGroup','plugins','createPositionAt','findByTextCallback'];(function(_0x54a0ea,_0x235b2){const _0x3a0a9c=function(_0x267238){while(--_0x267238){_0x54a0ea['push'](_0x54a0ea['shift']());}};_0x3a0a9c(++_0x235b2);}(_0x235b,0x1c7));const _0x3a0a=function(_0x54a0ea,_0x235b2){_0x54a0ea=_0x54a0ea-0x0;let _0x3a0a9c=_0x235b[_0x54a0ea];return _0x3a0a9c;};import{Plugin as _0x418119}from'ckeditor5/src/core';export default class z extends _0x418119{[_0x3a0a('0x4')](){if(!this[_0x3a0a('0xd')][_0x3a0a('0xa')]['has']('FindAndReplaceEditing'))return;const _0x4fca48=this[_0x3a0a('0xd')][_0x3a0a('0xa')]['get'](_0x3a0a('0x11'));_0x4fca48[_0x3a0a('0x2')]('find',this[_0x3a0a('0x1')][_0x3a0a('0x5')](this)),_0x4fca48['enableCommand']('findNext'),_0x4fca48['enableCommand'](_0x3a0a('0x6')),_0x4fca48['enableCommand']('replace'),_0x4fca48[_0x3a0a('0x2')](_0x3a0a('0x17'));}[_0x3a0a('0x1')](_0x11cf91,_0x34be90,_0x3cd2b0={}){const _0x1a712e=this[_0x3a0a('0xd')][_0x3a0a('0xa')][_0x3a0a('0x8')](_0x3a0a('0xf'));void 0x0!==_0x3cd2b0&&_0x11cf91(_0x384ddb=>(_0x3a0a('0x19')==typeof _0x34be90?_0x1a712e[_0x3a0a('0xc')](_0x34be90,_0x3cd2b0):_0x34be90)(_0x384ddb)[_0x3a0a('0x0')](_0x49c7cb=>!0x1===this[_0x3a0a('0x14')](_0x49c7cb,_0x384ddb[_0x3a0a('0x3')])),_0x3cd2b0);}[_0x3a0a('0x14')](_0x398c84,_0x3b961c){const _0x5e9886=this[_0x3a0a('0xd')][_0x3a0a('0x16')][_0x3a0a('0x10')](this['editor']['model'][_0x3a0a('0xb')](_0x3b961c,_0x398c84[_0x3a0a('0xe')]),this[_0x3a0a('0xd')][_0x3a0a('0x16')]['createPositionAt'](_0x3b961c,_0x398c84[_0x3a0a('0x18')]));for(const _0x42a085 of this[_0x3a0a('0xd')]['model'][_0x3a0a('0x15')][_0x3a0a('0x9')](_0x3a0a('0x13')))if(null!==_0x5e9886[_0x3a0a('0x12')](_0x42a085[_0x3a0a('0x7')]()))return!0x0;return!0x1;}}
|