@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231016.0 → 0.0.0-nightly-20231017.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-20231017.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-20231017.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231017.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 _0x4bc8=['getRanges','_suggestions','_isEnabledBasedOnSelection','acceptSuggestion','plugins','refresh','get','TrackChangesEditing','canEditAt','execute','editor','track-changes-accept-suggestion-not-found'];(function(_0x325c9b,_0x4bc829){const _0xa59c3b=function(_0x3fd9ea){while(--_0x3fd9ea){_0x325c9b['push'](_0x325c9b['shift']());}};_0xa59c3b(++_0x4bc829);}(_0x4bc8,0x137));const _0xa59c=function(_0x325c9b,_0x4bc829){_0x325c9b=_0x325c9b-0x0;let _0xa59c3b=_0x4bc8[_0x325c9b];return _0xa59c3b;};import{Command as _0x1f7f11}from'ckeditor5/src/core';import{CKEditorError as _0x1ba217}from'ckeditor5/src/utils';export default class M extends _0x1f7f11{constructor(_0x3beb36,_0x1f1d1c){super(_0x3beb36),this[_0xa59c('0x2')]=_0x1f1d1c,this['refresh'](),this[_0xa59c('0x3')]=!0x1;}[_0xa59c('0x6')](){this['isEnabled']=!0x0;}[_0xa59c('0xa')](_0x55c419){const _0x3404ec=this[_0xa59c('0x2')][_0xa59c('0x7')](_0x55c419);if(!_0x3404ec)throw new _0x1ba217(_0xa59c('0x0'),this);const _0x31d8c9=_0x3404ec[_0xa59c('0x1')]();this[_0xa59c('0xb')]['model'][_0xa59c('0x9')](_0x31d8c9)&&this[_0xa59c('0xb')][_0xa59c('0x5')][_0xa59c('0x7')](_0xa59c('0x8'))[_0xa59c('0x4')](_0x3404ec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd7c6=['TrackChangesEditing','model','_isEnabledBasedOnSelection','refresh','get','editor','canEditAt','execute','isEnabled','track-changes-discard-suggestion-not-found','_suggestions','plugins','discardSuggestion'];(function(_0x290a7a,_0xd7c6de){const _0x20fcd7=function(_0x3f0211){while(--_0x3f0211){_0x290a7a['push'](_0x290a7a['shift']());}};_0x20fcd7(++_0xd7c6de);}(_0xd7c6,0x110));const _0x20fc=function(_0x290a7a,_0xd7c6de){_0x290a7a=_0x290a7a-0x0;let _0x20fcd7=_0xd7c6[_0x290a7a];return _0x20fcd7;};import{Command as _0x119cef}from'ckeditor5/src/core';import{CKEditorError as _0x3147d0}from'ckeditor5/src/utils';export default class $ extends _0x119cef{constructor(_0x999b4e,_0x2c10a8){super(_0x999b4e),this['_suggestions']=_0x2c10a8,this['refresh'](),this[_0x20fc('0x3')]=!0x1;}[_0x20fc('0x4')](){this[_0x20fc('0x9')]=!0x0;}[_0x20fc('0x8')](_0x3d4ef8){const _0x366dd3=this[_0x20fc('0xb')][_0x20fc('0x5')](_0x3d4ef8);if(!_0x366dd3)throw new _0x3147d0(_0x20fc('0xa'),this);const _0x31b8e0=_0x366dd3['getRanges']();this[_0x20fc('0x6')][_0x20fc('0x2')][_0x20fc('0x7')](_0x31b8e0)&&this[_0x20fc('0x6')][_0x20fc('0xc')][_0x20fc('0x5')](_0x20fc('0x1'))[_0x20fc('0x0')](_0x366dd3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbf31=['from','some','_suggestions','refresh','editor','values','_isEnabledBasedOnSelection','isEnabled','model','_command'];(function(_0x4c9856,_0xbf3148){const _0x1ee5e2=function(_0x589851){while(--_0x589851){_0x4c9856['push'](_0x4c9856['shift']());}};_0x1ee5e2(++_0xbf3148);}(_0xbf31,0x1a6));const _0x1ee5=function(_0x4c9856,_0xbf3148){_0x4c9856=_0x4c9856-0x0;let _0x1ee5e2=_0xbf31[_0x4c9856];return _0x1ee5e2;};import{Command as _0x10672e}from'ckeditor5/src/core';import{sortSuggestions as _0x127ff4,executeCommandForSuggestions as _0x4f6906}from'../utils/utils';export default class N extends _0x10672e{constructor(_0x4aee32,_0x324f6b,_0x288722){super(_0x4aee32),this['_command']=_0x324f6b,this[_0x1ee5('0x0')]=_0x288722,this[_0x1ee5('0x1')](),this[_0x1ee5('0x4')]=!0x1;}[_0x1ee5('0x1')](){const _0x4789c4=Array[_0x1ee5('0x8')](this[_0x1ee5('0x0')][_0x1ee5('0x3')]())[_0x1ee5('0x9')](_0x14b4cb=>_0x14b4cb['isInContent']);this[_0x1ee5('0x5')]=this['_command'][_0x1ee5('0x5')]&&_0x4789c4;}['execute'](){const _0x5c0a81=_0x127ff4(Array[_0x1ee5('0x8')](this[_0x1ee5('0x0')][_0x1ee5('0x3')]()));for(const _0xab0b04 of _0x5c0a81){const _0x262ebb=_0xab0b04['getRanges']();if(!this[_0x1ee5('0x2')]['model']['canEditAt'](_0x262ebb))return;}_0x4f6906(this[_0x1ee5('0x2')][_0x1ee5('0x6')],this[_0x1ee5('0x7')],_0x5c0a81);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa3c3=['isEnabled','values','canEditAt','from','_suggestions','_command','editor','getRanges','model','_isEnabledBasedOnSelection','selection','execute','_selectedSuggestions','document'];(function(_0x585f50,_0xa3c3a9){const _0x119562=function(_0x1ddc78){while(--_0x1ddc78){_0x585f50['push'](_0x585f50['shift']());}};_0x119562(++_0xa3c3a9);}(_0xa3c3,0x1d7));const _0x1195=function(_0x585f50,_0xa3c3a9){_0x585f50=_0x585f50-0x0;let _0x119562=_0xa3c3[_0x585f50];return _0x119562;};import{Command as _0x3f3bdf}from'ckeditor5/src/core';import{sortSuggestions as _0x2c27db,getSelectedSuggestions as _0x25881b,executeCommandForSuggestions as _0x19f7e8}from'../utils/utils';export default class R extends _0x3f3bdf{constructor(_0x422280,_0x1e8512,_0x4340a1){super(_0x422280),this[_0x1195('0xa')]=_0x1e8512,this[_0x1195('0x9')]=_0x4340a1,this['_selectedSuggestions']=new Set(),this['refresh'](),this[_0x1195('0x0')]=!0x1;}['refresh'](){const _0x5946d8=this[_0x1195('0xb')]['model'][_0x1195('0x4')][_0x1195('0x1')],_0x37cbb5=Array[_0x1195('0x8')](this['_suggestions'][_0x1195('0x6')]());this['_selectedSuggestions']=_0x25881b(_0x5946d8,_0x37cbb5),this[_0x1195('0x5')]=this[_0x1195('0xa')][_0x1195('0x5')]&&!!this[_0x1195('0x3')]['size'];}[_0x1195('0x2')](){const _0x2f2ece=_0x2c27db(Array['from'](this['_selectedSuggestions']));for(const _0x1653ef of _0x2f2ece){const _0x379f06=_0x1653ef[_0x1195('0xc')]();if(!this[_0x1195('0xb')]['model'][_0x1195('0x7')](_0x379f06))return;}_0x19f7e8(this['editor'][_0x1195('0xd')],this[_0x1195('0xa')],_0x2f2ece);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e49=['_enableCommands','has','isEnabled','refresh','_enabledCommands','_disableUnsupportedCommands','value','affectsData','execute','_isEnabledBasedOnSelection','TrackChangesCommand','forceDisabled','editor','commands'];(function(_0x255464,_0x4e49ea){const _0x22f94f=function(_0x16f7b2){while(--_0x16f7b2){_0x255464['push'](_0x255464['shift']());}};_0x22f94f(++_0x4e49ea);}(_0x4e49,0x100));const _0x22f9=function(_0x255464,_0x4e49ea){_0x255464=_0x255464-0x0;let _0x22f94f=_0x4e49[_0x255464];return _0x22f94f;};import{Command as _0x5de243}from'ckeditor5/src/core';export default class _ extends _0x5de243{constructor(_0x46a103,_0x16f959){super(_0x46a103),this[_0x22f9('0x0')]=_0x16f959,this['value']=!0x1,this['refresh'](),this[_0x22f9('0x5')]=!0x1;}[_0x22f9('0xd')](){this[_0x22f9('0xc')]=!0x0;}[_0x22f9('0x4')](){this['value']=!this[_0x22f9('0x2')],this[_0x22f9('0x2')]?this[_0x22f9('0x1')]():this[_0x22f9('0xa')]();}[_0x22f9('0x1')](){for(const _0x5f1bec of this[_0x22f9('0x8')][_0x22f9('0x9')][_0x22f9('0x9')]())_0x5f1bec[_0x22f9('0x3')]&&!this[_0x22f9('0x0')][_0x22f9('0xb')](_0x5f1bec)&&_0x5f1bec[_0x22f9('0x7')]('TrackChangesCommand');}[_0x22f9('0xa')](){for(const _0x182843 of this[_0x22f9('0x8')][_0x22f9('0x9')]['commands']())_0x182843['affectsData']&&!this[_0x22f9('0x0')][_0x22f9('0xb')](_0x182843)&&_0x182843['clearForceDisabled'](_0x22f9('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dd4=['commands','afterInit','showAIAssistant','plugins','TrackChangesEditing','get','editor','enableCommand'];(function(_0x47132b,_0x3dd43b){const _0x458c62=function(_0x1b2b6a){while(--_0x1b2b6a){_0x47132b['push'](_0x47132b['shift']());}};_0x458c62(++_0x3dd43b);}(_0x3dd4,0x18e));const _0x458c=function(_0x47132b,_0x3dd43b){_0x47132b=_0x47132b-0x0;let _0x458c62=_0x3dd4[_0x47132b];return _0x458c62;};import{Plugin as _0x4e612e}from'ckeditor5/src/core';export default class j extends _0x4e612e{[_0x458c('0x3')](){const _0x156501=this[_0x458c('0x0')],_0x5df3e3=_0x156501[_0x458c('0x5')][_0x458c('0x7')](_0x458c('0x6'));_0x156501[_0x458c('0x2')][_0x458c('0x7')](_0x458c('0x4'))&&_0x5df3e3[_0x458c('0x1')](_0x458c('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fc2=['_descriptionFactory','alignment','format','document','markBlockFormat','filter','TrackChangesEditing','right','center','value','editor','checkAttribute','locale','model','selection','get','FORMAT_JUSTIFY_TEXT','getAttribute','justify','commandParams','commandName','ltr','registerDescriptionCallback','FORMAT_ALIGN_TO_LEFT','schema','AlignmentEditing','from','plugins','FORMAT_ALIGN_TO_RIGHT'];(function(_0x5e79ea,_0x3fc230){const _0x33be37=function(_0x312972){while(--_0x312972){_0x5e79ea['push'](_0x5e79ea['shift']());}};_0x33be37(++_0x3fc230);}(_0x3fc2,0x1f1));const _0x33be=function(_0x5e79ea,_0x3fc230){_0x5e79ea=_0x5e79ea-0x0;let _0x33be37=_0x3fc2[_0x5e79ea];return _0x33be37;};import{Plugin as _0x5941f0}from'ckeditor5/src/core';import{getTranslation as _0x2c35b4}from'../utils/common-translations';export default class x extends _0x5941f0{['afterInit'](){const _0x3ec5da=this[_0x33be('0x6')],_0x332662=_0x3ec5da[_0x33be('0x8')];if(!_0x3ec5da[_0x33be('0x17')]['has'](_0x33be('0x15')))return;const _0x14ceee=_0x3ec5da[_0x33be('0x17')][_0x33be('0xb')](_0x33be('0x2'));_0x14ceee['enableCommand'](_0x33be('0x1a'),(_0x2a9e45,_0x51fe2c={})=>{let _0x37c17f=_0x51fe2c[_0x33be('0x5')];_0x51fe2c[_0x33be('0x5')]||(_0x37c17f=_0x33be('0x11')===_0x3ec5da['locale']['contentLanguageDirection']?'left':'right');const _0x1fda9d=Array[_0x33be('0x16')](this[_0x33be('0x6')][_0x33be('0x9')][_0x33be('0x1c')][_0x33be('0xa')]['getSelectedBlocks']())[_0x33be('0x1')](_0x12f711=>function(_0x2612ac,_0x35e50e,_0x2d9959){const _0x5ccda9=_0x2612ac[_0x33be('0xd')](_0x33be('0x1a'))||null;return _0x35e50e[_0x33be('0x7')](_0x2612ac,_0x33be('0x1a'))&&_0x2d9959!=_0x5ccda9;}(_0x12f711,this['editor'][_0x33be('0x9')][_0x33be('0x14')],_0x37c17f));_0x3ec5da[_0x33be('0x9')]['change'](()=>{for(const _0x38265c of _0x1fda9d)_0x14ceee[_0x33be('0x0')](_0x38265c,{'commandName':_0x33be('0x1a'),'commandParams':[{'value':_0x37c17f}]});});}),_0x14ceee[_0x33be('0x19')][_0x33be('0x12')](_0x5ebcb6=>{const {data:_0x2541d7}=_0x5ebcb6;if(_0x2541d7&&'alignment'==_0x2541d7[_0x33be('0x10')]){const _0x481e0b=_0x2541d7[_0x33be('0xf')][0x0][_0x33be('0x5')];return{'type':_0x33be('0x1b'),'content':_0x2c35b4(_0x332662,'*Format:*\x20%0',function(_0xf3e49e){switch(_0xf3e49e){case'left':return _0x2c35b4(_0x332662,_0x33be('0x13'));case _0x33be('0x3'):return _0x2c35b4(_0x332662,_0x33be('0x18'));case _0x33be('0x4'):return _0x2c35b4(_0x332662,'FORMAT_ALIGN_TO_CENTER');case _0x33be('0xe'):return _0x2c35b4(_0x332662,_0x33be('0xc'));}}(_0x481e0b))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e5e=['UnderlineEditing','document','FORMAT_SUPERSCRIPT','SuperscriptEditing','commands','commandName','value','FORMAT_STRIKETHROUGH','_descriptionFactory','selection','afterInit','FORMAT_UNDERLINE','*Remove\x20format:*\x20%0','commandParams','FORMAT_ITALIC','ItalicEditing','isCollapsed','bold','slice','FORMAT_SUBSCRIPT','SubscriptEditing','BoldEditing','TrackChangesEditing','editor','plugins','FORMAT_BOLD','superscript','format','change','forceValue','model','enableCommand','italic','toLowerCase','StrikethroughEditing','get'];(function(_0x24b7b1,_0x1e5e99){const _0x367f7f=function(_0xe60baf){while(--_0xe60baf){_0x24b7b1['push'](_0x24b7b1['shift']());}};_0x367f7f(++_0x1e5e99);}(_0x1e5e,0xfe));const _0x367f=function(_0x24b7b1,_0x1e5e99){_0x24b7b1=_0x24b7b1-0x0;let _0x367f7f=_0x1e5e[_0x24b7b1];return _0x367f7f;};import{Plugin as _0x6f1b7a}from'ckeditor5/src/core';import{getTranslation as _0x1d036e}from'../utils/common-translations';import{getRangesWithAttribute as _0x28e6a3}from'./utils';const Zt=[_0x367f('0x13'),_0x367f('0xd'),_0x367f('0x22'),'CodeEditing',_0x367f('0x20'),_0x367f('0x12'),_0x367f('0x1')];export default class U extends _0x6f1b7a{[_0x367f('0x8')](){const _0x4c5b6a=this[_0x367f('0x15')],_0x561ae5=_0x4c5b6a[_0x367f('0x1c')],_0x4ec694=_0x4c5b6a[_0x367f('0x16')][_0x367f('0x21')](_0x367f('0x14')),_0x332b91=_0x4c5b6a['locale'];for(const _0x38b6a5 of Zt){if(!_0x4c5b6a['plugins']['has'](_0x38b6a5))continue;const _0x341b2b=_0x38b6a5[_0x367f('0x10')](0x0,-0x7)[_0x367f('0x1f')](),_0x302b48=_0x4c5b6a[_0x367f('0x2')][_0x367f('0x21')](_0x341b2b);_0x4ec694[_0x367f('0x1d')](_0x341b2b,(_0x411f54,_0x4d1782={})=>{const _0x27801c=_0x561ae5[_0x367f('0x23')][_0x367f('0x7')];if(_0x27801c[_0x367f('0xe')])return void _0x411f54(_0x4d1782);const _0x4d3f72=void 0x0!==_0x4d1782[_0x367f('0x1b')]?_0x4d1782[_0x367f('0x1b')]:!_0x302b48[_0x367f('0x4')];_0x561ae5[_0x367f('0x1a')](()=>{const _0x1af968=Array['from'](_0x27801c['getRanges']());for(const _0x357d98 of _0x1af968){const _0x1c04c9=_0x4d3f72?[_0x357d98]:_0x28e6a3(_0x341b2b,_0x357d98,_0x561ae5);for(const _0x1ef5dd of _0x1c04c9)_0x4ec694['markInlineFormat'](_0x1ef5dd,{'commandName':_0x341b2b,'commandParams':[{'forceValue':_0x4d3f72}]});}});});}function _0x197367(_0x490c07,_0x485702){_0x4ec694[_0x367f('0x6')]['registerDescriptionCallback'](_0x8e919f=>{const {data:_0x7b6d63}=_0x8e919f;if(_0x7b6d63&&_0x7b6d63[_0x367f('0x3')]===_0x490c07)return _0x7b6d63[_0x367f('0xb')][0x0]['forceValue']?{'type':_0x367f('0x19'),'content':_0x1d036e(_0x332b91,'*Format:*\x20%0',_0x485702)}:{'type':'format','content':_0x1d036e(_0x332b91,_0x367f('0xa'),_0x485702)};});}_0x197367(_0x367f('0xf'),_0x1d036e(_0x332b91,_0x367f('0x17'))),_0x197367(_0x367f('0x1e'),_0x1d036e(_0x332b91,_0x367f('0xc'))),_0x197367('underline',_0x1d036e(_0x332b91,_0x367f('0x9'))),_0x197367('code',_0x1d036e(_0x332b91,'FORMAT_CODE')),_0x197367('strikethrough',_0x1d036e(_0x332b91,_0x367f('0x5'))),_0x197367('subscript',_0x1d036e(_0x332b91,_0x367f('0x11'))),_0x197367(_0x367f('0x18'),_0x1d036e(_0x332b91,_0x367f('0x0')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f46=['from','*Format:*\x20%0','checkChild','blockQuote','BlockQuoteEditing','getSelectedBlocks','afterInit','locale','enableCommand','value','commandName','commands','filter','TrackChangesEditing','plugins','has','$root','document','parent','format','selection','forceValue','ELEMENT_BLOCK_QUOTE','editor','*Remove\x20format:*\x20%0','markBlockFormat','commandParams','change','get','schema','model','name'];(function(_0x1c40ee,_0x1f46d4){const _0x15a095=function(_0x484f03){while(--_0x484f03){_0x1c40ee['push'](_0x1c40ee['shift']());}};_0x15a095(++_0x1f46d4);}(_0x1f46,0xda));const _0x15a0=function(_0x1c40ee,_0x1f46d4){_0x1c40ee=_0x1c40ee-0x0;let _0x15a095=_0x1f46[_0x1c40ee];return _0x15a095;};import{Plugin as _0x610ed4}from'ckeditor5/src/core';import{getTranslation as _0x884895}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1df9a9}from'../utils/utils';export default class O extends _0x610ed4{[_0x15a0('0xc')](){const _0x1f7c51=this['editor'],_0x2e7b4f=_0x1f7c51[_0x15a0('0xd')];if(!_0x1f7c51[_0x15a0('0x14')][_0x15a0('0x15')](_0x15a0('0xa')))return;const _0x49c519=_0x1f7c51[_0x15a0('0x14')][_0x15a0('0x2')](_0x15a0('0x13')),_0x515dde=this[_0x15a0('0x1d')][_0x15a0('0x11')][_0x15a0('0x2')](_0x15a0('0x9'));_0x49c519[_0x15a0('0xe')](_0x15a0('0x9'),(_0x2e44a2,_0x4aabeb={})=>{const _0x250331=this[_0x15a0('0x1d')][_0x15a0('0x4')][_0x15a0('0x17')][_0x15a0('0x1a')],_0x106ea7=_0x4aabeb&&void 0x0!==_0x4aabeb[_0x15a0('0x1b')]?_0x4aabeb[_0x15a0('0x1b')]:!_0x515dde[_0x15a0('0xf')];let _0x2f48f9=[];if(_0x106ea7){const _0x5e9630=Array['from'](_0x250331['getSelectedBlocks']())[_0x15a0('0x12')](_0x2ed701=>oo(_0x2ed701)||function(_0x4ecf49,_0x28f777){const _0x4b93d3=_0x28f777[_0x15a0('0x8')](_0x4ecf49[_0x15a0('0x18')],'blockQuote'),_0x40d163=_0x28f777[_0x15a0('0x8')]([_0x15a0('0x16'),'blockQuote'],_0x4ecf49);return _0x4b93d3&&_0x40d163;}(_0x2ed701,this[_0x15a0('0x1d')][_0x15a0('0x4')][_0x15a0('0x3')]));_0x2f48f9=_0x1df9a9(_0x5e9630,_0x1f7c51[_0x15a0('0x4')]);}else{const _0x54e1bd=Array[_0x15a0('0x6')](_0x250331[_0x15a0('0xb')]())[_0x15a0('0x12')](_0x2b03f1=>oo(_0x2b03f1));_0x2f48f9=_0x1df9a9(_0x54e1bd,_0x1f7c51[_0x15a0('0x4')]);}_0x1f7c51['model'][_0x15a0('0x1')](()=>{for(const _0x4cf80f of _0x2f48f9)_0x49c519[_0x15a0('0x1f')](_0x4cf80f,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x106ea7}]});});}),_0x49c519['_descriptionFactory']['registerDescriptionCallback'](_0x5468e0=>{const {data:_0x54c554}=_0x5468e0;if(_0x54c554&&_0x15a0('0x9')==_0x54c554[_0x15a0('0x10')]){const _0x21eaef=_0x884895(_0x2e7b4f,_0x15a0('0x1c'));return _0x54c554[_0x15a0('0x0')][0x0][_0x15a0('0x1b')]?{'type':'format','content':_0x884895(_0x2e7b4f,_0x15a0('0x7'),_0x21eaef)}:{'type':_0x15a0('0x19'),'content':_0x884895(_0x2e7b4f,_0x15a0('0x1e'),_0x21eaef)};}});}}function oo(_0x3ea2f3){return _0x15a0('0x9')==_0x3ea2f3[_0x15a0('0x18')][_0x15a0('0x5')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57f4=['get','TrackChangesEditing','commands','editor','afterInit','ckbox','enableCommand'];(function(_0x16a69d,_0x57f4de){const _0x49008d=function(_0x3feee4){while(--_0x3feee4){_0x16a69d['push'](_0x16a69d['shift']());}};_0x49008d(++_0x57f4de);}(_0x57f4,0xc3));const _0x4900=function(_0x16a69d,_0x57f4de){_0x16a69d=_0x16a69d-0x0;let _0x49008d=_0x57f4[_0x16a69d];return _0x49008d;};import{Plugin as _0xf76c70}from'ckeditor5/src/core';export default class E extends _0xf76c70{[_0x4900('0x5')](){const _0x1a0cde=this[_0x4900('0x4')];_0x1a0cde[_0x4900('0x3')][_0x4900('0x1')](_0x4900('0x6'))&&_0x1a0cde['plugins']['get'](_0x4900('0x2'))[_0x4900('0x0')](_0x4900('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3da7=['checkChild','blockName','afterInit','parent','from','commandParams','formatBlock','selection','find','*Format:*\x20%0','get','schema','document','value','language','indentCodeBlock','ELEMENT_CODE_BLOCK','commands','markBlockFormat','registerElementLabel','TrackChangesEditing','registerDescriptionCallback','filter','format','has','enableCommand','locale','change','codeBlock','model','plugins','CodeBlock','languages','name'];(function(_0x55e3a6,_0x3da7a8){const _0x35c960=function(_0x40aefb){while(--_0x40aefb){_0x55e3a6['push'](_0x55e3a6['shift']());}};_0x35c960(++_0x3da7a8);}(_0x3da7,0x1cd));const _0x35c9=function(_0x55e3a6,_0x3da7a8){_0x55e3a6=_0x55e3a6-0x0;let _0x35c960=_0x3da7[_0x55e3a6];return _0x35c960;};import{Plugin as _0x5393a3}from'ckeditor5/src/core';import{getTranslation as _0x2755d7}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x213c6a}from'../utils/utils';export default class F extends _0x5393a3{[_0x35c9('0x11')](){const _0x230341=this['editor'];if(!_0x230341[_0x35c9('0xb')][_0x35c9('0x5')](_0x35c9('0xc')))return;const _0x21ddf5=_0x230341[_0x35c9('0xb')][_0x35c9('0x19')](_0x35c9('0x1')),_0x880572=_0x230341[_0x35c9('0x7')],_0xc3832e=_0x230341['config'][_0x35c9('0x19')](_0x35c9('0x9'))[_0x35c9('0xd')],_0x18a58e=_0x230341[_0x35c9('0x20')][_0x35c9('0x19')](_0x35c9('0x9'));_0x21ddf5['enableCommand'](_0x35c9('0x1e')),_0x21ddf5[_0x35c9('0x6')]('outdentCodeBlock'),_0x21ddf5[_0x35c9('0x6')](_0x35c9('0x9'),(_0x5184ff,_0x425ba9={})=>{const _0x16a33b=_0x230341['model'],_0x422adc=_0x230341[_0x35c9('0xa')][_0x35c9('0x1b')][_0x35c9('0x16')],_0x14a77d=_0x425ba9&&void 0x0!==_0x425ba9['forceValue']?_0x425ba9['forceValue']:!_0x18a58e[_0x35c9('0x1c')];let _0x5d60a6;_0x425ba9[_0x35c9('0x1d')]||(_0x425ba9[_0x35c9('0x1d')]=_0xc3832e[0x0][_0x35c9('0x1d')]),_0x5d60a6=_0x14a77d?Array['from'](_0x422adc['getSelectedBlocks']())['filter'](_0x4d8529=>co(_0x4d8529)||function(_0x3c2e4d,_0x40f3a7){if(_0x3c2e4d['is']('rootElement')||_0x40f3a7['isLimit'](_0x3c2e4d))return!0x1;return _0x40f3a7[_0x35c9('0xf')](_0x3c2e4d[_0x35c9('0x12')],_0x35c9('0x9'));}(_0x4d8529,_0x16a33b[_0x35c9('0x1a')])):Array[_0x35c9('0x13')](_0x422adc['getSelectedBlocks']())[_0x35c9('0x3')](_0x4f8fd2=>co(_0x4f8fd2));const _0x7382ed=_0x213c6a(_0x5d60a6,_0x16a33b);_0x16a33b[_0x35c9('0x8')](()=>{for(const _0x4b0d49 of _0x7382ed)_0x21ddf5[_0x35c9('0x21')](_0x4b0d49,{'commandName':'codeBlock','commandParams':[{..._0x425ba9,'forceValue':_0x14a77d}],'formatGroupId':_0x35c9('0x10')});});}),(_0x21ddf5['_descriptionFactory'][_0x35c9('0x0')](_0x35c9('0x9'),_0x429cb3=>_0x2755d7(_0x880572,_0x35c9('0x1f'),_0x429cb3)),_0x21ddf5['_descriptionFactory'][_0x35c9('0x2')](_0x149dda=>{const _0x4520af=_0x880572['t'],{type:_0x14493d,data:_0x2063b4}=_0x149dda;if(_0x35c9('0x15')==_0x14493d&&_0x2063b4&&'codeBlock'==_0x2063b4['commandName']){const _0x549e5d=_0x2063b4[_0x35c9('0x14')][0x0][_0x35c9('0x1d')],_0x12e3f4=_0x4520af(_0xc3832e[_0x35c9('0x17')](_0x4feb69=>_0x4feb69[_0x35c9('0x1d')]===_0x549e5d)['label']);return _0x2063b4['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2755d7(_0x880572,_0x35c9('0x18'),_0x2755d7(_0x880572,_0x35c9('0x1f'),0x1)+'\x20('+_0x12e3f4+')')}:{'type':_0x35c9('0x4'),'content':_0x2755d7(_0x880572,'*Remove\x20format:*\x20%0',_0x2755d7(_0x880572,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function co(_0x46027a){return _0x35c9('0x9')==_0x46027a[_0x35c9('0xe')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdca6=['TrackChangesEditing','has','plugins','afterInit','editor'];(function(_0x2f50db,_0xdca657){const _0x2d7e3b=function(_0x5785c4){while(--_0x5785c4){_0x2f50db['push'](_0x2f50db['shift']());}};_0x2d7e3b(++_0xdca657);}(_0xdca6,0x12a));const _0x2d7e=function(_0x2f50db,_0xdca657){_0x2f50db=_0x2f50db-0x0;let _0x2d7e3b=_0xdca6[_0x2f50db];return _0x2d7e3b;};import{Plugin as _0x87604a}from'ckeditor5/src/core';export default class G extends _0x87604a{[_0x2d7e('0x0')](){const _0x365a3f=this[_0x2d7e('0x1')];if(!_0x365a3f[_0x2d7e('0x4')][_0x2d7e('0x3')]('CommentsEditing'))return;_0x365a3f[_0x2d7e('0x4')]['get'](_0x2d7e('0x2'))['enableCommand']('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3884=['merge','buffer','end','forward','requires','markerName','unlock','model','addMarker:suggestion:deletion','getFirstRange','downcastDispatcher','unbindElementFromMarkerName','modifySelection','init','delete','unit','uiElement','fromRange','deleteForward','TrackChangesEditing','commands','createRange','detach','editor','removeMarker:suggestion:deletion','writer','showSuggestionHighlights','editing','$graveyard','isCollapsed','high','selection','enqueueChange','bind','data','enableCommand','createSelection','start','markerNameToElements','rootName'];(function(_0x203eaf,_0x3884cf){const _0x2d2457=function(_0x2c16d4){while(--_0x2c16d4){_0x203eaf['push'](_0x203eaf['shift']());}};_0x2d2457(++_0x3884cf);}(_0x3884,0xeb));const _0x2d24=function(_0x203eaf,_0x3884cf){_0x203eaf=_0x203eaf-0x0;let _0x2d2457=_0x3884[_0x203eaf];return _0x2d2457;};import{Plugin as _0x1c167b}from'ckeditor5/src/core';import{LiveRange as _0x52574c}from'ckeditor5/src/engine';import{Delete as _0x4ebcd6}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x297892}from'./utils';export default class L extends _0x1c167b{static get[_0x2d24('0x9')](){return[_0x4ebcd6];}[_0x2d24('0x12')](){const _0x5f57fc=this[_0x2d24('0x1c')],_0x240159=_0x5f57fc['plugins']['get'](_0x2d24('0x18'));_0x240159[_0x2d24('0x0')](_0x2d24('0x13'));const _0x5eca6e=_0x5f57fc[_0x2d24('0x19')]['get']('deleteForward');_0x240159[_0x2d24('0x0')](_0x2d24('0x17'),(_0x2f9b67,_0x5a8137={})=>{const _0x416437=_0x5f57fc[_0x2d24('0xc')][_0x2d24('0x1')](_0x5f57fc[_0x2d24('0xc')]['document'][_0x2d24('0x24')]);_0x416437[_0x2d24('0x22')]&&_0x5f57fc[_0x2d24('0xc')][_0x2d24('0x11')](_0x416437,{'direction':_0x2d24('0x8'),'unit':_0x5a8137[_0x2d24('0x14')]});const _0x286a2d=_0x416437[_0x2d24('0xe')](),_0x3149d9=_0x52574c[_0x2d24('0x16')](_0x286a2d);let _0x11c300;_0x2f9b67(_0x5a8137),_0x11c300=_0x2d24('0x21')==_0x3149d9['root'][_0x2d24('0x4')]?_0x5f57fc[_0x2d24('0xc')][_0x2d24('0x1a')](_0x286a2d[_0x2d24('0x2')]):_0x5f57fc[_0x2d24('0xc')][_0x2d24('0x1a')](_0x3149d9[_0x2d24('0x2')],_0x3149d9['end']),_0x3149d9[_0x2d24('0x1b')](),_0x5f57fc[_0x2d24('0xc')][_0x2d24('0x25')](_0x5eca6e[_0x2d24('0x6')]['batch'],_0x8bb706=>{_0x5eca6e[_0x2d24('0x6')]['lock'](),_0x8bb706['setSelection'](_0x8bb706[_0x2d24('0x1a')](_0x11c300[_0x2d24('0x7')])),_0x5eca6e[_0x2d24('0x6')][_0x2d24('0xb')]();});}),_0x5f57fc[_0x2d24('0x20')][_0x2d24('0xf')]['on']('addMarker:suggestion:deletion',_0x297892(_0x5f57fc,_0x2d24('0x5')),{'priority':_0x2d24('0x23')}),_0x5f57fc[_0x2d24('0x27')]['downcastDispatcher']['on'](_0x2d24('0xd'),(_0x2864c6,_0x51986f,_0x11b8e0)=>{_0x11b8e0['options'][_0x2d24('0x1f')]&&_0x297892(_0x5f57fc,_0x2d24('0x5'),{'showActiveMarker':!0x1})[_0x2d24('0x26')](this)(_0x2864c6,_0x51986f,_0x11b8e0);},{'priority':'high'}),_0x5f57fc[_0x2d24('0x20')][_0x2d24('0xf')]['on'](_0x2d24('0x1d'),(_0x2ad51d,_0x264bb0,_0x12fff1)=>{const _0x5c6f9e=_0x12fff1['mapper'][_0x2d24('0x3')](_0x264bb0[_0x2d24('0xa')]);if(_0x5c6f9e)for(const _0x1aa68c of _0x5c6f9e)_0x1aa68c['is'](_0x2d24('0x15'))&&(_0x12fff1['mapper'][_0x2d24('0x10')](_0x1aa68c,_0x264bb0[_0x2d24('0xa')]),_0x12fff1[_0x2d24('0x1e')]['remove'](_0x1aa68c));},{'priority':_0x2d24('0x23')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x136a=['registerCustomCallback','splitListItemBefore','add','nextSibling','parent','config','commandName','findIndex','indentList','hasAttribute','nodeAfter','listIndent','afterInit','getSelectedBlocks','push','value','DocumentListEditing','getAttribute','mergeListItemBackward','from','*Change\x20to:*\x20%0','start','isFirstBlockOfListItem','outdentList','model','document','markMultiRangeBlockFormat','registerDescriptionCallback','splitListItemAfter','next','enableCommand','documentList','selection','markBlockFormat','_suggestionFactory','registerElementLabel','getRanges','*Indent:*\x20%0','execute','ELEMENT_LIST_ITEM','numberedList','get','ELEMENT_BULLETED_LIST','ELEMENT_NUMBERED_LIST','*Format:*\x20remove\x20from\x20%0','isObject','bulletedList','listItemId','schema','locale','listType','deletion','getFirstRange','forceValue','toUpperCase','createPositionAt','ELEMENT_','refresh','plugins','setSelection','has','*Format:*\x20insert\x20into\x20%0','mergeListItemForward','accept','map','fromRange','containsItem','before','slice','*Merge:*\x20%0','format','length','DocumentListUtils','*Outdent:*\x20%0','createRange','editor','commandParams','change','commands','end','detach','_LIST'];(function(_0x57d718,_0x136a47){const _0x51aa37=function(_0x28b5e2){while(--_0x28b5e2){_0x57d718['push'](_0x57d718['shift']());}};_0x51aa37(++_0x136a47);}(_0x136a,0x1d5));const _0x51aa=function(_0x57d718,_0x136a47){_0x57d718=_0x57d718-0x0;let _0x51aa37=_0x136a[_0x57d718];return _0x51aa37;};import{Plugin as _0xa628ff}from'ckeditor5/src/core';import{getTranslation as _0x3db325}from'../utils/common-translations';import{LiveRange as _0x593215}from'ckeditor5/src/engine';export default class q extends _0xa628ff{[_0x51aa('0x23')](){const _0x36d9bd=this[_0x51aa('0x10')];if(!_0x36d9bd[_0x51aa('0x51')][_0x51aa('0x1')](_0x51aa('0x27')))return;const _0xb65a05=_0x36d9bd[_0x51aa('0x48')],_0x288734=_0x36d9bd['plugins']['get']('TrackChangesEditing'),_0x3cc96e=_0x36d9bd[_0x51aa('0x51')][_0x51aa('0x40')](_0x51aa('0xd'));function _0x494c6b(_0x25b453){return()=>{const _0x73ae03=_0x36d9bd['commands'][_0x51aa('0x40')](_0x25b453);if(_0x73ae03['value']&&!_0x36d9bd[_0x51aa('0x1c')][_0x51aa('0x40')]('list.multiBlock'))return void _0x36d9bd[_0x51aa('0x3d')]('paragraph',{});let _0x5d61d9=Array[_0x51aa('0x2a')](_0x36d9bd['model'][_0x51aa('0x30')]['selection']['getSelectedBlocks']());if(_0x45a5b6(_0x25b453)){_0x5d61d9=_0x3cc96e['expandListBlocksToCompleteList'](_0x5d61d9);const _0x3a8e77=[];for(const _0x1adfcd of _0x5d61d9)_0x3cc96e[_0x51aa('0x2d')](_0x1adfcd)&&_0x3a8e77[_0x51aa('0x25')](_0x1adfcd);_0x5d61d9=_0x3a8e77;}_0x36d9bd['model'][_0x51aa('0x12')](()=>{_0x288734[_0x51aa('0x31')](_0x5d61d9,{'commandName':_0x25b453,'commandParams':[{'forceValue':!_0x73ae03['value']}],'formatGroupId':'listType'},[],_0x51aa('0x36'));});};}function _0x5a32b2(_0x23b868){return()=>{const _0x409f28=function(_0x579d57){let _0x4790cd=Array[_0x51aa('0x2a')](_0x579d57);const _0x3523fc=_0x4790cd[_0x51aa('0x1e')](_0x149cf2=>!_0x149cf2[_0x51aa('0x20')](_0x51aa('0x46')));return _0x3523fc>-0x1&&(_0x4790cd=_0x4790cd[_0x51aa('0x9')](0x0,_0x3523fc)),_0x4790cd;}(_0x36d9bd['model'][_0x51aa('0x30')][_0x51aa('0x37')][_0x51aa('0x24')]()),_0x5b66d6=_0x409f28[_0x409f28[_0x51aa('0xc')]-0x1],_0x315242=_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0x47')][_0x51aa('0x44')](_0x5b66d6)?'after':_0x51aa('0x14'),_0x521255=_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0xf')](_0x36d9bd[_0x51aa('0x2f')]['createPositionAt'](_0x409f28[0x0],_0x51aa('0x8')),_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0x4e')](_0x5b66d6,_0x315242));_0x36d9bd['model'][_0x51aa('0x12')](()=>{_0x288734['markBlockFormat'](_0x521255,{'commandName':_0x23b868,'commandParams':[],'formatGroupId':_0x51aa('0x49')},function(_0x3e43cc){const _0x3bac6a=new Set();for(const _0x336489 of _0x3e43cc){let _0x351120=_0x336489[_0x51aa('0x1a')];for(;_0x351120&&_0x351120[_0x51aa('0x28')](_0x51aa('0x22'))>_0x336489['getAttribute']('listIndent');)_0x3bac6a[_0x51aa('0x19')](_0x351120),_0x351120=_0x351120['nextSibling'];}return Array[_0x51aa('0x2a')](_0x3bac6a);}(_0x409f28));});};}function _0x67ba84(_0x5a765b){return()=>{const _0x14877=_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0x30')][_0x51aa('0x37')][_0x51aa('0x24')]()[_0x51aa('0x34')]()['value'],_0x5e5ac8=_0x36d9bd['model'][_0x51aa('0x4e')](_0x14877,_0x51aa('0x8')),_0x3b3d4b=_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0x4e')](_0x14877,0x0),_0x3c92c2=_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0xf')](_0x5e5ac8,_0x3b3d4b);_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0x12')](()=>{_0x288734[_0x51aa('0x38')](_0x3c92c2,{'commandName':_0x5a765b,'commandParams':[],'formatGroupId':_0x51aa('0x49')});});};}function _0x45a5b6(_0x692ec4){const _0x78a78a=_0x36d9bd[_0x51aa('0x13')]['get']('bulletedList')['value'],_0x3165fa=_0x36d9bd['commands'][_0x51aa('0x40')](_0x51aa('0x3f'))[_0x51aa('0x26')];return'numberedList'===_0x692ec4?_0x78a78a:_0x3165fa;}_0x288734[_0x51aa('0x35')]('numberedList',_0x494c6b('numberedList')),_0x288734[_0x51aa('0x35')](_0x51aa('0x45'),_0x494c6b(_0x51aa('0x45'))),_0x288734[_0x51aa('0x35')](_0x51aa('0x1f'),_0x5a32b2(_0x51aa('0x1f'))),_0x288734[_0x51aa('0x35')]('outdentList',_0x5a32b2(_0x51aa('0x2e'))),_0x288734['enableCommand'](_0x51aa('0x33'),_0x67ba84(_0x51aa('0x33'))),_0x288734[_0x51aa('0x35')](_0x51aa('0x18'),_0x67ba84('splitListItemBefore')),_0x288734['_descriptionFactory'][_0x51aa('0x3a')](function(_0x598ac0){const _0x5b49b8=!_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0x47')][_0x51aa('0x44')](_0x598ac0),_0x5561ad=_0x598ac0['previousSibling'],_0x2c6d07=_0x598ac0['nextSibling'],_0x5b21e4=_0x598ac0[_0x51aa('0x28')](_0x51aa('0x46')),_0x53ca5e=!_0x5561ad||_0x5561ad['getAttribute'](_0x51aa('0x46'))!==_0x5b21e4,_0x3ab638=!_0x2c6d07||_0x2c6d07[_0x51aa('0x28')](_0x51aa('0x46'))!==_0x5b21e4;return _0x5b49b8&&Boolean(_0x5b21e4)&&_0x53ca5e&&_0x3ab638;},_0x307892=>_0x3db325(_0xb65a05,'ELEMENT_LIST_ITEM',_0x307892)),_0x288734['_descriptionFactory'][_0x51aa('0x32')](function(_0x28ff46){const {data:_0x11c3c9}=_0x28ff46;if(!_0x11c3c9)return;let _0x50eac6,_0x4e441c,_0x32fb02,_0x3ed680;switch(_0x11c3c9[_0x51aa('0x1d')]){case _0x51aa('0x45'):_0x32fb02=_0x11c3c9[_0x51aa('0x11')][0x0][_0x51aa('0x4c')],_0x3ed680=_0x45a5b6(_0x11c3c9[_0x51aa('0x1d')]),_0x50eac6=_0x32fb02?_0x51aa('0x2'):_0x51aa('0x43'),!_0x3ed680&&_0x36d9bd[_0x51aa('0x1c')]['get']('list.multiBlock')||(_0x50eac6=_0x51aa('0x2b')),_0x4e441c={'type':'format','content':_0x3db325(_0xb65a05,_0x50eac6,_0x3db325(_0xb65a05,_0x51aa('0x41')))};break;case _0x51aa('0x3f'):_0x32fb02=_0x11c3c9['commandParams'][0x0]['forceValue'],_0x3ed680=_0x45a5b6(_0x11c3c9[_0x51aa('0x1d')]),_0x50eac6=_0x32fb02?_0x51aa('0x2'):_0x51aa('0x43'),!_0x3ed680&&_0x36d9bd[_0x51aa('0x1c')][_0x51aa('0x40')]('list.multiBlock')||(_0x50eac6='*Change\x20to:*\x20%0'),_0x4e441c={'type':'format','content':_0x3db325(_0xb65a05,_0x50eac6,_0x3db325(_0xb65a05,_0x51aa('0x42')))};break;case'indentList':_0x50eac6=_0x51aa('0x3c'),_0x4e441c={'type':_0x51aa('0xb'),'content':_0x3db325(_0xb65a05,_0x50eac6,_0x3db325(_0xb65a05,_0x51aa('0x3e')))};break;case _0x51aa('0x2e'):_0x50eac6=function(_0x37f474){const _0x546029=_0x37f474[_0x51aa('0x4b')]();let _0x2b678d=_0x546029[_0x51aa('0x2c')]['nodeAfter'];for(;_0x2b678d&&_0x546029[_0x51aa('0x7')](_0x2b678d);){if(_0x2b678d[_0x51aa('0x28')]('listIndent')>0x0)return!0x1;_0x2b678d=_0x2b678d['nextSibling'];}return!0x0;}(_0x28ff46)?_0x3db325(_0xb65a05,_0x51aa('0x43'),_0x3db325(_0xb65a05,function(_0x18c1ab){const _0x64e69e=_0x18c1ab[_0x51aa('0x4b')]()[_0x51aa('0x2c')][_0x51aa('0x21')];return _0x51aa('0x4f')+_0x64e69e[_0x51aa('0x28')](_0x51aa('0x49'))[_0x51aa('0x4d')]()+_0x51aa('0x16');}(_0x28ff46))):_0x3db325(_0xb65a05,_0x51aa('0xe'),_0x3db325(_0xb65a05,_0x51aa('0x3e'))),_0x4e441c={'type':'format','content':_0x50eac6};break;case _0x51aa('0x29'):case _0x51aa('0x3'):!0x1===_0x11c3c9['multipleBlocks']&&(_0x50eac6=_0x51aa('0xa'),_0x4e441c={'type':_0x51aa('0x4a'),'content':_0x3db325(_0xb65a05,_0x50eac6,_0x3db325(_0xb65a05,_0x51aa('0x3e')))});}return _0x4e441c;}),_0x288734[_0x51aa('0x39')][_0x51aa('0x17')]('formatBlock',_0x51aa('0x36'),_0x51aa('0x4'),function(_0x27db53,_0x2801b5){const _0x527c2c=[];for(let _0x39bee0 of _0x27db53)_0x39bee0[_0x51aa('0x2c')]['nodeAfter']===_0x39bee0[_0x51aa('0x14')][_0x51aa('0x1b')]&&(_0x39bee0=_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0xf')](_0x36d9bd[_0x51aa('0x2f')][_0x51aa('0x4e')](_0x39bee0[_0x51aa('0x2c')][_0x51aa('0x21')],0x0))),_0x527c2c[_0x51aa('0x25')](_0x39bee0);_0x36d9bd['model'][_0x51aa('0x12')](_0x52e0e1=>{const _0x4d71b7=_0x36d9bd[_0x51aa('0x2f')]['document'][_0x51aa('0x37')],_0x4e3475=Array['from'](_0x4d71b7[_0x51aa('0x3b')]())[_0x51aa('0x5')](_0x26cde6=>_0x593215[_0x51aa('0x6')](_0x26cde6));_0x52e0e1[_0x51aa('0x0')](_0x527c2c),_0x36d9bd[_0x51aa('0x13')][_0x51aa('0x40')](_0x2801b5[_0x51aa('0x1d')])[_0x51aa('0x50')](),_0x2801b5[_0x51aa('0x11')][_0x51aa('0x25')]({'forceDefaultExecution':!0x0}),_0x36d9bd[_0x51aa('0x3d')](_0x2801b5[_0x51aa('0x1d')],..._0x2801b5[_0x51aa('0x11')]),_0x52e0e1[_0x51aa('0x0')](_0x4e3475);for(const _0x4b82f2 of _0x4e3475)_0x4b82f2[_0x51aa('0x15')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41c5=['*Format:*\x20set\x20order\x20to\x20regular','format','enableCommand','*Format:*\x20set\x20order\x20to\x20reversed','styles','selection','getAttribute','markMultiRangeBlockFormat','model','_getSuggestionBlocksForListStyle','reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','commandName','change','isFirstBlockOfListItem','length','listStyle','getListTypeFromListStyleType','list.properties','DocumentListPropertiesEditing','toUpperCase','from','_LIST_','isListItemBlock','DocumentListUtils','has','listStart','startIndex','listReversed','handleListStyleCommand','afterInit','handleListStartCommand','type','TrackChangesEditing','replace','*Change\x20to:*\x20%0','get','plugins','listType','expandListBlocksToCompleteList','bind','push','editor','handleDescriptions','_getTranslationKeyForListStyle','handleListReversedCommand','getSelectedBlocks','_getSuggestionBlocks','config','document','commandParams','_descriptionFactory'];(function(_0x4ed13a,_0x41c5e4){const _0x174da2=function(_0x4593e8){while(--_0x4593e8){_0x4ed13a['push'](_0x4ed13a['shift']());}};_0x174da2(++_0x41c5e4);}(_0x41c5,0x1af));const _0x174d=function(_0x4ed13a,_0x41c5e4){_0x4ed13a=_0x4ed13a-0x0;let _0x174da2=_0x41c5[_0x4ed13a];return _0x174da2;};import{Plugin as _0xf16840}from'ckeditor5/src/core';import{getTranslation as _0x372f45}from'../utils/common-translations';export default class Ct extends _0xf16840{[_0x174d('0xf')](){if(!this[_0x174d('0x1b')][_0x174d('0x16')][_0x174d('0xa')](_0x174d('0x4')))return;const _0x50ed09=this[_0x174d('0x1b')][_0x174d('0x21')][_0x174d('0x15')](_0x174d('0x3')),_0x307d88=this['editor'][_0x174d('0x16')][_0x174d('0x15')](_0x174d('0x12'));_0x50ed09[_0x174d('0x29')]&&_0x307d88[_0x174d('0x27')](_0x174d('0x1'),this[_0x174d('0xe')][_0x174d('0x19')](this)),_0x50ed09[_0x174d('0x2f')]&&_0x307d88[_0x174d('0x27')](_0x174d('0xd'),this[_0x174d('0x1e')]['bind'](this)),_0x50ed09[_0x174d('0xc')]&&_0x307d88['enableCommand'](_0x174d('0xb'),this[_0x174d('0x10')][_0x174d('0x19')](this)),_0x307d88[_0x174d('0x24')]['registerDescriptionCallback'](this[_0x174d('0x1c')]['bind'](this));}['handleListStyleCommand'](_0x15e089,_0x3ae10a={}){const _0x10a157=this[_0x174d('0x1b')][_0x174d('0x16')][_0x174d('0x15')](_0x174d('0x12')),_0x349348=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x174d('0x2d')][_0x174d('0x32')](()=>{_0x10a157['markMultiRangeBlockFormat'](_0x349348,{'commandName':_0x174d('0x1'),'commandParams':[{'type':_0x3ae10a['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x527800,_0x5d4b11={}){const _0x4be703=this['editor'][_0x174d('0x16')][_0x174d('0x15')]('TrackChangesEditing'),_0x1a5314=this[_0x174d('0x1b')][_0x174d('0x16')]['get'](_0x174d('0x9')),_0x547965=this[_0x174d('0x20')](_0x412810=>_0x1a5314[_0x174d('0x8')](_0x412810)&&'numbered'===_0x412810[_0x174d('0x2b')]('listType'));null!==_0x547965&&this['editor']['model'][_0x174d('0x32')](()=>{_0x4be703['markMultiRangeBlockFormat'](_0x547965,{'commandName':'listReversed','commandParams':[{'reversed':_0x5d4b11[_0x174d('0x2f')]}],'formatGroupId':'listReversed'});});}[_0x174d('0x10')](_0x2b7829,_0x5f11d0={}){const _0x5959dc=this['editor'][_0x174d('0x16')][_0x174d('0x15')](_0x174d('0x12')),_0x45f940=this[_0x174d('0x1b')][_0x174d('0x16')]['get'](_0x174d('0x9')),_0x332da7=this[_0x174d('0x20')](_0x5dbd14=>_0x45f940[_0x174d('0x8')](_0x5dbd14)&&'numbered'===_0x5dbd14[_0x174d('0x2b')](_0x174d('0x17')));null!==_0x332da7&&this[_0x174d('0x1b')][_0x174d('0x2d')]['change'](()=>{_0x5959dc[_0x174d('0x2c')](_0x332da7,{'commandName':_0x174d('0xb'),'commandParams':[{'startIndex':_0x5f11d0[_0x174d('0xc')]}],'formatGroupId':_0x174d('0xb')});});}[_0x174d('0x1c')](_0x25894d){const _0x32c32e=this[_0x174d('0x1b')]['locale'],{data:_0x2b91a6}=_0x25894d;if(!_0x2b91a6)return;let _0x138413,_0x4df5fc;switch(_0x2b91a6[_0x174d('0x31')]){case _0x174d('0x1'):_0x138413=_0x174d('0x14'),_0x4df5fc={'type':_0x174d('0x26'),'content':_0x372f45(_0x32c32e,_0x138413,_0x372f45(_0x32c32e,this[_0x174d('0x1d')](_0x2b91a6[_0x174d('0x23')][0x0][_0x174d('0x11')])))};break;case _0x174d('0xd'):_0x138413=_0x2b91a6[_0x174d('0x23')][0x0][_0x174d('0x2f')]?_0x174d('0x28'):_0x174d('0x25'),_0x4df5fc={'type':_0x174d('0x26'),'content':_0x372f45(_0x32c32e,_0x138413)};break;case _0x174d('0xb'):_0x138413=_0x174d('0x30'),_0x4df5fc={'type':'format','content':_0x372f45(_0x32c32e,_0x138413,_0x2b91a6[_0x174d('0x23')][0x0][_0x174d('0xc')])};}return _0x4df5fc;}[_0x174d('0x2e')](){const _0x4cf3ba=this[_0x174d('0x1b')][_0x174d('0x16')][_0x174d('0x15')](_0x174d('0x9'));let _0x571bae=Array[_0x174d('0x6')](this[_0x174d('0x1b')][_0x174d('0x2d')][_0x174d('0x22')]['selection'][_0x174d('0x1f')]());return _0x571bae[_0x174d('0x1a')](..._0x4cf3ba[_0x174d('0x18')](_0x571bae)),_0x571bae=[...new Set(_0x571bae)],_0x571bae;}[_0x174d('0x20')](_0x5615bb){const _0x2f76f7=this[_0x174d('0x1b')]['plugins'][_0x174d('0x15')]('DocumentListUtils');let _0xc924da=Array[_0x174d('0x6')](this['editor'][_0x174d('0x2d')][_0x174d('0x22')][_0x174d('0x2a')][_0x174d('0x1f')]())['filter'](_0x5615bb);if(!_0xc924da[_0x174d('0x0')])return null;_0xc924da=_0x2f76f7[_0x174d('0x18')](_0xc924da);const _0x299711=[];for(const _0x8f69dc of _0xc924da)_0x2f76f7[_0x174d('0x33')](_0x8f69dc)&&_0x299711[_0x174d('0x1a')](_0x8f69dc);return _0x299711;}[_0x174d('0x1d')](_0x15a925){return'ELEMENT_'+this[_0x174d('0x1b')]['plugins']['get']('DocumentListPropertiesUtils')[_0x174d('0x2')](_0x15a925)[_0x174d('0x5')]()+_0x174d('0x7')+_0x15a925['toUpperCase']()[_0x174d('0x13')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a61=['afterExecute','getFirstRange','high','split','editor','addMarker:suggestion:insertion','createPositionAt','TrackChangesEditing','remove','markerName','downcastDispatcher','enter','get','change','editing','detach','createRange','writer','enableCommand','bind','document','model','ck-suggestion-marker-split','end','plugins','selection','init','unbindElementFromMarkerName','setSelection'];(function(_0xed382d,_0x5a61ad){const _0x2c4ff9=function(_0x58d7ac){while(--_0x58d7ac){_0xed382d['push'](_0xed382d['shift']());}};_0x2c4ff9(++_0x5a61ad);}(_0x5a61,0xa2));const _0x2c4f=function(_0xed382d,_0x5a61ad){_0xed382d=_0xed382d-0x0;let _0x2c4ff9=_0x5a61[_0xed382d];return _0x2c4ff9;};import{Plugin as _0x3ccad5}from'ckeditor5/src/core';import{Enter as _0x49324f}from'ckeditor5/src/enter';import{LiveRange as _0xb4c792}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xbaa181}from'./utils';export default class z extends _0x3ccad5{static get['requires'](){return[_0x49324f];}[_0x2c4f('0x9')](){const _0x319e8d=this[_0x2c4f('0x10')],_0x1b61d9=_0x319e8d[_0x2c4f('0x7')][_0x2c4f('0x18')](_0x2c4f('0x13')),_0x520440=_0x319e8d['commands'][_0x2c4f('0x18')](_0x2c4f('0x17'));_0x1b61d9[_0x2c4f('0x1')](_0x2c4f('0x17'),()=>{_0x319e8d[_0x2c4f('0x4')][_0x2c4f('0x19')](_0x2e01c5=>{const _0x4ddf01=_0x319e8d[_0x2c4f('0x4')][_0x2c4f('0x3')][_0x2c4f('0x8')],_0xa6df27=_0x4ddf01['getFirstPosition'](),_0x160f14=_0xb4c792['fromRange'](_0x4ddf01[_0x2c4f('0xd')]());if(_0x520440['enterBlock'](_0x2e01c5)){const _0x540d2f=_0x319e8d['model'][_0x2c4f('0x12')](_0xa6df27['parent']['nextSibling'],0x0),_0x595e30=_0x2e01c5[_0x2c4f('0x1c')](_0xa6df27,_0x540d2f);_0x1b61d9['markInsertion'](_0x595e30);}else _0x2e01c5[_0x2c4f('0xb')](_0x2e01c5['createRange'](_0x160f14[_0x2c4f('0x6')]));_0x160f14[_0x2c4f('0x1b')](),_0x520440['fire'](_0x2c4f('0xc'),{'writer':_0x2e01c5});});}),_0x319e8d[_0x2c4f('0x1a')][_0x2c4f('0x16')]['on']('addMarker:suggestion:insertion',_0xbaa181(_0x319e8d,_0x2c4f('0xf')),{'priority':_0x2c4f('0xe')}),_0x319e8d[_0x2c4f('0x1a')][_0x2c4f('0x16')]['on']('removeMarker:suggestion:insertion',(_0x9791b8,_0x46d3ec,_0x31e5db)=>{const _0x10fd92=_0x31e5db['mapper']['markerNameToElements'](_0x46d3ec[_0x2c4f('0x15')]);if(_0x10fd92)for(const _0x18842f of _0x10fd92)_0x18842f['hasClass'](_0x2c4f('0x5'))&&(_0x31e5db['mapper'][_0x2c4f('0xa')](_0x18842f,_0x46d3ec[_0x2c4f('0x15')]),_0x31e5db[_0x2c4f('0x0')][_0x2c4f('0x14')](_0x18842f));},{'priority':_0x2c4f('0xe')}),_0x319e8d['data']['downcastDispatcher']['on'](_0x2c4f('0x11'),(_0x52bf05,_0x537885,_0x5545c7)=>{_0x5545c7['options']['showSuggestionHighlights']&&_0xbaa181(_0x319e8d,'split',{'showActiveMarker':!0x1})[_0x2c4f('0x2')](this)(_0x52bf05,_0x537885,_0x5545c7);},{'priority':_0x2c4f('0xe')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c70=['model','bind','TrackChangesEditing','createPositionAt','getIntersection','editor','filter','handleFindCommand','replaceAll','_isInDeletionRange','findPrevious','replace','enableCommand','string','createRange','getRange','suggestion:deletion','findNext','get','findByTextCallback','getMarkersGroup','plugins','FindAndReplaceUtils'];(function(_0x4385bf,_0x4c7068){const _0x352038=function(_0x2c0502){while(--_0x2c0502){_0x4385bf['push'](_0x4385bf['shift']());}};_0x352038(++_0x4c7068);}(_0x4c70,0x17f));const _0x3520=function(_0x4385bf,_0x4c7068){_0x4385bf=_0x4385bf-0x0;let _0x352038=_0x4c70[_0x4385bf];return _0x352038;};import{Plugin as _0x2f89b6}from'ckeditor5/src/core';export default class H extends _0x2f89b6{['afterInit'](){if(!this[_0x3520('0xd')][_0x3520('0x6')]['has']('FindAndReplaceEditing'))return;const _0x276616=this[_0x3520('0xd')][_0x3520('0x6')][_0x3520('0x3')](_0x3520('0xa'));_0x276616['enableCommand']('find',this[_0x3520('0xf')][_0x3520('0x9')](this)),_0x276616[_0x3520('0x14')](_0x3520('0x2')),_0x276616['enableCommand'](_0x3520('0x12')),_0x276616[_0x3520('0x14')](_0x3520('0x13')),_0x276616[_0x3520('0x14')](_0x3520('0x10'));}[_0x3520('0xf')](_0x713175,_0x2becfb,_0x215427={}){const _0x5bf228=this[_0x3520('0xd')][_0x3520('0x6')][_0x3520('0x3')](_0x3520('0x7'));if(void 0x0!==_0x215427)return _0x713175(_0x4b0964=>(_0x3520('0x15')==typeof _0x2becfb?_0x5bf228[_0x3520('0x4')](_0x2becfb,_0x215427):_0x2becfb)(_0x4b0964)[_0x3520('0xe')](_0x35e50e=>!0x1===this['_isInDeletionRange'](_0x35e50e,_0x4b0964['item'])),_0x215427);}[_0x3520('0x11')](_0x16d49b,_0x45bd62){const _0x579e3e=this[_0x3520('0xd')][_0x3520('0x8')][_0x3520('0x16')](this[_0x3520('0xd')][_0x3520('0x8')]['createPositionAt'](_0x45bd62,_0x16d49b['start']),this[_0x3520('0xd')][_0x3520('0x8')][_0x3520('0xb')](_0x45bd62,_0x16d49b['end']));for(const _0x14bc5d of this[_0x3520('0xd')]['model']['markers'][_0x3520('0x5')](_0x3520('0x1')))if(null!==_0x579e3e[_0x3520('0xc')](_0x14bc5d[_0x3520('0x0')]()))return!0x0;return!0x1;}}
|