@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231018.0 → 0.0.0-nightly-20231019.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/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-20231019.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-20231019.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231019.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 _0x538e=['get','_isEnabledBasedOnSelection','acceptSuggestion','_suggestions','getRanges','editor','plugins','refresh','canEditAt','model','track-changes-accept-suggestion-not-found'];(function(_0x452fbc,_0x538ee6){const _0x3b9d55=function(_0x1f3625){while(--_0x1f3625){_0x452fbc['push'](_0x452fbc['shift']());}};_0x3b9d55(++_0x538ee6);}(_0x538e,0x186));const _0x3b9d=function(_0x452fbc,_0x538ee6){_0x452fbc=_0x452fbc-0x0;let _0x3b9d55=_0x538e[_0x452fbc];return _0x3b9d55;};import{Command as _0x2a6096}from'ckeditor5/src/core';import{CKEditorError as _0x248a60}from'ckeditor5/src/utils';export default class M extends _0x2a6096{constructor(_0x5aa091,_0x3c3209){super(_0x5aa091),this[_0x3b9d('0x9')]=_0x3c3209,this[_0x3b9d('0x2')](),this[_0x3b9d('0x7')]=!0x1;}[_0x3b9d('0x2')](){this['isEnabled']=!0x0;}['execute'](_0x390d57){const _0x25067b=this['_suggestions'][_0x3b9d('0x6')](_0x390d57);if(!_0x25067b)throw new _0x248a60(_0x3b9d('0x5'),this);const _0x27ccd1=_0x25067b[_0x3b9d('0xa')]();this[_0x3b9d('0x0')][_0x3b9d('0x4')][_0x3b9d('0x3')](_0x27ccd1)&&this[_0x3b9d('0x0')][_0x3b9d('0x1')][_0x3b9d('0x6')]('TrackChangesEditing')[_0x3b9d('0x8')](_0x25067b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5522=['get','editor','track-changes-discard-suggestion-not-found','plugins','_isEnabledBasedOnSelection','discardSuggestion','_suggestions','refresh','canEditAt'];(function(_0x44ccc2,_0x552264){const _0x4b1cc4=function(_0xd52205){while(--_0xd52205){_0x44ccc2['push'](_0x44ccc2['shift']());}};_0x4b1cc4(++_0x552264);}(_0x5522,0x185));const _0x4b1c=function(_0x44ccc2,_0x552264){_0x44ccc2=_0x44ccc2-0x0;let _0x4b1cc4=_0x5522[_0x44ccc2];return _0x4b1cc4;};import{Command as _0x53da09}from'ckeditor5/src/core';import{CKEditorError as _0xc5d96d}from'ckeditor5/src/utils';export default class $ extends _0x53da09{constructor(_0x53cee4,_0xfa6765){super(_0x53cee4),this[_0x4b1c('0x4')]=_0xfa6765,this['refresh'](),this[_0x4b1c('0x2')]=!0x1;}[_0x4b1c('0x5')](){this['isEnabled']=!0x0;}['execute'](_0x1e860e){const _0x1aff2d=this[_0x4b1c('0x4')][_0x4b1c('0x7')](_0x1e860e);if(!_0x1aff2d)throw new _0xc5d96d(_0x4b1c('0x0'),this);const _0x1d702b=_0x1aff2d['getRanges']();this['editor']['model'][_0x4b1c('0x6')](_0x1d702b)&&this[_0x4b1c('0x8')][_0x4b1c('0x1')]['get']('TrackChangesEditing')[_0x4b1c('0x3')](_0x1aff2d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1210=['editor','getRanges','_isEnabledBasedOnSelection','model','isInContent','refresh','values','from','canEditAt','_suggestions','execute','_command','isEnabled','some'];(function(_0x273684,_0x1210ff){const _0x2b6e7d=function(_0x426b99){while(--_0x426b99){_0x273684['push'](_0x273684['shift']());}};_0x2b6e7d(++_0x1210ff);}(_0x1210,0x108));const _0x2b6e=function(_0x273684,_0x1210ff){_0x273684=_0x273684-0x0;let _0x2b6e7d=_0x1210[_0x273684];return _0x2b6e7d;};import{Command as _0x5ec807}from'ckeditor5/src/core';import{sortSuggestions as _0x26120d,executeCommandForSuggestions as _0x3c7e1c}from'../utils/utils';export default class N extends _0x5ec807{constructor(_0xb79683,_0x35b5c4,_0x2eeb7c){super(_0xb79683),this[_0x2b6e('0xd')]=_0x35b5c4,this[_0x2b6e('0xb')]=_0x2eeb7c,this[_0x2b6e('0x7')](),this[_0x2b6e('0x4')]=!0x1;}[_0x2b6e('0x7')](){const _0x5b0401=Array[_0x2b6e('0x9')](this[_0x2b6e('0xb')]['values']())[_0x2b6e('0x1')](_0x5e96ef=>_0x5e96ef[_0x2b6e('0x6')]);this[_0x2b6e('0x0')]=this['_command'][_0x2b6e('0x0')]&&_0x5b0401;}[_0x2b6e('0xc')](){const _0xb83bc5=_0x26120d(Array[_0x2b6e('0x9')](this[_0x2b6e('0xb')][_0x2b6e('0x8')]()));for(const _0x323be3 of _0xb83bc5){const _0x4d8631=_0x323be3[_0x2b6e('0x3')]();if(!this['editor'][_0x2b6e('0x5')][_0x2b6e('0xa')](_0x4d8631))return;}_0x3c7e1c(this[_0x2b6e('0x2')]['model'],this['_command'],_0xb83bc5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2240=['getRanges','_selectedSuggestions','editor','_isEnabledBasedOnSelection','canEditAt','isEnabled','values','document','_command','refresh','_suggestions','execute','model','from'];(function(_0x5bf94c,_0x22402b){const _0x1ce2af=function(_0x3a9462){while(--_0x3a9462){_0x5bf94c['push'](_0x5bf94c['shift']());}};_0x1ce2af(++_0x22402b);}(_0x2240,0x1e6));const _0x1ce2=function(_0x5bf94c,_0x22402b){_0x5bf94c=_0x5bf94c-0x0;let _0x1ce2af=_0x2240[_0x5bf94c];return _0x1ce2af;};import{Command as _0x22d26d}from'ckeditor5/src/core';import{sortSuggestions as _0x277303,getSelectedSuggestions as _0xa8abb0,executeCommandForSuggestions as _0x38be01}from'../utils/utils';export default class R extends _0x22d26d{constructor(_0x2445a3,_0x5d5397,_0x48305f){super(_0x2445a3),this[_0x1ce2('0xc')]=_0x5d5397,this[_0x1ce2('0x0')]=_0x48305f,this[_0x1ce2('0x5')]=new Set(),this[_0x1ce2('0xd')](),this[_0x1ce2('0x7')]=!0x1;}[_0x1ce2('0xd')](){const _0x554280=this[_0x1ce2('0x6')][_0x1ce2('0x2')][_0x1ce2('0xb')]['selection'],_0x49a09c=Array[_0x1ce2('0x3')](this[_0x1ce2('0x0')][_0x1ce2('0xa')]());this[_0x1ce2('0x5')]=_0xa8abb0(_0x554280,_0x49a09c),this[_0x1ce2('0x9')]=this[_0x1ce2('0xc')]['isEnabled']&&!!this[_0x1ce2('0x5')]['size'];}[_0x1ce2('0x1')](){const _0x508290=_0x277303(Array[_0x1ce2('0x3')](this['_selectedSuggestions']));for(const _0x42f08b of _0x508290){const _0x400df8=_0x42f08b[_0x1ce2('0x4')]();if(!this['editor']['model'][_0x1ce2('0x8')](_0x400df8))return;}_0x38be01(this['editor'][_0x1ce2('0x2')],this[_0x1ce2('0xc')],_0x508290);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1496=['clearForceDisabled','has','_isEnabledBasedOnSelection','affectsData','value','isEnabled','_disableUnsupportedCommands','_enableCommands','execute','commands','refresh','editor','TrackChangesCommand','forceDisabled','_enabledCommands'];(function(_0x361f25,_0x1496d1){const _0x329673=function(_0x2be80e){while(--_0x2be80e){_0x361f25['push'](_0x361f25['shift']());}};_0x329673(++_0x1496d1);}(_0x1496,0x147));const _0x3296=function(_0x361f25,_0x1496d1){_0x361f25=_0x361f25-0x0;let _0x329673=_0x1496[_0x361f25];return _0x329673;};import{Command as _0x5684e5}from'ckeditor5/src/core';export default class _ extends _0x5684e5{constructor(_0xa841ab,_0x53cd3e){super(_0xa841ab),this[_0x3296('0x2')]=_0x53cd3e,this[_0x3296('0x7')]=!0x1,this[_0x3296('0xd')](),this[_0x3296('0x5')]=!0x1;}[_0x3296('0xd')](){this[_0x3296('0x8')]=!0x0;}[_0x3296('0xb')](){this['value']=!this['value'],this['value']?this['_disableUnsupportedCommands']():this[_0x3296('0xa')]();}[_0x3296('0x9')](){for(const _0x106879 of this[_0x3296('0xe')][_0x3296('0xc')][_0x3296('0xc')]())_0x106879[_0x3296('0x6')]&&!this[_0x3296('0x2')][_0x3296('0x4')](_0x106879)&&_0x106879[_0x3296('0x1')](_0x3296('0x0'));}['_enableCommands'](){for(const _0x428c1a of this[_0x3296('0xe')][_0x3296('0xc')][_0x3296('0xc')]())_0x428c1a[_0x3296('0x6')]&&!this[_0x3296('0x2')][_0x3296('0x4')](_0x428c1a)&&_0x428c1a[_0x3296('0x3')](_0x3296('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2302=['afterInit','get','commands','showAIAssistant'];(function(_0x2a8933,_0x230227){const _0x65350e=function(_0x5a8215){while(--_0x5a8215){_0x2a8933['push'](_0x2a8933['shift']());}};_0x65350e(++_0x230227);}(_0x2302,0x116));const _0x6535=function(_0x2a8933,_0x230227){_0x2a8933=_0x2a8933-0x0;let _0x65350e=_0x2302[_0x2a8933];return _0x65350e;};import{Plugin as _0x5670b9}from'ckeditor5/src/core';export default class j extends _0x5670b9{[_0x6535('0x2')](){const _0xc0aa65=this['editor'],_0x122e7a=_0xc0aa65['plugins']['get']('TrackChangesEditing');_0xc0aa65[_0x6535('0x0')][_0x6535('0x3')](_0x6535('0x1'))&&_0x122e7a['enableCommand'](_0x6535('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5504=['getSelectedBlocks','getAttribute','registerDescriptionCallback','checkAttribute','plugins','format','FORMAT_ALIGN_TO_RIGHT','alignment','selection','*Format:*\x20%0','_descriptionFactory','afterInit','ltr','FORMAT_ALIGN_TO_CENTER','get','change','right','value','has','from','left','AlignmentEditing','center','model'];(function(_0x3ef397,_0x5504f4){const _0xc94e58=function(_0x343a9c){while(--_0x343a9c){_0x3ef397['push'](_0x3ef397['shift']());}};_0xc94e58(++_0x5504f4);}(_0x5504,0x16c));const _0xc94e=function(_0x3ef397,_0x5504f4){_0x3ef397=_0x3ef397-0x0;let _0xc94e58=_0x5504[_0x3ef397];return _0xc94e58;};import{Plugin as _0x276114}from'ckeditor5/src/core';import{getTranslation as _0x4358e6}from'../utils/common-translations';export default class x extends _0x276114{[_0xc94e('0x7')](){const _0x5b3538=this['editor'],_0x18a5ec=_0x5b3538['locale'];if(!_0x5b3538[_0xc94e('0x0')][_0xc94e('0xe')](_0xc94e('0x11')))return;const _0x269ee9=_0x5b3538[_0xc94e('0x0')][_0xc94e('0xa')]('TrackChangesEditing');_0x269ee9['enableCommand'](_0xc94e('0x3'),(_0xe23dc,_0x485e84={})=>{let _0x983887=_0x485e84[_0xc94e('0xd')];_0x485e84[_0xc94e('0xd')]||(_0x983887=_0xc94e('0x8')===_0x5b3538['locale']['contentLanguageDirection']?'left':'right');const _0xde0d77=Array[_0xc94e('0xf')](this['editor'][_0xc94e('0x13')]['document'][_0xc94e('0x4')][_0xc94e('0x14')]())['filter'](_0x151f26=>function(_0x350caa,_0x4fa5bf,_0x43f54e){const _0x5a893c=_0x350caa[_0xc94e('0x15')]('alignment')||null;return _0x4fa5bf[_0xc94e('0x17')](_0x350caa,_0xc94e('0x3'))&&_0x43f54e!=_0x5a893c;}(_0x151f26,this['editor'][_0xc94e('0x13')]['schema'],_0x983887));_0x5b3538['model'][_0xc94e('0xb')](()=>{for(const _0x24ef4e of _0xde0d77)_0x269ee9['markBlockFormat'](_0x24ef4e,{'commandName':_0xc94e('0x3'),'commandParams':[{'value':_0x983887}]});});}),_0x269ee9[_0xc94e('0x6')][_0xc94e('0x16')](_0x72cadd=>{const {data:_0x500fc1}=_0x72cadd;if(_0x500fc1&&'alignment'==_0x500fc1['commandName']){const _0x2d7bc8=_0x500fc1['commandParams'][0x0][_0xc94e('0xd')];return{'type':_0xc94e('0x1'),'content':_0x4358e6(_0x18a5ec,_0xc94e('0x5'),function(_0x34918e){switch(_0x34918e){case _0xc94e('0x10'):return _0x4358e6(_0x18a5ec,'FORMAT_ALIGN_TO_LEFT');case _0xc94e('0xc'):return _0x4358e6(_0x18a5ec,_0xc94e('0x2'));case _0xc94e('0x12'):return _0x4358e6(_0x18a5ec,_0xc94e('0x9'));case'justify':return _0x4358e6(_0x18a5ec,'FORMAT_JUSTIFY_TEXT');}}(_0x2d7bc8))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3400=['code','italic','superscript','slice','format','*Remove\x20format:*\x20%0','strikethrough','FORMAT_STRIKETHROUGH','FORMAT_BOLD','registerDescriptionCallback','forceValue','UnderlineEditing','afterInit','plugins','enableCommand','FORMAT_CODE','change','ItalicEditing','locale','underline','from','subscript','FORMAT_SUBSCRIPT','SubscriptEditing','TrackChangesEditing','SuperscriptEditing','getRanges','get','BoldEditing','*Format:*\x20%0','value','FORMAT_UNDERLINE','markInlineFormat'];(function(_0x5d2385,_0x3400cb){const _0x80dcfd=function(_0x8cf44b){while(--_0x8cf44b){_0x5d2385['push'](_0x5d2385['shift']());}};_0x80dcfd(++_0x3400cb);}(_0x3400,0x1eb));const _0x80dc=function(_0x5d2385,_0x3400cb){_0x5d2385=_0x5d2385-0x0;let _0x80dcfd=_0x3400[_0x5d2385];return _0x80dcfd;};import{Plugin as _0x2f5d71}from'ckeditor5/src/core';import{getTranslation as _0x55a63a}from'../utils/common-translations';import{getRangesWithAttribute as _0x1b3f01}from'./utils';const Zt=[_0x80dc('0x20'),_0x80dc('0x15'),_0x80dc('0xf'),'CodeEditing','StrikethroughEditing',_0x80dc('0x1b'),_0x80dc('0x1d')];export default class U extends _0x2f5d71{[_0x80dc('0x10')](){const _0x3c38c5=this['editor'],_0x35a266=_0x3c38c5['model'],_0x5cc7b1=_0x3c38c5[_0x80dc('0x11')]['get'](_0x80dc('0x1c')),_0x37330a=_0x3c38c5[_0x80dc('0x16')];for(const _0x432c65 of Zt){if(!_0x3c38c5['plugins']['has'](_0x432c65))continue;const _0x278923=_0x432c65[_0x80dc('0x7')](0x0,-0x7)['toLowerCase'](),_0x1aade9=_0x3c38c5['commands'][_0x80dc('0x1f')](_0x278923);_0x5cc7b1[_0x80dc('0x12')](_0x278923,(_0x233135,_0x36f242={})=>{const _0x44cf17=_0x35a266['document']['selection'];if(_0x44cf17['isCollapsed'])return void _0x233135(_0x36f242);const _0x63da5a=void 0x0!==_0x36f242['forceValue']?_0x36f242[_0x80dc('0xe')]:!_0x1aade9[_0x80dc('0x1')];_0x35a266[_0x80dc('0x14')](()=>{const _0x35d590=Array[_0x80dc('0x18')](_0x44cf17[_0x80dc('0x1e')]());for(const _0x1aeafc of _0x35d590){const _0x333985=_0x63da5a?[_0x1aeafc]:_0x1b3f01(_0x278923,_0x1aeafc,_0x35a266);for(const _0x2dbf13 of _0x333985)_0x5cc7b1[_0x80dc('0x3')](_0x2dbf13,{'commandName':_0x278923,'commandParams':[{'forceValue':_0x63da5a}]});}});});}function _0xa6516(_0x3f3d3f,_0x43562b){_0x5cc7b1['_descriptionFactory'][_0x80dc('0xd')](_0x2a83b5=>{const {data:_0x2b06ee}=_0x2a83b5;if(_0x2b06ee&&_0x2b06ee['commandName']===_0x3f3d3f)return _0x2b06ee['commandParams'][0x0][_0x80dc('0xe')]?{'type':_0x80dc('0x8'),'content':_0x55a63a(_0x37330a,_0x80dc('0x0'),_0x43562b)}:{'type':_0x80dc('0x8'),'content':_0x55a63a(_0x37330a,_0x80dc('0x9'),_0x43562b)};});}_0xa6516('bold',_0x55a63a(_0x37330a,_0x80dc('0xc'))),_0xa6516(_0x80dc('0x5'),_0x55a63a(_0x37330a,'FORMAT_ITALIC')),_0xa6516(_0x80dc('0x17'),_0x55a63a(_0x37330a,_0x80dc('0x2'))),_0xa6516(_0x80dc('0x4'),_0x55a63a(_0x37330a,_0x80dc('0x13'))),_0xa6516(_0x80dc('0xa'),_0x55a63a(_0x37330a,_0x80dc('0xb'))),_0xa6516(_0x80dc('0x19'),_0x55a63a(_0x37330a,_0x80dc('0x1a'))),_0xa6516(_0x80dc('0x6'),_0x55a63a(_0x37330a,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e58=['has','document','registerDescriptionCallback','plugins','enableCommand','get','from','blockQuote','value','forceValue','commandName','ELEMENT_BLOCK_QUOTE','schema','editor','markBlockFormat','name','filter','selection','model','_descriptionFactory','$root','commands','change','*Remove\x20format:*\x20%0','format','locale','commandParams','checkChild','parent','afterInit'];(function(_0x18fb3e,_0x3e5859){const _0x1672eb=function(_0x57fb4e){while(--_0x57fb4e){_0x18fb3e['push'](_0x18fb3e['shift']());}};_0x1672eb(++_0x3e5859);}(_0x3e58,0xcd));const _0x1672=function(_0x18fb3e,_0x3e5859){_0x18fb3e=_0x18fb3e-0x0;let _0x1672eb=_0x3e58[_0x18fb3e];return _0x1672eb;};import{Plugin as _0x9fbd65}from'ckeditor5/src/core';import{getTranslation as _0x14c43c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x594073}from'../utils/utils';export default class O extends _0x9fbd65{[_0x1672('0x4')](){const _0x2d4631=this[_0x1672('0x12')],_0x12f6f3=_0x2d4631[_0x1672('0x0')];if(!_0x2d4631[_0x1672('0x8')][_0x1672('0x5')]('BlockQuoteEditing'))return;const _0x1415c6=_0x2d4631[_0x1672('0x8')][_0x1672('0xa')]('TrackChangesEditing'),_0x25ebd2=this['editor'][_0x1672('0x1a')][_0x1672('0xa')](_0x1672('0xc'));_0x1415c6[_0x1672('0x9')]('blockQuote',(_0x13f85d,_0x256577={})=>{const _0xe12dd4=this[_0x1672('0x12')][_0x1672('0x17')][_0x1672('0x6')][_0x1672('0x16')],_0x264029=_0x256577&&void 0x0!==_0x256577[_0x1672('0xe')]?_0x256577['forceValue']:!_0x25ebd2[_0x1672('0xd')];let _0x265f05=[];if(_0x264029){const _0x387807=Array[_0x1672('0xb')](_0xe12dd4['getSelectedBlocks']())[_0x1672('0x15')](_0x4414d6=>oo(_0x4414d6)||function(_0x2c83c6,_0x22c3da){const _0x5b95df=_0x22c3da[_0x1672('0x2')](_0x2c83c6[_0x1672('0x3')],_0x1672('0xc')),_0x3d5e57=_0x22c3da['checkChild']([_0x1672('0x19'),_0x1672('0xc')],_0x2c83c6);return _0x5b95df&&_0x3d5e57;}(_0x4414d6,this[_0x1672('0x12')][_0x1672('0x17')][_0x1672('0x11')]));_0x265f05=_0x594073(_0x387807,_0x2d4631[_0x1672('0x17')]);}else{const _0x335eb2=Array[_0x1672('0xb')](_0xe12dd4['getSelectedBlocks']())[_0x1672('0x15')](_0x4cc2e3=>oo(_0x4cc2e3));_0x265f05=_0x594073(_0x335eb2,_0x2d4631[_0x1672('0x17')]);}_0x2d4631[_0x1672('0x17')][_0x1672('0x1b')](()=>{for(const _0x4b233d of _0x265f05)_0x1415c6[_0x1672('0x13')](_0x4b233d,{'commandName':_0x1672('0xc'),'commandParams':[{'forceValue':_0x264029}]});});}),_0x1415c6[_0x1672('0x18')][_0x1672('0x7')](_0x4769e1=>{const {data:_0x4c83af}=_0x4769e1;if(_0x4c83af&&_0x1672('0xc')==_0x4c83af[_0x1672('0xf')]){const _0x292d1a=_0x14c43c(_0x12f6f3,_0x1672('0x10'));return _0x4c83af[_0x1672('0x1')][0x0][_0x1672('0xe')]?{'type':_0x1672('0x1d'),'content':_0x14c43c(_0x12f6f3,'*Format:*\x20%0',_0x292d1a)}:{'type':'format','content':_0x14c43c(_0x12f6f3,_0x1672('0x1c'),_0x292d1a)};}});}}function oo(_0x35990f){return _0x1672('0xc')==_0x35990f[_0x1672('0x3')][_0x1672('0x14')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26fa=['enableCommand','editor','get','TrackChangesEditing','ckbox'];(function(_0x6b2114,_0x26fa00){const _0x74eca2=function(_0x445708){while(--_0x445708){_0x6b2114['push'](_0x6b2114['shift']());}};_0x74eca2(++_0x26fa00);}(_0x26fa,0x80));const _0x74ec=function(_0x6b2114,_0x26fa00){_0x6b2114=_0x6b2114-0x0;let _0x74eca2=_0x26fa[_0x6b2114];return _0x74eca2;};import{Plugin as _0x2967ed}from'ckeditor5/src/core';export default class E extends _0x2967ed{['afterInit'](){const _0x2f5b69=this[_0x74ec('0x3')];_0x2f5b69['commands'][_0x74ec('0x4')](_0x74ec('0x1'))&&_0x2f5b69['plugins']['get'](_0x74ec('0x0'))[_0x74ec('0x2')](_0x74ec('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59a2=['registerElementLabel','languages','_descriptionFactory','afterInit','indentCodeBlock','find','enableCommand','commandParams','format','parent','rootElement','forceValue','blockName','has','markBlockFormat','document','config','locale','codeBlock','CodeBlock','label','ELEMENT_CODE_BLOCK','getSelectedBlocks','isLimit','change','get','plugins','*Format:*\x20%0','language','value','from','registerDescriptionCallback','editor','filter','selection','checkChild','name','model'];(function(_0x138dda,_0x59a21d){const _0x34c071=function(_0x345ead){while(--_0x345ead){_0x138dda['push'](_0x138dda['shift']());}};_0x34c071(++_0x59a21d);}(_0x59a2,0xb6));const _0x34c0=function(_0x138dda,_0x59a21d){_0x138dda=_0x138dda-0x0;let _0x34c071=_0x59a2[_0x138dda];return _0x34c071;};import{Plugin as _0x171c45}from'ckeditor5/src/core';import{getTranslation as _0x1b7bf6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x139b52}from'../utils/utils';export default class F extends _0x171c45{[_0x34c0('0xb')](){const _0x4f342b=this[_0x34c0('0x2')];if(!_0x4f342b[_0x34c0('0x22')][_0x34c0('0x15')](_0x34c0('0x1b')))return;const _0xf67a98=_0x4f342b[_0x34c0('0x22')][_0x34c0('0x21')]('TrackChangesEditing'),_0x54cbd7=_0x4f342b[_0x34c0('0x19')],_0x5dfc11=_0x4f342b[_0x34c0('0x18')][_0x34c0('0x21')]('codeBlock')[_0x34c0('0x9')],_0x3a4dca=_0x4f342b['commands']['get'](_0x34c0('0x1a'));_0xf67a98[_0x34c0('0xe')](_0x34c0('0xc')),_0xf67a98[_0x34c0('0xe')]('outdentCodeBlock'),_0xf67a98[_0x34c0('0xe')](_0x34c0('0x1a'),(_0x113b29,_0x2453e2={})=>{const _0x2f11b0=_0x4f342b[_0x34c0('0x7')],_0x6cc5b5=_0x4f342b[_0x34c0('0x7')][_0x34c0('0x17')][_0x34c0('0x4')],_0x469a50=_0x2453e2&&void 0x0!==_0x2453e2[_0x34c0('0x13')]?_0x2453e2[_0x34c0('0x13')]:!_0x3a4dca[_0x34c0('0x25')];let _0x3dd527;_0x2453e2[_0x34c0('0x24')]||(_0x2453e2[_0x34c0('0x24')]=_0x5dfc11[0x0][_0x34c0('0x24')]),_0x3dd527=_0x469a50?Array[_0x34c0('0x0')](_0x6cc5b5['getSelectedBlocks']())['filter'](_0x47fc8=>co(_0x47fc8)||function(_0x5ef5f2,_0x233a6e){if(_0x5ef5f2['is'](_0x34c0('0x12'))||_0x233a6e[_0x34c0('0x1f')](_0x5ef5f2))return!0x1;return _0x233a6e[_0x34c0('0x5')](_0x5ef5f2[_0x34c0('0x11')],_0x34c0('0x1a'));}(_0x47fc8,_0x2f11b0['schema'])):Array[_0x34c0('0x0')](_0x6cc5b5[_0x34c0('0x1e')]())[_0x34c0('0x3')](_0x1f40e6=>co(_0x1f40e6));const _0x322f8c=_0x139b52(_0x3dd527,_0x2f11b0);_0x2f11b0[_0x34c0('0x20')](()=>{for(const _0x5dffbc of _0x322f8c)_0xf67a98[_0x34c0('0x16')](_0x5dffbc,{'commandName':_0x34c0('0x1a'),'commandParams':[{..._0x2453e2,'forceValue':_0x469a50}],'formatGroupId':_0x34c0('0x14')});});}),(_0xf67a98[_0x34c0('0xa')][_0x34c0('0x8')]('codeBlock',_0x19e9b8=>_0x1b7bf6(_0x54cbd7,_0x34c0('0x1d'),_0x19e9b8)),_0xf67a98['_descriptionFactory'][_0x34c0('0x1')](_0x36aec7=>{const _0x3fb1df=_0x54cbd7['t'],{type:_0x24fd28,data:_0x29dc9d}=_0x36aec7;if('formatBlock'==_0x24fd28&&_0x29dc9d&&_0x34c0('0x1a')==_0x29dc9d['commandName']){const _0x25d102=_0x29dc9d[_0x34c0('0xf')][0x0][_0x34c0('0x24')],_0x577184=_0x3fb1df(_0x5dfc11[_0x34c0('0xd')](_0x236f8b=>_0x236f8b[_0x34c0('0x24')]===_0x25d102)[_0x34c0('0x1c')]);return _0x29dc9d[_0x34c0('0xf')][0x0][_0x34c0('0x13')]?{'type':'format','content':_0x1b7bf6(_0x54cbd7,_0x34c0('0x23'),_0x1b7bf6(_0x54cbd7,_0x34c0('0x1d'),0x1)+'\x20('+_0x577184+')')}:{'type':_0x34c0('0x10'),'content':_0x1b7bf6(_0x54cbd7,'*Remove\x20format:*\x20%0',_0x1b7bf6(_0x54cbd7,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function co(_0xc32e43){return'codeBlock'==_0xc32e43[_0x34c0('0x6')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ccd=['plugins','CommentsEditing','afterInit','editor','has','addCommentThread'];(function(_0x5c7441,_0x4ccdff){const _0x76908=function(_0x557544){while(--_0x557544){_0x5c7441['push'](_0x5c7441['shift']());}};_0x76908(++_0x4ccdff);}(_0x4ccd,0x1e8));const _0x7690=function(_0x5c7441,_0x4ccdff){_0x5c7441=_0x5c7441-0x0;let _0x76908=_0x4ccd[_0x5c7441];return _0x76908;};import{Plugin as _0x3373f4}from'ckeditor5/src/core';export default class G extends _0x3373f4{[_0x7690('0x0')](){const _0x2cb481=this[_0x7690('0x1')];if(!_0x2cb481[_0x7690('0x4')][_0x7690('0x2')](_0x7690('0x5')))return;_0x2cb481[_0x7690('0x4')]['get']('TrackChangesEditing')['enableCommand'](_0x7690('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf5ac=['createRange','root','plugins','TrackChangesEditing','addMarker:suggestion:deletion','showSuggestionHighlights','markerName','createSelection','downcastDispatcher','unbindElementFromMarkerName','start','mapper','getFirstRange','end','enableCommand','fromRange','lock','remove','detach','model','editor','uiElement','editing','unit','options','requires','$graveyard','deleteForward','high','document','batch','buffer','init','setSelection','commands','forward','isCollapsed','unlock','writer','selection'];(function(_0x188b48,_0xf5acb0){const _0xafd0fe=function(_0x1f2a8e){while(--_0x1f2a8e){_0x188b48['push'](_0x188b48['shift']());}};_0xafd0fe(++_0xf5acb0);}(_0xf5ac,0xcb));const _0xafd0=function(_0x188b48,_0xf5acb0){_0x188b48=_0x188b48-0x0;let _0xafd0fe=_0xf5ac[_0x188b48];return _0xafd0fe;};import{Plugin as _0xbedec1}from'ckeditor5/src/core';import{LiveRange as _0x3b47fd}from'ckeditor5/src/engine';import{Delete as _0x4d427e}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x43e229}from'./utils';export default class L extends _0xbedec1{static get[_0xafd0('0x16')](){return[_0x4d427e];}[_0xafd0('0x1d')](){const _0x3f0449=this[_0xafd0('0x11')],_0x797158=_0x3f0449[_0xafd0('0x27')]['get'](_0xafd0('0x0'));_0x797158[_0xafd0('0xb')]('delete');const _0x28674a=_0x3f0449[_0xafd0('0x1f')]['get'](_0xafd0('0x18'));_0x797158[_0xafd0('0xb')](_0xafd0('0x18'),(_0x2bdd2c,_0x29998b={})=>{const _0x6aa7f7=_0x3f0449[_0xafd0('0x10')][_0xafd0('0x4')](_0x3f0449[_0xafd0('0x10')][_0xafd0('0x1a')][_0xafd0('0x24')]);_0x6aa7f7[_0xafd0('0x21')]&&_0x3f0449[_0xafd0('0x10')]['modifySelection'](_0x6aa7f7,{'direction':_0xafd0('0x20'),'unit':_0x29998b[_0xafd0('0x14')]});const _0x4c893d=_0x6aa7f7[_0xafd0('0x9')](),_0x48d026=_0x3b47fd[_0xafd0('0xc')](_0x4c893d);let _0x5b5c74;_0x2bdd2c(_0x29998b),_0x5b5c74=_0xafd0('0x17')==_0x48d026[_0xafd0('0x26')]['rootName']?_0x3f0449['model']['createRange'](_0x4c893d['start']):_0x3f0449[_0xafd0('0x10')][_0xafd0('0x25')](_0x48d026[_0xafd0('0x7')],_0x48d026[_0xafd0('0xa')]),_0x48d026[_0xafd0('0xf')](),_0x3f0449[_0xafd0('0x10')]['enqueueChange'](_0x28674a[_0xafd0('0x1c')][_0xafd0('0x1b')],_0x3c11c0=>{_0x28674a[_0xafd0('0x1c')][_0xafd0('0xd')](),_0x3c11c0[_0xafd0('0x1e')](_0x3c11c0[_0xafd0('0x25')](_0x5b5c74[_0xafd0('0xa')])),_0x28674a[_0xafd0('0x1c')][_0xafd0('0x22')]();});}),_0x3f0449[_0xafd0('0x13')][_0xafd0('0x5')]['on']('addMarker:suggestion:deletion',_0x43e229(_0x3f0449,'merge'),{'priority':_0xafd0('0x19')}),_0x3f0449['data']['downcastDispatcher']['on'](_0xafd0('0x1'),(_0x358a49,_0x15ecf2,_0x433582)=>{_0x433582[_0xafd0('0x15')][_0xafd0('0x2')]&&_0x43e229(_0x3f0449,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x358a49,_0x15ecf2,_0x433582);},{'priority':_0xafd0('0x19')}),_0x3f0449[_0xafd0('0x13')][_0xafd0('0x5')]['on']('removeMarker:suggestion:deletion',(_0x5ef15c,_0x38d175,_0x279ad5)=>{const _0x22a23c=_0x279ad5[_0xafd0('0x8')]['markerNameToElements'](_0x38d175[_0xafd0('0x3')]);if(_0x22a23c)for(const _0x472ee4 of _0x22a23c)_0x472ee4['is'](_0xafd0('0x12'))&&(_0x279ad5['mapper'][_0xafd0('0x6')](_0x472ee4,_0x38d175[_0xafd0('0x3')]),_0x279ad5[_0xafd0('0x23')][_0xafd0('0xe')](_0x472ee4));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2151=['findIndex','from','previousSibling','splitListItemAfter','parent','length','*Indent:*\x20%0','_LIST','schema','*Merge:*\x20%0','editor','ELEMENT_','numberedList','getAttribute','*Format:*\x20remove\x20from\x20%0','mergeListItemForward','registerDescriptionCallback','toUpperCase','selection','isObject','paragraph','splitListItemBefore','registerCustomCallback','plugins','before','createRange','getRanges','forceValue','ELEMENT_BULLETED_LIST','commandParams','value','list.multiBlock','fromRange','nextSibling','TrackChangesEditing','next','listType','getSelectedBlocks','nodeAfter','has','document','ELEMENT_LIST_ITEM','DocumentListEditing','commandName','execute','map','*Change\x20to:*\x20%0','afterInit','markBlockFormat','end','refresh','_descriptionFactory','_suggestionFactory','enableCommand','*Outdent:*\x20%0','listItemId','documentList','start','multipleBlocks','mergeListItemBackward','setSelection','accept','push','bulletedList','model','formatBlock','commands','*Format:*\x20insert\x20into\x20%0','after','createPositionAt','get','listIndent','expandListBlocksToCompleteList','containsItem','registerElementLabel','format','outdentList','add','config','indentList','change'];(function(_0x9f448a,_0x2151d8){const _0x4338ba=function(_0x58bb63){while(--_0x58bb63){_0x9f448a['push'](_0x9f448a['shift']());}};_0x4338ba(++_0x2151d8);}(_0x2151,0x8d));const _0x4338=function(_0x9f448a,_0x2151d8){_0x9f448a=_0x9f448a-0x0;let _0x4338ba=_0x2151[_0x9f448a];return _0x4338ba;};import{Plugin as _0x4427a8}from'ckeditor5/src/core';import{getTranslation as _0x1833e9}from'../utils/common-translations';import{LiveRange as _0x5adda4}from'ckeditor5/src/engine';export default class q extends _0x4427a8{[_0x4338('0x44')](){const _0xebe840=this[_0x4338('0x1f')];if(!_0xebe840[_0x4338('0x2c')][_0x4338('0x3c')](_0x4338('0x3f')))return;const _0xe47fd5=_0xebe840['locale'],_0x22fe22=_0xebe840[_0x4338('0x2c')][_0x4338('0xa')](_0x4338('0x37')),_0x16a66d=_0xebe840['plugins'][_0x4338('0xa')]('DocumentListUtils');function _0x5b7fbe(_0x31dfc7){return()=>{const _0x1a6fcf=_0xebe840['commands']['get'](_0x31dfc7);if(_0x1a6fcf[_0x4338('0x33')]&&!_0xebe840['config'][_0x4338('0xa')]('list.multiBlock'))return void _0xebe840[_0x4338('0x41')](_0x4338('0x29'),{});let _0x3639c6=Array[_0x4338('0x16')](_0xebe840['model'][_0x4338('0x3d')][_0x4338('0x27')][_0x4338('0x3a')]());if(_0x293e55(_0x31dfc7)){_0x3639c6=_0x16a66d[_0x4338('0xc')](_0x3639c6);const _0x345b3a=[];for(const _0x5e7763 of _0x3639c6)_0x16a66d['isFirstBlockOfListItem'](_0x5e7763)&&_0x345b3a[_0x4338('0x2')](_0x5e7763);_0x3639c6=_0x345b3a;}_0xebe840['model'][_0x4338('0x14')](()=>{_0x22fe22['markMultiRangeBlockFormat'](_0x3639c6,{'commandName':_0x31dfc7,'commandParams':[{'forceValue':!_0x1a6fcf['value']}],'formatGroupId':_0x4338('0x39')},[],_0x4338('0x4d'));});};}function _0x27076a(_0x3363ae){return()=>{const _0x257adc=function(_0x552475){let _0x254c1d=Array[_0x4338('0x16')](_0x552475);const _0x25aa7e=_0x254c1d[_0x4338('0x15')](_0xf5e80e=>!_0xf5e80e['hasAttribute'](_0x4338('0x4c')));return _0x25aa7e>-0x1&&(_0x254c1d=_0x254c1d['slice'](0x0,_0x25aa7e)),_0x254c1d;}(_0xebe840[_0x4338('0x4')][_0x4338('0x3d')][_0x4338('0x27')][_0x4338('0x3a')]()),_0x20d56b=_0x257adc[_0x257adc[_0x4338('0x1a')]-0x1],_0x102da8=_0xebe840['model']['schema']['isObject'](_0x20d56b)?_0x4338('0x8'):_0x4338('0x46'),_0x29191e=_0xebe840[_0x4338('0x4')][_0x4338('0x2e')](_0xebe840[_0x4338('0x4')]['createPositionAt'](_0x257adc[0x0],'before'),_0xebe840[_0x4338('0x4')]['createPositionAt'](_0x20d56b,_0x102da8));_0xebe840[_0x4338('0x4')]['change'](()=>{_0x22fe22[_0x4338('0x45')](_0x29191e,{'commandName':_0x3363ae,'commandParams':[],'formatGroupId':_0x4338('0x39')},function(_0x23d79f){const _0x11da89=new Set();for(const _0x33494f of _0x23d79f){let _0x5084b2=_0x33494f[_0x4338('0x36')];for(;_0x5084b2&&_0x5084b2[_0x4338('0x22')](_0x4338('0xb'))>_0x33494f['getAttribute']('listIndent');)_0x11da89[_0x4338('0x11')](_0x5084b2),_0x5084b2=_0x5084b2['nextSibling'];}return Array[_0x4338('0x16')](_0x11da89);}(_0x257adc));});};}function _0x42b125(_0x1e44c8){return()=>{const _0xda6b6b=_0xebe840['model'][_0x4338('0x3d')][_0x4338('0x27')][_0x4338('0x3a')]()[_0x4338('0x38')]()[_0x4338('0x33')],_0x1bb674=_0xebe840[_0x4338('0x4')][_0x4338('0x9')](_0xda6b6b,_0x4338('0x2d')),_0xb66bfe=_0xebe840[_0x4338('0x4')][_0x4338('0x9')](_0xda6b6b,0x0),_0x1ce8e3=_0xebe840[_0x4338('0x4')][_0x4338('0x2e')](_0x1bb674,_0xb66bfe);_0xebe840[_0x4338('0x4')][_0x4338('0x14')](()=>{_0x22fe22['markBlockFormat'](_0x1ce8e3,{'commandName':_0x1e44c8,'commandParams':[],'formatGroupId':_0x4338('0x39')});});};}function _0x293e55(_0x3754fc){const _0x10d464=_0xebe840[_0x4338('0x6')][_0x4338('0xa')]('bulletedList')['value'],_0x2c9c4e=_0xebe840[_0x4338('0x6')][_0x4338('0xa')](_0x4338('0x21'))['value'];return _0x4338('0x21')===_0x3754fc?_0x10d464:_0x2c9c4e;}_0x22fe22[_0x4338('0x4a')](_0x4338('0x21'),_0x5b7fbe('numberedList')),_0x22fe22[_0x4338('0x4a')](_0x4338('0x3'),_0x5b7fbe(_0x4338('0x3'))),_0x22fe22[_0x4338('0x4a')](_0x4338('0x13'),_0x27076a(_0x4338('0x13'))),_0x22fe22[_0x4338('0x4a')]('outdentList',_0x27076a('outdentList')),_0x22fe22[_0x4338('0x4a')](_0x4338('0x18'),_0x42b125(_0x4338('0x18'))),_0x22fe22[_0x4338('0x4a')](_0x4338('0x2a'),_0x42b125(_0x4338('0x2a'))),_0x22fe22[_0x4338('0x48')][_0x4338('0xe')](function(_0x14d176){const _0x2fee72=!_0xebe840[_0x4338('0x4')][_0x4338('0x1d')][_0x4338('0x28')](_0x14d176),_0x3e9b27=_0x14d176[_0x4338('0x17')],_0x1639d4=_0x14d176[_0x4338('0x36')],_0x4da889=_0x14d176['getAttribute'](_0x4338('0x4c')),_0x2bcb00=!_0x3e9b27||_0x3e9b27[_0x4338('0x22')]('listItemId')!==_0x4da889,_0x179765=!_0x1639d4||_0x1639d4[_0x4338('0x22')](_0x4338('0x4c'))!==_0x4da889;return _0x2fee72&&Boolean(_0x4da889)&&_0x2bcb00&&_0x179765;},_0x168269=>_0x1833e9(_0xe47fd5,_0x4338('0x3e'),_0x168269)),_0x22fe22[_0x4338('0x48')][_0x4338('0x25')](function(_0x34200b){const {data:_0x326758}=_0x34200b;if(!_0x326758)return;let _0x38019d,_0x19b458,_0x1490fb,_0x561d18;switch(_0x326758['commandName']){case'bulletedList':_0x1490fb=_0x326758['commandParams'][0x0]['forceValue'],_0x561d18=_0x293e55(_0x326758[_0x4338('0x40')]),_0x38019d=_0x1490fb?_0x4338('0x7'):_0x4338('0x23'),!_0x561d18&&_0xebe840[_0x4338('0x12')]['get'](_0x4338('0x34'))||(_0x38019d=_0x4338('0x43')),_0x19b458={'type':_0x4338('0xf'),'content':_0x1833e9(_0xe47fd5,_0x38019d,_0x1833e9(_0xe47fd5,_0x4338('0x31')))};break;case _0x4338('0x21'):_0x1490fb=_0x326758[_0x4338('0x32')][0x0][_0x4338('0x30')],_0x561d18=_0x293e55(_0x326758['commandName']),_0x38019d=_0x1490fb?_0x4338('0x7'):_0x4338('0x23'),!_0x561d18&&_0xebe840[_0x4338('0x12')]['get']('list.multiBlock')||(_0x38019d=_0x4338('0x43')),_0x19b458={'type':'format','content':_0x1833e9(_0xe47fd5,_0x38019d,_0x1833e9(_0xe47fd5,'ELEMENT_NUMBERED_LIST'))};break;case _0x4338('0x13'):_0x38019d=_0x4338('0x1b'),_0x19b458={'type':_0x4338('0xf'),'content':_0x1833e9(_0xe47fd5,_0x38019d,_0x1833e9(_0xe47fd5,_0x4338('0x3e')))};break;case _0x4338('0x10'):_0x38019d=function(_0x5cd27b){const _0x32d275=_0x5cd27b['getFirstRange']();let _0x5b80a5=_0x32d275[_0x4338('0x4e')][_0x4338('0x3b')];for(;_0x5b80a5&&_0x32d275[_0x4338('0xd')](_0x5b80a5);){if(_0x5b80a5[_0x4338('0x22')]('listIndent')>0x0)return!0x1;_0x5b80a5=_0x5b80a5[_0x4338('0x36')];}return!0x0;}(_0x34200b)?_0x1833e9(_0xe47fd5,_0x4338('0x23'),_0x1833e9(_0xe47fd5,function(_0x381f32){const _0x36eec1=_0x381f32['getFirstRange']()['start'][_0x4338('0x3b')];return _0x4338('0x20')+_0x36eec1['getAttribute'](_0x4338('0x39'))[_0x4338('0x26')]()+_0x4338('0x1c');}(_0x34200b))):_0x1833e9(_0xe47fd5,_0x4338('0x4b'),_0x1833e9(_0xe47fd5,'ELEMENT_LIST_ITEM')),_0x19b458={'type':'format','content':_0x38019d};break;case _0x4338('0x50'):case _0x4338('0x24'):!0x1===_0x326758[_0x4338('0x4f')]&&(_0x38019d=_0x4338('0x1e'),_0x19b458={'type':'deletion','content':_0x1833e9(_0xe47fd5,_0x38019d,_0x1833e9(_0xe47fd5,_0x4338('0x3e')))});}return _0x19b458;}),_0x22fe22[_0x4338('0x49')][_0x4338('0x2b')](_0x4338('0x5'),'documentList',_0x4338('0x1'),function(_0x52aaa4,_0x210e2d){const _0x2ad4d7=[];for(let _0x5da3ff of _0x52aaa4)_0x5da3ff['start'][_0x4338('0x3b')]===_0x5da3ff['end'][_0x4338('0x19')]&&(_0x5da3ff=_0xebe840[_0x4338('0x4')][_0x4338('0x2e')](_0xebe840[_0x4338('0x4')][_0x4338('0x9')](_0x5da3ff['start']['nodeAfter'],0x0))),_0x2ad4d7['push'](_0x5da3ff);_0xebe840[_0x4338('0x4')][_0x4338('0x14')](_0x1f65c3=>{const _0x3c2e68=_0xebe840['model'][_0x4338('0x3d')][_0x4338('0x27')],_0x46a7ab=Array[_0x4338('0x16')](_0x3c2e68[_0x4338('0x2f')]())[_0x4338('0x42')](_0x566fe1=>_0x5adda4[_0x4338('0x35')](_0x566fe1));_0x1f65c3[_0x4338('0x0')](_0x2ad4d7),_0xebe840[_0x4338('0x6')][_0x4338('0xa')](_0x210e2d['commandName'])[_0x4338('0x47')](),_0x210e2d[_0x4338('0x32')][_0x4338('0x2')]({'forceDefaultExecution':!0x0}),_0xebe840[_0x4338('0x41')](_0x210e2d[_0x4338('0x40')],..._0x210e2d[_0x4338('0x32')]),_0x1f65c3[_0x4338('0x0')](_0x46a7ab);for(const _0x29e80a of _0x46a7ab)_0x29e80a['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aa4=['get','getSelectedBlocks','listType','listReversed','change','getListTypeFromListStyleType','filter','plugins','toUpperCase','DocumentListPropertiesEditing','isFirstBlockOfListItem','_getSuggestionBlocksForListStyle','numbered','locale','document','replace','getAttribute','markMultiRangeBlockFormat','handleListStartCommand','_getSuggestionBlocks','ELEMENT_','has','styles','reversed','*Change\x20to:*\x20%0','TrackChangesEditing','listStyle','enableCommand','selection','expandListBlocksToCompleteList','type','config','*Format:*\x20set\x20start\x20index\x20to\x20%0','*Format:*\x20set\x20order\x20to\x20reversed','model','format','_LIST_','commandName','registerDescriptionCallback','handleListStyleCommand','listStart','bind','commandParams','isListItemBlock','handleListReversedCommand','_getTranslationKeyForListStyle','_descriptionFactory','list.properties','from','editor','push','DocumentListUtils','startIndex'];(function(_0x4c79fe,_0x3aa46f){const _0x18210e=function(_0x54d129){while(--_0x54d129){_0x4c79fe['push'](_0x4c79fe['shift']());}};_0x18210e(++_0x3aa46f);}(_0x3aa4,0x78));const _0x1821=function(_0x4c79fe,_0x3aa46f){_0x4c79fe=_0x4c79fe-0x0;let _0x18210e=_0x3aa4[_0x4c79fe];return _0x18210e;};import{Plugin as _0xb5ae41}from'ckeditor5/src/core';import{getTranslation as _0x181e31}from'../utils/common-translations';export default class Ct extends _0xb5ae41{['afterInit'](){if(!this['editor'][_0x1821('0x2e')][_0x1821('0x7')](_0x1821('0x30')))return;const _0x39ad1e=this[_0x1821('0x23')][_0x1821('0x11')][_0x1821('0x27')](_0x1821('0x21')),_0x27500f=this['editor']['plugins']['get'](_0x1821('0xb'));_0x39ad1e[_0x1821('0x8')]&&_0x27500f['enableCommand'](_0x1821('0xc'),this[_0x1821('0x19')][_0x1821('0x1b')](this)),_0x39ad1e[_0x1821('0x9')]&&_0x27500f[_0x1821('0xd')](_0x1821('0x2a'),this[_0x1821('0x1e')][_0x1821('0x1b')](this)),_0x39ad1e[_0x1821('0x26')]&&_0x27500f['enableCommand'](_0x1821('0x1a'),this['handleListStartCommand'][_0x1821('0x1b')](this)),_0x27500f[_0x1821('0x20')][_0x1821('0x18')](this['handleDescriptions'][_0x1821('0x1b')](this));}[_0x1821('0x19')](_0x381603,_0x238d6f={}){const _0x4a51b8=this[_0x1821('0x23')]['plugins'][_0x1821('0x27')](_0x1821('0xb')),_0x4e854a=this[_0x1821('0x32')]();this['editor']['model'][_0x1821('0x2b')](()=>{_0x4a51b8['markMultiRangeBlockFormat'](_0x4e854a,{'commandName':_0x1821('0xc'),'commandParams':[{'type':_0x238d6f[_0x1821('0x10')]}],'formatGroupId':_0x1821('0xc')});});}[_0x1821('0x1e')](_0x5f2bea,_0x4f60fe={}){const _0x592a8c=this['editor'][_0x1821('0x2e')][_0x1821('0x27')](_0x1821('0xb')),_0x3a697c=this[_0x1821('0x23')][_0x1821('0x2e')]['get'](_0x1821('0x25')),_0xa82acb=this[_0x1821('0x5')](_0x106ac9=>_0x3a697c[_0x1821('0x1d')](_0x106ac9)&&_0x1821('0x33')===_0x106ac9[_0x1821('0x2')]('listType'));null!==_0xa82acb&&this[_0x1821('0x23')][_0x1821('0x14')][_0x1821('0x2b')](()=>{_0x592a8c['markMultiRangeBlockFormat'](_0xa82acb,{'commandName':'listReversed','commandParams':[{'reversed':_0x4f60fe['reversed']}],'formatGroupId':_0x1821('0x2a')});});}[_0x1821('0x4')](_0x43f773,_0x216bbe={}){const _0x5f4107=this[_0x1821('0x23')][_0x1821('0x2e')][_0x1821('0x27')](_0x1821('0xb')),_0x3ce57a=this[_0x1821('0x23')]['plugins'][_0x1821('0x27')](_0x1821('0x25')),_0x2b993d=this[_0x1821('0x5')](_0xca42cf=>_0x3ce57a[_0x1821('0x1d')](_0xca42cf)&&'numbered'===_0xca42cf[_0x1821('0x2')](_0x1821('0x29')));null!==_0x2b993d&&this[_0x1821('0x23')][_0x1821('0x14')][_0x1821('0x2b')](()=>{_0x5f4107[_0x1821('0x3')](_0x2b993d,{'commandName':_0x1821('0x1a'),'commandParams':[{'startIndex':_0x216bbe[_0x1821('0x26')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x20a16f){const _0x16cd62=this[_0x1821('0x23')][_0x1821('0x34')],{data:_0x27518e}=_0x20a16f;if(!_0x27518e)return;let _0x51086c,_0x75b33d;switch(_0x27518e[_0x1821('0x17')]){case _0x1821('0xc'):_0x51086c=_0x1821('0xa'),_0x75b33d={'type':_0x1821('0x15'),'content':_0x181e31(_0x16cd62,_0x51086c,_0x181e31(_0x16cd62,this[_0x1821('0x1f')](_0x27518e[_0x1821('0x1c')][0x0]['type'])))};break;case'listReversed':_0x51086c=_0x27518e[_0x1821('0x1c')][0x0]['reversed']?_0x1821('0x13'):'*Format:*\x20set\x20order\x20to\x20regular',_0x75b33d={'type':_0x1821('0x15'),'content':_0x181e31(_0x16cd62,_0x51086c)};break;case _0x1821('0x1a'):_0x51086c=_0x1821('0x12'),_0x75b33d={'type':'format','content':_0x181e31(_0x16cd62,_0x51086c,_0x27518e[_0x1821('0x1c')][0x0][_0x1821('0x26')])};}return _0x75b33d;}[_0x1821('0x32')](){const _0x3edaca=this[_0x1821('0x23')][_0x1821('0x2e')]['get'](_0x1821('0x25'));let _0x55d3af=Array[_0x1821('0x22')](this[_0x1821('0x23')]['model'][_0x1821('0x0')]['selection']['getSelectedBlocks']());return _0x55d3af[_0x1821('0x24')](..._0x3edaca[_0x1821('0xf')](_0x55d3af)),_0x55d3af=[...new Set(_0x55d3af)],_0x55d3af;}[_0x1821('0x5')](_0x2459a9){const _0x5528a8=this[_0x1821('0x23')][_0x1821('0x2e')]['get'](_0x1821('0x25'));let _0x3b8026=Array[_0x1821('0x22')](this[_0x1821('0x23')][_0x1821('0x14')][_0x1821('0x0')][_0x1821('0xe')][_0x1821('0x28')]())[_0x1821('0x2d')](_0x2459a9);if(!_0x3b8026['length'])return null;_0x3b8026=_0x5528a8['expandListBlocksToCompleteList'](_0x3b8026);const _0x43efa2=[];for(const _0x63f81a of _0x3b8026)_0x5528a8[_0x1821('0x31')](_0x63f81a)&&_0x43efa2[_0x1821('0x24')](_0x63f81a);return _0x43efa2;}['_getTranslationKeyForListStyle'](_0x51af87){return _0x1821('0x6')+this[_0x1821('0x23')][_0x1821('0x2e')]['get']('DocumentListPropertiesUtils')[_0x1821('0x2c')](_0x51af87)[_0x1821('0x2f')]()+_0x1821('0x16')+_0x51af87['toUpperCase']()[_0x1821('0x1')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18d4=['markerNameToElements','mapper','enter','enterBlock','selection','nextSibling','get','showSuggestionHighlights','removeMarker:suggestion:insertion','model','data','split','TrackChangesEditing','enableCommand','unbindElementFromMarkerName','markInsertion','remove','change','high','detach','createPositionAt','fire','editing','fromRange','options','markerName','downcastDispatcher','addMarker:suggestion:insertion','bind','plugins','end','hasClass','getFirstRange','getFirstPosition','document','init','writer'];(function(_0x3f5d36,_0x18d4cc){const _0x3e70b1=function(_0x30c2a6){while(--_0x30c2a6){_0x3f5d36['push'](_0x3f5d36['shift']());}};_0x3e70b1(++_0x18d4cc);}(_0x18d4,0x16e));const _0x3e70=function(_0x3f5d36,_0x18d4cc){_0x3f5d36=_0x3f5d36-0x0;let _0x3e70b1=_0x18d4[_0x3f5d36];return _0x3e70b1;};import{Plugin as _0x5db416}from'ckeditor5/src/core';import{Enter as _0x4c13d7}from'ckeditor5/src/enter';import{LiveRange as _0x2ab862}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x456b51}from'./utils';export default class z extends _0x5db416{static get['requires'](){return[_0x4c13d7];}[_0x3e70('0x2')](){const _0x31ae75=this['editor'],_0x6da95e=_0x31ae75[_0x3e70('0x21')][_0x3e70('0xa')](_0x3e70('0x10')),_0x407c81=_0x31ae75['commands']['get'](_0x3e70('0x6'));_0x6da95e[_0x3e70('0x11')](_0x3e70('0x6'),()=>{_0x31ae75[_0x3e70('0xd')][_0x3e70('0x15')](_0x49c052=>{const _0x384f45=_0x31ae75[_0x3e70('0xd')][_0x3e70('0x1')][_0x3e70('0x8')],_0x1d7ceb=_0x384f45[_0x3e70('0x0')](),_0x52e7f4=_0x2ab862[_0x3e70('0x1b')](_0x384f45[_0x3e70('0x24')]());if(_0x407c81[_0x3e70('0x7')](_0x49c052)){const _0x522af4=_0x31ae75['model'][_0x3e70('0x18')](_0x1d7ceb['parent'][_0x3e70('0x9')],0x0),_0x3ecad7=_0x49c052['createRange'](_0x1d7ceb,_0x522af4);_0x6da95e[_0x3e70('0x13')](_0x3ecad7);}else _0x49c052['setSelection'](_0x49c052['createRange'](_0x52e7f4[_0x3e70('0x22')]));_0x52e7f4[_0x3e70('0x17')](),_0x407c81[_0x3e70('0x19')]('afterExecute',{'writer':_0x49c052});});}),_0x31ae75[_0x3e70('0x1a')][_0x3e70('0x1e')]['on'](_0x3e70('0x1f'),_0x456b51(_0x31ae75,_0x3e70('0xf')),{'priority':_0x3e70('0x16')}),_0x31ae75['editing'][_0x3e70('0x1e')]['on'](_0x3e70('0xc'),(_0x28a73a,_0x83c860,_0x2fd7f5)=>{const _0x469bd7=_0x2fd7f5[_0x3e70('0x5')][_0x3e70('0x4')](_0x83c860[_0x3e70('0x1d')]);if(_0x469bd7)for(const _0x325c99 of _0x469bd7)_0x325c99[_0x3e70('0x23')]('ck-suggestion-marker-split')&&(_0x2fd7f5['mapper'][_0x3e70('0x12')](_0x325c99,_0x83c860[_0x3e70('0x1d')]),_0x2fd7f5[_0x3e70('0x3')][_0x3e70('0x14')](_0x325c99));},{'priority':_0x3e70('0x16')}),_0x31ae75[_0x3e70('0xe')][_0x3e70('0x1e')]['on'](_0x3e70('0x1f'),(_0x4cc717,_0x5e2632,_0x2e5553)=>{_0x2e5553[_0x3e70('0x1c')][_0x3e70('0xb')]&&_0x456b51(_0x31ae75,_0x3e70('0xf'),{'showActiveMarker':!0x1})[_0x3e70('0x20')](this)(_0x4cc717,_0x5e2632,_0x2e5553);},{'priority':_0x3e70('0x16')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bb3=['createPositionAt','findPrevious','enableCommand','start','findByTextCallback','getMarkersGroup','editor','replace','_isInDeletionRange','suggestion:deletion','afterInit','model','find','end','TrackChangesEditing','replaceAll','filter','plugins','item','string','handleFindCommand','createRange','FindAndReplaceUtils'];(function(_0x214bfe,_0x2bb3bd){const _0x5a5bc7=function(_0x4e9cd6){while(--_0x4e9cd6){_0x214bfe['push'](_0x214bfe['shift']());}};_0x5a5bc7(++_0x2bb3bd);}(_0x2bb3,0xef));const _0x5a5b=function(_0x214bfe,_0x2bb3bd){_0x214bfe=_0x214bfe-0x0;let _0x5a5bc7=_0x2bb3[_0x214bfe];return _0x5a5bc7;};import{Plugin as _0x14057d}from'ckeditor5/src/core';export default class H extends _0x14057d{[_0x5a5b('0x1')](){if(!this['editor'][_0x5a5b('0x8')]['has']('FindAndReplaceEditing'))return;const _0x481403=this['editor'][_0x5a5b('0x8')]['get'](_0x5a5b('0x5'));_0x481403[_0x5a5b('0x10')](_0x5a5b('0x3'),this[_0x5a5b('0xb')]['bind'](this)),_0x481403[_0x5a5b('0x10')]('findNext'),_0x481403[_0x5a5b('0x10')](_0x5a5b('0xf')),_0x481403[_0x5a5b('0x10')](_0x5a5b('0x15')),_0x481403[_0x5a5b('0x10')](_0x5a5b('0x6'));}[_0x5a5b('0xb')](_0x4aea05,_0x24c39a,_0x4316f3={}){const _0x444a96=this[_0x5a5b('0x14')]['plugins']['get'](_0x5a5b('0xd'));if(void 0x0!==_0x4316f3)return _0x4aea05(_0x4f409e=>(_0x5a5b('0xa')==typeof _0x24c39a?_0x444a96[_0x5a5b('0x12')](_0x24c39a,_0x4316f3):_0x24c39a)(_0x4f409e)[_0x5a5b('0x7')](_0x32a19=>!0x1===this[_0x5a5b('0x16')](_0x32a19,_0x4f409e[_0x5a5b('0x9')])),_0x4316f3);}[_0x5a5b('0x16')](_0x5e3acb,_0x48f659){const _0x409ee3=this[_0x5a5b('0x14')][_0x5a5b('0x2')][_0x5a5b('0xc')](this['editor'][_0x5a5b('0x2')][_0x5a5b('0xe')](_0x48f659,_0x5e3acb[_0x5a5b('0x11')]),this[_0x5a5b('0x14')]['model'][_0x5a5b('0xe')](_0x48f659,_0x5e3acb[_0x5a5b('0x4')]));for(const _0x3bc624 of this[_0x5a5b('0x14')][_0x5a5b('0x2')]['markers'][_0x5a5b('0x13')](_0x5a5b('0x0')))if(null!==_0x409ee3['getIntersection'](_0x3bc624['getRange']()))return!0x0;return!0x1;}}
|