@ckeditor/ckeditor5-table 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231216.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 (157) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/package.json +3 -2
  3. package/src/augmentation.d.ts +1 -1
  4. package/src/commands/insertcolumncommand.d.ts +1 -1
  5. package/src/commands/insertcolumncommand.js +1 -1
  6. package/src/commands/insertrowcommand.d.ts +1 -1
  7. package/src/commands/insertrowcommand.js +1 -1
  8. package/src/commands/inserttablecommand.d.ts +1 -1
  9. package/src/commands/inserttablecommand.js +1 -1
  10. package/src/commands/mergecellcommand.d.ts +3 -3
  11. package/src/commands/mergecellcommand.js +4 -4
  12. package/src/commands/mergecellscommand.d.ts +1 -1
  13. package/src/commands/mergecellscommand.js +4 -4
  14. package/src/commands/removecolumncommand.d.ts +1 -1
  15. package/src/commands/removecolumncommand.js +2 -2
  16. package/src/commands/removerowcommand.d.ts +1 -1
  17. package/src/commands/removerowcommand.js +1 -1
  18. package/src/commands/selectcolumncommand.d.ts +1 -1
  19. package/src/commands/selectcolumncommand.js +2 -2
  20. package/src/commands/selectrowcommand.d.ts +1 -1
  21. package/src/commands/selectrowcommand.js +1 -1
  22. package/src/commands/setheadercolumncommand.d.ts +1 -1
  23. package/src/commands/setheadercolumncommand.js +3 -3
  24. package/src/commands/setheaderrowcommand.d.ts +1 -1
  25. package/src/commands/setheaderrowcommand.js +3 -3
  26. package/src/commands/splitcellcommand.d.ts +1 -1
  27. package/src/commands/splitcellcommand.js +1 -1
  28. package/src/converters/downcast.d.ts +3 -3
  29. package/src/converters/downcast.js +2 -2
  30. package/src/converters/table-caption-post-fixer.d.ts +1 -1
  31. package/src/converters/table-cell-paragraph-post-fixer.d.ts +1 -1
  32. package/src/converters/table-cell-refresh-handler.d.ts +1 -1
  33. package/src/converters/table-cell-refresh-handler.js +1 -1
  34. package/src/converters/table-headings-refresh-handler.d.ts +1 -1
  35. package/src/converters/table-headings-refresh-handler.js +1 -1
  36. package/src/converters/table-layout-post-fixer.d.ts +1 -1
  37. package/src/converters/table-layout-post-fixer.js +2 -2
  38. package/src/converters/tableproperties.d.ts +1 -1
  39. package/src/converters/upcasttable.d.ts +1 -1
  40. package/src/converters/upcasttable.js +2 -2
  41. package/src/index.d.ts +53 -53
  42. package/src/index.js +23 -23
  43. package/src/plaintableoutput.d.ts +2 -2
  44. package/src/plaintableoutput.js +2 -2
  45. package/src/table.d.ts +8 -8
  46. package/src/table.js +8 -8
  47. package/src/tablecaption/tablecaptionediting.d.ts +2 -2
  48. package/src/tablecaption/tablecaptionediting.js +6 -6
  49. package/src/tablecaption/tablecaptionui.d.ts +1 -1
  50. package/src/tablecaption/tablecaptionui.js +3 -3
  51. package/src/tablecaption/toggletablecaptioncommand.d.ts +1 -1
  52. package/src/tablecaption/toggletablecaptioncommand.js +3 -3
  53. package/src/tablecaption/utils.d.ts +1 -1
  54. package/src/tablecaption/utils.js +1 -1
  55. package/src/tablecaption.d.ts +3 -3
  56. package/src/tablecaption.js +3 -3
  57. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +2 -2
  58. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +1 -1
  59. package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +3 -3
  60. package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +2 -2
  61. package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +3 -3
  62. package/src/tablecellproperties/commands/tablecellborderstylecommand.js +2 -2
  63. package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +3 -3
  64. package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +2 -2
  65. package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +2 -2
  66. package/src/tablecellproperties/commands/tablecellheightcommand.js +2 -2
  67. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +2 -2
  68. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +1 -1
  69. package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +3 -3
  70. package/src/tablecellproperties/commands/tablecellpaddingcommand.js +2 -2
  71. package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +2 -2
  72. package/src/tablecellproperties/commands/tablecellpropertycommand.js +1 -1
  73. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +2 -2
  74. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +1 -1
  75. package/src/tablecellproperties/tablecellpropertiesediting.d.ts +3 -3
  76. package/src/tablecellproperties/tablecellpropertiesediting.js +15 -15
  77. package/src/tablecellproperties/tablecellpropertiesui.d.ts +3 -3
  78. package/src/tablecellproperties/tablecellpropertiesui.js +7 -7
  79. package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +4 -4
  80. package/src/tablecellproperties/ui/tablecellpropertiesview.js +5 -5
  81. package/src/tablecellproperties.d.ts +3 -3
  82. package/src/tablecellproperties.js +3 -3
  83. package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +2 -2
  84. package/src/tablecellwidth/commands/tablecellwidthcommand.js +2 -2
  85. package/src/tablecellwidth/tablecellwidthediting.d.ts +2 -2
  86. package/src/tablecellwidth/tablecellwidthediting.js +5 -5
  87. package/src/tableclipboard.d.ts +5 -5
  88. package/src/tableclipboard.js +5 -5
  89. package/src/tablecolumnresize/converters.d.ts +2 -2
  90. package/src/tablecolumnresize/converters.js +1 -1
  91. package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +4 -4
  92. package/src/tablecolumnresize/tablecolumnresizeediting.js +10 -10
  93. package/src/tablecolumnresize/tablewidthscommand.d.ts +2 -2
  94. package/src/tablecolumnresize/tablewidthscommand.js +2 -2
  95. package/src/tablecolumnresize/utils.d.ts +3 -3
  96. package/src/tablecolumnresize/utils.js +2 -2
  97. package/src/tablecolumnresize.d.ts +3 -3
  98. package/src/tablecolumnresize.js +3 -3
  99. package/src/tableconfig.d.ts +2 -2
  100. package/src/tableediting.d.ts +3 -3
  101. package/src/tableediting.js +20 -20
  102. package/src/tablekeyboard.d.ts +5 -5
  103. package/src/tablekeyboard.js +5 -5
  104. package/src/tablemouse/mouseeventsobserver.d.ts +1 -1
  105. package/src/tablemouse/mouseeventsobserver.js +1 -1
  106. package/src/tablemouse.d.ts +3 -3
  107. package/src/tablemouse.js +4 -4
  108. package/src/tableproperties/commands/tablealignmentcommand.d.ts +2 -2
  109. package/src/tableproperties/commands/tablealignmentcommand.js +1 -1
  110. package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +2 -2
  111. package/src/tableproperties/commands/tablebackgroundcolorcommand.js +1 -1
  112. package/src/tableproperties/commands/tablebordercolorcommand.d.ts +3 -3
  113. package/src/tableproperties/commands/tablebordercolorcommand.js +2 -2
  114. package/src/tableproperties/commands/tableborderstylecommand.d.ts +3 -3
  115. package/src/tableproperties/commands/tableborderstylecommand.js +2 -2
  116. package/src/tableproperties/commands/tableborderwidthcommand.d.ts +3 -3
  117. package/src/tableproperties/commands/tableborderwidthcommand.js +2 -2
  118. package/src/tableproperties/commands/tableheightcommand.d.ts +2 -2
  119. package/src/tableproperties/commands/tableheightcommand.js +2 -2
  120. package/src/tableproperties/commands/tablepropertycommand.d.ts +2 -2
  121. package/src/tableproperties/commands/tablepropertycommand.js +2 -2
  122. package/src/tableproperties/commands/tablewidthcommand.d.ts +2 -2
  123. package/src/tableproperties/commands/tablewidthcommand.js +2 -2
  124. package/src/tableproperties/tablepropertiesediting.d.ts +2 -2
  125. package/src/tableproperties/tablepropertiesediting.js +12 -12
  126. package/src/tableproperties/tablepropertiesui.d.ts +3 -3
  127. package/src/tableproperties/tablepropertiesui.js +7 -7
  128. package/src/tableproperties/ui/tablepropertiesview.d.ts +4 -4
  129. package/src/tableproperties/ui/tablepropertiesview.js +5 -5
  130. package/src/tableproperties.d.ts +3 -3
  131. package/src/tableproperties.js +3 -3
  132. package/src/tableselection.d.ts +3 -3
  133. package/src/tableselection.js +5 -5
  134. package/src/tabletoolbar.d.ts +2 -2
  135. package/src/tabletoolbar.js +3 -3
  136. package/src/tableui.d.ts +1 -1
  137. package/src/tableui.js +4 -4
  138. package/src/tableutils.d.ts +3 -3
  139. package/src/tableutils.js +6 -6
  140. package/src/tablewalker.d.ts +1 -1
  141. package/src/ui/colorinputview.d.ts +2 -2
  142. package/src/ui/colorinputview.js +2 -2
  143. package/src/ui/formrowview.d.ts +2 -2
  144. package/src/ui/formrowview.js +1 -1
  145. package/src/ui/inserttableview.d.ts +2 -2
  146. package/src/ui/inserttableview.js +2 -2
  147. package/src/utils/common.d.ts +2 -2
  148. package/src/utils/common.js +1 -1
  149. package/src/utils/structure.d.ts +3 -3
  150. package/src/utils/structure.js +2 -2
  151. package/src/utils/table-properties.d.ts +1 -1
  152. package/src/utils/ui/contextualballoon.d.ts +2 -2
  153. package/src/utils/ui/contextualballoon.js +4 -4
  154. package/src/utils/ui/table-properties.d.ts +5 -5
  155. package/src/utils/ui/table-properties.js +4 -4
  156. package/src/utils/ui/widget.d.ts +1 -1
  157. package/src/utils/ui/widget.js +1 -1
package/src/index.js CHANGED
@@ -5,26 +5,26 @@
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';
@@ -5,8 +5,8 @@
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
  */
@@ -5,8 +5,8 @@
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
@@ -5,14 +5,14 @@
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
@@ -5,14 +5,14 @@
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.
@@ -5,8 +5,8 @@
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
  */
@@ -5,12 +5,12 @@
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
  */
@@ -5,7 +5,7 @@
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
  */
@@ -5,9 +5,9 @@
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
  */
@@ -5,7 +5,7 @@
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
  *
@@ -5,9 +5,9 @@
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
  *
@@ -5,7 +5,7 @@
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
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,9 +5,9 @@
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.
@@ -5,9 +5,9 @@
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.
@@ -5,8 +5,8 @@
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
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,9 +5,9 @@
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
  *
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,9 +5,9 @@
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
  *
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,9 +5,9 @@
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
  *
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,8 +5,8 @@
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
  *
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,8 +5,8 @@
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
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,9 +5,9 @@
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
  *
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,8 +5,8 @@
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
  *
@@ -5,7 +5,7 @@
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
  *
@@ -5,8 +5,8 @@
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
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, 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
  *
@@ -5,9 +5,9 @@
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
  *
@@ -5,21 +5,21 @@
5
5
  /**
6
6
  * @module table/tablecellproperties/tablecellpropertiesediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { addBorderRules, addPaddingRules, addBackgroundRules } from 'ckeditor5/src/engine';
10
- import { downcastAttributeToStyle, upcastBorderStyles } from './../converters/tableproperties';
11
- import TableEditing from './../tableediting';
12
- import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting';
13
- import TableCellPaddingCommand from './commands/tablecellpaddingcommand';
14
- import TableCellHeightCommand from './commands/tablecellheightcommand';
15
- import TableCellBackgroundColorCommand from './commands/tablecellbackgroundcolorcommand';
16
- import TableCellVerticalAlignmentCommand from './commands/tablecellverticalalignmentcommand';
17
- import TableCellHorizontalAlignmentCommand from './commands/tablecellhorizontalalignmentcommand';
18
- import TableCellBorderStyleCommand from './commands/tablecellborderstylecommand';
19
- import TableCellBorderColorCommand from './commands/tablecellbordercolorcommand';
20
- import TableCellBorderWidthCommand from './commands/tablecellborderwidthcommand';
21
- import { getNormalizedDefaultProperties } from '../utils/table-properties';
22
- import { enableProperty } from '../utils/common';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { addBorderRules, addPaddingRules, addBackgroundRules } from 'ckeditor5/src/engine.js';
10
+ import { downcastAttributeToStyle, upcastBorderStyles } from './../converters/tableproperties.js';
11
+ import TableEditing from './../tableediting.js';
12
+ import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting.js';
13
+ import TableCellPaddingCommand from './commands/tablecellpaddingcommand.js';
14
+ import TableCellHeightCommand from './commands/tablecellheightcommand.js';
15
+ import TableCellBackgroundColorCommand from './commands/tablecellbackgroundcolorcommand.js';
16
+ import TableCellVerticalAlignmentCommand from './commands/tablecellverticalalignmentcommand.js';
17
+ import TableCellHorizontalAlignmentCommand from './commands/tablecellhorizontalalignmentcommand.js';
18
+ import TableCellBorderStyleCommand from './commands/tablecellborderstylecommand.js';
19
+ import TableCellBorderColorCommand from './commands/tablecellbordercolorcommand.js';
20
+ import TableCellBorderWidthCommand from './commands/tablecellborderwidthcommand.js';
21
+ import { getNormalizedDefaultProperties } from '../utils/table-properties.js';
22
+ import { enableProperty } from '../utils/common.js';
23
23
  const VALIGN_VALUES_REG_EXP = /^(top|middle|bottom)$/;
24
24
  const ALIGN_VALUES_REG_EXP = /^(left|center|right|justify)$/;
25
25
  /**
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module table/tablecellproperties/tablecellpropertiesui
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- import { ContextualBalloon } from 'ckeditor5/src/ui';
10
- import TableCellPropertiesView from './ui/tablecellpropertiesview';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import { ContextualBalloon } from 'ckeditor5/src/ui.js';
10
+ import TableCellPropertiesView from './ui/tablecellpropertiesview.js';
11
11
  /**
12
12
  * The table cell properties UI plugin. It introduces the `'tableCellProperties'` button
13
13
  * that opens a form allowing to specify the visual styling of a table cell.
@@ -5,15 +5,15 @@
5
5
  /**
6
6
  * @module table/tablecellproperties/tablecellpropertiesui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { ButtonView, clickOutsideHandler, ContextualBalloon, getLocalizedColorOptions, normalizeColorOptions } from 'ckeditor5/src/ui';
10
- import TableCellPropertiesView from './ui/tablecellpropertiesview';
11
- import { colorFieldValidator, getLocalizedColorErrorText, getLocalizedLengthErrorText, defaultColors, lengthFieldValidator, lineWidthFieldValidator } from '../utils/ui/table-properties';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { ButtonView, clickOutsideHandler, ContextualBalloon, getLocalizedColorOptions, normalizeColorOptions } from 'ckeditor5/src/ui.js';
10
+ import TableCellPropertiesView from './ui/tablecellpropertiesview.js';
11
+ import { colorFieldValidator, getLocalizedColorErrorText, getLocalizedLengthErrorText, defaultColors, lengthFieldValidator, lineWidthFieldValidator } from '../utils/ui/table-properties.js';
12
12
  import { debounce } from 'lodash-es';
13
- import { getTableWidgetAncestor } from '../utils/ui/widget';
14
- import { getBalloonCellPositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon';
13
+ import { getTableWidgetAncestor } from '../utils/ui/widget.js';
14
+ import { getBalloonCellPositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon.js';
15
15
  import tableCellProperties from './../../theme/icons/table-cell-properties.svg';
16
- import { getNormalizedDefaultProperties } from '../utils/table-properties';
16
+ import { getNormalizedDefaultProperties } from '../utils/table-properties.js';
17
17
  const ERROR_TEXT_TIMEOUT = 500;
18
18
  // Map of view properties and related commands.
19
19
  const propertyToCommandMap = {
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module table/tablecellproperties/ui/tablecellpropertiesview
7
7
  */
8
- import { ButtonView, FocusCycler, LabeledFieldView, View, ViewCollection, type FocusableView, type NormalizedColorOption, type ColorPickerConfig } from 'ckeditor5/src/ui';
9
- import { KeystrokeHandler, FocusTracker, type Locale } from 'ckeditor5/src/utils';
10
- import type ColorInputView from '../../ui/colorinputview';
11
- import type { TableCellPropertiesOptions } from '../../tableconfig';
8
+ import { ButtonView, FocusCycler, LabeledFieldView, View, ViewCollection, type FocusableView, type NormalizedColorOption, type ColorPickerConfig } from 'ckeditor5/src/ui.js';
9
+ import { KeystrokeHandler, FocusTracker, type Locale } from 'ckeditor5/src/utils.js';
10
+ import type ColorInputView from '../../ui/colorinputview.js';
11
+ import type { TableCellPropertiesOptions } from '../../tableconfig.js';
12
12
  import '../../../theme/form.css';
13
13
  import '../../../theme/tableform.css';
14
14
  import '../../../theme/tablecellproperties.css';
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module table/tablecellproperties/ui/tablecellpropertiesview
7
7
  */
8
- import { addListToDropdown, ButtonView, createLabeledDropdown, createLabeledInputText, FocusCycler, FormHeaderView, LabeledFieldView, LabelView, submitHandler, ToolbarView, View, ViewCollection } from 'ckeditor5/src/ui';
9
- import { KeystrokeHandler, FocusTracker } from 'ckeditor5/src/utils';
10
- import { icons } from 'ckeditor5/src/core';
11
- import { fillToolbar, getBorderStyleDefinitions, getBorderStyleLabels, getLabeledColorInputCreator } from '../../utils/ui/table-properties';
12
- import FormRowView from '../../ui/formrowview';
8
+ import { addListToDropdown, ButtonView, createLabeledDropdown, createLabeledInputText, FocusCycler, FormHeaderView, LabeledFieldView, LabelView, submitHandler, ToolbarView, View, ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { KeystrokeHandler, FocusTracker } from 'ckeditor5/src/utils.js';
10
+ import { icons } from 'ckeditor5/src/core.js';
11
+ import { fillToolbar, getBorderStyleDefinitions, getBorderStyleLabels, getLabeledColorInputCreator } from '../../utils/ui/table-properties.js';
12
+ import FormRowView from '../../ui/formrowview.js';
13
13
  import '../../../theme/form.css';
14
14
  import '../../../theme/tableform.css';
15
15
  import '../../../theme/tablecellproperties.css';
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module table/tablecellproperties
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
10
- import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui.js';
10
+ import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting.js';
11
11
  /**
12
12
  * The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
13
13
  *