@ckeditor/ckeditor5-table 40.1.0 → 41.0.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 (240) hide show
  1. package/CHANGELOG.md +19 -19
  2. package/LICENSE.md +1 -1
  3. package/build/table.js +2 -2
  4. package/ckeditor5-metadata.json +1 -1
  5. package/lang/translations/ar.po +1 -1
  6. package/lang/translations/az.po +1 -1
  7. package/lang/translations/bg.po +1 -1
  8. package/lang/translations/bn.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de-ch.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en-gb.po +1 -1
  17. package/lang/translations/en.po +1 -1
  18. package/lang/translations/es.po +1 -1
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fa.po +1 -1
  21. package/lang/translations/fi.po +1 -1
  22. package/lang/translations/fr.po +1 -1
  23. package/lang/translations/gl.po +1 -1
  24. package/lang/translations/he.po +1 -1
  25. package/lang/translations/hi.po +1 -1
  26. package/lang/translations/hr.po +1 -1
  27. package/lang/translations/hu.po +1 -1
  28. package/lang/translations/hy.po +1 -1
  29. package/lang/translations/id.po +1 -1
  30. package/lang/translations/it.po +1 -1
  31. package/lang/translations/ja.po +1 -1
  32. package/lang/translations/ko.po +1 -1
  33. package/lang/translations/ku.po +1 -1
  34. package/lang/translations/lt.po +1 -1
  35. package/lang/translations/lv.po +1 -1
  36. package/lang/translations/ms.po +1 -1
  37. package/lang/translations/nb.po +1 -1
  38. package/lang/translations/ne.po +1 -1
  39. package/lang/translations/nl.po +1 -1
  40. package/lang/translations/no.po +1 -1
  41. package/lang/translations/pl.po +1 -1
  42. package/lang/translations/pt-br.po +1 -1
  43. package/lang/translations/pt.po +1 -1
  44. package/lang/translations/ro.po +1 -1
  45. package/lang/translations/ru.po +1 -1
  46. package/lang/translations/sk.po +1 -1
  47. package/lang/translations/sl.po +1 -1
  48. package/lang/translations/sq.po +1 -1
  49. package/lang/translations/sr-latn.po +1 -1
  50. package/lang/translations/sr.po +1 -1
  51. package/lang/translations/sv.po +1 -1
  52. package/lang/translations/th.po +1 -1
  53. package/lang/translations/tk.po +1 -1
  54. package/lang/translations/tr.po +1 -1
  55. package/lang/translations/tt.po +1 -1
  56. package/lang/translations/ug.po +1 -1
  57. package/lang/translations/uk.po +1 -1
  58. package/lang/translations/ur.po +1 -1
  59. package/lang/translations/uz.po +1 -1
  60. package/lang/translations/vi.po +1 -1
  61. package/lang/translations/zh-cn.po +1 -1
  62. package/lang/translations/zh.po +1 -1
  63. package/package.json +3 -2
  64. package/src/augmentation.d.ts +2 -2
  65. package/src/augmentation.js +1 -1
  66. package/src/commands/insertcolumncommand.d.ts +2 -2
  67. package/src/commands/insertcolumncommand.js +2 -2
  68. package/src/commands/insertrowcommand.d.ts +2 -2
  69. package/src/commands/insertrowcommand.js +2 -2
  70. package/src/commands/inserttablecommand.d.ts +2 -2
  71. package/src/commands/inserttablecommand.js +2 -2
  72. package/src/commands/mergecellcommand.d.ts +4 -4
  73. package/src/commands/mergecellcommand.js +5 -5
  74. package/src/commands/mergecellscommand.d.ts +2 -2
  75. package/src/commands/mergecellscommand.js +5 -5
  76. package/src/commands/removecolumncommand.d.ts +2 -2
  77. package/src/commands/removecolumncommand.js +3 -3
  78. package/src/commands/removerowcommand.d.ts +2 -2
  79. package/src/commands/removerowcommand.js +2 -2
  80. package/src/commands/selectcolumncommand.d.ts +2 -2
  81. package/src/commands/selectcolumncommand.js +3 -3
  82. package/src/commands/selectrowcommand.d.ts +2 -2
  83. package/src/commands/selectrowcommand.js +2 -2
  84. package/src/commands/setheadercolumncommand.d.ts +2 -2
  85. package/src/commands/setheadercolumncommand.js +4 -4
  86. package/src/commands/setheaderrowcommand.d.ts +2 -2
  87. package/src/commands/setheaderrowcommand.js +4 -4
  88. package/src/commands/splitcellcommand.d.ts +2 -2
  89. package/src/commands/splitcellcommand.js +2 -2
  90. package/src/converters/downcast.d.ts +4 -4
  91. package/src/converters/downcast.js +3 -3
  92. package/src/converters/table-caption-post-fixer.d.ts +2 -2
  93. package/src/converters/table-caption-post-fixer.js +1 -1
  94. package/src/converters/table-cell-paragraph-post-fixer.d.ts +2 -2
  95. package/src/converters/table-cell-paragraph-post-fixer.js +1 -1
  96. package/src/converters/table-cell-refresh-handler.d.ts +2 -2
  97. package/src/converters/table-cell-refresh-handler.js +2 -2
  98. package/src/converters/table-headings-refresh-handler.d.ts +2 -2
  99. package/src/converters/table-headings-refresh-handler.js +2 -2
  100. package/src/converters/table-layout-post-fixer.d.ts +2 -2
  101. package/src/converters/table-layout-post-fixer.js +3 -3
  102. package/src/converters/tableproperties.d.ts +2 -2
  103. package/src/converters/tableproperties.js +1 -1
  104. package/src/converters/upcasttable.d.ts +2 -2
  105. package/src/converters/upcasttable.js +3 -3
  106. package/src/index.d.ts +54 -54
  107. package/src/index.js +24 -24
  108. package/src/plaintableoutput.d.ts +3 -3
  109. package/src/plaintableoutput.js +3 -3
  110. package/src/table.d.ts +9 -9
  111. package/src/table.js +9 -9
  112. package/src/tablecaption/tablecaptionediting.d.ts +3 -3
  113. package/src/tablecaption/tablecaptionediting.js +7 -7
  114. package/src/tablecaption/tablecaptionui.d.ts +2 -2
  115. package/src/tablecaption/tablecaptionui.js +4 -4
  116. package/src/tablecaption/toggletablecaptioncommand.d.ts +2 -2
  117. package/src/tablecaption/toggletablecaptioncommand.js +4 -4
  118. package/src/tablecaption/utils.d.ts +2 -2
  119. package/src/tablecaption/utils.js +2 -2
  120. package/src/tablecaption.d.ts +4 -4
  121. package/src/tablecaption.js +4 -4
  122. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +3 -3
  123. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +2 -2
  124. package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +4 -4
  125. package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +3 -3
  126. package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +4 -4
  127. package/src/tablecellproperties/commands/tablecellborderstylecommand.js +3 -3
  128. package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +4 -4
  129. package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +3 -3
  130. package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +3 -3
  131. package/src/tablecellproperties/commands/tablecellheightcommand.js +3 -3
  132. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +3 -3
  133. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +2 -2
  134. package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +4 -4
  135. package/src/tablecellproperties/commands/tablecellpaddingcommand.js +3 -3
  136. package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +3 -3
  137. package/src/tablecellproperties/commands/tablecellpropertycommand.js +2 -2
  138. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +3 -3
  139. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +2 -2
  140. package/src/tablecellproperties/tablecellpropertiesediting.d.ts +4 -4
  141. package/src/tablecellproperties/tablecellpropertiesediting.js +16 -16
  142. package/src/tablecellproperties/tablecellpropertiesui.d.ts +4 -4
  143. package/src/tablecellproperties/tablecellpropertiesui.js +8 -8
  144. package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +8 -8
  145. package/src/tablecellproperties/ui/tablecellpropertiesview.js +6 -6
  146. package/src/tablecellproperties.d.ts +4 -4
  147. package/src/tablecellproperties.js +4 -4
  148. package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +3 -3
  149. package/src/tablecellwidth/commands/tablecellwidthcommand.js +3 -3
  150. package/src/tablecellwidth/tablecellwidthediting.d.ts +3 -3
  151. package/src/tablecellwidth/tablecellwidthediting.js +6 -6
  152. package/src/tableclipboard.d.ts +6 -6
  153. package/src/tableclipboard.js +6 -6
  154. package/src/tablecolumnresize/constants.d.ts +1 -1
  155. package/src/tablecolumnresize/constants.js +1 -1
  156. package/src/tablecolumnresize/converters.d.ts +3 -3
  157. package/src/tablecolumnresize/converters.js +2 -2
  158. package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +5 -5
  159. package/src/tablecolumnresize/tablecolumnresizeediting.js +11 -11
  160. package/src/tablecolumnresize/tablewidthscommand.d.ts +3 -3
  161. package/src/tablecolumnresize/tablewidthscommand.js +3 -3
  162. package/src/tablecolumnresize/utils.d.ts +4 -4
  163. package/src/tablecolumnresize/utils.js +3 -3
  164. package/src/tablecolumnresize.d.ts +4 -4
  165. package/src/tablecolumnresize.js +4 -4
  166. package/src/tableconfig.d.ts +3 -3
  167. package/src/tableconfig.js +1 -1
  168. package/src/tableediting.d.ts +4 -4
  169. package/src/tableediting.js +21 -21
  170. package/src/tablekeyboard.d.ts +6 -6
  171. package/src/tablekeyboard.js +6 -6
  172. package/src/tablemouse/mouseeventsobserver.d.ts +2 -2
  173. package/src/tablemouse/mouseeventsobserver.js +2 -2
  174. package/src/tablemouse.d.ts +4 -4
  175. package/src/tablemouse.js +5 -5
  176. package/src/tableproperties/commands/tablealignmentcommand.d.ts +3 -3
  177. package/src/tableproperties/commands/tablealignmentcommand.js +2 -2
  178. package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +3 -3
  179. package/src/tableproperties/commands/tablebackgroundcolorcommand.js +2 -2
  180. package/src/tableproperties/commands/tablebordercolorcommand.d.ts +4 -4
  181. package/src/tableproperties/commands/tablebordercolorcommand.js +3 -3
  182. package/src/tableproperties/commands/tableborderstylecommand.d.ts +4 -4
  183. package/src/tableproperties/commands/tableborderstylecommand.js +3 -3
  184. package/src/tableproperties/commands/tableborderwidthcommand.d.ts +4 -4
  185. package/src/tableproperties/commands/tableborderwidthcommand.js +3 -3
  186. package/src/tableproperties/commands/tableheightcommand.d.ts +3 -3
  187. package/src/tableproperties/commands/tableheightcommand.js +3 -3
  188. package/src/tableproperties/commands/tablepropertycommand.d.ts +3 -3
  189. package/src/tableproperties/commands/tablepropertycommand.js +3 -3
  190. package/src/tableproperties/commands/tablewidthcommand.d.ts +3 -3
  191. package/src/tableproperties/commands/tablewidthcommand.js +3 -3
  192. package/src/tableproperties/tablepropertiesediting.d.ts +3 -3
  193. package/src/tableproperties/tablepropertiesediting.js +13 -13
  194. package/src/tableproperties/tablepropertiesui.d.ts +4 -4
  195. package/src/tableproperties/tablepropertiesui.js +8 -8
  196. package/src/tableproperties/ui/tablepropertiesview.d.ts +6 -6
  197. package/src/tableproperties/ui/tablepropertiesview.js +6 -6
  198. package/src/tableproperties.d.ts +4 -4
  199. package/src/tableproperties.js +4 -4
  200. package/src/tableselection.d.ts +4 -4
  201. package/src/tableselection.js +6 -6
  202. package/src/tabletoolbar.d.ts +3 -3
  203. package/src/tabletoolbar.js +4 -4
  204. package/src/tableui.d.ts +2 -2
  205. package/src/tableui.js +7 -8
  206. package/src/tableutils.d.ts +4 -4
  207. package/src/tableutils.js +7 -7
  208. package/src/tablewalker.d.ts +2 -2
  209. package/src/tablewalker.js +1 -1
  210. package/src/ui/colorinputview.d.ts +4 -4
  211. package/src/ui/colorinputview.js +3 -3
  212. package/src/ui/formrowview.d.ts +3 -3
  213. package/src/ui/formrowview.js +2 -2
  214. package/src/ui/inserttableview.d.ts +3 -3
  215. package/src/ui/inserttableview.js +3 -3
  216. package/src/utils/common.d.ts +3 -3
  217. package/src/utils/common.js +2 -2
  218. package/src/utils/structure.d.ts +4 -4
  219. package/src/utils/structure.js +3 -3
  220. package/src/utils/table-properties.d.ts +2 -2
  221. package/src/utils/table-properties.js +1 -1
  222. package/src/utils/ui/contextualballoon.d.ts +3 -3
  223. package/src/utils/ui/contextualballoon.js +5 -5
  224. package/src/utils/ui/table-properties.d.ts +6 -6
  225. package/src/utils/ui/table-properties.js +6 -6
  226. package/src/utils/ui/widget.d.ts +2 -2
  227. package/src/utils/ui/widget.js +2 -2
  228. package/theme/colorinput.css +1 -1
  229. package/theme/form.css +1 -1
  230. package/theme/formrow.css +1 -1
  231. package/theme/inserttable.css +1 -1
  232. package/theme/table.css +1 -1
  233. package/theme/tablecaption.css +1 -1
  234. package/theme/tablecellproperties.css +1 -1
  235. package/theme/tablecolumnresize.css +1 -1
  236. package/theme/tableediting.css +1 -1
  237. package/theme/tableform.css +1 -1
  238. package/theme/tableproperties.css +1 -1
  239. package/theme/tableselection.css +1 -1
  240. package/theme/icons/table.svg +0 -1
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
- import { Command } from 'ckeditor5/src/core';
6
- import TableUtils from '../tableutils';
7
- import { updateNumericAttribute } from '../utils/common';
8
- import { removeEmptyRowsColumns } from '../utils/structure';
5
+ import { Command } from 'ckeditor5/src/core.js';
6
+ import TableUtils from '../tableutils.js';
7
+ import { updateNumericAttribute } from '../utils/common.js';
8
+ import { removeEmptyRowsColumns } from '../utils/structure.js';
9
9
  /**
10
10
  * The merge cells command.
11
11
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/removecolumncommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The remove column command.
11
11
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/removecolumncommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
9
- import TableWalker from '../tablewalker';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
+ import TableWalker from '../tablewalker.js';
10
10
  /**
11
11
  * The remove column command.
12
12
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/removerowcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The remove row command.
11
11
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/removerowcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The remove row command.
11
11
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/selectcolumncommand
7
7
  */
8
- import { Command, type Editor } from 'ckeditor5/src/core';
8
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The select column command.
11
11
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/selectcolumncommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
9
- import TableWalker from '../tablewalker';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
+ import TableWalker from '../tablewalker.js';
10
10
  /**
11
11
  * The select column command.
12
12
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/selectrowcommand
7
7
  */
8
- import { Command, type Editor } from 'ckeditor5/src/core';
8
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The select row command.
11
11
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/selectrowcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The select row command.
11
11
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/setheadercolumncommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The header column command.
11
11
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/setheadercolumncommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
9
- import { isHeadingColumnCell, updateNumericAttribute } from '../utils/common';
10
- import { getHorizontallyOverlappingCells, splitVertically } from '../utils/structure';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
+ import { isHeadingColumnCell, updateNumericAttribute } from '../utils/common.js';
10
+ import { getHorizontallyOverlappingCells, splitVertically } from '../utils/structure.js';
11
11
  /**
12
12
  * The header column command.
13
13
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/setheaderrowcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The header row command.
11
11
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/setheaderrowcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
9
- import { updateNumericAttribute } from '../utils/common';
10
- import { getVerticallyOverlappingCells, splitHorizontally } from '../utils/structure';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
+ import { updateNumericAttribute } from '../utils/common.js';
10
+ import { getVerticallyOverlappingCells, splitHorizontally } from '../utils/structure.js';
11
11
  /**
12
12
  * The header row command.
13
13
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/splitcellcommand
7
7
  */
8
- import { Command, type Editor } from 'ckeditor5/src/core';
8
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The split cell command.
11
11
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/commands/splitcellcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The split cell command.
11
11
  *
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
- import type { Element, ElementCreatorFunction } from 'ckeditor5/src/engine';
6
- import type TableUtils from '../tableutils';
7
- import type { AdditionalSlot } from '../tableediting';
5
+ import type { Element, ElementCreatorFunction } from 'ckeditor5/src/engine.js';
6
+ import type TableUtils from '../tableutils.js';
7
+ import type { AdditionalSlot } from '../tableediting.js';
8
8
  /**
9
9
  * Model table element to view table element conversion helper.
10
10
  */
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/downcast
7
7
  */
8
- import { toWidget, toWidgetEditable } from 'ckeditor5/src/widget';
9
- import TableWalker from './../tablewalker';
8
+ import { toWidget, toWidgetEditable } from 'ckeditor5/src/widget.js';
9
+ import TableWalker from './../tablewalker.js';
10
10
  /**
11
11
  * Model table element to view table element conversion helper.
12
12
  */
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/table-caption-post-fixer
7
7
  */
8
- import type { Model } from 'ckeditor5/src/engine';
8
+ import type { Model } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * Injects a table caption post-fixer into the model.
11
11
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
  /**
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/table-cell-paragraph-post-fixer
7
7
  */
8
- import type { Model } from 'ckeditor5/src/engine';
8
+ import type { Model } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * Injects a table cell post-fixer into the model which inserts a `paragraph` element into empty table cells.
11
11
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
  /**
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/table-cell-refresh-handler
7
7
  */
8
- import type { EditingController, Model } from 'ckeditor5/src/engine';
8
+ import type { EditingController, Model } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * A table cell refresh handler which marks the table cell in the differ to have it re-rendered.
11
11
  *
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
- import { isSingleParagraphWithoutAttributes } from './downcast';
5
+ import { isSingleParagraphWithoutAttributes } from './downcast.js';
6
6
  /**
7
7
  * A table cell refresh handler which marks the table cell in the differ to have it re-rendered.
8
8
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/table-headings-refresh-handler
7
7
  */
8
- import type { EditingController, Model } from 'ckeditor5/src/engine';
8
+ import type { EditingController, Model } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * A table headings refresh handler which marks the table cells or rows in the differ to have it re-rendered
11
11
  * if the headings attribute changed.
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
- import TableWalker from '../tablewalker';
5
+ import TableWalker from '../tablewalker.js';
6
6
  /**
7
7
  * A table headings refresh handler which marks the table cells or rows in the differ to have it re-rendered
8
8
  * if the headings attribute changed.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/table-layout-post-fixer
7
7
  */
8
- import type { Model } from 'ckeditor5/src/engine';
8
+ import type { Model } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * Injects a table layout post-fixer into the model.
11
11
  *
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
- import TableWalker from './../tablewalker';
6
- import { createEmptyTableCell, updateNumericAttribute } from '../utils/common';
5
+ import TableWalker from './../tablewalker.js';
6
+ import { createEmptyTableCell, updateNumericAttribute } from '../utils/common.js';
7
7
  /**
8
8
  * Injects a table layout post-fixer into the model.
9
9
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/tableproperties
7
7
  */
8
- import type { Conversion, ViewElement } from 'ckeditor5/src/engine';
8
+ import type { Conversion, ViewElement } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * Conversion helper for upcasting attributes using normalized styles.
11
11
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
  /**
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table/converters/upcasttable
7
7
  */
8
- import type { UpcastDispatcher } from 'ckeditor5/src/engine';
8
+ import type { UpcastDispatcher } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * Returns a function that converts the table view representation:
11
11
  *
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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
- import { createEmptyTableCell } from '../utils/common';
6
- import { first } from 'ckeditor5/src/utils';
5
+ import { createEmptyTableCell } from '../utils/common.js';
6
+ import { first } from 'ckeditor5/src/utils.js';
7
7
  /**
8
8
  * Returns a function that converts the table view representation:
9
9
  *
package/src/index.d.ts CHANGED
@@ -1,60 +1,60 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
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 table
7
7
  */
8
- export { default as PlainTableOutput } from './plaintableoutput';
9
- export { default as Table } from './table';
10
- export { default as TableEditing } from './tableediting';
11
- export { default as TableUI } from './tableui';
12
- export { default as TableToolbar } from './tabletoolbar';
13
- export { default as TableCellProperties } from './tablecellproperties';
14
- export { default as TableCellPropertiesEditing } from './tablecellproperties/tablecellpropertiesediting';
15
- export { default as TableCellPropertiesUI } from './tablecellproperties/tablecellpropertiesui';
16
- export { default as TableCellWidthEditing } from './tablecellwidth/tablecellwidthediting';
17
- export { default as TableProperties } from './tableproperties';
18
- export { default as TablePropertiesEditing } from './tableproperties/tablepropertiesediting';
19
- export { default as TablePropertiesUI } from './tableproperties/tablepropertiesui';
20
- export { default as TableCaption } from './tablecaption';
21
- export { default as TableCaptionEditing } from './tablecaption/tablecaptionediting';
22
- export { default as TableCaptionUI } from './tablecaption/tablecaptionui';
23
- export { default as TableClipboard } from './tableclipboard';
24
- export { default as TableMouse } from './tablemouse';
25
- export { default as TableKeyboard } from './tablekeyboard';
26
- export { default as TableSelection } from './tableselection';
27
- export { default as TableUtils } from './tableutils';
28
- export { default as TableColumnResize } from './tablecolumnresize';
29
- export { default as TableColumnResizeEditing } from './tablecolumnresize/tablecolumnresizeediting';
30
- export type { TableConfig } from './tableconfig';
31
- export type { default as InsertColumnCommand } from './commands/insertcolumncommand';
32
- export type { default as InsertRowCommand } from './commands/insertrowcommand';
33
- export type { default as InsertTableCommand } from './commands/inserttablecommand';
34
- export type { default as MergeCellCommand } from './commands/mergecellcommand';
35
- export type { default as MergeCellsCommand } from './commands/mergecellscommand';
36
- export type { default as RemoveColumnCommand } from './commands/removecolumncommand';
37
- export type { default as RemoveRowCommand } from './commands/removerowcommand';
38
- export type { default as SelectColumnCommand } from './commands/selectcolumncommand';
39
- export type { default as SelectRowCommand } from './commands/selectrowcommand';
40
- export type { default as SetHeaderColumnCommand } from './commands/setheadercolumncommand';
41
- export type { default as SetHeaderRowCommand } from './commands/setheaderrowcommand';
42
- export type { default as SplitCellCommand } from './commands/splitcellcommand';
43
- export type { default as ToggleTableCaptionCommand } from './tablecaption/toggletablecaptioncommand';
44
- export type { default as TableCellBackgroundColorCommand } from './tablecellproperties/commands/tablecellbackgroundcolorcommand';
45
- export type { default as TableCellBorderColorCommand } from './tablecellproperties/commands/tablecellbordercolorcommand';
46
- export type { default as TableCellBorderStyleCommand } from './tablecellproperties/commands/tablecellborderstylecommand';
47
- export type { default as TableCellBorderWidthCommand } from './tablecellproperties/commands/tablecellborderwidthcommand';
48
- export type { default as TableCellHeightCommand } from './tablecellproperties/commands/tablecellheightcommand';
49
- export type { default as TableCellHorizontalAlignmentCommand } from './tablecellproperties/commands/tablecellhorizontalalignmentcommand';
50
- export type { default as TableCellPaddingCommand } from './tablecellproperties/commands/tablecellpaddingcommand';
51
- export type { default as TableCellVerticalAlignmentCommand } from './tablecellproperties/commands/tablecellverticalalignmentcommand';
52
- export type { default as TableCellWidthCommand } from './tablecellwidth/commands/tablecellwidthcommand';
53
- export type { default as TableAlignmentCommand } from './tableproperties/commands/tablealignmentcommand';
54
- export type { default as TableBackgroundColorCommand } from './tableproperties/commands/tablebackgroundcolorcommand';
55
- export type { default as TableBorderColorCommand } from './tableproperties/commands/tablebordercolorcommand';
56
- export type { default as TableBorderStyleCommand } from './tableproperties/commands/tableborderstylecommand';
57
- export type { default as TableBorderWidthCommand } from './tableproperties/commands/tableborderwidthcommand';
58
- export type { default as TableHeightCommand } from './tableproperties/commands/tableheightcommand';
59
- export type { default as TableWidthCommand } from './tableproperties/commands/tablewidthcommand';
60
- import './augmentation';
8
+ export { default as PlainTableOutput } from './plaintableoutput.js';
9
+ export { default as Table } from './table.js';
10
+ export { default as TableEditing } from './tableediting.js';
11
+ export { default as TableUI } from './tableui.js';
12
+ export { default as TableToolbar } from './tabletoolbar.js';
13
+ export { default as TableCellProperties } from './tablecellproperties.js';
14
+ export { default as TableCellPropertiesEditing } from './tablecellproperties/tablecellpropertiesediting.js';
15
+ export { default as TableCellPropertiesUI } from './tablecellproperties/tablecellpropertiesui.js';
16
+ export { default as TableCellWidthEditing } from './tablecellwidth/tablecellwidthediting.js';
17
+ export { default as TableProperties } from './tableproperties.js';
18
+ export { default as TablePropertiesEditing } from './tableproperties/tablepropertiesediting.js';
19
+ export { default as TablePropertiesUI } from './tableproperties/tablepropertiesui.js';
20
+ export { default as TableCaption } from './tablecaption.js';
21
+ export { default as TableCaptionEditing } from './tablecaption/tablecaptionediting.js';
22
+ export { default as TableCaptionUI } from './tablecaption/tablecaptionui.js';
23
+ export { default as TableClipboard } from './tableclipboard.js';
24
+ export { default as TableMouse } from './tablemouse.js';
25
+ export { default as TableKeyboard } from './tablekeyboard.js';
26
+ export { default as TableSelection } from './tableselection.js';
27
+ export { default as TableUtils } from './tableutils.js';
28
+ export { default as TableColumnResize } from './tablecolumnresize.js';
29
+ export { default as TableColumnResizeEditing } from './tablecolumnresize/tablecolumnresizeediting.js';
30
+ export type { TableConfig } from './tableconfig.js';
31
+ export type { default as InsertColumnCommand } from './commands/insertcolumncommand.js';
32
+ export type { default as InsertRowCommand } from './commands/insertrowcommand.js';
33
+ export type { default as InsertTableCommand } from './commands/inserttablecommand.js';
34
+ export type { default as MergeCellCommand } from './commands/mergecellcommand.js';
35
+ export type { default as MergeCellsCommand } from './commands/mergecellscommand.js';
36
+ export type { default as RemoveColumnCommand } from './commands/removecolumncommand.js';
37
+ export type { default as RemoveRowCommand } from './commands/removerowcommand.js';
38
+ export type { default as SelectColumnCommand } from './commands/selectcolumncommand.js';
39
+ export type { default as SelectRowCommand } from './commands/selectrowcommand.js';
40
+ export type { default as SetHeaderColumnCommand } from './commands/setheadercolumncommand.js';
41
+ export type { default as SetHeaderRowCommand } from './commands/setheaderrowcommand.js';
42
+ export type { default as SplitCellCommand } from './commands/splitcellcommand.js';
43
+ export type { default as ToggleTableCaptionCommand } from './tablecaption/toggletablecaptioncommand.js';
44
+ export type { default as TableCellBackgroundColorCommand } from './tablecellproperties/commands/tablecellbackgroundcolorcommand.js';
45
+ export type { default as TableCellBorderColorCommand } from './tablecellproperties/commands/tablecellbordercolorcommand.js';
46
+ export type { default as TableCellBorderStyleCommand } from './tablecellproperties/commands/tablecellborderstylecommand.js';
47
+ export type { default as TableCellBorderWidthCommand } from './tablecellproperties/commands/tablecellborderwidthcommand.js';
48
+ export type { default as TableCellHeightCommand } from './tablecellproperties/commands/tablecellheightcommand.js';
49
+ export type { default as TableCellHorizontalAlignmentCommand } from './tablecellproperties/commands/tablecellhorizontalalignmentcommand.js';
50
+ export type { default as TableCellPaddingCommand } from './tablecellproperties/commands/tablecellpaddingcommand.js';
51
+ export type { default as TableCellVerticalAlignmentCommand } from './tablecellproperties/commands/tablecellverticalalignmentcommand.js';
52
+ export type { default as TableCellWidthCommand } from './tablecellwidth/commands/tablecellwidthcommand.js';
53
+ export type { default as TableAlignmentCommand } from './tableproperties/commands/tablealignmentcommand.js';
54
+ export type { default as TableBackgroundColorCommand } from './tableproperties/commands/tablebackgroundcolorcommand.js';
55
+ export type { default as TableBorderColorCommand } from './tableproperties/commands/tablebordercolorcommand.js';
56
+ export type { default as TableBorderStyleCommand } from './tableproperties/commands/tableborderstylecommand.js';
57
+ export type { default as TableBorderWidthCommand } from './tableproperties/commands/tableborderwidthcommand.js';
58
+ export type { default as TableHeightCommand } from './tableproperties/commands/tableheightcommand.js';
59
+ export type { default as TableWidthCommand } from './tableproperties/commands/tablewidthcommand.js';
60
+ import './augmentation.js';