@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230710.1 → 0.0.0-nightly-20230712.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +12 -0
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.d.ts +2 -2
- 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-20230712.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-20230712.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230712.0",
|
|
44
44
|
"lodash-es": "^4.17.11"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4600=['editor','TrackChangesEditing','model','get','track-changes-accept-suggestion-not-found','isEnabled','plugins','getRanges','_suggestions','execute','canEditAt','acceptSuggestion','refresh'];(function(_0x3bccb3,_0x4600a8){const _0x2d4b96=function(_0xd13d4a){while(--_0xd13d4a){_0x3bccb3['push'](_0x3bccb3['shift']());}};_0x2d4b96(++_0x4600a8);}(_0x4600,0x15f));const _0x2d4b=function(_0x3bccb3,_0x4600a8){_0x3bccb3=_0x3bccb3-0x0;let _0x2d4b96=_0x4600[_0x3bccb3];return _0x2d4b96;};import{Command as _0x129d98}from'ckeditor5/src/core';import{CKEditorError as _0x4162d7}from'ckeditor5/src/utils';export default class M extends _0x129d98{constructor(_0x55464e,_0x411597){super(_0x55464e),this[_0x2d4b('0x8')]=_0x411597,this[_0x2d4b('0xc')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2d4b('0xc')](){this[_0x2d4b('0x5')]=!0x0;}[_0x2d4b('0x9')](_0x2c46a7){const _0x22a5ee=this['_suggestions']['get'](_0x2c46a7);if(!_0x22a5ee)throw new _0x4162d7(_0x2d4b('0x4'),this);const _0x407ac9=_0x22a5ee[_0x2d4b('0x7')]();this[_0x2d4b('0x0')][_0x2d4b('0x2')][_0x2d4b('0xa')](_0x407ac9)&&this[_0x2d4b('0x0')][_0x2d4b('0x6')][_0x2d4b('0x3')](_0x2d4b('0x1'))[_0x2d4b('0xb')](_0x22a5ee);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4912=['isEnabled','canEditAt','refresh','editor','get','_suggestions','plugins','model','TrackChangesEditing','discardSuggestion','getRanges'];(function(_0x437a22,_0x491202){const _0x11b763=function(_0x6dffbc){while(--_0x6dffbc){_0x437a22['push'](_0x437a22['shift']());}};_0x11b763(++_0x491202);}(_0x4912,0x17f));const _0x11b7=function(_0x437a22,_0x491202){_0x437a22=_0x437a22-0x0;let _0x11b763=_0x4912[_0x437a22];return _0x11b763;};import{Command as _0x56e40d}from'ckeditor5/src/core';import{CKEditorError as _0x50b5b7}from'ckeditor5/src/utils';export default class $ extends _0x56e40d{constructor(_0x2ec16f,_0x1cf6bf){super(_0x2ec16f),this[_0x11b7('0x7')]=_0x1cf6bf,this[_0x11b7('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x11b7('0x4')](){this[_0x11b7('0x2')]=!0x0;}['execute'](_0x44bbb1){const _0x1d1004=this['_suggestions'][_0x11b7('0x6')](_0x44bbb1);if(!_0x1d1004)throw new _0x50b5b7('track-changes-discard-suggestion-not-found',this);const _0x4f9cb8=_0x1d1004[_0x11b7('0x1')]();this[_0x11b7('0x5')][_0x11b7('0x9')][_0x11b7('0x3')](_0x4f9cb8)&&this[_0x11b7('0x5')][_0x11b7('0x8')][_0x11b7('0x6')](_0x11b7('0xa'))[_0x11b7('0x0')](_0x1d1004);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c98=['_suggestions','_isEnabledBasedOnSelection','refresh','_command','model','isEnabled','getRanges','from','isInContent','some','values','execute','editor'];(function(_0x32f077,_0x2c98c3){const _0x55a7d0=function(_0x4c9e61){while(--_0x4c9e61){_0x32f077['push'](_0x32f077['shift']());}};_0x55a7d0(++_0x2c98c3);}(_0x2c98,0x71));const _0x55a7=function(_0x32f077,_0x2c98c3){_0x32f077=_0x32f077-0x0;let _0x55a7d0=_0x2c98[_0x32f077];return _0x55a7d0;};import{Command as _0x2197d3}from'ckeditor5/src/core';import{sortSuggestions as _0x464bb7,executeCommandForSuggestions as _0x2910d8}from'../utils/utils';export default class N extends _0x2197d3{constructor(_0xe969dc,_0x151c93,_0x3cb6e1){super(_0xe969dc),this[_0x55a7('0x7')]=_0x151c93,this[_0x55a7('0x4')]=_0x3cb6e1,this[_0x55a7('0x6')](),this[_0x55a7('0x5')]=!0x1;}['refresh'](){const _0x371c96=Array[_0x55a7('0xb')](this['_suggestions'][_0x55a7('0x1')]())[_0x55a7('0x0')](_0xda247=>_0xda247[_0x55a7('0xc')]);this['isEnabled']=this[_0x55a7('0x7')][_0x55a7('0x9')]&&_0x371c96;}[_0x55a7('0x2')](){const _0xa12928=_0x464bb7(Array[_0x55a7('0xb')](this[_0x55a7('0x4')]['values']()));for(const _0x5b32aa of _0xa12928){const _0x3d9e69=_0x5b32aa[_0x55a7('0xa')]();if(!this['editor'][_0x55a7('0x8')]['canEditAt'](_0x3d9e69))return;}_0x2910d8(this[_0x55a7('0x3')]['model'],this[_0x55a7('0x7')],_0xa12928);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x168c=['refresh','_selectedSuggestions','canEditAt','model','_suggestions','execute','size','values','_isEnabledBasedOnSelection','_command','editor','isEnabled','from','getRanges','document','selection'];(function(_0x220e75,_0x168c86){const _0x75d6ad=function(_0x20ff5e){while(--_0x20ff5e){_0x220e75['push'](_0x220e75['shift']());}};_0x75d6ad(++_0x168c86);}(_0x168c,0xf3));const _0x75d6=function(_0x220e75,_0x168c86){_0x220e75=_0x220e75-0x0;let _0x75d6ad=_0x168c[_0x220e75];return _0x75d6ad;};import{Command as _0x227058}from'ckeditor5/src/core';import{sortSuggestions as _0x1a1a1b,getSelectedSuggestions as _0x3aa4b2,executeCommandForSuggestions as _0x5c59aa}from'../utils/utils';export default class R extends _0x227058{constructor(_0x49640c,_0x29406f,_0x327e66){super(_0x49640c),this[_0x75d6('0x6')]=_0x29406f,this['_suggestions']=_0x327e66,this['_selectedSuggestions']=new Set(),this['refresh'](),this[_0x75d6('0x5')]=!0x1;}[_0x75d6('0xd')](){const _0x562012=this['editor'][_0x75d6('0x0')][_0x75d6('0xb')][_0x75d6('0xc')],_0x58c5bb=Array[_0x75d6('0x9')](this[_0x75d6('0x1')][_0x75d6('0x4')]());this[_0x75d6('0xe')]=_0x3aa4b2(_0x562012,_0x58c5bb),this[_0x75d6('0x8')]=this['_command'][_0x75d6('0x8')]&&!!this[_0x75d6('0xe')][_0x75d6('0x3')];}[_0x75d6('0x2')](){const _0x371772=_0x1a1a1b(Array[_0x75d6('0x9')](this[_0x75d6('0xe')]));for(const _0x13faea of _0x371772){const _0x4f2e26=_0x13faea[_0x75d6('0xa')]();if(!this[_0x75d6('0x7')]['model'][_0x75d6('0xf')](_0x4f2e26))return;}_0x5c59aa(this['editor'][_0x75d6('0x0')],this[_0x75d6('0x6')],_0x371772);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d78=['_isEnabledBasedOnSelection','refresh','value','_enableCommands','affectsData','clearForceDisabled','TrackChangesCommand','has','forceDisabled','commands','editor','_enabledCommands','_disableUnsupportedCommands'];(function(_0x7eac95,_0x5d78df){const _0x17a477=function(_0x2473dc){while(--_0x2473dc){_0x7eac95['push'](_0x7eac95['shift']());}};_0x17a477(++_0x5d78df);}(_0x5d78,0x85));const _0x17a4=function(_0x7eac95,_0x5d78df){_0x7eac95=_0x7eac95-0x0;let _0x17a477=_0x5d78[_0x7eac95];return _0x17a477;};import{Command as _0x23dee8}from'ckeditor5/src/core';export default class _ extends _0x23dee8{constructor(_0xebac8b,_0x25fc68){super(_0xebac8b),this[_0x17a4('0x8')]=_0x25fc68,this[_0x17a4('0xc')]=!0x1,this[_0x17a4('0xb')](),this[_0x17a4('0xa')]=!0x1;}[_0x17a4('0xb')](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0x17a4('0xc')],this['value']?this[_0x17a4('0x9')]():this[_0x17a4('0x0')]();}[_0x17a4('0x9')](){for(const _0x15a5ce of this[_0x17a4('0x7')][_0x17a4('0x6')][_0x17a4('0x6')]())_0x15a5ce[_0x17a4('0x1')]&&!this[_0x17a4('0x8')][_0x17a4('0x4')](_0x15a5ce)&&_0x15a5ce[_0x17a4('0x5')](_0x17a4('0x3'));}[_0x17a4('0x0')](){for(const _0x4467d9 of this[_0x17a4('0x7')]['commands'][_0x17a4('0x6')]())_0x4467d9[_0x17a4('0x1')]&&!this[_0x17a4('0x8')][_0x17a4('0x4')](_0x4467d9)&&_0x4467d9[_0x17a4('0x2')](_0x17a4('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5774=['locale','from','left','commandName','FORMAT_ALIGN_TO_CENTER','ltr','afterInit','FORMAT_JUSTIFY_TEXT','enableCommand','change','schema','document','TrackChangesEditing','editor','checkAttribute','filter','center','alignment','*Format:*\x20%0','get','commandParams','FORMAT_ALIGN_TO_RIGHT','selection','value','has','plugins','model','contentLanguageDirection','registerDescriptionCallback'];(function(_0x5de1ea,_0x577470){const _0x4d731d=function(_0x2ae70e){while(--_0x2ae70e){_0x5de1ea['push'](_0x5de1ea['shift']());}};_0x4d731d(++_0x577470);}(_0x5774,0x1ee));const _0x4d73=function(_0x5de1ea,_0x577470){_0x5de1ea=_0x5de1ea-0x0;let _0x4d731d=_0x5774[_0x5de1ea];return _0x4d731d;};import{Plugin as _0x126b32}from'ckeditor5/src/core';import{getTranslation as _0x49159b}from'../utils/common-translations';export default class x extends _0x126b32{[_0x4d73('0x5')](){const _0x2b2fac=this[_0x4d73('0xc')],_0x447678=_0x2b2fac[_0x4d73('0x1c')];if(!_0x2b2fac[_0x4d73('0x18')][_0x4d73('0x17')]('AlignmentEditing'))return;const _0x133c50=_0x2b2fac[_0x4d73('0x18')][_0x4d73('0x12')](_0x4d73('0xb'));_0x133c50[_0x4d73('0x7')](_0x4d73('0x10'),(_0x5e9ec8,_0x2b7528={})=>{let _0x3cfeff=_0x2b7528[_0x4d73('0x16')];_0x2b7528[_0x4d73('0x16')]||(_0x3cfeff=_0x4d73('0x4')===_0x2b2fac[_0x4d73('0x1c')][_0x4d73('0x1a')]?_0x4d73('0x1'):'right');const _0x6cef59=Array[_0x4d73('0x0')](this[_0x4d73('0xc')][_0x4d73('0x19')][_0x4d73('0xa')][_0x4d73('0x15')]['getSelectedBlocks']())[_0x4d73('0xe')](_0x4fe136=>function(_0x39c6e7,_0x86285f,_0xf4e7e3){const _0x6c8da3=_0x39c6e7['getAttribute'](_0x4d73('0x10'))||null;return _0x86285f[_0x4d73('0xd')](_0x39c6e7,_0x4d73('0x10'))&&_0xf4e7e3!=_0x6c8da3;}(_0x4fe136,this[_0x4d73('0xc')][_0x4d73('0x19')][_0x4d73('0x9')],_0x3cfeff));_0x2b2fac[_0x4d73('0x19')][_0x4d73('0x8')](()=>{for(const _0x37ccdc of _0x6cef59)_0x133c50['markBlockFormat'](_0x37ccdc,{'commandName':'alignment','commandParams':[{'value':_0x3cfeff}]});});}),_0x133c50['_descriptionFactory'][_0x4d73('0x1b')](_0x41ae8b=>{const {data:_0x3ac6e1}=_0x41ae8b;if(_0x3ac6e1&&_0x4d73('0x10')==_0x3ac6e1[_0x4d73('0x2')]){const _0x30d817=_0x3ac6e1[_0x4d73('0x13')][0x0][_0x4d73('0x16')];return{'type':'format','content':_0x49159b(_0x447678,_0x4d73('0x11'),function(_0x897880){switch(_0x897880){case _0x4d73('0x1'):return _0x49159b(_0x447678,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x49159b(_0x447678,_0x4d73('0x14'));case _0x4d73('0xf'):return _0x49159b(_0x447678,_0x4d73('0x3'));case'justify':return _0x49159b(_0x447678,_0x4d73('0x6'));}}(_0x30d817))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1057=['FORMAT_ITALIC','code','enableCommand','*Remove\x20format:*\x20%0','forceValue','BoldEditing','format','commandParams','getRanges','commandName','FORMAT_SUBSCRIPT','plugins','underline','commands','get','ItalicEditing','FORMAT_UNDERLINE','change','markInlineFormat','slice','CodeEditing','FORMAT_BOLD','from','toLowerCase','afterInit','subscript','UnderlineEditing','registerDescriptionCallback','_descriptionFactory','has','locale','bold','SuperscriptEditing','TrackChangesEditing','isCollapsed','model','SubscriptEditing','editor','FORMAT_SUPERSCRIPT','*Format:*\x20%0','italic'];(function(_0x482ecb,_0x10573a){const _0x311cce=function(_0x37f660){while(--_0x37f660){_0x482ecb['push'](_0x482ecb['shift']());}};_0x311cce(++_0x10573a);}(_0x1057,0x193));const _0x311c=function(_0x482ecb,_0x10573a){_0x482ecb=_0x482ecb-0x0;let _0x311cce=_0x1057[_0x482ecb];return _0x311cce;};import{Plugin as _0x1a7dea}from'ckeditor5/src/core';import{getTranslation as _0x17e08c}from'../utils/common-translations';import{getRangesWithAttribute as _0x24edb1}from'./utils';const Kt=[_0x311c('0xc'),_0x311c('0x16'),_0x311c('0x21'),_0x311c('0x1b'),'StrikethroughEditing',_0x311c('0x2'),_0x311c('0x27')];export default class U extends _0x1a7dea{[_0x311c('0x1f')](){const _0x1a0a00=this[_0x311c('0x3')],_0x4ddca4=_0x1a0a00[_0x311c('0x1')],_0x43209d=_0x1a0a00[_0x311c('0x12')][_0x311c('0x15')](_0x311c('0x28')),_0x3d8624=_0x1a0a00[_0x311c('0x25')];for(const _0x26beb4 of Kt){if(!_0x1a0a00['plugins'][_0x311c('0x24')](_0x26beb4))continue;const _0x6fbe1=_0x26beb4[_0x311c('0x1a')](0x0,-0x7)[_0x311c('0x1e')](),_0xf512e=_0x1a0a00[_0x311c('0x14')][_0x311c('0x15')](_0x6fbe1);_0x43209d[_0x311c('0x9')](_0x6fbe1,(_0x33b434,_0x30c749={})=>{const _0x2b1710=_0x4ddca4['document']['selection'];if(_0x2b1710[_0x311c('0x0')])return void _0x33b434(_0x30c749);const _0x1fb58a=void 0x0!==_0x30c749[_0x311c('0xb')]?_0x30c749[_0x311c('0xb')]:!_0xf512e['value'];_0x4ddca4[_0x311c('0x18')](()=>{const _0x1d16f5=Array[_0x311c('0x1d')](_0x2b1710[_0x311c('0xf')]());for(const _0x257280 of _0x1d16f5){const _0x59223e=_0x1fb58a?[_0x257280]:_0x24edb1(_0x6fbe1,_0x257280,_0x4ddca4);for(const _0x344249 of _0x59223e)_0x43209d[_0x311c('0x19')](_0x344249,{'commandName':_0x6fbe1,'commandParams':[{'forceValue':_0x1fb58a}]});}});});}function _0x4e9efa(_0xf57e7a,_0xd16e0a){_0x43209d[_0x311c('0x23')][_0x311c('0x22')](_0x341fc1=>{const {data:_0xf374db}=_0x341fc1;if(_0xf374db&&_0xf374db[_0x311c('0x10')]===_0xf57e7a)return _0xf374db[_0x311c('0xe')][0x0]['forceValue']?{'type':_0x311c('0xd'),'content':_0x17e08c(_0x3d8624,_0x311c('0x5'),_0xd16e0a)}:{'type':'format','content':_0x17e08c(_0x3d8624,_0x311c('0xa'),_0xd16e0a)};});}_0x4e9efa(_0x311c('0x26'),_0x17e08c(_0x3d8624,_0x311c('0x1c'))),_0x4e9efa(_0x311c('0x6'),_0x17e08c(_0x3d8624,_0x311c('0x7'))),_0x4e9efa(_0x311c('0x13'),_0x17e08c(_0x3d8624,_0x311c('0x17'))),_0x4e9efa(_0x311c('0x8'),_0x17e08c(_0x3d8624,'FORMAT_CODE')),_0x4e9efa('strikethrough',_0x17e08c(_0x3d8624,'FORMAT_STRIKETHROUGH')),_0x4e9efa(_0x311c('0x20'),_0x17e08c(_0x3d8624,_0x311c('0x11'))),_0x4e9efa('superscript',_0x17e08c(_0x3d8624,_0x311c('0x4')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54fa=['get','parent','registerDescriptionCallback','format','checkChild','model','getSelectedBlocks','blockQuote','$root','commandName','plugins','*Remove\x20format:*\x20%0','forceValue','enableCommand','document','value','editor','TrackChangesEditing','selection','commands','BlockQuoteEditing','afterInit','ELEMENT_BLOCK_QUOTE','has','change','from','schema','commandParams','markBlockFormat','filter','*Format:*\x20%0'];(function(_0x5a315a,_0x54faae){const _0x34f372=function(_0x3a704e){while(--_0x3a704e){_0x5a315a['push'](_0x5a315a['shift']());}};_0x34f372(++_0x54faae);}(_0x54fa,0x1df));const _0x34f3=function(_0x5a315a,_0x54faae){_0x5a315a=_0x5a315a-0x0;let _0x34f372=_0x54fa[_0x5a315a];return _0x34f372;};import{Plugin as _0x2a387e}from'ckeditor5/src/core';import{getTranslation as _0x270360}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1a05fb}from'../utils/utils';export default class j extends _0x2a387e{[_0x34f3('0x7')](){const _0x24f0fe=this['editor'],_0xb0124b=_0x24f0fe['locale'];if(!_0x24f0fe[_0x34f3('0x1b')][_0x34f3('0x9')](_0x34f3('0x6')))return;const _0x3b27be=_0x24f0fe[_0x34f3('0x1b')][_0x34f3('0x11')](_0x34f3('0x3')),_0x2e1dc0=this[_0x34f3('0x2')][_0x34f3('0x5')][_0x34f3('0x11')](_0x34f3('0x18'));_0x3b27be[_0x34f3('0x1e')](_0x34f3('0x18'),(_0x105405,_0x1fe503={})=>{const _0x3a9ae3=this[_0x34f3('0x2')]['model'][_0x34f3('0x0')][_0x34f3('0x4')],_0x581a56=_0x1fe503&&void 0x0!==_0x1fe503[_0x34f3('0x1d')]?_0x1fe503['forceValue']:!_0x2e1dc0[_0x34f3('0x1')];let _0x37daa1=[];if(_0x581a56){const _0x5e1894=Array[_0x34f3('0xb')](_0x3a9ae3[_0x34f3('0x17')]())['filter'](_0x3343fc=>Xt(_0x3343fc)||function(_0x256937,_0xcd584c){const _0x3423e1=_0xcd584c[_0x34f3('0x15')](_0x256937[_0x34f3('0x12')],'blockQuote'),_0x277758=_0xcd584c[_0x34f3('0x15')]([_0x34f3('0x19'),_0x34f3('0x18')],_0x256937);return _0x3423e1&&_0x277758;}(_0x3343fc,this['editor'][_0x34f3('0x16')][_0x34f3('0xc')]));_0x37daa1=_0x1a05fb(_0x5e1894,_0x24f0fe['model']);}else{const _0x10b0e5=Array[_0x34f3('0xb')](_0x3a9ae3[_0x34f3('0x17')]())[_0x34f3('0xf')](_0x1cdf55=>Xt(_0x1cdf55));_0x37daa1=_0x1a05fb(_0x10b0e5,_0x24f0fe[_0x34f3('0x16')]);}_0x24f0fe[_0x34f3('0x16')][_0x34f3('0xa')](()=>{for(const _0x31aa50 of _0x37daa1)_0x3b27be[_0x34f3('0xe')](_0x31aa50,{'commandName':_0x34f3('0x18'),'commandParams':[{'forceValue':_0x581a56}]});});}),_0x3b27be['_descriptionFactory'][_0x34f3('0x13')](_0x11dbb8=>{const {data:_0x423b1d}=_0x11dbb8;if(_0x423b1d&&_0x34f3('0x18')==_0x423b1d[_0x34f3('0x1a')]){const _0x448d91=_0x270360(_0xb0124b,_0x34f3('0x8'));return _0x423b1d[_0x34f3('0xd')][0x0][_0x34f3('0x1d')]?{'type':_0x34f3('0x14'),'content':_0x270360(_0xb0124b,_0x34f3('0x10'),_0x448d91)}:{'type':_0x34f3('0x14'),'content':_0x270360(_0xb0124b,_0x34f3('0x1c'),_0x448d91)};}});}}function Xt(_0x4db1d7){return _0x34f3('0x18')==_0x4db1d7[_0x34f3('0x12')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x369f=['commands','editor','TrackChangesEditing','get','enableCommand','ckbox','plugins'];(function(_0x54a0a5,_0x369f15){const _0x406f49=function(_0x158eab){while(--_0x158eab){_0x54a0a5['push'](_0x54a0a5['shift']());}};_0x406f49(++_0x369f15);}(_0x369f,0x1c7));const _0x406f=function(_0x54a0a5,_0x369f15){_0x54a0a5=_0x54a0a5-0x0;let _0x406f49=_0x369f[_0x54a0a5];return _0x406f49;};import{Plugin as _0x1bb6c1}from'ckeditor5/src/core';export default class E extends _0x1bb6c1{['afterInit'](){const _0x5597c1=this[_0x406f('0x1')];_0x5597c1[_0x406f('0x0')][_0x406f('0x3')](_0x406f('0x5'))&&_0x5597c1[_0x406f('0x6')][_0x406f('0x3')](_0x406f('0x2'))[_0x406f('0x4')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cf8=['commandName','selection','registerDescriptionCallback','ELEMENT_CODE_BLOCK','plugins','_descriptionFactory','parent','has','value','commandParams','name','config','isLimit','commands','find','model','checkChild','format','language','rootElement','forceValue','from','getSelectedBlocks','indentCodeBlock','enableCommand','filter','codeBlock','get','label','*Remove\x20format:*\x20%0','formatBlock','registerElementLabel','locale','document','outdentCodeBlock','afterInit'];(function(_0x1c2346,_0x1cf87d){const _0x4e5eb7=function(_0x30b217){while(--_0x30b217){_0x1c2346['push'](_0x1c2346['shift']());}};_0x4e5eb7(++_0x1cf87d);}(_0x1cf8,0xda));const _0x4e5e=function(_0x1c2346,_0x1cf87d){_0x1c2346=_0x1c2346-0x0;let _0x4e5eb7=_0x1cf8[_0x1c2346];return _0x4e5eb7;};import{Plugin as _0x34f687}from'ckeditor5/src/core';import{getTranslation as _0x37dcff}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3a75cc}from'../utils/utils';export default class O extends _0x34f687{[_0x4e5e('0x21')](){const _0x1a2cbb=this['editor'];if(!_0x1a2cbb[_0x4e5e('0x2')][_0x4e5e('0x5')]('CodeBlock'))return;const _0x205ab5=_0x1a2cbb[_0x4e5e('0x2')][_0x4e5e('0x19')]('TrackChangesEditing'),_0x292dac=_0x1a2cbb[_0x4e5e('0x1e')],_0x19a912=_0x1a2cbb[_0x4e5e('0x9')][_0x4e5e('0x19')](_0x4e5e('0x18'))['languages'],_0x1ecc6b=_0x1a2cbb[_0x4e5e('0xb')][_0x4e5e('0x19')](_0x4e5e('0x18'));_0x205ab5['enableCommand'](_0x4e5e('0x15')),_0x205ab5[_0x4e5e('0x16')](_0x4e5e('0x20')),_0x205ab5['enableCommand'](_0x4e5e('0x18'),(_0x25688f,_0x3cc140={})=>{const _0x2fd220=_0x1a2cbb[_0x4e5e('0xd')],_0x30e51c=_0x1a2cbb[_0x4e5e('0xd')][_0x4e5e('0x1f')][_0x4e5e('0x23')],_0x5ecbc8=_0x3cc140&&void 0x0!==_0x3cc140[_0x4e5e('0x12')]?_0x3cc140[_0x4e5e('0x12')]:!_0x1ecc6b[_0x4e5e('0x6')];let _0x498f5c;_0x3cc140[_0x4e5e('0x10')]||(_0x3cc140[_0x4e5e('0x10')]=_0x19a912[0x0][_0x4e5e('0x10')]),_0x498f5c=_0x5ecbc8?Array[_0x4e5e('0x13')](_0x30e51c[_0x4e5e('0x14')]())['filter'](_0x546034=>oo(_0x546034)||function(_0x216566,_0x514024){if(_0x216566['is'](_0x4e5e('0x11'))||_0x514024[_0x4e5e('0xa')](_0x216566))return!0x1;return _0x514024[_0x4e5e('0xe')](_0x216566[_0x4e5e('0x4')],_0x4e5e('0x18'));}(_0x546034,_0x2fd220['schema'])):Array['from'](_0x30e51c[_0x4e5e('0x14')]())[_0x4e5e('0x17')](_0x4e7649=>oo(_0x4e7649));const _0x4a0cae=_0x3a75cc(_0x498f5c,_0x2fd220);_0x2fd220['change'](()=>{for(const _0x3499f3 of _0x4a0cae)_0x205ab5['markBlockFormat'](_0x3499f3,{'commandName':_0x4e5e('0x18'),'commandParams':[{..._0x3cc140,'forceValue':_0x5ecbc8}],'formatGroupId':'blockName'});});}),(_0x205ab5['_descriptionFactory'][_0x4e5e('0x1d')](_0x4e5e('0x18'),_0xd2199=>_0x37dcff(_0x292dac,_0x4e5e('0x1'),_0xd2199)),_0x205ab5[_0x4e5e('0x3')][_0x4e5e('0x0')](_0x4d6276=>{const _0x31a625=_0x292dac['t'],{type:_0xf9b1b,data:_0x5dae35}=_0x4d6276;if(_0x4e5e('0x1c')==_0xf9b1b&&_0x5dae35&&_0x4e5e('0x18')==_0x5dae35[_0x4e5e('0x22')]){const _0x2bc2da=_0x5dae35[_0x4e5e('0x7')][0x0]['language'],_0x5d24cc=_0x31a625(_0x19a912[_0x4e5e('0xc')](_0x449f62=>_0x449f62[_0x4e5e('0x10')]===_0x2bc2da)[_0x4e5e('0x1a')]);return _0x5dae35[_0x4e5e('0x7')][0x0]['forceValue']?{'type':'format','content':_0x37dcff(_0x292dac,'*Format:*\x20%0',_0x37dcff(_0x292dac,_0x4e5e('0x1'),0x1)+'\x20('+_0x5d24cc+')')}:{'type':_0x4e5e('0xf'),'content':_0x37dcff(_0x292dac,_0x4e5e('0x1b'),_0x37dcff(_0x292dac,_0x4e5e('0x1'),0x1))};}}));}}function oo(_0x1d4202){return _0x4e5e('0x18')==_0x1d4202[_0x4e5e('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1264=['afterInit','TrackChangesEditing','has','addCommentThread','plugins','editor','enableCommand','CommentsEditing'];(function(_0x55d4c6,_0x126414){const _0x290832=function(_0x2f3ab7){while(--_0x2f3ab7){_0x55d4c6['push'](_0x55d4c6['shift']());}};_0x290832(++_0x126414);}(_0x1264,0x1cc));const _0x2908=function(_0x55d4c6,_0x126414){_0x55d4c6=_0x55d4c6-0x0;let _0x290832=_0x1264[_0x55d4c6];return _0x290832;};import{Plugin as _0x5c7d93}from'ckeditor5/src/core';export default class F extends _0x5c7d93{[_0x2908('0x4')](){const _0x2d166c=this[_0x2908('0x1')];if(!_0x2d166c[_0x2908('0x0')][_0x2908('0x6')](_0x2908('0x3')))return;_0x2d166c[_0x2908('0x0')]['get'](_0x2908('0x5'))[_0x2908('0x2')](_0x2908('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe812=['TrackChangesEditing','model','$graveyard','buffer','plugins','removeMarker:suggestion:deletion','unit','selection','mapper','setSelection','high','markerName','commands','init','get','detach','createSelection','getFirstRange','addMarker:suggestion:deletion','deleteForward','delete','isCollapsed','fromRange','editor','createRange','start','data','remove','writer','merge','downcastDispatcher','enableCommand','uiElement','unbindElementFromMarkerName','showSuggestionHighlights','forward','modifySelection','editing'];(function(_0x4325d4,_0xe812c1){const _0x5d1cae=function(_0x3b2e42){while(--_0x3b2e42){_0x4325d4['push'](_0x4325d4['shift']());}};_0x5d1cae(++_0xe812c1);}(_0xe812,0x17e));const _0x5d1c=function(_0x4325d4,_0xe812c1){_0x4325d4=_0x4325d4-0x0;let _0x5d1cae=_0xe812[_0x4325d4];return _0x5d1cae;};import{Plugin as _0x7f5a5d}from'ckeditor5/src/core';import{LiveRange as _0x50ec6e}from'ckeditor5/src/engine';import{Delete as _0x4dd423}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x219c7f}from'./utils';export default class G extends _0x7f5a5d{static get['requires'](){return[_0x4dd423];}[_0x5d1c('0xb')](){const _0x4c0936=this[_0x5d1c('0x15')],_0x51b6dc=_0x4c0936[_0x5d1c('0x2')][_0x5d1c('0xc')](_0x5d1c('0x24'));_0x51b6dc[_0x5d1c('0x1d')](_0x5d1c('0x12'));const _0x218c46=_0x4c0936[_0x5d1c('0xa')][_0x5d1c('0xc')](_0x5d1c('0x11'));_0x51b6dc['enableCommand'](_0x5d1c('0x11'),(_0x5b77dc,_0x52e060={})=>{const _0x359537=_0x4c0936[_0x5d1c('0x25')][_0x5d1c('0xe')](_0x4c0936[_0x5d1c('0x25')]['document'][_0x5d1c('0x5')]);_0x359537[_0x5d1c('0x13')]&&_0x4c0936[_0x5d1c('0x25')][_0x5d1c('0x22')](_0x359537,{'direction':_0x5d1c('0x21'),'unit':_0x52e060[_0x5d1c('0x4')]});const _0x121df3=_0x359537[_0x5d1c('0xf')](),_0x25272b=_0x50ec6e[_0x5d1c('0x14')](_0x121df3);let _0xe6bd47;_0x5b77dc(_0x52e060),_0xe6bd47=_0x5d1c('0x0')==_0x25272b['root']['rootName']?_0x4c0936[_0x5d1c('0x25')][_0x5d1c('0x16')](_0x121df3['start']):_0x4c0936['model']['createRange'](_0x25272b[_0x5d1c('0x17')],_0x25272b['end']),_0x25272b[_0x5d1c('0xd')](),_0x4c0936[_0x5d1c('0x25')]['enqueueChange'](_0x218c46[_0x5d1c('0x1')]['batch'],_0x412613=>{_0x218c46[_0x5d1c('0x1')]['lock'](),_0x412613[_0x5d1c('0x7')](_0x412613['createRange'](_0xe6bd47['end'])),_0x218c46[_0x5d1c('0x1')]['unlock']();});}),_0x4c0936[_0x5d1c('0x23')]['downcastDispatcher']['on'](_0x5d1c('0x10'),_0x219c7f(_0x4c0936,_0x5d1c('0x1b')),{'priority':_0x5d1c('0x8')}),_0x4c0936[_0x5d1c('0x18')][_0x5d1c('0x1c')]['on'](_0x5d1c('0x10'),(_0x27e4d8,_0x57c66f,_0x4eca27)=>{_0x4eca27['options'][_0x5d1c('0x20')]&&_0x219c7f(_0x4c0936,_0x5d1c('0x1b'),{'showActiveMarker':!0x1})['bind'](this)(_0x27e4d8,_0x57c66f,_0x4eca27);},{'priority':_0x5d1c('0x8')}),_0x4c0936[_0x5d1c('0x23')][_0x5d1c('0x1c')]['on'](_0x5d1c('0x3'),(_0x1f2c82,_0x2fecc6,_0x1ccaa6)=>{const _0x3d1ceb=_0x1ccaa6['mapper']['markerNameToElements'](_0x2fecc6['markerName']);if(_0x3d1ceb)for(const _0x1293c1 of _0x3d1ceb)_0x1293c1['is'](_0x5d1c('0x1e'))&&(_0x1ccaa6[_0x5d1c('0x6')][_0x5d1c('0x1f')](_0x1293c1,_0x2fecc6[_0x5d1c('0x9')]),_0x1ccaa6[_0x5d1c('0x1a')][_0x5d1c('0x19')](_0x1293c1));},{'priority':_0x5d1c('0x8')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55e4=['enableCommand','multipleBlocks','ELEMENT_NUMBERED_LIST','commandParams','before','DocumentListUtils','deletion','listIndent','next','start','editor','format','*Change\x20to:*\x20%0','documentList','commands','createPositionAt','fromRange','afterInit','hasAttribute','execute','isObject','registerDescriptionCallback','value','isFirstBlockOfListItem','*Indent:*\x20%0','get','length','nodeAfter','end','outdentList','containsItem','mergeListItemBackward','bulletedList','plugins','ELEMENT_LIST_ITEM','getAttribute','listType','createRange','markMultiRangeBlockFormat','selection','formatBlock','expandListBlocksToCompleteList','commandName','_suggestionFactory','detach','locale','slice','document','getFirstRange','setSelection','*Format:*\x20insert\x20into\x20%0','map','has','_LIST','registerElementLabel','ELEMENT_BULLETED_LIST','mergeListItemForward','_descriptionFactory','refresh','markBlockFormat','schema','change','*Outdent:*\x20%0','*Format:*\x20remove\x20from\x20%0','after','getRanges','add','numberedList','indentList','model','push','splitListItemAfter','nextSibling','toUpperCase','TrackChangesEditing','forceValue','splitListItemBefore','getSelectedBlocks','listItemId','from'];(function(_0xa3f901,_0x55e42c){const _0x21f0de=function(_0x47cf01){while(--_0x47cf01){_0xa3f901['push'](_0xa3f901['shift']());}};_0x21f0de(++_0x55e42c);}(_0x55e4,0x8f));const _0x21f0=function(_0xa3f901,_0x55e42c){_0xa3f901=_0xa3f901-0x0;let _0x21f0de=_0x55e4[_0xa3f901];return _0x21f0de;};import{Plugin as _0x37488d}from'ckeditor5/src/core';import{getTranslation as _0x1984b2}from'../utils/common-translations';import{LiveRange as _0x4dd5bf}from'ckeditor5/src/engine';export default class L extends _0x37488d{[_0x21f0('0x22')](){const _0xbcbd3c=this[_0x21f0('0x1b')];if(!_0xbcbd3c[_0x21f0('0x32')][_0x21f0('0x45')]('DocumentListEditing'))return;const _0x258172=_0xbcbd3c[_0x21f0('0x3e')],_0x7efcfe=_0xbcbd3c[_0x21f0('0x32')][_0x21f0('0x2a')](_0x21f0('0xb')),_0x4a7c96=_0xbcbd3c['plugins'][_0x21f0('0x2a')](_0x21f0('0x16'));function _0xf031c1(_0x2ff368){return()=>{const _0x3f894e=_0xbcbd3c[_0x21f0('0x1f')][_0x21f0('0x2a')](_0x2ff368);let _0xc726b7=Array[_0x21f0('0x10')](_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x40')][_0x21f0('0x38')][_0x21f0('0xe')]());if(_0x12dfa(_0x2ff368)){_0xc726b7=_0x4a7c96[_0x21f0('0x3a')](_0xc726b7);const _0x690cc9=[];for(const _0x30b27c of _0xc726b7)_0x4a7c96[_0x21f0('0x28')](_0x30b27c)&&_0x690cc9['push'](_0x30b27c);_0xc726b7=_0x690cc9;}_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x4e')](()=>{_0x7efcfe[_0x21f0('0x37')](_0xc726b7,{'commandName':_0x2ff368,'commandParams':[{'forceValue':!_0x3f894e[_0x21f0('0x27')]}],'formatGroupId':'listType'},[],_0x21f0('0x1e'));});};}function _0xe2bdb1(_0x36afb7){return()=>{const _0x5b4e17=function(_0x44ba14){let _0x3a42f4=Array[_0x21f0('0x10')](_0x44ba14);const _0x326c14=_0x3a42f4['findIndex'](_0x30d9bc=>!_0x30d9bc[_0x21f0('0x23')]('listItemId'));return _0x326c14>-0x1&&(_0x3a42f4=_0x3a42f4[_0x21f0('0x3f')](0x0,_0x326c14)),_0x3a42f4;}(_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x40')][_0x21f0('0x38')]['getSelectedBlocks']()),_0x48c354=_0x5b4e17[_0x5b4e17[_0x21f0('0x2b')]-0x1],_0x1ff8db=_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x4d')][_0x21f0('0x25')](_0x48c354)?_0x21f0('0x1'):_0x21f0('0x2d'),_0x47091d=_0xbcbd3c['model'][_0x21f0('0x36')](_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x20')](_0x5b4e17[0x0],_0x21f0('0x15')),_0xbcbd3c['model'][_0x21f0('0x20')](_0x48c354,_0x1ff8db));_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x4e')](()=>{_0x7efcfe[_0x21f0('0x4c')](_0x47091d,{'commandName':_0x36afb7,'commandParams':[],'formatGroupId':_0x21f0('0x35')},function(_0x1276b4){const _0x119048=new Set();for(const _0x863b6f of _0x1276b4){let _0x85b38e=_0x863b6f[_0x21f0('0x9')];for(;_0x85b38e&&_0x85b38e[_0x21f0('0x34')](_0x21f0('0x18'))>_0x863b6f['getAttribute'](_0x21f0('0x18'));)_0x119048[_0x21f0('0x3')](_0x85b38e),_0x85b38e=_0x85b38e[_0x21f0('0x9')];}return Array[_0x21f0('0x10')](_0x119048);}(_0x5b4e17));});};}function _0x6e66b8(_0x48d67b){return()=>{const _0x526137=_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x40')][_0x21f0('0x38')]['getSelectedBlocks']()[_0x21f0('0x19')]()['value'],_0xd9f2f2=_0xbcbd3c['model'][_0x21f0('0x20')](_0x526137,'before'),_0x1a5ddf=_0xbcbd3c['model'][_0x21f0('0x20')](_0x526137,0x0),_0x328724=_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x36')](_0xd9f2f2,_0x1a5ddf);_0xbcbd3c[_0x21f0('0x6')]['change'](()=>{_0x7efcfe[_0x21f0('0x4c')](_0x328724,{'commandName':_0x48d67b,'commandParams':[],'formatGroupId':_0x21f0('0x35')});});};}function _0x12dfa(_0x4cd9e9){const _0x45500e=_0xbcbd3c[_0x21f0('0x1f')][_0x21f0('0x2a')](_0x21f0('0x31'))[_0x21f0('0x27')],_0x528c52=_0xbcbd3c['commands']['get']('numberedList')[_0x21f0('0x27')];return _0x21f0('0x4')===_0x4cd9e9?_0x45500e:_0x528c52;}_0x7efcfe[_0x21f0('0x11')](_0x21f0('0x4'),_0xf031c1(_0x21f0('0x4'))),_0x7efcfe[_0x21f0('0x11')](_0x21f0('0x31'),_0xf031c1(_0x21f0('0x31'))),_0x7efcfe[_0x21f0('0x11')](_0x21f0('0x5'),_0xe2bdb1(_0x21f0('0x5'))),_0x7efcfe[_0x21f0('0x11')](_0x21f0('0x2e'),_0xe2bdb1(_0x21f0('0x2e'))),_0x7efcfe[_0x21f0('0x11')](_0x21f0('0x8'),_0x6e66b8(_0x21f0('0x8'))),_0x7efcfe['enableCommand'](_0x21f0('0xd'),_0x6e66b8(_0x21f0('0xd'))),_0x7efcfe[_0x21f0('0x4a')][_0x21f0('0x47')](function(_0x47c17d){const _0x1ea647=!_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x4d')][_0x21f0('0x25')](_0x47c17d),_0x1ff1bd=_0x47c17d['previousSibling'],_0x5d4dc9=_0x47c17d[_0x21f0('0x9')],_0x45651e=_0x47c17d[_0x21f0('0x34')](_0x21f0('0xf')),_0x5d9e47=!_0x1ff1bd||_0x1ff1bd[_0x21f0('0x34')](_0x21f0('0xf'))!==_0x45651e,_0xd1e1f7=!_0x5d4dc9||_0x5d4dc9['getAttribute'](_0x21f0('0xf'))!==_0x45651e;return _0x1ea647&&Boolean(_0x45651e)&&_0x5d9e47&&_0xd1e1f7;},_0x33c933=>_0x1984b2(_0x258172,_0x21f0('0x33'),_0x33c933)),_0x7efcfe['_descriptionFactory'][_0x21f0('0x26')](function(_0xdd7194){const {data:_0x3aef4d}=_0xdd7194;if(!_0x3aef4d)return;let _0xaf2ee9,_0x2ddc05,_0x307823,_0xe9a9be;switch(_0x3aef4d[_0x21f0('0x3b')]){case _0x21f0('0x31'):_0x307823=_0x3aef4d[_0x21f0('0x14')][0x0]['forceValue'],_0xe9a9be=_0x12dfa(_0x3aef4d[_0x21f0('0x3b')]),_0xaf2ee9=_0x307823?'*Format:*\x20insert\x20into\x20%0':_0x21f0('0x0'),_0xe9a9be&&(_0xaf2ee9=_0x21f0('0x1d')),_0x2ddc05={'type':_0x21f0('0x1c'),'content':_0x1984b2(_0x258172,_0xaf2ee9,_0x1984b2(_0x258172,_0x21f0('0x48')))};break;case _0x21f0('0x4'):_0x307823=_0x3aef4d[_0x21f0('0x14')][0x0][_0x21f0('0xc')],_0xe9a9be=_0x12dfa(_0x3aef4d[_0x21f0('0x3b')]),_0xaf2ee9=_0x307823?_0x21f0('0x43'):_0x21f0('0x0'),_0xe9a9be&&(_0xaf2ee9='*Change\x20to:*\x20%0'),_0x2ddc05={'type':_0x21f0('0x1c'),'content':_0x1984b2(_0x258172,_0xaf2ee9,_0x1984b2(_0x258172,_0x21f0('0x13')))};break;case _0x21f0('0x5'):_0xaf2ee9=_0x21f0('0x29'),_0x2ddc05={'type':_0x21f0('0x1c'),'content':_0x1984b2(_0x258172,_0xaf2ee9,_0x1984b2(_0x258172,_0x21f0('0x33')))};break;case _0x21f0('0x2e'):_0xaf2ee9=function(_0x47e6e7){const _0x4d7d92=_0x47e6e7[_0x21f0('0x41')]();let _0x572012=_0x4d7d92[_0x21f0('0x1a')]['nodeAfter'];for(;_0x572012&&_0x4d7d92[_0x21f0('0x2f')](_0x572012);){if(_0x572012[_0x21f0('0x34')]('listIndent')>0x0)return!0x1;_0x572012=_0x572012[_0x21f0('0x9')];}return!0x0;}(_0xdd7194)?_0x1984b2(_0x258172,_0x21f0('0x0'),_0x1984b2(_0x258172,function(_0x417f69){const _0x1a1d2e=_0x417f69['getFirstRange']()[_0x21f0('0x1a')][_0x21f0('0x2c')];return'ELEMENT_'+_0x1a1d2e[_0x21f0('0x34')](_0x21f0('0x35'))[_0x21f0('0xa')]()+_0x21f0('0x46');}(_0xdd7194))):_0x1984b2(_0x258172,_0x21f0('0x4f'),_0x1984b2(_0x258172,_0x21f0('0x33'))),_0x2ddc05={'type':_0x21f0('0x1c'),'content':_0xaf2ee9};break;case _0x21f0('0x30'):case _0x21f0('0x49'):!0x1===_0x3aef4d[_0x21f0('0x12')]&&(_0xaf2ee9='*Merge:*\x20%0',_0x2ddc05={'type':_0x21f0('0x17'),'content':_0x1984b2(_0x258172,_0xaf2ee9,_0x1984b2(_0x258172,_0x21f0('0x33')))});}return _0x2ddc05;}),_0x7efcfe[_0x21f0('0x3c')]['registerCustomCallback'](_0x21f0('0x39'),'documentList','accept',function(_0x189209,_0x2b2bc0){const _0x4eb4d1=[];for(let _0x43b50e of _0x189209)_0x43b50e[_0x21f0('0x1a')]['nodeAfter']===_0x43b50e['end']['parent']&&(_0x43b50e=_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x36')](_0xbcbd3c[_0x21f0('0x6')]['createPositionAt'](_0x43b50e[_0x21f0('0x1a')][_0x21f0('0x2c')],0x0))),_0x4eb4d1[_0x21f0('0x7')](_0x43b50e);_0xbcbd3c[_0x21f0('0x6')][_0x21f0('0x4e')](_0x3e2114=>{const _0xffab8b=_0xbcbd3c[_0x21f0('0x6')]['document']['selection'],_0x317511=Array[_0x21f0('0x10')](_0xffab8b[_0x21f0('0x2')]())[_0x21f0('0x44')](_0x2e76c6=>_0x4dd5bf[_0x21f0('0x21')](_0x2e76c6));_0x3e2114[_0x21f0('0x42')](_0x4eb4d1),_0xbcbd3c[_0x21f0('0x1f')][_0x21f0('0x2a')](_0x2b2bc0['commandName'])[_0x21f0('0x4b')](),_0x2b2bc0[_0x21f0('0x14')][_0x21f0('0x7')]({'forceDefaultExecution':!0x0}),_0xbcbd3c[_0x21f0('0x24')](_0x2b2bc0['commandName'],..._0x2b2bc0[_0x21f0('0x14')]),_0x3e2114['setSelection'](_0x317511);for(const _0x17887b of _0x317511)_0x17887b[_0x21f0('0x3d')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ab7=['document','handleListReversedCommand','styles','*Format:*\x20set\x20order\x20to\x20reversed','ELEMENT_','isFirstBlockOfListItem','listStyle','push','selection','from','_getSuggestionBlocks','DocumentListPropertiesUtils','locale','_descriptionFactory','enableCommand','replace','toUpperCase','listReversed','afterInit','listType','_getTranslationKeyForListStyle','change','DocumentListUtils','config','getSelectedBlocks','commandParams','editor','has','get','handleListStyleCommand','numbered','format','listStart','_LIST_','markMultiRangeBlockFormat','model','startIndex','bind','filter','_getSuggestionBlocksForListStyle','TrackChangesEditing','reversed','plugins','getAttribute','isListItemBlock','expandListBlocksToCompleteList','handleDescriptions','type'];(function(_0x27e83b,_0x1ab76f){const _0x40d07d=function(_0x522618){while(--_0x522618){_0x27e83b['push'](_0x27e83b['shift']());}};_0x40d07d(++_0x1ab76f);}(_0x1ab7,0x10b));const _0x40d0=function(_0x27e83b,_0x1ab76f){_0x27e83b=_0x27e83b-0x0;let _0x40d07d=_0x1ab7[_0x27e83b];return _0x40d07d;};import{Plugin as _0x33ce40}from'ckeditor5/src/core';import{getTranslation as _0x492068}from'../utils/common-translations';export default class At extends _0x33ce40{[_0x40d0('0x27')](){if(!this['editor']['plugins'][_0x40d0('0x0')]('DocumentListPropertiesEditing'))return;const _0x5117b9=this[_0x40d0('0x2f')][_0x40d0('0x2c')][_0x40d0('0x1')]('list.properties'),_0x2d9969=this[_0x40d0('0x2f')][_0x40d0('0xf')][_0x40d0('0x1')]('TrackChangesEditing');_0x5117b9[_0x40d0('0x17')]&&_0x2d9969['enableCommand'](_0x40d0('0x1b'),this[_0x40d0('0x2')][_0x40d0('0xa')](this)),_0x5117b9['reversed']&&_0x2d9969[_0x40d0('0x23')](_0x40d0('0x26'),this['handleListReversedCommand']['bind'](this)),_0x5117b9[_0x40d0('0x9')]&&_0x2d9969[_0x40d0('0x23')](_0x40d0('0x5'),this['handleListStartCommand'][_0x40d0('0xa')](this)),_0x2d9969[_0x40d0('0x22')]['registerDescriptionCallback'](this[_0x40d0('0x13')][_0x40d0('0xa')](this));}[_0x40d0('0x2')](_0x35d9c3,_0x5eb3b7={}){const _0x1678a8=this[_0x40d0('0x2f')]['plugins'][_0x40d0('0x1')](_0x40d0('0xd')),_0x4a32ba=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x40d0('0x8')][_0x40d0('0x2a')](()=>{_0x1678a8[_0x40d0('0x7')](_0x4a32ba,{'commandName':_0x40d0('0x1b'),'commandParams':[{'type':_0x5eb3b7['type']}],'formatGroupId':_0x40d0('0x1b')});});}[_0x40d0('0x16')](_0xd77f7,_0x238611={}){const _0x441c58=this[_0x40d0('0x2f')]['plugins'][_0x40d0('0x1')](_0x40d0('0xd')),_0x36cb19=this[_0x40d0('0x2f')][_0x40d0('0xf')][_0x40d0('0x1')](_0x40d0('0x2b')),_0x3b731e=this['_getSuggestionBlocks'](_0x3c6ad8=>_0x36cb19['isListItemBlock'](_0x3c6ad8)&&_0x40d0('0x3')===_0x3c6ad8[_0x40d0('0x10')](_0x40d0('0x28')));null!==_0x3b731e&&this[_0x40d0('0x2f')]['model'][_0x40d0('0x2a')](()=>{_0x441c58[_0x40d0('0x7')](_0x3b731e,{'commandName':_0x40d0('0x26'),'commandParams':[{'reversed':_0x238611[_0x40d0('0xe')]}],'formatGroupId':_0x40d0('0x26')});});}['handleListStartCommand'](_0x266c98,_0x3d0e7d={}){const _0x2ddd08=this['editor']['plugins']['get']('TrackChangesEditing'),_0xdc14cd=this[_0x40d0('0x2f')][_0x40d0('0xf')]['get'](_0x40d0('0x2b')),_0x45da4b=this[_0x40d0('0x1f')](_0x1089bb=>_0xdc14cd[_0x40d0('0x11')](_0x1089bb)&&'numbered'===_0x1089bb[_0x40d0('0x10')](_0x40d0('0x28')));null!==_0x45da4b&&this[_0x40d0('0x2f')][_0x40d0('0x8')]['change'](()=>{_0x2ddd08[_0x40d0('0x7')](_0x45da4b,{'commandName':'listStart','commandParams':[{'startIndex':_0x3d0e7d[_0x40d0('0x9')]}],'formatGroupId':_0x40d0('0x5')});});}[_0x40d0('0x13')](_0x1df1e3){const _0x2eb08e=this[_0x40d0('0x2f')][_0x40d0('0x21')],{data:_0x22e44f}=_0x1df1e3;if(!_0x22e44f)return;let _0x46eea8,_0x27ee26;switch(_0x22e44f['commandName']){case'listStyle':_0x46eea8='*Change\x20to:*\x20%0',_0x27ee26={'type':_0x40d0('0x4'),'content':_0x492068(_0x2eb08e,_0x46eea8,_0x492068(_0x2eb08e,this['_getTranslationKeyForListStyle'](_0x22e44f[_0x40d0('0x2e')][0x0][_0x40d0('0x14')])))};break;case _0x40d0('0x26'):_0x46eea8=_0x22e44f['commandParams'][0x0][_0x40d0('0xe')]?_0x40d0('0x18'):'*Format:*\x20set\x20order\x20to\x20regular',_0x27ee26={'type':_0x40d0('0x4'),'content':_0x492068(_0x2eb08e,_0x46eea8)};break;case _0x40d0('0x5'):_0x46eea8='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x27ee26={'type':'format','content':_0x492068(_0x2eb08e,_0x46eea8,_0x22e44f[_0x40d0('0x2e')][0x0][_0x40d0('0x9')])};}return _0x27ee26;}[_0x40d0('0xc')](){const _0x1d9838=this['editor']['plugins']['get'](_0x40d0('0x2b'));let _0x551820=Array[_0x40d0('0x1e')](this[_0x40d0('0x2f')][_0x40d0('0x8')][_0x40d0('0x15')][_0x40d0('0x1d')][_0x40d0('0x2d')]());return _0x551820[_0x40d0('0x1c')](..._0x1d9838[_0x40d0('0x12')](_0x551820)),_0x551820=[...new Set(_0x551820)],_0x551820;}['_getSuggestionBlocks'](_0xf1203d){const _0x44e535=this[_0x40d0('0x2f')][_0x40d0('0xf')][_0x40d0('0x1')](_0x40d0('0x2b'));let _0x5c66bd=Array[_0x40d0('0x1e')](this[_0x40d0('0x2f')][_0x40d0('0x8')][_0x40d0('0x15')][_0x40d0('0x1d')][_0x40d0('0x2d')]())[_0x40d0('0xb')](_0xf1203d);if(!_0x5c66bd['length'])return null;_0x5c66bd=_0x44e535[_0x40d0('0x12')](_0x5c66bd);const _0x53882e=[];for(const _0x2ec3d1 of _0x5c66bd)_0x44e535[_0x40d0('0x1a')](_0x2ec3d1)&&_0x53882e[_0x40d0('0x1c')](_0x2ec3d1);return _0x53882e;}[_0x40d0('0x29')](_0x3d489b){return _0x40d0('0x19')+this[_0x40d0('0x2f')][_0x40d0('0xf')]['get'](_0x40d0('0x20'))['getListTypeFromListStyleType'](_0x3d489b)['toUpperCase']()+_0x40d0('0x6')+_0x3d489b[_0x40d0('0x25')]()[_0x40d0('0x24')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b93=['nextSibling','data','ck-suggestion-marker-split','removeMarker:suggestion:insertion','detach','mapper','plugins','createPositionAt','change','commands','markerNameToElements','getFirstPosition','bind','end','writer','hasClass','setSelection','addMarker:suggestion:insertion','downcastDispatcher','afterExecute','get','markerName','createRange','unbindElementFromMarkerName','model','editing','showSuggestionHighlights','remove','split','high','parent','init','getFirstRange','enter','enterBlock'];(function(_0x2d0b6d,_0x5b93e4){const _0x4568b3=function(_0x4a2ec9){while(--_0x4a2ec9){_0x2d0b6d['push'](_0x2d0b6d['shift']());}};_0x4568b3(++_0x5b93e4);}(_0x5b93,0x121));const _0x4568=function(_0x2d0b6d,_0x5b93e4){_0x2d0b6d=_0x2d0b6d-0x0;let _0x4568b3=_0x5b93[_0x2d0b6d];return _0x4568b3;};import{Plugin as _0x39eb5f}from'ckeditor5/src/core';import{Enter as _0x35b788}from'ckeditor5/src/enter';import{LiveRange as _0x294576}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x33bd77}from'./utils';export default class q extends _0x39eb5f{static get['requires'](){return[_0x35b788];}[_0x4568('0x16')](){const _0x1974ba=this['editor'],_0x276ca2=_0x1974ba[_0x4568('0x20')][_0x4568('0xb')]('TrackChangesEditing'),_0x5a90a1=_0x1974ba[_0x4568('0x0')]['get'](_0x4568('0x18'));_0x276ca2['enableCommand']('enter',()=>{_0x1974ba[_0x4568('0xf')][_0x4568('0x22')](_0x18078c=>{const _0x380a9b=_0x1974ba[_0x4568('0xf')]['document']['selection'],_0x191702=_0x380a9b[_0x4568('0x2')](),_0x7dbfe2=_0x294576['fromRange'](_0x380a9b[_0x4568('0x17')]());if(_0x5a90a1[_0x4568('0x19')](_0x18078c)){const _0x35addb=_0x1974ba[_0x4568('0xf')][_0x4568('0x21')](_0x191702[_0x4568('0x15')][_0x4568('0x1a')],0x0),_0x1b13cb=_0x18078c[_0x4568('0xd')](_0x191702,_0x35addb);_0x276ca2['markInsertion'](_0x1b13cb);}else _0x18078c[_0x4568('0x7')](_0x18078c[_0x4568('0xd')](_0x7dbfe2[_0x4568('0x4')]));_0x7dbfe2[_0x4568('0x1e')](),_0x5a90a1['fire'](_0x4568('0xa'),{'writer':_0x18078c});});}),_0x1974ba[_0x4568('0x10')][_0x4568('0x9')]['on']('addMarker:suggestion:insertion',_0x33bd77(_0x1974ba,_0x4568('0x13')),{'priority':'high'}),_0x1974ba[_0x4568('0x10')]['downcastDispatcher']['on'](_0x4568('0x1d'),(_0x15a0a3,_0x244126,_0x470310)=>{const _0x25f1fe=_0x470310[_0x4568('0x1f')][_0x4568('0x1')](_0x244126[_0x4568('0xc')]);if(_0x25f1fe)for(const _0xc1270d of _0x25f1fe)_0xc1270d[_0x4568('0x6')](_0x4568('0x1c'))&&(_0x470310['mapper'][_0x4568('0xe')](_0xc1270d,_0x244126['markerName']),_0x470310[_0x4568('0x5')][_0x4568('0x12')](_0xc1270d));},{'priority':_0x4568('0x14')}),_0x1974ba[_0x4568('0x1b')][_0x4568('0x9')]['on'](_0x4568('0x8'),(_0x3f2e7a,_0xf4b17,_0x23a608)=>{_0x23a608['options'][_0x4568('0x11')]&&_0x33bd77(_0x1974ba,_0x4568('0x13'),{'showActiveMarker':!0x1})[_0x4568('0x3')](this)(_0x3f2e7a,_0xf4b17,_0x23a608);},{'priority':_0x4568('0x14')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x596f=['findByTextCallback','end','createRange','afterInit','bind','plugins','getRange','find','FindAndReplaceUtils','_isInDeletionRange','findNext','filter','model','getIntersection','enableCommand','handleFindCommand','start','string','createPositionAt','FindAndReplaceEditing','replaceAll','get','has','item','editor','getMarkersGroup','suggestion:deletion'];(function(_0x14daf7,_0x596fc6){const _0x416f8c=function(_0x123977){while(--_0x123977){_0x14daf7['push'](_0x14daf7['shift']());}};_0x416f8c(++_0x596fc6);}(_0x596f,0xbb));const _0x416f=function(_0x14daf7,_0x596fc6){_0x14daf7=_0x14daf7-0x0;let _0x416f8c=_0x596f[_0x14daf7];return _0x416f8c;};import{Plugin as _0x40d39c}from'ckeditor5/src/core';export default class z extends _0x40d39c{[_0x416f('0x5')](){if(!this[_0x416f('0x1a')][_0x416f('0x7')][_0x416f('0x18')](_0x416f('0x15')))return;const _0x2fb5af=this[_0x416f('0x1a')][_0x416f('0x7')][_0x416f('0x17')]('TrackChangesEditing');_0x2fb5af[_0x416f('0x10')](_0x416f('0x9'),this[_0x416f('0x11')][_0x416f('0x6')](this)),_0x2fb5af['enableCommand'](_0x416f('0xc')),_0x2fb5af[_0x416f('0x10')]('findPrevious'),_0x2fb5af[_0x416f('0x10')]('replace'),_0x2fb5af['enableCommand'](_0x416f('0x16'));}[_0x416f('0x11')](_0x25edbb,_0x85ecca,_0x48a4cd={}){const _0x522b67=this['editor'][_0x416f('0x7')][_0x416f('0x17')](_0x416f('0xa'));void 0x0!==_0x48a4cd&&_0x25edbb(_0x2b5512=>(_0x416f('0x13')==typeof _0x85ecca?_0x522b67[_0x416f('0x2')](_0x85ecca,_0x48a4cd):_0x85ecca)(_0x2b5512)[_0x416f('0xd')](_0x19b0ad=>!0x1===this[_0x416f('0xb')](_0x19b0ad,_0x2b5512[_0x416f('0x19')])),_0x48a4cd);}[_0x416f('0xb')](_0x33b7bf,_0x211611){const _0x2f5d25=this[_0x416f('0x1a')][_0x416f('0xe')][_0x416f('0x4')](this[_0x416f('0x1a')][_0x416f('0xe')][_0x416f('0x14')](_0x211611,_0x33b7bf[_0x416f('0x12')]),this[_0x416f('0x1a')]['model'][_0x416f('0x14')](_0x211611,_0x33b7bf[_0x416f('0x3')]));for(const _0x240065 of this[_0x416f('0x1a')][_0x416f('0xe')]['markers'][_0x416f('0x0')](_0x416f('0x1')))if(null!==_0x2f5d25[_0x416f('0xf')](_0x240065[_0x416f('0x8')]()))return!0x0;return!0x1;}}
|