@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230705.0 → 0.0.0-nightly-20230707.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-20230707.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-20230707.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230707.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 _0xbb2b=['acceptSuggestion','_suggestions','plugins','get','isEnabled','canEditAt','refresh','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','model','execute','editor'];(function(_0x1a6cd0,_0xbb2b9){const _0x200999=function(_0x5e6e0f){while(--_0x5e6e0f){_0x1a6cd0['push'](_0x1a6cd0['shift']());}};_0x200999(++_0xbb2b9);}(_0xbb2b,0xd3));const _0x2009=function(_0x1a6cd0,_0xbb2b9){_0x1a6cd0=_0x1a6cd0-0x0;let _0x200999=_0xbb2b[_0x1a6cd0];return _0x200999;};import{Command as _0x269861}from'ckeditor5/src/core';import{CKEditorError as _0x5bafed}from'ckeditor5/src/utils';export default class M extends _0x269861{constructor(_0x270495,_0x2c06d4){super(_0x270495),this[_0x2009('0x6')]=_0x2c06d4,this['refresh'](),this[_0x2009('0x1')]=!0x1;}[_0x2009('0xb')](){this[_0x2009('0x9')]=!0x0;}[_0x2009('0x3')](_0x227696){const _0x421c7f=this[_0x2009('0x6')][_0x2009('0x8')](_0x227696);if(!_0x421c7f)throw new _0x5bafed(_0x2009('0x0'),this);const _0x1f1cdb=_0x421c7f['getRanges']();this['editor'][_0x2009('0x2')][_0x2009('0xa')](_0x1f1cdb)&&this[_0x2009('0x4')][_0x2009('0x7')][_0x2009('0x8')]('TrackChangesEditing')[_0x2009('0x5')](_0x421c7f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x439d=['TrackChangesEditing','_suggestions','execute','editor','get','plugins','_isEnabledBasedOnSelection','refresh','isEnabled','track-changes-discard-suggestion-not-found','model'];(function(_0x6c7f46,_0x439d49){const _0x15784b=function(_0x1dc5fe){while(--_0x1dc5fe){_0x6c7f46['push'](_0x6c7f46['shift']());}};_0x15784b(++_0x439d49);}(_0x439d,0x80));const _0x1578=function(_0x6c7f46,_0x439d49){_0x6c7f46=_0x6c7f46-0x0;let _0x15784b=_0x439d[_0x6c7f46];return _0x15784b;};import{Command as _0x44b450}from'ckeditor5/src/core';import{CKEditorError as _0x480fb4}from'ckeditor5/src/utils';export default class $ extends _0x44b450{constructor(_0x4f3e7f,_0x5db472){super(_0x4f3e7f),this[_0x1578('0x5')]=_0x5db472,this[_0x1578('0x0')](),this[_0x1578('0xa')]=!0x1;}[_0x1578('0x0')](){this[_0x1578('0x1')]=!0x0;}[_0x1578('0x6')](_0x413212){const _0x5feb75=this[_0x1578('0x5')][_0x1578('0x8')](_0x413212);if(!_0x5feb75)throw new _0x480fb4(_0x1578('0x2'),this);const _0x3d57da=_0x5feb75['getRanges']();this[_0x1578('0x7')][_0x1578('0x3')]['canEditAt'](_0x3d57da)&&this[_0x1578('0x7')][_0x1578('0x9')][_0x1578('0x8')](_0x1578('0x4'))['discardSuggestion'](_0x5feb75);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ac7=['editor','execute','model','some','_suggestions','canEditAt','isInContent','_isEnabledBasedOnSelection','isEnabled','refresh','_command','from','values'];(function(_0x35c547,_0x2ac7db){const _0x2b1319=function(_0x32f890){while(--_0x32f890){_0x35c547['push'](_0x35c547['shift']());}};_0x2b1319(++_0x2ac7db);}(_0x2ac7,0x146));const _0x2b13=function(_0x35c547,_0x2ac7db){_0x35c547=_0x35c547-0x0;let _0x2b1319=_0x2ac7[_0x35c547];return _0x2b1319;};import{Command as _0x17e4a8}from'ckeditor5/src/core';import{sortSuggestions as _0x16ed4a,executeCommandForSuggestions as _0x29eb3a}from'../utils/utils';export default class N extends _0x17e4a8{constructor(_0x484ee2,_0x491c4b,_0x12bb45){super(_0x484ee2),this[_0x2b13('0x9')]=_0x491c4b,this[_0x2b13('0x3')]=_0x12bb45,this[_0x2b13('0x8')](),this[_0x2b13('0x6')]=!0x1;}[_0x2b13('0x8')](){const _0x19d03f=Array[_0x2b13('0xa')](this[_0x2b13('0x3')]['values']())[_0x2b13('0x2')](_0x89b91a=>_0x89b91a[_0x2b13('0x5')]);this[_0x2b13('0x7')]=this[_0x2b13('0x9')]['isEnabled']&&_0x19d03f;}[_0x2b13('0x0')](){const _0x5d22ee=_0x16ed4a(Array[_0x2b13('0xa')](this['_suggestions'][_0x2b13('0xb')]()));for(const _0x1a2b9e of _0x5d22ee){const _0x56e0df=_0x1a2b9e['getRanges']();if(!this[_0x2b13('0xc')][_0x2b13('0x1')][_0x2b13('0x4')](_0x56e0df))return;}_0x29eb3a(this[_0x2b13('0xc')][_0x2b13('0x1')],this[_0x2b13('0x9')],_0x5d22ee);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4025=['model','_selectedSuggestions','editor','from','_isEnabledBasedOnSelection','_command','values','selection','execute','size','_suggestions','isEnabled'];(function(_0x25cb4e,_0x4025e8){const _0x4eb54d=function(_0x149772){while(--_0x149772){_0x25cb4e['push'](_0x25cb4e['shift']());}};_0x4eb54d(++_0x4025e8);}(_0x4025,0x102));const _0x4eb5=function(_0x25cb4e,_0x4025e8){_0x25cb4e=_0x25cb4e-0x0;let _0x4eb54d=_0x4025[_0x25cb4e];return _0x4eb54d;};import{Command as _0x4bab72}from'ckeditor5/src/core';import{sortSuggestions as _0x1e273e,getSelectedSuggestions as _0x1dda29,executeCommandForSuggestions as _0x4a4dbf}from'../utils/utils';export default class R extends _0x4bab72{constructor(_0x49c974,_0x4de3cc,_0x59d347){super(_0x49c974),this[_0x4eb5('0xb')]=_0x4de3cc,this[_0x4eb5('0x4')]=_0x59d347,this[_0x4eb5('0x7')]=new Set(),this['refresh'](),this[_0x4eb5('0xa')]=!0x1;}['refresh'](){const _0xf0b8bf=this['editor'][_0x4eb5('0x6')]['document'][_0x4eb5('0x1')],_0x382dac=Array[_0x4eb5('0x9')](this[_0x4eb5('0x4')][_0x4eb5('0x0')]());this[_0x4eb5('0x7')]=_0x1dda29(_0xf0b8bf,_0x382dac),this['isEnabled']=this[_0x4eb5('0xb')][_0x4eb5('0x5')]&&!!this[_0x4eb5('0x7')][_0x4eb5('0x3')];}[_0x4eb5('0x2')](){const _0x15428e=_0x1e273e(Array['from'](this[_0x4eb5('0x7')]));for(const _0x1afd44 of _0x15428e){const _0x204a72=_0x1afd44['getRanges']();if(!this['editor'][_0x4eb5('0x6')]['canEditAt'](_0x204a72))return;}_0x4a4dbf(this[_0x4eb5('0x8')][_0x4eb5('0x6')],this[_0x4eb5('0xb')],_0x15428e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3901=['has','forceDisabled','commands','_enableCommands','isEnabled','editor','clearForceDisabled','_isEnabledBasedOnSelection','_disableUnsupportedCommands','refresh','affectsData','_enabledCommands','TrackChangesCommand','execute','value'];(function(_0x101802,_0x3901d1){const _0x2f3fab=function(_0x2f78df){while(--_0x2f78df){_0x101802['push'](_0x101802['shift']());}};_0x2f3fab(++_0x3901d1);}(_0x3901,0xa7));const _0x2f3f=function(_0x101802,_0x3901d1){_0x101802=_0x101802-0x0;let _0x2f3fab=_0x3901[_0x101802];return _0x2f3fab;};import{Command as _0x98a0b5}from'ckeditor5/src/core';export default class _ extends _0x98a0b5{constructor(_0x2455e8,_0x47bd62){super(_0x2455e8),this['_enabledCommands']=_0x47bd62,this[_0x2f3f('0xc')]=!0x1,this['refresh'](),this[_0x2f3f('0x5')]=!0x1;}[_0x2f3f('0x7')](){this[_0x2f3f('0x2')]=!0x0;}[_0x2f3f('0xb')](){this[_0x2f3f('0xc')]=!this[_0x2f3f('0xc')],this['value']?this[_0x2f3f('0x6')]():this[_0x2f3f('0x1')]();}[_0x2f3f('0x6')](){for(const _0x432632 of this['editor'][_0x2f3f('0x0')]['commands']())_0x432632[_0x2f3f('0x8')]&&!this[_0x2f3f('0x9')][_0x2f3f('0xd')](_0x432632)&&_0x432632[_0x2f3f('0xe')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x1167cc of this[_0x2f3f('0x3')][_0x2f3f('0x0')][_0x2f3f('0x0')]())_0x1167cc[_0x2f3f('0x8')]&&!this['_enabledCommands'][_0x2f3f('0xd')](_0x1167cc)&&_0x1167cc[_0x2f3f('0x4')](_0x2f3f('0xa'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3589=['FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','locale','ltr','registerDescriptionCallback','AlignmentEditing','has','*Format:*\x20%0','left','enableCommand','editor','get','TrackChangesEditing','model','_descriptionFactory','filter','markBlockFormat','getAttribute','value','plugins','right','alignment','FORMAT_ALIGN_TO_LEFT','justify','schema','document','center','commandName','afterInit','FORMAT_ALIGN_TO_RIGHT'];(function(_0x589240,_0x35891e){const _0x4e1235=function(_0x2d2f0f){while(--_0x2d2f0f){_0x589240['push'](_0x589240['shift']());}};_0x4e1235(++_0x35891e);}(_0x3589,0x1d8));const _0x4e12=function(_0x589240,_0x35891e){_0x589240=_0x589240-0x0;let _0x4e1235=_0x3589[_0x589240];return _0x4e1235;};import{Plugin as _0x48ab93}from'ckeditor5/src/core';import{getTranslation as _0x5c3094}from'../utils/common-translations';export default class x extends _0x48ab93{[_0x4e12('0x6')](){const _0x5d6556=this[_0x4e12('0x12')],_0x41d00f=_0x5d6556[_0x4e12('0xa')];if(!_0x5d6556[_0x4e12('0x1b')][_0x4e12('0xe')](_0x4e12('0xd')))return;const _0x15a0e5=_0x5d6556[_0x4e12('0x1b')][_0x4e12('0x13')](_0x4e12('0x14'));_0x15a0e5[_0x4e12('0x11')](_0x4e12('0x1d'),(_0x5342ca,_0x1f92a6={})=>{let _0x509c75=_0x1f92a6[_0x4e12('0x1a')];_0x1f92a6[_0x4e12('0x1a')]||(_0x509c75=_0x4e12('0xb')===_0x5d6556[_0x4e12('0xa')][_0x4e12('0x9')]?_0x4e12('0x10'):_0x4e12('0x1c'));const _0x2e021f=Array['from'](this[_0x4e12('0x12')][_0x4e12('0x15')][_0x4e12('0x3')]['selection']['getSelectedBlocks']())[_0x4e12('0x17')](_0x565bc3=>function(_0x55581b,_0x7c9c26,_0x547dcd){const _0x1f0e2f=_0x55581b[_0x4e12('0x19')](_0x4e12('0x1d'))||null;return _0x7c9c26['checkAttribute'](_0x55581b,'alignment')&&_0x547dcd!=_0x1f0e2f;}(_0x565bc3,this['editor'][_0x4e12('0x15')][_0x4e12('0x2')],_0x509c75));_0x5d6556[_0x4e12('0x15')]['change'](()=>{for(const _0x468fdd of _0x2e021f)_0x15a0e5[_0x4e12('0x18')](_0x468fdd,{'commandName':_0x4e12('0x1d'),'commandParams':[{'value':_0x509c75}]});});}),_0x15a0e5[_0x4e12('0x16')][_0x4e12('0xc')](_0x491cc2=>{const {data:_0x518e1f}=_0x491cc2;if(_0x518e1f&&_0x4e12('0x1d')==_0x518e1f[_0x4e12('0x5')]){const _0x35dc6a=_0x518e1f['commandParams'][0x0][_0x4e12('0x1a')];return{'type':'format','content':_0x5c3094(_0x41d00f,_0x4e12('0xf'),function(_0x23f3a7){switch(_0x23f3a7){case'left':return _0x5c3094(_0x41d00f,_0x4e12('0x0'));case _0x4e12('0x1c'):return _0x5c3094(_0x41d00f,_0x4e12('0x7'));case _0x4e12('0x4'):return _0x5c3094(_0x41d00f,_0x4e12('0x8'));case _0x4e12('0x1'):return _0x5c3094(_0x41d00f,'FORMAT_JUSTIFY_TEXT');}}(_0x35dc6a))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3019=['format','registerDescriptionCallback','FORMAT_ITALIC','plugins','FORMAT_BOLD','_descriptionFactory','FORMAT_SUPERSCRIPT','FORMAT_STRIKETHROUGH','value','enableCommand','BoldEditing','document','*Remove\x20format:*\x20%0','SuperscriptEditing','FORMAT_CODE','subscript','UnderlineEditing','change','CodeEditing','TrackChangesEditing','toLowerCase','ItalicEditing','has','selection','model','forceValue','editor','superscript','from','isCollapsed','StrikethroughEditing','commandName','commandParams'];(function(_0x306d89,_0x30197a){const _0x3cc268=function(_0x257665){while(--_0x257665){_0x306d89['push'](_0x306d89['shift']());}};_0x3cc268(++_0x30197a);}(_0x3019,0x12f));const _0x3cc2=function(_0x306d89,_0x30197a){_0x306d89=_0x306d89-0x0;let _0x3cc268=_0x3019[_0x306d89];return _0x3cc268;};import{Plugin as _0x2e0b4e}from'ckeditor5/src/core';import{getTranslation as _0xf99355}from'../utils/common-translations';import{getRangesWithAttribute as _0x460e3a}from'./utils';const Kt=[_0x3cc2('0x4'),_0x3cc2('0xf'),_0x3cc2('0xa'),_0x3cc2('0xc'),_0x3cc2('0x18'),'SubscriptEditing',_0x3cc2('0x7')];export default class U extends _0x2e0b4e{['afterInit'](){const _0x22c760=this[_0x3cc2('0x14')],_0x41b14a=_0x22c760[_0x3cc2('0x12')],_0x3d86ea=_0x22c760[_0x3cc2('0x1e')]['get'](_0x3cc2('0xd')),_0x1af73d=_0x22c760['locale'];for(const _0x2d4d5d of Kt){if(!_0x22c760['plugins'][_0x3cc2('0x10')](_0x2d4d5d))continue;const _0x893986=_0x2d4d5d['slice'](0x0,-0x7)[_0x3cc2('0xe')](),_0x5ee530=_0x22c760['commands']['get'](_0x893986);_0x3d86ea[_0x3cc2('0x3')](_0x893986,(_0x302873,_0x19f388={})=>{const _0x7227d2=_0x41b14a[_0x3cc2('0x5')][_0x3cc2('0x11')];if(_0x7227d2[_0x3cc2('0x17')])return void _0x302873(_0x19f388);const _0x37b2f1=void 0x0!==_0x19f388[_0x3cc2('0x13')]?_0x19f388['forceValue']:!_0x5ee530[_0x3cc2('0x2')];_0x41b14a[_0x3cc2('0xb')](()=>{const _0x363371=Array[_0x3cc2('0x16')](_0x7227d2['getRanges']());for(const _0x34c2b3 of _0x363371){const _0x5774e7=_0x37b2f1?[_0x34c2b3]:_0x460e3a(_0x893986,_0x34c2b3,_0x41b14a);for(const _0x587a40 of _0x5774e7)_0x3d86ea['markInlineFormat'](_0x587a40,{'commandName':_0x893986,'commandParams':[{'forceValue':_0x37b2f1}]});}});});}function _0x36a535(_0x3ce229,_0x4afad9){_0x3d86ea[_0x3cc2('0x20')][_0x3cc2('0x1c')](_0x4a175f=>{const {data:_0x29ab08}=_0x4a175f;if(_0x29ab08&&_0x29ab08[_0x3cc2('0x19')]===_0x3ce229)return _0x29ab08[_0x3cc2('0x1a')][0x0]['forceValue']?{'type':_0x3cc2('0x1b'),'content':_0xf99355(_0x1af73d,'*Format:*\x20%0',_0x4afad9)}:{'type':_0x3cc2('0x1b'),'content':_0xf99355(_0x1af73d,_0x3cc2('0x6'),_0x4afad9)};});}_0x36a535('bold',_0xf99355(_0x1af73d,_0x3cc2('0x1f'))),_0x36a535('italic',_0xf99355(_0x1af73d,_0x3cc2('0x1d'))),_0x36a535('underline',_0xf99355(_0x1af73d,'FORMAT_UNDERLINE')),_0x36a535('code',_0xf99355(_0x1af73d,_0x3cc2('0x8'))),_0x36a535('strikethrough',_0xf99355(_0x1af73d,_0x3cc2('0x1'))),_0x36a535(_0x3cc2('0x9'),_0xf99355(_0x1af73d,'FORMAT_SUBSCRIPT')),_0x36a535(_0x3cc2('0x15'),_0xf99355(_0x1af73d,_0x3cc2('0x0')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1087=['filter','commandParams','blockQuote','registerDescriptionCallback','getSelectedBlocks','schema','afterInit','change','get','editor','locale','forceValue','commandName','enableCommand','format','parent','*Remove\x20format:*\x20%0','name','ELEMENT_BLOCK_QUOTE','plugins','commands','checkChild','selection','model','BlockQuoteEditing','*Format:*\x20%0','has','document','from','markBlockFormat','$root'];(function(_0x26e0ec,_0x108750){const _0x5e6676=function(_0x42c327){while(--_0x42c327){_0x26e0ec['push'](_0x26e0ec['shift']());}};_0x5e6676(++_0x108750);}(_0x1087,0x107));const _0x5e66=function(_0x26e0ec,_0x108750){_0x26e0ec=_0x26e0ec-0x0;let _0x5e6676=_0x1087[_0x26e0ec];return _0x5e6676;};import{Plugin as _0x4c231e}from'ckeditor5/src/core';import{getTranslation as _0xf4a02b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x58767e}from'../utils/utils';export default class j extends _0x4c231e{[_0x5e66('0x16')](){const _0x2e6c12=this['editor'],_0x3718a7=_0x2e6c12[_0x5e66('0x1a')];if(!_0x2e6c12[_0x5e66('0x4')][_0x5e66('0xb')](_0x5e66('0x9')))return;const _0x3f38d0=_0x2e6c12[_0x5e66('0x4')][_0x5e66('0x18')]('TrackChangesEditing'),_0xb173bd=this[_0x5e66('0x19')][_0x5e66('0x5')]['get'](_0x5e66('0x12'));_0x3f38d0[_0x5e66('0x1d')]('blockQuote',(_0x4afd9d,_0x17ba9e={})=>{const _0x3e681c=this[_0x5e66('0x19')]['model'][_0x5e66('0xc')][_0x5e66('0x7')],_0x5dedeb=_0x17ba9e&&void 0x0!==_0x17ba9e[_0x5e66('0x1b')]?_0x17ba9e[_0x5e66('0x1b')]:!_0xb173bd['value'];let _0x1574ba=[];if(_0x5dedeb){const _0x2854b5=Array[_0x5e66('0xd')](_0x3e681c[_0x5e66('0x14')]())[_0x5e66('0x10')](_0x1adb23=>Xt(_0x1adb23)||function(_0x9e3f80,_0x5e5ecb){const _0x19397c=_0x5e5ecb[_0x5e66('0x6')](_0x9e3f80['parent'],_0x5e66('0x12')),_0x117b90=_0x5e5ecb[_0x5e66('0x6')]([_0x5e66('0xf'),_0x5e66('0x12')],_0x9e3f80);return _0x19397c&&_0x117b90;}(_0x1adb23,this['editor']['model'][_0x5e66('0x15')]));_0x1574ba=_0x58767e(_0x2854b5,_0x2e6c12['model']);}else{const _0x1fdf2a=Array[_0x5e66('0xd')](_0x3e681c[_0x5e66('0x14')]())[_0x5e66('0x10')](_0x54bbab=>Xt(_0x54bbab));_0x1574ba=_0x58767e(_0x1fdf2a,_0x2e6c12['model']);}_0x2e6c12[_0x5e66('0x8')][_0x5e66('0x17')](()=>{for(const _0x286376 of _0x1574ba)_0x3f38d0[_0x5e66('0xe')](_0x286376,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x5dedeb}]});});}),_0x3f38d0['_descriptionFactory'][_0x5e66('0x13')](_0x129f38=>{const {data:_0x3ac977}=_0x129f38;if(_0x3ac977&&'blockQuote'==_0x3ac977[_0x5e66('0x1c')]){const _0x1491bf=_0xf4a02b(_0x3718a7,_0x5e66('0x3'));return _0x3ac977[_0x5e66('0x11')][0x0]['forceValue']?{'type':_0x5e66('0x1e'),'content':_0xf4a02b(_0x3718a7,_0x5e66('0xa'),_0x1491bf)}:{'type':'format','content':_0xf4a02b(_0x3718a7,_0x5e66('0x1'),_0x1491bf)};}});}}function Xt(_0xd1ce84){return _0x5e66('0x12')==_0xd1ce84[_0x5e66('0x0')][_0x5e66('0x2')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25e2=['afterInit','ckbox','TrackChangesEditing','enableCommand','editor','get'];(function(_0x387af7,_0x25e2c7){const _0x445e67=function(_0x4f5310){while(--_0x4f5310){_0x387af7['push'](_0x387af7['shift']());}};_0x445e67(++_0x25e2c7);}(_0x25e2,0x151));const _0x445e=function(_0x387af7,_0x25e2c7){_0x387af7=_0x387af7-0x0;let _0x445e67=_0x25e2[_0x387af7];return _0x445e67;};import{Plugin as _0x4b9eb8}from'ckeditor5/src/core';export default class E extends _0x4b9eb8{[_0x445e('0x5')](){const _0x3d934c=this[_0x445e('0x3')];_0x3d934c['commands'][_0x445e('0x4')](_0x445e('0x0'))&&_0x3d934c['plugins'][_0x445e('0x4')](_0x445e('0x1'))[_0x445e('0x2')](_0x445e('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdcf1=['indentCodeBlock','getSelectedBlocks','value','label','*Format:*\x20%0','markBlockFormat','codeBlock','parent','find','CodeBlock','TrackChangesEditing','locale','model','change','afterInit','isLimit','checkChild','format','has','rootElement','language','_descriptionFactory','enableCommand','document','get','blockName','formatBlock','from','plugins','registerElementLabel','name','filter','forceValue','commandParams','schema','ELEMENT_CODE_BLOCK','commands','*Remove\x20format:*\x20%0'];(function(_0x3b4a89,_0xdcf19e){const _0xaed1c6=function(_0x398356){while(--_0x398356){_0x3b4a89['push'](_0x3b4a89['shift']());}};_0xaed1c6(++_0xdcf19e);}(_0xdcf1,0x15d));const _0xaed1=function(_0x3b4a89,_0xdcf19e){_0x3b4a89=_0x3b4a89-0x0;let _0xaed1c6=_0xdcf1[_0x3b4a89];return _0xaed1c6;};import{Plugin as _0x3dcc7d}from'ckeditor5/src/core';import{getTranslation as _0x3b9988}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x156507}from'../utils/utils';export default class O extends _0x3dcc7d{[_0xaed1('0x7')](){const _0x3ca03d=this['editor'];if(!_0x3ca03d[_0xaed1('0x15')][_0xaed1('0xb')](_0xaed1('0x2')))return;const _0x5b53fb=_0x3ca03d[_0xaed1('0x15')][_0xaed1('0x11')](_0xaed1('0x3')),_0x196e77=_0x3ca03d[_0xaed1('0x4')],_0x321c18=_0x3ca03d['config'][_0xaed1('0x11')](_0xaed1('0x25'))['languages'],_0x4f821c=_0x3ca03d[_0xaed1('0x1d')][_0xaed1('0x11')](_0xaed1('0x25'));_0x5b53fb[_0xaed1('0xf')](_0xaed1('0x1f')),_0x5b53fb[_0xaed1('0xf')]('outdentCodeBlock'),_0x5b53fb[_0xaed1('0xf')](_0xaed1('0x25'),(_0x18800c,_0x326bd2={})=>{const _0x2ff30b=_0x3ca03d[_0xaed1('0x5')],_0x36368a=_0x3ca03d[_0xaed1('0x5')][_0xaed1('0x10')]['selection'],_0x30dcf7=_0x326bd2&&void 0x0!==_0x326bd2[_0xaed1('0x19')]?_0x326bd2[_0xaed1('0x19')]:!_0x4f821c[_0xaed1('0x21')];let _0x2ba09c;_0x326bd2['language']||(_0x326bd2[_0xaed1('0xd')]=_0x321c18[0x0]['language']),_0x2ba09c=_0x30dcf7?Array[_0xaed1('0x14')](_0x36368a[_0xaed1('0x20')]())['filter'](_0x1e8d73=>oo(_0x1e8d73)||function(_0x57eb04,_0x4b67fb){if(_0x57eb04['is'](_0xaed1('0xc'))||_0x4b67fb[_0xaed1('0x8')](_0x57eb04))return!0x1;return _0x4b67fb[_0xaed1('0x9')](_0x57eb04[_0xaed1('0x0')],_0xaed1('0x25'));}(_0x1e8d73,_0x2ff30b[_0xaed1('0x1b')])):Array['from'](_0x36368a['getSelectedBlocks']())[_0xaed1('0x18')](_0x52174d=>oo(_0x52174d));const _0x47f7ac=_0x156507(_0x2ba09c,_0x2ff30b);_0x2ff30b[_0xaed1('0x6')](()=>{for(const _0x3053ee of _0x47f7ac)_0x5b53fb[_0xaed1('0x24')](_0x3053ee,{'commandName':'codeBlock','commandParams':[{..._0x326bd2,'forceValue':_0x30dcf7}],'formatGroupId':_0xaed1('0x12')});});}),(_0x5b53fb[_0xaed1('0xe')][_0xaed1('0x16')](_0xaed1('0x25'),_0x27acc8=>_0x3b9988(_0x196e77,_0xaed1('0x1c'),_0x27acc8)),_0x5b53fb[_0xaed1('0xe')]['registerDescriptionCallback'](_0x48c716=>{const _0x29cdad=_0x196e77['t'],{type:_0x5b9ce4,data:_0x19c958}=_0x48c716;if(_0xaed1('0x13')==_0x5b9ce4&&_0x19c958&&_0xaed1('0x25')==_0x19c958['commandName']){const _0x49fed7=_0x19c958[_0xaed1('0x1a')][0x0][_0xaed1('0xd')],_0x5d09f3=_0x29cdad(_0x321c18[_0xaed1('0x1')](_0x40ce07=>_0x40ce07[_0xaed1('0xd')]===_0x49fed7)[_0xaed1('0x22')]);return _0x19c958[_0xaed1('0x1a')][0x0][_0xaed1('0x19')]?{'type':_0xaed1('0xa'),'content':_0x3b9988(_0x196e77,_0xaed1('0x23'),_0x3b9988(_0x196e77,_0xaed1('0x1c'),0x1)+'\x20('+_0x5d09f3+')')}:{'type':_0xaed1('0xa'),'content':_0x3b9988(_0x196e77,_0xaed1('0x1e'),_0x3b9988(_0x196e77,_0xaed1('0x1c'),0x1))};}}));}}function oo(_0x3e68a2){return _0xaed1('0x25')==_0x3e68a2[_0xaed1('0x17')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14cf=['enableCommand','addCommentThread','has','TrackChangesEditing','CommentsEditing','get','plugins'];(function(_0xe6a0af,_0x14cf0f){const _0x13a96c=function(_0x408b3e){while(--_0x408b3e){_0xe6a0af['push'](_0xe6a0af['shift']());}};_0x13a96c(++_0x14cf0f);}(_0x14cf,0xa0));const _0x13a9=function(_0xe6a0af,_0x14cf0f){_0xe6a0af=_0xe6a0af-0x0;let _0x13a96c=_0x14cf[_0xe6a0af];return _0x13a96c;};import{Plugin as _0x4ff2cd}from'ckeditor5/src/core';export default class F extends _0x4ff2cd{['afterInit'](){const _0x1a9a3d=this['editor'];if(!_0x1a9a3d[_0x13a9('0x0')][_0x13a9('0x3')](_0x13a9('0x5')))return;_0x1a9a3d['plugins'][_0x13a9('0x6')](_0x13a9('0x4'))[_0x13a9('0x1')](_0x13a9('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c34=['removeMarker:suggestion:deletion','getFirstRange','enqueueChange','buffer','start','TrackChangesEditing','end','createRange','mapper','addMarker:suggestion:deletion','root','delete','high','downcastDispatcher','modifySelection','merge','model','options','bind','markerNameToElements','plugins','batch','lock','isCollapsed','data','deleteForward','document','unit','markerName','fromRange','setSelection','remove','unlock','init','editing','showSuggestionHighlights','selection','commands'];(function(_0x9b7c60,_0x2c34f4){const _0x2e1486=function(_0x160c80){while(--_0x160c80){_0x9b7c60['push'](_0x9b7c60['shift']());}};_0x2e1486(++_0x2c34f4);}(_0x2c34,0x8c));const _0x2e14=function(_0x9b7c60,_0x2c34f4){_0x9b7c60=_0x9b7c60-0x0;let _0x2e1486=_0x2c34[_0x9b7c60];return _0x2e1486;};import{Plugin as _0x5e8051}from'ckeditor5/src/core';import{LiveRange as _0x242d6f}from'ckeditor5/src/engine';import{Delete as _0x53a33c}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x4b3c52}from'./utils';export default class G extends _0x5e8051{static get['requires'](){return[_0x53a33c];}[_0x2e14('0x7')](){const _0x1e7d56=this['editor'],_0x547bd6=_0x1e7d56[_0x2e14('0x20')]['get'](_0x2e14('0x11'));_0x547bd6['enableCommand'](_0x2e14('0x17'));const _0x5b6538=_0x1e7d56[_0x2e14('0xb')]['get'](_0x2e14('0x25'));_0x547bd6['enableCommand'](_0x2e14('0x25'),(_0x12da47,_0x433c99={})=>{const _0x1d6203=_0x1e7d56['model']['createSelection'](_0x1e7d56['model'][_0x2e14('0x0')][_0x2e14('0xa')]);_0x1d6203[_0x2e14('0x23')]&&_0x1e7d56[_0x2e14('0x1c')][_0x2e14('0x1a')](_0x1d6203,{'direction':'forward','unit':_0x433c99[_0x2e14('0x1')]});const _0x2da888=_0x1d6203[_0x2e14('0xd')](),_0x228758=_0x242d6f[_0x2e14('0x3')](_0x2da888);let _0xb9a71c;_0x12da47(_0x433c99),_0xb9a71c='$graveyard'==_0x228758[_0x2e14('0x16')]['rootName']?_0x1e7d56[_0x2e14('0x1c')]['createRange'](_0x2da888[_0x2e14('0x10')]):_0x1e7d56['model']['createRange'](_0x228758[_0x2e14('0x10')],_0x228758[_0x2e14('0x12')]),_0x228758['detach'](),_0x1e7d56[_0x2e14('0x1c')][_0x2e14('0xe')](_0x5b6538[_0x2e14('0xf')][_0x2e14('0x21')],_0x2df415=>{_0x5b6538[_0x2e14('0xf')][_0x2e14('0x22')](),_0x2df415[_0x2e14('0x4')](_0x2df415[_0x2e14('0x13')](_0xb9a71c[_0x2e14('0x12')])),_0x5b6538[_0x2e14('0xf')][_0x2e14('0x6')]();});}),_0x1e7d56[_0x2e14('0x8')]['downcastDispatcher']['on'](_0x2e14('0x15'),_0x4b3c52(_0x1e7d56,_0x2e14('0x1b')),{'priority':_0x2e14('0x18')}),_0x1e7d56[_0x2e14('0x24')][_0x2e14('0x19')]['on'](_0x2e14('0x15'),(_0x815f02,_0x22c5c5,_0x2a1046)=>{_0x2a1046[_0x2e14('0x1d')][_0x2e14('0x9')]&&_0x4b3c52(_0x1e7d56,_0x2e14('0x1b'),{'showActiveMarker':!0x1})[_0x2e14('0x1e')](this)(_0x815f02,_0x22c5c5,_0x2a1046);},{'priority':_0x2e14('0x18')}),_0x1e7d56[_0x2e14('0x8')][_0x2e14('0x19')]['on'](_0x2e14('0xc'),(_0x59c423,_0x304d2a,_0x45612e)=>{const _0x4cf4bf=_0x45612e[_0x2e14('0x14')][_0x2e14('0x1f')](_0x304d2a['markerName']);if(_0x4cf4bf)for(const _0x17497c of _0x4cf4bf)_0x17497c['is']('uiElement')&&(_0x45612e[_0x2e14('0x14')]['unbindElementFromMarkerName'](_0x17497c,_0x304d2a[_0x2e14('0x2')]),_0x45612e['writer'][_0x2e14('0x5')](_0x17497c));},{'priority':_0x2e14('0x18')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x105b=['commands','ELEMENT_NUMBERED_LIST','length','fromRange','multipleBlocks','getFirstRange','containsItem','commandParams','nodeAfter','isFirstBlockOfListItem','hasAttribute','toUpperCase','setSelection','refresh','format','value','formatBlock','_descriptionFactory','registerCustomCallback','createRange','nextSibling','add','findIndex','*Merge:*\x20%0','indentList','DocumentListEditing','ELEMENT_LIST_ITEM','has','enableCommand','previousSibling','start','markBlockFormat','getAttribute','*Change\x20to:*\x20%0','ELEMENT_','registerElementLabel','bulletedList','splitListItemAfter','listType','listIndent','detach','getRanges','forceValue','execute','getSelectedBlocks','markMultiRangeBlockFormat','editor','*Indent:*\x20%0','*Outdent:*\x20%0','*Format:*\x20remove\x20from\x20%0','get','parent','selection','from','DocumentListUtils','before','mergeListItemForward','createPositionAt','plugins','_suggestionFactory','splitListItemBefore','isObject','commandName','push','outdentList','model','change','end','after','next','expandListBlocksToCompleteList','listItemId','*Format:*\x20insert\x20into\x20%0','afterInit','registerDescriptionCallback','numberedList','document','documentList','_LIST','mergeListItemBackward'];(function(_0x263c05,_0x105b41){const _0x1347ec=function(_0x4b8d35){while(--_0x4b8d35){_0x263c05['push'](_0x263c05['shift']());}};_0x1347ec(++_0x105b41);}(_0x105b,0x104));const _0x1347=function(_0x263c05,_0x105b41){_0x263c05=_0x263c05-0x0;let _0x1347ec=_0x105b[_0x263c05];return _0x1347ec;};import{Plugin as _0x14f287}from'ckeditor5/src/core';import{getTranslation as _0x7bb62f}from'../utils/common-translations';import{LiveRange as _0x3e8922}from'ckeditor5/src/engine';export default class L extends _0x14f287{[_0x1347('0x35')](){const _0xbd4122=this[_0x1347('0x1a')];if(!_0xbd4122[_0x1347('0x26')][_0x1347('0x7')](_0x1347('0x5')))return;const _0x20a82b=_0xbd4122['locale'],_0xdcda64=_0xbd4122[_0x1347('0x26')][_0x1347('0x1e')]('TrackChangesEditing'),_0x5b094c=_0xbd4122['plugins'][_0x1347('0x1e')](_0x1347('0x22'));function _0x747751(_0x4ebbea){return()=>{const _0x29f7fd=_0xbd4122[_0x1347('0x3c')]['get'](_0x4ebbea);let _0x1d1e74=Array[_0x1347('0x21')](_0xbd4122[_0x1347('0x2d')][_0x1347('0x38')][_0x1347('0x20')][_0x1347('0x18')]());if(_0x245339(_0x4ebbea)){_0x1d1e74=_0x5b094c[_0x1347('0x32')](_0x1d1e74);const _0x331d8f=[];for(const _0x492f71 of _0x1d1e74)_0x5b094c[_0x1347('0x45')](_0x492f71)&&_0x331d8f['push'](_0x492f71);_0x1d1e74=_0x331d8f;}_0xbd4122[_0x1347('0x2d')][_0x1347('0x2e')](()=>{_0xdcda64[_0x1347('0x19')](_0x1d1e74,{'commandName':_0x4ebbea,'commandParams':[{'forceValue':!_0x29f7fd['value']}],'formatGroupId':'listType'},[],_0x1347('0x39'));});};}function _0x349315(_0x59cc52){return()=>{const _0x4e79e8=function(_0x3ad8bc){let _0x4cd70b=Array[_0x1347('0x21')](_0x3ad8bc);const _0x11b08b=_0x4cd70b[_0x1347('0x2')](_0x8f02e8=>!_0x8f02e8[_0x1347('0x46')](_0x1347('0x33')));return _0x11b08b>-0x1&&(_0x4cd70b=_0x4cd70b['slice'](0x0,_0x11b08b)),_0x4cd70b;}(_0xbd4122['model'][_0x1347('0x38')][_0x1347('0x20')][_0x1347('0x18')]()),_0x4f1fd7=_0x4e79e8[_0x4e79e8[_0x1347('0x3e')]-0x1],_0x3702f8=_0xbd4122[_0x1347('0x2d')]['schema']['isObject'](_0x4f1fd7)?_0x1347('0x30'):_0x1347('0x2f'),_0x44eaaa=_0xbd4122[_0x1347('0x2d')][_0x1347('0x4f')](_0xbd4122[_0x1347('0x2d')][_0x1347('0x25')](_0x4e79e8[0x0],'before'),_0xbd4122[_0x1347('0x2d')][_0x1347('0x25')](_0x4f1fd7,_0x3702f8));_0xbd4122[_0x1347('0x2d')][_0x1347('0x2e')](()=>{_0xdcda64[_0x1347('0xb')](_0x44eaaa,{'commandName':_0x59cc52,'commandParams':[],'formatGroupId':_0x1347('0x12')},function(_0x370c81){const _0x36cfff=new Set();for(const _0x511f2d of _0x370c81){let _0x2854b2=_0x511f2d[_0x1347('0x0')];for(;_0x2854b2&&_0x2854b2[_0x1347('0xc')](_0x1347('0x13'))>_0x511f2d[_0x1347('0xc')](_0x1347('0x13'));)_0x36cfff[_0x1347('0x1')](_0x2854b2),_0x2854b2=_0x2854b2[_0x1347('0x0')];}return Array[_0x1347('0x21')](_0x36cfff);}(_0x4e79e8));});};}function _0x1fb3c5(_0x199d1a){return()=>{const _0x23b075=_0xbd4122[_0x1347('0x2d')][_0x1347('0x38')][_0x1347('0x20')][_0x1347('0x18')]()[_0x1347('0x31')]()[_0x1347('0x4b')],_0x2f95dd=_0xbd4122[_0x1347('0x2d')]['createPositionAt'](_0x23b075,_0x1347('0x23')),_0x3ca283=_0xbd4122[_0x1347('0x2d')][_0x1347('0x25')](_0x23b075,0x0),_0x1212c9=_0xbd4122[_0x1347('0x2d')]['createRange'](_0x2f95dd,_0x3ca283);_0xbd4122[_0x1347('0x2d')][_0x1347('0x2e')](()=>{_0xdcda64['markBlockFormat'](_0x1212c9,{'commandName':_0x199d1a,'commandParams':[],'formatGroupId':_0x1347('0x12')});});};}function _0x245339(_0x4758f8){const _0x11578f=_0xbd4122['commands'][_0x1347('0x1e')](_0x1347('0x10'))['value'],_0x3b0eb3=_0xbd4122['commands'][_0x1347('0x1e')](_0x1347('0x37'))['value'];return _0x1347('0x37')===_0x4758f8?_0x11578f:_0x3b0eb3;}_0xdcda64['enableCommand'](_0x1347('0x37'),_0x747751(_0x1347('0x37'))),_0xdcda64[_0x1347('0x8')](_0x1347('0x10'),_0x747751(_0x1347('0x10'))),_0xdcda64[_0x1347('0x8')](_0x1347('0x4'),_0x349315(_0x1347('0x4'))),_0xdcda64[_0x1347('0x8')]('outdentList',_0x349315(_0x1347('0x2c'))),_0xdcda64['enableCommand'](_0x1347('0x11'),_0x1fb3c5('splitListItemAfter')),_0xdcda64[_0x1347('0x8')](_0x1347('0x28'),_0x1fb3c5(_0x1347('0x28'))),_0xdcda64[_0x1347('0x4d')][_0x1347('0xf')](function(_0xac119e){const _0x4f70ba=!_0xbd4122[_0x1347('0x2d')]['schema'][_0x1347('0x29')](_0xac119e),_0x38404e=_0xac119e[_0x1347('0x9')],_0x350986=_0xac119e[_0x1347('0x0')],_0x59ca72=_0xac119e[_0x1347('0xc')](_0x1347('0x33')),_0x1f59d0=!_0x38404e||_0x38404e[_0x1347('0xc')](_0x1347('0x33'))!==_0x59ca72,_0x489d74=!_0x350986||_0x350986[_0x1347('0xc')](_0x1347('0x33'))!==_0x59ca72;return _0x4f70ba&&Boolean(_0x59ca72)&&_0x1f59d0&&_0x489d74;},_0xeeb3a4=>_0x7bb62f(_0x20a82b,'ELEMENT_LIST_ITEM',_0xeeb3a4)),_0xdcda64[_0x1347('0x4d')][_0x1347('0x36')](function(_0x26f904){const {data:_0x2a025f}=_0x26f904;if(!_0x2a025f)return;let _0x58e4a6,_0x5864b6,_0xf53d24,_0x5797ff;switch(_0x2a025f[_0x1347('0x2a')]){case _0x1347('0x10'):_0xf53d24=_0x2a025f[_0x1347('0x43')][0x0][_0x1347('0x16')],_0x5797ff=_0x245339(_0x2a025f[_0x1347('0x2a')]),_0x58e4a6=_0xf53d24?_0x1347('0x34'):'*Format:*\x20remove\x20from\x20%0',_0x5797ff&&(_0x58e4a6=_0x1347('0xd')),_0x5864b6={'type':_0x1347('0x4a'),'content':_0x7bb62f(_0x20a82b,_0x58e4a6,_0x7bb62f(_0x20a82b,'ELEMENT_BULLETED_LIST'))};break;case _0x1347('0x37'):_0xf53d24=_0x2a025f[_0x1347('0x43')][0x0][_0x1347('0x16')],_0x5797ff=_0x245339(_0x2a025f[_0x1347('0x2a')]),_0x58e4a6=_0xf53d24?_0x1347('0x34'):_0x1347('0x1d'),_0x5797ff&&(_0x58e4a6='*Change\x20to:*\x20%0'),_0x5864b6={'type':_0x1347('0x4a'),'content':_0x7bb62f(_0x20a82b,_0x58e4a6,_0x7bb62f(_0x20a82b,_0x1347('0x3d')))};break;case _0x1347('0x4'):_0x58e4a6=_0x1347('0x1b'),_0x5864b6={'type':_0x1347('0x4a'),'content':_0x7bb62f(_0x20a82b,_0x58e4a6,_0x7bb62f(_0x20a82b,_0x1347('0x6')))};break;case'outdentList':_0x58e4a6=function(_0x5df65b){const _0x3d34d5=_0x5df65b[_0x1347('0x41')]();let _0x4cc394=_0x3d34d5[_0x1347('0xa')][_0x1347('0x44')];for(;_0x4cc394&&_0x3d34d5[_0x1347('0x42')](_0x4cc394);){if(_0x4cc394[_0x1347('0xc')](_0x1347('0x13'))>0x0)return!0x1;_0x4cc394=_0x4cc394['nextSibling'];}return!0x0;}(_0x26f904)?_0x7bb62f(_0x20a82b,_0x1347('0x1d'),_0x7bb62f(_0x20a82b,function(_0x42051c){const _0x12ff6f=_0x42051c[_0x1347('0x41')]()[_0x1347('0xa')][_0x1347('0x44')];return _0x1347('0xe')+_0x12ff6f['getAttribute'](_0x1347('0x12'))[_0x1347('0x47')]()+_0x1347('0x3a');}(_0x26f904))):_0x7bb62f(_0x20a82b,_0x1347('0x1c'),_0x7bb62f(_0x20a82b,_0x1347('0x6'))),_0x5864b6={'type':'format','content':_0x58e4a6};break;case _0x1347('0x3b'):case _0x1347('0x24'):!0x1===_0x2a025f[_0x1347('0x40')]&&(_0x58e4a6=_0x1347('0x3'),_0x5864b6={'type':'deletion','content':_0x7bb62f(_0x20a82b,_0x58e4a6,_0x7bb62f(_0x20a82b,_0x1347('0x6')))});}return _0x5864b6;}),_0xdcda64[_0x1347('0x27')][_0x1347('0x4e')](_0x1347('0x4c'),_0x1347('0x39'),'accept',function(_0xa2291d,_0x56ed71){const _0x1b76f1=[];for(let _0x4ce099 of _0xa2291d)_0x4ce099[_0x1347('0xa')][_0x1347('0x44')]===_0x4ce099['end'][_0x1347('0x1f')]&&(_0x4ce099=_0xbd4122[_0x1347('0x2d')][_0x1347('0x4f')](_0xbd4122[_0x1347('0x2d')][_0x1347('0x25')](_0x4ce099[_0x1347('0xa')]['nodeAfter'],0x0))),_0x1b76f1[_0x1347('0x2b')](_0x4ce099);_0xbd4122[_0x1347('0x2d')]['change'](_0x1df122=>{const _0x4ffe62=_0xbd4122[_0x1347('0x2d')][_0x1347('0x38')][_0x1347('0x20')],_0x3b18f7=Array[_0x1347('0x21')](_0x4ffe62[_0x1347('0x15')]())['map'](_0x4a411c=>_0x3e8922[_0x1347('0x3f')](_0x4a411c));_0x1df122['setSelection'](_0x1b76f1),_0xbd4122[_0x1347('0x3c')][_0x1347('0x1e')](_0x56ed71[_0x1347('0x2a')])[_0x1347('0x49')](),_0x56ed71['commandParams'][_0x1347('0x2b')]({'forceDefaultExecution':!0x0}),_0xbd4122[_0x1347('0x17')](_0x56ed71[_0x1347('0x2a')],..._0x56ed71[_0x1347('0x43')]),_0x1df122[_0x1347('0x48')](_0x3b18f7);for(const _0x32454f of _0x3b18f7)_0x32454f[_0x1347('0x14')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb1c2=['push','numbered','expandListBlocksToCompleteList','format','locale','model','reversed','getSelectedBlocks','*Change\x20to:*\x20%0','from','_LIST_','DocumentListPropertiesUtils','DocumentListUtils','bind','filter','toUpperCase','document','listStyle','plugins','handleListReversedCommand','afterInit','commandParams','has','length','handleDescriptions','getAttribute','type','replace','editor','listStart','startIndex','getListTypeFromListStyleType','handleListStyleCommand','_getTranslationKeyForListStyle','listType','get','listReversed','list.properties','selection','change','markMultiRangeBlockFormat','enableCommand','handleListStartCommand','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20reversed','styles','DocumentListPropertiesEditing'];(function(_0x5a5b41,_0xb1c287){const _0x15ff2c=function(_0x598cca){while(--_0x598cca){_0x5a5b41['push'](_0x5a5b41['shift']());}};_0x15ff2c(++_0xb1c287);}(_0xb1c2,0x1df));const _0x15ff=function(_0x5a5b41,_0xb1c287){_0x5a5b41=_0x5a5b41-0x0;let _0x15ff2c=_0xb1c2[_0x5a5b41];return _0x15ff2c;};import{Plugin as _0x511fda}from'ckeditor5/src/core';import{getTranslation as _0x3a5ef8}from'../utils/common-translations';export default class At extends _0x511fda{[_0x15ff('0xb')](){if(!this['editor'][_0x15ff('0x9')][_0x15ff('0xd')](_0x15ff('0x25')))return;const _0x36e9dd=this[_0x15ff('0x13')]['config'][_0x15ff('0x1a')](_0x15ff('0x1c')),_0x395d90=this[_0x15ff('0x13')][_0x15ff('0x9')][_0x15ff('0x1a')](_0x15ff('0x22'));_0x36e9dd[_0x15ff('0x24')]&&_0x395d90[_0x15ff('0x20')]('listStyle',this[_0x15ff('0x17')]['bind'](this)),_0x36e9dd[_0x15ff('0x2c')]&&_0x395d90[_0x15ff('0x20')](_0x15ff('0x1b'),this[_0x15ff('0xa')][_0x15ff('0x4')](this)),_0x36e9dd[_0x15ff('0x15')]&&_0x395d90[_0x15ff('0x20')](_0x15ff('0x14'),this[_0x15ff('0x21')][_0x15ff('0x4')](this)),_0x395d90['_descriptionFactory']['registerDescriptionCallback'](this[_0x15ff('0xf')]['bind'](this));}[_0x15ff('0x17')](_0x930762,_0x23736d={}){const _0x19efa8=this[_0x15ff('0x13')][_0x15ff('0x9')][_0x15ff('0x1a')]('TrackChangesEditing'),_0x3d5884=this['_getSuggestionBlocksForListStyle']();this[_0x15ff('0x13')][_0x15ff('0x2b')][_0x15ff('0x1e')](()=>{_0x19efa8[_0x15ff('0x1f')](_0x3d5884,{'commandName':_0x15ff('0x8'),'commandParams':[{'type':_0x23736d['type']}],'formatGroupId':_0x15ff('0x8')});});}[_0x15ff('0xa')](_0x20024e,_0x2426eb={}){const _0xd3f39f=this[_0x15ff('0x13')][_0x15ff('0x9')][_0x15ff('0x1a')](_0x15ff('0x22')),_0x28443e=this[_0x15ff('0x13')][_0x15ff('0x9')][_0x15ff('0x1a')](_0x15ff('0x3')),_0x1860ed=this['_getSuggestionBlocks'](_0x274021=>_0x28443e['isListItemBlock'](_0x274021)&&_0x15ff('0x27')===_0x274021['getAttribute'](_0x15ff('0x19')));null!==_0x1860ed&&this[_0x15ff('0x13')][_0x15ff('0x2b')][_0x15ff('0x1e')](()=>{_0xd3f39f['markMultiRangeBlockFormat'](_0x1860ed,{'commandName':'listReversed','commandParams':[{'reversed':_0x2426eb[_0x15ff('0x2c')]}],'formatGroupId':_0x15ff('0x1b')});});}[_0x15ff('0x21')](_0x3f9a62,_0x2f85fc={}){const _0x59070b=this[_0x15ff('0x13')]['plugins']['get']('TrackChangesEditing'),_0x1ad1ba=this['editor'][_0x15ff('0x9')][_0x15ff('0x1a')](_0x15ff('0x3')),_0x5ca813=this['_getSuggestionBlocks'](_0x23a87b=>_0x1ad1ba['isListItemBlock'](_0x23a87b)&&_0x15ff('0x27')===_0x23a87b[_0x15ff('0x10')]('listType'));null!==_0x5ca813&&this[_0x15ff('0x13')][_0x15ff('0x2b')][_0x15ff('0x1e')](()=>{_0x59070b[_0x15ff('0x1f')](_0x5ca813,{'commandName':_0x15ff('0x14'),'commandParams':[{'startIndex':_0x2f85fc[_0x15ff('0x15')]}],'formatGroupId':_0x15ff('0x14')});});}[_0x15ff('0xf')](_0x270430){const _0xf061a0=this[_0x15ff('0x13')][_0x15ff('0x2a')],{data:_0x2731d2}=_0x270430;if(!_0x2731d2)return;let _0x22437f,_0x56f184;switch(_0x2731d2['commandName']){case _0x15ff('0x8'):_0x22437f=_0x15ff('0x2e'),_0x56f184={'type':_0x15ff('0x29'),'content':_0x3a5ef8(_0xf061a0,_0x22437f,_0x3a5ef8(_0xf061a0,this['_getTranslationKeyForListStyle'](_0x2731d2[_0x15ff('0xc')][0x0][_0x15ff('0x11')])))};break;case'listReversed':_0x22437f=_0x2731d2['commandParams'][0x0][_0x15ff('0x2c')]?_0x15ff('0x23'):'*Format:*\x20set\x20order\x20to\x20regular',_0x56f184={'type':_0x15ff('0x29'),'content':_0x3a5ef8(_0xf061a0,_0x22437f)};break;case'listStart':_0x22437f='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x56f184={'type':_0x15ff('0x29'),'content':_0x3a5ef8(_0xf061a0,_0x22437f,_0x2731d2['commandParams'][0x0]['startIndex'])};}return _0x56f184;}['_getSuggestionBlocksForListStyle'](){const _0x422a70=this[_0x15ff('0x13')][_0x15ff('0x9')][_0x15ff('0x1a')](_0x15ff('0x3'));let _0x3bc640=Array[_0x15ff('0x0')](this[_0x15ff('0x13')]['model'][_0x15ff('0x7')][_0x15ff('0x1d')]['getSelectedBlocks']());return _0x3bc640[_0x15ff('0x26')](..._0x422a70[_0x15ff('0x28')](_0x3bc640)),_0x3bc640=[...new Set(_0x3bc640)],_0x3bc640;}['_getSuggestionBlocks'](_0x52e392){const _0x9fd6cb=this[_0x15ff('0x13')]['plugins'][_0x15ff('0x1a')]('DocumentListUtils');let _0xdb1c9c=Array[_0x15ff('0x0')](this[_0x15ff('0x13')][_0x15ff('0x2b')][_0x15ff('0x7')]['selection'][_0x15ff('0x2d')]())[_0x15ff('0x5')](_0x52e392);if(!_0xdb1c9c[_0x15ff('0xe')])return null;_0xdb1c9c=_0x9fd6cb['expandListBlocksToCompleteList'](_0xdb1c9c);const _0x16a335=[];for(const _0x158ee5 of _0xdb1c9c)_0x9fd6cb['isFirstBlockOfListItem'](_0x158ee5)&&_0x16a335['push'](_0x158ee5);return _0x16a335;}[_0x15ff('0x18')](_0x323203){return'ELEMENT_'+this[_0x15ff('0x13')][_0x15ff('0x9')]['get'](_0x15ff('0x2'))[_0x15ff('0x16')](_0x323203)['toUpperCase']()+_0x15ff('0x1')+_0x323203[_0x15ff('0x6')]()[_0x15ff('0x12')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3556=['data','editing','editor','init','enter','unbindElementFromMarkerName','markerName','afterExecute','ck-suggestion-marker-split','requires','detach','markerNameToElements','end','document','mapper','createRange','addMarker:suggestion:insertion','showSuggestionHighlights','high','enableCommand','parent','setSelection','hasClass','getFirstRange','commands','fromRange','model','change','get','downcastDispatcher','getFirstPosition','split','selection','fire'];(function(_0x2281c9,_0x35566d){const _0x20f755=function(_0x505a23){while(--_0x505a23){_0x2281c9['push'](_0x2281c9['shift']());}};_0x20f755(++_0x35566d);}(_0x3556,0xf5));const _0x20f7=function(_0x2281c9,_0x35566d){_0x2281c9=_0x2281c9-0x0;let _0x20f755=_0x3556[_0x2281c9];return _0x20f755;};import{Plugin as _0x3a09c4}from'ckeditor5/src/core';import{Enter as _0x24c767}from'ckeditor5/src/enter';import{LiveRange as _0x150ed2}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x92a493}from'./utils';export default class q extends _0x3a09c4{static get[_0x20f7('0x2')](){return[_0x24c767];}[_0x20f7('0x1e')](){const _0x238e89=this[_0x20f7('0x1d')],_0x380a78=_0x238e89['plugins'][_0x20f7('0x15')]('TrackChangesEditing'),_0x3a93f4=_0x238e89[_0x20f7('0x11')][_0x20f7('0x15')](_0x20f7('0x1f'));_0x380a78[_0x20f7('0xc')]('enter',()=>{_0x238e89[_0x20f7('0x13')][_0x20f7('0x14')](_0x17ad4f=>{const _0x57f085=_0x238e89[_0x20f7('0x13')][_0x20f7('0x6')][_0x20f7('0x19')],_0x4791a7=_0x57f085[_0x20f7('0x17')](),_0x38fc62=_0x150ed2[_0x20f7('0x12')](_0x57f085[_0x20f7('0x10')]());if(_0x3a93f4['enterBlock'](_0x17ad4f)){const _0x1cbf92=_0x238e89['model']['createPositionAt'](_0x4791a7[_0x20f7('0xd')]['nextSibling'],0x0),_0x1a3c61=_0x17ad4f['createRange'](_0x4791a7,_0x1cbf92);_0x380a78['markInsertion'](_0x1a3c61);}else _0x17ad4f[_0x20f7('0xe')](_0x17ad4f[_0x20f7('0x8')](_0x38fc62[_0x20f7('0x5')]));_0x38fc62[_0x20f7('0x3')](),_0x3a93f4[_0x20f7('0x1a')](_0x20f7('0x0'),{'writer':_0x17ad4f});});}),_0x238e89[_0x20f7('0x1c')][_0x20f7('0x16')]['on'](_0x20f7('0x9'),_0x92a493(_0x238e89,_0x20f7('0x18')),{'priority':_0x20f7('0xb')}),_0x238e89['editing'][_0x20f7('0x16')]['on']('removeMarker:suggestion:insertion',(_0x45e369,_0x270796,_0x473752)=>{const _0xbe26a3=_0x473752[_0x20f7('0x7')][_0x20f7('0x4')](_0x270796[_0x20f7('0x21')]);if(_0xbe26a3)for(const _0x398cf3 of _0xbe26a3)_0x398cf3[_0x20f7('0xf')](_0x20f7('0x1'))&&(_0x473752[_0x20f7('0x7')][_0x20f7('0x20')](_0x398cf3,_0x270796[_0x20f7('0x21')]),_0x473752['writer']['remove'](_0x398cf3));},{'priority':_0x20f7('0xb')}),_0x238e89[_0x20f7('0x1b')][_0x20f7('0x16')]['on']('addMarker:suggestion:insertion',(_0x20f9de,_0x9dbd8f,_0xd35297)=>{_0xd35297['options'][_0x20f7('0xa')]&&_0x92a493(_0x238e89,_0x20f7('0x18'),{'showActiveMarker':!0x1})['bind'](this)(_0x20f9de,_0x9dbd8f,_0xd35297);},{'priority':_0x20f7('0xb')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d6e=['filter','plugins','getMarkersGroup','afterInit','replaceAll','handleFindCommand','start','end','enableCommand','editor','findNext','get','model','findByTextCallback','getRange','TrackChangesEditing','FindAndReplaceUtils','replace','has','bind','_isInDeletionRange','find','findPrevious','markers','string','suggestion:deletion'];(function(_0x7e7e31,_0x2d6e3f){const _0xb908f0=function(_0x3445ac){while(--_0x3445ac){_0x7e7e31['push'](_0x7e7e31['shift']());}};_0xb908f0(++_0x2d6e3f);}(_0x2d6e,0x85));const _0xb908=function(_0x7e7e31,_0x2d6e3f){_0x7e7e31=_0x7e7e31-0x0;let _0xb908f0=_0x2d6e[_0x7e7e31];return _0xb908f0;};import{Plugin as _0x2f421c}from'ckeditor5/src/core';export default class z extends _0x2f421c{[_0xb908('0x0')](){if(!this[_0xb908('0x6')]['plugins'][_0xb908('0xf')]('FindAndReplaceEditing'))return;const _0xe730fa=this[_0xb908('0x6')][_0xb908('0x18')][_0xb908('0x8')](_0xb908('0xc'));_0xe730fa['enableCommand'](_0xb908('0x12'),this['handleFindCommand'][_0xb908('0x10')](this)),_0xe730fa['enableCommand'](_0xb908('0x7')),_0xe730fa['enableCommand'](_0xb908('0x13')),_0xe730fa[_0xb908('0x5')](_0xb908('0xe')),_0xe730fa['enableCommand'](_0xb908('0x1'));}[_0xb908('0x2')](_0x544849,_0x470e65,_0x41d12c={}){const _0x1174ed=this[_0xb908('0x6')]['plugins'][_0xb908('0x8')](_0xb908('0xd'));void 0x0!==_0x41d12c&&_0x544849(_0x2a4a66=>(_0xb908('0x15')==typeof _0x470e65?_0x1174ed[_0xb908('0xa')](_0x470e65,_0x41d12c):_0x470e65)(_0x2a4a66)[_0xb908('0x17')](_0x279370=>!0x1===this['_isInDeletionRange'](_0x279370,_0x2a4a66['item'])),_0x41d12c);}[_0xb908('0x11')](_0x31cdca,_0xc8f49f){const _0x274888=this[_0xb908('0x6')][_0xb908('0x9')]['createRange'](this[_0xb908('0x6')][_0xb908('0x9')]['createPositionAt'](_0xc8f49f,_0x31cdca[_0xb908('0x3')]),this[_0xb908('0x6')][_0xb908('0x9')]['createPositionAt'](_0xc8f49f,_0x31cdca[_0xb908('0x4')]));for(const _0x1ecbf6 of this[_0xb908('0x6')][_0xb908('0x9')][_0xb908('0x14')][_0xb908('0x19')](_0xb908('0x16')))if(null!==_0x274888['getIntersection'](_0x1ecbf6[_0xb908('0xb')]()))return!0x0;return!0x1;}}
|