@ckeditor/ckeditor5-track-changes 41.3.1 → 41.4.0-alpha.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.
Files changed (238) hide show
  1. package/build/track-changes.js +1 -1
  2. package/dist/index-content.css +4 -0
  3. package/dist/index-editor.css +4 -0
  4. package/dist/index.css +4 -0
  5. package/dist/index.js +23 -0
  6. package/dist/translations/ar.d.ts +8 -0
  7. package/dist/translations/ar.js +23 -0
  8. package/dist/translations/az.d.ts +8 -0
  9. package/dist/translations/az.js +23 -0
  10. package/dist/translations/bg.d.ts +8 -0
  11. package/dist/translations/bg.js +23 -0
  12. package/dist/translations/bn.d.ts +8 -0
  13. package/dist/translations/bn.js +23 -0
  14. package/dist/translations/ca.d.ts +8 -0
  15. package/dist/translations/ca.js +23 -0
  16. package/dist/translations/cs.d.ts +8 -0
  17. package/dist/translations/cs.js +23 -0
  18. package/dist/translations/da.d.ts +8 -0
  19. package/dist/translations/da.js +23 -0
  20. package/dist/translations/de.d.ts +8 -0
  21. package/dist/translations/de.js +23 -0
  22. package/dist/translations/el.d.ts +8 -0
  23. package/dist/translations/el.js +23 -0
  24. package/dist/translations/en-au.d.ts +8 -0
  25. package/dist/translations/en-au.js +23 -0
  26. package/dist/translations/en.d.ts +8 -0
  27. package/dist/translations/en.js +23 -0
  28. package/dist/translations/es.d.ts +8 -0
  29. package/dist/translations/es.js +23 -0
  30. package/dist/translations/et.d.ts +8 -0
  31. package/dist/translations/et.js +23 -0
  32. package/dist/translations/fi.d.ts +8 -0
  33. package/dist/translations/fi.js +23 -0
  34. package/dist/translations/fr.d.ts +8 -0
  35. package/dist/translations/fr.js +23 -0
  36. package/dist/translations/gl.d.ts +8 -0
  37. package/dist/translations/gl.js +23 -0
  38. package/dist/translations/he.d.ts +8 -0
  39. package/dist/translations/he.js +23 -0
  40. package/dist/translations/hi.d.ts +8 -0
  41. package/dist/translations/hi.js +23 -0
  42. package/dist/translations/hr.d.ts +8 -0
  43. package/dist/translations/hr.js +23 -0
  44. package/dist/translations/hu.d.ts +8 -0
  45. package/dist/translations/hu.js +23 -0
  46. package/dist/translations/id.d.ts +8 -0
  47. package/dist/translations/id.js +23 -0
  48. package/dist/translations/it.d.ts +8 -0
  49. package/dist/translations/it.js +23 -0
  50. package/dist/translations/ja.d.ts +8 -0
  51. package/dist/translations/ja.js +23 -0
  52. package/dist/translations/ko.d.ts +8 -0
  53. package/dist/translations/ko.js +23 -0
  54. package/dist/translations/lt.d.ts +8 -0
  55. package/dist/translations/lt.js +23 -0
  56. package/dist/translations/lv.d.ts +8 -0
  57. package/dist/translations/lv.js +23 -0
  58. package/dist/translations/ms.d.ts +8 -0
  59. package/dist/translations/ms.js +23 -0
  60. package/dist/translations/nl.d.ts +8 -0
  61. package/dist/translations/nl.js +23 -0
  62. package/dist/translations/no.d.ts +8 -0
  63. package/dist/translations/no.js +23 -0
  64. package/dist/translations/pl.d.ts +8 -0
  65. package/dist/translations/pl.js +23 -0
  66. package/dist/translations/pt-br.d.ts +8 -0
  67. package/dist/translations/pt-br.js +23 -0
  68. package/dist/translations/pt.d.ts +8 -0
  69. package/dist/translations/pt.js +23 -0
  70. package/dist/translations/ro.d.ts +8 -0
  71. package/dist/translations/ro.js +23 -0
  72. package/dist/translations/ru.d.ts +8 -0
  73. package/dist/translations/ru.js +23 -0
  74. package/dist/translations/sk.d.ts +8 -0
  75. package/dist/translations/sk.js +23 -0
  76. package/dist/translations/sq.d.ts +8 -0
  77. package/dist/translations/sq.js +23 -0
  78. package/dist/translations/sr-latn.d.ts +8 -0
  79. package/dist/translations/sr-latn.js +23 -0
  80. package/dist/translations/sr.d.ts +8 -0
  81. package/dist/translations/sr.js +23 -0
  82. package/dist/translations/sv.d.ts +8 -0
  83. package/dist/translations/sv.js +23 -0
  84. package/dist/translations/th.d.ts +8 -0
  85. package/dist/translations/th.js +23 -0
  86. package/dist/translations/tk.d.ts +8 -0
  87. package/dist/translations/tk.js +23 -0
  88. package/dist/translations/tr.d.ts +8 -0
  89. package/dist/translations/tr.js +23 -0
  90. package/dist/translations/tt.d.ts +8 -0
  91. package/dist/translations/tt.js +23 -0
  92. package/dist/translations/uk.d.ts +8 -0
  93. package/dist/translations/uk.js +23 -0
  94. package/dist/translations/ur.d.ts +8 -0
  95. package/dist/translations/ur.js +23 -0
  96. package/dist/translations/vi.d.ts +8 -0
  97. package/dist/translations/vi.js +23 -0
  98. package/dist/translations/zh-cn.d.ts +8 -0
  99. package/dist/translations/zh-cn.js +23 -0
  100. package/dist/translations/zh.d.ts +8 -0
  101. package/dist/translations/zh.js +23 -0
  102. package/dist/types/augmentation.d.ts +44 -0
  103. package/dist/types/commands/acceptsuggestioncommand.d.ts +28 -0
  104. package/dist/types/commands/discardsuggestioncommand.d.ts +28 -0
  105. package/dist/types/commands/executeonallsuggestionscommand.d.ts +28 -0
  106. package/dist/types/commands/executeonselectedsuggestionscommand.d.ts +28 -0
  107. package/dist/types/commands/trackchangescommand.d.ts +30 -0
  108. package/dist/types/index.d.ts +20 -0
  109. package/dist/types/integrations/aiassistant.d.ts +21 -0
  110. package/dist/types/integrations/alignment.d.ts +21 -0
  111. package/dist/types/integrations/basicstyles.d.ts +21 -0
  112. package/dist/types/integrations/blockquote.d.ts +21 -0
  113. package/dist/types/integrations/casechange.d.ts +21 -0
  114. package/dist/types/integrations/ckbox.d.ts +21 -0
  115. package/dist/types/integrations/codeblock.d.ts +21 -0
  116. package/dist/types/integrations/comments.d.ts +18 -0
  117. package/dist/types/integrations/deletecommand.d.ts +21 -0
  118. package/dist/types/integrations/entercommand.d.ts +20 -0
  119. package/dist/types/integrations/findandreplace.d.ts +25 -0
  120. package/dist/types/integrations/font.d.ts +21 -0
  121. package/dist/types/integrations/formatpainter.d.ts +21 -0
  122. package/dist/types/integrations/heading.d.ts +21 -0
  123. package/dist/types/integrations/highlight.d.ts +21 -0
  124. package/dist/types/integrations/horizontalline.d.ts +21 -0
  125. package/dist/types/integrations/htmlembed.d.ts +21 -0
  126. package/dist/types/integrations/image.d.ts +21 -0
  127. package/dist/types/integrations/imagereplace.d.ts +21 -0
  128. package/dist/types/integrations/imagestyle.d.ts +21 -0
  129. package/dist/types/integrations/importword.d.ts +22 -0
  130. package/dist/types/integrations/indent.d.ts +21 -0
  131. package/dist/types/integrations/inputcommand.d.ts +20 -0
  132. package/dist/types/integrations/legacylist.d.ts +21 -0
  133. package/dist/types/integrations/legacylistproperties.d.ts +33 -0
  134. package/dist/types/integrations/link.d.ts +21 -0
  135. package/dist/types/integrations/list.d.ts +21 -0
  136. package/dist/types/integrations/listproperties.d.ts +24 -0
  137. package/dist/types/integrations/mediaembed.d.ts +21 -0
  138. package/dist/types/integrations/mention.d.ts +21 -0
  139. package/dist/types/integrations/multilevellist.d.ts +28 -0
  140. package/dist/types/integrations/pagebreak.d.ts +21 -0
  141. package/dist/types/integrations/paragraph.d.ts +21 -0
  142. package/dist/types/integrations/removeformat.d.ts +21 -0
  143. package/dist/types/integrations/restrictededitingmode.d.ts +21 -0
  144. package/dist/types/integrations/shiftentercommand.d.ts +20 -0
  145. package/dist/types/integrations/standardeditingmode.d.ts +21 -0
  146. package/dist/types/integrations/style.d.ts +21 -0
  147. package/dist/types/integrations/table.d.ts +46 -0
  148. package/dist/types/integrations/tablecaption.d.ts +26 -0
  149. package/dist/types/integrations/tableclipboard.d.ts +23 -0
  150. package/dist/types/integrations/tablecolumnresize.d.ts +30 -0
  151. package/dist/types/integrations/tableheadings.d.ts +26 -0
  152. package/dist/types/integrations/tablemergesplit.d.ts +26 -0
  153. package/dist/types/integrations/tableofcontents.d.ts +21 -0
  154. package/dist/types/integrations/tableproperties.d.ts +31 -0
  155. package/dist/types/integrations/template.d.ts +21 -0
  156. package/dist/types/integrations/title.d.ts +21 -0
  157. package/dist/types/integrations/undo.d.ts +21 -0
  158. package/dist/types/integrations/utils.d.ts +25 -0
  159. package/dist/types/suggestion.d.ts +295 -0
  160. package/dist/types/suggestiondescriptionfactory.d.ts +187 -0
  161. package/dist/types/trackchanges.d.ts +184 -0
  162. package/dist/types/trackchangesconfig.d.ts +82 -0
  163. package/dist/types/trackchangesdata.d.ts +45 -0
  164. package/dist/types/trackchangesediting.d.ts +530 -0
  165. package/dist/types/trackchangesui.d.ts +42 -0
  166. package/dist/types/ui/suggestioncontroller.d.ts +41 -0
  167. package/dist/types/ui/view/basesuggestionthreadview.d.ts +174 -0
  168. package/dist/types/ui/view/suggestionthreadview.d.ts +186 -0
  169. package/dist/types/utils/common-translations.d.ts +13 -0
  170. package/dist/types/utils/utils.d.ts +34 -0
  171. package/package.json +4 -3
  172. package/src/commands/acceptsuggestioncommand.js +1 -1
  173. package/src/commands/discardsuggestioncommand.js +1 -1
  174. package/src/commands/executeonallsuggestionscommand.js +1 -1
  175. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  176. package/src/commands/trackchangescommand.js +1 -1
  177. package/src/index.js +1 -1
  178. package/src/integrations/aiassistant.js +1 -1
  179. package/src/integrations/alignment.js +1 -1
  180. package/src/integrations/basicstyles.js +1 -1
  181. package/src/integrations/blockquote.js +1 -1
  182. package/src/integrations/casechange.js +1 -1
  183. package/src/integrations/ckbox.js +1 -1
  184. package/src/integrations/codeblock.js +1 -1
  185. package/src/integrations/comments.js +1 -1
  186. package/src/integrations/deletecommand.js +1 -1
  187. package/src/integrations/entercommand.js +1 -1
  188. package/src/integrations/findandreplace.js +1 -1
  189. package/src/integrations/font.js +1 -1
  190. package/src/integrations/formatpainter.js +1 -1
  191. package/src/integrations/heading.js +1 -1
  192. package/src/integrations/highlight.js +1 -1
  193. package/src/integrations/horizontalline.js +1 -1
  194. package/src/integrations/htmlembed.js +1 -1
  195. package/src/integrations/image.js +1 -1
  196. package/src/integrations/imagereplace.js +1 -1
  197. package/src/integrations/imagestyle.js +1 -1
  198. package/src/integrations/importword.js +1 -1
  199. package/src/integrations/indent.js +1 -1
  200. package/src/integrations/inputcommand.js +1 -1
  201. package/src/integrations/legacylist.js +1 -1
  202. package/src/integrations/legacylistproperties.js +1 -1
  203. package/src/integrations/link.js +1 -1
  204. package/src/integrations/list.js +1 -1
  205. package/src/integrations/listproperties.js +1 -1
  206. package/src/integrations/mediaembed.js +1 -1
  207. package/src/integrations/mention.js +1 -1
  208. package/src/integrations/multilevellist.js +1 -1
  209. package/src/integrations/pagebreak.js +1 -1
  210. package/src/integrations/paragraph.js +1 -1
  211. package/src/integrations/removeformat.js +1 -1
  212. package/src/integrations/restrictededitingmode.js +1 -1
  213. package/src/integrations/shiftentercommand.js +1 -1
  214. package/src/integrations/standardeditingmode.js +1 -1
  215. package/src/integrations/style.js +1 -1
  216. package/src/integrations/table.js +1 -1
  217. package/src/integrations/tablecaption.js +1 -1
  218. package/src/integrations/tableclipboard.js +1 -1
  219. package/src/integrations/tablecolumnresize.js +1 -1
  220. package/src/integrations/tableheadings.js +1 -1
  221. package/src/integrations/tablemergesplit.js +1 -1
  222. package/src/integrations/tableofcontents.js +1 -1
  223. package/src/integrations/tableproperties.js +1 -1
  224. package/src/integrations/template.js +1 -1
  225. package/src/integrations/title.js +1 -1
  226. package/src/integrations/undo.js +1 -1
  227. package/src/integrations/utils.js +1 -1
  228. package/src/suggestion.js +1 -1
  229. package/src/suggestiondescriptionfactory.js +1 -1
  230. package/src/trackchanges.js +1 -1
  231. package/src/trackchangesdata.js +1 -1
  232. package/src/trackchangesediting.js +1 -1
  233. package/src/trackchangesui.js +1 -1
  234. package/src/ui/suggestioncontroller.js +1 -1
  235. package/src/ui/view/basesuggestionthreadview.js +1 -1
  236. package/src/ui/view/suggestionthreadview.js +1 -1
  237. package/src/utils/common-translations.js +1 -1
  238. package/src/utils/utils.js +1 -1
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/mediaembed
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
15
+ */
16
+ export default class TrackChangesMediaEmbed extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/mention
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for mention feature.
15
+ */
16
+ export default class TrackChangesMention extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,28 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/multilevellist
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import type Suggestion from '../suggestion.js';
14
+ import type { Description } from '../suggestiondescriptionfactory.js';
15
+ /**
16
+ * Provides track changes plugin integration for multi-level list feature.
17
+ */
18
+ export default class TrackChangesMultiLevelList extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ afterInit(): void;
23
+ /**
24
+ * Returns a custom description for a suggestion in case of adding or removing `listMarkerStyle` attribute.
25
+ * Returns an empty description if the change is already covered by a `listType` attribute suggestion.
26
+ */
27
+ handleDescriptions(suggestion: Suggestion): Description | undefined;
28
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/pagebreak
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
15
+ */
16
+ export default class TrackChangesPageBreak extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/paragraph
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for paragraph feature.
15
+ */
16
+ export default class TrackChangesParagraph extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/removeformat
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for remove format feature.
15
+ */
16
+ export default class TrackChangesRemoveFormat extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/mention
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
15
+ */
16
+ export default class TrackChangesRestrictedEditingMode extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,20 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/shiftentercommand
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import { ShiftEnter } from 'ckeditor5/src/enter.js';
14
+ /**
15
+ * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
16
+ */
17
+ export default class TrackChangesShiftEnterCommand extends Plugin {
18
+ static get requires(): readonly [typeof ShiftEnter];
19
+ init(): void;
20
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/mention
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for standard editing mode feature from restricted editing package.
15
+ */
16
+ export default class TrackChangesStandardEditingMode extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/style
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for styles dropdown feature.
15
+ */
16
+ export default class TrackChangesStylesDropdown extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,46 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/table
11
+ */
12
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature}.
15
+ */
16
+ export default class TrackChangesTable extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ constructor(editor: Editor);
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ afterInit(): void;
25
+ }
26
+ /**
27
+ * Coordinates for suggestion.
28
+ */
29
+ export interface SuggestionCoordinates {
30
+ /**
31
+ * Index of the row at which the suggestion starts.
32
+ */
33
+ minRow: number;
34
+ /**
35
+ * Index of the row at which the suggestion ends.
36
+ */
37
+ maxRow: number;
38
+ /**
39
+ * Index of the column at which the suggestion starts.
40
+ */
41
+ minColumn: number;
42
+ /**
43
+ * Index of the column at which the suggestion ends.
44
+ */
45
+ maxColumn: number;
46
+ }
@@ -0,0 +1,26 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/tablecaption
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import TrackChangesTable from './table.js';
14
+ /**
15
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
16
+ */
17
+ export default class TrackChangesTableCaption extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): readonly [typeof TrackChangesTable];
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ afterInit(): void;
26
+ }
@@ -0,0 +1,23 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import TrackChangesTable from './table.js';
11
+ /**
12
+ * Provides track changes plugin integration for {@link module:table/tableclipboard~TableClipboard table clipboard feature}.
13
+ */
14
+ export default class TrackChangesTableClipboard extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): readonly [typeof TrackChangesTable];
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ afterInit(): void;
23
+ }
@@ -0,0 +1,30 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/tablecolumnresize
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import type { Element } from 'ckeditor5/src/engine.js';
14
+ import type Suggestion from '../suggestion.js';
15
+ import type { Description } from '../suggestiondescriptionfactory.js';
16
+ /**
17
+ * Provides track changes plugin integration for table column resize feature.
18
+ */
19
+ export default class TrackChangesTableColumnResize extends Plugin {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ afterInit(): void;
24
+ handleResizeTableWidthCommand(executeCommand: Function, options: {
25
+ table?: Element;
26
+ tableWidth?: string;
27
+ columnWidths?: string;
28
+ }): void;
29
+ handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
30
+ }
@@ -0,0 +1,26 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/tableheadings
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import TrackChangesTable from './table.js';
14
+ /**
15
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature} heading rows/columns.
16
+ */
17
+ export default class TrackChangesTableHeadings extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): readonly [typeof TrackChangesTable];
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ afterInit(): void;
26
+ }
@@ -0,0 +1,26 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/tablemergesplit
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import TrackChangesTable from './table.js';
14
+ /**
15
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature} merging and splitting cells.
16
+ */
17
+ export default class TrackChangesTableMergeSplit extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): readonly [typeof TrackChangesTable];
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ afterInit(): void;
26
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/tableofcontents
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for the Table of contents feature.
15
+ */
16
+ export default class TrackChangesTableOfContents extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,31 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/tableproperties
11
+ */
12
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
+ import type { Range } from 'ckeditor5/src/engine.js';
14
+ import type { default as Suggestion } from '../suggestion.js';
15
+ import type { Description } from '../suggestiondescriptionfactory.js';
16
+ /**
17
+ * Provides track changes plugin integration for table properties feature.
18
+ */
19
+ export default class TrackChangesTableProperties extends Plugin {
20
+ constructor(editor: Editor);
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get pluginName(): "TrackChangesTableProperties";
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ afterInit(): void;
29
+ handleDiscardAction(properties: Array<string>, ranges: Array<Range>, data: any): void;
30
+ handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
31
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/template
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for template feature.
15
+ */
16
+ export default class TrackChangesTemplate extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/title
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for title feature.
15
+ */
16
+ export default class TrackChangesTitle extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,21 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/integrations/undo
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides track changes plugin integration for {@link module:undo/undo~Undo undo feature}.
15
+ */
16
+ export default class TrackChangesUndo extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
@@ -0,0 +1,25 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
+ import type { Range, Model, Element, DowncastAddMarkerEvent } from 'ckeditor5/src/engine.js';
11
+ import type { GetCallback } from 'ckeditor5/src/utils.js';
12
+ /**
13
+ * Searches given `range` and returns all sub-ranges containing items with given `attributeKey`.
14
+ */
15
+ export declare function getRangesWithAttribute(attributeKey: string, range: Range, model: Model): Array<Range>;
16
+ /**
17
+ * For given `element`, if it is a list item, returns all list items that would be affected by renaming `element` to a different element.
18
+ */
19
+ export declare function getElementsAffectedByListItemRename(element: Element): Array<Element>;
20
+ /**
21
+ * Returns the conversion function for down-casting split/merge markers.
22
+ */
23
+ export declare function downcastSplitMergeMarker(editor: Editor, type: 'split' | 'merge', { showActiveMarker }?: {
24
+ showActiveMarker?: boolean | undefined;
25
+ }): GetCallback<DowncastAddMarkerEvent>;