@ckeditor/ckeditor5-track-changes 40.2.0 → 41.1.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 +5 -5
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/track-changes.js +2 -2
- package/build/translations/es.js +1 -1
- package/build/translations/ro.js +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +2 -2
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +2 -2
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +3 -3
- package/src/augmentation.js +1 -1
- package/src/commands/acceptsuggestioncommand.d.ts +3 -3
- package/src/commands/acceptsuggestioncommand.js +2 -2
- package/src/commands/discardsuggestioncommand.d.ts +3 -3
- package/src/commands/discardsuggestioncommand.js +2 -2
- package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
- package/src/commands/executeonallsuggestionscommand.js +2 -2
- package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
- package/src/commands/executeonselectedsuggestionscommand.js +2 -2
- package/src/commands/trackchangescommand.d.ts +2 -2
- package/src/commands/trackchangescommand.js +2 -2
- package/src/index.d.ts +13 -13
- package/src/index.js +2 -2
- package/src/integrations/aiassistant.d.ts +2 -2
- package/src/integrations/aiassistant.js +2 -2
- package/src/integrations/alignment.d.ts +2 -2
- package/src/integrations/alignment.js +2 -2
- package/src/integrations/basicstyles.d.ts +2 -2
- package/src/integrations/basicstyles.js +2 -2
- package/src/integrations/blockquote.d.ts +2 -2
- package/src/integrations/blockquote.js +2 -2
- package/src/integrations/casechange.d.ts +17 -0
- package/src/integrations/casechange.js +23 -0
- package/src/integrations/ckbox.d.ts +2 -2
- package/src/integrations/ckbox.js +2 -2
- package/src/integrations/codeblock.d.ts +2 -2
- package/src/integrations/codeblock.js +2 -2
- package/src/integrations/comments.d.ts +2 -2
- package/src/integrations/comments.js +2 -2
- package/src/integrations/deletecommand.d.ts +3 -3
- package/src/integrations/deletecommand.js +2 -2
- package/src/integrations/entercommand.d.ts +3 -3
- package/src/integrations/entercommand.js +2 -2
- package/src/integrations/findandreplace.d.ts +2 -2
- package/src/integrations/findandreplace.js +2 -2
- package/src/integrations/font.d.ts +2 -2
- package/src/integrations/font.js +2 -2
- package/src/integrations/formatpainter.d.ts +2 -2
- package/src/integrations/formatpainter.js +2 -2
- package/src/integrations/heading.d.ts +2 -2
- package/src/integrations/heading.js +2 -2
- package/src/integrations/highlight.d.ts +2 -2
- package/src/integrations/highlight.js +2 -2
- package/src/integrations/horizontalline.d.ts +2 -2
- package/src/integrations/horizontalline.js +2 -2
- package/src/integrations/htmlembed.d.ts +2 -2
- package/src/integrations/htmlembed.js +2 -2
- package/src/integrations/image.d.ts +2 -2
- package/src/integrations/image.js +2 -2
- package/src/integrations/imagereplace.d.ts +2 -2
- package/src/integrations/imagereplace.js +2 -2
- package/src/integrations/imagestyle.d.ts +2 -2
- package/src/integrations/imagestyle.js +2 -2
- package/src/integrations/importword.d.ts +2 -2
- package/src/integrations/importword.js +2 -2
- package/src/integrations/indent.d.ts +2 -2
- package/src/integrations/indent.js +2 -2
- package/src/integrations/inputcommand.d.ts +3 -3
- package/src/integrations/inputcommand.js +2 -2
- package/src/integrations/legacylist.d.ts +17 -0
- package/src/integrations/legacylist.js +23 -0
- package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
- package/src/integrations/legacylistproperties.js +23 -0
- package/src/integrations/link.d.ts +2 -2
- package/src/integrations/link.js +2 -2
- package/src/integrations/list.d.ts +6 -6
- package/src/integrations/list.js +2 -2
- package/src/integrations/listproperties.d.ts +6 -15
- package/src/integrations/listproperties.js +2 -2
- package/src/integrations/mediaembed.d.ts +2 -2
- package/src/integrations/mediaembed.js +2 -2
- package/src/integrations/mention.d.ts +2 -2
- package/src/integrations/mention.js +2 -2
- package/src/integrations/pagebreak.d.ts +2 -2
- package/src/integrations/pagebreak.js +2 -2
- package/src/integrations/paragraph.d.ts +2 -2
- package/src/integrations/paragraph.js +2 -2
- package/src/integrations/removeformat.d.ts +2 -2
- package/src/integrations/removeformat.js +2 -2
- package/src/integrations/restrictededitingmode.d.ts +2 -2
- package/src/integrations/restrictededitingmode.js +2 -2
- package/src/integrations/shiftentercommand.d.ts +3 -3
- package/src/integrations/shiftentercommand.js +2 -2
- package/src/integrations/standardeditingmode.d.ts +2 -2
- package/src/integrations/standardeditingmode.js +2 -2
- package/src/integrations/style.d.ts +2 -2
- package/src/integrations/style.js +2 -2
- package/src/integrations/table.d.ts +2 -2
- package/src/integrations/table.js +2 -2
- package/src/integrations/tablecaption.d.ts +3 -3
- package/src/integrations/tablecaption.js +2 -2
- package/src/integrations/tableclipboard.d.ts +3 -3
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.d.ts +5 -5
- package/src/integrations/tablecolumnresize.js +2 -2
- package/src/integrations/tableheadings.d.ts +3 -3
- package/src/integrations/tableheadings.js +2 -2
- package/src/integrations/tablemergesplit.d.ts +3 -3
- package/src/integrations/tablemergesplit.js +2 -2
- package/src/integrations/tableofcontents.d.ts +2 -2
- package/src/integrations/tableofcontents.js +2 -2
- package/src/integrations/tableproperties.d.ts +5 -5
- package/src/integrations/tableproperties.js +2 -2
- package/src/integrations/template.d.ts +2 -2
- package/src/integrations/template.js +2 -2
- package/src/integrations/title.d.ts +2 -2
- package/src/integrations/title.js +2 -2
- package/src/integrations/undo.d.ts +2 -2
- package/src/integrations/undo.js +2 -2
- package/src/integrations/utils.d.ts +4 -4
- package/src/integrations/utils.js +2 -2
- package/src/suggestion.d.ts +6 -6
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.d.ts +4 -4
- package/src/suggestiondescriptionfactory.js +2 -2
- package/src/trackchanges.d.ts +6 -6
- package/src/trackchanges.js +2 -2
- package/src/trackchangesconfig.d.ts +2 -2
- package/src/trackchangesconfig.js +1 -1
- package/src/trackchangesdata.d.ts +3 -3
- package/src/trackchangesdata.js +2 -2
- package/src/trackchangesediting.d.ts +56 -55
- package/src/trackchangesediting.js +2 -2
- package/src/trackchangesui.d.ts +4 -4
- package/src/trackchangesui.js +2 -2
- package/src/ui/suggestioncontroller.d.ts +6 -6
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
- package/src/ui/view/basesuggestionthreadview.js +2 -2
- package/src/ui/view/suggestionthreadview.d.ts +6 -6
- package/src/ui/view/suggestionthreadview.js +2 -2
- package/src/utils/common-translations.d.ts +2 -2
- package/src/utils/common-translations.js +2 -2
- package/src/utils/utils.d.ts +5 -5
- package/src/utils/utils.js +2 -2
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
- package/src/integrations/documentlist.d.ts +0 -17
- package/src/integrations/documentlist.js +0 -23
- package/src/integrations/documentlistproperties.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14e0=['getRanges','_command','isInContent','refresh','from','some','_isEnabledBasedOnSelection','isEnabled','editor','model','canEditAt','values','execute','_suggestions'];(function(_0x37af36,_0x14e019){const _0x4ebea8=function(_0x15c745){while(--_0x15c745){_0x37af36['push'](_0x37af36['shift']());}};_0x4ebea8(++_0x14e019);}(_0x14e0,0x14e));const _0x4ebe=function(_0x37af36,_0x14e019){_0x37af36=_0x37af36-0x0;let _0x4ebea8=_0x14e0[_0x37af36];return _0x4ebea8;};import{Command as _0x125acd}from'ckeditor5/src/core.js';import{sortSuggestions as _0x4c3856,executeCommandForSuggestions as _0x543638}from'../utils/utils.js';export default class x extends _0x125acd{constructor(_0x1bbb8a,_0x4e9038,_0x519f26){super(_0x1bbb8a),this[_0x4ebe('0x3')]=_0x4e9038,this[_0x4ebe('0x1')]=_0x519f26,this[_0x4ebe('0x5')](),this[_0x4ebe('0x8')]=!0x1;}[_0x4ebe('0x5')](){const _0x59d578=Array[_0x4ebe('0x6')](this['_suggestions']['values']())[_0x4ebe('0x7')](_0x577b32=>_0x577b32[_0x4ebe('0x4')]);this['isEnabled']=this[_0x4ebe('0x3')][_0x4ebe('0x9')]&&_0x59d578;}[_0x4ebe('0x0')](){const _0x480b20=_0x4c3856(Array[_0x4ebe('0x6')](this['_suggestions'][_0x4ebe('0xd')]()));for(const _0x5a3bdc of _0x480b20){const _0x4814b7=_0x5a3bdc[_0x4ebe('0x2')]();if(!this[_0x4ebe('0xa')][_0x4ebe('0xb')][_0x4ebe('0xc')](_0x4814b7))return;}_0x543638(this[_0x4ebe('0xa')]['model'],this[_0x4ebe('0x3')],_0x480b20);}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/commands/executeonselectedsuggestionscommand
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import type Suggestion from '../suggestion.js';
|
|
11
11
|
/**
|
|
12
12
|
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
|
|
13
13
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3803=['size','getRanges','from','_isEnabledBasedOnSelection','isEnabled','_selectedSuggestions','selection','_suggestions','editor','model','_command','execute','refresh'];(function(_0x38c088,_0x380324){const _0x4dd8e3=function(_0x1c5933){while(--_0x1c5933){_0x38c088['push'](_0x38c088['shift']());}};_0x4dd8e3(++_0x380324);}(_0x3803,0x152));const _0x4dd8=function(_0x38c088,_0x380324){_0x38c088=_0x38c088-0x0;let _0x4dd8e3=_0x3803[_0x38c088];return _0x4dd8e3;};import{Command as _0x14a7ad}from'ckeditor5/src/core.js';import{sortSuggestions as _0x3b5a1d,getSelectedSuggestions as _0x3c5c11,executeCommandForSuggestions as _0x46fdf8}from'../utils/utils.js';export default class R extends _0x14a7ad{constructor(_0x347ff3,_0x156953,_0xf0bd33){super(_0x347ff3),this[_0x4dd8('0xa')]=_0x156953,this[_0x4dd8('0x7')]=_0xf0bd33,this['_selectedSuggestions']=new Set(),this[_0x4dd8('0xc')](),this[_0x4dd8('0x3')]=!0x1;}[_0x4dd8('0xc')](){const _0x36a3e1=this[_0x4dd8('0x8')][_0x4dd8('0x9')]['document'][_0x4dd8('0x6')],_0x37840c=Array[_0x4dd8('0x2')](this['_suggestions']['values']());this[_0x4dd8('0x5')]=_0x3c5c11(_0x36a3e1,_0x37840c),this[_0x4dd8('0x4')]=this[_0x4dd8('0xa')][_0x4dd8('0x4')]&&!!this['_selectedSuggestions'][_0x4dd8('0x0')];}[_0x4dd8('0xb')](){const _0x486e5c=_0x3b5a1d(Array[_0x4dd8('0x2')](this[_0x4dd8('0x5')]));for(const _0x3b7c99 of _0x486e5c){const _0x547e85=_0x3b7c99[_0x4dd8('0x1')]();if(!this['editor'][_0x4dd8('0x9')]['canEditAt'](_0x547e85))return;}_0x46fdf8(this[_0x4dd8('0x8')][_0x4dd8('0x9')],this[_0x4dd8('0xa')],_0x486e5c);}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/commands/trackchangescommand
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
/**
|
|
11
11
|
* Turns the track changes mode on and off.
|
|
12
12
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f8=['refresh','forceDisabled','TrackChangesCommand','affectsData','commands','_enabledCommands','_disableUnsupportedCommands','execute','_enableCommands','editor','clearForceDisabled','value','isEnabled','has','_isEnabledBasedOnSelection'];(function(_0x69335c,_0x10f8f0){const _0xc8b702=function(_0x4f84de){while(--_0x4f84de){_0x69335c['push'](_0x69335c['shift']());}};_0xc8b702(++_0x10f8f0);}(_0x10f8,0x7f));const _0xc8b7=function(_0x69335c,_0x10f8f0){_0x69335c=_0x69335c-0x0;let _0xc8b702=_0x10f8[_0x69335c];return _0xc8b702;};import{Command as _0x52d8de}from'ckeditor5/src/core.js';export default class M extends _0x52d8de{constructor(_0x34cd0f,_0x37c997){super(_0x34cd0f),this['_enabledCommands']=_0x37c997,this[_0xc8b7('0x4')]=!0x1,this['refresh'](),this[_0xc8b7('0x7')]=!0x1;}[_0xc8b7('0x8')](){this[_0xc8b7('0x5')]=!0x0;}[_0xc8b7('0x0')](){this[_0xc8b7('0x4')]=!this[_0xc8b7('0x4')],this['value']?this[_0xc8b7('0xe')]():this[_0xc8b7('0x1')]();}[_0xc8b7('0xe')](){for(const _0x5069e2 of this[_0xc8b7('0x2')][_0xc8b7('0xc')][_0xc8b7('0xc')]())_0x5069e2[_0xc8b7('0xb')]&&!this[_0xc8b7('0xd')][_0xc8b7('0x6')](_0x5069e2)&&_0x5069e2[_0xc8b7('0x9')]('TrackChangesCommand');}[_0xc8b7('0x1')](){for(const _0x40175c of this[_0xc8b7('0x2')][_0xc8b7('0xc')]['commands']())_0x40175c[_0xc8b7('0xb')]&&!this['_enabledCommands'][_0xc8b7('0x6')](_0x40175c)&&_0x40175c[_0xc8b7('0x3')](_0xc8b7('0xa'));}}
|
package/src/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges';
|
|
6
|
-
export { default as TrackChangesData } from './trackchangesdata';
|
|
7
|
-
export { default as TrackChangesEditing } from './trackchangesediting';
|
|
8
|
-
export type { SuggestionJSON } from './suggestion';
|
|
9
|
-
export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
|
|
10
|
-
export type { TrackChangesConfig } from './trackchangesconfig';
|
|
11
|
-
export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
|
|
12
|
-
export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
|
|
13
|
-
export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
|
|
14
|
-
export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
|
|
15
|
-
export type { default as TrackChangesCommand } from './commands/trackchangescommand';
|
|
16
|
-
import './augmentation';
|
|
5
|
+
export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges.js';
|
|
6
|
+
export { default as TrackChangesData } from './trackchangesdata.js';
|
|
7
|
+
export { default as TrackChangesEditing } from './trackchangesediting.js';
|
|
8
|
+
export type { SuggestionJSON } from './suggestion.js';
|
|
9
|
+
export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview.js';
|
|
10
|
+
export type { TrackChangesConfig } from './trackchangesconfig.js';
|
|
11
|
+
export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand.js';
|
|
12
|
+
export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand.js';
|
|
13
|
+
export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand.js';
|
|
14
|
+
export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand.js';
|
|
15
|
+
export type { default as TrackChangesCommand } from './commands/trackchangescommand.js';
|
|
16
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export{default as TrackChanges}from'./trackchanges';export{default as TrackChangesData}from'./trackchangesdata';export{default as TrackChangesEditing}from'./trackchangesediting';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview';import'./augmentation';
|
|
23
|
+
export{default as TrackChanges}from'./trackchanges.js';export{default as TrackChangesData}from'./trackchangesdata.js';export{default as TrackChangesEditing}from'./trackchangesediting.js';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview.js';import'./augmentation.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/aiassistant
|
|
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 the AI Assistant feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd4f0=['get','commands','editor','showAIAssistant','enableCommand','plugins'];(function(_0x3d3e80,_0xd4f05d){const _0x1fbf4c=function(_0x43f732){while(--_0x43f732){_0x3d3e80['push'](_0x3d3e80['shift']());}};_0x1fbf4c(++_0xd4f05d);}(_0xd4f0,0x165));const _0x1fbf=function(_0x3d3e80,_0xd4f05d){_0x3d3e80=_0x3d3e80-0x0;let _0x1fbf4c=_0xd4f0[_0x3d3e80];return _0x1fbf4c;};import{Plugin as _0x17db8f}from'ckeditor5/src/core.js';export default class E extends _0x17db8f{['afterInit'](){const _0x51c510=this[_0x1fbf('0x5')],_0x3d84fb=_0x51c510[_0x1fbf('0x2')][_0x1fbf('0x3')]('TrackChangesEditing');_0x51c510[_0x1fbf('0x4')][_0x1fbf('0x3')]('showAIAssistant')&&_0x3d84fb[_0x1fbf('0x1')](_0x1fbf('0x0'));}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/alignment
|
|
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 alignment feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2032=['*Format:*\x20%0','alignment','commandParams','FORMAT_ALIGNMENT','right','registerAttributeLabel','FORMAT_JUSTIFY_TEXT','type','TrackChangesEditing','plugins','FORMAT_ALIGN_TO_CENTER','locale','_descriptionFactory','editor','value','FORMAT_ALIGN_TO_RIGHT','format','_enableDefaultAttributesIntegration','get','_registerLegacyDescription'];(function(_0x2447ae,_0x203204){const _0x1dd756=function(_0x54a803){while(--_0x54a803){_0x2447ae['push'](_0x2447ae['shift']());}};_0x1dd756(++_0x203204);}(_0x2032,0xfc));const _0x1dd7=function(_0x2447ae,_0x203204){_0x2447ae=_0x2447ae-0x0;let _0x1dd756=_0x2032[_0x2447ae];return _0x1dd756;};import{Plugin as _0x142e55}from'ckeditor5/src/core.js';import{getTranslation as _0x2495fa}from'../utils/common-translations.js';export default class V extends _0x142e55{['afterInit'](){const _0x3d9842=this[_0x1dd7('0x1')],_0x5213ea=_0x3d9842[_0x1dd7('0x13')];if(!_0x3d9842[_0x1dd7('0x11')]['has']('AlignmentEditing'))return;const _0x40e358=_0x3d9842[_0x1dd7('0x11')][_0x1dd7('0x6')](_0x1dd7('0x10'));_0x40e358[_0x1dd7('0x5')](_0x1dd7('0x9'),[],[_0x1dd7('0x9')]),_0x40e358[_0x1dd7('0x0')][_0x1dd7('0xd')](_0x1dd7('0x9'),_0x2495fa(_0x5213ea,_0x1dd7('0xb'))),this[_0x1dd7('0x7')]();}[_0x1dd7('0x7')](){const _0x30f8b3=this['editor'],_0x427c5f=_0x30f8b3[_0x1dd7('0x13')];_0x30f8b3['plugins'][_0x1dd7('0x6')](_0x1dd7('0x10'))[_0x1dd7('0x0')]['registerDescriptionCallback'](_0x1c6e5f=>{if('formatBlock'!=_0x1c6e5f[_0x1dd7('0xf')])return;const {data:_0x341309}=_0x1c6e5f;if(_0x341309&&_0x1dd7('0x9')==_0x341309['commandName']){const _0x575e82=_0x341309[_0x1dd7('0xa')][0x0][_0x1dd7('0x2')];return{'type':_0x1dd7('0x4'),'content':_0x2495fa(_0x427c5f,_0x1dd7('0x8'),function(_0x14fd5f){switch(_0x14fd5f){case'left':return _0x2495fa(_0x427c5f,'FORMAT_ALIGN_TO_LEFT');case _0x1dd7('0xc'):return _0x2495fa(_0x427c5f,_0x1dd7('0x3'));case'center':return _0x2495fa(_0x427c5f,_0x1dd7('0x12'));case'justify':return _0x2495fa(_0x427c5f,_0x1dd7('0xe'));}}(_0x575e82))};}});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/basicstyles
|
|
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 basic styles features.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x569a=['FORMAT_SUPERSCRIPT','commandName','code','FORMAT_','subscript','*Format:*\x20%0','format','TrackChangesEditing','locale','type','strikethrough','*Remove\x20format:*\x20%0','_registerLegacyDescription','UnderlineEditing','FORMAT_UNDERLINE','slice','BoldEditing','italic','has','toLowerCase','FORMAT_BOLD','registerAttributeLabel','get','toUpperCase','plugins','afterInit','FORMAT_SUBSCRIPT','editor','superscript'];(function(_0x105fe3,_0x569a17){const _0x58f79f=function(_0x1b0da6){while(--_0x1b0da6){_0x105fe3['push'](_0x105fe3['shift']());}};_0x58f79f(++_0x569a17);}(_0x569a,0xa8));const _0x58f7=function(_0x105fe3,_0x569a17){_0x105fe3=_0x105fe3-0x0;let _0x58f79f=_0x569a[_0x105fe3];return _0x58f79f;};import{Plugin as _0x18f3e7}from'ckeditor5/src/core.js';import{getTranslation as _0x5f4129}from'../utils/common-translations.js';const ti=[_0x58f7('0x16'),'ItalicEditing',_0x58f7('0x13'),'CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class U extends _0x18f3e7{[_0x58f7('0x2')](){const _0x57e59e=this[_0x58f7('0x4')],_0x2f007a=_0x57e59e['plugins']['get']('TrackChangesEditing'),_0x384385=_0x57e59e[_0x58f7('0xe')];for(const _0x4e5bef of ti){if(!_0x57e59e[_0x58f7('0x1')][_0x58f7('0x18')](_0x4e5bef))continue;const _0x51e0ce=_0x4e5bef[_0x58f7('0x15')](0x0,-0x7)[_0x58f7('0x19')](),_0xdb4d00=_0x58f7('0x9')+_0x51e0ce[_0x58f7('0x0')]();_0x2f007a['_enableDefaultAttributesIntegration'](_0x51e0ce,[_0x51e0ce]),_0x2f007a['_descriptionFactory'][_0x58f7('0x1b')](_0x51e0ce,_0x5f4129(_0x384385,_0xdb4d00));}this[_0x58f7('0x12')]();}[_0x58f7('0x12')](){const _0x2d2442=this[_0x58f7('0x4')],_0xe4537d=_0x2d2442[_0x58f7('0xe')],_0x5ccfd9=_0x2d2442[_0x58f7('0x1')][_0x58f7('0x1c')](_0x58f7('0xd'));function _0x32b5c8(_0x485b64,_0x190c78){_0x5ccfd9['_descriptionFactory']['registerDescriptionCallback'](_0x434058=>{if('formatInline'!=_0x434058[_0x58f7('0xf')])return;const {data:_0x2ab567}=_0x434058;return _0x2ab567&&_0x2ab567[_0x58f7('0x7')]===_0x485b64?_0x2ab567['commandParams'][0x0]['forceValue']?{'type':_0x58f7('0xc'),'content':_0x5f4129(_0xe4537d,_0x58f7('0xb'),_0x190c78)}:{'type':_0x58f7('0xc'),'content':_0x5f4129(_0xe4537d,_0x58f7('0x11'),_0x190c78)}:void 0x0;});}_0x32b5c8('bold',_0x5f4129(_0xe4537d,_0x58f7('0x1a'))),_0x32b5c8(_0x58f7('0x17'),_0x5f4129(_0xe4537d,'FORMAT_ITALIC')),_0x32b5c8('underline',_0x5f4129(_0xe4537d,_0x58f7('0x14'))),_0x32b5c8(_0x58f7('0x8'),_0x5f4129(_0xe4537d,'FORMAT_CODE')),_0x32b5c8(_0x58f7('0x10'),_0x5f4129(_0xe4537d,'FORMAT_STRIKETHROUGH')),_0x32b5c8(_0x58f7('0xa'),_0x5f4129(_0xe4537d,_0x58f7('0x3'))),_0x32b5c8(_0x58f7('0x5'),_0x5f4129(_0xe4537d,_0x58f7('0x6')));}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/blockquote
|
|
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 block quote feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b12=['filter','value','blockQuote','_descriptionFactory','*Set\x20format:*\x20%0','commands','commandName','ELEMENT_BLOCK_QUOTE','get','editor','afterInit','change','model','forceValue','checkChild','*Remove\x20format:*\x20%0','commandParams','getSelectedBlocks','parent','registerDescriptionCallback','enableCommand','$root','BlockQuoteEditing','plugins','markBlockFormat','from','format','name'];(function(_0x72cdd3,_0x1b12ff){const _0x1caf4e=function(_0x21e7ce){while(--_0x21e7ce){_0x72cdd3['push'](_0x72cdd3['shift']());}};_0x1caf4e(++_0x1b12ff);}(_0x1b12,0x82));const _0x1caf=function(_0x72cdd3,_0x1b12ff){_0x72cdd3=_0x72cdd3-0x0;let _0x1caf4e=_0x1b12[_0x72cdd3];return _0x1caf4e;};import{Plugin as _0x4048f9}from'ckeditor5/src/core.js';import{getTranslation as _0x4d2599}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x1fe74f}from'../utils/utils.js';export default class O extends _0x4048f9{[_0x1caf('0x14')](){const _0x56e17c=this[_0x1caf('0x13')],_0x2e919c=_0x56e17c['locale'];if(!_0x56e17c['plugins']['has'](_0x1caf('0x4')))return;const _0x527635=_0x56e17c[_0x1caf('0x5')]['get']('TrackChangesEditing'),_0x114d87=this[_0x1caf('0x13')][_0x1caf('0xf')][_0x1caf('0x12')](_0x1caf('0xc'));_0x527635[_0x1caf('0x2')]('blockQuote',(_0x16a79e,_0x4e5215={})=>{const _0x5ece2a=this[_0x1caf('0x13')][_0x1caf('0x16')]['document']['selection'],_0x2570d1=_0x4e5215&&void 0x0!==_0x4e5215[_0x1caf('0x17')]?_0x4e5215[_0x1caf('0x17')]:!_0x114d87[_0x1caf('0xb')];let _0xbca64c=[];if(_0x2570d1){const _0x449bf2=Array['from'](_0x5ece2a[_0x1caf('0x1b')]())[_0x1caf('0xa')](_0xdb8876=>oo(_0xdb8876)||function(_0x4125e2,_0x12af36){const _0x254c6c=_0x12af36[_0x1caf('0x18')](_0x4125e2[_0x1caf('0x0')],_0x1caf('0xc')),_0x507b90=_0x12af36[_0x1caf('0x18')]([_0x1caf('0x3'),'blockQuote'],_0x4125e2);return _0x254c6c&&_0x507b90;}(_0xdb8876,this[_0x1caf('0x13')][_0x1caf('0x16')]['schema']));_0xbca64c=_0x1fe74f(_0x449bf2,_0x56e17c['model']);}else{const _0x4aeaa8=Array[_0x1caf('0x7')](_0x5ece2a['getSelectedBlocks']())['filter'](_0x55be39=>oo(_0x55be39));_0xbca64c=_0x1fe74f(_0x4aeaa8,_0x56e17c[_0x1caf('0x16')]);}_0x56e17c[_0x1caf('0x16')][_0x1caf('0x15')](()=>{for(const _0x1362c3 of _0xbca64c)_0x527635[_0x1caf('0x6')](_0x1362c3,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x2570d1}]});});}),_0x527635[_0x1caf('0xd')][_0x1caf('0x1')](_0x3bb77e=>{const {data:_0x3a642d}=_0x3bb77e;if(_0x3a642d&&_0x1caf('0xc')==_0x3a642d[_0x1caf('0x10')]){const _0x2d2ab0=_0x4d2599(_0x2e919c,_0x1caf('0x11'));return _0x3a642d[_0x1caf('0x1a')][0x0]['forceValue']?{'type':'format','content':_0x4d2599(_0x2e919c,_0x1caf('0xe'),_0x2d2ab0)}:{'type':_0x1caf('0x8'),'content':_0x4d2599(_0x2e919c,_0x1caf('0x19'),_0x2d2ab0)};}});}}function oo(_0xb62775){return _0x1caf('0xc')==_0xb62775['parent'][_0x1caf('0x9')];}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/casechange
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for case change feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesCaseChange extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x2540=['changeCaseTitle','editor','plugins','CaseChange','changeCaseUpper','get','TrackChangesEditing','enableCommand','afterInit','has'];(function(_0x2a2182,_0x2540d8){const _0x29afb7=function(_0x41ab84){while(--_0x41ab84){_0x2a2182['push'](_0x2a2182['shift']());}};_0x29afb7(++_0x2540d8);}(_0x2540,0x115));const _0x29af=function(_0x2a2182,_0x2540d8){_0x2a2182=_0x2a2182-0x0;let _0x29afb7=_0x2540[_0x2a2182];return _0x29afb7;};import{Plugin as _0x5c9287}from'ckeditor5/src/core.js';export default class G extends _0x5c9287{[_0x29af('0x1')](){const _0x23816e=this[_0x29af('0x4')];_0x23816e[_0x29af('0x5')][_0x29af('0x2')](_0x29af('0x6'))&&(_0x23816e[_0x29af('0x5')]['get'](_0x29af('0x9'))['enableCommand'](_0x29af('0x7')),_0x23816e[_0x29af('0x5')][_0x29af('0x8')](_0x29af('0x9'))[_0x29af('0x0')]('changeCaseLower'),_0x23816e[_0x29af('0x5')]['get'](_0x29af('0x9'))[_0x29af('0x0')](_0x29af('0x3')));}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/ckbox
|
|
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 the CKBox feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5322=['TrackChangesEditing','commands','plugins','afterInit','get'];(function(_0x4bc63c,_0x5322a8){const _0x14939f=function(_0x1d393b){while(--_0x1d393b){_0x4bc63c['push'](_0x4bc63c['shift']());}};_0x14939f(++_0x5322a8);}(_0x5322,0x1a2));const _0x1493=function(_0x4bc63c,_0x5322a8){_0x4bc63c=_0x4bc63c-0x0;let _0x14939f=_0x5322[_0x4bc63c];return _0x14939f;};import{Plugin as _0x57c46f}from'ckeditor5/src/core.js';export default class F extends _0x57c46f{[_0x1493('0x0')](){const _0x37e4b1=this['editor'];_0x37e4b1[_0x1493('0x3')][_0x1493('0x1')]('ckbox')&&_0x37e4b1[_0x1493('0x4')][_0x1493('0x1')](_0x1493('0x2'))['enableCommand']('ckbox');}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/codeblock
|
|
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 code block feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bfe=['enableCommand','name','_descriptionFactory','outdentCodeBlock','filter','forceValue','codeBlock','TrackChangesEditing','from','language','schema','blockName','languages','locale','change','indentCodeBlock','type','find','rootElement','plugins','selection','get','model','afterInit','getSelectedBlocks','commands','ELEMENT_CODE_BLOCK','has','commandName','label','checkChild','*Set\x20format:*\x20%0','commandParams','document','isLimit','parent','format','config','markBlockFormat','registerDescriptionCallback'];(function(_0x1aebda,_0x4bfe8c){const _0x5dc17a=function(_0x561225){while(--_0x561225){_0x1aebda['push'](_0x1aebda['shift']());}};_0x5dc17a(++_0x4bfe8c);}(_0x4bfe,0xd5));const _0x5dc1=function(_0x1aebda,_0x4bfe8c){_0x1aebda=_0x1aebda-0x0;let _0x5dc17a=_0x4bfe[_0x1aebda];return _0x5dc17a;};import{Plugin as _0x3e9710}from'ckeditor5/src/core.js';import{getTranslation as _0x2f287a}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x31bfe8}from'../utils/utils.js';export default class L extends _0x3e9710{[_0x5dc1('0xa')](){const _0x3efd70=this['editor'];if(!_0x3efd70['plugins'][_0x5dc1('0xe')]('CodeBlock'))return;const _0x24ab1c=_0x3efd70[_0x5dc1('0x6')][_0x5dc1('0x8')](_0x5dc1('0x22')),_0x5e436e=_0x3efd70[_0x5dc1('0x0')],_0x22c49f=_0x3efd70[_0x5dc1('0x18')][_0x5dc1('0x8')](_0x5dc1('0x21'))[_0x5dc1('0x27')],_0x30e574=_0x3efd70[_0x5dc1('0xc')][_0x5dc1('0x8')](_0x5dc1('0x21'));_0x24ab1c[_0x5dc1('0x1b')](_0x5dc1('0x2')),_0x24ab1c[_0x5dc1('0x1b')](_0x5dc1('0x1e')),_0x24ab1c[_0x5dc1('0x1b')]('codeBlock',(_0x278329,_0x908abe={})=>{const _0x4fb2c4=_0x3efd70[_0x5dc1('0x9')],_0x35a114=_0x3efd70[_0x5dc1('0x9')][_0x5dc1('0x14')][_0x5dc1('0x7')],_0x578e95=_0x908abe&&void 0x0!==_0x908abe[_0x5dc1('0x20')]?_0x908abe[_0x5dc1('0x20')]:!_0x30e574['value'];let _0x57006a;_0x908abe[_0x5dc1('0x24')]||(_0x908abe['language']=_0x22c49f[0x0][_0x5dc1('0x24')]),_0x57006a=_0x578e95?Array[_0x5dc1('0x23')](_0x35a114[_0x5dc1('0xb')]())[_0x5dc1('0x1f')](_0x23a84d=>eo(_0x23a84d)||function(_0x4159ef,_0x53387d){if(_0x4159ef['is'](_0x5dc1('0x5'))||_0x53387d[_0x5dc1('0x15')](_0x4159ef))return!0x1;return _0x53387d[_0x5dc1('0x11')](_0x4159ef[_0x5dc1('0x16')],_0x5dc1('0x21'));}(_0x23a84d,_0x4fb2c4[_0x5dc1('0x25')])):Array[_0x5dc1('0x23')](_0x35a114[_0x5dc1('0xb')]())[_0x5dc1('0x1f')](_0x46ac63=>eo(_0x46ac63));const _0x516b22=_0x31bfe8(_0x57006a,_0x4fb2c4);_0x4fb2c4[_0x5dc1('0x1')](()=>{for(const _0x3076f4 of _0x516b22)_0x24ab1c[_0x5dc1('0x19')](_0x3076f4,{'commandName':_0x5dc1('0x21'),'commandParams':[{..._0x908abe,'forceValue':_0x578e95}],'formatGroupId':_0x5dc1('0x26')});});}),(_0x24ab1c[_0x5dc1('0x1d')]['registerElementLabel'](_0x5dc1('0x21'),_0x2cc760=>_0x2f287a(_0x5e436e,_0x5dc1('0xd'),_0x2cc760)),_0x24ab1c[_0x5dc1('0x1d')][_0x5dc1('0x1a')](_0x1caf24=>{if('formatBlock'!=_0x1caf24[_0x5dc1('0x3')])return;const _0x5c109b=_0x5e436e['t'],{data:_0x518318}=_0x1caf24;if(!_0x518318||_0x5dc1('0x21')!=_0x518318[_0x5dc1('0xf')])return;const _0x30aa86=_0x518318[_0x5dc1('0x13')][0x0][_0x5dc1('0x24')],_0x4e97=_0x5c109b(_0x22c49f[_0x5dc1('0x4')](_0x7dfa2a=>_0x7dfa2a[_0x5dc1('0x24')]===_0x30aa86)[_0x5dc1('0x10')])['toLowerCase']();return _0x518318[_0x5dc1('0x13')][0x0][_0x5dc1('0x20')]?{'type':_0x5dc1('0x17'),'content':_0x2f287a(_0x5e436e,_0x5dc1('0x12'),_0x2f287a(_0x5e436e,_0x5dc1('0xd'),0x1)+'\x20('+_0x4e97+')')}:{'type':_0x5dc1('0x17'),'content':_0x2f287a(_0x5e436e,'*Remove\x20format:*\x20%0',_0x2f287a(_0x5e436e,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x48ba4f){return'codeBlock'==_0x48ba4f[_0x5dc1('0x1c')];}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/comments
|
|
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:comments/comments~Comments comments feature}.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x98e0=['get','addCommentThread','editor','enableCommand','afterInit','has','plugins'];(function(_0x33b83b,_0x98e042){const _0x4828ec=function(_0x7c2db1){while(--_0x7c2db1){_0x33b83b['push'](_0x33b83b['shift']());}};_0x4828ec(++_0x98e042);}(_0x98e0,0x13d));const _0x4828=function(_0x33b83b,_0x98e042){_0x33b83b=_0x33b83b-0x0;let _0x4828ec=_0x98e0[_0x33b83b];return _0x4828ec;};import{Plugin as _0x5b1dd7}from'ckeditor5/src/core.js';export default class H extends _0x5b1dd7{[_0x4828('0x2')](){const _0x17db4b=this[_0x4828('0x0')];if(!_0x17db4b[_0x4828('0x4')][_0x4828('0x3')]('CommentsEditing'))return;_0x17db4b[_0x4828('0x4')][_0x4828('0x5')]('TrackChangesEditing')[_0x4828('0x1')](_0x4828('0x6'));}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/deletecommand
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Delete } from 'ckeditor5/src/typing';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Delete } from 'ckeditor5/src/typing.js';
|
|
10
10
|
/**
|
|
11
11
|
* Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
|
|
12
12
|
* provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2603=['getFirstRange','init','markerName','createRange','high','addMarker:suggestion:deletion','editing','rootName','selection','model','enableCommand','forward','$graveyard','writer','document','editor','mapper','deleteForward','TrackChangesEditing','merge','modifySelection','end','unlock','data','removeMarker:suggestion:deletion','setSelection','unit','bind','buffer','fromRange','isCollapsed','unbindElementFromMarkerName','downcastDispatcher','markerNameToElements','start','plugins','remove','options','createSelection'];(function(_0x246ab7,_0x260393){const _0x232aeb=function(_0x2e2ed6){while(--_0x2e2ed6){_0x246ab7['push'](_0x246ab7['shift']());}};_0x232aeb(++_0x260393);}(_0x2603,0xfd));const _0x232a=function(_0x246ab7,_0x260393){_0x246ab7=_0x246ab7-0x0;let _0x232aeb=_0x2603[_0x246ab7];return _0x232aeb;};import{Plugin as _0x268491}from'ckeditor5/src/core.js';import{LiveRange as _0x201fdb}from'ckeditor5/src/engine.js';import{Delete as _0x4f19f5}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x30fc3a}from'./utils.js';export default class q extends _0x268491{static get['requires'](){return[_0x4f19f5];}[_0x232a('0x15')](){const _0x50980d=this[_0x232a('0x23')],_0x1520fb=_0x50980d[_0x232a('0x10')]['get'](_0x232a('0x26'));_0x1520fb[_0x232a('0x1e')]('delete');const _0x4948e5=_0x50980d['commands']['get']('deleteForward');_0x1520fb['enableCommand'](_0x232a('0x25'),(_0x34a276,_0x15c9a3={})=>{const _0x94afc8=_0x50980d[_0x232a('0x1d')][_0x232a('0x13')](_0x50980d[_0x232a('0x1d')][_0x232a('0x22')][_0x232a('0x1c')]);_0x94afc8[_0x232a('0xb')]&&_0x50980d[_0x232a('0x1d')][_0x232a('0x1')](_0x94afc8,{'direction':_0x232a('0x1f'),'unit':_0x15c9a3[_0x232a('0x7')]});const _0x4dc8b3=_0x94afc8[_0x232a('0x14')](),_0x35fd76=_0x201fdb[_0x232a('0xa')](_0x4dc8b3);let _0x6fba90;_0x34a276(_0x15c9a3),_0x6fba90=_0x232a('0x20')==_0x35fd76['root'][_0x232a('0x1b')]?_0x50980d['model'][_0x232a('0x17')](_0x4dc8b3[_0x232a('0xf')]):_0x50980d[_0x232a('0x1d')][_0x232a('0x17')](_0x35fd76[_0x232a('0xf')],_0x35fd76['end']),_0x35fd76['detach'](),_0x50980d[_0x232a('0x1d')]['enqueueChange'](_0x4948e5[_0x232a('0x9')]['batch'],_0x4e92d5=>{_0x4948e5[_0x232a('0x9')]['lock'](),_0x4e92d5[_0x232a('0x6')](_0x4e92d5[_0x232a('0x17')](_0x6fba90[_0x232a('0x2')])),_0x4948e5[_0x232a('0x9')][_0x232a('0x3')]();});}),_0x50980d['editing'][_0x232a('0xd')]['on'](_0x232a('0x19'),_0x30fc3a(_0x50980d,'merge'),{'priority':'high'}),_0x50980d[_0x232a('0x4')][_0x232a('0xd')]['on']('addMarker:suggestion:deletion',(_0x53ee12,_0x41deea,_0x262e0b)=>{_0x262e0b[_0x232a('0x12')]['showSuggestionHighlights']&&_0x30fc3a(_0x50980d,_0x232a('0x0'),{'showActiveMarker':!0x1})[_0x232a('0x8')](this)(_0x53ee12,_0x41deea,_0x262e0b);},{'priority':_0x232a('0x18')}),_0x50980d[_0x232a('0x1a')][_0x232a('0xd')]['on'](_0x232a('0x5'),(_0x3bf4f2,_0x309b64,_0x4b6454)=>{const _0x5d5bbb=_0x4b6454[_0x232a('0x24')][_0x232a('0xe')](_0x309b64[_0x232a('0x16')]);if(_0x5d5bbb)for(const _0x272c2c of _0x5d5bbb)_0x272c2c['is']('uiElement')&&(_0x4b6454[_0x232a('0x24')][_0x232a('0xc')](_0x272c2c,_0x309b64['markerName']),_0x4b6454[_0x232a('0x21')][_0x232a('0x11')](_0x272c2c));},{'priority':_0x232a('0x18')});}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
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
|
*/
|