@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230818.0 → 0.0.0-nightly-20230818.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-20230818.
|
|
3
|
+
"version": "0.0.0-nightly-20230818.1",
|
|
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-20230818.
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-20230818.
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230818.1",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230818.1",
|
|
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 _0x44fe=['canEditAt','track-changes-accept-suggestion-not-found','TrackChangesEditing','get','refresh','_suggestions','execute','_isEnabledBasedOnSelection','isEnabled','getRanges','editor','acceptSuggestion'];(function(_0x5a485f,_0x44fe02){const _0x57d106=function(_0x46e59e){while(--_0x46e59e){_0x5a485f['push'](_0x5a485f['shift']());}};_0x57d106(++_0x44fe02);}(_0x44fe,0x1df));const _0x57d1=function(_0x5a485f,_0x44fe02){_0x5a485f=_0x5a485f-0x0;let _0x57d106=_0x44fe[_0x5a485f];return _0x57d106;};import{Command as _0x303a61}from'ckeditor5/src/core';import{CKEditorError as _0x2308f5}from'ckeditor5/src/utils';export default class M extends _0x303a61{constructor(_0x234299,_0x2df4d5){super(_0x234299),this[_0x57d1('0x6')]=_0x2df4d5,this[_0x57d1('0x5')](),this[_0x57d1('0x8')]=!0x1;}[_0x57d1('0x5')](){this[_0x57d1('0x9')]=!0x0;}[_0x57d1('0x7')](_0x49f98d){const _0x477375=this[_0x57d1('0x6')][_0x57d1('0x4')](_0x49f98d);if(!_0x477375)throw new _0x2308f5(_0x57d1('0x2'),this);const _0x1ed769=_0x477375[_0x57d1('0xa')]();this[_0x57d1('0xb')]['model'][_0x57d1('0x1')](_0x1ed769)&&this[_0x57d1('0xb')]['plugins']['get'](_0x57d1('0x3'))[_0x57d1('0x0')](_0x477375);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x132f=['plugins','execute','_isEnabledBasedOnSelection','getRanges','refresh','_suggestions','isEnabled','canEditAt','get','TrackChangesEditing','editor'];(function(_0x196307,_0x132f13){const _0x8b90f3=function(_0xec8114){while(--_0xec8114){_0x196307['push'](_0x196307['shift']());}};_0x8b90f3(++_0x132f13);}(_0x132f,0xce));const _0x8b90=function(_0x196307,_0x132f13){_0x196307=_0x196307-0x0;let _0x8b90f3=_0x132f[_0x196307];return _0x8b90f3;};import{Command as _0x1e0412}from'ckeditor5/src/core';import{CKEditorError as _0x5cf6e2}from'ckeditor5/src/utils';export default class $ extends _0x1e0412{constructor(_0x8e3151,_0x172939){super(_0x8e3151),this[_0x8b90('0x8')]=_0x172939,this[_0x8b90('0x7')](),this[_0x8b90('0x5')]=!0x1;}[_0x8b90('0x7')](){this[_0x8b90('0x9')]=!0x0;}[_0x8b90('0x4')](_0x1fe24a){const _0x3339fc=this[_0x8b90('0x8')][_0x8b90('0x0')](_0x1fe24a);if(!_0x3339fc)throw new _0x5cf6e2('track-changes-discard-suggestion-not-found',this);const _0x3b152d=_0x3339fc[_0x8b90('0x6')]();this[_0x8b90('0x2')]['model'][_0x8b90('0xa')](_0x3b152d)&&this['editor'][_0x8b90('0x3')]['get'](_0x8b90('0x1'))['discardSuggestion'](_0x3339fc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6943=['model','isEnabled','editor','from','isInContent','_isEnabledBasedOnSelection','execute','_suggestions','canEditAt','getRanges','_command','refresh','some','values'];(function(_0x520abe,_0x6943ad){const _0x33a8ae=function(_0x34af0b){while(--_0x34af0b){_0x520abe['push'](_0x520abe['shift']());}};_0x33a8ae(++_0x6943ad);}(_0x6943,0x1bc));const _0x33a8=function(_0x520abe,_0x6943ad){_0x520abe=_0x520abe-0x0;let _0x33a8ae=_0x6943[_0x520abe];return _0x33a8ae;};import{Command as _0x7c7265}from'ckeditor5/src/core';import{sortSuggestions as _0x1962d9,executeCommandForSuggestions as _0x561025}from'../utils/utils';export default class N extends _0x7c7265{constructor(_0x165b77,_0x16e123,_0xe2c723){super(_0x165b77),this[_0x33a8('0x0')]=_0x16e123,this[_0x33a8('0xb')]=_0xe2c723,this[_0x33a8('0x1')](),this[_0x33a8('0x9')]=!0x1;}[_0x33a8('0x1')](){const _0x17b377=Array[_0x33a8('0x7')](this[_0x33a8('0xb')][_0x33a8('0x3')]())[_0x33a8('0x2')](_0x5ef8a3=>_0x5ef8a3[_0x33a8('0x8')]);this[_0x33a8('0x5')]=this[_0x33a8('0x0')][_0x33a8('0x5')]&&_0x17b377;}[_0x33a8('0xa')](){const _0x4b43d4=_0x1962d9(Array[_0x33a8('0x7')](this[_0x33a8('0xb')]['values']()));for(const _0x34ae8d of _0x4b43d4){const _0x186ef0=_0x34ae8d[_0x33a8('0xd')]();if(!this[_0x33a8('0x6')][_0x33a8('0x4')][_0x33a8('0xc')](_0x186ef0))return;}_0x561025(this[_0x33a8('0x6')]['model'],this['_command'],_0x4b43d4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54e6=['_selectedSuggestions','_command','document','selection','size','execute','getRanges','editor','isEnabled','refresh','_suggestions','_isEnabledBasedOnSelection','model'];(function(_0x5a21c9,_0x54e6ed){const _0x386917=function(_0x4d88d0){while(--_0x4d88d0){_0x5a21c9['push'](_0x5a21c9['shift']());}};_0x386917(++_0x54e6ed);}(_0x54e6,0x1de));const _0x3869=function(_0x5a21c9,_0x54e6ed){_0x5a21c9=_0x5a21c9-0x0;let _0x386917=_0x54e6[_0x5a21c9];return _0x386917;};import{Command as _0x43f26f}from'ckeditor5/src/core';import{sortSuggestions as _0x5a08f8,getSelectedSuggestions as _0x4e6187,executeCommandForSuggestions as _0x664532}from'../utils/utils';export default class R extends _0x43f26f{constructor(_0xf9595b,_0xb7b25d,_0x4723bd){super(_0xf9595b),this['_command']=_0xb7b25d,this[_0x3869('0x0')]=_0x4723bd,this[_0x3869('0x3')]=new Set(),this['refresh'](),this[_0x3869('0x1')]=!0x1;}[_0x3869('0xc')](){const _0x1b53c2=this[_0x3869('0xa')][_0x3869('0x2')][_0x3869('0x5')][_0x3869('0x6')],_0x2f8738=Array['from'](this['_suggestions']['values']());this[_0x3869('0x3')]=_0x4e6187(_0x1b53c2,_0x2f8738),this[_0x3869('0xb')]=this['_command'][_0x3869('0xb')]&&!!this[_0x3869('0x3')][_0x3869('0x7')];}[_0x3869('0x8')](){const _0x11d984=_0x5a08f8(Array['from'](this[_0x3869('0x3')]));for(const _0x518bbe of _0x11d984){const _0x4c18ca=_0x518bbe[_0x3869('0x9')]();if(!this[_0x3869('0xa')][_0x3869('0x2')]['canEditAt'](_0x4c18ca))return;}_0x664532(this[_0x3869('0xa')]['model'],this[_0x3869('0x4')],_0x11d984);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2879=['value','isEnabled','forceDisabled','_enableCommands','_disableUnsupportedCommands','editor','commands','_isEnabledBasedOnSelection','_enabledCommands','clearForceDisabled','refresh','TrackChangesCommand','affectsData','has'];(function(_0x5ad68c,_0x28792b){const _0x5115fe=function(_0x4af679){while(--_0x4af679){_0x5ad68c['push'](_0x5ad68c['shift']());}};_0x5115fe(++_0x28792b);}(_0x2879,0x1e1));const _0x5115=function(_0x5ad68c,_0x28792b){_0x5ad68c=_0x5ad68c-0x0;let _0x5115fe=_0x2879[_0x5ad68c];return _0x5115fe;};import{Command as _0x19aa66}from'ckeditor5/src/core';export default class _ extends _0x19aa66{constructor(_0x57177e,_0x406ccf){super(_0x57177e),this[_0x5115('0x3')]=_0x406ccf,this[_0x5115('0x9')]=!0x1,this[_0x5115('0x5')](),this[_0x5115('0x2')]=!0x1;}['refresh'](){this[_0x5115('0xa')]=!0x0;}['execute'](){this[_0x5115('0x9')]=!this[_0x5115('0x9')],this[_0x5115('0x9')]?this[_0x5115('0xd')]():this[_0x5115('0xc')]();}[_0x5115('0xd')](){for(const _0x2b6f6f of this[_0x5115('0x0')]['commands'][_0x5115('0x1')]())_0x2b6f6f[_0x5115('0x7')]&&!this[_0x5115('0x3')]['has'](_0x2b6f6f)&&_0x2b6f6f[_0x5115('0xb')](_0x5115('0x6'));}['_enableCommands'](){for(const _0x511743 of this[_0x5115('0x0')][_0x5115('0x1')]['commands']())_0x511743[_0x5115('0x7')]&&!this['_enabledCommands'][_0x5115('0x8')](_0x511743)&&_0x511743[_0x5115('0x4')](_0x5115('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x297e=['afterInit','contentLanguageDirection','commandParams','right','registerDescriptionCallback','editor','change','justify','model','TrackChangesEditing','getAttribute','value','*Format:*\x20%0','from','FORMAT_JUSTIFY_TEXT','center','plugins','markBlockFormat','has','get','commandName','alignment','FORMAT_ALIGN_TO_LEFT','left','AlignmentEditing','checkAttribute','filter'];(function(_0xa382ba,_0x297e33){const _0x32a6e4=function(_0x5cf582){while(--_0x5cf582){_0xa382ba['push'](_0xa382ba['shift']());}};_0x32a6e4(++_0x297e33);}(_0x297e,0x8e));const _0x32a6=function(_0xa382ba,_0x297e33){_0xa382ba=_0xa382ba-0x0;let _0x32a6e4=_0x297e[_0xa382ba];return _0x32a6e4;};import{Plugin as _0x76f84f}from'ckeditor5/src/core';import{getTranslation as _0x522f5f}from'../utils/common-translations';export default class x extends _0x76f84f{[_0x32a6('0x14')](){const _0x1610b0=this['editor'],_0xc6764b=_0x1610b0['locale'];if(!_0x1610b0[_0x32a6('0x9')][_0x32a6('0xb')](_0x32a6('0x11')))return;const _0x150798=_0x1610b0[_0x32a6('0x9')][_0x32a6('0xc')](_0x32a6('0x2'));_0x150798['enableCommand'](_0x32a6('0xe'),(_0x28fd0f,_0x5b6d20={})=>{let _0x162eb0=_0x5b6d20[_0x32a6('0x4')];_0x5b6d20['value']||(_0x162eb0='ltr'===_0x1610b0['locale'][_0x32a6('0x15')]?_0x32a6('0x10'):_0x32a6('0x17'));const _0x492651=Array[_0x32a6('0x6')](this[_0x32a6('0x19')][_0x32a6('0x1')]['document']['selection']['getSelectedBlocks']())[_0x32a6('0x13')](_0x252388=>function(_0x5c043b,_0x4bfc5b,_0x7eeab6){const _0x156ea4=_0x5c043b[_0x32a6('0x3')](_0x32a6('0xe'))||null;return _0x4bfc5b[_0x32a6('0x12')](_0x5c043b,_0x32a6('0xe'))&&_0x7eeab6!=_0x156ea4;}(_0x252388,this[_0x32a6('0x19')][_0x32a6('0x1')]['schema'],_0x162eb0));_0x1610b0[_0x32a6('0x1')][_0x32a6('0x1a')](()=>{for(const _0x599448 of _0x492651)_0x150798[_0x32a6('0xa')](_0x599448,{'commandName':_0x32a6('0xe'),'commandParams':[{'value':_0x162eb0}]});});}),_0x150798['_descriptionFactory'][_0x32a6('0x18')](_0x3a6708=>{const {data:_0x1505b4}=_0x3a6708;if(_0x1505b4&&_0x32a6('0xe')==_0x1505b4[_0x32a6('0xd')]){const _0x145599=_0x1505b4[_0x32a6('0x16')][0x0][_0x32a6('0x4')];return{'type':'format','content':_0x522f5f(_0xc6764b,_0x32a6('0x5'),function(_0x18087e){switch(_0x18087e){case _0x32a6('0x10'):return _0x522f5f(_0xc6764b,_0x32a6('0xf'));case _0x32a6('0x17'):return _0x522f5f(_0xc6764b,'FORMAT_ALIGN_TO_RIGHT');case _0x32a6('0x8'):return _0x522f5f(_0xc6764b,'FORMAT_ALIGN_TO_CENTER');case _0x32a6('0x0'):return _0x522f5f(_0xc6764b,_0x32a6('0x7'));}}(_0x145599))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x130b=['get','commandName','underline','*Format:*\x20%0','FORMAT_BOLD','superscript','editor','TrackChangesEditing','subscript','selection','plugins','StrikethroughEditing','registerDescriptionCallback','FORMAT_CODE','bold','CodeEditing','FORMAT_SUPERSCRIPT','strikethrough','commands','SuperscriptEditing','ItalicEditing','FORMAT_ITALIC','code','forceValue','_descriptionFactory','getRanges','FORMAT_SUBSCRIPT','model','has','value','*Remove\x20format:*\x20%0','format'];(function(_0x90b1,_0x130b38){const _0x699ced=function(_0x50b32e){while(--_0x50b32e){_0x90b1['push'](_0x90b1['shift']());}};_0x699ced(++_0x130b38);}(_0x130b,0x64));const _0x699c=function(_0x90b1,_0x130b38){_0x90b1=_0x90b1-0x0;let _0x699ced=_0x130b[_0x90b1];return _0x699ced;};import{Plugin as _0x277d3d}from'ckeditor5/src/core';import{getTranslation as _0x2f0f5c}from'../utils/common-translations';import{getRangesWithAttribute as _0x2252dd}from'./utils';const Kt=['BoldEditing',_0x699c('0x10'),'UnderlineEditing',_0x699c('0xb'),_0x699c('0x7'),'SubscriptEditing',_0x699c('0xf')];export default class U extends _0x277d3d{['afterInit'](){const _0x448731=this[_0x699c('0x2')],_0x5a0628=_0x448731[_0x699c('0x17')],_0x18992a=_0x448731[_0x699c('0x6')][_0x699c('0x1c')](_0x699c('0x3')),_0xf575bb=_0x448731['locale'];for(const _0x16d09f of Kt){if(!_0x448731['plugins'][_0x699c('0x18')](_0x16d09f))continue;const _0x2705b9=_0x16d09f['slice'](0x0,-0x7)['toLowerCase'](),_0x3d5c98=_0x448731[_0x699c('0xe')][_0x699c('0x1c')](_0x2705b9);_0x18992a['enableCommand'](_0x2705b9,(_0x5cbec2,_0xcf222a={})=>{const _0x431076=_0x5a0628['document'][_0x699c('0x5')];if(_0x431076['isCollapsed'])return void _0x5cbec2(_0xcf222a);const _0x214d06=void 0x0!==_0xcf222a[_0x699c('0x13')]?_0xcf222a[_0x699c('0x13')]:!_0x3d5c98[_0x699c('0x19')];_0x5a0628['change'](()=>{const _0x5f124a=Array['from'](_0x431076[_0x699c('0x15')]());for(const _0x524e68 of _0x5f124a){const _0x1ecc84=_0x214d06?[_0x524e68]:_0x2252dd(_0x2705b9,_0x524e68,_0x5a0628);for(const _0x219274 of _0x1ecc84)_0x18992a['markInlineFormat'](_0x219274,{'commandName':_0x2705b9,'commandParams':[{'forceValue':_0x214d06}]});}});});}function _0x40b761(_0x25bd86,_0x55de19){_0x18992a[_0x699c('0x14')][_0x699c('0x8')](_0x31f794=>{const {data:_0x1ab3ef}=_0x31f794;if(_0x1ab3ef&&_0x1ab3ef[_0x699c('0x1d')]===_0x25bd86)return _0x1ab3ef['commandParams'][0x0][_0x699c('0x13')]?{'type':'format','content':_0x2f0f5c(_0xf575bb,_0x699c('0x1f'),_0x55de19)}:{'type':_0x699c('0x1b'),'content':_0x2f0f5c(_0xf575bb,_0x699c('0x1a'),_0x55de19)};});}_0x40b761(_0x699c('0xa'),_0x2f0f5c(_0xf575bb,_0x699c('0x0'))),_0x40b761('italic',_0x2f0f5c(_0xf575bb,_0x699c('0x11'))),_0x40b761(_0x699c('0x1e'),_0x2f0f5c(_0xf575bb,'FORMAT_UNDERLINE')),_0x40b761(_0x699c('0x12'),_0x2f0f5c(_0xf575bb,_0x699c('0x9'))),_0x40b761(_0x699c('0xd'),_0x2f0f5c(_0xf575bb,'FORMAT_STRIKETHROUGH')),_0x40b761(_0x699c('0x4'),_0x2f0f5c(_0xf575bb,_0x699c('0x16'))),_0x40b761(_0x699c('0x1'),_0x2f0f5c(_0xf575bb,_0x699c('0xc')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ae8=['blockQuote','document','locale','model','*Format:*\x20%0','commands','_descriptionFactory','$root','checkChild','format','forceValue','markBlockFormat','name','get','editor','plugins','value','TrackChangesEditing','commandParams','has','parent','BlockQuoteEditing','filter','change','ELEMENT_BLOCK_QUOTE'];(function(_0x264762,_0x3ae8d3){const _0x410eba=function(_0x3d0474){while(--_0x3d0474){_0x264762['push'](_0x264762['shift']());}};_0x410eba(++_0x3ae8d3);}(_0x3ae8,0x104));const _0x410e=function(_0x264762,_0x3ae8d3){_0x264762=_0x264762-0x0;let _0x410eba=_0x3ae8[_0x264762];return _0x410eba;};import{Plugin as _0x59ad23}from'ckeditor5/src/core';import{getTranslation as _0x26b40d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5c0c85}from'../utils/utils';export default class j extends _0x59ad23{['afterInit'](){const _0x5389d4=this[_0x410e('0x4')],_0x53349c=_0x5389d4[_0x410e('0x11')];if(!_0x5389d4[_0x410e('0x5')][_0x410e('0x9')](_0x410e('0xb')))return;const _0xd33a39=_0x5389d4[_0x410e('0x5')][_0x410e('0x3')](_0x410e('0x7')),_0x1108dc=this[_0x410e('0x4')][_0x410e('0x14')][_0x410e('0x3')](_0x410e('0xf'));_0xd33a39['enableCommand'](_0x410e('0xf'),(_0x438334,_0x320fb2={})=>{const _0xbf899f=this['editor']['model'][_0x410e('0x10')]['selection'],_0x3fec16=_0x320fb2&&void 0x0!==_0x320fb2[_0x410e('0x0')]?_0x320fb2[_0x410e('0x0')]:!_0x1108dc[_0x410e('0x6')];let _0x1049ad=[];if(_0x3fec16){const _0x5e96cf=Array['from'](_0xbf899f['getSelectedBlocks']())[_0x410e('0xc')](_0x56e080=>Xt(_0x56e080)||function(_0x5e159c,_0x7d602f){const _0x5e6dee=_0x7d602f['checkChild'](_0x5e159c[_0x410e('0xa')],_0x410e('0xf')),_0x34f055=_0x7d602f[_0x410e('0x17')]([_0x410e('0x16'),'blockQuote'],_0x5e159c);return _0x5e6dee&&_0x34f055;}(_0x56e080,this[_0x410e('0x4')][_0x410e('0x12')]['schema']));_0x1049ad=_0x5c0c85(_0x5e96cf,_0x5389d4['model']);}else{const _0x4fd6e5=Array['from'](_0xbf899f['getSelectedBlocks']())[_0x410e('0xc')](_0x1c66b7=>Xt(_0x1c66b7));_0x1049ad=_0x5c0c85(_0x4fd6e5,_0x5389d4[_0x410e('0x12')]);}_0x5389d4[_0x410e('0x12')][_0x410e('0xd')](()=>{for(const _0x24c2fa of _0x1049ad)_0xd33a39[_0x410e('0x1')](_0x24c2fa,{'commandName':_0x410e('0xf'),'commandParams':[{'forceValue':_0x3fec16}]});});}),_0xd33a39[_0x410e('0x15')]['registerDescriptionCallback'](_0x58d9ee=>{const {data:_0xfc0bf4}=_0x58d9ee;if(_0xfc0bf4&&_0x410e('0xf')==_0xfc0bf4['commandName']){const _0x288514=_0x26b40d(_0x53349c,_0x410e('0xe'));return _0xfc0bf4[_0x410e('0x8')][0x0][_0x410e('0x0')]?{'type':_0x410e('0x18'),'content':_0x26b40d(_0x53349c,_0x410e('0x13'),_0x288514)}:{'type':_0x410e('0x18'),'content':_0x26b40d(_0x53349c,'*Remove\x20format:*\x20%0',_0x288514)};}});}}function Xt(_0x5369ca){return _0x410e('0xf')==_0x5369ca[_0x410e('0xa')][_0x410e('0x2')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a6a=['get','ckbox','afterInit','plugins','TrackChangesEditing','enableCommand','commands'];(function(_0x73fa48,_0x1a6ac3){const _0x400f35=function(_0x459610){while(--_0x459610){_0x73fa48['push'](_0x73fa48['shift']());}};_0x400f35(++_0x1a6ac3);}(_0x1a6a,0x82));const _0x400f=function(_0x73fa48,_0x1a6ac3){_0x73fa48=_0x73fa48-0x0;let _0x400f35=_0x1a6a[_0x73fa48];return _0x400f35;};import{Plugin as _0x180706}from'ckeditor5/src/core';export default class E extends _0x180706{[_0x400f('0x5')](){const _0x428518=this['editor'];_0x428518[_0x400f('0x2')][_0x400f('0x3')](_0x400f('0x4'))&&_0x428518[_0x400f('0x6')][_0x400f('0x3')](_0x400f('0x0'))[_0x400f('0x1')](_0x400f('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x569c=['locale','ELEMENT_CODE_BLOCK','parent','_descriptionFactory','filter','*Format:*\x20%0','rootElement','format','codeBlock','TrackChangesEditing','get','find','checkChild','value','name','language','selection','has','languages','editor','getSelectedBlocks','registerDescriptionCallback','forceValue','indentCodeBlock','label','commandName','commandParams','outdentCodeBlock','change','afterInit','from','markBlockFormat','plugins','model','document','enableCommand','registerElementLabel'];(function(_0xd5065c,_0x569c8c){const _0x31eab7=function(_0x554006){while(--_0x554006){_0xd5065c['push'](_0xd5065c['shift']());}};_0x31eab7(++_0x569c8c);}(_0x569c,0x9b));const _0x31ea=function(_0xd5065c,_0x569c8c){_0xd5065c=_0xd5065c-0x0;let _0x31eab7=_0x569c[_0xd5065c];return _0x31eab7;};import{Plugin as _0x37e3ff}from'ckeditor5/src/core';import{getTranslation as _0x8ec1b8}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3a9fb8}from'../utils/utils';export default class O extends _0x37e3ff{[_0x31ea('0x16')](){const _0x526bf0=this[_0x31ea('0xc')];if(!_0x526bf0[_0x31ea('0x19')][_0x31ea('0xa')]('CodeBlock'))return;const _0x5f5bbc=_0x526bf0[_0x31ea('0x19')][_0x31ea('0x3')](_0x31ea('0x2')),_0x452ac4=_0x526bf0[_0x31ea('0x1e')],_0x4b1928=_0x526bf0['config'][_0x31ea('0x3')](_0x31ea('0x1'))[_0x31ea('0xb')],_0x3ae61d=_0x526bf0['commands'][_0x31ea('0x3')](_0x31ea('0x1'));_0x5f5bbc[_0x31ea('0x1c')](_0x31ea('0x10')),_0x5f5bbc['enableCommand'](_0x31ea('0x14')),_0x5f5bbc[_0x31ea('0x1c')](_0x31ea('0x1'),(_0x311b5f,_0x4d7850={})=>{const _0x46e8ff=_0x526bf0[_0x31ea('0x1a')],_0x2c1863=_0x526bf0['model'][_0x31ea('0x1b')][_0x31ea('0x9')],_0x2cc99a=_0x4d7850&&void 0x0!==_0x4d7850[_0x31ea('0xf')]?_0x4d7850[_0x31ea('0xf')]:!_0x3ae61d[_0x31ea('0x6')];let _0x17a821;_0x4d7850[_0x31ea('0x8')]||(_0x4d7850['language']=_0x4b1928[0x0][_0x31ea('0x8')]),_0x17a821=_0x2cc99a?Array[_0x31ea('0x17')](_0x2c1863[_0x31ea('0xd')]())[_0x31ea('0x22')](_0x4b3b9e=>oo(_0x4b3b9e)||function(_0x49c9a4,_0x31e898){if(_0x49c9a4['is'](_0x31ea('0x24'))||_0x31e898['isLimit'](_0x49c9a4))return!0x1;return _0x31e898[_0x31ea('0x5')](_0x49c9a4[_0x31ea('0x20')],_0x31ea('0x1'));}(_0x4b3b9e,_0x46e8ff['schema'])):Array[_0x31ea('0x17')](_0x2c1863[_0x31ea('0xd')]())[_0x31ea('0x22')](_0x2218d7=>oo(_0x2218d7));const _0x49f3af=_0x3a9fb8(_0x17a821,_0x46e8ff);_0x46e8ff[_0x31ea('0x15')](()=>{for(const _0x2320d9 of _0x49f3af)_0x5f5bbc[_0x31ea('0x18')](_0x2320d9,{'commandName':_0x31ea('0x1'),'commandParams':[{..._0x4d7850,'forceValue':_0x2cc99a}],'formatGroupId':'blockName'});});}),(_0x5f5bbc[_0x31ea('0x21')][_0x31ea('0x1d')]('codeBlock',_0x1cb342=>_0x8ec1b8(_0x452ac4,_0x31ea('0x1f'),_0x1cb342)),_0x5f5bbc[_0x31ea('0x21')][_0x31ea('0xe')](_0x2f1487=>{const _0x56e75e=_0x452ac4['t'],{type:_0x985344,data:_0x4c9733}=_0x2f1487;if('formatBlock'==_0x985344&&_0x4c9733&&_0x31ea('0x1')==_0x4c9733[_0x31ea('0x12')]){const _0xd09d40=_0x4c9733[_0x31ea('0x13')][0x0]['language'],_0x566e3e=_0x56e75e(_0x4b1928[_0x31ea('0x4')](_0x1a153c=>_0x1a153c['language']===_0xd09d40)[_0x31ea('0x11')]);return _0x4c9733[_0x31ea('0x13')][0x0]['forceValue']?{'type':'format','content':_0x8ec1b8(_0x452ac4,_0x31ea('0x23'),_0x8ec1b8(_0x452ac4,_0x31ea('0x1f'),0x1)+'\x20('+_0x566e3e+')')}:{'type':_0x31ea('0x0'),'content':_0x8ec1b8(_0x452ac4,'*Remove\x20format:*\x20%0',_0x8ec1b8(_0x452ac4,_0x31ea('0x1f'),0x1))};}}));}}function oo(_0x3a29b7){return _0x31ea('0x1')==_0x3a29b7[_0x31ea('0x7')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5154=['afterInit','addCommentThread','get','editor','CommentsEditing','TrackChangesEditing','has','enableCommand','plugins'];(function(_0x579c90,_0x5154c7){const _0x10d8ee=function(_0xce170){while(--_0xce170){_0x579c90['push'](_0x579c90['shift']());}};_0x10d8ee(++_0x5154c7);}(_0x5154,0x1d4));const _0x10d8=function(_0x579c90,_0x5154c7){_0x579c90=_0x579c90-0x0;let _0x10d8ee=_0x5154[_0x579c90];return _0x10d8ee;};import{Plugin as _0x11ae24}from'ckeditor5/src/core';export default class F extends _0x11ae24{[_0x10d8('0x0')](){const _0xa73b81=this[_0x10d8('0x3')];if(!_0xa73b81[_0x10d8('0x8')][_0x10d8('0x6')](_0x10d8('0x4')))return;_0xa73b81['plugins'][_0x10d8('0x2')](_0x10d8('0x5'))[_0x10d8('0x7')](_0x10d8('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc9ed=['deleteForward','unit','init','TrackChangesEditing','editor','uiElement','isCollapsed','markerName','requires','createRange','get','editing','selection','addMarker:suggestion:deletion','modifySelection','$graveyard','showSuggestionHighlights','enableCommand','batch','detach','mapper','downcastDispatcher','root','model','buffer','merge','createSelection','high','getFirstRange','remove','markerNameToElements','options','commands','end','lock','enqueueChange','unbindElementFromMarkerName','setSelection','start','bind','delete','plugins'];(function(_0x1ab6b5,_0xc9ed65){const _0x3beead=function(_0x35572c){while(--_0x35572c){_0x1ab6b5['push'](_0x1ab6b5['shift']());}};_0x3beead(++_0xc9ed65);}(_0xc9ed,0xd4));const _0x3bee=function(_0x1ab6b5,_0xc9ed65){_0x1ab6b5=_0x1ab6b5-0x0;let _0x3beead=_0xc9ed[_0x1ab6b5];return _0x3beead;};import{Plugin as _0x53c4e8}from'ckeditor5/src/core';import{LiveRange as _0x322942}from'ckeditor5/src/engine';import{Delete as _0x5b9a51}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x249519}from'./utils';export default class G extends _0x53c4e8{static get[_0x3bee('0x6')](){return[_0x5b9a51];}[_0x3bee('0x0')](){const _0x598867=this[_0x3bee('0x2')],_0x3e5f47=_0x598867[_0x3bee('0x27')]['get'](_0x3bee('0x1'));_0x3e5f47[_0x3bee('0xf')](_0x3bee('0x26'));const _0x43c622=_0x598867[_0x3bee('0x1e')][_0x3bee('0x8')](_0x3bee('0x28'));_0x3e5f47[_0x3bee('0xf')](_0x3bee('0x28'),(_0x5161a0,_0x4d5428={})=>{const _0x288ef5=_0x598867[_0x3bee('0x15')][_0x3bee('0x18')](_0x598867[_0x3bee('0x15')]['document'][_0x3bee('0xa')]);_0x288ef5[_0x3bee('0x4')]&&_0x598867[_0x3bee('0x15')][_0x3bee('0xc')](_0x288ef5,{'direction':'forward','unit':_0x4d5428[_0x3bee('0x29')]});const _0x2f83db=_0x288ef5[_0x3bee('0x1a')](),_0x456e6f=_0x322942['fromRange'](_0x2f83db);let _0x266c72;_0x5161a0(_0x4d5428),_0x266c72=_0x3bee('0xd')==_0x456e6f[_0x3bee('0x14')]['rootName']?_0x598867['model'][_0x3bee('0x7')](_0x2f83db[_0x3bee('0x24')]):_0x598867[_0x3bee('0x15')][_0x3bee('0x7')](_0x456e6f[_0x3bee('0x24')],_0x456e6f[_0x3bee('0x1f')]),_0x456e6f[_0x3bee('0x11')](),_0x598867[_0x3bee('0x15')][_0x3bee('0x21')](_0x43c622[_0x3bee('0x16')][_0x3bee('0x10')],_0x3f2ba8=>{_0x43c622['buffer'][_0x3bee('0x20')](),_0x3f2ba8[_0x3bee('0x23')](_0x3f2ba8[_0x3bee('0x7')](_0x266c72[_0x3bee('0x1f')])),_0x43c622[_0x3bee('0x16')]['unlock']();});}),_0x598867[_0x3bee('0x9')]['downcastDispatcher']['on'](_0x3bee('0xb'),_0x249519(_0x598867,_0x3bee('0x17')),{'priority':_0x3bee('0x19')}),_0x598867['data'][_0x3bee('0x13')]['on'](_0x3bee('0xb'),(_0x4e905f,_0x458c25,_0x59ae81)=>{_0x59ae81[_0x3bee('0x1d')][_0x3bee('0xe')]&&_0x249519(_0x598867,'merge',{'showActiveMarker':!0x1})[_0x3bee('0x25')](this)(_0x4e905f,_0x458c25,_0x59ae81);},{'priority':_0x3bee('0x19')}),_0x598867['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x4393bc,_0x3f4c4f,_0x540a83)=>{const _0x460395=_0x540a83[_0x3bee('0x12')][_0x3bee('0x1c')](_0x3f4c4f[_0x3bee('0x5')]);if(_0x460395)for(const _0x2c0ac5 of _0x460395)_0x2c0ac5['is'](_0x3bee('0x3'))&&(_0x540a83[_0x3bee('0x12')][_0x3bee('0x22')](_0x2c0ac5,_0x3f4c4f[_0x3bee('0x5')]),_0x540a83['writer'][_0x3bee('0x1b')](_0x2c0ac5));},{'priority':_0x3bee('0x19')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1eb5=['isObject','execute','push','from','nodeAfter','splitListItemBefore','ELEMENT_NUMBERED_LIST','getSelectedBlocks','formatBlock','locale','*Change\x20to:*\x20%0','forceValue','outdentList','_suggestionFactory','getAttribute','slice','bulletedList','numberedList','selection','ELEMENT_LIST_ITEM','model','accept','*Format:*\x20insert\x20into\x20%0','mergeListItemBackward','commandParams','listType','enableCommand','change','expandListBlocksToCompleteList','splitListItemAfter','*Outdent:*\x20%0','_descriptionFactory','after','markBlockFormat','plugins','next','end','previousSibling','deletion','add','DocumentListEditing','createPositionAt','createRange','markMultiRangeBlockFormat','has','listItemId','map','document','containsItem','afterInit','multipleBlocks','value','length','getFirstRange','editor','nextSibling','format','indentList','start','get','*Format:*\x20remove\x20from\x20%0','listIndent','findIndex','TrackChangesEditing','before','commandName','registerDescriptionCallback','*Indent:*\x20%0','setSelection','documentList','commands','fromRange','refresh','getRanges','detach'];(function(_0x13b78b,_0x1eb50b){const _0x49eda7=function(_0x33ae20){while(--_0x33ae20){_0x13b78b['push'](_0x13b78b['shift']());}};_0x49eda7(++_0x1eb50b);}(_0x1eb5,0xb6));const _0x49ed=function(_0x13b78b,_0x1eb50b){_0x13b78b=_0x13b78b-0x0;let _0x49eda7=_0x1eb5[_0x13b78b];return _0x49eda7;};import{Plugin as _0x16f019}from'ckeditor5/src/core';import{getTranslation as _0x697b8}from'../utils/common-translations';import{LiveRange as _0x148654}from'ckeditor5/src/engine';export default class L extends _0x16f019{[_0x49ed('0x11')](){const _0x53f775=this[_0x49ed('0x16')];if(!_0x53f775[_0x49ed('0x2')][_0x49ed('0xc')](_0x49ed('0x8')))return;const _0x4fdd53=_0x53f775[_0x49ed('0x34')],_0x1f1dbf=_0x53f775[_0x49ed('0x2')][_0x49ed('0x1b')](_0x49ed('0x1f')),_0x36b8a0=_0x53f775[_0x49ed('0x2')][_0x49ed('0x1b')]('DocumentListUtils');function _0x177e70(_0x3c7974){return()=>{const _0x1737f1=_0x53f775['commands']['get'](_0x3c7974);let _0x400311=Array['from'](_0x53f775[_0x49ed('0x3f')][_0x49ed('0xf')][_0x49ed('0x3d')][_0x49ed('0x32')]());if(_0x5920c5(_0x3c7974)){_0x400311=_0x36b8a0[_0x49ed('0x47')](_0x400311);const _0x1b1708=[];for(const _0x5d2867 of _0x400311)_0x36b8a0['isFirstBlockOfListItem'](_0x5d2867)&&_0x1b1708['push'](_0x5d2867);_0x400311=_0x1b1708;}_0x53f775[_0x49ed('0x3f')][_0x49ed('0x46')](()=>{_0x1f1dbf[_0x49ed('0xb')](_0x400311,{'commandName':_0x3c7974,'commandParams':[{'forceValue':!_0x1737f1[_0x49ed('0x13')]}],'formatGroupId':_0x49ed('0x44')},[],_0x49ed('0x25'));});};}function _0x4c6bc8(_0x2c1086){return()=>{const _0x1add9a=function(_0x5316bf){let _0x2a5721=Array[_0x49ed('0x2e')](_0x5316bf);const _0x5d1278=_0x2a5721[_0x49ed('0x1e')](_0x3ee90e=>!_0x3ee90e['hasAttribute'](_0x49ed('0xd')));return _0x5d1278>-0x1&&(_0x2a5721=_0x2a5721[_0x49ed('0x3a')](0x0,_0x5d1278)),_0x2a5721;}(_0x53f775[_0x49ed('0x3f')][_0x49ed('0xf')][_0x49ed('0x3d')][_0x49ed('0x32')]()),_0x3afb25=_0x1add9a[_0x1add9a[_0x49ed('0x14')]-0x1],_0x1045ce=_0x53f775[_0x49ed('0x3f')]['schema'][_0x49ed('0x2b')](_0x3afb25)?_0x49ed('0x0'):_0x49ed('0x4'),_0x425d10=_0x53f775[_0x49ed('0x3f')]['createRange'](_0x53f775['model'][_0x49ed('0x9')](_0x1add9a[0x0],_0x49ed('0x20')),_0x53f775['model'][_0x49ed('0x9')](_0x3afb25,_0x1045ce));_0x53f775['model'][_0x49ed('0x46')](()=>{_0x1f1dbf[_0x49ed('0x1')](_0x425d10,{'commandName':_0x2c1086,'commandParams':[],'formatGroupId':_0x49ed('0x44')},function(_0x3e75ad){const _0x46b2ab=new Set();for(const _0x4cc34f of _0x3e75ad){let _0x28fa68=_0x4cc34f[_0x49ed('0x17')];for(;_0x28fa68&&_0x28fa68[_0x49ed('0x39')](_0x49ed('0x1d'))>_0x4cc34f['getAttribute'](_0x49ed('0x1d'));)_0x46b2ab[_0x49ed('0x7')](_0x28fa68),_0x28fa68=_0x28fa68[_0x49ed('0x17')];}return Array[_0x49ed('0x2e')](_0x46b2ab);}(_0x1add9a));});};}function _0x260c85(_0x31d2ba){return()=>{const _0x49fb16=_0x53f775['model'][_0x49ed('0xf')]['selection'][_0x49ed('0x32')]()[_0x49ed('0x3')]()[_0x49ed('0x13')],_0x11eeda=_0x53f775[_0x49ed('0x3f')]['createPositionAt'](_0x49fb16,'before'),_0x42a734=_0x53f775[_0x49ed('0x3f')]['createPositionAt'](_0x49fb16,0x0),_0xe06d8c=_0x53f775[_0x49ed('0x3f')][_0x49ed('0xa')](_0x11eeda,_0x42a734);_0x53f775['model'][_0x49ed('0x46')](()=>{_0x1f1dbf[_0x49ed('0x1')](_0xe06d8c,{'commandName':_0x31d2ba,'commandParams':[],'formatGroupId':'listType'});});};}function _0x5920c5(_0x48bcd0){const _0x52fc2a=_0x53f775[_0x49ed('0x26')]['get'](_0x49ed('0x3b'))[_0x49ed('0x13')],_0x3a00e7=_0x53f775[_0x49ed('0x26')][_0x49ed('0x1b')](_0x49ed('0x3c'))['value'];return _0x49ed('0x3c')===_0x48bcd0?_0x52fc2a:_0x3a00e7;}_0x1f1dbf[_0x49ed('0x45')](_0x49ed('0x3c'),_0x177e70(_0x49ed('0x3c'))),_0x1f1dbf[_0x49ed('0x45')](_0x49ed('0x3b'),_0x177e70(_0x49ed('0x3b'))),_0x1f1dbf[_0x49ed('0x45')](_0x49ed('0x19'),_0x4c6bc8(_0x49ed('0x19'))),_0x1f1dbf[_0x49ed('0x45')]('outdentList',_0x4c6bc8(_0x49ed('0x37'))),_0x1f1dbf['enableCommand'](_0x49ed('0x48'),_0x260c85(_0x49ed('0x48'))),_0x1f1dbf[_0x49ed('0x45')](_0x49ed('0x30'),_0x260c85(_0x49ed('0x30'))),_0x1f1dbf[_0x49ed('0x4a')]['registerElementLabel'](function(_0xff9187){const _0x25818d=!_0x53f775[_0x49ed('0x3f')]['schema']['isObject'](_0xff9187),_0x30c38e=_0xff9187[_0x49ed('0x5')],_0x39a530=_0xff9187['nextSibling'],_0x5d4cf5=_0xff9187[_0x49ed('0x39')](_0x49ed('0xd')),_0xf387d0=!_0x30c38e||_0x30c38e[_0x49ed('0x39')](_0x49ed('0xd'))!==_0x5d4cf5,_0x1d9684=!_0x39a530||_0x39a530[_0x49ed('0x39')](_0x49ed('0xd'))!==_0x5d4cf5;return _0x25818d&&Boolean(_0x5d4cf5)&&_0xf387d0&&_0x1d9684;},_0x4d332e=>_0x697b8(_0x4fdd53,_0x49ed('0x3e'),_0x4d332e)),_0x1f1dbf[_0x49ed('0x4a')][_0x49ed('0x22')](function(_0x22d8bc){const {data:_0x265add}=_0x22d8bc;if(!_0x265add)return;let _0x1fdcaa,_0x467d9b,_0x43372d,_0x404191;switch(_0x265add[_0x49ed('0x21')]){case'bulletedList':_0x43372d=_0x265add[_0x49ed('0x43')][0x0][_0x49ed('0x36')],_0x404191=_0x5920c5(_0x265add[_0x49ed('0x21')]),_0x1fdcaa=_0x43372d?_0x49ed('0x41'):'*Format:*\x20remove\x20from\x20%0',_0x404191&&(_0x1fdcaa=_0x49ed('0x35')),_0x467d9b={'type':_0x49ed('0x18'),'content':_0x697b8(_0x4fdd53,_0x1fdcaa,_0x697b8(_0x4fdd53,'ELEMENT_BULLETED_LIST'))};break;case _0x49ed('0x3c'):_0x43372d=_0x265add[_0x49ed('0x43')][0x0][_0x49ed('0x36')],_0x404191=_0x5920c5(_0x265add[_0x49ed('0x21')]),_0x1fdcaa=_0x43372d?_0x49ed('0x41'):_0x49ed('0x1c'),_0x404191&&(_0x1fdcaa=_0x49ed('0x35')),_0x467d9b={'type':_0x49ed('0x18'),'content':_0x697b8(_0x4fdd53,_0x1fdcaa,_0x697b8(_0x4fdd53,_0x49ed('0x31')))};break;case'indentList':_0x1fdcaa=_0x49ed('0x23'),_0x467d9b={'type':_0x49ed('0x18'),'content':_0x697b8(_0x4fdd53,_0x1fdcaa,_0x697b8(_0x4fdd53,_0x49ed('0x3e')))};break;case'outdentList':_0x1fdcaa=function(_0x58d4fc){const _0x1df4ed=_0x58d4fc[_0x49ed('0x15')]();let _0x1f675d=_0x1df4ed[_0x49ed('0x1a')][_0x49ed('0x2f')];for(;_0x1f675d&&_0x1df4ed[_0x49ed('0x10')](_0x1f675d);){if(_0x1f675d[_0x49ed('0x39')](_0x49ed('0x1d'))>0x0)return!0x1;_0x1f675d=_0x1f675d[_0x49ed('0x17')];}return!0x0;}(_0x22d8bc)?_0x697b8(_0x4fdd53,_0x49ed('0x1c'),_0x697b8(_0x4fdd53,function(_0xcc39ce){const _0x32abc8=_0xcc39ce[_0x49ed('0x15')]()[_0x49ed('0x1a')]['nodeAfter'];return'ELEMENT_'+_0x32abc8[_0x49ed('0x39')](_0x49ed('0x44'))['toUpperCase']()+'_LIST';}(_0x22d8bc))):_0x697b8(_0x4fdd53,_0x49ed('0x49'),_0x697b8(_0x4fdd53,_0x49ed('0x3e'))),_0x467d9b={'type':_0x49ed('0x18'),'content':_0x1fdcaa};break;case _0x49ed('0x42'):case'mergeListItemForward':!0x1===_0x265add[_0x49ed('0x12')]&&(_0x1fdcaa='*Merge:*\x20%0',_0x467d9b={'type':_0x49ed('0x6'),'content':_0x697b8(_0x4fdd53,_0x1fdcaa,_0x697b8(_0x4fdd53,_0x49ed('0x3e')))});}return _0x467d9b;}),_0x1f1dbf[_0x49ed('0x38')]['registerCustomCallback'](_0x49ed('0x33'),_0x49ed('0x25'),_0x49ed('0x40'),function(_0x406e05,_0x5ad236){const _0x53da6e=[];for(let _0x1fd067 of _0x406e05)_0x1fd067[_0x49ed('0x1a')][_0x49ed('0x2f')]===_0x1fd067[_0x49ed('0x4')]['parent']&&(_0x1fd067=_0x53f775[_0x49ed('0x3f')][_0x49ed('0xa')](_0x53f775[_0x49ed('0x3f')][_0x49ed('0x9')](_0x1fd067[_0x49ed('0x1a')]['nodeAfter'],0x0))),_0x53da6e[_0x49ed('0x2d')](_0x1fd067);_0x53f775[_0x49ed('0x3f')]['change'](_0x384430=>{const _0x8ed9ff=_0x53f775['model']['document'][_0x49ed('0x3d')],_0x36970d=Array[_0x49ed('0x2e')](_0x8ed9ff[_0x49ed('0x29')]())[_0x49ed('0xe')](_0x36f14c=>_0x148654[_0x49ed('0x27')](_0x36f14c));_0x384430[_0x49ed('0x24')](_0x53da6e),_0x53f775['commands'][_0x49ed('0x1b')](_0x5ad236[_0x49ed('0x21')])[_0x49ed('0x28')](),_0x5ad236['commandParams'][_0x49ed('0x2d')]({'forceDefaultExecution':!0x0}),_0x53f775[_0x49ed('0x2c')](_0x5ad236['commandName'],..._0x5ad236[_0x49ed('0x43')]),_0x384430[_0x49ed('0x24')](_0x36970d);for(const _0x10e39f of _0x36970d)_0x10e39f[_0x49ed('0x2a')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1abd=['handleDescriptions','listStyle','length','*Format:*\x20set\x20order\x20to\x20reversed','isFirstBlockOfListItem','config','getSelectedBlocks','has','styles','handleListStartCommand','isListItemBlock','listReversed','filter','selection','plugins','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','commandParams','document','get','handleListReversedCommand','model','reversed','markMultiRangeBlockFormat','expandListBlocksToCompleteList','listType','format','editor','enableCommand','_getSuggestionBlocksForListStyle','toUpperCase','*Format:*\x20set\x20order\x20to\x20regular','DocumentListUtils','DocumentListPropertiesUtils','listStart','handleListStyleCommand','list.properties','from','change','replace','getAttribute','push','TrackChangesEditing','_getSuggestionBlocks','bind','startIndex','_descriptionFactory','getListTypeFromListStyleType','commandName','type','DocumentListPropertiesEditing'];(function(_0x45a1fd,_0x1abd07){const _0x5c9486=function(_0x518fd2){while(--_0x518fd2){_0x45a1fd['push'](_0x45a1fd['shift']());}};_0x5c9486(++_0x1abd07);}(_0x1abd,0x188));const _0x5c94=function(_0x45a1fd,_0x1abd07){_0x45a1fd=_0x45a1fd-0x0;let _0x5c9486=_0x1abd[_0x45a1fd];return _0x5c9486;};import{Plugin as _0x27d940}from'ckeditor5/src/core';import{getTranslation as _0x1434c4}from'../utils/common-translations';export default class At extends _0x27d940{['afterInit'](){if(!this[_0x5c94('0x2b')][_0x5c94('0x1e')][_0x5c94('0x17')](_0x5c94('0xf')))return;const _0x5902fc=this[_0x5c94('0x2b')][_0x5c94('0x15')][_0x5c94('0x23')](_0x5c94('0x1')),_0x1e76e2=this[_0x5c94('0x2b')][_0x5c94('0x1e')][_0x5c94('0x23')]('TrackChangesEditing');_0x5902fc[_0x5c94('0x18')]&&_0x1e76e2[_0x5c94('0x2c')](_0x5c94('0x11'),this[_0x5c94('0x0')][_0x5c94('0x9')](this)),_0x5902fc[_0x5c94('0x26')]&&_0x1e76e2[_0x5c94('0x2c')](_0x5c94('0x1b'),this[_0x5c94('0x24')][_0x5c94('0x9')](this)),_0x5902fc[_0x5c94('0xa')]&&_0x1e76e2['enableCommand'](_0x5c94('0x32'),this[_0x5c94('0x19')][_0x5c94('0x9')](this)),_0x1e76e2[_0x5c94('0xb')]['registerDescriptionCallback'](this[_0x5c94('0x10')]['bind'](this));}[_0x5c94('0x0')](_0x23e051,_0xb0ecfa={}){const _0x2590b6=this['editor'][_0x5c94('0x1e')][_0x5c94('0x23')](_0x5c94('0x7')),_0x2e280d=this[_0x5c94('0x2d')]();this[_0x5c94('0x2b')][_0x5c94('0x25')][_0x5c94('0x3')](()=>{_0x2590b6['markMultiRangeBlockFormat'](_0x2e280d,{'commandName':_0x5c94('0x11'),'commandParams':[{'type':_0xb0ecfa[_0x5c94('0xe')]}],'formatGroupId':_0x5c94('0x11')});});}[_0x5c94('0x24')](_0x153491,_0xba0f96={}){const _0x26f6ea=this[_0x5c94('0x2b')][_0x5c94('0x1e')][_0x5c94('0x23')](_0x5c94('0x7')),_0x46d657=this[_0x5c94('0x2b')]['plugins'][_0x5c94('0x23')]('DocumentListUtils'),_0xcf7b95=this['_getSuggestionBlocks'](_0x3d9744=>_0x46d657[_0x5c94('0x1a')](_0x3d9744)&&_0x5c94('0x1f')===_0x3d9744[_0x5c94('0x5')]('listType'));null!==_0xcf7b95&&this[_0x5c94('0x2b')][_0x5c94('0x25')][_0x5c94('0x3')](()=>{_0x26f6ea[_0x5c94('0x27')](_0xcf7b95,{'commandName':_0x5c94('0x1b'),'commandParams':[{'reversed':_0xba0f96[_0x5c94('0x26')]}],'formatGroupId':_0x5c94('0x1b')});});}[_0x5c94('0x19')](_0x166a9f,_0x41e0ac={}){const _0x146410=this['editor']['plugins'][_0x5c94('0x23')](_0x5c94('0x7')),_0x3a22b1=this[_0x5c94('0x2b')][_0x5c94('0x1e')][_0x5c94('0x23')](_0x5c94('0x30')),_0x4f373f=this[_0x5c94('0x8')](_0x49d04c=>_0x3a22b1['isListItemBlock'](_0x49d04c)&&'numbered'===_0x49d04c[_0x5c94('0x5')](_0x5c94('0x29')));null!==_0x4f373f&&this['editor'][_0x5c94('0x25')][_0x5c94('0x3')](()=>{_0x146410[_0x5c94('0x27')](_0x4f373f,{'commandName':_0x5c94('0x32'),'commandParams':[{'startIndex':_0x41e0ac[_0x5c94('0xa')]}],'formatGroupId':'listStart'});});}[_0x5c94('0x10')](_0x549b10){const _0x2af269=this[_0x5c94('0x2b')]['locale'],{data:_0x2e1f44}=_0x549b10;if(!_0x2e1f44)return;let _0x2d1d02,_0x3cb8a5;switch(_0x2e1f44[_0x5c94('0xd')]){case _0x5c94('0x11'):_0x2d1d02='*Change\x20to:*\x20%0',_0x3cb8a5={'type':_0x5c94('0x2a'),'content':_0x1434c4(_0x2af269,_0x2d1d02,_0x1434c4(_0x2af269,this['_getTranslationKeyForListStyle'](_0x2e1f44[_0x5c94('0x21')][0x0]['type'])))};break;case'listReversed':_0x2d1d02=_0x2e1f44[_0x5c94('0x21')][0x0]['reversed']?_0x5c94('0x13'):_0x5c94('0x2f'),_0x3cb8a5={'type':'format','content':_0x1434c4(_0x2af269,_0x2d1d02)};break;case _0x5c94('0x32'):_0x2d1d02=_0x5c94('0x20'),_0x3cb8a5={'type':_0x5c94('0x2a'),'content':_0x1434c4(_0x2af269,_0x2d1d02,_0x2e1f44[_0x5c94('0x21')][0x0]['startIndex'])};}return _0x3cb8a5;}[_0x5c94('0x2d')](){const _0x22415f=this['editor'][_0x5c94('0x1e')][_0x5c94('0x23')](_0x5c94('0x30'));let _0x1440df=Array[_0x5c94('0x2')](this[_0x5c94('0x2b')][_0x5c94('0x25')][_0x5c94('0x22')][_0x5c94('0x1d')][_0x5c94('0x16')]());return _0x1440df[_0x5c94('0x6')](..._0x22415f[_0x5c94('0x28')](_0x1440df)),_0x1440df=[...new Set(_0x1440df)],_0x1440df;}['_getSuggestionBlocks'](_0x3f0051){const _0x1e2a85=this[_0x5c94('0x2b')][_0x5c94('0x1e')][_0x5c94('0x23')](_0x5c94('0x30'));let _0x500a7e=Array['from'](this[_0x5c94('0x2b')]['model'][_0x5c94('0x22')][_0x5c94('0x1d')][_0x5c94('0x16')]())[_0x5c94('0x1c')](_0x3f0051);if(!_0x500a7e[_0x5c94('0x12')])return null;_0x500a7e=_0x1e2a85[_0x5c94('0x28')](_0x500a7e);const _0x472680=[];for(const _0x2a38f1 of _0x500a7e)_0x1e2a85[_0x5c94('0x14')](_0x2a38f1)&&_0x472680['push'](_0x2a38f1);return _0x472680;}['_getTranslationKeyForListStyle'](_0x4981ff){return'ELEMENT_'+this[_0x5c94('0x2b')]['plugins']['get'](_0x5c94('0x31'))[_0x5c94('0xc')](_0x4981ff)[_0x5c94('0x2e')]()+'_LIST_'+_0x4981ff[_0x5c94('0x2e')]()[_0x5c94('0x4')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fef=['selection','hasClass','writer','getFirstRange','addMarker:suggestion:insertion','split','high','enter','TrackChangesEditing','end','remove','model','ck-suggestion-marker-split','createRange','data','mapper','get','editor','downcastDispatcher','bind','afterExecute','enterBlock','setSelection','createPositionAt','fromRange','markerNameToElements','parent','document','init','editing','unbindElementFromMarkerName','getFirstPosition','enableCommand','markerName'];(function(_0x550509,_0x1fef6c){const _0x4e103b=function(_0x5cd690){while(--_0x5cd690){_0x550509['push'](_0x550509['shift']());}};_0x4e103b(++_0x1fef6c);}(_0x1fef,0x1c9));const _0x4e10=function(_0x550509,_0x1fef6c){_0x550509=_0x550509-0x0;let _0x4e103b=_0x1fef[_0x550509];return _0x4e103b;};import{Plugin as _0x38b727}from'ckeditor5/src/core';import{Enter as _0x59f42c}from'ckeditor5/src/enter';import{LiveRange as _0x31c220}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x327a07}from'./utils';export default class q extends _0x38b727{static get['requires'](){return[_0x59f42c];}[_0x4e10('0xd')](){const _0x24bb64=this[_0x4e10('0x2')],_0x2d4c5c=_0x24bb64['plugins']['get'](_0x4e10('0x1b')),_0x53f2ca=_0x24bb64['commands'][_0x4e10('0x1')]('enter');_0x2d4c5c[_0x4e10('0x11')](_0x4e10('0x1a'),()=>{_0x24bb64[_0x4e10('0x1e')]['change'](_0x5c7476=>{const _0x24245e=_0x24bb64['model'][_0x4e10('0xc')][_0x4e10('0x13')],_0x295b7e=_0x24245e[_0x4e10('0x10')](),_0x4b73f9=_0x31c220[_0x4e10('0x9')](_0x24245e[_0x4e10('0x16')]());if(_0x53f2ca[_0x4e10('0x6')](_0x5c7476)){const _0x12fa36=_0x24bb64['model'][_0x4e10('0x8')](_0x295b7e[_0x4e10('0xb')]['nextSibling'],0x0),_0x36d56c=_0x5c7476[_0x4e10('0x20')](_0x295b7e,_0x12fa36);_0x2d4c5c['markInsertion'](_0x36d56c);}else _0x5c7476[_0x4e10('0x7')](_0x5c7476[_0x4e10('0x20')](_0x4b73f9[_0x4e10('0x1c')]));_0x4b73f9['detach'](),_0x53f2ca['fire'](_0x4e10('0x5'),{'writer':_0x5c7476});});}),_0x24bb64[_0x4e10('0xe')][_0x4e10('0x3')]['on']('addMarker:suggestion:insertion',_0x327a07(_0x24bb64,_0x4e10('0x18')),{'priority':_0x4e10('0x19')}),_0x24bb64['editing']['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x1c1bee,_0x727459,_0x3ee133)=>{const _0x1a74b2=_0x3ee133[_0x4e10('0x0')][_0x4e10('0xa')](_0x727459[_0x4e10('0x12')]);if(_0x1a74b2)for(const _0x1bacd1 of _0x1a74b2)_0x1bacd1[_0x4e10('0x14')](_0x4e10('0x1f'))&&(_0x3ee133[_0x4e10('0x0')][_0x4e10('0xf')](_0x1bacd1,_0x727459[_0x4e10('0x12')]),_0x3ee133[_0x4e10('0x15')][_0x4e10('0x1d')](_0x1bacd1));},{'priority':_0x4e10('0x19')}),_0x24bb64[_0x4e10('0x21')]['downcastDispatcher']['on'](_0x4e10('0x17'),(_0x4bdc65,_0x3d566d,_0x164698)=>{_0x164698['options']['showSuggestionHighlights']&&_0x327a07(_0x24bb64,_0x4e10('0x18'),{'showActiveMarker':!0x1})[_0x4e10('0x4')](this)(_0x4bdc65,_0x3d566d,_0x164698);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4304=['markers','handleFindCommand','replaceAll','has','getIntersection','plugins','createPositionAt','suggestion:deletion','_isInDeletionRange','TrackChangesEditing','model','FindAndReplaceUtils','getMarkersGroup','editor','end','start','bind','enableCommand','filter','createRange','replace','FindAndReplaceEditing','afterInit','findNext','findByTextCallback','findPrevious'];(function(_0x58b2f5,_0x430455){const _0x54a779=function(_0x5dca15){while(--_0x5dca15){_0x58b2f5['push'](_0x58b2f5['shift']());}};_0x54a779(++_0x430455);}(_0x4304,0x1d8));const _0x54a7=function(_0x58b2f5,_0x430455){_0x58b2f5=_0x58b2f5-0x0;let _0x54a779=_0x4304[_0x58b2f5];return _0x54a779;};import{Plugin as _0x528b7c}from'ckeditor5/src/core';export default class z extends _0x528b7c{[_0x54a7('0x12')](){if(!this[_0x54a7('0x9')][_0x54a7('0x1')][_0x54a7('0x19')](_0x54a7('0x11')))return;const _0x63966d=this[_0x54a7('0x9')][_0x54a7('0x1')]['get'](_0x54a7('0x5'));_0x63966d[_0x54a7('0xd')]('find',this[_0x54a7('0x17')][_0x54a7('0xc')](this)),_0x63966d[_0x54a7('0xd')](_0x54a7('0x13')),_0x63966d['enableCommand'](_0x54a7('0x15')),_0x63966d['enableCommand'](_0x54a7('0x10')),_0x63966d[_0x54a7('0xd')](_0x54a7('0x18'));}[_0x54a7('0x17')](_0x219c20,_0x5e5416,_0x7a94b6={}){const _0x891b3a=this[_0x54a7('0x9')][_0x54a7('0x1')]['get'](_0x54a7('0x7'));void 0x0!==_0x7a94b6&&_0x219c20(_0xd12c3a=>('string'==typeof _0x5e5416?_0x891b3a[_0x54a7('0x14')](_0x5e5416,_0x7a94b6):_0x5e5416)(_0xd12c3a)[_0x54a7('0xe')](_0x4fc0ac=>!0x1===this['_isInDeletionRange'](_0x4fc0ac,_0xd12c3a['item'])),_0x7a94b6);}[_0x54a7('0x4')](_0x4269f9,_0x57e4fb){const _0x367f86=this['editor'][_0x54a7('0x6')][_0x54a7('0xf')](this[_0x54a7('0x9')][_0x54a7('0x6')]['createPositionAt'](_0x57e4fb,_0x4269f9[_0x54a7('0xb')]),this['editor'][_0x54a7('0x6')][_0x54a7('0x2')](_0x57e4fb,_0x4269f9[_0x54a7('0xa')]));for(const _0x13e960 of this[_0x54a7('0x9')][_0x54a7('0x6')][_0x54a7('0x16')][_0x54a7('0x8')](_0x54a7('0x3')))if(null!==_0x367f86[_0x54a7('0x0')](_0x13e960['getRange']()))return!0x0;return!0x1;}}
|