@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231106.0 → 0.0.0-nightly-20231107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231107.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-20231107.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231107.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 _0x2ff2=['_suggestions','plugins','isEnabled','canEditAt','refresh','editor','getRanges','TrackChangesEditing','execute','_isEnabledBasedOnSelection','acceptSuggestion','track-changes-accept-suggestion-not-found'];(function(_0x496bdb,_0x2ff225){const _0x389f16=function(_0x4790b1){while(--_0x4790b1){_0x496bdb['push'](_0x496bdb['shift']());}};_0x389f16(++_0x2ff225);}(_0x2ff2,0x198));const _0x389f=function(_0x496bdb,_0x2ff225){_0x496bdb=_0x496bdb-0x0;let _0x389f16=_0x2ff2[_0x496bdb];return _0x389f16;};import{Command as _0x4b859f}from'ckeditor5/src/core';import{CKEditorError as _0x491443}from'ckeditor5/src/utils';export default class M extends _0x4b859f{constructor(_0x20caa2,_0x345366){super(_0x20caa2),this[_0x389f('0x0')]=_0x345366,this[_0x389f('0x4')](),this[_0x389f('0x9')]=!0x1;}['refresh'](){this[_0x389f('0x2')]=!0x0;}[_0x389f('0x8')](_0x4bf051){const _0x27333f=this[_0x389f('0x0')]['get'](_0x4bf051);if(!_0x27333f)throw new _0x491443(_0x389f('0xb'),this);const _0x2afd9b=_0x27333f[_0x389f('0x6')]();this[_0x389f('0x5')]['model'][_0x389f('0x3')](_0x2afd9b)&&this[_0x389f('0x5')][_0x389f('0x1')]['get'](_0x389f('0x7'))[_0x389f('0xa')](_0x27333f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xce7c=['TrackChangesEditing','get','_suggestions','_isEnabledBasedOnSelection','refresh','editor','execute','canEditAt','getRanges'];(function(_0x26b920,_0xce7ced){const _0x3c3b6b=function(_0xc0e021){while(--_0xc0e021){_0x26b920['push'](_0x26b920['shift']());}};_0x3c3b6b(++_0xce7ced);}(_0xce7c,0x106));const _0x3c3b=function(_0x26b920,_0xce7ced){_0x26b920=_0x26b920-0x0;let _0x3c3b6b=_0xce7c[_0x26b920];return _0x3c3b6b;};import{Command as _0xb58902}from'ckeditor5/src/core';import{CKEditorError as _0x32ab80}from'ckeditor5/src/utils';export default class $ extends _0xb58902{constructor(_0x1e76cc,_0x144c82){super(_0x1e76cc),this[_0x3c3b('0x1')]=_0x144c82,this[_0x3c3b('0x3')](),this[_0x3c3b('0x2')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x3c3b('0x5')](_0x1a689d){const _0x4dcaa2=this[_0x3c3b('0x1')]['get'](_0x1a689d);if(!_0x4dcaa2)throw new _0x32ab80('track-changes-discard-suggestion-not-found',this);const _0x171a30=_0x4dcaa2[_0x3c3b('0x7')]();this[_0x3c3b('0x4')]['model'][_0x3c3b('0x6')](_0x171a30)&&this[_0x3c3b('0x4')]['plugins'][_0x3c3b('0x0')](_0x3c3b('0x8'))['discardSuggestion'](_0x4dcaa2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24b1=['refresh','execute','canEditAt','model','_command','from','values','isInContent','_suggestions','isEnabled','some','editor'];(function(_0x2d75ab,_0x24b186){const _0xed16b9=function(_0x2cc547){while(--_0x2cc547){_0x2d75ab['push'](_0x2d75ab['shift']());}};_0xed16b9(++_0x24b186);}(_0x24b1,0x123));const _0xed16=function(_0x2d75ab,_0x24b186){_0x2d75ab=_0x2d75ab-0x0;let _0xed16b9=_0x24b1[_0x2d75ab];return _0xed16b9;};import{Command as _0x300a85}from'ckeditor5/src/core';import{sortSuggestions as _0x1c5a77,executeCommandForSuggestions as _0xde58bf}from'../utils/utils';export default class N extends _0x300a85{constructor(_0x3474d9,_0x24446e,_0x2bc9f4){super(_0x3474d9),this[_0xed16('0x1')]=_0x24446e,this['_suggestions']=_0x2bc9f4,this[_0xed16('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x294380=Array[_0xed16('0x2')](this[_0xed16('0x5')][_0xed16('0x3')]())[_0xed16('0x7')](_0x3e1eda=>_0x3e1eda[_0xed16('0x4')]);this[_0xed16('0x6')]=this[_0xed16('0x1')][_0xed16('0x6')]&&_0x294380;}[_0xed16('0xa')](){const _0x36c576=_0x1c5a77(Array['from'](this['_suggestions']['values']()));for(const _0xaaace0 of _0x36c576){const _0x4a8e47=_0xaaace0['getRanges']();if(!this[_0xed16('0x8')][_0xed16('0x0')][_0xed16('0xb')](_0x4a8e47))return;}_0xde58bf(this['editor'][_0xed16('0x0')],this[_0xed16('0x1')],_0x36c576);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2239=['_command','_selectedSuggestions','_suggestions','execute','getRanges','from','values','editor','selection','refresh','model'];(function(_0xf47789,_0x223956){const _0x6ca046=function(_0x4827de){while(--_0x4827de){_0xf47789['push'](_0xf47789['shift']());}};_0x6ca046(++_0x223956);}(_0x2239,0xa4));const _0x6ca0=function(_0xf47789,_0x223956){_0xf47789=_0xf47789-0x0;let _0x6ca046=_0x2239[_0xf47789];return _0x6ca046;};import{Command as _0x4af5e7}from'ckeditor5/src/core';import{sortSuggestions as _0x56d835,getSelectedSuggestions as _0x2fe0c2,executeCommandForSuggestions as _0xc0640c}from'../utils/utils';export default class R extends _0x4af5e7{constructor(_0x5c9c30,_0x51c62c,_0x55bf30){super(_0x5c9c30),this[_0x6ca0('0x1')]=_0x51c62c,this['_suggestions']=_0x55bf30,this['_selectedSuggestions']=new Set(),this[_0x6ca0('0xa')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x33b157=this[_0x6ca0('0x8')]['model']['document'][_0x6ca0('0x9')],_0x101e4b=Array[_0x6ca0('0x6')](this[_0x6ca0('0x3')][_0x6ca0('0x7')]());this[_0x6ca0('0x2')]=_0x2fe0c2(_0x33b157,_0x101e4b),this['isEnabled']=this[_0x6ca0('0x1')]['isEnabled']&&!!this[_0x6ca0('0x2')]['size'];}[_0x6ca0('0x4')](){const _0x586b04=_0x56d835(Array[_0x6ca0('0x6')](this['_selectedSuggestions']));for(const _0x190a12 of _0x586b04){const _0xb81e11=_0x190a12[_0x6ca0('0x5')]();if(!this['editor']['model']['canEditAt'](_0xb81e11))return;}_0xc0640c(this[_0x6ca0('0x8')][_0x6ca0('0x0')],this['_command'],_0x586b04);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cfb=['affectsData','clearForceDisabled','_enableCommands','_disableUnsupportedCommands','_enabledCommands','refresh','commands','value','_isEnabledBasedOnSelection','editor','has','isEnabled'];(function(_0x55715c,_0x4cfbd6){const _0x1cf942=function(_0x532a00){while(--_0x532a00){_0x55715c['push'](_0x55715c['shift']());}};_0x1cf942(++_0x4cfbd6);}(_0x4cfb,0x1cb));const _0x1cf9=function(_0x55715c,_0x4cfbd6){_0x55715c=_0x55715c-0x0;let _0x1cf942=_0x4cfb[_0x55715c];return _0x1cf942;};import{Command as _0x15705d}from'ckeditor5/src/core';export default class _ extends _0x15705d{constructor(_0x239b6f,_0x472bca){super(_0x239b6f),this[_0x1cf9('0x1')]=_0x472bca,this['value']=!0x1,this[_0x1cf9('0x2')](),this[_0x1cf9('0x5')]=!0x1;}[_0x1cf9('0x2')](){this[_0x1cf9('0x8')]=!0x0;}['execute'](){this[_0x1cf9('0x4')]=!this[_0x1cf9('0x4')],this[_0x1cf9('0x4')]?this[_0x1cf9('0x0')]():this[_0x1cf9('0xb')]();}[_0x1cf9('0x0')](){for(const _0x16e762 of this[_0x1cf9('0x6')][_0x1cf9('0x3')][_0x1cf9('0x3')]())_0x16e762['affectsData']&&!this[_0x1cf9('0x1')][_0x1cf9('0x7')](_0x16e762)&&_0x16e762['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x1fbffd of this[_0x1cf9('0x6')][_0x1cf9('0x3')][_0x1cf9('0x3')]())_0x1fbffd[_0x1cf9('0x9')]&&!this[_0x1cf9('0x1')][_0x1cf9('0x7')](_0x1fbffd)&&_0x1fbffd[_0x1cf9('0xa')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1480=['commands','showAIAssistant','get','enableCommand','afterInit','plugins','editor','TrackChangesEditing'];(function(_0x3efc62,_0x1480f7){const _0x2382bb=function(_0x16c9cc){while(--_0x16c9cc){_0x3efc62['push'](_0x3efc62['shift']());}};_0x2382bb(++_0x1480f7);}(_0x1480,0x16c));const _0x2382=function(_0x3efc62,_0x1480f7){_0x3efc62=_0x3efc62-0x0;let _0x2382bb=_0x1480[_0x3efc62];return _0x2382bb;};import{Plugin as _0x2f9b1e}from'ckeditor5/src/core';export default class j extends _0x2f9b1e{[_0x2382('0x0')](){const _0x3808bb=this[_0x2382('0x2')],_0x57d951=_0x3808bb[_0x2382('0x1')]['get'](_0x2382('0x3'));_0x3808bb[_0x2382('0x4')][_0x2382('0x6')](_0x2382('0x5'))&&_0x57d951[_0x2382('0x7')](_0x2382('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x247d=['plugins','enableCommand','get','selection','getAttribute','getSelectedBlocks','commandName','model','format','FORMAT_ALIGN_TO_LEFT','document','contentLanguageDirection','editor','change','AlignmentEditing','registerDescriptionCallback','alignment','afterInit','right','*Format:*\x20%0','value','FORMAT_ALIGN_TO_CENTER','FORMAT_JUSTIFY_TEXT','checkAttribute','commandParams','center','_descriptionFactory','locale','from','TrackChangesEditing','left','ltr','filter','markBlockFormat','has'];(function(_0x57881a,_0x247d72){const _0x12dd5f=function(_0x2f9194){while(--_0x2f9194){_0x57881a['push'](_0x57881a['shift']());}};_0x12dd5f(++_0x247d72);}(_0x247d,0x1d4));const _0x12dd=function(_0x57881a,_0x247d72){_0x57881a=_0x57881a-0x0;let _0x12dd5f=_0x247d[_0x57881a];return _0x12dd5f;};import{Plugin as _0x26cd1f}from'ckeditor5/src/core';import{getTranslation as _0x116329}from'../utils/common-translations';export default class x extends _0x26cd1f{[_0x12dd('0x4')](){const _0xdb2549=this[_0x12dd('0x22')],_0x441810=_0xdb2549[_0x12dd('0xe')];if(!_0xdb2549[_0x12dd('0x16')][_0x12dd('0x15')](_0x12dd('0x1')))return;const _0x4a0c50=_0xdb2549['plugins'][_0x12dd('0x18')](_0x12dd('0x10'));_0x4a0c50[_0x12dd('0x17')](_0x12dd('0x3'),(_0x2f3880,_0x3de6cb={})=>{let _0x4940a9=_0x3de6cb[_0x12dd('0x7')];_0x3de6cb[_0x12dd('0x7')]||(_0x4940a9=_0x12dd('0x12')===_0xdb2549[_0x12dd('0xe')][_0x12dd('0x21')]?_0x12dd('0x11'):_0x12dd('0x5'));const _0x15d320=Array[_0x12dd('0xf')](this[_0x12dd('0x22')][_0x12dd('0x1d')][_0x12dd('0x20')][_0x12dd('0x19')][_0x12dd('0x1b')]())[_0x12dd('0x13')](_0x5bbe7a=>function(_0x195df2,_0x3162e6,_0x38f75b){const _0x2bf966=_0x195df2[_0x12dd('0x1a')](_0x12dd('0x3'))||null;return _0x3162e6[_0x12dd('0xa')](_0x195df2,_0x12dd('0x3'))&&_0x38f75b!=_0x2bf966;}(_0x5bbe7a,this['editor'][_0x12dd('0x1d')]['schema'],_0x4940a9));_0xdb2549[_0x12dd('0x1d')][_0x12dd('0x0')](()=>{for(const _0x297389 of _0x15d320)_0x4a0c50[_0x12dd('0x14')](_0x297389,{'commandName':_0x12dd('0x3'),'commandParams':[{'value':_0x4940a9}]});});}),_0x4a0c50[_0x12dd('0xd')][_0x12dd('0x2')](_0x54774a=>{const {data:_0x11b070}=_0x54774a;if(_0x11b070&&'alignment'==_0x11b070[_0x12dd('0x1c')]){const _0x24258c=_0x11b070[_0x12dd('0xb')][0x0][_0x12dd('0x7')];return{'type':_0x12dd('0x1e'),'content':_0x116329(_0x441810,_0x12dd('0x6'),function(_0x2b526d){switch(_0x2b526d){case _0x12dd('0x11'):return _0x116329(_0x441810,_0x12dd('0x1f'));case'right':return _0x116329(_0x441810,'FORMAT_ALIGN_TO_RIGHT');case _0x12dd('0xc'):return _0x116329(_0x441810,_0x12dd('0x8'));case'justify':return _0x116329(_0x441810,_0x12dd('0x9'));}}(_0x24258c))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf523=['CodeEditing','commandParams','isCollapsed','FORMAT_STRIKETHROUGH','toLowerCase','slice','BoldEditing','locale','SuperscriptEditing','plugins','getRanges','UnderlineEditing','underline','superscript','italic','*Format:*\x20%0','bold','markInlineFormat','model','subscript','code','ItalicEditing','FORMAT_SUPERSCRIPT','FORMAT_UNDERLINE','forceValue','get','FORMAT_ITALIC','commands','FORMAT_SUBSCRIPT','registerDescriptionCallback','has','*Remove\x20format:*\x20%0','format'];(function(_0x239d3a,_0xf523e8){const _0x242747=function(_0x44e0d7){while(--_0x44e0d7){_0x239d3a['push'](_0x239d3a['shift']());}};_0x242747(++_0xf523e8);}(_0xf523,0xf9));const _0x2427=function(_0x239d3a,_0xf523e8){_0x239d3a=_0x239d3a-0x0;let _0x242747=_0xf523[_0x239d3a];return _0x242747;};import{Plugin as _0x4eed9d}from'ckeditor5/src/core';import{getTranslation as _0x2a9134}from'../utils/common-translations';import{getRangesWithAttribute as _0xa0f82a}from'./utils';const Zt=[_0x2427('0x15'),_0x2427('0x3'),_0x2427('0x1a'),_0x2427('0xf'),'StrikethroughEditing','SubscriptEditing',_0x2427('0x17')];export default class U extends _0x4eed9d{['afterInit'](){const _0x331106=this['editor'],_0x47170a=_0x331106[_0x2427('0x0')],_0x48b235=_0x331106[_0x2427('0x18')][_0x2427('0x7')]('TrackChangesEditing'),_0x51895b=_0x331106[_0x2427('0x16')];for(const _0x395d3d of Zt){if(!_0x331106[_0x2427('0x18')][_0x2427('0xc')](_0x395d3d))continue;const _0x5e6cde=_0x395d3d[_0x2427('0x14')](0x0,-0x7)[_0x2427('0x13')](),_0x597c97=_0x331106[_0x2427('0x9')][_0x2427('0x7')](_0x5e6cde);_0x48b235['enableCommand'](_0x5e6cde,(_0x248f36,_0x3903e9={})=>{const _0x2ca9ec=_0x47170a['document']['selection'];if(_0x2ca9ec[_0x2427('0x11')])return void _0x248f36(_0x3903e9);const _0x3f90bb=void 0x0!==_0x3903e9['forceValue']?_0x3903e9[_0x2427('0x6')]:!_0x597c97['value'];_0x47170a['change'](()=>{const _0x3f7697=Array['from'](_0x2ca9ec[_0x2427('0x19')]());for(const _0x34bcc2 of _0x3f7697){const _0x5b889d=_0x3f90bb?[_0x34bcc2]:_0xa0f82a(_0x5e6cde,_0x34bcc2,_0x47170a);for(const _0x3e406e of _0x5b889d)_0x48b235[_0x2427('0x20')](_0x3e406e,{'commandName':_0x5e6cde,'commandParams':[{'forceValue':_0x3f90bb}]});}});});}function _0x141643(_0x4124ce,_0x54e252){_0x48b235['_descriptionFactory'][_0x2427('0xb')](_0xf510e3=>{const {data:_0x3dead3}=_0xf510e3;if(_0x3dead3&&_0x3dead3['commandName']===_0x4124ce)return _0x3dead3[_0x2427('0x10')][0x0]['forceValue']?{'type':_0x2427('0xe'),'content':_0x2a9134(_0x51895b,_0x2427('0x1e'),_0x54e252)}:{'type':_0x2427('0xe'),'content':_0x2a9134(_0x51895b,_0x2427('0xd'),_0x54e252)};});}_0x141643(_0x2427('0x1f'),_0x2a9134(_0x51895b,'FORMAT_BOLD')),_0x141643(_0x2427('0x1d'),_0x2a9134(_0x51895b,_0x2427('0x8'))),_0x141643(_0x2427('0x1b'),_0x2a9134(_0x51895b,_0x2427('0x5'))),_0x141643(_0x2427('0x2'),_0x2a9134(_0x51895b,'FORMAT_CODE')),_0x141643('strikethrough',_0x2a9134(_0x51895b,_0x2427('0x12'))),_0x141643(_0x2427('0x1'),_0x2a9134(_0x51895b,_0x2427('0xa'))),_0x141643(_0x2427('0x1c'),_0x2a9134(_0x51895b,_0x2427('0x4')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cb1=['model','forceValue','enableCommand','parent','get','BlockQuoteEditing','*Remove\x20format:*\x20%0','commandParams','plugins','TrackChangesEditing','change','$root','editor','schema','commandName','blockQuote','value','getSelectedBlocks','*Format:*\x20%0','registerDescriptionCallback','filter','afterInit','from','commands','selection','format'];(function(_0x117f4f,_0x3cb16c){const _0xd271bb=function(_0x2f354c){while(--_0x2f354c){_0x117f4f['push'](_0x117f4f['shift']());}};_0xd271bb(++_0x3cb16c);}(_0x3cb1,0xad));const _0xd271=function(_0x117f4f,_0x3cb16c){_0x117f4f=_0x117f4f-0x0;let _0xd271bb=_0x3cb1[_0x117f4f];return _0xd271bb;};import{Plugin as _0x153f62}from'ckeditor5/src/core';import{getTranslation as _0x51f1ef}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x180754}from'../utils/utils';export default class O extends _0x153f62{[_0xd271('0x4')](){const _0x398c39=this[_0xd271('0x15')],_0x3d65ed=_0x398c39['locale'];if(!_0x398c39[_0xd271('0x11')]['has'](_0xd271('0xe')))return;const _0x329b43=_0x398c39[_0xd271('0x11')][_0xd271('0xd')](_0xd271('0x12')),_0x2e406f=this[_0xd271('0x15')][_0xd271('0x6')][_0xd271('0xd')](_0xd271('0x18'));_0x329b43[_0xd271('0xb')](_0xd271('0x18'),(_0x26d565,_0x19a1ed={})=>{const _0x209759=this[_0xd271('0x15')][_0xd271('0x9')]['document'][_0xd271('0x7')],_0xb9f5da=_0x19a1ed&&void 0x0!==_0x19a1ed[_0xd271('0xa')]?_0x19a1ed[_0xd271('0xa')]:!_0x2e406f[_0xd271('0x19')];let _0x4bef1e=[];if(_0xb9f5da){const _0x2e1d13=Array['from'](_0x209759['getSelectedBlocks']())['filter'](_0x306599=>oo(_0x306599)||function(_0x3e603a,_0x28a5af){const _0x505596=_0x28a5af['checkChild'](_0x3e603a['parent'],_0xd271('0x18')),_0x3e7fb8=_0x28a5af['checkChild']([_0xd271('0x14'),_0xd271('0x18')],_0x3e603a);return _0x505596&&_0x3e7fb8;}(_0x306599,this[_0xd271('0x15')][_0xd271('0x9')][_0xd271('0x16')]));_0x4bef1e=_0x180754(_0x2e1d13,_0x398c39[_0xd271('0x9')]);}else{const _0x1c253f=Array[_0xd271('0x5')](_0x209759[_0xd271('0x0')]())[_0xd271('0x3')](_0x132ebd=>oo(_0x132ebd));_0x4bef1e=_0x180754(_0x1c253f,_0x398c39[_0xd271('0x9')]);}_0x398c39[_0xd271('0x9')][_0xd271('0x13')](()=>{for(const _0x4957f6 of _0x4bef1e)_0x329b43['markBlockFormat'](_0x4957f6,{'commandName':'blockQuote','commandParams':[{'forceValue':_0xb9f5da}]});});}),_0x329b43['_descriptionFactory'][_0xd271('0x2')](_0xfa0343=>{const {data:_0x596b52}=_0xfa0343;if(_0x596b52&&_0xd271('0x18')==_0x596b52[_0xd271('0x17')]){const _0x2e0e28=_0x51f1ef(_0x3d65ed,'ELEMENT_BLOCK_QUOTE');return _0x596b52[_0xd271('0x10')][0x0][_0xd271('0xa')]?{'type':_0xd271('0x8'),'content':_0x51f1ef(_0x3d65ed,_0xd271('0x1'),_0x2e0e28)}:{'type':'format','content':_0x51f1ef(_0x3d65ed,_0xd271('0xf'),_0x2e0e28)};}});}}function oo(_0x114146){return _0xd271('0x18')==_0x114146[_0xd271('0xc')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3be2=['ckbox','get','plugins','TrackChangesEditing'];(function(_0x508cf2,_0x3be247){const _0x7ae0ba=function(_0x12485e){while(--_0x12485e){_0x508cf2['push'](_0x508cf2['shift']());}};_0x7ae0ba(++_0x3be247);}(_0x3be2,0x1b6));const _0x7ae0=function(_0x508cf2,_0x3be247){_0x508cf2=_0x508cf2-0x0;let _0x7ae0ba=_0x3be2[_0x508cf2];return _0x7ae0ba;};import{Plugin as _0x1fa66e}from'ckeditor5/src/core';export default class E extends _0x1fa66e{['afterInit'](){const _0x30795d=this['editor'];_0x30795d['commands']['get'](_0x7ae0('0x2'))&&_0x30795d[_0x7ae0('0x0')][_0x7ae0('0x3')](_0x7ae0('0x1'))['enableCommand']('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ac1=['language','_descriptionFactory','*Format:*\x20%0','filter','CodeBlock','markBlockFormat','indentCodeBlock','from','registerElementLabel','name','formatBlock','outdentCodeBlock','selection','blockName','editor','locale','has','forceValue','ELEMENT_CODE_BLOCK','afterInit','registerDescriptionCallback','languages','change','label','parent','checkChild','enableCommand','plugins','document','rootElement','getSelectedBlocks','schema','codeBlock','TrackChangesEditing','model','value','find','format','get','commandParams'];(function(_0x37090b,_0x1ac181){const _0x411a95=function(_0x1eff19){while(--_0x1eff19){_0x37090b['push'](_0x37090b['shift']());}};_0x411a95(++_0x1ac181);}(_0x1ac1,0x14b));const _0x411a=function(_0x37090b,_0x1ac181){_0x37090b=_0x37090b-0x0;let _0x411a95=_0x1ac1[_0x37090b];return _0x411a95;};import{Plugin as _0x3e9a00}from'ckeditor5/src/core';import{getTranslation as _0x58c09b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3e1901}from'../utils/utils';export default class F extends _0x3e9a00{[_0x411a('0x8')](){const _0x2abb61=this[_0x411a('0x3')];if(!_0x2abb61[_0x411a('0x10')][_0x411a('0x5')](_0x411a('0x21')))return;const _0x34b0c7=_0x2abb61['plugins'][_0x411a('0x1b')](_0x411a('0x16')),_0x29e456=_0x2abb61[_0x411a('0x4')],_0x11602a=_0x2abb61['config'][_0x411a('0x1b')](_0x411a('0x15'))[_0x411a('0xa')],_0x293c28=_0x2abb61['commands'][_0x411a('0x1b')](_0x411a('0x15'));_0x34b0c7[_0x411a('0xf')](_0x411a('0x23')),_0x34b0c7[_0x411a('0xf')](_0x411a('0x0')),_0x34b0c7[_0x411a('0xf')]('codeBlock',(_0x408f87,_0x180cb7={})=>{const _0xa67fd0=_0x2abb61[_0x411a('0x17')],_0x1acb7e=_0x2abb61[_0x411a('0x17')][_0x411a('0x11')][_0x411a('0x1')],_0x3dbb56=_0x180cb7&&void 0x0!==_0x180cb7['forceValue']?_0x180cb7[_0x411a('0x6')]:!_0x293c28[_0x411a('0x18')];let _0x4e659c;_0x180cb7[_0x411a('0x1d')]||(_0x180cb7[_0x411a('0x1d')]=_0x11602a[0x0][_0x411a('0x1d')]),_0x4e659c=_0x3dbb56?Array[_0x411a('0x24')](_0x1acb7e[_0x411a('0x13')]())['filter'](_0x5e1177=>co(_0x5e1177)||function(_0x30f4d1,_0x55137f){if(_0x30f4d1['is'](_0x411a('0x12'))||_0x55137f['isLimit'](_0x30f4d1))return!0x1;return _0x55137f[_0x411a('0xe')](_0x30f4d1[_0x411a('0xd')],'codeBlock');}(_0x5e1177,_0xa67fd0[_0x411a('0x14')])):Array[_0x411a('0x24')](_0x1acb7e[_0x411a('0x13')]())[_0x411a('0x20')](_0x5199e2=>co(_0x5199e2));const _0x3184e4=_0x3e1901(_0x4e659c,_0xa67fd0);_0xa67fd0[_0x411a('0xb')](()=>{for(const _0x3be019 of _0x3184e4)_0x34b0c7[_0x411a('0x22')](_0x3be019,{'commandName':'codeBlock','commandParams':[{..._0x180cb7,'forceValue':_0x3dbb56}],'formatGroupId':_0x411a('0x2')});});}),(_0x34b0c7[_0x411a('0x1e')][_0x411a('0x25')](_0x411a('0x15'),_0x472000=>_0x58c09b(_0x29e456,_0x411a('0x7'),_0x472000)),_0x34b0c7[_0x411a('0x1e')][_0x411a('0x9')](_0x1df985=>{const _0x7b0f4a=_0x29e456['t'],{type:_0x52e15b,data:_0x2edd4b}=_0x1df985;if(_0x411a('0x27')==_0x52e15b&&_0x2edd4b&&'codeBlock'==_0x2edd4b['commandName']){const _0x5de6a1=_0x2edd4b[_0x411a('0x1c')][0x0][_0x411a('0x1d')],_0x1434c6=_0x7b0f4a(_0x11602a[_0x411a('0x19')](_0x11112a=>_0x11112a['language']===_0x5de6a1)[_0x411a('0xc')]);return _0x2edd4b[_0x411a('0x1c')][0x0][_0x411a('0x6')]?{'type':_0x411a('0x1a'),'content':_0x58c09b(_0x29e456,_0x411a('0x1f'),_0x58c09b(_0x29e456,_0x411a('0x7'),0x1)+'\x20('+_0x1434c6+')')}:{'type':_0x411a('0x1a'),'content':_0x58c09b(_0x29e456,'*Remove\x20format:*\x20%0',_0x58c09b(_0x29e456,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function co(_0x444d0f){return'codeBlock'==_0x444d0f[_0x411a('0x26')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33cd=['has','plugins','CommentsEditing','enableCommand','TrackChangesEditing','afterInit'];(function(_0x316356,_0x33cd83){const _0xdfd2b9=function(_0x3bab32){while(--_0x3bab32){_0x316356['push'](_0x316356['shift']());}};_0xdfd2b9(++_0x33cd83);}(_0x33cd,0x70));const _0xdfd2=function(_0x316356,_0x33cd83){_0x316356=_0x316356-0x0;let _0xdfd2b9=_0x33cd[_0x316356];return _0xdfd2b9;};import{Plugin as _0x21b16b}from'ckeditor5/src/core';export default class G extends _0x21b16b{[_0xdfd2('0x1')](){const _0x52179b=this['editor'];if(!_0x52179b[_0xdfd2('0x3')][_0xdfd2('0x2')](_0xdfd2('0x4')))return;_0x52179b[_0xdfd2('0x3')]['get'](_0xdfd2('0x0'))[_0xdfd2('0x5')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28b6=['batch','lock','buffer','modifySelection','getFirstRange','unbindElementFromMarkerName','fromRange','root','requires','detach','editing','model','$graveyard','enqueueChange','addMarker:suggestion:deletion','enableCommand','removeMarker:suggestion:deletion','end','createSelection','document','get','selection','merge','createRange','markerName','markerNameToElements','mapper','writer','forward','high','bind','editor','delete','options','deleteForward','start','data','isCollapsed','plugins','downcastDispatcher','unlock'];(function(_0x90c62e,_0x28b60e){const _0x2abe28=function(_0x276911){while(--_0x276911){_0x90c62e['push'](_0x90c62e['shift']());}};_0x2abe28(++_0x28b60e);}(_0x28b6,0x8a));const _0x2abe=function(_0x90c62e,_0x28b60e){_0x90c62e=_0x90c62e-0x0;let _0x2abe28=_0x28b6[_0x90c62e];return _0x2abe28;};import{Plugin as _0x7a73d3}from'ckeditor5/src/core';import{LiveRange as _0x25f6eb}from'ckeditor5/src/engine';import{Delete as _0x2a0ba0}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x8e8261}from'./utils';export default class L extends _0x7a73d3{static get[_0x2abe('0x22')](){return[_0x2a0ba0];}['init'](){const _0x1b2b56=this[_0x2abe('0x10')],_0x59d9dc=_0x1b2b56[_0x2abe('0x17')][_0x2abe('0x5')]('TrackChangesEditing');_0x59d9dc['enableCommand'](_0x2abe('0x11'));const _0x49938d=_0x1b2b56['commands'][_0x2abe('0x5')]('deleteForward');_0x59d9dc[_0x2abe('0x0')](_0x2abe('0x13'),(_0x42fcd6,_0x26e0f9={})=>{const _0x4f1304=_0x1b2b56[_0x2abe('0x25')][_0x2abe('0x3')](_0x1b2b56['model'][_0x2abe('0x4')][_0x2abe('0x6')]);_0x4f1304[_0x2abe('0x16')]&&_0x1b2b56['model'][_0x2abe('0x1d')](_0x4f1304,{'direction':_0x2abe('0xd'),'unit':_0x26e0f9['unit']});const _0x132877=_0x4f1304[_0x2abe('0x1e')](),_0x22eb44=_0x25f6eb[_0x2abe('0x20')](_0x132877);let _0x56e5c1;_0x42fcd6(_0x26e0f9),_0x56e5c1=_0x2abe('0x26')==_0x22eb44[_0x2abe('0x21')]['rootName']?_0x1b2b56[_0x2abe('0x25')][_0x2abe('0x8')](_0x132877[_0x2abe('0x14')]):_0x1b2b56[_0x2abe('0x25')][_0x2abe('0x8')](_0x22eb44[_0x2abe('0x14')],_0x22eb44[_0x2abe('0x2')]),_0x22eb44[_0x2abe('0x23')](),_0x1b2b56[_0x2abe('0x25')][_0x2abe('0x27')](_0x49938d[_0x2abe('0x1c')][_0x2abe('0x1a')],_0x9c5d87=>{_0x49938d['buffer'][_0x2abe('0x1b')](),_0x9c5d87['setSelection'](_0x9c5d87[_0x2abe('0x8')](_0x56e5c1['end'])),_0x49938d[_0x2abe('0x1c')][_0x2abe('0x19')]();});}),_0x1b2b56[_0x2abe('0x24')][_0x2abe('0x18')]['on'](_0x2abe('0x28'),_0x8e8261(_0x1b2b56,_0x2abe('0x7')),{'priority':'high'}),_0x1b2b56[_0x2abe('0x15')][_0x2abe('0x18')]['on']('addMarker:suggestion:deletion',(_0x1894ec,_0x237f94,_0x31bd9c)=>{_0x31bd9c[_0x2abe('0x12')]['showSuggestionHighlights']&&_0x8e8261(_0x1b2b56,_0x2abe('0x7'),{'showActiveMarker':!0x1})[_0x2abe('0xf')](this)(_0x1894ec,_0x237f94,_0x31bd9c);},{'priority':_0x2abe('0xe')}),_0x1b2b56[_0x2abe('0x24')][_0x2abe('0x18')]['on'](_0x2abe('0x1'),(_0x4c26b9,_0x5cf706,_0x542f2d)=>{const _0x1c7683=_0x542f2d[_0x2abe('0xb')][_0x2abe('0xa')](_0x5cf706['markerName']);if(_0x1c7683)for(const _0x5e54c6 of _0x1c7683)_0x5e54c6['is']('uiElement')&&(_0x542f2d[_0x2abe('0xb')][_0x2abe('0x1f')](_0x5e54c6,_0x5cf706[_0x2abe('0x9')]),_0x542f2d[_0x2abe('0xc')]['remove'](_0x5e54c6));},{'priority':_0x2abe('0xe')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x255a=['createPositionAt','registerCustomCallback','execute','_descriptionFactory','splitListItemBefore','mergeListItemBackward','listItemId','bulletedList','*Format:*\x20remove\x20from\x20%0','*Format:*\x20insert\x20into\x20%0','isFirstBlockOfListItem','fromRange','paragraph','listType','accept','toUpperCase','documentList','_suggestionFactory','listIndent','forceValue','schema','selection','*Change\x20to:*\x20%0','value','change','markMultiRangeBlockFormat','config','_LIST','previousSibling','getRanges','nodeAfter','getAttribute','enableCommand','markBlockFormat','numberedList','deletion','commands','ELEMENT_NUMBERED_LIST','commandName','ELEMENT_','commandParams','document','plugins','detach','setSelection','createRange','refresh','TrackChangesEditing','parent','has','nextSibling','push','*Merge:*\x20%0','hasAttribute','slice','mergeListItemForward','formatBlock','indentList','splitListItemAfter','get','list.multiBlock','expandListBlocksToCompleteList','ELEMENT_LIST_ITEM','after','model','outdentList','getFirstRange','start','format','from','getSelectedBlocks','before'];(function(_0x141f34,_0x255af9){const _0x895a49=function(_0x54e0f2){while(--_0x54e0f2){_0x141f34['push'](_0x141f34['shift']());}};_0x895a49(++_0x255af9);}(_0x255a,0xb8));const _0x895a=function(_0x141f34,_0x255af9){_0x141f34=_0x141f34-0x0;let _0x895a49=_0x255a[_0x141f34];return _0x895a49;};import{Plugin as _0x41ec77}from'ckeditor5/src/core';import{getTranslation as _0x31c731}from'../utils/common-translations';import{LiveRange as _0x55a66a}from'ckeditor5/src/engine';export default class q extends _0x41ec77{['afterInit'](){const _0xd57aa4=this['editor'];if(!_0xd57aa4[_0x895a('0x2')][_0x895a('0x9')]('DocumentListEditing'))return;const _0x522e71=_0xd57aa4['locale'],_0x50f693=_0xd57aa4[_0x895a('0x2')]['get'](_0x895a('0x7')),_0x262a99=_0xd57aa4[_0x895a('0x2')][_0x895a('0x13')]('DocumentListUtils');function _0x5a7940(_0x291361){return()=>{const _0x1d2de9=_0xd57aa4[_0x895a('0x44')][_0x895a('0x13')](_0x291361);if(_0x1d2de9[_0x895a('0x37')]&&!_0xd57aa4[_0x895a('0x3a')][_0x895a('0x13')]('list.multiBlock'))return void _0xd57aa4[_0x895a('0x22')](_0x895a('0x2c'),{});let _0x433808=Array[_0x895a('0x1d')](_0xd57aa4[_0x895a('0x18')][_0x895a('0x1')][_0x895a('0x35')][_0x895a('0x1e')]());if(_0x55fed5(_0x291361)){_0x433808=_0x262a99[_0x895a('0x15')](_0x433808);const _0x259446=[];for(const _0x4c8d44 of _0x433808)_0x262a99[_0x895a('0x2a')](_0x4c8d44)&&_0x259446['push'](_0x4c8d44);_0x433808=_0x259446;}_0xd57aa4[_0x895a('0x18')][_0x895a('0x38')](()=>{_0x50f693[_0x895a('0x39')](_0x433808,{'commandName':_0x291361,'commandParams':[{'forceValue':!_0x1d2de9[_0x895a('0x37')]}],'formatGroupId':_0x895a('0x2d')},[],_0x895a('0x30'));});};}function _0x124fe8(_0x571dc3){return()=>{const _0x86261d=function(_0x3c9426){let _0x43766d=Array[_0x895a('0x1d')](_0x3c9426);const _0x23fbd5=_0x43766d['findIndex'](_0x5b6745=>!_0x5b6745[_0x895a('0xd')]('listItemId'));return _0x23fbd5>-0x1&&(_0x43766d=_0x43766d[_0x895a('0xe')](0x0,_0x23fbd5)),_0x43766d;}(_0xd57aa4[_0x895a('0x18')][_0x895a('0x1')][_0x895a('0x35')]['getSelectedBlocks']()),_0x4e0536=_0x86261d[_0x86261d['length']-0x1],_0x4f47e7=_0xd57aa4[_0x895a('0x18')][_0x895a('0x34')]['isObject'](_0x4e0536)?_0x895a('0x17'):'end',_0x17d3a4=_0xd57aa4[_0x895a('0x18')][_0x895a('0x5')](_0xd57aa4[_0x895a('0x18')][_0x895a('0x20')](_0x86261d[0x0],'before'),_0xd57aa4[_0x895a('0x18')][_0x895a('0x20')](_0x4e0536,_0x4f47e7));_0xd57aa4[_0x895a('0x18')][_0x895a('0x38')](()=>{_0x50f693[_0x895a('0x41')](_0x17d3a4,{'commandName':_0x571dc3,'commandParams':[],'formatGroupId':_0x895a('0x2d')},function(_0x4434c2){const _0x5e8259=new Set();for(const _0x401c48 of _0x4434c2){let _0x5991ba=_0x401c48[_0x895a('0xa')];for(;_0x5991ba&&_0x5991ba[_0x895a('0x3f')](_0x895a('0x32'))>_0x401c48[_0x895a('0x3f')](_0x895a('0x32'));)_0x5e8259['add'](_0x5991ba),_0x5991ba=_0x5991ba['nextSibling'];}return Array[_0x895a('0x1d')](_0x5e8259);}(_0x86261d));});};}function _0x3c3a51(_0xd1eb1e){return()=>{const _0x17c362=_0xd57aa4[_0x895a('0x18')][_0x895a('0x1')][_0x895a('0x35')][_0x895a('0x1e')]()['next']()[_0x895a('0x37')],_0x4567ca=_0xd57aa4[_0x895a('0x18')][_0x895a('0x20')](_0x17c362,_0x895a('0x1f')),_0x4bbbb6=_0xd57aa4[_0x895a('0x18')][_0x895a('0x20')](_0x17c362,0x0),_0x6bba6b=_0xd57aa4[_0x895a('0x18')][_0x895a('0x5')](_0x4567ca,_0x4bbbb6);_0xd57aa4[_0x895a('0x18')][_0x895a('0x38')](()=>{_0x50f693['markBlockFormat'](_0x6bba6b,{'commandName':_0xd1eb1e,'commandParams':[],'formatGroupId':_0x895a('0x2d')});});};}function _0x55fed5(_0x43fba6){const _0x1a3c90=_0xd57aa4['commands'][_0x895a('0x13')]('bulletedList')[_0x895a('0x37')],_0xf828ad=_0xd57aa4[_0x895a('0x44')][_0x895a('0x13')](_0x895a('0x42'))[_0x895a('0x37')];return _0x895a('0x42')===_0x43fba6?_0x1a3c90:_0xf828ad;}_0x50f693[_0x895a('0x40')](_0x895a('0x42'),_0x5a7940(_0x895a('0x42'))),_0x50f693[_0x895a('0x40')]('bulletedList',_0x5a7940(_0x895a('0x27'))),_0x50f693['enableCommand'](_0x895a('0x11'),_0x124fe8(_0x895a('0x11'))),_0x50f693[_0x895a('0x40')](_0x895a('0x19'),_0x124fe8(_0x895a('0x19'))),_0x50f693['enableCommand']('splitListItemAfter',_0x3c3a51(_0x895a('0x12'))),_0x50f693['enableCommand'](_0x895a('0x24'),_0x3c3a51(_0x895a('0x24'))),_0x50f693[_0x895a('0x23')]['registerElementLabel'](function(_0x518f9f){const _0x171920=!_0xd57aa4[_0x895a('0x18')][_0x895a('0x34')]['isObject'](_0x518f9f),_0x101ef1=_0x518f9f[_0x895a('0x3c')],_0xd175ff=_0x518f9f[_0x895a('0xa')],_0xe89128=_0x518f9f[_0x895a('0x3f')](_0x895a('0x26')),_0x35bd83=!_0x101ef1||_0x101ef1[_0x895a('0x3f')]('listItemId')!==_0xe89128,_0x170f5f=!_0xd175ff||_0xd175ff[_0x895a('0x3f')](_0x895a('0x26'))!==_0xe89128;return _0x171920&&Boolean(_0xe89128)&&_0x35bd83&&_0x170f5f;},_0x4474ec=>_0x31c731(_0x522e71,_0x895a('0x16'),_0x4474ec)),_0x50f693['_descriptionFactory']['registerDescriptionCallback'](function(_0xad3e3a){const {data:_0x4bd5a6}=_0xad3e3a;if(!_0x4bd5a6)return;let _0xa2fbd,_0x81c750,_0x448d53,_0x17f8a1;switch(_0x4bd5a6[_0x895a('0x46')]){case _0x895a('0x27'):_0x448d53=_0x4bd5a6['commandParams'][0x0][_0x895a('0x33')],_0x17f8a1=_0x55fed5(_0x4bd5a6[_0x895a('0x46')]),_0xa2fbd=_0x448d53?_0x895a('0x29'):'*Format:*\x20remove\x20from\x20%0',!_0x17f8a1&&_0xd57aa4[_0x895a('0x3a')]['get'](_0x895a('0x14'))||(_0xa2fbd=_0x895a('0x36')),_0x81c750={'type':_0x895a('0x1c'),'content':_0x31c731(_0x522e71,_0xa2fbd,_0x31c731(_0x522e71,'ELEMENT_BULLETED_LIST'))};break;case _0x895a('0x42'):_0x448d53=_0x4bd5a6[_0x895a('0x0')][0x0][_0x895a('0x33')],_0x17f8a1=_0x55fed5(_0x4bd5a6[_0x895a('0x46')]),_0xa2fbd=_0x448d53?_0x895a('0x29'):_0x895a('0x28'),!_0x17f8a1&&_0xd57aa4[_0x895a('0x3a')][_0x895a('0x13')](_0x895a('0x14'))||(_0xa2fbd=_0x895a('0x36')),_0x81c750={'type':_0x895a('0x1c'),'content':_0x31c731(_0x522e71,_0xa2fbd,_0x31c731(_0x522e71,_0x895a('0x45')))};break;case _0x895a('0x11'):_0xa2fbd='*Indent:*\x20%0',_0x81c750={'type':'format','content':_0x31c731(_0x522e71,_0xa2fbd,_0x31c731(_0x522e71,'ELEMENT_LIST_ITEM'))};break;case _0x895a('0x19'):_0xa2fbd=function(_0x558136){const _0x318854=_0x558136[_0x895a('0x1a')]();let _0x5c1624=_0x318854[_0x895a('0x1b')][_0x895a('0x3e')];for(;_0x5c1624&&_0x318854['containsItem'](_0x5c1624);){if(_0x5c1624['getAttribute'](_0x895a('0x32'))>0x0)return!0x1;_0x5c1624=_0x5c1624[_0x895a('0xa')];}return!0x0;}(_0xad3e3a)?_0x31c731(_0x522e71,_0x895a('0x28'),_0x31c731(_0x522e71,function(_0x30e43e){const _0x4bf87d=_0x30e43e['getFirstRange']()[_0x895a('0x1b')][_0x895a('0x3e')];return _0x895a('0x47')+_0x4bf87d[_0x895a('0x3f')](_0x895a('0x2d'))[_0x895a('0x2f')]()+_0x895a('0x3b');}(_0xad3e3a))):_0x31c731(_0x522e71,'*Outdent:*\x20%0',_0x31c731(_0x522e71,'ELEMENT_LIST_ITEM')),_0x81c750={'type':_0x895a('0x1c'),'content':_0xa2fbd};break;case _0x895a('0x25'):case _0x895a('0xf'):!0x1===_0x4bd5a6['multipleBlocks']&&(_0xa2fbd=_0x895a('0xc'),_0x81c750={'type':_0x895a('0x43'),'content':_0x31c731(_0x522e71,_0xa2fbd,_0x31c731(_0x522e71,'ELEMENT_LIST_ITEM'))});}return _0x81c750;}),_0x50f693[_0x895a('0x31')][_0x895a('0x21')](_0x895a('0x10'),_0x895a('0x30'),_0x895a('0x2e'),function(_0x25608b,_0x380c31){const _0x3b64fa=[];for(let _0x745b4d of _0x25608b)_0x745b4d[_0x895a('0x1b')][_0x895a('0x3e')]===_0x745b4d['end'][_0x895a('0x8')]&&(_0x745b4d=_0xd57aa4[_0x895a('0x18')][_0x895a('0x5')](_0xd57aa4[_0x895a('0x18')][_0x895a('0x20')](_0x745b4d[_0x895a('0x1b')]['nodeAfter'],0x0))),_0x3b64fa[_0x895a('0xb')](_0x745b4d);_0xd57aa4[_0x895a('0x18')][_0x895a('0x38')](_0x5048fb=>{const _0x549b58=_0xd57aa4[_0x895a('0x18')][_0x895a('0x1')][_0x895a('0x35')],_0x34d0dc=Array[_0x895a('0x1d')](_0x549b58[_0x895a('0x3d')]())['map'](_0x4064de=>_0x55a66a[_0x895a('0x2b')](_0x4064de));_0x5048fb[_0x895a('0x4')](_0x3b64fa),_0xd57aa4[_0x895a('0x44')][_0x895a('0x13')](_0x380c31[_0x895a('0x46')])[_0x895a('0x6')](),_0x380c31[_0x895a('0x0')]['push']({'forceDefaultExecution':!0x0}),_0xd57aa4['execute'](_0x380c31['commandName'],..._0x380c31['commandParams']),_0x5048fb[_0x895a('0x4')](_0x34d0dc);for(const _0x5ea68c of _0x34d0dc)_0x5ea68c[_0x895a('0x3')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56e9=['listStart','has','format','startIndex','_getSuggestionBlocks','expandListBlocksToCompleteList','markMultiRangeBlockFormat','type','*Format:*\x20set\x20order\x20to\x20reversed','listType','handleListStyleCommand','locale','handleListStartCommand','get','*Format:*\x20set\x20order\x20to\x20regular','from','document','model','bind','numbered','_getTranslationKeyForListStyle','_getSuggestionBlocksForListStyle','DocumentListUtils','TrackChangesEditing','registerDescriptionCallback','handleDescriptions','length','*Format:*\x20set\x20start\x20index\x20to\x20%0','config','replace','commandParams','reversed','getListTypeFromListStyleType','selection','commandName','DocumentListPropertiesUtils','getAttribute','_LIST_','listStyle','ELEMENT_','isListItemBlock','afterInit','_descriptionFactory','handleListReversedCommand','editor','change','getSelectedBlocks','styles','toUpperCase','plugins','push','enableCommand'];(function(_0x4c13be,_0x56e942){const _0x1ba22f=function(_0x3891be){while(--_0x3891be){_0x4c13be['push'](_0x4c13be['shift']());}};_0x1ba22f(++_0x56e942);}(_0x56e9,0x1a3));const _0x1ba2=function(_0x4c13be,_0x56e942){_0x4c13be=_0x4c13be-0x0;let _0x1ba22f=_0x56e9[_0x4c13be];return _0x1ba22f;};import{Plugin as _0x312a5e}from'ckeditor5/src/core';import{getTranslation as _0x253ffc}from'../utils/common-translations';export default class Ct extends _0x312a5e{[_0x1ba2('0x26')](){if(!this[_0x1ba2('0x29')][_0x1ba2('0x2e')][_0x1ba2('0x32')]('DocumentListPropertiesEditing'))return;const _0x4d70ab=this[_0x1ba2('0x29')][_0x1ba2('0x19')][_0x1ba2('0xa')]('list.properties'),_0x5612d7=this[_0x1ba2('0x29')][_0x1ba2('0x2e')][_0x1ba2('0xa')](_0x1ba2('0x14'));_0x4d70ab[_0x1ba2('0x2c')]&&_0x5612d7[_0x1ba2('0x30')](_0x1ba2('0x23'),this[_0x1ba2('0x7')][_0x1ba2('0xf')](this)),_0x4d70ab['reversed']&&_0x5612d7['enableCommand']('listReversed',this[_0x1ba2('0x28')][_0x1ba2('0xf')](this)),_0x4d70ab[_0x1ba2('0x0')]&&_0x5612d7['enableCommand'](_0x1ba2('0x31'),this[_0x1ba2('0x9')]['bind'](this)),_0x5612d7[_0x1ba2('0x27')][_0x1ba2('0x15')](this[_0x1ba2('0x16')][_0x1ba2('0xf')](this));}['handleListStyleCommand'](_0x1a3182,_0x37137f={}){const _0xfe1c78=this[_0x1ba2('0x29')][_0x1ba2('0x2e')][_0x1ba2('0xa')](_0x1ba2('0x14')),_0x16a367=this[_0x1ba2('0x12')]();this[_0x1ba2('0x29')]['model'][_0x1ba2('0x2a')](()=>{_0xfe1c78[_0x1ba2('0x3')](_0x16a367,{'commandName':'listStyle','commandParams':[{'type':_0x37137f[_0x1ba2('0x4')]}],'formatGroupId':'listStyle'});});}[_0x1ba2('0x28')](_0xed43c,_0x4c4e2c={}){const _0x2cfc88=this[_0x1ba2('0x29')][_0x1ba2('0x2e')][_0x1ba2('0xa')]('TrackChangesEditing'),_0x53eb81=this[_0x1ba2('0x29')]['plugins'][_0x1ba2('0xa')](_0x1ba2('0x13')),_0x358855=this['_getSuggestionBlocks'](_0xf7bcff=>_0x53eb81[_0x1ba2('0x25')](_0xf7bcff)&&'numbered'===_0xf7bcff[_0x1ba2('0x21')](_0x1ba2('0x6')));null!==_0x358855&&this[_0x1ba2('0x29')][_0x1ba2('0xe')][_0x1ba2('0x2a')](()=>{_0x2cfc88[_0x1ba2('0x3')](_0x358855,{'commandName':'listReversed','commandParams':[{'reversed':_0x4c4e2c[_0x1ba2('0x1c')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x51c054,_0x2e9e64={}){const _0x6837bf=this[_0x1ba2('0x29')]['plugins'][_0x1ba2('0xa')](_0x1ba2('0x14')),_0x4f6f41=this[_0x1ba2('0x29')][_0x1ba2('0x2e')][_0x1ba2('0xa')](_0x1ba2('0x13')),_0x3273f6=this[_0x1ba2('0x1')](_0x1d3ccc=>_0x4f6f41['isListItemBlock'](_0x1d3ccc)&&_0x1ba2('0x10')===_0x1d3ccc[_0x1ba2('0x21')](_0x1ba2('0x6')));null!==_0x3273f6&&this[_0x1ba2('0x29')][_0x1ba2('0xe')][_0x1ba2('0x2a')](()=>{_0x6837bf[_0x1ba2('0x3')](_0x3273f6,{'commandName':_0x1ba2('0x31'),'commandParams':[{'startIndex':_0x2e9e64[_0x1ba2('0x0')]}],'formatGroupId':_0x1ba2('0x31')});});}[_0x1ba2('0x16')](_0x906247){const _0x514286=this['editor'][_0x1ba2('0x8')],{data:_0x47fbc7}=_0x906247;if(!_0x47fbc7)return;let _0x378780,_0x43c0bb;switch(_0x47fbc7[_0x1ba2('0x1f')]){case _0x1ba2('0x23'):_0x378780='*Change\x20to:*\x20%0',_0x43c0bb={'type':_0x1ba2('0x33'),'content':_0x253ffc(_0x514286,_0x378780,_0x253ffc(_0x514286,this[_0x1ba2('0x11')](_0x47fbc7[_0x1ba2('0x1b')][0x0][_0x1ba2('0x4')])))};break;case'listReversed':_0x378780=_0x47fbc7[_0x1ba2('0x1b')][0x0]['reversed']?_0x1ba2('0x5'):_0x1ba2('0xb'),_0x43c0bb={'type':_0x1ba2('0x33'),'content':_0x253ffc(_0x514286,_0x378780)};break;case'listStart':_0x378780=_0x1ba2('0x18'),_0x43c0bb={'type':_0x1ba2('0x33'),'content':_0x253ffc(_0x514286,_0x378780,_0x47fbc7[_0x1ba2('0x1b')][0x0][_0x1ba2('0x0')])};}return _0x43c0bb;}[_0x1ba2('0x12')](){const _0x399036=this[_0x1ba2('0x29')][_0x1ba2('0x2e')][_0x1ba2('0xa')](_0x1ba2('0x13'));let _0x5b8aa0=Array[_0x1ba2('0xc')](this['editor'][_0x1ba2('0xe')][_0x1ba2('0xd')][_0x1ba2('0x1e')][_0x1ba2('0x2b')]());return _0x5b8aa0[_0x1ba2('0x2f')](..._0x399036[_0x1ba2('0x2')](_0x5b8aa0)),_0x5b8aa0=[...new Set(_0x5b8aa0)],_0x5b8aa0;}[_0x1ba2('0x1')](_0x4d7232){const _0x201668=this['editor'][_0x1ba2('0x2e')][_0x1ba2('0xa')]('DocumentListUtils');let _0x2fcc23=Array['from'](this[_0x1ba2('0x29')][_0x1ba2('0xe')][_0x1ba2('0xd')][_0x1ba2('0x1e')][_0x1ba2('0x2b')]())['filter'](_0x4d7232);if(!_0x2fcc23[_0x1ba2('0x17')])return null;_0x2fcc23=_0x201668[_0x1ba2('0x2')](_0x2fcc23);const _0x4a55b9=[];for(const _0xa4a90 of _0x2fcc23)_0x201668['isFirstBlockOfListItem'](_0xa4a90)&&_0x4a55b9[_0x1ba2('0x2f')](_0xa4a90);return _0x4a55b9;}[_0x1ba2('0x11')](_0x33c7d7){return _0x1ba2('0x24')+this['editor']['plugins']['get'](_0x1ba2('0x20'))[_0x1ba2('0x1d')](_0x33c7d7)[_0x1ba2('0x2d')]()+_0x1ba2('0x22')+_0x33c7d7[_0x1ba2('0x2d')]()[_0x1ba2('0x1a')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1eda=['enableCommand','requires','createRange','showSuggestionHighlights','init','end','remove','parent','afterExecute','high','get','hasClass','createPositionAt','enterBlock','downcastDispatcher','document','markerNameToElements','addMarker:suggestion:insertion','fromRange','detach','mapper','markerName','split','commands','options','plugins','setSelection','unbindElementFromMarkerName','bind','selection','TrackChangesEditing','ck-suggestion-marker-split','nextSibling','getFirstRange','editing','change','markInsertion','getFirstPosition','data','enter','removeMarker:suggestion:insertion'];(function(_0x5e32e0,_0x1edadd){const _0x433fd8=function(_0x16557b){while(--_0x16557b){_0x5e32e0['push'](_0x5e32e0['shift']());}};_0x433fd8(++_0x1edadd);}(_0x1eda,0x1f0));const _0x433f=function(_0x5e32e0,_0x1edadd){_0x5e32e0=_0x5e32e0-0x0;let _0x433fd8=_0x1eda[_0x5e32e0];return _0x433fd8;};import{Plugin as _0x32d65d}from'ckeditor5/src/core';import{Enter as _0x4da1d4}from'ckeditor5/src/enter';import{LiveRange as _0xaaaf3d}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x25ff08}from'./utils';export default class z extends _0x32d65d{static get[_0x433f('0x26')](){return[_0x4da1d4];}[_0x433f('0x0')](){const _0x44e3d9=this['editor'],_0x5ca7be=_0x44e3d9[_0x433f('0x15')][_0x433f('0x6')](_0x433f('0x1a')),_0x365220=_0x44e3d9[_0x433f('0x13')][_0x433f('0x6')](_0x433f('0x23'));_0x5ca7be[_0x433f('0x25')](_0x433f('0x23'),()=>{_0x44e3d9['model'][_0x433f('0x1f')](_0x526b8a=>{const _0x44f72e=_0x44e3d9['model'][_0x433f('0xb')][_0x433f('0x19')],_0xab916a=_0x44f72e[_0x433f('0x21')](),_0x1a4ce6=_0xaaaf3d[_0x433f('0xe')](_0x44f72e[_0x433f('0x1d')]());if(_0x365220[_0x433f('0x9')](_0x526b8a)){const _0x5b5a09=_0x44e3d9['model'][_0x433f('0x8')](_0xab916a[_0x433f('0x3')][_0x433f('0x1c')],0x0),_0x2f1f70=_0x526b8a['createRange'](_0xab916a,_0x5b5a09);_0x5ca7be[_0x433f('0x20')](_0x2f1f70);}else _0x526b8a[_0x433f('0x16')](_0x526b8a[_0x433f('0x27')](_0x1a4ce6[_0x433f('0x1')]));_0x1a4ce6[_0x433f('0xf')](),_0x365220['fire'](_0x433f('0x4'),{'writer':_0x526b8a});});}),_0x44e3d9['editing'][_0x433f('0xa')]['on'](_0x433f('0xd'),_0x25ff08(_0x44e3d9,_0x433f('0x12')),{'priority':_0x433f('0x5')}),_0x44e3d9[_0x433f('0x1e')]['downcastDispatcher']['on'](_0x433f('0x24'),(_0x53a2e2,_0x5c30f1,_0x2e01d9)=>{const _0x385016=_0x2e01d9[_0x433f('0x10')][_0x433f('0xc')](_0x5c30f1[_0x433f('0x11')]);if(_0x385016)for(const _0x479476 of _0x385016)_0x479476[_0x433f('0x7')](_0x433f('0x1b'))&&(_0x2e01d9[_0x433f('0x10')][_0x433f('0x17')](_0x479476,_0x5c30f1[_0x433f('0x11')]),_0x2e01d9['writer'][_0x433f('0x2')](_0x479476));},{'priority':_0x433f('0x5')}),_0x44e3d9[_0x433f('0x22')][_0x433f('0xa')]['on'](_0x433f('0xd'),(_0x26f9f2,_0x262cd7,_0x296193)=>{_0x296193[_0x433f('0x14')][_0x433f('0x28')]&&_0x25ff08(_0x44e3d9,_0x433f('0x12'),{'showActiveMarker':!0x1})[_0x433f('0x18')](this)(_0x26f9f2,_0x262cd7,_0x296193);},{'priority':_0x433f('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f39=['plugins','_isInDeletionRange','findByTextCallback','TrackChangesEditing','enableCommand','getRange','get','markers','replace','findNext','model','suggestion:deletion','filter','find','replaceAll','item','handleFindCommand','getMarkersGroup','editor','has','FindAndReplaceUtils','createPositionAt','bind','getIntersection','createRange'];(function(_0x47b90d,_0x3f3920){const _0x2c513c=function(_0x5ae4fd){while(--_0x5ae4fd){_0x47b90d['push'](_0x47b90d['shift']());}};_0x2c513c(++_0x3f3920);}(_0x3f39,0x191));const _0x2c51=function(_0x47b90d,_0x3f3920){_0x47b90d=_0x47b90d-0x0;let _0x2c513c=_0x3f39[_0x47b90d];return _0x2c513c;};import{Plugin as _0xf803c4}from'ckeditor5/src/core';export default class H extends _0xf803c4{['afterInit'](){if(!this['editor']['plugins'][_0x2c51('0x12')]('FindAndReplaceEditing'))return;const _0x3678e6=this[_0x2c51('0x11')][_0x2c51('0x18')][_0x2c51('0x5')](_0x2c51('0x2'));_0x3678e6[_0x2c51('0x3')](_0x2c51('0xc'),this[_0x2c51('0xf')][_0x2c51('0x15')](this)),_0x3678e6['enableCommand'](_0x2c51('0x8')),_0x3678e6[_0x2c51('0x3')]('findPrevious'),_0x3678e6[_0x2c51('0x3')](_0x2c51('0x7')),_0x3678e6['enableCommand'](_0x2c51('0xd'));}[_0x2c51('0xf')](_0x58c140,_0x541ba5,_0x598f61={}){const _0x575746=this[_0x2c51('0x11')][_0x2c51('0x18')][_0x2c51('0x5')](_0x2c51('0x13'));if(void 0x0!==_0x598f61)return _0x58c140(_0x6d502b=>('string'==typeof _0x541ba5?_0x575746[_0x2c51('0x1')](_0x541ba5,_0x598f61):_0x541ba5)(_0x6d502b)[_0x2c51('0xb')](_0x117e2a=>!0x1===this[_0x2c51('0x0')](_0x117e2a,_0x6d502b[_0x2c51('0xe')])),_0x598f61);}[_0x2c51('0x0')](_0xbce1b8,_0x283b4d){const _0x42440a=this['editor'][_0x2c51('0x9')][_0x2c51('0x17')](this[_0x2c51('0x11')]['model'][_0x2c51('0x14')](_0x283b4d,_0xbce1b8['start']),this[_0x2c51('0x11')]['model']['createPositionAt'](_0x283b4d,_0xbce1b8['end']));for(const _0x157a22 of this[_0x2c51('0x11')][_0x2c51('0x9')][_0x2c51('0x6')][_0x2c51('0x10')](_0x2c51('0xa')))if(null!==_0x42440a[_0x2c51('0x16')](_0x157a22[_0x2c51('0x4')]()))return!0x0;return!0x1;}}
|