@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230809.0 → 0.0.0-nightly-20230811.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.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-20230811.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-20230811.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230811.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 _0x375a=['TrackChangesEditing','canEditAt','isEnabled','_isEnabledBasedOnSelection','model','plugins','execute','_suggestions','getRanges','get','refresh','acceptSuggestion','track-changes-accept-suggestion-not-found','editor'];(function(_0x3d366b,_0x375aa2){const _0x49247a=function(_0x415f46){while(--_0x415f46){_0x3d366b['push'](_0x3d366b['shift']());}};_0x49247a(++_0x375aa2);}(_0x375a,0x165));const _0x4924=function(_0x3d366b,_0x375aa2){_0x3d366b=_0x3d366b-0x0;let _0x49247a=_0x375a[_0x3d366b];return _0x49247a;};import{Command as _0xdb679b}from'ckeditor5/src/core';import{CKEditorError as _0x261f7e}from'ckeditor5/src/utils';export default class M extends _0xdb679b{constructor(_0x56c1fe,_0x11e1c8){super(_0x56c1fe),this[_0x4924('0x0')]=_0x11e1c8,this[_0x4924('0x3')](),this[_0x4924('0xa')]=!0x1;}[_0x4924('0x3')](){this[_0x4924('0x9')]=!0x0;}[_0x4924('0xd')](_0x3977fd){const _0x2041ae=this[_0x4924('0x0')][_0x4924('0x2')](_0x3977fd);if(!_0x2041ae)throw new _0x261f7e(_0x4924('0x5'),this);const _0x555877=_0x2041ae[_0x4924('0x1')]();this['editor'][_0x4924('0xb')][_0x4924('0x8')](_0x555877)&&this[_0x4924('0x6')][_0x4924('0xc')][_0x4924('0x2')](_0x4924('0x7'))[_0x4924('0x4')](_0x2041ae);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e56=['get','editor','model','track-changes-discard-suggestion-not-found','canEditAt','TrackChangesEditing','isEnabled','_isEnabledBasedOnSelection','execute','refresh','_suggestions','getRanges'];(function(_0x905207,_0x2e5668){const _0x14bf36=function(_0x189919){while(--_0x189919){_0x905207['push'](_0x905207['shift']());}};_0x14bf36(++_0x2e5668);}(_0x2e56,0x89));const _0x14bf=function(_0x905207,_0x2e5668){_0x905207=_0x905207-0x0;let _0x14bf36=_0x2e56[_0x905207];return _0x14bf36;};import{Command as _0x1a46d9}from'ckeditor5/src/core';import{CKEditorError as _0x53194f}from'ckeditor5/src/utils';export default class $ extends _0x1a46d9{constructor(_0x3a43df,_0x45a9dd){super(_0x3a43df),this[_0x14bf('0x5')]=_0x45a9dd,this[_0x14bf('0x4')](),this[_0x14bf('0x2')]=!0x1;}['refresh'](){this[_0x14bf('0x1')]=!0x0;}[_0x14bf('0x3')](_0x153e22){const _0x197e06=this[_0x14bf('0x5')][_0x14bf('0x7')](_0x153e22);if(!_0x197e06)throw new _0x53194f(_0x14bf('0xa'),this);const _0x5369c6=_0x197e06[_0x14bf('0x6')]();this['editor'][_0x14bf('0x9')][_0x14bf('0xb')](_0x5369c6)&&this[_0x14bf('0x8')]['plugins']['get'](_0x14bf('0x0'))['discardSuggestion'](_0x197e06);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b85=['values','editor','_isEnabledBasedOnSelection','refresh','_suggestions','_command','canEditAt','isEnabled','getRanges','from','execute','model'];(function(_0x358fa4,_0x2b8500){const _0x25ecdb=function(_0x5b631f){while(--_0x5b631f){_0x358fa4['push'](_0x358fa4['shift']());}};_0x25ecdb(++_0x2b8500);}(_0x2b85,0x145));const _0x25ec=function(_0x358fa4,_0x2b8500){_0x358fa4=_0x358fa4-0x0;let _0x25ecdb=_0x2b85[_0x358fa4];return _0x25ecdb;};import{Command as _0x523e7f}from'ckeditor5/src/core';import{sortSuggestions as _0x28600c,executeCommandForSuggestions as _0x3399ed}from'../utils/utils';export default class N extends _0x523e7f{constructor(_0x305de2,_0x421910,_0x5f20f0){super(_0x305de2),this[_0x25ec('0x4')]=_0x421910,this['_suggestions']=_0x5f20f0,this[_0x25ec('0x2')](),this[_0x25ec('0x1')]=!0x1;}[_0x25ec('0x2')](){const _0x49efbc=Array[_0x25ec('0x8')](this[_0x25ec('0x3')][_0x25ec('0xb')]())['some'](_0x312e10=>_0x312e10['isInContent']);this['isEnabled']=this[_0x25ec('0x4')][_0x25ec('0x6')]&&_0x49efbc;}[_0x25ec('0x9')](){const _0x13acfd=_0x28600c(Array[_0x25ec('0x8')](this[_0x25ec('0x3')][_0x25ec('0xb')]()));for(const _0x131f35 of _0x13acfd){const _0x355e62=_0x131f35[_0x25ec('0x7')]();if(!this[_0x25ec('0x0')][_0x25ec('0xa')][_0x25ec('0x5')](_0x355e62))return;}_0x3399ed(this[_0x25ec('0x0')][_0x25ec('0xa')],this['_command'],_0x13acfd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59d7=['selection','refresh','_suggestions','from','_command','document','values','size','_selectedSuggestions','editor','_isEnabledBasedOnSelection','model'];(function(_0x9ecfa8,_0x59d704){const _0x47075b=function(_0x13c015){while(--_0x13c015){_0x9ecfa8['push'](_0x9ecfa8['shift']());}};_0x47075b(++_0x59d704);}(_0x59d7,0x8d));const _0x4707=function(_0x9ecfa8,_0x59d704){_0x9ecfa8=_0x9ecfa8-0x0;let _0x47075b=_0x59d7[_0x9ecfa8];return _0x47075b;};import{Command as _0x3681a2}from'ckeditor5/src/core';import{sortSuggestions as _0x22604e,getSelectedSuggestions as _0x353293,executeCommandForSuggestions as _0x52087c}from'../utils/utils';export default class R extends _0x3681a2{constructor(_0x32f4f1,_0x281cc8,_0x32b387){super(_0x32f4f1),this['_command']=_0x281cc8,this[_0x4707('0x5')]=_0x32b387,this[_0x4707('0xb')]=new Set(),this['refresh'](),this[_0x4707('0x1')]=!0x1;}[_0x4707('0x4')](){const _0x28c346=this[_0x4707('0x0')][_0x4707('0x2')][_0x4707('0x8')][_0x4707('0x3')],_0x4dbc66=Array[_0x4707('0x6')](this[_0x4707('0x5')][_0x4707('0x9')]());this[_0x4707('0xb')]=_0x353293(_0x28c346,_0x4dbc66),this['isEnabled']=this[_0x4707('0x7')]['isEnabled']&&!!this['_selectedSuggestions'][_0x4707('0xa')];}['execute'](){const _0x1b9dfa=_0x22604e(Array[_0x4707('0x6')](this[_0x4707('0xb')]));for(const _0x122071 of _0x1b9dfa){const _0x401357=_0x122071['getRanges']();if(!this[_0x4707('0x0')][_0x4707('0x2')]['canEditAt'](_0x401357))return;}_0x52087c(this['editor'][_0x4707('0x2')],this[_0x4707('0x7')],_0x1b9dfa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fc2=['editor','TrackChangesCommand','affectsData','refresh','commands','_enableCommands','_enabledCommands','value','execute','_isEnabledBasedOnSelection','isEnabled','clearForceDisabled','forceDisabled','_disableUnsupportedCommands'];(function(_0x4585c8,_0x2fc268){const _0x5ed938=function(_0x404eed){while(--_0x404eed){_0x4585c8['push'](_0x4585c8['shift']());}};_0x5ed938(++_0x2fc268);}(_0x2fc2,0x188));const _0x5ed9=function(_0x4585c8,_0x2fc268){_0x4585c8=_0x4585c8-0x0;let _0x5ed938=_0x2fc2[_0x4585c8];return _0x5ed938;};import{Command as _0x9b0e45}from'ckeditor5/src/core';export default class _ extends _0x9b0e45{constructor(_0x2c3858,_0x50e574){super(_0x2c3858),this[_0x5ed9('0x6')]=_0x50e574,this[_0x5ed9('0x7')]=!0x1,this[_0x5ed9('0x3')](),this[_0x5ed9('0x9')]=!0x1;}['refresh'](){this[_0x5ed9('0xa')]=!0x0;}[_0x5ed9('0x8')](){this['value']=!this['value'],this[_0x5ed9('0x7')]?this[_0x5ed9('0xd')]():this[_0x5ed9('0x5')]();}[_0x5ed9('0xd')](){for(const _0x49aab5 of this[_0x5ed9('0x0')][_0x5ed9('0x4')][_0x5ed9('0x4')]())_0x49aab5[_0x5ed9('0x2')]&&!this[_0x5ed9('0x6')]['has'](_0x49aab5)&&_0x49aab5[_0x5ed9('0xc')](_0x5ed9('0x1'));}[_0x5ed9('0x5')](){for(const _0x30c297 of this[_0x5ed9('0x0')][_0x5ed9('0x4')][_0x5ed9('0x4')]())_0x30c297['affectsData']&&!this[_0x5ed9('0x6')]['has'](_0x30c297)&&_0x30c297[_0x5ed9('0xb')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12e0=['right','locale','get','document','FORMAT_ALIGN_TO_LEFT','getSelectedBlocks','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','model','markBlockFormat','enableCommand','FORMAT_JUSTIFY_TEXT','has','editor','getAttribute','value','AlignmentEditing','commandParams','_descriptionFactory','alignment','FORMAT_ALIGN_TO_RIGHT','ltr','left','registerDescriptionCallback','checkAttribute','plugins','justify'];(function(_0xe70245,_0x12e083){const _0x22434d=function(_0x3cc0c7){while(--_0x3cc0c7){_0xe70245['push'](_0xe70245['shift']());}};_0x22434d(++_0x12e083);}(_0x12e0,0xa0));const _0x2243=function(_0xe70245,_0x12e083){_0xe70245=_0xe70245-0x0;let _0x22434d=_0x12e0[_0xe70245];return _0x22434d;};import{Plugin as _0x8e94cc}from'ckeditor5/src/core';import{getTranslation as _0x4be2a6}from'../utils/common-translations';export default class x extends _0x8e94cc{['afterInit'](){const _0x12bf19=this[_0x2243('0xf')],_0x4fffa8=_0x12bf19[_0x2243('0x3')];if(!_0x12bf19[_0x2243('0x0')][_0x2243('0xe')](_0x2243('0x12')))return;const _0x2216b5=_0x12bf19['plugins'][_0x2243('0x4')]('TrackChangesEditing');_0x2216b5[_0x2243('0xc')]('alignment',(_0x4f0c7e,_0x415134={})=>{let _0x432d3a=_0x415134[_0x2243('0x11')];_0x415134[_0x2243('0x11')]||(_0x432d3a=_0x2243('0x17')===_0x12bf19[_0x2243('0x3')]['contentLanguageDirection']?_0x2243('0x18'):_0x2243('0x2'));const _0x22edcf=Array['from'](this[_0x2243('0xf')][_0x2243('0xa')][_0x2243('0x5')]['selection'][_0x2243('0x7')]())['filter'](_0x5b5323=>function(_0x94eaf5,_0x225166,_0x66cd43){const _0x13c719=_0x94eaf5[_0x2243('0x10')](_0x2243('0x15'))||null;return _0x225166[_0x2243('0x1a')](_0x94eaf5,'alignment')&&_0x66cd43!=_0x13c719;}(_0x5b5323,this[_0x2243('0xf')][_0x2243('0xa')]['schema'],_0x432d3a));_0x12bf19[_0x2243('0xa')]['change'](()=>{for(const _0x1a68da of _0x22edcf)_0x2216b5[_0x2243('0xb')](_0x1a68da,{'commandName':'alignment','commandParams':[{'value':_0x432d3a}]});});}),_0x2216b5[_0x2243('0x14')][_0x2243('0x19')](_0x4b38fa=>{const {data:_0x20ed52}=_0x4b38fa;if(_0x20ed52&&_0x2243('0x15')==_0x20ed52['commandName']){const _0x311382=_0x20ed52[_0x2243('0x13')][0x0][_0x2243('0x11')];return{'type':'format','content':_0x4be2a6(_0x4fffa8,_0x2243('0x8'),function(_0x17f4a4){switch(_0x17f4a4){case'left':return _0x4be2a6(_0x4fffa8,_0x2243('0x6'));case _0x2243('0x2'):return _0x4be2a6(_0x4fffa8,_0x2243('0x16'));case'center':return _0x4be2a6(_0x4fffa8,_0x2243('0x9'));case _0x2243('0x1'):return _0x4be2a6(_0x4fffa8,_0x2243('0xd'));}}(_0x311382))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48a1=['get','bold','editor','change','value','SuperscriptEditing','model','TrackChangesEditing','CodeEditing','UnderlineEditing','underline','subscript','markInlineFormat','FORMAT_STRIKETHROUGH','StrikethroughEditing','forceValue','commandParams','from','plugins','code','BoldEditing','has','isCollapsed','*Remove\x20format:*\x20%0','document','enableCommand','locale','FORMAT_BOLD','*Format:*\x20%0','superscript','strikethrough','italic','afterInit','FORMAT_SUBSCRIPT','format','toLowerCase'];(function(_0x445620,_0x48a1c7){const _0x51a182=function(_0x38174f){while(--_0x38174f){_0x445620['push'](_0x445620['shift']());}};_0x51a182(++_0x48a1c7);}(_0x48a1,0x183));const _0x51a1=function(_0x445620,_0x48a1c7){_0x445620=_0x445620-0x0;let _0x51a182=_0x48a1[_0x445620];return _0x51a182;};import{Plugin as _0x549ce8}from'ckeditor5/src/core';import{getTranslation as _0x57f357}from'../utils/common-translations';import{getRangesWithAttribute as _0xbf64af}from'./utils';const Kt=[_0x51a1('0x1d'),'ItalicEditing',_0x51a1('0x12'),_0x51a1('0x11'),_0x51a1('0x17'),'SubscriptEditing',_0x51a1('0xe')];export default class U extends _0x549ce8{[_0x51a1('0x5')](){const _0x37b661=this[_0x51a1('0xb')],_0xa28145=_0x37b661[_0x51a1('0xf')],_0x57a9dd=_0x37b661['plugins'][_0x51a1('0x9')](_0x51a1('0x10')),_0x171ad6=_0x37b661[_0x51a1('0x23')];for(const _0x4e3d41 of Kt){if(!_0x37b661[_0x51a1('0x1b')][_0x51a1('0x1e')](_0x4e3d41))continue;const _0x30e985=_0x4e3d41['slice'](0x0,-0x7)[_0x51a1('0x8')](),_0x270fd7=_0x37b661['commands'][_0x51a1('0x9')](_0x30e985);_0x57a9dd[_0x51a1('0x22')](_0x30e985,(_0x1a6207,_0x3e29a4={})=>{const _0x613599=_0xa28145[_0x51a1('0x21')]['selection'];if(_0x613599[_0x51a1('0x1f')])return void _0x1a6207(_0x3e29a4);const _0x23109e=void 0x0!==_0x3e29a4[_0x51a1('0x18')]?_0x3e29a4[_0x51a1('0x18')]:!_0x270fd7[_0x51a1('0xd')];_0xa28145[_0x51a1('0xc')](()=>{const _0x1a0cc0=Array[_0x51a1('0x1a')](_0x613599['getRanges']());for(const _0x108e60 of _0x1a0cc0){const _0x299a36=_0x23109e?[_0x108e60]:_0xbf64af(_0x30e985,_0x108e60,_0xa28145);for(const _0x2d8299 of _0x299a36)_0x57a9dd[_0x51a1('0x15')](_0x2d8299,{'commandName':_0x30e985,'commandParams':[{'forceValue':_0x23109e}]});}});});}function _0xff6c0e(_0x49e206,_0x125d3d){_0x57a9dd['_descriptionFactory']['registerDescriptionCallback'](_0x360068=>{const {data:_0x2609de}=_0x360068;if(_0x2609de&&_0x2609de['commandName']===_0x49e206)return _0x2609de[_0x51a1('0x19')][0x0]['forceValue']?{'type':_0x51a1('0x7'),'content':_0x57f357(_0x171ad6,_0x51a1('0x1'),_0x125d3d)}:{'type':_0x51a1('0x7'),'content':_0x57f357(_0x171ad6,_0x51a1('0x20'),_0x125d3d)};});}_0xff6c0e(_0x51a1('0xa'),_0x57f357(_0x171ad6,_0x51a1('0x0'))),_0xff6c0e(_0x51a1('0x4'),_0x57f357(_0x171ad6,'FORMAT_ITALIC')),_0xff6c0e(_0x51a1('0x13'),_0x57f357(_0x171ad6,'FORMAT_UNDERLINE')),_0xff6c0e(_0x51a1('0x1c'),_0x57f357(_0x171ad6,'FORMAT_CODE')),_0xff6c0e(_0x51a1('0x3'),_0x57f357(_0x171ad6,_0x51a1('0x16'))),_0xff6c0e(_0x51a1('0x14'),_0x57f357(_0x171ad6,_0x51a1('0x6'))),_0xff6c0e(_0x51a1('0x2'),_0x57f357(_0x171ad6,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ab9=['get','ELEMENT_BLOCK_QUOTE','document','format','from','_descriptionFactory','commands','afterInit','name','locale','enableCommand','*Format:*\x20%0','filter','has','checkChild','change','editor','parent','forceValue','commandParams','BlockQuoteEditing','blockQuote','registerDescriptionCallback','*Remove\x20format:*\x20%0','value','$root','model','plugins','commandName','getSelectedBlocks','schema'];(function(_0x2405ca,_0x3ab99a){const _0x126673=function(_0x5c8d34){while(--_0x5c8d34){_0x2405ca['push'](_0x2405ca['shift']());}};_0x126673(++_0x3ab99a);}(_0x3ab9,0xfb));const _0x1266=function(_0x2405ca,_0x3ab99a){_0x2405ca=_0x2405ca-0x0;let _0x126673=_0x3ab9[_0x2405ca];return _0x126673;};import{Plugin as _0x551609}from'ckeditor5/src/core';import{getTranslation as _0x27a01e}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x356b54}from'../utils/utils';export default class j extends _0x551609{[_0x1266('0x4')](){const _0x1b0641=this['editor'],_0x27de1e=_0x1b0641[_0x1266('0x6')];if(!_0x1b0641[_0x1266('0x18')][_0x1266('0xa')](_0x1266('0x11')))return;const _0x3db48f=_0x1b0641[_0x1266('0x18')]['get']('TrackChangesEditing'),_0x5ce63f=this[_0x1266('0xd')][_0x1266('0x3')][_0x1266('0x1c')](_0x1266('0x12'));_0x3db48f[_0x1266('0x7')](_0x1266('0x12'),(_0x2a8cee,_0x6be6f5={})=>{const _0x7385a9=this[_0x1266('0xd')][_0x1266('0x17')][_0x1266('0x1e')]['selection'],_0x2cb916=_0x6be6f5&&void 0x0!==_0x6be6f5[_0x1266('0xf')]?_0x6be6f5[_0x1266('0xf')]:!_0x5ce63f[_0x1266('0x15')];let _0x1f4a7f=[];if(_0x2cb916){const _0x21f6eb=Array[_0x1266('0x1')](_0x7385a9[_0x1266('0x1a')]())[_0x1266('0x9')](_0x1f691b=>Xt(_0x1f691b)||function(_0x206030,_0x1c1b8a){const _0x41fea7=_0x1c1b8a[_0x1266('0xb')](_0x206030[_0x1266('0xe')],_0x1266('0x12')),_0x1a8e2e=_0x1c1b8a[_0x1266('0xb')]([_0x1266('0x16'),'blockQuote'],_0x206030);return _0x41fea7&&_0x1a8e2e;}(_0x1f691b,this[_0x1266('0xd')][_0x1266('0x17')][_0x1266('0x1b')]));_0x1f4a7f=_0x356b54(_0x21f6eb,_0x1b0641[_0x1266('0x17')]);}else{const _0x1e3970=Array[_0x1266('0x1')](_0x7385a9[_0x1266('0x1a')]())[_0x1266('0x9')](_0x3b7c04=>Xt(_0x3b7c04));_0x1f4a7f=_0x356b54(_0x1e3970,_0x1b0641[_0x1266('0x17')]);}_0x1b0641['model'][_0x1266('0xc')](()=>{for(const _0x1da8af of _0x1f4a7f)_0x3db48f['markBlockFormat'](_0x1da8af,{'commandName':_0x1266('0x12'),'commandParams':[{'forceValue':_0x2cb916}]});});}),_0x3db48f[_0x1266('0x2')][_0x1266('0x13')](_0x371ce1=>{const {data:_0xa6aa5d}=_0x371ce1;if(_0xa6aa5d&&_0x1266('0x12')==_0xa6aa5d[_0x1266('0x19')]){const _0x505e9b=_0x27a01e(_0x27de1e,_0x1266('0x1d'));return _0xa6aa5d[_0x1266('0x10')][0x0]['forceValue']?{'type':_0x1266('0x0'),'content':_0x27a01e(_0x27de1e,_0x1266('0x8'),_0x505e9b)}:{'type':_0x1266('0x0'),'content':_0x27a01e(_0x27de1e,_0x1266('0x14'),_0x505e9b)};}});}}function Xt(_0x25fef5){return'blockQuote'==_0x25fef5[_0x1266('0xe')][_0x1266('0x5')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a52=['get','editor','plugins','afterInit','enableCommand','ckbox','commands'];(function(_0x8e9b6f,_0x5a52f0){const _0x583bdd=function(_0x4a1a0c){while(--_0x4a1a0c){_0x8e9b6f['push'](_0x8e9b6f['shift']());}};_0x583bdd(++_0x5a52f0);}(_0x5a52,0x89));const _0x583b=function(_0x8e9b6f,_0x5a52f0){_0x8e9b6f=_0x8e9b6f-0x0;let _0x583bdd=_0x5a52[_0x8e9b6f];return _0x583bdd;};import{Plugin as _0x209813}from'ckeditor5/src/core';export default class E extends _0x209813{[_0x583b('0x6')](){const _0xd62933=this[_0x583b('0x4')];_0xd62933[_0x583b('0x2')][_0x583b('0x3')](_0x583b('0x1'))&&_0xd62933[_0x583b('0x5')][_0x583b('0x3')]('TrackChangesEditing')[_0x583b('0x0')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42a0=['enableCommand','formatBlock','name','find','selection','config','filter','TrackChangesEditing','change','parent','registerElementLabel','get','plugins','indentCodeBlock','from','_descriptionFactory','model','*Format:*\x20%0','languages','registerDescriptionCallback','isLimit','codeBlock','afterInit','language','has','editor','rootElement','ELEMENT_CODE_BLOCK','commandParams','schema','CodeBlock','value','forceValue','outdentCodeBlock','markBlockFormat','getSelectedBlocks','label','document','commandName','locale'];(function(_0x35c7cc,_0x42a0e4){const _0x13d8ab=function(_0x56f072){while(--_0x56f072){_0x35c7cc['push'](_0x35c7cc['shift']());}};_0x13d8ab(++_0x42a0e4);}(_0x42a0,0x146));const _0x13d8=function(_0x35c7cc,_0x42a0e4){_0x35c7cc=_0x35c7cc-0x0;let _0x13d8ab=_0x42a0[_0x35c7cc];return _0x13d8ab;};import{Plugin as _0x4527a4}from'ckeditor5/src/core';import{getTranslation as _0x4e6891}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x50c4bc}from'../utils/utils';export default class O extends _0x4527a4{[_0x13d8('0x10')](){const _0x175bef=this[_0x13d8('0x13')];if(!_0x175bef['plugins'][_0x13d8('0x12')](_0x13d8('0x18')))return;const _0x562597=_0x175bef[_0x13d8('0x6')][_0x13d8('0x5')](_0x13d8('0x1')),_0x4338b3=_0x175bef[_0x13d8('0x21')],_0x77f2df=_0x175bef[_0x13d8('0x27')][_0x13d8('0x5')](_0x13d8('0xf'))[_0x13d8('0xc')],_0x1f75fb=_0x175bef['commands'][_0x13d8('0x5')](_0x13d8('0xf'));_0x562597[_0x13d8('0x22')](_0x13d8('0x7')),_0x562597[_0x13d8('0x22')](_0x13d8('0x1b')),_0x562597[_0x13d8('0x22')](_0x13d8('0xf'),(_0x525c0f,_0x3cfd32={})=>{const _0x439efe=_0x175bef[_0x13d8('0xa')],_0x273eb4=_0x175bef[_0x13d8('0xa')][_0x13d8('0x1f')][_0x13d8('0x26')],_0x1292d3=_0x3cfd32&&void 0x0!==_0x3cfd32[_0x13d8('0x1a')]?_0x3cfd32[_0x13d8('0x1a')]:!_0x1f75fb[_0x13d8('0x19')];let _0x53ef0b;_0x3cfd32[_0x13d8('0x11')]||(_0x3cfd32['language']=_0x77f2df[0x0][_0x13d8('0x11')]),_0x53ef0b=_0x1292d3?Array[_0x13d8('0x8')](_0x273eb4[_0x13d8('0x1d')]())['filter'](_0x2ff4d4=>to(_0x2ff4d4)||function(_0x4eef63,_0xeed471){if(_0x4eef63['is'](_0x13d8('0x14'))||_0xeed471[_0x13d8('0xe')](_0x4eef63))return!0x1;return _0xeed471['checkChild'](_0x4eef63[_0x13d8('0x3')],_0x13d8('0xf'));}(_0x2ff4d4,_0x439efe[_0x13d8('0x17')])):Array[_0x13d8('0x8')](_0x273eb4[_0x13d8('0x1d')]())[_0x13d8('0x0')](_0x261ee8=>to(_0x261ee8));const _0x22aa63=_0x50c4bc(_0x53ef0b,_0x439efe);_0x439efe[_0x13d8('0x2')](()=>{for(const _0x3c6cef of _0x22aa63)_0x562597[_0x13d8('0x1c')](_0x3c6cef,{'commandName':_0x13d8('0xf'),'commandParams':[{..._0x3cfd32,'forceValue':_0x1292d3}],'formatGroupId':'blockName'});});}),(_0x562597[_0x13d8('0x9')][_0x13d8('0x4')](_0x13d8('0xf'),_0x387f5d=>_0x4e6891(_0x4338b3,_0x13d8('0x15'),_0x387f5d)),_0x562597[_0x13d8('0x9')][_0x13d8('0xd')](_0x37ed09=>{const _0x5d2c43=_0x4338b3['t'],{type:_0x41645d,data:_0x48d624}=_0x37ed09;if(_0x13d8('0x23')==_0x41645d&&_0x48d624&&_0x13d8('0xf')==_0x48d624[_0x13d8('0x20')]){const _0x4c1df7=_0x48d624[_0x13d8('0x16')][0x0]['language'],_0x23fe4a=_0x5d2c43(_0x77f2df[_0x13d8('0x25')](_0x5efab1=>_0x5efab1[_0x13d8('0x11')]===_0x4c1df7)[_0x13d8('0x1e')]);return _0x48d624[_0x13d8('0x16')][0x0][_0x13d8('0x1a')]?{'type':'format','content':_0x4e6891(_0x4338b3,_0x13d8('0xb'),_0x4e6891(_0x4338b3,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x23fe4a+')')}:{'type':'format','content':_0x4e6891(_0x4338b3,'*Remove\x20format:*\x20%0',_0x4e6891(_0x4338b3,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function to(_0x43162a){return _0x13d8('0xf')==_0x43162a[_0x13d8('0x24')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1630=['CommentsEditing','afterInit','editor','get','plugins','TrackChangesEditing','has'];(function(_0x499d44,_0x1630e9){const _0x23842a=function(_0x129378){while(--_0x129378){_0x499d44['push'](_0x499d44['shift']());}};_0x23842a(++_0x1630e9);}(_0x1630,0x199));const _0x2384=function(_0x499d44,_0x1630e9){_0x499d44=_0x499d44-0x0;let _0x23842a=_0x1630[_0x499d44];return _0x23842a;};import{Plugin as _0x5a86fb}from'ckeditor5/src/core';export default class F extends _0x5a86fb{[_0x2384('0x5')](){const _0x1ba14f=this[_0x2384('0x6')];if(!_0x1ba14f[_0x2384('0x1')][_0x2384('0x3')](_0x2384('0x4')))return;_0x1ba14f[_0x2384('0x1')][_0x2384('0x0')](_0x2384('0x2'))['enableCommand']('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d0d=['data','enqueueChange','writer','remove','setSelection','TrackChangesEditing','editor','forward','markerName','enableCommand','downcastDispatcher','addMarker:suggestion:deletion','merge','isCollapsed','model','end','root','uiElement','high','createRange','getFirstRange','rootName','bind','editing','$graveyard','document','mapper','get','deleteForward','commands','options','unlock','requires','createSelection','start','plugins','markerNameToElements','batch','showSuggestionHighlights','init','buffer','removeMarker:suggestion:deletion'];(function(_0x11763c,_0x2d0d9e){const _0x1f7d9f=function(_0xf26a02){while(--_0xf26a02){_0x11763c['push'](_0x11763c['shift']());}};_0x1f7d9f(++_0x2d0d9e);}(_0x2d0d,0xad));const _0x1f7d=function(_0x11763c,_0x2d0d9e){_0x11763c=_0x11763c-0x0;let _0x1f7d9f=_0x2d0d[_0x11763c];return _0x1f7d9f;};import{Plugin as _0x31ec85}from'ckeditor5/src/core';import{LiveRange as _0x268811}from'ckeditor5/src/engine';import{Delete as _0x478312}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2626ac}from'./utils';export default class G extends _0x31ec85{static get[_0x1f7d('0x1b')](){return[_0x478312];}[_0x1f7d('0x22')](){const _0x5b3107=this[_0x1f7d('0x1')],_0x1cd6d7=_0x5b3107[_0x1f7d('0x1e')][_0x1f7d('0x16')](_0x1f7d('0x0'));_0x1cd6d7[_0x1f7d('0x4')]('delete');const _0x29ec47=_0x5b3107[_0x1f7d('0x18')]['get'](_0x1f7d('0x17'));_0x1cd6d7[_0x1f7d('0x4')](_0x1f7d('0x17'),(_0x475490,_0xe02608={})=>{const _0x5f26aa=_0x5b3107[_0x1f7d('0x9')][_0x1f7d('0x1c')](_0x5b3107[_0x1f7d('0x9')][_0x1f7d('0x14')]['selection']);_0x5f26aa[_0x1f7d('0x8')]&&_0x5b3107['model']['modifySelection'](_0x5f26aa,{'direction':_0x1f7d('0x2'),'unit':_0xe02608['unit']});const _0x30b785=_0x5f26aa[_0x1f7d('0xf')](),_0x5efb88=_0x268811['fromRange'](_0x30b785);let _0x5286e1;_0x475490(_0xe02608),_0x5286e1=_0x1f7d('0x13')==_0x5efb88[_0x1f7d('0xb')][_0x1f7d('0x10')]?_0x5b3107[_0x1f7d('0x9')]['createRange'](_0x30b785['start']):_0x5b3107['model'][_0x1f7d('0xe')](_0x5efb88[_0x1f7d('0x1d')],_0x5efb88[_0x1f7d('0xa')]),_0x5efb88['detach'](),_0x5b3107[_0x1f7d('0x9')][_0x1f7d('0x26')](_0x29ec47[_0x1f7d('0x23')][_0x1f7d('0x20')],_0x44e6ea=>{_0x29ec47['buffer']['lock'](),_0x44e6ea[_0x1f7d('0x29')](_0x44e6ea[_0x1f7d('0xe')](_0x5286e1[_0x1f7d('0xa')])),_0x29ec47[_0x1f7d('0x23')][_0x1f7d('0x1a')]();});}),_0x5b3107[_0x1f7d('0x12')][_0x1f7d('0x5')]['on'](_0x1f7d('0x6'),_0x2626ac(_0x5b3107,_0x1f7d('0x7')),{'priority':_0x1f7d('0xd')}),_0x5b3107[_0x1f7d('0x25')][_0x1f7d('0x5')]['on'](_0x1f7d('0x6'),(_0x49a9df,_0x18a1de,_0xe8df1f)=>{_0xe8df1f[_0x1f7d('0x19')][_0x1f7d('0x21')]&&_0x2626ac(_0x5b3107,_0x1f7d('0x7'),{'showActiveMarker':!0x1})[_0x1f7d('0x11')](this)(_0x49a9df,_0x18a1de,_0xe8df1f);},{'priority':_0x1f7d('0xd')}),_0x5b3107[_0x1f7d('0x12')][_0x1f7d('0x5')]['on'](_0x1f7d('0x24'),(_0x40d954,_0x5dba50,_0x440cd7)=>{const _0x44b7b2=_0x440cd7[_0x1f7d('0x15')][_0x1f7d('0x1f')](_0x5dba50['markerName']);if(_0x44b7b2)for(const _0x4c2817 of _0x44b7b2)_0x4c2817['is'](_0x1f7d('0xc'))&&(_0x440cd7[_0x1f7d('0x15')]['unbindElementFromMarkerName'](_0x4c2817,_0x5dba50[_0x1f7d('0x3')]),_0x440cd7[_0x1f7d('0x27')][_0x1f7d('0x28')](_0x4c2817));},{'priority':_0x1f7d('0xd')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d4d=['get','formatBlock','_LIST','document','ELEMENT_NUMBERED_LIST','DocumentListEditing','end','outdentList','listType','*Merge:*\x20%0','editor','TrackChangesEditing','getRanges','getAttribute','expandListBlocksToCompleteList','commandName','nextSibling','from','deletion','ELEMENT_BULLETED_LIST','ELEMENT_','map','schema','numberedList','ELEMENT_LIST_ITEM','afterInit','*Change\x20to:*\x20%0','start','enableCommand','detach','createRange','mergeListItemBackward','refresh','*Format:*\x20remove\x20from\x20%0','getFirstRange','findIndex','getSelectedBlocks','createPositionAt','listIndent','multipleBlocks','*Indent:*\x20%0','bulletedList','fromRange','forceValue','push','nodeAfter','_descriptionFactory','commandParams','has','setSelection','selection','isObject','indentList','registerCustomCallback','mergeListItemForward','model','length','plugins','format','splitListItemAfter','before','next','previousSibling','registerDescriptionCallback','accept','DocumentListUtils','markBlockFormat','splitListItemBefore','documentList','registerElementLabel','*Format:*\x20insert\x20into\x20%0','value','markMultiRangeBlockFormat','commands','listItemId','change'];(function(_0x2c068d,_0x2d4d4b){const _0x39198b=function(_0x536787){while(--_0x536787){_0x2c068d['push'](_0x2c068d['shift']());}};_0x39198b(++_0x2d4d4b);}(_0x2d4d,0x11d));const _0x3919=function(_0x2c068d,_0x2d4d4b){_0x2c068d=_0x2c068d-0x0;let _0x39198b=_0x2d4d[_0x2c068d];return _0x39198b;};import{Plugin as _0x41dd5a}from'ckeditor5/src/core';import{getTranslation as _0xde59dc}from'../utils/common-translations';import{LiveRange as _0x27309d}from'ckeditor5/src/engine';export default class L extends _0x41dd5a{[_0x3919('0x2c')](){const _0x2bf1c9=this[_0x3919('0x1d')];if(!_0x2bf1c9[_0x3919('0x0')][_0x3919('0x43')](_0x3919('0x18')))return;const _0xbf495b=_0x2bf1c9['locale'],_0x11aaea=_0x2bf1c9['plugins'][_0x3919('0x13')](_0x3919('0x1e')),_0x3776b1=_0x2bf1c9[_0x3919('0x0')][_0x3919('0x13')](_0x3919('0x8'));function _0x4e31ff(_0x23b3ac){return()=>{const _0x19e805=_0x2bf1c9['commands']['get'](_0x23b3ac);let _0x4228df=Array[_0x3919('0x24')](_0x2bf1c9[_0x3919('0x4a')]['document']['selection'][_0x3919('0x37')]());if(_0x59eb16(_0x23b3ac)){_0x4228df=_0x3776b1[_0x3919('0x21')](_0x4228df);const _0x144156=[];for(const _0x375661 of _0x4228df)_0x3776b1['isFirstBlockOfListItem'](_0x375661)&&_0x144156[_0x3919('0x3f')](_0x375661);_0x4228df=_0x144156;}_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x12')](()=>{_0x11aaea[_0x3919('0xf')](_0x4228df,{'commandName':_0x23b3ac,'commandParams':[{'forceValue':!_0x19e805[_0x3919('0xe')]}],'formatGroupId':_0x3919('0x1b')},[],_0x3919('0xb'));});};}function _0x4896b6(_0x530eda){return()=>{const _0x227112=function(_0x3057cf){let _0xdc60a6=Array[_0x3919('0x24')](_0x3057cf);const _0x2d3899=_0xdc60a6[_0x3919('0x36')](_0x156d9b=>!_0x156d9b['hasAttribute'](_0x3919('0x11')));return _0x2d3899>-0x1&&(_0xdc60a6=_0xdc60a6['slice'](0x0,_0x2d3899)),_0xdc60a6;}(_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x16')][_0x3919('0x45')][_0x3919('0x37')]()),_0x489551=_0x227112[_0x227112[_0x3919('0x4b')]-0x1],_0x41930b=_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x29')][_0x3919('0x46')](_0x489551)?'after':_0x3919('0x19'),_0x274462=_0x2bf1c9[_0x3919('0x4a')]['createRange'](_0x2bf1c9[_0x3919('0x4a')]['createPositionAt'](_0x227112[0x0],_0x3919('0x3')),_0x2bf1c9['model'][_0x3919('0x38')](_0x489551,_0x41930b));_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x12')](()=>{_0x11aaea[_0x3919('0x9')](_0x274462,{'commandName':_0x530eda,'commandParams':[],'formatGroupId':'listType'},function(_0x54f058){const _0x4d586e=new Set();for(const _0x1f6889 of _0x54f058){let _0x53191d=_0x1f6889[_0x3919('0x23')];for(;_0x53191d&&_0x53191d['getAttribute'](_0x3919('0x39'))>_0x1f6889[_0x3919('0x20')](_0x3919('0x39'));)_0x4d586e['add'](_0x53191d),_0x53191d=_0x53191d[_0x3919('0x23')];}return Array[_0x3919('0x24')](_0x4d586e);}(_0x227112));});};}function _0x487593(_0xdc5f8f){return()=>{const _0x17722a=_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x16')][_0x3919('0x45')]['getSelectedBlocks']()[_0x3919('0x4')]()[_0x3919('0xe')],_0x397338=_0x2bf1c9['model'][_0x3919('0x38')](_0x17722a,_0x3919('0x3')),_0x436997=_0x2bf1c9[_0x3919('0x4a')]['createPositionAt'](_0x17722a,0x0),_0x4291cb=_0x2bf1c9[_0x3919('0x4a')]['createRange'](_0x397338,_0x436997);_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x12')](()=>{_0x11aaea[_0x3919('0x9')](_0x4291cb,{'commandName':_0xdc5f8f,'commandParams':[],'formatGroupId':_0x3919('0x1b')});});};}function _0x59eb16(_0x5a3e47){const _0x28a02c=_0x2bf1c9['commands']['get'](_0x3919('0x3c'))['value'],_0x20b04e=_0x2bf1c9[_0x3919('0x10')]['get'](_0x3919('0x2a'))[_0x3919('0xe')];return _0x3919('0x2a')===_0x5a3e47?_0x28a02c:_0x20b04e;}_0x11aaea['enableCommand'](_0x3919('0x2a'),_0x4e31ff(_0x3919('0x2a'))),_0x11aaea[_0x3919('0x2f')](_0x3919('0x3c'),_0x4e31ff(_0x3919('0x3c'))),_0x11aaea['enableCommand'](_0x3919('0x47'),_0x4896b6('indentList')),_0x11aaea[_0x3919('0x2f')](_0x3919('0x1a'),_0x4896b6(_0x3919('0x1a'))),_0x11aaea[_0x3919('0x2f')](_0x3919('0x2'),_0x487593(_0x3919('0x2'))),_0x11aaea[_0x3919('0x2f')]('splitListItemBefore',_0x487593(_0x3919('0xa'))),_0x11aaea[_0x3919('0x41')][_0x3919('0xc')](function(_0x3e12c9){const _0xea6417=!_0x2bf1c9['model']['schema'][_0x3919('0x46')](_0x3e12c9),_0x5cad7e=_0x3e12c9[_0x3919('0x5')],_0x1d8da2=_0x3e12c9['nextSibling'],_0x15f3d5=_0x3e12c9[_0x3919('0x20')](_0x3919('0x11')),_0xaa9eef=!_0x5cad7e||_0x5cad7e[_0x3919('0x20')](_0x3919('0x11'))!==_0x15f3d5,_0x42945=!_0x1d8da2||_0x1d8da2['getAttribute'](_0x3919('0x11'))!==_0x15f3d5;return _0xea6417&&Boolean(_0x15f3d5)&&_0xaa9eef&&_0x42945;},_0x15f49d=>_0xde59dc(_0xbf495b,_0x3919('0x2b'),_0x15f49d)),_0x11aaea[_0x3919('0x41')][_0x3919('0x6')](function(_0x462dce){const {data:_0x26bc5a}=_0x462dce;if(!_0x26bc5a)return;let _0x5b1104,_0x3af3fb,_0x37c43f,_0xb85e65;switch(_0x26bc5a[_0x3919('0x22')]){case _0x3919('0x3c'):_0x37c43f=_0x26bc5a[_0x3919('0x42')][0x0][_0x3919('0x3e')],_0xb85e65=_0x59eb16(_0x26bc5a[_0x3919('0x22')]),_0x5b1104=_0x37c43f?_0x3919('0xd'):_0x3919('0x34'),_0xb85e65&&(_0x5b1104=_0x3919('0x2d')),_0x3af3fb={'type':_0x3919('0x1'),'content':_0xde59dc(_0xbf495b,_0x5b1104,_0xde59dc(_0xbf495b,_0x3919('0x26')))};break;case _0x3919('0x2a'):_0x37c43f=_0x26bc5a[_0x3919('0x42')][0x0][_0x3919('0x3e')],_0xb85e65=_0x59eb16(_0x26bc5a[_0x3919('0x22')]),_0x5b1104=_0x37c43f?_0x3919('0xd'):_0x3919('0x34'),_0xb85e65&&(_0x5b1104=_0x3919('0x2d')),_0x3af3fb={'type':'format','content':_0xde59dc(_0xbf495b,_0x5b1104,_0xde59dc(_0xbf495b,_0x3919('0x17')))};break;case _0x3919('0x47'):_0x5b1104=_0x3919('0x3b'),_0x3af3fb={'type':_0x3919('0x1'),'content':_0xde59dc(_0xbf495b,_0x5b1104,_0xde59dc(_0xbf495b,_0x3919('0x2b')))};break;case'outdentList':_0x5b1104=function(_0x2acc28){const _0x50ced6=_0x2acc28[_0x3919('0x35')]();let _0x4f1b67=_0x50ced6[_0x3919('0x2e')][_0x3919('0x40')];for(;_0x4f1b67&&_0x50ced6['containsItem'](_0x4f1b67);){if(_0x4f1b67[_0x3919('0x20')]('listIndent')>0x0)return!0x1;_0x4f1b67=_0x4f1b67['nextSibling'];}return!0x0;}(_0x462dce)?_0xde59dc(_0xbf495b,_0x3919('0x34'),_0xde59dc(_0xbf495b,function(_0x484511){const _0x43210d=_0x484511[_0x3919('0x35')]()[_0x3919('0x2e')]['nodeAfter'];return _0x3919('0x27')+_0x43210d[_0x3919('0x20')](_0x3919('0x1b'))['toUpperCase']()+_0x3919('0x15');}(_0x462dce))):_0xde59dc(_0xbf495b,'*Outdent:*\x20%0',_0xde59dc(_0xbf495b,_0x3919('0x2b'))),_0x3af3fb={'type':_0x3919('0x1'),'content':_0x5b1104};break;case _0x3919('0x32'):case _0x3919('0x49'):!0x1===_0x26bc5a[_0x3919('0x3a')]&&(_0x5b1104=_0x3919('0x1c'),_0x3af3fb={'type':_0x3919('0x25'),'content':_0xde59dc(_0xbf495b,_0x5b1104,_0xde59dc(_0xbf495b,_0x3919('0x2b')))});}return _0x3af3fb;}),_0x11aaea['_suggestionFactory'][_0x3919('0x48')](_0x3919('0x14'),'documentList',_0x3919('0x7'),function(_0x535929,_0x26f216){const _0x381d6f=[];for(let _0x298c3e of _0x535929)_0x298c3e[_0x3919('0x2e')][_0x3919('0x40')]===_0x298c3e[_0x3919('0x19')]['parent']&&(_0x298c3e=_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x31')](_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x38')](_0x298c3e[_0x3919('0x2e')][_0x3919('0x40')],0x0))),_0x381d6f[_0x3919('0x3f')](_0x298c3e);_0x2bf1c9['model'][_0x3919('0x12')](_0x3f417b=>{const _0x17c2ba=_0x2bf1c9[_0x3919('0x4a')][_0x3919('0x16')][_0x3919('0x45')],_0x1fe6fa=Array[_0x3919('0x24')](_0x17c2ba[_0x3919('0x1f')]())[_0x3919('0x28')](_0x5a31e6=>_0x27309d[_0x3919('0x3d')](_0x5a31e6));_0x3f417b['setSelection'](_0x381d6f),_0x2bf1c9[_0x3919('0x10')]['get'](_0x26f216[_0x3919('0x22')])[_0x3919('0x33')](),_0x26f216[_0x3919('0x42')][_0x3919('0x3f')]({'forceDefaultExecution':!0x0}),_0x2bf1c9['execute'](_0x26f216['commandName'],..._0x26f216[_0x3919('0x42')]),_0x3f417b[_0x3919('0x44')](_0x1fe6fa);for(const _0x3c8b28 of _0x1fe6fa)_0x3c8b28[_0x3919('0x30')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3996=['change','getSelectedBlocks','handleListStartCommand','reversed','handleDescriptions','document','replace','filter','*Format:*\x20set\x20order\x20to\x20regular','locale','listStart','listStyle','afterInit','DocumentListUtils','listReversed','expandListBlocksToCompleteList','isListItemBlock','commandParams','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListPropertiesEditing','push','plugins','config','startIndex','getListTypeFromListStyleType','toUpperCase','get','model','commandName','getAttribute','markMultiRangeBlockFormat','type','has','registerDescriptionCallback','bind','ELEMENT_','numbered','enableCommand','_getSuggestionBlocksForListStyle','handleListStyleCommand','selection','styles','_getTranslationKeyForListStyle','_getSuggestionBlocks','_descriptionFactory','list.properties','format','from','handleListReversedCommand','editor','*Change\x20to:*\x20%0','*Format:*\x20set\x20start\x20index\x20to\x20%0'];(function(_0x52c4e8,_0x399607){const _0x4a1eb9=function(_0x4c1d1b){while(--_0x4c1d1b){_0x52c4e8['push'](_0x52c4e8['shift']());}};_0x4a1eb9(++_0x399607);}(_0x3996,0x1c0));const _0x4a1e=function(_0x52c4e8,_0x399607){_0x52c4e8=_0x52c4e8-0x0;let _0x4a1eb9=_0x3996[_0x52c4e8];return _0x4a1eb9;};import{Plugin as _0x5832e8}from'ckeditor5/src/core';import{getTranslation as _0x4ec05f}from'../utils/common-translations';export default class At extends _0x5832e8{[_0x4a1e('0x29')](){if(!this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x9')](_0x4a1e('0x31')))return;const _0x31a194=this[_0x4a1e('0x1a')][_0x4a1e('0x34')]['get'](_0x4a1e('0x16')),_0x557644=this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x3')](_0x4a1e('0x2f'));_0x31a194[_0x4a1e('0x12')]&&_0x557644[_0x4a1e('0xe')](_0x4a1e('0x28'),this[_0x4a1e('0x10')][_0x4a1e('0xb')](this)),_0x31a194['reversed']&&_0x557644[_0x4a1e('0xe')](_0x4a1e('0x2b'),this[_0x4a1e('0x19')][_0x4a1e('0xb')](this)),_0x31a194[_0x4a1e('0x0')]&&_0x557644['enableCommand'](_0x4a1e('0x27'),this[_0x4a1e('0x1f')][_0x4a1e('0xb')](this)),_0x557644[_0x4a1e('0x15')][_0x4a1e('0xa')](this[_0x4a1e('0x21')][_0x4a1e('0xb')](this));}[_0x4a1e('0x10')](_0x5b42a6,_0x20b30f={}){const _0x4bd448=this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x3')](_0x4a1e('0x2f')),_0x24dc3f=this[_0x4a1e('0xf')]();this['editor'][_0x4a1e('0x4')][_0x4a1e('0x1d')](()=>{_0x4bd448[_0x4a1e('0x7')](_0x24dc3f,{'commandName':_0x4a1e('0x28'),'commandParams':[{'type':_0x20b30f[_0x4a1e('0x8')]}],'formatGroupId':_0x4a1e('0x28')});});}[_0x4a1e('0x19')](_0x3c0482,_0x46cb6a={}){const _0x349f3e=this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x3')]('TrackChangesEditing'),_0x2cf0d1=this[_0x4a1e('0x1a')]['plugins'][_0x4a1e('0x3')](_0x4a1e('0x2a')),_0x1f4507=this[_0x4a1e('0x14')](_0x12885a=>_0x2cf0d1['isListItemBlock'](_0x12885a)&&_0x4a1e('0xd')===_0x12885a[_0x4a1e('0x6')]('listType'));null!==_0x1f4507&&this['editor'][_0x4a1e('0x4')][_0x4a1e('0x1d')](()=>{_0x349f3e[_0x4a1e('0x7')](_0x1f4507,{'commandName':_0x4a1e('0x2b'),'commandParams':[{'reversed':_0x46cb6a[_0x4a1e('0x20')]}],'formatGroupId':_0x4a1e('0x2b')});});}[_0x4a1e('0x1f')](_0x3b9f39,_0x5f873a={}){const _0x2ea109=this[_0x4a1e('0x1a')][_0x4a1e('0x33')]['get'](_0x4a1e('0x2f')),_0x54eb6a=this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x3')](_0x4a1e('0x2a')),_0x13875f=this['_getSuggestionBlocks'](_0x51c257=>_0x54eb6a[_0x4a1e('0x2d')](_0x51c257)&&_0x4a1e('0xd')===_0x51c257['getAttribute']('listType'));null!==_0x13875f&&this['editor']['model'][_0x4a1e('0x1d')](()=>{_0x2ea109[_0x4a1e('0x7')](_0x13875f,{'commandName':_0x4a1e('0x27'),'commandParams':[{'startIndex':_0x5f873a[_0x4a1e('0x0')]}],'formatGroupId':_0x4a1e('0x27')});});}[_0x4a1e('0x21')](_0x4c2501){const _0x50555e=this['editor'][_0x4a1e('0x26')],{data:_0x2c99d1}=_0x4c2501;if(!_0x2c99d1)return;let _0x347465,_0x14659e;switch(_0x2c99d1[_0x4a1e('0x5')]){case _0x4a1e('0x28'):_0x347465=_0x4a1e('0x1b'),_0x14659e={'type':'format','content':_0x4ec05f(_0x50555e,_0x347465,_0x4ec05f(_0x50555e,this['_getTranslationKeyForListStyle'](_0x2c99d1[_0x4a1e('0x2e')][0x0][_0x4a1e('0x8')])))};break;case _0x4a1e('0x2b'):_0x347465=_0x2c99d1[_0x4a1e('0x2e')][0x0][_0x4a1e('0x20')]?_0x4a1e('0x30'):_0x4a1e('0x25'),_0x14659e={'type':_0x4a1e('0x17'),'content':_0x4ec05f(_0x50555e,_0x347465)};break;case _0x4a1e('0x27'):_0x347465=_0x4a1e('0x1c'),_0x14659e={'type':_0x4a1e('0x17'),'content':_0x4ec05f(_0x50555e,_0x347465,_0x2c99d1['commandParams'][0x0]['startIndex'])};}return _0x14659e;}[_0x4a1e('0xf')](){const _0x1e8634=this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x3')]('DocumentListUtils');let _0x4e3731=Array[_0x4a1e('0x18')](this[_0x4a1e('0x1a')]['model'][_0x4a1e('0x22')][_0x4a1e('0x11')]['getSelectedBlocks']());return _0x4e3731['push'](..._0x1e8634[_0x4a1e('0x2c')](_0x4e3731)),_0x4e3731=[...new Set(_0x4e3731)],_0x4e3731;}[_0x4a1e('0x14')](_0x41dc9b){const _0x30c9e6=this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x3')](_0x4a1e('0x2a'));let _0x316d3a=Array[_0x4a1e('0x18')](this[_0x4a1e('0x1a')][_0x4a1e('0x4')][_0x4a1e('0x22')][_0x4a1e('0x11')][_0x4a1e('0x1e')]())[_0x4a1e('0x24')](_0x41dc9b);if(!_0x316d3a['length'])return null;_0x316d3a=_0x30c9e6['expandListBlocksToCompleteList'](_0x316d3a);const _0x277512=[];for(const _0x138a82 of _0x316d3a)_0x30c9e6['isFirstBlockOfListItem'](_0x138a82)&&_0x277512[_0x4a1e('0x32')](_0x138a82);return _0x277512;}[_0x4a1e('0x13')](_0x365911){return _0x4a1e('0xc')+this[_0x4a1e('0x1a')][_0x4a1e('0x33')][_0x4a1e('0x3')]('DocumentListPropertiesUtils')[_0x4a1e('0x1')](_0x365911)[_0x4a1e('0x2')]()+'_LIST_'+_0x365911[_0x4a1e('0x2')]()[_0x4a1e('0x23')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd62b=['data','unbindElementFromMarkerName','markerName','options','enter','getFirstPosition','enterBlock','editing','getFirstRange','removeMarker:suggestion:insertion','high','selection','downcastDispatcher','fromRange','createPositionAt','detach','mapper','ck-suggestion-marker-split','setSelection','nextSibling','get','end','editor','writer','split','enableCommand','model','parent','document','fire','createRange','addMarker:suggestion:insertion','init'];(function(_0x42a20d,_0xd62b7a){const _0x37f627=function(_0x2a04d3){while(--_0x2a04d3){_0x42a20d['push'](_0x42a20d['shift']());}};_0x37f627(++_0xd62b7a);}(_0xd62b,0x17c));const _0x37f6=function(_0x42a20d,_0xd62b7a){_0x42a20d=_0x42a20d-0x0;let _0x37f627=_0xd62b[_0x42a20d];return _0x37f627;};import{Plugin as _0x5165a0}from'ckeditor5/src/core';import{Enter as _0x564bc2}from'ckeditor5/src/enter';import{LiveRange as _0x12261f}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x103357}from'./utils';export default class q extends _0x5165a0{static get['requires'](){return[_0x564bc2];}[_0x37f6('0xf')](){const _0x344b3b=this[_0x37f6('0x5')],_0x261e48=_0x344b3b['plugins'][_0x37f6('0x3')]('TrackChangesEditing'),_0x43cee4=_0x344b3b['commands'][_0x37f6('0x3')](_0x37f6('0x14'));_0x261e48[_0x37f6('0x8')](_0x37f6('0x14'),()=>{_0x344b3b[_0x37f6('0x9')]['change'](_0x5f75b9=>{const _0x19983d=_0x344b3b[_0x37f6('0x9')][_0x37f6('0xb')][_0x37f6('0x1b')],_0x128ea6=_0x19983d[_0x37f6('0x15')](),_0x149ffd=_0x12261f[_0x37f6('0x1d')](_0x19983d[_0x37f6('0x18')]());if(_0x43cee4[_0x37f6('0x16')](_0x5f75b9)){const _0x2af427=_0x344b3b[_0x37f6('0x9')][_0x37f6('0x1e')](_0x128ea6[_0x37f6('0xa')][_0x37f6('0x2')],0x0),_0x5893ab=_0x5f75b9[_0x37f6('0xd')](_0x128ea6,_0x2af427);_0x261e48['markInsertion'](_0x5893ab);}else _0x5f75b9[_0x37f6('0x1')](_0x5f75b9[_0x37f6('0xd')](_0x149ffd[_0x37f6('0x4')]));_0x149ffd[_0x37f6('0x1f')](),_0x43cee4[_0x37f6('0xc')]('afterExecute',{'writer':_0x5f75b9});});}),_0x344b3b[_0x37f6('0x17')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x103357(_0x344b3b,_0x37f6('0x7')),{'priority':_0x37f6('0x1a')}),_0x344b3b['editing'][_0x37f6('0x1c')]['on'](_0x37f6('0x19'),(_0x3296c2,_0x287505,_0x156da0)=>{const _0x3ba89c=_0x156da0[_0x37f6('0x20')]['markerNameToElements'](_0x287505[_0x37f6('0x12')]);if(_0x3ba89c)for(const _0x4f7023 of _0x3ba89c)_0x4f7023['hasClass'](_0x37f6('0x0'))&&(_0x156da0[_0x37f6('0x20')][_0x37f6('0x11')](_0x4f7023,_0x287505[_0x37f6('0x12')]),_0x156da0[_0x37f6('0x6')]['remove'](_0x4f7023));},{'priority':'high'}),_0x344b3b[_0x37f6('0x10')][_0x37f6('0x1c')]['on'](_0x37f6('0xe'),(_0x16186c,_0x359f5a,_0x56dc0d)=>{_0x56dc0d[_0x37f6('0x13')]['showSuggestionHighlights']&&_0x103357(_0x344b3b,_0x37f6('0x7'),{'showActiveMarker':!0x1})['bind'](this)(_0x16186c,_0x359f5a,_0x56dc0d);},{'priority':_0x37f6('0x1a')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a3f=['findByTextCallback','getRange','editor','markers','createRange','TrackChangesEditing','handleFindCommand','_isInDeletionRange','createPositionAt','string','findPrevious','replace','end','plugins','get','model','item','enableCommand','start','has','filter'];(function(_0x3c082d,_0x5a3f8e){const _0x5d4373=function(_0x3f8519){while(--_0x3f8519){_0x3c082d['push'](_0x3c082d['shift']());}};_0x5d4373(++_0x5a3f8e);}(_0x5a3f,0x160));const _0x5d43=function(_0x3c082d,_0x5a3f8e){_0x3c082d=_0x3c082d-0x0;let _0x5d4373=_0x5a3f[_0x3c082d];return _0x5d4373;};import{Plugin as _0x122acc}from'ckeditor5/src/core';export default class z extends _0x122acc{['afterInit'](){if(!this[_0x5d43('0x7')]['plugins'][_0x5d43('0x3')]('FindAndReplaceEditing'))return;const _0x58ad6c=this[_0x5d43('0x7')][_0x5d43('0x12')][_0x5d43('0x13')](_0x5d43('0xa'));_0x58ad6c[_0x5d43('0x1')]('find',this['handleFindCommand']['bind'](this)),_0x58ad6c[_0x5d43('0x1')]('findNext'),_0x58ad6c[_0x5d43('0x1')](_0x5d43('0xf')),_0x58ad6c[_0x5d43('0x1')](_0x5d43('0x10')),_0x58ad6c['enableCommand']('replaceAll');}[_0x5d43('0xb')](_0x32a5f1,_0x495bab,_0xbb9a12={}){const _0x9244e6=this[_0x5d43('0x7')][_0x5d43('0x12')]['get']('FindAndReplaceUtils');void 0x0!==_0xbb9a12&&_0x32a5f1(_0x50df23=>(_0x5d43('0xe')==typeof _0x495bab?_0x9244e6[_0x5d43('0x5')](_0x495bab,_0xbb9a12):_0x495bab)(_0x50df23)[_0x5d43('0x4')](_0x1ea7fa=>!0x1===this[_0x5d43('0xc')](_0x1ea7fa,_0x50df23[_0x5d43('0x0')])),_0xbb9a12);}['_isInDeletionRange'](_0x16ccfd,_0x3a41aa){const _0x23faf4=this['editor'][_0x5d43('0x14')][_0x5d43('0x9')](this['editor']['model']['createPositionAt'](_0x3a41aa,_0x16ccfd[_0x5d43('0x2')]),this[_0x5d43('0x7')][_0x5d43('0x14')][_0x5d43('0xd')](_0x3a41aa,_0x16ccfd[_0x5d43('0x11')]));for(const _0x41610f of this[_0x5d43('0x7')][_0x5d43('0x14')][_0x5d43('0x8')]['getMarkersGroup']('suggestion:deletion'))if(null!==_0x23faf4['getIntersection'](_0x41610f[_0x5d43('0x6')]()))return!0x0;return!0x1;}}
|