@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240117.0 → 0.0.0-nightly-20240119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.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/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/imagestyle.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/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.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-20240119.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20240119.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240119.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fc2=['refresh','TrackChangesEditing','_isEnabledBasedOnSelection','plugins','isEnabled','execute','model','track-changes-accept-suggestion-not-found','editor','getRanges','get','_suggestions'];(function(_0x3efe2f,_0x3fc2f7){const _0x1df708=function(_0x3e5018){while(--_0x3e5018){_0x3efe2f['push'](_0x3efe2f['shift']());}};_0x1df708(++_0x3fc2f7);}(_0x3fc2,0x16c));const _0x1df7=function(_0x3efe2f,_0x3fc2f7){_0x3efe2f=_0x3efe2f-0x0;let _0x1df708=_0x3fc2[_0x3efe2f];return _0x1df708;};import{Command as _0x213502}from'ckeditor5/src/core.js';import{CKEditorError as _0x4388a4}from'ckeditor5/src/utils.js';export default class $ extends _0x213502{constructor(_0x4f9af2,_0x142b32){super(_0x4f9af2),this[_0x1df7('0x7')]=_0x142b32,this[_0x1df7('0x8')](),this[_0x1df7('0xa')]=!0x1;}[_0x1df7('0x8')](){this[_0x1df7('0x0')]=!0x0;}[_0x1df7('0x1')](_0x5a0209){const _0x57598c=this[_0x1df7('0x7')]['get'](_0x5a0209);if(!_0x57598c)throw new _0x4388a4(_0x1df7('0x3'),this);const _0x50924d=_0x57598c[_0x1df7('0x5')]();this[_0x1df7('0x4')][_0x1df7('0x2')]['canEditAt'](_0x50924d)&&this['editor'][_0x1df7('0xb')][_0x1df7('0x6')](_0x1df7('0x9'))['acceptSuggestion'](_0x57598c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf25f=['_suggestions','discardSuggestion','_isEnabledBasedOnSelection','editor','model','canEditAt','getRanges','refresh','execute','get','TrackChangesEditing','plugins'];(function(_0xebc047,_0xf25f79){const _0x55a716=function(_0x49758e){while(--_0x49758e){_0xebc047['push'](_0xebc047['shift']());}};_0x55a716(++_0xf25f79);}(_0xf25f,0xa1));const _0x55a7=function(_0xebc047,_0xf25f79){_0xebc047=_0xebc047-0x0;let _0x55a716=_0xf25f[_0xebc047];return _0x55a716;};import{Command as _0x53cb4a}from'ckeditor5/src/core.js';import{CKEditorError as _0x54e394}from'ckeditor5/src/utils.js';export default class B extends _0x53cb4a{constructor(_0x8e425b,_0x546018){super(_0x8e425b),this[_0x55a7('0x7')]=_0x546018,this[_0x55a7('0x2')](),this[_0x55a7('0x9')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x55a7('0x3')](_0x2b04f){const _0x48a603=this[_0x55a7('0x7')]['get'](_0x2b04f);if(!_0x48a603)throw new _0x54e394('track-changes-discard-suggestion-not-found',this);const _0x223f45=_0x48a603[_0x55a7('0x1')]();this['editor'][_0x55a7('0xb')][_0x55a7('0x0')](_0x223f45)&&this[_0x55a7('0xa')][_0x55a7('0x6')][_0x55a7('0x4')](_0x55a7('0x5'))[_0x55a7('0x8')](_0x48a603);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bde=['model','editor','from','some','_isEnabledBasedOnSelection','canEditAt','_suggestions','isInContent','values','refresh','_command','isEnabled'];(function(_0x1c98d8,_0x2bde7b){const _0x3b581f=function(_0x20c396){while(--_0x20c396){_0x1c98d8['push'](_0x1c98d8['shift']());}};_0x3b581f(++_0x2bde7b);}(_0x2bde,0x6b));const _0x3b58=function(_0x1c98d8,_0x2bde7b){_0x1c98d8=_0x1c98d8-0x0;let _0x3b581f=_0x2bde[_0x1c98d8];return _0x3b581f;};import{Command as _0x357f3b}from'ckeditor5/src/core.js';import{sortSuggestions as _0x4ea4e3,executeCommandForSuggestions as _0x5ccd49}from'../utils/utils.js';export default class x extends _0x357f3b{constructor(_0x1ecf43,_0x3da6cc,_0x96952c){super(_0x1ecf43),this['_command']=_0x3da6cc,this[_0x3b58('0x7')]=_0x96952c,this['refresh'](),this[_0x3b58('0x5')]=!0x1;}[_0x3b58('0xa')](){const _0x1ef295=Array[_0x3b58('0x3')](this[_0x3b58('0x7')][_0x3b58('0x9')]())[_0x3b58('0x4')](_0x11958e=>_0x11958e[_0x3b58('0x8')]);this['isEnabled']=this[_0x3b58('0xb')][_0x3b58('0x0')]&&_0x1ef295;}['execute'](){const _0x4a044b=_0x4ea4e3(Array['from'](this[_0x3b58('0x7')][_0x3b58('0x9')]()));for(const _0x3a9b09 of _0x4a044b){const _0xd88428=_0x3a9b09['getRanges']();if(!this[_0x3b58('0x2')][_0x3b58('0x1')][_0x3b58('0x6')](_0xd88428))return;}_0x5ccd49(this[_0x3b58('0x2')][_0x3b58('0x1')],this[_0x3b58('0xb')],_0x4a044b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3682=['model','values','_selectedSuggestions','_isEnabledBasedOnSelection','from','getRanges','canEditAt','refresh','execute','editor','isEnabled','_command','_suggestions'];(function(_0x3791ab,_0x3682df){const _0x5f3786=function(_0x4f9136){while(--_0x4f9136){_0x3791ab['push'](_0x3791ab['shift']());}};_0x5f3786(++_0x3682df);}(_0x3682,0x14d));const _0x5f37=function(_0x3791ab,_0x3682df){_0x3791ab=_0x3791ab-0x0;let _0x5f3786=_0x3682[_0x3791ab];return _0x5f3786;};import{Command as _0x45a84e}from'ckeditor5/src/core.js';import{sortSuggestions as _0x37c809,getSelectedSuggestions as _0x57beb8,executeCommandForSuggestions as _0x3da3fa}from'../utils/utils.js';export default class R extends _0x45a84e{constructor(_0x394fa9,_0x5d40ea,_0x4ee357){super(_0x394fa9),this[_0x5f37('0x3')]=_0x5d40ea,this[_0x5f37('0x4')]=_0x4ee357,this[_0x5f37('0x7')]=new Set(),this['refresh'](),this[_0x5f37('0x8')]=!0x1;}[_0x5f37('0xc')](){const _0x33f435=this[_0x5f37('0x1')][_0x5f37('0x5')]['document']['selection'],_0x86e631=Array['from'](this[_0x5f37('0x4')][_0x5f37('0x6')]());this[_0x5f37('0x7')]=_0x57beb8(_0x33f435,_0x86e631),this[_0x5f37('0x2')]=this[_0x5f37('0x3')][_0x5f37('0x2')]&&!!this[_0x5f37('0x7')]['size'];}[_0x5f37('0x0')](){const _0x4f030f=_0x37c809(Array[_0x5f37('0x9')](this[_0x5f37('0x7')]));for(const _0x45b5b8 of _0x4f030f){const _0x578a76=_0x45b5b8[_0x5f37('0xa')]();if(!this['editor'][_0x5f37('0x5')][_0x5f37('0xb')](_0x578a76))return;}_0x3da3fa(this[_0x5f37('0x1')]['model'],this[_0x5f37('0x3')],_0x4f030f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bb3=['clearForceDisabled','commands','execute','refresh','has','editor','affectsData','TrackChangesCommand','_enableCommands','_enabledCommands','_isEnabledBasedOnSelection','forceDisabled','value'];(function(_0x512e08,_0x4bb3ab){const _0x737d7e=function(_0x407371){while(--_0x407371){_0x512e08['push'](_0x512e08['shift']());}};_0x737d7e(++_0x4bb3ab);}(_0x4bb3,0x1b9));const _0x737d=function(_0x512e08,_0x4bb3ab){_0x512e08=_0x512e08-0x0;let _0x737d7e=_0x4bb3[_0x512e08];return _0x737d7e;};import{Command as _0x36ad08}from'ckeditor5/src/core.js';export default class M extends _0x36ad08{constructor(_0xf7e8c5,_0x52e64c){super(_0xf7e8c5),this['_enabledCommands']=_0x52e64c,this[_0x737d('0x0')]=!0x1,this[_0x737d('0x4')](),this[_0x737d('0xb')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x737d('0x3')](){this['value']=!this['value'],this[_0x737d('0x0')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x4c6679 of this[_0x737d('0x6')][_0x737d('0x2')]['commands']())_0x4c6679[_0x737d('0x7')]&&!this[_0x737d('0xa')][_0x737d('0x5')](_0x4c6679)&&_0x4c6679[_0x737d('0xc')](_0x737d('0x8'));}[_0x737d('0x9')](){for(const _0x173112 of this[_0x737d('0x6')][_0x737d('0x2')]['commands']())_0x173112[_0x737d('0x7')]&&!this[_0x737d('0xa')][_0x737d('0x5')](_0x173112)&&_0x173112[_0x737d('0x1')](_0x737d('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32d9=['commands','plugins','enableCommand','showAIAssistant','afterInit','TrackChangesEditing','editor'];(function(_0x1c7f1d,_0x32d969){const _0x52b5ba=function(_0x541be1){while(--_0x541be1){_0x1c7f1d['push'](_0x1c7f1d['shift']());}};_0x52b5ba(++_0x32d969);}(_0x32d9,0xdb));const _0x52b5=function(_0x1c7f1d,_0x32d969){_0x1c7f1d=_0x1c7f1d-0x0;let _0x52b5ba=_0x32d9[_0x1c7f1d];return _0x52b5ba;};import{Plugin as _0x46aeb6}from'ckeditor5/src/core.js';export default class E extends _0x46aeb6{[_0x52b5('0x2')](){const _0xaa1419=this[_0x52b5('0x4')],_0x2d9d30=_0xaa1419[_0x52b5('0x6')]['get'](_0x52b5('0x3'));_0xaa1419[_0x52b5('0x5')]['get'](_0x52b5('0x1'))&&_0x2d9d30[_0x52b5('0x0')](_0x52b5('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5958=['FORMAT_ALIGN_TO_CENTER','registerAttributeLabel','FORMAT_ALIGN_TO_LEFT','value','editor','has','_enableDefaultAttributesIntegration','FORMAT_ALIGNMENT','commandName','center','FORMAT_JUSTIFY_TEXT','plugins','commandParams','type','registerDescriptionCallback','_registerLegacyDescription','TrackChangesEditing','left','FORMAT_ALIGN_TO_RIGHT','locale','alignment','_descriptionFactory','get','*Format:*\x20%0'];(function(_0x2bd4ff,_0x59580c){const _0x5941ce=function(_0x63dc1c){while(--_0x63dc1c){_0x2bd4ff['push'](_0x2bd4ff['shift']());}};_0x5941ce(++_0x59580c);}(_0x5958,0x11c));const _0x5941=function(_0x2bd4ff,_0x59580c){_0x2bd4ff=_0x2bd4ff-0x0;let _0x5941ce=_0x5958[_0x2bd4ff];return _0x5941ce;};import{Plugin as _0x1e341f}from'ckeditor5/src/core.js';import{getTranslation as _0x2f4192}from'../utils/common-translations.js';export default class V extends _0x1e341f{['afterInit'](){const _0xc70b7a=this[_0x5941('0x8')],_0x5309ee=_0xc70b7a[_0x5941('0x17')];if(!_0xc70b7a[_0x5941('0xf')][_0x5941('0x9')]('AlignmentEditing'))return;const _0x111bf1=_0xc70b7a[_0x5941('0xf')][_0x5941('0x2')](_0x5941('0x14'));_0x111bf1[_0x5941('0xa')]('alignment',[],[_0x5941('0x0')]),_0x111bf1[_0x5941('0x1')][_0x5941('0x5')](_0x5941('0x0'),_0x2f4192(_0x5309ee,_0x5941('0xb'))),this[_0x5941('0x13')]();}[_0x5941('0x13')](){const _0x5ab0d1=this[_0x5941('0x8')],_0x55f6b2=_0x5ab0d1[_0x5941('0x17')];_0x5ab0d1['plugins']['get'](_0x5941('0x14'))[_0x5941('0x1')][_0x5941('0x12')](_0x3983d8=>{if('formatBlock'!=_0x3983d8[_0x5941('0x11')])return;const {data:_0x3e26e0}=_0x3983d8;if(_0x3e26e0&&_0x5941('0x0')==_0x3e26e0[_0x5941('0xc')]){const _0x5b693d=_0x3e26e0[_0x5941('0x10')][0x0][_0x5941('0x7')];return{'type':'format','content':_0x2f4192(_0x55f6b2,_0x5941('0x3'),function(_0x3fda01){switch(_0x3fda01){case _0x5941('0x15'):return _0x2f4192(_0x55f6b2,_0x5941('0x6'));case'right':return _0x2f4192(_0x55f6b2,_0x5941('0x16'));case _0x5941('0xd'):return _0x2f4192(_0x55f6b2,_0x5941('0x4'));case'justify':return _0x2f4192(_0x55f6b2,_0x5941('0xe'));}}(_0x5b693d))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bc8=['commandParams','_enableDefaultAttributesIntegration','type','bold','_registerLegacyDescription','FORMAT_SUBSCRIPT','format','FORMAT_BOLD','has','_descriptionFactory','forceValue','BoldEditing','FORMAT_STRIKETHROUGH','editor','SubscriptEditing','*Format:*\x20%0','FORMAT_CODE','formatInline','toUpperCase','get','slice','CodeEditing','registerDescriptionCallback','plugins','underline','toLowerCase','FORMAT_ITALIC','ItalicEditing','commandName','StrikethroughEditing'];(function(_0x887d10,_0x3bc889){const _0x5051ef=function(_0x2db6c1){while(--_0x2db6c1){_0x887d10['push'](_0x887d10['shift']());}};_0x5051ef(++_0x3bc889);}(_0x3bc8,0x87));const _0x5051=function(_0x887d10,_0x3bc889){_0x887d10=_0x887d10-0x0;let _0x5051ef=_0x3bc8[_0x887d10];return _0x5051ef;};import{Plugin as _0x1b0ad1}from'ckeditor5/src/core.js';import{getTranslation as _0x289e1e}from'../utils/common-translations.js';const ti=[_0x5051('0x1a'),_0x5051('0xc'),'UnderlineEditing',_0x5051('0x6'),_0x5051('0xe'),_0x5051('0x1d'),'SuperscriptEditing'];export default class U extends _0x1b0ad1{['afterInit'](){const _0x87ee41=this[_0x5051('0x1c')],_0x227997=_0x87ee41[_0x5051('0x8')]['get']('TrackChangesEditing'),_0xc8bc5d=_0x87ee41['locale'];for(const _0x599756 of ti){if(!_0x87ee41[_0x5051('0x8')][_0x5051('0x17')](_0x599756))continue;const _0x216fdd=_0x599756[_0x5051('0x5')](0x0,-0x7)[_0x5051('0xa')](),_0x42df91='FORMAT_'+_0x216fdd[_0x5051('0x3')]();_0x227997[_0x5051('0x10')](_0x216fdd,[_0x216fdd]),_0x227997['_descriptionFactory']['registerAttributeLabel'](_0x216fdd,_0x289e1e(_0xc8bc5d,_0x42df91));}this[_0x5051('0x13')]();}[_0x5051('0x13')](){const _0x3757cf=this[_0x5051('0x1c')],_0x553212=_0x3757cf['locale'],_0x1bc0ae=_0x3757cf[_0x5051('0x8')][_0x5051('0x4')]('TrackChangesEditing');function _0x238a19(_0x2f205f,_0x413a93){_0x1bc0ae[_0x5051('0x18')][_0x5051('0x7')](_0x55e1e7=>{if(_0x5051('0x2')!=_0x55e1e7[_0x5051('0x11')])return;const {data:_0x56ce0b}=_0x55e1e7;return _0x56ce0b&&_0x56ce0b[_0x5051('0xd')]===_0x2f205f?_0x56ce0b[_0x5051('0xf')][0x0][_0x5051('0x19')]?{'type':_0x5051('0x15'),'content':_0x289e1e(_0x553212,_0x5051('0x0'),_0x413a93)}:{'type':_0x5051('0x15'),'content':_0x289e1e(_0x553212,'*Remove\x20format:*\x20%0',_0x413a93)}:void 0x0;});}_0x238a19(_0x5051('0x12'),_0x289e1e(_0x553212,_0x5051('0x16'))),_0x238a19('italic',_0x289e1e(_0x553212,_0x5051('0xb'))),_0x238a19(_0x5051('0x9'),_0x289e1e(_0x553212,'FORMAT_UNDERLINE')),_0x238a19('code',_0x289e1e(_0x553212,_0x5051('0x1'))),_0x238a19('strikethrough',_0x289e1e(_0x553212,_0x5051('0x1b'))),_0x238a19('subscript',_0x289e1e(_0x553212,_0x5051('0x14'))),_0x238a19('superscript',_0x289e1e(_0x553212,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b1a=['TrackChangesEditing','format','*Remove\x20format:*\x20%0','model','blockQuote','value','_descriptionFactory','filter','name','selection','parent','ELEMENT_BLOCK_QUOTE','commands','forceValue','plugins','change','afterInit','editor','schema','document','commandName','checkChild','*Set\x20format:*\x20%0','$root','from','get','getSelectedBlocks','commandParams'];(function(_0x2a16d9,_0x5b1a59){const _0x380581=function(_0x123044){while(--_0x123044){_0x2a16d9['push'](_0x2a16d9['shift']());}};_0x380581(++_0x5b1a59);}(_0x5b1a,0x6f));const _0x3805=function(_0x2a16d9,_0x5b1a59){_0x2a16d9=_0x2a16d9-0x0;let _0x380581=_0x5b1a[_0x2a16d9];return _0x380581;};import{Plugin as _0x4cdb06}from'ckeditor5/src/core.js';import{getTranslation as _0x4ab18c}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x52aee0}from'../utils/utils.js';export default class O extends _0x4cdb06{[_0x3805('0x11')](){const _0x526f01=this[_0x3805('0x12')],_0x1af7f2=_0x526f01['locale'];if(!_0x526f01[_0x3805('0xf')]['has']('BlockQuoteEditing'))return;const _0x203118=_0x526f01[_0x3805('0xf')]['get'](_0x3805('0x1')),_0xf2bbe6=this['editor'][_0x3805('0xd')][_0x3805('0x1a')](_0x3805('0x5'));_0x203118['enableCommand'](_0x3805('0x5'),(_0x3e48ff,_0x77dddf={})=>{const _0xe2e18c=this[_0x3805('0x12')]['model'][_0x3805('0x14')][_0x3805('0xa')],_0x287dbb=_0x77dddf&&void 0x0!==_0x77dddf[_0x3805('0xe')]?_0x77dddf[_0x3805('0xe')]:!_0xf2bbe6[_0x3805('0x6')];let _0x30660f=[];if(_0x287dbb){const _0x2a5e12=Array['from'](_0xe2e18c[_0x3805('0x1b')]())['filter'](_0x16b881=>oo(_0x16b881)||function(_0x4b3be5,_0x492b24){const _0x58103d=_0x492b24['checkChild'](_0x4b3be5[_0x3805('0xb')],_0x3805('0x5')),_0x5daeb3=_0x492b24[_0x3805('0x16')]([_0x3805('0x18'),_0x3805('0x5')],_0x4b3be5);return _0x58103d&&_0x5daeb3;}(_0x16b881,this['editor'][_0x3805('0x4')][_0x3805('0x13')]));_0x30660f=_0x52aee0(_0x2a5e12,_0x526f01[_0x3805('0x4')]);}else{const _0x2c0ba0=Array[_0x3805('0x19')](_0xe2e18c[_0x3805('0x1b')]())[_0x3805('0x8')](_0x67bc59=>oo(_0x67bc59));_0x30660f=_0x52aee0(_0x2c0ba0,_0x526f01[_0x3805('0x4')]);}_0x526f01['model'][_0x3805('0x10')](()=>{for(const _0x5e2ff6 of _0x30660f)_0x203118['markBlockFormat'](_0x5e2ff6,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x287dbb}]});});}),_0x203118[_0x3805('0x7')]['registerDescriptionCallback'](_0xc9a24a=>{const {data:_0x891747}=_0xc9a24a;if(_0x891747&&'blockQuote'==_0x891747[_0x3805('0x15')]){const _0x152128=_0x4ab18c(_0x1af7f2,_0x3805('0xc'));return _0x891747[_0x3805('0x0')][0x0]['forceValue']?{'type':_0x3805('0x2'),'content':_0x4ab18c(_0x1af7f2,_0x3805('0x17'),_0x152128)}:{'type':'format','content':_0x4ab18c(_0x1af7f2,_0x3805('0x3'),_0x152128)};}});}}function oo(_0x112227){return _0x3805('0x5')==_0x112227[_0x3805('0xb')][_0x3805('0x9')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e97=['changeCaseUpper','changeCaseLower','get','has','enableCommand','plugins','afterInit','CaseChange','editor','TrackChangesEditing','changeCaseTitle'];(function(_0x4827aa,_0x5e9747){const _0x356bb7=function(_0x57f92c){while(--_0x57f92c){_0x4827aa['push'](_0x4827aa['shift']());}};_0x356bb7(++_0x5e9747);}(_0x5e97,0x193));const _0x356b=function(_0x4827aa,_0x5e9747){_0x4827aa=_0x4827aa-0x0;let _0x356bb7=_0x5e97[_0x4827aa];return _0x356bb7;};import{Plugin as _0x366a38}from'ckeditor5/src/core.js';export default class G extends _0x366a38{[_0x356b('0xa')](){const _0x3ae8a8=this[_0x356b('0x1')];_0x3ae8a8[_0x356b('0x9')][_0x356b('0x7')](_0x356b('0x0'))&&(_0x3ae8a8[_0x356b('0x9')][_0x356b('0x6')]('TrackChangesEditing')['enableCommand'](_0x356b('0x4')),_0x3ae8a8[_0x356b('0x9')][_0x356b('0x6')](_0x356b('0x2'))[_0x356b('0x8')](_0x356b('0x5')),_0x3ae8a8['plugins'][_0x356b('0x6')](_0x356b('0x2'))['enableCommand'](_0x356b('0x3')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1825=['editor','enableCommand','plugins','ckbox','afterInit'];(function(_0x83cda8,_0x1825a9){const _0x236a9d=function(_0x118bd3){while(--_0x118bd3){_0x83cda8['push'](_0x83cda8['shift']());}};_0x236a9d(++_0x1825a9);}(_0x1825,0x86));const _0x236a=function(_0x83cda8,_0x1825a9){_0x83cda8=_0x83cda8-0x0;let _0x236a9d=_0x1825[_0x83cda8];return _0x236a9d;};import{Plugin as _0x50c2a8}from'ckeditor5/src/core.js';export default class F extends _0x50c2a8{[_0x236a('0x0')](){const _0x5ed51d=this[_0x236a('0x1')];_0x5ed51d['commands']['get'](_0x236a('0x4'))&&_0x5ed51d[_0x236a('0x3')]['get']('TrackChangesEditing')[_0x236a('0x2')](_0x236a('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2071=['value','from','model','codeBlock','ELEMENT_CODE_BLOCK','enableCommand','registerDescriptionCallback','blockName','toLowerCase','commandName','plugins','*Remove\x20format:*\x20%0','document','selection','filter','formatBlock','forceValue','markBlockFormat','getSelectedBlocks','has','parent','languages','registerElementLabel','schema','commands','commandParams','language','change','isLimit','_descriptionFactory','TrackChangesEditing','afterInit','*Set\x20format:*\x20%0','editor','rootElement','format','indentCodeBlock','CodeBlock','get','name'];(function(_0x486ad4,_0x207166){const _0x462144=function(_0x19b0f3){while(--_0x19b0f3){_0x486ad4['push'](_0x486ad4['shift']());}};_0x462144(++_0x207166);}(_0x2071,0x194));const _0x4621=function(_0x486ad4,_0x207166){_0x486ad4=_0x486ad4-0x0;let _0x462144=_0x2071[_0x486ad4];return _0x462144;};import{Plugin as _0x38842c}from'ckeditor5/src/core.js';import{getTranslation as _0x4aa9e6}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0xd22fcc}from'../utils/utils.js';export default class L extends _0x38842c{[_0x4621('0x1b')](){const _0x318a6e=this[_0x4621('0x1d')];if(!_0x318a6e[_0x4621('0x6')][_0x4621('0xf')](_0x4621('0x21')))return;const _0x3932cb=_0x318a6e[_0x4621('0x6')][_0x4621('0x22')](_0x4621('0x1a')),_0x2e0a60=_0x318a6e['locale'],_0x64fc42=_0x318a6e['config']['get'](_0x4621('0x27'))[_0x4621('0x11')],_0x40ea3b=_0x318a6e[_0x4621('0x14')][_0x4621('0x22')]('codeBlock');_0x3932cb[_0x4621('0x1')](_0x4621('0x20')),_0x3932cb[_0x4621('0x1')]('outdentCodeBlock'),_0x3932cb[_0x4621('0x1')](_0x4621('0x27'),(_0x1fd214,_0x4100ba={})=>{const _0x40f407=_0x318a6e[_0x4621('0x26')],_0x2da1a0=_0x318a6e[_0x4621('0x26')][_0x4621('0x8')][_0x4621('0x9')],_0x2fafc9=_0x4100ba&&void 0x0!==_0x4100ba[_0x4621('0xc')]?_0x4100ba[_0x4621('0xc')]:!_0x40ea3b[_0x4621('0x24')];let _0x54b589;_0x4100ba[_0x4621('0x16')]||(_0x4100ba[_0x4621('0x16')]=_0x64fc42[0x0]['language']),_0x54b589=_0x2fafc9?Array['from'](_0x2da1a0[_0x4621('0xe')]())['filter'](_0x5f0933=>eo(_0x5f0933)||function(_0x1e4c55,_0xdcb146){if(_0x1e4c55['is'](_0x4621('0x1e'))||_0xdcb146[_0x4621('0x18')](_0x1e4c55))return!0x1;return _0xdcb146['checkChild'](_0x1e4c55[_0x4621('0x10')],_0x4621('0x27'));}(_0x5f0933,_0x40f407[_0x4621('0x13')])):Array[_0x4621('0x25')](_0x2da1a0[_0x4621('0xe')]())[_0x4621('0xa')](_0x344e5e=>eo(_0x344e5e));const _0x1ab1c4=_0xd22fcc(_0x54b589,_0x40f407);_0x40f407[_0x4621('0x17')](()=>{for(const _0x399b17 of _0x1ab1c4)_0x3932cb[_0x4621('0xd')](_0x399b17,{'commandName':'codeBlock','commandParams':[{..._0x4100ba,'forceValue':_0x2fafc9}],'formatGroupId':_0x4621('0x3')});});}),(_0x3932cb['_descriptionFactory'][_0x4621('0x12')](_0x4621('0x27'),_0x3c8d38=>_0x4aa9e6(_0x2e0a60,_0x4621('0x0'),_0x3c8d38)),_0x3932cb[_0x4621('0x19')][_0x4621('0x2')](_0x308945=>{if(_0x4621('0xb')!=_0x308945['type'])return;const _0x1a34fc=_0x2e0a60['t'],{data:_0x31a73b}=_0x308945;if(!_0x31a73b||_0x4621('0x27')!=_0x31a73b[_0x4621('0x5')])return;const _0x4a54cb=_0x31a73b['commandParams'][0x0][_0x4621('0x16')],_0x26087c=_0x1a34fc(_0x64fc42['find'](_0x1ed72d=>_0x1ed72d[_0x4621('0x16')]===_0x4a54cb)['label'])[_0x4621('0x4')]();return _0x31a73b[_0x4621('0x15')][0x0][_0x4621('0xc')]?{'type':_0x4621('0x1f'),'content':_0x4aa9e6(_0x2e0a60,_0x4621('0x1c'),_0x4aa9e6(_0x2e0a60,_0x4621('0x0'),0x1)+'\x20('+_0x26087c+')')}:{'type':_0x4621('0x1f'),'content':_0x4aa9e6(_0x2e0a60,_0x4621('0x7'),_0x4aa9e6(_0x2e0a60,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x252c73){return _0x4621('0x27')==_0x252c73[_0x4621('0x23')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c18=['CommentsEditing','get','enableCommand','afterInit','editor','plugins'];(function(_0x1cd95d,_0x4c1838){const _0xce182b=function(_0x10b3af){while(--_0x10b3af){_0x1cd95d['push'](_0x1cd95d['shift']());}};_0xce182b(++_0x4c1838);}(_0x4c18,0xdd));const _0xce18=function(_0x1cd95d,_0x4c1838){_0x1cd95d=_0x1cd95d-0x0;let _0xce182b=_0x4c18[_0x1cd95d];return _0xce182b;};import{Plugin as _0x11d9af}from'ckeditor5/src/core.js';export default class H extends _0x11d9af{[_0xce18('0x4')](){const _0xa7951a=this[_0xce18('0x5')];if(!_0xa7951a[_0xce18('0x0')]['has'](_0xce18('0x1')))return;_0xa7951a[_0xce18('0x0')][_0xce18('0x2')]('TrackChangesEditing')[_0xce18('0x3')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcc5d=['get','enableCommand','selection','deleteForward','isCollapsed','rootName','high','unbindElementFromMarkerName','editing','unit','createRange','mapper','$graveyard','markerName','commands','markerNameToElements','start','forward','TrackChangesEditing','downcastDispatcher','uiElement','writer','model','remove','requires','data','setSelection','createSelection','enqueueChange','root','lock','editor','end','plugins','buffer','init','merge','bind','modifySelection','removeMarker:suggestion:deletion'];(function(_0x1a6613,_0xcc5d9a){const _0x849fb5=function(_0x18b2f0){while(--_0x18b2f0){_0x1a6613['push'](_0x1a6613['shift']());}};_0x849fb5(++_0xcc5d9a);}(_0xcc5d,0xd2));const _0x849f=function(_0x1a6613,_0xcc5d9a){_0x1a6613=_0x1a6613-0x0;let _0x849fb5=_0xcc5d[_0x1a6613];return _0x849fb5;};import{Plugin as _0x312fb5}from'ckeditor5/src/core.js';import{LiveRange as _0x125c6a}from'ckeditor5/src/engine.js';import{Delete as _0x209c20}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x4ab5f0}from'./utils.js';export default class q extends _0x312fb5{static get[_0x849f('0xe')](){return[_0x209c20];}[_0x849f('0x19')](){const _0x47d5cd=this[_0x849f('0x15')],_0x21e48a=_0x47d5cd[_0x849f('0x17')][_0x849f('0x1e')](_0x849f('0x8'));_0x21e48a['enableCommand']('delete');const _0x5d507d=_0x47d5cd[_0x849f('0x4')][_0x849f('0x1e')]('deleteForward');_0x21e48a[_0x849f('0x1f')](_0x849f('0x21'),(_0x4990b1,_0x3df3e6={})=>{const _0x25e385=_0x47d5cd[_0x849f('0xc')][_0x849f('0x11')](_0x47d5cd['model']['document'][_0x849f('0x20')]);_0x25e385[_0x849f('0x22')]&&_0x47d5cd[_0x849f('0xc')][_0x849f('0x1c')](_0x25e385,{'direction':_0x849f('0x7'),'unit':_0x3df3e6[_0x849f('0x27')]});const _0xbf379f=_0x25e385['getFirstRange'](),_0x22d974=_0x125c6a['fromRange'](_0xbf379f);let _0x3480d0;_0x4990b1(_0x3df3e6),_0x3480d0=_0x849f('0x2')==_0x22d974[_0x849f('0x13')][_0x849f('0x23')]?_0x47d5cd['model'][_0x849f('0x0')](_0xbf379f[_0x849f('0x6')]):_0x47d5cd[_0x849f('0xc')][_0x849f('0x0')](_0x22d974[_0x849f('0x6')],_0x22d974[_0x849f('0x16')]),_0x22d974['detach'](),_0x47d5cd[_0x849f('0xc')][_0x849f('0x12')](_0x5d507d[_0x849f('0x18')]['batch'],_0x5f01ea=>{_0x5d507d[_0x849f('0x18')][_0x849f('0x14')](),_0x5f01ea[_0x849f('0x10')](_0x5f01ea[_0x849f('0x0')](_0x3480d0[_0x849f('0x16')])),_0x5d507d[_0x849f('0x18')]['unlock']();});}),_0x47d5cd[_0x849f('0x26')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x4ab5f0(_0x47d5cd,_0x849f('0x1a')),{'priority':_0x849f('0x24')}),_0x47d5cd[_0x849f('0xf')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x46a41a,_0x377eaa,_0x124399)=>{_0x124399['options']['showSuggestionHighlights']&&_0x4ab5f0(_0x47d5cd,_0x849f('0x1a'),{'showActiveMarker':!0x1})[_0x849f('0x1b')](this)(_0x46a41a,_0x377eaa,_0x124399);},{'priority':'high'}),_0x47d5cd[_0x849f('0x26')][_0x849f('0x9')]['on'](_0x849f('0x1d'),(_0x5d7a87,_0x246710,_0x5ed0ea)=>{const _0x4d3faa=_0x5ed0ea['mapper'][_0x849f('0x5')](_0x246710[_0x849f('0x3')]);if(_0x4d3faa)for(const _0xe98cff of _0x4d3faa)_0xe98cff['is'](_0x849f('0xa'))&&(_0x5ed0ea[_0x849f('0x1')][_0x849f('0x25')](_0xe98cff,_0x246710[_0x849f('0x3')]),_0x5ed0ea[_0x849f('0xb')][_0x849f('0xd')](_0xe98cff));},{'priority':_0x849f('0x24')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33d9=['markerName','downcastDispatcher','end','createRange','enableCommand','get','document','options','fromRange','showSuggestionHighlights','data','createPositionAt','writer','high','init','model','TrackChangesEditing','ck-suggestion-marker-split','addMarker:suggestion:insertion','detach','editing','removeMarker:suggestion:insertion','mapper','editor','plugins','requires','split','commands','unbindElementFromMarkerName'];(function(_0x16b457,_0x33d932){const _0x173997=function(_0x490041){while(--_0x490041){_0x16b457['push'](_0x16b457['shift']());}};_0x173997(++_0x33d932);}(_0x33d9,0xc3));const _0x1739=function(_0x16b457,_0x33d932){_0x16b457=_0x16b457-0x0;let _0x173997=_0x33d9[_0x16b457];return _0x173997;};import{Plugin as _0x52b3da}from'ckeditor5/src/core.js';import{Enter as _0xe77591}from'ckeditor5/src/enter.js';import{LiveRange as _0x3eabfd}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x38abe6}from'./utils.js';export default class W extends _0x52b3da{static get[_0x1739('0x4')](){return[_0xe77591];}[_0x1739('0x16')](){const _0x2e0f40=this[_0x1739('0x2')],_0x487928=_0x2e0f40[_0x1739('0x3')][_0x1739('0xd')](_0x1739('0x18')),_0x4151b4=_0x2e0f40[_0x1739('0x6')][_0x1739('0xd')]('enter');_0x487928[_0x1739('0xc')]('enter',()=>{_0x2e0f40[_0x1739('0x17')]['change'](_0x3c467b=>{const _0xe037f8=_0x2e0f40[_0x1739('0x17')][_0x1739('0xe')]['selection'],_0x3114cb=_0xe037f8['getFirstPosition'](),_0x42e3b7=_0x3eabfd[_0x1739('0x10')](_0xe037f8['getFirstRange']());if(_0x4151b4['enterBlock'](_0x3c467b)){const _0x4178a2=_0x2e0f40[_0x1739('0x17')][_0x1739('0x13')](_0x3114cb['parent']['nextSibling'],0x0),_0x312185=_0x3c467b[_0x1739('0xb')](_0x3114cb,_0x4178a2);_0x487928['markInsertion'](_0x312185);}else _0x3c467b['setSelection'](_0x3c467b['createRange'](_0x42e3b7[_0x1739('0xa')]));_0x42e3b7[_0x1739('0x1b')](),_0x4151b4['fire']('afterExecute',{'writer':_0x3c467b});});}),_0x2e0f40[_0x1739('0x1c')][_0x1739('0x9')]['on'](_0x1739('0x1a'),_0x38abe6(_0x2e0f40,_0x1739('0x5')),{'priority':_0x1739('0x15')}),_0x2e0f40['editing'][_0x1739('0x9')]['on'](_0x1739('0x0'),(_0x13227d,_0x55e366,_0x74f996)=>{const _0x1cf262=_0x74f996[_0x1739('0x1')]['markerNameToElements'](_0x55e366['markerName']);if(_0x1cf262)for(const _0x22ceef of _0x1cf262)_0x22ceef['hasClass'](_0x1739('0x19'))&&(_0x74f996[_0x1739('0x1')][_0x1739('0x7')](_0x22ceef,_0x55e366[_0x1739('0x8')]),_0x74f996[_0x1739('0x14')]['remove'](_0x22ceef));},{'priority':_0x1739('0x15')}),_0x2e0f40[_0x1739('0x12')][_0x1739('0x9')]['on'](_0x1739('0x1a'),(_0x503df8,_0x166492,_0x47f555)=>{_0x47f555[_0x1739('0xf')][_0x1739('0x11')]&&_0x38abe6(_0x2e0f40,'split',{'showActiveMarker':!0x1})['bind'](this)(_0x503df8,_0x166492,_0x47f555);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3014=['getMarkersGroup','replaceAll','bind','suggestion:deletion','handleFindCommand','replace','start','plugins','getRange','_isInDeletionRange','editor','TrackChangesEditing','model','findNext','filter','findByTextCallback','find','afterInit','markers','enableCommand','getIntersection','end','item','createPositionAt','createRange','FindAndReplaceUtils','get','FindAndReplaceEditing'];(function(_0x382b1d,_0x3014e8){const _0x4e461c=function(_0x1c5d96){while(--_0x1c5d96){_0x382b1d['push'](_0x382b1d['shift']());}};_0x4e461c(++_0x3014e8);}(_0x3014,0x150));const _0x4e46=function(_0x382b1d,_0x3014e8){_0x382b1d=_0x382b1d-0x0;let _0x4e461c=_0x3014[_0x382b1d];return _0x4e461c;};import{Plugin as _0x4c898c}from'ckeditor5/src/core.js';export default class J extends _0x4c898c{[_0x4e46('0x11')](){if(!this[_0x4e46('0xa')][_0x4e46('0x7')]['has'](_0x4e46('0x1b')))return;const _0x52e921=this[_0x4e46('0xa')][_0x4e46('0x7')]['get'](_0x4e46('0xb'));_0x52e921[_0x4e46('0x13')](_0x4e46('0x10'),this[_0x4e46('0x4')][_0x4e46('0x2')](this)),_0x52e921['enableCommand'](_0x4e46('0xd')),_0x52e921[_0x4e46('0x13')]('findPrevious'),_0x52e921[_0x4e46('0x13')](_0x4e46('0x5')),_0x52e921[_0x4e46('0x13')](_0x4e46('0x1'));}['handleFindCommand'](_0x57ea17,_0xfeef39,_0x45b86c={}){const _0xb90032=this[_0x4e46('0xa')][_0x4e46('0x7')][_0x4e46('0x1a')](_0x4e46('0x19'));return _0x57ea17(_0x20bba8=>('string'==typeof _0xfeef39?_0xb90032[_0x4e46('0xf')](_0xfeef39,_0x45b86c):_0xfeef39)(_0x20bba8)[_0x4e46('0xe')](_0x363632=>!0x1===this['_isInDeletionRange'](_0x363632,_0x20bba8[_0x4e46('0x16')])),_0x45b86c);}[_0x4e46('0x9')](_0x294411,_0x1aaa87){const _0x453090=this[_0x4e46('0xa')][_0x4e46('0xc')][_0x4e46('0x18')](this['editor']['model'][_0x4e46('0x17')](_0x1aaa87,_0x294411[_0x4e46('0x6')]),this['editor'][_0x4e46('0xc')][_0x4e46('0x17')](_0x1aaa87,_0x294411[_0x4e46('0x15')]));for(const _0x56ff52 of this['editor'][_0x4e46('0xc')][_0x4e46('0x12')][_0x4e46('0x0')](_0x4e46('0x3')))if(null!==_0x453090[_0x4e46('0x14')](_0x56ff52[_0x4e46('0x8')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e4a=['get','config','FontColorEditing','commandName','*Reset\x20font\x20size*','locale','*Set\x20font\x20size:*\x20%0','fontSize.options','*Reset\x20font\x20family*','fontBackgroundColor.colors','afterInit','model','fontSize','editor','fontColor','FontSizeEditing','title','*Reset\x20font\x20background\x20color*','*Set\x20font\x20color:*\x20%0','fontColor.colors','trim','*Set\x20font\x20family:*\x20%0','_registerLegacyDescription','FontSize','fontFamily','type','registerAttributeLabel','FontBackgroundColorEditing','value','find','commandParams','fontBackgroundColor','_descriptionFactory','_enableDefaultAttributesIntegration','FontFamilyEditing','label','plugins','formatInline','TrackChangesEditing','format','toLowerCase','FORMAT_FONT_COLOR'];(function(_0x52853e,_0x2e4a0f){const _0x2b8666=function(_0x3bc0fe){while(--_0x3bc0fe){_0x52853e['push'](_0x52853e['shift']());}};_0x2b8666(++_0x2e4a0f);}(_0x2e4a,0x1be));const _0x2b86=function(_0x52853e,_0x2e4a0f){_0x52853e=_0x52853e-0x0;let _0x2b8666=_0x2e4a[_0x52853e];return _0x2b8666;};import{Plugin as _0x456242}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x270194}from'ckeditor5/src/ui.js';import{getTranslation as _0x394d67}from'../utils/common-translations.js';const ro=[{'pluginName':_0x2b86('0x1f'),'commandName':'fontSize'},{'pluginName':_0x2b86('0x8'),'commandName':_0x2b86('0x28')},{'pluginName':_0x2b86('0x12'),'commandName':_0x2b86('0x1e')},{'pluginName':_0x2b86('0x1'),'commandName':_0x2b86('0x5')}];export default class Q extends _0x456242{[_0x2b86('0x1a')](){const _0x5e1521=this[_0x2b86('0x1d')][_0x2b86('0x15')],_0x38f0f3=this['editor']['plugins'][_0x2b86('0x10')]('TrackChangesEditing');for(const {pluginName:_0x4f5b17,commandName:_0x49661c}of ro)this['editor'][_0x2b86('0xa')]['has'](_0x4f5b17)&&_0x38f0f3[_0x2b86('0x7')](_0x49661c,[_0x49661c]);_0x5e1521['t'],(_0x38f0f3[_0x2b86('0x6')]['registerAttributeLabel'](_0x2b86('0x1c'),_0x394d67(_0x5e1521,'FORMAT_FONT_SIZE')),_0x38f0f3[_0x2b86('0x6')][_0x2b86('0x0')]('fontFamily',_0x394d67(_0x5e1521,'FORMAT_FONT_FAMILY')),_0x38f0f3[_0x2b86('0x6')][_0x2b86('0x0')](_0x2b86('0x1e'),_0x394d67(_0x5e1521,_0x2b86('0xf'))),_0x38f0f3[_0x2b86('0x6')][_0x2b86('0x0')](_0x2b86('0x5'),_0x394d67(_0x5e1521,'FORMAT_FONT_BACKGROUND')),this[_0x2b86('0x26')]());}['_registerLegacyDescription'](){const _0x5f163d=this['editor'],_0x4ed84a=_0x5f163d['locale'];_0x5f163d[_0x2b86('0xa')]['get'](_0x2b86('0xc'))['_descriptionFactory']['registerDescriptionCallback'](_0x20a6ba=>{const _0x577dc4=_0x4ed84a['t'];if(_0x2b86('0xb')!=_0x20a6ba[_0x2b86('0x29')])return;const {data:_0x25971a}=_0x20a6ba;if(null!=_0x25971a){if('fontSize'==_0x25971a[_0x2b86('0x13')]){const _0x4ee24c=_0x25971a[_0x2b86('0x4')][0x0][_0x2b86('0x2')];if(_0x4ee24c){const _0x302cb4=_0x577dc4(this[_0x2b86('0x1d')][_0x2b86('0xa')][_0x2b86('0x10')](_0x2b86('0x27'))['normalizeSizeOptions'](this[_0x2b86('0x1d')]['config'][_0x2b86('0x10')](_0x2b86('0x17')))['find'](_0xb792cf=>_0xb792cf[_0x2b86('0x1b')]==_0x4ee24c)[_0x2b86('0x20')])[_0x2b86('0xe')]();return{'type':_0x2b86('0xd'),'content':_0x394d67(_0x4ed84a,_0x2b86('0x16'),_0x302cb4)};}return{'type':_0x2b86('0xd'),'content':_0x394d67(_0x4ed84a,_0x2b86('0x14'))};}if(_0x2b86('0x28')==_0x25971a[_0x2b86('0x13')]){const _0x10cf1d=_0x25971a[_0x2b86('0x4')][0x0]['value'];return _0x10cf1d?{'type':_0x2b86('0xd'),'content':_0x394d67(_0x4ed84a,_0x2b86('0x25'),_0x10cf1d)}:{'type':_0x2b86('0xd'),'content':_0x394d67(_0x4ed84a,_0x2b86('0x18'))};}if(_0x2b86('0x1e')==_0x25971a[_0x2b86('0x13')]){const _0x105b7f=_0x25971a[_0x2b86('0x4')][0x0][_0x2b86('0x2')];if(_0x105b7f){const _0x10d06c=_0x270194(this[_0x2b86('0x1d')][_0x2b86('0x11')]['get'](_0x2b86('0x23')))[_0x2b86('0x3')](_0x2d4b8a=>_0x2d4b8a[_0x2b86('0x1b')]==_0x105b7f);let _0x484957=_0x105b7f,_0x2f6a3e='';return _0x10d06c&&(_0x484957=_0x10d06c[_0x2b86('0x9')],_0x2f6a3e=_0x577dc4(_0x484957)[_0x2b86('0xe')]()),{'type':_0x2b86('0xd'),'content':_0x394d67(_0x4ed84a,_0x2b86('0x22'),_0x2f6a3e)[_0x2b86('0x24')](),'color':{'value':_0x105b7f,'title':_0x2f6a3e||_0x484957}};}return{'type':'format','content':_0x394d67(_0x4ed84a,'*Reset\x20font\x20color*')};}if(_0x2b86('0x5')==_0x25971a['commandName']){const _0x356d30=_0x25971a[_0x2b86('0x4')][0x0][_0x2b86('0x2')];if(_0x356d30){const _0x206245=_0x270194(this[_0x2b86('0x1d')][_0x2b86('0x11')]['get'](_0x2b86('0x19')))[_0x2b86('0x3')](_0x584fed=>_0x584fed['model']==_0x356d30);let _0x123486=_0x356d30,_0x1448c0='';return _0x206245&&(_0x123486=_0x206245[_0x2b86('0x9')],_0x1448c0=_0x577dc4(_0x123486)[_0x2b86('0xe')]()),{'type':_0x2b86('0xd'),'content':_0x394d67(_0x4ed84a,'*Set\x20font\x20background\x20color:*\x20%0',_0x1448c0)[_0x2b86('0x24')](),'color':{'value':_0x356d30,'title':_0x1448c0||_0x123486}};}return{'type':_0x2b86('0xd'),'content':_0x394d67(_0x4ed84a,_0x2b86('0x21'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f38=['*Remove\x20all\x20formatting*','_registerLegacyDescription','config','enableCommand','fontBackgroundColor','FontSize','_enableDefaultAttributesIntegration','commandParams','pasteFormat','get','fontColor','charAt','type','toLowerCase','registerDescriptionCallback','boolean','_descriptionFactory','locale','normalizeSizeOptions','format','join','title','formatBlock','plugins','toUpperCase','*Set\x20format\x20to:*\x20%0','model','commands','split','push','copyFormat','TrackChangesEditing','afterInit','find','editor'];(function(_0x1aa5e0,_0x1f38ef){const _0x5b4cd0=function(_0x523169){while(--_0x523169){_0x1aa5e0['push'](_0x1aa5e0['shift']());}};_0x5b4cd0(++_0x1f38ef);}(_0x1f38,0xd4));const _0x5b4c=function(_0x1aa5e0,_0x1f38ef){_0x1aa5e0=_0x1aa5e0-0x0;let _0x5b4cd0=_0x1f38[_0x1aa5e0];return _0x5b4cd0;};import{Plugin as _0xfcdd5b}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x4f61db}from'ckeditor5/src/ui.js';import{getTranslation as _0x823dac}from'../utils/common-translations.js';export default class X extends _0xfcdd5b{[_0x5b4c('0x1e')](){const _0x1706f9=this[_0x5b4c('0x20')],_0x40935e=_0x1706f9['plugins']['get'](_0x5b4c('0x1d')),_0x221984=_0x1706f9[_0x5b4c('0x19')][_0x5b4c('0x7')](_0x5b4c('0x1c')),_0xf9101=_0x1706f9['commands'][_0x5b4c('0x7')](_0x5b4c('0x6'));_0x221984&&_0xf9101&&(_0x40935e[_0x5b4c('0x4')](_0x5b4c('0x6')),_0x40935e[_0x5b4c('0x1')]('copyFormat'),this[_0x5b4c('0x22')]());}[_0x5b4c('0x22')](){const _0x504f4a=this[_0x5b4c('0x20')],_0x4b7ebc=_0x504f4a[_0x5b4c('0xf')];_0x504f4a[_0x5b4c('0x15')][_0x5b4c('0x7')](_0x5b4c('0x1d'))[_0x5b4c('0xe')][_0x5b4c('0xc')](_0x3da6b9=>{if(_0x5b4c('0x14')!=_0x3da6b9[_0x5b4c('0xa')]&&'formatInline'!=_0x3da6b9[_0x5b4c('0xa')])return;const {data:_0xd6f1c2}=_0x3da6b9;if(_0xd6f1c2&&_0x5b4c('0x6')===_0xd6f1c2['commandName']){const _0x3fd674=[],_0x33056b=_0xd6f1c2[_0x5b4c('0x5')][0x0];for(const [_0x47c412,_0x37f136]of Object['entries'](_0x33056b))_0x3fd674[_0x5b4c('0x1b')](so(_0x504f4a,_0x47c412,_0x37f136));return _0x3fd674['length']?{'type':'format','content':_0x823dac(_0x4b7ebc,_0x5b4c('0x17'),_0x3fd674[_0x5b4c('0x12')](',\x20'))}:{'type':_0x5b4c('0x11'),'content':_0x823dac(_0x4b7ebc,_0x5b4c('0x21'))};}});}}function so(_0x9754f1,_0x5bcc77,_0x56e2cd){const _0x2fc47b=_0x9754f1[_0x5b4c('0xf')]['t'],_0xd1bddb=_0x5bcc77[_0x5b4c('0x1a')](/(?=[A-Z])/)[_0x5b4c('0x12')]('\x20'),_0x19c5df=_0x2fc47b(_0xd1bddb[_0x5b4c('0x9')](0x0)[_0x5b4c('0x16')]()+_0xd1bddb['slice'](0x1))[_0x5b4c('0xb')]();if(_0x5b4c('0xd')==typeof _0x56e2cd)return _0x19c5df;if(_0x5b4c('0x8')===_0x5bcc77||_0x5b4c('0x2')===_0x5bcc77){const _0x477586=_0x4f61db(_0x9754f1[_0x5b4c('0x0')][_0x5b4c('0x7')]('fontColor.colors'))[_0x5b4c('0x1f')](_0x86c720=>_0x86c720[_0x5b4c('0x18')]==_0x56e2cd);return _0x19c5df+'\x20('+(_0x477586?_0x2fc47b(_0x477586['label'])[_0x5b4c('0xb')]():_0x56e2cd)+')';}if('fontSize'===_0x5bcc77&&isNaN(parseFloat(_0x56e2cd))){const _0x5513a5=_0x9754f1[_0x5b4c('0x15')][_0x5b4c('0x7')](_0x5b4c('0x3'))[_0x5b4c('0x10')](_0x9754f1[_0x5b4c('0x0')]['get']('fontSize.options'))[_0x5b4c('0x1f')](_0xcbafb7=>_0xcbafb7['model']==_0x56e2cd);return _0x19c5df+'\x20('+(_0x5513a5?_0x2fc47b(_0x5513a5[_0x5b4c('0x13')])['toLowerCase']():_0x56e2cd)+')';}return _0x19c5df+'\x20('+_0x56e2cd+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b38=['formatBlock','value','commandParams','_getHeadingLevel','heading','paragraph','locale','heading.options','ELEMENT_HEADING','plugins','_headingOptions','*Change\x20to:*\x20%0','_descriptionFactory','_registerLegacyDescription','title','afterInit','name','match','format','view','registerElementLabel','model','config','find','registerDescriptionCallback','get','ELEMENT_HEADING_CUSTOM','editor','TrackChangesEditing','has'];(function(_0x3bf030,_0x5b3891){const _0x531c2b=function(_0x489a4a){while(--_0x489a4a){_0x3bf030['push'](_0x3bf030['shift']());}};_0x531c2b(++_0x5b3891);}(_0x5b38,0x160));const _0x531c=function(_0x3bf030,_0x5b3891){_0x3bf030=_0x3bf030-0x0;let _0x531c2b=_0x5b38[_0x3bf030];return _0x531c2b;};import{Plugin as _0x56709c}from'ckeditor5/src/core.js';import{getTranslation as _0x3b9e0f}from'../utils/common-translations.js';export default class Y extends _0x56709c{[_0x531c('0x17')](){const _0x30fc5b=this[_0x531c('0x5')];if(!_0x30fc5b[_0x531c('0x11')][_0x531c('0x7')]('HeadingEditing'))return;this[_0x531c('0x12')]=_0x30fc5b[_0x531c('0x0')][_0x531c('0x3')](_0x531c('0xf'));const _0x2ba550=_0x30fc5b['locale'],_0x42007e=_0x30fc5b[_0x531c('0x11')][_0x531c('0x3')](_0x531c('0x6'));_0x42007e['_enableDefaultAttributesIntegration'](_0x531c('0xc'));for(const _0x4edf2a of this[_0x531c('0x12')])_0x531c('0xd')!=_0x4edf2a[_0x531c('0x1d')]&&_0x42007e[_0x531c('0x14')][_0x531c('0x1c')](_0x4edf2a[_0x531c('0x1d')],_0x526379=>{const _0x1f67eb=this[_0x531c('0xb')](_0x4edf2a[_0x531c('0x1d')]);return null!==_0x1f67eb?_0x5c57d6(_0x526379,_0x1f67eb):_0x5cfd4a(_0x526379,_0x4edf2a['title']);});function _0x5c57d6(_0x536f62,_0x3fe537){return _0x3b9e0f(_0x2ba550,_0x531c('0x10'),[_0x536f62,_0x3fe537]);}function _0x5cfd4a(_0x6436fd,_0x4203fe){return _0x3b9e0f(_0x2ba550,_0x531c('0x4'),[_0x6436fd,_0x4203fe]);}this[_0x531c('0x15')]();}[_0x531c('0x15')](){const _0x458988=this['editor'],_0x1b56e6=_0x458988[_0x531c('0xe')];function _0x1e1722(_0x3f2b5f,_0x502196){return _0x3b9e0f(_0x1b56e6,'ELEMENT_HEADING_CUSTOM',[_0x3f2b5f,_0x502196]);}_0x458988['plugins'][_0x531c('0x3')](_0x531c('0x6'))[_0x531c('0x14')][_0x531c('0x2')](_0x55db98=>{if(_0x531c('0x8')!=_0x55db98['type'])return;const {data:_0x27c2ce}=_0x55db98;if(_0x27c2ce&&_0x531c('0xc')==_0x27c2ce['commandName']){const _0x48eef6=_0x27c2ce[_0x531c('0xa')][0x0][_0x531c('0x9')],_0x3dfc37=this[_0x531c('0xb')](_0x48eef6);if(null!==_0x3dfc37)return{'type':_0x531c('0x1a'),'content':_0x3b9e0f(_0x1b56e6,_0x531c('0x13'),(_0x9bfaeb=0x1,_0x4dfa9f=_0x3dfc37,_0x3b9e0f(_0x1b56e6,_0x531c('0x10'),[_0x9bfaeb,_0x4dfa9f])))};const _0xb0bdad=this[_0x531c('0x12')][_0x531c('0x1')](_0x7742b3=>_0x7742b3[_0x531c('0x1d')]===_0x48eef6)[_0x531c('0x16')];return{'type':'format','content':_0x3b9e0f(_0x1b56e6,'*Change\x20to:*\x20%0',_0x1e1722(0x1,_0xb0bdad))};}var _0x9bfaeb,_0x4dfa9f;});}['_getHeadingLevel'](_0x240eda){var _0xf5d1f8,_0x36a68f;const _0x1df594=_0x240eda[_0x531c('0x19')](/^heading(\d+)/);if(_0x1df594)return _0x1df594[0x1];const _0x1eb79f=null===(_0xf5d1f8=this['_headingOptions'])||void 0x0===_0xf5d1f8?void 0x0:_0xf5d1f8[_0x531c('0x1')](_0x1e4bd3=>_0x1e4bd3[_0x531c('0x1d')]==_0x240eda);if(_0x1eb79f&&_0x1eb79f['view']){const _0x37bc65=_0x1eb79f[_0x531c('0x1b')],_0x2c3843=(null!==(_0x36a68f=_0x37bc65[_0x531c('0x18')])&&void 0x0!==_0x36a68f?_0x36a68f:_0x37bc65)[_0x531c('0x19')](/^h(\d+)/);if(_0x2c3843)return _0x2c3843[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e00=['get','commandName','registerAttributeLabel','*Set\x20highlight:*\x20%0','plugins','model','find','formatInline','value','afterInit','_registerLegacyDescription','TrackChangesEditing','color','registerDescriptionCallback','FORMAT_HIGHLIGHT','highlight.options','title','toLowerCase','format','HighlightEditing','_descriptionFactory','*Remove\x20highlight*','highlight','type','editor','has','commandParams','locale'];(function(_0x290d73,_0x5e001b){const _0x1f6d28=function(_0x4fc43c){while(--_0x4fc43c){_0x290d73['push'](_0x290d73['shift']());}};_0x1f6d28(++_0x5e001b);}(_0x5e00,0x110));const _0x1f6d=function(_0x290d73,_0x5e001b){_0x290d73=_0x290d73-0x0;let _0x1f6d28=_0x5e00[_0x290d73];return _0x1f6d28;};import{Plugin as _0x11ff33}from'ckeditor5/src/core.js';import{getTranslation as _0x2e74f6}from'../utils/common-translations.js';export default class Z extends _0x11ff33{[_0x1f6d('0x11')](){const _0x9d9c30=this[_0x1f6d('0x4')];if(!_0x9d9c30[_0x1f6d('0xc')][_0x1f6d('0x5')](_0x1f6d('0x1b')))return;const _0x41e0d0=_0x9d9c30[_0x1f6d('0xc')][_0x1f6d('0x8')](_0x1f6d('0x13')),_0x3d3d3d=_0x9d9c30[_0x1f6d('0x7')];_0x41e0d0['_enableDefaultAttributesIntegration'](_0x1f6d('0x2'),[_0x1f6d('0x2')]),_0x41e0d0[_0x1f6d('0x0')][_0x1f6d('0xa')](_0x1f6d('0x2'),_0x2e74f6(_0x3d3d3d,_0x1f6d('0x16'))),this[_0x1f6d('0x12')]();}[_0x1f6d('0x12')](){const _0x37a1c7=this[_0x1f6d('0x4')],_0x195e46=_0x37a1c7[_0x1f6d('0x7')];_0x37a1c7[_0x1f6d('0xc')]['get'](_0x1f6d('0x13'))[_0x1f6d('0x0')][_0x1f6d('0x15')](_0x547840=>{if(_0x1f6d('0xf')!=_0x547840[_0x1f6d('0x3')])return;const {data:_0x1447f8}=_0x547840;if(_0x1447f8&&_0x1f6d('0x2')==_0x1447f8[_0x1f6d('0x9')]){const _0x152eb4=_0x195e46['t'],_0x407058=_0x1447f8[_0x1f6d('0x6')][0x0][_0x1f6d('0x10')];if(_0x407058){const _0x53fd36=_0x37a1c7['config'][_0x1f6d('0x8')](_0x1f6d('0x17'))[_0x1f6d('0xe')](_0x3bfdda=>_0x3bfdda[_0x1f6d('0xd')]==_0x407058),_0x135fbd=_0x152eb4(_0x53fd36[_0x1f6d('0x18')])[_0x1f6d('0x19')]();return{'type':_0x1f6d('0x1a'),'content':_0x2e74f6(_0x195e46,_0x1f6d('0xb'),_0x135fbd),'color':{'value':_0x53fd36[_0x1f6d('0x14')],'title':_0x53fd36[_0x1f6d('0x18')]}};}return{'type':_0x1f6d('0x1a'),'content':_0x2e74f6(_0x195e46,_0x1f6d('0x1'),_0x2e74f6(_0x195e46,'FORMAT_HIGHLIGHT'))};}});}}
|