@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231018.0 → 0.0.0-nightly-20231020.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231020.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-20231020.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231020.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 _0x5b02=['isEnabled','canEditAt','plugins','acceptSuggestion','track-changes-accept-suggestion-not-found','get','_isEnabledBasedOnSelection','refresh','editor','TrackChangesEditing','_suggestions'];(function(_0x31b15b,_0x5b0202){const _0x4aa406=function(_0x23f284){while(--_0x23f284){_0x31b15b['push'](_0x31b15b['shift']());}};_0x4aa406(++_0x5b0202);}(_0x5b02,0x134));const _0x4aa4=function(_0x31b15b,_0x5b0202){_0x31b15b=_0x31b15b-0x0;let _0x4aa406=_0x5b02[_0x31b15b];return _0x4aa406;};import{Command as _0x4341de}from'ckeditor5/src/core';import{CKEditorError as _0x2fb6ca}from'ckeditor5/src/utils';export default class M extends _0x4341de{constructor(_0x1ab602,_0x21f505){super(_0x1ab602),this[_0x4aa4('0xa')]=_0x21f505,this[_0x4aa4('0x7')](),this[_0x4aa4('0x6')]=!0x1;}[_0x4aa4('0x7')](){this[_0x4aa4('0x0')]=!0x0;}['execute'](_0x4a4553){const _0x50bcfd=this[_0x4aa4('0xa')][_0x4aa4('0x5')](_0x4a4553);if(!_0x50bcfd)throw new _0x2fb6ca(_0x4aa4('0x4'),this);const _0x22af09=_0x50bcfd['getRanges']();this[_0x4aa4('0x8')]['model'][_0x4aa4('0x1')](_0x22af09)&&this['editor'][_0x4aa4('0x2')][_0x4aa4('0x5')](_0x4aa4('0x9'))[_0x4aa4('0x3')](_0x50bcfd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39fb=['isEnabled','discardSuggestion','canEditAt','editor','refresh','_isEnabledBasedOnSelection','_suggestions','model','getRanges','get'];(function(_0x4d97ff,_0x39fb7d){const _0x19c545=function(_0x2a1681){while(--_0x2a1681){_0x4d97ff['push'](_0x4d97ff['shift']());}};_0x19c545(++_0x39fb7d);}(_0x39fb,0x1aa));const _0x19c5=function(_0x4d97ff,_0x39fb7d){_0x4d97ff=_0x4d97ff-0x0;let _0x19c545=_0x39fb[_0x4d97ff];return _0x19c545;};import{Command as _0x306763}from'ckeditor5/src/core';import{CKEditorError as _0x3d6fa2}from'ckeditor5/src/utils';export default class $ extends _0x306763{constructor(_0x5082b3,_0x3f4a9d){super(_0x5082b3),this[_0x19c5('0x0')]=_0x3f4a9d,this[_0x19c5('0x8')](),this[_0x19c5('0x9')]=!0x1;}[_0x19c5('0x8')](){this[_0x19c5('0x4')]=!0x0;}['execute'](_0x6697f3){const _0x1b6a58=this['_suggestions'][_0x19c5('0x3')](_0x6697f3);if(!_0x1b6a58)throw new _0x3d6fa2('track-changes-discard-suggestion-not-found',this);const _0x3fbe0b=_0x1b6a58[_0x19c5('0x2')]();this[_0x19c5('0x7')][_0x19c5('0x1')][_0x19c5('0x6')](_0x3fbe0b)&&this[_0x19c5('0x7')]['plugins']['get']('TrackChangesEditing')[_0x19c5('0x5')](_0x1b6a58);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3264=['_suggestions','from','execute','_isEnabledBasedOnSelection','refresh','canEditAt','editor','some','isInContent','_command','model','isEnabled'];(function(_0x241c42,_0x32648d){const _0x461ffe=function(_0xacec09){while(--_0xacec09){_0x241c42['push'](_0x241c42['shift']());}};_0x461ffe(++_0x32648d);}(_0x3264,0xfb));const _0x461f=function(_0x241c42,_0x32648d){_0x241c42=_0x241c42-0x0;let _0x461ffe=_0x3264[_0x241c42];return _0x461ffe;};import{Command as _0x4e9fcb}from'ckeditor5/src/core';import{sortSuggestions as _0x578ef8,executeCommandForSuggestions as _0x1e61e2}from'../utils/utils';export default class N extends _0x4e9fcb{constructor(_0x357b16,_0x49f48c,_0x2cc28e){super(_0x357b16),this['_command']=_0x49f48c,this[_0x461f('0x1')]=_0x2cc28e,this['refresh'](),this[_0x461f('0x4')]=!0x1;}[_0x461f('0x5')](){const _0x4cc78f=Array[_0x461f('0x2')](this['_suggestions']['values']())[_0x461f('0x8')](_0x282d0e=>_0x282d0e[_0x461f('0x9')]);this[_0x461f('0x0')]=this['_command']['isEnabled']&&_0x4cc78f;}[_0x461f('0x3')](){const _0x5bbc13=_0x578ef8(Array[_0x461f('0x2')](this[_0x461f('0x1')]['values']()));for(const _0x12cb0a of _0x5bbc13){const _0x4d8b46=_0x12cb0a['getRanges']();if(!this['editor'][_0x461f('0xb')][_0x461f('0x6')](_0x4d8b46))return;}_0x1e61e2(this[_0x461f('0x7')][_0x461f('0xb')],this[_0x461f('0xa')],_0x5bbc13);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x266e=['document','size','_command','editor','selection','_suggestions','model','_isEnabledBasedOnSelection','_selectedSuggestions','canEditAt','isEnabled','values','refresh'];(function(_0x537e1f,_0x266e0d){const _0x3f98fd=function(_0x17aeb5){while(--_0x17aeb5){_0x537e1f['push'](_0x537e1f['shift']());}};_0x3f98fd(++_0x266e0d);}(_0x266e,0x1c3));const _0x3f98=function(_0x537e1f,_0x266e0d){_0x537e1f=_0x537e1f-0x0;let _0x3f98fd=_0x266e[_0x537e1f];return _0x3f98fd;};import{Command as _0x1856de}from'ckeditor5/src/core';import{sortSuggestions as _0x1c4f7d,getSelectedSuggestions as _0x2c64cf,executeCommandForSuggestions as _0x4498b2}from'../utils/utils';export default class R extends _0x1856de{constructor(_0x183166,_0x49466c,_0x1cb84a){super(_0x183166),this[_0x3f98('0x6')]=_0x49466c,this[_0x3f98('0x9')]=_0x1cb84a,this[_0x3f98('0xc')]=new Set(),this[_0x3f98('0x3')](),this[_0x3f98('0xb')]=!0x1;}['refresh'](){const _0x213918=this['editor'][_0x3f98('0xa')][_0x3f98('0x4')][_0x3f98('0x8')],_0x56be28=Array['from'](this[_0x3f98('0x9')][_0x3f98('0x2')]());this[_0x3f98('0xc')]=_0x2c64cf(_0x213918,_0x56be28),this['isEnabled']=this[_0x3f98('0x6')][_0x3f98('0x1')]&&!!this['_selectedSuggestions'][_0x3f98('0x5')];}['execute'](){const _0x1e274b=_0x1c4f7d(Array['from'](this['_selectedSuggestions']));for(const _0x43906c of _0x1e274b){const _0x447361=_0x43906c['getRanges']();if(!this[_0x3f98('0x7')][_0x3f98('0xa')][_0x3f98('0x0')](_0x447361))return;}_0x4498b2(this[_0x3f98('0x7')][_0x3f98('0xa')],this['_command'],_0x1e274b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fe6=['isEnabled','commands','_disableUnsupportedCommands','has','execute','value','_enabledCommands','_enableCommands','refresh','forceDisabled','TrackChangesCommand','affectsData','editor','clearForceDisabled'];(function(_0x51f4eb,_0x1fe60b){const _0x3c0259=function(_0x3e8c40){while(--_0x3e8c40){_0x51f4eb['push'](_0x51f4eb['shift']());}};_0x3c0259(++_0x1fe60b);}(_0x1fe6,0x1bc));const _0x3c02=function(_0x51f4eb,_0x1fe60b){_0x51f4eb=_0x51f4eb-0x0;let _0x3c0259=_0x1fe6[_0x51f4eb];return _0x3c0259;};import{Command as _0x5bf233}from'ckeditor5/src/core';export default class _ extends _0x5bf233{constructor(_0x19b0d9,_0x76d9c1){super(_0x19b0d9),this[_0x3c02('0xa')]=_0x76d9c1,this['value']=!0x1,this[_0x3c02('0xc')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x3c02('0xc')](){this[_0x3c02('0x4')]=!0x0;}[_0x3c02('0x8')](){this[_0x3c02('0x9')]=!this[_0x3c02('0x9')],this[_0x3c02('0x9')]?this[_0x3c02('0x6')]():this[_0x3c02('0xb')]();}['_disableUnsupportedCommands'](){for(const _0x392325 of this[_0x3c02('0x2')][_0x3c02('0x5')][_0x3c02('0x5')]())_0x392325['affectsData']&&!this['_enabledCommands'][_0x3c02('0x7')](_0x392325)&&_0x392325[_0x3c02('0xd')](_0x3c02('0x0'));}[_0x3c02('0xb')](){for(const _0x51215c of this[_0x3c02('0x2')][_0x3c02('0x5')]['commands']())_0x51215c[_0x3c02('0x1')]&&!this[_0x3c02('0xa')][_0x3c02('0x7')](_0x51215c)&&_0x51215c[_0x3c02('0x3')](_0x3c02('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f61=['afterInit','TrackChangesEditing','plugins','enableCommand','get','showAIAssistant'];(function(_0x5467c8,_0x1f6158){const _0xcbfb4=function(_0x29d706){while(--_0x29d706){_0x5467c8['push'](_0x5467c8['shift']());}};_0xcbfb4(++_0x1f6158);}(_0x1f61,0x1c6));const _0xcbfb=function(_0x5467c8,_0x1f6158){_0x5467c8=_0x5467c8-0x0;let _0xcbfb4=_0x1f61[_0x5467c8];return _0xcbfb4;};import{Plugin as _0x5da604}from'ckeditor5/src/core';export default class j extends _0x5da604{[_0xcbfb('0x2')](){const _0x2f02e0=this['editor'],_0xe619d6=_0x2f02e0[_0xcbfb('0x4')][_0xcbfb('0x0')](_0xcbfb('0x3'));_0x2f02e0['commands'][_0xcbfb('0x0')](_0xcbfb('0x1'))&&_0xe619d6[_0xcbfb('0x5')]('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b09=['from','editor','TrackChangesEditing','markBlockFormat','enableCommand','FORMAT_ALIGN_TO_CENTER','getSelectedBlocks','document','afterInit','filter','_descriptionFactory','plugins','value','left','registerDescriptionCallback','commandName','FORMAT_JUSTIFY_TEXT','locale','*Format:*\x20%0','has','justify','ltr','selection','schema','FORMAT_ALIGN_TO_LEFT','alignment','center','get','getAttribute','model','change','right'];(function(_0x2bfdcf,_0x5b0916){const _0x1663f7=function(_0x35ff35){while(--_0x35ff35){_0x2bfdcf['push'](_0x2bfdcf['shift']());}};_0x1663f7(++_0x5b0916);}(_0x5b09,0x11c));const _0x1663=function(_0x2bfdcf,_0x5b0916){_0x2bfdcf=_0x2bfdcf-0x0;let _0x1663f7=_0x5b09[_0x2bfdcf];return _0x1663f7;};import{Plugin as _0x1d190d}from'ckeditor5/src/core';import{getTranslation as _0x5c35df}from'../utils/common-translations';export default class x extends _0x1d190d{[_0x1663('0xc')](){const _0x3c71b9=this[_0x1663('0x5')],_0x2b8251=_0x3c71b9['locale'];if(!_0x3c71b9['plugins'][_0x1663('0x17')]('AlignmentEditing'))return;const _0x2b01cc=_0x3c71b9[_0x1663('0xf')][_0x1663('0x1f')](_0x1663('0x6'));_0x2b01cc[_0x1663('0x8')]('alignment',(_0x576ff1,_0x45f47e={})=>{let _0x217628=_0x45f47e[_0x1663('0x10')];_0x45f47e['value']||(_0x217628=_0x1663('0x19')===_0x3c71b9[_0x1663('0x15')]['contentLanguageDirection']?'left':_0x1663('0x3'));const _0x48f4ad=Array[_0x1663('0x4')](this[_0x1663('0x5')]['model'][_0x1663('0xb')][_0x1663('0x1a')][_0x1663('0xa')]())[_0x1663('0xd')](_0x3ec489=>function(_0x5f3496,_0x39ab7e,_0x28b83b){const _0x545b11=_0x5f3496[_0x1663('0x0')](_0x1663('0x1d'))||null;return _0x39ab7e['checkAttribute'](_0x5f3496,'alignment')&&_0x28b83b!=_0x545b11;}(_0x3ec489,this[_0x1663('0x5')][_0x1663('0x1')][_0x1663('0x1b')],_0x217628));_0x3c71b9['model'][_0x1663('0x2')](()=>{for(const _0x3bdbd0 of _0x48f4ad)_0x2b01cc[_0x1663('0x7')](_0x3bdbd0,{'commandName':_0x1663('0x1d'),'commandParams':[{'value':_0x217628}]});});}),_0x2b01cc[_0x1663('0xe')][_0x1663('0x12')](_0x4d72c9=>{const {data:_0xb04f09}=_0x4d72c9;if(_0xb04f09&&_0x1663('0x1d')==_0xb04f09[_0x1663('0x13')]){const _0x4ca8b6=_0xb04f09['commandParams'][0x0][_0x1663('0x10')];return{'type':'format','content':_0x5c35df(_0x2b8251,_0x1663('0x16'),function(_0x3a8321){switch(_0x3a8321){case _0x1663('0x11'):return _0x5c35df(_0x2b8251,_0x1663('0x1c'));case _0x1663('0x3'):return _0x5c35df(_0x2b8251,'FORMAT_ALIGN_TO_RIGHT');case _0x1663('0x1e'):return _0x5c35df(_0x2b8251,_0x1663('0x9'));case _0x1663('0x18'):return _0x5c35df(_0x2b8251,_0x1663('0x14'));}}(_0x4ca8b6))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b73=['change','format','commands','code','*Format:*\x20%0','slice','document','forceValue','underline','SubscriptEditing','markInlineFormat','FORMAT_ITALIC','toLowerCase','superscript','locale','strikethrough','italic','model','_descriptionFactory','SuperscriptEditing','TrackChangesEditing','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','get','bold','registerDescriptionCallback','FORMAT_CODE','selection','BoldEditing','subscript','FORMAT_BOLD','StrikethroughEditing','editor','UnderlineEditing','plugins','ItalicEditing'];(function(_0x19a535,_0x2b731c){const _0x4f1626=function(_0x4c1cb4){while(--_0x4c1cb4){_0x19a535['push'](_0x19a535['shift']());}};_0x4f1626(++_0x2b731c);}(_0x2b73,0xcf));const _0x4f16=function(_0x19a535,_0x2b731c){_0x19a535=_0x19a535-0x0;let _0x4f1626=_0x2b73[_0x19a535];return _0x4f1626;};import{Plugin as _0x764eab}from'ckeditor5/src/core';import{getTranslation as _0xfe15db}from'../utils/common-translations';import{getRangesWithAttribute as _0x3e9c12}from'./utils';const Zt=[_0x4f16('0x1'),_0x4f16('0x8'),_0x4f16('0x6'),'CodeEditing',_0x4f16('0x4'),_0x4f16('0x12'),_0x4f16('0x1c')];export default class U extends _0x764eab{['afterInit'](){const _0x20961a=this[_0x4f16('0x5')],_0x2296c4=_0x20961a[_0x4f16('0x1a')],_0x2793dd=_0x20961a['plugins'][_0x4f16('0x20')](_0x4f16('0x1d')),_0x5572b5=_0x20961a[_0x4f16('0x17')];for(const _0x3a92a4 of Zt){if(!_0x20961a[_0x4f16('0x7')]['has'](_0x3a92a4))continue;const _0xec0eea=_0x3a92a4[_0x4f16('0xe')](0x0,-0x7)[_0x4f16('0x15')](),_0x3d75a8=_0x20961a[_0x4f16('0xb')]['get'](_0xec0eea);_0x2793dd['enableCommand'](_0xec0eea,(_0x1c5d02,_0x1c4b8c={})=>{const _0x34d2b9=_0x2296c4[_0x4f16('0xf')][_0x4f16('0x0')];if(_0x34d2b9['isCollapsed'])return void _0x1c5d02(_0x1c4b8c);const _0x3383bf=void 0x0!==_0x1c4b8c[_0x4f16('0x10')]?_0x1c4b8c[_0x4f16('0x10')]:!_0x3d75a8['value'];_0x2296c4[_0x4f16('0x9')](()=>{const _0x1f52f0=Array['from'](_0x34d2b9['getRanges']());for(const _0x5c27f7 of _0x1f52f0){const _0x31d783=_0x3383bf?[_0x5c27f7]:_0x3e9c12(_0xec0eea,_0x5c27f7,_0x2296c4);for(const _0x5699a8 of _0x31d783)_0x2793dd[_0x4f16('0x13')](_0x5699a8,{'commandName':_0xec0eea,'commandParams':[{'forceValue':_0x3383bf}]});}});});}function _0x458bcf(_0x1128b9,_0x466383){_0x2793dd[_0x4f16('0x1b')][_0x4f16('0x22')](_0x138e55=>{const {data:_0x3b3ba3}=_0x138e55;if(_0x3b3ba3&&_0x3b3ba3['commandName']===_0x1128b9)return _0x3b3ba3['commandParams'][0x0][_0x4f16('0x10')]?{'type':_0x4f16('0xa'),'content':_0xfe15db(_0x5572b5,_0x4f16('0xd'),_0x466383)}:{'type':_0x4f16('0xa'),'content':_0xfe15db(_0x5572b5,_0x4f16('0x1e'),_0x466383)};});}_0x458bcf(_0x4f16('0x21'),_0xfe15db(_0x5572b5,_0x4f16('0x3'))),_0x458bcf(_0x4f16('0x19'),_0xfe15db(_0x5572b5,_0x4f16('0x14'))),_0x458bcf(_0x4f16('0x11'),_0xfe15db(_0x5572b5,_0x4f16('0x1f'))),_0x458bcf(_0x4f16('0xc'),_0xfe15db(_0x5572b5,_0x4f16('0x23'))),_0x458bcf(_0x4f16('0x18'),_0xfe15db(_0x5572b5,'FORMAT_STRIKETHROUGH')),_0x458bcf(_0x4f16('0x2'),_0xfe15db(_0x5572b5,'FORMAT_SUBSCRIPT')),_0x458bcf(_0x4f16('0x16'),_0xfe15db(_0x5572b5,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3565=['model','from','checkChild','editor','getSelectedBlocks','selection','change','commandName','parent','blockQuote','value','ELEMENT_BLOCK_QUOTE','*Format:*\x20%0','locale','format','TrackChangesEditing','get','document','name','*Remove\x20format:*\x20%0','filter','commandParams','commands','registerDescriptionCallback','$root','forceValue'];(function(_0x5bb59e,_0x356529){const _0x61c2c3=function(_0x37f8c2){while(--_0x37f8c2){_0x5bb59e['push'](_0x5bb59e['shift']());}};_0x61c2c3(++_0x356529);}(_0x3565,0x1e5));const _0x61c2=function(_0x5bb59e,_0x356529){_0x5bb59e=_0x5bb59e-0x0;let _0x61c2c3=_0x3565[_0x5bb59e];return _0x61c2c3;};import{Plugin as _0xed7600}from'ckeditor5/src/core';import{getTranslation as _0x52c245}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3abf8f}from'../utils/utils';export default class O extends _0xed7600{['afterInit'](){const _0x4c0d0d=this[_0x61c2('0xc')],_0x433215=_0x4c0d0d[_0x61c2('0x16')];if(!_0x4c0d0d['plugins']['has']('BlockQuoteEditing'))return;const _0x2974aa=_0x4c0d0d['plugins'][_0x61c2('0x19')](_0x61c2('0x18')),_0x4be203=this[_0x61c2('0xc')][_0x61c2('0x5')][_0x61c2('0x19')](_0x61c2('0x12'));_0x2974aa['enableCommand'](_0x61c2('0x12'),(_0x53aab7,_0x361075={})=>{const _0xbc4872=this[_0x61c2('0xc')]['model'][_0x61c2('0x0')][_0x61c2('0xe')],_0x440ba7=_0x361075&&void 0x0!==_0x361075[_0x61c2('0x8')]?_0x361075[_0x61c2('0x8')]:!_0x4be203[_0x61c2('0x13')];let _0x581afe=[];if(_0x440ba7){const _0x50ed72=Array[_0x61c2('0xa')](_0xbc4872[_0x61c2('0xd')]())[_0x61c2('0x3')](_0x4cf07d=>oo(_0x4cf07d)||function(_0xe159c2,_0x1c052e){const _0x2e7176=_0x1c052e[_0x61c2('0xb')](_0xe159c2[_0x61c2('0x11')],_0x61c2('0x12')),_0x415413=_0x1c052e[_0x61c2('0xb')]([_0x61c2('0x7'),_0x61c2('0x12')],_0xe159c2);return _0x2e7176&&_0x415413;}(_0x4cf07d,this[_0x61c2('0xc')][_0x61c2('0x9')]['schema']));_0x581afe=_0x3abf8f(_0x50ed72,_0x4c0d0d[_0x61c2('0x9')]);}else{const _0x5aa04b=Array[_0x61c2('0xa')](_0xbc4872['getSelectedBlocks']())[_0x61c2('0x3')](_0x26ffca=>oo(_0x26ffca));_0x581afe=_0x3abf8f(_0x5aa04b,_0x4c0d0d[_0x61c2('0x9')]);}_0x4c0d0d[_0x61c2('0x9')][_0x61c2('0xf')](()=>{for(const _0x5d5adf of _0x581afe)_0x2974aa['markBlockFormat'](_0x5d5adf,{'commandName':_0x61c2('0x12'),'commandParams':[{'forceValue':_0x440ba7}]});});}),_0x2974aa['_descriptionFactory'][_0x61c2('0x6')](_0x4c46d6=>{const {data:_0x1576a5}=_0x4c46d6;if(_0x1576a5&&_0x61c2('0x12')==_0x1576a5[_0x61c2('0x10')]){const _0x30a1d6=_0x52c245(_0x433215,_0x61c2('0x14'));return _0x1576a5[_0x61c2('0x4')][0x0][_0x61c2('0x8')]?{'type':_0x61c2('0x17'),'content':_0x52c245(_0x433215,_0x61c2('0x15'),_0x30a1d6)}:{'type':_0x61c2('0x17'),'content':_0x52c245(_0x433215,_0x61c2('0x2'),_0x30a1d6)};}});}}function oo(_0x4d3ad5){return _0x61c2('0x12')==_0x4d3ad5[_0x61c2('0x11')][_0x61c2('0x1')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47f2=['ckbox','afterInit','editor','TrackChangesEditing','get','enableCommand'];(function(_0x471227,_0x47f2c5){const _0x41dd45=function(_0xe76961){while(--_0xe76961){_0x471227['push'](_0x471227['shift']());}};_0x41dd45(++_0x47f2c5);}(_0x47f2,0x18e));const _0x41dd=function(_0x471227,_0x47f2c5){_0x471227=_0x471227-0x0;let _0x41dd45=_0x47f2[_0x471227];return _0x41dd45;};import{Plugin as _0x371173}from'ckeditor5/src/core';export default class E extends _0x371173{[_0x41dd('0x5')](){const _0x239225=this[_0x41dd('0x0')];_0x239225['commands'][_0x41dd('0x2')]('ckbox')&&_0x239225['plugins'][_0x41dd('0x2')](_0x41dd('0x1'))[_0x41dd('0x3')](_0x41dd('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb11b=['language','change','value','commandParams','filter','afterInit','rootElement','outdentCodeBlock','commands','commandName','indentCodeBlock','forceValue','schema','codeBlock','selection','*Remove\x20format:*\x20%0','plugins','languages','format','TrackChangesEditing','document','ELEMENT_CODE_BLOCK','blockName','find','markBlockFormat','isLimit','has','parent','enableCommand','get','CodeBlock','registerDescriptionCallback','_descriptionFactory','model','getSelectedBlocks'];(function(_0x5a94a0,_0xb11bb){const _0x3d7426=function(_0x3d693c){while(--_0x3d693c){_0x5a94a0['push'](_0x5a94a0['shift']());}};_0x3d7426(++_0xb11bb);}(_0xb11b,0x1e0));const _0x3d74=function(_0x5a94a0,_0xb11bb){_0x5a94a0=_0x5a94a0-0x0;let _0x3d7426=_0xb11b[_0x5a94a0];return _0x3d7426;};import{Plugin as _0x311ef4}from'ckeditor5/src/core';import{getTranslation as _0x253df6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xf45dbb}from'../utils/utils';export default class F extends _0x311ef4{[_0x3d74('0xf')](){const _0x5aca2d=this['editor'];if(!_0x5aca2d['plugins'][_0x3d74('0x1')](_0x3d74('0x5')))return;const _0x981779=_0x5aca2d[_0x3d74('0x1a')][_0x3d74('0x4')](_0x3d74('0x1d')),_0x3d653c=_0x5aca2d['locale'],_0x41d7ea=_0x5aca2d['config'][_0x3d74('0x4')](_0x3d74('0x17'))[_0x3d74('0x1b')],_0x364648=_0x5aca2d[_0x3d74('0x12')]['get'](_0x3d74('0x17'));_0x981779[_0x3d74('0x3')](_0x3d74('0x14')),_0x981779[_0x3d74('0x3')](_0x3d74('0x11')),_0x981779[_0x3d74('0x3')](_0x3d74('0x17'),(_0x4a540c,_0x4193df={})=>{const _0x357d0e=_0x5aca2d['model'],_0x38f3e8=_0x5aca2d[_0x3d74('0x8')][_0x3d74('0x1e')][_0x3d74('0x18')],_0x40b6ef=_0x4193df&&void 0x0!==_0x4193df[_0x3d74('0x15')]?_0x4193df[_0x3d74('0x15')]:!_0x364648[_0x3d74('0xc')];let _0x237eca;_0x4193df[_0x3d74('0xa')]||(_0x4193df['language']=_0x41d7ea[0x0][_0x3d74('0xa')]),_0x237eca=_0x40b6ef?Array['from'](_0x38f3e8[_0x3d74('0x9')]())['filter'](_0x24cc89=>co(_0x24cc89)||function(_0x27bdf9,_0x45e5a1){if(_0x27bdf9['is'](_0x3d74('0x10'))||_0x45e5a1[_0x3d74('0x0')](_0x27bdf9))return!0x1;return _0x45e5a1['checkChild'](_0x27bdf9[_0x3d74('0x2')],_0x3d74('0x17'));}(_0x24cc89,_0x357d0e[_0x3d74('0x16')])):Array['from'](_0x38f3e8[_0x3d74('0x9')]())[_0x3d74('0xe')](_0x3a72de=>co(_0x3a72de));const _0x2d6524=_0xf45dbb(_0x237eca,_0x357d0e);_0x357d0e[_0x3d74('0xb')](()=>{for(const _0x6493ff of _0x2d6524)_0x981779[_0x3d74('0x22')](_0x6493ff,{'commandName':_0x3d74('0x17'),'commandParams':[{..._0x4193df,'forceValue':_0x40b6ef}],'formatGroupId':_0x3d74('0x20')});});}),(_0x981779[_0x3d74('0x7')]['registerElementLabel'](_0x3d74('0x17'),_0x384307=>_0x253df6(_0x3d653c,_0x3d74('0x1f'),_0x384307)),_0x981779['_descriptionFactory'][_0x3d74('0x6')](_0x5e9004=>{const _0x251ab8=_0x3d653c['t'],{type:_0x296d76,data:_0xdd2527}=_0x5e9004;if('formatBlock'==_0x296d76&&_0xdd2527&&'codeBlock'==_0xdd2527[_0x3d74('0x13')]){const _0x3967e2=_0xdd2527[_0x3d74('0xd')][0x0][_0x3d74('0xa')],_0x247860=_0x251ab8(_0x41d7ea[_0x3d74('0x21')](_0x3ccb3e=>_0x3ccb3e[_0x3d74('0xa')]===_0x3967e2)['label']);return _0xdd2527[_0x3d74('0xd')][0x0][_0x3d74('0x15')]?{'type':'format','content':_0x253df6(_0x3d653c,'*Format:*\x20%0',_0x253df6(_0x3d653c,_0x3d74('0x1f'),0x1)+'\x20('+_0x247860+')')}:{'type':_0x3d74('0x1c'),'content':_0x253df6(_0x3d653c,_0x3d74('0x19'),_0x253df6(_0x3d653c,_0x3d74('0x1f'),0x1))};}}));}}function co(_0x31e808){return'codeBlock'==_0x31e808['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa88a=['has','TrackChangesEditing','get','plugins','CommentsEditing','enableCommand'];(function(_0x247c77,_0xa88a69){const _0x309a71=function(_0x581620){while(--_0x581620){_0x247c77['push'](_0x247c77['shift']());}};_0x309a71(++_0xa88a69);}(_0xa88a,0xfd));const _0x309a=function(_0x247c77,_0xa88a69){_0x247c77=_0x247c77-0x0;let _0x309a71=_0xa88a[_0x247c77];return _0x309a71;};import{Plugin as _0x311c72}from'ckeditor5/src/core';export default class G extends _0x311c72{['afterInit'](){const _0x52c372=this['editor'];if(!_0x52c372[_0x309a('0x2')][_0x309a('0x5')](_0x309a('0x3')))return;_0x52c372['plugins'][_0x309a('0x1')](_0x309a('0x0'))[_0x309a('0x4')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f9e=['unit','end','markerNameToElements','mapper','addMarker:suggestion:deletion','uiElement','unbindElementFromMarkerName','unlock','forward','enableCommand','createRange','selection','buffer','options','init','editing','$graveyard','showSuggestionHighlights','get','high','writer','batch','data','removeMarker:suggestion:deletion','merge','setSelection','rootName','document','remove','enqueueChange','editor','detach','downcastDispatcher','deleteForward','lock','delete','fromRange','getFirstRange','model','markerName','root','commands','start'];(function(_0xec271,_0x3f9e1a){const _0x290e96=function(_0xe37235){while(--_0xe37235){_0xec271['push'](_0xec271['shift']());}};_0x290e96(++_0x3f9e1a);}(_0x3f9e,0x67));const _0x290e=function(_0xec271,_0x3f9e1a){_0xec271=_0xec271-0x0;let _0x290e96=_0x3f9e[_0xec271];return _0x290e96;};import{Plugin as _0x526b32}from'ckeditor5/src/core';import{LiveRange as _0x26acde}from'ckeditor5/src/engine';import{Delete as _0x26b1ca}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3b7db9}from'./utils';export default class L extends _0x526b32{static get['requires'](){return[_0x26b1ca];}[_0x290e('0x28')](){const _0x506e33=this[_0x290e('0xd')],_0x574fd9=_0x506e33['plugins'][_0x290e('0x1')]('TrackChangesEditing');_0x574fd9[_0x290e('0x23')](_0x290e('0x12'));const _0xe6d352=_0x506e33[_0x290e('0x18')][_0x290e('0x1')](_0x290e('0x10'));_0x574fd9['enableCommand'](_0x290e('0x10'),(_0x4df6a0,_0x3d064f={})=>{const _0x5064b7=_0x506e33[_0x290e('0x15')]['createSelection'](_0x506e33[_0x290e('0x15')][_0x290e('0xa')][_0x290e('0x25')]);_0x5064b7['isCollapsed']&&_0x506e33[_0x290e('0x15')]['modifySelection'](_0x5064b7,{'direction':_0x290e('0x22'),'unit':_0x3d064f[_0x290e('0x1a')]});const _0x110c5b=_0x5064b7[_0x290e('0x14')](),_0x4099df=_0x26acde[_0x290e('0x13')](_0x110c5b);let _0x1a95dc;_0x4df6a0(_0x3d064f),_0x1a95dc=_0x290e('0x2a')==_0x4099df[_0x290e('0x17')][_0x290e('0x9')]?_0x506e33['model'][_0x290e('0x24')](_0x110c5b['start']):_0x506e33['model'][_0x290e('0x24')](_0x4099df[_0x290e('0x19')],_0x4099df[_0x290e('0x1b')]),_0x4099df[_0x290e('0xe')](),_0x506e33[_0x290e('0x15')][_0x290e('0xc')](_0xe6d352[_0x290e('0x26')][_0x290e('0x4')],_0x586f27=>{_0xe6d352['buffer'][_0x290e('0x11')](),_0x586f27[_0x290e('0x8')](_0x586f27[_0x290e('0x24')](_0x1a95dc[_0x290e('0x1b')])),_0xe6d352[_0x290e('0x26')][_0x290e('0x21')]();});}),_0x506e33['editing'][_0x290e('0xf')]['on']('addMarker:suggestion:deletion',_0x3b7db9(_0x506e33,'merge'),{'priority':_0x290e('0x2')}),_0x506e33[_0x290e('0x5')][_0x290e('0xf')]['on'](_0x290e('0x1e'),(_0x50cae1,_0x1a5f6f,_0x1cd0d2)=>{_0x1cd0d2[_0x290e('0x27')][_0x290e('0x0')]&&_0x3b7db9(_0x506e33,_0x290e('0x7'),{'showActiveMarker':!0x1})['bind'](this)(_0x50cae1,_0x1a5f6f,_0x1cd0d2);},{'priority':_0x290e('0x2')}),_0x506e33[_0x290e('0x29')][_0x290e('0xf')]['on'](_0x290e('0x6'),(_0x3506c7,_0x331a5a,_0x21d423)=>{const _0x6b69e3=_0x21d423[_0x290e('0x1d')][_0x290e('0x1c')](_0x331a5a[_0x290e('0x16')]);if(_0x6b69e3)for(const _0x3ab9b3 of _0x6b69e3)_0x3ab9b3['is'](_0x290e('0x1f'))&&(_0x21d423[_0x290e('0x1d')][_0x290e('0x20')](_0x3ab9b3,_0x331a5a[_0x290e('0x16')]),_0x21d423[_0x290e('0x3')][_0x290e('0xb')](_0x3ab9b3));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41f3=['markBlockFormat','registerCustomCallback','getFirstRange','multipleBlocks','model','hasAttribute','markMultiRangeBlockFormat','from','ELEMENT_','getSelectedBlocks','_LIST','locale','detach','commandName','documentList','listType','DocumentListUtils','setSelection','selection','ELEMENT_LIST_ITEM','isFirstBlockOfListItem','enableCommand','indentList','format','formatBlock','before','nextSibling','refresh','*Format:*\x20remove\x20from\x20%0','list.multiBlock','fromRange','outdentList','afterInit','expandListBlocksToCompleteList','execute','value','ELEMENT_NUMBERED_LIST','commands','plugins','bulletedList','*Merge:*\x20%0','config','forceValue','schema','paragraph','numberedList','*Outdent:*\x20%0','slice','commandParams','isObject','splitListItemBefore','nodeAfter','editor','accept','DocumentListEditing','splitListItemAfter','listItemId','get','createPositionAt','registerElementLabel','getAttribute','after','_descriptionFactory','change','start','next','*Format:*\x20insert\x20into\x20%0','push','previousSibling','end','ELEMENT_BULLETED_LIST','createRange','*Change\x20to:*\x20%0','document','listIndent'];(function(_0x5a9569,_0x41f35f){const _0xaa1954=function(_0x225bee){while(--_0x225bee){_0x5a9569['push'](_0x5a9569['shift']());}};_0xaa1954(++_0x41f35f);}(_0x41f3,0x7b));const _0xaa19=function(_0x5a9569,_0x41f35f){_0x5a9569=_0x5a9569-0x0;let _0xaa1954=_0x41f3[_0x5a9569];return _0xaa1954;};import{Plugin as _0x39e141}from'ckeditor5/src/core';import{getTranslation as _0x1d89de}from'../utils/common-translations';import{LiveRange as _0x37cbd2}from'ckeditor5/src/engine';export default class q extends _0x39e141{[_0xaa19('0x3b')](){const _0x169bd0=this[_0xaa19('0x4')];if(!_0x169bd0[_0xaa19('0x41')]['has'](_0xaa19('0x6')))return;const _0x4ba48f=_0x169bd0[_0xaa19('0x26')],_0x1ef818=_0x169bd0[_0xaa19('0x41')]['get']('TrackChangesEditing'),_0x5130ed=_0x169bd0[_0xaa19('0x41')][_0xaa19('0x9')](_0xaa19('0x2b'));function _0x19c0b2(_0x1eded9){return()=>{const _0x4af61f=_0x169bd0[_0xaa19('0x40')][_0xaa19('0x9')](_0x1eded9);if(_0x4af61f[_0xaa19('0x3e')]&&!_0x169bd0[_0xaa19('0x44')]['get'](_0xaa19('0x38')))return void _0x169bd0[_0xaa19('0x3d')](_0xaa19('0x47'),{});let _0x2f64eb=Array[_0xaa19('0x22')](_0x169bd0[_0xaa19('0x1f')][_0xaa19('0x19')][_0xaa19('0x2d')][_0xaa19('0x24')]());if(_0xa014ba(_0x1eded9)){_0x2f64eb=_0x5130ed[_0xaa19('0x3c')](_0x2f64eb);const _0x50c5ec=[];for(const _0x5a92b3 of _0x2f64eb)_0x5130ed[_0xaa19('0x2f')](_0x5a92b3)&&_0x50c5ec[_0xaa19('0x13')](_0x5a92b3);_0x2f64eb=_0x50c5ec;}_0x169bd0[_0xaa19('0x1f')][_0xaa19('0xf')](()=>{_0x1ef818[_0xaa19('0x21')](_0x2f64eb,{'commandName':_0x1eded9,'commandParams':[{'forceValue':!_0x4af61f[_0xaa19('0x3e')]}],'formatGroupId':_0xaa19('0x2a')},[],_0xaa19('0x29'));});};}function _0x4452da(_0x522e00){return()=>{const _0x31489e=function(_0x55409f){let _0x41a23c=Array[_0xaa19('0x22')](_0x55409f);const _0x449468=_0x41a23c['findIndex'](_0x1584da=>!_0x1584da[_0xaa19('0x20')](_0xaa19('0x8')));return _0x449468>-0x1&&(_0x41a23c=_0x41a23c[_0xaa19('0x4a')](0x0,_0x449468)),_0x41a23c;}(_0x169bd0['model'][_0xaa19('0x19')][_0xaa19('0x2d')]['getSelectedBlocks']()),_0x234f46=_0x31489e[_0x31489e['length']-0x1],_0x514922=_0x169bd0[_0xaa19('0x1f')]['schema'][_0xaa19('0x1')](_0x234f46)?_0xaa19('0xd'):'end',_0x2a6ab4=_0x169bd0[_0xaa19('0x1f')]['createRange'](_0x169bd0[_0xaa19('0x1f')][_0xaa19('0xa')](_0x31489e[0x0],_0xaa19('0x34')),_0x169bd0[_0xaa19('0x1f')][_0xaa19('0xa')](_0x234f46,_0x514922));_0x169bd0[_0xaa19('0x1f')][_0xaa19('0xf')](()=>{_0x1ef818[_0xaa19('0x1b')](_0x2a6ab4,{'commandName':_0x522e00,'commandParams':[],'formatGroupId':_0xaa19('0x2a')},function(_0x428396){const _0x56d909=new Set();for(const _0xa66ece of _0x428396){let _0x376000=_0xa66ece[_0xaa19('0x35')];for(;_0x376000&&_0x376000[_0xaa19('0xc')](_0xaa19('0x1a'))>_0xa66ece[_0xaa19('0xc')](_0xaa19('0x1a'));)_0x56d909['add'](_0x376000),_0x376000=_0x376000[_0xaa19('0x35')];}return Array[_0xaa19('0x22')](_0x56d909);}(_0x31489e));});};}function _0x3f6ab2(_0x144d6f){return()=>{const _0x41e39e=_0x169bd0[_0xaa19('0x1f')][_0xaa19('0x19')]['selection'][_0xaa19('0x24')]()[_0xaa19('0x11')]()[_0xaa19('0x3e')],_0x2f7a6d=_0x169bd0[_0xaa19('0x1f')][_0xaa19('0xa')](_0x41e39e,_0xaa19('0x34')),_0x4b010c=_0x169bd0[_0xaa19('0x1f')][_0xaa19('0xa')](_0x41e39e,0x0),_0x157113=_0x169bd0['model'][_0xaa19('0x17')](_0x2f7a6d,_0x4b010c);_0x169bd0['model'][_0xaa19('0xf')](()=>{_0x1ef818[_0xaa19('0x1b')](_0x157113,{'commandName':_0x144d6f,'commandParams':[],'formatGroupId':_0xaa19('0x2a')});});};}function _0xa014ba(_0x5c8b36){const _0x2a120f=_0x169bd0[_0xaa19('0x40')]['get'](_0xaa19('0x42'))['value'],_0x47f669=_0x169bd0[_0xaa19('0x40')]['get'](_0xaa19('0x48'))['value'];return _0xaa19('0x48')===_0x5c8b36?_0x2a120f:_0x47f669;}_0x1ef818['enableCommand'](_0xaa19('0x48'),_0x19c0b2(_0xaa19('0x48'))),_0x1ef818[_0xaa19('0x30')](_0xaa19('0x42'),_0x19c0b2(_0xaa19('0x42'))),_0x1ef818[_0xaa19('0x30')]('indentList',_0x4452da(_0xaa19('0x31'))),_0x1ef818['enableCommand']('outdentList',_0x4452da(_0xaa19('0x3a'))),_0x1ef818[_0xaa19('0x30')]('splitListItemAfter',_0x3f6ab2(_0xaa19('0x7'))),_0x1ef818[_0xaa19('0x30')](_0xaa19('0x2'),_0x3f6ab2('splitListItemBefore')),_0x1ef818[_0xaa19('0xe')][_0xaa19('0xb')](function(_0x2dc577){const _0x1345fc=!_0x169bd0[_0xaa19('0x1f')][_0xaa19('0x46')][_0xaa19('0x1')](_0x2dc577),_0x318933=_0x2dc577[_0xaa19('0x14')],_0x289061=_0x2dc577[_0xaa19('0x35')],_0x3f97c1=_0x2dc577['getAttribute'](_0xaa19('0x8')),_0x1e9372=!_0x318933||_0x318933[_0xaa19('0xc')](_0xaa19('0x8'))!==_0x3f97c1,_0x4fb897=!_0x289061||_0x289061[_0xaa19('0xc')]('listItemId')!==_0x3f97c1;return _0x1345fc&&Boolean(_0x3f97c1)&&_0x1e9372&&_0x4fb897;},_0x21a18b=>_0x1d89de(_0x4ba48f,_0xaa19('0x2e'),_0x21a18b)),_0x1ef818[_0xaa19('0xe')]['registerDescriptionCallback'](function(_0x8556f5){const {data:_0x5a2770}=_0x8556f5;if(!_0x5a2770)return;let _0x1d715c,_0x2bd3cf,_0x2f9071,_0x33a0ac;switch(_0x5a2770[_0xaa19('0x28')]){case _0xaa19('0x42'):_0x2f9071=_0x5a2770[_0xaa19('0x0')][0x0][_0xaa19('0x45')],_0x33a0ac=_0xa014ba(_0x5a2770[_0xaa19('0x28')]),_0x1d715c=_0x2f9071?_0xaa19('0x12'):'*Format:*\x20remove\x20from\x20%0',!_0x33a0ac&&_0x169bd0[_0xaa19('0x44')][_0xaa19('0x9')](_0xaa19('0x38'))||(_0x1d715c='*Change\x20to:*\x20%0'),_0x2bd3cf={'type':'format','content':_0x1d89de(_0x4ba48f,_0x1d715c,_0x1d89de(_0x4ba48f,_0xaa19('0x16')))};break;case _0xaa19('0x48'):_0x2f9071=_0x5a2770[_0xaa19('0x0')][0x0][_0xaa19('0x45')],_0x33a0ac=_0xa014ba(_0x5a2770['commandName']),_0x1d715c=_0x2f9071?_0xaa19('0x12'):_0xaa19('0x37'),!_0x33a0ac&&_0x169bd0[_0xaa19('0x44')][_0xaa19('0x9')](_0xaa19('0x38'))||(_0x1d715c=_0xaa19('0x18')),_0x2bd3cf={'type':'format','content':_0x1d89de(_0x4ba48f,_0x1d715c,_0x1d89de(_0x4ba48f,_0xaa19('0x3f')))};break;case'indentList':_0x1d715c='*Indent:*\x20%0',_0x2bd3cf={'type':_0xaa19('0x32'),'content':_0x1d89de(_0x4ba48f,_0x1d715c,_0x1d89de(_0x4ba48f,_0xaa19('0x2e')))};break;case _0xaa19('0x3a'):_0x1d715c=function(_0xdc807c){const _0x1da701=_0xdc807c['getFirstRange']();let _0x368afe=_0x1da701[_0xaa19('0x10')][_0xaa19('0x3')];for(;_0x368afe&&_0x1da701['containsItem'](_0x368afe);){if(_0x368afe[_0xaa19('0xc')](_0xaa19('0x1a'))>0x0)return!0x1;_0x368afe=_0x368afe[_0xaa19('0x35')];}return!0x0;}(_0x8556f5)?_0x1d89de(_0x4ba48f,_0xaa19('0x37'),_0x1d89de(_0x4ba48f,function(_0x5986a6){const _0x50e84f=_0x5986a6[_0xaa19('0x1d')]()[_0xaa19('0x10')][_0xaa19('0x3')];return _0xaa19('0x23')+_0x50e84f[_0xaa19('0xc')](_0xaa19('0x2a'))['toUpperCase']()+_0xaa19('0x25');}(_0x8556f5))):_0x1d89de(_0x4ba48f,_0xaa19('0x49'),_0x1d89de(_0x4ba48f,'ELEMENT_LIST_ITEM')),_0x2bd3cf={'type':_0xaa19('0x32'),'content':_0x1d715c};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x5a2770[_0xaa19('0x1e')]&&(_0x1d715c=_0xaa19('0x43'),_0x2bd3cf={'type':'deletion','content':_0x1d89de(_0x4ba48f,_0x1d715c,_0x1d89de(_0x4ba48f,_0xaa19('0x2e')))});}return _0x2bd3cf;}),_0x1ef818['_suggestionFactory'][_0xaa19('0x1c')](_0xaa19('0x33'),'documentList',_0xaa19('0x5'),function(_0x525791,_0x5e6fa3){const _0x229c29=[];for(let _0x1c17f2 of _0x525791)_0x1c17f2[_0xaa19('0x10')][_0xaa19('0x3')]===_0x1c17f2[_0xaa19('0x15')]['parent']&&(_0x1c17f2=_0x169bd0['model'][_0xaa19('0x17')](_0x169bd0[_0xaa19('0x1f')]['createPositionAt'](_0x1c17f2['start']['nodeAfter'],0x0))),_0x229c29[_0xaa19('0x13')](_0x1c17f2);_0x169bd0[_0xaa19('0x1f')][_0xaa19('0xf')](_0x2e4149=>{const _0x30b42b=_0x169bd0[_0xaa19('0x1f')][_0xaa19('0x19')][_0xaa19('0x2d')],_0x5cb02f=Array[_0xaa19('0x22')](_0x30b42b['getRanges']())['map'](_0x1d8f60=>_0x37cbd2[_0xaa19('0x39')](_0x1d8f60));_0x2e4149[_0xaa19('0x2c')](_0x229c29),_0x169bd0[_0xaa19('0x40')][_0xaa19('0x9')](_0x5e6fa3[_0xaa19('0x28')])[_0xaa19('0x36')](),_0x5e6fa3[_0xaa19('0x0')][_0xaa19('0x13')]({'forceDefaultExecution':!0x0}),_0x169bd0[_0xaa19('0x3d')](_0x5e6fa3[_0xaa19('0x28')],..._0x5e6fa3[_0xaa19('0x0')]),_0x2e4149['setSelection'](_0x5cb02f);for(const _0x8192dc of _0x5cb02f)_0x8192dc[_0xaa19('0x27')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47f6=['*Format:*\x20set\x20start\x20index\x20to\x20%0','format','listReversed','getListTypeFromListStyleType','_getTranslationKeyForListStyle','*Format:*\x20set\x20order\x20to\x20regular','handleListStartCommand','bind','editor','type','listStart','TrackChangesEditing','expandListBlocksToCompleteList','selection','list.properties','startIndex','document','from','getAttribute','push','toUpperCase','markMultiRangeBlockFormat','enableCommand','plugins','afterInit','DocumentListPropertiesEditing','change','ELEMENT_','handleListStyleCommand','_LIST_','handleListReversedCommand','has','getSelectedBlocks','get','commandParams','numbered','DocumentListUtils','DocumentListPropertiesUtils','_getSuggestionBlocks','listStyle','config','model','*Format:*\x20set\x20order\x20to\x20reversed','registerDescriptionCallback','reversed','_getSuggestionBlocksForListStyle','isFirstBlockOfListItem','filter','handleDescriptions','isListItemBlock','styles','_descriptionFactory'];(function(_0x46e727,_0x47f629){const _0x1791a9=function(_0x3679b0){while(--_0x3679b0){_0x46e727['push'](_0x46e727['shift']());}};_0x1791a9(++_0x47f629);}(_0x47f6,0x18e));const _0x1791=function(_0x46e727,_0x47f629){_0x46e727=_0x46e727-0x0;let _0x1791a9=_0x47f6[_0x46e727];return _0x1791a9;};import{Plugin as _0x3e7f39}from'ckeditor5/src/core';import{getTranslation as _0x48cd64}from'../utils/common-translations';export default class Ct extends _0x3e7f39{[_0x1791('0x2a')](){if(!this[_0x1791('0x1a')][_0x1791('0x29')][_0x1791('0x31')](_0x1791('0x2b')))return;const _0x24e2e9=this[_0x1791('0x1a')][_0x1791('0x6')][_0x1791('0x33')](_0x1791('0x20')),_0x3a97d6=this[_0x1791('0x1a')]['plugins'][_0x1791('0x33')](_0x1791('0x1d'));_0x24e2e9[_0x1791('0x10')]&&_0x3a97d6[_0x1791('0x28')](_0x1791('0x5'),this[_0x1791('0x2e')][_0x1791('0x19')](this)),_0x24e2e9[_0x1791('0xa')]&&_0x3a97d6[_0x1791('0x28')](_0x1791('0x14'),this[_0x1791('0x30')][_0x1791('0x19')](this)),_0x24e2e9[_0x1791('0x21')]&&_0x3a97d6[_0x1791('0x28')](_0x1791('0x1c'),this[_0x1791('0x18')][_0x1791('0x19')](this)),_0x3a97d6[_0x1791('0x11')][_0x1791('0x9')](this[_0x1791('0xe')][_0x1791('0x19')](this));}[_0x1791('0x2e')](_0x58aa6d,_0x20e481={}){const _0x131a5f=this[_0x1791('0x1a')]['plugins'][_0x1791('0x33')]('TrackChangesEditing'),_0x22d943=this[_0x1791('0xb')]();this[_0x1791('0x1a')][_0x1791('0x7')][_0x1791('0x2c')](()=>{_0x131a5f[_0x1791('0x27')](_0x22d943,{'commandName':_0x1791('0x5'),'commandParams':[{'type':_0x20e481[_0x1791('0x1b')]}],'formatGroupId':_0x1791('0x5')});});}[_0x1791('0x30')](_0x316770,_0x1af7ed={}){const _0x406632=this['editor'][_0x1791('0x29')]['get'](_0x1791('0x1d')),_0xbc58b2=this[_0x1791('0x1a')][_0x1791('0x29')][_0x1791('0x33')]('DocumentListUtils'),_0x2b743c=this[_0x1791('0x4')](_0x1aa2ca=>_0xbc58b2[_0x1791('0xf')](_0x1aa2ca)&&_0x1791('0x1')===_0x1aa2ca[_0x1791('0x24')]('listType'));null!==_0x2b743c&&this[_0x1791('0x1a')][_0x1791('0x7')][_0x1791('0x2c')](()=>{_0x406632[_0x1791('0x27')](_0x2b743c,{'commandName':'listReversed','commandParams':[{'reversed':_0x1af7ed['reversed']}],'formatGroupId':'listReversed'});});}[_0x1791('0x18')](_0x5c46b3,_0x1b6443={}){const _0x1d8361=this['editor'][_0x1791('0x29')]['get'](_0x1791('0x1d')),_0x1b6994=this[_0x1791('0x1a')]['plugins']['get'](_0x1791('0x2')),_0x553563=this[_0x1791('0x4')](_0x34c3a6=>_0x1b6994[_0x1791('0xf')](_0x34c3a6)&&_0x1791('0x1')===_0x34c3a6['getAttribute']('listType'));null!==_0x553563&&this['editor'][_0x1791('0x7')][_0x1791('0x2c')](()=>{_0x1d8361[_0x1791('0x27')](_0x553563,{'commandName':'listStart','commandParams':[{'startIndex':_0x1b6443['startIndex']}],'formatGroupId':_0x1791('0x1c')});});}[_0x1791('0xe')](_0x39b90a){const _0x267810=this[_0x1791('0x1a')]['locale'],{data:_0x22d066}=_0x39b90a;if(!_0x22d066)return;let _0x52608d,_0x5bce8c;switch(_0x22d066['commandName']){case _0x1791('0x5'):_0x52608d='*Change\x20to:*\x20%0',_0x5bce8c={'type':_0x1791('0x13'),'content':_0x48cd64(_0x267810,_0x52608d,_0x48cd64(_0x267810,this[_0x1791('0x16')](_0x22d066[_0x1791('0x0')][0x0][_0x1791('0x1b')])))};break;case'listReversed':_0x52608d=_0x22d066['commandParams'][0x0]['reversed']?_0x1791('0x8'):_0x1791('0x17'),_0x5bce8c={'type':_0x1791('0x13'),'content':_0x48cd64(_0x267810,_0x52608d)};break;case'listStart':_0x52608d=_0x1791('0x12'),_0x5bce8c={'type':_0x1791('0x13'),'content':_0x48cd64(_0x267810,_0x52608d,_0x22d066['commandParams'][0x0]['startIndex'])};}return _0x5bce8c;}[_0x1791('0xb')](){const _0x175af9=this[_0x1791('0x1a')][_0x1791('0x29')][_0x1791('0x33')](_0x1791('0x2'));let _0x51d8a0=Array[_0x1791('0x23')](this[_0x1791('0x1a')][_0x1791('0x7')][_0x1791('0x22')][_0x1791('0x1f')][_0x1791('0x32')]());return _0x51d8a0[_0x1791('0x25')](..._0x175af9[_0x1791('0x1e')](_0x51d8a0)),_0x51d8a0=[...new Set(_0x51d8a0)],_0x51d8a0;}[_0x1791('0x4')](_0x1591d3){const _0x24d2b6=this[_0x1791('0x1a')][_0x1791('0x29')][_0x1791('0x33')]('DocumentListUtils');let _0x32b026=Array[_0x1791('0x23')](this['editor'][_0x1791('0x7')][_0x1791('0x22')]['selection'][_0x1791('0x32')]())[_0x1791('0xd')](_0x1591d3);if(!_0x32b026['length'])return null;_0x32b026=_0x24d2b6['expandListBlocksToCompleteList'](_0x32b026);const _0x59b3ba=[];for(const _0x2f27c5 of _0x32b026)_0x24d2b6[_0x1791('0xc')](_0x2f27c5)&&_0x59b3ba[_0x1791('0x25')](_0x2f27c5);return _0x59b3ba;}[_0x1791('0x16')](_0x421ab8){return _0x1791('0x2d')+this[_0x1791('0x1a')][_0x1791('0x29')][_0x1791('0x33')](_0x1791('0x3'))[_0x1791('0x15')](_0x421ab8)['toUpperCase']()+_0x1791('0x2f')+_0x421ab8[_0x1791('0x26')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cc8=['markInsertion','commands','removeMarker:suggestion:insertion','requires','enter','getFirstRange','hasClass','addMarker:suggestion:insertion','ck-suggestion-marker-split','editor','plugins','markerName','markerNameToElements','high','parent','setSelection','init','model','data','fire','end','document','mapper','editing','fromRange','downcastDispatcher','createRange','change','selection','enterBlock','split','remove','enableCommand','getFirstPosition'];(function(_0x222bc5,_0x1cc82b){const _0x5c6f10=function(_0x553fbb){while(--_0x553fbb){_0x222bc5['push'](_0x222bc5['shift']());}};_0x5c6f10(++_0x1cc82b);}(_0x1cc8,0xf3));const _0x5c6f=function(_0x222bc5,_0x1cc82b){_0x222bc5=_0x222bc5-0x0;let _0x5c6f10=_0x1cc8[_0x222bc5];return _0x5c6f10;};import{Plugin as _0x529c9f}from'ckeditor5/src/core';import{Enter as _0x435447}from'ckeditor5/src/enter';import{LiveRange as _0x50fe79}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4847a6}from'./utils';export default class z extends _0x529c9f{static get[_0x5c6f('0x20')](){return[_0x435447];}[_0x5c6f('0xb')](){const _0x168fba=this[_0x5c6f('0x4')],_0x373abd=_0x168fba[_0x5c6f('0x5')]['get']('TrackChangesEditing'),_0x3c3380=_0x168fba[_0x5c6f('0x1e')]['get']('enter');_0x373abd[_0x5c6f('0x1b')](_0x5c6f('0x21'),()=>{_0x168fba[_0x5c6f('0xc')][_0x5c6f('0x16')](_0x5d7995=>{const _0x2f7faf=_0x168fba[_0x5c6f('0xc')][_0x5c6f('0x10')][_0x5c6f('0x17')],_0x45cdd8=_0x2f7faf[_0x5c6f('0x1c')](),_0x8e2be1=_0x50fe79[_0x5c6f('0x13')](_0x2f7faf[_0x5c6f('0x0')]());if(_0x3c3380[_0x5c6f('0x18')](_0x5d7995)){const _0x1e4ee4=_0x168fba['model']['createPositionAt'](_0x45cdd8[_0x5c6f('0x9')]['nextSibling'],0x0),_0x2b2e40=_0x5d7995['createRange'](_0x45cdd8,_0x1e4ee4);_0x373abd[_0x5c6f('0x1d')](_0x2b2e40);}else _0x5d7995[_0x5c6f('0xa')](_0x5d7995[_0x5c6f('0x15')](_0x8e2be1[_0x5c6f('0xf')]));_0x8e2be1['detach'](),_0x3c3380[_0x5c6f('0xe')]('afterExecute',{'writer':_0x5d7995});});}),_0x168fba[_0x5c6f('0x12')]['downcastDispatcher']['on'](_0x5c6f('0x2'),_0x4847a6(_0x168fba,_0x5c6f('0x19')),{'priority':_0x5c6f('0x8')}),_0x168fba[_0x5c6f('0x12')][_0x5c6f('0x14')]['on'](_0x5c6f('0x1f'),(_0x3e125b,_0x5d7f65,_0x3b0bf7)=>{const _0x39074c=_0x3b0bf7[_0x5c6f('0x11')][_0x5c6f('0x7')](_0x5d7f65[_0x5c6f('0x6')]);if(_0x39074c)for(const _0x44c554 of _0x39074c)_0x44c554[_0x5c6f('0x1')](_0x5c6f('0x3'))&&(_0x3b0bf7['mapper']['unbindElementFromMarkerName'](_0x44c554,_0x5d7f65['markerName']),_0x3b0bf7['writer'][_0x5c6f('0x1a')](_0x44c554));},{'priority':'high'}),_0x168fba[_0x5c6f('0xd')][_0x5c6f('0x14')]['on'](_0x5c6f('0x2'),(_0xbf6669,_0x2fda32,_0x278b6b)=>{_0x278b6b['options']['showSuggestionHighlights']&&_0x4847a6(_0x168fba,_0x5c6f('0x19'),{'showActiveMarker':!0x1})['bind'](this)(_0xbf6669,_0x2fda32,_0x278b6b);},{'priority':_0x5c6f('0x8')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5411=['bind','has','plugins','getMarkersGroup','item','filter','start','enableCommand','findByTextCallback','TrackChangesEditing','suggestion:deletion','findNext','string','model','findPrevious','createRange','replace','FindAndReplaceEditing','replaceAll','markers','get','createPositionAt','editor','handleFindCommand'];(function(_0x605d31,_0x541192){const _0xe95b7d=function(_0x21a144){while(--_0x21a144){_0x605d31['push'](_0x605d31['shift']());}};_0xe95b7d(++_0x541192);}(_0x5411,0x7d));const _0xe95b=function(_0x605d31,_0x541192){_0x605d31=_0x605d31-0x0;let _0xe95b7d=_0x5411[_0x605d31];return _0xe95b7d;};import{Plugin as _0x3385d0}from'ckeditor5/src/core';export default class H extends _0x3385d0{['afterInit'](){if(!this[_0xe95b('0x11')][_0xe95b('0x15')][_0xe95b('0x14')](_0xe95b('0xc')))return;const _0x321e61=this[_0xe95b('0x11')]['plugins'][_0xe95b('0xf')](_0xe95b('0x4'));_0x321e61[_0xe95b('0x2')]('find',this[_0xe95b('0x12')][_0xe95b('0x13')](this)),_0x321e61[_0xe95b('0x2')](_0xe95b('0x6')),_0x321e61['enableCommand'](_0xe95b('0x9')),_0x321e61[_0xe95b('0x2')](_0xe95b('0xb')),_0x321e61['enableCommand'](_0xe95b('0xd'));}[_0xe95b('0x12')](_0x39eaee,_0x23ba68,_0x5d5b47={}){const _0x564506=this[_0xe95b('0x11')][_0xe95b('0x15')][_0xe95b('0xf')]('FindAndReplaceUtils');if(void 0x0!==_0x5d5b47)return _0x39eaee(_0x5cb294=>(_0xe95b('0x7')==typeof _0x23ba68?_0x564506[_0xe95b('0x3')](_0x23ba68,_0x5d5b47):_0x23ba68)(_0x5cb294)[_0xe95b('0x0')](_0x80bbc6=>!0x1===this['_isInDeletionRange'](_0x80bbc6,_0x5cb294[_0xe95b('0x17')])),_0x5d5b47);}['_isInDeletionRange'](_0x908f1a,_0x1352ad){const _0xf59425=this[_0xe95b('0x11')][_0xe95b('0x8')][_0xe95b('0xa')](this['editor'][_0xe95b('0x8')][_0xe95b('0x10')](_0x1352ad,_0x908f1a[_0xe95b('0x1')]),this['editor'][_0xe95b('0x8')][_0xe95b('0x10')](_0x1352ad,_0x908f1a['end']));for(const _0x160d0b of this[_0xe95b('0x11')]['model'][_0xe95b('0xe')][_0xe95b('0x16')](_0xe95b('0x5')))if(null!==_0xf59425['getIntersection'](_0x160d0b['getRange']()))return!0x0;return!0x1;}}
|