@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230912.0 → 0.0.0-nightly-20230914.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-20230914.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-20230914.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230914.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 _0x41c3=['canEditAt','execute','editor','refresh','get','getRanges','isEnabled','plugins','acceptSuggestion'];(function(_0x1a831f,_0x41c321){const _0x206b5d=function(_0x5a4139){while(--_0x5a4139){_0x1a831f['push'](_0x1a831f['shift']());}};_0x206b5d(++_0x41c321);}(_0x41c3,0xd3));const _0x206b=function(_0x1a831f,_0x41c321){_0x1a831f=_0x1a831f-0x0;let _0x206b5d=_0x41c3[_0x1a831f];return _0x206b5d;};import{Command as _0x26d0be}from'ckeditor5/src/core';import{CKEditorError as _0x52104e}from'ckeditor5/src/utils';export default class M extends _0x26d0be{constructor(_0x3dfe5f,_0x5b5371){super(_0x3dfe5f),this['_suggestions']=_0x5b5371,this[_0x206b('0x8')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this[_0x206b('0x2')]=!0x0;}[_0x206b('0x6')](_0x41890f){const _0x10b69c=this['_suggestions'][_0x206b('0x0')](_0x41890f);if(!_0x10b69c)throw new _0x52104e('track-changes-accept-suggestion-not-found',this);const _0x1c1f8a=_0x10b69c[_0x206b('0x1')]();this['editor']['model'][_0x206b('0x5')](_0x1c1f8a)&&this[_0x206b('0x7')][_0x206b('0x3')][_0x206b('0x0')]('TrackChangesEditing')[_0x206b('0x4')](_0x10b69c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bdf=['TrackChangesEditing','get','discardSuggestion','getRanges','track-changes-discard-suggestion-not-found','_isEnabledBasedOnSelection','plugins','refresh','execute','isEnabled'];(function(_0x31b5c4,_0x5bdf18){const _0x10d59f=function(_0x3e05e0){while(--_0x3e05e0){_0x31b5c4['push'](_0x31b5c4['shift']());}};_0x10d59f(++_0x5bdf18);}(_0x5bdf,0x135));const _0x10d5=function(_0x31b5c4,_0x5bdf18){_0x31b5c4=_0x31b5c4-0x0;let _0x10d59f=_0x5bdf[_0x31b5c4];return _0x10d59f;};import{Command as _0x4a5ccd}from'ckeditor5/src/core';import{CKEditorError as _0x54f351}from'ckeditor5/src/utils';export default class $ extends _0x4a5ccd{constructor(_0x140b56,_0x15b8a1){super(_0x140b56),this['_suggestions']=_0x15b8a1,this['refresh'](),this[_0x10d5('0x6')]=!0x1;}[_0x10d5('0x8')](){this[_0x10d5('0x0')]=!0x0;}[_0x10d5('0x9')](_0x3db53b){const _0x1ba55a=this['_suggestions'][_0x10d5('0x2')](_0x3db53b);if(!_0x1ba55a)throw new _0x54f351(_0x10d5('0x5'),this);const _0x4fc961=_0x1ba55a[_0x10d5('0x4')]();this['editor']['model']['canEditAt'](_0x4fc961)&&this['editor'][_0x10d5('0x7')]['get'](_0x10d5('0x1'))[_0x10d5('0x3')](_0x1ba55a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23a9=['execute','isInContent','editor','some','values','model','from','refresh','_command','isEnabled'];(function(_0x1de395,_0x23a92d){const _0xb941d6=function(_0x118882){while(--_0x118882){_0x1de395['push'](_0x1de395['shift']());}};_0xb941d6(++_0x23a92d);}(_0x23a9,0xe1));const _0xb941=function(_0x1de395,_0x23a92d){_0x1de395=_0x1de395-0x0;let _0xb941d6=_0x23a9[_0x1de395];return _0xb941d6;};import{Command as _0x5a87a5}from'ckeditor5/src/core';import{sortSuggestions as _0x14938e,executeCommandForSuggestions as _0x596523}from'../utils/utils';export default class N extends _0x5a87a5{constructor(_0x5a0317,_0x5c680a,_0x4e39b0){super(_0x5a0317),this[_0xb941('0x3')]=_0x5c680a,this['_suggestions']=_0x4e39b0,this[_0xb941('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0xb941('0x2')](){const _0xc5395c=Array[_0xb941('0x1')](this['_suggestions'][_0xb941('0x9')]())[_0xb941('0x8')](_0x245377=>_0x245377[_0xb941('0x6')]);this[_0xb941('0x4')]=this[_0xb941('0x3')][_0xb941('0x4')]&&_0xc5395c;}[_0xb941('0x5')](){const _0x52f87c=_0x14938e(Array[_0xb941('0x1')](this['_suggestions']['values']()));for(const _0x358389 of _0x52f87c){const _0xeecb41=_0x358389['getRanges']();if(!this[_0xb941('0x7')][_0xb941('0x0')]['canEditAt'](_0xeecb41))return;}_0x596523(this['editor']['model'],this[_0xb941('0x3')],_0x52f87c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47bc=['from','isEnabled','_selectedSuggestions','refresh','canEditAt','_suggestions','editor','_isEnabledBasedOnSelection','_command','getRanges','model','document','selection'];(function(_0x3c7e2e,_0x47bc4d){const _0x22eb4e=function(_0x5409ea){while(--_0x5409ea){_0x3c7e2e['push'](_0x3c7e2e['shift']());}};_0x22eb4e(++_0x47bc4d);}(_0x47bc,0x162));const _0x22eb=function(_0x3c7e2e,_0x47bc4d){_0x3c7e2e=_0x3c7e2e-0x0;let _0x22eb4e=_0x47bc[_0x3c7e2e];return _0x22eb4e;};import{Command as _0x38c101}from'ckeditor5/src/core';import{sortSuggestions as _0x14742d,getSelectedSuggestions as _0x2c8a9c,executeCommandForSuggestions as _0x59e00c}from'../utils/utils';export default class R extends _0x38c101{constructor(_0x38161a,_0x55094d,_0x46bd31){super(_0x38161a),this[_0x22eb('0x5')]=_0x55094d,this[_0x22eb('0x2')]=_0x46bd31,this[_0x22eb('0xc')]=new Set(),this[_0x22eb('0x0')](),this[_0x22eb('0x4')]=!0x1;}[_0x22eb('0x0')](){const _0x109bcc=this[_0x22eb('0x3')][_0x22eb('0x7')][_0x22eb('0x8')][_0x22eb('0x9')],_0x1e83e3=Array[_0x22eb('0xa')](this[_0x22eb('0x2')]['values']());this[_0x22eb('0xc')]=_0x2c8a9c(_0x109bcc,_0x1e83e3),this[_0x22eb('0xb')]=this[_0x22eb('0x5')][_0x22eb('0xb')]&&!!this[_0x22eb('0xc')]['size'];}['execute'](){const _0x32f642=_0x14742d(Array[_0x22eb('0xa')](this[_0x22eb('0xc')]));for(const _0x3e2613 of _0x32f642){const _0x6c5fed=_0x3e2613[_0x22eb('0x6')]();if(!this[_0x22eb('0x3')][_0x22eb('0x7')][_0x22eb('0x1')](_0x6c5fed))return;}_0x59e00c(this[_0x22eb('0x3')][_0x22eb('0x7')],this[_0x22eb('0x5')],_0x32f642);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a52=['value','refresh','_isEnabledBasedOnSelection','isEnabled','has','_enabledCommands','forceDisabled','_disableUnsupportedCommands','TrackChangesCommand','affectsData','commands','clearForceDisabled','_enableCommands'];(function(_0x25800c,_0x1a52c5){const _0xca49fc=function(_0x59d7b0){while(--_0x59d7b0){_0x25800c['push'](_0x25800c['shift']());}};_0xca49fc(++_0x1a52c5);}(_0x1a52,0x101));const _0xca49=function(_0x25800c,_0x1a52c5){_0x25800c=_0x25800c-0x0;let _0xca49fc=_0x1a52[_0x25800c];return _0xca49fc;};import{Command as _0x89b6de}from'ckeditor5/src/core';export default class _ extends _0x89b6de{constructor(_0x2ef6a0,_0x587e69){super(_0x2ef6a0),this['_enabledCommands']=_0x587e69,this[_0xca49('0x3')]=!0x1,this[_0xca49('0x4')](),this[_0xca49('0x5')]=!0x1;}['refresh'](){this[_0xca49('0x6')]=!0x0;}['execute'](){this['value']=!this[_0xca49('0x3')],this[_0xca49('0x3')]?this[_0xca49('0xa')]():this[_0xca49('0x2')]();}['_disableUnsupportedCommands'](){for(const _0x32887c of this['editor'][_0xca49('0x0')][_0xca49('0x0')]())_0x32887c[_0xca49('0xc')]&&!this[_0xca49('0x8')][_0xca49('0x7')](_0x32887c)&&_0x32887c[_0xca49('0x9')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x550ea4 of this['editor'][_0xca49('0x0')][_0xca49('0x0')]())_0x550ea4[_0xca49('0xc')]&&!this[_0xca49('0x8')][_0xca49('0x7')](_0x550ea4)&&_0x550ea4[_0xca49('0x1')](_0xca49('0xb'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57fa=['center','AlignmentEditing','format','afterInit','plugins','commandName','left','markBlockFormat','alignment','document','editor','value','selection','TrackChangesEditing','locale','registerDescriptionCallback','getSelectedBlocks','FORMAT_ALIGN_TO_CENTER','change','schema','FORMAT_JUSTIFY_TEXT','right','justify','contentLanguageDirection','*Format:*\x20%0','ltr','enableCommand','filter','model','FORMAT_ALIGN_TO_LEFT'];(function(_0x2e58d2,_0x57faef){const _0x3feb9b=function(_0x54d0eb){while(--_0x54d0eb){_0x2e58d2['push'](_0x2e58d2['shift']());}};_0x3feb9b(++_0x57faef);}(_0x57fa,0x126));const _0x3feb=function(_0x2e58d2,_0x57faef){_0x2e58d2=_0x2e58d2-0x0;let _0x3feb9b=_0x57fa[_0x2e58d2];return _0x3feb9b;};import{Plugin as _0x1ffbf3}from'ckeditor5/src/core';import{getTranslation as _0x4ffff2}from'../utils/common-translations';export default class j extends _0x1ffbf3{[_0x3feb('0x9')](){const _0x3cb08a=this['editor'],_0x5868de=_0x3cb08a['locale'];if(!_0x3cb08a[_0x3feb('0xa')]['has'](_0x3feb('0x7')))return;const _0xa86221=_0x3cb08a[_0x3feb('0xa')]['get'](_0x3feb('0x13'));_0xa86221[_0x3feb('0x2')]('alignment',(_0x56667b,_0x456a7f={})=>{let _0x1cb90b=_0x456a7f[_0x3feb('0x11')];_0x456a7f['value']||(_0x1cb90b=_0x3feb('0x1')===_0x3cb08a[_0x3feb('0x14')][_0x3feb('0x1d')]?_0x3feb('0xc'):_0x3feb('0x1b'));const _0x4e2e85=Array['from'](this['editor'][_0x3feb('0x4')][_0x3feb('0xf')][_0x3feb('0x12')][_0x3feb('0x16')]())[_0x3feb('0x3')](_0x1d973f=>function(_0x1f56f2,_0x30cc76,_0x23007f){const _0xfe7a1b=_0x1f56f2['getAttribute'](_0x3feb('0xe'))||null;return _0x30cc76['checkAttribute'](_0x1f56f2,_0x3feb('0xe'))&&_0x23007f!=_0xfe7a1b;}(_0x1d973f,this[_0x3feb('0x10')][_0x3feb('0x4')][_0x3feb('0x19')],_0x1cb90b));_0x3cb08a[_0x3feb('0x4')][_0x3feb('0x18')](()=>{for(const _0x30ddce of _0x4e2e85)_0xa86221[_0x3feb('0xd')](_0x30ddce,{'commandName':_0x3feb('0xe'),'commandParams':[{'value':_0x1cb90b}]});});}),_0xa86221['_descriptionFactory'][_0x3feb('0x15')](_0x5cbc40=>{const {data:_0x57dac8}=_0x5cbc40;if(_0x57dac8&&_0x3feb('0xe')==_0x57dac8[_0x3feb('0xb')]){const _0x19e32e=_0x57dac8['commandParams'][0x0][_0x3feb('0x11')];return{'type':_0x3feb('0x8'),'content':_0x4ffff2(_0x5868de,_0x3feb('0x0'),function(_0x29f5a2){switch(_0x29f5a2){case _0x3feb('0xc'):return _0x4ffff2(_0x5868de,_0x3feb('0x5'));case'right':return _0x4ffff2(_0x5868de,'FORMAT_ALIGN_TO_RIGHT');case _0x3feb('0x6'):return _0x4ffff2(_0x5868de,_0x3feb('0x17'));case _0x3feb('0x1c'):return _0x4ffff2(_0x5868de,_0x3feb('0x1a'));}}(_0x19e32e))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b77=['markInlineFormat','FORMAT_SUPERSCRIPT','format','afterInit','FORMAT_BOLD','getRanges','subscript','model','FORMAT_UNDERLINE','underline','get','slice','UnderlineEditing','commandName','editor','ItalicEditing','document','*Remove\x20format:*\x20%0','commands','FORMAT_ITALIC','from','bold','superscript','forceValue','isCollapsed','value','plugins','FORMAT_STRIKETHROUGH','CodeEditing','StrikethroughEditing','code','commandParams','toLowerCase','enableCommand','BoldEditing','selection','locale','italic','*Format:*\x20%0'];(function(_0x5124fb,_0x1b771a){const _0x144ce9=function(_0x23adcc){while(--_0x23adcc){_0x5124fb['push'](_0x5124fb['shift']());}};_0x144ce9(++_0x1b771a);}(_0x1b77,0x1b9));const _0x144c=function(_0x5124fb,_0x1b771a){_0x5124fb=_0x5124fb-0x0;let _0x144ce9=_0x1b77[_0x5124fb];return _0x144ce9;};import{Plugin as _0x30cdc1}from'ckeditor5/src/core';import{getTranslation as _0x3b42bf}from'../utils/common-translations';import{getRangesWithAttribute as _0x23c555}from'./utils';const Yt=[_0x144c('0x16'),_0x144c('0x3'),_0x144c('0x0'),_0x144c('0x10'),_0x144c('0x11'),'SubscriptEditing','SuperscriptEditing'];export default class x extends _0x30cdc1{[_0x144c('0x1e')](){const _0x2b9a92=this[_0x144c('0x2')],_0xb584cb=_0x2b9a92[_0x144c('0x22')],_0x310174=_0x2b9a92['plugins'][_0x144c('0x25')]('TrackChangesEditing'),_0x3dbd01=_0x2b9a92[_0x144c('0x18')];for(const _0xfd92f3 of Yt){if(!_0x2b9a92[_0x144c('0xe')]['has'](_0xfd92f3))continue;const _0x1266bc=_0xfd92f3[_0x144c('0x26')](0x0,-0x7)[_0x144c('0x14')](),_0x2ed576=_0x2b9a92[_0x144c('0x6')][_0x144c('0x25')](_0x1266bc);_0x310174[_0x144c('0x15')](_0x1266bc,(_0x548aba,_0x4e9537={})=>{const _0x318109=_0xb584cb[_0x144c('0x4')][_0x144c('0x17')];if(_0x318109[_0x144c('0xc')])return void _0x548aba(_0x4e9537);const _0x34a9bc=void 0x0!==_0x4e9537[_0x144c('0xb')]?_0x4e9537[_0x144c('0xb')]:!_0x2ed576[_0x144c('0xd')];_0xb584cb['change'](()=>{const _0x461dd4=Array[_0x144c('0x8')](_0x318109[_0x144c('0x20')]());for(const _0x565c82 of _0x461dd4){const _0x8771ec=_0x34a9bc?[_0x565c82]:_0x23c555(_0x1266bc,_0x565c82,_0xb584cb);for(const _0x4ed889 of _0x8771ec)_0x310174[_0x144c('0x1b')](_0x4ed889,{'commandName':_0x1266bc,'commandParams':[{'forceValue':_0x34a9bc}]});}});});}function _0x1611ea(_0x46f9c7,_0xc9828e){_0x310174['_descriptionFactory']['registerDescriptionCallback'](_0x1357a1=>{const {data:_0x337d61}=_0x1357a1;if(_0x337d61&&_0x337d61[_0x144c('0x1')]===_0x46f9c7)return _0x337d61[_0x144c('0x13')][0x0][_0x144c('0xb')]?{'type':'format','content':_0x3b42bf(_0x3dbd01,_0x144c('0x1a'),_0xc9828e)}:{'type':_0x144c('0x1d'),'content':_0x3b42bf(_0x3dbd01,_0x144c('0x5'),_0xc9828e)};});}_0x1611ea(_0x144c('0x9'),_0x3b42bf(_0x3dbd01,_0x144c('0x1f'))),_0x1611ea(_0x144c('0x19'),_0x3b42bf(_0x3dbd01,_0x144c('0x7'))),_0x1611ea(_0x144c('0x24'),_0x3b42bf(_0x3dbd01,_0x144c('0x23'))),_0x1611ea(_0x144c('0x12'),_0x3b42bf(_0x3dbd01,'FORMAT_CODE')),_0x1611ea('strikethrough',_0x3b42bf(_0x3dbd01,_0x144c('0xf'))),_0x1611ea(_0x144c('0x21'),_0x3b42bf(_0x3dbd01,'FORMAT_SUBSCRIPT')),_0x1611ea(_0x144c('0xa'),_0x3b42bf(_0x3dbd01,_0x144c('0x1c')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50a2=['TrackChangesEditing','model','blockQuote','plugins','document','change','checkChild','BlockQuoteEditing','parent','getSelectedBlocks','from','format','$root','get','commandName','ELEMENT_BLOCK_QUOTE','registerDescriptionCallback','name','forceValue','afterInit','filter','value','locale','*Remove\x20format:*\x20%0','schema','enableCommand','editor','markBlockFormat'];(function(_0x29f1aa,_0x50a256){const _0x533a42=function(_0x4950b8){while(--_0x4950b8){_0x29f1aa['push'](_0x29f1aa['shift']());}};_0x533a42(++_0x50a256);}(_0x50a2,0x114));const _0x533a=function(_0x29f1aa,_0x50a256){_0x29f1aa=_0x29f1aa-0x0;let _0x533a42=_0x50a2[_0x29f1aa];return _0x533a42;};import{Plugin as _0x20aec7}from'ckeditor5/src/core';import{getTranslation as _0x36942d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4430a3}from'../utils/utils';export default class U extends _0x20aec7{[_0x533a('0x17')](){const _0x43aec4=this[_0x533a('0x2')],_0x39e358=_0x43aec4[_0x533a('0x1a')];if(!_0x43aec4[_0x533a('0x7')]['has'](_0x533a('0xb')))return;const _0x1f4797=_0x43aec4['plugins'][_0x533a('0x11')](_0x533a('0x4')),_0x4eb015=this[_0x533a('0x2')]['commands'][_0x533a('0x11')](_0x533a('0x6'));_0x1f4797[_0x533a('0x1')](_0x533a('0x6'),(_0x7b1836,_0x470b08={})=>{const _0x3dc56d=this[_0x533a('0x2')][_0x533a('0x5')][_0x533a('0x8')]['selection'],_0x1983df=_0x470b08&&void 0x0!==_0x470b08[_0x533a('0x16')]?_0x470b08[_0x533a('0x16')]:!_0x4eb015[_0x533a('0x19')];let _0x209733=[];if(_0x1983df){const _0x1a2d1f=Array[_0x533a('0xe')](_0x3dc56d[_0x533a('0xd')]())[_0x533a('0x18')](_0x1e8bbb=>to(_0x1e8bbb)||function(_0x4c88f0,_0x4a1e6a){const _0x41bafc=_0x4a1e6a[_0x533a('0xa')](_0x4c88f0['parent'],_0x533a('0x6')),_0x2f583f=_0x4a1e6a[_0x533a('0xa')]([_0x533a('0x10'),_0x533a('0x6')],_0x4c88f0);return _0x41bafc&&_0x2f583f;}(_0x1e8bbb,this['editor'][_0x533a('0x5')][_0x533a('0x0')]));_0x209733=_0x4430a3(_0x1a2d1f,_0x43aec4[_0x533a('0x5')]);}else{const _0x55d9c5=Array['from'](_0x3dc56d[_0x533a('0xd')]())[_0x533a('0x18')](_0x53157b=>to(_0x53157b));_0x209733=_0x4430a3(_0x55d9c5,_0x43aec4['model']);}_0x43aec4[_0x533a('0x5')][_0x533a('0x9')](()=>{for(const _0x2091b5 of _0x209733)_0x1f4797[_0x533a('0x3')](_0x2091b5,{'commandName':_0x533a('0x6'),'commandParams':[{'forceValue':_0x1983df}]});});}),_0x1f4797['_descriptionFactory'][_0x533a('0x14')](_0x45548f=>{const {data:_0x3e3809}=_0x45548f;if(_0x3e3809&&_0x533a('0x6')==_0x3e3809[_0x533a('0x12')]){const _0x4551da=_0x36942d(_0x39e358,_0x533a('0x13'));return _0x3e3809['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x36942d(_0x39e358,'*Format:*\x20%0',_0x4551da)}:{'type':_0x533a('0xf'),'content':_0x36942d(_0x39e358,_0x533a('0x1b'),_0x4551da)};}});}}function to(_0xb88e0d){return _0x533a('0x6')==_0xb88e0d[_0x533a('0xc')][_0x533a('0x15')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x484d=['enableCommand','plugins','ckbox','afterInit','editor','get','commands'];(function(_0xd9efb0,_0x484dee){const _0x100d75=function(_0x1d6ed4){while(--_0x1d6ed4){_0xd9efb0['push'](_0xd9efb0['shift']());}};_0x100d75(++_0x484dee);}(_0x484d,0x9d));const _0x100d=function(_0xd9efb0,_0x484dee){_0xd9efb0=_0xd9efb0-0x0;let _0x100d75=_0x484d[_0xd9efb0];return _0x100d75;};import{Plugin as _0x5dca33}from'ckeditor5/src/core';export default class O extends _0x5dca33{[_0x100d('0x0')](){const _0x25a33f=this[_0x100d('0x1')];_0x25a33f[_0x100d('0x3')][_0x100d('0x2')](_0x100d('0x6'))&&_0x25a33f[_0x100d('0x5')][_0x100d('0x2')]('TrackChangesEditing')[_0x100d('0x4')](_0x100d('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x335b=['enableCommand','value','afterInit','change','document','has','blockName','format','find','indentCodeBlock','getSelectedBlocks','ELEMENT_CODE_BLOCK','get','formatBlock','model','selection','TrackChangesEditing','schema','commandParams','filter','from','registerDescriptionCallback','outdentCodeBlock','_descriptionFactory','forceValue','locale','*Remove\x20format:*\x20%0','language','parent','codeBlock','rootElement','CodeBlock','plugins','editor','isLimit'];(function(_0x35f7eb,_0x335b20){const _0x57906c=function(_0x5b55ea){while(--_0x5b55ea){_0x35f7eb['push'](_0x35f7eb['shift']());}};_0x57906c(++_0x335b20);}(_0x335b,0x146));const _0x5790=function(_0x35f7eb,_0x335b20){_0x35f7eb=_0x35f7eb-0x0;let _0x57906c=_0x335b[_0x35f7eb];return _0x57906c;};import{Plugin as _0xd3c950}from'ckeditor5/src/core';import{getTranslation as _0x19cdbb}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x66dc64}from'../utils/utils';export default class E extends _0xd3c950{[_0x5790('0x1a')](){const _0x226aaf=this[_0x5790('0x16')];if(!_0x226aaf[_0x5790('0x15')][_0x5790('0x1d')](_0x5790('0x14')))return;const _0x1bc212=_0x226aaf[_0x5790('0x15')][_0x5790('0x1')](_0x5790('0x5')),_0x45b5eb=_0x226aaf[_0x5790('0xe')],_0x2913aa=_0x226aaf['config'][_0x5790('0x1')](_0x5790('0x12'))['languages'],_0x49f8b3=_0x226aaf['commands']['get'](_0x5790('0x12'));_0x1bc212[_0x5790('0x18')](_0x5790('0x21')),_0x1bc212[_0x5790('0x18')](_0x5790('0xb')),_0x1bc212['enableCommand'](_0x5790('0x12'),(_0x5a8064,_0x45f967={})=>{const _0x48e688=_0x226aaf[_0x5790('0x3')],_0x32584f=_0x226aaf[_0x5790('0x3')][_0x5790('0x1c')][_0x5790('0x4')],_0x27f684=_0x45f967&&void 0x0!==_0x45f967['forceValue']?_0x45f967[_0x5790('0xd')]:!_0x49f8b3[_0x5790('0x19')];let _0x50a1f2;_0x45f967[_0x5790('0x10')]||(_0x45f967[_0x5790('0x10')]=_0x2913aa[0x0][_0x5790('0x10')]),_0x50a1f2=_0x27f684?Array[_0x5790('0x9')](_0x32584f[_0x5790('0x22')]())[_0x5790('0x8')](_0x3af7b0=>oo(_0x3af7b0)||function(_0x58812b,_0x455c2a){if(_0x58812b['is'](_0x5790('0x13'))||_0x455c2a[_0x5790('0x17')](_0x58812b))return!0x1;return _0x455c2a['checkChild'](_0x58812b[_0x5790('0x11')],'codeBlock');}(_0x3af7b0,_0x48e688[_0x5790('0x6')])):Array[_0x5790('0x9')](_0x32584f[_0x5790('0x22')]())['filter'](_0x312245=>oo(_0x312245));const _0x52907a=_0x66dc64(_0x50a1f2,_0x48e688);_0x48e688[_0x5790('0x1b')](()=>{for(const _0x5eb243 of _0x52907a)_0x1bc212['markBlockFormat'](_0x5eb243,{'commandName':_0x5790('0x12'),'commandParams':[{..._0x45f967,'forceValue':_0x27f684}],'formatGroupId':_0x5790('0x1e')});});}),(_0x1bc212[_0x5790('0xc')]['registerElementLabel']('codeBlock',_0x2e3f77=>_0x19cdbb(_0x45b5eb,_0x5790('0x0'),_0x2e3f77)),_0x1bc212[_0x5790('0xc')][_0x5790('0xa')](_0x458296=>{const _0x375541=_0x45b5eb['t'],{type:_0x2f4d36,data:_0xbee513}=_0x458296;if(_0x5790('0x2')==_0x2f4d36&&_0xbee513&&'codeBlock'==_0xbee513['commandName']){const _0x368389=_0xbee513[_0x5790('0x7')][0x0][_0x5790('0x10')],_0x2a7a6f=_0x375541(_0x2913aa[_0x5790('0x20')](_0x3106da=>_0x3106da[_0x5790('0x10')]===_0x368389)['label']);return _0xbee513['commandParams'][0x0][_0x5790('0xd')]?{'type':_0x5790('0x1f'),'content':_0x19cdbb(_0x45b5eb,'*Format:*\x20%0',_0x19cdbb(_0x45b5eb,_0x5790('0x0'),0x1)+'\x20('+_0x2a7a6f+')')}:{'type':_0x5790('0x1f'),'content':_0x19cdbb(_0x45b5eb,_0x5790('0xf'),_0x19cdbb(_0x45b5eb,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x32d762){return'codeBlock'==_0x32d762['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cbd=['has','TrackChangesEditing','CommentsEditing','addCommentThread','get','plugins','editor'];(function(_0x40e9c1,_0x4cbd5e){const _0x2c273a=function(_0x3e064a){while(--_0x3e064a){_0x40e9c1['push'](_0x40e9c1['shift']());}};_0x2c273a(++_0x4cbd5e);}(_0x4cbd,0x174));const _0x2c27=function(_0x40e9c1,_0x4cbd5e){_0x40e9c1=_0x40e9c1-0x0;let _0x2c273a=_0x4cbd[_0x40e9c1];return _0x2c273a;};import{Plugin as _0x175fbb}from'ckeditor5/src/core';export default class F extends _0x175fbb{['afterInit'](){const _0x2403e1=this[_0x2c27('0x5')];if(!_0x2403e1[_0x2c27('0x4')][_0x2c27('0x6')](_0x2c27('0x1')))return;_0x2403e1['plugins'][_0x2c27('0x3')](_0x2c27('0x0'))['enableCommand'](_0x2c27('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a4d=['high','options','get','mapper','remove','showSuggestionHighlights','unit','batch','$graveyard','isCollapsed','fromRange','writer','modifySelection','addMarker:suggestion:deletion','setSelection','createSelection','document','editing','requires','end','init','forward','markerName','bind','getFirstRange','commands','TrackChangesEditing','removeMarker:suggestion:deletion','unlock','downcastDispatcher','detach','enqueueChange','buffer','delete','plugins','createRange','markerNameToElements','start','rootName','merge','root','uiElement','model','data','lock','editor','deleteForward','enableCommand'];(function(_0x82b30,_0x4a4db1){const _0xf0b339=function(_0xafff57){while(--_0xafff57){_0x82b30['push'](_0x82b30['shift']());}};_0xf0b339(++_0x4a4db1);}(_0x4a4d,0x66));const _0xf0b3=function(_0x82b30,_0x4a4db1){_0x82b30=_0x82b30-0x0;let _0xf0b339=_0x4a4d[_0x82b30];return _0xf0b339;};import{Plugin as _0x519d55}from'ckeditor5/src/core';import{LiveRange as _0xfff44c}from'ckeditor5/src/engine';import{Delete as _0x2ac557}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1dc1de}from'./utils';export default class G extends _0x519d55{static get[_0xf0b3('0xc')](){return[_0x2ac557];}[_0xf0b3('0xe')](){const _0x595d1b=this[_0xf0b3('0x27')],_0x12af46=_0x595d1b[_0xf0b3('0x1c')][_0xf0b3('0x2c')](_0xf0b3('0x14'));_0x12af46['enableCommand'](_0xf0b3('0x1b'));const _0x2e27a5=_0x595d1b[_0xf0b3('0x13')][_0xf0b3('0x2c')](_0xf0b3('0x28'));_0x12af46[_0xf0b3('0x29')](_0xf0b3('0x28'),(_0x3211dd,_0x14d478={})=>{const _0x4be8c1=_0x595d1b[_0xf0b3('0x24')][_0xf0b3('0x9')](_0x595d1b[_0xf0b3('0x24')][_0xf0b3('0xa')]['selection']);_0x4be8c1[_0xf0b3('0x3')]&&_0x595d1b[_0xf0b3('0x24')][_0xf0b3('0x6')](_0x4be8c1,{'direction':_0xf0b3('0xf'),'unit':_0x14d478[_0xf0b3('0x0')]});const _0x539c00=_0x4be8c1[_0xf0b3('0x12')](),_0x110b59=_0xfff44c[_0xf0b3('0x4')](_0x539c00);let _0x336ffe;_0x3211dd(_0x14d478),_0x336ffe=_0xf0b3('0x2')==_0x110b59[_0xf0b3('0x22')][_0xf0b3('0x20')]?_0x595d1b[_0xf0b3('0x24')][_0xf0b3('0x1d')](_0x539c00[_0xf0b3('0x1f')]):_0x595d1b[_0xf0b3('0x24')][_0xf0b3('0x1d')](_0x110b59['start'],_0x110b59[_0xf0b3('0xd')]),_0x110b59[_0xf0b3('0x18')](),_0x595d1b[_0xf0b3('0x24')][_0xf0b3('0x19')](_0x2e27a5[_0xf0b3('0x1a')][_0xf0b3('0x1')],_0xf83716=>{_0x2e27a5[_0xf0b3('0x1a')][_0xf0b3('0x26')](),_0xf83716[_0xf0b3('0x8')](_0xf83716[_0xf0b3('0x1d')](_0x336ffe['end'])),_0x2e27a5[_0xf0b3('0x1a')][_0xf0b3('0x16')]();});}),_0x595d1b[_0xf0b3('0xb')][_0xf0b3('0x17')]['on']('addMarker:suggestion:deletion',_0x1dc1de(_0x595d1b,_0xf0b3('0x21')),{'priority':_0xf0b3('0x2a')}),_0x595d1b[_0xf0b3('0x25')][_0xf0b3('0x17')]['on'](_0xf0b3('0x7'),(_0x3a2277,_0x1a39b8,_0x16ffe5)=>{_0x16ffe5[_0xf0b3('0x2b')][_0xf0b3('0x2f')]&&_0x1dc1de(_0x595d1b,_0xf0b3('0x21'),{'showActiveMarker':!0x1})[_0xf0b3('0x11')](this)(_0x3a2277,_0x1a39b8,_0x16ffe5);},{'priority':'high'}),_0x595d1b[_0xf0b3('0xb')][_0xf0b3('0x17')]['on'](_0xf0b3('0x15'),(_0x260ce7,_0x50addc,_0x42f112)=>{const _0x3fb4d3=_0x42f112[_0xf0b3('0x2d')][_0xf0b3('0x1e')](_0x50addc[_0xf0b3('0x10')]);if(_0x3fb4d3)for(const _0x270687 of _0x3fb4d3)_0x270687['is'](_0xf0b3('0x23'))&&(_0x42f112['mapper']['unbindElementFromMarkerName'](_0x270687,_0x50addc[_0xf0b3('0x10')]),_0x42f112[_0xf0b3('0x5')][_0xf0b3('0x2e')](_0x270687));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4989=['selection','forceValue','value','indentList','registerElementLabel','after','numberedList','listIndent','bulletedList','format','multipleBlocks','end','commandName','length','splitListItemBefore','start','locale','previousSibling','commandParams','change','before','listType','schema','markMultiRangeBlockFormat','isObject','*Change\x20to:*\x20%0','splitListItemAfter','accept','_LIST','commands','enableCommand','push','from','parent','markBlockFormat','*Format:*\x20insert\x20into\x20%0','getSelectedBlocks','ELEMENT_BULLETED_LIST','model','refresh','mergeListItemForward','outdentList','*Indent:*\x20%0','*Format:*\x20remove\x20from\x20%0','createPositionAt','nextSibling','editor','nodeAfter','isFirstBlockOfListItem','expandListBlocksToCompleteList','getRanges','containsItem','createRange','getFirstRange','document','getAttribute','*Outdent:*\x20%0','execute','registerDescriptionCallback','get','plugins','DocumentListUtils','has','toUpperCase','documentList','TrackChangesEditing','listItemId','map','deletion','ELEMENT_LIST_ITEM','hasAttribute','ELEMENT_','_suggestionFactory','_descriptionFactory'];(function(_0x5cb287,_0x498910){const _0x2e442c=function(_0x224fc3){while(--_0x224fc3){_0x5cb287['push'](_0x5cb287['shift']());}};_0x2e442c(++_0x498910);}(_0x4989,0x1e9));const _0x2e44=function(_0x5cb287,_0x498910){_0x5cb287=_0x5cb287-0x0;let _0x2e442c=_0x4989[_0x5cb287];return _0x2e442c;};import{Plugin as _0x4befd6}from'ckeditor5/src/core';import{getTranslation as _0x27a23e}from'../utils/common-translations';import{LiveRange as _0x464223}from'ckeditor5/src/engine';export default class L extends _0x4befd6{['afterInit'](){const _0x37c0c0=this[_0x2e44('0x1')];if(!_0x37c0c0['plugins'][_0x2e44('0x11')]('DocumentListEditing'))return;const _0x54b838=_0x37c0c0[_0x2e44('0x2d')],_0x21bcb7=_0x37c0c0[_0x2e44('0xf')][_0x2e44('0xe')](_0x2e44('0x14')),_0x5316ec=_0x37c0c0[_0x2e44('0xf')][_0x2e44('0xe')](_0x2e44('0x10'));function _0x9febba(_0x216a12){return()=>{const _0x21c02b=_0x37c0c0[_0x2e44('0x3a')]['get'](_0x216a12);let _0x4d591e=Array[_0x2e44('0x3d')](_0x37c0c0['model'][_0x2e44('0x9')]['selection'][_0x2e44('0x41')]());if(_0x163203(_0x216a12)){_0x4d591e=_0x5316ec[_0x2e44('0x4')](_0x4d591e);const _0x1792d3=[];for(const _0x313766 of _0x4d591e)_0x5316ec[_0x2e44('0x3')](_0x313766)&&_0x1792d3['push'](_0x313766);_0x4d591e=_0x1792d3;}_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x30')](()=>{_0x21bcb7[_0x2e44('0x34')](_0x4d591e,{'commandName':_0x216a12,'commandParams':[{'forceValue':!_0x21c02b[_0x2e44('0x1f')]}],'formatGroupId':_0x2e44('0x32')},[],_0x2e44('0x13'));});};}function _0x5c0b43(_0x493958){return()=>{const _0x170c1f=function(_0x3b856){let _0xac8404=Array[_0x2e44('0x3d')](_0x3b856);const _0xbb6edd=_0xac8404['findIndex'](_0x4145a7=>!_0x4145a7[_0x2e44('0x19')]('listItemId'));return _0xbb6edd>-0x1&&(_0xac8404=_0xac8404['slice'](0x0,_0xbb6edd)),_0xac8404;}(_0x37c0c0['model'][_0x2e44('0x9')][_0x2e44('0x1d')][_0x2e44('0x41')]()),_0x13a759=_0x170c1f[_0x170c1f[_0x2e44('0x2a')]-0x1],_0x2dfd69=_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x33')][_0x2e44('0x35')](_0x13a759)?_0x2e44('0x22'):_0x2e44('0x28'),_0x3c631b=_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x7')](_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x49')](_0x170c1f[0x0],'before'),_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x49')](_0x13a759,_0x2dfd69));_0x37c0c0[_0x2e44('0x43')]['change'](()=>{_0x21bcb7[_0x2e44('0x3f')](_0x3c631b,{'commandName':_0x493958,'commandParams':[],'formatGroupId':_0x2e44('0x32')},function(_0xd43026){const _0x326fa8=new Set();for(const _0x48498b of _0xd43026){let _0x4db6f3=_0x48498b[_0x2e44('0x0')];for(;_0x4db6f3&&_0x4db6f3[_0x2e44('0xa')](_0x2e44('0x24'))>_0x48498b['getAttribute'](_0x2e44('0x24'));)_0x326fa8['add'](_0x4db6f3),_0x4db6f3=_0x4db6f3['nextSibling'];}return Array[_0x2e44('0x3d')](_0x326fa8);}(_0x170c1f));});};}function _0x6dc9a7(_0x5619c5){return()=>{const _0x3ccb62=_0x37c0c0['model'][_0x2e44('0x9')][_0x2e44('0x1d')]['getSelectedBlocks']()['next']()['value'],_0x44ef0a=_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x49')](_0x3ccb62,_0x2e44('0x31')),_0x14317a=_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x49')](_0x3ccb62,0x0),_0xa1adb7=_0x37c0c0['model'][_0x2e44('0x7')](_0x44ef0a,_0x14317a);_0x37c0c0['model'][_0x2e44('0x30')](()=>{_0x21bcb7[_0x2e44('0x3f')](_0xa1adb7,{'commandName':_0x5619c5,'commandParams':[],'formatGroupId':_0x2e44('0x32')});});};}function _0x163203(_0x32065e){const _0x446615=_0x37c0c0[_0x2e44('0x3a')][_0x2e44('0xe')](_0x2e44('0x25'))[_0x2e44('0x1f')],_0x4e9af7=_0x37c0c0[_0x2e44('0x3a')][_0x2e44('0xe')]('numberedList')[_0x2e44('0x1f')];return'numberedList'===_0x32065e?_0x446615:_0x4e9af7;}_0x21bcb7[_0x2e44('0x3b')]('numberedList',_0x9febba(_0x2e44('0x23'))),_0x21bcb7['enableCommand'](_0x2e44('0x25'),_0x9febba(_0x2e44('0x25'))),_0x21bcb7[_0x2e44('0x3b')](_0x2e44('0x20'),_0x5c0b43(_0x2e44('0x20'))),_0x21bcb7[_0x2e44('0x3b')](_0x2e44('0x46'),_0x5c0b43(_0x2e44('0x46'))),_0x21bcb7[_0x2e44('0x3b')]('splitListItemAfter',_0x6dc9a7(_0x2e44('0x37'))),_0x21bcb7['enableCommand'](_0x2e44('0x2b'),_0x6dc9a7(_0x2e44('0x2b'))),_0x21bcb7[_0x2e44('0x1c')][_0x2e44('0x21')](function(_0x18970b){const _0x43e586=!_0x37c0c0[_0x2e44('0x43')]['schema']['isObject'](_0x18970b),_0x135afb=_0x18970b[_0x2e44('0x2e')],_0x1f8c50=_0x18970b[_0x2e44('0x0')],_0x2468c=_0x18970b['getAttribute'](_0x2e44('0x15')),_0xcc88d8=!_0x135afb||_0x135afb[_0x2e44('0xa')](_0x2e44('0x15'))!==_0x2468c,_0x227463=!_0x1f8c50||_0x1f8c50[_0x2e44('0xa')](_0x2e44('0x15'))!==_0x2468c;return _0x43e586&&Boolean(_0x2468c)&&_0xcc88d8&&_0x227463;},_0x57f5f0=>_0x27a23e(_0x54b838,'ELEMENT_LIST_ITEM',_0x57f5f0)),_0x21bcb7['_descriptionFactory'][_0x2e44('0xd')](function(_0x1b6273){const {data:_0xb8555d}=_0x1b6273;if(!_0xb8555d)return;let _0x17ecf7,_0xbad678,_0x558220,_0x4e78eb;switch(_0xb8555d[_0x2e44('0x29')]){case _0x2e44('0x25'):_0x558220=_0xb8555d[_0x2e44('0x2f')][0x0][_0x2e44('0x1e')],_0x4e78eb=_0x163203(_0xb8555d[_0x2e44('0x29')]),_0x17ecf7=_0x558220?_0x2e44('0x40'):_0x2e44('0x48'),_0x4e78eb&&(_0x17ecf7='*Change\x20to:*\x20%0'),_0xbad678={'type':_0x2e44('0x26'),'content':_0x27a23e(_0x54b838,_0x17ecf7,_0x27a23e(_0x54b838,_0x2e44('0x42')))};break;case _0x2e44('0x23'):_0x558220=_0xb8555d[_0x2e44('0x2f')][0x0]['forceValue'],_0x4e78eb=_0x163203(_0xb8555d['commandName']),_0x17ecf7=_0x558220?_0x2e44('0x40'):_0x2e44('0x48'),_0x4e78eb&&(_0x17ecf7=_0x2e44('0x36')),_0xbad678={'type':_0x2e44('0x26'),'content':_0x27a23e(_0x54b838,_0x17ecf7,_0x27a23e(_0x54b838,'ELEMENT_NUMBERED_LIST'))};break;case _0x2e44('0x20'):_0x17ecf7=_0x2e44('0x47'),_0xbad678={'type':_0x2e44('0x26'),'content':_0x27a23e(_0x54b838,_0x17ecf7,_0x27a23e(_0x54b838,_0x2e44('0x18')))};break;case _0x2e44('0x46'):_0x17ecf7=function(_0x446176){const _0x4647b1=_0x446176[_0x2e44('0x8')]();let _0x1963bf=_0x4647b1[_0x2e44('0x2c')][_0x2e44('0x2')];for(;_0x1963bf&&_0x4647b1[_0x2e44('0x6')](_0x1963bf);){if(_0x1963bf[_0x2e44('0xa')](_0x2e44('0x24'))>0x0)return!0x1;_0x1963bf=_0x1963bf[_0x2e44('0x0')];}return!0x0;}(_0x1b6273)?_0x27a23e(_0x54b838,'*Format:*\x20remove\x20from\x20%0',_0x27a23e(_0x54b838,function(_0x323997){const _0x270990=_0x323997['getFirstRange']()[_0x2e44('0x2c')][_0x2e44('0x2')];return _0x2e44('0x1a')+_0x270990[_0x2e44('0xa')](_0x2e44('0x32'))[_0x2e44('0x12')]()+_0x2e44('0x39');}(_0x1b6273))):_0x27a23e(_0x54b838,_0x2e44('0xb'),_0x27a23e(_0x54b838,_0x2e44('0x18'))),_0xbad678={'type':_0x2e44('0x26'),'content':_0x17ecf7};break;case'mergeListItemBackward':case _0x2e44('0x45'):!0x1===_0xb8555d[_0x2e44('0x27')]&&(_0x17ecf7='*Merge:*\x20%0',_0xbad678={'type':_0x2e44('0x17'),'content':_0x27a23e(_0x54b838,_0x17ecf7,_0x27a23e(_0x54b838,_0x2e44('0x18')))});}return _0xbad678;}),_0x21bcb7[_0x2e44('0x1b')]['registerCustomCallback']('formatBlock',_0x2e44('0x13'),_0x2e44('0x38'),function(_0x2b3276,_0xcf6a0b){const _0xd74af1=[];for(let _0x36505b of _0x2b3276)_0x36505b[_0x2e44('0x2c')][_0x2e44('0x2')]===_0x36505b[_0x2e44('0x28')][_0x2e44('0x3e')]&&(_0x36505b=_0x37c0c0[_0x2e44('0x43')]['createRange'](_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x49')](_0x36505b[_0x2e44('0x2c')][_0x2e44('0x2')],0x0))),_0xd74af1[_0x2e44('0x3c')](_0x36505b);_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x30')](_0x38d3e0=>{const _0x3ae36c=_0x37c0c0[_0x2e44('0x43')][_0x2e44('0x9')][_0x2e44('0x1d')],_0x52918d=Array['from'](_0x3ae36c[_0x2e44('0x5')]())[_0x2e44('0x16')](_0x37bfef=>_0x464223['fromRange'](_0x37bfef));_0x38d3e0['setSelection'](_0xd74af1),_0x37c0c0[_0x2e44('0x3a')][_0x2e44('0xe')](_0xcf6a0b[_0x2e44('0x29')])[_0x2e44('0x44')](),_0xcf6a0b[_0x2e44('0x2f')][_0x2e44('0x3c')]({'forceDefaultExecution':!0x0}),_0x37c0c0[_0x2e44('0xc')](_0xcf6a0b[_0x2e44('0x29')],..._0xcf6a0b[_0x2e44('0x2f')]),_0x38d3e0['setSelection'](_0x52918d);for(const _0x273507 of _0x52918d)_0x273507['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c51=['commandName','handleListStartCommand','numbered','config','listStart','bind','editor','document','ELEMENT_','isFirstBlockOfListItem','getAttribute','handleDescriptions','from','DocumentListPropertiesEditing','handleListStyleCommand','change','*Change\x20to:*\x20%0','DocumentListUtils','enableCommand','*Format:*\x20set\x20order\x20to\x20reversed','expandListBlocksToCompleteList','_descriptionFactory','TrackChangesEditing','commandParams','list.properties','handleListReversedCommand','get','reversed','isListItemBlock','listReversed','getListTypeFromListStyleType','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','format','afterInit','replace','DocumentListPropertiesUtils','model','startIndex','listType','has','listStyle','toUpperCase','registerDescriptionCallback','plugins','locale','push','getSelectedBlocks','_getSuggestionBlocks','length','type','styles'];(function(_0x239ab5,_0x1c5161){const _0x125806=function(_0x31053d){while(--_0x31053d){_0x239ab5['push'](_0x239ab5['shift']());}};_0x125806(++_0x1c5161);}(_0x1c51,0x6d));const _0x1258=function(_0x239ab5,_0x1c5161){_0x239ab5=_0x239ab5-0x0;let _0x125806=_0x1c51[_0x239ab5];return _0x125806;};import{Plugin as _0x228679}from'ckeditor5/src/core';import{getTranslation as _0x13d2eb}from'../utils/common-translations';export default class At extends _0x228679{[_0x1258('0x1d')](){if(!this[_0x1258('0x1')]['plugins'][_0x1258('0x23')](_0x1258('0x8')))return;const _0x546be9=this[_0x1258('0x1')][_0x1258('0x32')][_0x1258('0x15')](_0x1258('0x13')),_0x185792=this[_0x1258('0x1')][_0x1258('0x27')]['get'](_0x1258('0x11'));_0x546be9[_0x1258('0x2e')]&&_0x185792[_0x1258('0xd')](_0x1258('0x24'),this[_0x1258('0x9')]['bind'](this)),_0x546be9[_0x1258('0x16')]&&_0x185792['enableCommand'](_0x1258('0x18'),this[_0x1258('0x14')][_0x1258('0x0')](this)),_0x546be9['startIndex']&&_0x185792['enableCommand']('listStart',this[_0x1258('0x30')][_0x1258('0x0')](this)),_0x185792[_0x1258('0x10')][_0x1258('0x26')](this[_0x1258('0x6')][_0x1258('0x0')](this));}['handleListStyleCommand'](_0x173d8c,_0x2718b4={}){const _0x14c398=this[_0x1258('0x1')][_0x1258('0x27')][_0x1258('0x15')]('TrackChangesEditing'),_0x3096ca=this[_0x1258('0x1b')]();this[_0x1258('0x1')][_0x1258('0x20')][_0x1258('0xa')](()=>{_0x14c398[_0x1258('0x1a')](_0x3096ca,{'commandName':_0x1258('0x24'),'commandParams':[{'type':_0x2718b4['type']}],'formatGroupId':_0x1258('0x24')});});}[_0x1258('0x14')](_0x4c5072,_0x3d5a39={}){const _0x15fad3=this[_0x1258('0x1')][_0x1258('0x27')][_0x1258('0x15')](_0x1258('0x11')),_0x547bde=this[_0x1258('0x1')][_0x1258('0x27')]['get'](_0x1258('0xc')),_0x366c7a=this[_0x1258('0x2b')](_0x4dfa94=>_0x547bde['isListItemBlock'](_0x4dfa94)&&'numbered'===_0x4dfa94[_0x1258('0x5')]('listType'));null!==_0x366c7a&&this[_0x1258('0x1')][_0x1258('0x20')]['change'](()=>{_0x15fad3['markMultiRangeBlockFormat'](_0x366c7a,{'commandName':_0x1258('0x18'),'commandParams':[{'reversed':_0x3d5a39['reversed']}],'formatGroupId':_0x1258('0x18')});});}[_0x1258('0x30')](_0xceb038,_0x463c33={}){const _0x41106f=this[_0x1258('0x1')]['plugins']['get'](_0x1258('0x11')),_0x18eeb8=this[_0x1258('0x1')]['plugins'][_0x1258('0x15')](_0x1258('0xc')),_0x6a82b9=this['_getSuggestionBlocks'](_0x1015e2=>_0x18eeb8[_0x1258('0x17')](_0x1015e2)&&_0x1258('0x31')===_0x1015e2[_0x1258('0x5')](_0x1258('0x22')));null!==_0x6a82b9&&this[_0x1258('0x1')][_0x1258('0x20')][_0x1258('0xa')](()=>{_0x41106f[_0x1258('0x1a')](_0x6a82b9,{'commandName':'listStart','commandParams':[{'startIndex':_0x463c33['startIndex']}],'formatGroupId':'listStart'});});}[_0x1258('0x6')](_0x2574a4){const _0x52045d=this[_0x1258('0x1')][_0x1258('0x28')],{data:_0x5f0897}=_0x2574a4;if(!_0x5f0897)return;let _0x426efd,_0x1e8c3f;switch(_0x5f0897[_0x1258('0x2f')]){case _0x1258('0x24'):_0x426efd=_0x1258('0xb'),_0x1e8c3f={'type':_0x1258('0x1c'),'content':_0x13d2eb(_0x52045d,_0x426efd,_0x13d2eb(_0x52045d,this['_getTranslationKeyForListStyle'](_0x5f0897[_0x1258('0x12')][0x0][_0x1258('0x2d')])))};break;case _0x1258('0x18'):_0x426efd=_0x5f0897[_0x1258('0x12')][0x0][_0x1258('0x16')]?_0x1258('0xe'):'*Format:*\x20set\x20order\x20to\x20regular',_0x1e8c3f={'type':_0x1258('0x1c'),'content':_0x13d2eb(_0x52045d,_0x426efd)};break;case _0x1258('0x33'):_0x426efd='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1e8c3f={'type':'format','content':_0x13d2eb(_0x52045d,_0x426efd,_0x5f0897[_0x1258('0x12')][0x0][_0x1258('0x21')])};}return _0x1e8c3f;}['_getSuggestionBlocksForListStyle'](){const _0x4b337d=this[_0x1258('0x1')]['plugins']['get'](_0x1258('0xc'));let _0x3c1e32=Array[_0x1258('0x7')](this['editor'][_0x1258('0x20')]['document']['selection']['getSelectedBlocks']());return _0x3c1e32[_0x1258('0x29')](..._0x4b337d[_0x1258('0xf')](_0x3c1e32)),_0x3c1e32=[...new Set(_0x3c1e32)],_0x3c1e32;}[_0x1258('0x2b')](_0x206868){const _0x1485b0=this[_0x1258('0x1')]['plugins'][_0x1258('0x15')](_0x1258('0xc'));let _0x45c49a=Array[_0x1258('0x7')](this['editor']['model'][_0x1258('0x2')]['selection'][_0x1258('0x2a')]())['filter'](_0x206868);if(!_0x45c49a[_0x1258('0x2c')])return null;_0x45c49a=_0x1485b0['expandListBlocksToCompleteList'](_0x45c49a);const _0x3eb783=[];for(const _0x5290bd of _0x45c49a)_0x1485b0[_0x1258('0x4')](_0x5290bd)&&_0x3eb783[_0x1258('0x29')](_0x5290bd);return _0x3eb783;}['_getTranslationKeyForListStyle'](_0x535e9e){return _0x1258('0x3')+this[_0x1258('0x1')][_0x1258('0x27')]['get'](_0x1258('0x1f'))[_0x1258('0x19')](_0x535e9e)[_0x1258('0x25')]()+'_LIST_'+_0x535e9e[_0x1258('0x25')]()[_0x1258('0x1e')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e33=['TrackChangesEditing','split','editing','enter','enableCommand','setSelection','parent','unbindElementFromMarkerName','model','markerName','end','ck-suggestion-marker-split','high','data','downcastDispatcher','createPositionAt','enterBlock','bind','get','fire','markInsertion','remove','addMarker:suggestion:insertion','hasClass','createRange','plugins','removeMarker:suggestion:insertion','detach','writer','change','init','afterExecute','commands','getFirstPosition','options'];(function(_0x258337,_0x1e339b){const _0x10967b=function(_0x521fe5){while(--_0x521fe5){_0x258337['push'](_0x258337['shift']());}};_0x10967b(++_0x1e339b);}(_0x1e33,0x101));const _0x1096=function(_0x258337,_0x1e339b){_0x258337=_0x258337-0x0;let _0x10967b=_0x1e33[_0x258337];return _0x10967b;};import{Plugin as _0x42d6f5}from'ckeditor5/src/core';import{Enter as _0x465369}from'ckeditor5/src/enter';import{LiveRange as _0x3b74d9}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xdc1ef3}from'./utils';export default class q extends _0x42d6f5{static get['requires'](){return[_0x465369];}[_0x1096('0x12')](){const _0x5de6d1=this['editor'],_0x4414f4=_0x5de6d1[_0x1096('0xd')][_0x1096('0x6')](_0x1096('0x17')),_0x25b727=_0x5de6d1[_0x1096('0x14')]['get'](_0x1096('0x1a'));_0x4414f4[_0x1096('0x1b')](_0x1096('0x1a'),()=>{_0x5de6d1[_0x1096('0x1f')][_0x1096('0x11')](_0x5d7728=>{const _0x562070=_0x5de6d1[_0x1096('0x1f')]['document']['selection'],_0x1a7fbf=_0x562070[_0x1096('0x15')](),_0x128b27=_0x3b74d9['fromRange'](_0x562070['getFirstRange']());if(_0x25b727[_0x1096('0x4')](_0x5d7728)){const _0x2766cb=_0x5de6d1[_0x1096('0x1f')][_0x1096('0x3')](_0x1a7fbf[_0x1096('0x1d')]['nextSibling'],0x0),_0x567277=_0x5d7728[_0x1096('0xc')](_0x1a7fbf,_0x2766cb);_0x4414f4[_0x1096('0x8')](_0x567277);}else _0x5d7728[_0x1096('0x1c')](_0x5d7728[_0x1096('0xc')](_0x128b27[_0x1096('0x21')]));_0x128b27[_0x1096('0xf')](),_0x25b727[_0x1096('0x7')](_0x1096('0x13'),{'writer':_0x5d7728});});}),_0x5de6d1[_0x1096('0x19')]['downcastDispatcher']['on'](_0x1096('0xa'),_0xdc1ef3(_0x5de6d1,_0x1096('0x18')),{'priority':_0x1096('0x0')}),_0x5de6d1[_0x1096('0x19')][_0x1096('0x2')]['on'](_0x1096('0xe'),(_0x59d5fe,_0x15ffae,_0x2cbcd7)=>{const _0x3ede73=_0x2cbcd7['mapper']['markerNameToElements'](_0x15ffae[_0x1096('0x20')]);if(_0x3ede73)for(const _0x3bbad3 of _0x3ede73)_0x3bbad3[_0x1096('0xb')](_0x1096('0x22'))&&(_0x2cbcd7['mapper'][_0x1096('0x1e')](_0x3bbad3,_0x15ffae['markerName']),_0x2cbcd7[_0x1096('0x10')][_0x1096('0x9')](_0x3bbad3));},{'priority':_0x1096('0x0')}),_0x5de6d1[_0x1096('0x1')][_0x1096('0x2')]['on'](_0x1096('0xa'),(_0x5d3c86,_0x3397d4,_0x1a3598)=>{_0x1a3598[_0x1096('0x16')]['showSuggestionHighlights']&&_0xdc1ef3(_0x5de6d1,_0x1096('0x18'),{'showActiveMarker':!0x1})[_0x1096('0x5')](this)(_0x5d3c86,_0x3397d4,_0x1a3598);},{'priority':_0x1096('0x0')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fd9=['findPrevious','plugins','TrackChangesEditing','getRange','get','model','has','handleFindCommand','getIntersection','afterInit','createPositionAt','createRange','editor','FindAndReplaceUtils','_isInDeletionRange','start','suggestion:deletion','end','string','replace','enableCommand'];(function(_0x3c09cc,_0x2fd97c){const _0x3d13b7=function(_0x393aa1){while(--_0x393aa1){_0x3c09cc['push'](_0x3c09cc['shift']());}};_0x3d13b7(++_0x2fd97c);}(_0x2fd9,0x160));const _0x3d13=function(_0x3c09cc,_0x2fd97c){_0x3c09cc=_0x3c09cc-0x0;let _0x3d13b7=_0x2fd9[_0x3c09cc];return _0x3d13b7;};import{Plugin as _0x581150}from'ckeditor5/src/core';export default class z extends _0x581150{[_0x3d13('0xe')](){if(!this[_0x3d13('0x11')]['plugins'][_0x3d13('0xb')]('FindAndReplaceEditing'))return;const _0x2c3ef2=this[_0x3d13('0x11')][_0x3d13('0x6')]['get'](_0x3d13('0x7'));_0x2c3ef2[_0x3d13('0x4')]('find',this[_0x3d13('0xc')]['bind'](this)),_0x2c3ef2[_0x3d13('0x4')]('findNext'),_0x2c3ef2[_0x3d13('0x4')](_0x3d13('0x5')),_0x2c3ef2[_0x3d13('0x4')](_0x3d13('0x3')),_0x2c3ef2[_0x3d13('0x4')]('replaceAll');}[_0x3d13('0xc')](_0x5894ea,_0x206f21,_0x1fe6b9={}){const _0x42f7a0=this[_0x3d13('0x11')]['plugins'][_0x3d13('0x9')](_0x3d13('0x12'));void 0x0!==_0x1fe6b9&&_0x5894ea(_0x4eca1d=>(_0x3d13('0x2')==typeof _0x206f21?_0x42f7a0['findByTextCallback'](_0x206f21,_0x1fe6b9):_0x206f21)(_0x4eca1d)['filter'](_0xf005af=>!0x1===this[_0x3d13('0x13')](_0xf005af,_0x4eca1d['item'])),_0x1fe6b9);}[_0x3d13('0x13')](_0x2e19b2,_0x17ba8a){const _0x4d5d42=this[_0x3d13('0x11')][_0x3d13('0xa')][_0x3d13('0x10')](this['editor'][_0x3d13('0xa')]['createPositionAt'](_0x17ba8a,_0x2e19b2[_0x3d13('0x14')]),this['editor'][_0x3d13('0xa')][_0x3d13('0xf')](_0x17ba8a,_0x2e19b2[_0x3d13('0x1')]));for(const _0x297e5d of this[_0x3d13('0x11')][_0x3d13('0xa')]['markers']['getMarkersGroup'](_0x3d13('0x0')))if(null!==_0x4d5d42[_0x3d13('0xd')](_0x297e5d[_0x3d13('0x8')]()))return!0x0;return!0x1;}}
|