@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230710.1 → 0.0.0-nightly-20230711.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-20230711.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-20230711.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230711.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 _0x5794=['acceptSuggestion','_suggestions','execute','_isEnabledBasedOnSelection','get','isEnabled','refresh','editor','model','track-changes-accept-suggestion-not-found'];(function(_0x243527,_0x57949d){const _0xa81622=function(_0x5d0c7e){while(--_0x5d0c7e){_0x243527['push'](_0x243527['shift']());}};_0xa81622(++_0x57949d);}(_0x5794,0xfc));const _0xa816=function(_0x243527,_0x57949d){_0x243527=_0x243527-0x0;let _0xa81622=_0x5794[_0x243527];return _0xa81622;};import{Command as _0x1e2979}from'ckeditor5/src/core';import{CKEditorError as _0x3366a7}from'ckeditor5/src/utils';export default class M extends _0x1e2979{constructor(_0x20c2d4,_0x4ed037){super(_0x20c2d4),this[_0xa816('0x9')]=_0x4ed037,this[_0xa816('0x4')](),this[_0xa816('0x1')]=!0x1;}[_0xa816('0x4')](){this[_0xa816('0x3')]=!0x0;}[_0xa816('0x0')](_0x524f12){const _0x4be4dc=this[_0xa816('0x9')][_0xa816('0x2')](_0x524f12);if(!_0x4be4dc)throw new _0x3366a7(_0xa816('0x7'),this);const _0x3bc445=_0x4be4dc['getRanges']();this[_0xa816('0x5')][_0xa816('0x6')]['canEditAt'](_0x3bc445)&&this[_0xa816('0x5')]['plugins'][_0xa816('0x2')]('TrackChangesEditing')[_0xa816('0x8')](_0x4be4dc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1068=['plugins','editor','discardSuggestion','refresh','_suggestions','getRanges','_isEnabledBasedOnSelection','execute','track-changes-discard-suggestion-not-found','isEnabled','get','TrackChangesEditing'];(function(_0x1094d8,_0x1068d3){const _0xb0742e=function(_0x32a854){while(--_0x32a854){_0x1094d8['push'](_0x1094d8['shift']());}};_0xb0742e(++_0x1068d3);}(_0x1068,0xa9));const _0xb074=function(_0x1094d8,_0x1068d3){_0x1094d8=_0x1094d8-0x0;let _0xb0742e=_0x1068[_0x1094d8];return _0xb0742e;};import{Command as _0x15b2f2}from'ckeditor5/src/core';import{CKEditorError as _0x358d78}from'ckeditor5/src/utils';export default class $ extends _0x15b2f2{constructor(_0x28375c,_0x21e5e3){super(_0x28375c),this[_0xb074('0x3')]=_0x21e5e3,this[_0xb074('0x2')](),this[_0xb074('0x5')]=!0x1;}[_0xb074('0x2')](){this[_0xb074('0x8')]=!0x0;}[_0xb074('0x6')](_0xc101c7){const _0x375576=this['_suggestions'][_0xb074('0x9')](_0xc101c7);if(!_0x375576)throw new _0x358d78(_0xb074('0x7'),this);const _0x2be794=_0x375576[_0xb074('0x4')]();this[_0xb074('0x0')]['model']['canEditAt'](_0x2be794)&&this[_0xb074('0x0')][_0xb074('0xb')]['get'](_0xb074('0xa'))[_0xb074('0x1')](_0x375576);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56b3=['isInContent','canEditAt','model','isEnabled','some','_isEnabledBasedOnSelection','_suggestions','from','_command','refresh','getRanges','editor','values'];(function(_0x3c01b0,_0x56b3ac){const _0x28347f=function(_0x43ce63){while(--_0x43ce63){_0x3c01b0['push'](_0x3c01b0['shift']());}};_0x28347f(++_0x56b3ac);}(_0x56b3,0x160));const _0x2834=function(_0x3c01b0,_0x56b3ac){_0x3c01b0=_0x3c01b0-0x0;let _0x28347f=_0x56b3[_0x3c01b0];return _0x28347f;};import{Command as _0x38002a}from'ckeditor5/src/core';import{sortSuggestions as _0x3df8dc,executeCommandForSuggestions as _0x235eff}from'../utils/utils';export default class N extends _0x38002a{constructor(_0x19d702,_0x2a5ed1,_0x4c5905){super(_0x19d702),this['_command']=_0x2a5ed1,this[_0x2834('0x5')]=_0x4c5905,this[_0x2834('0x8')](),this[_0x2834('0x4')]=!0x1;}[_0x2834('0x8')](){const _0x12df50=Array['from'](this['_suggestions'][_0x2834('0xb')]())[_0x2834('0x3')](_0x404922=>_0x404922[_0x2834('0xc')]);this['isEnabled']=this[_0x2834('0x7')][_0x2834('0x2')]&&_0x12df50;}['execute'](){const _0x569378=_0x3df8dc(Array[_0x2834('0x6')](this[_0x2834('0x5')]['values']()));for(const _0x21ee78 of _0x569378){const _0x337bf7=_0x21ee78[_0x2834('0x9')]();if(!this[_0x2834('0xa')][_0x2834('0x1')][_0x2834('0x0')](_0x337bf7))return;}_0x235eff(this[_0x2834('0xa')]['model'],this[_0x2834('0x7')],_0x569378);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22c5=['from','isEnabled','values','getRanges','selection','editor','_selectedSuggestions','document','model','refresh','size','_command','canEditAt'];(function(_0x3ed89a,_0x22c503){const _0x48fc19=function(_0xfcb356){while(--_0xfcb356){_0x3ed89a['push'](_0x3ed89a['shift']());}};_0x48fc19(++_0x22c503);}(_0x22c5,0x16c));const _0x48fc=function(_0x3ed89a,_0x22c503){_0x3ed89a=_0x3ed89a-0x0;let _0x48fc19=_0x22c5[_0x3ed89a];return _0x48fc19;};import{Command as _0x49b279}from'ckeditor5/src/core';import{sortSuggestions as _0x23ac3b,getSelectedSuggestions as _0x4b2700,executeCommandForSuggestions as _0x21dfca}from'../utils/utils';export default class R extends _0x49b279{constructor(_0x4efc7e,_0x2a3708,_0x242031){super(_0x4efc7e),this[_0x48fc('0xb')]=_0x2a3708,this['_suggestions']=_0x242031,this['_selectedSuggestions']=new Set(),this[_0x48fc('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x48fc('0x9')](){const _0x3954d8=this[_0x48fc('0x5')][_0x48fc('0x8')][_0x48fc('0x7')][_0x48fc('0x4')],_0x3bd564=Array[_0x48fc('0x0')](this['_suggestions'][_0x48fc('0x2')]());this[_0x48fc('0x6')]=_0x4b2700(_0x3954d8,_0x3bd564),this[_0x48fc('0x1')]=this[_0x48fc('0xb')][_0x48fc('0x1')]&&!!this[_0x48fc('0x6')][_0x48fc('0xa')];}['execute'](){const _0x22c3ae=_0x23ac3b(Array['from'](this[_0x48fc('0x6')]));for(const _0x4350db of _0x22c3ae){const _0x4f47d7=_0x4350db[_0x48fc('0x3')]();if(!this['editor']['model'][_0x48fc('0xc')](_0x4f47d7))return;}_0x21dfca(this[_0x48fc('0x5')]['model'],this[_0x48fc('0xb')],_0x22c3ae);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd44e=['value','execute','clearForceDisabled','commands','TrackChangesCommand','affectsData','_isEnabledBasedOnSelection','_enableCommands','_disableUnsupportedCommands','editor','_enabledCommands','refresh','forceDisabled','has'];(function(_0xb26fec,_0xd44edf){const _0x42f797=function(_0x20462e){while(--_0x20462e){_0xb26fec['push'](_0xb26fec['shift']());}};_0x42f797(++_0xd44edf);}(_0xd44e,0x92));const _0x42f7=function(_0xb26fec,_0xd44edf){_0xb26fec=_0xb26fec-0x0;let _0x42f797=_0xd44e[_0xb26fec];return _0x42f797;};import{Command as _0x40a78}from'ckeditor5/src/core';export default class _ extends _0x40a78{constructor(_0x21e7cb,_0x486cf7){super(_0x21e7cb),this[_0x42f7('0x4')]=_0x486cf7,this[_0x42f7('0x8')]=!0x1,this['refresh'](),this[_0x42f7('0x0')]=!0x1;}[_0x42f7('0x5')](){this['isEnabled']=!0x0;}[_0x42f7('0x9')](){this['value']=!this['value'],this[_0x42f7('0x8')]?this[_0x42f7('0x2')]():this[_0x42f7('0x1')]();}[_0x42f7('0x2')](){for(const _0x39f04a of this[_0x42f7('0x3')][_0x42f7('0xb')]['commands']())_0x39f04a[_0x42f7('0xd')]&&!this['_enabledCommands'][_0x42f7('0x7')](_0x39f04a)&&_0x39f04a[_0x42f7('0x6')](_0x42f7('0xc'));}['_enableCommands'](){for(const _0x2e5b64 of this[_0x42f7('0x3')]['commands']['commands']())_0x2e5b64[_0x42f7('0xd')]&&!this[_0x42f7('0x4')][_0x42f7('0x7')](_0x2e5b64)&&_0x2e5b64[_0x42f7('0xa')](_0x42f7('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b1e=['*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT','AlignmentEditing','right','getAttribute','FORMAT_ALIGN_TO_LEFT','filter','model','alignment','locale','checkAttribute','format','from','has','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','plugins','value','markBlockFormat','registerDescriptionCallback','change','afterInit','editor','selection','left','ltr','justify','commandName','center','_descriptionFactory'];(function(_0x23b84c,_0x4b1e9f){const _0x3e5531=function(_0x32a1ad){while(--_0x32a1ad){_0x23b84c['push'](_0x23b84c['shift']());}};_0x3e5531(++_0x4b1e9f);}(_0x4b1e,0xfa));const _0x3e55=function(_0x23b84c,_0x4b1e9f){_0x23b84c=_0x23b84c-0x0;let _0x3e5531=_0x4b1e[_0x23b84c];return _0x3e5531;};import{Plugin as _0x6e322c}from'ckeditor5/src/core';import{getTranslation as _0x5e991d}from'../utils/common-translations';export default class x extends _0x6e322c{[_0x3e55('0xb')](){const _0x13e83d=this['editor'],_0x443dac=_0x13e83d[_0x3e55('0x1d')];if(!_0x13e83d[_0x3e55('0x6')][_0x3e55('0x3')](_0x3e55('0x16')))return;const _0x57592d=_0x13e83d[_0x3e55('0x6')]['get']('TrackChangesEditing');_0x57592d['enableCommand'](_0x3e55('0x1c'),(_0x4479ca,_0x462d68={})=>{let _0x13bbf1=_0x462d68[_0x3e55('0x7')];_0x462d68[_0x3e55('0x7')]||(_0x13bbf1=_0x3e55('0xf')===_0x13e83d[_0x3e55('0x1d')][_0x3e55('0x5')]?_0x3e55('0xe'):_0x3e55('0x17'));const _0xe74e21=Array[_0x3e55('0x2')](this[_0x3e55('0xc')][_0x3e55('0x1b')]['document'][_0x3e55('0xd')]['getSelectedBlocks']())[_0x3e55('0x1a')](_0x2ff8ef=>function(_0x4d6e84,_0x4e8fc3,_0x513529){const _0x481eed=_0x4d6e84[_0x3e55('0x18')]('alignment')||null;return _0x4e8fc3[_0x3e55('0x0')](_0x4d6e84,'alignment')&&_0x513529!=_0x481eed;}(_0x2ff8ef,this['editor'][_0x3e55('0x1b')]['schema'],_0x13bbf1));_0x13e83d[_0x3e55('0x1b')][_0x3e55('0xa')](()=>{for(const _0x4568c0 of _0xe74e21)_0x57592d[_0x3e55('0x8')](_0x4568c0,{'commandName':'alignment','commandParams':[{'value':_0x13bbf1}]});});}),_0x57592d[_0x3e55('0x13')][_0x3e55('0x9')](_0x4ee044=>{const {data:_0x404d2a}=_0x4ee044;if(_0x404d2a&&_0x3e55('0x1c')==_0x404d2a[_0x3e55('0x11')]){const _0x267cfe=_0x404d2a['commandParams'][0x0]['value'];return{'type':_0x3e55('0x1'),'content':_0x5e991d(_0x443dac,_0x3e55('0x14'),function(_0x1b719c){switch(_0x1b719c){case _0x3e55('0xe'):return _0x5e991d(_0x443dac,_0x3e55('0x19'));case'right':return _0x5e991d(_0x443dac,_0x3e55('0x15'));case _0x3e55('0x12'):return _0x5e991d(_0x443dac,_0x3e55('0x4'));case _0x3e55('0x10'):return _0x5e991d(_0x443dac,'FORMAT_JUSTIFY_TEXT');}}(_0x267cfe))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aea=['format','selection','value','FORMAT_SUPERSCRIPT','forceValue','markInlineFormat','get','SuperscriptEditing','slice','FORMAT_CODE','isCollapsed','document','ItalicEditing','commands','enableCommand','FORMAT_STRIKETHROUGH','bold','editor','getRanges','subscript','commandParams','SubscriptEditing','commandName','registerDescriptionCallback','plugins','FORMAT_BOLD','code','BoldEditing','*Remove\x20format:*\x20%0','CodeEditing','afterInit','FORMAT_SUBSCRIPT','FORMAT_UNDERLINE','*Format:*\x20%0','locale','_descriptionFactory','underline'];(function(_0x1e0334,_0x3aea60){const _0x21851=function(_0x422266){while(--_0x422266){_0x1e0334['push'](_0x1e0334['shift']());}};_0x21851(++_0x3aea60);}(_0x3aea,0xe2));const _0x2185=function(_0x1e0334,_0x3aea60){_0x1e0334=_0x1e0334-0x0;let _0x21851=_0x3aea[_0x1e0334];return _0x21851;};import{Plugin as _0x8d0dfa}from'ckeditor5/src/core';import{getTranslation as _0xfbd88c}from'../utils/common-translations';import{getRangesWithAttribute as _0x4efdd2}from'./utils';const Kt=[_0x2185('0x17'),_0x2185('0x8'),'UnderlineEditing',_0x2185('0x19'),'StrikethroughEditing',_0x2185('0x11'),_0x2185('0x3')];export default class U extends _0x8d0dfa{[_0x2185('0x1a')](){const _0x25222b=this[_0x2185('0xd')],_0x1eae42=_0x25222b['model'],_0x465a23=_0x25222b[_0x2185('0x14')][_0x2185('0x2')]('TrackChangesEditing'),_0x2af917=_0x25222b[_0x2185('0x1e')];for(const _0x559879 of Kt){if(!_0x25222b['plugins']['has'](_0x559879))continue;const _0x1e6d8f=_0x559879[_0x2185('0x4')](0x0,-0x7)['toLowerCase'](),_0x1f8570=_0x25222b[_0x2185('0x9')][_0x2185('0x2')](_0x1e6d8f);_0x465a23[_0x2185('0xa')](_0x1e6d8f,(_0x303b58,_0x2db2cc={})=>{const _0x170467=_0x1eae42[_0x2185('0x7')][_0x2185('0x22')];if(_0x170467[_0x2185('0x6')])return void _0x303b58(_0x2db2cc);const _0x143cb3=void 0x0!==_0x2db2cc[_0x2185('0x0')]?_0x2db2cc['forceValue']:!_0x1f8570[_0x2185('0x23')];_0x1eae42['change'](()=>{const _0x19c84d=Array['from'](_0x170467[_0x2185('0xe')]());for(const _0x3aadc9 of _0x19c84d){const _0x53673d=_0x143cb3?[_0x3aadc9]:_0x4efdd2(_0x1e6d8f,_0x3aadc9,_0x1eae42);for(const _0x4b8985 of _0x53673d)_0x465a23[_0x2185('0x1')](_0x4b8985,{'commandName':_0x1e6d8f,'commandParams':[{'forceValue':_0x143cb3}]});}});});}function _0x3982a4(_0x3c62fe,_0x455c0a){_0x465a23[_0x2185('0x1f')][_0x2185('0x13')](_0x408614=>{const {data:_0x4c9caf}=_0x408614;if(_0x4c9caf&&_0x4c9caf[_0x2185('0x12')]===_0x3c62fe)return _0x4c9caf[_0x2185('0x10')][0x0][_0x2185('0x0')]?{'type':_0x2185('0x21'),'content':_0xfbd88c(_0x2af917,_0x2185('0x1d'),_0x455c0a)}:{'type':_0x2185('0x21'),'content':_0xfbd88c(_0x2af917,_0x2185('0x18'),_0x455c0a)};});}_0x3982a4(_0x2185('0xc'),_0xfbd88c(_0x2af917,_0x2185('0x15'))),_0x3982a4('italic',_0xfbd88c(_0x2af917,'FORMAT_ITALIC')),_0x3982a4(_0x2185('0x20'),_0xfbd88c(_0x2af917,_0x2185('0x1c'))),_0x3982a4(_0x2185('0x16'),_0xfbd88c(_0x2af917,_0x2185('0x5'))),_0x3982a4('strikethrough',_0xfbd88c(_0x2af917,_0x2185('0xb'))),_0x3982a4(_0x2185('0xf'),_0xfbd88c(_0x2af917,_0x2185('0x1b'))),_0x3982a4('superscript',_0xfbd88c(_0x2af917,_0x2185('0x24')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x519b=['parent','checkChild','locale','name','ELEMENT_BLOCK_QUOTE','change','model','forceValue','get','plugins','commands','value','has','getSelectedBlocks','_descriptionFactory','blockQuote','afterInit','BlockQuoteEditing','$root','filter','TrackChangesEditing','schema','editor','*Format:*\x20%0','format','document','markBlockFormat','*Remove\x20format:*\x20%0','from','selection'];(function(_0x22f0fe,_0x519b1e){const _0x251fb6=function(_0x2fb2af){while(--_0x2fb2af){_0x22f0fe['push'](_0x22f0fe['shift']());}};_0x251fb6(++_0x519b1e);}(_0x519b,0xf6));const _0x251f=function(_0x22f0fe,_0x519b1e){_0x22f0fe=_0x22f0fe-0x0;let _0x251fb6=_0x519b[_0x22f0fe];return _0x251fb6;};import{Plugin as _0x106faa}from'ckeditor5/src/core';import{getTranslation as _0x3de38b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4eedf6}from'../utils/utils';export default class j extends _0x106faa{[_0x251f('0xa')](){const _0x592bb2=this[_0x251f('0x10')],_0x56fc30=_0x592bb2[_0x251f('0x1a')];if(!_0x592bb2[_0x251f('0x3')][_0x251f('0x6')](_0x251f('0xb')))return;const _0x47e722=_0x592bb2[_0x251f('0x3')][_0x251f('0x2')](_0x251f('0xe')),_0x28431b=this[_0x251f('0x10')][_0x251f('0x4')][_0x251f('0x2')]('blockQuote');_0x47e722['enableCommand'](_0x251f('0x9'),(_0x36e0f1,_0x4ffbb7={})=>{const _0xe9cdcd=this['editor']['model'][_0x251f('0x13')][_0x251f('0x17')],_0x65598d=_0x4ffbb7&&void 0x0!==_0x4ffbb7[_0x251f('0x1')]?_0x4ffbb7[_0x251f('0x1')]:!_0x28431b[_0x251f('0x5')];let _0x2da972=[];if(_0x65598d){const _0x2cee4f=Array[_0x251f('0x16')](_0xe9cdcd[_0x251f('0x7')]())[_0x251f('0xd')](_0x3019ad=>Xt(_0x3019ad)||function(_0x5bf4e6,_0x29d704){const _0x5e7596=_0x29d704['checkChild'](_0x5bf4e6[_0x251f('0x18')],_0x251f('0x9')),_0x339017=_0x29d704[_0x251f('0x19')]([_0x251f('0xc'),_0x251f('0x9')],_0x5bf4e6);return _0x5e7596&&_0x339017;}(_0x3019ad,this['editor'][_0x251f('0x0')][_0x251f('0xf')]));_0x2da972=_0x4eedf6(_0x2cee4f,_0x592bb2[_0x251f('0x0')]);}else{const _0x1ccd86=Array[_0x251f('0x16')](_0xe9cdcd[_0x251f('0x7')]())[_0x251f('0xd')](_0x30e727=>Xt(_0x30e727));_0x2da972=_0x4eedf6(_0x1ccd86,_0x592bb2[_0x251f('0x0')]);}_0x592bb2[_0x251f('0x0')][_0x251f('0x1d')](()=>{for(const _0xeb74ab of _0x2da972)_0x47e722[_0x251f('0x14')](_0xeb74ab,{'commandName':_0x251f('0x9'),'commandParams':[{'forceValue':_0x65598d}]});});}),_0x47e722[_0x251f('0x8')]['registerDescriptionCallback'](_0x16ac02=>{const {data:_0x76f00a}=_0x16ac02;if(_0x76f00a&&_0x251f('0x9')==_0x76f00a['commandName']){const _0x217d3d=_0x3de38b(_0x56fc30,_0x251f('0x1c'));return _0x76f00a['commandParams'][0x0][_0x251f('0x1')]?{'type':_0x251f('0x12'),'content':_0x3de38b(_0x56fc30,_0x251f('0x11'),_0x217d3d)}:{'type':_0x251f('0x12'),'content':_0x3de38b(_0x56fc30,_0x251f('0x15'),_0x217d3d)};}});}}function Xt(_0x12c2cf){return _0x251f('0x9')==_0x12c2cf[_0x251f('0x18')][_0x251f('0x1b')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d07=['ckbox','plugins','commands','afterInit','get','editor'];(function(_0x82144,_0x2d07d3){const _0x23c142=function(_0x442702){while(--_0x442702){_0x82144['push'](_0x82144['shift']());}};_0x23c142(++_0x2d07d3);}(_0x2d07,0x66));const _0x23c1=function(_0x82144,_0x2d07d3){_0x82144=_0x82144-0x0;let _0x23c142=_0x2d07[_0x82144];return _0x23c142;};import{Plugin as _0x4e0e3b}from'ckeditor5/src/core';export default class E extends _0x4e0e3b{[_0x23c1('0x3')](){const _0x16fdea=this[_0x23c1('0x5')];_0x16fdea[_0x23c1('0x2')][_0x23c1('0x4')]('ckbox')&&_0x16fdea[_0x23c1('0x1')][_0x23c1('0x4')]('TrackChangesEditing')['enableCommand'](_0x23c1('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f15=['registerElementLabel','editor','*Format:*\x20%0','language','filter','plugins','document','parent','format','rootElement','afterInit','commandParams','schema','ELEMENT_CODE_BLOCK','registerDescriptionCallback','value','checkChild','config','label','isLimit','commandName','enableCommand','getSelectedBlocks','name','codeBlock','model','indentCodeBlock','change','blockName','TrackChangesEditing','_descriptionFactory','has','get','find','from','commands','outdentCodeBlock','selection','forceValue','*Remove\x20format:*\x20%0'];(function(_0xc69750,_0x4f15b9){const _0x16532b=function(_0xb2dc4f){while(--_0xb2dc4f){_0xc69750['push'](_0xc69750['shift']());}};_0x16532b(++_0x4f15b9);}(_0x4f15,0x98));const _0x1653=function(_0xc69750,_0x4f15b9){_0xc69750=_0xc69750-0x0;let _0x16532b=_0x4f15[_0xc69750];return _0x16532b;};import{Plugin as _0x247972}from'ckeditor5/src/core';import{getTranslation as _0x34b987}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3f4527}from'../utils/utils';export default class O extends _0x247972{[_0x1653('0x12')](){const _0x1a0d5e=this[_0x1653('0x9')];if(!_0x1a0d5e[_0x1653('0xd')][_0x1653('0x27')]('CodeBlock'))return;const _0x59f8c1=_0x1a0d5e['plugins'][_0x1653('0x0')](_0x1653('0x25')),_0x5db5af=_0x1a0d5e['locale'],_0x51579d=_0x1a0d5e[_0x1653('0x19')][_0x1653('0x0')](_0x1653('0x20'))['languages'],_0x3a46d8=_0x1a0d5e[_0x1653('0x3')]['get'](_0x1653('0x20'));_0x59f8c1[_0x1653('0x1d')](_0x1653('0x22')),_0x59f8c1[_0x1653('0x1d')](_0x1653('0x4')),_0x59f8c1[_0x1653('0x1d')](_0x1653('0x20'),(_0x42a776,_0x4ffb7a={})=>{const _0x25fa5e=_0x1a0d5e['model'],_0x2e729c=_0x1a0d5e[_0x1653('0x21')][_0x1653('0xe')][_0x1653('0x5')],_0x25552f=_0x4ffb7a&&void 0x0!==_0x4ffb7a[_0x1653('0x6')]?_0x4ffb7a[_0x1653('0x6')]:!_0x3a46d8[_0x1653('0x17')];let _0x2fa2d5;_0x4ffb7a[_0x1653('0xb')]||(_0x4ffb7a[_0x1653('0xb')]=_0x51579d[0x0][_0x1653('0xb')]),_0x2fa2d5=_0x25552f?Array[_0x1653('0x2')](_0x2e729c[_0x1653('0x1e')]())[_0x1653('0xc')](_0x1e24e1=>oo(_0x1e24e1)||function(_0x11f762,_0x2ca4ad){if(_0x11f762['is'](_0x1653('0x11'))||_0x2ca4ad[_0x1653('0x1b')](_0x11f762))return!0x1;return _0x2ca4ad[_0x1653('0x18')](_0x11f762[_0x1653('0xf')],_0x1653('0x20'));}(_0x1e24e1,_0x25fa5e[_0x1653('0x14')])):Array[_0x1653('0x2')](_0x2e729c[_0x1653('0x1e')]())['filter'](_0x112e76=>oo(_0x112e76));const _0x5ec307=_0x3f4527(_0x2fa2d5,_0x25fa5e);_0x25fa5e[_0x1653('0x23')](()=>{for(const _0x5f1b16 of _0x5ec307)_0x59f8c1['markBlockFormat'](_0x5f1b16,{'commandName':_0x1653('0x20'),'commandParams':[{..._0x4ffb7a,'forceValue':_0x25552f}],'formatGroupId':_0x1653('0x24')});});}),(_0x59f8c1[_0x1653('0x26')][_0x1653('0x8')](_0x1653('0x20'),_0x41591f=>_0x34b987(_0x5db5af,_0x1653('0x15'),_0x41591f)),_0x59f8c1[_0x1653('0x26')][_0x1653('0x16')](_0x3e3efc=>{const _0xe7c894=_0x5db5af['t'],{type:_0x173a1c,data:_0x7bdd67}=_0x3e3efc;if('formatBlock'==_0x173a1c&&_0x7bdd67&&_0x1653('0x20')==_0x7bdd67[_0x1653('0x1c')]){const _0x6daed7=_0x7bdd67[_0x1653('0x13')][0x0]['language'],_0x10aa54=_0xe7c894(_0x51579d[_0x1653('0x1')](_0x2623b2=>_0x2623b2['language']===_0x6daed7)[_0x1653('0x1a')]);return _0x7bdd67['commandParams'][0x0][_0x1653('0x6')]?{'type':_0x1653('0x10'),'content':_0x34b987(_0x5db5af,_0x1653('0xa'),_0x34b987(_0x5db5af,_0x1653('0x15'),0x1)+'\x20('+_0x10aa54+')')}:{'type':_0x1653('0x10'),'content':_0x34b987(_0x5db5af,_0x1653('0x7'),_0x34b987(_0x5db5af,_0x1653('0x15'),0x1))};}}));}}function oo(_0xac44ea){return _0x1653('0x20')==_0xac44ea[_0x1653('0x1f')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13d4=['plugins','CommentsEditing','editor','addCommentThread','enableCommand','TrackChangesEditing'];(function(_0xbed6b2,_0x13d480){const _0x11aae4=function(_0x449aeb){while(--_0x449aeb){_0xbed6b2['push'](_0xbed6b2['shift']());}};_0x11aae4(++_0x13d480);}(_0x13d4,0x96));const _0x11aa=function(_0xbed6b2,_0x13d480){_0xbed6b2=_0xbed6b2-0x0;let _0x11aae4=_0x13d4[_0xbed6b2];return _0x11aae4;};import{Plugin as _0x13d64d}from'ckeditor5/src/core';export default class F extends _0x13d64d{['afterInit'](){const _0x59e2ba=this[_0x11aa('0x2')];if(!_0x59e2ba['plugins']['has'](_0x11aa('0x1')))return;_0x59e2ba[_0x11aa('0x0')]['get'](_0x11aa('0x5'))[_0x11aa('0x4')](_0x11aa('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaa3d=['addMarker:suggestion:deletion','enableCommand','unit','merge','mapper','detach','remove','modifySelection','options','plugins','editing','setSelection','$graveyard','document','downcastDispatcher','lock','TrackChangesEditing','batch','start','data','end','editor','get','commands','getFirstRange','root','model','writer','buffer','deleteForward','createSelection','selection','init','requires','fromRange','high','createRange'];(function(_0xc3d84f,_0xaa3d48){const _0x33d8d1=function(_0x481611){while(--_0x481611){_0xc3d84f['push'](_0xc3d84f['shift']());}};_0x33d8d1(++_0xaa3d48);}(_0xaa3d,0x97));const _0x33d8=function(_0xc3d84f,_0xaa3d48){_0xc3d84f=_0xc3d84f-0x0;let _0x33d8d1=_0xaa3d[_0xc3d84f];return _0x33d8d1;};import{Plugin as _0x1bc399}from'ckeditor5/src/core';import{LiveRange as _0xcfde1d}from'ckeditor5/src/engine';import{Delete as _0x50c151}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x40e74c}from'./utils';export default class G extends _0x1bc399{static get[_0x33d8('0x1e')](){return[_0x50c151];}[_0x33d8('0x1d')](){const _0x5f0e37=this[_0x33d8('0x12')],_0x4e42e1=_0x5f0e37[_0x33d8('0x6')]['get'](_0x33d8('0xd'));_0x4e42e1['enableCommand']('delete');const _0x1570c3=_0x5f0e37[_0x33d8('0x14')][_0x33d8('0x13')](_0x33d8('0x1a'));_0x4e42e1[_0x33d8('0x23')]('deleteForward',(_0x1d0016,_0xafa492={})=>{const _0x1027da=_0x5f0e37[_0x33d8('0x17')][_0x33d8('0x1b')](_0x5f0e37[_0x33d8('0x17')][_0x33d8('0xa')][_0x33d8('0x1c')]);_0x1027da['isCollapsed']&&_0x5f0e37[_0x33d8('0x17')][_0x33d8('0x4')](_0x1027da,{'direction':'forward','unit':_0xafa492[_0x33d8('0x24')]});const _0x422050=_0x1027da[_0x33d8('0x15')](),_0x592c0e=_0xcfde1d[_0x33d8('0x1f')](_0x422050);let _0x3e6b14;_0x1d0016(_0xafa492),_0x3e6b14=_0x33d8('0x9')==_0x592c0e[_0x33d8('0x16')]['rootName']?_0x5f0e37[_0x33d8('0x17')]['createRange'](_0x422050[_0x33d8('0xf')]):_0x5f0e37[_0x33d8('0x17')]['createRange'](_0x592c0e[_0x33d8('0xf')],_0x592c0e[_0x33d8('0x11')]),_0x592c0e[_0x33d8('0x2')](),_0x5f0e37[_0x33d8('0x17')]['enqueueChange'](_0x1570c3[_0x33d8('0x19')][_0x33d8('0xe')],_0x3cb109=>{_0x1570c3[_0x33d8('0x19')][_0x33d8('0xc')](),_0x3cb109[_0x33d8('0x8')](_0x3cb109[_0x33d8('0x21')](_0x3e6b14[_0x33d8('0x11')])),_0x1570c3[_0x33d8('0x19')]['unlock']();});}),_0x5f0e37['editing'][_0x33d8('0xb')]['on'](_0x33d8('0x22'),_0x40e74c(_0x5f0e37,_0x33d8('0x0')),{'priority':_0x33d8('0x20')}),_0x5f0e37[_0x33d8('0x10')][_0x33d8('0xb')]['on'](_0x33d8('0x22'),(_0x9db3d7,_0x45e240,_0x12700b)=>{_0x12700b[_0x33d8('0x5')]['showSuggestionHighlights']&&_0x40e74c(_0x5f0e37,_0x33d8('0x0'),{'showActiveMarker':!0x1})['bind'](this)(_0x9db3d7,_0x45e240,_0x12700b);},{'priority':_0x33d8('0x20')}),_0x5f0e37[_0x33d8('0x7')]['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x3e65e1,_0x294460,_0x1cadcb)=>{const _0x1bb966=_0x1cadcb[_0x33d8('0x1')]['markerNameToElements'](_0x294460['markerName']);if(_0x1bb966)for(const _0x36db48 of _0x1bb966)_0x36db48['is']('uiElement')&&(_0x1cadcb[_0x33d8('0x1')]['unbindElementFromMarkerName'](_0x36db48,_0x294460['markerName']),_0x1cadcb[_0x33d8('0x18')][_0x33d8('0x3')](_0x36db48));},{'priority':_0x33d8('0x20')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c30=['end','enableCommand','get','getRanges','before','deletion','hasAttribute','getSelectedBlocks','listIndent','listType','indentList','formatBlock','format','refresh','has','commands','registerCustomCallback','createRange','change','add','toUpperCase','ELEMENT_NUMBERED_LIST','splitListItemBefore','detach','mergeListItemBackward','setSelection','*Indent:*\x20%0','*Change\x20to:*\x20%0','push','bulletedList','_descriptionFactory','slice','document','*Outdent:*\x20%0','start','getAttribute','documentList','markMultiRangeBlockFormat','ELEMENT_','afterInit','listItemId','nextSibling','commandName','from','getFirstRange','findIndex','locale','registerDescriptionCallback','TrackChangesEditing','value','*Format:*\x20insert\x20into\x20%0','parent','outdentList','execute','registerElementLabel','editor','nodeAfter','ELEMENT_LIST_ITEM','isObject','after','length','splitListItemAfter','multipleBlocks','DocumentListEditing','schema','_LIST','mergeListItemForward','*Merge:*\x20%0','_suggestionFactory','createPositionAt','commandParams','numberedList','*Format:*\x20remove\x20from\x20%0','accept','fromRange','isFirstBlockOfListItem','selection','plugins','model','forceValue'];(function(_0x328f6d,_0x3c3016){const _0x14cf82=function(_0x3fb07e){while(--_0x3fb07e){_0x328f6d['push'](_0x328f6d['shift']());}};_0x14cf82(++_0x3c3016);}(_0x3c30,0x138));const _0x14cf=function(_0x328f6d,_0x3c3016){_0x328f6d=_0x328f6d-0x0;let _0x14cf82=_0x3c30[_0x328f6d];return _0x14cf82;};import{Plugin as _0x15169b}from'ckeditor5/src/core';import{getTranslation as _0x25ce94}from'../utils/common-translations';import{LiveRange as _0xda6073}from'ckeditor5/src/engine';export default class L extends _0x15169b{[_0x14cf('0x2f')](){const _0x3904a2=this[_0x14cf('0x3f')];if(!_0x3904a2[_0x14cf('0x5')][_0x14cf('0x16')](_0x14cf('0x47')))return;const _0x1bbe76=_0x3904a2[_0x14cf('0x36')],_0x30ce01=_0x3904a2[_0x14cf('0x5')][_0x14cf('0xa')](_0x14cf('0x38')),_0x8a9b42=_0x3904a2[_0x14cf('0x5')][_0x14cf('0xa')]('DocumentListUtils');function _0x519791(_0x54e784){return()=>{const _0x4addc7=_0x3904a2[_0x14cf('0x17')]['get'](_0x54e784);let _0x393bf4=Array['from'](_0x3904a2['model'][_0x14cf('0x28')][_0x14cf('0x4')][_0x14cf('0xf')]());if(_0x1bce1b(_0x54e784)){_0x393bf4=_0x8a9b42['expandListBlocksToCompleteList'](_0x393bf4);const _0x5b7cfe=[];for(const _0x2bf552 of _0x393bf4)_0x8a9b42[_0x14cf('0x3')](_0x2bf552)&&_0x5b7cfe[_0x14cf('0x24')](_0x2bf552);_0x393bf4=_0x5b7cfe;}_0x3904a2[_0x14cf('0x6')][_0x14cf('0x1a')](()=>{_0x30ce01[_0x14cf('0x2d')](_0x393bf4,{'commandName':_0x54e784,'commandParams':[{'forceValue':!_0x4addc7[_0x14cf('0x39')]}],'formatGroupId':'listType'},[],_0x14cf('0x2c'));});};}function _0x318a9d(_0x554d64){return()=>{const _0xccd033=function(_0x2b7ff7){let _0x2c7879=Array['from'](_0x2b7ff7);const _0x280e72=_0x2c7879[_0x14cf('0x35')](_0x458c25=>!_0x458c25[_0x14cf('0xe')]('listItemId'));return _0x280e72>-0x1&&(_0x2c7879=_0x2c7879[_0x14cf('0x27')](0x0,_0x280e72)),_0x2c7879;}(_0x3904a2['model'][_0x14cf('0x28')][_0x14cf('0x4')]['getSelectedBlocks']()),_0x48bbe1=_0xccd033[_0xccd033[_0x14cf('0x44')]-0x1],_0x392fcb=_0x3904a2[_0x14cf('0x6')]['schema']['isObject'](_0x48bbe1)?_0x14cf('0x43'):_0x14cf('0x8'),_0x24ed23=_0x3904a2['model'][_0x14cf('0x19')](_0x3904a2[_0x14cf('0x6')]['createPositionAt'](_0xccd033[0x0],'before'),_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x48bbe1,_0x392fcb));_0x3904a2[_0x14cf('0x6')][_0x14cf('0x1a')](()=>{_0x30ce01['markBlockFormat'](_0x24ed23,{'commandName':_0x554d64,'commandParams':[],'formatGroupId':_0x14cf('0x11')},function(_0x541ad9){const _0x59d44c=new Set();for(const _0x220613 of _0x541ad9){let _0x313286=_0x220613[_0x14cf('0x31')];for(;_0x313286&&_0x313286[_0x14cf('0x2b')](_0x14cf('0x10'))>_0x220613[_0x14cf('0x2b')]('listIndent');)_0x59d44c[_0x14cf('0x1b')](_0x313286),_0x313286=_0x313286['nextSibling'];}return Array[_0x14cf('0x33')](_0x59d44c);}(_0xccd033));});};}function _0x462f46(_0x421c5c){return()=>{const _0x5380e2=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x28')]['selection'][_0x14cf('0xf')]()['next']()[_0x14cf('0x39')],_0x34c7bd=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x5380e2,_0x14cf('0xc')),_0x58233e=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x5380e2,0x0),_0x1a62a9=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x19')](_0x34c7bd,_0x58233e);_0x3904a2[_0x14cf('0x6')]['change'](()=>{_0x30ce01['markBlockFormat'](_0x1a62a9,{'commandName':_0x421c5c,'commandParams':[],'formatGroupId':_0x14cf('0x11')});});};}function _0x1bce1b(_0x292bfa){const _0x5601fd=_0x3904a2[_0x14cf('0x17')][_0x14cf('0xa')](_0x14cf('0x25'))[_0x14cf('0x39')],_0x43681e=_0x3904a2[_0x14cf('0x17')][_0x14cf('0xa')](_0x14cf('0x4f'))[_0x14cf('0x39')];return _0x14cf('0x4f')===_0x292bfa?_0x5601fd:_0x43681e;}_0x30ce01[_0x14cf('0x9')](_0x14cf('0x4f'),_0x519791('numberedList')),_0x30ce01['enableCommand']('bulletedList',_0x519791(_0x14cf('0x25'))),_0x30ce01[_0x14cf('0x9')](_0x14cf('0x12'),_0x318a9d(_0x14cf('0x12'))),_0x30ce01[_0x14cf('0x9')](_0x14cf('0x3c'),_0x318a9d('outdentList')),_0x30ce01[_0x14cf('0x9')]('splitListItemAfter',_0x462f46(_0x14cf('0x45'))),_0x30ce01[_0x14cf('0x9')](_0x14cf('0x1e'),_0x462f46(_0x14cf('0x1e'))),_0x30ce01['_descriptionFactory'][_0x14cf('0x3e')](function(_0x40a116){const _0x211b3d=!_0x3904a2['model'][_0x14cf('0x48')][_0x14cf('0x42')](_0x40a116),_0x45dc6e=_0x40a116['previousSibling'],_0x3420b2=_0x40a116[_0x14cf('0x31')],_0x1b68eb=_0x40a116[_0x14cf('0x2b')]('listItemId'),_0x555383=!_0x45dc6e||_0x45dc6e['getAttribute'](_0x14cf('0x30'))!==_0x1b68eb,_0x175405=!_0x3420b2||_0x3420b2[_0x14cf('0x2b')](_0x14cf('0x30'))!==_0x1b68eb;return _0x211b3d&&Boolean(_0x1b68eb)&&_0x555383&&_0x175405;},_0x2d9d30=>_0x25ce94(_0x1bbe76,_0x14cf('0x41'),_0x2d9d30)),_0x30ce01[_0x14cf('0x26')][_0x14cf('0x37')](function(_0x146892){const {data:_0x25e14b}=_0x146892;if(!_0x25e14b)return;let _0xdcd738,_0x13e72b,_0x39e44b,_0x2d2ee8;switch(_0x25e14b[_0x14cf('0x32')]){case _0x14cf('0x25'):_0x39e44b=_0x25e14b[_0x14cf('0x4e')][0x0][_0x14cf('0x7')],_0x2d2ee8=_0x1bce1b(_0x25e14b['commandName']),_0xdcd738=_0x39e44b?'*Format:*\x20insert\x20into\x20%0':_0x14cf('0x0'),_0x2d2ee8&&(_0xdcd738=_0x14cf('0x23')),_0x13e72b={'type':'format','content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x39e44b=_0x25e14b['commandParams'][0x0][_0x14cf('0x7')],_0x2d2ee8=_0x1bce1b(_0x25e14b[_0x14cf('0x32')]),_0xdcd738=_0x39e44b?_0x14cf('0x3a'):'*Format:*\x20remove\x20from\x20%0',_0x2d2ee8&&(_0xdcd738='*Change\x20to:*\x20%0'),_0x13e72b={'type':_0x14cf('0x14'),'content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,_0x14cf('0x1d')))};break;case _0x14cf('0x12'):_0xdcd738=_0x14cf('0x22'),_0x13e72b={'type':_0x14cf('0x14'),'content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,_0x14cf('0x41')))};break;case'outdentList':_0xdcd738=function(_0x10c632){const _0x1521cc=_0x10c632[_0x14cf('0x34')]();let _0x5256c3=_0x1521cc[_0x14cf('0x2a')][_0x14cf('0x40')];for(;_0x5256c3&&_0x1521cc['containsItem'](_0x5256c3);){if(_0x5256c3[_0x14cf('0x2b')](_0x14cf('0x10'))>0x0)return!0x1;_0x5256c3=_0x5256c3[_0x14cf('0x31')];}return!0x0;}(_0x146892)?_0x25ce94(_0x1bbe76,'*Format:*\x20remove\x20from\x20%0',_0x25ce94(_0x1bbe76,function(_0xeb885e){const _0x1957b1=_0xeb885e['getFirstRange']()['start'][_0x14cf('0x40')];return _0x14cf('0x2e')+_0x1957b1['getAttribute'](_0x14cf('0x11'))[_0x14cf('0x1c')]()+_0x14cf('0x49');}(_0x146892))):_0x25ce94(_0x1bbe76,_0x14cf('0x29'),_0x25ce94(_0x1bbe76,_0x14cf('0x41'))),_0x13e72b={'type':'format','content':_0xdcd738};break;case _0x14cf('0x20'):case _0x14cf('0x4a'):!0x1===_0x25e14b[_0x14cf('0x46')]&&(_0xdcd738=_0x14cf('0x4b'),_0x13e72b={'type':_0x14cf('0xd'),'content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,_0x14cf('0x41')))});}return _0x13e72b;}),_0x30ce01[_0x14cf('0x4c')][_0x14cf('0x18')](_0x14cf('0x13'),_0x14cf('0x2c'),_0x14cf('0x1'),function(_0x2db194,_0x3b6f2e){const _0x432789=[];for(let _0x1bab3a of _0x2db194)_0x1bab3a[_0x14cf('0x2a')][_0x14cf('0x40')]===_0x1bab3a[_0x14cf('0x8')][_0x14cf('0x3b')]&&(_0x1bab3a=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x19')](_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x1bab3a[_0x14cf('0x2a')]['nodeAfter'],0x0))),_0x432789[_0x14cf('0x24')](_0x1bab3a);_0x3904a2[_0x14cf('0x6')][_0x14cf('0x1a')](_0x3f2b47=>{const _0x307baa=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x28')][_0x14cf('0x4')],_0x44a0bd=Array['from'](_0x307baa[_0x14cf('0xb')]())['map'](_0x332459=>_0xda6073[_0x14cf('0x2')](_0x332459));_0x3f2b47['setSelection'](_0x432789),_0x3904a2[_0x14cf('0x17')][_0x14cf('0xa')](_0x3b6f2e[_0x14cf('0x32')])[_0x14cf('0x15')](),_0x3b6f2e[_0x14cf('0x4e')][_0x14cf('0x24')]({'forceDefaultExecution':!0x0}),_0x3904a2[_0x14cf('0x3d')](_0x3b6f2e[_0x14cf('0x32')],..._0x3b6f2e['commandParams']),_0x3f2b47[_0x14cf('0x21')](_0x44a0bd);for(const _0x5a3be6 of _0x44a0bd)_0x5a3be6[_0x14cf('0x1f')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb17f=['reversed','numbered','list.properties','bind','startIndex','type','selection','change','from','handleDescriptions','DocumentListPropertiesEditing','format','model','editor','expandListBlocksToCompleteList','config','has','replace','enableCommand','registerDescriptionCallback','TrackChangesEditing','handleListReversedCommand','handleListStyleCommand','_getSuggestionBlocks','push','styles','toUpperCase','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','isListItemBlock','*Format:*\x20set\x20order\x20to\x20reversed','locale','isFirstBlockOfListItem','DocumentListPropertiesUtils','_descriptionFactory','length','markMultiRangeBlockFormat','getAttribute','listStyle','handleListStartCommand','DocumentListUtils','commandParams','getListTypeFromListStyleType','commandName','getSelectedBlocks','document','ELEMENT_','plugins','afterInit','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','*Change\x20to:*\x20%0','listType','listReversed','filter','listStart'];(function(_0x5ea372,_0xb17f23){const _0xa7e73d=function(_0x12a914){while(--_0x12a914){_0x5ea372['push'](_0x5ea372['shift']());}};_0xa7e73d(++_0xb17f23);}(_0xb17f,0x1f1));const _0xa7e7=function(_0x5ea372,_0xb17f23){_0x5ea372=_0x5ea372-0x0;let _0xa7e73d=_0xb17f[_0x5ea372];return _0xa7e73d;};import{Plugin as _0xc7ab99}from'ckeditor5/src/core';import{getTranslation as _0x877c3}from'../utils/common-translations';export default class At extends _0xc7ab99{[_0xa7e7('0x37')](){if(!this['editor'][_0xa7e7('0x36')][_0xa7e7('0x17')](_0xa7e7('0x11')))return;const _0x48d35a=this[_0xa7e7('0x14')][_0xa7e7('0x16')][_0xa7e7('0x23')](_0xa7e7('0x9')),_0x38775a=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x1b'));_0x48d35a[_0xa7e7('0x20')]&&_0x38775a[_0xa7e7('0x19')](_0xa7e7('0x2d'),this[_0xa7e7('0x1d')]['bind'](this)),_0x48d35a[_0xa7e7('0x7')]&&_0x38775a[_0xa7e7('0x19')]('listReversed',this[_0xa7e7('0x1c')][_0xa7e7('0xa')](this)),_0x48d35a['startIndex']&&_0x38775a['enableCommand'](_0xa7e7('0x6'),this[_0xa7e7('0x2e')][_0xa7e7('0xa')](this)),_0x38775a[_0xa7e7('0x29')][_0xa7e7('0x1a')](this[_0xa7e7('0x10')][_0xa7e7('0xa')](this));}[_0xa7e7('0x1d')](_0x103199,_0x135eff={}){const _0x3073a4=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x1b')),_0x2f05af=this[_0xa7e7('0x0')]();this[_0xa7e7('0x14')][_0xa7e7('0x13')][_0xa7e7('0xe')](()=>{_0x3073a4[_0xa7e7('0x2b')](_0x2f05af,{'commandName':_0xa7e7('0x2d'),'commandParams':[{'type':_0x135eff['type']}],'formatGroupId':'listStyle'});});}[_0xa7e7('0x1c')](_0x5b5c21,_0x85228f={}){const _0xa87e62=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')]('TrackChangesEditing'),_0x5c296a=this[_0xa7e7('0x14')][_0xa7e7('0x36')]['get']('DocumentListUtils'),_0x4399ac=this[_0xa7e7('0x1e')](_0x182024=>_0x5c296a[_0xa7e7('0x24')](_0x182024)&&_0xa7e7('0x8')===_0x182024[_0xa7e7('0x2c')](_0xa7e7('0x3')));null!==_0x4399ac&&this[_0xa7e7('0x14')]['model'][_0xa7e7('0xe')](()=>{_0xa87e62[_0xa7e7('0x2b')](_0x4399ac,{'commandName':_0xa7e7('0x4'),'commandParams':[{'reversed':_0x85228f[_0xa7e7('0x7')]}],'formatGroupId':_0xa7e7('0x4')});});}[_0xa7e7('0x2e')](_0x163584,_0x57bffe={}){const _0x84edbb=this['editor'][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x1b')),_0x39507a=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x2f')),_0x11de66=this[_0xa7e7('0x1e')](_0x35afd2=>_0x39507a['isListItemBlock'](_0x35afd2)&&_0xa7e7('0x8')===_0x35afd2[_0xa7e7('0x2c')](_0xa7e7('0x3')));null!==_0x11de66&&this['editor'][_0xa7e7('0x13')][_0xa7e7('0xe')](()=>{_0x84edbb['markMultiRangeBlockFormat'](_0x11de66,{'commandName':_0xa7e7('0x6'),'commandParams':[{'startIndex':_0x57bffe[_0xa7e7('0xb')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x24bb81){const _0x50bc90=this[_0xa7e7('0x14')][_0xa7e7('0x26')],{data:_0x207bad}=_0x24bb81;if(!_0x207bad)return;let _0x489fe9,_0x5d2bf0;switch(_0x207bad[_0xa7e7('0x32')]){case'listStyle':_0x489fe9=_0xa7e7('0x2'),_0x5d2bf0={'type':_0xa7e7('0x12'),'content':_0x877c3(_0x50bc90,_0x489fe9,_0x877c3(_0x50bc90,this['_getTranslationKeyForListStyle'](_0x207bad['commandParams'][0x0][_0xa7e7('0xc')])))};break;case _0xa7e7('0x4'):_0x489fe9=_0x207bad['commandParams'][0x0][_0xa7e7('0x7')]?_0xa7e7('0x25'):'*Format:*\x20set\x20order\x20to\x20regular',_0x5d2bf0={'type':_0xa7e7('0x12'),'content':_0x877c3(_0x50bc90,_0x489fe9)};break;case _0xa7e7('0x6'):_0x489fe9=_0xa7e7('0x22'),_0x5d2bf0={'type':_0xa7e7('0x12'),'content':_0x877c3(_0x50bc90,_0x489fe9,_0x207bad[_0xa7e7('0x30')][0x0][_0xa7e7('0xb')])};}return _0x5d2bf0;}[_0xa7e7('0x0')](){const _0x3b069c=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x2f'));let _0x1c8180=Array[_0xa7e7('0xf')](this[_0xa7e7('0x14')][_0xa7e7('0x13')][_0xa7e7('0x34')][_0xa7e7('0xd')]['getSelectedBlocks']());return _0x1c8180[_0xa7e7('0x1f')](..._0x3b069c[_0xa7e7('0x15')](_0x1c8180)),_0x1c8180=[...new Set(_0x1c8180)],_0x1c8180;}[_0xa7e7('0x1e')](_0x57d8a2){const _0x3cadc8=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x2f'));let _0x2fce61=Array['from'](this['editor'][_0xa7e7('0x13')][_0xa7e7('0x34')][_0xa7e7('0xd')][_0xa7e7('0x33')]())[_0xa7e7('0x5')](_0x57d8a2);if(!_0x2fce61[_0xa7e7('0x2a')])return null;_0x2fce61=_0x3cadc8[_0xa7e7('0x15')](_0x2fce61);const _0x458426=[];for(const _0x23649c of _0x2fce61)_0x3cadc8[_0xa7e7('0x27')](_0x23649c)&&_0x458426[_0xa7e7('0x1f')](_0x23649c);return _0x458426;}[_0xa7e7('0x1')](_0x344576){return _0xa7e7('0x35')+this[_0xa7e7('0x14')][_0xa7e7('0x36')]['get'](_0xa7e7('0x28'))[_0xa7e7('0x31')](_0x344576)[_0xa7e7('0x21')]()+'_LIST_'+_0x344576[_0xa7e7('0x21')]()[_0xa7e7('0x18')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5453=['markerName','nextSibling','enter','showSuggestionHighlights','detach','get','parent','createPositionAt','requires','removeMarker:suggestion:insertion','editing','getFirstPosition','remove','change','addMarker:suggestion:insertion','split','editor','enterBlock','createRange','downcastDispatcher','fromRange','model','mapper','init','high','plugins','fire','end','getFirstRange','writer','bind','hasClass','document','data'];(function(_0x19fc24,_0x54530e){const _0x456439=function(_0x2c38e3){while(--_0x2c38e3){_0x19fc24['push'](_0x19fc24['shift']());}};_0x456439(++_0x54530e);}(_0x5453,0xd1));const _0x4564=function(_0x19fc24,_0x54530e){_0x19fc24=_0x19fc24-0x0;let _0x456439=_0x5453[_0x19fc24];return _0x456439;};import{Plugin as _0x1fc67a}from'ckeditor5/src/core';import{Enter as _0x1e7de3}from'ckeditor5/src/enter';import{LiveRange as _0x354c3a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x51c90c}from'./utils';export default class q extends _0x1fc67a{static get[_0x4564('0x3')](){return[_0x1e7de3];}[_0x4564('0x12')](){const _0x5f3c4b=this[_0x4564('0xb')],_0x283148=_0x5f3c4b[_0x4564('0x14')][_0x4564('0x0')]('TrackChangesEditing'),_0x245279=_0x5f3c4b['commands'][_0x4564('0x0')](_0x4564('0x1f'));_0x283148['enableCommand']('enter',()=>{_0x5f3c4b['model'][_0x4564('0x8')](_0x30bbf9=>{const _0x9c7321=_0x5f3c4b['model'][_0x4564('0x1b')]['selection'],_0x5d9f29=_0x9c7321[_0x4564('0x6')](),_0x55cb1a=_0x354c3a[_0x4564('0xf')](_0x9c7321[_0x4564('0x17')]());if(_0x245279[_0x4564('0xc')](_0x30bbf9)){const _0x5eda8e=_0x5f3c4b[_0x4564('0x10')][_0x4564('0x2')](_0x5d9f29[_0x4564('0x1')][_0x4564('0x1e')],0x0),_0x76c5f1=_0x30bbf9[_0x4564('0xd')](_0x5d9f29,_0x5eda8e);_0x283148['markInsertion'](_0x76c5f1);}else _0x30bbf9['setSelection'](_0x30bbf9['createRange'](_0x55cb1a[_0x4564('0x16')]));_0x55cb1a[_0x4564('0x21')](),_0x245279[_0x4564('0x15')]('afterExecute',{'writer':_0x30bbf9});});}),_0x5f3c4b['editing']['downcastDispatcher']['on'](_0x4564('0x9'),_0x51c90c(_0x5f3c4b,_0x4564('0xa')),{'priority':_0x4564('0x13')}),_0x5f3c4b[_0x4564('0x5')][_0x4564('0xe')]['on'](_0x4564('0x4'),(_0x34153e,_0x5de65b,_0xf1d048)=>{const _0x24e85a=_0xf1d048[_0x4564('0x11')]['markerNameToElements'](_0x5de65b[_0x4564('0x1d')]);if(_0x24e85a)for(const _0x2ee850 of _0x24e85a)_0x2ee850[_0x4564('0x1a')]('ck-suggestion-marker-split')&&(_0xf1d048[_0x4564('0x11')]['unbindElementFromMarkerName'](_0x2ee850,_0x5de65b[_0x4564('0x1d')]),_0xf1d048[_0x4564('0x18')][_0x4564('0x7')](_0x2ee850));},{'priority':_0x4564('0x13')}),_0x5f3c4b[_0x4564('0x1c')][_0x4564('0xe')]['on'](_0x4564('0x9'),(_0x46e4b4,_0xc9ef67,_0x22fe84)=>{_0x22fe84['options'][_0x4564('0x20')]&&_0x51c90c(_0x5f3c4b,_0x4564('0xa'),{'showActiveMarker':!0x1})[_0x4564('0x19')](this)(_0x46e4b4,_0xc9ef67,_0x22fe84);},{'priority':_0x4564('0x13')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cd2=['markers','getIntersection','find','TrackChangesEditing','item','replace','createPositionAt','end','bind','suggestion:deletion','string','afterInit','_isInDeletionRange','findPrevious','start','get','plugins','findByTextCallback','model','getMarkersGroup','FindAndReplaceUtils','createRange','editor','findNext','enableCommand','handleFindCommand'];(function(_0x28a423,_0x4cd2c0){const _0x63041d=function(_0x5ac93a){while(--_0x5ac93a){_0x28a423['push'](_0x28a423['shift']());}};_0x63041d(++_0x4cd2c0);}(_0x4cd2,0x10e));const _0x6304=function(_0x28a423,_0x4cd2c0){_0x28a423=_0x28a423-0x0;let _0x63041d=_0x4cd2[_0x28a423];return _0x63041d;};import{Plugin as _0x3d1a9a}from'ckeditor5/src/core';export default class z extends _0x3d1a9a{[_0x6304('0x1')](){if(!this['editor'][_0x6304('0x6')]['has']('FindAndReplaceEditing'))return;const _0x3b614a=this[_0x6304('0xc')]['plugins']['get'](_0x6304('0x13'));_0x3b614a[_0x6304('0xe')](_0x6304('0x12'),this['handleFindCommand'][_0x6304('0x18')](this)),_0x3b614a[_0x6304('0xe')](_0x6304('0xd')),_0x3b614a['enableCommand'](_0x6304('0x3')),_0x3b614a[_0x6304('0xe')](_0x6304('0x15')),_0x3b614a[_0x6304('0xe')]('replaceAll');}[_0x6304('0xf')](_0x2431bf,_0x59f7d4,_0x224a41={}){const _0x5a1a6d=this[_0x6304('0xc')][_0x6304('0x6')][_0x6304('0x5')](_0x6304('0xa'));void 0x0!==_0x224a41&&_0x2431bf(_0x2c915b=>(_0x6304('0x0')==typeof _0x59f7d4?_0x5a1a6d[_0x6304('0x7')](_0x59f7d4,_0x224a41):_0x59f7d4)(_0x2c915b)['filter'](_0x1f508a=>!0x1===this['_isInDeletionRange'](_0x1f508a,_0x2c915b[_0x6304('0x14')])),_0x224a41);}[_0x6304('0x2')](_0x30629f,_0x126640){const _0x22e1a8=this[_0x6304('0xc')][_0x6304('0x8')][_0x6304('0xb')](this['editor'][_0x6304('0x8')][_0x6304('0x16')](_0x126640,_0x30629f[_0x6304('0x4')]),this[_0x6304('0xc')][_0x6304('0x8')]['createPositionAt'](_0x126640,_0x30629f[_0x6304('0x17')]));for(const _0x576926 of this[_0x6304('0xc')][_0x6304('0x8')][_0x6304('0x10')][_0x6304('0x9')](_0x6304('0x19')))if(null!==_0x22e1a8[_0x6304('0x11')](_0x576926['getRange']()))return!0x0;return!0x1;}}
|