@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231003.0 → 0.0.0-nightly-20231005.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-20231005.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-20231005.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231005.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 _0xb641=['refresh','get','_suggestions','TrackChangesEditing','plugins','isEnabled','editor','canEditAt','_isEnabledBasedOnSelection'];(function(_0x4a1c97,_0xb64171){const _0x3e45db=function(_0x34d545){while(--_0x34d545){_0x4a1c97['push'](_0x4a1c97['shift']());}};_0x3e45db(++_0xb64171);}(_0xb641,0x19b));const _0x3e45=function(_0x4a1c97,_0xb64171){_0x4a1c97=_0x4a1c97-0x0;let _0x3e45db=_0xb641[_0x4a1c97];return _0x3e45db;};import{Command as _0x17c00f}from'ckeditor5/src/core';import{CKEditorError as _0x3754a8}from'ckeditor5/src/utils';export default class M extends _0x17c00f{constructor(_0x5df8b5,_0x442772){super(_0x5df8b5),this[_0x3e45('0x5')]=_0x442772,this[_0x3e45('0x3')](),this[_0x3e45('0x2')]=!0x1;}[_0x3e45('0x3')](){this[_0x3e45('0x8')]=!0x0;}['execute'](_0x505fdd){const _0x3e2b95=this[_0x3e45('0x5')][_0x3e45('0x4')](_0x505fdd);if(!_0x3e2b95)throw new _0x3754a8('track-changes-accept-suggestion-not-found',this);const _0x4d3e3c=_0x3e2b95['getRanges']();this[_0x3e45('0x0')]['model'][_0x3e45('0x1')](_0x4d3e3c)&&this['editor'][_0x3e45('0x7')][_0x3e45('0x4')](_0x3e45('0x6'))['acceptSuggestion'](_0x3e2b95);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4208=['isEnabled','model','TrackChangesEditing','editor','discardSuggestion','get','execute','canEditAt','getRanges','_isEnabledBasedOnSelection','_suggestions','refresh'];(function(_0x4cf4f0,_0x4208eb){const _0x56ced3=function(_0x2bbda2){while(--_0x2bbda2){_0x4cf4f0['push'](_0x4cf4f0['shift']());}};_0x56ced3(++_0x4208eb);}(_0x4208,0x1a7));const _0x56ce=function(_0x4cf4f0,_0x4208eb){_0x4cf4f0=_0x4cf4f0-0x0;let _0x56ced3=_0x4208[_0x4cf4f0];return _0x56ced3;};import{Command as _0x7af84f}from'ckeditor5/src/core';import{CKEditorError as _0x873bae}from'ckeditor5/src/utils';export default class $ extends _0x7af84f{constructor(_0x4bd2cd,_0x2d3242){super(_0x4bd2cd),this[_0x56ce('0x7')]=_0x2d3242,this[_0x56ce('0x8')](),this[_0x56ce('0x6')]=!0x1;}[_0x56ce('0x8')](){this[_0x56ce('0x9')]=!0x0;}[_0x56ce('0x3')](_0x161893){const _0x168c84=this[_0x56ce('0x7')][_0x56ce('0x2')](_0x161893);if(!_0x168c84)throw new _0x873bae('track-changes-discard-suggestion-not-found',this);const _0x309ccd=_0x168c84[_0x56ce('0x5')]();this['editor'][_0x56ce('0xa')][_0x56ce('0x4')](_0x309ccd)&&this[_0x56ce('0x0')]['plugins'][_0x56ce('0x2')](_0x56ce('0xb'))[_0x56ce('0x1')](_0x168c84);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a0e=['some','isInContent','canEditAt','editor','_command','values','execute','refresh','from','_isEnabledBasedOnSelection','model','_suggestions'];(function(_0x53eb65,_0x5a0ed5){const _0x283af3=function(_0x74dd4e){while(--_0x74dd4e){_0x53eb65['push'](_0x53eb65['shift']());}};_0x283af3(++_0x5a0ed5);}(_0x5a0e,0x1c4));const _0x283a=function(_0x53eb65,_0x5a0ed5){_0x53eb65=_0x53eb65-0x0;let _0x283af3=_0x5a0e[_0x53eb65];return _0x283af3;};import{Command as _0x3dea3c}from'ckeditor5/src/core';import{sortSuggestions as _0x345029,executeCommandForSuggestions as _0x13c3dc}from'../utils/utils';export default class N extends _0x3dea3c{constructor(_0x479a94,_0x36bcf0,_0x29d4e1){super(_0x479a94),this['_command']=_0x36bcf0,this[_0x283a('0x3')]=_0x29d4e1,this[_0x283a('0xb')](),this[_0x283a('0x1')]=!0x1;}['refresh'](){const _0x369cb6=Array[_0x283a('0x0')](this[_0x283a('0x3')][_0x283a('0x9')]())[_0x283a('0x4')](_0x1f49a9=>_0x1f49a9[_0x283a('0x5')]);this['isEnabled']=this[_0x283a('0x8')]['isEnabled']&&_0x369cb6;}[_0x283a('0xa')](){const _0x1fb8b1=_0x345029(Array[_0x283a('0x0')](this[_0x283a('0x3')][_0x283a('0x9')]()));for(const _0x468602 of _0x1fb8b1){const _0x1f633a=_0x468602['getRanges']();if(!this['editor'][_0x283a('0x2')][_0x283a('0x6')](_0x1f633a))return;}_0x13c3dc(this[_0x283a('0x7')][_0x283a('0x2')],this[_0x283a('0x8')],_0x1fb8b1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcc79=['refresh','selection','isEnabled','editor','execute','_command','values','_suggestions','from','document','canEditAt','_selectedSuggestions','model'];(function(_0x1c17cf,_0xcc7986){const _0x2efc98=function(_0x168092){while(--_0x168092){_0x1c17cf['push'](_0x1c17cf['shift']());}};_0x2efc98(++_0xcc7986);}(_0xcc79,0xda));const _0x2efc=function(_0x1c17cf,_0xcc7986){_0x1c17cf=_0x1c17cf-0x0;let _0x2efc98=_0xcc79[_0x1c17cf];return _0x2efc98;};import{Command as _0x3cedf8}from'ckeditor5/src/core';import{sortSuggestions as _0x4c229d,getSelectedSuggestions as _0x348bcb,executeCommandForSuggestions as _0x126f62}from'../utils/utils';export default class R extends _0x3cedf8{constructor(_0x6c0c17,_0x31d91e,_0x5b725b){super(_0x6c0c17),this[_0x2efc('0x8')]=_0x31d91e,this[_0x2efc('0xa')]=_0x5b725b,this[_0x2efc('0x1')]=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2efc('0x3')](){const _0x46ad65=this[_0x2efc('0x6')][_0x2efc('0x2')][_0x2efc('0xc')][_0x2efc('0x4')],_0x4454b1=Array[_0x2efc('0xb')](this['_suggestions'][_0x2efc('0x9')]());this['_selectedSuggestions']=_0x348bcb(_0x46ad65,_0x4454b1),this[_0x2efc('0x5')]=this[_0x2efc('0x8')]['isEnabled']&&!!this[_0x2efc('0x1')]['size'];}[_0x2efc('0x7')](){const _0x28da9b=_0x4c229d(Array['from'](this['_selectedSuggestions']));for(const _0x418f1b of _0x28da9b){const _0x23612c=_0x418f1b['getRanges']();if(!this[_0x2efc('0x6')][_0x2efc('0x2')][_0x2efc('0x0')](_0x23612c))return;}_0x126f62(this[_0x2efc('0x6')][_0x2efc('0x2')],this[_0x2efc('0x8')],_0x28da9b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x169c=['_enabledCommands','TrackChangesCommand','isEnabled','_isEnabledBasedOnSelection','value','_disableUnsupportedCommands','affectsData','forceDisabled','_enableCommands','commands','clearForceDisabled','editor','execute'];(function(_0x1d227c,_0x169cd6){const _0x37c70b=function(_0x18ff0c){while(--_0x18ff0c){_0x1d227c['push'](_0x1d227c['shift']());}};_0x37c70b(++_0x169cd6);}(_0x169c,0xde));const _0x37c7=function(_0x1d227c,_0x169cd6){_0x1d227c=_0x1d227c-0x0;let _0x37c70b=_0x169c[_0x1d227c];return _0x37c70b;};import{Command as _0x4f5fc5}from'ckeditor5/src/core';export default class _ extends _0x4f5fc5{constructor(_0x3d6f2e,_0x57498a){super(_0x3d6f2e),this[_0x37c7('0xc')]=_0x57498a,this[_0x37c7('0x3')]=!0x1,this['refresh'](),this[_0x37c7('0x2')]=!0x1;}['refresh'](){this[_0x37c7('0x1')]=!0x0;}[_0x37c7('0xb')](){this['value']=!this[_0x37c7('0x3')],this[_0x37c7('0x3')]?this[_0x37c7('0x4')]():this[_0x37c7('0x7')]();}[_0x37c7('0x4')](){for(const _0x240c32 of this[_0x37c7('0xa')][_0x37c7('0x8')][_0x37c7('0x8')]())_0x240c32[_0x37c7('0x5')]&&!this[_0x37c7('0xc')]['has'](_0x240c32)&&_0x240c32[_0x37c7('0x6')](_0x37c7('0x0'));}[_0x37c7('0x7')](){for(const _0x4e9703 of this['editor'][_0x37c7('0x8')][_0x37c7('0x8')]())_0x4e9703['affectsData']&&!this[_0x37c7('0xc')]['has'](_0x4e9703)&&_0x4e9703[_0x37c7('0x9')](_0x37c7('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47b3=['showAIAssistant','enableCommand','get','editor','plugins','commands','TrackChangesEditing'];(function(_0x28f9e7,_0x47b3c1){const _0x319c71=function(_0x21af9){while(--_0x21af9){_0x28f9e7['push'](_0x28f9e7['shift']());}};_0x319c71(++_0x47b3c1);}(_0x47b3,0x6e));const _0x319c=function(_0x28f9e7,_0x47b3c1){_0x28f9e7=_0x28f9e7-0x0;let _0x319c71=_0x47b3[_0x28f9e7];return _0x319c71;};import{Plugin as _0x299430}from'ckeditor5/src/core';export default class j extends _0x299430{['afterInit'](){const _0x276685=this[_0x319c('0x5')],_0x5c7bb9=_0x276685[_0x319c('0x6')][_0x319c('0x4')](_0x319c('0x1'));_0x276685[_0x319c('0x0')][_0x319c('0x4')](_0x319c('0x2'))&&_0x5c7bb9[_0x319c('0x3')](_0x319c('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43b5=['plugins','FORMAT_ALIGN_TO_CENTER','markBlockFormat','filter','AlignmentEditing','format','commandName','selection','getSelectedBlocks','getAttribute','contentLanguageDirection','enableCommand','commandParams','left','TrackChangesEditing','justify','FORMAT_JUSTIFY_TEXT','center','value','editor','alignment','FORMAT_ALIGN_TO_LEFT','from','_descriptionFactory','ltr','right','get','document','model','registerDescriptionCallback','checkAttribute'];(function(_0x16f046,_0x43b544){const _0x32879d=function(_0x3b07b8){while(--_0x3b07b8){_0x16f046['push'](_0x16f046['shift']());}};_0x32879d(++_0x43b544);}(_0x43b5,0xc4));const _0x3287=function(_0x16f046,_0x43b544){_0x16f046=_0x16f046-0x0;let _0x32879d=_0x43b5[_0x16f046];return _0x32879d;};import{Plugin as _0x356f44}from'ckeditor5/src/core';import{getTranslation as _0x21538c}from'../utils/common-translations';export default class x extends _0x356f44{['afterInit'](){const _0x188a70=this['editor'],_0x40296e=_0x188a70['locale'];if(!_0x188a70[_0x3287('0x15')]['has'](_0x3287('0x19')))return;const _0x52f64c=_0x188a70['plugins'][_0x3287('0x10')](_0x3287('0x4'));_0x52f64c[_0x3287('0x1')](_0x3287('0xa'),(_0x3944b8,_0x2523fa={})=>{let _0x4bd6bd=_0x2523fa[_0x3287('0x8')];_0x2523fa['value']||(_0x4bd6bd=_0x3287('0xe')===_0x188a70['locale'][_0x3287('0x0')]?_0x3287('0x3'):_0x3287('0xf'));const _0x19b0f8=Array[_0x3287('0xc')](this['editor']['model'][_0x3287('0x11')][_0x3287('0x1c')][_0x3287('0x1d')]())[_0x3287('0x18')](_0x160c1f=>function(_0x300b6a,_0x556113,_0xed9891){const _0x193f3f=_0x300b6a[_0x3287('0x1e')](_0x3287('0xa'))||null;return _0x556113[_0x3287('0x14')](_0x300b6a,_0x3287('0xa'))&&_0xed9891!=_0x193f3f;}(_0x160c1f,this[_0x3287('0x9')][_0x3287('0x12')]['schema'],_0x4bd6bd));_0x188a70[_0x3287('0x12')]['change'](()=>{for(const _0x11c331 of _0x19b0f8)_0x52f64c[_0x3287('0x17')](_0x11c331,{'commandName':_0x3287('0xa'),'commandParams':[{'value':_0x4bd6bd}]});});}),_0x52f64c[_0x3287('0xd')][_0x3287('0x13')](_0x141ef3=>{const {data:_0x1e9d04}=_0x141ef3;if(_0x1e9d04&&_0x3287('0xa')==_0x1e9d04[_0x3287('0x1b')]){const _0x56dece=_0x1e9d04[_0x3287('0x2')][0x0]['value'];return{'type':_0x3287('0x1a'),'content':_0x21538c(_0x40296e,'*Format:*\x20%0',function(_0x1d3285){switch(_0x1d3285){case _0x3287('0x3'):return _0x21538c(_0x40296e,_0x3287('0xb'));case _0x3287('0xf'):return _0x21538c(_0x40296e,'FORMAT_ALIGN_TO_RIGHT');case _0x3287('0x7'):return _0x21538c(_0x40296e,_0x3287('0x16'));case _0x3287('0x5'):return _0x21538c(_0x40296e,_0x3287('0x6'));}}(_0x56dece))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c96=['*Format:*\x20%0','isCollapsed','FORMAT_BOLD','markInlineFormat','FORMAT_ITALIC','italic','SubscriptEditing','change','UnderlineEditing','editor','BoldEditing','selection','locale','value','slice','CodeEditing','_descriptionFactory','ItalicEditing','document','from','subscript','enableCommand','plugins','registerDescriptionCallback','getRanges','forceValue','code','commandParams','FORMAT_CODE','commandName','TrackChangesEditing','bold','toLowerCase','SuperscriptEditing','get','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','format','FORMAT_STRIKETHROUGH'];(function(_0x4097ad,_0x4c966f){const _0x18a078=function(_0x50b956){while(--_0x50b956){_0x4097ad['push'](_0x4097ad['shift']());}};_0x18a078(++_0x4c966f);}(_0x4c96,0x173));const _0x18a0=function(_0x4097ad,_0x4c966f){_0x4097ad=_0x4097ad-0x0;let _0x18a078=_0x4c96[_0x4097ad];return _0x18a078;};import{Plugin as _0x4b0ec8}from'ckeditor5/src/core';import{getTranslation as _0x283adc}from'../utils/common-translations';import{getRangesWithAttribute as _0xdffff5}from'./utils';const Zt=[_0x18a0('0x1d'),_0x18a0('0x24'),_0x18a0('0x1b'),_0x18a0('0x22'),'StrikethroughEditing',_0x18a0('0x19'),_0x18a0('0xd')];export default class U extends _0x4b0ec8{['afterInit'](){const _0x54a4e8=this[_0x18a0('0x1c')],_0xfdfcc5=_0x54a4e8['model'],_0x234a99=_0x54a4e8[_0x18a0('0x2')][_0x18a0('0xe')](_0x18a0('0xa')),_0x38a7fc=_0x54a4e8[_0x18a0('0x1f')];for(const _0x2a10d8 of Zt){if(!_0x54a4e8['plugins']['has'](_0x2a10d8))continue;const _0x424b56=_0x2a10d8[_0x18a0('0x21')](0x0,-0x7)[_0x18a0('0xc')](),_0x132cc3=_0x54a4e8['commands']['get'](_0x424b56);_0x234a99[_0x18a0('0x1')](_0x424b56,(_0x1e3f2e,_0x49fc12={})=>{const _0x3ff957=_0xfdfcc5[_0x18a0('0x25')][_0x18a0('0x1e')];if(_0x3ff957[_0x18a0('0x14')])return void _0x1e3f2e(_0x49fc12);const _0x2f51e8=void 0x0!==_0x49fc12[_0x18a0('0x5')]?_0x49fc12[_0x18a0('0x5')]:!_0x132cc3[_0x18a0('0x20')];_0xfdfcc5[_0x18a0('0x1a')](()=>{const _0x4942fb=Array[_0x18a0('0x26')](_0x3ff957[_0x18a0('0x4')]());for(const _0x7b0299 of _0x4942fb){const _0x4616c4=_0x2f51e8?[_0x7b0299]:_0xdffff5(_0x424b56,_0x7b0299,_0xfdfcc5);for(const _0x1679d0 of _0x4616c4)_0x234a99[_0x18a0('0x16')](_0x1679d0,{'commandName':_0x424b56,'commandParams':[{'forceValue':_0x2f51e8}]});}});});}function _0x304ea0(_0xe79ea,_0x2ed996){_0x234a99[_0x18a0('0x23')][_0x18a0('0x3')](_0x31ed4a=>{const {data:_0x7bea2}=_0x31ed4a;if(_0x7bea2&&_0x7bea2[_0x18a0('0x9')]===_0xe79ea)return _0x7bea2[_0x18a0('0x7')][0x0][_0x18a0('0x5')]?{'type':_0x18a0('0x11'),'content':_0x283adc(_0x38a7fc,_0x18a0('0x13'),_0x2ed996)}:{'type':_0x18a0('0x11'),'content':_0x283adc(_0x38a7fc,_0x18a0('0xf'),_0x2ed996)};});}_0x304ea0(_0x18a0('0xb'),_0x283adc(_0x38a7fc,_0x18a0('0x15'))),_0x304ea0(_0x18a0('0x18'),_0x283adc(_0x38a7fc,_0x18a0('0x17'))),_0x304ea0('underline',_0x283adc(_0x38a7fc,_0x18a0('0x10'))),_0x304ea0(_0x18a0('0x6'),_0x283adc(_0x38a7fc,_0x18a0('0x8'))),_0x304ea0('strikethrough',_0x283adc(_0x38a7fc,_0x18a0('0x12'))),_0x304ea0(_0x18a0('0x0'),_0x283adc(_0x38a7fc,'FORMAT_SUBSCRIPT')),_0x304ea0('superscript',_0x283adc(_0x38a7fc,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33ee=['forceValue','schema','blockQuote','_descriptionFactory','parent','selection','checkChild','TrackChangesEditing','editor','from','enableCommand','afterInit','ELEMENT_BLOCK_QUOTE','format','*Format:*\x20%0','commandParams','commands','value','locale','change','plugins','getSelectedBlocks','registerDescriptionCallback','model','get','BlockQuoteEditing','name','filter','*Remove\x20format:*\x20%0','$root','markBlockFormat'];(function(_0xb34502,_0x33ee58){const _0x45f408=function(_0xa6246){while(--_0xa6246){_0xb34502['push'](_0xb34502['shift']());}};_0x45f408(++_0x33ee58);}(_0x33ee,0x93));const _0x45f4=function(_0xb34502,_0x33ee58){_0xb34502=_0xb34502-0x0;let _0x45f408=_0x33ee[_0xb34502];return _0x45f408;};import{Plugin as _0x4c2b7f}from'ckeditor5/src/core';import{getTranslation as _0x209814}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5266e8}from'../utils/utils';export default class O extends _0x4c2b7f{[_0x45f4('0x13')](){const _0x37b6da=this[_0x45f4('0x10')],_0xbd184d=_0x37b6da[_0x45f4('0x1a')];if(!_0x37b6da['plugins']['has'](_0x45f4('0x2')))return;const _0x96ddf5=_0x37b6da[_0x45f4('0x1c')][_0x45f4('0x1')](_0x45f4('0xf')),_0x2d1e80=this[_0x45f4('0x10')][_0x45f4('0x18')]['get'](_0x45f4('0xa'));_0x96ddf5[_0x45f4('0x12')](_0x45f4('0xa'),(_0x5187ee,_0x8854a8={})=>{const _0x2c9b5f=this[_0x45f4('0x10')]['model']['document'][_0x45f4('0xd')],_0x270466=_0x8854a8&&void 0x0!==_0x8854a8[_0x45f4('0x8')]?_0x8854a8['forceValue']:!_0x2d1e80[_0x45f4('0x19')];let _0x2784eb=[];if(_0x270466){const _0x13ba40=Array[_0x45f4('0x11')](_0x2c9b5f[_0x45f4('0x1d')]())[_0x45f4('0x4')](_0x270b43=>oo(_0x270b43)||function(_0x53a086,_0x4cbd66){const _0x1cb2e8=_0x4cbd66[_0x45f4('0xe')](_0x53a086[_0x45f4('0xc')],_0x45f4('0xa')),_0x26472b=_0x4cbd66[_0x45f4('0xe')]([_0x45f4('0x6'),_0x45f4('0xa')],_0x53a086);return _0x1cb2e8&&_0x26472b;}(_0x270b43,this['editor'][_0x45f4('0x0')][_0x45f4('0x9')]));_0x2784eb=_0x5266e8(_0x13ba40,_0x37b6da[_0x45f4('0x0')]);}else{const _0x4ef411=Array['from'](_0x2c9b5f[_0x45f4('0x1d')]())[_0x45f4('0x4')](_0x3ffb84=>oo(_0x3ffb84));_0x2784eb=_0x5266e8(_0x4ef411,_0x37b6da[_0x45f4('0x0')]);}_0x37b6da['model'][_0x45f4('0x1b')](()=>{for(const _0x4f5f19 of _0x2784eb)_0x96ddf5[_0x45f4('0x7')](_0x4f5f19,{'commandName':_0x45f4('0xa'),'commandParams':[{'forceValue':_0x270466}]});});}),_0x96ddf5[_0x45f4('0xb')][_0x45f4('0x1e')](_0x4412c9=>{const {data:_0x4bfa3c}=_0x4412c9;if(_0x4bfa3c&&'blockQuote'==_0x4bfa3c['commandName']){const _0x309817=_0x209814(_0xbd184d,_0x45f4('0x14'));return _0x4bfa3c[_0x45f4('0x17')][0x0][_0x45f4('0x8')]?{'type':'format','content':_0x209814(_0xbd184d,_0x45f4('0x16'),_0x309817)}:{'type':_0x45f4('0x15'),'content':_0x209814(_0xbd184d,_0x45f4('0x5'),_0x309817)};}});}}function oo(_0x5914fa){return _0x45f4('0xa')==_0x5914fa[_0x45f4('0xc')][_0x45f4('0x3')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46fe=['ckbox','afterInit','editor','commands','get','TrackChangesEditing'];(function(_0x328718,_0x46fe2c){const _0x20a5c5=function(_0x437d7d){while(--_0x437d7d){_0x328718['push'](_0x328718['shift']());}};_0x20a5c5(++_0x46fe2c);}(_0x46fe,0x138));const _0x20a5=function(_0x328718,_0x46fe2c){_0x328718=_0x328718-0x0;let _0x20a5c5=_0x46fe[_0x328718];return _0x20a5c5;};import{Plugin as _0x4fe447}from'ckeditor5/src/core';export default class E extends _0x4fe447{[_0x20a5('0x1')](){const _0x110fe9=this[_0x20a5('0x2')];_0x110fe9[_0x20a5('0x3')]['get'](_0x20a5('0x0'))&&_0x110fe9['plugins'][_0x20a5('0x4')](_0x20a5('0x5'))['enableCommand'](_0x20a5('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c6e=['CodeBlock','find','commandParams','editor','model','registerDescriptionCallback','selection','document','has','markBlockFormat','plugins','value','schema','ELEMENT_CODE_BLOCK','name','languages','*Remove\x20format:*\x20%0','afterInit','commandName','registerElementLabel','enableCommand','from','getSelectedBlocks','_descriptionFactory','*Format:*\x20%0','change','forceValue','commands','language','indentCodeBlock','get','codeBlock','filter'];(function(_0x49d2a7,_0x3c6e43){const _0x11be28=function(_0x4c1811){while(--_0x4c1811){_0x49d2a7['push'](_0x49d2a7['shift']());}};_0x11be28(++_0x3c6e43);}(_0x3c6e,0x19a));const _0x11be=function(_0x49d2a7,_0x3c6e43){_0x49d2a7=_0x49d2a7-0x0;let _0x11be28=_0x3c6e[_0x49d2a7];return _0x11be28;};import{Plugin as _0x34176b}from'ckeditor5/src/core';import{getTranslation as _0x4939ff}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2ea81a}from'../utils/utils';export default class F extends _0x34176b{[_0x11be('0x3')](){const _0x95e408=this[_0x11be('0x16')];if(!_0x95e408[_0x11be('0x1d')][_0x11be('0x1b')](_0x11be('0x13')))return;const _0x379809=_0x95e408[_0x11be('0x1d')]['get']('TrackChangesEditing'),_0x5348d3=_0x95e408['locale'],_0x18c2e4=_0x95e408['config']['get'](_0x11be('0x11'))[_0x11be('0x1')],_0x13cf5a=_0x95e408[_0x11be('0xd')][_0x11be('0x10')](_0x11be('0x11'));_0x379809['enableCommand'](_0x11be('0xf')),_0x379809['enableCommand']('outdentCodeBlock'),_0x379809[_0x11be('0x6')]('codeBlock',(_0x3197b8,_0x5a3a39={})=>{const _0x40b20b=_0x95e408[_0x11be('0x17')],_0x45f0c0=_0x95e408[_0x11be('0x17')][_0x11be('0x1a')][_0x11be('0x19')],_0x51de00=_0x5a3a39&&void 0x0!==_0x5a3a39['forceValue']?_0x5a3a39[_0x11be('0xc')]:!_0x13cf5a[_0x11be('0x1e')];let _0x2d096e;_0x5a3a39[_0x11be('0xe')]||(_0x5a3a39['language']=_0x18c2e4[0x0][_0x11be('0xe')]),_0x2d096e=_0x51de00?Array['from'](_0x45f0c0['getSelectedBlocks']())['filter'](_0x1d99ac=>co(_0x1d99ac)||function(_0x2a0502,_0x55ae6e){if(_0x2a0502['is']('rootElement')||_0x55ae6e['isLimit'](_0x2a0502))return!0x1;return _0x55ae6e['checkChild'](_0x2a0502['parent'],_0x11be('0x11'));}(_0x1d99ac,_0x40b20b[_0x11be('0x1f')])):Array[_0x11be('0x7')](_0x45f0c0[_0x11be('0x8')]())[_0x11be('0x12')](_0x2e63c1=>co(_0x2e63c1));const _0x3ba9a7=_0x2ea81a(_0x2d096e,_0x40b20b);_0x40b20b[_0x11be('0xb')](()=>{for(const _0x147ee of _0x3ba9a7)_0x379809[_0x11be('0x1c')](_0x147ee,{'commandName':'codeBlock','commandParams':[{..._0x5a3a39,'forceValue':_0x51de00}],'formatGroupId':'blockName'});});}),(_0x379809['_descriptionFactory'][_0x11be('0x5')]('codeBlock',_0x492635=>_0x4939ff(_0x5348d3,_0x11be('0x20'),_0x492635)),_0x379809[_0x11be('0x9')][_0x11be('0x18')](_0x425f3c=>{const _0x551adf=_0x5348d3['t'],{type:_0x3f6b7b,data:_0x5b1212}=_0x425f3c;if('formatBlock'==_0x3f6b7b&&_0x5b1212&&_0x11be('0x11')==_0x5b1212[_0x11be('0x4')]){const _0x822ae=_0x5b1212[_0x11be('0x15')][0x0][_0x11be('0xe')],_0x6b44ee=_0x551adf(_0x18c2e4[_0x11be('0x14')](_0x191bf1=>_0x191bf1[_0x11be('0xe')]===_0x822ae)['label']);return _0x5b1212[_0x11be('0x15')][0x0]['forceValue']?{'type':'format','content':_0x4939ff(_0x5348d3,_0x11be('0xa'),_0x4939ff(_0x5348d3,_0x11be('0x20'),0x1)+'\x20('+_0x6b44ee+')')}:{'type':'format','content':_0x4939ff(_0x5348d3,_0x11be('0x2'),_0x4939ff(_0x5348d3,_0x11be('0x20'),0x1))};}}));}}function co(_0x2f2811){return'codeBlock'==_0x2f2811[_0x11be('0x0')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4584=['enableCommand','get','plugins','editor','has','CommentsEditing'];(function(_0x48b25e,_0x45842d){const _0x3876ca=function(_0x204283){while(--_0x204283){_0x48b25e['push'](_0x48b25e['shift']());}};_0x3876ca(++_0x45842d);}(_0x4584,0x195));const _0x3876=function(_0x48b25e,_0x45842d){_0x48b25e=_0x48b25e-0x0;let _0x3876ca=_0x4584[_0x48b25e];return _0x3876ca;};import{Plugin as _0x8dd4df}from'ckeditor5/src/core';export default class G extends _0x8dd4df{['afterInit'](){const _0x10f9fc=this[_0x3876('0x0')];if(!_0x10f9fc[_0x3876('0x5')][_0x3876('0x1')](_0x3876('0x2')))return;_0x10f9fc[_0x3876('0x5')][_0x3876('0x4')]('TrackChangesEditing')[_0x3876('0x3')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d46=['model','get','setSelection','buffer','mapper','$graveyard','isCollapsed','downcastDispatcher','commands','markerName','selection','showSuggestionHighlights','init','enableCommand','lock','createRange','enqueueChange','deleteForward','remove','addMarker:suggestion:deletion','markerNameToElements','end','requires','start','getFirstRange','unbindElementFromMarkerName','unit','bind','removeMarker:suggestion:deletion','merge','high','rootName','document'];(function(_0x3a8f2b,_0x5d4670){const _0x19f0f4=function(_0x3f241c){while(--_0x3f241c){_0x3a8f2b['push'](_0x3a8f2b['shift']());}};_0x19f0f4(++_0x5d4670);}(_0x5d46,0x15a));const _0x19f0=function(_0x3a8f2b,_0x5d4670){_0x3a8f2b=_0x3a8f2b-0x0;let _0x19f0f4=_0x5d46[_0x3a8f2b];return _0x19f0f4;};import{Plugin as _0x58cd10}from'ckeditor5/src/core';import{LiveRange as _0x5f0d2a}from'ckeditor5/src/engine';import{Delete as _0x36d53b}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x5007dc}from'./utils';export default class L extends _0x58cd10{static get[_0x19f0('0x6')](){return[_0x36d53b];}[_0x19f0('0x1d')](){const _0x2520dd=this['editor'],_0x553fff=_0x2520dd['plugins'][_0x19f0('0x12')]('TrackChangesEditing');_0x553fff[_0x19f0('0x1e')]('delete');const _0x5abc10=_0x2520dd[_0x19f0('0x19')]['get'](_0x19f0('0x1'));_0x553fff[_0x19f0('0x1e')](_0x19f0('0x1'),(_0x3c57d7,_0x349eb9={})=>{const _0x40bd7c=_0x2520dd['model']['createSelection'](_0x2520dd[_0x19f0('0x11')][_0x19f0('0x10')][_0x19f0('0x1b')]);_0x40bd7c[_0x19f0('0x17')]&&_0x2520dd[_0x19f0('0x11')]['modifySelection'](_0x40bd7c,{'direction':'forward','unit':_0x349eb9[_0x19f0('0xa')]});const _0xda6203=_0x40bd7c[_0x19f0('0x8')](),_0x41b939=_0x5f0d2a['fromRange'](_0xda6203);let _0x244db2;_0x3c57d7(_0x349eb9),_0x244db2=_0x19f0('0x16')==_0x41b939['root'][_0x19f0('0xf')]?_0x2520dd['model'][_0x19f0('0x20')](_0xda6203['start']):_0x2520dd[_0x19f0('0x11')][_0x19f0('0x20')](_0x41b939[_0x19f0('0x7')],_0x41b939[_0x19f0('0x5')]),_0x41b939['detach'](),_0x2520dd[_0x19f0('0x11')][_0x19f0('0x0')](_0x5abc10[_0x19f0('0x14')]['batch'],_0x3ac8e0=>{_0x5abc10[_0x19f0('0x14')][_0x19f0('0x1f')](),_0x3ac8e0[_0x19f0('0x13')](_0x3ac8e0[_0x19f0('0x20')](_0x244db2[_0x19f0('0x5')])),_0x5abc10[_0x19f0('0x14')]['unlock']();});}),_0x2520dd['editing'][_0x19f0('0x18')]['on']('addMarker:suggestion:deletion',_0x5007dc(_0x2520dd,'merge'),{'priority':_0x19f0('0xe')}),_0x2520dd['data'][_0x19f0('0x18')]['on'](_0x19f0('0x3'),(_0x496a5d,_0x4e6a78,_0x1f868d)=>{_0x1f868d['options'][_0x19f0('0x1c')]&&_0x5007dc(_0x2520dd,_0x19f0('0xd'),{'showActiveMarker':!0x1})[_0x19f0('0xb')](this)(_0x496a5d,_0x4e6a78,_0x1f868d);},{'priority':'high'}),_0x2520dd['editing'][_0x19f0('0x18')]['on'](_0x19f0('0xc'),(_0xa980e,_0x11f64d,_0x4cd1f6)=>{const _0x5b3605=_0x4cd1f6[_0x19f0('0x15')][_0x19f0('0x4')](_0x11f64d[_0x19f0('0x1a')]);if(_0x5b3605)for(const _0x13d6ea of _0x5b3605)_0x13d6ea['is']('uiElement')&&(_0x4cd1f6[_0x19f0('0x15')][_0x19f0('0x9')](_0x13d6ea,_0x11f64d[_0x19f0('0x1a')]),_0x4cd1f6['writer'][_0x19f0('0x2')](_0x13d6ea));},{'priority':_0x19f0('0xe')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d91=['add','getFirstRange','*Merge:*\x20%0','*Format:*\x20remove\x20from\x20%0','containsItem','nextSibling','ELEMENT_','splitListItemBefore','nodeAfter','bulletedList','execute','plugins','start','toUpperCase','getSelectedBlocks','commandParams','setSelection','push','model','isFirstBlockOfListItem','change','has','*Outdent:*\x20%0','*Format:*\x20insert\x20into\x20%0','getRanges','document','from','enableCommand','commands','markMultiRangeBlockFormat','isObject','markBlockFormat','schema','getAttribute','locale','registerCustomCallback','ELEMENT_NUMBERED_LIST','forceValue','before','_LIST','hasAttribute','get','fromRange','documentList','ELEMENT_BULLETED_LIST','splitListItemAfter','value','slice','config','*Change\x20to:*\x20%0','parent','map','format','listItemId','next','createPositionAt','ELEMENT_LIST_ITEM','_descriptionFactory','createRange','DocumentListEditing','list.multiBlock','listType','indentList','editor','outdentList','expandListBlocksToCompleteList','refresh','numberedList','selection','commandName','multipleBlocks','detach','previousSibling','listIndent','registerElementLabel','deletion','registerDescriptionCallback'];(function(_0x1e737e,_0x5d91ab){const _0x514055=function(_0x2a9b29){while(--_0x2a9b29){_0x1e737e['push'](_0x1e737e['shift']());}};_0x514055(++_0x5d91ab);}(_0x5d91,0xe4));const _0x5140=function(_0x1e737e,_0x5d91ab){_0x1e737e=_0x1e737e-0x0;let _0x514055=_0x5d91[_0x1e737e];return _0x514055;};import{Plugin as _0x4ef787}from'ckeditor5/src/core';import{getTranslation as _0x1c59f6}from'../utils/common-translations';import{LiveRange as _0x7009d3}from'ckeditor5/src/engine';export default class q extends _0x4ef787{['afterInit'](){const _0x45f342=this[_0x5140('0x42')];if(!_0x45f342[_0x5140('0xe')][_0x5140('0x18')](_0x5140('0x3e')))return;const _0x2e4313=_0x45f342[_0x5140('0x25')],_0x2d5a85=_0x45f342[_0x5140('0xe')][_0x5140('0x2c')]('TrackChangesEditing'),_0x28d2ed=_0x45f342['plugins'][_0x5140('0x2c')]('DocumentListUtils');function _0x25e2f7(_0x3fa9e6){return()=>{const _0x2c7a62=_0x45f342[_0x5140('0x1f')][_0x5140('0x2c')](_0x3fa9e6);if(_0x2c7a62['value']&&!_0x45f342['config'][_0x5140('0x2c')](_0x5140('0x3f')))return void _0x45f342[_0x5140('0xd')]('paragraph',{});let _0x114aa6=Array[_0x5140('0x1d')](_0x45f342[_0x5140('0x15')][_0x5140('0x1c')][_0x5140('0x47')][_0x5140('0x11')]());if(_0x4c65ce(_0x3fa9e6)){_0x114aa6=_0x28d2ed[_0x5140('0x44')](_0x114aa6);const _0x386f9b=[];for(const _0x176874 of _0x114aa6)_0x28d2ed[_0x5140('0x16')](_0x176874)&&_0x386f9b[_0x5140('0x14')](_0x176874);_0x114aa6=_0x386f9b;}_0x45f342[_0x5140('0x15')][_0x5140('0x17')](()=>{_0x2d5a85[_0x5140('0x20')](_0x114aa6,{'commandName':_0x3fa9e6,'commandParams':[{'forceValue':!_0x2c7a62[_0x5140('0x31')]}],'formatGroupId':_0x5140('0x40')},[],'documentList');});};}function _0x48050d(_0x1620ac){return()=>{const _0x2a29c6=function(_0x3a5ccd){let _0x4635f6=Array[_0x5140('0x1d')](_0x3a5ccd);const _0x1f782f=_0x4635f6['findIndex'](_0x2ffdd6=>!_0x2ffdd6[_0x5140('0x2b')](_0x5140('0x38')));return _0x1f782f>-0x1&&(_0x4635f6=_0x4635f6[_0x5140('0x32')](0x0,_0x1f782f)),_0x4635f6;}(_0x45f342[_0x5140('0x15')]['document'][_0x5140('0x47')]['getSelectedBlocks']()),_0xcb7b3=_0x2a29c6[_0x2a29c6['length']-0x1],_0x45a5ee=_0x45f342['model'][_0x5140('0x23')][_0x5140('0x21')](_0xcb7b3)?'after':'end',_0xe82780=_0x45f342[_0x5140('0x15')][_0x5140('0x3d')](_0x45f342['model'][_0x5140('0x3a')](_0x2a29c6[0x0],'before'),_0x45f342['model'][_0x5140('0x3a')](_0xcb7b3,_0x45a5ee));_0x45f342[_0x5140('0x15')]['change'](()=>{_0x2d5a85['markBlockFormat'](_0xe82780,{'commandName':_0x1620ac,'commandParams':[],'formatGroupId':_0x5140('0x40')},function(_0x26e746){const _0x2d778f=new Set();for(const _0x325c93 of _0x26e746){let _0x230dd2=_0x325c93[_0x5140('0x8')];for(;_0x230dd2&&_0x230dd2[_0x5140('0x24')](_0x5140('0x4c'))>_0x325c93[_0x5140('0x24')](_0x5140('0x4c'));)_0x2d778f[_0x5140('0x3')](_0x230dd2),_0x230dd2=_0x230dd2[_0x5140('0x8')];}return Array['from'](_0x2d778f);}(_0x2a29c6));});};}function _0x40c093(_0x3bb9ae){return()=>{const _0x503fb5=_0x45f342[_0x5140('0x15')][_0x5140('0x1c')][_0x5140('0x47')][_0x5140('0x11')]()[_0x5140('0x39')]()['value'],_0x5ecc48=_0x45f342[_0x5140('0x15')][_0x5140('0x3a')](_0x503fb5,_0x5140('0x29')),_0x2a1771=_0x45f342[_0x5140('0x15')][_0x5140('0x3a')](_0x503fb5,0x0),_0x4f8e42=_0x45f342[_0x5140('0x15')][_0x5140('0x3d')](_0x5ecc48,_0x2a1771);_0x45f342[_0x5140('0x15')][_0x5140('0x17')](()=>{_0x2d5a85[_0x5140('0x22')](_0x4f8e42,{'commandName':_0x3bb9ae,'commandParams':[],'formatGroupId':_0x5140('0x40')});});};}function _0x4c65ce(_0x2687e2){const _0x19be07=_0x45f342[_0x5140('0x1f')][_0x5140('0x2c')](_0x5140('0xc'))[_0x5140('0x31')],_0x470643=_0x45f342[_0x5140('0x1f')]['get'](_0x5140('0x46'))['value'];return _0x5140('0x46')===_0x2687e2?_0x19be07:_0x470643;}_0x2d5a85[_0x5140('0x1e')]('numberedList',_0x25e2f7(_0x5140('0x46'))),_0x2d5a85[_0x5140('0x1e')](_0x5140('0xc'),_0x25e2f7('bulletedList')),_0x2d5a85[_0x5140('0x1e')](_0x5140('0x41'),_0x48050d(_0x5140('0x41'))),_0x2d5a85[_0x5140('0x1e')](_0x5140('0x43'),_0x48050d('outdentList')),_0x2d5a85[_0x5140('0x1e')](_0x5140('0x30'),_0x40c093(_0x5140('0x30'))),_0x2d5a85[_0x5140('0x1e')](_0x5140('0xa'),_0x40c093(_0x5140('0xa'))),_0x2d5a85['_descriptionFactory'][_0x5140('0x0')](function(_0x4b4597){const _0x3ffb58=!_0x45f342[_0x5140('0x15')][_0x5140('0x23')][_0x5140('0x21')](_0x4b4597),_0x26595a=_0x4b4597[_0x5140('0x4b')],_0x185c0b=_0x4b4597[_0x5140('0x8')],_0x4d052b=_0x4b4597[_0x5140('0x24')](_0x5140('0x38')),_0x483b46=!_0x26595a||_0x26595a['getAttribute'](_0x5140('0x38'))!==_0x4d052b,_0x475d1a=!_0x185c0b||_0x185c0b[_0x5140('0x24')](_0x5140('0x38'))!==_0x4d052b;return _0x3ffb58&&Boolean(_0x4d052b)&&_0x483b46&&_0x475d1a;},_0x1e30d1=>_0x1c59f6(_0x2e4313,_0x5140('0x3b'),_0x1e30d1)),_0x2d5a85[_0x5140('0x3c')][_0x5140('0x2')](function(_0xdf329c){const {data:_0x4b2466}=_0xdf329c;if(!_0x4b2466)return;let _0x48e02b,_0x3ccb68,_0x5aea0e,_0x15ead1;switch(_0x4b2466['commandName']){case _0x5140('0xc'):_0x5aea0e=_0x4b2466['commandParams'][0x0]['forceValue'],_0x15ead1=_0x4c65ce(_0x4b2466[_0x5140('0x48')]),_0x48e02b=_0x5aea0e?_0x5140('0x1a'):_0x5140('0x6'),!_0x15ead1&&_0x45f342[_0x5140('0x33')]['get'](_0x5140('0x3f'))||(_0x48e02b=_0x5140('0x34')),_0x3ccb68={'type':_0x5140('0x37'),'content':_0x1c59f6(_0x2e4313,_0x48e02b,_0x1c59f6(_0x2e4313,_0x5140('0x2f')))};break;case _0x5140('0x46'):_0x5aea0e=_0x4b2466[_0x5140('0x12')][0x0][_0x5140('0x28')],_0x15ead1=_0x4c65ce(_0x4b2466[_0x5140('0x48')]),_0x48e02b=_0x5aea0e?_0x5140('0x1a'):'*Format:*\x20remove\x20from\x20%0',!_0x15ead1&&_0x45f342[_0x5140('0x33')][_0x5140('0x2c')](_0x5140('0x3f'))||(_0x48e02b='*Change\x20to:*\x20%0'),_0x3ccb68={'type':_0x5140('0x37'),'content':_0x1c59f6(_0x2e4313,_0x48e02b,_0x1c59f6(_0x2e4313,_0x5140('0x27')))};break;case _0x5140('0x41'):_0x48e02b='*Indent:*\x20%0',_0x3ccb68={'type':_0x5140('0x37'),'content':_0x1c59f6(_0x2e4313,_0x48e02b,_0x1c59f6(_0x2e4313,_0x5140('0x3b')))};break;case _0x5140('0x43'):_0x48e02b=function(_0x40de4c){const _0x3a13e9=_0x40de4c[_0x5140('0x4')]();let _0x3b9b5b=_0x3a13e9[_0x5140('0xf')]['nodeAfter'];for(;_0x3b9b5b&&_0x3a13e9[_0x5140('0x7')](_0x3b9b5b);){if(_0x3b9b5b[_0x5140('0x24')](_0x5140('0x4c'))>0x0)return!0x1;_0x3b9b5b=_0x3b9b5b[_0x5140('0x8')];}return!0x0;}(_0xdf329c)?_0x1c59f6(_0x2e4313,_0x5140('0x6'),_0x1c59f6(_0x2e4313,function(_0xb903d5){const _0x183dcf=_0xb903d5[_0x5140('0x4')]()[_0x5140('0xf')]['nodeAfter'];return _0x5140('0x9')+_0x183dcf[_0x5140('0x24')](_0x5140('0x40'))[_0x5140('0x10')]()+_0x5140('0x2a');}(_0xdf329c))):_0x1c59f6(_0x2e4313,_0x5140('0x19'),_0x1c59f6(_0x2e4313,_0x5140('0x3b'))),_0x3ccb68={'type':'format','content':_0x48e02b};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x4b2466[_0x5140('0x49')]&&(_0x48e02b=_0x5140('0x5'),_0x3ccb68={'type':_0x5140('0x1'),'content':_0x1c59f6(_0x2e4313,_0x48e02b,_0x1c59f6(_0x2e4313,_0x5140('0x3b')))});}return _0x3ccb68;}),_0x2d5a85['_suggestionFactory'][_0x5140('0x26')]('formatBlock',_0x5140('0x2e'),'accept',function(_0x52e157,_0x154967){const _0x3fbd3f=[];for(let _0x14ad83 of _0x52e157)_0x14ad83[_0x5140('0xf')]['nodeAfter']===_0x14ad83['end'][_0x5140('0x35')]&&(_0x14ad83=_0x45f342['model'][_0x5140('0x3d')](_0x45f342[_0x5140('0x15')][_0x5140('0x3a')](_0x14ad83[_0x5140('0xf')][_0x5140('0xb')],0x0))),_0x3fbd3f[_0x5140('0x14')](_0x14ad83);_0x45f342[_0x5140('0x15')][_0x5140('0x17')](_0x24e205=>{const _0x725a15=_0x45f342['model'][_0x5140('0x1c')][_0x5140('0x47')],_0xaa4b13=Array[_0x5140('0x1d')](_0x725a15[_0x5140('0x1b')]())[_0x5140('0x36')](_0x56d69c=>_0x7009d3[_0x5140('0x2d')](_0x56d69c));_0x24e205['setSelection'](_0x3fbd3f),_0x45f342['commands'][_0x5140('0x2c')](_0x154967['commandName'])[_0x5140('0x45')](),_0x154967[_0x5140('0x12')][_0x5140('0x14')]({'forceDefaultExecution':!0x0}),_0x45f342[_0x5140('0xd')](_0x154967['commandName'],..._0x154967[_0x5140('0x12')]),_0x24e205[_0x5140('0x13')](_0xaa4b13);for(const _0x25de8f of _0xaa4b13)_0x25de8f[_0x5140('0x4a')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14d2=['styles','listStart','DocumentListUtils','reversed','replace','toUpperCase','startIndex','_descriptionFactory','config','listReversed','handleListReversedCommand','markMultiRangeBlockFormat','handleListStyleCommand','expandListBlocksToCompleteList','handleListStartCommand','numbered','change','*Change\x20to:*\x20%0','list.properties','getListTypeFromListStyleType','format','handleDescriptions','TrackChangesEditing','listStyle','get','enableCommand','isListItemBlock','model','locale','type','plugins','*Format:*\x20set\x20order\x20to\x20regular','ELEMENT_','document','commandParams','isFirstBlockOfListItem','from','filter','_getTranslationKeyForListStyle','getSelectedBlocks','_getSuggestionBlocks','DocumentListPropertiesUtils','afterInit','_getSuggestionBlocksForListStyle','selection','registerDescriptionCallback','push','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','editor','bind','commandName'];(function(_0x36d8ff,_0x14d200){const _0x53f451=function(_0x26e155){while(--_0x26e155){_0x36d8ff['push'](_0x36d8ff['shift']());}};_0x53f451(++_0x14d200);}(_0x14d2,0x14a));const _0x53f4=function(_0x36d8ff,_0x14d200){_0x36d8ff=_0x36d8ff-0x0;let _0x53f451=_0x14d2[_0x36d8ff];return _0x53f451;};import{Plugin as _0x1c34b7}from'ckeditor5/src/core';import{getTranslation as _0x13cfb3}from'../utils/common-translations';export default class Ct extends _0x1c34b7{[_0x53f4('0x18')](){if(!this[_0x53f4('0x1f')][_0x53f4('0xc')]['has']('DocumentListPropertiesEditing'))return;const _0x30b839=this['editor'][_0x53f4('0x2a')]['get'](_0x53f4('0x0')),_0x2eedbc=this[_0x53f4('0x1f')]['plugins'][_0x53f4('0x6')](_0x53f4('0x4'));_0x30b839[_0x53f4('0x22')]&&_0x2eedbc[_0x53f4('0x7')]('listStyle',this[_0x53f4('0x2e')][_0x53f4('0x20')](this)),_0x30b839[_0x53f4('0x25')]&&_0x2eedbc[_0x53f4('0x7')](_0x53f4('0x2b'),this['handleListReversedCommand'][_0x53f4('0x20')](this)),_0x30b839[_0x53f4('0x28')]&&_0x2eedbc[_0x53f4('0x7')](_0x53f4('0x23'),this['handleListStartCommand'][_0x53f4('0x20')](this)),_0x2eedbc[_0x53f4('0x29')][_0x53f4('0x1b')](this[_0x53f4('0x3')][_0x53f4('0x20')](this));}[_0x53f4('0x2e')](_0x595cad,_0x5afb64={}){const _0x381d84=this['editor'][_0x53f4('0xc')][_0x53f4('0x6')]('TrackChangesEditing'),_0x332083=this[_0x53f4('0x19')]();this[_0x53f4('0x1f')][_0x53f4('0x9')][_0x53f4('0x32')](()=>{_0x381d84[_0x53f4('0x2d')](_0x332083,{'commandName':_0x53f4('0x5'),'commandParams':[{'type':_0x5afb64['type']}],'formatGroupId':_0x53f4('0x5')});});}[_0x53f4('0x2c')](_0x30b53d,_0x419935={}){const _0x488daf=this['editor'][_0x53f4('0xc')][_0x53f4('0x6')]('TrackChangesEditing'),_0x5cdf2e=this['editor'][_0x53f4('0xc')]['get'](_0x53f4('0x24')),_0x2d0518=this[_0x53f4('0x16')](_0x220072=>_0x5cdf2e[_0x53f4('0x8')](_0x220072)&&_0x53f4('0x31')===_0x220072['getAttribute']('listType'));null!==_0x2d0518&&this['editor']['model'][_0x53f4('0x32')](()=>{_0x488daf[_0x53f4('0x2d')](_0x2d0518,{'commandName':'listReversed','commandParams':[{'reversed':_0x419935[_0x53f4('0x25')]}],'formatGroupId':_0x53f4('0x2b')});});}[_0x53f4('0x30')](_0x57505f,_0x3838ca={}){const _0x3f40bb=this[_0x53f4('0x1f')][_0x53f4('0xc')]['get'](_0x53f4('0x4')),_0x3521e2=this[_0x53f4('0x1f')][_0x53f4('0xc')][_0x53f4('0x6')]('DocumentListUtils'),_0x495643=this[_0x53f4('0x16')](_0x366c3f=>_0x3521e2[_0x53f4('0x8')](_0x366c3f)&&'numbered'===_0x366c3f['getAttribute']('listType'));null!==_0x495643&&this[_0x53f4('0x1f')][_0x53f4('0x9')][_0x53f4('0x32')](()=>{_0x3f40bb[_0x53f4('0x2d')](_0x495643,{'commandName':_0x53f4('0x23'),'commandParams':[{'startIndex':_0x3838ca['startIndex']}],'formatGroupId':_0x53f4('0x23')});});}[_0x53f4('0x3')](_0x342e4d){const _0x8cc5a2=this[_0x53f4('0x1f')][_0x53f4('0xa')],{data:_0x25b6e4}=_0x342e4d;if(!_0x25b6e4)return;let _0x4cb431,_0x595044;switch(_0x25b6e4[_0x53f4('0x21')]){case _0x53f4('0x5'):_0x4cb431=_0x53f4('0x33'),_0x595044={'type':_0x53f4('0x2'),'content':_0x13cfb3(_0x8cc5a2,_0x4cb431,_0x13cfb3(_0x8cc5a2,this[_0x53f4('0x14')](_0x25b6e4['commandParams'][0x0][_0x53f4('0xb')])))};break;case _0x53f4('0x2b'):_0x4cb431=_0x25b6e4[_0x53f4('0x10')][0x0][_0x53f4('0x25')]?_0x53f4('0x1d'):_0x53f4('0xd'),_0x595044={'type':_0x53f4('0x2'),'content':_0x13cfb3(_0x8cc5a2,_0x4cb431)};break;case _0x53f4('0x23'):_0x4cb431=_0x53f4('0x1e'),_0x595044={'type':_0x53f4('0x2'),'content':_0x13cfb3(_0x8cc5a2,_0x4cb431,_0x25b6e4['commandParams'][0x0][_0x53f4('0x28')])};}return _0x595044;}['_getSuggestionBlocksForListStyle'](){const _0x2fe44a=this[_0x53f4('0x1f')][_0x53f4('0xc')][_0x53f4('0x6')](_0x53f4('0x24'));let _0x524db0=Array[_0x53f4('0x12')](this['editor']['model'][_0x53f4('0xf')][_0x53f4('0x1a')][_0x53f4('0x15')]());return _0x524db0[_0x53f4('0x1c')](..._0x2fe44a[_0x53f4('0x2f')](_0x524db0)),_0x524db0=[...new Set(_0x524db0)],_0x524db0;}['_getSuggestionBlocks'](_0x5dcd8a){const _0x5a49b7=this[_0x53f4('0x1f')][_0x53f4('0xc')]['get'](_0x53f4('0x24'));let _0x109990=Array[_0x53f4('0x12')](this[_0x53f4('0x1f')][_0x53f4('0x9')][_0x53f4('0xf')]['selection'][_0x53f4('0x15')]())[_0x53f4('0x13')](_0x5dcd8a);if(!_0x109990['length'])return null;_0x109990=_0x5a49b7[_0x53f4('0x2f')](_0x109990);const _0x28f726=[];for(const _0x3acb97 of _0x109990)_0x5a49b7[_0x53f4('0x11')](_0x3acb97)&&_0x28f726[_0x53f4('0x1c')](_0x3acb97);return _0x28f726;}[_0x53f4('0x14')](_0x1cb5d6){return _0x53f4('0xe')+this[_0x53f4('0x1f')][_0x53f4('0xc')]['get'](_0x53f4('0x17'))[_0x53f4('0x1')](_0x1cb5d6)[_0x53f4('0x27')]()+'_LIST_'+_0x1cb5d6[_0x53f4('0x27')]()[_0x53f4('0x26')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc617=['enterBlock','writer','selection','model','hasClass','getFirstRange','bind','ck-suggestion-marker-split','split','plugins','get','createRange','setSelection','remove','markerNameToElements','fromRange','showSuggestionHighlights','markInsertion','nextSibling','getFirstPosition','createPositionAt','mapper','addMarker:suggestion:insertion','unbindElementFromMarkerName','data','requires','parent','editing','document','high','markerName','downcastDispatcher','change','fire','detach','end','enter'];(function(_0x33905f,_0xc61712){const _0x307aca=function(_0x4cceba){while(--_0x4cceba){_0x33905f['push'](_0x33905f['shift']());}};_0x307aca(++_0xc61712);}(_0xc617,0x13c));const _0x307a=function(_0x33905f,_0xc61712){_0x33905f=_0x33905f-0x0;let _0x307aca=_0xc617[_0x33905f];return _0x307aca;};import{Plugin as _0x55b868}from'ckeditor5/src/core';import{Enter as _0x160f94}from'ckeditor5/src/enter';import{LiveRange as _0x3304a8}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x496534}from'./utils';export default class z extends _0x55b868{static get[_0x307a('0x5')](){return[_0x160f94];}['init'](){const _0x52bae6=this['editor'],_0x54ae19=_0x52bae6[_0x307a('0x1a')]['get']('TrackChangesEditing'),_0x14d762=_0x52bae6['commands'][_0x307a('0x1b')](_0x307a('0x10'));_0x54ae19['enableCommand'](_0x307a('0x10'),()=>{_0x52bae6[_0x307a('0x14')][_0x307a('0xc')](_0x346b98=>{const _0x3b1734=_0x52bae6[_0x307a('0x14')][_0x307a('0x8')][_0x307a('0x13')],_0x28d27a=_0x3b1734[_0x307a('0x24')](),_0x167ed9=_0x3304a8[_0x307a('0x20')](_0x3b1734[_0x307a('0x16')]());if(_0x14d762[_0x307a('0x11')](_0x346b98)){const _0x4b1bf9=_0x52bae6['model'][_0x307a('0x0')](_0x28d27a[_0x307a('0x6')][_0x307a('0x23')],0x0),_0x3d68f0=_0x346b98[_0x307a('0x1c')](_0x28d27a,_0x4b1bf9);_0x54ae19[_0x307a('0x22')](_0x3d68f0);}else _0x346b98[_0x307a('0x1d')](_0x346b98[_0x307a('0x1c')](_0x167ed9[_0x307a('0xf')]));_0x167ed9[_0x307a('0xe')](),_0x14d762[_0x307a('0xd')]('afterExecute',{'writer':_0x346b98});});}),_0x52bae6['editing'][_0x307a('0xb')]['on'](_0x307a('0x2'),_0x496534(_0x52bae6,_0x307a('0x19')),{'priority':_0x307a('0x9')}),_0x52bae6[_0x307a('0x7')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0xbad29c,_0x45c7e4,_0x5ed0e9)=>{const _0x58f677=_0x5ed0e9['mapper'][_0x307a('0x1f')](_0x45c7e4[_0x307a('0xa')]);if(_0x58f677)for(const _0x33516d of _0x58f677)_0x33516d[_0x307a('0x15')](_0x307a('0x18'))&&(_0x5ed0e9[_0x307a('0x1')][_0x307a('0x3')](_0x33516d,_0x45c7e4[_0x307a('0xa')]),_0x5ed0e9[_0x307a('0x12')][_0x307a('0x1e')](_0x33516d));},{'priority':_0x307a('0x9')}),_0x52bae6[_0x307a('0x4')]['downcastDispatcher']['on'](_0x307a('0x2'),(_0x113a16,_0x3a4320,_0x126554)=>{_0x126554['options'][_0x307a('0x21')]&&_0x496534(_0x52bae6,_0x307a('0x19'),{'showActiveMarker':!0x1})[_0x307a('0x17')](this)(_0x113a16,_0x3a4320,_0x126554);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a50=['getRange','enableCommand','_isInDeletionRange','start','has','replace','afterInit','findByTextCallback','suggestion:deletion','findPrevious','model','createPositionAt','handleFindCommand','getMarkersGroup','plugins','editor','TrackChangesEditing','find','createRange','bind','filter','end','get','item','findNext','FindAndReplaceUtils'];(function(_0x367b2d,_0x5a50af){const _0x2c3f81=function(_0xfd31f3){while(--_0xfd31f3){_0x367b2d['push'](_0x367b2d['shift']());}};_0x2c3f81(++_0x5a50af);}(_0x5a50,0x149));const _0x2c3f=function(_0x367b2d,_0x5a50af){_0x367b2d=_0x367b2d-0x0;let _0x2c3f81=_0x5a50[_0x367b2d];return _0x2c3f81;};import{Plugin as _0x9d6821}from'ckeditor5/src/core';export default class H extends _0x9d6821{[_0x2c3f('0xf')](){if(!this[_0x2c3f('0x18')][_0x2c3f('0x17')][_0x2c3f('0xd')]('FindAndReplaceEditing'))return;const _0x1d37a8=this[_0x2c3f('0x18')][_0x2c3f('0x17')][_0x2c3f('0x5')](_0x2c3f('0x19'));_0x1d37a8[_0x2c3f('0xa')](_0x2c3f('0x0'),this[_0x2c3f('0x15')][_0x2c3f('0x2')](this)),_0x1d37a8[_0x2c3f('0xa')](_0x2c3f('0x7')),_0x1d37a8[_0x2c3f('0xa')](_0x2c3f('0x12')),_0x1d37a8['enableCommand'](_0x2c3f('0xe')),_0x1d37a8['enableCommand']('replaceAll');}[_0x2c3f('0x15')](_0x1431bc,_0x4d413b,_0x5ec365={}){const _0x3b479c=this[_0x2c3f('0x18')][_0x2c3f('0x17')][_0x2c3f('0x5')](_0x2c3f('0x8'));void 0x0!==_0x5ec365&&_0x1431bc(_0x12c263=>('string'==typeof _0x4d413b?_0x3b479c[_0x2c3f('0x10')](_0x4d413b,_0x5ec365):_0x4d413b)(_0x12c263)[_0x2c3f('0x3')](_0x261608=>!0x1===this[_0x2c3f('0xb')](_0x261608,_0x12c263[_0x2c3f('0x6')])),_0x5ec365);}['_isInDeletionRange'](_0x37c77f,_0x1b48c8){const _0x16716a=this['editor'][_0x2c3f('0x13')][_0x2c3f('0x1')](this[_0x2c3f('0x18')][_0x2c3f('0x13')][_0x2c3f('0x14')](_0x1b48c8,_0x37c77f[_0x2c3f('0xc')]),this['editor'][_0x2c3f('0x13')]['createPositionAt'](_0x1b48c8,_0x37c77f[_0x2c3f('0x4')]));for(const _0x5dae8f of this[_0x2c3f('0x18')]['model']['markers'][_0x2c3f('0x16')](_0x2c3f('0x11')))if(null!==_0x16716a['getIntersection'](_0x5dae8f[_0x2c3f('0x9')]()))return!0x0;return!0x1;}}
|