@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231222.0 → 0.0.0-nightly-20231224.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231224.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20231224.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231224.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14d8=['plugins','getRanges','execute','get','_suggestions','model','TrackChangesEditing','acceptSuggestion','track-changes-accept-suggestion-not-found','canEditAt','editor'];(function(_0x183fc2,_0x14d80b){const _0x41d637=function(_0x20770a){while(--_0x20770a){_0x183fc2['push'](_0x183fc2['shift']());}};_0x41d637(++_0x14d80b);}(_0x14d8,0xc9));const _0x41d6=function(_0x183fc2,_0x14d80b){_0x183fc2=_0x183fc2-0x0;let _0x41d637=_0x14d8[_0x183fc2];return _0x41d637;};import{Command as _0x305482}from'ckeditor5/src/core.js';import{CKEditorError as _0x187ff1}from'ckeditor5/src/utils.js';export default class $ extends _0x305482{constructor(_0x4393a3,_0x5cfaf6){super(_0x4393a3),this[_0x41d6('0x1')]=_0x5cfaf6,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x41d6('0xa')](_0x428ca3){const _0x1b73ae=this[_0x41d6('0x1')][_0x41d6('0x0')](_0x428ca3);if(!_0x1b73ae)throw new _0x187ff1(_0x41d6('0x5'),this);const _0x811e0=_0x1b73ae[_0x41d6('0x9')]();this[_0x41d6('0x7')][_0x41d6('0x2')][_0x41d6('0x6')](_0x811e0)&&this['editor'][_0x41d6('0x8')][_0x41d6('0x0')](_0x41d6('0x3'))[_0x41d6('0x4')](_0x1b73ae);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4db6=['discardSuggestion','_isEnabledBasedOnSelection','track-changes-discard-suggestion-not-found','execute','isEnabled','canEditAt','getRanges','_suggestions','model','get','editor','refresh'];(function(_0x40079d,_0x4db667){const _0x5ab072=function(_0xdb48a8){while(--_0xdb48a8){_0x40079d['push'](_0x40079d['shift']());}};_0x5ab072(++_0x4db667);}(_0x4db6,0x171));const _0x5ab0=function(_0x40079d,_0x4db667){_0x40079d=_0x40079d-0x0;let _0x5ab072=_0x4db6[_0x40079d];return _0x5ab072;};import{Command as _0x1e4241}from'ckeditor5/src/core.js';import{CKEditorError as _0x5daa8a}from'ckeditor5/src/utils.js';export default class B extends _0x1e4241{constructor(_0x52d37f,_0x286a45){super(_0x52d37f),this[_0x5ab0('0xa')]=_0x286a45,this[_0x5ab0('0x2')](),this[_0x5ab0('0x4')]=!0x1;}[_0x5ab0('0x2')](){this[_0x5ab0('0x7')]=!0x0;}[_0x5ab0('0x6')](_0x1af7aa){const _0x15368f=this['_suggestions'][_0x5ab0('0x0')](_0x1af7aa);if(!_0x15368f)throw new _0x5daa8a(_0x5ab0('0x5'),this);const _0x13ed55=_0x15368f[_0x5ab0('0x9')]();this['editor'][_0x5ab0('0xb')][_0x5ab0('0x8')](_0x13ed55)&&this[_0x5ab0('0x1')]['plugins'][_0x5ab0('0x0')]('TrackChangesEditing')[_0x5ab0('0x3')](_0x15368f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf0a4=['_suggestions','some','execute','_isEnabledBasedOnSelection','values','model','from','editor','isInContent','_command','canEditAt','isEnabled','refresh'];(function(_0x3639de,_0xf0a427){const _0x2ad2ee=function(_0x140125){while(--_0x140125){_0x3639de['push'](_0x3639de['shift']());}};_0x2ad2ee(++_0xf0a427);}(_0xf0a4,0x147));const _0x2ad2=function(_0x3639de,_0xf0a427){_0x3639de=_0x3639de-0x0;let _0x2ad2ee=_0xf0a4[_0x3639de];return _0x2ad2ee;};import{Command as _0x334f65}from'ckeditor5/src/core.js';import{sortSuggestions as _0xf974fb,executeCommandForSuggestions as _0x350131}from'../utils/utils.js';export default class x extends _0x334f65{constructor(_0x4991fc,_0x5e8fd1,_0xe6ee0f){super(_0x4991fc),this[_0x2ad2('0x7')]=_0x5e8fd1,this[_0x2ad2('0xb')]=_0xe6ee0f,this[_0x2ad2('0xa')](),this[_0x2ad2('0x1')]=!0x1;}[_0x2ad2('0xa')](){const _0x51a599=Array[_0x2ad2('0x4')](this[_0x2ad2('0xb')][_0x2ad2('0x2')]())[_0x2ad2('0xc')](_0x539bed=>_0x539bed[_0x2ad2('0x6')]);this['isEnabled']=this[_0x2ad2('0x7')][_0x2ad2('0x9')]&&_0x51a599;}[_0x2ad2('0x0')](){const _0x493b41=_0xf974fb(Array[_0x2ad2('0x4')](this[_0x2ad2('0xb')][_0x2ad2('0x2')]()));for(const _0xd439c7 of _0x493b41){const _0x22a973=_0xd439c7['getRanges']();if(!this[_0x2ad2('0x5')][_0x2ad2('0x3')][_0x2ad2('0x8')](_0x22a973))return;}_0x350131(this[_0x2ad2('0x5')][_0x2ad2('0x3')],this[_0x2ad2('0x7')],_0x493b41);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf110=['_command','getRanges','editor','_suggestions','document','canEditAt','_selectedSuggestions','from','execute','values','model','selection'];(function(_0x5e8ea5,_0xf11072){const _0x2dacb3=function(_0x497e40){while(--_0x497e40){_0x5e8ea5['push'](_0x5e8ea5['shift']());}};_0x2dacb3(++_0xf11072);}(_0xf110,0x1f1));const _0x2dac=function(_0x5e8ea5,_0xf11072){_0x5e8ea5=_0x5e8ea5-0x0;let _0x2dacb3=_0xf110[_0x5e8ea5];return _0x2dacb3;};import{Command as _0x5a9950}from'ckeditor5/src/core.js';import{sortSuggestions as _0x2ba5dd,getSelectedSuggestions as _0x4b1a70,executeCommandForSuggestions as _0x14a5b2}from'../utils/utils.js';export default class E extends _0x5a9950{constructor(_0x490888,_0x1e9ffa,_0x3d6e9e){super(_0x490888),this[_0x2dac('0x7')]=_0x1e9ffa,this[_0x2dac('0xa')]=_0x3d6e9e,this[_0x2dac('0x1')]=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x1191b9=this[_0x2dac('0x9')][_0x2dac('0x5')][_0x2dac('0xb')][_0x2dac('0x6')],_0x5db436=Array[_0x2dac('0x2')](this[_0x2dac('0xa')][_0x2dac('0x4')]());this[_0x2dac('0x1')]=_0x4b1a70(_0x1191b9,_0x5db436),this['isEnabled']=this[_0x2dac('0x7')]['isEnabled']&&!!this['_selectedSuggestions']['size'];}[_0x2dac('0x3')](){const _0x29ceda=_0x2ba5dd(Array[_0x2dac('0x2')](this[_0x2dac('0x1')]));for(const _0x1d8076 of _0x29ceda){const _0x956c3b=_0x1d8076[_0x2dac('0x8')]();if(!this[_0x2dac('0x9')]['model'][_0x2dac('0x0')](_0x956c3b))return;}_0x14a5b2(this[_0x2dac('0x9')][_0x2dac('0x5')],this['_command'],_0x29ceda);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14af=['execute','_enableCommands','_enabledCommands','has','refresh','_disableUnsupportedCommands','value','clearForceDisabled','commands','TrackChangesCommand','isEnabled'];(function(_0x1b14eb,_0x14af0d){const _0x3cb77c=function(_0x1bf0d4){while(--_0x1bf0d4){_0x1b14eb['push'](_0x1b14eb['shift']());}};_0x3cb77c(++_0x14af0d);}(_0x14af,0xd5));const _0x3cb7=function(_0x1b14eb,_0x14af0d){_0x1b14eb=_0x1b14eb-0x0;let _0x3cb77c=_0x14af[_0x1b14eb];return _0x3cb77c;};import{Command as _0x368225}from'ckeditor5/src/core.js';export default class M extends _0x368225{constructor(_0x248110,_0x2dbcf6){super(_0x248110),this[_0x3cb7('0x9')]=_0x2dbcf6,this[_0x3cb7('0x2')]=!0x1,this[_0x3cb7('0x0')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this[_0x3cb7('0x6')]=!0x0;}[_0x3cb7('0x7')](){this['value']=!this['value'],this[_0x3cb7('0x2')]?this[_0x3cb7('0x1')]():this[_0x3cb7('0x8')]();}[_0x3cb7('0x1')](){for(const _0x12a714 of this['editor'][_0x3cb7('0x4')][_0x3cb7('0x4')]())_0x12a714['affectsData']&&!this[_0x3cb7('0x9')][_0x3cb7('0xa')](_0x12a714)&&_0x12a714['forceDisabled'](_0x3cb7('0x5'));}[_0x3cb7('0x8')](){for(const _0x225a19 of this['editor'][_0x3cb7('0x4')][_0x3cb7('0x4')]())_0x225a19['affectsData']&&!this[_0x3cb7('0x9')][_0x3cb7('0xa')](_0x225a19)&&_0x225a19[_0x3cb7('0x3')](_0x3cb7('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3943=['plugins','TrackChangesEditing','get','showAIAssistant','editor'];(function(_0x1bd0c,_0x3943e8){const _0x5b48c8=function(_0x2b12da){while(--_0x2b12da){_0x1bd0c['push'](_0x1bd0c['shift']());}};_0x5b48c8(++_0x3943e8);}(_0x3943,0x64));const _0x5b48=function(_0x1bd0c,_0x3943e8){_0x1bd0c=_0x1bd0c-0x0;let _0x5b48c8=_0x3943[_0x1bd0c];return _0x5b48c8;};import{Plugin as _0x199fc0}from'ckeditor5/src/core.js';export default class R extends _0x199fc0{['afterInit'](){const _0x2073fd=this[_0x5b48('0x4')],_0x2478e9=_0x2073fd[_0x5b48('0x0')][_0x5b48('0x2')](_0x5b48('0x1'));_0x2073fd['commands']['get'](_0x5b48('0x3'))&&_0x2478e9['enableCommand'](_0x5b48('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x313f=['*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT','_registerLegacyDescription','justify','_descriptionFactory','TrackChangesEditing','formatBlock','commandName','FORMAT_ALIGNMENT','afterInit','center','locale','registerDescriptionCallback','has','format','get','_enableDefaultAttributesIntegration','registerAttributeLabel','commandParams','FORMAT_ALIGN_TO_LEFT','right','left','plugins','alignment','FORMAT_JUSTIFY_TEXT','FORMAT_ALIGN_TO_CENTER'];(function(_0x1896b1,_0x313f2c){const _0x319983=function(_0x511ea5){while(--_0x511ea5){_0x1896b1['push'](_0x1896b1['shift']());}};_0x319983(++_0x313f2c);}(_0x313f,0xcb));const _0x3199=function(_0x1896b1,_0x313f2c){_0x1896b1=_0x1896b1-0x0;let _0x319983=_0x313f[_0x1896b1];return _0x319983;};import{Plugin as _0x12a52c}from'ckeditor5/src/core.js';import{getTranslation as _0x3db8e3}from'../utils/common-translations.js';export default class U extends _0x12a52c{[_0x3199('0xe')](){const _0x5290d5=this['editor'],_0xdc4ffa=_0x5290d5[_0x3199('0x10')];if(!_0x5290d5[_0x3199('0x1')][_0x3199('0x12')]('AlignmentEditing'))return;const _0x4bff2e=_0x5290d5['plugins'][_0x3199('0x14')](_0x3199('0xa'));_0x4bff2e[_0x3199('0x15')](_0x3199('0x2'),[],[_0x3199('0x2')]),_0x4bff2e['_descriptionFactory'][_0x3199('0x16')](_0x3199('0x2'),_0x3db8e3(_0xdc4ffa,_0x3199('0xd'))),this[_0x3199('0x7')]();}[_0x3199('0x7')](){const _0x447f47=this['editor'],_0x220e61=_0x447f47[_0x3199('0x10')];_0x447f47[_0x3199('0x1')][_0x3199('0x14')](_0x3199('0xa'))[_0x3199('0x9')][_0x3199('0x11')](_0x27fc61=>{if(_0x3199('0xb')!=_0x27fc61['type'])return;const {data:_0x2ef116}=_0x27fc61;if(_0x2ef116&&_0x3199('0x2')==_0x2ef116[_0x3199('0xc')]){const _0x48230d=_0x2ef116[_0x3199('0x17')][0x0]['value'];return{'type':_0x3199('0x13'),'content':_0x3db8e3(_0x220e61,_0x3199('0x5'),function(_0x342f4d){switch(_0x342f4d){case _0x3199('0x0'):return _0x3db8e3(_0x220e61,_0x3199('0x18'));case _0x3199('0x19'):return _0x3db8e3(_0x220e61,_0x3199('0x6'));case _0x3199('0xf'):return _0x3db8e3(_0x220e61,_0x3199('0x4'));case _0x3199('0x8'):return _0x3db8e3(_0x220e61,_0x3199('0x3'));}}(_0x48230d))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1def=['registerDescriptionCallback','FORMAT_STRIKETHROUGH','plugins','has','underline','FORMAT_SUPERSCRIPT','FORMAT_ITALIC','FORMAT_BOLD','formatInline','locale','superscript','FORMAT_','*Remove\x20format:*\x20%0','*Format:*\x20%0','get','_descriptionFactory','commandParams','TrackChangesEditing','SuperscriptEditing','FORMAT_UNDERLINE','format','subscript','ItalicEditing','UnderlineEditing','_registerLegacyDescription','bold','FORMAT_SUBSCRIPT','FORMAT_CODE','editor','strikethrough','code','italic','forceValue','slice','BoldEditing','afterInit'];(function(_0x4fde59,_0x1def91){const _0x5c7e72=function(_0x413db0){while(--_0x413db0){_0x4fde59['push'](_0x4fde59['shift']());}};_0x5c7e72(++_0x1def91);}(_0x1def,0x1b3));const _0x5c7e=function(_0x4fde59,_0x1def91){_0x4fde59=_0x4fde59-0x0;let _0x5c7e72=_0x1def[_0x4fde59];return _0x5c7e72;};import{Plugin as _0x2c4ce8}from'ckeditor5/src/core.js';import{getTranslation as _0x11f703}from'../utils/common-translations.js';const ti=[_0x5c7e('0x1f'),_0x5c7e('0x13'),_0x5c7e('0x14'),'CodeEditing','StrikethroughEditing','SubscriptEditing',_0x5c7e('0xf')];export default class O extends _0x2c4ce8{[_0x5c7e('0x20')](){const _0x4f6405=this[_0x5c7e('0x19')],_0x4ddf2d=_0x4f6405[_0x5c7e('0x23')][_0x5c7e('0xb')](_0x5c7e('0xe')),_0xf064bc=_0x4f6405[_0x5c7e('0x6')];for(const _0x282908 of ti){if(!_0x4f6405[_0x5c7e('0x23')][_0x5c7e('0x0')](_0x282908))continue;const _0x1a4705=_0x282908[_0x5c7e('0x1e')](0x0,-0x7)['toLowerCase'](),_0x551fa4=_0x5c7e('0x8')+_0x1a4705['toUpperCase']();_0x4ddf2d['_enableDefaultAttributesIntegration'](_0x1a4705,[_0x1a4705]),_0x4ddf2d[_0x5c7e('0xc')]['registerAttributeLabel'](_0x1a4705,_0x11f703(_0xf064bc,_0x551fa4));}this[_0x5c7e('0x15')]();}[_0x5c7e('0x15')](){const _0xbe9de2=this['editor'],_0x3bac3d=_0xbe9de2[_0x5c7e('0x6')],_0x1b889a=_0xbe9de2['plugins']['get'](_0x5c7e('0xe'));function _0x35fad7(_0xcfc56e,_0xaef803){_0x1b889a[_0x5c7e('0xc')][_0x5c7e('0x21')](_0x3fa68b=>{if(_0x5c7e('0x5')!=_0x3fa68b['type'])return;const {data:_0x4cd306}=_0x3fa68b;return _0x4cd306&&_0x4cd306['commandName']===_0xcfc56e?_0x4cd306[_0x5c7e('0xd')][0x0][_0x5c7e('0x1d')]?{'type':'format','content':_0x11f703(_0x3bac3d,_0x5c7e('0xa'),_0xaef803)}:{'type':_0x5c7e('0x11'),'content':_0x11f703(_0x3bac3d,_0x5c7e('0x9'),_0xaef803)}:void 0x0;});}_0x35fad7(_0x5c7e('0x16'),_0x11f703(_0x3bac3d,_0x5c7e('0x4'))),_0x35fad7(_0x5c7e('0x1c'),_0x11f703(_0x3bac3d,_0x5c7e('0x3'))),_0x35fad7(_0x5c7e('0x1'),_0x11f703(_0x3bac3d,_0x5c7e('0x10'))),_0x35fad7(_0x5c7e('0x1b'),_0x11f703(_0x3bac3d,_0x5c7e('0x18'))),_0x35fad7(_0x5c7e('0x1a'),_0x11f703(_0x3bac3d,_0x5c7e('0x22'))),_0x35fad7(_0x5c7e('0x12'),_0x11f703(_0x3bac3d,_0x5c7e('0x17'))),_0x35fad7(_0x5c7e('0x7'),_0x11f703(_0x3bac3d,_0x5c7e('0x2')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c61=['enableCommand','value','checkChild','schema','ELEMENT_BLOCK_QUOTE','filter','has','name','_descriptionFactory','commandName','selection','commands','document','editor','from','forceValue','*Remove\x20format:*\x20%0','get','commandParams','$root','model','BlockQuoteEditing','locale','format','*Set\x20format:*\x20%0','plugins','change','blockQuote','parent','getSelectedBlocks'];(function(_0x328675,_0x2c6152){const _0x3f6b9c=function(_0x5c90b2){while(--_0x5c90b2){_0x328675['push'](_0x328675['shift']());}};_0x3f6b9c(++_0x2c6152);}(_0x2c61,0x138));const _0x3f6b=function(_0x328675,_0x2c6152){_0x328675=_0x328675-0x0;let _0x3f6b9c=_0x2c61[_0x328675];return _0x3f6b9c;};import{Plugin as _0x3c324a}from'ckeditor5/src/core.js';import{getTranslation as _0x19253f}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x268e3c}from'../utils/utils.js';export default class V extends _0x3c324a{['afterInit'](){const _0x8ecc5b=this[_0x3f6b('0x1')],_0x4ba974=_0x8ecc5b[_0x3f6b('0xa')];if(!_0x8ecc5b[_0x3f6b('0xd')][_0x3f6b('0x18')](_0x3f6b('0x9')))return;const _0x422208=_0x8ecc5b[_0x3f6b('0xd')][_0x3f6b('0x5')]('TrackChangesEditing'),_0x43ade0=this['editor'][_0x3f6b('0x1d')][_0x3f6b('0x5')]('blockQuote');_0x422208[_0x3f6b('0x12')]('blockQuote',(_0x4b6d70,_0xd657af={})=>{const _0x57b306=this[_0x3f6b('0x1')][_0x3f6b('0x8')][_0x3f6b('0x0')][_0x3f6b('0x1c')],_0x46c1f2=_0xd657af&&void 0x0!==_0xd657af[_0x3f6b('0x3')]?_0xd657af['forceValue']:!_0x43ade0[_0x3f6b('0x13')];let _0x40ec1d=[];if(_0x46c1f2){const _0x67589d=Array[_0x3f6b('0x2')](_0x57b306[_0x3f6b('0x11')]())[_0x3f6b('0x17')](_0x24558b=>oo(_0x24558b)||function(_0x52ded9,_0x5f07e6){const _0xcca418=_0x5f07e6[_0x3f6b('0x14')](_0x52ded9[_0x3f6b('0x10')],_0x3f6b('0xf')),_0x2a1a0f=_0x5f07e6[_0x3f6b('0x14')]([_0x3f6b('0x7'),_0x3f6b('0xf')],_0x52ded9);return _0xcca418&&_0x2a1a0f;}(_0x24558b,this['editor']['model'][_0x3f6b('0x15')]));_0x40ec1d=_0x268e3c(_0x67589d,_0x8ecc5b[_0x3f6b('0x8')]);}else{const _0x4fe0f7=Array['from'](_0x57b306[_0x3f6b('0x11')]())['filter'](_0x4ec26e=>oo(_0x4ec26e));_0x40ec1d=_0x268e3c(_0x4fe0f7,_0x8ecc5b['model']);}_0x8ecc5b[_0x3f6b('0x8')][_0x3f6b('0xe')](()=>{for(const _0x4c355a of _0x40ec1d)_0x422208['markBlockFormat'](_0x4c355a,{'commandName':_0x3f6b('0xf'),'commandParams':[{'forceValue':_0x46c1f2}]});});}),_0x422208[_0x3f6b('0x1a')]['registerDescriptionCallback'](_0x353641=>{const {data:_0x4fbec4}=_0x353641;if(_0x4fbec4&&_0x3f6b('0xf')==_0x4fbec4[_0x3f6b('0x1b')]){const _0x3a52ee=_0x19253f(_0x4ba974,_0x3f6b('0x16'));return _0x4fbec4[_0x3f6b('0x6')][0x0][_0x3f6b('0x3')]?{'type':_0x3f6b('0xb'),'content':_0x19253f(_0x4ba974,_0x3f6b('0xc'),_0x3a52ee)}:{'type':_0x3f6b('0xb'),'content':_0x19253f(_0x4ba974,_0x3f6b('0x4'),_0x3a52ee)};}});}}function oo(_0x3164b0){return _0x3f6b('0xf')==_0x3164b0[_0x3f6b('0x10')][_0x3f6b('0x19')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x509b=['plugins','enableCommand','afterInit','editor','commands','TrackChangesEditing'];(function(_0x3ef2a8,_0x509b2e){const _0x695d79=function(_0x43c790){while(--_0x43c790){_0x3ef2a8['push'](_0x3ef2a8['shift']());}};_0x695d79(++_0x509b2e);}(_0x509b,0x16c));const _0x695d=function(_0x3ef2a8,_0x509b2e){_0x3ef2a8=_0x3ef2a8-0x0;let _0x695d79=_0x509b[_0x3ef2a8];return _0x695d79;};import{Plugin as _0x67c718}from'ckeditor5/src/core.js';export default class G extends _0x67c718{[_0x695d('0x4')](){const _0x35dfda=this[_0x695d('0x5')];_0x35dfda[_0x695d('0x0')]['get']('ckbox')&&_0x35dfda[_0x695d('0x2')]['get'](_0x695d('0x1'))[_0x695d('0x3')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a1d=['rootElement','getSelectedBlocks','commandParams','from','forceValue','ELEMENT_CODE_BLOCK','*Set\x20format:*\x20%0','schema','CodeBlock','formatBlock','codeBlock','checkChild','document','get','*Remove\x20format:*\x20%0','format','value','toLowerCase','find','commandName','parent','editor','isLimit','afterInit','enableCommand','selection','_descriptionFactory','languages','name','indentCodeBlock','model','plugins','filter','language','TrackChangesEditing','registerElementLabel','blockName'];(function(_0x1a573c,_0x4a1d7e){const _0x1858ae=function(_0x3b8064){while(--_0x3b8064){_0x1a573c['push'](_0x1a573c['shift']());}};_0x1858ae(++_0x4a1d7e);}(_0x4a1d,0x6a));const _0x1858=function(_0x1a573c,_0x4a1d7e){_0x1a573c=_0x1a573c-0x0;let _0x1858ae=_0x4a1d[_0x1a573c];return _0x1858ae;};import{Plugin as _0x5ff63c}from'ckeditor5/src/core.js';import{getTranslation as _0x3e9c07}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x5daef4}from'../utils/utils.js';export default class F extends _0x5ff63c{[_0x1858('0x1c')](){const _0x5e392a=this[_0x1858('0x1a')];if(!_0x5e392a['plugins']['has'](_0x1858('0xd')))return;const _0x2698a9=_0x5e392a[_0x1858('0x24')][_0x1858('0x12')](_0x1858('0x2')),_0x38302f=_0x5e392a['locale'],_0x5b2072=_0x5e392a['config']['get'](_0x1858('0xf'))[_0x1858('0x20')],_0x288610=_0x5e392a['commands'][_0x1858('0x12')](_0x1858('0xf'));_0x2698a9[_0x1858('0x1d')](_0x1858('0x22')),_0x2698a9[_0x1858('0x1d')]('outdentCodeBlock'),_0x2698a9['enableCommand']('codeBlock',(_0x1aaa1a,_0x46359e={})=>{const _0x12028f=_0x5e392a[_0x1858('0x23')],_0x4be0e8=_0x5e392a[_0x1858('0x23')][_0x1858('0x11')][_0x1858('0x1e')],_0xb5e9c9=_0x46359e&&void 0x0!==_0x46359e[_0x1858('0x9')]?_0x46359e[_0x1858('0x9')]:!_0x288610[_0x1858('0x15')];let _0x42cb33;_0x46359e[_0x1858('0x1')]||(_0x46359e[_0x1858('0x1')]=_0x5b2072[0x0][_0x1858('0x1')]),_0x42cb33=_0xb5e9c9?Array[_0x1858('0x8')](_0x4be0e8[_0x1858('0x6')]())[_0x1858('0x0')](_0x503006=>eo(_0x503006)||function(_0x359d4f,_0x572f9c){if(_0x359d4f['is'](_0x1858('0x5'))||_0x572f9c[_0x1858('0x1b')](_0x359d4f))return!0x1;return _0x572f9c[_0x1858('0x10')](_0x359d4f[_0x1858('0x19')],'codeBlock');}(_0x503006,_0x12028f[_0x1858('0xc')])):Array[_0x1858('0x8')](_0x4be0e8[_0x1858('0x6')]())[_0x1858('0x0')](_0x56e4a2=>eo(_0x56e4a2));const _0xc288cc=_0x5daef4(_0x42cb33,_0x12028f);_0x12028f['change'](()=>{for(const _0x504a47 of _0xc288cc)_0x2698a9['markBlockFormat'](_0x504a47,{'commandName':_0x1858('0xf'),'commandParams':[{..._0x46359e,'forceValue':_0xb5e9c9}],'formatGroupId':_0x1858('0x4')});});}),(_0x2698a9[_0x1858('0x1f')][_0x1858('0x3')](_0x1858('0xf'),_0x331901=>_0x3e9c07(_0x38302f,_0x1858('0xa'),_0x331901)),_0x2698a9[_0x1858('0x1f')]['registerDescriptionCallback'](_0xe2b401=>{if(_0x1858('0xe')!=_0xe2b401['type'])return;const _0x1e9e63=_0x38302f['t'],{data:_0x16a012}=_0xe2b401;if(!_0x16a012||_0x1858('0xf')!=_0x16a012[_0x1858('0x18')])return;const _0x1f6f43=_0x16a012[_0x1858('0x7')][0x0][_0x1858('0x1')],_0x31b80f=_0x1e9e63(_0x5b2072[_0x1858('0x17')](_0x448430=>_0x448430[_0x1858('0x1')]===_0x1f6f43)['label'])[_0x1858('0x16')]();return _0x16a012[_0x1858('0x7')][0x0][_0x1858('0x9')]?{'type':_0x1858('0x14'),'content':_0x3e9c07(_0x38302f,_0x1858('0xb'),_0x3e9c07(_0x38302f,_0x1858('0xa'),0x1)+'\x20('+_0x31b80f+')')}:{'type':_0x1858('0x14'),'content':_0x3e9c07(_0x38302f,_0x1858('0x13'),_0x3e9c07(_0x38302f,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x42a04f){return _0x1858('0xf')==_0x42a04f[_0x1858('0x21')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d73=['editor','plugins','TrackChangesEditing','has','enableCommand','addCommentThread','CommentsEditing','get'];(function(_0x469314,_0x4d73bb){const _0x18c66e=function(_0x588547){while(--_0x588547){_0x469314['push'](_0x469314['shift']());}};_0x18c66e(++_0x4d73bb);}(_0x4d73,0x18c));const _0x18c6=function(_0x469314,_0x4d73bb){_0x469314=_0x469314-0x0;let _0x18c66e=_0x4d73[_0x469314];return _0x18c66e;};import{Plugin as _0x52f94f}from'ckeditor5/src/core.js';export default class L extends _0x52f94f{['afterInit'](){const _0x2f5c0d=this[_0x18c6('0x4')];if(!_0x2f5c0d['plugins'][_0x18c6('0x7')](_0x18c6('0x2')))return;_0x2f5c0d[_0x18c6('0x5')][_0x18c6('0x3')](_0x18c6('0x6'))[_0x18c6('0x0')](_0x18c6('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x277c=['root','plugins','document','detach','unbindElementFromMarkerName','createRange','markerName','TrackChangesEditing','showSuggestionHighlights','isCollapsed','mapper','rootName','bind','uiElement','buffer','merge','end','editing','high','get','deleteForward','fromRange','enableCommand','model','unlock','downcastDispatcher','removeMarker:suggestion:deletion','options','selection','lock','start','editor','delete','addMarker:suggestion:deletion','$graveyard','remove','forward','requires','createSelection','modifySelection','init','getFirstRange'];(function(_0x3c10ea,_0x277cd4){const _0x4fa7d=function(_0xfadef1){while(--_0xfadef1){_0x3c10ea['push'](_0x3c10ea['shift']());}};_0x4fa7d(++_0x277cd4);}(_0x277c,0x160));const _0x4fa7=function(_0x3c10ea,_0x277cd4){_0x3c10ea=_0x3c10ea-0x0;let _0x4fa7d=_0x277c[_0x3c10ea];return _0x4fa7d;};import{Plugin as _0x599398}from'ckeditor5/src/core.js';import{LiveRange as _0x5b4ad0}from'ckeditor5/src/engine.js';import{Delete as _0x468d23}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x778aad}from'./utils.js';export default class H extends _0x599398{static get[_0x4fa7('0x15')](){return[_0x468d23];}[_0x4fa7('0x18')](){const _0x2a7eac=this[_0x4fa7('0xf')],_0x390819=_0x2a7eac[_0x4fa7('0x1b')][_0x4fa7('0x3')](_0x4fa7('0x21'));_0x390819[_0x4fa7('0x6')](_0x4fa7('0x10'));const _0x2bf88d=_0x2a7eac['commands']['get'](_0x4fa7('0x4'));_0x390819[_0x4fa7('0x6')](_0x4fa7('0x4'),(_0x492d3a,_0x13ddbb={})=>{const _0x3a3b3a=_0x2a7eac[_0x4fa7('0x7')][_0x4fa7('0x16')](_0x2a7eac['model'][_0x4fa7('0x1c')][_0x4fa7('0xc')]);_0x3a3b3a[_0x4fa7('0x23')]&&_0x2a7eac[_0x4fa7('0x7')][_0x4fa7('0x17')](_0x3a3b3a,{'direction':_0x4fa7('0x14'),'unit':_0x13ddbb['unit']});const _0x3021f0=_0x3a3b3a[_0x4fa7('0x19')](),_0x3799b0=_0x5b4ad0[_0x4fa7('0x5')](_0x3021f0);let _0x501e8f;_0x492d3a(_0x13ddbb),_0x501e8f=_0x4fa7('0x12')==_0x3799b0[_0x4fa7('0x1a')][_0x4fa7('0x25')]?_0x2a7eac['model'][_0x4fa7('0x1f')](_0x3021f0[_0x4fa7('0xe')]):_0x2a7eac[_0x4fa7('0x7')]['createRange'](_0x3799b0[_0x4fa7('0xe')],_0x3799b0[_0x4fa7('0x0')]),_0x3799b0[_0x4fa7('0x1d')](),_0x2a7eac[_0x4fa7('0x7')]['enqueueChange'](_0x2bf88d[_0x4fa7('0x28')]['batch'],_0x60d16e=>{_0x2bf88d[_0x4fa7('0x28')][_0x4fa7('0xd')](),_0x60d16e['setSelection'](_0x60d16e[_0x4fa7('0x1f')](_0x501e8f['end'])),_0x2bf88d[_0x4fa7('0x28')][_0x4fa7('0x8')]();});}),_0x2a7eac[_0x4fa7('0x1')]['downcastDispatcher']['on'](_0x4fa7('0x11'),_0x778aad(_0x2a7eac,_0x4fa7('0x29')),{'priority':_0x4fa7('0x2')}),_0x2a7eac['data'][_0x4fa7('0x9')]['on'](_0x4fa7('0x11'),(_0x10555a,_0x3f30df,_0x4dde38)=>{_0x4dde38[_0x4fa7('0xb')][_0x4fa7('0x22')]&&_0x778aad(_0x2a7eac,_0x4fa7('0x29'),{'showActiveMarker':!0x1})[_0x4fa7('0x26')](this)(_0x10555a,_0x3f30df,_0x4dde38);},{'priority':_0x4fa7('0x2')}),_0x2a7eac[_0x4fa7('0x1')][_0x4fa7('0x9')]['on'](_0x4fa7('0xa'),(_0x17bb94,_0x570c03,_0x3de625)=>{const _0x14f62b=_0x3de625[_0x4fa7('0x24')]['markerNameToElements'](_0x570c03[_0x4fa7('0x20')]);if(_0x14f62b)for(const _0x20d5e4 of _0x14f62b)_0x20d5e4['is'](_0x4fa7('0x27'))&&(_0x3de625[_0x4fa7('0x24')][_0x4fa7('0x1e')](_0x20d5e4,_0x570c03[_0x4fa7('0x20')]),_0x3de625['writer'][_0x4fa7('0x13')](_0x20d5e4));},{'priority':_0x4fa7('0x2')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c63=['registerElementLabel','mergeListItemBackward','refresh','enableCommand','has','numberedList','*Format:*\x20insert\x20into\x20%0','registerCustomCallback','*Format:*\x20remove\x20from\x20%0','listItemId','expandListBlocksToCompleteList','end','deletion','createRange','indentList','nodeAfter','execute','ELEMENT_','*Indent:*\x20%0','selection','formatBlock','format','registerDescriptionCallback','mergeListItemForward','splitListItemAfter','get','map','value','findIndex','length','ELEMENT_NUMBERED_LIST','createPositionAt','fromRange','commands','schema','multipleBlocks','*Change\x20to:*\x20%0','TrackChangesEditing','add','ELEMENT_LIST_ITEM','isFirstBlockOfListItem','markMultiRangeBlockFormat','paragraph','DocumentListUtils','parent','before','document','commandParams','nextSibling','setSelection','getAttribute','start','config','splitListItemBefore','previousSibling','ELEMENT_BULLETED_LIST','locale','model','_descriptionFactory','hasAttribute','containsItem','*Merge:*\x20%0','plugins','change','slice','accept','markBlockFormat','listType','getRanges','getFirstRange','bulletedList','after','type','editor','commandName','outdentList','from','getSelectedBlocks','documentList','listIndent','next'];(function(_0x44f203,_0x5c6318){const _0x1f3da7=function(_0x58be66){while(--_0x58be66){_0x44f203['push'](_0x44f203['shift']());}};_0x1f3da7(++_0x5c6318);}(_0x5c63,0x185));const _0x1f3d=function(_0x44f203,_0x5c6318){_0x44f203=_0x44f203-0x0;let _0x1f3da7=_0x5c63[_0x44f203];return _0x1f3da7;};import{Plugin as _0x1e3435}from'ckeditor5/src/core.js';import{getTranslation as _0x478887}from'../utils/common-translations.js';import{LiveRange as _0x5ecf91}from'ckeditor5/src/engine.js';export default class q extends _0x1e3435{['afterInit'](){const _0x247f89=this[_0x1f3d('0x8')];if(!_0x247f89[_0x1f3d('0x4e')][_0x1f3d('0x14')]('DocumentListEditing'))return;const _0x563966=_0x247f89[_0x1f3d('0x48')],_0x4052f0=_0x247f89[_0x1f3d('0x4e')][_0x1f3d('0x29')](_0x1f3d('0x35')),_0x4384d6=_0x247f89[_0x1f3d('0x4e')][_0x1f3d('0x29')](_0x1f3d('0x3b'));function _0x55c639(_0x2f42f7){return()=>{const _0xa49a6d=_0x247f89[_0x1f3d('0x31')][_0x1f3d('0x29')](_0x2f42f7);if(_0xa49a6d[_0x1f3d('0x2b')]&&!_0x247f89[_0x1f3d('0x44')][_0x1f3d('0x29')]('list.multiBlock'))return void _0x247f89[_0x1f3d('0x20')](_0x1f3d('0x3a'),{});let _0x43fabd=Array[_0x1f3d('0xb')](_0x247f89['model'][_0x1f3d('0x3e')][_0x1f3d('0x23')][_0x1f3d('0xc')]());if(_0x5e86a9(_0x2f42f7)){_0x43fabd=_0x4384d6[_0x1f3d('0x1a')](_0x43fabd);const _0x52d782=[];for(const _0x452b5f of _0x43fabd)_0x4384d6[_0x1f3d('0x38')](_0x452b5f)&&_0x52d782['push'](_0x452b5f);_0x43fabd=_0x52d782;}_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x4f')](()=>{_0x4052f0[_0x1f3d('0x39')](_0x43fabd,{'commandName':_0x2f42f7,'commandParams':[{'forceValue':!_0xa49a6d[_0x1f3d('0x2b')]}],'formatGroupId':_0x1f3d('0x2')},[],_0x1f3d('0xd'));});};}function _0x20777b(_0x15fdbe){return()=>{const _0x4e6cb1=function(_0x28008c){let _0x163791=Array[_0x1f3d('0xb')](_0x28008c);const _0xa787db=_0x163791[_0x1f3d('0x2c')](_0xd7f823=>!_0xd7f823[_0x1f3d('0x4b')](_0x1f3d('0x19')));return _0xa787db>-0x1&&(_0x163791=_0x163791[_0x1f3d('0x50')](0x0,_0xa787db)),_0x163791;}(_0x247f89['model'][_0x1f3d('0x3e')][_0x1f3d('0x23')][_0x1f3d('0xc')]()),_0xa2a77f=_0x4e6cb1[_0x4e6cb1[_0x1f3d('0x2d')]-0x1],_0x222d85=_0x247f89['model'][_0x1f3d('0x32')]['isObject'](_0xa2a77f)?_0x1f3d('0x6'):_0x1f3d('0x1b'),_0x9250be=_0x247f89['model'][_0x1f3d('0x1d')](_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x2f')](_0x4e6cb1[0x0],_0x1f3d('0x3d')),_0x247f89['model'][_0x1f3d('0x2f')](_0xa2a77f,_0x222d85));_0x247f89[_0x1f3d('0x49')]['change'](()=>{_0x4052f0[_0x1f3d('0x1')](_0x9250be,{'commandName':_0x15fdbe,'commandParams':[],'formatGroupId':'listType'},function(_0x2a9a36){const _0x4ba81b=new Set();for(const _0x253cd8 of _0x2a9a36){let _0x5e8f36=_0x253cd8['nextSibling'];for(;_0x5e8f36&&_0x5e8f36[_0x1f3d('0x42')](_0x1f3d('0xe'))>_0x253cd8[_0x1f3d('0x42')](_0x1f3d('0xe'));)_0x4ba81b[_0x1f3d('0x36')](_0x5e8f36),_0x5e8f36=_0x5e8f36[_0x1f3d('0x40')];}return Array[_0x1f3d('0xb')](_0x4ba81b);}(_0x4e6cb1));});};}function _0xa82b99(_0x485433){return()=>{const _0x5f0d32=_0x247f89['model'][_0x1f3d('0x3e')][_0x1f3d('0x23')][_0x1f3d('0xc')]()[_0x1f3d('0xf')]()[_0x1f3d('0x2b')],_0x5462ec=_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x2f')](_0x5f0d32,_0x1f3d('0x3d')),_0x529434=_0x247f89['model']['createPositionAt'](_0x5f0d32,0x0),_0x2bde0e=_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x1d')](_0x5462ec,_0x529434);_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x4f')](()=>{_0x4052f0[_0x1f3d('0x1')](_0x2bde0e,{'commandName':_0x485433,'commandParams':[],'formatGroupId':_0x1f3d('0x2')});});};}function _0x5e86a9(_0x1fc3e5){const _0x14b39b=_0x247f89[_0x1f3d('0x31')][_0x1f3d('0x29')](_0x1f3d('0x5'))['value'],_0xbb0ea2=_0x247f89[_0x1f3d('0x31')][_0x1f3d('0x29')](_0x1f3d('0x15'))['value'];return _0x1f3d('0x15')===_0x1fc3e5?_0x14b39b:_0xbb0ea2;}_0x4052f0['enableCommand'](_0x1f3d('0x15'),_0x55c639(_0x1f3d('0x15'))),_0x4052f0['enableCommand']('bulletedList',_0x55c639(_0x1f3d('0x5'))),_0x4052f0[_0x1f3d('0x13')](_0x1f3d('0x1e'),_0x20777b('indentList')),_0x4052f0[_0x1f3d('0x13')]('outdentList',_0x20777b(_0x1f3d('0xa'))),_0x4052f0[_0x1f3d('0x13')](_0x1f3d('0x28'),_0xa82b99('splitListItemAfter')),_0x4052f0['enableCommand'](_0x1f3d('0x45'),_0xa82b99(_0x1f3d('0x45'))),_0x4052f0[_0x1f3d('0x4a')][_0x1f3d('0x10')](function(_0x4d55ca){const _0x314eac=!_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x32')]['isObject'](_0x4d55ca),_0x4d6e0e=_0x4d55ca[_0x1f3d('0x46')],_0xeda73c=_0x4d55ca['nextSibling'],_0x153904=_0x4d55ca[_0x1f3d('0x42')]('listItemId'),_0x57d846=!_0x4d6e0e||_0x4d6e0e['getAttribute'](_0x1f3d('0x19'))!==_0x153904,_0x5aca86=!_0xeda73c||_0xeda73c[_0x1f3d('0x42')](_0x1f3d('0x19'))!==_0x153904;return _0x314eac&&Boolean(_0x153904)&&_0x57d846&&_0x5aca86;},_0x3e5872=>_0x478887(_0x563966,'ELEMENT_LIST_ITEM',_0x3e5872)),_0x4052f0[_0x1f3d('0x4a')][_0x1f3d('0x26')](function(_0x3e49fb){if(_0x1f3d('0x24')!=_0x3e49fb['type']&&'formatInline'!=_0x3e49fb[_0x1f3d('0x7')])return;const {data:_0x3ba67}=_0x3e49fb;if(!_0x3ba67)return;let _0x28ca9f,_0x23869f,_0x429712,_0x43238a;switch(_0x3ba67[_0x1f3d('0x9')]){case _0x1f3d('0x5'):_0x429712=_0x3ba67['commandParams'][0x0]['forceValue'],_0x43238a=_0x5e86a9(_0x3ba67[_0x1f3d('0x9')]),_0x28ca9f=_0x429712?_0x1f3d('0x16'):_0x1f3d('0x18'),!_0x43238a&&_0x247f89[_0x1f3d('0x44')][_0x1f3d('0x29')]('list.multiBlock')||(_0x28ca9f=_0x1f3d('0x34')),_0x23869f={'type':_0x1f3d('0x25'),'content':_0x478887(_0x563966,_0x28ca9f,_0x478887(_0x563966,_0x1f3d('0x47')))};break;case _0x1f3d('0x15'):_0x429712=_0x3ba67['commandParams'][0x0]['forceValue'],_0x43238a=_0x5e86a9(_0x3ba67[_0x1f3d('0x9')]),_0x28ca9f=_0x429712?_0x1f3d('0x16'):_0x1f3d('0x18'),!_0x43238a&&_0x247f89[_0x1f3d('0x44')][_0x1f3d('0x29')]('list.multiBlock')||(_0x28ca9f='*Change\x20to:*\x20%0'),_0x23869f={'type':_0x1f3d('0x25'),'content':_0x478887(_0x563966,_0x28ca9f,_0x478887(_0x563966,_0x1f3d('0x2e')))};break;case _0x1f3d('0x1e'):_0x28ca9f=_0x1f3d('0x22'),_0x23869f={'type':_0x1f3d('0x25'),'content':_0x478887(_0x563966,_0x28ca9f,_0x478887(_0x563966,_0x1f3d('0x37')))};break;case _0x1f3d('0xa'):_0x28ca9f=function(_0x3d5bbf){const _0xc524cb=_0x3d5bbf[_0x1f3d('0x4')]();let _0x2b578b=_0xc524cb[_0x1f3d('0x43')][_0x1f3d('0x1f')];for(;_0x2b578b&&_0xc524cb[_0x1f3d('0x4c')](_0x2b578b);){if(_0x2b578b['getAttribute'](_0x1f3d('0xe'))>0x0)return!0x1;_0x2b578b=_0x2b578b[_0x1f3d('0x40')];}return!0x0;}(_0x3e49fb)?_0x478887(_0x563966,'*Format:*\x20remove\x20from\x20%0',_0x478887(_0x563966,function(_0x8c10de){const _0x1bfd8d=_0x8c10de[_0x1f3d('0x4')]()[_0x1f3d('0x43')][_0x1f3d('0x1f')];return _0x1f3d('0x21')+_0x1bfd8d[_0x1f3d('0x42')](_0x1f3d('0x2'))['toUpperCase']()+'_LIST';}(_0x3e49fb))):_0x478887(_0x563966,'*Outdent:*\x20%0',_0x478887(_0x563966,_0x1f3d('0x37'))),_0x23869f={'type':_0x1f3d('0x25'),'content':_0x28ca9f};break;case _0x1f3d('0x11'):case _0x1f3d('0x27'):!0x1===_0x3ba67[_0x1f3d('0x33')]&&(_0x28ca9f=_0x1f3d('0x4d'),_0x23869f={'type':_0x1f3d('0x1c'),'content':_0x478887(_0x563966,_0x28ca9f,_0x478887(_0x563966,_0x1f3d('0x37')))});}return _0x23869f;}),_0x4052f0['_suggestionFactory'][_0x1f3d('0x17')](_0x1f3d('0x24'),_0x1f3d('0xd'),_0x1f3d('0x0'),function(_0xed8917,_0x518bcb){const _0x338824=[];for(let _0x2546b1 of _0xed8917)_0x2546b1[_0x1f3d('0x43')][_0x1f3d('0x1f')]===_0x2546b1[_0x1f3d('0x1b')][_0x1f3d('0x3c')]&&(_0x2546b1=_0x247f89['model'][_0x1f3d('0x1d')](_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x2f')](_0x2546b1['start']['nodeAfter'],0x0))),_0x338824['push'](_0x2546b1);_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x4f')](_0x4a182b=>{const _0x47f477=_0x247f89[_0x1f3d('0x49')][_0x1f3d('0x3e')][_0x1f3d('0x23')],_0x3604f6=Array[_0x1f3d('0xb')](_0x47f477[_0x1f3d('0x3')]())[_0x1f3d('0x2a')](_0x14e7a2=>_0x5ecf91[_0x1f3d('0x30')](_0x14e7a2));_0x4a182b[_0x1f3d('0x41')](_0x338824),_0x247f89[_0x1f3d('0x31')]['get'](_0x518bcb[_0x1f3d('0x9')])[_0x1f3d('0x12')](),_0x518bcb[_0x1f3d('0x3f')]['push']({'forceDefaultExecution':!0x0}),_0x247f89[_0x1f3d('0x20')](_0x518bcb[_0x1f3d('0x9')],..._0x518bcb[_0x1f3d('0x3f')]),_0x4a182b[_0x1f3d('0x41')](_0x3604f6);for(const _0x52d56f of _0x3604f6)_0x52d56f['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2168=['commandName','get','DocumentListUtils','isFirstBlockOfListItem','model','isListItemBlock','has','editor','bind','TrackChangesEditing','filter','commandParams','handleListStartCommand','markMultiRangeBlockFormat','ELEMENT_','expandListBlocksToCompleteList','handleListReversedCommand','listStart','handleDescriptions','list.properties','plugins','numbered','length','config','format','*Format:*\x20set\x20order\x20to\x20regular','listType','getAttribute','getSelectedBlocks','listReversed','reversed','DocumentListPropertiesUtils','enableCommand','push','from','_getSuggestionBlocks','_descriptionFactory','*Change\x20to:*\x20%0','document','selection','replace','locale','DocumentListPropertiesEditing','registerDescriptionCallback','type','handleListStyleCommand','_LIST_','startIndex','listStyle'];(function(_0x1da82c,_0x21682a){const _0x358d1a=function(_0x75a56b){while(--_0x75a56b){_0x1da82c['push'](_0x1da82c['shift']());}};_0x358d1a(++_0x21682a);}(_0x2168,0xe0));const _0x358d=function(_0x1da82c,_0x21682a){_0x1da82c=_0x1da82c-0x0;let _0x358d1a=_0x2168[_0x1da82c];return _0x358d1a;};import{Plugin as _0x36801f}from'ckeditor5/src/core.js';import{getTranslation as _0x42584b}from'../utils/common-translations.js';export default class z extends _0x36801f{['afterInit'](){if(!this[_0x358d('0x1c')][_0x358d('0x29')][_0x358d('0x1b')](_0x358d('0xe')))return;const _0x186e5c=this['editor'][_0x358d('0x2c')][_0x358d('0x16')](_0x358d('0x28')),_0x4b3fce=this[_0x358d('0x1c')][_0x358d('0x29')][_0x358d('0x16')]('TrackChangesEditing');_0x186e5c['styles']&&_0x4b3fce[_0x358d('0x4')](_0x358d('0x14'),this[_0x358d('0x11')][_0x358d('0x1d')](this)),_0x186e5c[_0x358d('0x2')]&&_0x4b3fce['enableCommand'](_0x358d('0x1'),this[_0x358d('0x25')][_0x358d('0x1d')](this)),_0x186e5c[_0x358d('0x13')]&&_0x4b3fce[_0x358d('0x4')]('listStart',this['handleListStartCommand']['bind'](this)),_0x4b3fce[_0x358d('0x8')][_0x358d('0xf')](this['handleDescriptions'][_0x358d('0x1d')](this));}[_0x358d('0x11')](_0x51f965,_0x33211f={}){const _0x5903af=this[_0x358d('0x1c')][_0x358d('0x29')]['get']('TrackChangesEditing'),_0x576aae=this['_getSuggestionBlocksForListStyle']();this[_0x358d('0x1c')][_0x358d('0x19')]['change'](()=>{_0x5903af[_0x358d('0x22')](_0x576aae,{'commandName':'listStyle','commandParams':[{'type':_0x33211f[_0x358d('0x10')]}],'formatGroupId':_0x358d('0x14')});});}[_0x358d('0x25')](_0x4f8b98,_0x3abc47={}){const _0x35a7b1=this['editor'][_0x358d('0x29')][_0x358d('0x16')](_0x358d('0x1e')),_0x2c5b2a=this[_0x358d('0x1c')][_0x358d('0x29')][_0x358d('0x16')](_0x358d('0x17')),_0x38a337=this[_0x358d('0x7')](_0x2c771f=>_0x2c5b2a[_0x358d('0x1a')](_0x2c771f)&&_0x358d('0x2a')===_0x2c771f['getAttribute']('listType'));null!==_0x38a337&&this[_0x358d('0x1c')][_0x358d('0x19')]['change'](()=>{_0x35a7b1[_0x358d('0x22')](_0x38a337,{'commandName':_0x358d('0x1'),'commandParams':[{'reversed':_0x3abc47[_0x358d('0x2')]}],'formatGroupId':_0x358d('0x1')});});}[_0x358d('0x21')](_0xb48164,_0xc2a24f={}){const _0x146562=this[_0x358d('0x1c')][_0x358d('0x29')][_0x358d('0x16')]('TrackChangesEditing'),_0xffc928=this[_0x358d('0x1c')][_0x358d('0x29')][_0x358d('0x16')]('DocumentListUtils'),_0x181399=this[_0x358d('0x7')](_0x184838=>_0xffc928['isListItemBlock'](_0x184838)&&_0x358d('0x2a')===_0x184838[_0x358d('0x30')](_0x358d('0x2f')));null!==_0x181399&&this[_0x358d('0x1c')][_0x358d('0x19')]['change'](()=>{_0x146562['markMultiRangeBlockFormat'](_0x181399,{'commandName':'listStart','commandParams':[{'startIndex':_0xc2a24f['startIndex']}],'formatGroupId':_0x358d('0x26')});});}[_0x358d('0x27')](_0x14ea5d){if('formatBlock'!=_0x14ea5d[_0x358d('0x10')]&&'formatInline'!=_0x14ea5d['type'])return;const _0x4e95a2=this['editor'][_0x358d('0xd')],{data:_0x112c23}=_0x14ea5d;if(!_0x112c23)return;let _0x123b5f,_0xefcb99;switch(_0x112c23[_0x358d('0x15')]){case _0x358d('0x14'):_0x123b5f=_0x358d('0x9'),_0xefcb99={'type':'format','content':_0x42584b(_0x4e95a2,_0x123b5f,_0x42584b(_0x4e95a2,this['_getTranslationKeyForListStyle'](_0x112c23[_0x358d('0x20')][0x0]['type'])))};break;case _0x358d('0x1'):_0x123b5f=_0x112c23[_0x358d('0x20')][0x0][_0x358d('0x2')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x358d('0x2e'),_0xefcb99={'type':'format','content':_0x42584b(_0x4e95a2,_0x123b5f)};break;case _0x358d('0x26'):_0x123b5f='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xefcb99={'type':_0x358d('0x2d'),'content':_0x42584b(_0x4e95a2,_0x123b5f,_0x112c23['commandParams'][0x0]['startIndex'])};}return _0xefcb99;}['_getSuggestionBlocksForListStyle'](){const _0x47171a=this['editor']['plugins'][_0x358d('0x16')](_0x358d('0x17'));let _0x59cda6=Array[_0x358d('0x6')](this['editor'][_0x358d('0x19')][_0x358d('0xa')][_0x358d('0xb')][_0x358d('0x0')]());return _0x59cda6[_0x358d('0x5')](..._0x47171a['expandListBlocksToCompleteList'](_0x59cda6)),_0x59cda6=[...new Set(_0x59cda6)],_0x59cda6;}['_getSuggestionBlocks'](_0x4e7e07){const _0x5851d6=this['editor'][_0x358d('0x29')][_0x358d('0x16')]('DocumentListUtils');let _0x4ca52b=Array[_0x358d('0x6')](this['editor'][_0x358d('0x19')][_0x358d('0xa')]['selection']['getSelectedBlocks']())[_0x358d('0x1f')](_0x4e7e07);if(!_0x4ca52b[_0x358d('0x2b')])return null;_0x4ca52b=_0x5851d6[_0x358d('0x24')](_0x4ca52b);const _0x167c28=[];for(const _0x48391c of _0x4ca52b)_0x5851d6[_0x358d('0x18')](_0x48391c)&&_0x167c28[_0x358d('0x5')](_0x48391c);return _0x167c28;}['_getTranslationKeyForListStyle'](_0x5dbf33){return _0x358d('0x23')+this[_0x358d('0x1c')][_0x358d('0x29')][_0x358d('0x16')](_0x358d('0x3'))['getListTypeFromListStyleType'](_0x5dbf33)['toUpperCase']()+_0x358d('0x12')+_0x5dbf33['toUpperCase']()[_0x358d('0xc')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4561=['ck-suggestion-marker-split','bind','data','document','markerName','createPositionAt','mapper','model','markerNameToElements','fromRange','addMarker:suggestion:insertion','getFirstRange','remove','unbindElementFromMarkerName','enter','detach','commands','enterBlock','hasClass','fire','end','downcastDispatcher','selection','split','options','editing','showSuggestionHighlights','createRange','enableCommand','get','high','afterExecute','nextSibling','change','parent'];(function(_0x2f8a55,_0x45617b){const _0x4f5805=function(_0x146818){while(--_0x146818){_0x2f8a55['push'](_0x2f8a55['shift']());}};_0x4f5805(++_0x45617b);}(_0x4561,0x12b));const _0x4f58=function(_0x2f8a55,_0x45617b){_0x2f8a55=_0x2f8a55-0x0;let _0x4f5805=_0x4561[_0x2f8a55];return _0x4f5805;};import{Plugin as _0x92ba9}from'ckeditor5/src/core.js';import{Enter as _0xb011df}from'ckeditor5/src/enter.js';import{LiveRange as _0x3b6e00}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x12156d}from'./utils.js';export default class W extends _0x92ba9{static get['requires'](){return[_0xb011df];}['init'](){const _0x474360=this['editor'],_0x5df042=_0x474360['plugins'][_0x4f58('0xa')]('TrackChangesEditing'),_0x1ef84a=_0x474360[_0x4f58('0x20')]['get']('enter');_0x5df042[_0x4f58('0x9')](_0x4f58('0x1e'),()=>{_0x474360[_0x4f58('0x17')][_0x4f58('0xe')](_0x5aa4ae=>{const _0xa1af56=_0x474360['model'][_0x4f58('0x13')][_0x4f58('0x3')],_0x1620fe=_0xa1af56['getFirstPosition'](),_0x4ed4fa=_0x3b6e00[_0x4f58('0x19')](_0xa1af56[_0x4f58('0x1b')]());if(_0x1ef84a[_0x4f58('0x21')](_0x5aa4ae)){const _0x15b660=_0x474360['model'][_0x4f58('0x15')](_0x1620fe[_0x4f58('0xf')][_0x4f58('0xd')],0x0),_0x1775c9=_0x5aa4ae[_0x4f58('0x8')](_0x1620fe,_0x15b660);_0x5df042['markInsertion'](_0x1775c9);}else _0x5aa4ae['setSelection'](_0x5aa4ae['createRange'](_0x4ed4fa[_0x4f58('0x1')]));_0x4ed4fa[_0x4f58('0x1f')](),_0x1ef84a[_0x4f58('0x0')](_0x4f58('0xc'),{'writer':_0x5aa4ae});});}),_0x474360['editing']['downcastDispatcher']['on'](_0x4f58('0x1a'),_0x12156d(_0x474360,_0x4f58('0x4')),{'priority':_0x4f58('0xb')}),_0x474360[_0x4f58('0x6')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x1d321,_0x5a34bc,_0xc2c7cf)=>{const _0x5e0f2e=_0xc2c7cf['mapper'][_0x4f58('0x18')](_0x5a34bc[_0x4f58('0x14')]);if(_0x5e0f2e)for(const _0x1ad2f6 of _0x5e0f2e)_0x1ad2f6[_0x4f58('0x22')](_0x4f58('0x10'))&&(_0xc2c7cf[_0x4f58('0x16')][_0x4f58('0x1d')](_0x1ad2f6,_0x5a34bc[_0x4f58('0x14')]),_0xc2c7cf['writer'][_0x4f58('0x1c')](_0x1ad2f6));},{'priority':_0x4f58('0xb')}),_0x474360[_0x4f58('0x12')][_0x4f58('0x2')]['on'](_0x4f58('0x1a'),(_0x29b496,_0x4ab3ab,_0x382168)=>{_0x382168[_0x4f58('0x5')][_0x4f58('0x7')]&&_0x12156d(_0x474360,'split',{'showActiveMarker':!0x1})[_0x4f58('0x11')](this)(_0x29b496,_0x4ab3ab,_0x382168);},{'priority':_0x4f58('0xb')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5167=['filter','findPrevious','string','handleFindCommand','model','has','replace','TrackChangesEditing','enableCommand','_isInDeletionRange','createRange','editor','get','FindAndReplaceUtils','createPositionAt','afterInit','getIntersection','suggestion:deletion','start','find','bind','plugins'];(function(_0x73a6c,_0x516750){const _0x2f8235=function(_0x2e34d8){while(--_0x2e34d8){_0x73a6c['push'](_0x73a6c['shift']());}};_0x2f8235(++_0x516750);}(_0x5167,0x65));const _0x2f82=function(_0x73a6c,_0x516750){_0x73a6c=_0x73a6c-0x0;let _0x2f8235=_0x5167[_0x73a6c];return _0x2f8235;};import{Plugin as _0x25f72a}from'ckeditor5/src/core.js';export default class J extends _0x25f72a{[_0x2f82('0x2')](){if(!this['editor'][_0x2f82('0x8')][_0x2f82('0xe')]('FindAndReplaceEditing'))return;const _0x46274a=this[_0x2f82('0x14')][_0x2f82('0x8')][_0x2f82('0x15')](_0x2f82('0x10'));_0x46274a[_0x2f82('0x11')](_0x2f82('0x6'),this['handleFindCommand'][_0x2f82('0x7')](this)),_0x46274a['enableCommand']('findNext'),_0x46274a[_0x2f82('0x11')](_0x2f82('0xa')),_0x46274a[_0x2f82('0x11')](_0x2f82('0xf')),_0x46274a[_0x2f82('0x11')]('replaceAll');}[_0x2f82('0xc')](_0x309739,_0x3c6262,_0x4bbf7a={}){const _0x3e6a36=this[_0x2f82('0x14')][_0x2f82('0x8')][_0x2f82('0x15')](_0x2f82('0x0'));return _0x309739(_0x2b7c87=>(_0x2f82('0xb')==typeof _0x3c6262?_0x3e6a36['findByTextCallback'](_0x3c6262,_0x4bbf7a):_0x3c6262)(_0x2b7c87)[_0x2f82('0x9')](_0x34e924=>!0x1===this[_0x2f82('0x12')](_0x34e924,_0x2b7c87['item'])),_0x4bbf7a);}[_0x2f82('0x12')](_0x11d2a5,_0x363317){const _0x33491c=this[_0x2f82('0x14')][_0x2f82('0xd')][_0x2f82('0x13')](this[_0x2f82('0x14')]['model'][_0x2f82('0x1')](_0x363317,_0x11d2a5[_0x2f82('0x5')]),this[_0x2f82('0x14')][_0x2f82('0xd')][_0x2f82('0x1')](_0x363317,_0x11d2a5['end']));for(const _0x10182c of this[_0x2f82('0x14')][_0x2f82('0xd')]['markers']['getMarkersGroup'](_0x2f82('0x4')))if(null!==_0x33491c[_0x2f82('0x3')](_0x10182c['getRange']()))return!0x0;return!0x1;}}
|