@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230818.1 → 0.0.0-nightly-20230820.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230820.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230820.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230820.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23f4=['model','_isEnabledBasedOnSelection','_suggestions','getRanges','plugins','track-changes-accept-suggestion-not-found','execute','isEnabled','editor','get','refresh','canEditAt'];(function(_0x114d41,_0x23f4a1){const _0x2cfce4=function(_0x3f955c){while(--_0x3f955c){_0x114d41['push'](_0x114d41['shift']());}};_0x2cfce4(++_0x23f4a1);}(_0x23f4,0x68));const _0x2cfc=function(_0x114d41,_0x23f4a1){_0x114d41=_0x114d41-0x0;let _0x2cfce4=_0x23f4[_0x114d41];return _0x2cfce4;};import{Command as _0xf36ab0}from'ckeditor5/src/core';import{CKEditorError as _0x6049f6}from'ckeditor5/src/utils';export default class M extends _0xf36ab0{constructor(_0x18f20d,_0x197cd3){super(_0x18f20d),this[_0x2cfc('0x6')]=_0x197cd3,this[_0x2cfc('0x2')](),this[_0x2cfc('0x5')]=!0x1;}[_0x2cfc('0x2')](){this[_0x2cfc('0xb')]=!0x0;}[_0x2cfc('0xa')](_0x10f093){const _0x49b91a=this[_0x2cfc('0x6')][_0x2cfc('0x1')](_0x10f093);if(!_0x49b91a)throw new _0x6049f6(_0x2cfc('0x9'),this);const _0x3920d5=_0x49b91a[_0x2cfc('0x7')]();this['editor'][_0x2cfc('0x4')][_0x2cfc('0x3')](_0x3920d5)&&this[_0x2cfc('0x0')][_0x2cfc('0x8')][_0x2cfc('0x1')]('TrackChangesEditing')['acceptSuggestion'](_0x49b91a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xee7f=['isEnabled','get','_suggestions','TrackChangesEditing','getRanges','canEditAt','editor','model','track-changes-discard-suggestion-not-found','discardSuggestion','execute','refresh'];(function(_0x3892eb,_0xee7ff8){const _0x394e49=function(_0x40b911){while(--_0x40b911){_0x3892eb['push'](_0x3892eb['shift']());}};_0x394e49(++_0xee7ff8);}(_0xee7f,0x151));const _0x394e=function(_0x3892eb,_0xee7ff8){_0x3892eb=_0x3892eb-0x0;let _0x394e49=_0xee7f[_0x3892eb];return _0x394e49;};import{Command as _0x13d641}from'ckeditor5/src/core';import{CKEditorError as _0x25e45b}from'ckeditor5/src/utils';export default class $ extends _0x13d641{constructor(_0x5ee96d,_0x5478ee){super(_0x5ee96d),this[_0x394e('0x1')]=_0x5478ee,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x394e('0xa')](){this[_0x394e('0xb')]=!0x0;}[_0x394e('0x9')](_0x1b1ba2){const _0xe24a6b=this['_suggestions'][_0x394e('0x0')](_0x1b1ba2);if(!_0xe24a6b)throw new _0x25e45b(_0x394e('0x7'),this);const _0x6bdfe9=_0xe24a6b[_0x394e('0x3')]();this[_0x394e('0x5')][_0x394e('0x6')][_0x394e('0x4')](_0x6bdfe9)&&this['editor']['plugins']['get'](_0x394e('0x2'))[_0x394e('0x8')](_0xe24a6b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b8b=['from','_suggestions','model','editor','getRanges','refresh','values','_isEnabledBasedOnSelection','isInContent','canEditAt','isEnabled','execute','_command'];(function(_0x9a8b18,_0x3b8b3f){const _0x349683=function(_0x444582){while(--_0x444582){_0x9a8b18['push'](_0x9a8b18['shift']());}};_0x349683(++_0x3b8b3f);}(_0x3b8b,0x8c));const _0x3496=function(_0x9a8b18,_0x3b8b3f){_0x9a8b18=_0x9a8b18-0x0;let _0x349683=_0x3b8b[_0x9a8b18];return _0x349683;};import{Command as _0x5eb7b5}from'ckeditor5/src/core';import{sortSuggestions as _0xc45159,executeCommandForSuggestions as _0x36c8f1}from'../utils/utils';export default class N extends _0x5eb7b5{constructor(_0x1caaf3,_0xab7883,_0x535d68){super(_0x1caaf3),this[_0x3496('0x2')]=_0xab7883,this[_0x3496('0x4')]=_0x535d68,this[_0x3496('0x8')](),this[_0x3496('0xa')]=!0x1;}[_0x3496('0x8')](){const _0x440bf4=Array[_0x3496('0x3')](this['_suggestions'][_0x3496('0x9')]())['some'](_0x9f721d=>_0x9f721d[_0x3496('0xb')]);this[_0x3496('0x0')]=this[_0x3496('0x2')][_0x3496('0x0')]&&_0x440bf4;}[_0x3496('0x1')](){const _0x1809b2=_0xc45159(Array[_0x3496('0x3')](this['_suggestions'][_0x3496('0x9')]()));for(const _0x3f4e46 of _0x1809b2){const _0x4a449f=_0x3f4e46[_0x3496('0x7')]();if(!this[_0x3496('0x6')][_0x3496('0x5')][_0x3496('0xc')](_0x4a449f))return;}_0x36c8f1(this[_0x3496('0x6')][_0x3496('0x5')],this[_0x3496('0x2')],_0x1809b2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xddaf=['values','_selectedSuggestions','selection','size','editor','_suggestions','model','refresh','from','isEnabled','_isEnabledBasedOnSelection','document','canEditAt','getRanges','_command'];(function(_0x1a4249,_0xddaf39){const _0x1af85f=function(_0x1ad65f){while(--_0x1ad65f){_0x1a4249['push'](_0x1a4249['shift']());}};_0x1af85f(++_0xddaf39);}(_0xddaf,0xd2));const _0x1af8=function(_0x1a4249,_0xddaf39){_0x1a4249=_0x1a4249-0x0;let _0x1af85f=_0xddaf[_0x1a4249];return _0x1af85f;};import{Command as _0x36e864}from'ckeditor5/src/core';import{sortSuggestions as _0x51bb8d,getSelectedSuggestions as _0x59688e,executeCommandForSuggestions as _0x4d3897}from'../utils/utils';export default class R extends _0x36e864{constructor(_0x3d63b5,_0x243c06,_0x34f6f8){super(_0x3d63b5),this[_0x1af8('0xe')]=_0x243c06,this[_0x1af8('0x5')]=_0x34f6f8,this[_0x1af8('0x1')]=new Set(),this[_0x1af8('0x7')](),this[_0x1af8('0xa')]=!0x1;}['refresh'](){const _0x290e4e=this['editor'][_0x1af8('0x6')][_0x1af8('0xb')][_0x1af8('0x2')],_0x34eea6=Array[_0x1af8('0x8')](this['_suggestions'][_0x1af8('0x0')]());this[_0x1af8('0x1')]=_0x59688e(_0x290e4e,_0x34eea6),this[_0x1af8('0x9')]=this['_command'][_0x1af8('0x9')]&&!!this['_selectedSuggestions'][_0x1af8('0x3')];}['execute'](){const _0x3e792f=_0x51bb8d(Array['from'](this[_0x1af8('0x1')]));for(const _0x13616d of _0x3e792f){const _0x5eed58=_0x13616d[_0x1af8('0xd')]();if(!this[_0x1af8('0x4')][_0x1af8('0x6')][_0x1af8('0xc')](_0x5eed58))return;}_0x4d3897(this['editor']['model'],this[_0x1af8('0xe')],_0x3e792f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5380=['execute','isEnabled','_enabledCommands','value','clearForceDisabled','editor','_isEnabledBasedOnSelection','_disableUnsupportedCommands','has','TrackChangesCommand','commands','_enableCommands','affectsData'];(function(_0x165e4c,_0x538007){const _0x5dba5a=function(_0x5c98e7){while(--_0x5c98e7){_0x165e4c['push'](_0x165e4c['shift']());}};_0x5dba5a(++_0x538007);}(_0x5380,0xc2));const _0x5dba=function(_0x165e4c,_0x538007){_0x165e4c=_0x165e4c-0x0;let _0x5dba5a=_0x5380[_0x165e4c];return _0x5dba5a;};import{Command as _0x566251}from'ckeditor5/src/core';export default class _ extends _0x566251{constructor(_0x364bcc,_0x49d72b){super(_0x364bcc),this['_enabledCommands']=_0x49d72b,this[_0x5dba('0x4')]=!0x1,this['refresh'](),this[_0x5dba('0x7')]=!0x1;}['refresh'](){this[_0x5dba('0x2')]=!0x0;}[_0x5dba('0x1')](){this[_0x5dba('0x4')]=!this[_0x5dba('0x4')],this[_0x5dba('0x4')]?this[_0x5dba('0x8')]():this[_0x5dba('0xc')]();}[_0x5dba('0x8')](){for(const _0x4afdd4 of this[_0x5dba('0x6')][_0x5dba('0xb')][_0x5dba('0xb')]())_0x4afdd4[_0x5dba('0x0')]&&!this['_enabledCommands'][_0x5dba('0x9')](_0x4afdd4)&&_0x4afdd4['forceDisabled'](_0x5dba('0xa'));}[_0x5dba('0xc')](){for(const _0x5437d5 of this[_0x5dba('0x6')]['commands'][_0x5dba('0xb')]())_0x5437d5[_0x5dba('0x0')]&&!this[_0x5dba('0x3')][_0x5dba('0x9')](_0x5437d5)&&_0x5437d5[_0x5dba('0x5')](_0x5dba('0xa'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ccb=['registerDescriptionCallback','_descriptionFactory','editor','selection','value','plugins','commandParams','document','get','markBlockFormat','filter','locale','from','ltr','AlignmentEditing','*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT','alignment','getAttribute','has','FORMAT_ALIGN_TO_LEFT','checkAttribute','FORMAT_ALIGN_TO_CENTER','left','schema','contentLanguageDirection','FORMAT_JUSTIFY_TEXT','format','change','model','afterInit'];(function(_0x4603ef,_0x4ccbcb){const _0xd2b8b4=function(_0x5a5b5c){while(--_0x5a5b5c){_0x4603ef['push'](_0x4603ef['shift']());}};_0xd2b8b4(++_0x4ccbcb);}(_0x4ccb,0x18a));const _0xd2b8=function(_0x4603ef,_0x4ccbcb){_0x4603ef=_0x4603ef-0x0;let _0xd2b8b4=_0x4ccb[_0x4603ef];return _0xd2b8b4;};import{Plugin as _0x32a968}from'ckeditor5/src/core';import{getTranslation as _0x4014e5}from'../utils/common-translations';export default class x extends _0x32a968{[_0xd2b8('0x8')](){const _0x69da73=this[_0xd2b8('0xb')],_0x24de97=_0x69da73[_0xd2b8('0x14')];if(!_0x69da73[_0xd2b8('0xe')][_0xd2b8('0x1c')](_0xd2b8('0x17')))return;const _0x580722=_0x69da73['plugins'][_0xd2b8('0x11')]('TrackChangesEditing');_0x580722['enableCommand'](_0xd2b8('0x1a'),(_0x59675b,_0x2cd0b8={})=>{let _0x18862c=_0x2cd0b8[_0xd2b8('0xd')];_0x2cd0b8[_0xd2b8('0xd')]||(_0x18862c=_0xd2b8('0x16')===_0x69da73[_0xd2b8('0x14')][_0xd2b8('0x3')]?_0xd2b8('0x1'):'right');const _0x1b32af=Array[_0xd2b8('0x15')](this['editor'][_0xd2b8('0x7')][_0xd2b8('0x10')][_0xd2b8('0xc')]['getSelectedBlocks']())[_0xd2b8('0x13')](_0x20e93e=>function(_0x400bc4,_0x34d000,_0x571d26){const _0x3945a5=_0x400bc4[_0xd2b8('0x1b')]('alignment')||null;return _0x34d000[_0xd2b8('0x1e')](_0x400bc4,_0xd2b8('0x1a'))&&_0x571d26!=_0x3945a5;}(_0x20e93e,this[_0xd2b8('0xb')][_0xd2b8('0x7')][_0xd2b8('0x2')],_0x18862c));_0x69da73['model'][_0xd2b8('0x6')](()=>{for(const _0x1c219b of _0x1b32af)_0x580722[_0xd2b8('0x12')](_0x1c219b,{'commandName':_0xd2b8('0x1a'),'commandParams':[{'value':_0x18862c}]});});}),_0x580722[_0xd2b8('0xa')][_0xd2b8('0x9')](_0xb019e7=>{const {data:_0x22accf}=_0xb019e7;if(_0x22accf&&_0xd2b8('0x1a')==_0x22accf['commandName']){const _0x2dd5fe=_0x22accf[_0xd2b8('0xf')][0x0][_0xd2b8('0xd')];return{'type':_0xd2b8('0x5'),'content':_0x4014e5(_0x24de97,_0xd2b8('0x18'),function(_0x299fc9){switch(_0x299fc9){case _0xd2b8('0x1'):return _0x4014e5(_0x24de97,_0xd2b8('0x1d'));case'right':return _0x4014e5(_0x24de97,_0xd2b8('0x19'));case'center':return _0x4014e5(_0x24de97,_0xd2b8('0x0'));case'justify':return _0x4014e5(_0x24de97,_0xd2b8('0x4'));}}(_0x2dd5fe))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5514=['FORMAT_SUBSCRIPT','FORMAT_STRIKETHROUGH','getRanges','CodeEditing','FORMAT_SUPERSCRIPT','FORMAT_BOLD','model','*Remove\x20format:*\x20%0','forceValue','commandName','_descriptionFactory','change','BoldEditing','*Format:*\x20%0','FORMAT_ITALIC','get','ItalicEditing','underline','format','FORMAT_CODE','from','subscript','UnderlineEditing','value','locale','toLowerCase','bold','editor','TrackChangesEditing','plugins','has','commands','superscript','isCollapsed','code','commandParams','strikethrough','StrikethroughEditing','document'];(function(_0x396df1,_0x551439){const _0x4ac21b=function(_0x4b5a59){while(--_0x4b5a59){_0x396df1['push'](_0x396df1['shift']());}};_0x4ac21b(++_0x551439);}(_0x5514,0x155));const _0x4ac2=function(_0x396df1,_0x551439){_0x396df1=_0x396df1-0x0;let _0x4ac21b=_0x5514[_0x396df1];return _0x4ac21b;};import{Plugin as _0x502d45}from'ckeditor5/src/core';import{getTranslation as _0x315a1e}from'../utils/common-translations';import{getRangesWithAttribute as _0x47fc56}from'./utils';const Kt=[_0x4ac2('0x16'),_0x4ac2('0x1a'),_0x4ac2('0x20'),_0x4ac2('0xd'),_0x4ac2('0x8'),'SubscriptEditing','SuperscriptEditing'];export default class U extends _0x502d45{['afterInit'](){const _0x335631=this[_0x4ac2('0x25')],_0x1c0fe8=_0x335631[_0x4ac2('0x10')],_0x5b2440=_0x335631[_0x4ac2('0x0')]['get'](_0x4ac2('0x26')),_0x436361=_0x335631[_0x4ac2('0x22')];for(const _0x477489 of Kt){if(!_0x335631['plugins'][_0x4ac2('0x1')](_0x477489))continue;const _0x502ea6=_0x477489['slice'](0x0,-0x7)[_0x4ac2('0x23')](),_0x185980=_0x335631[_0x4ac2('0x2')][_0x4ac2('0x19')](_0x502ea6);_0x5b2440['enableCommand'](_0x502ea6,(_0x1937c3,_0x255372={})=>{const _0x3eaf52=_0x1c0fe8[_0x4ac2('0x9')]['selection'];if(_0x3eaf52[_0x4ac2('0x4')])return void _0x1937c3(_0x255372);const _0x11948f=void 0x0!==_0x255372[_0x4ac2('0x12')]?_0x255372['forceValue']:!_0x185980[_0x4ac2('0x21')];_0x1c0fe8[_0x4ac2('0x15')](()=>{const _0x26dc62=Array[_0x4ac2('0x1e')](_0x3eaf52[_0x4ac2('0xc')]());for(const _0x3b4777 of _0x26dc62){const _0x4e473c=_0x11948f?[_0x3b4777]:_0x47fc56(_0x502ea6,_0x3b4777,_0x1c0fe8);for(const _0x5abc7b of _0x4e473c)_0x5b2440['markInlineFormat'](_0x5abc7b,{'commandName':_0x502ea6,'commandParams':[{'forceValue':_0x11948f}]});}});});}function _0x4e7bd8(_0x9c6a8,_0x55bc18){_0x5b2440[_0x4ac2('0x14')]['registerDescriptionCallback'](_0x506af5=>{const {data:_0x9bc1a1}=_0x506af5;if(_0x9bc1a1&&_0x9bc1a1[_0x4ac2('0x13')]===_0x9c6a8)return _0x9bc1a1[_0x4ac2('0x6')][0x0][_0x4ac2('0x12')]?{'type':_0x4ac2('0x1c'),'content':_0x315a1e(_0x436361,_0x4ac2('0x17'),_0x55bc18)}:{'type':'format','content':_0x315a1e(_0x436361,_0x4ac2('0x11'),_0x55bc18)};});}_0x4e7bd8(_0x4ac2('0x24'),_0x315a1e(_0x436361,_0x4ac2('0xf'))),_0x4e7bd8('italic',_0x315a1e(_0x436361,_0x4ac2('0x18'))),_0x4e7bd8(_0x4ac2('0x1b'),_0x315a1e(_0x436361,'FORMAT_UNDERLINE')),_0x4e7bd8(_0x4ac2('0x5'),_0x315a1e(_0x436361,_0x4ac2('0x1d'))),_0x4e7bd8(_0x4ac2('0x7'),_0x315a1e(_0x436361,_0x4ac2('0xb'))),_0x4e7bd8(_0x4ac2('0x1f'),_0x315a1e(_0x436361,_0x4ac2('0xa'))),_0x4e7bd8(_0x4ac2('0x3'),_0x315a1e(_0x436361,_0x4ac2('0xe')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bf8=['getSelectedBlocks','_descriptionFactory','value','editor','model','*Remove\x20format:*\x20%0','blockQuote','format','get','markBlockFormat','afterInit','from','has','filter','commands','forceValue','TrackChangesEditing','schema','BlockQuoteEditing','checkChild','parent','*Format:*\x20%0','document','commandName','plugins','ELEMENT_BLOCK_QUOTE','$root','registerDescriptionCallback','locale','selection','enableCommand'];(function(_0x1e68b0,_0x4bf853){const _0x46969b=function(_0xbf4535){while(--_0xbf4535){_0x1e68b0['push'](_0x1e68b0['shift']());}};_0x46969b(++_0x4bf853);}(_0x4bf8,0xe3));const _0x4696=function(_0x1e68b0,_0x4bf853){_0x1e68b0=_0x1e68b0-0x0;let _0x46969b=_0x4bf8[_0x1e68b0];return _0x46969b;};import{Plugin as _0xb6875a}from'ckeditor5/src/core';import{getTranslation as _0x281ae2}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x25e6e8}from'../utils/utils';export default class j extends _0xb6875a{[_0x4696('0x0')](){const _0x1f7aab=this[_0x4696('0x18')],_0x3760da=_0x1f7aab[_0x4696('0x12')];if(!_0x1f7aab[_0x4696('0xe')][_0x4696('0x2')](_0x4696('0x8')))return;const _0x2dbaba=_0x1f7aab['plugins'][_0x4696('0x1d')](_0x4696('0x6')),_0x7f3838=this['editor'][_0x4696('0x4')][_0x4696('0x1d')]('blockQuote');_0x2dbaba[_0x4696('0x14')](_0x4696('0x1b'),(_0x503efe,_0x26daec={})=>{const _0x6bce35=this[_0x4696('0x18')][_0x4696('0x19')][_0x4696('0xc')][_0x4696('0x13')],_0x1f5566=_0x26daec&&void 0x0!==_0x26daec[_0x4696('0x5')]?_0x26daec[_0x4696('0x5')]:!_0x7f3838[_0x4696('0x17')];let _0x115d53=[];if(_0x1f5566){const _0x2c5741=Array[_0x4696('0x1')](_0x6bce35[_0x4696('0x15')]())[_0x4696('0x3')](_0x4aa085=>Xt(_0x4aa085)||function(_0xc24104,_0x4c7e2e){const _0x21eba9=_0x4c7e2e[_0x4696('0x9')](_0xc24104['parent'],_0x4696('0x1b')),_0x524add=_0x4c7e2e['checkChild']([_0x4696('0x10'),'blockQuote'],_0xc24104);return _0x21eba9&&_0x524add;}(_0x4aa085,this[_0x4696('0x18')][_0x4696('0x19')][_0x4696('0x7')]));_0x115d53=_0x25e6e8(_0x2c5741,_0x1f7aab[_0x4696('0x19')]);}else{const _0x17a6fe=Array[_0x4696('0x1')](_0x6bce35['getSelectedBlocks']())[_0x4696('0x3')](_0x19a9ba=>Xt(_0x19a9ba));_0x115d53=_0x25e6e8(_0x17a6fe,_0x1f7aab['model']);}_0x1f7aab[_0x4696('0x19')]['change'](()=>{for(const _0x575992 of _0x115d53)_0x2dbaba[_0x4696('0x1e')](_0x575992,{'commandName':_0x4696('0x1b'),'commandParams':[{'forceValue':_0x1f5566}]});});}),_0x2dbaba[_0x4696('0x16')][_0x4696('0x11')](_0x510a4b=>{const {data:_0x449b5a}=_0x510a4b;if(_0x449b5a&&'blockQuote'==_0x449b5a[_0x4696('0xd')]){const _0x56e724=_0x281ae2(_0x3760da,_0x4696('0xf'));return _0x449b5a['commandParams'][0x0][_0x4696('0x5')]?{'type':_0x4696('0x1c'),'content':_0x281ae2(_0x3760da,_0x4696('0xb'),_0x56e724)}:{'type':_0x4696('0x1c'),'content':_0x281ae2(_0x3760da,_0x4696('0x1a'),_0x56e724)};}});}}function Xt(_0x4afa02){return'blockQuote'==_0x4afa02[_0x4696('0xa')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c08=['get','TrackChangesEditing','enableCommand','ckbox','plugins','commands'];(function(_0x1f7797,_0x2c0872){const _0x5cbd96=function(_0x57ccac){while(--_0x57ccac){_0x1f7797['push'](_0x1f7797['shift']());}};_0x5cbd96(++_0x2c0872);}(_0x2c08,0xe8));const _0x5cbd=function(_0x1f7797,_0x2c0872){_0x1f7797=_0x1f7797-0x0;let _0x5cbd96=_0x2c08[_0x1f7797];return _0x5cbd96;};import{Plugin as _0x5b1717}from'ckeditor5/src/core';export default class E extends _0x5b1717{['afterInit'](){const _0x519bc4=this['editor'];_0x519bc4[_0x5cbd('0x1')][_0x5cbd('0x2')](_0x5cbd('0x5'))&&_0x519bc4[_0x5cbd('0x0')]['get'](_0x5cbd('0x3'))[_0x5cbd('0x4')](_0x5cbd('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cc7=['filter','config','value','rootElement','languages','format','find','document','commands','TrackChangesEditing','name','enableCommand','afterInit','forceValue','registerDescriptionCallback','schema','outdentCodeBlock','CodeBlock','ELEMENT_CODE_BLOCK','*Format:*\x20%0','change','commandName','get','editor','blockName','plugins','parent','model','getSelectedBlocks','label','_descriptionFactory','locale','commandParams','language','codeBlock','from'];(function(_0x1d12e5,_0x3cc768){const _0x893021=function(_0xbbfc6e){while(--_0xbbfc6e){_0x1d12e5['push'](_0x1d12e5['shift']());}};_0x893021(++_0x3cc768);}(_0x3cc7,0xde));const _0x8930=function(_0x1d12e5,_0x3cc768){_0x1d12e5=_0x1d12e5-0x0;let _0x893021=_0x3cc7[_0x1d12e5];return _0x893021;};import{Plugin as _0x1b4292}from'ckeditor5/src/core';import{getTranslation as _0x44af58}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x16225d}from'../utils/utils';export default class O extends _0x1b4292{[_0x8930('0x6')](){const _0x1eff7f=this[_0x8930('0x11')];if(!_0x1eff7f[_0x8930('0x13')]['has'](_0x8930('0xb')))return;const _0x26f0f2=_0x1eff7f[_0x8930('0x13')][_0x8930('0x10')](_0x8930('0x3')),_0x4f6565=_0x1eff7f[_0x8930('0x19')],_0x43c4f6=_0x1eff7f[_0x8930('0x1f')][_0x8930('0x10')](_0x8930('0x1c'))[_0x8930('0x22')],_0x5c3be5=_0x1eff7f[_0x8930('0x2')][_0x8930('0x10')](_0x8930('0x1c'));_0x26f0f2[_0x8930('0x5')]('indentCodeBlock'),_0x26f0f2[_0x8930('0x5')](_0x8930('0xa')),_0x26f0f2[_0x8930('0x5')]('codeBlock',(_0x429460,_0x2b5f24={})=>{const _0x30d372=_0x1eff7f['model'],_0x19667e=_0x1eff7f[_0x8930('0x15')][_0x8930('0x1')]['selection'],_0x13d955=_0x2b5f24&&void 0x0!==_0x2b5f24[_0x8930('0x7')]?_0x2b5f24['forceValue']:!_0x5c3be5[_0x8930('0x20')];let _0x3870e;_0x2b5f24[_0x8930('0x1b')]||(_0x2b5f24[_0x8930('0x1b')]=_0x43c4f6[0x0]['language']),_0x3870e=_0x13d955?Array[_0x8930('0x1d')](_0x19667e[_0x8930('0x16')]())[_0x8930('0x1e')](_0x3c18ea=>oo(_0x3c18ea)||function(_0x28789a,_0x5058c9){if(_0x28789a['is'](_0x8930('0x21'))||_0x5058c9['isLimit'](_0x28789a))return!0x1;return _0x5058c9['checkChild'](_0x28789a[_0x8930('0x14')],_0x8930('0x1c'));}(_0x3c18ea,_0x30d372[_0x8930('0x9')])):Array[_0x8930('0x1d')](_0x19667e[_0x8930('0x16')]())['filter'](_0x35666f=>oo(_0x35666f));const _0x3cf85a=_0x16225d(_0x3870e,_0x30d372);_0x30d372[_0x8930('0xe')](()=>{for(const _0x19a7af of _0x3cf85a)_0x26f0f2['markBlockFormat'](_0x19a7af,{'commandName':_0x8930('0x1c'),'commandParams':[{..._0x2b5f24,'forceValue':_0x13d955}],'formatGroupId':_0x8930('0x12')});});}),(_0x26f0f2[_0x8930('0x18')]['registerElementLabel'](_0x8930('0x1c'),_0x1dc5b3=>_0x44af58(_0x4f6565,_0x8930('0xc'),_0x1dc5b3)),_0x26f0f2[_0x8930('0x18')][_0x8930('0x8')](_0x206cb1=>{const _0x5bcf90=_0x4f6565['t'],{type:_0x2baf8d,data:_0x5ed6e2}=_0x206cb1;if('formatBlock'==_0x2baf8d&&_0x5ed6e2&&'codeBlock'==_0x5ed6e2[_0x8930('0xf')]){const _0x569d93=_0x5ed6e2[_0x8930('0x1a')][0x0][_0x8930('0x1b')],_0x37538a=_0x5bcf90(_0x43c4f6[_0x8930('0x0')](_0x2f9f69=>_0x2f9f69[_0x8930('0x1b')]===_0x569d93)[_0x8930('0x17')]);return _0x5ed6e2[_0x8930('0x1a')][0x0][_0x8930('0x7')]?{'type':_0x8930('0x23'),'content':_0x44af58(_0x4f6565,_0x8930('0xd'),_0x44af58(_0x4f6565,_0x8930('0xc'),0x1)+'\x20('+_0x37538a+')')}:{'type':_0x8930('0x23'),'content':_0x44af58(_0x4f6565,'*Remove\x20format:*\x20%0',_0x44af58(_0x4f6565,_0x8930('0xc'),0x1))};}}));}}function oo(_0x591f2b){return'codeBlock'==_0x591f2b[_0x8930('0x4')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x90af=['get','editor','TrackChangesEditing','addCommentThread','afterInit','has','enableCommand','plugins'];(function(_0x36caea,_0x90af51){const _0x3fe28d=function(_0x5b2b38){while(--_0x5b2b38){_0x36caea['push'](_0x36caea['shift']());}};_0x3fe28d(++_0x90af51);}(_0x90af,0x14a));const _0x3fe2=function(_0x36caea,_0x90af51){_0x36caea=_0x36caea-0x0;let _0x3fe28d=_0x90af[_0x36caea];return _0x3fe28d;};import{Plugin as _0x12da91}from'ckeditor5/src/core';export default class F extends _0x12da91{[_0x3fe2('0x2')](){const _0x3d21c1=this[_0x3fe2('0x7')];if(!_0x3d21c1[_0x3fe2('0x5')][_0x3fe2('0x3')]('CommentsEditing'))return;_0x3d21c1[_0x3fe2('0x5')][_0x3fe2('0x6')](_0x3fe2('0x0'))[_0x3fe2('0x4')](_0x3fe2('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x325f=['end','$graveyard','init','unbindElementFromMarkerName','fromRange','start','bind','batch','remove','TrackChangesEditing','requires','isCollapsed','modifySelection','uiElement','getFirstRange','createRange','rootName','model','createSelection','buffer','deleteForward','options','downcastDispatcher','markerNameToElements','forward','mapper','writer','addMarker:suggestion:deletion','root','merge','get','lock','removeMarker:suggestion:deletion','editor','high','enableCommand','markerName','editing','data','plugins'];(function(_0x3bc678,_0x325f44){const _0x169be4=function(_0x40ee27){while(--_0x40ee27){_0x3bc678['push'](_0x3bc678['shift']());}};_0x169be4(++_0x325f44);}(_0x325f,0x15f));const _0x169b=function(_0x3bc678,_0x325f44){_0x3bc678=_0x3bc678-0x0;let _0x169be4=_0x325f[_0x3bc678];return _0x169be4;};import{Plugin as _0x2a85b6}from'ckeditor5/src/core';import{LiveRange as _0x14529f}from'ckeditor5/src/engine';import{Delete as _0x23755e}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x302444}from'./utils';export default class G extends _0x2a85b6{static get[_0x169b('0x13')](){return[_0x23755e];}[_0x169b('0xb')](){const _0x49f7d0=this[_0x169b('0x2')],_0x5f145c=_0x49f7d0[_0x169b('0x8')]['get'](_0x169b('0x12'));_0x5f145c[_0x169b('0x4')]('delete');const _0x505755=_0x49f7d0['commands'][_0x169b('0x27')](_0x169b('0x1d'));_0x5f145c[_0x169b('0x4')]('deleteForward',(_0x20f1e5,_0x3949b5={})=>{const _0x121ec8=_0x49f7d0[_0x169b('0x1a')][_0x169b('0x1b')](_0x49f7d0[_0x169b('0x1a')]['document']['selection']);_0x121ec8[_0x169b('0x14')]&&_0x49f7d0[_0x169b('0x1a')][_0x169b('0x15')](_0x121ec8,{'direction':_0x169b('0x21'),'unit':_0x3949b5['unit']});const _0x463022=_0x121ec8[_0x169b('0x17')](),_0x20e827=_0x14529f[_0x169b('0xd')](_0x463022);let _0x521393;_0x20f1e5(_0x3949b5),_0x521393=_0x169b('0xa')==_0x20e827[_0x169b('0x25')][_0x169b('0x19')]?_0x49f7d0[_0x169b('0x1a')][_0x169b('0x18')](_0x463022[_0x169b('0xe')]):_0x49f7d0[_0x169b('0x1a')][_0x169b('0x18')](_0x20e827[_0x169b('0xe')],_0x20e827[_0x169b('0x9')]),_0x20e827['detach'](),_0x49f7d0[_0x169b('0x1a')]['enqueueChange'](_0x505755[_0x169b('0x1c')][_0x169b('0x10')],_0x12bf1b=>{_0x505755[_0x169b('0x1c')][_0x169b('0x0')](),_0x12bf1b['setSelection'](_0x12bf1b[_0x169b('0x18')](_0x521393[_0x169b('0x9')])),_0x505755[_0x169b('0x1c')]['unlock']();});}),_0x49f7d0[_0x169b('0x6')][_0x169b('0x1f')]['on']('addMarker:suggestion:deletion',_0x302444(_0x49f7d0,_0x169b('0x26')),{'priority':_0x169b('0x3')}),_0x49f7d0[_0x169b('0x7')][_0x169b('0x1f')]['on'](_0x169b('0x24'),(_0x24e74a,_0x1118c6,_0x26d033)=>{_0x26d033[_0x169b('0x1e')]['showSuggestionHighlights']&&_0x302444(_0x49f7d0,_0x169b('0x26'),{'showActiveMarker':!0x1})[_0x169b('0xf')](this)(_0x24e74a,_0x1118c6,_0x26d033);},{'priority':_0x169b('0x3')}),_0x49f7d0[_0x169b('0x6')][_0x169b('0x1f')]['on'](_0x169b('0x1'),(_0x5452c7,_0x4f678a,_0x3b4c83)=>{const _0x3eb771=_0x3b4c83[_0x169b('0x22')][_0x169b('0x20')](_0x4f678a[_0x169b('0x5')]);if(_0x3eb771)for(const _0x2911ae of _0x3eb771)_0x2911ae['is'](_0x169b('0x16'))&&(_0x3b4c83[_0x169b('0x22')][_0x169b('0xc')](_0x2911ae,_0x4f678a['markerName']),_0x3b4c83[_0x169b('0x23')][_0x169b('0x11')](_0x2911ae));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d2c=['indentList','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','editor','DocumentListEditing','nextSibling','getFirstRange','commandName','push','model','selection','get','listType','hasAttribute','has','document','execute','*Outdent:*\x20%0','documentList','mergeListItemForward','slice','locale','registerDescriptionCallback','length','markBlockFormat','getSelectedBlocks','value','detach','add','enableCommand','numberedList','DocumentListUtils','map','_descriptionFactory','*Format:*\x20remove\x20from\x20%0','registerElementLabel','start','format','after','toUpperCase','outdentList','createPositionAt','getAttribute','commandParams','splitListItemAfter','markMultiRangeBlockFormat','commands','bulletedList','from','before','listIndent','*Merge:*\x20%0','accept','next','setSelection','end','_suggestionFactory','registerCustomCallback','mergeListItemBackward','ELEMENT_NUMBERED_LIST','multipleBlocks','refresh','change','splitListItemBefore','plugins','isObject','ELEMENT_BULLETED_LIST','isFirstBlockOfListItem','previousSibling','containsItem','nodeAfter','listItemId','createRange','afterInit'];(function(_0x426205,_0x4d2cec){const _0x2c57ec=function(_0xe247c4){while(--_0xe247c4){_0x426205['push'](_0x426205['shift']());}};_0x2c57ec(++_0x4d2cec);}(_0x4d2c,0x17b));const _0x2c57=function(_0x426205,_0x4d2cec){_0x426205=_0x426205-0x0;let _0x2c57ec=_0x4d2c[_0x426205];return _0x2c57ec;};import{Plugin as _0xe731d9}from'ckeditor5/src/core';import{getTranslation as _0x42e317}from'../utils/common-translations';import{LiveRange as _0x36ebae}from'ckeditor5/src/engine';export default class L extends _0xe731d9{[_0x2c57('0x40')](){const _0x4f2999=this[_0x2c57('0x44')];if(!_0x4f2999['plugins'][_0x2c57('0x5')](_0x2c57('0x45')))return;const _0x44042c=_0x4f2999[_0x2c57('0xc')],_0x55f498=_0x4f2999[_0x2c57('0x37')][_0x2c57('0x2')]('TrackChangesEditing'),_0x504c1a=_0x4f2999[_0x2c57('0x37')]['get'](_0x2c57('0x16'));function _0x56bf91(_0x25dd84){return()=>{const _0x25b76f=_0x4f2999[_0x2c57('0x25')][_0x2c57('0x2')](_0x25dd84);let _0x2ff639=Array['from'](_0x4f2999[_0x2c57('0x0')][_0x2c57('0x6')][_0x2c57('0x1')][_0x2c57('0x10')]());if(_0x26b49c(_0x25dd84)){_0x2ff639=_0x504c1a['expandListBlocksToCompleteList'](_0x2ff639);const _0x330a4e=[];for(const _0x16f029 of _0x2ff639)_0x504c1a[_0x2c57('0x3a')](_0x16f029)&&_0x330a4e[_0x2c57('0x49')](_0x16f029);_0x2ff639=_0x330a4e;}_0x4f2999['model'][_0x2c57('0x35')](()=>{_0x55f498[_0x2c57('0x24')](_0x2ff639,{'commandName':_0x25dd84,'commandParams':[{'forceValue':!_0x25b76f[_0x2c57('0x11')]}],'formatGroupId':'listType'},[],_0x2c57('0x9'));});};}function _0x4520c7(_0x23b554){return()=>{const _0x106d08=function(_0x358150){let _0x222f98=Array['from'](_0x358150);const _0x27c149=_0x222f98['findIndex'](_0x49bab8=>!_0x49bab8[_0x2c57('0x4')](_0x2c57('0x3e')));return _0x27c149>-0x1&&(_0x222f98=_0x222f98[_0x2c57('0xb')](0x0,_0x27c149)),_0x222f98;}(_0x4f2999[_0x2c57('0x0')][_0x2c57('0x6')][_0x2c57('0x1')][_0x2c57('0x10')]()),_0x3d6913=_0x106d08[_0x106d08[_0x2c57('0xe')]-0x1],_0x1794a=_0x4f2999[_0x2c57('0x0')]['schema'][_0x2c57('0x38')](_0x3d6913)?_0x2c57('0x1d'):_0x2c57('0x2e'),_0x3d999e=_0x4f2999[_0x2c57('0x0')][_0x2c57('0x3f')](_0x4f2999[_0x2c57('0x0')][_0x2c57('0x20')](_0x106d08[0x0],_0x2c57('0x28')),_0x4f2999[_0x2c57('0x0')]['createPositionAt'](_0x3d6913,_0x1794a));_0x4f2999[_0x2c57('0x0')][_0x2c57('0x35')](()=>{_0x55f498[_0x2c57('0xf')](_0x3d999e,{'commandName':_0x23b554,'commandParams':[],'formatGroupId':_0x2c57('0x3')},function(_0x1db091){const _0x273ee6=new Set();for(const _0x3be1d2 of _0x1db091){let _0x2698b3=_0x3be1d2['nextSibling'];for(;_0x2698b3&&_0x2698b3[_0x2c57('0x21')](_0x2c57('0x29'))>_0x3be1d2['getAttribute']('listIndent');)_0x273ee6[_0x2c57('0x13')](_0x2698b3),_0x2698b3=_0x2698b3['nextSibling'];}return Array[_0x2c57('0x27')](_0x273ee6);}(_0x106d08));});};}function _0x1cae08(_0x57c4d3){return()=>{const _0x5b0233=_0x4f2999[_0x2c57('0x0')][_0x2c57('0x6')][_0x2c57('0x1')]['getSelectedBlocks']()[_0x2c57('0x2c')]()[_0x2c57('0x11')],_0x23df7d=_0x4f2999[_0x2c57('0x0')]['createPositionAt'](_0x5b0233,_0x2c57('0x28')),_0x22fa28=_0x4f2999[_0x2c57('0x0')][_0x2c57('0x20')](_0x5b0233,0x0),_0x1374c5=_0x4f2999[_0x2c57('0x0')]['createRange'](_0x23df7d,_0x22fa28);_0x4f2999['model'][_0x2c57('0x35')](()=>{_0x55f498[_0x2c57('0xf')](_0x1374c5,{'commandName':_0x57c4d3,'commandParams':[],'formatGroupId':'listType'});});};}function _0x26b49c(_0x342095){const _0x3d7fcc=_0x4f2999[_0x2c57('0x25')][_0x2c57('0x2')]('bulletedList')[_0x2c57('0x11')],_0x3c8ada=_0x4f2999[_0x2c57('0x25')][_0x2c57('0x2')]('numberedList')['value'];return _0x2c57('0x15')===_0x342095?_0x3d7fcc:_0x3c8ada;}_0x55f498[_0x2c57('0x14')](_0x2c57('0x15'),_0x56bf91('numberedList')),_0x55f498[_0x2c57('0x14')]('bulletedList',_0x56bf91(_0x2c57('0x26'))),_0x55f498['enableCommand']('indentList',_0x4520c7('indentList')),_0x55f498['enableCommand'](_0x2c57('0x1f'),_0x4520c7('outdentList')),_0x55f498[_0x2c57('0x14')](_0x2c57('0x23'),_0x1cae08('splitListItemAfter')),_0x55f498[_0x2c57('0x14')](_0x2c57('0x36'),_0x1cae08(_0x2c57('0x36'))),_0x55f498[_0x2c57('0x18')][_0x2c57('0x1a')](function(_0x1ae28b){const _0x55f89d=!_0x4f2999[_0x2c57('0x0')]['schema'][_0x2c57('0x38')](_0x1ae28b),_0x4dbf43=_0x1ae28b[_0x2c57('0x3b')],_0x125fa3=_0x1ae28b['nextSibling'],_0x9966e=_0x1ae28b[_0x2c57('0x21')](_0x2c57('0x3e')),_0x51f94d=!_0x4dbf43||_0x4dbf43['getAttribute'](_0x2c57('0x3e'))!==_0x9966e,_0x5a21c8=!_0x125fa3||_0x125fa3[_0x2c57('0x21')]('listItemId')!==_0x9966e;return _0x55f89d&&Boolean(_0x9966e)&&_0x51f94d&&_0x5a21c8;},_0x145c54=>_0x42e317(_0x44042c,_0x2c57('0x43'),_0x145c54)),_0x55f498['_descriptionFactory'][_0x2c57('0xd')](function(_0x43d4fc){const {data:_0x3e9ae3}=_0x43d4fc;if(!_0x3e9ae3)return;let _0x48cea2,_0x4554ef,_0x2dbf05,_0x5a656a;switch(_0x3e9ae3[_0x2c57('0x48')]){case'bulletedList':_0x2dbf05=_0x3e9ae3[_0x2c57('0x22')][0x0]['forceValue'],_0x5a656a=_0x26b49c(_0x3e9ae3['commandName']),_0x48cea2=_0x2dbf05?'*Format:*\x20insert\x20into\x20%0':_0x2c57('0x19'),_0x5a656a&&(_0x48cea2=_0x2c57('0x42')),_0x4554ef={'type':_0x2c57('0x1c'),'content':_0x42e317(_0x44042c,_0x48cea2,_0x42e317(_0x44042c,_0x2c57('0x39')))};break;case _0x2c57('0x15'):_0x2dbf05=_0x3e9ae3[_0x2c57('0x22')][0x0]['forceValue'],_0x5a656a=_0x26b49c(_0x3e9ae3[_0x2c57('0x48')]),_0x48cea2=_0x2dbf05?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x5a656a&&(_0x48cea2=_0x2c57('0x42')),_0x4554ef={'type':_0x2c57('0x1c'),'content':_0x42e317(_0x44042c,_0x48cea2,_0x42e317(_0x44042c,_0x2c57('0x32')))};break;case _0x2c57('0x41'):_0x48cea2='*Indent:*\x20%0',_0x4554ef={'type':'format','content':_0x42e317(_0x44042c,_0x48cea2,_0x42e317(_0x44042c,_0x2c57('0x43')))};break;case'outdentList':_0x48cea2=function(_0x5ea096){const _0x56350e=_0x5ea096[_0x2c57('0x47')]();let _0x19daec=_0x56350e[_0x2c57('0x1b')][_0x2c57('0x3d')];for(;_0x19daec&&_0x56350e[_0x2c57('0x3c')](_0x19daec);){if(_0x19daec['getAttribute'](_0x2c57('0x29'))>0x0)return!0x1;_0x19daec=_0x19daec[_0x2c57('0x46')];}return!0x0;}(_0x43d4fc)?_0x42e317(_0x44042c,_0x2c57('0x19'),_0x42e317(_0x44042c,function(_0x3db097){const _0x1be891=_0x3db097[_0x2c57('0x47')]()[_0x2c57('0x1b')][_0x2c57('0x3d')];return'ELEMENT_'+_0x1be891[_0x2c57('0x21')](_0x2c57('0x3'))[_0x2c57('0x1e')]()+'_LIST';}(_0x43d4fc))):_0x42e317(_0x44042c,_0x2c57('0x8'),_0x42e317(_0x44042c,_0x2c57('0x43'))),_0x4554ef={'type':_0x2c57('0x1c'),'content':_0x48cea2};break;case _0x2c57('0x31'):case _0x2c57('0xa'):!0x1===_0x3e9ae3[_0x2c57('0x33')]&&(_0x48cea2=_0x2c57('0x2a'),_0x4554ef={'type':'deletion','content':_0x42e317(_0x44042c,_0x48cea2,_0x42e317(_0x44042c,_0x2c57('0x43')))});}return _0x4554ef;}),_0x55f498[_0x2c57('0x2f')][_0x2c57('0x30')]('formatBlock','documentList',_0x2c57('0x2b'),function(_0xb0391,_0x52f81c){const _0x4c6860=[];for(let _0x4ceab5 of _0xb0391)_0x4ceab5[_0x2c57('0x1b')][_0x2c57('0x3d')]===_0x4ceab5[_0x2c57('0x2e')]['parent']&&(_0x4ceab5=_0x4f2999[_0x2c57('0x0')][_0x2c57('0x3f')](_0x4f2999[_0x2c57('0x0')][_0x2c57('0x20')](_0x4ceab5[_0x2c57('0x1b')][_0x2c57('0x3d')],0x0))),_0x4c6860[_0x2c57('0x49')](_0x4ceab5);_0x4f2999['model'][_0x2c57('0x35')](_0x3be8e2=>{const _0x223fdf=_0x4f2999[_0x2c57('0x0')][_0x2c57('0x6')][_0x2c57('0x1')],_0x326b12=Array['from'](_0x223fdf['getRanges']())[_0x2c57('0x17')](_0x20ece8=>_0x36ebae['fromRange'](_0x20ece8));_0x3be8e2[_0x2c57('0x2d')](_0x4c6860),_0x4f2999[_0x2c57('0x25')][_0x2c57('0x2')](_0x52f81c['commandName'])[_0x2c57('0x34')](),_0x52f81c[_0x2c57('0x22')][_0x2c57('0x49')]({'forceDefaultExecution':!0x0}),_0x4f2999[_0x2c57('0x7')](_0x52f81c['commandName'],..._0x52f81c[_0x2c57('0x22')]),_0x3be8e2[_0x2c57('0x2d')](_0x326b12);for(const _0x286326 of _0x326b12)_0x286326[_0x2c57('0x12')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x257c=['from','handleListStyleCommand','commandName','list.properties','_getSuggestionBlocks','getAttribute','enableCommand','afterInit','_descriptionFactory','listType','reversed','numbered','_getSuggestionBlocksForListStyle','editor','config','DocumentListUtils','DocumentListPropertiesEditing','commandParams','_LIST_','format','_getTranslationKeyForListStyle','TrackChangesEditing','plugins','listStart','expandListBlocksToCompleteList','getSelectedBlocks','*Format:*\x20set\x20order\x20to\x20regular','handleListReversedCommand','type','filter','isFirstBlockOfListItem','startIndex','listReversed','bind','listStyle','model','toUpperCase','isListItemBlock','push','DocumentListPropertiesUtils','change','styles','selection','handleListStartCommand','get','markMultiRangeBlockFormat','length','document'];(function(_0x2b5c29,_0x257ca2){const _0x2e62af=function(_0x4b7356){while(--_0x4b7356){_0x2b5c29['push'](_0x2b5c29['shift']());}};_0x2e62af(++_0x257ca2);}(_0x257c,0x11a));const _0x2e62=function(_0x2b5c29,_0x257ca2){_0x2b5c29=_0x2b5c29-0x0;let _0x2e62af=_0x257c[_0x2b5c29];return _0x2e62af;};import{Plugin as _0x29ac20}from'ckeditor5/src/core';import{getTranslation as _0xdb1f18}from'../utils/common-translations';export default class At extends _0x29ac20{[_0x2e62('0xd')](){if(!this[_0x2e62('0x13')][_0x2e62('0x1c')]['has'](_0x2e62('0x16')))return;const _0x553562=this[_0x2e62('0x13')][_0x2e62('0x14')][_0x2e62('0x2')](_0x2e62('0x9')),_0x262958=this[_0x2e62('0x13')]['plugins']['get'](_0x2e62('0x1b'));_0x553562[_0x2e62('0x2f')]&&_0x262958['enableCommand'](_0x2e62('0x28'),this[_0x2e62('0x7')][_0x2e62('0x27')](this)),_0x553562[_0x2e62('0x10')]&&_0x262958[_0x2e62('0xc')](_0x2e62('0x26'),this['handleListReversedCommand'][_0x2e62('0x27')](this)),_0x553562[_0x2e62('0x25')]&&_0x262958[_0x2e62('0xc')](_0x2e62('0x1d'),this[_0x2e62('0x1')][_0x2e62('0x27')](this)),_0x262958[_0x2e62('0xe')]['registerDescriptionCallback'](this['handleDescriptions'][_0x2e62('0x27')](this));}[_0x2e62('0x7')](_0xa7a452,_0x2bf7fe={}){const _0x3dd221=this[_0x2e62('0x13')]['plugins'][_0x2e62('0x2')]('TrackChangesEditing'),_0x4207d7=this[_0x2e62('0x12')]();this[_0x2e62('0x13')]['model'][_0x2e62('0x2e')](()=>{_0x3dd221[_0x2e62('0x3')](_0x4207d7,{'commandName':_0x2e62('0x28'),'commandParams':[{'type':_0x2bf7fe[_0x2e62('0x22')]}],'formatGroupId':_0x2e62('0x28')});});}[_0x2e62('0x21')](_0xcdef3,_0x3eca76={}){const _0x2b9040=this['editor'][_0x2e62('0x1c')][_0x2e62('0x2')](_0x2e62('0x1b')),_0x5b9b64=this[_0x2e62('0x13')][_0x2e62('0x1c')][_0x2e62('0x2')](_0x2e62('0x15')),_0x29c072=this[_0x2e62('0xa')](_0xa376c5=>_0x5b9b64[_0x2e62('0x2b')](_0xa376c5)&&_0x2e62('0x11')===_0xa376c5[_0x2e62('0xb')](_0x2e62('0xf')));null!==_0x29c072&&this[_0x2e62('0x13')][_0x2e62('0x29')][_0x2e62('0x2e')](()=>{_0x2b9040[_0x2e62('0x3')](_0x29c072,{'commandName':_0x2e62('0x26'),'commandParams':[{'reversed':_0x3eca76[_0x2e62('0x10')]}],'formatGroupId':_0x2e62('0x26')});});}['handleListStartCommand'](_0x3d6d94,_0x153e7a={}){const _0x511f51=this[_0x2e62('0x13')][_0x2e62('0x1c')]['get']('TrackChangesEditing'),_0x40d2bc=this[_0x2e62('0x13')][_0x2e62('0x1c')][_0x2e62('0x2')](_0x2e62('0x15')),_0x44a8f3=this[_0x2e62('0xa')](_0x57f5c8=>_0x40d2bc[_0x2e62('0x2b')](_0x57f5c8)&&_0x2e62('0x11')===_0x57f5c8[_0x2e62('0xb')](_0x2e62('0xf')));null!==_0x44a8f3&&this[_0x2e62('0x13')][_0x2e62('0x29')][_0x2e62('0x2e')](()=>{_0x511f51[_0x2e62('0x3')](_0x44a8f3,{'commandName':_0x2e62('0x1d'),'commandParams':[{'startIndex':_0x153e7a[_0x2e62('0x25')]}],'formatGroupId':_0x2e62('0x1d')});});}['handleDescriptions'](_0x2b74ea){const _0x32d337=this[_0x2e62('0x13')]['locale'],{data:_0x5a1e70}=_0x2b74ea;if(!_0x5a1e70)return;let _0x429e1d,_0x19a569;switch(_0x5a1e70[_0x2e62('0x8')]){case _0x2e62('0x28'):_0x429e1d='*Change\x20to:*\x20%0',_0x19a569={'type':_0x2e62('0x19'),'content':_0xdb1f18(_0x32d337,_0x429e1d,_0xdb1f18(_0x32d337,this[_0x2e62('0x1a')](_0x5a1e70[_0x2e62('0x17')][0x0]['type'])))};break;case _0x2e62('0x26'):_0x429e1d=_0x5a1e70[_0x2e62('0x17')][0x0][_0x2e62('0x10')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x2e62('0x20'),_0x19a569={'type':_0x2e62('0x19'),'content':_0xdb1f18(_0x32d337,_0x429e1d)};break;case _0x2e62('0x1d'):_0x429e1d='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x19a569={'type':'format','content':_0xdb1f18(_0x32d337,_0x429e1d,_0x5a1e70[_0x2e62('0x17')][0x0]['startIndex'])};}return _0x19a569;}[_0x2e62('0x12')](){const _0x36deaf=this[_0x2e62('0x13')][_0x2e62('0x1c')][_0x2e62('0x2')](_0x2e62('0x15'));let _0x2b8496=Array[_0x2e62('0x6')](this[_0x2e62('0x13')][_0x2e62('0x29')]['document'][_0x2e62('0x0')]['getSelectedBlocks']());return _0x2b8496[_0x2e62('0x2c')](..._0x36deaf[_0x2e62('0x1e')](_0x2b8496)),_0x2b8496=[...new Set(_0x2b8496)],_0x2b8496;}[_0x2e62('0xa')](_0x3f8657){const _0x565080=this['editor'][_0x2e62('0x1c')][_0x2e62('0x2')](_0x2e62('0x15'));let _0x296c64=Array[_0x2e62('0x6')](this[_0x2e62('0x13')][_0x2e62('0x29')][_0x2e62('0x5')][_0x2e62('0x0')][_0x2e62('0x1f')]())[_0x2e62('0x23')](_0x3f8657);if(!_0x296c64[_0x2e62('0x4')])return null;_0x296c64=_0x565080[_0x2e62('0x1e')](_0x296c64);const _0x6f9159=[];for(const _0x1f128e of _0x296c64)_0x565080[_0x2e62('0x24')](_0x1f128e)&&_0x6f9159['push'](_0x1f128e);return _0x6f9159;}['_getTranslationKeyForListStyle'](_0x4587c6){return'ELEMENT_'+this['editor'][_0x2e62('0x1c')][_0x2e62('0x2')](_0x2e62('0x2d'))['getListTypeFromListStyleType'](_0x4587c6)[_0x2e62('0x2a')]()+_0x2e62('0x18')+_0x4587c6[_0x2e62('0x2a')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25ab=['model','plugins','getFirstPosition','addMarker:suggestion:insertion','enter','high','TrackChangesEditing','enterBlock','selection','split','parent','editing','mapper','fromRange','detach','unbindElementFromMarkerName','commands','getFirstRange','hasClass','requires','markerName','bind','ck-suggestion-marker-split','change','fire','removeMarker:suggestion:insertion','writer','data','createRange','enableCommand','afterExecute'];(function(_0x18f2d9,_0x25abde){const _0x42d1f6=function(_0x1ddf09){while(--_0x1ddf09){_0x18f2d9['push'](_0x18f2d9['shift']());}};_0x42d1f6(++_0x25abde);}(_0x25ab,0xcc));const _0x42d1=function(_0x18f2d9,_0x25abde){_0x18f2d9=_0x18f2d9-0x0;let _0x42d1f6=_0x25ab[_0x18f2d9];return _0x42d1f6;};import{Plugin as _0x485e19}from'ckeditor5/src/core';import{Enter as _0x405fa8}from'ckeditor5/src/enter';import{LiveRange as _0x4c798e}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xb661b7}from'./utils';export default class q extends _0x485e19{static get[_0x42d1('0x1')](){return[_0x405fa8];}['init'](){const _0xf4a075=this['editor'],_0x19ba2a=_0xf4a075[_0x42d1('0xe')]['get'](_0x42d1('0x13')),_0x34e212=_0xf4a075[_0x42d1('0x1d')]['get'](_0x42d1('0x11'));_0x19ba2a[_0x42d1('0xb')]('enter',()=>{_0xf4a075[_0x42d1('0xd')][_0x42d1('0x5')](_0x411615=>{const _0x4e974a=_0xf4a075[_0x42d1('0xd')]['document'][_0x42d1('0x15')],_0x19d34d=_0x4e974a[_0x42d1('0xf')](),_0x23be02=_0x4c798e[_0x42d1('0x1a')](_0x4e974a[_0x42d1('0x1e')]());if(_0x34e212[_0x42d1('0x14')](_0x411615)){const _0x59b8f9=_0xf4a075[_0x42d1('0xd')]['createPositionAt'](_0x19d34d[_0x42d1('0x17')]['nextSibling'],0x0),_0x50b871=_0x411615['createRange'](_0x19d34d,_0x59b8f9);_0x19ba2a['markInsertion'](_0x50b871);}else _0x411615['setSelection'](_0x411615[_0x42d1('0xa')](_0x23be02['end']));_0x23be02[_0x42d1('0x1b')](),_0x34e212[_0x42d1('0x6')](_0x42d1('0xc'),{'writer':_0x411615});});}),_0xf4a075['editing']['downcastDispatcher']['on'](_0x42d1('0x10'),_0xb661b7(_0xf4a075,_0x42d1('0x16')),{'priority':_0x42d1('0x12')}),_0xf4a075[_0x42d1('0x18')]['downcastDispatcher']['on'](_0x42d1('0x7'),(_0xe8414e,_0x248ed0,_0x4a46b8)=>{const _0xcc3912=_0x4a46b8[_0x42d1('0x19')]['markerNameToElements'](_0x248ed0['markerName']);if(_0xcc3912)for(const _0x2879ed of _0xcc3912)_0x2879ed[_0x42d1('0x0')](_0x42d1('0x4'))&&(_0x4a46b8['mapper'][_0x42d1('0x1c')](_0x2879ed,_0x248ed0[_0x42d1('0x2')]),_0x4a46b8[_0x42d1('0x8')]['remove'](_0x2879ed));},{'priority':'high'}),_0xf4a075[_0x42d1('0x9')]['downcastDispatcher']['on'](_0x42d1('0x10'),(_0x796439,_0xce1b42,_0xb624ce)=>{_0xb624ce['options']['showSuggestionHighlights']&&_0xb661b7(_0xf4a075,_0x42d1('0x16'),{'showActiveMarker':!0x1})[_0x42d1('0x3')](this)(_0x796439,_0xce1b42,_0xb624ce);},{'priority':_0x42d1('0x12')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2828=['plugins','markers','has','enableCommand','get','getMarkersGroup','end','filter','_isInDeletionRange','TrackChangesEditing','afterInit','findByTextCallback','getIntersection','handleFindCommand','findNext','FindAndReplaceUtils','createPositionAt','editor','start','FindAndReplaceEditing','bind','suggestion:deletion','replaceAll','item','model'];(function(_0x27e2c7,_0x2828d6){const _0x55716e=function(_0x111579){while(--_0x111579){_0x27e2c7['push'](_0x27e2c7['shift']());}};_0x55716e(++_0x2828d6);}(_0x2828,0x10b));const _0x5571=function(_0x27e2c7,_0x2828d6){_0x27e2c7=_0x27e2c7-0x0;let _0x55716e=_0x2828[_0x27e2c7];return _0x55716e;};import{Plugin as _0x3c5985}from'ckeditor5/src/core';export default class z extends _0x3c5985{[_0x5571('0x12')](){if(!this['editor'][_0x5571('0x8')][_0x5571('0xa')](_0x5571('0x2')))return;const _0x1b8a50=this['editor'][_0x5571('0x8')][_0x5571('0xc')](_0x5571('0x11'));_0x1b8a50[_0x5571('0xb')]('find',this[_0x5571('0x15')][_0x5571('0x3')](this)),_0x1b8a50[_0x5571('0xb')](_0x5571('0x16')),_0x1b8a50[_0x5571('0xb')]('findPrevious'),_0x1b8a50['enableCommand']('replace'),_0x1b8a50[_0x5571('0xb')](_0x5571('0x5'));}['handleFindCommand'](_0x3c54bf,_0x1fd089,_0x4562cb={}){const _0x248d34=this[_0x5571('0x0')][_0x5571('0x8')][_0x5571('0xc')](_0x5571('0x17'));void 0x0!==_0x4562cb&&_0x3c54bf(_0x281ce2=>('string'==typeof _0x1fd089?_0x248d34[_0x5571('0x13')](_0x1fd089,_0x4562cb):_0x1fd089)(_0x281ce2)[_0x5571('0xf')](_0x47715b=>!0x1===this['_isInDeletionRange'](_0x47715b,_0x281ce2[_0x5571('0x6')])),_0x4562cb);}[_0x5571('0x10')](_0x14ab40,_0x4e0182){const _0x8bd660=this[_0x5571('0x0')][_0x5571('0x7')]['createRange'](this[_0x5571('0x0')][_0x5571('0x7')][_0x5571('0x18')](_0x4e0182,_0x14ab40[_0x5571('0x1')]),this['editor']['model'][_0x5571('0x18')](_0x4e0182,_0x14ab40[_0x5571('0xe')]));for(const _0x52f76b of this[_0x5571('0x0')][_0x5571('0x7')][_0x5571('0x9')][_0x5571('0xd')](_0x5571('0x4')))if(null!==_0x8bd660[_0x5571('0x14')](_0x52f76b['getRange']()))return!0x0;return!0x1;}}
|