@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231010.0 → 0.0.0-nightly-20231011.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +21 -0
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +5 -2
- 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-20231011.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-20231011.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231011.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 _0x2655=['model','track-changes-accept-suggestion-not-found','canEditAt','isEnabled','acceptSuggestion','_suggestions','refresh','TrackChangesEditing','execute','_isEnabledBasedOnSelection','plugins','editor','get','getRanges'];(function(_0x2be75e,_0x2655fa){const _0x109923=function(_0x42a50b){while(--_0x42a50b){_0x2be75e['push'](_0x2be75e['shift']());}};_0x109923(++_0x2655fa);}(_0x2655,0x11c));const _0x1099=function(_0x2be75e,_0x2655fa){_0x2be75e=_0x2be75e-0x0;let _0x109923=_0x2655[_0x2be75e];return _0x109923;};import{Command as _0x49288e}from'ckeditor5/src/core';import{CKEditorError as _0x582927}from'ckeditor5/src/utils';export default class M extends _0x49288e{constructor(_0x4c81b0,_0x5e1d36){super(_0x4c81b0),this[_0x1099('0x1')]=_0x5e1d36,this[_0x1099('0x2')](),this[_0x1099('0x5')]=!0x1;}[_0x1099('0x2')](){this[_0x1099('0xd')]=!0x0;}[_0x1099('0x4')](_0x487cc6){const _0x5c28dc=this[_0x1099('0x1')]['get'](_0x487cc6);if(!_0x5c28dc)throw new _0x582927(_0x1099('0xb'),this);const _0x4fa417=_0x5c28dc[_0x1099('0x9')]();this[_0x1099('0x7')][_0x1099('0xa')][_0x1099('0xc')](_0x4fa417)&&this['editor'][_0x1099('0x6')][_0x1099('0x8')](_0x1099('0x3'))[_0x1099('0x0')](_0x5c28dc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x204e=['canEditAt','_suggestions','_isEnabledBasedOnSelection','refresh','get','editor','model','discardSuggestion','track-changes-discard-suggestion-not-found'];(function(_0x357e4b,_0x204ebb){const _0x16fe05=function(_0x22db20){while(--_0x22db20){_0x357e4b['push'](_0x357e4b['shift']());}};_0x16fe05(++_0x204ebb);}(_0x204e,0x144));const _0x16fe=function(_0x357e4b,_0x204ebb){_0x357e4b=_0x357e4b-0x0;let _0x16fe05=_0x204e[_0x357e4b];return _0x16fe05;};import{Command as _0x8a5bc8}from'ckeditor5/src/core';import{CKEditorError as _0x3c7117}from'ckeditor5/src/utils';export default class $ extends _0x8a5bc8{constructor(_0x37481e,_0x3b7a1b){super(_0x37481e),this[_0x16fe('0x1')]=_0x3b7a1b,this['refresh'](),this[_0x16fe('0x2')]=!0x1;}[_0x16fe('0x3')](){this['isEnabled']=!0x0;}['execute'](_0x403a33){const _0x37b160=this[_0x16fe('0x1')][_0x16fe('0x4')](_0x403a33);if(!_0x37b160)throw new _0x3c7117(_0x16fe('0x8'),this);const _0x2bf669=_0x37b160['getRanges']();this[_0x16fe('0x5')][_0x16fe('0x6')][_0x16fe('0x0')](_0x2bf669)&&this['editor']['plugins'][_0x16fe('0x4')]('TrackChangesEditing')[_0x16fe('0x7')](_0x37b160);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2033=['getRanges','execute','_isEnabledBasedOnSelection','model','_suggestions','refresh','_command','some','from','canEditAt','isEnabled','values'];(function(_0x26fee6,_0x20334a){const _0x156ad9=function(_0x59eda8){while(--_0x59eda8){_0x26fee6['push'](_0x26fee6['shift']());}};_0x156ad9(++_0x20334a);}(_0x2033,0x107));const _0x156a=function(_0x26fee6,_0x20334a){_0x26fee6=_0x26fee6-0x0;let _0x156ad9=_0x2033[_0x26fee6];return _0x156ad9;};import{Command as _0x5db883}from'ckeditor5/src/core';import{sortSuggestions as _0x1dfd56,executeCommandForSuggestions as _0x531faf}from'../utils/utils';export default class N extends _0x5db883{constructor(_0x4267de,_0x54dec0,_0x1ccd69){super(_0x4267de),this[_0x156a('0x7')]=_0x54dec0,this[_0x156a('0x5')]=_0x1ccd69,this[_0x156a('0x6')](),this[_0x156a('0x3')]=!0x1;}['refresh'](){const _0x141aa4=Array['from'](this[_0x156a('0x5')][_0x156a('0x0')]())[_0x156a('0x8')](_0x211213=>_0x211213['isInContent']);this[_0x156a('0xb')]=this[_0x156a('0x7')][_0x156a('0xb')]&&_0x141aa4;}[_0x156a('0x2')](){const _0xf3515e=_0x1dfd56(Array[_0x156a('0x9')](this[_0x156a('0x5')][_0x156a('0x0')]()));for(const _0x474c2b of _0xf3515e){const _0x38ae0b=_0x474c2b[_0x156a('0x1')]();if(!this['editor'][_0x156a('0x4')][_0x156a('0xa')](_0x38ae0b))return;}_0x531faf(this['editor']['model'],this['_command'],_0xf3515e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bb2=['canEditAt','isEnabled','_command','_isEnabledBasedOnSelection','from','editor','selection','size','getRanges','model','_suggestions','_selectedSuggestions','values','document'];(function(_0x1a25bd,_0x3bb285){const _0x26f2b4=function(_0x3df713){while(--_0x3df713){_0x1a25bd['push'](_0x1a25bd['shift']());}};_0x26f2b4(++_0x3bb285);}(_0x3bb2,0xd1));const _0x26f2=function(_0x1a25bd,_0x3bb285){_0x1a25bd=_0x1a25bd-0x0;let _0x26f2b4=_0x3bb2[_0x1a25bd];return _0x26f2b4;};import{Command as _0xae019c}from'ckeditor5/src/core';import{sortSuggestions as _0x16deb1,getSelectedSuggestions as _0x16607b,executeCommandForSuggestions as _0x129e5d}from'../utils/utils';export default class R extends _0xae019c{constructor(_0x250e33,_0x139080,_0x14c92f){super(_0x250e33),this['_command']=_0x139080,this[_0x26f2('0xb')]=_0x14c92f,this['_selectedSuggestions']=new Set(),this['refresh'](),this[_0x26f2('0x4')]=!0x1;}['refresh'](){const _0x53e1e0=this[_0x26f2('0x6')][_0x26f2('0xa')][_0x26f2('0x0')][_0x26f2('0x7')],_0x338a19=Array[_0x26f2('0x5')](this['_suggestions'][_0x26f2('0xd')]());this[_0x26f2('0xc')]=_0x16607b(_0x53e1e0,_0x338a19),this[_0x26f2('0x2')]=this['_command'][_0x26f2('0x2')]&&!!this[_0x26f2('0xc')][_0x26f2('0x8')];}['execute'](){const _0x291b20=_0x16deb1(Array[_0x26f2('0x5')](this[_0x26f2('0xc')]));for(const _0x4f1884 of _0x291b20){const _0x29ff02=_0x4f1884[_0x26f2('0x9')]();if(!this[_0x26f2('0x6')]['model'][_0x26f2('0x1')](_0x29ff02))return;}_0x129e5d(this[_0x26f2('0x6')]['model'],this[_0x26f2('0x3')],_0x291b20);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24f7=['forceDisabled','editor','commands','refresh','TrackChangesCommand','has','_enableCommands','execute','_isEnabledBasedOnSelection','isEnabled','value','_enabledCommands','affectsData'];(function(_0x3ae52b,_0x24f750){const _0x359f81=function(_0x5bbf62){while(--_0x5bbf62){_0x3ae52b['push'](_0x3ae52b['shift']());}};_0x359f81(++_0x24f750);}(_0x24f7,0x15b));const _0x359f=function(_0x3ae52b,_0x24f750){_0x3ae52b=_0x3ae52b-0x0;let _0x359f81=_0x24f7[_0x3ae52b];return _0x359f81;};import{Command as _0x350e98}from'ckeditor5/src/core';export default class _ extends _0x350e98{constructor(_0x53a749,_0x4a414b){super(_0x53a749),this['_enabledCommands']=_0x4a414b,this[_0x359f('0x1')]=!0x1,this[_0x359f('0x7')](),this[_0x359f('0xc')]=!0x1;}[_0x359f('0x7')](){this[_0x359f('0x0')]=!0x0;}[_0x359f('0xb')](){this[_0x359f('0x1')]=!this[_0x359f('0x1')],this['value']?this['_disableUnsupportedCommands']():this[_0x359f('0xa')]();}['_disableUnsupportedCommands'](){for(const _0x3a2811 of this[_0x359f('0x5')]['commands']['commands']())_0x3a2811[_0x359f('0x3')]&&!this['_enabledCommands'][_0x359f('0x9')](_0x3a2811)&&_0x3a2811[_0x359f('0x4')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x37ea89 of this[_0x359f('0x5')][_0x359f('0x6')]['commands']())_0x37ea89[_0x359f('0x3')]&&!this[_0x359f('0x2')][_0x359f('0x9')](_0x37ea89)&&_0x37ea89['clearForceDisabled'](_0x359f('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa5cb=['afterInit','get','commands','showAIAssistant','editor','enableCommand'];(function(_0x20172c,_0xa5cbc){const _0xab6c01=function(_0x2318b3){while(--_0x2318b3){_0x20172c['push'](_0x20172c['shift']());}};_0xab6c01(++_0xa5cbc);}(_0xa5cb,0xea));const _0xab6c=function(_0x20172c,_0xa5cbc){_0x20172c=_0x20172c-0x0;let _0xab6c01=_0xa5cb[_0x20172c];return _0xab6c01;};import{Plugin as _0x3f91f0}from'ckeditor5/src/core';export default class j extends _0x3f91f0{[_0xab6c('0x0')](){const _0x34869c=this[_0xab6c('0x4')],_0x3434da=_0x34869c['plugins'][_0xab6c('0x1')]('TrackChangesEditing');_0x34869c[_0xab6c('0x2')][_0xab6c('0x1')](_0xab6c('0x3'))&&_0x3434da[_0xab6c('0x5')](_0xab6c('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21ba=['registerDescriptionCallback','_descriptionFactory','FORMAT_ALIGN_TO_RIGHT','contentLanguageDirection','enableCommand','afterInit','alignment','editor','FORMAT_ALIGN_TO_LEFT','locale','get','right','change','from','selection','ltr','commandParams','getSelectedBlocks','markBlockFormat','model','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','document','FORMAT_JUSTIFY_TEXT','filter','value','center','TrackChangesEditing','left'];(function(_0x538873,_0x21bafe){const _0x3aa43c=function(_0x47594a){while(--_0x47594a){_0x538873['push'](_0x538873['shift']());}};_0x3aa43c(++_0x21bafe);}(_0x21ba,0x1c3));const _0x3aa4=function(_0x538873,_0x21bafe){_0x538873=_0x538873-0x0;let _0x3aa43c=_0x21ba[_0x538873];return _0x3aa43c;};import{Plugin as _0x1752cb}from'ckeditor5/src/core';import{getTranslation as _0x183adf}from'../utils/common-translations';export default class x extends _0x1752cb{[_0x3aa4('0x12')](){const _0x4c772b=this[_0x3aa4('0x14')],_0x1cb569=_0x4c772b[_0x3aa4('0x16')];if(!_0x4c772b['plugins']['has']('AlignmentEditing'))return;const _0x25d8ae=_0x4c772b['plugins'][_0x3aa4('0x17')](_0x3aa4('0xb'));_0x25d8ae[_0x3aa4('0x11')]('alignment',(_0x4dc46f,_0x1fb268={})=>{let _0x29065c=_0x1fb268[_0x3aa4('0x9')];_0x1fb268[_0x3aa4('0x9')]||(_0x29065c=_0x3aa4('0x1c')===_0x4c772b[_0x3aa4('0x16')][_0x3aa4('0x10')]?'left':_0x3aa4('0x18'));const _0xbb4acc=Array[_0x3aa4('0x1a')](this[_0x3aa4('0x14')][_0x3aa4('0x3')][_0x3aa4('0x6')][_0x3aa4('0x1b')][_0x3aa4('0x1')]())[_0x3aa4('0x8')](_0x1eb656=>function(_0x37c521,_0x54cd63,_0x526e90){const _0x432987=_0x37c521['getAttribute'](_0x3aa4('0x13'))||null;return _0x54cd63['checkAttribute'](_0x37c521,_0x3aa4('0x13'))&&_0x526e90!=_0x432987;}(_0x1eb656,this[_0x3aa4('0x14')][_0x3aa4('0x3')]['schema'],_0x29065c));_0x4c772b[_0x3aa4('0x3')][_0x3aa4('0x19')](()=>{for(const _0x59a1f7 of _0xbb4acc)_0x25d8ae[_0x3aa4('0x2')](_0x59a1f7,{'commandName':_0x3aa4('0x13'),'commandParams':[{'value':_0x29065c}]});});}),_0x25d8ae[_0x3aa4('0xe')][_0x3aa4('0xd')](_0x14c08e=>{const {data:_0xed1fe3}=_0x14c08e;if(_0xed1fe3&&'alignment'==_0xed1fe3['commandName']){const _0x2eaf70=_0xed1fe3[_0x3aa4('0x0')][0x0][_0x3aa4('0x9')];return{'type':'format','content':_0x183adf(_0x1cb569,_0x3aa4('0x4'),function(_0x401412){switch(_0x401412){case _0x3aa4('0xc'):return _0x183adf(_0x1cb569,_0x3aa4('0x15'));case'right':return _0x183adf(_0x1cb569,_0x3aa4('0xf'));case _0x3aa4('0xa'):return _0x183adf(_0x1cb569,_0x3aa4('0x5'));case'justify':return _0x183adf(_0x1cb569,_0x3aa4('0x7'));}}(_0x2eaf70))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1713=['superscript','locale','*Format:*\x20%0','format','toLowerCase','_descriptionFactory','CodeEditing','from','commands','commandParams','FORMAT_CODE','markInlineFormat','selection','FORMAT_STRIKETHROUGH','isCollapsed','bold','SuperscriptEditing','plugins','slice','underline','enableCommand','get','ItalicEditing','FORMAT_SUBSCRIPT','FORMAT_UNDERLINE','FORMAT_ITALIC','StrikethroughEditing','forceValue','UnderlineEditing','subscript','model','afterInit','SubscriptEditing','BoldEditing','document','has','code','strikethrough','editor','getRanges'];(function(_0x1719d7,_0x171325){const _0x322502=function(_0x3efc50){while(--_0x3efc50){_0x1719d7['push'](_0x1719d7['shift']());}};_0x322502(++_0x171325);}(_0x1713,0xc5));const _0x3225=function(_0x1719d7,_0x171325){_0x1719d7=_0x1719d7-0x0;let _0x322502=_0x1713[_0x1719d7];return _0x322502;};import{Plugin as _0x4e2e92}from'ckeditor5/src/core';import{getTranslation as _0x4d4225}from'../utils/common-translations';import{getRangesWithAttribute as _0x4cb879}from'./utils';const Zt=[_0x3225('0x24'),_0x3225('0x19'),_0x3225('0x1f'),_0x3225('0x9'),_0x3225('0x1d'),_0x3225('0x23'),_0x3225('0x13')];export default class U extends _0x4e2e92{[_0x3225('0x22')](){const _0x185763=this[_0x3225('0x1')],_0x398700=_0x185763[_0x3225('0x21')],_0x14b76c=_0x185763[_0x3225('0x14')][_0x3225('0x18')]('TrackChangesEditing'),_0x1fbb2d=_0x185763[_0x3225('0x4')];for(const _0x11688a of Zt){if(!_0x185763[_0x3225('0x14')][_0x3225('0x26')](_0x11688a))continue;const _0x357506=_0x11688a[_0x3225('0x15')](0x0,-0x7)[_0x3225('0x7')](),_0x51c803=_0x185763[_0x3225('0xb')][_0x3225('0x18')](_0x357506);_0x14b76c[_0x3225('0x17')](_0x357506,(_0x55b5ac,_0xe00b12={})=>{const _0x14dd6a=_0x398700[_0x3225('0x25')][_0x3225('0xf')];if(_0x14dd6a[_0x3225('0x11')])return void _0x55b5ac(_0xe00b12);const _0x534956=void 0x0!==_0xe00b12[_0x3225('0x1e')]?_0xe00b12[_0x3225('0x1e')]:!_0x51c803['value'];_0x398700['change'](()=>{const _0x4a361c=Array[_0x3225('0xa')](_0x14dd6a[_0x3225('0x2')]());for(const _0x5d3d8d of _0x4a361c){const _0x214b50=_0x534956?[_0x5d3d8d]:_0x4cb879(_0x357506,_0x5d3d8d,_0x398700);for(const _0x1bb105 of _0x214b50)_0x14b76c[_0x3225('0xe')](_0x1bb105,{'commandName':_0x357506,'commandParams':[{'forceValue':_0x534956}]});}});});}function _0x23a310(_0xe06b46,_0x3e22fc){_0x14b76c[_0x3225('0x8')]['registerDescriptionCallback'](_0x1242e2=>{const {data:_0x54b360}=_0x1242e2;if(_0x54b360&&_0x54b360['commandName']===_0xe06b46)return _0x54b360[_0x3225('0xc')][0x0][_0x3225('0x1e')]?{'type':_0x3225('0x6'),'content':_0x4d4225(_0x1fbb2d,_0x3225('0x5'),_0x3e22fc)}:{'type':_0x3225('0x6'),'content':_0x4d4225(_0x1fbb2d,'*Remove\x20format:*\x20%0',_0x3e22fc)};});}_0x23a310(_0x3225('0x12'),_0x4d4225(_0x1fbb2d,'FORMAT_BOLD')),_0x23a310('italic',_0x4d4225(_0x1fbb2d,_0x3225('0x1c'))),_0x23a310(_0x3225('0x16'),_0x4d4225(_0x1fbb2d,_0x3225('0x1b'))),_0x23a310(_0x3225('0x27'),_0x4d4225(_0x1fbb2d,_0x3225('0xd'))),_0x23a310(_0x3225('0x0'),_0x4d4225(_0x1fbb2d,_0x3225('0x10'))),_0x23a310(_0x3225('0x20'),_0x4d4225(_0x1fbb2d,_0x3225('0x1a'))),_0x23a310(_0x3225('0x3'),_0x4d4225(_0x1fbb2d,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x682c=['commands','*Format:*\x20%0','get','BlockQuoteEditing','name','editor','_descriptionFactory','$root','selection','value','locale','TrackChangesEditing','forceValue','schema','model','ELEMENT_BLOCK_QUOTE','commandName','parent','blockQuote','plugins','from','document','commandParams','getSelectedBlocks','markBlockFormat','registerDescriptionCallback','afterInit','*Remove\x20format:*\x20%0','format'];(function(_0x478384,_0x682c3e){const _0x2118ec=function(_0x5a988f){while(--_0x5a988f){_0x478384['push'](_0x478384['shift']());}};_0x2118ec(++_0x682c3e);}(_0x682c,0x190));const _0x2118=function(_0x478384,_0x682c3e){_0x478384=_0x478384-0x0;let _0x2118ec=_0x682c[_0x478384];return _0x2118ec;};import{Plugin as _0x194243}from'ckeditor5/src/core';import{getTranslation as _0x45869d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1b5a91}from'../utils/utils';export default class O extends _0x194243{[_0x2118('0x3')](){const _0x5d1ffa=this['editor'],_0x3726ff=_0x5d1ffa[_0x2118('0x10')];if(!_0x5d1ffa[_0x2118('0x19')]['has'](_0x2118('0x9')))return;const _0x4cf0bf=_0x5d1ffa['plugins'][_0x2118('0x8')](_0x2118('0x11')),_0x13525c=this['editor'][_0x2118('0x6')]['get'](_0x2118('0x18'));_0x4cf0bf['enableCommand'](_0x2118('0x18'),(_0x4ef2f0,_0x1dc11b={})=>{const _0x552ae8=this[_0x2118('0xb')][_0x2118('0x14')][_0x2118('0x1b')][_0x2118('0xe')],_0x4b41c4=_0x1dc11b&&void 0x0!==_0x1dc11b['forceValue']?_0x1dc11b['forceValue']:!_0x13525c[_0x2118('0xf')];let _0x3fc1e2=[];if(_0x4b41c4){const _0x2bbe94=Array[_0x2118('0x1a')](_0x552ae8[_0x2118('0x0')]())['filter'](_0x12b5a5=>oo(_0x12b5a5)||function(_0x220c9a,_0x104635){const _0x2a43e9=_0x104635['checkChild'](_0x220c9a[_0x2118('0x17')],'blockQuote'),_0xb19453=_0x104635['checkChild']([_0x2118('0xd'),'blockQuote'],_0x220c9a);return _0x2a43e9&&_0xb19453;}(_0x12b5a5,this[_0x2118('0xb')][_0x2118('0x14')][_0x2118('0x13')]));_0x3fc1e2=_0x1b5a91(_0x2bbe94,_0x5d1ffa['model']);}else{const _0x2d6b4e=Array['from'](_0x552ae8['getSelectedBlocks']())['filter'](_0x7148f5=>oo(_0x7148f5));_0x3fc1e2=_0x1b5a91(_0x2d6b4e,_0x5d1ffa[_0x2118('0x14')]);}_0x5d1ffa[_0x2118('0x14')]['change'](()=>{for(const _0x3b1196 of _0x3fc1e2)_0x4cf0bf[_0x2118('0x1')](_0x3b1196,{'commandName':_0x2118('0x18'),'commandParams':[{'forceValue':_0x4b41c4}]});});}),_0x4cf0bf[_0x2118('0xc')][_0x2118('0x2')](_0x47a244=>{const {data:_0x87af1b}=_0x47a244;if(_0x87af1b&&_0x2118('0x18')==_0x87af1b[_0x2118('0x16')]){const _0x4f9d04=_0x45869d(_0x3726ff,_0x2118('0x15'));return _0x87af1b[_0x2118('0x1c')][0x0][_0x2118('0x12')]?{'type':'format','content':_0x45869d(_0x3726ff,_0x2118('0x7'),_0x4f9d04)}:{'type':_0x2118('0x5'),'content':_0x45869d(_0x3726ff,_0x2118('0x4'),_0x4f9d04)};}});}}function oo(_0x11a8df){return _0x2118('0x18')==_0x11a8df[_0x2118('0x17')][_0x2118('0xa')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51ce=['afterInit','editor','ckbox','enableCommand','commands','get','plugins','TrackChangesEditing'];(function(_0x21a002,_0x51ce95){const _0x5bfefd=function(_0x20b123){while(--_0x20b123){_0x21a002['push'](_0x21a002['shift']());}};_0x5bfefd(++_0x51ce95);}(_0x51ce,0xf1));const _0x5bfe=function(_0x21a002,_0x51ce95){_0x21a002=_0x21a002-0x0;let _0x5bfefd=_0x51ce[_0x21a002];return _0x5bfefd;};import{Plugin as _0x3b2a86}from'ckeditor5/src/core';export default class E extends _0x3b2a86{[_0x5bfe('0x7')](){const _0x4d60b8=this[_0x5bfe('0x0')];_0x4d60b8[_0x5bfe('0x3')][_0x5bfe('0x4')](_0x5bfe('0x1'))&&_0x4d60b8[_0x5bfe('0x5')][_0x5bfe('0x4')](_0x5bfe('0x6'))[_0x5bfe('0x2')](_0x5bfe('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33cd=['commandParams','enableCommand','TrackChangesEditing','commandName','ELEMENT_CODE_BLOCK','registerDescriptionCallback','blockName','plugins','parent','_descriptionFactory','get','label','markBlockFormat','outdentCodeBlock','forceValue','has','from','codeBlock','registerElementLabel','rootElement','languages','*Remove\x20format:*\x20%0','CodeBlock','find','config','value','selection','isLimit','document','language','formatBlock','afterInit','*Format:*\x20%0','schema','filter','checkChild','format','name'];(function(_0xe9190,_0x33cd61){const _0x3645be=function(_0x4ea1e9){while(--_0x4ea1e9){_0xe9190['push'](_0xe9190['shift']());}};_0x3645be(++_0x33cd61);}(_0x33cd,0x67));const _0x3645=function(_0xe9190,_0x33cd61){_0xe9190=_0xe9190-0x0;let _0x3645be=_0x33cd[_0xe9190];return _0x3645be;};import{Plugin as _0x21dade}from'ckeditor5/src/core';import{getTranslation as _0x4364f6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x23c9de}from'../utils/utils';export default class F extends _0x21dade{[_0x3645('0x4')](){const _0xc38e2e=this['editor'];if(!_0xc38e2e[_0x3645('0x12')][_0x3645('0x1a')](_0x3645('0x21')))return;const _0x432e2c=_0xc38e2e['plugins'][_0x3645('0x15')](_0x3645('0xd')),_0x3e064c=_0xc38e2e['locale'],_0x6fbc2=_0xc38e2e[_0x3645('0x23')][_0x3645('0x15')](_0x3645('0x1c'))[_0x3645('0x1f')],_0x2177af=_0xc38e2e['commands']['get'](_0x3645('0x1c'));_0x432e2c[_0x3645('0xc')]('indentCodeBlock'),_0x432e2c[_0x3645('0xc')](_0x3645('0x18')),_0x432e2c[_0x3645('0xc')]('codeBlock',(_0x5a00d1,_0x442636={})=>{const _0x4acc7f=_0xc38e2e['model'],_0x4cc39f=_0xc38e2e['model'][_0x3645('0x1')][_0x3645('0x25')],_0x365c2c=_0x442636&&void 0x0!==_0x442636['forceValue']?_0x442636[_0x3645('0x19')]:!_0x2177af[_0x3645('0x24')];let _0x231412;_0x442636[_0x3645('0x2')]||(_0x442636[_0x3645('0x2')]=_0x6fbc2[0x0]['language']),_0x231412=_0x365c2c?Array[_0x3645('0x1b')](_0x4cc39f['getSelectedBlocks']())['filter'](_0xe932cc=>co(_0xe932cc)||function(_0xc9d1fb,_0x595e3c){if(_0xc9d1fb['is'](_0x3645('0x1e'))||_0x595e3c[_0x3645('0x0')](_0xc9d1fb))return!0x1;return _0x595e3c[_0x3645('0x8')](_0xc9d1fb[_0x3645('0x13')],'codeBlock');}(_0xe932cc,_0x4acc7f[_0x3645('0x6')])):Array[_0x3645('0x1b')](_0x4cc39f['getSelectedBlocks']())[_0x3645('0x7')](_0xc49a45=>co(_0xc49a45));const _0x1cbe40=_0x23c9de(_0x231412,_0x4acc7f);_0x4acc7f['change'](()=>{for(const _0x438f65 of _0x1cbe40)_0x432e2c[_0x3645('0x17')](_0x438f65,{'commandName':_0x3645('0x1c'),'commandParams':[{..._0x442636,'forceValue':_0x365c2c}],'formatGroupId':_0x3645('0x11')});});}),(_0x432e2c[_0x3645('0x14')][_0x3645('0x1d')]('codeBlock',_0x66107f=>_0x4364f6(_0x3e064c,_0x3645('0xf'),_0x66107f)),_0x432e2c[_0x3645('0x14')][_0x3645('0x10')](_0x55b359=>{const _0x488973=_0x3e064c['t'],{type:_0xcc30f9,data:_0x1c6d78}=_0x55b359;if(_0x3645('0x3')==_0xcc30f9&&_0x1c6d78&&_0x3645('0x1c')==_0x1c6d78[_0x3645('0xe')]){const _0x403010=_0x1c6d78[_0x3645('0xb')][0x0][_0x3645('0x2')],_0x13c313=_0x488973(_0x6fbc2[_0x3645('0x22')](_0x790eb8=>_0x790eb8[_0x3645('0x2')]===_0x403010)[_0x3645('0x16')]);return _0x1c6d78[_0x3645('0xb')][0x0][_0x3645('0x19')]?{'type':'format','content':_0x4364f6(_0x3e064c,_0x3645('0x5'),_0x4364f6(_0x3e064c,_0x3645('0xf'),0x1)+'\x20('+_0x13c313+')')}:{'type':_0x3645('0x9'),'content':_0x4364f6(_0x3e064c,_0x3645('0x20'),_0x4364f6(_0x3e064c,_0x3645('0xf'),0x1))};}}));}}function co(_0x50367f){return _0x3645('0x1c')==_0x50367f[_0x3645('0xa')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32af=['editor','addCommentThread','get','CommentsEditing','TrackChangesEditing','enableCommand','has','plugins','afterInit'];(function(_0x59cf4b,_0x32afe4){const _0xeb6e73=function(_0xb59222){while(--_0xb59222){_0x59cf4b['push'](_0x59cf4b['shift']());}};_0xeb6e73(++_0x32afe4);}(_0x32af,0x1dd));const _0xeb6e=function(_0x59cf4b,_0x32afe4){_0x59cf4b=_0x59cf4b-0x0;let _0xeb6e73=_0x32af[_0x59cf4b];return _0xeb6e73;};import{Plugin as _0x9a706e}from'ckeditor5/src/core';export default class G extends _0x9a706e{[_0xeb6e('0x8')](){const _0x3b6dfc=this[_0xeb6e('0x0')];if(!_0x3b6dfc['plugins'][_0xeb6e('0x6')](_0xeb6e('0x3')))return;_0x3b6dfc[_0xeb6e('0x7')][_0xeb6e('0x2')](_0xeb6e('0x4'))[_0xeb6e('0x5')](_0xeb6e('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x921a=['buffer','enableCommand','root','unbindElementFromMarkerName','unlock','editing','addMarker:suggestion:deletion','unit','options','editor','modifySelection','createSelection','requires','createRange','plugins','end','markerName','high','get','merge','deleteForward','document','mapper','lock','isCollapsed','model','$graveyard','getFirstRange','downcastDispatcher','data','start','fromRange','writer','detach'];(function(_0x5a8a75,_0x921a32){const _0x56f4e2=function(_0x4a9726){while(--_0x4a9726){_0x5a8a75['push'](_0x5a8a75['shift']());}};_0x56f4e2(++_0x921a32);}(_0x921a,0x1e0));const _0x56f4=function(_0x5a8a75,_0x921a32){_0x5a8a75=_0x5a8a75-0x0;let _0x56f4e2=_0x921a[_0x5a8a75];return _0x56f4e2;};import{Plugin as _0x243c88}from'ckeditor5/src/core';import{LiveRange as _0x7ca718}from'ckeditor5/src/engine';import{Delete as _0x509bee}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x534239}from'./utils';export default class L extends _0x243c88{static get[_0x56f4('0x8')](){return[_0x509bee];}['init'](){const _0x661976=this[_0x56f4('0x5')],_0x2582a1=_0x661976[_0x56f4('0xa')][_0x56f4('0xe')]('TrackChangesEditing');_0x2582a1[_0x56f4('0x1f')]('delete');const _0x151904=_0x661976['commands'][_0x56f4('0xe')]('deleteForward');_0x2582a1[_0x56f4('0x1f')](_0x56f4('0x10'),(_0x3e4779,_0x2eca2c={})=>{const _0x100e07=_0x661976['model'][_0x56f4('0x7')](_0x661976[_0x56f4('0x15')][_0x56f4('0x11')]['selection']);_0x100e07[_0x56f4('0x14')]&&_0x661976[_0x56f4('0x15')][_0x56f4('0x6')](_0x100e07,{'direction':'forward','unit':_0x2eca2c[_0x56f4('0x3')]});const _0x4e8280=_0x100e07[_0x56f4('0x17')](),_0x320f8e=_0x7ca718[_0x56f4('0x1b')](_0x4e8280);let _0x45c135;_0x3e4779(_0x2eca2c),_0x45c135=_0x56f4('0x16')==_0x320f8e[_0x56f4('0x20')]['rootName']?_0x661976['model']['createRange'](_0x4e8280[_0x56f4('0x1a')]):_0x661976[_0x56f4('0x15')][_0x56f4('0x9')](_0x320f8e[_0x56f4('0x1a')],_0x320f8e[_0x56f4('0xb')]),_0x320f8e[_0x56f4('0x1d')](),_0x661976['model']['enqueueChange'](_0x151904[_0x56f4('0x1e')]['batch'],_0x2cc3fc=>{_0x151904[_0x56f4('0x1e')][_0x56f4('0x13')](),_0x2cc3fc['setSelection'](_0x2cc3fc[_0x56f4('0x9')](_0x45c135[_0x56f4('0xb')])),_0x151904[_0x56f4('0x1e')][_0x56f4('0x0')]();});}),_0x661976[_0x56f4('0x1')][_0x56f4('0x18')]['on'](_0x56f4('0x2'),_0x534239(_0x661976,_0x56f4('0xf')),{'priority':'high'}),_0x661976[_0x56f4('0x19')][_0x56f4('0x18')]['on'](_0x56f4('0x2'),(_0x5701e2,_0x4834ef,_0x4dacc0)=>{_0x4dacc0[_0x56f4('0x4')]['showSuggestionHighlights']&&_0x534239(_0x661976,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x5701e2,_0x4834ef,_0x4dacc0);},{'priority':_0x56f4('0xd')}),_0x661976[_0x56f4('0x1')][_0x56f4('0x18')]['on']('removeMarker:suggestion:deletion',(_0x35fa9f,_0xcf315c,_0x5dec80)=>{const _0x2a4188=_0x5dec80[_0x56f4('0x12')]['markerNameToElements'](_0xcf315c[_0x56f4('0xc')]);if(_0x2a4188)for(const _0x5e28a of _0x2a4188)_0x5e28a['is']('uiElement')&&(_0x5dec80['mapper'][_0x56f4('0x21')](_0x5e28a,_0xcf315c[_0x56f4('0xc')]),_0x5dec80[_0x56f4('0x1c')]['remove'](_0x5e28a));},{'priority':_0x56f4('0xd')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6b46=['containsItem','*Format:*\x20insert\x20into\x20%0','get','indentList','fromRange','listItemId','*Merge:*\x20%0','getAttribute','createRange','bulletedList','slice','registerElementLabel','selection','outdentList','parent','getFirstRange','findIndex','listIndent','change','numberedList','ELEMENT_BULLETED_LIST','next','list.multiBlock','value','ELEMENT_LIST_ITEM','deletion','documentList','enableCommand','accept','model','forceValue','execute','commandName','splitListItemAfter','setSelection','registerDescriptionCallback','start','*Indent:*\x20%0','getRanges','multipleBlocks','*Format:*\x20remove\x20from\x20%0','isFirstBlockOfListItem','refresh','nextSibling','length','ELEMENT_','DocumentListEditing','DocumentListUtils','listType','_LIST','splitListItemBefore','before','end','add','createPositionAt','commands','_suggestionFactory','plugins','schema','after','config','commandParams','format','push','markMultiRangeBlockFormat','markBlockFormat','_descriptionFactory','afterInit','document','mergeListItemBackward','TrackChangesEditing','locale','getSelectedBlocks','from','nodeAfter','registerCustomCallback','toUpperCase','detach','previousSibling'];(function(_0x22d591,_0x6b4601){const _0x267442=function(_0x195835){while(--_0x195835){_0x22d591['push'](_0x22d591['shift']());}};_0x267442(++_0x6b4601);}(_0x6b46,0xf6));const _0x2674=function(_0x22d591,_0x6b4601){_0x22d591=_0x22d591-0x0;let _0x267442=_0x6b46[_0x22d591];return _0x267442;};import{Plugin as _0x244999}from'ckeditor5/src/core';import{getTranslation as _0x416bf4}from'../utils/common-translations';import{LiveRange as _0x183626}from'ckeditor5/src/engine';export default class q extends _0x244999{[_0x2674('0x3a')](){const _0x1570a7=this['editor'];if(!_0x1570a7[_0x2674('0x30')]['has'](_0x2674('0x25')))return;const _0x44979f=_0x1570a7[_0x2674('0x3e')],_0x79883a=_0x1570a7['plugins'][_0x2674('0x48')](_0x2674('0x3d')),_0x3831af=_0x1570a7['plugins']['get'](_0x2674('0x26'));function _0x3af33(_0x79f95d){return()=>{const _0x192db0=_0x1570a7[_0x2674('0x2e')][_0x2674('0x48')](_0x79f95d);if(_0x192db0[_0x2674('0xe')]&&!_0x1570a7[_0x2674('0x33')]['get'](_0x2674('0xd')))return void _0x1570a7['execute']('paragraph',{});let _0x4479e4=Array['from'](_0x1570a7[_0x2674('0x14')]['document'][_0x2674('0x3')][_0x2674('0x3f')]());if(_0x1f8fbf(_0x79f95d)){_0x4479e4=_0x3831af['expandListBlocksToCompleteList'](_0x4479e4);const _0x30241b=[];for(const _0x568b51 of _0x4479e4)_0x3831af[_0x2674('0x20')](_0x568b51)&&_0x30241b[_0x2674('0x36')](_0x568b51);_0x4479e4=_0x30241b;}_0x1570a7[_0x2674('0x14')][_0x2674('0x9')](()=>{_0x79883a[_0x2674('0x37')](_0x4479e4,{'commandName':_0x79f95d,'commandParams':[{'forceValue':!_0x192db0[_0x2674('0xe')]}],'formatGroupId':_0x2674('0x27')},[],_0x2674('0x11'));});};}function _0x25c797(_0x47ace4){return()=>{const _0x66e030=function(_0x4267fa){let _0x26ea55=Array[_0x2674('0x40')](_0x4267fa);const _0x28ca5f=_0x26ea55[_0x2674('0x7')](_0x4c58fe=>!_0x4c58fe['hasAttribute'](_0x2674('0x4b')));return _0x28ca5f>-0x1&&(_0x26ea55=_0x26ea55[_0x2674('0x1')](0x0,_0x28ca5f)),_0x26ea55;}(_0x1570a7[_0x2674('0x14')]['document'][_0x2674('0x3')]['getSelectedBlocks']()),_0x25f381=_0x66e030[_0x66e030[_0x2674('0x23')]-0x1],_0x35e506=_0x1570a7[_0x2674('0x14')][_0x2674('0x31')]['isObject'](_0x25f381)?_0x2674('0x32'):_0x2674('0x2b'),_0x19c7d7=_0x1570a7[_0x2674('0x14')][_0x2674('0x4e')](_0x1570a7['model'][_0x2674('0x2d')](_0x66e030[0x0],_0x2674('0x2a')),_0x1570a7[_0x2674('0x14')]['createPositionAt'](_0x25f381,_0x35e506));_0x1570a7['model'][_0x2674('0x9')](()=>{_0x79883a[_0x2674('0x38')](_0x19c7d7,{'commandName':_0x47ace4,'commandParams':[],'formatGroupId':_0x2674('0x27')},function(_0x13340a){const _0x4715a4=new Set();for(const _0x138336 of _0x13340a){let _0x124bfb=_0x138336[_0x2674('0x22')];for(;_0x124bfb&&_0x124bfb[_0x2674('0x4d')](_0x2674('0x8'))>_0x138336[_0x2674('0x4d')](_0x2674('0x8'));)_0x4715a4[_0x2674('0x2c')](_0x124bfb),_0x124bfb=_0x124bfb[_0x2674('0x22')];}return Array[_0x2674('0x40')](_0x4715a4);}(_0x66e030));});};}function _0xc5b06a(_0x2ebebe){return()=>{const _0x5235f3=_0x1570a7[_0x2674('0x14')][_0x2674('0x3b')][_0x2674('0x3')][_0x2674('0x3f')]()[_0x2674('0xc')]()[_0x2674('0xe')],_0x7e1c5=_0x1570a7[_0x2674('0x14')][_0x2674('0x2d')](_0x5235f3,_0x2674('0x2a')),_0x592a81=_0x1570a7['model'][_0x2674('0x2d')](_0x5235f3,0x0),_0x4fa83b=_0x1570a7[_0x2674('0x14')][_0x2674('0x4e')](_0x7e1c5,_0x592a81);_0x1570a7[_0x2674('0x14')][_0x2674('0x9')](()=>{_0x79883a[_0x2674('0x38')](_0x4fa83b,{'commandName':_0x2ebebe,'commandParams':[],'formatGroupId':_0x2674('0x27')});});};}function _0x1f8fbf(_0x43241e){const _0x508d2c=_0x1570a7[_0x2674('0x2e')][_0x2674('0x48')](_0x2674('0x0'))[_0x2674('0xe')],_0x3f54be=_0x1570a7['commands'][_0x2674('0x48')](_0x2674('0xa'))[_0x2674('0xe')];return _0x2674('0xa')===_0x43241e?_0x508d2c:_0x3f54be;}_0x79883a['enableCommand'](_0x2674('0xa'),_0x3af33(_0x2674('0xa'))),_0x79883a['enableCommand'](_0x2674('0x0'),_0x3af33('bulletedList')),_0x79883a['enableCommand'](_0x2674('0x49'),_0x25c797('indentList')),_0x79883a[_0x2674('0x12')](_0x2674('0x4'),_0x25c797('outdentList')),_0x79883a[_0x2674('0x12')](_0x2674('0x18'),_0xc5b06a(_0x2674('0x18'))),_0x79883a[_0x2674('0x12')]('splitListItemBefore',_0xc5b06a(_0x2674('0x29'))),_0x79883a['_descriptionFactory'][_0x2674('0x2')](function(_0x4e524b){const _0x5eb3f7=!_0x1570a7[_0x2674('0x14')][_0x2674('0x31')]['isObject'](_0x4e524b),_0x106a95=_0x4e524b[_0x2674('0x45')],_0x198557=_0x4e524b['nextSibling'],_0x2f2aff=_0x4e524b[_0x2674('0x4d')](_0x2674('0x4b')),_0x4a95c6=!_0x106a95||_0x106a95[_0x2674('0x4d')](_0x2674('0x4b'))!==_0x2f2aff,_0xecd6e9=!_0x198557||_0x198557[_0x2674('0x4d')](_0x2674('0x4b'))!==_0x2f2aff;return _0x5eb3f7&&Boolean(_0x2f2aff)&&_0x4a95c6&&_0xecd6e9;},_0xac86c8=>_0x416bf4(_0x44979f,'ELEMENT_LIST_ITEM',_0xac86c8)),_0x79883a[_0x2674('0x39')][_0x2674('0x1a')](function(_0xace277){const {data:_0x235eea}=_0xace277;if(!_0x235eea)return;let _0x593bc3,_0x437d53,_0x55f2f2,_0xcc5af1;switch(_0x235eea[_0x2674('0x17')]){case _0x2674('0x0'):_0x55f2f2=_0x235eea['commandParams'][0x0]['forceValue'],_0xcc5af1=_0x1f8fbf(_0x235eea[_0x2674('0x17')]),_0x593bc3=_0x55f2f2?_0x2674('0x47'):'*Format:*\x20remove\x20from\x20%0',!_0xcc5af1&&_0x1570a7[_0x2674('0x33')][_0x2674('0x48')](_0x2674('0xd'))||(_0x593bc3='*Change\x20to:*\x20%0'),_0x437d53={'type':_0x2674('0x35'),'content':_0x416bf4(_0x44979f,_0x593bc3,_0x416bf4(_0x44979f,_0x2674('0xb')))};break;case _0x2674('0xa'):_0x55f2f2=_0x235eea['commandParams'][0x0][_0x2674('0x15')],_0xcc5af1=_0x1f8fbf(_0x235eea[_0x2674('0x17')]),_0x593bc3=_0x55f2f2?'*Format:*\x20insert\x20into\x20%0':_0x2674('0x1f'),!_0xcc5af1&&_0x1570a7[_0x2674('0x33')]['get'](_0x2674('0xd'))||(_0x593bc3='*Change\x20to:*\x20%0'),_0x437d53={'type':_0x2674('0x35'),'content':_0x416bf4(_0x44979f,_0x593bc3,_0x416bf4(_0x44979f,'ELEMENT_NUMBERED_LIST'))};break;case _0x2674('0x49'):_0x593bc3=_0x2674('0x1c'),_0x437d53={'type':_0x2674('0x35'),'content':_0x416bf4(_0x44979f,_0x593bc3,_0x416bf4(_0x44979f,_0x2674('0xf')))};break;case'outdentList':_0x593bc3=function(_0xf738f2){const _0x5d742d=_0xf738f2[_0x2674('0x6')]();let _0x15f3aa=_0x5d742d['start'][_0x2674('0x41')];for(;_0x15f3aa&&_0x5d742d[_0x2674('0x46')](_0x15f3aa);){if(_0x15f3aa[_0x2674('0x4d')]('listIndent')>0x0)return!0x1;_0x15f3aa=_0x15f3aa[_0x2674('0x22')];}return!0x0;}(_0xace277)?_0x416bf4(_0x44979f,_0x2674('0x1f'),_0x416bf4(_0x44979f,function(_0x4ca48e){const _0x3f7930=_0x4ca48e[_0x2674('0x6')]()[_0x2674('0x1b')][_0x2674('0x41')];return _0x2674('0x24')+_0x3f7930[_0x2674('0x4d')](_0x2674('0x27'))[_0x2674('0x43')]()+_0x2674('0x28');}(_0xace277))):_0x416bf4(_0x44979f,'*Outdent:*\x20%0',_0x416bf4(_0x44979f,'ELEMENT_LIST_ITEM')),_0x437d53={'type':_0x2674('0x35'),'content':_0x593bc3};break;case _0x2674('0x3c'):case'mergeListItemForward':!0x1===_0x235eea[_0x2674('0x1e')]&&(_0x593bc3=_0x2674('0x4c'),_0x437d53={'type':_0x2674('0x10'),'content':_0x416bf4(_0x44979f,_0x593bc3,_0x416bf4(_0x44979f,_0x2674('0xf')))});}return _0x437d53;}),_0x79883a[_0x2674('0x2f')][_0x2674('0x42')]('formatBlock',_0x2674('0x11'),_0x2674('0x13'),function(_0x5ae409,_0x478bb7){const _0x3c8ff4=[];for(let _0x1375b2 of _0x5ae409)_0x1375b2[_0x2674('0x1b')]['nodeAfter']===_0x1375b2[_0x2674('0x2b')][_0x2674('0x5')]&&(_0x1375b2=_0x1570a7[_0x2674('0x14')][_0x2674('0x4e')](_0x1570a7[_0x2674('0x14')][_0x2674('0x2d')](_0x1375b2['start'][_0x2674('0x41')],0x0))),_0x3c8ff4[_0x2674('0x36')](_0x1375b2);_0x1570a7[_0x2674('0x14')]['change'](_0x367c15=>{const _0x1c239d=_0x1570a7[_0x2674('0x14')]['document'][_0x2674('0x3')],_0x160e65=Array['from'](_0x1c239d[_0x2674('0x1d')]())['map'](_0x52eeea=>_0x183626[_0x2674('0x4a')](_0x52eeea));_0x367c15[_0x2674('0x19')](_0x3c8ff4),_0x1570a7['commands']['get'](_0x478bb7[_0x2674('0x17')])[_0x2674('0x21')](),_0x478bb7[_0x2674('0x34')]['push']({'forceDefaultExecution':!0x0}),_0x1570a7[_0x2674('0x16')](_0x478bb7[_0x2674('0x17')],..._0x478bb7[_0x2674('0x34')]),_0x367c15[_0x2674('0x19')](_0x160e65);for(const _0x20762a of _0x160e65)_0x20762a[_0x2674('0x44')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e00=['type','getListTypeFromListStyleType','DocumentListUtils','document','has','filter','handleListStyleCommand','TrackChangesEditing','editor','isFirstBlockOfListItem','ELEMENT_','get','afterInit','listType','commandParams','isListItemBlock','commandName','_getSuggestionBlocksForListStyle','handleListReversedCommand','toUpperCase','bind','markMultiRangeBlockFormat','handleDescriptions','enableCommand','format','from','getAttribute','DocumentListPropertiesUtils','numbered','startIndex','DocumentListPropertiesEditing','*Change\x20to:*\x20%0','listStyle','listReversed','_descriptionFactory','getSelectedBlocks','styles','handleListStartCommand','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20regular','push','_getTranslationKeyForListStyle','reversed','change','locale','expandListBlocksToCompleteList','model','plugins','listStart','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0'];(function(_0x38f7bd,_0x5e006b){const _0xd5342=function(_0x4da34d){while(--_0x4da34d){_0x38f7bd['push'](_0x38f7bd['shift']());}};_0xd5342(++_0x5e006b);}(_0x5e00,0x153));const _0xd534=function(_0x38f7bd,_0x5e006b){_0x38f7bd=_0x38f7bd-0x0;let _0xd5342=_0x5e00[_0x38f7bd];return _0xd5342;};import{Plugin as _0x3126ad}from'ckeditor5/src/core';import{getTranslation as _0x546524}from'../utils/common-translations';export default class Ct extends _0x3126ad{[_0xd534('0x1e')](){if(!this['editor'][_0xd534('0xe')][_0xd534('0x16')](_0xd534('0x30')))return;const _0x2ba0de=this['editor']['config'][_0xd534('0x1d')]('list.properties'),_0x2a2b86=this[_0xd534('0x1a')][_0xd534('0xe')][_0xd534('0x1d')](_0xd534('0x19'));_0x2ba0de[_0xd534('0x3')]&&_0x2a2b86[_0xd534('0x29')](_0xd534('0x32'),this['handleListStyleCommand']['bind'](this)),_0x2ba0de['reversed']&&_0x2a2b86['enableCommand'](_0xd534('0x0'),this[_0xd534('0x24')][_0xd534('0x26')](this)),_0x2ba0de['startIndex']&&_0x2a2b86['enableCommand']('listStart',this[_0xd534('0x4')][_0xd534('0x26')](this)),_0x2a2b86[_0xd534('0x1')]['registerDescriptionCallback'](this[_0xd534('0x28')][_0xd534('0x26')](this));}[_0xd534('0x18')](_0x1ffb67,_0x4f399a={}){const _0x443b32=this[_0xd534('0x1a')][_0xd534('0xe')]['get']('TrackChangesEditing'),_0x475b97=this['_getSuggestionBlocksForListStyle']();this[_0xd534('0x1a')][_0xd534('0xd')][_0xd534('0xa')](()=>{_0x443b32[_0xd534('0x27')](_0x475b97,{'commandName':_0xd534('0x32'),'commandParams':[{'type':_0x4f399a[_0xd534('0x12')]}],'formatGroupId':_0xd534('0x32')});});}['handleListReversedCommand'](_0x338d1d,_0x347376={}){const _0xb60868=this['editor']['plugins'][_0xd534('0x1d')]('TrackChangesEditing'),_0x27ae91=this[_0xd534('0x1a')][_0xd534('0xe')][_0xd534('0x1d')](_0xd534('0x14')),_0x21f486=this['_getSuggestionBlocks'](_0x400b87=>_0x27ae91[_0xd534('0x21')](_0x400b87)&&_0xd534('0x2e')===_0x400b87[_0xd534('0x2c')](_0xd534('0x1f')));null!==_0x21f486&&this[_0xd534('0x1a')]['model'][_0xd534('0xa')](()=>{_0xb60868[_0xd534('0x27')](_0x21f486,{'commandName':_0xd534('0x0'),'commandParams':[{'reversed':_0x347376['reversed']}],'formatGroupId':_0xd534('0x0')});});}[_0xd534('0x4')](_0x11f052,_0x2c4563={}){const _0x5931f0=this['editor']['plugins'][_0xd534('0x1d')](_0xd534('0x19')),_0x56653d=this[_0xd534('0x1a')][_0xd534('0xe')][_0xd534('0x1d')](_0xd534('0x14')),_0x3c2da0=this[_0xd534('0x5')](_0xf43f4c=>_0x56653d[_0xd534('0x21')](_0xf43f4c)&&'numbered'===_0xf43f4c[_0xd534('0x2c')]('listType'));null!==_0x3c2da0&&this[_0xd534('0x1a')][_0xd534('0xd')][_0xd534('0xa')](()=>{_0x5931f0[_0xd534('0x27')](_0x3c2da0,{'commandName':'listStart','commandParams':[{'startIndex':_0x2c4563[_0xd534('0x2f')]}],'formatGroupId':_0xd534('0xf')});});}['handleDescriptions'](_0x5eef81){const _0x40f0a3=this[_0xd534('0x1a')][_0xd534('0xb')],{data:_0x126e04}=_0x5eef81;if(!_0x126e04)return;let _0x21d720,_0x1e4c02;switch(_0x126e04[_0xd534('0x22')]){case _0xd534('0x32'):_0x21d720=_0xd534('0x31'),_0x1e4c02={'type':_0xd534('0x2a'),'content':_0x546524(_0x40f0a3,_0x21d720,_0x546524(_0x40f0a3,this[_0xd534('0x8')](_0x126e04['commandParams'][0x0][_0xd534('0x12')])))};break;case'listReversed':_0x21d720=_0x126e04['commandParams'][0x0][_0xd534('0x9')]?_0xd534('0x10'):_0xd534('0x6'),_0x1e4c02={'type':_0xd534('0x2a'),'content':_0x546524(_0x40f0a3,_0x21d720)};break;case _0xd534('0xf'):_0x21d720=_0xd534('0x11'),_0x1e4c02={'type':_0xd534('0x2a'),'content':_0x546524(_0x40f0a3,_0x21d720,_0x126e04[_0xd534('0x20')][0x0][_0xd534('0x2f')])};}return _0x1e4c02;}[_0xd534('0x23')](){const _0x3ef6f7=this[_0xd534('0x1a')][_0xd534('0xe')][_0xd534('0x1d')](_0xd534('0x14'));let _0x2db6a2=Array[_0xd534('0x2b')](this[_0xd534('0x1a')][_0xd534('0xd')][_0xd534('0x15')]['selection'][_0xd534('0x2')]());return _0x2db6a2[_0xd534('0x7')](..._0x3ef6f7[_0xd534('0xc')](_0x2db6a2)),_0x2db6a2=[...new Set(_0x2db6a2)],_0x2db6a2;}['_getSuggestionBlocks'](_0x346761){const _0xae0a12=this[_0xd534('0x1a')][_0xd534('0xe')]['get'](_0xd534('0x14'));let _0x10e74f=Array['from'](this[_0xd534('0x1a')][_0xd534('0xd')][_0xd534('0x15')]['selection'][_0xd534('0x2')]())[_0xd534('0x17')](_0x346761);if(!_0x10e74f['length'])return null;_0x10e74f=_0xae0a12[_0xd534('0xc')](_0x10e74f);const _0x5b12ed=[];for(const _0x5b0911 of _0x10e74f)_0xae0a12[_0xd534('0x1b')](_0x5b0911)&&_0x5b12ed[_0xd534('0x7')](_0x5b0911);return _0x5b12ed;}['_getTranslationKeyForListStyle'](_0x51dd3b){return _0xd534('0x1c')+this[_0xd534('0x1a')][_0xd534('0xe')][_0xd534('0x1d')](_0xd534('0x2d'))[_0xd534('0x13')](_0x51dd3b)[_0xd534('0x25')]()+'_LIST_'+_0x51dd3b[_0xd534('0x25')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36bf=['end','get','markerName','unbindElementFromMarkerName','data','afterExecute','remove','high','editing','enter','detach','split','createRange','model','hasClass','bind','TrackChangesEditing','plugins','enableCommand','addMarker:suggestion:insertion','setSelection','fromRange','writer','markInsertion','editor','commands','selection','change','showSuggestionHighlights','ck-suggestion-marker-split','parent','document','createPositionAt','init','downcastDispatcher','mapper','options'];(function(_0x3c57e9,_0x36bf59){const _0x1e99f8=function(_0x1f99f4){while(--_0x1f99f4){_0x3c57e9['push'](_0x3c57e9['shift']());}};_0x1e99f8(++_0x36bf59);}(_0x36bf,0x161));const _0x1e99=function(_0x3c57e9,_0x36bf59){_0x3c57e9=_0x3c57e9-0x0;let _0x1e99f8=_0x36bf[_0x3c57e9];return _0x1e99f8;};import{Plugin as _0x39bee4}from'ckeditor5/src/core';import{Enter as _0x12d0ed}from'ckeditor5/src/enter';import{LiveRange as _0x19250d}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x58979f}from'./utils';export default class z extends _0x39bee4{static get['requires'](){return[_0x12d0ed];}[_0x1e99('0xd')](){const _0x18f53d=this[_0x1e99('0x4')],_0x5ebacc=_0x18f53d[_0x1e99('0x22')][_0x1e99('0x12')](_0x1e99('0x21')),_0x31b9b3=_0x18f53d[_0x1e99('0x5')][_0x1e99('0x12')](_0x1e99('0x1a'));_0x5ebacc[_0x1e99('0x23')](_0x1e99('0x1a'),()=>{_0x18f53d[_0x1e99('0x1e')][_0x1e99('0x7')](_0x33992e=>{const _0x2057ab=_0x18f53d[_0x1e99('0x1e')][_0x1e99('0xb')][_0x1e99('0x6')],_0x34fe8b=_0x2057ab['getFirstPosition'](),_0x5766aa=_0x19250d[_0x1e99('0x1')](_0x2057ab['getFirstRange']());if(_0x31b9b3['enterBlock'](_0x33992e)){const _0x130858=_0x18f53d[_0x1e99('0x1e')][_0x1e99('0xc')](_0x34fe8b[_0x1e99('0xa')]['nextSibling'],0x0),_0x20924e=_0x33992e['createRange'](_0x34fe8b,_0x130858);_0x5ebacc[_0x1e99('0x3')](_0x20924e);}else _0x33992e[_0x1e99('0x0')](_0x33992e[_0x1e99('0x1d')](_0x5766aa[_0x1e99('0x11')]));_0x5766aa[_0x1e99('0x1b')](),_0x31b9b3['fire'](_0x1e99('0x16'),{'writer':_0x33992e});});}),_0x18f53d['editing']['downcastDispatcher']['on'](_0x1e99('0x24'),_0x58979f(_0x18f53d,_0x1e99('0x1c')),{'priority':_0x1e99('0x18')}),_0x18f53d[_0x1e99('0x19')][_0x1e99('0xe')]['on']('removeMarker:suggestion:insertion',(_0x3d71a6,_0x535f90,_0xbb6c99)=>{const _0x20c587=_0xbb6c99['mapper']['markerNameToElements'](_0x535f90['markerName']);if(_0x20c587)for(const _0x3b4c3d of _0x20c587)_0x3b4c3d[_0x1e99('0x1f')](_0x1e99('0x9'))&&(_0xbb6c99[_0x1e99('0xf')][_0x1e99('0x14')](_0x3b4c3d,_0x535f90[_0x1e99('0x13')]),_0xbb6c99[_0x1e99('0x2')][_0x1e99('0x17')](_0x3b4c3d));},{'priority':_0x1e99('0x18')}),_0x18f53d[_0x1e99('0x15')][_0x1e99('0xe')]['on'](_0x1e99('0x24'),(_0x54bccf,_0x48339b,_0x5afee8)=>{_0x5afee8[_0x1e99('0x10')][_0x1e99('0x8')]&&_0x58979f(_0x18f53d,_0x1e99('0x1c'),{'showActiveMarker':!0x1})[_0x1e99('0x20')](this)(_0x54bccf,_0x48339b,_0x5afee8);},{'priority':_0x1e99('0x18')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47a0=['get','findPrevious','replaceAll','createRange','FindAndReplaceUtils','filter','FindAndReplaceEditing','handleFindCommand','string','replace','enableCommand','editor','createPositionAt','find','getMarkersGroup','model','afterInit','markers','_isInDeletionRange','findByTextCallback','bind','item'];(function(_0x1c3590,_0x47a07c){const _0x933a85=function(_0x1ede39){while(--_0x1ede39){_0x1c3590['push'](_0x1c3590['shift']());}};_0x933a85(++_0x47a07c);}(_0x47a0,0xda));const _0x933a=function(_0x1c3590,_0x47a07c){_0x1c3590=_0x1c3590-0x0;let _0x933a85=_0x47a0[_0x1c3590];return _0x933a85;};import{Plugin as _0xdd435}from'ckeditor5/src/core';export default class H extends _0xdd435{[_0x933a('0x12')](){if(!this[_0x933a('0xd')]['plugins']['has'](_0x933a('0x8')))return;const _0x59fb3c=this[_0x933a('0xd')]['plugins'][_0x933a('0x2')]('TrackChangesEditing');_0x59fb3c[_0x933a('0xc')](_0x933a('0xf'),this[_0x933a('0x9')][_0x933a('0x0')](this)),_0x59fb3c[_0x933a('0xc')]('findNext'),_0x59fb3c[_0x933a('0xc')](_0x933a('0x3')),_0x59fb3c[_0x933a('0xc')](_0x933a('0xb')),_0x59fb3c[_0x933a('0xc')](_0x933a('0x4'));}[_0x933a('0x9')](_0x4a8d51,_0x1bd15f,_0x49275c={}){const _0x8bbe4=this[_0x933a('0xd')]['plugins']['get'](_0x933a('0x6'));void 0x0!==_0x49275c&&_0x4a8d51(_0x4e5c8e=>(_0x933a('0xa')==typeof _0x1bd15f?_0x8bbe4[_0x933a('0x15')](_0x1bd15f,_0x49275c):_0x1bd15f)(_0x4e5c8e)[_0x933a('0x7')](_0x504798=>!0x1===this[_0x933a('0x14')](_0x504798,_0x4e5c8e[_0x933a('0x1')])),_0x49275c);}[_0x933a('0x14')](_0xc46bae,_0x1fe8fd){const _0x4968fb=this[_0x933a('0xd')][_0x933a('0x11')][_0x933a('0x5')](this['editor'][_0x933a('0x11')]['createPositionAt'](_0x1fe8fd,_0xc46bae['start']),this[_0x933a('0xd')][_0x933a('0x11')][_0x933a('0xe')](_0x1fe8fd,_0xc46bae['end']));for(const _0x4f51da of this[_0x933a('0xd')][_0x933a('0x11')][_0x933a('0x13')][_0x933a('0x10')]('suggestion:deletion'))if(null!==_0x4968fb['getIntersection'](_0x4f51da['getRange']()))return!0x0;return!0x1;}}
|