@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231116.0 → 0.0.0-nightly-20231117.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/aiassistant.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/imagestyle.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-20231117.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-20231117.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231117.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 _0x4bcb=['canEditAt','acceptSuggestion','TrackChangesEditing','track-changes-accept-suggestion-not-found','getRanges','refresh','get','execute','isEnabled','editor','plugins'];(function(_0x187c6d,_0x4bcbbb){const _0x59fdd7=function(_0x1348c8){while(--_0x1348c8){_0x187c6d['push'](_0x187c6d['shift']());}};_0x59fdd7(++_0x4bcbbb);}(_0x4bcb,0xca));const _0x59fd=function(_0x187c6d,_0x4bcbbb){_0x187c6d=_0x187c6d-0x0;let _0x59fdd7=_0x4bcb[_0x187c6d];return _0x59fdd7;};import{Command as _0x51e453}from'ckeditor5/src/core';import{CKEditorError as _0x47e341}from'ckeditor5/src/utils';export default class B extends _0x51e453{constructor(_0x112b4d,_0x4483fb){super(_0x112b4d),this['_suggestions']=_0x4483fb,this[_0x59fd('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x59fd('0x1')](){this[_0x59fd('0x4')]=!0x0;}[_0x59fd('0x3')](_0x1f333f){const _0x47b583=this['_suggestions'][_0x59fd('0x2')](_0x1f333f);if(!_0x47b583)throw new _0x47e341(_0x59fd('0xa'),this);const _0x4ad581=_0x47b583[_0x59fd('0x0')]();this[_0x59fd('0x5')]['model'][_0x59fd('0x7')](_0x4ad581)&&this[_0x59fd('0x5')][_0x59fd('0x6')][_0x59fd('0x2')](_0x59fd('0x9'))[_0x59fd('0x8')](_0x47b583);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cb4=['refresh','editor','_isEnabledBasedOnSelection','model','get','TrackChangesEditing','track-changes-discard-suggestion-not-found','getRanges','plugins','discardSuggestion','_suggestions','isEnabled','canEditAt','execute'];(function(_0x1afb25,_0x4cb4d0){const _0xa87deb=function(_0x16fcd4){while(--_0x16fcd4){_0x1afb25['push'](_0x1afb25['shift']());}};_0xa87deb(++_0x4cb4d0);}(_0x4cb4,0xd5));const _0xa87d=function(_0x1afb25,_0x4cb4d0){_0x1afb25=_0x1afb25-0x0;let _0xa87deb=_0x4cb4[_0x1afb25];return _0xa87deb;};import{Command as _0x2b960c}from'ckeditor5/src/core';import{CKEditorError as _0x173541}from'ckeditor5/src/utils';export default class x extends _0x2b960c{constructor(_0x31f8a2,_0x5feabe){super(_0x31f8a2),this['_suggestions']=_0x5feabe,this[_0xa87d('0xb')](),this[_0xa87d('0xd')]=!0x1;}[_0xa87d('0xb')](){this[_0xa87d('0x8')]=!0x0;}[_0xa87d('0xa')](_0x5e074b){const _0x6f66fa=this[_0xa87d('0x7')]['get'](_0x5e074b);if(!_0x6f66fa)throw new _0x173541(_0xa87d('0x3'),this);const _0x3debe4=_0x6f66fa[_0xa87d('0x4')]();this[_0xa87d('0xc')][_0xa87d('0x0')][_0xa87d('0x9')](_0x3debe4)&&this[_0xa87d('0xc')][_0xa87d('0x5')][_0xa87d('0x1')](_0xa87d('0x2'))[_0xa87d('0x6')](_0x6f66fa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5476=['editor','_suggestions','refresh','from','some','execute','getRanges','_command','_isEnabledBasedOnSelection','isEnabled','values'];(function(_0x4ad5e2,_0x5476c7){const _0x40e7c9=function(_0x24d49c){while(--_0x24d49c){_0x4ad5e2['push'](_0x4ad5e2['shift']());}};_0x40e7c9(++_0x5476c7);}(_0x5476,0x19e));const _0x40e7=function(_0x4ad5e2,_0x5476c7){_0x4ad5e2=_0x4ad5e2-0x0;let _0x40e7c9=_0x5476[_0x4ad5e2];return _0x40e7c9;};import{Command as _0x23ea5}from'ckeditor5/src/core';import{sortSuggestions as _0x5e1da7,executeCommandForSuggestions as _0x33d38a}from'../utils/utils';export default class E extends _0x23ea5{constructor(_0x32bde8,_0x9a8461,_0x29f959){super(_0x32bde8),this[_0x40e7('0x0')]=_0x9a8461,this[_0x40e7('0x5')]=_0x29f959,this[_0x40e7('0x6')](),this[_0x40e7('0x1')]=!0x1;}[_0x40e7('0x6')](){const _0x34c33c=Array['from'](this[_0x40e7('0x5')][_0x40e7('0x3')]())[_0x40e7('0x8')](_0xb88d0a=>_0xb88d0a['isInContent']);this[_0x40e7('0x2')]=this[_0x40e7('0x0')][_0x40e7('0x2')]&&_0x34c33c;}[_0x40e7('0x9')](){const _0x5c051a=_0x5e1da7(Array[_0x40e7('0x7')](this[_0x40e7('0x5')][_0x40e7('0x3')]()));for(const _0x17613f of _0x5c051a){const _0x454356=_0x17613f[_0x40e7('0xa')]();if(!this[_0x40e7('0x4')]['model']['canEditAt'](_0x454356))return;}_0x33d38a(this[_0x40e7('0x4')]['model'],this[_0x40e7('0x0')],_0x5c051a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2427=['document','canEditAt','execute','_command','isEnabled','values','editor','selection','getRanges','from','refresh','model','_isEnabledBasedOnSelection','_suggestions','_selectedSuggestions'];(function(_0x35ed75,_0x2427d3){const _0x2ac7ce=function(_0x5aa522){while(--_0x5aa522){_0x35ed75['push'](_0x35ed75['shift']());}};_0x2ac7ce(++_0x2427d3);}(_0x2427,0x146));const _0x2ac7=function(_0x35ed75,_0x2427d3){_0x35ed75=_0x35ed75-0x0;let _0x2ac7ce=_0x2427[_0x35ed75];return _0x2ac7ce;};import{Command as _0x3f63f1}from'ckeditor5/src/core';import{sortSuggestions as _0x254cba,getSelectedSuggestions as _0xefe760,executeCommandForSuggestions as _0x29f48f}from'../utils/utils';export default class R extends _0x3f63f1{constructor(_0x595323,_0x5db26c,_0x40ddda){super(_0x595323),this[_0x2ac7('0x7')]=_0x5db26c,this[_0x2ac7('0x2')]=_0x40ddda,this[_0x2ac7('0x3')]=new Set(),this[_0x2ac7('0xe')](),this[_0x2ac7('0x1')]=!0x1;}['refresh'](){const _0x2beb4d=this[_0x2ac7('0xa')][_0x2ac7('0x0')][_0x2ac7('0x4')][_0x2ac7('0xb')],_0x2ac87d=Array['from'](this[_0x2ac7('0x2')][_0x2ac7('0x9')]());this[_0x2ac7('0x3')]=_0xefe760(_0x2beb4d,_0x2ac87d),this[_0x2ac7('0x8')]=this['_command']['isEnabled']&&!!this[_0x2ac7('0x3')]['size'];}[_0x2ac7('0x6')](){const _0x1c3c7e=_0x254cba(Array[_0x2ac7('0xd')](this[_0x2ac7('0x3')]));for(const _0x2d2595 of _0x1c3c7e){const _0x10d4b5=_0x2d2595[_0x2ac7('0xc')]();if(!this[_0x2ac7('0xa')]['model'][_0x2ac7('0x5')](_0x10d4b5))return;}_0x29f48f(this[_0x2ac7('0xa')][_0x2ac7('0x0')],this[_0x2ac7('0x7')],_0x1c3c7e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc34a=['commands','value','has','refresh','forceDisabled','_enabledCommands','_enableCommands','clearForceDisabled','_disableUnsupportedCommands','affectsData','editor'];(function(_0x5ee839,_0xc34a5a){const _0x4d82fb=function(_0x4aea39){while(--_0x4aea39){_0x5ee839['push'](_0x5ee839['shift']());}};_0x4d82fb(++_0xc34a5a);}(_0xc34a,0x1f3));const _0x4d82=function(_0x5ee839,_0xc34a5a){_0x5ee839=_0x5ee839-0x0;let _0x4d82fb=_0xc34a[_0x5ee839];return _0x4d82fb;};import{Command as _0x552e91}from'ckeditor5/src/core';export default class $ extends _0x552e91{constructor(_0x10a342,_0x29ba8c){super(_0x10a342),this[_0x4d82('0x1')]=_0x29ba8c,this[_0x4d82('0x8')]=!0x1,this[_0x4d82('0xa')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4d82('0xa')](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0x4d82('0x8')],this[_0x4d82('0x8')]?this[_0x4d82('0x4')]():this['_enableCommands']();}[_0x4d82('0x4')](){for(const _0x353eee of this[_0x4d82('0x6')][_0x4d82('0x7')][_0x4d82('0x7')]())_0x353eee['affectsData']&&!this[_0x4d82('0x1')][_0x4d82('0x9')](_0x353eee)&&_0x353eee[_0x4d82('0x0')]('TrackChangesCommand');}[_0x4d82('0x2')](){for(const _0x50d1a8 of this['editor']['commands'][_0x4d82('0x7')]())_0x50d1a8[_0x4d82('0x5')]&&!this[_0x4d82('0x1')][_0x4d82('0x9')](_0x50d1a8)&&_0x50d1a8[_0x4d82('0x3')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d55=['showAIAssistant','plugins','afterInit','get','TrackChangesEditing','commands','enableCommand','editor'];(function(_0x1b21d1,_0x5d55fe){const _0x9833c8=function(_0x290930){while(--_0x290930){_0x1b21d1['push'](_0x1b21d1['shift']());}};_0x9833c8(++_0x5d55fe);}(_0x5d55,0xd6));const _0x9833=function(_0x1b21d1,_0x5d55fe){_0x1b21d1=_0x1b21d1-0x0;let _0x9833c8=_0x5d55[_0x1b21d1];return _0x9833c8;};import{Plugin as _0x256c5a}from'ckeditor5/src/core';export default class j extends _0x256c5a{[_0x9833('0x4')](){const _0x5bacf5=this[_0x9833('0x1')],_0x87e7ef=_0x5bacf5[_0x9833('0x3')][_0x9833('0x5')](_0x9833('0x6'));_0x5bacf5[_0x9833('0x7')][_0x9833('0x5')](_0x9833('0x2'))&&_0x87e7ef[_0x9833('0x0')](_0x9833('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5750=['*Format:*\x20%0','FORMAT_JUSTIFY_TEXT','AlignmentEditing','FORMAT_ALIGN_TO_LEFT','center','editor','has','registerDescriptionCallback','TrackChangesEditing','_descriptionFactory','left','locale','format','get','type','commandParams','commandName','justify','plugins','registerAttributeLabel','alignment'];(function(_0x290724,_0x575057){const _0x240970=function(_0x109757){while(--_0x109757){_0x290724['push'](_0x290724['shift']());}};_0x240970(++_0x575057);}(_0x5750,0x110));const _0x2409=function(_0x290724,_0x575057){_0x290724=_0x290724-0x0;let _0x240970=_0x5750[_0x290724];return _0x240970;};import{Plugin as _0x1c5462}from'ckeditor5/src/core';import{getTranslation as _0x3bed9b}from'../utils/common-translations';export default class U extends _0x1c5462{['afterInit'](){const _0x38b9d7=this['editor'],_0x30f41b=_0x38b9d7[_0x2409('0xc')];if(!_0x38b9d7[_0x2409('0x13')][_0x2409('0x7')](_0x2409('0x3')))return;const _0x36e3ba=_0x38b9d7['plugins'][_0x2409('0xe')]('TrackChangesEditing');_0x36e3ba['_enableDefaultAttributesIntegration']('alignment',[],[_0x2409('0x0')]),_0x36e3ba[_0x2409('0xa')][_0x2409('0x14')](_0x2409('0x0'),_0x3bed9b(_0x30f41b,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3387bf=this[_0x2409('0x6')],_0x3c8ea1=_0x3387bf[_0x2409('0xc')];_0x3387bf[_0x2409('0x13')]['get'](_0x2409('0x9'))['_descriptionFactory'][_0x2409('0x8')](_0x4518f1=>{if('formatBlock'!=_0x4518f1[_0x2409('0xf')])return;const {data:_0x9eb13d}=_0x4518f1;if(_0x9eb13d&&'alignment'==_0x9eb13d[_0x2409('0x11')]){const _0x5f0a89=_0x9eb13d[_0x2409('0x10')][0x0]['value'];return{'type':_0x2409('0xd'),'content':_0x3bed9b(_0x3c8ea1,_0x2409('0x1'),function(_0x472764){switch(_0x472764){case _0x2409('0xb'):return _0x3bed9b(_0x3c8ea1,_0x2409('0x4'));case'right':return _0x3bed9b(_0x3c8ea1,'FORMAT_ALIGN_TO_RIGHT');case _0x2409('0x5'):return _0x3bed9b(_0x3c8ea1,'FORMAT_ALIGN_TO_CENTER');case _0x2409('0x12'):return _0x3bed9b(_0x3c8ea1,_0x2409('0x2'));}}(_0x5f0a89))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x246f=['StrikethroughEditing','has','SubscriptEditing','ItalicEditing','underline','afterInit','SuperscriptEditing','FORMAT_UNDERLINE','toLowerCase','commandName','forceValue','slice','BoldEditing','formatInline','get','toUpperCase','*Remove\x20format:*\x20%0','FORMAT_CODE','editor','type','superscript','bold','strikethrough','*Format:*\x20%0','_enableDefaultAttributesIntegration','format','code','subscript','FORMAT_SUPERSCRIPT','_descriptionFactory','TrackChangesEditing','locale','plugins','FORMAT_SUBSCRIPT','_registerLegacyDescription','commandParams','UnderlineEditing','italic','FORMAT_'];(function(_0x28fb77,_0x246fe5){const _0x2dbcd1=function(_0x47ec6d){while(--_0x47ec6d){_0x28fb77['push'](_0x28fb77['shift']());}};_0x2dbcd1(++_0x246fe5);}(_0x246f,0x110));const _0x2dbc=function(_0x28fb77,_0x246fe5){_0x28fb77=_0x28fb77-0x0;let _0x2dbcd1=_0x246f[_0x28fb77];return _0x2dbcd1;};import{Plugin as _0x45e8f3}from'ckeditor5/src/core';import{getTranslation as _0x324d59}from'../utils/common-translations';const ti=[_0x2dbc('0xd'),_0x2dbc('0x4'),_0x2dbc('0x25'),'CodeEditing',_0x2dbc('0x1'),_0x2dbc('0x3'),_0x2dbc('0x7')];export default class O extends _0x45e8f3{[_0x2dbc('0x6')](){const _0x4fe25e=this[_0x2dbc('0x13')],_0x141400=_0x4fe25e[_0x2dbc('0x21')][_0x2dbc('0xf')]('TrackChangesEditing'),_0x4d63a9=_0x4fe25e[_0x2dbc('0x20')];for(const _0x118462 of ti){if(!_0x4fe25e[_0x2dbc('0x21')][_0x2dbc('0x2')](_0x118462))continue;const _0x49053d=_0x118462[_0x2dbc('0xc')](0x0,-0x7)[_0x2dbc('0x9')](),_0x14a603=_0x2dbc('0x0')+_0x49053d[_0x2dbc('0x10')]();_0x141400[_0x2dbc('0x19')](_0x49053d,[_0x49053d]),_0x141400['_descriptionFactory']['registerAttributeLabel'](_0x49053d,_0x324d59(_0x4d63a9,_0x14a603));}this[_0x2dbc('0x23')]();}['_registerLegacyDescription'](){const _0x5422b2=this['editor'],_0x43d57a=_0x5422b2['locale'],_0x1045f8=_0x5422b2['plugins'][_0x2dbc('0xf')](_0x2dbc('0x1f'));function _0x3178a1(_0x3067d5,_0x580d63){_0x1045f8[_0x2dbc('0x1e')]['registerDescriptionCallback'](_0x2fd76e=>{if(_0x2dbc('0xe')!=_0x2fd76e[_0x2dbc('0x14')])return;const {data:_0x58180a}=_0x2fd76e;return _0x58180a&&_0x58180a[_0x2dbc('0xa')]===_0x3067d5?_0x58180a[_0x2dbc('0x24')][0x0][_0x2dbc('0xb')]?{'type':_0x2dbc('0x1a'),'content':_0x324d59(_0x43d57a,_0x2dbc('0x18'),_0x580d63)}:{'type':_0x2dbc('0x1a'),'content':_0x324d59(_0x43d57a,_0x2dbc('0x11'),_0x580d63)}:void 0x0;});}_0x3178a1(_0x2dbc('0x16'),_0x324d59(_0x43d57a,'FORMAT_BOLD')),_0x3178a1(_0x2dbc('0x26'),_0x324d59(_0x43d57a,'FORMAT_ITALIC')),_0x3178a1(_0x2dbc('0x5'),_0x324d59(_0x43d57a,_0x2dbc('0x8'))),_0x3178a1(_0x2dbc('0x1b'),_0x324d59(_0x43d57a,_0x2dbc('0x12'))),_0x3178a1(_0x2dbc('0x17'),_0x324d59(_0x43d57a,'FORMAT_STRIKETHROUGH')),_0x3178a1(_0x2dbc('0x1c'),_0x324d59(_0x43d57a,_0x2dbc('0x22'))),_0x3178a1(_0x2dbc('0x15'),_0x324d59(_0x43d57a,_0x2dbc('0x1d')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b28=['commandName','document','forceValue','blockQuote','afterInit','enableCommand','editor','*Remove\x20format:*\x20%0','change','getSelectedBlocks','checkChild','markBlockFormat','name','from','format','plugins','registerDescriptionCallback','ELEMENT_BLOCK_QUOTE','filter','schema','locale','commands','get','commandParams','parent','_descriptionFactory','model','$root'];(function(_0x13d1a9,_0x3b2811){const _0x5eae9e=function(_0x28cbc6){while(--_0x28cbc6){_0x13d1a9['push'](_0x13d1a9['shift']());}};_0x5eae9e(++_0x3b2811);}(_0x3b28,0xb7));const _0x5eae=function(_0x13d1a9,_0x3b2811){_0x13d1a9=_0x13d1a9-0x0;let _0x5eae9e=_0x3b28[_0x13d1a9];return _0x5eae9e;};import{Plugin as _0x38265b}from'ckeditor5/src/core';import{getTranslation as _0x5f367b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x19fad8}from'../utils/utils';export default class V extends _0x38265b{[_0x5eae('0x11')](){const _0x54ff9b=this[_0x5eae('0x13')],_0x1db4bf=_0x54ff9b[_0x5eae('0x5')];if(!_0x54ff9b[_0x5eae('0x0')]['has']('BlockQuoteEditing'))return;const _0xce2d4a=_0x54ff9b['plugins']['get']('TrackChangesEditing'),_0x1c0039=this[_0x5eae('0x13')][_0x5eae('0x6')][_0x5eae('0x7')](_0x5eae('0x10'));_0xce2d4a[_0x5eae('0x12')](_0x5eae('0x10'),(_0x48f99c,_0x21ed57={})=>{const _0x3c621f=this['editor'][_0x5eae('0xb')][_0x5eae('0xe')]['selection'],_0x53e138=_0x21ed57&&void 0x0!==_0x21ed57[_0x5eae('0xf')]?_0x21ed57[_0x5eae('0xf')]:!_0x1c0039['value'];let _0x502268=[];if(_0x53e138){const _0x31dbeb=Array[_0x5eae('0x1a')](_0x3c621f['getSelectedBlocks']())[_0x5eae('0x3')](_0x5010cb=>oo(_0x5010cb)||function(_0x26d830,_0x131c78){const _0x3212ce=_0x131c78['checkChild'](_0x26d830[_0x5eae('0x9')],_0x5eae('0x10')),_0x38932c=_0x131c78[_0x5eae('0x17')]([_0x5eae('0xc'),'blockQuote'],_0x26d830);return _0x3212ce&&_0x38932c;}(_0x5010cb,this[_0x5eae('0x13')][_0x5eae('0xb')][_0x5eae('0x4')]));_0x502268=_0x19fad8(_0x31dbeb,_0x54ff9b[_0x5eae('0xb')]);}else{const _0x4617e9=Array[_0x5eae('0x1a')](_0x3c621f[_0x5eae('0x16')]())['filter'](_0x3c0577=>oo(_0x3c0577));_0x502268=_0x19fad8(_0x4617e9,_0x54ff9b[_0x5eae('0xb')]);}_0x54ff9b[_0x5eae('0xb')][_0x5eae('0x15')](()=>{for(const _0x41dbc4 of _0x502268)_0xce2d4a[_0x5eae('0x18')](_0x41dbc4,{'commandName':_0x5eae('0x10'),'commandParams':[{'forceValue':_0x53e138}]});});}),_0xce2d4a[_0x5eae('0xa')][_0x5eae('0x1')](_0x5e4d2d=>{const {data:_0x4001e1}=_0x5e4d2d;if(_0x4001e1&&_0x5eae('0x10')==_0x4001e1[_0x5eae('0xd')]){const _0x11c83a=_0x5f367b(_0x1db4bf,_0x5eae('0x2'));return _0x4001e1[_0x5eae('0x8')][0x0]['forceValue']?{'type':_0x5eae('0x1b'),'content':_0x5f367b(_0x1db4bf,'*Set\x20format:*\x20%0',_0x11c83a)}:{'type':'format','content':_0x5f367b(_0x1db4bf,_0x5eae('0x14'),_0x11c83a)};}});}}function oo(_0x60a8ed){return'blockQuote'==_0x60a8ed[_0x5eae('0x9')][_0x5eae('0x19')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e96=['commands','afterInit','editor','enableCommand','get','ckbox','plugins'];(function(_0x107ac4,_0x5e962b){const _0x428ad6=function(_0x4b289f){while(--_0x4b289f){_0x107ac4['push'](_0x107ac4['shift']());}};_0x428ad6(++_0x5e962b);}(_0x5e96,0xa9));const _0x428a=function(_0x107ac4,_0x5e962b){_0x107ac4=_0x107ac4-0x0;let _0x428ad6=_0x5e96[_0x107ac4];return _0x428ad6;};import{Plugin as _0x4f4922}from'ckeditor5/src/core';export default class F extends _0x4f4922{[_0x428a('0x0')](){const _0x5d5ceb=this[_0x428a('0x1')];_0x5d5ceb[_0x428a('0x6')][_0x428a('0x3')]('ckbox')&&_0x5d5ceb[_0x428a('0x5')][_0x428a('0x3')]('TrackChangesEditing')[_0x428a('0x2')](_0x428a('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29ed=['model','language','filter','editor','markBlockFormat','change','indentCodeBlock','forceValue','document','toLowerCase','commands','codeBlock','enableCommand','rootElement','type','plugins','name','formatBlock','get','format','has','selection','checkChild','CodeBlock','from','locale','registerElementLabel','parent','commandParams','languages','*Remove\x20format:*\x20%0','isLimit','_descriptionFactory','getSelectedBlocks','config','find','*Set\x20format:*\x20%0','ELEMENT_CODE_BLOCK'];(function(_0x4004df,_0x29ed43){const _0x343667=function(_0x2dd6ec){while(--_0x2dd6ec){_0x4004df['push'](_0x4004df['shift']());}};_0x343667(++_0x29ed43);}(_0x29ed,0x171));const _0x3436=function(_0x4004df,_0x29ed43){_0x4004df=_0x4004df-0x0;let _0x343667=_0x29ed[_0x4004df];return _0x343667;};import{Plugin as _0x5a2618}from'ckeditor5/src/core';import{getTranslation as _0x445106}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x864eb3}from'../utils/utils';export default class G extends _0x5a2618{['afterInit'](){const _0x219f59=this[_0x3436('0xe')];if(!_0x219f59[_0x3436('0x1a')][_0x3436('0x1f')](_0x3436('0x22')))return;const _0x2df870=_0x219f59[_0x3436('0x1a')][_0x3436('0x1d')]('TrackChangesEditing'),_0x41d9b2=_0x219f59[_0x3436('0x24')],_0x481acf=_0x219f59[_0x3436('0x7')][_0x3436('0x1d')](_0x3436('0x16'))[_0x3436('0x2')],_0x138ae4=_0x219f59[_0x3436('0x15')][_0x3436('0x1d')]('codeBlock');_0x2df870['enableCommand'](_0x3436('0x11')),_0x2df870['enableCommand']('outdentCodeBlock'),_0x2df870[_0x3436('0x17')]('codeBlock',(_0x300724,_0x441ebb={})=>{const _0x185458=_0x219f59[_0x3436('0xb')],_0x48e608=_0x219f59['model'][_0x3436('0x13')][_0x3436('0x20')],_0x453b07=_0x441ebb&&void 0x0!==_0x441ebb['forceValue']?_0x441ebb[_0x3436('0x12')]:!_0x138ae4['value'];let _0x171761;_0x441ebb[_0x3436('0xc')]||(_0x441ebb['language']=_0x481acf[0x0][_0x3436('0xc')]),_0x171761=_0x453b07?Array[_0x3436('0x23')](_0x48e608[_0x3436('0x6')]())['filter'](_0x247259=>eo(_0x247259)||function(_0x24a01b,_0x124dd2){if(_0x24a01b['is'](_0x3436('0x18'))||_0x124dd2[_0x3436('0x4')](_0x24a01b))return!0x1;return _0x124dd2[_0x3436('0x21')](_0x24a01b[_0x3436('0x0')],_0x3436('0x16'));}(_0x247259,_0x185458['schema'])):Array[_0x3436('0x23')](_0x48e608['getSelectedBlocks']())[_0x3436('0xd')](_0x5c3f4e=>eo(_0x5c3f4e));const _0x1b43dd=_0x864eb3(_0x171761,_0x185458);_0x185458[_0x3436('0x10')](()=>{for(const _0x50f575 of _0x1b43dd)_0x2df870[_0x3436('0xf')](_0x50f575,{'commandName':_0x3436('0x16'),'commandParams':[{..._0x441ebb,'forceValue':_0x453b07}],'formatGroupId':'blockName'});});}),(_0x2df870[_0x3436('0x5')][_0x3436('0x25')](_0x3436('0x16'),_0x2a9be5=>_0x445106(_0x41d9b2,_0x3436('0xa'),_0x2a9be5)),_0x2df870['_descriptionFactory']['registerDescriptionCallback'](_0x33e3c2=>{if(_0x3436('0x1c')!=_0x33e3c2[_0x3436('0x19')])return;const _0x1823c3=_0x41d9b2['t'],{data:_0x2c62c2}=_0x33e3c2;if(!_0x2c62c2||_0x3436('0x16')!=_0x2c62c2['commandName'])return;const _0xc1ac4b=_0x2c62c2[_0x3436('0x1')][0x0]['language'],_0x5dac6c=_0x1823c3(_0x481acf[_0x3436('0x8')](_0xa0a9ce=>_0xa0a9ce[_0x3436('0xc')]===_0xc1ac4b)['label'])[_0x3436('0x14')]();return _0x2c62c2['commandParams'][0x0][_0x3436('0x12')]?{'type':'format','content':_0x445106(_0x41d9b2,_0x3436('0x9'),_0x445106(_0x41d9b2,_0x3436('0xa'),0x1)+'\x20('+_0x5dac6c+')')}:{'type':_0x3436('0x1e'),'content':_0x445106(_0x41d9b2,_0x3436('0x3'),_0x445106(_0x41d9b2,_0x3436('0xa'),0x1))};}));}}function eo(_0x3b323e){return'codeBlock'==_0x3b323e[_0x3436('0x1b')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2055=['afterInit','plugins','get','has','TrackChangesEditing','CommentsEditing'];(function(_0x342d8b,_0x2055c0){const _0x3c8d03=function(_0x4a0d1f){while(--_0x4a0d1f){_0x342d8b['push'](_0x342d8b['shift']());}};_0x3c8d03(++_0x2055c0);}(_0x2055,0x13f));const _0x3c8d=function(_0x342d8b,_0x2055c0){_0x342d8b=_0x342d8b-0x0;let _0x3c8d03=_0x2055[_0x342d8b];return _0x3c8d03;};import{Plugin as _0x410e3f}from'ckeditor5/src/core';export default class L extends _0x410e3f{[_0x3c8d('0x5')](){const _0x239085=this['editor'];if(!_0x239085[_0x3c8d('0x0')][_0x3c8d('0x2')](_0x3c8d('0x4')))return;_0x239085['plugins'][_0x3c8d('0x1')](_0x3c8d('0x3'))['enableCommand']('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f64=['init','removeMarker:suggestion:deletion','fromRange','addMarker:suggestion:deletion','markerName','model','editing','merge','enableCommand','plugins','createRange','start','mapper','end','root','getFirstRange','markerNameToElements','data','unlock','writer','commands','TrackChangesEditing','get','modifySelection','unbindElementFromMarkerName','detach','high','document','downcastDispatcher','uiElement','deleteForward','forward','delete'];(function(_0x2310c2,_0x1f647c){const _0x241dd7=function(_0x5852f7){while(--_0x5852f7){_0x2310c2['push'](_0x2310c2['shift']());}};_0x241dd7(++_0x1f647c);}(_0x1f64,0xf7));const _0x241d=function(_0x2310c2,_0x1f647c){_0x2310c2=_0x2310c2-0x0;let _0x241dd7=_0x1f64[_0x2310c2];return _0x241dd7;};import{Plugin as _0x592490}from'ckeditor5/src/core';import{LiveRange as _0x11c7ee}from'ckeditor5/src/engine';import{Delete as _0x5ac8e5}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3fa9cc}from'./utils';export default class H extends _0x592490{static get['requires'](){return[_0x5ac8e5];}[_0x241d('0x11')](){const _0x21d2c2=this['editor'],_0x29f957=_0x21d2c2[_0x241d('0x1a')][_0x241d('0x6')](_0x241d('0x5'));_0x29f957[_0x241d('0x19')](_0x241d('0x10'));const _0x448e9b=_0x21d2c2[_0x241d('0x4')][_0x241d('0x6')](_0x241d('0xe'));_0x29f957[_0x241d('0x19')](_0x241d('0xe'),(_0x2058d8,_0x18376b={})=>{const _0x39e357=_0x21d2c2[_0x241d('0x16')]['createSelection'](_0x21d2c2[_0x241d('0x16')][_0x241d('0xb')]['selection']);_0x39e357['isCollapsed']&&_0x21d2c2[_0x241d('0x16')][_0x241d('0x7')](_0x39e357,{'direction':_0x241d('0xf'),'unit':_0x18376b['unit']});const _0x207f1f=_0x39e357[_0x241d('0x20')](),_0x2d05f5=_0x11c7ee[_0x241d('0x13')](_0x207f1f);let _0x3e1c6c;_0x2058d8(_0x18376b),_0x3e1c6c='$graveyard'==_0x2d05f5[_0x241d('0x1f')]['rootName']?_0x21d2c2['model'][_0x241d('0x1b')](_0x207f1f[_0x241d('0x1c')]):_0x21d2c2[_0x241d('0x16')][_0x241d('0x1b')](_0x2d05f5[_0x241d('0x1c')],_0x2d05f5['end']),_0x2d05f5[_0x241d('0x9')](),_0x21d2c2[_0x241d('0x16')]['enqueueChange'](_0x448e9b['buffer']['batch'],_0x559f10=>{_0x448e9b['buffer']['lock'](),_0x559f10['setSelection'](_0x559f10[_0x241d('0x1b')](_0x3e1c6c[_0x241d('0x1e')])),_0x448e9b['buffer'][_0x241d('0x2')]();});}),_0x21d2c2[_0x241d('0x17')][_0x241d('0xc')]['on'](_0x241d('0x14'),_0x3fa9cc(_0x21d2c2,_0x241d('0x18')),{'priority':_0x241d('0xa')}),_0x21d2c2[_0x241d('0x1')][_0x241d('0xc')]['on'](_0x241d('0x14'),(_0x434c0f,_0x5d2b22,_0x7e486d)=>{_0x7e486d['options']['showSuggestionHighlights']&&_0x3fa9cc(_0x21d2c2,_0x241d('0x18'),{'showActiveMarker':!0x1})['bind'](this)(_0x434c0f,_0x5d2b22,_0x7e486d);},{'priority':_0x241d('0xa')}),_0x21d2c2[_0x241d('0x17')][_0x241d('0xc')]['on'](_0x241d('0x12'),(_0x23658a,_0x5d41a5,_0x1623ba)=>{const _0x1a90ea=_0x1623ba[_0x241d('0x1d')][_0x241d('0x0')](_0x5d41a5[_0x241d('0x15')]);if(_0x1a90ea)for(const _0x15a517 of _0x1a90ea)_0x15a517['is'](_0x241d('0xd'))&&(_0x1623ba[_0x241d('0x1d')][_0x241d('0x8')](_0x15a517,_0x5d41a5[_0x241d('0x15')]),_0x1623ba[_0x241d('0x3')]['remove'](_0x15a517));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f27=['slice','forceValue','registerCustomCallback','selection','getSelectedBlocks','multipleBlocks','splitListItemBefore','hasAttribute','ELEMENT_BULLETED_LIST','ELEMENT_','model','_descriptionFactory','next','listType','commandParams','value','_LIST','bulletedList','documentList','outdentList','deletion','createRange','*Format:*\x20remove\x20from\x20%0','listItemId','paragraph','numberedList','enableCommand','from','type','refresh','DocumentListUtils','locale','isObject','change','end','*Indent:*\x20%0','has','setSelection','getFirstRange','registerElementLabel','expandListBlocksToCompleteList','add','parent','editor','accept','commands','nodeAfter','indentList','execute','plugins','detach','start','formatInline','*Outdent:*\x20%0','get','ELEMENT_LIST_ITEM','*Format:*\x20insert\x20into\x20%0','listIndent','mergeListItemBackward','nextSibling','formatBlock','getAttribute','after','markBlockFormat','document','config','*Change\x20to:*\x20%0','format','toUpperCase','createPositionAt','commandName','push','mergeListItemForward','before','markMultiRangeBlockFormat','map','schema','list.multiBlock','TrackChangesEditing','afterInit','fromRange'];(function(_0x47706a,_0x3f2755){const _0x5d360b=function(_0x5ce52e){while(--_0x5ce52e){_0x47706a['push'](_0x47706a['shift']());}};_0x5d360b(++_0x3f2755);}(_0x3f27,0x190));const _0x5d36=function(_0x47706a,_0x3f2755){_0x47706a=_0x47706a-0x0;let _0x5d360b=_0x3f27[_0x47706a];return _0x5d360b;};import{Plugin as _0x1dc2da}from'ckeditor5/src/core';import{getTranslation as _0x18d058}from'../utils/common-translations';import{LiveRange as _0x4a4390}from'ckeditor5/src/engine';export default class q extends _0x1dc2da{[_0x5d36('0x3')](){const _0x4c7b15=this[_0x5d36('0x30')];if(!_0x4c7b15[_0x5d36('0x36')][_0x5d36('0x29')]('DocumentListEditing'))return;const _0x2eb33a=_0x4c7b15[_0x5d36('0x24')],_0x1a2487=_0x4c7b15[_0x5d36('0x36')][_0x5d36('0x3b')](_0x5d36('0x2')),_0x347be1=_0x4c7b15[_0x5d36('0x36')][_0x5d36('0x3b')](_0x5d36('0x23'));function _0x27007b(_0x31dd52){return()=>{const _0x3daaef=_0x4c7b15[_0x5d36('0x32')][_0x5d36('0x3b')](_0x31dd52);if(_0x3daaef[_0x5d36('0x14')]&&!_0x4c7b15[_0x5d36('0x46')][_0x5d36('0x3b')](_0x5d36('0x1')))return void _0x4c7b15['execute'](_0x5d36('0x1d'),{});let _0x4d622a=Array[_0x5d36('0x20')](_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x45')][_0x5d36('0x8')][_0x5d36('0x9')]());if(_0x4fa48f(_0x31dd52)){_0x4d622a=_0x347be1[_0x5d36('0x2d')](_0x4d622a);const _0x66187c=[];for(const _0x1fd21a of _0x4d622a)_0x347be1['isFirstBlockOfListItem'](_0x1fd21a)&&_0x66187c[_0x5d36('0x4c')](_0x1fd21a);_0x4d622a=_0x66187c;}_0x4c7b15[_0x5d36('0xf')]['change'](()=>{_0x1a2487[_0x5d36('0x4f')](_0x4d622a,{'commandName':_0x31dd52,'commandParams':[{'forceValue':!_0x3daaef[_0x5d36('0x14')]}],'formatGroupId':'listType'},[],_0x5d36('0x17'));});};}function _0x10265e(_0x138534){return()=>{const _0x5f1b6c=function(_0x5c3ab7){let _0x3b6084=Array[_0x5d36('0x20')](_0x5c3ab7);const _0x20d559=_0x3b6084['findIndex'](_0x52288d=>!_0x52288d[_0x5d36('0xc')](_0x5d36('0x1c')));return _0x20d559>-0x1&&(_0x3b6084=_0x3b6084[_0x5d36('0x5')](0x0,_0x20d559)),_0x3b6084;}(_0x4c7b15[_0x5d36('0xf')]['document'][_0x5d36('0x8')][_0x5d36('0x9')]()),_0x2e09fc=_0x5f1b6c[_0x5f1b6c['length']-0x1],_0x364858=_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x0')][_0x5d36('0x25')](_0x2e09fc)?_0x5d36('0x43'):_0x5d36('0x27'),_0x2d8a53=_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x1a')](_0x4c7b15[_0x5d36('0xf')]['createPositionAt'](_0x5f1b6c[0x0],'before'),_0x4c7b15[_0x5d36('0xf')]['createPositionAt'](_0x2e09fc,_0x364858));_0x4c7b15['model'][_0x5d36('0x26')](()=>{_0x1a2487[_0x5d36('0x44')](_0x2d8a53,{'commandName':_0x138534,'commandParams':[],'formatGroupId':_0x5d36('0x12')},function(_0x3c6774){const _0x3cf5a8=new Set();for(const _0xa49424 of _0x3c6774){let _0x1af5b0=_0xa49424['nextSibling'];for(;_0x1af5b0&&_0x1af5b0[_0x5d36('0x42')](_0x5d36('0x3e'))>_0xa49424[_0x5d36('0x42')](_0x5d36('0x3e'));)_0x3cf5a8[_0x5d36('0x2e')](_0x1af5b0),_0x1af5b0=_0x1af5b0['nextSibling'];}return Array['from'](_0x3cf5a8);}(_0x5f1b6c));});};}function _0x17cd0c(_0x1d8f80){return()=>{const _0x3ae669=_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x45')][_0x5d36('0x8')]['getSelectedBlocks']()[_0x5d36('0x11')]()['value'],_0xcb4d44=_0x4c7b15[_0x5d36('0xf')]['createPositionAt'](_0x3ae669,_0x5d36('0x4e')),_0x574176=_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x4a')](_0x3ae669,0x0),_0x3ce9aa=_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x1a')](_0xcb4d44,_0x574176);_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x26')](()=>{_0x1a2487[_0x5d36('0x44')](_0x3ce9aa,{'commandName':_0x1d8f80,'commandParams':[],'formatGroupId':_0x5d36('0x12')});});};}function _0x4fa48f(_0x449709){const _0x19a043=_0x4c7b15['commands'][_0x5d36('0x3b')]('bulletedList')[_0x5d36('0x14')],_0xed38ce=_0x4c7b15[_0x5d36('0x32')][_0x5d36('0x3b')](_0x5d36('0x1e'))[_0x5d36('0x14')];return _0x5d36('0x1e')===_0x449709?_0x19a043:_0xed38ce;}_0x1a2487[_0x5d36('0x1f')](_0x5d36('0x1e'),_0x27007b(_0x5d36('0x1e'))),_0x1a2487[_0x5d36('0x1f')](_0x5d36('0x16'),_0x27007b(_0x5d36('0x16'))),_0x1a2487[_0x5d36('0x1f')](_0x5d36('0x34'),_0x10265e('indentList')),_0x1a2487[_0x5d36('0x1f')](_0x5d36('0x18'),_0x10265e(_0x5d36('0x18'))),_0x1a2487[_0x5d36('0x1f')]('splitListItemAfter',_0x17cd0c('splitListItemAfter')),_0x1a2487[_0x5d36('0x1f')](_0x5d36('0xb'),_0x17cd0c(_0x5d36('0xb'))),_0x1a2487[_0x5d36('0x10')][_0x5d36('0x2c')](function(_0x19018d){const _0x57ada8=!_0x4c7b15['model']['schema'][_0x5d36('0x25')](_0x19018d),_0x5abd44=_0x19018d['previousSibling'],_0x1ab7ab=_0x19018d[_0x5d36('0x40')],_0x3ca0fb=_0x19018d[_0x5d36('0x42')](_0x5d36('0x1c')),_0x38f004=!_0x5abd44||_0x5abd44[_0x5d36('0x42')](_0x5d36('0x1c'))!==_0x3ca0fb,_0xf909e5=!_0x1ab7ab||_0x1ab7ab[_0x5d36('0x42')]('listItemId')!==_0x3ca0fb;return _0x57ada8&&Boolean(_0x3ca0fb)&&_0x38f004&&_0xf909e5;},_0x3068ed=>_0x18d058(_0x2eb33a,'ELEMENT_LIST_ITEM',_0x3068ed)),_0x1a2487[_0x5d36('0x10')]['registerDescriptionCallback'](function(_0x41301a){if(_0x5d36('0x41')!=_0x41301a['type']&&_0x5d36('0x39')!=_0x41301a[_0x5d36('0x21')])return;const {data:_0x290368}=_0x41301a;if(!_0x290368)return;let _0x4a5f7a,_0x31c241,_0x38994d,_0x274ddd;switch(_0x290368[_0x5d36('0x4b')]){case'bulletedList':_0x38994d=_0x290368[_0x5d36('0x13')][0x0][_0x5d36('0x6')],_0x274ddd=_0x4fa48f(_0x290368[_0x5d36('0x4b')]),_0x4a5f7a=_0x38994d?_0x5d36('0x3d'):'*Format:*\x20remove\x20from\x20%0',!_0x274ddd&&_0x4c7b15[_0x5d36('0x46')][_0x5d36('0x3b')]('list.multiBlock')||(_0x4a5f7a=_0x5d36('0x47')),_0x31c241={'type':_0x5d36('0x48'),'content':_0x18d058(_0x2eb33a,_0x4a5f7a,_0x18d058(_0x2eb33a,_0x5d36('0xd')))};break;case _0x5d36('0x1e'):_0x38994d=_0x290368[_0x5d36('0x13')][0x0][_0x5d36('0x6')],_0x274ddd=_0x4fa48f(_0x290368['commandName']),_0x4a5f7a=_0x38994d?_0x5d36('0x3d'):_0x5d36('0x1b'),!_0x274ddd&&_0x4c7b15[_0x5d36('0x46')][_0x5d36('0x3b')](_0x5d36('0x1'))||(_0x4a5f7a='*Change\x20to:*\x20%0'),_0x31c241={'type':_0x5d36('0x48'),'content':_0x18d058(_0x2eb33a,_0x4a5f7a,_0x18d058(_0x2eb33a,'ELEMENT_NUMBERED_LIST'))};break;case _0x5d36('0x34'):_0x4a5f7a=_0x5d36('0x28'),_0x31c241={'type':_0x5d36('0x48'),'content':_0x18d058(_0x2eb33a,_0x4a5f7a,_0x18d058(_0x2eb33a,_0x5d36('0x3c')))};break;case _0x5d36('0x18'):_0x4a5f7a=function(_0x31839c){const _0x4a4496=_0x31839c[_0x5d36('0x2b')]();let _0x5ebd8b=_0x4a4496[_0x5d36('0x38')][_0x5d36('0x33')];for(;_0x5ebd8b&&_0x4a4496['containsItem'](_0x5ebd8b);){if(_0x5ebd8b[_0x5d36('0x42')]('listIndent')>0x0)return!0x1;_0x5ebd8b=_0x5ebd8b[_0x5d36('0x40')];}return!0x0;}(_0x41301a)?_0x18d058(_0x2eb33a,_0x5d36('0x1b'),_0x18d058(_0x2eb33a,function(_0x3f4238){const _0x3d8b35=_0x3f4238[_0x5d36('0x2b')]()[_0x5d36('0x38')][_0x5d36('0x33')];return _0x5d36('0xe')+_0x3d8b35['getAttribute']('listType')[_0x5d36('0x49')]()+_0x5d36('0x15');}(_0x41301a))):_0x18d058(_0x2eb33a,_0x5d36('0x3a'),_0x18d058(_0x2eb33a,_0x5d36('0x3c'))),_0x31c241={'type':'format','content':_0x4a5f7a};break;case _0x5d36('0x3f'):case _0x5d36('0x4d'):!0x1===_0x290368[_0x5d36('0xa')]&&(_0x4a5f7a='*Merge:*\x20%0',_0x31c241={'type':_0x5d36('0x19'),'content':_0x18d058(_0x2eb33a,_0x4a5f7a,_0x18d058(_0x2eb33a,_0x5d36('0x3c')))});}return _0x31c241;}),_0x1a2487['_suggestionFactory'][_0x5d36('0x7')](_0x5d36('0x41'),_0x5d36('0x17'),_0x5d36('0x31'),function(_0x3d8f85,_0x4c2ddf){const _0x3e60bc=[];for(let _0x46f23f of _0x3d8f85)_0x46f23f['start']['nodeAfter']===_0x46f23f[_0x5d36('0x27')][_0x5d36('0x2f')]&&(_0x46f23f=_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x1a')](_0x4c7b15['model'][_0x5d36('0x4a')](_0x46f23f[_0x5d36('0x38')][_0x5d36('0x33')],0x0))),_0x3e60bc['push'](_0x46f23f);_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x26')](_0xdc43a2=>{const _0x5cd03d=_0x4c7b15[_0x5d36('0xf')][_0x5d36('0x45')][_0x5d36('0x8')],_0x27d79a=Array['from'](_0x5cd03d['getRanges']())[_0x5d36('0x50')](_0x3b8122=>_0x4a4390[_0x5d36('0x4')](_0x3b8122));_0xdc43a2['setSelection'](_0x3e60bc),_0x4c7b15[_0x5d36('0x32')][_0x5d36('0x3b')](_0x4c2ddf['commandName'])[_0x5d36('0x22')](),_0x4c2ddf['commandParams'][_0x5d36('0x4c')]({'forceDefaultExecution':!0x0}),_0x4c7b15[_0x5d36('0x35')](_0x4c2ddf[_0x5d36('0x4b')],..._0x4c2ddf[_0x5d36('0x13')]),_0xdc43a2[_0x5d36('0x2a')](_0x27d79a);for(const _0xc0f18c of _0x27d79a)_0xc0f18c[_0x5d36('0x37')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55ed=['DocumentListPropertiesEditing','enableCommand','listType','listStart','handleListStartCommand','startIndex','get','handleListReversedCommand','reversed','toUpperCase','formatBlock','filter','getListTypeFromListStyleType','has','length','getAttribute','DocumentListUtils','isFirstBlockOfListItem','_getSuggestionBlocks','plugins','handleDescriptions','list.properties','model','styles','commandParams','isListItemBlock','*Format:*\x20set\x20order\x20to\x20regular','push','from','TrackChangesEditing','config','_getSuggestionBlocksForListStyle','ELEMENT_','format','_getTranslationKeyForListStyle','numbered','listStyle','type','expandListBlocksToCompleteList','change','locale','editor','getSelectedBlocks','markMultiRangeBlockFormat','replace','selection','bind','handleListStyleCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','formatInline','_LIST_','listReversed','document'];(function(_0x323e5a,_0x55edf6){const _0x4d166d=function(_0xdf0fa){while(--_0xdf0fa){_0x323e5a['push'](_0x323e5a['shift']());}};_0x4d166d(++_0x55edf6);}(_0x55ed,0x137));const _0x4d16=function(_0x323e5a,_0x55edf6){_0x323e5a=_0x323e5a-0x0;let _0x4d166d=_0x55ed[_0x323e5a];return _0x4d166d;};import{Plugin as _0x404b69}from'ckeditor5/src/core';import{getTranslation as _0x299a7e}from'../utils/common-translations';export default class z extends _0x404b69{['afterInit'](){if(!this[_0x4d16('0x30')]['plugins'][_0x4d16('0x14')](_0x4d16('0x7')))return;const _0x3127e1=this['editor'][_0x4d16('0x25')][_0x4d16('0xd')](_0x4d16('0x1c')),_0x15b005=this[_0x4d16('0x30')][_0x4d16('0x1a')][_0x4d16('0xd')]('TrackChangesEditing');_0x3127e1[_0x4d16('0x1e')]&&_0x15b005['enableCommand'](_0x4d16('0x2b'),this[_0x4d16('0x1')][_0x4d16('0x0')](this)),_0x3127e1['reversed']&&_0x15b005[_0x4d16('0x8')]('listReversed',this[_0x4d16('0xe')][_0x4d16('0x0')](this)),_0x3127e1[_0x4d16('0xc')]&&_0x15b005[_0x4d16('0x8')](_0x4d16('0xa'),this['handleListStartCommand']['bind'](this)),_0x15b005['_descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions'][_0x4d16('0x0')](this));}[_0x4d16('0x1')](_0x277b1d,_0x31efd0={}){const _0x4750b6=this[_0x4d16('0x30')][_0x4d16('0x1a')][_0x4d16('0xd')](_0x4d16('0x24')),_0x5b172e=this[_0x4d16('0x26')]();this[_0x4d16('0x30')][_0x4d16('0x1d')][_0x4d16('0x2e')](()=>{_0x4750b6['markMultiRangeBlockFormat'](_0x5b172e,{'commandName':_0x4d16('0x2b'),'commandParams':[{'type':_0x31efd0[_0x4d16('0x2c')]}],'formatGroupId':_0x4d16('0x2b')});});}[_0x4d16('0xe')](_0x434f2c,_0x3d87c9={}){const _0x3c255c=this[_0x4d16('0x30')]['plugins'][_0x4d16('0xd')](_0x4d16('0x24')),_0x413b79=this[_0x4d16('0x30')][_0x4d16('0x1a')][_0x4d16('0xd')](_0x4d16('0x17')),_0x2f2be8=this[_0x4d16('0x19')](_0x387717=>_0x413b79[_0x4d16('0x20')](_0x387717)&&'numbered'===_0x387717[_0x4d16('0x16')](_0x4d16('0x9')));null!==_0x2f2be8&&this['editor'][_0x4d16('0x1d')][_0x4d16('0x2e')](()=>{_0x3c255c[_0x4d16('0x32')](_0x2f2be8,{'commandName':_0x4d16('0x5'),'commandParams':[{'reversed':_0x3d87c9[_0x4d16('0xf')]}],'formatGroupId':_0x4d16('0x5')});});}[_0x4d16('0xb')](_0x257350,_0x367cf0={}){const _0x2a1360=this[_0x4d16('0x30')][_0x4d16('0x1a')][_0x4d16('0xd')](_0x4d16('0x24')),_0x5fc6d6=this[_0x4d16('0x30')][_0x4d16('0x1a')][_0x4d16('0xd')](_0x4d16('0x17')),_0x46856c=this[_0x4d16('0x19')](_0x157105=>_0x5fc6d6[_0x4d16('0x20')](_0x157105)&&_0x4d16('0x2a')===_0x157105['getAttribute'](_0x4d16('0x9')));null!==_0x46856c&&this[_0x4d16('0x30')][_0x4d16('0x1d')][_0x4d16('0x2e')](()=>{_0x2a1360[_0x4d16('0x32')](_0x46856c,{'commandName':_0x4d16('0xa'),'commandParams':[{'startIndex':_0x367cf0['startIndex']}],'formatGroupId':_0x4d16('0xa')});});}[_0x4d16('0x1b')](_0x2a297c){if(_0x4d16('0x11')!=_0x2a297c[_0x4d16('0x2c')]&&_0x4d16('0x3')!=_0x2a297c[_0x4d16('0x2c')])return;const _0x435dbb=this[_0x4d16('0x30')][_0x4d16('0x2f')],{data:_0x22adbc}=_0x2a297c;if(!_0x22adbc)return;let _0x1e9f2b,_0x4e65e2;switch(_0x22adbc['commandName']){case _0x4d16('0x2b'):_0x1e9f2b='*Change\x20to:*\x20%0',_0x4e65e2={'type':'format','content':_0x299a7e(_0x435dbb,_0x1e9f2b,_0x299a7e(_0x435dbb,this[_0x4d16('0x29')](_0x22adbc[_0x4d16('0x1f')][0x0]['type'])))};break;case _0x4d16('0x5'):_0x1e9f2b=_0x22adbc['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x4d16('0x21'),_0x4e65e2={'type':_0x4d16('0x28'),'content':_0x299a7e(_0x435dbb,_0x1e9f2b)};break;case _0x4d16('0xa'):_0x1e9f2b=_0x4d16('0x2'),_0x4e65e2={'type':_0x4d16('0x28'),'content':_0x299a7e(_0x435dbb,_0x1e9f2b,_0x22adbc[_0x4d16('0x1f')][0x0][_0x4d16('0xc')])};}return _0x4e65e2;}[_0x4d16('0x26')](){const _0x2c00e8=this['editor'][_0x4d16('0x1a')][_0x4d16('0xd')](_0x4d16('0x17'));let _0x1b075e=Array[_0x4d16('0x23')](this[_0x4d16('0x30')]['model'][_0x4d16('0x6')][_0x4d16('0x34')][_0x4d16('0x31')]());return _0x1b075e[_0x4d16('0x22')](..._0x2c00e8[_0x4d16('0x2d')](_0x1b075e)),_0x1b075e=[...new Set(_0x1b075e)],_0x1b075e;}[_0x4d16('0x19')](_0x3ef2ca){const _0x373ed3=this[_0x4d16('0x30')][_0x4d16('0x1a')]['get'](_0x4d16('0x17'));let _0x2e0b14=Array[_0x4d16('0x23')](this[_0x4d16('0x30')][_0x4d16('0x1d')][_0x4d16('0x6')]['selection'][_0x4d16('0x31')]())[_0x4d16('0x12')](_0x3ef2ca);if(!_0x2e0b14[_0x4d16('0x15')])return null;_0x2e0b14=_0x373ed3['expandListBlocksToCompleteList'](_0x2e0b14);const _0x20df31=[];for(const _0x3e0023 of _0x2e0b14)_0x373ed3[_0x4d16('0x18')](_0x3e0023)&&_0x20df31['push'](_0x3e0023);return _0x20df31;}['_getTranslationKeyForListStyle'](_0x2030ce){return _0x4d16('0x27')+this[_0x4d16('0x30')][_0x4d16('0x1a')][_0x4d16('0xd')]('DocumentListPropertiesUtils')[_0x4d16('0x13')](_0x2030ce)[_0x4d16('0x10')]()+_0x4d16('0x4')+_0x2030ce[_0x4d16('0x10')]()[_0x4d16('0x33')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a0c=['ck-suggestion-marker-split','end','fromRange','markerName','editing','TrackChangesEditing','enterBlock','data','fire','detach','bind','setSelection','document','getFirstRange','mapper','options','selection','split','unbindElementFromMarkerName','get','downcastDispatcher','createRange','parent','getFirstPosition','change','remove','markInsertion','commands','nextSibling','model','enter','removeMarker:suggestion:insertion','init','high','plugins','addMarker:suggestion:insertion'];(function(_0x13116f,_0x2a0caa){const _0xae846e=function(_0x1d61b6){while(--_0x1d61b6){_0x13116f['push'](_0x13116f['shift']());}};_0xae846e(++_0x2a0caa);}(_0x2a0c,0xb4));const _0xae84=function(_0x13116f,_0x2a0caa){_0x13116f=_0x13116f-0x0;let _0xae846e=_0x2a0c[_0x13116f];return _0xae846e;};import{Plugin as _0x5dd6d6}from'ckeditor5/src/core';import{Enter as _0xc9ce06}from'ckeditor5/src/enter';import{LiveRange as _0x89011f}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3ffe9f}from'./utils';export default class K extends _0x5dd6d6{static get['requires'](){return[_0xc9ce06];}[_0xae84('0x20')](){const _0x3186b4=this['editor'],_0x5dbd1e=_0x3186b4[_0xae84('0x22')]['get'](_0xae84('0x5')),_0x2a1c45=_0x3186b4[_0xae84('0x1b')][_0xae84('0x13')](_0xae84('0x1e'));_0x5dbd1e['enableCommand'](_0xae84('0x1e'),()=>{_0x3186b4[_0xae84('0x1d')][_0xae84('0x18')](_0x22c654=>{const _0x469d7b=_0x3186b4[_0xae84('0x1d')][_0xae84('0xc')][_0xae84('0x10')],_0x434c88=_0x469d7b[_0xae84('0x17')](),_0x3bc4b4=_0x89011f[_0xae84('0x2')](_0x469d7b[_0xae84('0xd')]());if(_0x2a1c45[_0xae84('0x6')](_0x22c654)){const _0x46e57a=_0x3186b4[_0xae84('0x1d')]['createPositionAt'](_0x434c88[_0xae84('0x16')][_0xae84('0x1c')],0x0),_0x4fa083=_0x22c654[_0xae84('0x15')](_0x434c88,_0x46e57a);_0x5dbd1e[_0xae84('0x1a')](_0x4fa083);}else _0x22c654[_0xae84('0xb')](_0x22c654[_0xae84('0x15')](_0x3bc4b4[_0xae84('0x1')]));_0x3bc4b4[_0xae84('0x9')](),_0x2a1c45[_0xae84('0x8')]('afterExecute',{'writer':_0x22c654});});}),_0x3186b4[_0xae84('0x4')][_0xae84('0x14')]['on'](_0xae84('0x23'),_0x3ffe9f(_0x3186b4,'split'),{'priority':_0xae84('0x21')}),_0x3186b4[_0xae84('0x4')][_0xae84('0x14')]['on'](_0xae84('0x1f'),(_0x5e4117,_0x243a61,_0x4c13d2)=>{const _0x85ebe=_0x4c13d2[_0xae84('0xe')]['markerNameToElements'](_0x243a61['markerName']);if(_0x85ebe)for(const _0x407170 of _0x85ebe)_0x407170['hasClass'](_0xae84('0x0'))&&(_0x4c13d2[_0xae84('0xe')][_0xae84('0x12')](_0x407170,_0x243a61[_0xae84('0x3')]),_0x4c13d2['writer'][_0xae84('0x19')](_0x407170));},{'priority':'high'}),_0x3186b4[_0xae84('0x7')]['downcastDispatcher']['on'](_0xae84('0x23'),(_0x180ffc,_0x9d2280,_0x4d3c09)=>{_0x4d3c09[_0xae84('0xf')]['showSuggestionHighlights']&&_0x3ffe9f(_0x3186b4,_0xae84('0x11'),{'showActiveMarker':!0x1})[_0xae84('0xa')](this)(_0x180ffc,_0x9d2280,_0x4d3c09);},{'priority':_0xae84('0x21')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ee2=['replaceAll','item','replace','filter','FindAndReplaceUtils','findByTextCallback','has','createPositionAt','bind','end','enableCommand','get','findNext','FindAndReplaceEditing','markers','find','getIntersection','string','getMarkersGroup','handleFindCommand','suggestion:deletion','start','createRange','editor','model','_isInDeletionRange'];(function(_0x25d2da,_0x3ee2c2){const _0x478ee4=function(_0x15cadb){while(--_0x15cadb){_0x25d2da['push'](_0x25d2da['shift']());}};_0x478ee4(++_0x3ee2c2);}(_0x3ee2,0x103));const _0x478e=function(_0x25d2da,_0x3ee2c2){_0x25d2da=_0x25d2da-0x0;let _0x478ee4=_0x3ee2[_0x25d2da];return _0x478ee4;};import{Plugin as _0x4525b3}from'ckeditor5/src/core';export default class W extends _0x4525b3{['afterInit'](){if(!this[_0x478e('0x18')]['plugins'][_0x478e('0x7')](_0x478e('0xe')))return;const _0x306660=this[_0x478e('0x18')]['plugins'][_0x478e('0xc')]('TrackChangesEditing');_0x306660[_0x478e('0xb')](_0x478e('0x10'),this[_0x478e('0x14')][_0x478e('0x9')](this)),_0x306660[_0x478e('0xb')](_0x478e('0xd')),_0x306660[_0x478e('0xb')]('findPrevious'),_0x306660[_0x478e('0xb')](_0x478e('0x3')),_0x306660[_0x478e('0xb')](_0x478e('0x1'));}['handleFindCommand'](_0x550e67,_0x27dfdc,_0x491cff={}){const _0x261ab9=this[_0x478e('0x18')]['plugins'][_0x478e('0xc')](_0x478e('0x5'));if(void 0x0!==_0x491cff)return _0x550e67(_0x41a0a4=>(_0x478e('0x12')==typeof _0x27dfdc?_0x261ab9[_0x478e('0x6')](_0x27dfdc,_0x491cff):_0x27dfdc)(_0x41a0a4)[_0x478e('0x4')](_0x3fbf8b=>!0x1===this['_isInDeletionRange'](_0x3fbf8b,_0x41a0a4[_0x478e('0x2')])),_0x491cff);}[_0x478e('0x0')](_0x37f2cc,_0x4a8c21){const _0x41d9aa=this[_0x478e('0x18')]['model'][_0x478e('0x17')](this['editor'][_0x478e('0x19')]['createPositionAt'](_0x4a8c21,_0x37f2cc[_0x478e('0x16')]),this[_0x478e('0x18')]['model'][_0x478e('0x8')](_0x4a8c21,_0x37f2cc[_0x478e('0xa')]));for(const _0x10987b of this['editor'][_0x478e('0x19')][_0x478e('0xf')][_0x478e('0x13')](_0x478e('0x15')))if(null!==_0x41d9aa[_0x478e('0x11')](_0x10987b['getRange']()))return!0x0;return!0x1;}}
|