@ckeditor/ckeditor5-track-changes 40.0.0 → 40.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/LICENSE.md +3 -3
- package/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +20 -1
- package/lang/translations/ar.po +76 -0
- package/lang/translations/az.po +76 -0
- package/lang/translations/bg.po +76 -0
- package/lang/translations/bn.po +76 -0
- package/lang/translations/ca.po +76 -0
- package/lang/translations/cs.po +76 -0
- package/lang/translations/da.po +76 -0
- package/lang/translations/de.po +76 -0
- package/lang/translations/el.po +76 -0
- package/lang/translations/en-au.po +76 -0
- package/lang/translations/en.po +76 -0
- package/lang/translations/es.po +76 -0
- package/lang/translations/et.po +76 -0
- package/lang/translations/fi.po +76 -0
- package/lang/translations/fr.po +76 -0
- package/lang/translations/gl.po +76 -0
- package/lang/translations/he.po +76 -0
- package/lang/translations/hi.po +76 -0
- package/lang/translations/hr.po +76 -0
- package/lang/translations/hu.po +76 -0
- package/lang/translations/id.po +76 -0
- package/lang/translations/it.po +76 -0
- package/lang/translations/ja.po +76 -0
- package/lang/translations/ko.po +76 -0
- package/lang/translations/lt.po +76 -0
- package/lang/translations/lv.po +76 -0
- package/lang/translations/ms.po +76 -0
- package/lang/translations/nl.po +76 -0
- package/lang/translations/no.po +76 -0
- package/lang/translations/pl.po +76 -0
- package/lang/translations/pt-br.po +94 -18
- package/lang/translations/pt.po +76 -0
- package/lang/translations/ro.po +76 -0
- package/lang/translations/ru.po +76 -0
- package/lang/translations/sk.po +76 -0
- package/lang/translations/sq.po +76 -0
- package/lang/translations/sr-latn.po +76 -0
- package/lang/translations/sr.po +76 -0
- package/lang/translations/sv.po +76 -0
- package/lang/translations/th.po +76 -0
- package/lang/translations/tk.po +76 -0
- package/lang/translations/tr.po +76 -0
- package/lang/translations/tt.po +76 -0
- package/lang/translations/uk.po +76 -0
- package/lang/translations/ur.po +76 -0
- package/lang/translations/vi.po +76 -0
- package/lang/translations/zh-cn.po +76 -0
- package/lang/translations/zh.po +76 -0
- package/package.json +3 -3
- package/src/augmentation.d.ts +40 -40
- package/src/commands/acceptsuggestioncommand.d.ts +24 -24
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +24 -24
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +26 -26
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +16 -16
- package/src/integrations/aiassistant.d.ts +17 -17
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.d.ts +17 -17
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +17 -17
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +17 -17
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +17 -17
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +17 -17
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +14 -14
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +17 -17
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +17 -17
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +29 -29
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +16 -16
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +21 -21
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +17 -17
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +17 -17
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +17 -17
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +17 -17
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +17 -17
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +17 -17
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +17 -17
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +17 -23
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.d.ts +17 -0
- package/src/integrations/imagestyle.js +23 -0
- package/src/integrations/importword.d.ts +18 -18
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +17 -17
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +16 -16
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +17 -17
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +17 -17
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +29 -29
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +17 -17
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +17 -17
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +17 -17
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +17 -17
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +17 -17
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +17 -17
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +16 -16
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +17 -17
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +17 -18
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +42 -42
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +22 -22
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +19 -19
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +26 -26
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +22 -22
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +22 -22
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +17 -17
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +27 -27
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +17 -17
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +17 -17
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +17 -17
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +21 -21
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +291 -276
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +183 -163
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +180 -244
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +78 -75
- package/src/trackchangesdata.d.ts +41 -41
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +524 -468
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +38 -38
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +37 -37
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +182 -182
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +9 -9
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +30 -30
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24ec=['enableCommand','has','formatBlock','*Indent:*\x20%0','type','*Outdent:*\x20%0','indentBlock','outdent','plugins','outdentBlock','getItems','editor','getItemLabel','FORMAT_INDENT','IndentBlock','IndentEditing','_enableDefaultAttributesIntegration','blockIndent','_registerLegacyDescription','registerAttributeLabel','commandName','get','_descriptionFactory','afterInit','format','TrackChangesEditing','indent','locale'];(function(_0x2b0566,_0x24ece){const _0x2b6053=function(_0x3fe03c){while(--_0x3fe03c){_0x2b0566['push'](_0x2b0566['shift']());}};_0x2b6053(++_0x24ece);}(_0x24ec,0x118));const _0x2b60=function(_0x2b0566,_0x24ece){_0x2b0566=_0x2b0566-0x0;let _0x2b6053=_0x24ec[_0x2b0566];return _0x2b6053;};import{Plugin as _0x590f60}from'ckeditor5/src/core';import{getTranslation as _0x7fdeb}from'../utils/common-translations';export default class ot extends _0x590f60{[_0x2b60('0x17')](){const _0x34e032=this[_0x2b60('0xb')],_0x205ccb=_0x34e032[_0x2b60('0x8')]['get'](_0x2b60('0x19'));if(_0x34e032[_0x2b60('0x8')][_0x2b60('0x1')](_0x2b60('0xf'))&&(_0x205ccb['enableCommand'](_0x2b60('0x1a')),_0x205ccb[_0x2b60('0x0')](_0x2b60('0x7'))),_0x34e032['plugins']['has'](_0x2b60('0xe')))for(const _0x26e81a of[_0x2b60('0x6'),_0x2b60('0x9')])_0x205ccb[_0x2b60('0x10')](_0x26e81a);const _0x538a98=_0x34e032[_0x2b60('0x1b')];_0x205ccb['_registerBlockAttribute'](_0x2b60('0x11')),_0x205ccb['_descriptionFactory'][_0x2b60('0x13')](_0x2b60('0x11'),_0x7fdeb(_0x538a98,_0x2b60('0xd'))),this[_0x2b60('0x12')]();}['_registerLegacyDescription'](){const _0x1aee43=this[_0x2b60('0xb')],_0x29df9c=_0x1aee43[_0x2b60('0x1b')],_0x1b71c0=_0x1aee43[_0x2b60('0x8')][_0x2b60('0x15')](_0x2b60('0x19'));_0x1b71c0[_0x2b60('0x16')]['registerDescriptionCallback'](_0x333ad4=>{if(_0x2b60('0x2')!=_0x333ad4[_0x2b60('0x4')])return;const {data:_0x293c66}=_0x333ad4;if(!_0x293c66)return;if('indentBlock'!=_0x293c66['commandName']&&_0x2b60('0x9')!=_0x293c66[_0x2b60('0x14')])return;const _0x5511c2=_0x333ad4[_0x2b60('0xa')]()[0x0],_0x43345c=_0x1b71c0['_descriptionFactory'][_0x2b60('0xc')](_0x5511c2);return _0x2b60('0x6')==_0x293c66[_0x2b60('0x14')]?{'type':_0x2b60('0x18'),'content':_0x7fdeb(_0x29df9c,_0x2b60('0x3'),_0x43345c)}:_0x2b60('0x9')==_0x293c66[_0x2b60('0x14')]?{'type':'format','content':_0x7fdeb(_0x29df9c,_0x2b60('0x5'),_0x43345c)}:void 0x0;});}}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/inputcommand/inputcommand
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Input } from 'ckeditor5/src/typing';
|
|
10
|
-
/**
|
|
11
|
-
* Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
|
|
12
|
-
*/
|
|
13
|
-
export default class TrackChangesInputCommand extends Plugin {
|
|
14
|
-
static get requires(): readonly [typeof Input];
|
|
15
|
-
init(): void;
|
|
16
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/inputcommand/inputcommand
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { Input } from 'ckeditor5/src/typing';
|
|
10
|
+
/**
|
|
11
|
+
* Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
|
|
12
|
+
*/
|
|
13
|
+
export default class TrackChangesInputCommand extends Plugin {
|
|
14
|
+
static get requires(): readonly [typeof Input];
|
|
15
|
+
init(): void;
|
|
16
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x33e7=['plugins','TrackChangesEditing','requires','editor','input'];(function(_0x19c603,_0x33e76d){var _0x2df956=function(_0x1c7383){while(--_0x1c7383){_0x19c603['push'](_0x19c603['shift']());}};_0x2df956(++_0x33e76d);}(_0x33e7,0xd0));var _0x2df9=function(_0x19c603,_0x33e76d){_0x19c603=_0x19c603-0x0;var _0x2df956=_0x33e7[_0x19c603];return _0x2df956;};import{Plugin as _0x450672}from'ckeditor5/src/core';import{Input as _0x425f13}from'ckeditor5/src/typing';export default class rt extends _0x450672{static get[_0x2df9('0x4')](){return[_0x425f13];}['init'](){this[_0x2df9('0x0')][_0x2df9('0x2')]['get'](_0x2df9('0x3'))['enableCommand'](_0x2df9('0x1'));}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/link
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for link feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesLink extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/link
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for link feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesLink extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
package/src/integrations/link.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ef1=['unlink','label','locale','_descriptionFactory','map','LinkEditing','link','registerDescriptionCallback','_registerLegacyDescription','commandParams','_enableDefaultAttributesIntegration','*Set\x20link:*\x20%0','editor','get','format','type','has','commandName','linkHref','toLowerCase','afterInit','TrackChangesEditing','formatInline','manualDecorators','*Remove\x20link*'];(function(_0x5062be,_0x4ef1c2){const _0x259506=function(_0x4aac84){while(--_0x4aac84){_0x5062be['push'](_0x5062be['shift']());}};_0x259506(++_0x4ef1c2);}(_0x4ef1,0x1b5));const _0x2595=function(_0x5062be,_0x4ef1c2){_0x5062be=_0x5062be-0x0;let _0x259506=_0x4ef1[_0x5062be];return _0x259506;};import{Plugin as _0x1fd3ed}from'ckeditor5/src/core';import{getTranslation as _0xba9d34}from'../utils/common-translations';export default class at extends _0x1fd3ed{[_0x2595('0x8')](){const _0x5aa657=this[_0x2595('0x0')];if(!_0x5aa657['plugins'][_0x2595('0x4')](_0x2595('0x12')))return;const _0x4f52a6=_0x5aa657['plugins']['get'](_0x2595('0x9')),_0x421269=_0x5aa657['commands'][_0x2595('0x1')](_0x2595('0x13'));_0x4f52a6[_0x2595('0x17')](_0x2595('0x13'),[_0x2595('0x6'),..._0x421269['manualDecorators'][_0x2595('0x11')](_0x179a24=>_0x179a24['id'])]),_0x4f52a6[_0x2595('0x17')](_0x2595('0xd'));for(const _0x56ac2f of _0x421269[_0x2595('0xb')])_0x4f52a6[_0x2595('0x10')]['registerAttributeLabel'](_0x56ac2f['id'],'link\x20('+_0x56ac2f[_0x2595('0xe')][_0x2595('0x7')]()+')');_0x4f52a6[_0x2595('0x10')]['registerDescriptionCallback'](_0x3f17b6=>{if('attribute'!=_0x3f17b6[_0x2595('0x3')])return;const {data:_0x3a4172}=_0x3f17b6;if(!_0x3a4172||'linkHref'!=_0x3a4172['key'])return;const _0x54c7c2=_0x3a4172['newValue'],_0x5bdc09=_0x5aa657[_0x2595('0xf')];return{'type':_0x2595('0x2'),'content':_0x54c7c2?_0xba9d34(_0x5bdc09,'*Set\x20link:*\x20%0','\x22'+_0x54c7c2+'\x22'):_0xba9d34(_0x5bdc09,'*Remove\x20link*')};}),this[_0x2595('0x15')]();}[_0x2595('0x15')](){const _0x4705cf=this[_0x2595('0x0')],_0x42f2a9=_0x4705cf['locale'];_0x4705cf['plugins'][_0x2595('0x1')](_0x2595('0x9'))[_0x2595('0x10')][_0x2595('0x14')](_0x162c55=>{if(_0x2595('0xa')!=_0x162c55['type'])return;const {data:_0x148ec4}=_0x162c55;if(_0x148ec4){if(_0x2595('0x13')==_0x148ec4['commandName']){const _0x28eb06=_0x148ec4[_0x2595('0x16')][0x0];return{'type':_0x2595('0x2'),'content':_0xba9d34(_0x42f2a9,_0x2595('0x18'),'\x22'+_0x28eb06+'\x22')};}return _0x2595('0xd')==_0x148ec4[_0x2595('0x5')]?{'type':_0x2595('0x2'),'content':_0xba9d34(_0x42f2a9,_0x2595('0xc'))}:void 0x0;}});}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/list
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for list feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesList extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/list
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for list feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesList extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1548=['ELEMENT_LIST_ITEM','selection','element','slice','commands','blockName','end','*Indent:*\x20%0','locale','length','value','ELEMENT_TODO_LIST','commandName','listIndent','editor','model','format','*Check\x20item*','isObject','paragraph','createRange','commandParams','filter','document','name','_selectedElements','List','ListEditing','afterInit','getAttribute','execute','TodoListEditing','previousSibling','checkTodoList','schema','has','*Outdent:*\x20%0','parent','type','todoList','_descriptionFactory','registerElementLabel','from','plugins','markBlockFormat','*Uncheck\x20item*','forceValue','indentList','ELEMENT_NUMBERED_LIST','numberedList','checkChild','add','change','nextSibling','listItem','enableCommand','getSelectedBlocks','outdentList','findIndex','formatInline','bulleted','bulletedList'];(function(_0x18798a,_0x154877){const _0x1d2f06=function(_0x14ef5a){while(--_0x14ef5a){_0x18798a['push'](_0x18798a['shift']());}};_0x1d2f06(++_0x154877);}(_0x1548,0xca));const _0x1d2f=function(_0x18798a,_0x154877){_0x18798a=_0x18798a-0x0;let _0x1d2f06=_0x1548[_0x18798a];return _0x1d2f06;};import{Plugin as _0x12c7b2}from'ckeditor5/src/core';import{getTranslation as _0x587104}from'../utils/common-translations';export default class ct extends _0x12c7b2{[_0x1d2f('0xc')](){const _0x326575=this[_0x1d2f('0x3c')],_0x1e8770=_0x326575[_0x1d2f('0x36')];if(!_0x326575['plugins'][_0x1d2f('0x13')](_0x1d2f('0xb')))return;const _0x39285a=_0x326575[_0x1d2f('0x1b')]['get']('TrackChangesEditing'),_0xc5a327=_0x326575[_0x1d2f('0x1b')]['has'](_0x1d2f('0xf'));function _0x378b47(_0x5d7a0c){return()=>{const _0x5ca021=_0x326575[_0x1d2f('0x3d')]['document'][_0x1d2f('0x2f')],_0x1b64a7=_0x326575[_0x1d2f('0x32')]['get'](_0x5d7a0c);if(_0x1b64a7['value'])return void _0x326575[_0x1d2f('0xe')](_0x1d2f('0x3'),{});const _0x545f33=_0x5d7a0c['slice'](0x0,-0x4),_0x417a7c=function(_0x3f859b,_0x3b3176,_0x49e422){let _0x44d70b=Array['from'](_0x3f859b)['filter'](_0x567ae1=>function(_0x91c5c9,_0x28fa18){return _0x28fa18[_0x1d2f('0x22')](_0x91c5c9[_0x1d2f('0x15')],_0x1d2f('0x26'))&&!_0x28fa18[_0x1d2f('0x2')](_0x91c5c9);}(_0x567ae1,_0x49e422));_0x44d70b=_0x44d70b['filter'](_0x512316=>!_0x512316['is'](_0x1d2f('0x30'),'listItem')||_0x512316[_0x1d2f('0xd')]('listType')!=_0x3b3176);const _0x96bd0f=new Set();for(const _0x2ff317 of _0x44d70b)_0x2ff317['is'](_0x1d2f('0x30'),'listItem')?_0x96bd0f['add'](ne(_0x2ff317)):_0x96bd0f[_0x1d2f('0x23')](_0x2ff317);return Array[_0x1d2f('0x1a')](_0x96bd0f);}(_0x5ca021[_0x1d2f('0x28')](),_0x545f33,_0x326575[_0x1d2f('0x3d')][_0x1d2f('0x12')]);_0x326575[_0x1d2f('0x3d')]['change'](()=>{for(const _0x3e0a8e of _0x417a7c)_0x39285a['markBlockFormat'](_0x3e0a8e,{'commandName':_0x5d7a0c,'commandParams':[{'forceValue':!_0x1b64a7[_0x1d2f('0x38')]}],'formatGroupId':_0x1d2f('0x33')},oe(_0x3e0a8e));});};}function _0x446aa3(_0x1b5508){return()=>{const _0x39b774=function(_0x24562c){let _0x4b3fab=Array['from'](_0x24562c);const _0x546a5f=_0x4b3fab[_0x1d2f('0x2a')](_0x50e428=>_0x1d2f('0x26')!=_0x50e428[_0x1d2f('0x8')]);return _0x546a5f>-0x1&&(_0x4b3fab=_0x4b3fab[_0x1d2f('0x31')](0x0,_0x546a5f)),_0x4b3fab;}(_0x326575['model'][_0x1d2f('0x7')][_0x1d2f('0x2f')][_0x1d2f('0x28')]()),_0x352c35=_0x326575['model'][_0x1d2f('0x4')](_0x326575['model']['createPositionAt'](_0x39b774[0x0],'before'),_0x326575[_0x1d2f('0x3d')]['createPositionAt'](_0x39b774[_0x39b774[_0x1d2f('0x37')]-0x1],_0x1d2f('0x34')));_0x326575[_0x1d2f('0x3d')]['change'](()=>{_0x39285a[_0x1d2f('0x1c')](_0x352c35,{'commandName':_0x1b5508,'commandParams':[],'formatGroupId':_0x1d2f('0x3b')},function(_0x4a3540){const _0x802279=new Set();for(const _0x8632ba of _0x4a3540){let _0x3d338d=_0x8632ba['nextSibling'];for(;_0x3d338d&&_0x3d338d[_0x1d2f('0xd')](_0x1d2f('0x3b'))>_0x8632ba[_0x1d2f('0xd')](_0x1d2f('0x3b'));)_0x802279[_0x1d2f('0x23')](_0x3d338d),_0x3d338d=_0x3d338d['nextSibling'];}return Array[_0x1d2f('0x1a')](_0x802279);}(_0x39b774));});};}_0x39285a['enableCommand'](_0x1d2f('0x21'),_0x378b47(_0x1d2f('0x21'))),_0x39285a[_0x1d2f('0x27')]('bulletedList',_0x378b47(_0x1d2f('0x2d'))),_0xc5a327&&_0x39285a['enableCommand'](_0x1d2f('0x17'),_0x378b47(_0x1d2f('0x17'))),_0x39285a['enableCommand'](_0x1d2f('0x1f'),_0x446aa3(_0x1d2f('0x1f'))),_0x39285a['enableCommand'](_0x1d2f('0x29'),_0x446aa3(_0x1d2f('0x29'))),_0xc5a327&&_0x39285a[_0x1d2f('0x27')](_0x1d2f('0x11'),()=>{const _0x312cf2=_0x326575[_0x1d2f('0x32')]['get'](_0x1d2f('0x11')),_0x47c26f=Array[_0x1d2f('0x1a')](_0x312cf2[_0x1d2f('0x9')]);_0x47c26f[_0x1d2f('0x6')](_0x17e943=>_0x17e943[_0x1d2f('0xd')]('todoListChecked')!=_0x312cf2[_0x1d2f('0x38')]),_0x326575[_0x1d2f('0x3d')][_0x1d2f('0x24')](()=>{for(const _0x490bed of _0x47c26f)_0x39285a[_0x1d2f('0x1c')](_0x490bed,{'commandName':_0x1d2f('0x11'),'commandParams':[{'forceValue':!_0x312cf2[_0x1d2f('0x38')]}]});});}),_0x39285a[_0x1d2f('0x18')][_0x1d2f('0x19')](_0x1d2f('0x26'),_0x10bb1d=>_0x587104(_0x1e8770,'ELEMENT_LIST_ITEM',_0x10bb1d)),_0x39285a['_descriptionFactory']['registerDescriptionCallback'](_0x10fd95=>{if('formatBlock'!=_0x10fd95[_0x1d2f('0x16')]&&_0x1d2f('0x2b')!=_0x10fd95['type'])return;const {data:_0x31a916}=_0x10fd95;if(_0x31a916){if(_0x1d2f('0x21')==_0x31a916[_0x1d2f('0x3a')]||_0x1d2f('0x2d')==_0x31a916[_0x1d2f('0x3a')]||'todoList'==_0x31a916['commandName'])switch(_0x31a916['commandName']['replace'](_0x1d2f('0xa'),'')){case _0x1d2f('0x2c'):return _0x4381cf(_0x587104(_0x1e8770,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4381cf(_0x587104(_0x1e8770,_0x1d2f('0x20')));case'todo':return _0x4381cf(_0x587104(_0x1e8770,_0x1d2f('0x39')));}if(_0x1d2f('0x1f')==_0x31a916[_0x1d2f('0x3a')])return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x35'),_0x587104(_0x1e8770,_0x1d2f('0x2e')))};if(_0x1d2f('0x29')==_0x31a916[_0x1d2f('0x3a')])return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x14'),_0x587104(_0x1e8770,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x31a916[_0x1d2f('0x3a')])return _0x31a916[_0x1d2f('0x5')][0x0][_0x1d2f('0x1e')]?{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x1'))}:{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x1d'))};}function _0x4381cf(_0x42588c){return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,'*Change\x20to:*\x20%0',_0x42588c)};}});}}function ne(_0x13e05a){const _0x2724db=_0x13e05a[_0x1d2f('0xd')]('listIndent');if(0x0==_0x2724db)return _0x13e05a;let _0x376d14=_0x13e05a;for(;_0x13e05a['previousSibling']&&_0x13e05a[_0x1d2f('0x10')]['is'](_0x1d2f('0x30'),'listItem');){const _0xfc7d91=_0x13e05a[_0x1d2f('0x10')][_0x1d2f('0xd')]('listIndent');if(_0xfc7d91==_0x2724db)_0x376d14=_0x13e05a['previousSibling'];else{if(_0xfc7d91<_0x2724db)break;}_0x13e05a=_0x13e05a['previousSibling'];}return _0x376d14;}function oe(_0x1e88a5){const _0x597cc8=[];if(_0x1e88a5['is'](_0x1d2f('0x30'),_0x1d2f('0x26'))&&_0x1e88a5[_0x1d2f('0xd')]('listIndent')>0x0){let _0xa139a0=_0x1e88a5[_0x1d2f('0x25')];for(;_0xa139a0&&_0x1d2f('0x26')==_0xa139a0[_0x1d2f('0x8')]&&_0xa139a0[_0x1d2f('0xd')](_0x1d2f('0x3b'))==_0x1e88a5[_0x1d2f('0xd')](_0x1d2f('0x3b'));)_0x597cc8['push'](_0xa139a0),_0xa139a0=_0xa139a0[_0x1d2f('0x25')];}return _0x597cc8;}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/listproperties
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import type { Description } from '../suggestiondescriptionfactory';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
11
|
-
/**
|
|
12
|
-
* Provides track changes plugin integration for list properties feature.
|
|
13
|
-
*/
|
|
14
|
-
export default class TrackChangesListProperties extends Plugin {
|
|
15
|
-
/**
|
|
16
|
-
* @inheritDoc
|
|
17
|
-
*/
|
|
18
|
-
afterInit(): void;
|
|
19
|
-
handleListStyleCommand(executeCommand: Function, options?: {
|
|
20
|
-
type?: string | null;
|
|
21
|
-
}): void;
|
|
22
|
-
handleListReversedCommand(executeCommand: Function, options?: {
|
|
23
|
-
reversed?: boolean;
|
|
24
|
-
}): void;
|
|
25
|
-
handleListStartCommand(executeCommand: Function, options?: {
|
|
26
|
-
startIndex?: number;
|
|
27
|
-
}): void;
|
|
28
|
-
handleDescriptions(suggestion: Suggestion): Description | undefined;
|
|
29
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/listproperties
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import type { Description } from '../suggestiondescriptionfactory';
|
|
10
|
+
import type Suggestion from '../suggestion';
|
|
11
|
+
/**
|
|
12
|
+
* Provides track changes plugin integration for list properties feature.
|
|
13
|
+
*/
|
|
14
|
+
export default class TrackChangesListProperties extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
afterInit(): void;
|
|
19
|
+
handleListStyleCommand(executeCommand: Function, options?: {
|
|
20
|
+
type?: string | null;
|
|
21
|
+
}): void;
|
|
22
|
+
handleListReversedCommand(executeCommand: Function, options?: {
|
|
23
|
+
reversed?: boolean;
|
|
24
|
+
}): void;
|
|
25
|
+
handleListStartCommand(executeCommand: Function, options?: {
|
|
26
|
+
startIndex?: number;
|
|
27
|
+
}): void;
|
|
28
|
+
handleDescriptions(suggestion: Suggestion): Description | undefined;
|
|
29
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3543=['flat','backward','ListUtils','startIndex','getFirstPosition','document','*Format:*\x20set\x20start\x20index\x20to\x20%0','_getSuggestionBlocksForListStyle','forward','getSelectedBlocks','listType','filter','parent','commandParams','getAttribute','createRange','length','styles','handleListReversedCommand','locale','formatInline','getLastPosition','unshift','push','listStart','plugins','reversed','toUpperCase','ELEMENT_','getListTypeFromListStyleType','markMultiRangeBlockFormat','before','numbered','*Format:*\x20set\x20order\x20to\x20reversed','_descriptionFactory','_LIST_','afterInit','type','handleListStartCommand','map','element','handleListStyleCommand','format','enableCommand','replace','list.properties','*Change\x20to:*\x20%0','model','registerDescriptionCallback','from','formatBlock','listItem','listStyle','bind','selection','commandName','editor','_getTranslationKeyForListStyle','change','TrackChangesEditing','get','handleDescriptions','listReversed','getSiblingNodes','_getSuggestionBlocks','has','createPositionAt'];(function(_0x429aa6,_0x35433c){const _0x2d1bd0=function(_0x5f3674){while(--_0x5f3674){_0x429aa6['push'](_0x429aa6['shift']());}};_0x2d1bd0(++_0x35433c);}(_0x3543,0x17c));const _0x2d1b=function(_0x429aa6,_0x35433c){_0x429aa6=_0x429aa6-0x0;let _0x2d1bd0=_0x3543[_0x429aa6];return _0x2d1bd0;};import{Plugin as _0x80a917}from'ckeditor5/src/core';import{getTranslation as _0x1c1e2f}from'../utils/common-translations';export default class ut extends _0x80a917{[_0x2d1b('0x3a')](){if(!this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0x14')]('ListPropertiesEditing'))return;const _0x35ee18=this[_0x2d1b('0xb')]['config'][_0x2d1b('0xf')](_0x2d1b('0x0')),_0x281c4a=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing');_0x35ee18[_0x2d1b('0x27')]&&_0x281c4a[_0x2d1b('0x41')]('listStyle',this[_0x2d1b('0x3f')][_0x2d1b('0x8')](this)),_0x35ee18[_0x2d1b('0x30')]&&_0x281c4a[_0x2d1b('0x41')](_0x2d1b('0x11'),this[_0x2d1b('0x28')]['bind'](this)),_0x35ee18['startIndex']&&_0x281c4a[_0x2d1b('0x41')](_0x2d1b('0x2e'),this[_0x2d1b('0x3c')][_0x2d1b('0x8')](this)),_0x281c4a[_0x2d1b('0x38')][_0x2d1b('0x3')](this[_0x2d1b('0x10')][_0x2d1b('0x8')](this));}['handleListStyleCommand'](_0x5d25c0,_0x52b4d7={}){const _0x56b5e4=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')](_0x2d1b('0xe')),_0x157556=this[_0x2d1b('0x1d')]();this['editor'][_0x2d1b('0x2')][_0x2d1b('0xd')](()=>{_0x56b5e4[_0x2d1b('0x34')](_0x157556,{'commandName':_0x2d1b('0x7'),'commandParams':[{'type':_0x52b4d7['type']}],'formatGroupId':_0x2d1b('0x7')});});}['handleListReversedCommand'](_0x5e29ca,_0x595def={}){const _0x429865=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing'),_0x5e8afa=this[_0x2d1b('0x13')](_0x1bb27e=>_0x1bb27e['is'](_0x2d1b('0x3e'),_0x2d1b('0x6'))&&_0x2d1b('0x36')===_0x1bb27e[_0x2d1b('0x24')]('listType'));if(_0x5e8afa['length']<0x1)return;const _0x3cba7f=_0x5e8afa[_0x2d1b('0x3d')](_0x5853ed=>this[_0x2d1b('0xb')]['model'][_0x2d1b('0x25')](this['editor']['model'][_0x2d1b('0x15')](_0x5853ed,'before'),this[_0x2d1b('0xb')]['model'][_0x2d1b('0x15')](_0x5853ed,0x0)));this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0xd')](()=>{_0x429865[_0x2d1b('0x34')](_0x3cba7f,{'commandName':_0x2d1b('0x11'),'commandParams':[{'reversed':_0x595def['reversed']}],'formatGroupId':_0x2d1b('0x11')});});}[_0x2d1b('0x3c')](_0x29d305,_0x3f7151={}){const _0x290620=this['editor'][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing'),_0x342200=this[_0x2d1b('0x13')](_0x2c1a04=>_0x2c1a04['is'](_0x2d1b('0x3e'),_0x2d1b('0x6'))&&'numbered'===_0x2c1a04[_0x2d1b('0x24')](_0x2d1b('0x20')));if(_0x342200[_0x2d1b('0x26')]<0x1)return;const _0x396c1d=_0x342200[_0x2d1b('0x3d')](_0x596756=>this[_0x2d1b('0xb')]['model'][_0x2d1b('0x25')](this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0x15')](_0x596756,_0x2d1b('0x35')),this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0x15')](_0x596756,0x0)));this['editor'][_0x2d1b('0x2')]['change'](()=>{_0x290620['markMultiRangeBlockFormat'](_0x396c1d,{'commandName':_0x2d1b('0x2e'),'commandParams':[{'startIndex':_0x3f7151[_0x2d1b('0x19')]}],'formatGroupId':_0x2d1b('0x2e')});});}[_0x2d1b('0x10')](_0x32bfc4){if(_0x2d1b('0x5')!=_0x32bfc4[_0x2d1b('0x3b')]&&_0x2d1b('0x2a')!=_0x32bfc4[_0x2d1b('0x3b')])return;const _0x1ace60=this['editor'][_0x2d1b('0x29')],{data:_0x78995a}=_0x32bfc4;if(!_0x78995a)return;let _0x38ab35,_0x218b64;switch(_0x78995a[_0x2d1b('0xa')]){case'listStyle':_0x38ab35=_0x2d1b('0x1'),_0x218b64={'type':_0x2d1b('0x40'),'content':_0x1c1e2f(_0x1ace60,_0x38ab35,_0x1c1e2f(_0x1ace60,this[_0x2d1b('0xc')](_0x78995a[_0x2d1b('0x23')][0x0][_0x2d1b('0x3b')])))};break;case'listReversed':_0x38ab35=_0x78995a['commandParams'][0x0][_0x2d1b('0x30')]?_0x2d1b('0x37'):'*Format:*\x20set\x20order\x20to\x20regular',_0x218b64={'type':'format','content':_0x1c1e2f(_0x1ace60,_0x38ab35)};break;case'listStart':_0x38ab35=_0x2d1b('0x1c'),_0x218b64={'type':_0x2d1b('0x40'),'content':_0x1c1e2f(_0x1ace60,_0x38ab35,_0x78995a[_0x2d1b('0x23')][0x0][_0x2d1b('0x19')])};}return _0x218b64;}[_0x2d1b('0x1d')](){var _0x4e0f8e,_0x1a923c,_0x59a10a,_0x829d83;const _0x14c398=this[_0x2d1b('0xb')][_0x2d1b('0x2f')]['get'](_0x2d1b('0x18'));let _0x57b07a=Array[_0x2d1b('0x4')](this[_0x2d1b('0xb')][_0x2d1b('0x2')]['document']['selection']['getSelectedBlocks']());return(null===(_0x4e0f8e=_0x57b07a[0x0])||void 0x0===_0x4e0f8e?void 0x0:_0x4e0f8e['is'](_0x2d1b('0x3e'),_0x2d1b('0x6')))&&_0x57b07a[_0x2d1b('0x2c')](..._0x14c398[_0x2d1b('0x12')](this[_0x2d1b('0xb')]['model'][_0x2d1b('0x1b')][_0x2d1b('0x9')][_0x2d1b('0x1a')](),_0x2d1b('0x17'))),(null===(_0x1a923c=_0x57b07a[_0x57b07a[_0x2d1b('0x26')]-0x1])||void 0x0===_0x1a923c?void 0x0:_0x1a923c['is'](_0x2d1b('0x3e'),'listItem'))&&_0x57b07a[_0x2d1b('0x2d')](..._0x14c398[_0x2d1b('0x12')](this[_0x2d1b('0xb')][_0x2d1b('0x2')]['document'][_0x2d1b('0x9')][_0x2d1b('0x2b')](),_0x2d1b('0x1e'))),_0x57b07a=[...new Set(_0x57b07a)],(null===(_0x829d83=null===(_0x59a10a=this['editor'][_0x2d1b('0x2')]['document'][_0x2d1b('0x9')]['getFirstPosition']())||void 0x0===_0x59a10a?void 0x0:_0x59a10a[_0x2d1b('0x22')])||void 0x0===_0x829d83?void 0x0:_0x829d83['is'](_0x2d1b('0x3e'),'listItem'))&&(_0x57b07a=_0x57b07a[_0x2d1b('0x21')](_0x267870=>_0x267870['is'](_0x2d1b('0x3e'),_0x2d1b('0x6')))),_0x57b07a;}['_getSuggestionBlocks'](_0x4e818b){const _0x2941ff=this['editor'][_0x2d1b('0x2f')][_0x2d1b('0xf')](_0x2d1b('0x18'));let _0x4da7f0=Array[_0x2d1b('0x4')](this['editor'][_0x2d1b('0x2')][_0x2d1b('0x1b')]['selection'][_0x2d1b('0x1f')]())['filter'](_0x4e818b)[_0x2d1b('0x3d')](_0x1cac03=>{const _0x3e842d=this[_0x2d1b('0xb')]['model'][_0x2d1b('0x15')](_0x1cac03,0x0);return[..._0x2941ff['getSiblingNodes'](_0x3e842d,_0x2d1b('0x17')),..._0x2941ff[_0x2d1b('0x12')](_0x3e842d,_0x2d1b('0x1e'))];})[_0x2d1b('0x16')]();return _0x4da7f0=[...new Set(_0x4da7f0)],_0x4da7f0;}['_getTranslationKeyForListStyle'](_0x5ecb4f){return _0x2d1b('0x32')+this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('ListUtils')[_0x2d1b('0x33')](_0x5ecb4f)[_0x2d1b('0x31')]()+_0x2d1b('0x39')+_0x5ecb4f[_0x2d1b('0x31')]()[_0x2d1b('0x42')](/-/g,'_');}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/mediaembed
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesMediaEmbed extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/mediaembed
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesMediaEmbed extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbac9=['editor','createEmptyElement','mediaEmbed','_descriptionFactory','TrackChangesEditing','dataDowncast','locale','media','enableCommand','registerElementLabel','get','div','ELEMENT_MEDIA','data','high','attribute:url:media','downcastDispatcher','stop','has','afterInit','showSuggestionHighlights','elementToElement','plugins','conversion'];(function(_0x228cfc,_0xbac94e){const _0x4dc7dc=function(_0x2a9492){while(--_0x2a9492){_0x228cfc['push'](_0x228cfc['shift']());}};_0x4dc7dc(++_0xbac94e);}(_0xbac9,0xf5));const _0x4dc7=function(_0x228cfc,_0xbac94e){_0x228cfc=_0x228cfc-0x0;let _0x4dc7dc=_0xbac9[_0x228cfc];return _0x4dc7dc;};import{Plugin as _0xb0def8}from'ckeditor5/src/core';import{getTranslation as _0xe9bd26}from'../utils/common-translations';export default class ht extends _0xb0def8{[_0x4dc7('0xe')](){const _0x17016c=this[_0x4dc7('0x13')];if(!_0x17016c['plugins'][_0x4dc7('0xd')]('MediaEmbedEditing'))return;const _0x1ccf2a=_0x17016c[_0x4dc7('0x11')][_0x4dc7('0x5')](_0x4dc7('0x17')),_0x267176=_0x17016c[_0x4dc7('0x1')];_0x1ccf2a[_0x4dc7('0x3')](_0x4dc7('0x15')),_0x1ccf2a[_0x4dc7('0x16')][_0x4dc7('0x4')](_0x4dc7('0x2'),_0x473eec=>_0xe9bd26(_0x267176,_0x4dc7('0x7'),_0x473eec)),_0x17016c[_0x4dc7('0x12')]['for'](_0x4dc7('0x0'))[_0x4dc7('0x10')]({'model':_0x4dc7('0x2'),'view':(_0x1a820f,{writer:_0x36d563,options:_0x7111f4})=>{if(_0x7111f4[_0x4dc7('0xf')])return _0x36d563[_0x4dc7('0x14')](_0x4dc7('0x6'));},'converterPriority':_0x4dc7('0x9')}),_0x17016c[_0x4dc7('0x8')][_0x4dc7('0xb')]['on'](_0x4dc7('0xa'),(_0x14b1cf,_0xcf4915,_0x20b3ab)=>{_0x20b3ab['options']['showSuggestionHighlights']&&_0x14b1cf[_0x4dc7('0xc')]();},{'priority':_0x4dc7('0x9')});}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/mention
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for mention feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesMention extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/mention
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for mention feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesMention extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f04=['TrackChangesEditing','MentionEditing','plugins','enableCommand','has','afterInit','mention'];(function(_0x22561d,_0x1f0435){const _0x38b8e8=function(_0x409b98){while(--_0x409b98){_0x22561d['push'](_0x22561d['shift']());}};_0x38b8e8(++_0x1f0435);}(_0x1f04,0xf4));const _0x38b8=function(_0x22561d,_0x1f0435){_0x22561d=_0x22561d-0x0;let _0x38b8e8=_0x1f04[_0x22561d];return _0x38b8e8;};import{Plugin as _0xdd8bc9}from'ckeditor5/src/core';export default class ft extends _0xdd8bc9{[_0x38b8('0x6')](){const _0x33f471=this['editor'];_0x33f471[_0x38b8('0x3')][_0x38b8('0x5')](_0x38b8('0x2'))&&_0x33f471[_0x38b8('0x3')]['get'](_0x38b8('0x1'))[_0x38b8('0x4')](_0x38b8('0x0'));}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/pagebreak
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesPageBreak extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/pagebreak
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesPageBreak extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f14=['PageBreakEditing','registerElementLabel','has','enableCommand','plugins','afterInit','TrackChangesEditing','ELEMENT_PAGE_BREAK','get','editor','locale'];(function(_0x331588,_0x4f14bb){const _0x26ce3d=function(_0x3c3484){while(--_0x3c3484){_0x331588['push'](_0x331588['shift']());}};_0x26ce3d(++_0x4f14bb);}(_0x4f14,0x13a));const _0x26ce=function(_0x331588,_0x4f14bb){_0x331588=_0x331588-0x0;let _0x26ce3d=_0x4f14[_0x331588];return _0x26ce3d;};import{Plugin as _0x39c30a}from'ckeditor5/src/core';import{getTranslation as _0x51e2a3}from'../utils/common-translations';export default class gt extends _0x39c30a{[_0x26ce('0xa')](){const _0x459af5=this[_0x26ce('0x3')];if(!_0x459af5[_0x26ce('0x9')][_0x26ce('0x7')](_0x26ce('0x5')))return;_0x459af5[_0x26ce('0x9')]['get'](_0x26ce('0x0'))[_0x26ce('0x8')]('pageBreak');const _0x4e7183=_0x459af5[_0x26ce('0x9')][_0x26ce('0x2')]('TrackChangesEditing'),_0x3f5f7a=_0x459af5[_0x26ce('0x4')];_0x4e7183['_descriptionFactory'][_0x26ce('0x6')]('pageBreak',_0x22bd25=>_0x51e2a3(_0x3f5f7a,_0x26ce('0x1'),_0x22bd25));}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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/paragraph
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for paragraph feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesParagraph extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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/paragraph
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for paragraph feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesParagraph extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|