@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
package/src/index.js CHANGED
@@ -1,30 +1,30 @@
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
- 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
+ import './augmentation.js';
@@ -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/plaintableoutput
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import Table from './table';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import Table from './table.js';
10
10
  /**
11
11
  * The plain table output feature.
12
12
  */
@@ -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/plaintableoutput
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import Table from './table';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import Table from './table.js';
10
10
  /**
11
11
  * The plain table output feature.
12
12
  */
package/src/table.d.ts CHANGED
@@ -1,18 +1,18 @@
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/table
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Widget } from 'ckeditor5/src/widget';
10
- import TableEditing from './tableediting';
11
- import TableUI from './tableui';
12
- import TableSelection from './tableselection';
13
- import TableClipboard from './tableclipboard';
14
- import TableKeyboard from './tablekeyboard';
15
- import TableMouse from './tablemouse';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Widget } from 'ckeditor5/src/widget.js';
10
+ import TableEditing from './tableediting.js';
11
+ import TableUI from './tableui.js';
12
+ import TableSelection from './tableselection.js';
13
+ import TableClipboard from './tableclipboard.js';
14
+ import TableKeyboard from './tablekeyboard.js';
15
+ import TableMouse from './tablemouse.js';
16
16
  import '../theme/table.css';
17
17
  /**
18
18
  * The table plugin.
package/src/table.js CHANGED
@@ -1,18 +1,18 @@
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/table
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Widget } from 'ckeditor5/src/widget';
10
- import TableEditing from './tableediting';
11
- import TableUI from './tableui';
12
- import TableSelection from './tableselection';
13
- import TableClipboard from './tableclipboard';
14
- import TableKeyboard from './tablekeyboard';
15
- import TableMouse from './tablemouse';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Widget } from 'ckeditor5/src/widget.js';
10
+ import TableEditing from './tableediting.js';
11
+ import TableUI from './tableui.js';
12
+ import TableSelection from './tableselection.js';
13
+ import TableClipboard from './tableclipboard.js';
14
+ import TableKeyboard from './tablekeyboard.js';
15
+ import TableMouse from './tablemouse.js';
16
16
  import '../theme/table.css';
17
17
  /**
18
18
  * The table plugin.
@@ -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/tablecaption/tablecaptionediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- import { Element } from 'ckeditor5/src/engine';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import { Element } from 'ckeditor5/src/engine.js';
10
10
  /**
11
11
  * The table caption editing plugin.
12
12
  */
@@ -1,16 +1,16 @@
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/tablecaption/tablecaptionediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Element, enablePlaceholder } from 'ckeditor5/src/engine';
10
- import { toWidgetEditable } from 'ckeditor5/src/widget';
11
- import injectTableCaptionPostFixer from '../converters/table-caption-post-fixer';
12
- import ToggleTableCaptionCommand from './toggletablecaptioncommand';
13
- import { isTable, matchTableCaptionViewElement } from './utils';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Element, enablePlaceholder } from 'ckeditor5/src/engine.js';
10
+ import { toWidgetEditable } from 'ckeditor5/src/widget.js';
11
+ import injectTableCaptionPostFixer from '../converters/table-caption-post-fixer.js';
12
+ import ToggleTableCaptionCommand from './toggletablecaptioncommand.js';
13
+ import { isTable, matchTableCaptionViewElement } from './utils.js';
14
14
  /**
15
15
  * The table caption editing plugin.
16
16
  */
@@ -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/tablecaption/tablecaptionui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The table caption UI plugin. It introduces the `'toggleTableCaption'` UI button.
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/tablecaption/tablecaptionui
7
7
  */
8
- import { Plugin, icons } from 'ckeditor5/src/core';
9
- import { ButtonView } from 'ckeditor5/src/ui';
10
- import { getCaptionFromModelSelection } from './utils';
8
+ import { Plugin, icons } from 'ckeditor5/src/core.js';
9
+ import { ButtonView } from 'ckeditor5/src/ui.js';
10
+ import { getCaptionFromModelSelection } from './utils.js';
11
11
  /**
12
12
  * The table caption UI plugin. It introduces the `'toggleTableCaption'` UI button.
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/tablecaption/toggletablecaptioncommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The toggle table caption 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/tablecaption/toggletablecaptioncommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
9
- import { getCaptionFromTableModelElement } from './utils';
10
- import { getSelectionAffectedTable } from '../utils/common';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
+ import { getCaptionFromTableModelElement } from './utils.js';
10
+ import { getSelectionAffectedTable } from '../utils/common.js';
11
11
  /**
12
12
  * The toggle table caption 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/tablecaption/utils
7
7
  */
8
- import type { DocumentFragment, DocumentSelection, Element, ViewElement } from 'ckeditor5/src/engine';
8
+ import type { DocumentFragment, DocumentSelection, Element, ViewElement } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * Checks if the provided model element is a `table`.
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 { getSelectionAffectedTable } from '../utils/common';
5
+ import { getSelectionAffectedTable } from '../utils/common.js';
6
6
  /**
7
7
  * Checks if the provided model element is a `table`.
8
8
  *
@@ -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/tablecaption
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TableCaptionEditing from './tablecaption/tablecaptionediting';
10
- import TableCaptionUI from './tablecaption/tablecaptionui';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import TableCaptionEditing from './tablecaption/tablecaptionediting.js';
10
+ import TableCaptionUI from './tablecaption/tablecaptionui.js';
11
11
  import '../theme/tablecaption.css';
12
12
  /**
13
13
  * The table caption plugin.
@@ -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/tablecaption
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TableCaptionEditing from './tablecaption/tablecaptionediting';
10
- import TableCaptionUI from './tablecaption/tablecaptionui';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import TableCaptionEditing from './tablecaption/tablecaptionediting.js';
10
+ import TableCaptionUI from './tablecaption/tablecaptionui.js';
11
11
  import '../theme/tablecaption.css';
12
12
  /**
13
13
  * The table caption plugin.
@@ -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/tablecellproperties/commands/tablecellbackgroundcolorcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell background color command.
12
12
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
6
  /**
7
7
  * The table cell background color command.
8
8
  *
@@ -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/tablecellproperties/commands/tablecellbordercolorcommand
7
7
  */
8
- import type { Element } from 'ckeditor5/src/engine';
9
- import type { Editor } from 'ckeditor5/src/core';
10
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Element } from 'ckeditor5/src/engine.js';
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell border color command.
13
13
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
6
- import { getSingleValue } from '../../utils/table-properties';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
+ import { getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell border color command.
9
9
  *
@@ -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/tablecellproperties/commands/tablecellborderstylecommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import type { Element } from 'ckeditor5/src/engine';
10
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import type { Element } from 'ckeditor5/src/engine.js';
10
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell border style command.
13
13
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
6
- import { getSingleValue } from '../../utils/table-properties';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
+ import { getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell border style command.
9
9
  *
@@ -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/tablecellproperties/commands/tablecellborderwidthcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import type { Element } from 'ckeditor5/src/engine';
10
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import type { Element } from 'ckeditor5/src/engine.js';
10
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell border width command.
13
13
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
6
- import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
+ import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell border width command.
9
9
  *
@@ -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/tablecellproperties/commands/tablecellheightcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell height command.
12
12
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
6
- import { addDefaultUnitToNumericValue } from '../../utils/table-properties';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
+ import { addDefaultUnitToNumericValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell height command.
9
9
  *
@@ -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/tablecellproperties/commands/tablecellhorizontalalignmentcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell horizontal alignment command.
12
12
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
6
  /**
7
7
  * The table cell horizontal alignment command.
8
8
  *
@@ -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/tablecellproperties/commands/tablecellpaddingcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import type { Element } from 'ckeditor5/src/engine';
10
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import type { Element } from 'ckeditor5/src/engine.js';
10
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell padding command.
13
13
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
6
- import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
+ import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell padding command.
9
9
  *
@@ -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/tablecellproperties/commands/tablecellpropertycommand
7
7
  */
8
- import { Command, type Editor } from 'ckeditor5/src/core';
9
- import type { Element, Batch } from 'ckeditor5/src/engine';
8
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
9
+ import type { Element, Batch } from 'ckeditor5/src/engine.js';
10
10
  /**
11
11
  * The table cell attribute 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/tablecellproperties/commands/tablecellpropertycommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The table cell attribute 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/tablecellproperties/commands/tablecellverticalalignmentcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import TableCellPropertyCommand from './tablecellpropertycommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell vertical alignment command.
12
12
  *
@@ -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 TableCellPropertyCommand from './tablecellpropertycommand';
5
+ import TableCellPropertyCommand from './tablecellpropertycommand.js';
6
6
  /**
7
7
  * The table cell vertical alignment command.
8
8
  *
@@ -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/tablecellproperties/tablecellpropertiesediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TableEditing from './../tableediting';
10
- import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import TableEditing from './../tableediting.js';
10
+ import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting.js';
11
11
  /**
12
12
  * The table cell properties editing feature.
13
13
  *