@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230906.0 → 0.0.0-nightly-20230908.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230908.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-20230908.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230908.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 _0x4efc=['editor','acceptSuggestion','execute','refresh','get','_suggestions','track-changes-accept-suggestion-not-found','model','canEditAt','isEnabled','plugins'];(function(_0x5cc770,_0x4efc43){const _0x17e046=function(_0x38b954){while(--_0x38b954){_0x5cc770['push'](_0x5cc770['shift']());}};_0x17e046(++_0x4efc43);}(_0x4efc,0x1ea));const _0x17e0=function(_0x5cc770,_0x4efc43){_0x5cc770=_0x5cc770-0x0;let _0x17e046=_0x4efc[_0x5cc770];return _0x17e046;};import{Command as _0xfadf2c}from'ckeditor5/src/core';import{CKEditorError as _0x5db6eb}from'ckeditor5/src/utils';export default class M extends _0xfadf2c{constructor(_0x20838a,_0x16f4b8){super(_0x20838a),this[_0x17e0('0xa')]=_0x16f4b8,this[_0x17e0('0x8')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x17e0('0x8')](){this[_0x17e0('0x3')]=!0x0;}[_0x17e0('0x7')](_0x5a991c){const _0x1bc5fa=this[_0x17e0('0xa')][_0x17e0('0x9')](_0x5a991c);if(!_0x1bc5fa)throw new _0x5db6eb(_0x17e0('0x0'),this);const _0x680e01=_0x1bc5fa['getRanges']();this[_0x17e0('0x5')][_0x17e0('0x1')][_0x17e0('0x2')](_0x680e01)&&this[_0x17e0('0x5')][_0x17e0('0x4')][_0x17e0('0x9')]('TrackChangesEditing')[_0x17e0('0x6')](_0x1bc5fa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x350b=['editor','TrackChangesEditing','model','_isEnabledBasedOnSelection','get','isEnabled','track-changes-discard-suggestion-not-found','_suggestions','execute','getRanges','discardSuggestion','refresh','plugins'];(function(_0x409103,_0x350be8){const _0xd8271f=function(_0x352962){while(--_0x352962){_0x409103['push'](_0x409103['shift']());}};_0xd8271f(++_0x350be8);}(_0x350b,0x173));const _0xd827=function(_0x409103,_0x350be8){_0x409103=_0x409103-0x0;let _0xd8271f=_0x350b[_0x409103];return _0xd8271f;};import{Command as _0x3f1d0d}from'ckeditor5/src/core';import{CKEditorError as _0x58c94e}from'ckeditor5/src/utils';export default class $ extends _0x3f1d0d{constructor(_0x4999a6,_0x12cfdd){super(_0x4999a6),this[_0xd827('0x0')]=_0x12cfdd,this[_0xd827('0x4')](),this[_0xd827('0x9')]=!0x1;}['refresh'](){this[_0xd827('0xb')]=!0x0;}[_0xd827('0x1')](_0x1b32d0){const _0x54778a=this['_suggestions'][_0xd827('0xa')](_0x1b32d0);if(!_0x54778a)throw new _0x58c94e(_0xd827('0xc'),this);const _0x1808ed=_0x54778a[_0xd827('0x2')]();this['editor'][_0xd827('0x8')]['canEditAt'](_0x1808ed)&&this[_0xd827('0x6')][_0xd827('0x5')][_0xd827('0xa')](_0xd827('0x7'))[_0xd827('0x3')](_0x54778a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44bd=['_suggestions','isEnabled','values','editor','_isEnabledBasedOnSelection','some','model','canEditAt','_command','getRanges','isInContent'];(function(_0x4bb32c,_0x44bdaf){const _0x2b1e05=function(_0x569037){while(--_0x569037){_0x4bb32c['push'](_0x4bb32c['shift']());}};_0x2b1e05(++_0x44bdaf);}(_0x44bd,0x1a2));const _0x2b1e=function(_0x4bb32c,_0x44bdaf){_0x4bb32c=_0x4bb32c-0x0;let _0x2b1e05=_0x44bd[_0x4bb32c];return _0x2b1e05;};import{Command as _0x451b20}from'ckeditor5/src/core';import{sortSuggestions as _0x1770ac,executeCommandForSuggestions as _0x235df9}from'../utils/utils';export default class N extends _0x451b20{constructor(_0x3dceb1,_0x30b842,_0x1bf0a7){super(_0x3dceb1),this['_command']=_0x30b842,this[_0x2b1e('0x0')]=_0x1bf0a7,this['refresh'](),this[_0x2b1e('0x4')]=!0x1;}['refresh'](){const _0x3ebfe7=Array['from'](this[_0x2b1e('0x0')]['values']())[_0x2b1e('0x5')](_0x4a9aff=>_0x4a9aff[_0x2b1e('0xa')]);this[_0x2b1e('0x1')]=this[_0x2b1e('0x8')][_0x2b1e('0x1')]&&_0x3ebfe7;}['execute'](){const _0x212172=_0x1770ac(Array['from'](this['_suggestions'][_0x2b1e('0x2')]()));for(const _0x7d812a of _0x212172){const _0x293d40=_0x7d812a[_0x2b1e('0x9')]();if(!this[_0x2b1e('0x3')][_0x2b1e('0x6')][_0x2b1e('0x7')](_0x293d40))return;}_0x235df9(this['editor'][_0x2b1e('0x6')],this[_0x2b1e('0x8')],_0x212172);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1697=['_selectedSuggestions','document','values','execute','from','_isEnabledBasedOnSelection','size','refresh','isEnabled','_command','model','editor','_suggestions','selection'];(function(_0x2805ee,_0x1697da){const _0x3d567e=function(_0x1f9f64){while(--_0x1f9f64){_0x2805ee['push'](_0x2805ee['shift']());}};_0x3d567e(++_0x1697da);}(_0x1697,0x10c));const _0x3d56=function(_0x2805ee,_0x1697da){_0x2805ee=_0x2805ee-0x0;let _0x3d567e=_0x1697[_0x2805ee];return _0x3d567e;};import{Command as _0xb762dd}from'ckeditor5/src/core';import{sortSuggestions as _0x321fce,getSelectedSuggestions as _0x3d494e,executeCommandForSuggestions as _0x2cddc5}from'../utils/utils';export default class R extends _0xb762dd{constructor(_0x260e45,_0x18d39e,_0x3cd8f4){super(_0x260e45),this['_command']=_0x18d39e,this[_0x3d56('0xa')]=_0x3cd8f4,this['_selectedSuggestions']=new Set(),this['refresh'](),this[_0x3d56('0x3')]=!0x1;}[_0x3d56('0x5')](){const _0xd0aa8a=this[_0x3d56('0x9')][_0x3d56('0x8')][_0x3d56('0xd')][_0x3d56('0xb')],_0x172441=Array[_0x3d56('0x2')](this[_0x3d56('0xa')][_0x3d56('0x0')]());this[_0x3d56('0xc')]=_0x3d494e(_0xd0aa8a,_0x172441),this[_0x3d56('0x6')]=this[_0x3d56('0x7')][_0x3d56('0x6')]&&!!this['_selectedSuggestions'][_0x3d56('0x4')];}[_0x3d56('0x1')](){const _0x5da5fb=_0x321fce(Array[_0x3d56('0x2')](this[_0x3d56('0xc')]));for(const _0x16ecfc of _0x5da5fb){const _0x595d17=_0x16ecfc['getRanges']();if(!this[_0x3d56('0x9')][_0x3d56('0x8')]['canEditAt'](_0x595d17))return;}_0x2cddc5(this['editor'][_0x3d56('0x8')],this['_command'],_0x5da5fb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24bf=['affectsData','commands','TrackChangesCommand','execute','has','_enabledCommands','_isEnabledBasedOnSelection','clearForceDisabled','isEnabled','refresh','editor','_enableCommands','value','forceDisabled'];(function(_0xe2522b,_0x24bf25){const _0x3ac058=function(_0x4d7976){while(--_0x4d7976){_0xe2522b['push'](_0xe2522b['shift']());}};_0x3ac058(++_0x24bf25);}(_0x24bf,0x9f));const _0x3ac0=function(_0xe2522b,_0x24bf25){_0xe2522b=_0xe2522b-0x0;let _0x3ac058=_0x24bf[_0xe2522b];return _0x3ac058;};import{Command as _0x4e3aeb}from'ckeditor5/src/core';export default class _ extends _0x4e3aeb{constructor(_0x5a0a9d,_0x47679e){super(_0x5a0a9d),this[_0x3ac0('0x0')]=_0x47679e,this['value']=!0x1,this[_0x3ac0('0x4')](),this[_0x3ac0('0x1')]=!0x1;}[_0x3ac0('0x4')](){this[_0x3ac0('0x3')]=!0x0;}[_0x3ac0('0xc')](){this[_0x3ac0('0x7')]=!this[_0x3ac0('0x7')],this[_0x3ac0('0x7')]?this['_disableUnsupportedCommands']():this[_0x3ac0('0x6')]();}['_disableUnsupportedCommands'](){for(const _0x45d9bb of this[_0x3ac0('0x5')]['commands'][_0x3ac0('0xa')]())_0x45d9bb['affectsData']&&!this[_0x3ac0('0x0')][_0x3ac0('0xd')](_0x45d9bb)&&_0x45d9bb[_0x3ac0('0x8')](_0x3ac0('0xb'));}['_enableCommands'](){for(const _0xba37b1 of this[_0x3ac0('0x5')][_0x3ac0('0xa')]['commands']())_0xba37b1[_0x3ac0('0x9')]&&!this[_0x3ac0('0x0')][_0x3ac0('0xd')](_0xba37b1)&&_0xba37b1[_0x3ac0('0x2')](_0x3ac0('0xb'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a85=['alignment','enableCommand','AlignmentEditing','document','has','getAttribute','right','format','commandName','center','registerDescriptionCallback','getSelectedBlocks','checkAttribute','schema','left','ltr','justify','selection','afterInit','FORMAT_JUSTIFY_TEXT','model','TrackChangesEditing','*Format:*\x20%0','plugins','_descriptionFactory','locale','FORMAT_ALIGN_TO_CENTER','change','FORMAT_ALIGN_TO_RIGHT','editor','filter','from'];(function(_0x797fd9,_0x5a8555){const _0x3d8d74=function(_0x59bc39){while(--_0x59bc39){_0x797fd9['push'](_0x797fd9['shift']());}};_0x3d8d74(++_0x5a8555);}(_0x5a85,0x83));const _0x3d8d=function(_0x797fd9,_0x5a8555){_0x797fd9=_0x797fd9-0x0;let _0x3d8d74=_0x5a85[_0x797fd9];return _0x3d8d74;};import{Plugin as _0x14e50e}from'ckeditor5/src/core';import{getTranslation as _0x1ed5a9}from'../utils/common-translations';export default class j extends _0x14e50e{[_0x3d8d('0xf')](){const _0x2c7832=this['editor'],_0x216f97=_0x2c7832[_0x3d8d('0x16')];if(!_0x2c7832[_0x3d8d('0x14')][_0x3d8d('0x1')](_0x3d8d('0x1f')))return;const _0x4613f8=_0x2c7832[_0x3d8d('0x14')]['get'](_0x3d8d('0x12'));_0x4613f8[_0x3d8d('0x1e')](_0x3d8d('0x1d'),(_0x3d6992,_0x4ce08e={})=>{let _0x16ed47=_0x4ce08e['value'];_0x4ce08e['value']||(_0x16ed47=_0x3d8d('0xc')===_0x2c7832[_0x3d8d('0x16')]['contentLanguageDirection']?_0x3d8d('0xb'):'right');const _0x2fab2a=Array[_0x3d8d('0x1c')](this[_0x3d8d('0x1a')]['model'][_0x3d8d('0x0')][_0x3d8d('0xe')][_0x3d8d('0x8')]())[_0x3d8d('0x1b')](_0x714311=>function(_0x3830bc,_0x29048a,_0x43f3b6){const _0x32a7fb=_0x3830bc[_0x3d8d('0x2')]('alignment')||null;return _0x29048a[_0x3d8d('0x9')](_0x3830bc,_0x3d8d('0x1d'))&&_0x43f3b6!=_0x32a7fb;}(_0x714311,this[_0x3d8d('0x1a')]['model'][_0x3d8d('0xa')],_0x16ed47));_0x2c7832[_0x3d8d('0x11')][_0x3d8d('0x18')](()=>{for(const _0x2b2f8a of _0x2fab2a)_0x4613f8['markBlockFormat'](_0x2b2f8a,{'commandName':_0x3d8d('0x1d'),'commandParams':[{'value':_0x16ed47}]});});}),_0x4613f8[_0x3d8d('0x15')][_0x3d8d('0x7')](_0x5f45e0=>{const {data:_0x6187f9}=_0x5f45e0;if(_0x6187f9&&_0x3d8d('0x1d')==_0x6187f9[_0x3d8d('0x5')]){const _0x1c2760=_0x6187f9['commandParams'][0x0]['value'];return{'type':_0x3d8d('0x4'),'content':_0x1ed5a9(_0x216f97,_0x3d8d('0x13'),function(_0x590924){switch(_0x590924){case _0x3d8d('0xb'):return _0x1ed5a9(_0x216f97,'FORMAT_ALIGN_TO_LEFT');case _0x3d8d('0x3'):return _0x1ed5a9(_0x216f97,_0x3d8d('0x19'));case _0x3d8d('0x6'):return _0x1ed5a9(_0x216f97,_0x3d8d('0x17'));case _0x3d8d('0xd'):return _0x1ed5a9(_0x216f97,_0x3d8d('0x10'));}}(_0x1c2760))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x407f=['enableCommand','UnderlineEditing','from','format','FORMAT_SUBSCRIPT','CodeEditing','afterInit','ItalicEditing','*Remove\x20format:*\x20%0','FORMAT_STRIKETHROUGH','locale','selection','commandName','BoldEditing','FORMAT_SUPERSCRIPT','SubscriptEditing','strikethrough','commands','StrikethroughEditing','FORMAT_UNDERLINE','forceValue','get','SuperscriptEditing','FORMAT_ITALIC','underline','slice','model','change','_descriptionFactory','italic','*Format:*\x20%0','plugins','has','getRanges','value','toLowerCase'];(function(_0x56b528,_0x407f7b){const _0x39de2f=function(_0x5787cc){while(--_0x5787cc){_0x56b528['push'](_0x56b528['shift']());}};_0x39de2f(++_0x407f7b);}(_0x407f,0x1d0));const _0x39de=function(_0x56b528,_0x407f7b){_0x56b528=_0x56b528-0x0;let _0x39de2f=_0x407f[_0x56b528];return _0x39de2f;};import{Plugin as _0x5b8035}from'ckeditor5/src/core';import{getTranslation as _0x4f816}from'../utils/common-translations';import{getRangesWithAttribute as _0x35caa6}from'./utils';const Yt=[_0x39de('0x11'),_0x39de('0xb'),_0x39de('0x5'),_0x39de('0x9'),_0x39de('0x16'),_0x39de('0x13'),_0x39de('0x1a')];export default class x extends _0x5b8035{[_0x39de('0xa')](){const _0x3e13da=this['editor'],_0x1524c4=_0x3e13da[_0x39de('0x1e')],_0x115b62=_0x3e13da[_0x39de('0x23')][_0x39de('0x19')]('TrackChangesEditing'),_0x314e79=_0x3e13da[_0x39de('0xe')];for(const _0x447cf8 of Yt){if(!_0x3e13da['plugins'][_0x39de('0x0')](_0x447cf8))continue;const _0x4b1c18=_0x447cf8[_0x39de('0x1d')](0x0,-0x7)[_0x39de('0x3')](),_0x2d13c8=_0x3e13da[_0x39de('0x15')][_0x39de('0x19')](_0x4b1c18);_0x115b62[_0x39de('0x4')](_0x4b1c18,(_0x48247d,_0x18ebed={})=>{const _0x475252=_0x1524c4['document'][_0x39de('0xf')];if(_0x475252['isCollapsed'])return void _0x48247d(_0x18ebed);const _0x360e41=void 0x0!==_0x18ebed['forceValue']?_0x18ebed[_0x39de('0x18')]:!_0x2d13c8[_0x39de('0x2')];_0x1524c4[_0x39de('0x1f')](()=>{const _0x5ece36=Array[_0x39de('0x6')](_0x475252[_0x39de('0x1')]());for(const _0xe150bf of _0x5ece36){const _0xe2f03c=_0x360e41?[_0xe150bf]:_0x35caa6(_0x4b1c18,_0xe150bf,_0x1524c4);for(const _0x5a5584 of _0xe2f03c)_0x115b62['markInlineFormat'](_0x5a5584,{'commandName':_0x4b1c18,'commandParams':[{'forceValue':_0x360e41}]});}});});}function _0x312c61(_0xbc679e,_0x2839a9){_0x115b62[_0x39de('0x20')]['registerDescriptionCallback'](_0x57e36d=>{const {data:_0x14feda}=_0x57e36d;if(_0x14feda&&_0x14feda[_0x39de('0x10')]===_0xbc679e)return _0x14feda['commandParams'][0x0][_0x39de('0x18')]?{'type':_0x39de('0x7'),'content':_0x4f816(_0x314e79,_0x39de('0x22'),_0x2839a9)}:{'type':_0x39de('0x7'),'content':_0x4f816(_0x314e79,_0x39de('0xc'),_0x2839a9)};});}_0x312c61('bold',_0x4f816(_0x314e79,'FORMAT_BOLD')),_0x312c61(_0x39de('0x21'),_0x4f816(_0x314e79,_0x39de('0x1b'))),_0x312c61(_0x39de('0x1c'),_0x4f816(_0x314e79,_0x39de('0x17'))),_0x312c61('code',_0x4f816(_0x314e79,'FORMAT_CODE')),_0x312c61(_0x39de('0x14'),_0x4f816(_0x314e79,_0x39de('0xd'))),_0x312c61('subscript',_0x4f816(_0x314e79,_0x39de('0x8'))),_0x312c61('superscript',_0x4f816(_0x314e79,_0x39de('0x12')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c32=['editor','ELEMENT_BLOCK_QUOTE','parent','BlockQuoteEditing','*Format:*\x20%0','has','*Remove\x20format:*\x20%0','get','$root','forceValue','document','commandName','from','commandParams','schema','_descriptionFactory','change','commands','checkChild','TrackChangesEditing','selection','markBlockFormat','value','locale','registerDescriptionCallback','getSelectedBlocks','model','filter','format','plugins','enableCommand','blockQuote'];(function(_0x1ca2a9,_0x4c3292){const _0xe88c04=function(_0x114644){while(--_0x114644){_0x1ca2a9['push'](_0x1ca2a9['shift']());}};_0xe88c04(++_0x4c3292);}(_0x4c32,0xdc));const _0xe88c=function(_0x1ca2a9,_0x4c3292){_0x1ca2a9=_0x1ca2a9-0x0;let _0xe88c04=_0x4c32[_0x1ca2a9];return _0xe88c04;};import{Plugin as _0x2a6909}from'ckeditor5/src/core';import{getTranslation as _0x70818f}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2053a3}from'../utils/utils';export default class U extends _0x2a6909{['afterInit'](){const _0x596fbb=this['editor'],_0x5db567=_0x596fbb[_0xe88c('0x1b')];if(!_0x596fbb[_0xe88c('0x1')][_0xe88c('0x9')](_0xe88c('0x7')))return;const _0x423d07=_0x596fbb[_0xe88c('0x1')][_0xe88c('0xb')](_0xe88c('0x17')),_0x24495d=this[_0xe88c('0x4')][_0xe88c('0x15')][_0xe88c('0xb')](_0xe88c('0x3'));_0x423d07[_0xe88c('0x2')]('blockQuote',(_0x4d479d,_0x41da5e={})=>{const _0x3493df=this[_0xe88c('0x4')][_0xe88c('0x1e')][_0xe88c('0xe')][_0xe88c('0x18')],_0xb38573=_0x41da5e&&void 0x0!==_0x41da5e[_0xe88c('0xd')]?_0x41da5e['forceValue']:!_0x24495d[_0xe88c('0x1a')];let _0x45e210=[];if(_0xb38573){const _0x644e31=Array[_0xe88c('0x10')](_0x3493df[_0xe88c('0x1d')]())[_0xe88c('0x1f')](_0x2ee7ad=>to(_0x2ee7ad)||function(_0x30524b,_0x558e25){const _0x41180a=_0x558e25[_0xe88c('0x16')](_0x30524b[_0xe88c('0x6')],_0xe88c('0x3')),_0x5c4ea6=_0x558e25[_0xe88c('0x16')]([_0xe88c('0xc'),_0xe88c('0x3')],_0x30524b);return _0x41180a&&_0x5c4ea6;}(_0x2ee7ad,this[_0xe88c('0x4')]['model'][_0xe88c('0x12')]));_0x45e210=_0x2053a3(_0x644e31,_0x596fbb[_0xe88c('0x1e')]);}else{const _0x482fa3=Array[_0xe88c('0x10')](_0x3493df[_0xe88c('0x1d')]())[_0xe88c('0x1f')](_0x5084ba=>to(_0x5084ba));_0x45e210=_0x2053a3(_0x482fa3,_0x596fbb[_0xe88c('0x1e')]);}_0x596fbb[_0xe88c('0x1e')][_0xe88c('0x14')](()=>{for(const _0x1e3b5e of _0x45e210)_0x423d07[_0xe88c('0x19')](_0x1e3b5e,{'commandName':_0xe88c('0x3'),'commandParams':[{'forceValue':_0xb38573}]});});}),_0x423d07[_0xe88c('0x13')][_0xe88c('0x1c')](_0xcb3de1=>{const {data:_0x4e166d}=_0xcb3de1;if(_0x4e166d&&_0xe88c('0x3')==_0x4e166d[_0xe88c('0xf')]){const _0x48d8b9=_0x70818f(_0x5db567,_0xe88c('0x5'));return _0x4e166d[_0xe88c('0x11')][0x0][_0xe88c('0xd')]?{'type':_0xe88c('0x0'),'content':_0x70818f(_0x5db567,_0xe88c('0x8'),_0x48d8b9)}:{'type':_0xe88c('0x0'),'content':_0x70818f(_0x5db567,_0xe88c('0xa'),_0x48d8b9)};}});}}function to(_0x1675ce){return'blockQuote'==_0x1675ce[_0xe88c('0x6')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1773=['ckbox','get','TrackChangesEditing','enableCommand'];(function(_0x30a5a1,_0x177366){const _0x67f734=function(_0x4c8f18){while(--_0x4c8f18){_0x30a5a1['push'](_0x30a5a1['shift']());}};_0x67f734(++_0x177366);}(_0x1773,0x130));const _0x67f7=function(_0x30a5a1,_0x177366){_0x30a5a1=_0x30a5a1-0x0;let _0x67f734=_0x1773[_0x30a5a1];return _0x67f734;};import{Plugin as _0x55ec6e}from'ckeditor5/src/core';export default class O extends _0x55ec6e{['afterInit'](){const _0x4bca86=this['editor'];_0x4bca86['commands'][_0x67f7('0x1')](_0x67f7('0x0'))&&_0x4bca86['plugins'][_0x67f7('0x1')](_0x67f7('0x2'))[_0x67f7('0x3')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7c59=['indentCodeBlock','_descriptionFactory','*Remove\x20format:*\x20%0','model','forceValue','get','blockName','formatBlock','commandParams','format','getSelectedBlocks','CodeBlock','find','editor','languages','*Format:*\x20%0','parent','from','filter','has','language','checkChild','plugins','ELEMENT_CODE_BLOCK','TrackChangesEditing','config','isLimit','codeBlock','label','rootElement','registerDescriptionCallback','change'];(function(_0x549e99,_0x7c591a){const _0xe30526=function(_0x4ceaa7){while(--_0x4ceaa7){_0x549e99['push'](_0x549e99['shift']());}};_0xe30526(++_0x7c591a);}(_0x7c59,0x1c7));const _0xe305=function(_0x549e99,_0x7c591a){_0x549e99=_0x549e99-0x0;let _0xe30526=_0x7c59[_0x549e99];return _0xe30526;};import{Plugin as _0x29380c}from'ckeditor5/src/core';import{getTranslation as _0x2cbb24}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1505ba}from'../utils/utils';export default class E extends _0x29380c{['afterInit'](){const _0x38490d=this[_0xe305('0x6')];if(!_0x38490d[_0xe305('0xf')][_0xe305('0xc')](_0xe305('0x4')))return;const _0xe3267b=_0x38490d['plugins']['get'](_0xe305('0x11')),_0x20f5c8=_0x38490d['locale'],_0x481cbe=_0x38490d[_0xe305('0x12')][_0xe305('0x1e')](_0xe305('0x14'))[_0xe305('0x7')],_0x1bf979=_0x38490d['commands'][_0xe305('0x1e')](_0xe305('0x14'));_0xe3267b['enableCommand'](_0xe305('0x19')),_0xe3267b['enableCommand']('outdentCodeBlock'),_0xe3267b['enableCommand'](_0xe305('0x14'),(_0x212def,_0x4fcdcb={})=>{const _0x5223f3=_0x38490d[_0xe305('0x1c')],_0x257060=_0x38490d['model']['document']['selection'],_0x4daedf=_0x4fcdcb&&void 0x0!==_0x4fcdcb[_0xe305('0x1d')]?_0x4fcdcb[_0xe305('0x1d')]:!_0x1bf979['value'];let _0x4dedaf;_0x4fcdcb[_0xe305('0xd')]||(_0x4fcdcb[_0xe305('0xd')]=_0x481cbe[0x0][_0xe305('0xd')]),_0x4dedaf=_0x4daedf?Array['from'](_0x257060[_0xe305('0x3')]())['filter'](_0x3d7900=>oo(_0x3d7900)||function(_0x59c908,_0x521fae){if(_0x59c908['is'](_0xe305('0x16'))||_0x521fae[_0xe305('0x13')](_0x59c908))return!0x1;return _0x521fae[_0xe305('0xe')](_0x59c908[_0xe305('0x9')],'codeBlock');}(_0x3d7900,_0x5223f3['schema'])):Array[_0xe305('0xa')](_0x257060[_0xe305('0x3')]())[_0xe305('0xb')](_0x2e62d1=>oo(_0x2e62d1));const _0x2c0999=_0x1505ba(_0x4dedaf,_0x5223f3);_0x5223f3[_0xe305('0x18')](()=>{for(const _0x4533a4 of _0x2c0999)_0xe3267b['markBlockFormat'](_0x4533a4,{'commandName':'codeBlock','commandParams':[{..._0x4fcdcb,'forceValue':_0x4daedf}],'formatGroupId':_0xe305('0x1f')});});}),(_0xe3267b[_0xe305('0x1a')]['registerElementLabel'](_0xe305('0x14'),_0x34c1fb=>_0x2cbb24(_0x20f5c8,_0xe305('0x10'),_0x34c1fb)),_0xe3267b[_0xe305('0x1a')][_0xe305('0x17')](_0x3aad12=>{const _0x168170=_0x20f5c8['t'],{type:_0x401723,data:_0x7aa15d}=_0x3aad12;if(_0xe305('0x0')==_0x401723&&_0x7aa15d&&_0xe305('0x14')==_0x7aa15d['commandName']){const _0x191904=_0x7aa15d[_0xe305('0x1')][0x0][_0xe305('0xd')],_0x7e6a6=_0x168170(_0x481cbe[_0xe305('0x5')](_0x4db0fd=>_0x4db0fd['language']===_0x191904)[_0xe305('0x15')]);return _0x7aa15d['commandParams'][0x0]['forceValue']?{'type':_0xe305('0x2'),'content':_0x2cbb24(_0x20f5c8,_0xe305('0x8'),_0x2cbb24(_0x20f5c8,_0xe305('0x10'),0x1)+'\x20('+_0x7e6a6+')')}:{'type':_0xe305('0x2'),'content':_0x2cbb24(_0x20f5c8,_0xe305('0x1b'),_0x2cbb24(_0x20f5c8,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x1c842e){return _0xe305('0x14')==_0x1c842e['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x471b=['editor','plugins','afterInit','addCommentThread','TrackChangesEditing','has'];(function(_0x1ba152,_0x471b1a){const _0x7de0bd=function(_0x392148){while(--_0x392148){_0x1ba152['push'](_0x1ba152['shift']());}};_0x7de0bd(++_0x471b1a);}(_0x471b,0xd8));const _0x7de0=function(_0x1ba152,_0x471b1a){_0x1ba152=_0x1ba152-0x0;let _0x7de0bd=_0x471b[_0x1ba152];return _0x7de0bd;};import{Plugin as _0x1b11cd}from'ckeditor5/src/core';export default class F extends _0x1b11cd{[_0x7de0('0x2')](){const _0x3c3c0d=this[_0x7de0('0x0')];if(!_0x3c3c0d['plugins'][_0x7de0('0x5')]('CommentsEditing'))return;_0x3c3c0d[_0x7de0('0x1')]['get'](_0x7de0('0x4'))['enableCommand'](_0x7de0('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22a3=['deleteForward','mapper','forward','delete','createRange','init','data','options','batch','root','markerNameToElements','removeMarker:suggestion:deletion','$graveyard','markerName','buffer','high','addMarker:suggestion:deletion','end','getFirstRange','bind','unlock','selection','uiElement','isCollapsed','writer','downcastDispatcher','get','start','model','lock','detach','remove','document','editing','unit','enqueueChange','rootName','merge','enableCommand','commands','requires','TrackChangesEditing'];(function(_0x3d0bb4,_0x22a364){const _0x61a87d=function(_0x156e58){while(--_0x156e58){_0x3d0bb4['push'](_0x3d0bb4['shift']());}};_0x61a87d(++_0x22a364);}(_0x22a3,0x164));const _0x61a8=function(_0x3d0bb4,_0x22a364){_0x3d0bb4=_0x3d0bb4-0x0;let _0x61a87d=_0x22a3[_0x3d0bb4];return _0x61a87d;};import{Plugin as _0x374408}from'ckeditor5/src/core';import{LiveRange as _0x338eec}from'ckeditor5/src/engine';import{Delete as _0xdbd8d0}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0xaf8baa}from'./utils';export default class G extends _0x374408{static get[_0x61a8('0x14')](){return[_0xdbd8d0];}[_0x61a8('0x1b')](){const _0x5bbf60=this['editor'],_0x52c2dc=_0x5bbf60['plugins'][_0x61a8('0x6')](_0x61a8('0x15'));_0x52c2dc[_0x61a8('0x12')](_0x61a8('0x19'));const _0x1ccedc=_0x5bbf60[_0x61a8('0x13')][_0x61a8('0x6')](_0x61a8('0x16'));_0x52c2dc[_0x61a8('0x12')](_0x61a8('0x16'),(_0x2a5128,_0x3eeb13={})=>{const _0x5b95fd=_0x5bbf60['model']['createSelection'](_0x5bbf60['model'][_0x61a8('0xc')][_0x61a8('0x1')]);_0x5b95fd[_0x61a8('0x3')]&&_0x5bbf60['model']['modifySelection'](_0x5b95fd,{'direction':_0x61a8('0x18'),'unit':_0x3eeb13[_0x61a8('0xe')]});const _0x521ad7=_0x5b95fd[_0x61a8('0x28')](),_0x584ab6=_0x338eec['fromRange'](_0x521ad7);let _0x391023;_0x2a5128(_0x3eeb13),_0x391023=_0x61a8('0x22')==_0x584ab6[_0x61a8('0x1f')][_0x61a8('0x10')]?_0x5bbf60['model'][_0x61a8('0x1a')](_0x521ad7[_0x61a8('0x7')]):_0x5bbf60[_0x61a8('0x8')]['createRange'](_0x584ab6['start'],_0x584ab6[_0x61a8('0x27')]),_0x584ab6[_0x61a8('0xa')](),_0x5bbf60[_0x61a8('0x8')][_0x61a8('0xf')](_0x1ccedc[_0x61a8('0x24')][_0x61a8('0x1e')],_0x387f3a=>{_0x1ccedc[_0x61a8('0x24')][_0x61a8('0x9')](),_0x387f3a['setSelection'](_0x387f3a[_0x61a8('0x1a')](_0x391023[_0x61a8('0x27')])),_0x1ccedc['buffer'][_0x61a8('0x0')]();});}),_0x5bbf60['editing']['downcastDispatcher']['on'](_0x61a8('0x26'),_0xaf8baa(_0x5bbf60,_0x61a8('0x11')),{'priority':_0x61a8('0x25')}),_0x5bbf60[_0x61a8('0x1c')][_0x61a8('0x5')]['on']('addMarker:suggestion:deletion',(_0x3e2ed7,_0x3fbd20,_0x36cb2f)=>{_0x36cb2f[_0x61a8('0x1d')]['showSuggestionHighlights']&&_0xaf8baa(_0x5bbf60,'merge',{'showActiveMarker':!0x1})[_0x61a8('0x29')](this)(_0x3e2ed7,_0x3fbd20,_0x36cb2f);},{'priority':'high'}),_0x5bbf60[_0x61a8('0xd')][_0x61a8('0x5')]['on'](_0x61a8('0x21'),(_0x1ea2be,_0x837fb,_0x231292)=>{const _0x59ddeb=_0x231292[_0x61a8('0x17')][_0x61a8('0x20')](_0x837fb[_0x61a8('0x23')]);if(_0x59ddeb)for(const _0x226aa9 of _0x59ddeb)_0x226aa9['is'](_0x61a8('0x2'))&&(_0x231292['mapper']['unbindElementFromMarkerName'](_0x226aa9,_0x837fb[_0x61a8('0x23')]),_0x231292[_0x61a8('0x4')][_0x61a8('0xb')](_0x226aa9));},{'priority':_0x61a8('0x25')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x417a=['selection','DocumentListEditing','getFirstRange','locale','enableCommand','toUpperCase','*Format:*\x20insert\x20into\x20%0','getAttribute','fromRange','schema','editor','refresh','*Outdent:*\x20%0','setSelection','nextSibling','from','createRange','getRanges','*Change\x20to:*\x20%0','before','indentList','registerElementLabel','execute','isObject','commands','length','value','registerCustomCallback','nodeAfter','afterInit','forceValue','slice','documentList','document','numberedList','listIndent','findIndex','formatBlock','getSelectedBlocks','model','after','ELEMENT_','*Format:*\x20remove\x20from\x20%0','splitListItemAfter','start','get','DocumentListUtils','outdentList','change','deletion','format','_descriptionFactory','markBlockFormat','isFirstBlockOfListItem','plugins','previousSibling','_LIST','containsItem','commandName','ELEMENT_NUMBERED_LIST','mergeListItemForward','splitListItemBefore','mergeListItemBackward','ELEMENT_LIST_ITEM','hasAttribute','push','multipleBlocks','markMultiRangeBlockFormat','add','map','commandParams','createPositionAt','listItemId','listType','bulletedList','*Merge:*\x20%0','end','parent'];(function(_0x135cba,_0x417a7b){const _0x130516=function(_0x90073b){while(--_0x90073b){_0x135cba['push'](_0x135cba['shift']());}};_0x130516(++_0x417a7b);}(_0x417a,0xb5));const _0x1305=function(_0x135cba,_0x417a7b){_0x135cba=_0x135cba-0x0;let _0x130516=_0x417a[_0x135cba];return _0x130516;};import{Plugin as _0x49fbde}from'ckeditor5/src/core';import{getTranslation as _0x1f0fa0}from'../utils/common-translations';import{LiveRange as _0x36df18}from'ckeditor5/src/engine';export default class L extends _0x49fbde{[_0x1305('0x4')](){const _0x3927a4=this[_0x1305('0x3f')];if(!_0x3927a4['plugins']['has'](_0x1305('0x36')))return;const _0xd38c16=_0x3927a4[_0x1305('0x38')],_0x1b4052=_0x3927a4[_0x1305('0x1d')]['get']('TrackChangesEditing'),_0x5a578b=_0x3927a4[_0x1305('0x1d')]['get'](_0x1305('0x15'));function _0x570201(_0x596abb){return()=>{const _0x3304c8=_0x3927a4[_0x1305('0x4d')]['get'](_0x596abb);let _0x1051ef=Array[_0x1305('0x44')](_0x3927a4[_0x1305('0xe')][_0x1305('0x8')][_0x1305('0x35')][_0x1305('0xd')]());if(_0x5911fd(_0x596abb)){_0x1051ef=_0x5a578b['expandListBlocksToCompleteList'](_0x1051ef);const _0xfac2ea=[];for(const _0x19485a of _0x1051ef)_0x5a578b[_0x1305('0x1c')](_0x19485a)&&_0xfac2ea[_0x1305('0x28')](_0x19485a);_0x1051ef=_0xfac2ea;}_0x3927a4[_0x1305('0xe')][_0x1305('0x17')](()=>{_0x1b4052[_0x1305('0x2a')](_0x1051ef,{'commandName':_0x596abb,'commandParams':[{'forceValue':!_0x3304c8[_0x1305('0x1')]}],'formatGroupId':'listType'},[],_0x1305('0x7'));});};}function _0x394b91(_0x21fcb4){return()=>{const _0x4bdfdb=function(_0x4b175e){let _0x3723b9=Array[_0x1305('0x44')](_0x4b175e);const _0xd10d46=_0x3723b9[_0x1305('0xb')](_0x2882ed=>!_0x2882ed[_0x1305('0x27')](_0x1305('0x2f')));return _0xd10d46>-0x1&&(_0x3723b9=_0x3723b9[_0x1305('0x6')](0x0,_0xd10d46)),_0x3723b9;}(_0x3927a4[_0x1305('0xe')]['document'][_0x1305('0x35')][_0x1305('0xd')]()),_0x3a4b7e=_0x4bdfdb[_0x4bdfdb[_0x1305('0x0')]-0x1],_0x505985=_0x3927a4['model'][_0x1305('0x3e')][_0x1305('0x4c')](_0x3a4b7e)?_0x1305('0xf'):_0x1305('0x33'),_0x4066a2=_0x3927a4[_0x1305('0xe')][_0x1305('0x45')](_0x3927a4['model'][_0x1305('0x2e')](_0x4bdfdb[0x0],'before'),_0x3927a4[_0x1305('0xe')][_0x1305('0x2e')](_0x3a4b7e,_0x505985));_0x3927a4[_0x1305('0xe')][_0x1305('0x17')](()=>{_0x1b4052[_0x1305('0x1b')](_0x4066a2,{'commandName':_0x21fcb4,'commandParams':[],'formatGroupId':'listType'},function(_0x486cc7){const _0xfe68d5=new Set();for(const _0x22a41d of _0x486cc7){let _0x13907f=_0x22a41d[_0x1305('0x43')];for(;_0x13907f&&_0x13907f['getAttribute'](_0x1305('0xa'))>_0x22a41d[_0x1305('0x3c')](_0x1305('0xa'));)_0xfe68d5[_0x1305('0x2b')](_0x13907f),_0x13907f=_0x13907f[_0x1305('0x43')];}return Array[_0x1305('0x44')](_0xfe68d5);}(_0x4bdfdb));});};}function _0x200bca(_0x5b5662){return()=>{const _0x4271d9=_0x3927a4['model'][_0x1305('0x8')]['selection'][_0x1305('0xd')]()['next']()['value'],_0x2e6ba4=_0x3927a4[_0x1305('0xe')]['createPositionAt'](_0x4271d9,_0x1305('0x48')),_0x77f76f=_0x3927a4[_0x1305('0xe')][_0x1305('0x2e')](_0x4271d9,0x0),_0xbc95d9=_0x3927a4[_0x1305('0xe')][_0x1305('0x45')](_0x2e6ba4,_0x77f76f);_0x3927a4[_0x1305('0xe')][_0x1305('0x17')](()=>{_0x1b4052[_0x1305('0x1b')](_0xbc95d9,{'commandName':_0x5b5662,'commandParams':[],'formatGroupId':'listType'});});};}function _0x5911fd(_0x23536e){const _0x5d9d4a=_0x3927a4[_0x1305('0x4d')][_0x1305('0x14')](_0x1305('0x31'))['value'],_0x44fd1e=_0x3927a4[_0x1305('0x4d')]['get'](_0x1305('0x9'))[_0x1305('0x1')];return _0x1305('0x9')===_0x23536e?_0x5d9d4a:_0x44fd1e;}_0x1b4052[_0x1305('0x39')](_0x1305('0x9'),_0x570201(_0x1305('0x9'))),_0x1b4052[_0x1305('0x39')](_0x1305('0x31'),_0x570201(_0x1305('0x31'))),_0x1b4052[_0x1305('0x39')](_0x1305('0x49'),_0x394b91(_0x1305('0x49'))),_0x1b4052['enableCommand']('outdentList',_0x394b91(_0x1305('0x16'))),_0x1b4052['enableCommand'](_0x1305('0x12'),_0x200bca('splitListItemAfter')),_0x1b4052[_0x1305('0x39')]('splitListItemBefore',_0x200bca(_0x1305('0x24'))),_0x1b4052[_0x1305('0x1a')][_0x1305('0x4a')](function(_0x50cc91){const _0x528040=!_0x3927a4['model'][_0x1305('0x3e')][_0x1305('0x4c')](_0x50cc91),_0x430eba=_0x50cc91[_0x1305('0x1e')],_0x3cc403=_0x50cc91['nextSibling'],_0x48619d=_0x50cc91[_0x1305('0x3c')](_0x1305('0x2f')),_0x47acfb=!_0x430eba||_0x430eba['getAttribute'](_0x1305('0x2f'))!==_0x48619d,_0x1cb869=!_0x3cc403||_0x3cc403[_0x1305('0x3c')](_0x1305('0x2f'))!==_0x48619d;return _0x528040&&Boolean(_0x48619d)&&_0x47acfb&&_0x1cb869;},_0x4b7f7c=>_0x1f0fa0(_0xd38c16,_0x1305('0x26'),_0x4b7f7c)),_0x1b4052[_0x1305('0x1a')]['registerDescriptionCallback'](function(_0x5738d1){const {data:_0x3f5f6b}=_0x5738d1;if(!_0x3f5f6b)return;let _0x4c44a5,_0x2923c9,_0x2e8679,_0x145af4;switch(_0x3f5f6b[_0x1305('0x21')]){case _0x1305('0x31'):_0x2e8679=_0x3f5f6b[_0x1305('0x2d')][0x0]['forceValue'],_0x145af4=_0x5911fd(_0x3f5f6b[_0x1305('0x21')]),_0x4c44a5=_0x2e8679?_0x1305('0x3b'):_0x1305('0x11'),_0x145af4&&(_0x4c44a5=_0x1305('0x47')),_0x2923c9={'type':_0x1305('0x19'),'content':_0x1f0fa0(_0xd38c16,_0x4c44a5,_0x1f0fa0(_0xd38c16,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x2e8679=_0x3f5f6b[_0x1305('0x2d')][0x0][_0x1305('0x5')],_0x145af4=_0x5911fd(_0x3f5f6b['commandName']),_0x4c44a5=_0x2e8679?_0x1305('0x3b'):_0x1305('0x11'),_0x145af4&&(_0x4c44a5='*Change\x20to:*\x20%0'),_0x2923c9={'type':_0x1305('0x19'),'content':_0x1f0fa0(_0xd38c16,_0x4c44a5,_0x1f0fa0(_0xd38c16,_0x1305('0x22')))};break;case _0x1305('0x49'):_0x4c44a5='*Indent:*\x20%0',_0x2923c9={'type':_0x1305('0x19'),'content':_0x1f0fa0(_0xd38c16,_0x4c44a5,_0x1f0fa0(_0xd38c16,'ELEMENT_LIST_ITEM'))};break;case _0x1305('0x16'):_0x4c44a5=function(_0x392447){const _0x52ab1b=_0x392447[_0x1305('0x37')]();let _0x1805bc=_0x52ab1b['start'][_0x1305('0x3')];for(;_0x1805bc&&_0x52ab1b[_0x1305('0x20')](_0x1805bc);){if(_0x1805bc[_0x1305('0x3c')](_0x1305('0xa'))>0x0)return!0x1;_0x1805bc=_0x1805bc['nextSibling'];}return!0x0;}(_0x5738d1)?_0x1f0fa0(_0xd38c16,_0x1305('0x11'),_0x1f0fa0(_0xd38c16,function(_0x5bf2e3){const _0x46608c=_0x5bf2e3[_0x1305('0x37')]()[_0x1305('0x13')]['nodeAfter'];return _0x1305('0x10')+_0x46608c['getAttribute'](_0x1305('0x30'))[_0x1305('0x3a')]()+_0x1305('0x1f');}(_0x5738d1))):_0x1f0fa0(_0xd38c16,_0x1305('0x41'),_0x1f0fa0(_0xd38c16,_0x1305('0x26'))),_0x2923c9={'type':_0x1305('0x19'),'content':_0x4c44a5};break;case _0x1305('0x25'):case _0x1305('0x23'):!0x1===_0x3f5f6b[_0x1305('0x29')]&&(_0x4c44a5=_0x1305('0x32'),_0x2923c9={'type':_0x1305('0x18'),'content':_0x1f0fa0(_0xd38c16,_0x4c44a5,_0x1f0fa0(_0xd38c16,'ELEMENT_LIST_ITEM'))});}return _0x2923c9;}),_0x1b4052['_suggestionFactory'][_0x1305('0x2')](_0x1305('0xc'),_0x1305('0x7'),'accept',function(_0x4afe08,_0x71aeb7){const _0x5cbf97=[];for(let _0x2d13f8 of _0x4afe08)_0x2d13f8['start'][_0x1305('0x3')]===_0x2d13f8['end'][_0x1305('0x34')]&&(_0x2d13f8=_0x3927a4['model'][_0x1305('0x45')](_0x3927a4[_0x1305('0xe')][_0x1305('0x2e')](_0x2d13f8['start'][_0x1305('0x3')],0x0))),_0x5cbf97['push'](_0x2d13f8);_0x3927a4[_0x1305('0xe')][_0x1305('0x17')](_0x23f224=>{const _0x3c3732=_0x3927a4['model'][_0x1305('0x8')][_0x1305('0x35')],_0x474f4a=Array[_0x1305('0x44')](_0x3c3732[_0x1305('0x46')]())[_0x1305('0x2c')](_0x24d9bf=>_0x36df18[_0x1305('0x3d')](_0x24d9bf));_0x23f224[_0x1305('0x42')](_0x5cbf97),_0x3927a4[_0x1305('0x4d')][_0x1305('0x14')](_0x71aeb7[_0x1305('0x21')])[_0x1305('0x40')](),_0x71aeb7[_0x1305('0x2d')][_0x1305('0x28')]({'forceDefaultExecution':!0x0}),_0x3927a4[_0x1305('0x4b')](_0x71aeb7[_0x1305('0x21')],..._0x71aeb7[_0x1305('0x2d')]),_0x23f224['setSelection'](_0x474f4a);for(const _0x140a9d of _0x474f4a)_0x140a9d['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x612b=['markMultiRangeBlockFormat','DocumentListPropertiesEditing','getListTypeFromListStyleType','get','DocumentListPropertiesUtils','locale','filter','listReversed','isFirstBlockOfListItem','handleListStyleCommand','handleDescriptions','list.properties','format','editor','*Format:*\x20set\x20order\x20to\x20regular','getAttribute','toUpperCase','commandParams','commandName','reversed','ELEMENT_','enableCommand','type','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','push','model','DocumentListUtils','document','config','change','TrackChangesEditing','handleListReversedCommand','plugins','bind','*Format:*\x20set\x20order\x20to\x20reversed','from','expandListBlocksToCompleteList','listStart','styles','afterInit','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','_LIST_','listStyle','selection','_getSuggestionBlocks','handleListStartCommand','isListItemBlock','getSelectedBlocks','numbered','registerDescriptionCallback'];(function(_0x49e2ab,_0x612b2c){const _0x4bd96f=function(_0x4c16d3){while(--_0x4c16d3){_0x49e2ab['push'](_0x49e2ab['shift']());}};_0x4bd96f(++_0x612b2c);}(_0x612b,0x19a));const _0x4bd9=function(_0x49e2ab,_0x612b2c){_0x49e2ab=_0x49e2ab-0x0;let _0x4bd96f=_0x612b[_0x49e2ab];return _0x4bd96f;};import{Plugin as _0x13980c}from'ckeditor5/src/core';import{getTranslation as _0x56dbbe}from'../utils/common-translations';export default class At extends _0x13980c{[_0x4bd9('0x2e')](){if(!this[_0x4bd9('0x13')]['plugins']['has'](_0x4bd9('0x7')))return;const _0x32ad23=this[_0x4bd9('0x13')][_0x4bd9('0x23')][_0x4bd9('0x9')](_0x4bd9('0x11')),_0x29785d=this[_0x4bd9('0x13')][_0x4bd9('0x27')][_0x4bd9('0x9')](_0x4bd9('0x25'));_0x32ad23[_0x4bd9('0x2d')]&&_0x29785d[_0x4bd9('0x1b')](_0x4bd9('0x32'),this['handleListStyleCommand']['bind'](this)),_0x32ad23[_0x4bd9('0x19')]&&_0x29785d[_0x4bd9('0x1b')](_0x4bd9('0xd'),this[_0x4bd9('0x26')][_0x4bd9('0x28')](this)),_0x32ad23[_0x4bd9('0x1e')]&&_0x29785d['enableCommand'](_0x4bd9('0x2c'),this['handleListStartCommand']['bind'](this)),_0x29785d['_descriptionFactory'][_0x4bd9('0x5')](this[_0x4bd9('0x10')]['bind'](this));}[_0x4bd9('0xf')](_0x29ac5d,_0x30ab3f={}){const _0x50c747=this[_0x4bd9('0x13')][_0x4bd9('0x27')][_0x4bd9('0x9')](_0x4bd9('0x25')),_0xb65677=this[_0x4bd9('0x2f')]();this['editor']['model']['change'](()=>{_0x50c747[_0x4bd9('0x6')](_0xb65677,{'commandName':_0x4bd9('0x32'),'commandParams':[{'type':_0x30ab3f[_0x4bd9('0x1c')]}],'formatGroupId':_0x4bd9('0x32')});});}[_0x4bd9('0x26')](_0x22327a,_0x43a0e1={}){const _0x25853d=this[_0x4bd9('0x13')][_0x4bd9('0x27')][_0x4bd9('0x9')](_0x4bd9('0x25')),_0x50a54f=this[_0x4bd9('0x13')][_0x4bd9('0x27')][_0x4bd9('0x9')]('DocumentListUtils'),_0xde30d5=this[_0x4bd9('0x0')](_0x43f714=>_0x50a54f[_0x4bd9('0x2')](_0x43f714)&&_0x4bd9('0x4')===_0x43f714[_0x4bd9('0x15')]('listType'));null!==_0xde30d5&&this[_0x4bd9('0x13')][_0x4bd9('0x20')][_0x4bd9('0x24')](()=>{_0x25853d[_0x4bd9('0x6')](_0xde30d5,{'commandName':'listReversed','commandParams':[{'reversed':_0x43a0e1['reversed']}],'formatGroupId':_0x4bd9('0xd')});});}[_0x4bd9('0x1')](_0xf7f407,_0xd4ae00={}){const _0x1ede31=this['editor'][_0x4bd9('0x27')]['get']('TrackChangesEditing'),_0x1c3ce3=this[_0x4bd9('0x13')][_0x4bd9('0x27')]['get'](_0x4bd9('0x21')),_0x44b183=this[_0x4bd9('0x0')](_0xe85ff8=>_0x1c3ce3[_0x4bd9('0x2')](_0xe85ff8)&&_0x4bd9('0x4')===_0xe85ff8[_0x4bd9('0x15')]('listType'));null!==_0x44b183&&this[_0x4bd9('0x13')][_0x4bd9('0x20')][_0x4bd9('0x24')](()=>{_0x1ede31['markMultiRangeBlockFormat'](_0x44b183,{'commandName':_0x4bd9('0x2c'),'commandParams':[{'startIndex':_0xd4ae00[_0x4bd9('0x1e')]}],'formatGroupId':_0x4bd9('0x2c')});});}[_0x4bd9('0x10')](_0x57c76a){const _0x9c7dcc=this['editor'][_0x4bd9('0xb')],{data:_0x2a5f2f}=_0x57c76a;if(!_0x2a5f2f)return;let _0x14bfae,_0x230c8a;switch(_0x2a5f2f[_0x4bd9('0x18')]){case _0x4bd9('0x32'):_0x14bfae='*Change\x20to:*\x20%0',_0x230c8a={'type':'format','content':_0x56dbbe(_0x9c7dcc,_0x14bfae,_0x56dbbe(_0x9c7dcc,this[_0x4bd9('0x30')](_0x2a5f2f[_0x4bd9('0x17')][0x0]['type'])))};break;case'listReversed':_0x14bfae=_0x2a5f2f[_0x4bd9('0x17')][0x0][_0x4bd9('0x19')]?_0x4bd9('0x29'):_0x4bd9('0x14'),_0x230c8a={'type':_0x4bd9('0x12'),'content':_0x56dbbe(_0x9c7dcc,_0x14bfae)};break;case'listStart':_0x14bfae=_0x4bd9('0x1d'),_0x230c8a={'type':'format','content':_0x56dbbe(_0x9c7dcc,_0x14bfae,_0x2a5f2f[_0x4bd9('0x17')][0x0][_0x4bd9('0x1e')])};}return _0x230c8a;}['_getSuggestionBlocksForListStyle'](){const _0x247fb3=this[_0x4bd9('0x13')][_0x4bd9('0x27')][_0x4bd9('0x9')](_0x4bd9('0x21'));let _0x3701af=Array[_0x4bd9('0x2a')](this[_0x4bd9('0x13')][_0x4bd9('0x20')][_0x4bd9('0x22')][_0x4bd9('0x33')][_0x4bd9('0x3')]());return _0x3701af['push'](..._0x247fb3[_0x4bd9('0x2b')](_0x3701af)),_0x3701af=[...new Set(_0x3701af)],_0x3701af;}[_0x4bd9('0x0')](_0xbd1807){const _0x299b94=this['editor']['plugins'][_0x4bd9('0x9')](_0x4bd9('0x21'));let _0x1ae4a2=Array[_0x4bd9('0x2a')](this['editor'][_0x4bd9('0x20')]['document'][_0x4bd9('0x33')][_0x4bd9('0x3')]())[_0x4bd9('0xc')](_0xbd1807);if(!_0x1ae4a2['length'])return null;_0x1ae4a2=_0x299b94['expandListBlocksToCompleteList'](_0x1ae4a2);const _0x2c9c0c=[];for(const _0x554985 of _0x1ae4a2)_0x299b94[_0x4bd9('0xe')](_0x554985)&&_0x2c9c0c[_0x4bd9('0x1f')](_0x554985);return _0x2c9c0c;}[_0x4bd9('0x30')](_0x56105d){return _0x4bd9('0x1a')+this['editor'][_0x4bd9('0x27')][_0x4bd9('0x9')](_0x4bd9('0xa'))[_0x4bd9('0x8')](_0x56105d)[_0x4bd9('0x16')]()+_0x4bd9('0x31')+_0x56105d[_0x4bd9('0x16')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19fd=['get','high','init','createPositionAt','mapper','ck-suggestion-marker-split','split','document','editor','getFirstPosition','showSuggestionHighlights','afterExecute','model','selection','detach','enableCommand','addMarker:suggestion:insertion','downcastDispatcher','getFirstRange','createRange','markerNameToElements','writer','unbindElementFromMarkerName','removeMarker:suggestion:insertion','requires','fromRange','enter','TrackChangesEditing','setSelection','markerName','hasClass','remove','editing'];(function(_0x21c20c,_0x19fd30){const _0x2db8cc=function(_0x3db96b){while(--_0x3db96b){_0x21c20c['push'](_0x21c20c['shift']());}};_0x2db8cc(++_0x19fd30);}(_0x19fd,0xf1));const _0x2db8=function(_0x21c20c,_0x19fd30){_0x21c20c=_0x21c20c-0x0;let _0x2db8cc=_0x19fd[_0x21c20c];return _0x2db8cc;};import{Plugin as _0x521bac}from'ckeditor5/src/core';import{Enter as _0x40e1ee}from'ckeditor5/src/enter';import{LiveRange as _0x20d89a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2d63d5}from'./utils';export default class q extends _0x521bac{static get[_0x2db8('0xe')](){return[_0x40e1ee];}[_0x2db8('0x19')](){const _0x3df3c8=this[_0x2db8('0x1f')],_0x1d463a=_0x3df3c8['plugins']['get'](_0x2db8('0x11')),_0x39b510=_0x3df3c8['commands'][_0x2db8('0x17')](_0x2db8('0x10'));_0x1d463a[_0x2db8('0x5')](_0x2db8('0x10'),()=>{_0x3df3c8[_0x2db8('0x2')]['change'](_0x58c6e9=>{const _0x4cb2ec=_0x3df3c8[_0x2db8('0x2')][_0x2db8('0x1e')][_0x2db8('0x3')],_0x11c51b=_0x4cb2ec[_0x2db8('0x20')](),_0x51661e=_0x20d89a[_0x2db8('0xf')](_0x4cb2ec[_0x2db8('0x8')]());if(_0x39b510['enterBlock'](_0x58c6e9)){const _0x448971=_0x3df3c8['model'][_0x2db8('0x1a')](_0x11c51b['parent']['nextSibling'],0x0),_0x29aaf4=_0x58c6e9[_0x2db8('0x9')](_0x11c51b,_0x448971);_0x1d463a['markInsertion'](_0x29aaf4);}else _0x58c6e9[_0x2db8('0x12')](_0x58c6e9['createRange'](_0x51661e['end']));_0x51661e[_0x2db8('0x4')](),_0x39b510['fire'](_0x2db8('0x1'),{'writer':_0x58c6e9});});}),_0x3df3c8[_0x2db8('0x16')][_0x2db8('0x7')]['on'](_0x2db8('0x6'),_0x2d63d5(_0x3df3c8,'split'),{'priority':_0x2db8('0x18')}),_0x3df3c8[_0x2db8('0x16')][_0x2db8('0x7')]['on'](_0x2db8('0xd'),(_0x4cf3e8,_0x57c0df,_0x4d592d)=>{const _0x2dfd44=_0x4d592d[_0x2db8('0x1b')][_0x2db8('0xa')](_0x57c0df['markerName']);if(_0x2dfd44)for(const _0x5bf8f3 of _0x2dfd44)_0x5bf8f3[_0x2db8('0x14')](_0x2db8('0x1c'))&&(_0x4d592d[_0x2db8('0x1b')][_0x2db8('0xc')](_0x5bf8f3,_0x57c0df[_0x2db8('0x13')]),_0x4d592d[_0x2db8('0xb')][_0x2db8('0x15')](_0x5bf8f3));},{'priority':'high'}),_0x3df3c8['data'][_0x2db8('0x7')]['on'](_0x2db8('0x6'),(_0x496b8a,_0x3a2ad7,_0xe014c7)=>{_0xe014c7['options'][_0x2db8('0x0')]&&_0x2d63d5(_0x3df3c8,_0x2db8('0x1d'),{'showActiveMarker':!0x1})['bind'](this)(_0x496b8a,_0x3a2ad7,_0xe014c7);},{'priority':_0x2db8('0x18')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e9f=['TrackChangesEditing','getMarkersGroup','has','get','findByTextCallback','handleFindCommand','FindAndReplaceEditing','end','suggestion:deletion','markers','editor','createPositionAt','string','createRange','enableCommand','getRange','filter','_isInDeletionRange','replaceAll','find','plugins','afterInit','model','replace','getIntersection','item','findNext','bind','findPrevious'];(function(_0x4ecc5f,_0x5e9ff5){const _0x1cd864=function(_0x3580da){while(--_0x3580da){_0x4ecc5f['push'](_0x4ecc5f['shift']());}};_0x1cd864(++_0x5e9ff5);}(_0x5e9f,0x1af));const _0x1cd8=function(_0x4ecc5f,_0x5e9ff5){_0x4ecc5f=_0x4ecc5f-0x0;let _0x1cd864=_0x5e9f[_0x4ecc5f];return _0x1cd864;};import{Plugin as _0x4ffa07}from'ckeditor5/src/core';export default class z extends _0x4ffa07{[_0x1cd8('0x19')](){if(!this[_0x1cd8('0xe')][_0x1cd8('0x18')][_0x1cd8('0x6')](_0x1cd8('0xa')))return;const _0x602ea5=this[_0x1cd8('0xe')][_0x1cd8('0x18')][_0x1cd8('0x7')](_0x1cd8('0x4'));_0x602ea5[_0x1cd8('0x12')](_0x1cd8('0x17'),this[_0x1cd8('0x9')][_0x1cd8('0x2')](this)),_0x602ea5[_0x1cd8('0x12')](_0x1cd8('0x1')),_0x602ea5['enableCommand'](_0x1cd8('0x3')),_0x602ea5[_0x1cd8('0x12')](_0x1cd8('0x1b')),_0x602ea5[_0x1cd8('0x12')](_0x1cd8('0x16'));}['handleFindCommand'](_0x4c3951,_0x20c042,_0x36e0d0={}){const _0x5ac236=this[_0x1cd8('0xe')]['plugins'][_0x1cd8('0x7')]('FindAndReplaceUtils');void 0x0!==_0x36e0d0&&_0x4c3951(_0x7e899b=>(_0x1cd8('0x10')==typeof _0x20c042?_0x5ac236[_0x1cd8('0x8')](_0x20c042,_0x36e0d0):_0x20c042)(_0x7e899b)[_0x1cd8('0x14')](_0x4bbfe4=>!0x1===this['_isInDeletionRange'](_0x4bbfe4,_0x7e899b[_0x1cd8('0x0')])),_0x36e0d0);}[_0x1cd8('0x15')](_0x5b804d,_0x51da5c){const _0x3b4e87=this[_0x1cd8('0xe')][_0x1cd8('0x1a')][_0x1cd8('0x11')](this[_0x1cd8('0xe')][_0x1cd8('0x1a')][_0x1cd8('0xf')](_0x51da5c,_0x5b804d['start']),this[_0x1cd8('0xe')]['model'][_0x1cd8('0xf')](_0x51da5c,_0x5b804d[_0x1cd8('0xb')]));for(const _0x18cee5 of this['editor'][_0x1cd8('0x1a')][_0x1cd8('0xd')][_0x1cd8('0x5')](_0x1cd8('0xc')))if(null!==_0x3b4e87[_0x1cd8('0x1c')](_0x18cee5[_0x1cd8('0x13')]()))return!0x0;return!0x1;}}
|