@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230814.0 → 0.0.0-nightly-20230816.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-20230816.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-20230816.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230816.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 _0x22eb=['get','plugins','model','TrackChangesEditing','_isEnabledBasedOnSelection','refresh','canEditAt','track-changes-accept-suggestion-not-found','execute','editor','getRanges','acceptSuggestion'];(function(_0x188383,_0x22eb7e){const _0x278bb7=function(_0x23fd08){while(--_0x23fd08){_0x188383['push'](_0x188383['shift']());}};_0x278bb7(++_0x22eb7e);}(_0x22eb,0x6a));const _0x278b=function(_0x188383,_0x22eb7e){_0x188383=_0x188383-0x0;let _0x278bb7=_0x22eb[_0x188383];return _0x278bb7;};import{Command as _0x5679fb}from'ckeditor5/src/core';import{CKEditorError as _0x5e9893}from'ckeditor5/src/utils';export default class M extends _0x5679fb{constructor(_0x11b9ae,_0x5f2969){super(_0x11b9ae),this['_suggestions']=_0x5f2969,this['refresh'](),this[_0x278b('0x6')]=!0x1;}[_0x278b('0x7')](){this['isEnabled']=!0x0;}[_0x278b('0xa')](_0x31b17a){const _0x41249d=this['_suggestions'][_0x278b('0x2')](_0x31b17a);if(!_0x41249d)throw new _0x5e9893(_0x278b('0x9'),this);const _0x2bbebd=_0x41249d[_0x278b('0x0')]();this[_0x278b('0xb')][_0x278b('0x4')][_0x278b('0x8')](_0x2bbebd)&&this['editor'][_0x278b('0x3')][_0x278b('0x2')](_0x278b('0x5'))[_0x278b('0x1')](_0x41249d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x470b=['getRanges','track-changes-discard-suggestion-not-found','_suggestions','execute','discardSuggestion','get','TrackChangesEditing','plugins','editor','_isEnabledBasedOnSelection','canEditAt','isEnabled'];(function(_0x3f12c5,_0x470b55){const _0x7c9647=function(_0x41268a){while(--_0x41268a){_0x3f12c5['push'](_0x3f12c5['shift']());}};_0x7c9647(++_0x470b55);}(_0x470b,0x16d));const _0x7c96=function(_0x3f12c5,_0x470b55){_0x3f12c5=_0x3f12c5-0x0;let _0x7c9647=_0x470b[_0x3f12c5];return _0x7c9647;};import{Command as _0x3e8549}from'ckeditor5/src/core';import{CKEditorError as _0x4ac3cb}from'ckeditor5/src/utils';export default class $ extends _0x3e8549{constructor(_0x72c4c9,_0x4aabc4){super(_0x72c4c9),this['_suggestions']=_0x4aabc4,this['refresh'](),this[_0x7c96('0x4')]=!0x1;}['refresh'](){this[_0x7c96('0x6')]=!0x0;}[_0x7c96('0xa')](_0x19c424){const _0x1cf5bb=this[_0x7c96('0x9')]['get'](_0x19c424);if(!_0x1cf5bb)throw new _0x4ac3cb(_0x7c96('0x8'),this);const _0xd000bb=_0x1cf5bb[_0x7c96('0x7')]();this[_0x7c96('0x3')]['model'][_0x7c96('0x5')](_0xd000bb)&&this[_0x7c96('0x3')][_0x7c96('0x2')][_0x7c96('0x0')](_0x7c96('0x1'))[_0x7c96('0xb')](_0x1cf5bb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xee44=['_suggestions','execute','refresh','_isEnabledBasedOnSelection','isInContent','editor','model','_command','values','getRanges','from','isEnabled'];(function(_0x586820,_0xee44b){const _0x527c5b=function(_0x34e0fd){while(--_0x34e0fd){_0x586820['push'](_0x586820['shift']());}};_0x527c5b(++_0xee44b);}(_0xee44,0x1d7));const _0x527c=function(_0x586820,_0xee44b){_0x586820=_0x586820-0x0;let _0x527c5b=_0xee44[_0x586820];return _0x527c5b;};import{Command as _0x16ad89}from'ckeditor5/src/core';import{sortSuggestions as _0x41de56,executeCommandForSuggestions as _0x360033}from'../utils/utils';export default class N extends _0x16ad89{constructor(_0xbb436a,_0x2f4ec0,_0x594073){super(_0xbb436a),this['_command']=_0x2f4ec0,this['_suggestions']=_0x594073,this[_0x527c('0xb')](),this[_0x527c('0x0')]=!0x1;}[_0x527c('0xb')](){const _0x391f84=Array[_0x527c('0x7')](this['_suggestions']['values']())['some'](_0x50b188=>_0x50b188[_0x527c('0x1')]);this[_0x527c('0x8')]=this[_0x527c('0x4')]['isEnabled']&&_0x391f84;}[_0x527c('0xa')](){const _0x46d2c7=_0x41de56(Array['from'](this[_0x527c('0x9')][_0x527c('0x5')]()));for(const _0x2f25ef of _0x46d2c7){const _0x4940e8=_0x2f25ef[_0x527c('0x6')]();if(!this[_0x527c('0x2')]['model']['canEditAt'](_0x4940e8))return;}_0x360033(this[_0x527c('0x2')][_0x527c('0x3')],this[_0x527c('0x4')],_0x46d2c7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x419f=['model','getRanges','refresh','execute','from','selection','_isEnabledBasedOnSelection','size','isEnabled','editor','canEditAt','_selectedSuggestions','_command','values'];(function(_0x238e4c,_0x419fb2){const _0x1bc911=function(_0x5f0d7e){while(--_0x5f0d7e){_0x238e4c['push'](_0x238e4c['shift']());}};_0x1bc911(++_0x419fb2);}(_0x419f,0xf9));const _0x1bc9=function(_0x238e4c,_0x419fb2){_0x238e4c=_0x238e4c-0x0;let _0x1bc911=_0x419f[_0x238e4c];return _0x1bc911;};import{Command as _0x192d3f}from'ckeditor5/src/core';import{sortSuggestions as _0x45239c,getSelectedSuggestions as _0x1cc180,executeCommandForSuggestions as _0x2d9924}from'../utils/utils';export default class R extends _0x192d3f{constructor(_0x13fe9f,_0x456b44,_0xe7104c){super(_0x13fe9f),this['_command']=_0x456b44,this['_suggestions']=_0xe7104c,this['_selectedSuggestions']=new Set(),this[_0x1bc9('0x5')](),this[_0x1bc9('0x9')]=!0x1;}[_0x1bc9('0x5')](){const _0x25aaf2=this[_0x1bc9('0xc')]['model']['document'][_0x1bc9('0x8')],_0x5b0e11=Array[_0x1bc9('0x7')](this['_suggestions'][_0x1bc9('0x2')]());this[_0x1bc9('0x0')]=_0x1cc180(_0x25aaf2,_0x5b0e11),this[_0x1bc9('0xb')]=this[_0x1bc9('0x1')][_0x1bc9('0xb')]&&!!this[_0x1bc9('0x0')][_0x1bc9('0xa')];}[_0x1bc9('0x6')](){const _0x34122a=_0x45239c(Array[_0x1bc9('0x7')](this[_0x1bc9('0x0')]));for(const _0x2383bc of _0x34122a){const _0x4ccf13=_0x2383bc[_0x1bc9('0x4')]();if(!this[_0x1bc9('0xc')][_0x1bc9('0x3')][_0x1bc9('0xd')](_0x4ccf13))return;}_0x2d9924(this['editor'][_0x1bc9('0x3')],this[_0x1bc9('0x1')],_0x34122a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3434=['_enabledCommands','value','clearForceDisabled','_disableUnsupportedCommands','has','editor','refresh','commands','TrackChangesCommand','affectsData','_isEnabledBasedOnSelection','forceDisabled','execute','_enableCommands'];(function(_0x48a6dd,_0x343493){const _0x1b9188=function(_0x50e147){while(--_0x50e147){_0x48a6dd['push'](_0x48a6dd['shift']());}};_0x1b9188(++_0x343493);}(_0x3434,0x195));const _0x1b91=function(_0x48a6dd,_0x343493){_0x48a6dd=_0x48a6dd-0x0;let _0x1b9188=_0x3434[_0x48a6dd];return _0x1b9188;};import{Command as _0xa44a9}from'ckeditor5/src/core';export default class _ extends _0xa44a9{constructor(_0x194332,_0x493964){super(_0x194332),this[_0x1b91('0x1')]=_0x493964,this[_0x1b91('0x2')]=!0x1,this['refresh'](),this[_0x1b91('0xb')]=!0x1;}[_0x1b91('0x7')](){this['isEnabled']=!0x0;}[_0x1b91('0xd')](){this[_0x1b91('0x2')]=!this[_0x1b91('0x2')],this[_0x1b91('0x2')]?this[_0x1b91('0x4')]():this[_0x1b91('0x0')]();}[_0x1b91('0x4')](){for(const _0x1fd636 of this['editor']['commands']['commands']())_0x1fd636['affectsData']&&!this[_0x1b91('0x1')][_0x1b91('0x5')](_0x1fd636)&&_0x1fd636[_0x1b91('0xc')](_0x1b91('0x9'));}[_0x1b91('0x0')](){for(const _0x265f34 of this[_0x1b91('0x6')][_0x1b91('0x8')][_0x1b91('0x8')]())_0x265f34[_0x1b91('0xa')]&&!this[_0x1b91('0x1')]['has'](_0x265f34)&&_0x265f34[_0x1b91('0x3')](_0x1b91('0x9'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11e2=['commandName','getSelectedBlocks','FORMAT_ALIGN_TO_RIGHT','filter','get','AlignmentEditing','TrackChangesEditing','plugins','afterInit','value','right','model','alignment','from','left','enableCommand','locale','getAttribute','FORMAT_JUSTIFY_TEXT','selection','_descriptionFactory','*Format:*\x20%0','editor','center','FORMAT_ALIGN_TO_LEFT','change','justify','ltr','markBlockFormat','registerDescriptionCallback','has','checkAttribute'];(function(_0x579566,_0x11e20e){const _0x29905d=function(_0x30f164){while(--_0x30f164){_0x579566['push'](_0x579566['shift']());}};_0x29905d(++_0x11e20e);}(_0x11e2,0x1d4));const _0x2990=function(_0x579566,_0x11e20e){_0x579566=_0x579566-0x0;let _0x29905d=_0x11e2[_0x579566];return _0x29905d;};import{Plugin as _0x3528bc}from'ckeditor5/src/core';import{getTranslation as _0xb77bf6}from'../utils/common-translations';export default class x extends _0x3528bc{[_0x2990('0x14')](){const _0x175f0b=this['editor'],_0x1c8131=_0x175f0b[_0x2990('0x1c')];if(!_0x175f0b[_0x2990('0x13')][_0x2990('0xa')](_0x2990('0x11')))return;const _0x18e37f=_0x175f0b[_0x2990('0x13')][_0x2990('0x10')](_0x2990('0x12'));_0x18e37f[_0x2990('0x1b')](_0x2990('0x18'),(_0x5b26f5,_0x3230c9={})=>{let _0x2f2e65=_0x3230c9[_0x2990('0x15')];_0x3230c9[_0x2990('0x15')]||(_0x2f2e65=_0x2990('0x7')===_0x175f0b[_0x2990('0x1c')]['contentLanguageDirection']?_0x2990('0x1a'):_0x2990('0x16'));const _0x50e549=Array[_0x2990('0x19')](this[_0x2990('0x2')][_0x2990('0x17')]['document'][_0x2990('0x1f')][_0x2990('0xd')]())[_0x2990('0xf')](_0xeb6a14=>function(_0x605060,_0x3fab6a,_0x48fa81){const _0x471593=_0x605060[_0x2990('0x1d')](_0x2990('0x18'))||null;return _0x3fab6a[_0x2990('0xb')](_0x605060,'alignment')&&_0x48fa81!=_0x471593;}(_0xeb6a14,this[_0x2990('0x2')][_0x2990('0x17')]['schema'],_0x2f2e65));_0x175f0b[_0x2990('0x17')][_0x2990('0x5')](()=>{for(const _0x271aa6 of _0x50e549)_0x18e37f[_0x2990('0x8')](_0x271aa6,{'commandName':'alignment','commandParams':[{'value':_0x2f2e65}]});});}),_0x18e37f[_0x2990('0x0')][_0x2990('0x9')](_0x436383=>{const {data:_0x146c20}=_0x436383;if(_0x146c20&&_0x2990('0x18')==_0x146c20[_0x2990('0xc')]){const _0x5d18de=_0x146c20['commandParams'][0x0][_0x2990('0x15')];return{'type':'format','content':_0xb77bf6(_0x1c8131,_0x2990('0x1'),function(_0x21ae9d){switch(_0x21ae9d){case _0x2990('0x1a'):return _0xb77bf6(_0x1c8131,_0x2990('0x4'));case _0x2990('0x16'):return _0xb77bf6(_0x1c8131,_0x2990('0xe'));case _0x2990('0x3'):return _0xb77bf6(_0x1c8131,'FORMAT_ALIGN_TO_CENTER');case _0x2990('0x6'):return _0xb77bf6(_0x1c8131,_0x2990('0x1e'));}}(_0x5d18de))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4021=['get','editor','italic','plugins','format','FORMAT_STRIKETHROUGH','toLowerCase','CodeEditing','afterInit','_descriptionFactory','superscript','UnderlineEditing','change','registerDescriptionCallback','document','bold','enableCommand','commands','FORMAT_CODE','commandName','subscript','from','SuperscriptEditing','strikethrough','FORMAT_SUBSCRIPT','FORMAT_SUPERSCRIPT','FORMAT_UNDERLINE','code','TrackChangesEditing','markInlineFormat','StrikethroughEditing','BoldEditing','forceValue','FORMAT_ITALIC','commandParams','model','value','ItalicEditing'];(function(_0x4fba2a,_0x402133){const _0x10cce1=function(_0x45f4da){while(--_0x45f4da){_0x4fba2a['push'](_0x4fba2a['shift']());}};_0x10cce1(++_0x402133);}(_0x4021,0x1b3));const _0x10cc=function(_0x4fba2a,_0x402133){_0x4fba2a=_0x4fba2a-0x0;let _0x10cce1=_0x4021[_0x4fba2a];return _0x10cce1;};import{Plugin as _0xb0d7d2}from'ckeditor5/src/core';import{getTranslation as _0x23ef49}from'../utils/common-translations';import{getRangesWithAttribute as _0x28ec0f}from'./utils';const Kt=[_0x10cc('0xe'),_0x10cc('0x14'),_0x10cc('0x20'),_0x10cc('0x1c'),_0x10cc('0xd'),'SubscriptEditing',_0x10cc('0x5')];export default class U extends _0xb0d7d2{[_0x10cc('0x1d')](){const _0x36735e=this[_0x10cc('0x16')],_0x4303ce=_0x36735e[_0x10cc('0x12')],_0x4a04a6=_0x36735e[_0x10cc('0x18')]['get'](_0x10cc('0xb')),_0x414a1e=_0x36735e['locale'];for(const _0x22ac10 of Kt){if(!_0x36735e[_0x10cc('0x18')]['has'](_0x22ac10))continue;const _0xd1552f=_0x22ac10['slice'](0x0,-0x7)[_0x10cc('0x1b')](),_0x2ebee2=_0x36735e[_0x10cc('0x0')][_0x10cc('0x15')](_0xd1552f);_0x4a04a6[_0x10cc('0x25')](_0xd1552f,(_0x18158b,_0xde72a7={})=>{const _0x2a51ab=_0x4303ce[_0x10cc('0x23')]['selection'];if(_0x2a51ab['isCollapsed'])return void _0x18158b(_0xde72a7);const _0x415f74=void 0x0!==_0xde72a7[_0x10cc('0xf')]?_0xde72a7[_0x10cc('0xf')]:!_0x2ebee2[_0x10cc('0x13')];_0x4303ce[_0x10cc('0x21')](()=>{const _0xccebfd=Array[_0x10cc('0x4')](_0x2a51ab['getRanges']());for(const _0x2131ca of _0xccebfd){const _0xa5802=_0x415f74?[_0x2131ca]:_0x28ec0f(_0xd1552f,_0x2131ca,_0x4303ce);for(const _0x1f3d66 of _0xa5802)_0x4a04a6[_0x10cc('0xc')](_0x1f3d66,{'commandName':_0xd1552f,'commandParams':[{'forceValue':_0x415f74}]});}});});}function _0x40505(_0x35c184,_0x454e6f){_0x4a04a6[_0x10cc('0x1e')][_0x10cc('0x22')](_0x17ac4c=>{const {data:_0x2efbb7}=_0x17ac4c;if(_0x2efbb7&&_0x2efbb7[_0x10cc('0x2')]===_0x35c184)return _0x2efbb7[_0x10cc('0x11')][0x0][_0x10cc('0xf')]?{'type':_0x10cc('0x19'),'content':_0x23ef49(_0x414a1e,'*Format:*\x20%0',_0x454e6f)}:{'type':'format','content':_0x23ef49(_0x414a1e,'*Remove\x20format:*\x20%0',_0x454e6f)};});}_0x40505(_0x10cc('0x24'),_0x23ef49(_0x414a1e,'FORMAT_BOLD')),_0x40505(_0x10cc('0x17'),_0x23ef49(_0x414a1e,_0x10cc('0x10'))),_0x40505('underline',_0x23ef49(_0x414a1e,_0x10cc('0x9'))),_0x40505(_0x10cc('0xa'),_0x23ef49(_0x414a1e,_0x10cc('0x1'))),_0x40505(_0x10cc('0x6'),_0x23ef49(_0x414a1e,_0x10cc('0x1a'))),_0x40505(_0x10cc('0x3'),_0x23ef49(_0x414a1e,_0x10cc('0x7'))),_0x40505(_0x10cc('0x1f'),_0x23ef49(_0x414a1e,_0x10cc('0x8')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43c2=['getSelectedBlocks','model','$root','value','markBlockFormat','locale','commandName','registerDescriptionCallback','plugins','filter','parent','change','get','enableCommand','BlockQuoteEditing','from','forceValue','afterInit','blockQuote','editor','document','*Remove\x20format:*\x20%0','schema','commands','name','TrackChangesEditing','ELEMENT_BLOCK_QUOTE','checkChild'];(function(_0x326cec,_0x43c227){const _0x136df1=function(_0x8493b0){while(--_0x8493b0){_0x326cec['push'](_0x326cec['shift']());}};_0x136df1(++_0x43c227);}(_0x43c2,0x71));const _0x136d=function(_0x326cec,_0x43c227){_0x326cec=_0x326cec-0x0;let _0x136df1=_0x43c2[_0x326cec];return _0x136df1;};import{Plugin as _0x477350}from'ckeditor5/src/core';import{getTranslation as _0x2af680}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x368557}from'../utils/utils';export default class j extends _0x477350{[_0x136d('0x10')](){const _0x580f1a=this['editor'],_0x2c3820=_0x580f1a[_0x136d('0x4')];if(!_0x580f1a['plugins']['has'](_0x136d('0xd')))return;const _0x1e9c59=_0x580f1a[_0x136d('0x7')][_0x136d('0xb')](_0x136d('0x18')),_0x11fbb1=this['editor'][_0x136d('0x16')]['get'](_0x136d('0x11'));_0x1e9c59[_0x136d('0xc')](_0x136d('0x11'),(_0x51f5de,_0x5c6c83={})=>{const _0x2edcc6=this[_0x136d('0x12')][_0x136d('0x0')][_0x136d('0x13')]['selection'],_0x554844=_0x5c6c83&&void 0x0!==_0x5c6c83[_0x136d('0xf')]?_0x5c6c83[_0x136d('0xf')]:!_0x11fbb1[_0x136d('0x2')];let _0x53ac6c=[];if(_0x554844){const _0x3d6f34=Array[_0x136d('0xe')](_0x2edcc6[_0x136d('0x1b')]())[_0x136d('0x8')](_0x146cc6=>Xt(_0x146cc6)||function(_0x453c3a,_0x24abd3){const _0x6a921=_0x24abd3['checkChild'](_0x453c3a['parent'],_0x136d('0x11')),_0x26febe=_0x24abd3[_0x136d('0x1a')]([_0x136d('0x1'),'blockQuote'],_0x453c3a);return _0x6a921&&_0x26febe;}(_0x146cc6,this['editor'][_0x136d('0x0')][_0x136d('0x15')]));_0x53ac6c=_0x368557(_0x3d6f34,_0x580f1a['model']);}else{const _0x4b8019=Array[_0x136d('0xe')](_0x2edcc6['getSelectedBlocks']())['filter'](_0x50454b=>Xt(_0x50454b));_0x53ac6c=_0x368557(_0x4b8019,_0x580f1a[_0x136d('0x0')]);}_0x580f1a[_0x136d('0x0')][_0x136d('0xa')](()=>{for(const _0x5eb9b3 of _0x53ac6c)_0x1e9c59[_0x136d('0x3')](_0x5eb9b3,{'commandName':_0x136d('0x11'),'commandParams':[{'forceValue':_0x554844}]});});}),_0x1e9c59['_descriptionFactory'][_0x136d('0x6')](_0x1095a2=>{const {data:_0x14c628}=_0x1095a2;if(_0x14c628&&_0x136d('0x11')==_0x14c628[_0x136d('0x5')]){const _0x308b21=_0x2af680(_0x2c3820,_0x136d('0x19'));return _0x14c628['commandParams'][0x0][_0x136d('0xf')]?{'type':'format','content':_0x2af680(_0x2c3820,'*Format:*\x20%0',_0x308b21)}:{'type':'format','content':_0x2af680(_0x2c3820,_0x136d('0x14'),_0x308b21)};}});}}function Xt(_0x21b18a){return _0x136d('0x11')==_0x21b18a[_0x136d('0x9')][_0x136d('0x17')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10bd=['ckbox','plugins','commands','get','enableCommand'];(function(_0x1e0fb7,_0x10bd8c){const _0x1141c3=function(_0xe0eea8){while(--_0xe0eea8){_0x1e0fb7['push'](_0x1e0fb7['shift']());}};_0x1141c3(++_0x10bd8c);}(_0x10bd,0xe2));const _0x1141=function(_0x1e0fb7,_0x10bd8c){_0x1e0fb7=_0x1e0fb7-0x0;let _0x1141c3=_0x10bd[_0x1e0fb7];return _0x1141c3;};import{Plugin as _0x27f8fe}from'ckeditor5/src/core';export default class E extends _0x27f8fe{['afterInit'](){const _0x11e627=this['editor'];_0x11e627[_0x1141('0x1')][_0x1141('0x2')](_0x1141('0x4'))&&_0x11e627[_0x1141('0x0')]['get']('TrackChangesEditing')[_0x1141('0x3')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e5f=['checkChild','value','change','TrackChangesEditing','document','from','language','schema','forceValue','_descriptionFactory','get','indentCodeBlock','find','selection','enableCommand','markBlockFormat','model','format','registerElementLabel','ELEMENT_CODE_BLOCK','formatBlock','blockName','*Format:*\x20%0','isLimit','getSelectedBlocks','locale','codeBlock','label','filter','commandParams','commandName','rootElement','commands','*Remove\x20format:*\x20%0','afterInit'];(function(_0x4ec369,_0x2e5f85){const _0x309e95=function(_0x28d4c5){while(--_0x28d4c5){_0x4ec369['push'](_0x4ec369['shift']());}};_0x309e95(++_0x2e5f85);}(_0x2e5f,0x1af));const _0x309e=function(_0x4ec369,_0x2e5f85){_0x4ec369=_0x4ec369-0x0;let _0x309e95=_0x2e5f[_0x4ec369];return _0x309e95;};import{Plugin as _0x529bab}from'ckeditor5/src/core';import{getTranslation as _0x3540de}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x26b7a6}from'../utils/utils';export default class O extends _0x529bab{[_0x309e('0x17')](){const _0xe6249b=this['editor'];if(!_0xe6249b['plugins']['has']('CodeBlock'))return;const _0x1439e5=_0xe6249b['plugins'][_0x309e('0x22')](_0x309e('0x1b')),_0x8d77d4=_0xe6249b[_0x309e('0xe')],_0x2379a8=_0xe6249b['config']['get'](_0x309e('0xf'))['languages'],_0x44eb7c=_0xe6249b[_0x309e('0x15')][_0x309e('0x22')]('codeBlock');_0x1439e5['enableCommand'](_0x309e('0x0')),_0x1439e5[_0x309e('0x3')]('outdentCodeBlock'),_0x1439e5[_0x309e('0x3')](_0x309e('0xf'),(_0xec81ff,_0x47e4cd={})=>{const _0x5a13fa=_0xe6249b[_0x309e('0x5')],_0x5dab26=_0xe6249b[_0x309e('0x5')][_0x309e('0x1c')][_0x309e('0x2')],_0x452621=_0x47e4cd&&void 0x0!==_0x47e4cd[_0x309e('0x20')]?_0x47e4cd[_0x309e('0x20')]:!_0x44eb7c[_0x309e('0x19')];let _0x2f15ad;_0x47e4cd[_0x309e('0x1e')]||(_0x47e4cd[_0x309e('0x1e')]=_0x2379a8[0x0]['language']),_0x2f15ad=_0x452621?Array[_0x309e('0x1d')](_0x5dab26[_0x309e('0xd')]())[_0x309e('0x11')](_0x4abb04=>oo(_0x4abb04)||function(_0xe48f3a,_0x5310a9){if(_0xe48f3a['is'](_0x309e('0x14'))||_0x5310a9[_0x309e('0xc')](_0xe48f3a))return!0x1;return _0x5310a9[_0x309e('0x18')](_0xe48f3a['parent'],_0x309e('0xf'));}(_0x4abb04,_0x5a13fa[_0x309e('0x1f')])):Array[_0x309e('0x1d')](_0x5dab26['getSelectedBlocks']())['filter'](_0x4f3cee=>oo(_0x4f3cee));const _0x47ee9c=_0x26b7a6(_0x2f15ad,_0x5a13fa);_0x5a13fa[_0x309e('0x1a')](()=>{for(const _0x20aa3c of _0x47ee9c)_0x1439e5[_0x309e('0x4')](_0x20aa3c,{'commandName':'codeBlock','commandParams':[{..._0x47e4cd,'forceValue':_0x452621}],'formatGroupId':_0x309e('0xa')});});}),(_0x1439e5['_descriptionFactory'][_0x309e('0x7')]('codeBlock',_0x244e9d=>_0x3540de(_0x8d77d4,'ELEMENT_CODE_BLOCK',_0x244e9d)),_0x1439e5[_0x309e('0x21')]['registerDescriptionCallback'](_0x2550a9=>{const _0x8bf74e=_0x8d77d4['t'],{type:_0x4bedc4,data:_0x5c4eab}=_0x2550a9;if(_0x309e('0x9')==_0x4bedc4&&_0x5c4eab&&_0x309e('0xf')==_0x5c4eab[_0x309e('0x13')]){const _0x2b9c5e=_0x5c4eab[_0x309e('0x12')][0x0][_0x309e('0x1e')],_0x2ce256=_0x8bf74e(_0x2379a8[_0x309e('0x1')](_0x4b6e6c=>_0x4b6e6c[_0x309e('0x1e')]===_0x2b9c5e)[_0x309e('0x10')]);return _0x5c4eab[_0x309e('0x12')][0x0][_0x309e('0x20')]?{'type':_0x309e('0x6'),'content':_0x3540de(_0x8d77d4,_0x309e('0xb'),_0x3540de(_0x8d77d4,_0x309e('0x8'),0x1)+'\x20('+_0x2ce256+')')}:{'type':_0x309e('0x6'),'content':_0x3540de(_0x8d77d4,_0x309e('0x16'),_0x3540de(_0x8d77d4,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x35acdf){return'codeBlock'==_0x35acdf['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1109=['has','plugins','get','addCommentThread','enableCommand','CommentsEditing'];(function(_0xdbd0d4,_0x1109d4){const _0x1c78fa=function(_0x730523){while(--_0x730523){_0xdbd0d4['push'](_0xdbd0d4['shift']());}};_0x1c78fa(++_0x1109d4);}(_0x1109,0x9d));const _0x1c78=function(_0xdbd0d4,_0x1109d4){_0xdbd0d4=_0xdbd0d4-0x0;let _0x1c78fa=_0x1109[_0xdbd0d4];return _0x1c78fa;};import{Plugin as _0x5cac6a}from'ckeditor5/src/core';export default class F extends _0x5cac6a{['afterInit'](){const _0x2b1c9f=this['editor'];if(!_0x2b1c9f[_0x1c78('0x0')][_0x1c78('0x5')](_0x1c78('0x4')))return;_0x2b1c9f[_0x1c78('0x0')][_0x1c78('0x1')]('TrackChangesEditing')[_0x1c78('0x3')](_0x1c78('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x212e=['data','enableCommand','unit','options','root','unlock','createRange','get','document','addMarker:suggestion:deletion','uiElement','unbindElementFromMarkerName','enqueueChange','merge','commands','forward','fromRange','delete','createSelection','showSuggestionHighlights','editor','rootName','end','writer','detach','lock','mapper','getFirstRange','buffer','isCollapsed','model','batch','high','remove','markerNameToElements','removeMarker:suggestion:deletion','setSelection','downcastDispatcher','start','bind','init'];(function(_0x411c7a,_0x212e23){const _0x598265=function(_0x36c6de){while(--_0x36c6de){_0x411c7a['push'](_0x411c7a['shift']());}};_0x598265(++_0x212e23);}(_0x212e,0x175));const _0x5982=function(_0x411c7a,_0x212e23){_0x411c7a=_0x411c7a-0x0;let _0x598265=_0x212e[_0x411c7a];return _0x598265;};import{Plugin as _0x24be7e}from'ckeditor5/src/core';import{LiveRange as _0x118100}from'ckeditor5/src/engine';import{Delete as _0x49158b}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x17f1d7}from'./utils';export default class G extends _0x24be7e{static get['requires'](){return[_0x49158b];}[_0x5982('0x24')](){const _0x40efb5=this[_0x5982('0x10')],_0x35d83b=_0x40efb5['plugins'][_0x5982('0x3')]('TrackChangesEditing');_0x35d83b[_0x5982('0x26')](_0x5982('0xd'));const _0x1cd8cb=_0x40efb5[_0x5982('0xa')][_0x5982('0x3')]('deleteForward');_0x35d83b[_0x5982('0x26')]('deleteForward',(_0x1f7eeb,_0x316135={})=>{const _0x34ab7d=_0x40efb5[_0x5982('0x1a')][_0x5982('0xe')](_0x40efb5[_0x5982('0x1a')][_0x5982('0x4')]['selection']);_0x34ab7d[_0x5982('0x19')]&&_0x40efb5[_0x5982('0x1a')]['modifySelection'](_0x34ab7d,{'direction':_0x5982('0xb'),'unit':_0x316135[_0x5982('0x27')]});const _0x3e678a=_0x34ab7d[_0x5982('0x17')](),_0x70acba=_0x118100[_0x5982('0xc')](_0x3e678a);let _0x3cd62f;_0x1f7eeb(_0x316135),_0x3cd62f='$graveyard'==_0x70acba[_0x5982('0x0')][_0x5982('0x11')]?_0x40efb5[_0x5982('0x1a')][_0x5982('0x2')](_0x3e678a['start']):_0x40efb5[_0x5982('0x1a')][_0x5982('0x2')](_0x70acba[_0x5982('0x22')],_0x70acba[_0x5982('0x12')]),_0x70acba[_0x5982('0x14')](),_0x40efb5['model'][_0x5982('0x8')](_0x1cd8cb['buffer'][_0x5982('0x1b')],_0x1f86b9=>{_0x1cd8cb[_0x5982('0x18')][_0x5982('0x15')](),_0x1f86b9[_0x5982('0x20')](_0x1f86b9[_0x5982('0x2')](_0x3cd62f[_0x5982('0x12')])),_0x1cd8cb[_0x5982('0x18')][_0x5982('0x1')]();});}),_0x40efb5['editing']['downcastDispatcher']['on'](_0x5982('0x5'),_0x17f1d7(_0x40efb5,'merge'),{'priority':_0x5982('0x1c')}),_0x40efb5[_0x5982('0x25')]['downcastDispatcher']['on'](_0x5982('0x5'),(_0x227dd8,_0x345b33,_0x38b07b)=>{_0x38b07b[_0x5982('0x28')][_0x5982('0xf')]&&_0x17f1d7(_0x40efb5,_0x5982('0x9'),{'showActiveMarker':!0x1})[_0x5982('0x23')](this)(_0x227dd8,_0x345b33,_0x38b07b);},{'priority':_0x5982('0x1c')}),_0x40efb5['editing'][_0x5982('0x21')]['on'](_0x5982('0x1f'),(_0x136817,_0x538561,_0x1d14fc)=>{const _0x2492ce=_0x1d14fc[_0x5982('0x16')][_0x5982('0x1e')](_0x538561['markerName']);if(_0x2492ce)for(const _0x3a8ebb of _0x2492ce)_0x3a8ebb['is'](_0x5982('0x6'))&&(_0x1d14fc[_0x5982('0x16')][_0x5982('0x7')](_0x3a8ebb,_0x538561['markerName']),_0x1d14fc[_0x5982('0x13')][_0x5982('0x1d')](_0x3a8ebb));},{'priority':_0x5982('0x1c')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5959=['toUpperCase','parent','getRanges','fromRange','isObject','DocumentListEditing','*Outdent:*\x20%0','ELEMENT_','markBlockFormat','commandParams','mergeListItemBackward','_LIST','registerDescriptionCallback','previousSibling','createRange','*Change\x20to:*\x20%0','format','registerElementLabel','selection','enableCommand','*Format:*\x20insert\x20into\x20%0','DocumentListUtils','push','hasAttribute','value','end','before','nodeAfter','map','splitListItemAfter','forceValue','deletion','numberedList','commands','listItemId','getSelectedBlocks','slice','ELEMENT_BULLETED_LIST','TrackChangesEditing','nextSibling','schema','ELEMENT_NUMBERED_LIST','markMultiRangeBlockFormat','next','findIndex','afterInit','ELEMENT_LIST_ITEM','*Format:*\x20remove\x20from\x20%0','accept','commandName','listIndent','_descriptionFactory','refresh','setSelection','listType','indentList','getFirstRange','from','_suggestionFactory','has','createPositionAt','change','documentList','start','formatBlock','add','outdentList','plugins','get','document','getAttribute','registerCustomCallback','multipleBlocks','bulletedList','model','locale'];(function(_0x43ad73,_0x595965){const _0x1b0223=function(_0x202d2a){while(--_0x202d2a){_0x43ad73['push'](_0x43ad73['shift']());}};_0x1b0223(++_0x595965);}(_0x5959,0x180));const _0x1b02=function(_0x43ad73,_0x595965){_0x43ad73=_0x43ad73-0x0;let _0x1b0223=_0x5959[_0x43ad73];return _0x1b0223;};import{Plugin as _0x4e6e6b}from'ckeditor5/src/core';import{getTranslation as _0x4b19ad}from'../utils/common-translations';import{LiveRange as _0x1a660f}from'ckeditor5/src/engine';export default class L extends _0x4e6e6b{[_0x1b02('0x29')](){const _0x435cc7=this['editor'];if(!_0x435cc7[_0x1b02('0x3f')][_0x1b02('0x37')](_0x1b02('0x1')))return;const _0x78ebb8=_0x435cc7[_0x1b02('0x47')],_0x2bb4ce=_0x435cc7['plugins'][_0x1b02('0x40')](_0x1b02('0x22')),_0x1697d3=_0x435cc7['plugins'][_0x1b02('0x40')](_0x1b02('0x11'));function _0x31df3f(_0x33970f){return()=>{const _0x5a0226=_0x435cc7[_0x1b02('0x1d')][_0x1b02('0x40')](_0x33970f);let _0x4654c7=Array[_0x1b02('0x35')](_0x435cc7[_0x1b02('0x46')][_0x1b02('0x41')][_0x1b02('0xe')]['getSelectedBlocks']());if(_0xfca1f1(_0x33970f)){_0x4654c7=_0x1697d3['expandListBlocksToCompleteList'](_0x4654c7);const _0x25959a=[];for(const _0x5dc546 of _0x4654c7)_0x1697d3['isFirstBlockOfListItem'](_0x5dc546)&&_0x25959a['push'](_0x5dc546);_0x4654c7=_0x25959a;}_0x435cc7['model'][_0x1b02('0x39')](()=>{_0x2bb4ce[_0x1b02('0x26')](_0x4654c7,{'commandName':_0x33970f,'commandParams':[{'forceValue':!_0x5a0226[_0x1b02('0x14')]}],'formatGroupId':_0x1b02('0x32')},[],_0x1b02('0x3a'));});};}function _0x1f9bb3(_0x1ffc05){return()=>{const _0x48e6fe=function(_0x342c5c){let _0x24f795=Array[_0x1b02('0x35')](_0x342c5c);const _0x254504=_0x24f795[_0x1b02('0x28')](_0xbba71e=>!_0xbba71e[_0x1b02('0x13')](_0x1b02('0x1e')));return _0x254504>-0x1&&(_0x24f795=_0x24f795[_0x1b02('0x20')](0x0,_0x254504)),_0x24f795;}(_0x435cc7['model'][_0x1b02('0x41')]['selection']['getSelectedBlocks']()),_0x478299=_0x48e6fe[_0x48e6fe['length']-0x1],_0x1792e7=_0x435cc7[_0x1b02('0x46')][_0x1b02('0x24')][_0x1b02('0x0')](_0x478299)?'after':'end',_0x4e9f89=_0x435cc7[_0x1b02('0x46')][_0x1b02('0xa')](_0x435cc7[_0x1b02('0x46')]['createPositionAt'](_0x48e6fe[0x0],_0x1b02('0x16')),_0x435cc7[_0x1b02('0x46')][_0x1b02('0x38')](_0x478299,_0x1792e7));_0x435cc7[_0x1b02('0x46')][_0x1b02('0x39')](()=>{_0x2bb4ce['markBlockFormat'](_0x4e9f89,{'commandName':_0x1ffc05,'commandParams':[],'formatGroupId':_0x1b02('0x32')},function(_0x3ef59b){const _0x2ddd2c=new Set();for(const _0x54d204 of _0x3ef59b){let _0xbde2b4=_0x54d204[_0x1b02('0x23')];for(;_0xbde2b4&&_0xbde2b4[_0x1b02('0x42')](_0x1b02('0x2e'))>_0x54d204['getAttribute'](_0x1b02('0x2e'));)_0x2ddd2c[_0x1b02('0x3d')](_0xbde2b4),_0xbde2b4=_0xbde2b4[_0x1b02('0x23')];}return Array[_0x1b02('0x35')](_0x2ddd2c);}(_0x48e6fe));});};}function _0x5851b2(_0x101548){return()=>{const _0x301b0d=_0x435cc7[_0x1b02('0x46')][_0x1b02('0x41')][_0x1b02('0xe')][_0x1b02('0x1f')]()[_0x1b02('0x27')]()[_0x1b02('0x14')],_0x58b27a=_0x435cc7[_0x1b02('0x46')][_0x1b02('0x38')](_0x301b0d,'before'),_0x2e0c3d=_0x435cc7[_0x1b02('0x46')]['createPositionAt'](_0x301b0d,0x0),_0x29aef6=_0x435cc7[_0x1b02('0x46')][_0x1b02('0xa')](_0x58b27a,_0x2e0c3d);_0x435cc7['model']['change'](()=>{_0x2bb4ce[_0x1b02('0x4')](_0x29aef6,{'commandName':_0x101548,'commandParams':[],'formatGroupId':_0x1b02('0x32')});});};}function _0xfca1f1(_0xcb771d){const _0x35a4a8=_0x435cc7[_0x1b02('0x1d')][_0x1b02('0x40')]('bulletedList')[_0x1b02('0x14')],_0x1d60e2=_0x435cc7[_0x1b02('0x1d')][_0x1b02('0x40')]('numberedList')[_0x1b02('0x14')];return _0x1b02('0x1c')===_0xcb771d?_0x35a4a8:_0x1d60e2;}_0x2bb4ce[_0x1b02('0xf')](_0x1b02('0x1c'),_0x31df3f(_0x1b02('0x1c'))),_0x2bb4ce[_0x1b02('0xf')]('bulletedList',_0x31df3f(_0x1b02('0x45'))),_0x2bb4ce[_0x1b02('0xf')](_0x1b02('0x33'),_0x1f9bb3('indentList')),_0x2bb4ce[_0x1b02('0xf')]('outdentList',_0x1f9bb3(_0x1b02('0x3e'))),_0x2bb4ce['enableCommand'](_0x1b02('0x19'),_0x5851b2('splitListItemAfter')),_0x2bb4ce[_0x1b02('0xf')]('splitListItemBefore',_0x5851b2('splitListItemBefore')),_0x2bb4ce[_0x1b02('0x2f')][_0x1b02('0xd')](function(_0x33fe3e){const _0x2533b4=!_0x435cc7[_0x1b02('0x46')][_0x1b02('0x24')][_0x1b02('0x0')](_0x33fe3e),_0x4ca47c=_0x33fe3e[_0x1b02('0x9')],_0x5e2394=_0x33fe3e[_0x1b02('0x23')],_0x16b476=_0x33fe3e['getAttribute'](_0x1b02('0x1e')),_0x14b784=!_0x4ca47c||_0x4ca47c['getAttribute'](_0x1b02('0x1e'))!==_0x16b476,_0x3e97c6=!_0x5e2394||_0x5e2394['getAttribute'](_0x1b02('0x1e'))!==_0x16b476;return _0x2533b4&&Boolean(_0x16b476)&&_0x14b784&&_0x3e97c6;},_0x1c62b8=>_0x4b19ad(_0x78ebb8,_0x1b02('0x2a'),_0x1c62b8)),_0x2bb4ce['_descriptionFactory'][_0x1b02('0x8')](function(_0x2e6d48){const {data:_0x988456}=_0x2e6d48;if(!_0x988456)return;let _0x2bf3ba,_0x5d1c02,_0x462bf5,_0x5490ec;switch(_0x988456[_0x1b02('0x2d')]){case _0x1b02('0x45'):_0x462bf5=_0x988456[_0x1b02('0x5')][0x0][_0x1b02('0x1a')],_0x5490ec=_0xfca1f1(_0x988456[_0x1b02('0x2d')]),_0x2bf3ba=_0x462bf5?'*Format:*\x20insert\x20into\x20%0':_0x1b02('0x2b'),_0x5490ec&&(_0x2bf3ba=_0x1b02('0xb')),_0x5d1c02={'type':_0x1b02('0xc'),'content':_0x4b19ad(_0x78ebb8,_0x2bf3ba,_0x4b19ad(_0x78ebb8,_0x1b02('0x21')))};break;case _0x1b02('0x1c'):_0x462bf5=_0x988456[_0x1b02('0x5')][0x0][_0x1b02('0x1a')],_0x5490ec=_0xfca1f1(_0x988456[_0x1b02('0x2d')]),_0x2bf3ba=_0x462bf5?_0x1b02('0x10'):_0x1b02('0x2b'),_0x5490ec&&(_0x2bf3ba='*Change\x20to:*\x20%0'),_0x5d1c02={'type':_0x1b02('0xc'),'content':_0x4b19ad(_0x78ebb8,_0x2bf3ba,_0x4b19ad(_0x78ebb8,_0x1b02('0x25')))};break;case _0x1b02('0x33'):_0x2bf3ba='*Indent:*\x20%0',_0x5d1c02={'type':_0x1b02('0xc'),'content':_0x4b19ad(_0x78ebb8,_0x2bf3ba,_0x4b19ad(_0x78ebb8,'ELEMENT_LIST_ITEM'))};break;case _0x1b02('0x3e'):_0x2bf3ba=function(_0x1431a8){const _0x56c4f2=_0x1431a8['getFirstRange']();let _0x1a260d=_0x56c4f2['start'][_0x1b02('0x17')];for(;_0x1a260d&&_0x56c4f2['containsItem'](_0x1a260d);){if(_0x1a260d[_0x1b02('0x42')]('listIndent')>0x0)return!0x1;_0x1a260d=_0x1a260d['nextSibling'];}return!0x0;}(_0x2e6d48)?_0x4b19ad(_0x78ebb8,'*Format:*\x20remove\x20from\x20%0',_0x4b19ad(_0x78ebb8,function(_0x583209){const _0x2be843=_0x583209[_0x1b02('0x34')]()[_0x1b02('0x3b')][_0x1b02('0x17')];return _0x1b02('0x3')+_0x2be843[_0x1b02('0x42')](_0x1b02('0x32'))[_0x1b02('0x48')]()+_0x1b02('0x7');}(_0x2e6d48))):_0x4b19ad(_0x78ebb8,_0x1b02('0x2'),_0x4b19ad(_0x78ebb8,_0x1b02('0x2a'))),_0x5d1c02={'type':'format','content':_0x2bf3ba};break;case _0x1b02('0x6'):case'mergeListItemForward':!0x1===_0x988456[_0x1b02('0x44')]&&(_0x2bf3ba='*Merge:*\x20%0',_0x5d1c02={'type':_0x1b02('0x1b'),'content':_0x4b19ad(_0x78ebb8,_0x2bf3ba,_0x4b19ad(_0x78ebb8,_0x1b02('0x2a')))});}return _0x5d1c02;}),_0x2bb4ce[_0x1b02('0x36')][_0x1b02('0x43')](_0x1b02('0x3c'),_0x1b02('0x3a'),_0x1b02('0x2c'),function(_0x16a1ea,_0x10fb89){const _0xc65ed1=[];for(let _0x9b4ed4 of _0x16a1ea)_0x9b4ed4[_0x1b02('0x3b')][_0x1b02('0x17')]===_0x9b4ed4[_0x1b02('0x15')][_0x1b02('0x49')]&&(_0x9b4ed4=_0x435cc7['model'][_0x1b02('0xa')](_0x435cc7[_0x1b02('0x46')]['createPositionAt'](_0x9b4ed4[_0x1b02('0x3b')]['nodeAfter'],0x0))),_0xc65ed1[_0x1b02('0x12')](_0x9b4ed4);_0x435cc7[_0x1b02('0x46')][_0x1b02('0x39')](_0x433e23=>{const _0x11b8ed=_0x435cc7[_0x1b02('0x46')][_0x1b02('0x41')]['selection'],_0x278a2c=Array['from'](_0x11b8ed[_0x1b02('0x4a')]())[_0x1b02('0x18')](_0x5b792e=>_0x1a660f[_0x1b02('0x4b')](_0x5b792e));_0x433e23[_0x1b02('0x31')](_0xc65ed1),_0x435cc7[_0x1b02('0x1d')][_0x1b02('0x40')](_0x10fb89['commandName'])[_0x1b02('0x30')](),_0x10fb89[_0x1b02('0x5')]['push']({'forceDefaultExecution':!0x0}),_0x435cc7['execute'](_0x10fb89[_0x1b02('0x2d')],..._0x10fb89[_0x1b02('0x5')]),_0x433e23[_0x1b02('0x31')](_0x278a2c);for(const _0x44e0f0 of _0x278a2c)_0x44e0f0['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x142e=['*Change\x20to:*\x20%0','numbered','registerDescriptionCallback','getAttribute','toUpperCase','reversed','handleListStartCommand','startIndex','_getSuggestionBlocksForListStyle','plugins','change','has','list.properties','getSelectedBlocks','DocumentListPropertiesUtils','length','DocumentListUtils','document','model','handleListStyleCommand','_getSuggestionBlocks','commandName','listReversed','afterInit','listStyle','isFirstBlockOfListItem','from','type','_getTranslationKeyForListStyle','enableCommand','selection','commandParams','push','bind','TrackChangesEditing','handleDescriptions','isListItemBlock','markMultiRangeBlockFormat','handleListReversedCommand','_LIST_','format','listType','listStart','editor','get','config','expandListBlocksToCompleteList','getListTypeFromListStyleType'];(function(_0x21ce61,_0x142e71){const _0x1aa363=function(_0x1917ad){while(--_0x1917ad){_0x21ce61['push'](_0x21ce61['shift']());}};_0x1aa363(++_0x142e71);}(_0x142e,0xf2));const _0x1aa3=function(_0x21ce61,_0x142e71){_0x21ce61=_0x21ce61-0x0;let _0x1aa363=_0x142e[_0x21ce61];return _0x1aa363;};import{Plugin as _0x216539}from'ckeditor5/src/core';import{getTranslation as _0x35c747}from'../utils/common-translations';export default class At extends _0x216539{[_0x1aa3('0x15')](){if(!this[_0x1aa3('0x29')][_0x1aa3('0x7')][_0x1aa3('0x9')]('DocumentListPropertiesEditing'))return;const _0x1acc3f=this[_0x1aa3('0x29')][_0x1aa3('0x2b')][_0x1aa3('0x2a')](_0x1aa3('0xa')),_0xb3bb6e=this[_0x1aa3('0x29')]['plugins'][_0x1aa3('0x2a')](_0x1aa3('0x20'));_0x1acc3f['styles']&&_0xb3bb6e['enableCommand']('listStyle',this[_0x1aa3('0x11')][_0x1aa3('0x1f')](this)),_0x1acc3f[_0x1aa3('0x3')]&&_0xb3bb6e['enableCommand'](_0x1aa3('0x14'),this[_0x1aa3('0x24')]['bind'](this)),_0x1acc3f[_0x1aa3('0x5')]&&_0xb3bb6e[_0x1aa3('0x1b')](_0x1aa3('0x28'),this[_0x1aa3('0x4')][_0x1aa3('0x1f')](this)),_0xb3bb6e['_descriptionFactory'][_0x1aa3('0x0')](this[_0x1aa3('0x21')][_0x1aa3('0x1f')](this));}[_0x1aa3('0x11')](_0x48ce49,_0x4d6ec3={}){const _0x3cfe45=this['editor'][_0x1aa3('0x7')][_0x1aa3('0x2a')](_0x1aa3('0x20')),_0x3a191d=this[_0x1aa3('0x6')]();this[_0x1aa3('0x29')][_0x1aa3('0x10')][_0x1aa3('0x8')](()=>{_0x3cfe45[_0x1aa3('0x23')](_0x3a191d,{'commandName':_0x1aa3('0x16'),'commandParams':[{'type':_0x4d6ec3[_0x1aa3('0x19')]}],'formatGroupId':_0x1aa3('0x16')});});}['handleListReversedCommand'](_0x37cae9,_0x2f2202={}){const _0x44db22=this['editor']['plugins'][_0x1aa3('0x2a')](_0x1aa3('0x20')),_0x2455ea=this[_0x1aa3('0x29')][_0x1aa3('0x7')][_0x1aa3('0x2a')](_0x1aa3('0xe')),_0x7cc2e2=this[_0x1aa3('0x12')](_0x1f0905=>_0x2455ea['isListItemBlock'](_0x1f0905)&&_0x1aa3('0x2f')===_0x1f0905[_0x1aa3('0x1')](_0x1aa3('0x27')));null!==_0x7cc2e2&&this[_0x1aa3('0x29')][_0x1aa3('0x10')][_0x1aa3('0x8')](()=>{_0x44db22['markMultiRangeBlockFormat'](_0x7cc2e2,{'commandName':'listReversed','commandParams':[{'reversed':_0x2f2202['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x851b0b,_0x4de00f={}){const _0x919bea=this[_0x1aa3('0x29')][_0x1aa3('0x7')][_0x1aa3('0x2a')]('TrackChangesEditing'),_0x31616e=this['editor'][_0x1aa3('0x7')][_0x1aa3('0x2a')](_0x1aa3('0xe')),_0x5aa37f=this[_0x1aa3('0x12')](_0x205e3e=>_0x31616e[_0x1aa3('0x22')](_0x205e3e)&&_0x1aa3('0x2f')===_0x205e3e[_0x1aa3('0x1')](_0x1aa3('0x27')));null!==_0x5aa37f&&this[_0x1aa3('0x29')][_0x1aa3('0x10')][_0x1aa3('0x8')](()=>{_0x919bea[_0x1aa3('0x23')](_0x5aa37f,{'commandName':'listStart','commandParams':[{'startIndex':_0x4de00f[_0x1aa3('0x5')]}],'formatGroupId':_0x1aa3('0x28')});});}[_0x1aa3('0x21')](_0x5cd759){const _0x590a8e=this[_0x1aa3('0x29')]['locale'],{data:_0x11f75f}=_0x5cd759;if(!_0x11f75f)return;let _0x111106,_0x517d00;switch(_0x11f75f[_0x1aa3('0x13')]){case _0x1aa3('0x16'):_0x111106=_0x1aa3('0x2e'),_0x517d00={'type':'format','content':_0x35c747(_0x590a8e,_0x111106,_0x35c747(_0x590a8e,this[_0x1aa3('0x1a')](_0x11f75f[_0x1aa3('0x1d')][0x0]['type'])))};break;case _0x1aa3('0x14'):_0x111106=_0x11f75f[_0x1aa3('0x1d')][0x0][_0x1aa3('0x3')]?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x517d00={'type':_0x1aa3('0x26'),'content':_0x35c747(_0x590a8e,_0x111106)};break;case'listStart':_0x111106='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x517d00={'type':'format','content':_0x35c747(_0x590a8e,_0x111106,_0x11f75f[_0x1aa3('0x1d')][0x0][_0x1aa3('0x5')])};}return _0x517d00;}[_0x1aa3('0x6')](){const _0x5eea05=this[_0x1aa3('0x29')][_0x1aa3('0x7')][_0x1aa3('0x2a')](_0x1aa3('0xe'));let _0x113334=Array[_0x1aa3('0x18')](this[_0x1aa3('0x29')][_0x1aa3('0x10')][_0x1aa3('0xf')][_0x1aa3('0x1c')][_0x1aa3('0xb')]());return _0x113334['push'](..._0x5eea05[_0x1aa3('0x2c')](_0x113334)),_0x113334=[...new Set(_0x113334)],_0x113334;}[_0x1aa3('0x12')](_0x4261e5){const _0x29f73e=this[_0x1aa3('0x29')][_0x1aa3('0x7')]['get'](_0x1aa3('0xe'));let _0x1e577d=Array['from'](this[_0x1aa3('0x29')][_0x1aa3('0x10')][_0x1aa3('0xf')][_0x1aa3('0x1c')][_0x1aa3('0xb')]())['filter'](_0x4261e5);if(!_0x1e577d[_0x1aa3('0xd')])return null;_0x1e577d=_0x29f73e['expandListBlocksToCompleteList'](_0x1e577d);const _0x4b98c7=[];for(const _0x542441 of _0x1e577d)_0x29f73e[_0x1aa3('0x17')](_0x542441)&&_0x4b98c7[_0x1aa3('0x1e')](_0x542441);return _0x4b98c7;}[_0x1aa3('0x1a')](_0x1ea323){return'ELEMENT_'+this[_0x1aa3('0x29')][_0x1aa3('0x7')][_0x1aa3('0x2a')](_0x1aa3('0xc'))[_0x1aa3('0x2d')](_0x1ea323)[_0x1aa3('0x2')]()+_0x1aa3('0x25')+_0x1ea323[_0x1aa3('0x2')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38c8=['plugins','editing','enter','addMarker:suggestion:insertion','createPositionAt','downcastDispatcher','fire','afterExecute','end','setSelection','high','enableCommand','requires','markerNameToElements','mapper','remove','fromRange','detach','hasClass','nextSibling','selection','enterBlock','getFirstPosition','model','createRange','parent','split','showSuggestionHighlights','markInsertion','markerName','get','TrackChangesEditing','options','change'];(function(_0x4792cb,_0x38c8f8){const _0x2d66ee=function(_0x4ae7e3){while(--_0x4ae7e3){_0x4792cb['push'](_0x4792cb['shift']());}};_0x2d66ee(++_0x38c8f8);}(_0x38c8,0x190));const _0x2d66=function(_0x4792cb,_0x38c8f8){_0x4792cb=_0x4792cb-0x0;let _0x2d66ee=_0x38c8[_0x4792cb];return _0x2d66ee;};import{Plugin as _0x1ea5fa}from'ckeditor5/src/core';import{Enter as _0x2aa837}from'ckeditor5/src/enter';import{LiveRange as _0x5cd362}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4579d5}from'./utils';export default class q extends _0x1ea5fa{static get[_0x2d66('0x14')](){return[_0x2aa837];}['init'](){const _0x26e019=this['editor'],_0x4034ef=_0x26e019[_0x2d66('0x8')][_0x2d66('0x4')](_0x2d66('0x5')),_0x146279=_0x26e019['commands'][_0x2d66('0x4')]('enter');_0x4034ef[_0x2d66('0x13')](_0x2d66('0xa'),()=>{_0x26e019[_0x2d66('0x1f')][_0x2d66('0x7')](_0x389a5e=>{const _0x2123f6=_0x26e019[_0x2d66('0x1f')]['document'][_0x2d66('0x1c')],_0x1e3eb5=_0x2123f6[_0x2d66('0x1e')](),_0xd9f3dd=_0x5cd362[_0x2d66('0x18')](_0x2123f6['getFirstRange']());if(_0x146279[_0x2d66('0x1d')](_0x389a5e)){const _0x18ba4f=_0x26e019[_0x2d66('0x1f')][_0x2d66('0xc')](_0x1e3eb5[_0x2d66('0x21')][_0x2d66('0x1b')],0x0),_0x587204=_0x389a5e[_0x2d66('0x20')](_0x1e3eb5,_0x18ba4f);_0x4034ef[_0x2d66('0x2')](_0x587204);}else _0x389a5e[_0x2d66('0x11')](_0x389a5e[_0x2d66('0x20')](_0xd9f3dd[_0x2d66('0x10')]));_0xd9f3dd[_0x2d66('0x19')](),_0x146279[_0x2d66('0xe')](_0x2d66('0xf'),{'writer':_0x389a5e});});}),_0x26e019['editing'][_0x2d66('0xd')]['on']('addMarker:suggestion:insertion',_0x4579d5(_0x26e019,_0x2d66('0x0')),{'priority':_0x2d66('0x12')}),_0x26e019[_0x2d66('0x9')][_0x2d66('0xd')]['on']('removeMarker:suggestion:insertion',(_0x165f1d,_0x3eb60a,_0x316924)=>{const _0x3f2716=_0x316924['mapper'][_0x2d66('0x15')](_0x3eb60a[_0x2d66('0x3')]);if(_0x3f2716)for(const _0x492a6e of _0x3f2716)_0x492a6e[_0x2d66('0x1a')]('ck-suggestion-marker-split')&&(_0x316924[_0x2d66('0x16')]['unbindElementFromMarkerName'](_0x492a6e,_0x3eb60a[_0x2d66('0x3')]),_0x316924['writer'][_0x2d66('0x17')](_0x492a6e));},{'priority':_0x2d66('0x12')}),_0x26e019['data'][_0x2d66('0xd')]['on'](_0x2d66('0xb'),(_0x1b1a89,_0x3a73d4,_0x29ab13)=>{_0x29ab13[_0x2d66('0x6')][_0x2d66('0x1')]&&_0x4579d5(_0x26e019,_0x2d66('0x0'),{'showActiveMarker':!0x1})['bind'](this)(_0x1b1a89,_0x3a73d4,_0x29ab13);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x340f=['model','createRange','createPositionAt','end','get','getIntersection','afterInit','findByTextCallback','has','item','handleFindCommand','string','findPrevious','bind','editor','markers','replaceAll','enableCommand','suggestion:deletion','TrackChangesEditing','getMarkersGroup','_isInDeletionRange'];(function(_0x1d84c5,_0x340f94){const _0x4ea360=function(_0x401447){while(--_0x401447){_0x1d84c5['push'](_0x1d84c5['shift']());}};_0x4ea360(++_0x340f94);}(_0x340f,0xe0));const _0x4ea3=function(_0x1d84c5,_0x340f94){_0x1d84c5=_0x1d84c5-0x0;let _0x4ea360=_0x340f[_0x1d84c5];return _0x4ea360;};import{Plugin as _0x3b0be2}from'ckeditor5/src/core';export default class z extends _0x3b0be2{[_0x4ea3('0x2')](){if(!this[_0x4ea3('0xa')]['plugins'][_0x4ea3('0x4')]('FindAndReplaceEditing'))return;const _0x45a7f1=this[_0x4ea3('0xa')]['plugins'][_0x4ea3('0x0')](_0x4ea3('0xf'));_0x45a7f1[_0x4ea3('0xd')]('find',this[_0x4ea3('0x6')][_0x4ea3('0x9')](this)),_0x45a7f1[_0x4ea3('0xd')]('findNext'),_0x45a7f1[_0x4ea3('0xd')](_0x4ea3('0x8')),_0x45a7f1[_0x4ea3('0xd')]('replace'),_0x45a7f1[_0x4ea3('0xd')](_0x4ea3('0xc'));}[_0x4ea3('0x6')](_0x46e67e,_0x518c37,_0x3a82bd={}){const _0x48eb38=this['editor']['plugins']['get']('FindAndReplaceUtils');void 0x0!==_0x3a82bd&&_0x46e67e(_0x2356fa=>(_0x4ea3('0x7')==typeof _0x518c37?_0x48eb38[_0x4ea3('0x3')](_0x518c37,_0x3a82bd):_0x518c37)(_0x2356fa)['filter'](_0x566ba7=>!0x1===this[_0x4ea3('0x11')](_0x566ba7,_0x2356fa[_0x4ea3('0x5')])),_0x3a82bd);}['_isInDeletionRange'](_0xf6d17e,_0x400c14){const _0x5748ef=this['editor'][_0x4ea3('0x12')][_0x4ea3('0x13')](this[_0x4ea3('0xa')][_0x4ea3('0x12')]['createPositionAt'](_0x400c14,_0xf6d17e['start']),this[_0x4ea3('0xa')][_0x4ea3('0x12')][_0x4ea3('0x14')](_0x400c14,_0xf6d17e[_0x4ea3('0x15')]));for(const _0x354a20 of this[_0x4ea3('0xa')]['model'][_0x4ea3('0xb')][_0x4ea3('0x10')](_0x4ea3('0xe')))if(null!==_0x5748ef[_0x4ea3('0x1')](_0x354a20['getRange']()))return!0x0;return!0x1;}}
|