@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231216.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/CHANGELOG.md +1 -1
- package/build/track-changes.js +1 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +2 -2
- package/src/commands/acceptsuggestioncommand.d.ts +2 -2
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +2 -2
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +12 -12
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.d.ts +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.d.ts +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +2 -2
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +3 -3
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +2 -2
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.d.ts +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.d.ts +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +2 -2
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +3 -3
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +2 -2
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +2 -2
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +2 -2
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +4 -4
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +2 -2
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +2 -2
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +4 -4
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +3 -3
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +5 -5
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +3 -3
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +5 -5
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +1 -1
- package/src/trackchangesdata.d.ts +2 -2
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +53 -53
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +3 -3
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +5 -5
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +5 -5
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +4 -4
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13d0=['detach','add','commands','getAttribute','registerCustomCallback','indentList','document','get','selection','*Merge:*\x20%0','change','accept','getFirstRange','markMultiRangeBlockFormat','*Outdent:*\x20%0','fromRange','formatInline','enableCommand','splitListItemBefore','hasAttribute','slice','nextSibling','*Format:*\x20remove\x20from\x20%0','commandParams','nodeAfter','push','format','type','numberedList','from','*Indent:*\x20%0','*Format:*\x20insert\x20into\x20%0','next','bulletedList','model','end','documentList','registerDescriptionCallback','list.multiBlock','expandListBlocksToCompleteList','createRange','isObject','has','value','schema','ELEMENT_NUMBERED_LIST','splitListItemAfter','commandName','plugins','mergeListItemBackward','setSelection','findIndex','ELEMENT_LIST_ITEM','listIndent','listItemId','length','config','getRanges','createPositionAt','before','ELEMENT_BULLETED_LIST','getSelectedBlocks','isFirstBlockOfListItem','start','multipleBlocks','containsItem','parent','outdentList','afterInit','*Change\x20to:*\x20%0','map','formatBlock','forceValue','execute','mergeListItemForward','listType'];(function(_0x181cfa,_0x13d001){const _0x5a8570=function(_0xf83b9){while(--_0xf83b9){_0x181cfa['push'](_0x181cfa['shift']());}};_0x5a8570(++_0x13d001);}(_0x13d0,0xc9));const _0x5a85=function(_0x181cfa,_0x13d001){_0x181cfa=_0x181cfa-0x0;let _0x5a8570=_0x13d0[_0x181cfa];return _0x5a8570;};import{Plugin as _0xb1b35a}from'ckeditor5/src/core.js';import{getTranslation as _0x5088c2}from'../utils/common-translations.js';import{LiveRange as _0x23eda0}from'ckeditor5/src/engine.js';export default class q extends _0xb1b35a{[_0x5a85('0x13')](){const _0x3a0baa=this['editor'];if(!_0x3a0baa[_0x5a85('0x4b')][_0x5a85('0x45')]('DocumentListEditing'))return;const _0x228749=_0x3a0baa['locale'],_0x156fb4=_0x3a0baa[_0x5a85('0x4b')][_0x5a85('0x22')]('TrackChangesEditing'),_0x98ac86=_0x3a0baa['plugins'][_0x5a85('0x22')]('DocumentListUtils');function _0x2508f3(_0x2102ff){return()=>{const _0x30fe54=_0x3a0baa[_0x5a85('0x1d')]['get'](_0x2102ff);if(_0x30fe54[_0x5a85('0x46')]&&!_0x3a0baa['config'][_0x5a85('0x22')](_0x5a85('0x41')))return void _0x3a0baa[_0x5a85('0x18')]('paragraph',{});let _0xc19aca=Array[_0x5a85('0x38')](_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x21')][_0x5a85('0x23')][_0x5a85('0xc')]());if(_0x42d07c(_0x2102ff)){_0xc19aca=_0x98ac86[_0x5a85('0x42')](_0xc19aca);const _0x1d7f91=[];for(const _0x3104ea of _0xc19aca)_0x98ac86[_0x5a85('0xd')](_0x3104ea)&&_0x1d7f91[_0x5a85('0x34')](_0x3104ea);_0xc19aca=_0x1d7f91;}_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x25')](()=>{_0x156fb4[_0x5a85('0x28')](_0xc19aca,{'commandName':_0x2102ff,'commandParams':[{'forceValue':!_0x30fe54[_0x5a85('0x46')]}],'formatGroupId':_0x5a85('0x1a')},[],_0x5a85('0x3f'));});};}function _0x10058e(_0x2950af){return()=>{const _0x174f52=function(_0x1bb001){let _0x3a284d=Array['from'](_0x1bb001);const _0x3aa9d9=_0x3a284d[_0x5a85('0x2')](_0x166316=>!_0x166316[_0x5a85('0x2e')](_0x5a85('0x5')));return _0x3aa9d9>-0x1&&(_0x3a284d=_0x3a284d[_0x5a85('0x2f')](0x0,_0x3aa9d9)),_0x3a284d;}(_0x3a0baa[_0x5a85('0x3d')]['document'][_0x5a85('0x23')][_0x5a85('0xc')]()),_0x555374=_0x174f52[_0x174f52[_0x5a85('0x6')]-0x1],_0x3f340b=_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x47')][_0x5a85('0x44')](_0x555374)?'after':_0x5a85('0x3e'),_0x5541dd=_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x43')](_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x9')](_0x174f52[0x0],_0x5a85('0xa')),_0x3a0baa['model'][_0x5a85('0x9')](_0x555374,_0x3f340b));_0x3a0baa[_0x5a85('0x3d')]['change'](()=>{_0x156fb4['markBlockFormat'](_0x5541dd,{'commandName':_0x2950af,'commandParams':[],'formatGroupId':'listType'},function(_0xc387a4){const _0x45b088=new Set();for(const _0xd6a1db of _0xc387a4){let _0x2ed121=_0xd6a1db[_0x5a85('0x30')];for(;_0x2ed121&&_0x2ed121['getAttribute'](_0x5a85('0x4'))>_0xd6a1db[_0x5a85('0x1e')]('listIndent');)_0x45b088[_0x5a85('0x1c')](_0x2ed121),_0x2ed121=_0x2ed121['nextSibling'];}return Array[_0x5a85('0x38')](_0x45b088);}(_0x174f52));});};}function _0x7f3a9c(_0x5aec66){return()=>{const _0x5b8ef6=_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x21')][_0x5a85('0x23')][_0x5a85('0xc')]()[_0x5a85('0x3b')]()['value'],_0x13d9b0=_0x3a0baa['model'][_0x5a85('0x9')](_0x5b8ef6,_0x5a85('0xa')),_0x26ca19=_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x9')](_0x5b8ef6,0x0),_0xfb6b5=_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x43')](_0x13d9b0,_0x26ca19);_0x3a0baa[_0x5a85('0x3d')]['change'](()=>{_0x156fb4['markBlockFormat'](_0xfb6b5,{'commandName':_0x5aec66,'commandParams':[],'formatGroupId':_0x5a85('0x1a')});});};}function _0x42d07c(_0x2af022){const _0x5c29a6=_0x3a0baa['commands'][_0x5a85('0x22')]('bulletedList')[_0x5a85('0x46')],_0x233ed3=_0x3a0baa['commands']['get'](_0x5a85('0x37'))[_0x5a85('0x46')];return'numberedList'===_0x2af022?_0x5c29a6:_0x233ed3;}_0x156fb4['enableCommand']('numberedList',_0x2508f3(_0x5a85('0x37'))),_0x156fb4['enableCommand'](_0x5a85('0x3c'),_0x2508f3('bulletedList')),_0x156fb4[_0x5a85('0x2c')](_0x5a85('0x20'),_0x10058e(_0x5a85('0x20'))),_0x156fb4[_0x5a85('0x2c')](_0x5a85('0x12'),_0x10058e(_0x5a85('0x12'))),_0x156fb4[_0x5a85('0x2c')]('splitListItemAfter',_0x7f3a9c(_0x5a85('0x49'))),_0x156fb4[_0x5a85('0x2c')]('splitListItemBefore',_0x7f3a9c(_0x5a85('0x2d'))),_0x156fb4['_descriptionFactory']['registerElementLabel'](function(_0x19c0e6){const _0x3167fe=!_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x47')]['isObject'](_0x19c0e6),_0x5bf5fc=_0x19c0e6['previousSibling'],_0x4ac45f=_0x19c0e6['nextSibling'],_0xa97aad=_0x19c0e6[_0x5a85('0x1e')]('listItemId'),_0x433a7d=!_0x5bf5fc||_0x5bf5fc['getAttribute'](_0x5a85('0x5'))!==_0xa97aad,_0x20a238=!_0x4ac45f||_0x4ac45f[_0x5a85('0x1e')]('listItemId')!==_0xa97aad;return _0x3167fe&&Boolean(_0xa97aad)&&_0x433a7d&&_0x20a238;},_0x193a1f=>_0x5088c2(_0x228749,'ELEMENT_LIST_ITEM',_0x193a1f)),_0x156fb4['_descriptionFactory'][_0x5a85('0x40')](function(_0x40e7ed){if(_0x5a85('0x16')!=_0x40e7ed[_0x5a85('0x36')]&&_0x5a85('0x2b')!=_0x40e7ed[_0x5a85('0x36')])return;const {data:_0x115ba9}=_0x40e7ed;if(!_0x115ba9)return;let _0x34ac34,_0x2ce43d,_0x555dd8,_0x5cc412;switch(_0x115ba9[_0x5a85('0x4a')]){case _0x5a85('0x3c'):_0x555dd8=_0x115ba9[_0x5a85('0x32')][0x0][_0x5a85('0x17')],_0x5cc412=_0x42d07c(_0x115ba9[_0x5a85('0x4a')]),_0x34ac34=_0x555dd8?_0x5a85('0x3a'):_0x5a85('0x31'),!_0x5cc412&&_0x3a0baa[_0x5a85('0x7')]['get']('list.multiBlock')||(_0x34ac34=_0x5a85('0x14')),_0x2ce43d={'type':_0x5a85('0x35'),'content':_0x5088c2(_0x228749,_0x34ac34,_0x5088c2(_0x228749,_0x5a85('0xb')))};break;case _0x5a85('0x37'):_0x555dd8=_0x115ba9[_0x5a85('0x32')][0x0]['forceValue'],_0x5cc412=_0x42d07c(_0x115ba9[_0x5a85('0x4a')]),_0x34ac34=_0x555dd8?_0x5a85('0x3a'):_0x5a85('0x31'),!_0x5cc412&&_0x3a0baa[_0x5a85('0x7')][_0x5a85('0x22')]('list.multiBlock')||(_0x34ac34='*Change\x20to:*\x20%0'),_0x2ce43d={'type':_0x5a85('0x35'),'content':_0x5088c2(_0x228749,_0x34ac34,_0x5088c2(_0x228749,_0x5a85('0x48')))};break;case _0x5a85('0x20'):_0x34ac34=_0x5a85('0x39'),_0x2ce43d={'type':_0x5a85('0x35'),'content':_0x5088c2(_0x228749,_0x34ac34,_0x5088c2(_0x228749,_0x5a85('0x3')))};break;case _0x5a85('0x12'):_0x34ac34=function(_0x2e5ec8){const _0x19309c=_0x2e5ec8[_0x5a85('0x27')]();let _0x11c9a6=_0x19309c[_0x5a85('0xe')]['nodeAfter'];for(;_0x11c9a6&&_0x19309c[_0x5a85('0x10')](_0x11c9a6);){if(_0x11c9a6[_0x5a85('0x1e')]('listIndent')>0x0)return!0x1;_0x11c9a6=_0x11c9a6['nextSibling'];}return!0x0;}(_0x40e7ed)?_0x5088c2(_0x228749,_0x5a85('0x31'),_0x5088c2(_0x228749,function(_0x3dd7a7){const _0x1fa9e8=_0x3dd7a7[_0x5a85('0x27')]()[_0x5a85('0xe')][_0x5a85('0x33')];return'ELEMENT_'+_0x1fa9e8['getAttribute'](_0x5a85('0x1a'))['toUpperCase']()+'_LIST';}(_0x40e7ed))):_0x5088c2(_0x228749,_0x5a85('0x29'),_0x5088c2(_0x228749,_0x5a85('0x3'))),_0x2ce43d={'type':'format','content':_0x34ac34};break;case _0x5a85('0x0'):case _0x5a85('0x19'):!0x1===_0x115ba9[_0x5a85('0xf')]&&(_0x34ac34=_0x5a85('0x24'),_0x2ce43d={'type':'deletion','content':_0x5088c2(_0x228749,_0x34ac34,_0x5088c2(_0x228749,_0x5a85('0x3')))});}return _0x2ce43d;}),_0x156fb4['_suggestionFactory'][_0x5a85('0x1f')](_0x5a85('0x16'),'documentList',_0x5a85('0x26'),function(_0x37477e,_0x162b86){const _0x7c41da=[];for(let _0x3e5fab of _0x37477e)_0x3e5fab[_0x5a85('0xe')][_0x5a85('0x33')]===_0x3e5fab[_0x5a85('0x3e')][_0x5a85('0x11')]&&(_0x3e5fab=_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x43')](_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x9')](_0x3e5fab[_0x5a85('0xe')]['nodeAfter'],0x0))),_0x7c41da[_0x5a85('0x34')](_0x3e5fab);_0x3a0baa[_0x5a85('0x3d')][_0x5a85('0x25')](_0x63048c=>{const _0x4dae43=_0x3a0baa[_0x5a85('0x3d')]['document'][_0x5a85('0x23')],_0x2bd847=Array[_0x5a85('0x38')](_0x4dae43[_0x5a85('0x8')]())[_0x5a85('0x15')](_0x1585c9=>_0x23eda0[_0x5a85('0x2a')](_0x1585c9));_0x63048c[_0x5a85('0x1')](_0x7c41da),_0x3a0baa['commands'][_0x5a85('0x22')](_0x162b86[_0x5a85('0x4a')])['refresh'](),_0x162b86[_0x5a85('0x32')][_0x5a85('0x34')]({'forceDefaultExecution':!0x0}),_0x3a0baa[_0x5a85('0x18')](_0x162b86[_0x5a85('0x4a')],..._0x162b86[_0x5a85('0x32')]),_0x63048c[_0x5a85('0x1')](_0x2bd847);for(const _0xbafb14 of _0x2bd847)_0xbafb14[_0x5a85('0x1b')]();});});}}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/documentlistproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import type { Description } from '../suggestiondescriptionfactory';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import type { Description } from '../suggestiondescriptionfactory.js';
|
|
10
|
+
import type Suggestion from '../suggestion.js';
|
|
11
11
|
/**
|
|
12
12
|
* Provides track changes plugin integration for document list properties feature.
|
|
13
13
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5af2=['commandParams','list.properties','listReversed','push','filter','DocumentListUtils','startIndex','ELEMENT_','handleDescriptions','reversed','from','_getSuggestionBlocks','getSelectedBlocks','plugins','listStyle','selection','length','listStart','document','_descriptionFactory','handleListStartCommand','DocumentListPropertiesUtils','*Format:*\x20set\x20start\x20index\x20to\x20%0','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20regular','markMultiRangeBlockFormat','_getTranslationKeyForListStyle','get','has','TrackChangesEditing','config','format','enableCommand','_getSuggestionBlocksForListStyle','handleListReversedCommand','formatInline','bind','numbered','expandListBlocksToCompleteList','*Change\x20to:*\x20%0','afterInit','editor','type','commandName','formatBlock','listType','model','toUpperCase','change'];(function(_0x27d77a,_0x5af27a){const _0x335687=function(_0x2a6e49){while(--_0x2a6e49){_0x27d77a['push'](_0x27d77a['shift']());}};_0x335687(++_0x5af27a);}(_0x5af2,0x10b));const _0x3356=function(_0x27d77a,_0x5af27a){_0x27d77a=_0x27d77a-0x0;let _0x335687=_0x5af2[_0x27d77a];return _0x335687;};import{Plugin as _0x4473c0}from'ckeditor5/src/core.js';import{getTranslation as _0x1253a8}from'../utils/common-translations.js';export default class z extends _0x4473c0{[_0x3356('0x12')](){if(!this[_0x3356('0x13')]['plugins'][_0x3356('0x6')]('DocumentListPropertiesEditing'))return;const _0x11674b=this[_0x3356('0x13')][_0x3356('0x8')][_0x3356('0x5')](_0x3356('0x1c')),_0x22181e=this['editor'][_0x3356('0x28')][_0x3356('0x5')](_0x3356('0x7'));_0x11674b['styles']&&_0x22181e[_0x3356('0xa')](_0x3356('0x29'),this['handleListStyleCommand']['bind'](this)),_0x11674b['reversed']&&_0x22181e[_0x3356('0xa')](_0x3356('0x1d'),this[_0x3356('0xc')][_0x3356('0xe')](this)),_0x11674b[_0x3356('0x21')]&&_0x22181e[_0x3356('0xa')](_0x3356('0x2c'),this[_0x3356('0x2f')]['bind'](this)),_0x22181e[_0x3356('0x2e')]['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}[_0x3356('0x1')](_0x2b32bf,_0x10ec15={}){const _0x203a94=this[_0x3356('0x13')][_0x3356('0x28')][_0x3356('0x5')](_0x3356('0x7')),_0x48cd97=this[_0x3356('0xb')]();this[_0x3356('0x13')][_0x3356('0x18')][_0x3356('0x1a')](()=>{_0x203a94[_0x3356('0x3')](_0x48cd97,{'commandName':_0x3356('0x29'),'commandParams':[{'type':_0x10ec15[_0x3356('0x14')]}],'formatGroupId':_0x3356('0x29')});});}[_0x3356('0xc')](_0x3a169e,_0x52bb53={}){const _0x8f2705=this['editor'][_0x3356('0x28')][_0x3356('0x5')](_0x3356('0x7')),_0x2c2186=this[_0x3356('0x13')]['plugins'][_0x3356('0x5')](_0x3356('0x20')),_0xeb246a=this['_getSuggestionBlocks'](_0x4070f6=>_0x2c2186['isListItemBlock'](_0x4070f6)&&'numbered'===_0x4070f6['getAttribute']('listType'));null!==_0xeb246a&&this['editor']['model'][_0x3356('0x1a')](()=>{_0x8f2705[_0x3356('0x3')](_0xeb246a,{'commandName':_0x3356('0x1d'),'commandParams':[{'reversed':_0x52bb53['reversed']}],'formatGroupId':_0x3356('0x1d')});});}[_0x3356('0x2f')](_0xbb6d4d,_0x37a26c={}){const _0x2fc75d=this['editor'][_0x3356('0x28')]['get'](_0x3356('0x7')),_0x3cfd37=this[_0x3356('0x13')][_0x3356('0x28')]['get']('DocumentListUtils'),_0x27f4cd=this[_0x3356('0x26')](_0x14236c=>_0x3cfd37['isListItemBlock'](_0x14236c)&&_0x3356('0xf')===_0x14236c['getAttribute'](_0x3356('0x17')));null!==_0x27f4cd&&this['editor']['model']['change'](()=>{_0x2fc75d[_0x3356('0x3')](_0x27f4cd,{'commandName':_0x3356('0x2c'),'commandParams':[{'startIndex':_0x37a26c[_0x3356('0x21')]}],'formatGroupId':_0x3356('0x2c')});});}[_0x3356('0x23')](_0x3bd39f){if(_0x3356('0x16')!=_0x3bd39f[_0x3356('0x14')]&&_0x3356('0xd')!=_0x3bd39f[_0x3356('0x14')])return;const _0x139a81=this['editor']['locale'],{data:_0x973bd6}=_0x3bd39f;if(!_0x973bd6)return;let _0x32b651,_0x5c1741;switch(_0x973bd6[_0x3356('0x15')]){case _0x3356('0x29'):_0x32b651=_0x3356('0x11'),_0x5c1741={'type':_0x3356('0x9'),'content':_0x1253a8(_0x139a81,_0x32b651,_0x1253a8(_0x139a81,this[_0x3356('0x4')](_0x973bd6[_0x3356('0x1b')][0x0]['type'])))};break;case _0x3356('0x1d'):_0x32b651=_0x973bd6[_0x3356('0x1b')][0x0][_0x3356('0x24')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3356('0x2'),_0x5c1741={'type':'format','content':_0x1253a8(_0x139a81,_0x32b651)};break;case _0x3356('0x2c'):_0x32b651=_0x3356('0x0'),_0x5c1741={'type':'format','content':_0x1253a8(_0x139a81,_0x32b651,_0x973bd6[_0x3356('0x1b')][0x0][_0x3356('0x21')])};}return _0x5c1741;}[_0x3356('0xb')](){const _0x2c1b35=this['editor'][_0x3356('0x28')]['get'](_0x3356('0x20'));let _0x1ecdae=Array[_0x3356('0x25')](this[_0x3356('0x13')][_0x3356('0x18')][_0x3356('0x2d')][_0x3356('0x2a')][_0x3356('0x27')]());return _0x1ecdae[_0x3356('0x1e')](..._0x2c1b35['expandListBlocksToCompleteList'](_0x1ecdae)),_0x1ecdae=[...new Set(_0x1ecdae)],_0x1ecdae;}['_getSuggestionBlocks'](_0x1d6c1a){const _0x29eace=this[_0x3356('0x13')][_0x3356('0x28')][_0x3356('0x5')](_0x3356('0x20'));let _0x30f510=Array['from'](this[_0x3356('0x13')][_0x3356('0x18')][_0x3356('0x2d')][_0x3356('0x2a')]['getSelectedBlocks']())[_0x3356('0x1f')](_0x1d6c1a);if(!_0x30f510[_0x3356('0x2b')])return null;_0x30f510=_0x29eace[_0x3356('0x10')](_0x30f510);const _0x10a868=[];for(const _0xb0e16c of _0x30f510)_0x29eace['isFirstBlockOfListItem'](_0xb0e16c)&&_0x10a868[_0x3356('0x1e')](_0xb0e16c);return _0x10a868;}[_0x3356('0x4')](_0x21d0fd){return _0x3356('0x22')+this['editor'][_0x3356('0x28')][_0x3356('0x5')](_0x3356('0x30'))['getListTypeFromListStyleType'](_0x21d0fd)['toUpperCase']()+'_LIST_'+_0x21d0fd[_0x3356('0x19')]()['replace'](/-/g,'_');}}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/entercommand
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Enter } from 'ckeditor5/src/enter';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Enter } from 'ckeditor5/src/enter.js';
|
|
10
10
|
/**
|
|
11
11
|
* Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
|
|
12
12
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46a3=['fire','afterExecute','high','split','get','enableCommand','addMarker:suggestion:insertion','selection','parent','enter','remove','editing','writer','requires','end','createRange','ck-suggestion-marker-split','downcastDispatcher','bind','editor','document','createPositionAt','unbindElementFromMarkerName','commands','TrackChangesEditing','model','removeMarker:suggestion:insertion','plugins','markInsertion','nextSibling','change','hasClass','showSuggestionHighlights','markerName','data','setSelection','getFirstPosition'];(function(_0x51da34,_0x46a351){const _0x1806af=function(_0x51dfd6){while(--_0x51dfd6){_0x51da34['push'](_0x51da34['shift']());}};_0x1806af(++_0x46a351);}(_0x46a3,0x1bc));const _0x1806=function(_0x51da34,_0x46a351){_0x51da34=_0x51da34-0x0;let _0x1806af=_0x46a3[_0x51da34];return _0x1806af;};import{Plugin as _0x1a5b25}from'ckeditor5/src/core.js';import{Enter as _0x2d0f31}from'ckeditor5/src/enter.js';import{LiveRange as _0x464637}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x15a731}from'./utils.js';export default class W extends _0x1a5b25{static get[_0x1806('0xd')](){return[_0x2d0f31];}['init'](){const _0x1c15c9=this[_0x1806('0x13')],_0x373a02=_0x1c15c9[_0x1806('0x1b')][_0x1806('0x4')](_0x1806('0x18')),_0x494a1f=_0x1c15c9[_0x1806('0x17')][_0x1806('0x4')](_0x1806('0x9'));_0x373a02[_0x1806('0x5')](_0x1806('0x9'),()=>{_0x1c15c9[_0x1806('0x19')][_0x1806('0x1e')](_0x41f227=>{const _0x394c64=_0x1c15c9[_0x1806('0x19')][_0x1806('0x14')][_0x1806('0x7')],_0x14ffca=_0x394c64[_0x1806('0x24')](),_0x252fd7=_0x464637['fromRange'](_0x394c64['getFirstRange']());if(_0x494a1f['enterBlock'](_0x41f227)){const _0x21f7e6=_0x1c15c9[_0x1806('0x19')][_0x1806('0x15')](_0x14ffca[_0x1806('0x8')][_0x1806('0x1d')],0x0),_0x587789=_0x41f227[_0x1806('0xf')](_0x14ffca,_0x21f7e6);_0x373a02[_0x1806('0x1c')](_0x587789);}else _0x41f227[_0x1806('0x23')](_0x41f227[_0x1806('0xf')](_0x252fd7[_0x1806('0xe')]));_0x252fd7['detach'](),_0x494a1f[_0x1806('0x0')](_0x1806('0x1'),{'writer':_0x41f227});});}),_0x1c15c9[_0x1806('0xb')][_0x1806('0x11')]['on'](_0x1806('0x6'),_0x15a731(_0x1c15c9,_0x1806('0x3')),{'priority':_0x1806('0x2')}),_0x1c15c9[_0x1806('0xb')][_0x1806('0x11')]['on'](_0x1806('0x1a'),(_0x18b027,_0x36a576,_0x571e16)=>{const _0xd5167c=_0x571e16['mapper']['markerNameToElements'](_0x36a576[_0x1806('0x21')]);if(_0xd5167c)for(const _0x118998 of _0xd5167c)_0x118998[_0x1806('0x1f')](_0x1806('0x10'))&&(_0x571e16['mapper'][_0x1806('0x16')](_0x118998,_0x36a576[_0x1806('0x21')]),_0x571e16[_0x1806('0xc')][_0x1806('0xa')](_0x118998));},{'priority':'high'}),_0x1c15c9[_0x1806('0x22')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x29535e,_0xdc4c05,_0x1f6076)=>{_0x1f6076['options'][_0x1806('0x20')]&&_0x15a731(_0x1c15c9,'split',{'showActiveMarker':!0x1})[_0x1806('0x12')](this)(_0x29535e,_0xdc4c05,_0x1f6076);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dab=['filter','findByTextCallback','findNext','replace','bind','_isInDeletionRange','model','createPositionAt','createRange','start','find','string','afterInit','enableCommand','plugins','markers','end','get','TrackChangesEditing','FindAndReplaceUtils','getIntersection','editor','FindAndReplaceEditing','findPrevious'];(function(_0x42ac72,_0x5dab6e){const _0x372eb9=function(_0x1ff846){while(--_0x1ff846){_0x42ac72['push'](_0x42ac72['shift']());}};_0x372eb9(++_0x5dab6e);}(_0x5dab,0x17c));const _0x372e=function(_0x42ac72,_0x5dab6e){_0x42ac72=_0x42ac72-0x0;let _0x372eb9=_0x5dab[_0x42ac72];return _0x372eb9;};import{Plugin as _0x10560e}from'ckeditor5/src/core.js';export default class J extends _0x10560e{[_0x372e('0x10')](){if(!this[_0x372e('0x1')][_0x372e('0x12')]['has'](_0x372e('0x2')))return;const _0x202fcb=this[_0x372e('0x1')]['plugins'][_0x372e('0x15')](_0x372e('0x16'));_0x202fcb[_0x372e('0x11')](_0x372e('0xe'),this['handleFindCommand'][_0x372e('0x8')](this)),_0x202fcb['enableCommand'](_0x372e('0x6')),_0x202fcb[_0x372e('0x11')](_0x372e('0x3')),_0x202fcb[_0x372e('0x11')](_0x372e('0x7')),_0x202fcb['enableCommand']('replaceAll');}['handleFindCommand'](_0x539f4b,_0x362c88,_0x587c95={}){const _0x46357c=this[_0x372e('0x1')][_0x372e('0x12')][_0x372e('0x15')](_0x372e('0x17'));return _0x539f4b(_0x2c2723=>(_0x372e('0xf')==typeof _0x362c88?_0x46357c[_0x372e('0x5')](_0x362c88,_0x587c95):_0x362c88)(_0x2c2723)[_0x372e('0x4')](_0x2d2de5=>!0x1===this[_0x372e('0x9')](_0x2d2de5,_0x2c2723['item'])),_0x587c95);}['_isInDeletionRange'](_0x5a45f4,_0x23f914){const _0x1f7d47=this['editor'][_0x372e('0xa')][_0x372e('0xc')](this[_0x372e('0x1')][_0x372e('0xa')][_0x372e('0xb')](_0x23f914,_0x5a45f4[_0x372e('0xd')]),this[_0x372e('0x1')][_0x372e('0xa')][_0x372e('0xb')](_0x23f914,_0x5a45f4[_0x372e('0x14')]));for(const _0x44037d of this[_0x372e('0x1')][_0x372e('0xa')][_0x372e('0x13')]['getMarkersGroup']('suggestion:deletion'))if(null!==_0x1f7d47[_0x372e('0x0')](_0x44037d['getRange']()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5176=['title','fontSize.options','format','has','registerDescriptionCallback','label','editor','_enableDefaultAttributesIntegration','normalizeSizeOptions','*Reset\x20font\x20size*','find','*Set\x20font\x20size:*\x20%0','plugins','_registerLegacyDescription','toLowerCase','get','model','type','*Reset\x20font\x20family*','commandParams','value','fontColor.colors','locale','registerAttributeLabel','_descriptionFactory','commandName','FontBackgroundColorEditing','FORMAT_FONT_FAMILY','trim','*Set\x20font\x20family:*\x20%0','FontColorEditing','config','*Reset\x20font\x20color*','FontSizeEditing','afterInit','formatInline','FontFamilyEditing','fontBackgroundColor','fontSize','FORMAT_FONT_COLOR','fontColor','FontSize','FORMAT_FONT_BACKGROUND','fontFamily'];(function(_0x2bf285,_0x517696){const _0x44476d=function(_0xa14ae6){while(--_0xa14ae6){_0x2bf285['push'](_0x2bf285['shift']());}};_0x44476d(++_0x517696);}(_0x5176,0x11c));const _0x4447=function(_0x2bf285,_0x517696){_0x2bf285=_0x2bf285-0x0;let _0x44476d=_0x5176[_0x2bf285];return _0x44476d;};import{Plugin as _0x3953da}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x5cb1a3}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d4e1a}from'../utils/common-translations.js';const ro=[{'pluginName':_0x4447('0xd'),'commandName':'fontSize'},{'pluginName':_0x4447('0x10'),'commandName':_0x4447('0x17')},{'pluginName':_0x4447('0xa'),'commandName':_0x4447('0x14')},{'pluginName':_0x4447('0x6'),'commandName':_0x4447('0x11')}];export default class K extends _0x3953da{[_0x4447('0xe')](){const _0x15ae58=this[_0x4447('0x1e')][_0x4447('0x2')],_0x2fa16b=this[_0x4447('0x1e')][_0x4447('0x24')][_0x4447('0x27')]('TrackChangesEditing');for(const {pluginName:_0x2d33cf,commandName:_0x766900}of ro)this[_0x4447('0x1e')]['plugins'][_0x4447('0x1b')](_0x2d33cf)&&_0x2fa16b[_0x4447('0x1f')](_0x766900,[_0x766900]);_0x15ae58['t'],(_0x2fa16b[_0x4447('0x4')][_0x4447('0x3')](_0x4447('0x12'),_0x5d4e1a(_0x15ae58,'FORMAT_FONT_SIZE')),_0x2fa16b[_0x4447('0x4')]['registerAttributeLabel'](_0x4447('0x17'),_0x5d4e1a(_0x15ae58,_0x4447('0x7'))),_0x2fa16b['_descriptionFactory'][_0x4447('0x3')](_0x4447('0x14'),_0x5d4e1a(_0x15ae58,_0x4447('0x13'))),_0x2fa16b['_descriptionFactory'][_0x4447('0x3')]('fontBackgroundColor',_0x5d4e1a(_0x15ae58,_0x4447('0x16'))),this[_0x4447('0x25')]());}['_registerLegacyDescription'](){const _0x5c8ada=this[_0x4447('0x1e')],_0x53ca7c=_0x5c8ada['locale'];_0x5c8ada[_0x4447('0x24')][_0x4447('0x27')]('TrackChangesEditing')[_0x4447('0x4')][_0x4447('0x1c')](_0x120550=>{const _0x4dcb5f=_0x53ca7c['t'];if(_0x4447('0xf')!=_0x120550[_0x4447('0x29')])return;const {data:_0x27eeeb}=_0x120550;if(null!=_0x27eeeb){if(_0x4447('0x12')==_0x27eeeb[_0x4447('0x5')]){const _0x21ab3d=_0x27eeeb[_0x4447('0x2b')][0x0][_0x4447('0x0')];if(_0x21ab3d){const _0x4dd979=_0x4dcb5f(this[_0x4447('0x1e')][_0x4447('0x24')][_0x4447('0x27')](_0x4447('0x15'))[_0x4447('0x20')](this[_0x4447('0x1e')]['config'][_0x4447('0x27')](_0x4447('0x19')))[_0x4447('0x22')](_0x27eac3=>_0x27eac3[_0x4447('0x28')]==_0x21ab3d)[_0x4447('0x18')])[_0x4447('0x26')]();return{'type':_0x4447('0x1a'),'content':_0x5d4e1a(_0x53ca7c,_0x4447('0x23'),_0x4dd979)};}return{'type':_0x4447('0x1a'),'content':_0x5d4e1a(_0x53ca7c,_0x4447('0x21'))};}if(_0x4447('0x17')==_0x27eeeb[_0x4447('0x5')]){const _0x51c8c3=_0x27eeeb['commandParams'][0x0][_0x4447('0x0')];return _0x51c8c3?{'type':_0x4447('0x1a'),'content':_0x5d4e1a(_0x53ca7c,_0x4447('0x9'),_0x51c8c3)}:{'type':_0x4447('0x1a'),'content':_0x5d4e1a(_0x53ca7c,_0x4447('0x2a'))};}if(_0x4447('0x14')==_0x27eeeb[_0x4447('0x5')]){const _0x55e7e7=_0x27eeeb[_0x4447('0x2b')][0x0]['value'];if(_0x55e7e7){const _0x5b3833=_0x5cb1a3(this[_0x4447('0x1e')][_0x4447('0xb')][_0x4447('0x27')](_0x4447('0x1')))['find'](_0x414ecb=>_0x414ecb['model']==_0x55e7e7);let _0x2d338d=_0x55e7e7,_0x2990f4='';return _0x5b3833&&(_0x2d338d=_0x5b3833[_0x4447('0x1d')],_0x2990f4=_0x4dcb5f(_0x2d338d)[_0x4447('0x26')]()),{'type':'format','content':_0x5d4e1a(_0x53ca7c,'*Set\x20font\x20color:*\x20%0',_0x2990f4)[_0x4447('0x8')](),'color':{'value':_0x55e7e7,'title':_0x2990f4||_0x2d338d}};}return{'type':'format','content':_0x5d4e1a(_0x53ca7c,_0x4447('0xc'))};}if(_0x4447('0x11')==_0x27eeeb[_0x4447('0x5')]){const _0x55a34d=_0x27eeeb[_0x4447('0x2b')][0x0]['value'];if(_0x55a34d){const _0x2c1b09=_0x5cb1a3(this[_0x4447('0x1e')][_0x4447('0xb')][_0x4447('0x27')]('fontBackgroundColor.colors'))[_0x4447('0x22')](_0x59a78b=>_0x59a78b['model']==_0x55a34d);let _0x23d7a0=_0x55a34d,_0x52b21b='';return _0x2c1b09&&(_0x23d7a0=_0x2c1b09[_0x4447('0x1d')],_0x52b21b=_0x4dcb5f(_0x23d7a0)['toLowerCase']()),{'type':_0x4447('0x1a'),'content':_0x5d4e1a(_0x53ca7c,'*Set\x20font\x20background\x20color:*\x20%0',_0x52b21b)[_0x4447('0x8')](),'color':{'value':_0x55a34d,'title':_0x52b21b||_0x23d7a0}};}return{'type':'format','content':_0x5d4e1a(_0x53ca7c,'*Reset\x20font\x20background\x20color*')};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12d3=['fontSize.options','_descriptionFactory','join','boolean','*Remove\x20all\x20formatting*','normalizeSizeOptions','formatInline','toLowerCase','formatBlock','TrackChangesEditing','fontColor','charAt','afterInit','commandParams','type','pasteFormat','_registerLegacyDescription','fontBackgroundColor','_enableDefaultAttributesIntegration','split','FontSize','slice','copyFormat','commands','registerDescriptionCallback','enableCommand','plugins','get','fontSize','fontColor.colors','commandName','model','config','push','locale','format','editor','title','find'];(function(_0x2dfa05,_0x12d3bc){const _0x56b998=function(_0x2460e5){while(--_0x2460e5){_0x2dfa05['push'](_0x2dfa05['shift']());}};_0x56b998(++_0x12d3bc);}(_0x12d3,0x125));const _0x56b9=function(_0x2dfa05,_0x12d3bc){_0x2dfa05=_0x2dfa05-0x0;let _0x56b998=_0x12d3[_0x2dfa05];return _0x56b998;};import{Plugin as _0x16c18b}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x270a57}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b8f78}from'../utils/common-translations.js';export default class Q extends _0x16c18b{[_0x56b9('0x1f')](){const _0x2714c3=this[_0x56b9('0x10')],_0x58ba9a=_0x2714c3[_0x56b9('0x6')][_0x56b9('0x7')](_0x56b9('0x1c')),_0x4184ee=_0x2714c3[_0x56b9('0x3')]['get'](_0x56b9('0x2')),_0x13bf18=_0x2714c3[_0x56b9('0x3')][_0x56b9('0x7')](_0x56b9('0x22'));_0x4184ee&&_0x13bf18&&(_0x58ba9a[_0x56b9('0x25')](_0x56b9('0x22')),_0x58ba9a[_0x56b9('0x5')](_0x56b9('0x2')),this['_registerLegacyDescription']());}[_0x56b9('0x23')](){const _0x1bcbf5=this['editor'],_0x4738bf=_0x1bcbf5['locale'];_0x1bcbf5[_0x56b9('0x6')][_0x56b9('0x7')](_0x56b9('0x1c'))[_0x56b9('0x14')][_0x56b9('0x4')](_0x35e57a=>{if(_0x56b9('0x1b')!=_0x35e57a[_0x56b9('0x21')]&&_0x56b9('0x19')!=_0x35e57a[_0x56b9('0x21')])return;const {data:_0x1b768a}=_0x35e57a;if(_0x1b768a&&'pasteFormat'===_0x1b768a[_0x56b9('0xa')]){const _0x2ad4b9=[],_0x3f7adc=_0x1b768a[_0x56b9('0x20')][0x0];for(const [_0x3390ef,_0x5d9e3b]of Object['entries'](_0x3f7adc))_0x2ad4b9[_0x56b9('0xd')](so(_0x1bcbf5,_0x3390ef,_0x5d9e3b));return _0x2ad4b9['length']?{'type':_0x56b9('0xf'),'content':_0x5b8f78(_0x4738bf,'*Set\x20format\x20to:*\x20%0',_0x2ad4b9[_0x56b9('0x15')](',\x20'))}:{'type':_0x56b9('0xf'),'content':_0x5b8f78(_0x4738bf,_0x56b9('0x17'))};}});}}function so(_0x133ca6,_0xd637c2,_0x45b819){const _0x5b0ee8=_0x133ca6[_0x56b9('0xe')]['t'],_0x4665fa=_0xd637c2[_0x56b9('0x26')](/(?=[A-Z])/)[_0x56b9('0x15')]('\x20'),_0x40beba=_0x5b0ee8(_0x4665fa[_0x56b9('0x1e')](0x0)['toUpperCase']()+_0x4665fa[_0x56b9('0x1')](0x1))['toLowerCase']();if(_0x56b9('0x16')==typeof _0x45b819)return _0x40beba;if(_0x56b9('0x1d')===_0xd637c2||_0x56b9('0x24')===_0xd637c2){const _0x3c1985=_0x270a57(_0x133ca6[_0x56b9('0xc')]['get'](_0x56b9('0x9')))[_0x56b9('0x12')](_0x321314=>_0x321314[_0x56b9('0xb')]==_0x45b819);return _0x40beba+'\x20('+(_0x3c1985?_0x5b0ee8(_0x3c1985['label'])[_0x56b9('0x1a')]():_0x45b819)+')';}if(_0x56b9('0x8')===_0xd637c2&&isNaN(parseFloat(_0x45b819))){const _0x14ed7a=_0x133ca6['plugins'][_0x56b9('0x7')](_0x56b9('0x0'))[_0x56b9('0x18')](_0x133ca6[_0x56b9('0xc')][_0x56b9('0x7')](_0x56b9('0x13')))[_0x56b9('0x12')](_0x5193a1=>_0x5193a1[_0x56b9('0xb')]==_0x45b819);return _0x40beba+'\x20('+(_0x14ed7a?_0x5b0ee8(_0x14ed7a[_0x56b9('0x11')])['toLowerCase']():_0x45b819)+')';}return _0x40beba+'\x20('+_0x45b819+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f40=['formatBlock','registerElementLabel','match','commandName','_registerLegacyDescription','heading.options','model','value','_getHeadingLevel','view','ELEMENT_HEADING_CUSTOM','HeadingEditing','locale','commandParams','_headingOptions','*Change\x20to:*\x20%0','title','type','_descriptionFactory','afterInit','TrackChangesEditing','editor','find','ELEMENT_HEADING','plugins','get'];(function(_0x43f272,_0x3f405b){const _0x4924ba=function(_0x16ad63){while(--_0x16ad63){_0x43f272['push'](_0x43f272['shift']());}};_0x4924ba(++_0x3f405b);}(_0x3f40,0x181));const _0x4924=function(_0x43f272,_0x3f405b){_0x43f272=_0x43f272-0x0;let _0x4924ba=_0x3f40[_0x43f272];return _0x4924ba;};import{Plugin as _0x495fdb}from'ckeditor5/src/core.js';import{getTranslation as _0x2f0bdf}from'../utils/common-translations.js';export default class X extends _0x495fdb{[_0x4924('0x18')](){const _0x2eff0c=this[_0x4924('0x0')];if(!_0x2eff0c[_0x4924('0x3')]['has'](_0x4924('0x10')))return;this['_headingOptions']=_0x2eff0c['config']['get'](_0x4924('0xa'));const _0x1326d0=_0x2eff0c[_0x4924('0x11')],_0x5ea2ca=_0x2eff0c[_0x4924('0x3')]['get']('TrackChangesEditing');_0x5ea2ca['_enableDefaultAttributesIntegration']('heading');for(const _0x2063f2 of this[_0x4924('0x13')])'paragraph'!=_0x2063f2[_0x4924('0xb')]&&_0x5ea2ca['_descriptionFactory'][_0x4924('0x6')](_0x2063f2['model'],_0x2e6ac6=>{const _0x31969c=this[_0x4924('0xd')](_0x2063f2[_0x4924('0xb')]);return null!==_0x31969c?_0x1f3ba5(_0x2e6ac6,_0x31969c):_0x1004b1(_0x2e6ac6,_0x2063f2[_0x4924('0x15')]);});function _0x1f3ba5(_0x45feac,_0x1dad2b){return _0x2f0bdf(_0x1326d0,'ELEMENT_HEADING',[_0x45feac,_0x1dad2b]);}function _0x1004b1(_0x5bf60d,_0x172269){return _0x2f0bdf(_0x1326d0,_0x4924('0xf'),[_0x5bf60d,_0x172269]);}this[_0x4924('0x9')]();}[_0x4924('0x9')](){const _0x4d3c78=this[_0x4924('0x0')],_0x22b8e2=_0x4d3c78[_0x4924('0x11')];function _0x425365(_0xbd4b5,_0x42f107){return _0x2f0bdf(_0x22b8e2,'ELEMENT_HEADING_CUSTOM',[_0xbd4b5,_0x42f107]);}_0x4d3c78[_0x4924('0x3')][_0x4924('0x4')](_0x4924('0x19'))[_0x4924('0x17')]['registerDescriptionCallback'](_0x12b74e=>{if(_0x4924('0x5')!=_0x12b74e[_0x4924('0x16')])return;const {data:_0x1d882e}=_0x12b74e;if(_0x1d882e&&'heading'==_0x1d882e[_0x4924('0x8')]){const _0x51031d=_0x1d882e[_0x4924('0x12')][0x0][_0x4924('0xc')],_0x279617=this['_getHeadingLevel'](_0x51031d);if(null!==_0x279617)return{'type':'format','content':_0x2f0bdf(_0x22b8e2,_0x4924('0x14'),(_0x124cc6=0x1,_0x4daf61=_0x279617,_0x2f0bdf(_0x22b8e2,_0x4924('0x2'),[_0x124cc6,_0x4daf61])))};const _0xe8096e=this['_headingOptions'][_0x4924('0x1')](_0x5df13f=>_0x5df13f[_0x4924('0xb')]===_0x51031d)['title'];return{'type':'format','content':_0x2f0bdf(_0x22b8e2,_0x4924('0x14'),_0x425365(0x1,_0xe8096e))};}var _0x124cc6,_0x4daf61;});}[_0x4924('0xd')](_0x41a9e3){var _0xab10b0,_0x49ade7;const _0x411357=_0x41a9e3[_0x4924('0x7')](/^heading(\d+)/);if(_0x411357)return _0x411357[0x1];const _0x11ff37=null===(_0xab10b0=this[_0x4924('0x13')])||void 0x0===_0xab10b0?void 0x0:_0xab10b0[_0x4924('0x1')](_0x1f3a8d=>_0x1f3a8d[_0x4924('0xb')]==_0x41a9e3);if(_0x11ff37&&_0x11ff37[_0x4924('0xe')]){const _0xa64739=_0x11ff37['view'],_0x12559a=(null!==(_0x49ade7=_0xa64739['name'])&&void 0x0!==_0x49ade7?_0x49ade7:_0xa64739)[_0x4924('0x7')](/^h(\d+)/);if(_0x12559a)return _0x12559a[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c0a=['registerDescriptionCallback','toLowerCase','*Set\x20highlight:*\x20%0','value','*Remove\x20highlight*','_descriptionFactory','find','formatInline','has','highlight.options','_registerLegacyDescription','TrackChangesEditing','FORMAT_HIGHLIGHT','format','model','get','type','editor','registerAttributeLabel','color','locale','HighlightEditing','commandParams','title','config','plugins','highlight'];(function(_0x3d3698,_0x2c0ad5){const _0x1bb630=function(_0x451cd9){while(--_0x451cd9){_0x3d3698['push'](_0x3d3698['shift']());}};_0x1bb630(++_0x2c0ad5);}(_0x2c0a,0x165));const _0x1bb6=function(_0x3d3698,_0x2c0ad5){_0x3d3698=_0x3d3698-0x0;let _0x1bb630=_0x2c0a[_0x3d3698];return _0x1bb630;};import{Plugin as _0x15e43c}from'ckeditor5/src/core.js';import{getTranslation as _0x275c18}from'../utils/common-translations.js';export default class Y extends _0x15e43c{['afterInit'](){const _0x1d2dc8=this[_0x1bb6('0xb')];if(!_0x1d2dc8[_0x1bb6('0x13')][_0x1bb6('0x2')](_0x1bb6('0xf')))return;const _0x1ec5b6=_0x1d2dc8[_0x1bb6('0x13')]['get'](_0x1bb6('0x5')),_0x4eda47=_0x1d2dc8['locale'];_0x1ec5b6['_enableDefaultAttributesIntegration']('highlight',[_0x1bb6('0x14')]),_0x1ec5b6[_0x1bb6('0x1a')][_0x1bb6('0xc')](_0x1bb6('0x14'),_0x275c18(_0x4eda47,_0x1bb6('0x6'))),this[_0x1bb6('0x4')]();}['_registerLegacyDescription'](){const _0x2e458b=this[_0x1bb6('0xb')],_0x52612d=_0x2e458b[_0x1bb6('0xe')];_0x2e458b[_0x1bb6('0x13')][_0x1bb6('0x9')](_0x1bb6('0x5'))[_0x1bb6('0x1a')][_0x1bb6('0x15')](_0xc47c82=>{if(_0x1bb6('0x1')!=_0xc47c82[_0x1bb6('0xa')])return;const {data:_0x209a0c}=_0xc47c82;if(_0x209a0c&&_0x1bb6('0x14')==_0x209a0c['commandName']){const _0xf10a85=_0x52612d['t'],_0x55317b=_0x209a0c[_0x1bb6('0x10')][0x0][_0x1bb6('0x18')];if(_0x55317b){const _0x1ec2d8=_0x2e458b[_0x1bb6('0x12')][_0x1bb6('0x9')](_0x1bb6('0x3'))[_0x1bb6('0x0')](_0x493ca5=>_0x493ca5[_0x1bb6('0x8')]==_0x55317b),_0xdee3c7=_0xf10a85(_0x1ec2d8['title'])[_0x1bb6('0x16')]();return{'type':_0x1bb6('0x7'),'content':_0x275c18(_0x52612d,_0x1bb6('0x17'),_0xdee3c7),'color':{'value':_0x1ec2d8[_0x1bb6('0xd')],'title':_0x1ec2d8[_0x1bb6('0x11')]}};}return{'type':_0x1bb6('0x7'),'content':_0x275c18(_0x52612d,_0x1bb6('0x19'),_0x275c18(_0x52612d,_0x1bb6('0x6')))};}});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/horizontalline
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
|
|
11
11
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2eef=['locale','insert','plugins','createContainerElement','high','TrackChangesEditing','HorizontalLineEditing','ck-horizontal-line','createEmptyElement','horizontalLine','registerElementLabel','editor','get','addClass','div','showSuggestionHighlights','conversion','dataDowncast','_descriptionFactory'];(function(_0x2ad644,_0x2eefb2){const _0x45a90d=function(_0x10da9d){while(--_0x10da9d){_0x2ad644['push'](_0x2ad644['shift']());}};_0x45a90d(++_0x2eefb2);}(_0x2eef,0x118));const _0x45a9=function(_0x2ad644,_0x2eefb2){_0x2ad644=_0x2ad644-0x0;let _0x45a90d=_0x2eef[_0x2ad644];return _0x45a90d;};import{Plugin as _0x5aeaf3}from'ckeditor5/src/core.js';import{getTranslation as _0x41d1a0}from'../utils/common-translations.js';export default class Z extends _0x5aeaf3{['afterInit'](){const _0x356ed7=this[_0x45a9('0x10')];if(!_0x356ed7[_0x45a9('0x7')]['has'](_0x45a9('0xb')))return;_0x356ed7[_0x45a9('0x7')][_0x45a9('0x11')](_0x45a9('0xa'))['enableCommand']('horizontalLine');const _0xc5b0bf=_0x356ed7[_0x45a9('0x7')]['get']('TrackChangesEditing'),_0x42bd1f=_0x356ed7[_0x45a9('0x5')];_0xc5b0bf[_0x45a9('0x4')][_0x45a9('0xf')](_0x45a9('0xe'),_0x4eecbb=>_0x41d1a0(_0x42bd1f,'ELEMENT_HORIZONTAL_LINE',_0x4eecbb)),_0x356ed7[_0x45a9('0x2')]['for'](_0x45a9('0x3'))['elementToStructure']({'model':'horizontalLine','view':(_0x50932f,{writer:_0x4fe9c6,options:_0x430bf7})=>{if(!_0x430bf7[_0x45a9('0x1')])return null;const _0x1315f2=_0x4fe9c6[_0x45a9('0x8')](_0x45a9('0x0')),_0x47ff93=_0x4fe9c6[_0x45a9('0xd')]('hr');return _0x4fe9c6[_0x45a9('0x12')](_0x45a9('0xc'),_0x1315f2),_0x4fe9c6[_0x45a9('0x6')](_0x4fe9c6['createPositionAt'](_0x1315f2,0x0),_0x47ff93),_0x1315f2;},'converterPriority':_0x45a9('0x9')});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/htmlembed
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
|
|
11
11
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3013=['element','_registerLegacyDescription','HtmlEmbed','key','ELEMENT_HTML_EMBED','editor','get','*Change\x20%0\x20content*','attribute','value','type','plugins','formatBlock','has','TrackChangesEditing','htmlEmbed','format','commandName','_descriptionFactory','locale','registerDescriptionCallback','start'];(function(_0x4a0143,_0x30134b){const _0x3c0717=function(_0x466922){while(--_0x466922){_0x4a0143['push'](_0x4a0143['shift']());}};_0x3c0717(++_0x30134b);}(_0x3013,0x19b));const _0x3c07=function(_0x4a0143,_0x30134b){_0x4a0143=_0x4a0143-0x0;let _0x3c0717=_0x3013[_0x4a0143];return _0x3c0717;};import{Plugin as _0x1ba9aa}from'ckeditor5/src/core.js';import{getTranslation as _0x58b2ff}from'../utils/common-translations.js';export default class tt extends _0x1ba9aa{['afterInit'](){const _0x2e179e=this[_0x3c07('0xc')];if(!_0x2e179e['plugins'][_0x3c07('0x14')](_0x3c07('0x9')))return;const _0x18c0cc=_0x2e179e['plugins']['get'](_0x3c07('0x15')),_0x4f90fc=_0x2e179e['locale'];_0x18c0cc[_0x3c07('0x3')]['registerElementLabel']('rawHtml',_0x360d8f=>_0x58b2ff(_0x4f90fc,_0x3c07('0xb'),_0x360d8f)),_0x18c0cc['_enableDefaultAttributesIntegration']('htmlEmbed',[],[_0x3c07('0x10')]),_0x18c0cc['_descriptionFactory'][_0x3c07('0x5')](_0x561b3f=>{if(_0x3c07('0xf')!=_0x561b3f['type'])return;const {data:_0x3450ce}=_0x561b3f;if(_0x3450ce&&_0x3c07('0x10')==_0x3450ce[_0x3c07('0xa')]&&_0x561b3f['getFirstRange']()[_0x3c07('0x6')]['nodeAfter']['is'](_0x3c07('0x7'),'rawHtml')){const _0x507e0f=_0x58b2ff(_0x4f90fc,_0x3c07('0xb'));return{'type':'format','content':_0x58b2ff(_0x4f90fc,_0x3c07('0xe'),_0x507e0f)};}}),this['_registerLegacyDescription']();}[_0x3c07('0x8')](){const _0x1d39a9=this[_0x3c07('0xc')],_0x5ab31f=_0x1d39a9[_0x3c07('0x4')];_0x1d39a9[_0x3c07('0x12')][_0x3c07('0xd')](_0x3c07('0x15'))['_descriptionFactory']['registerDescriptionCallback'](_0x560c26=>{if(_0x3c07('0x13')!=_0x560c26[_0x3c07('0x11')])return;const {data:_0x412d1e}=_0x560c26;if(_0x412d1e&&_0x3c07('0x0')==_0x412d1e[_0x3c07('0x2')]){const _0x3125b6=_0x58b2ff(_0x5ab31f,_0x3c07('0xb'));return{'type':_0x3c07('0x1'),'content':_0x58b2ff(_0x5ab31f,'*Change\x20%0\x20content*',_0x3125b6)};}});}}
|