@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230719.0 → 0.0.0-nightly-20230721.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 +4 -4
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230721.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,9 +39,9 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
44
|
-
"lodash-es": "
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230721.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230721.0",
|
|
44
|
+
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=16.0.0",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13d9=['canEditAt','_isEnabledBasedOnSelection','TrackChangesEditing','editor','acceptSuggestion','_suggestions','getRanges','refresh','execute','track-changes-accept-suggestion-not-found','model','plugins'];(function(_0xb2172f,_0x13d93a){const _0x1da2e5=function(_0x105fe0){while(--_0x105fe0){_0xb2172f['push'](_0xb2172f['shift']());}};_0x1da2e5(++_0x13d93a);}(_0x13d9,0x92));const _0x1da2=function(_0xb2172f,_0x13d93a){_0xb2172f=_0xb2172f-0x0;let _0x1da2e5=_0x13d9[_0xb2172f];return _0x1da2e5;};import{Command as _0x4a1eb4}from'ckeditor5/src/core';import{CKEditorError as _0x36a33a}from'ckeditor5/src/utils';export default class M extends _0x4a1eb4{constructor(_0x339dc9,_0x2d36aa){super(_0x339dc9),this[_0x1da2('0x3')]=_0x2d36aa,this[_0x1da2('0x5')](),this[_0x1da2('0xb')]=!0x1;}[_0x1da2('0x5')](){this['isEnabled']=!0x0;}[_0x1da2('0x6')](_0x132b8b){const _0xd94380=this[_0x1da2('0x3')]['get'](_0x132b8b);if(!_0xd94380)throw new _0x36a33a(_0x1da2('0x7'),this);const _0x12b965=_0xd94380[_0x1da2('0x4')]();this[_0x1da2('0x1')][_0x1da2('0x8')][_0x1da2('0xa')](_0x12b965)&&this[_0x1da2('0x1')][_0x1da2('0x9')]['get'](_0x1da2('0x0'))[_0x1da2('0x2')](_0xd94380);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26a0=['_isEnabledBasedOnSelection','TrackChangesEditing','track-changes-discard-suggestion-not-found','get','isEnabled','model','execute','refresh','discardSuggestion','_suggestions','editor'];(function(_0x381788,_0x26a000){const _0x38edf0=function(_0x13c36f){while(--_0x13c36f){_0x381788['push'](_0x381788['shift']());}};_0x38edf0(++_0x26a000);}(_0x26a0,0x14f));const _0x38ed=function(_0x381788,_0x26a000){_0x381788=_0x381788-0x0;let _0x38edf0=_0x26a0[_0x381788];return _0x38edf0;};import{Command as _0x391ace}from'ckeditor5/src/core';import{CKEditorError as _0x4f2fb4}from'ckeditor5/src/utils';export default class $ extends _0x391ace{constructor(_0x1f437f,_0x1f8a9b){super(_0x1f437f),this[_0x38ed('0x4')]=_0x1f8a9b,this[_0x38ed('0x2')](),this[_0x38ed('0x6')]=!0x1;}['refresh'](){this[_0x38ed('0xa')]=!0x0;}[_0x38ed('0x1')](_0x5c608a){const _0x2d37eb=this[_0x38ed('0x4')][_0x38ed('0x9')](_0x5c608a);if(!_0x2d37eb)throw new _0x4f2fb4(_0x38ed('0x8'),this);const _0x4b4bba=_0x2d37eb['getRanges']();this[_0x38ed('0x5')][_0x38ed('0x0')]['canEditAt'](_0x4b4bba)&&this['editor']['plugins']['get'](_0x38ed('0x7'))[_0x38ed('0x3')](_0x2d37eb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5297=['_command','_suggestions','from','some','_isEnabledBasedOnSelection','editor','canEditAt','model','execute','refresh','isEnabled','values'];(function(_0x163554,_0x5297e1){const _0xd92448=function(_0x4d5c99){while(--_0x4d5c99){_0x163554['push'](_0x163554['shift']());}};_0xd92448(++_0x5297e1);}(_0x5297,0xc1));const _0xd924=function(_0x163554,_0x5297e1){_0x163554=_0x163554-0x0;let _0xd92448=_0x5297[_0x163554];return _0xd92448;};import{Command as _0x27709a}from'ckeditor5/src/core';import{sortSuggestions as _0x39bee7,executeCommandForSuggestions as _0x28dbe5}from'../utils/utils';export default class N extends _0x27709a{constructor(_0x4bd654,_0x1eed3c,_0x2299ea){super(_0x4bd654),this['_command']=_0x1eed3c,this[_0xd924('0x0')]=_0x2299ea,this[_0xd924('0x8')](),this[_0xd924('0x3')]=!0x1;}[_0xd924('0x8')](){const _0x2cebf7=Array[_0xd924('0x1')](this['_suggestions'][_0xd924('0xa')]())[_0xd924('0x2')](_0x542d82=>_0x542d82['isInContent']);this[_0xd924('0x9')]=this[_0xd924('0xb')][_0xd924('0x9')]&&_0x2cebf7;}[_0xd924('0x7')](){const _0x58e819=_0x39bee7(Array[_0xd924('0x1')](this[_0xd924('0x0')][_0xd924('0xa')]()));for(const _0x37a401 of _0x58e819){const _0x44d08c=_0x37a401['getRanges']();if(!this[_0xd924('0x4')][_0xd924('0x6')][_0xd924('0x5')](_0x44d08c))return;}_0x28dbe5(this[_0xd924('0x4')][_0xd924('0x6')],this[_0xd924('0xb')],_0x58e819);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d98=['refresh','isEnabled','canEditAt','execute','document','selection','_command','_selectedSuggestions','_isEnabledBasedOnSelection','model','_suggestions','size','from','editor','getRanges','values'];(function(_0x8ff95,_0x2d9882){const _0x9ac89e=function(_0x59364d){while(--_0x59364d){_0x8ff95['push'](_0x8ff95['shift']());}};_0x9ac89e(++_0x2d9882);}(_0x2d98,0x66));const _0x9ac8=function(_0x8ff95,_0x2d9882){_0x8ff95=_0x8ff95-0x0;let _0x9ac89e=_0x2d98[_0x8ff95];return _0x9ac89e;};import{Command as _0x2e300a}from'ckeditor5/src/core';import{sortSuggestions as _0x104b17,getSelectedSuggestions as _0x6333d4,executeCommandForSuggestions as _0x1f4eb8}from'../utils/utils';export default class R extends _0x2e300a{constructor(_0x12b595,_0x1433b2,_0x363400){super(_0x12b595),this['_command']=_0x1433b2,this[_0x9ac8('0x4')]=_0x363400,this['_selectedSuggestions']=new Set(),this['refresh'](),this[_0x9ac8('0x2')]=!0x1;}[_0x9ac8('0xa')](){const _0x2d9305=this[_0x9ac8('0x7')]['model'][_0x9ac8('0xe')][_0x9ac8('0xf')],_0x3e442b=Array[_0x9ac8('0x6')](this[_0x9ac8('0x4')][_0x9ac8('0x9')]());this['_selectedSuggestions']=_0x6333d4(_0x2d9305,_0x3e442b),this[_0x9ac8('0xb')]=this['_command'][_0x9ac8('0xb')]&&!!this[_0x9ac8('0x1')][_0x9ac8('0x5')];}[_0x9ac8('0xd')](){const _0x57812b=_0x104b17(Array[_0x9ac8('0x6')](this['_selectedSuggestions']));for(const _0x553140 of _0x57812b){const _0x12546b=_0x553140[_0x9ac8('0x8')]();if(!this[_0x9ac8('0x7')]['model'][_0x9ac8('0xc')](_0x12546b))return;}_0x1f4eb8(this[_0x9ac8('0x7')][_0x9ac8('0x3')],this[_0x9ac8('0x0')],_0x57812b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xee0b=['commands','_enabledCommands','isEnabled','editor','affectsData','refresh','_isEnabledBasedOnSelection','has','_disableUnsupportedCommands','_enableCommands','execute','TrackChangesCommand','forceDisabled'];(function(_0x4e6f54,_0xee0b76){const _0x3e3206=function(_0x19edcc){while(--_0x19edcc){_0x4e6f54['push'](_0x4e6f54['shift']());}};_0x3e3206(++_0xee0b76);}(_0xee0b,0x1ad));const _0x3e32=function(_0x4e6f54,_0xee0b76){_0x4e6f54=_0x4e6f54-0x0;let _0x3e3206=_0xee0b[_0x4e6f54];return _0x3e3206;};import{Command as _0x5b12d1}from'ckeditor5/src/core';export default class _ extends _0x5b12d1{constructor(_0x28df90,_0x2afe84){super(_0x28df90),this[_0x3e32('0x1')]=_0x2afe84,this['value']=!0x1,this[_0x3e32('0x5')](),this[_0x3e32('0x6')]=!0x1;}[_0x3e32('0x5')](){this[_0x3e32('0x2')]=!0x0;}[_0x3e32('0xa')](){this['value']=!this['value'],this['value']?this['_disableUnsupportedCommands']():this[_0x3e32('0x9')]();}[_0x3e32('0x8')](){for(const _0x3055b4 of this[_0x3e32('0x3')][_0x3e32('0x0')][_0x3e32('0x0')]())_0x3055b4[_0x3e32('0x4')]&&!this[_0x3e32('0x1')][_0x3e32('0x7')](_0x3055b4)&&_0x3055b4[_0x3e32('0xc')]('TrackChangesCommand');}[_0x3e32('0x9')](){for(const _0x52f3b3 of this[_0x3e32('0x3')][_0x3e32('0x0')][_0x3e32('0x0')]())_0x52f3b3[_0x3e32('0x4')]&&!this[_0x3e32('0x1')][_0x3e32('0x7')](_0x52f3b3)&&_0x52f3b3['clearForceDisabled'](_0x3e32('0xb'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27b0=['alignment','locale','value','_descriptionFactory','afterInit','FORMAT_JUSTIFY_TEXT','get','from','document','center','change','commandParams','FORMAT_ALIGN_TO_CENTER','selection','enableCommand','markBlockFormat','model','getAttribute','right','filter','plugins','has','AlignmentEditing','left','editor','*Format:*\x20%0','contentLanguageDirection'];(function(_0x1c9357,_0x27b0aa){const _0x1f1351=function(_0x34944f){while(--_0x34944f){_0x1c9357['push'](_0x1c9357['shift']());}};_0x1f1351(++_0x27b0aa);}(_0x27b0,0xdc));const _0x1f13=function(_0x1c9357,_0x27b0aa){_0x1c9357=_0x1c9357-0x0;let _0x1f1351=_0x27b0[_0x1c9357];return _0x1f1351;};import{Plugin as _0x18ead0}from'ckeditor5/src/core';import{getTranslation as _0x11f5e6}from'../utils/common-translations';export default class x extends _0x18ead0{[_0x1f13('0x0')](){const _0x74f849=this['editor'],_0x503c22=_0x74f849[_0x1f13('0x18')];if(!_0x74f849['plugins'][_0x1f13('0x11')](_0x1f13('0x12')))return;const _0x5aedcc=_0x74f849[_0x1f13('0x10')][_0x1f13('0x2')]('TrackChangesEditing');_0x5aedcc[_0x1f13('0xa')](_0x1f13('0x17'),(_0x34889a,_0x53d81c={})=>{let _0x42d8b1=_0x53d81c[_0x1f13('0x19')];_0x53d81c[_0x1f13('0x19')]||(_0x42d8b1='ltr'===_0x74f849[_0x1f13('0x18')][_0x1f13('0x16')]?_0x1f13('0x13'):_0x1f13('0xe'));const _0x45d3c4=Array[_0x1f13('0x3')](this['editor'][_0x1f13('0xc')][_0x1f13('0x4')][_0x1f13('0x9')]['getSelectedBlocks']())[_0x1f13('0xf')](_0x430c05=>function(_0x30baa1,_0x39919a,_0x1377e5){const _0x393dc5=_0x30baa1[_0x1f13('0xd')](_0x1f13('0x17'))||null;return _0x39919a['checkAttribute'](_0x30baa1,_0x1f13('0x17'))&&_0x1377e5!=_0x393dc5;}(_0x430c05,this[_0x1f13('0x14')][_0x1f13('0xc')]['schema'],_0x42d8b1));_0x74f849[_0x1f13('0xc')][_0x1f13('0x6')](()=>{for(const _0x3e555f of _0x45d3c4)_0x5aedcc[_0x1f13('0xb')](_0x3e555f,{'commandName':'alignment','commandParams':[{'value':_0x42d8b1}]});});}),_0x5aedcc[_0x1f13('0x1a')]['registerDescriptionCallback'](_0x1a278b=>{const {data:_0x59296b}=_0x1a278b;if(_0x59296b&&_0x1f13('0x17')==_0x59296b['commandName']){const _0x664628=_0x59296b[_0x1f13('0x7')][0x0][_0x1f13('0x19')];return{'type':'format','content':_0x11f5e6(_0x503c22,_0x1f13('0x15'),function(_0x11a85c){switch(_0x11a85c){case _0x1f13('0x13'):return _0x11f5e6(_0x503c22,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x11f5e6(_0x503c22,'FORMAT_ALIGN_TO_RIGHT');case _0x1f13('0x5'):return _0x11f5e6(_0x503c22,_0x1f13('0x8'));case'justify':return _0x11f5e6(_0x503c22,_0x1f13('0x1'));}}(_0x664628))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14c9=['document','isCollapsed','enableCommand','has','model','commandName','registerDescriptionCallback','locale','SuperscriptEditing','FORMAT_SUBSCRIPT','change','getRanges','strikethrough','FORMAT_ITALIC','get','format','bold','toLowerCase','slice','BoldEditing','afterInit','italic','commands','plugins','ItalicEditing','FORMAT_UNDERLINE','value','FORMAT_CODE','_descriptionFactory','StrikethroughEditing','CodeEditing','from','forceValue'];(function(_0x4fe385,_0x14c908){const _0x45dd20=function(_0x36ef93){while(--_0x36ef93){_0x4fe385['push'](_0x4fe385['shift']());}};_0x45dd20(++_0x14c908);}(_0x14c9,0x1b3));const _0x45dd=function(_0x4fe385,_0x14c908){_0x4fe385=_0x4fe385-0x0;let _0x45dd20=_0x14c9[_0x4fe385];return _0x45dd20;};import{Plugin as _0x29a30d}from'ckeditor5/src/core';import{getTranslation as _0x5bd075}from'../utils/common-translations';import{getRangesWithAttribute as _0x230d80}from'./utils';const Kt=[_0x45dd('0xd'),_0x45dd('0x12'),'UnderlineEditing',_0x45dd('0x18'),_0x45dd('0x17'),'SubscriptEditing',_0x45dd('0x2')];export default class U extends _0x29a30d{[_0x45dd('0xe')](){const _0x6351e=this['editor'],_0x207ae1=_0x6351e[_0x45dd('0x1f')],_0x1621e1=_0x6351e[_0x45dd('0x11')][_0x45dd('0x8')]('TrackChangesEditing'),_0x34fa7a=_0x6351e[_0x45dd('0x1')];for(const _0x560e49 of Kt){if(!_0x6351e[_0x45dd('0x11')][_0x45dd('0x1e')](_0x560e49))continue;const _0xad2a9e=_0x560e49[_0x45dd('0xc')](0x0,-0x7)[_0x45dd('0xb')](),_0x5496a8=_0x6351e[_0x45dd('0x10')][_0x45dd('0x8')](_0xad2a9e);_0x1621e1[_0x45dd('0x1d')](_0xad2a9e,(_0x203cd6,_0xb2ca5a={})=>{const _0x377c65=_0x207ae1[_0x45dd('0x1b')]['selection'];if(_0x377c65[_0x45dd('0x1c')])return void _0x203cd6(_0xb2ca5a);const _0x5a6fd4=void 0x0!==_0xb2ca5a[_0x45dd('0x1a')]?_0xb2ca5a['forceValue']:!_0x5496a8[_0x45dd('0x14')];_0x207ae1[_0x45dd('0x4')](()=>{const _0x20b892=Array[_0x45dd('0x19')](_0x377c65[_0x45dd('0x5')]());for(const _0x178be0 of _0x20b892){const _0x554fdf=_0x5a6fd4?[_0x178be0]:_0x230d80(_0xad2a9e,_0x178be0,_0x207ae1);for(const _0x5d626c of _0x554fdf)_0x1621e1['markInlineFormat'](_0x5d626c,{'commandName':_0xad2a9e,'commandParams':[{'forceValue':_0x5a6fd4}]});}});});}function _0x544c5e(_0xcf82cf,_0x32cc8c){_0x1621e1[_0x45dd('0x16')][_0x45dd('0x0')](_0x1ec274=>{const {data:_0x284bd1}=_0x1ec274;if(_0x284bd1&&_0x284bd1[_0x45dd('0x20')]===_0xcf82cf)return _0x284bd1['commandParams'][0x0][_0x45dd('0x1a')]?{'type':_0x45dd('0x9'),'content':_0x5bd075(_0x34fa7a,'*Format:*\x20%0',_0x32cc8c)}:{'type':_0x45dd('0x9'),'content':_0x5bd075(_0x34fa7a,'*Remove\x20format:*\x20%0',_0x32cc8c)};});}_0x544c5e(_0x45dd('0xa'),_0x5bd075(_0x34fa7a,'FORMAT_BOLD')),_0x544c5e(_0x45dd('0xf'),_0x5bd075(_0x34fa7a,_0x45dd('0x7'))),_0x544c5e('underline',_0x5bd075(_0x34fa7a,_0x45dd('0x13'))),_0x544c5e('code',_0x5bd075(_0x34fa7a,_0x45dd('0x15'))),_0x544c5e(_0x45dd('0x6'),_0x5bd075(_0x34fa7a,'FORMAT_STRIKETHROUGH')),_0x544c5e('subscript',_0x5bd075(_0x34fa7a,_0x45dd('0x3'))),_0x544c5e('superscript',_0x5bd075(_0x34fa7a,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1577=['enableCommand','change','markBlockFormat','from','has','filter','name','blockQuote','selection','model','editor','*Remove\x20format:*\x20%0','_descriptionFactory','parent','document','checkChild','BlockQuoteEditing','get','plugins','commandName','commands','commandParams','forceValue','format','getSelectedBlocks','locale'];(function(_0x1ad15e,_0x15779f){const _0x55b447=function(_0x2b86d8){while(--_0x2b86d8){_0x1ad15e['push'](_0x1ad15e['shift']());}};_0x55b447(++_0x15779f);}(_0x1577,0xd4));const _0x55b4=function(_0x1ad15e,_0x15779f){_0x1ad15e=_0x1ad15e-0x0;let _0x55b447=_0x1577[_0x1ad15e];return _0x55b447;};import{Plugin as _0x17e5f8}from'ckeditor5/src/core';import{getTranslation as _0x1ebe80}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1ee5f7}from'../utils/utils';export default class j extends _0x17e5f8{['afterInit'](){const _0x2f2045=this[_0x55b4('0x6')],_0x3ee125=_0x2f2045[_0x55b4('0x15')];if(!_0x2f2045[_0x55b4('0xe')][_0x55b4('0x0')](_0x55b4('0xc')))return;const _0x2da646=_0x2f2045[_0x55b4('0xe')][_0x55b4('0xd')]('TrackChangesEditing'),_0xc881e9=this[_0x55b4('0x6')][_0x55b4('0x10')][_0x55b4('0xd')](_0x55b4('0x3'));_0x2da646[_0x55b4('0x16')](_0x55b4('0x3'),(_0x43adf3,_0x6693c8={})=>{const _0x1fbc5a=this['editor'][_0x55b4('0x5')][_0x55b4('0xa')][_0x55b4('0x4')],_0x14fa16=_0x6693c8&&void 0x0!==_0x6693c8[_0x55b4('0x12')]?_0x6693c8[_0x55b4('0x12')]:!_0xc881e9['value'];let _0x49ce12=[];if(_0x14fa16){const _0x3055f4=Array[_0x55b4('0x19')](_0x1fbc5a['getSelectedBlocks']())[_0x55b4('0x1')](_0x362de9=>Xt(_0x362de9)||function(_0x2332f0,_0x1d5f33){const _0x5128d1=_0x1d5f33[_0x55b4('0xb')](_0x2332f0[_0x55b4('0x9')],_0x55b4('0x3')),_0x33f9e5=_0x1d5f33[_0x55b4('0xb')](['$root',_0x55b4('0x3')],_0x2332f0);return _0x5128d1&&_0x33f9e5;}(_0x362de9,this[_0x55b4('0x6')]['model']['schema']));_0x49ce12=_0x1ee5f7(_0x3055f4,_0x2f2045['model']);}else{const _0x5b447c=Array['from'](_0x1fbc5a[_0x55b4('0x14')]())['filter'](_0x548af2=>Xt(_0x548af2));_0x49ce12=_0x1ee5f7(_0x5b447c,_0x2f2045[_0x55b4('0x5')]);}_0x2f2045[_0x55b4('0x5')][_0x55b4('0x17')](()=>{for(const _0x2f6c84 of _0x49ce12)_0x2da646[_0x55b4('0x18')](_0x2f6c84,{'commandName':_0x55b4('0x3'),'commandParams':[{'forceValue':_0x14fa16}]});});}),_0x2da646[_0x55b4('0x8')]['registerDescriptionCallback'](_0x41eee6=>{const {data:_0x5c327c}=_0x41eee6;if(_0x5c327c&&_0x55b4('0x3')==_0x5c327c[_0x55b4('0xf')]){const _0x337413=_0x1ebe80(_0x3ee125,'ELEMENT_BLOCK_QUOTE');return _0x5c327c[_0x55b4('0x11')][0x0][_0x55b4('0x12')]?{'type':_0x55b4('0x13'),'content':_0x1ebe80(_0x3ee125,'*Format:*\x20%0',_0x337413)}:{'type':_0x55b4('0x13'),'content':_0x1ebe80(_0x3ee125,_0x55b4('0x7'),_0x337413)};}});}}function Xt(_0xe0a00a){return _0x55b4('0x3')==_0xe0a00a['parent'][_0x55b4('0x2')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x276a=['afterInit','enableCommand','ckbox','get','plugins'];(function(_0x1417ef,_0x276ad4){const _0x5096ed=function(_0x4292b4){while(--_0x4292b4){_0x1417ef['push'](_0x1417ef['shift']());}};_0x5096ed(++_0x276ad4);}(_0x276a,0xb8));const _0x5096=function(_0x1417ef,_0x276ad4){_0x1417ef=_0x1417ef-0x0;let _0x5096ed=_0x276a[_0x1417ef];return _0x5096ed;};import{Plugin as _0x3a9bc1}from'ckeditor5/src/core';export default class E extends _0x3a9bc1{[_0x5096('0x1')](){const _0x7c8f00=this['editor'];_0x7c8f00['commands']['get'](_0x5096('0x3'))&&_0x7c8f00[_0x5096('0x0')][_0x5096('0x4')]('TrackChangesEditing')[_0x5096('0x2')](_0x5096('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x172a=['commandParams','from','enableCommand','language','model','plugins','registerElementLabel','commandName','codeBlock','checkChild','value','label','CodeBlock','commands','registerDescriptionCallback','schema','config','rootElement','languages','document','markBlockFormat','*Remove\x20format:*\x20%0','ELEMENT_CODE_BLOCK','outdentCodeBlock','blockName','isLimit','find','change','*Format:*\x20%0','formatBlock','locale','get','afterInit','filter','forceValue','editor','getSelectedBlocks','format'];(function(_0xad62bf,_0x172a26){const _0x3ab4b5=function(_0x34c022){while(--_0x34c022){_0xad62bf['push'](_0xad62bf['shift']());}};_0x3ab4b5(++_0x172a26);}(_0x172a,0x91));const _0x3ab4=function(_0xad62bf,_0x172a26){_0xad62bf=_0xad62bf-0x0;let _0x3ab4b5=_0x172a[_0xad62bf];return _0x3ab4b5;};import{Plugin as _0x521fa3}from'ckeditor5/src/core';import{getTranslation as _0x1fb2e6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5617cb}from'../utils/utils';export default class O extends _0x521fa3{[_0x3ab4('0x1')](){const _0x187745=this[_0x3ab4('0x4')];if(!_0x187745[_0x3ab4('0xc')]['has'](_0x3ab4('0x13')))return;const _0x3b8dfa=_0x187745[_0x3ab4('0xc')][_0x3ab4('0x0')]('TrackChangesEditing'),_0x324c1f=_0x187745[_0x3ab4('0x25')],_0x5e7a76=_0x187745[_0x3ab4('0x17')][_0x3ab4('0x0')](_0x3ab4('0xf'))[_0x3ab4('0x19')],_0x340e60=_0x187745[_0x3ab4('0x14')][_0x3ab4('0x0')](_0x3ab4('0xf'));_0x3b8dfa[_0x3ab4('0x9')]('indentCodeBlock'),_0x3b8dfa[_0x3ab4('0x9')](_0x3ab4('0x1e')),_0x3b8dfa[_0x3ab4('0x9')](_0x3ab4('0xf'),(_0x17b114,_0x538e6c={})=>{const _0x18b4b7=_0x187745[_0x3ab4('0xb')],_0x2458cb=_0x187745[_0x3ab4('0xb')][_0x3ab4('0x1a')]['selection'],_0x74e7a8=_0x538e6c&&void 0x0!==_0x538e6c[_0x3ab4('0x3')]?_0x538e6c[_0x3ab4('0x3')]:!_0x340e60[_0x3ab4('0x11')];let _0x1a7acc;_0x538e6c[_0x3ab4('0xa')]||(_0x538e6c[_0x3ab4('0xa')]=_0x5e7a76[0x0]['language']),_0x1a7acc=_0x74e7a8?Array[_0x3ab4('0x8')](_0x2458cb['getSelectedBlocks']())[_0x3ab4('0x2')](_0x3db831=>oo(_0x3db831)||function(_0x2a509e,_0x551d20){if(_0x2a509e['is'](_0x3ab4('0x18'))||_0x551d20[_0x3ab4('0x20')](_0x2a509e))return!0x1;return _0x551d20[_0x3ab4('0x10')](_0x2a509e['parent'],_0x3ab4('0xf'));}(_0x3db831,_0x18b4b7[_0x3ab4('0x16')])):Array[_0x3ab4('0x8')](_0x2458cb[_0x3ab4('0x5')]())[_0x3ab4('0x2')](_0x53c93f=>oo(_0x53c93f));const _0x2f3205=_0x5617cb(_0x1a7acc,_0x18b4b7);_0x18b4b7[_0x3ab4('0x22')](()=>{for(const _0x3552fd of _0x2f3205)_0x3b8dfa[_0x3ab4('0x1b')](_0x3552fd,{'commandName':_0x3ab4('0xf'),'commandParams':[{..._0x538e6c,'forceValue':_0x74e7a8}],'formatGroupId':_0x3ab4('0x1f')});});}),(_0x3b8dfa['_descriptionFactory'][_0x3ab4('0xd')](_0x3ab4('0xf'),_0xbeda3d=>_0x1fb2e6(_0x324c1f,_0x3ab4('0x1d'),_0xbeda3d)),_0x3b8dfa['_descriptionFactory'][_0x3ab4('0x15')](_0x1fad15=>{const _0xfe4f31=_0x324c1f['t'],{type:_0x587614,data:_0x37ef25}=_0x1fad15;if(_0x3ab4('0x24')==_0x587614&&_0x37ef25&&'codeBlock'==_0x37ef25[_0x3ab4('0xe')]){const _0x255d19=_0x37ef25['commandParams'][0x0]['language'],_0x2c01f6=_0xfe4f31(_0x5e7a76[_0x3ab4('0x21')](_0x5ef4be=>_0x5ef4be['language']===_0x255d19)[_0x3ab4('0x12')]);return _0x37ef25[_0x3ab4('0x7')][0x0][_0x3ab4('0x3')]?{'type':_0x3ab4('0x6'),'content':_0x1fb2e6(_0x324c1f,_0x3ab4('0x23'),_0x1fb2e6(_0x324c1f,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x2c01f6+')')}:{'type':'format','content':_0x1fb2e6(_0x324c1f,_0x3ab4('0x1c'),_0x1fb2e6(_0x324c1f,_0x3ab4('0x1d'),0x1))};}}));}}function oo(_0x20c27a){return _0x3ab4('0xf')==_0x20c27a['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x473a=['addCommentThread','plugins','CommentsEditing','get','has','editor','afterInit','enableCommand'];(function(_0x46b6cd,_0x473ade){const _0x57d1bf=function(_0x3dedd4){while(--_0x3dedd4){_0x46b6cd['push'](_0x46b6cd['shift']());}};_0x57d1bf(++_0x473ade);}(_0x473a,0x18d));const _0x57d1=function(_0x46b6cd,_0x473ade){_0x46b6cd=_0x46b6cd-0x0;let _0x57d1bf=_0x473a[_0x46b6cd];return _0x57d1bf;};import{Plugin as _0x4ed370}from'ckeditor5/src/core';export default class F extends _0x4ed370{[_0x57d1('0x1')](){const _0x25c41c=this[_0x57d1('0x0')];if(!_0x25c41c[_0x57d1('0x4')][_0x57d1('0x7')](_0x57d1('0x5')))return;_0x25c41c[_0x57d1('0x4')][_0x57d1('0x6')]('TrackChangesEditing')[_0x57d1('0x2')](_0x57d1('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d01=['editing','high','$graveyard','root','editor','setSelection','unlock','unit','unbindElementFromMarkerName','delete','get','createRange','options','init','merge','addMarker:suggestion:deletion','downcastDispatcher','showSuggestionHighlights','document','enqueueChange','end','TrackChangesEditing','batch','deleteForward','forward','buffer','detach','mapper','createSelection','remove','plugins','enableCommand','getFirstRange','writer','rootName','uiElement','start','selection','removeMarker:suggestion:deletion','requires','model','markerName'];(function(_0x3fc678,_0x1d0187){const _0x565bfd=function(_0xa0a3be){while(--_0xa0a3be){_0x3fc678['push'](_0x3fc678['shift']());}};_0x565bfd(++_0x1d0187);}(_0x1d01,0x170));const _0x565b=function(_0x3fc678,_0x1d0187){_0x3fc678=_0x3fc678-0x0;let _0x565bfd=_0x1d01[_0x3fc678];return _0x565bfd;};import{Plugin as _0x4a5677}from'ckeditor5/src/core';import{LiveRange as _0x39499f}from'ckeditor5/src/engine';import{Delete as _0xe089bb}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x496edf}from'./utils';export default class G extends _0x4a5677{static get[_0x565b('0x7')](){return[_0xe089bb];}[_0x565b('0x17')](){const _0x1ed995=this[_0x565b('0xe')],_0x144df9=_0x1ed995[_0x565b('0x28')][_0x565b('0x14')](_0x565b('0x1f'));_0x144df9[_0x565b('0x29')](_0x565b('0x13'));const _0x3a9d71=_0x1ed995['commands']['get']('deleteForward');_0x144df9[_0x565b('0x29')](_0x565b('0x21'),(_0x38d2e2,_0x5cb568={})=>{const _0x12a552=_0x1ed995['model'][_0x565b('0x26')](_0x1ed995[_0x565b('0x8')][_0x565b('0x1c')][_0x565b('0x5')]);_0x12a552['isCollapsed']&&_0x1ed995['model']['modifySelection'](_0x12a552,{'direction':_0x565b('0x22'),'unit':_0x5cb568[_0x565b('0x11')]});const _0x16f812=_0x12a552[_0x565b('0x0')](),_0x58a9d7=_0x39499f['fromRange'](_0x16f812);let _0x419741;_0x38d2e2(_0x5cb568),_0x419741=_0x565b('0xc')==_0x58a9d7[_0x565b('0xd')][_0x565b('0x2')]?_0x1ed995[_0x565b('0x8')]['createRange'](_0x16f812[_0x565b('0x4')]):_0x1ed995[_0x565b('0x8')][_0x565b('0x15')](_0x58a9d7[_0x565b('0x4')],_0x58a9d7[_0x565b('0x1e')]),_0x58a9d7[_0x565b('0x24')](),_0x1ed995[_0x565b('0x8')][_0x565b('0x1d')](_0x3a9d71[_0x565b('0x23')][_0x565b('0x20')],_0x5cb026=>{_0x3a9d71[_0x565b('0x23')]['lock'](),_0x5cb026[_0x565b('0xf')](_0x5cb026[_0x565b('0x15')](_0x419741[_0x565b('0x1e')])),_0x3a9d71[_0x565b('0x23')][_0x565b('0x10')]();});}),_0x1ed995[_0x565b('0xa')][_0x565b('0x1a')]['on']('addMarker:suggestion:deletion',_0x496edf(_0x1ed995,_0x565b('0x18')),{'priority':'high'}),_0x1ed995['data'][_0x565b('0x1a')]['on'](_0x565b('0x19'),(_0x2138fd,_0x317356,_0x3ac084)=>{_0x3ac084[_0x565b('0x16')][_0x565b('0x1b')]&&_0x496edf(_0x1ed995,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x2138fd,_0x317356,_0x3ac084);},{'priority':'high'}),_0x1ed995[_0x565b('0xa')][_0x565b('0x1a')]['on'](_0x565b('0x6'),(_0xef121d,_0x53b723,_0x2534f2)=>{const _0x372aec=_0x2534f2[_0x565b('0x25')]['markerNameToElements'](_0x53b723[_0x565b('0x9')]);if(_0x372aec)for(const _0x58664a of _0x372aec)_0x58664a['is'](_0x565b('0x3'))&&(_0x2534f2[_0x565b('0x25')][_0x565b('0x12')](_0x58664a,_0x53b723['markerName']),_0x2534f2[_0x565b('0x1')][_0x565b('0x27')](_0x58664a));},{'priority':_0x565b('0xb')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4135=['createPositionAt','ELEMENT_NUMBERED_LIST','listType','ELEMENT_','plugins','previousSibling','after','commandName','get','_LIST','selection','from','multipleBlocks','model','ELEMENT_LIST_ITEM','numberedList','push','locale','change','DocumentListUtils','*Merge:*\x20%0','splitListItemAfter','TrackChangesEditing','getFirstRange','splitListItemBefore','hasAttribute','editor','map','accept','execute','*Change\x20to:*\x20%0','DocumentListEditing','slice','indentList','registerElementLabel','commands','getSelectedBlocks','mergeListItemBackward','deletion','*Format:*\x20remove\x20from\x20%0','end','nodeAfter','createRange','listIndent','format','document','toUpperCase','forceValue','length','outdentList','before','ELEMENT_BULLETED_LIST','schema','afterInit','bulletedList','listItemId','value','formatBlock','markMultiRangeBlockFormat','expandListBlocksToCompleteList','markBlockFormat','registerDescriptionCallback','registerCustomCallback','isObject','nextSibling','setSelection','getAttribute','commandParams','_suggestionFactory','_descriptionFactory','documentList','findIndex','*Format:*\x20insert\x20into\x20%0','mergeListItemForward','start','refresh','add','fromRange','enableCommand'];(function(_0x224e9e,_0x41352e){const _0x524705=function(_0x51526a){while(--_0x51526a){_0x224e9e['push'](_0x224e9e['shift']());}};_0x524705(++_0x41352e);}(_0x4135,0xf4));const _0x5247=function(_0x224e9e,_0x41352e){_0x224e9e=_0x224e9e-0x0;let _0x524705=_0x4135[_0x224e9e];return _0x524705;};import{Plugin as _0x356b0c}from'ckeditor5/src/core';import{getTranslation as _0x2813b8}from'../utils/common-translations';import{LiveRange as _0x349e19}from'ckeditor5/src/engine';export default class L extends _0x356b0c{[_0x5247('0x2e')](){const _0xe039f5=this[_0x5247('0x13')];if(!_0xe039f5[_0x5247('0x4c')]['has'](_0x5247('0x18')))return;const _0x541b2a=_0xe039f5[_0x5247('0xa')],_0xc54138=_0xe039f5['plugins'][_0x5247('0x1')](_0x5247('0xf')),_0x52651a=_0xe039f5[_0x5247('0x4c')]['get'](_0x5247('0xc'));function _0x5309a4(_0x3a8b7f){return()=>{const _0x26a18b=_0xe039f5['commands'][_0x5247('0x1')](_0x3a8b7f);let _0x6d9a0=Array['from'](_0xe039f5[_0x5247('0x6')][_0x5247('0x26')][_0x5247('0x3')][_0x5247('0x1d')]());if(_0x51f74d(_0x3a8b7f)){_0x6d9a0=_0x52651a[_0x5247('0x34')](_0x6d9a0);const _0x1bc542=[];for(const _0x4c005d of _0x6d9a0)_0x52651a['isFirstBlockOfListItem'](_0x4c005d)&&_0x1bc542['push'](_0x4c005d);_0x6d9a0=_0x1bc542;}_0xe039f5[_0x5247('0x6')]['change'](()=>{_0xc54138[_0x5247('0x33')](_0x6d9a0,{'commandName':_0x3a8b7f,'commandParams':[{'forceValue':!_0x26a18b[_0x5247('0x31')]}],'formatGroupId':_0x5247('0x4a')},[],'documentList');});};}function _0x567834(_0x40c94b){return()=>{const _0x3d7835=function(_0x478d27){let _0x2e4c5a=Array[_0x5247('0x4')](_0x478d27);const _0xe5162b=_0x2e4c5a[_0x5247('0x40')](_0x4382d9=>!_0x4382d9[_0x5247('0x12')](_0x5247('0x30')));return _0xe5162b>-0x1&&(_0x2e4c5a=_0x2e4c5a[_0x5247('0x19')](0x0,_0xe5162b)),_0x2e4c5a;}(_0xe039f5[_0x5247('0x6')]['document']['selection'][_0x5247('0x1d')]()),_0x527949=_0x3d7835[_0x3d7835[_0x5247('0x29')]-0x1],_0x40c552=_0xe039f5[_0x5247('0x6')][_0x5247('0x2d')][_0x5247('0x38')](_0x527949)?_0x5247('0x4e'):_0x5247('0x21'),_0x8e9e4b=_0xe039f5[_0x5247('0x6')][_0x5247('0x23')](_0xe039f5[_0x5247('0x6')]['createPositionAt'](_0x3d7835[0x0],_0x5247('0x2b')),_0xe039f5['model'][_0x5247('0x48')](_0x527949,_0x40c552));_0xe039f5['model'][_0x5247('0xb')](()=>{_0xc54138[_0x5247('0x35')](_0x8e9e4b,{'commandName':_0x40c94b,'commandParams':[],'formatGroupId':_0x5247('0x4a')},function(_0x4fa6e6){const _0x15b046=new Set();for(const _0x1fa11d of _0x4fa6e6){let _0x764f7c=_0x1fa11d[_0x5247('0x39')];for(;_0x764f7c&&_0x764f7c['getAttribute'](_0x5247('0x24'))>_0x1fa11d[_0x5247('0x3b')](_0x5247('0x24'));)_0x15b046[_0x5247('0x45')](_0x764f7c),_0x764f7c=_0x764f7c[_0x5247('0x39')];}return Array['from'](_0x15b046);}(_0x3d7835));});};}function _0x1b1bc1(_0x5bfe8f){return()=>{const _0x52706f=_0xe039f5[_0x5247('0x6')]['document'][_0x5247('0x3')][_0x5247('0x1d')]()['next']()[_0x5247('0x31')],_0x43c2c5=_0xe039f5['model'][_0x5247('0x48')](_0x52706f,_0x5247('0x2b')),_0x2c4e7e=_0xe039f5[_0x5247('0x6')]['createPositionAt'](_0x52706f,0x0),_0x18f12c=_0xe039f5[_0x5247('0x6')][_0x5247('0x23')](_0x43c2c5,_0x2c4e7e);_0xe039f5['model']['change'](()=>{_0xc54138[_0x5247('0x35')](_0x18f12c,{'commandName':_0x5bfe8f,'commandParams':[],'formatGroupId':'listType'});});};}function _0x51f74d(_0x2c428d){const _0xb0d905=_0xe039f5['commands'][_0x5247('0x1')](_0x5247('0x2f'))[_0x5247('0x31')],_0x380aa9=_0xe039f5[_0x5247('0x1c')][_0x5247('0x1')](_0x5247('0x8'))[_0x5247('0x31')];return'numberedList'===_0x2c428d?_0xb0d905:_0x380aa9;}_0xc54138[_0x5247('0x47')]('numberedList',_0x5309a4(_0x5247('0x8'))),_0xc54138[_0x5247('0x47')](_0x5247('0x2f'),_0x5309a4(_0x5247('0x2f'))),_0xc54138[_0x5247('0x47')](_0x5247('0x1a'),_0x567834('indentList')),_0xc54138[_0x5247('0x47')](_0x5247('0x2a'),_0x567834(_0x5247('0x2a'))),_0xc54138[_0x5247('0x47')](_0x5247('0xe'),_0x1b1bc1(_0x5247('0xe'))),_0xc54138[_0x5247('0x47')]('splitListItemBefore',_0x1b1bc1(_0x5247('0x11'))),_0xc54138['_descriptionFactory'][_0x5247('0x1b')](function(_0x36c49a){const _0x3d20a7=!_0xe039f5[_0x5247('0x6')][_0x5247('0x2d')][_0x5247('0x38')](_0x36c49a),_0x7ede0f=_0x36c49a[_0x5247('0x4d')],_0x418d69=_0x36c49a[_0x5247('0x39')],_0x4f2a1a=_0x36c49a[_0x5247('0x3b')](_0x5247('0x30')),_0xa86f19=!_0x7ede0f||_0x7ede0f[_0x5247('0x3b')](_0x5247('0x30'))!==_0x4f2a1a,_0x3efa40=!_0x418d69||_0x418d69[_0x5247('0x3b')]('listItemId')!==_0x4f2a1a;return _0x3d20a7&&Boolean(_0x4f2a1a)&&_0xa86f19&&_0x3efa40;},_0x492d85=>_0x2813b8(_0x541b2a,_0x5247('0x7'),_0x492d85)),_0xc54138[_0x5247('0x3e')][_0x5247('0x36')](function(_0x219966){const {data:_0x1de168}=_0x219966;if(!_0x1de168)return;let _0x13b9d6,_0x30d732,_0x154739,_0x4b5e98;switch(_0x1de168[_0x5247('0x0')]){case _0x5247('0x2f'):_0x154739=_0x1de168[_0x5247('0x3c')][0x0][_0x5247('0x28')],_0x4b5e98=_0x51f74d(_0x1de168[_0x5247('0x0')]),_0x13b9d6=_0x154739?_0x5247('0x41'):_0x5247('0x20'),_0x4b5e98&&(_0x13b9d6=_0x5247('0x17')),_0x30d732={'type':'format','content':_0x2813b8(_0x541b2a,_0x13b9d6,_0x2813b8(_0x541b2a,_0x5247('0x2c')))};break;case _0x5247('0x8'):_0x154739=_0x1de168[_0x5247('0x3c')][0x0][_0x5247('0x28')],_0x4b5e98=_0x51f74d(_0x1de168['commandName']),_0x13b9d6=_0x154739?_0x5247('0x41'):_0x5247('0x20'),_0x4b5e98&&(_0x13b9d6=_0x5247('0x17')),_0x30d732={'type':_0x5247('0x25'),'content':_0x2813b8(_0x541b2a,_0x13b9d6,_0x2813b8(_0x541b2a,_0x5247('0x49')))};break;case'indentList':_0x13b9d6='*Indent:*\x20%0',_0x30d732={'type':'format','content':_0x2813b8(_0x541b2a,_0x13b9d6,_0x2813b8(_0x541b2a,_0x5247('0x7')))};break;case _0x5247('0x2a'):_0x13b9d6=function(_0x119801){const _0x5ec244=_0x119801['getFirstRange']();let _0x3f412b=_0x5ec244[_0x5247('0x43')]['nodeAfter'];for(;_0x3f412b&&_0x5ec244['containsItem'](_0x3f412b);){if(_0x3f412b['getAttribute'](_0x5247('0x24'))>0x0)return!0x1;_0x3f412b=_0x3f412b['nextSibling'];}return!0x0;}(_0x219966)?_0x2813b8(_0x541b2a,'*Format:*\x20remove\x20from\x20%0',_0x2813b8(_0x541b2a,function(_0xa12f41){const _0x564642=_0xa12f41[_0x5247('0x10')]()[_0x5247('0x43')][_0x5247('0x22')];return _0x5247('0x4b')+_0x564642[_0x5247('0x3b')](_0x5247('0x4a'))[_0x5247('0x27')]()+_0x5247('0x2');}(_0x219966))):_0x2813b8(_0x541b2a,'*Outdent:*\x20%0',_0x2813b8(_0x541b2a,_0x5247('0x7'))),_0x30d732={'type':_0x5247('0x25'),'content':_0x13b9d6};break;case _0x5247('0x1e'):case _0x5247('0x42'):!0x1===_0x1de168[_0x5247('0x5')]&&(_0x13b9d6=_0x5247('0xd'),_0x30d732={'type':_0x5247('0x1f'),'content':_0x2813b8(_0x541b2a,_0x13b9d6,_0x2813b8(_0x541b2a,'ELEMENT_LIST_ITEM'))});}return _0x30d732;}),_0xc54138[_0x5247('0x3d')][_0x5247('0x37')](_0x5247('0x32'),_0x5247('0x3f'),_0x5247('0x15'),function(_0x11e468,_0x384450){const _0x5a3adc=[];for(let _0x3ebd23 of _0x11e468)_0x3ebd23['start'][_0x5247('0x22')]===_0x3ebd23[_0x5247('0x21')]['parent']&&(_0x3ebd23=_0xe039f5[_0x5247('0x6')][_0x5247('0x23')](_0xe039f5['model'][_0x5247('0x48')](_0x3ebd23[_0x5247('0x43')]['nodeAfter'],0x0))),_0x5a3adc['push'](_0x3ebd23);_0xe039f5[_0x5247('0x6')][_0x5247('0xb')](_0x26c9c5=>{const _0x117eb9=_0xe039f5[_0x5247('0x6')]['document'][_0x5247('0x3')],_0x4ec2b0=Array['from'](_0x117eb9['getRanges']())[_0x5247('0x14')](_0x46ce75=>_0x349e19[_0x5247('0x46')](_0x46ce75));_0x26c9c5[_0x5247('0x3a')](_0x5a3adc),_0xe039f5[_0x5247('0x1c')][_0x5247('0x1')](_0x384450[_0x5247('0x0')])[_0x5247('0x44')](),_0x384450['commandParams'][_0x5247('0x9')]({'forceDefaultExecution':!0x0}),_0xe039f5[_0x5247('0x16')](_0x384450['commandName'],..._0x384450[_0x5247('0x3c')]),_0x26c9c5[_0x5247('0x3a')](_0x4ec2b0);for(const _0x4b5348 of _0x4ec2b0)_0x4b5348['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8bec=['expandListBlocksToCompleteList','isFirstBlockOfListItem','_descriptionFactory','isListItemBlock','listStart','config','change','model','handleListReversedCommand','TrackChangesEditing','selection','handleDescriptions','styles','type','DocumentListUtils','bind','editor','*Format:*\x20set\x20order\x20to\x20regular','list.properties','locale','*Format:*\x20set\x20order\x20to\x20reversed','length','getListTypeFromListStyleType','listReversed','ELEMENT_','document','format','from','listType','registerDescriptionCallback','DocumentListPropertiesEditing','push','get','replace','numbered','_getTranslationKeyForListStyle','_getSuggestionBlocksForListStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','enableCommand','*Change\x20to:*\x20%0','plugins','handleListStartCommand','commandName','listStyle','commandParams','getSelectedBlocks','handleListStyleCommand','markMultiRangeBlockFormat','_getSuggestionBlocks'];(function(_0x160760,_0x8bec4b){const _0x537a42=function(_0x544c70){while(--_0x544c70){_0x160760['push'](_0x160760['shift']());}};_0x537a42(++_0x8bec4b);}(_0x8bec,0xc0));const _0x537a=function(_0x160760,_0x8bec4b){_0x160760=_0x160760-0x0;let _0x537a42=_0x8bec[_0x160760];return _0x537a42;};import{Plugin as _0x5247d3}from'ckeditor5/src/core';import{getTranslation as _0x4522c6}from'../utils/common-translations';export default class At extends _0x5247d3{['afterInit'](){if(!this['editor'][_0x537a('0x31')]['has'](_0x537a('0x26')))return;const _0x2fd125=this['editor'][_0x537a('0xd')][_0x537a('0x28')](_0x537a('0x1a')),_0x1277d7=this[_0x537a('0x18')][_0x537a('0x31')][_0x537a('0x28')]('TrackChangesEditing');_0x2fd125[_0x537a('0x14')]&&_0x1277d7[_0x537a('0x2f')]('listStyle',this[_0x537a('0x5')][_0x537a('0x17')](this)),_0x2fd125['reversed']&&_0x1277d7['enableCommand'](_0x537a('0x1f'),this['handleListReversedCommand'][_0x537a('0x17')](this)),_0x2fd125['startIndex']&&_0x1277d7[_0x537a('0x2f')]('listStart',this['handleListStartCommand']['bind'](this)),_0x1277d7[_0x537a('0xa')][_0x537a('0x25')](this[_0x537a('0x13')]['bind'](this));}[_0x537a('0x5')](_0x294222,_0x1ed40b={}){const _0x11c90a=this['editor']['plugins'][_0x537a('0x28')](_0x537a('0x11')),_0x2bbb08=this[_0x537a('0x2c')]();this['editor']['model'][_0x537a('0xe')](()=>{_0x11c90a[_0x537a('0x6')](_0x2bbb08,{'commandName':_0x537a('0x2'),'commandParams':[{'type':_0x1ed40b[_0x537a('0x15')]}],'formatGroupId':_0x537a('0x2')});});}[_0x537a('0x10')](_0x227d73,_0x19a63c={}){const _0x4963e6=this[_0x537a('0x18')]['plugins']['get'](_0x537a('0x11')),_0x127df1=this['editor']['plugins']['get']('DocumentListUtils'),_0x2be1ae=this[_0x537a('0x7')](_0x479b9e=>_0x127df1[_0x537a('0xb')](_0x479b9e)&&_0x537a('0x2a')===_0x479b9e['getAttribute'](_0x537a('0x24')));null!==_0x2be1ae&&this[_0x537a('0x18')]['model'][_0x537a('0xe')](()=>{_0x4963e6[_0x537a('0x6')](_0x2be1ae,{'commandName':_0x537a('0x1f'),'commandParams':[{'reversed':_0x19a63c['reversed']}],'formatGroupId':'listReversed'});});}[_0x537a('0x0')](_0x1bd036,_0x21d2c9={}){const _0x377316=this[_0x537a('0x18')][_0x537a('0x31')][_0x537a('0x28')](_0x537a('0x11')),_0x14fdc3=this[_0x537a('0x18')][_0x537a('0x31')]['get'](_0x537a('0x16')),_0x51bf9a=this[_0x537a('0x7')](_0xa27bc9=>_0x14fdc3['isListItemBlock'](_0xa27bc9)&&_0x537a('0x2a')===_0xa27bc9['getAttribute'](_0x537a('0x24')));null!==_0x51bf9a&&this[_0x537a('0x18')][_0x537a('0xf')][_0x537a('0xe')](()=>{_0x377316['markMultiRangeBlockFormat'](_0x51bf9a,{'commandName':_0x537a('0xc'),'commandParams':[{'startIndex':_0x21d2c9[_0x537a('0x2e')]}],'formatGroupId':_0x537a('0xc')});});}[_0x537a('0x13')](_0x8221c1){const _0x30e26e=this['editor'][_0x537a('0x1b')],{data:_0x540afe}=_0x8221c1;if(!_0x540afe)return;let _0x12a813,_0x24a073;switch(_0x540afe[_0x537a('0x1')]){case'listStyle':_0x12a813=_0x537a('0x30'),_0x24a073={'type':'format','content':_0x4522c6(_0x30e26e,_0x12a813,_0x4522c6(_0x30e26e,this[_0x537a('0x2b')](_0x540afe[_0x537a('0x3')][0x0][_0x537a('0x15')])))};break;case _0x537a('0x1f'):_0x12a813=_0x540afe[_0x537a('0x3')][0x0]['reversed']?_0x537a('0x1c'):_0x537a('0x19'),_0x24a073={'type':_0x537a('0x22'),'content':_0x4522c6(_0x30e26e,_0x12a813)};break;case'listStart':_0x12a813=_0x537a('0x2d'),_0x24a073={'type':_0x537a('0x22'),'content':_0x4522c6(_0x30e26e,_0x12a813,_0x540afe[_0x537a('0x3')][0x0]['startIndex'])};}return _0x24a073;}[_0x537a('0x2c')](){const _0x18e3e3=this[_0x537a('0x18')][_0x537a('0x31')][_0x537a('0x28')](_0x537a('0x16'));let _0x486798=Array[_0x537a('0x23')](this['editor']['model'][_0x537a('0x21')][_0x537a('0x12')][_0x537a('0x4')]());return _0x486798[_0x537a('0x27')](..._0x18e3e3[_0x537a('0x8')](_0x486798)),_0x486798=[...new Set(_0x486798)],_0x486798;}['_getSuggestionBlocks'](_0x454ab4){const _0x5ec31a=this[_0x537a('0x18')][_0x537a('0x31')][_0x537a('0x28')]('DocumentListUtils');let _0x32a4e8=Array[_0x537a('0x23')](this[_0x537a('0x18')][_0x537a('0xf')][_0x537a('0x21')][_0x537a('0x12')][_0x537a('0x4')]())['filter'](_0x454ab4);if(!_0x32a4e8[_0x537a('0x1d')])return null;_0x32a4e8=_0x5ec31a[_0x537a('0x8')](_0x32a4e8);const _0x113aed=[];for(const _0x376fe5 of _0x32a4e8)_0x5ec31a[_0x537a('0x9')](_0x376fe5)&&_0x113aed[_0x537a('0x27')](_0x376fe5);return _0x113aed;}[_0x537a('0x2b')](_0x61c64a){return _0x537a('0x20')+this['editor'][_0x537a('0x31')][_0x537a('0x28')]('DocumentListPropertiesUtils')[_0x537a('0x1e')](_0x61c64a)['toUpperCase']()+'_LIST_'+_0x61c64a['toUpperCase']()[_0x537a('0x29')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a61=['TrackChangesEditing','remove','parent','data','addMarker:suggestion:insertion','document','getFirstRange','options','createRange','ck-suggestion-marker-split','createPositionAt','fire','model','bind','plugins','enter','init','fromRange','markerNameToElements','editing','markInsertion','end','unbindElementFromMarkerName','split','setSelection','removeMarker:suggestion:insertion','markerName','change','downcastDispatcher','detach','getFirstPosition','writer','selection','mapper','get','nextSibling','requires'];(function(_0x16880f,_0x1a612c){const _0x2a0b79=function(_0x1e7480){while(--_0x1e7480){_0x16880f['push'](_0x16880f['shift']());}};_0x2a0b79(++_0x1a612c);}(_0x1a61,0xc2));const _0x2a0b=function(_0x16880f,_0x1a612c){_0x16880f=_0x16880f-0x0;let _0x2a0b79=_0x1a61[_0x16880f];return _0x2a0b79;};import{Plugin as _0x4b491f}from'ckeditor5/src/core';import{Enter as _0x37127e}from'ckeditor5/src/enter';import{LiveRange as _0x56c318}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1d5cbb}from'./utils';export default class q extends _0x4b491f{static get[_0x2a0b('0x1b')](){return[_0x37127e];}[_0x2a0b('0x7')](){const _0x2b6d9b=this['editor'],_0x18375f=_0x2b6d9b[_0x2a0b('0x5')][_0x2a0b('0x19')](_0x2a0b('0x1c')),_0x1ea410=_0x2b6d9b['commands'][_0x2a0b('0x19')]('enter');_0x18375f['enableCommand'](_0x2a0b('0x6'),()=>{_0x2b6d9b[_0x2a0b('0x3')][_0x2a0b('0x12')](_0x42c0f3=>{const _0x59da58=_0x2b6d9b[_0x2a0b('0x3')][_0x2a0b('0x21')][_0x2a0b('0x17')],_0x3a1cdb=_0x59da58[_0x2a0b('0x15')](),_0x55ebf3=_0x56c318[_0x2a0b('0x8')](_0x59da58[_0x2a0b('0x22')]());if(_0x1ea410['enterBlock'](_0x42c0f3)){const _0x435888=_0x2b6d9b[_0x2a0b('0x3')][_0x2a0b('0x1')](_0x3a1cdb[_0x2a0b('0x1e')][_0x2a0b('0x1a')],0x0),_0xe6b746=_0x42c0f3['createRange'](_0x3a1cdb,_0x435888);_0x18375f[_0x2a0b('0xb')](_0xe6b746);}else _0x42c0f3[_0x2a0b('0xf')](_0x42c0f3[_0x2a0b('0x24')](_0x55ebf3[_0x2a0b('0xc')]));_0x55ebf3[_0x2a0b('0x14')](),_0x1ea410[_0x2a0b('0x2')]('afterExecute',{'writer':_0x42c0f3});});}),_0x2b6d9b[_0x2a0b('0xa')][_0x2a0b('0x13')]['on'](_0x2a0b('0x20'),_0x1d5cbb(_0x2b6d9b,_0x2a0b('0xe')),{'priority':'high'}),_0x2b6d9b[_0x2a0b('0xa')][_0x2a0b('0x13')]['on'](_0x2a0b('0x10'),(_0x3914ef,_0x39162c,_0x3dbba6)=>{const _0x4af5ec=_0x3dbba6[_0x2a0b('0x18')][_0x2a0b('0x9')](_0x39162c[_0x2a0b('0x11')]);if(_0x4af5ec)for(const _0x4f4469 of _0x4af5ec)_0x4f4469['hasClass'](_0x2a0b('0x0'))&&(_0x3dbba6[_0x2a0b('0x18')][_0x2a0b('0xd')](_0x4f4469,_0x39162c[_0x2a0b('0x11')]),_0x3dbba6[_0x2a0b('0x16')][_0x2a0b('0x1d')](_0x4f4469));},{'priority':'high'}),_0x2b6d9b[_0x2a0b('0x1f')][_0x2a0b('0x13')]['on'](_0x2a0b('0x20'),(_0x1806cc,_0x125819,_0x3f9ce9)=>{_0x3f9ce9[_0x2a0b('0x23')]['showSuggestionHighlights']&&_0x1d5cbb(_0x2b6d9b,_0x2a0b('0xe'),{'showActiveMarker':!0x1})[_0x2a0b('0x4')](this)(_0x1806cc,_0x125819,_0x3f9ce9);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5528=['createPositionAt','get','FindAndReplaceUtils','TrackChangesEditing','bind','getRange','createRange','_isInDeletionRange','replace','getIntersection','findPrevious','markers','model','find','enableCommand','FindAndReplaceEditing','replaceAll','findByTextCallback','string','editor','end','item','start','has','filter','handleFindCommand','getMarkersGroup','findNext','suggestion:deletion','plugins'];(function(_0x21bbe1,_0x5528c7){const _0x489523=function(_0x1f37fd){while(--_0x1f37fd){_0x21bbe1['push'](_0x21bbe1['shift']());}};_0x489523(++_0x5528c7);}(_0x5528,0x6c));const _0x4895=function(_0x21bbe1,_0x5528c7){_0x21bbe1=_0x21bbe1-0x0;let _0x489523=_0x5528[_0x21bbe1];return _0x489523;};import{Plugin as _0x533581}from'ckeditor5/src/core';export default class z extends _0x533581{['afterInit'](){if(!this['editor']['plugins'][_0x4895('0x5')](_0x4895('0x1b')))return;const _0x3d13ab=this[_0x4895('0x1')][_0x4895('0xb')][_0x4895('0xd')](_0x4895('0xf'));_0x3d13ab[_0x4895('0x1a')](_0x4895('0x19'),this[_0x4895('0x7')][_0x4895('0x10')](this)),_0x3d13ab[_0x4895('0x1a')](_0x4895('0x9')),_0x3d13ab[_0x4895('0x1a')](_0x4895('0x16')),_0x3d13ab[_0x4895('0x1a')](_0x4895('0x14')),_0x3d13ab[_0x4895('0x1a')](_0x4895('0x1c'));}['handleFindCommand'](_0x576fa2,_0x4f68ce,_0xe00dcc={}){const _0x4ba5b5=this['editor'][_0x4895('0xb')][_0x4895('0xd')](_0x4895('0xe'));void 0x0!==_0xe00dcc&&_0x576fa2(_0x12115b=>(_0x4895('0x0')==typeof _0x4f68ce?_0x4ba5b5[_0x4895('0x1d')](_0x4f68ce,_0xe00dcc):_0x4f68ce)(_0x12115b)[_0x4895('0x6')](_0x28acd8=>!0x1===this[_0x4895('0x13')](_0x28acd8,_0x12115b[_0x4895('0x3')])),_0xe00dcc);}[_0x4895('0x13')](_0x2165df,_0x577018){const _0x408d85=this[_0x4895('0x1')][_0x4895('0x18')][_0x4895('0x12')](this[_0x4895('0x1')][_0x4895('0x18')][_0x4895('0xc')](_0x577018,_0x2165df[_0x4895('0x4')]),this[_0x4895('0x1')][_0x4895('0x18')][_0x4895('0xc')](_0x577018,_0x2165df[_0x4895('0x2')]));for(const _0x5b8193 of this['editor']['model'][_0x4895('0x17')][_0x4895('0x8')](_0x4895('0xa')))if(null!==_0x408d85[_0x4895('0x15')](_0x5b8193[_0x4895('0x11')]()))return!0x0;return!0x1;}}
|