@atlaskit/editor-plugin-table 8.4.13 → 9.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 (163) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/pm-plugins/table-resizing/event-handlers.js +9 -84
  3. package/dist/cjs/pm-plugins/table-resizing/plugin.js +2 -2
  4. package/dist/cjs/pm-plugins/table-resizing/utils/resize-column.js +3 -144
  5. package/dist/cjs/pm-plugins/table-resizing/utils/resize-state.js +1 -2
  6. package/dist/cjs/pm-plugins/view-mode-sort/utils.js +3 -0
  7. package/dist/cjs/tablePlugin.js +3 -5
  8. package/dist/cjs/ui/DragPreview/index.js +1 -0
  9. package/dist/cjs/ui/FloatingContextualButton/index.js +1 -2
  10. package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +2 -4
  11. package/dist/cjs/ui/toolbar.js +1 -4
  12. package/dist/es2019/nodeviews/TableContainer.js +1 -1
  13. package/dist/es2019/pm-plugins/commands/column-resize.js +1 -1
  14. package/dist/es2019/pm-plugins/commands/insert.js +3 -3
  15. package/dist/es2019/pm-plugins/commands/misc.js +1 -1
  16. package/dist/es2019/pm-plugins/drag-and-drop/commands.js +1 -1
  17. package/dist/es2019/pm-plugins/table-analytics.js +1 -1
  18. package/dist/es2019/pm-plugins/table-resizing/event-handlers.js +12 -84
  19. package/dist/es2019/pm-plugins/table-resizing/plugin.js +2 -2
  20. package/dist/es2019/pm-plugins/table-resizing/utils/misc.js +2 -2
  21. package/dist/es2019/pm-plugins/table-resizing/utils/resize-column.js +2 -139
  22. package/dist/es2019/pm-plugins/table-resizing/utils/resize-logic.js +1 -1
  23. package/dist/es2019/pm-plugins/table-resizing/utils/resize-state.js +1 -2
  24. package/dist/es2019/pm-plugins/table-resizing/utils/scale-table.js +1 -1
  25. package/dist/es2019/pm-plugins/transforms/delete-columns.js +1 -1
  26. package/dist/es2019/pm-plugins/transforms/fix-tables.js +1 -1
  27. package/dist/es2019/pm-plugins/transforms/replace-table.js +1 -1
  28. package/dist/es2019/pm-plugins/transforms/split.js +2 -2
  29. package/dist/es2019/pm-plugins/utils/analytics.js +4 -4
  30. package/dist/es2019/pm-plugins/utils/column-controls.js +1 -1
  31. package/dist/es2019/pm-plugins/utils/drag-menu.js +1 -1
  32. package/dist/es2019/pm-plugins/utils/merged-cells.js +4 -4
  33. package/dist/es2019/pm-plugins/utils/nodes.js +3 -3
  34. package/dist/es2019/pm-plugins/utils/row-controls.js +2 -2
  35. package/dist/es2019/pm-plugins/view-mode-sort/index.js +2 -2
  36. package/dist/es2019/pm-plugins/view-mode-sort/utils.js +4 -1
  37. package/dist/es2019/tablePlugin.js +3 -5
  38. package/dist/es2019/ui/DragPreview/index.js +4 -3
  39. package/dist/es2019/ui/FloatingContextualButton/index.js +1 -2
  40. package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +4 -6
  41. package/dist/es2019/ui/FloatingDragMenu/DragMenu.js +4 -4
  42. package/dist/es2019/ui/FloatingDragMenu/DropdownMenu.js +2 -2
  43. package/dist/es2019/ui/toolbar.js +1 -4
  44. package/dist/esm/pm-plugins/table-resizing/event-handlers.js +11 -85
  45. package/dist/esm/pm-plugins/table-resizing/plugin.js +2 -2
  46. package/dist/esm/pm-plugins/table-resizing/utils/resize-column.js +2 -143
  47. package/dist/esm/pm-plugins/table-resizing/utils/resize-state.js +1 -2
  48. package/dist/esm/pm-plugins/view-mode-sort/utils.js +3 -0
  49. package/dist/esm/tablePlugin.js +3 -5
  50. package/dist/esm/ui/DragPreview/index.js +1 -0
  51. package/dist/esm/ui/FloatingContextualButton/index.js +1 -2
  52. package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +2 -4
  53. package/dist/esm/ui/toolbar.js +1 -4
  54. package/dist/types/pm-plugins/table-resizing/event-handlers.d.ts +1 -1
  55. package/dist/types/pm-plugins/table-resizing/plugin.d.ts +1 -1
  56. package/dist/types/pm-plugins/table-resizing/utils/resize-column.d.ts +0 -24
  57. package/dist/types/tablePluginType.d.ts +0 -1
  58. package/dist/types-ts4.5/pm-plugins/table-resizing/event-handlers.d.ts +1 -1
  59. package/dist/types-ts4.5/pm-plugins/table-resizing/plugin.d.ts +1 -1
  60. package/dist/types-ts4.5/pm-plugins/table-resizing/utils/resize-column.d.ts +0 -24
  61. package/dist/types-ts4.5/tablePluginType.d.ts +0 -1
  62. package/package.json +4 -4
  63. package/src/nodeviews/TableContainer.tsx +1 -1
  64. package/src/pm-plugins/commands/column-resize.ts +1 -1
  65. package/src/pm-plugins/commands/insert.ts +3 -3
  66. package/src/pm-plugins/commands/misc.ts +1 -1
  67. package/src/pm-plugins/drag-and-drop/commands.ts +1 -1
  68. package/src/pm-plugins/table-analytics.ts +1 -1
  69. package/src/pm-plugins/table-resizing/event-handlers.ts +35 -121
  70. package/src/pm-plugins/table-resizing/plugin.ts +0 -4
  71. package/src/pm-plugins/table-resizing/utils/misc.ts +2 -2
  72. package/src/pm-plugins/table-resizing/utils/resize-column.ts +1 -219
  73. package/src/pm-plugins/table-resizing/utils/resize-logic.ts +1 -1
  74. package/src/pm-plugins/table-resizing/utils/resize-state.ts +1 -3
  75. package/src/pm-plugins/table-resizing/utils/scale-table.ts +1 -1
  76. package/src/pm-plugins/transforms/delete-columns.ts +1 -1
  77. package/src/pm-plugins/transforms/fix-tables.ts +1 -1
  78. package/src/pm-plugins/transforms/replace-table.ts +1 -1
  79. package/src/pm-plugins/transforms/split.ts +2 -2
  80. package/src/pm-plugins/utils/analytics.ts +4 -4
  81. package/src/pm-plugins/utils/column-controls.ts +1 -1
  82. package/src/pm-plugins/utils/drag-menu.ts +1 -1
  83. package/src/pm-plugins/utils/merged-cells.ts +4 -4
  84. package/src/pm-plugins/utils/nodes.ts +3 -3
  85. package/src/pm-plugins/utils/row-controls.ts +2 -2
  86. package/src/pm-plugins/view-mode-sort/index.ts +2 -2
  87. package/src/pm-plugins/view-mode-sort/utils.ts +3 -1
  88. package/src/tablePlugin.tsx +3 -10
  89. package/src/tablePluginType.ts +0 -1
  90. package/src/ui/DragPreview/index.tsx +4 -3
  91. package/src/ui/FloatingContextualButton/index.tsx +1 -2
  92. package/src/ui/FloatingContextualMenu/ContextualMenu.tsx +4 -6
  93. package/src/ui/FloatingDragMenu/DragMenu.tsx +4 -4
  94. package/src/ui/FloatingDragMenu/DropdownMenu.tsx +2 -2
  95. package/src/ui/toolbar.tsx +1 -11
  96. package/tsconfig.app.json +0 -1
  97. package/tsconfig.dev.json +0 -1
  98. package/dist/cjs/pm-plugins/decorations/utils/index.js +0 -31
  99. package/dist/cjs/pm-plugins/drag-and-drop/index.js +0 -19
  100. package/dist/cjs/pm-plugins/drag-and-drop/utils/index.js +0 -12
  101. package/dist/cjs/pm-plugins/sticky-headers/index.js +0 -26
  102. package/dist/cjs/pm-plugins/table-resizing/index.js +0 -26
  103. package/dist/cjs/pm-plugins/table-resizing/utils/index.js +0 -176
  104. package/dist/cjs/pm-plugins/transforms/index.js +0 -59
  105. package/dist/cjs/pm-plugins/utils/index.js +0 -359
  106. package/dist/cjs/ui/TableFloatingControls/CornerControls/index.js +0 -25
  107. package/dist/cjs/ui/TableFloatingControls/RowControls/index.js +0 -19
  108. package/dist/cjs/ui/icons/index.js +0 -68
  109. package/dist/es2019/pm-plugins/decorations/utils/index.js +0 -2
  110. package/dist/es2019/pm-plugins/drag-and-drop/index.js +0 -2
  111. package/dist/es2019/pm-plugins/drag-and-drop/utils/index.js +0 -1
  112. package/dist/es2019/pm-plugins/sticky-headers/index.js +0 -3
  113. package/dist/es2019/pm-plugins/table-resizing/index.js +0 -3
  114. package/dist/es2019/pm-plugins/table-resizing/utils/index.js +0 -9
  115. package/dist/es2019/pm-plugins/transforms/index.js +0 -6
  116. package/dist/es2019/pm-plugins/utils/index.js +0 -12
  117. package/dist/es2019/ui/TableFloatingControls/CornerControls/index.js +0 -2
  118. package/dist/es2019/ui/TableFloatingControls/RowControls/index.js +0 -2
  119. package/dist/es2019/ui/icons/index.js +0 -9
  120. package/dist/esm/pm-plugins/decorations/utils/index.js +0 -2
  121. package/dist/esm/pm-plugins/drag-and-drop/index.js +0 -2
  122. package/dist/esm/pm-plugins/drag-and-drop/utils/index.js +0 -1
  123. package/dist/esm/pm-plugins/sticky-headers/index.js +0 -3
  124. package/dist/esm/pm-plugins/table-resizing/index.js +0 -3
  125. package/dist/esm/pm-plugins/table-resizing/utils/index.js +0 -9
  126. package/dist/esm/pm-plugins/transforms/index.js +0 -6
  127. package/dist/esm/pm-plugins/utils/index.js +0 -12
  128. package/dist/esm/ui/TableFloatingControls/CornerControls/index.js +0 -2
  129. package/dist/esm/ui/TableFloatingControls/RowControls/index.js +0 -2
  130. package/dist/esm/ui/icons/index.js +0 -9
  131. package/dist/types/pm-plugins/decorations/utils/index.d.ts +0 -2
  132. package/dist/types/pm-plugins/drag-and-drop/index.d.ts +0 -2
  133. package/dist/types/pm-plugins/drag-and-drop/utils/index.d.ts +0 -1
  134. package/dist/types/pm-plugins/sticky-headers/index.d.ts +0 -4
  135. package/dist/types/pm-plugins/table-resizing/index.d.ts +0 -3
  136. package/dist/types/pm-plugins/table-resizing/utils/index.d.ts +0 -10
  137. package/dist/types/pm-plugins/transforms/index.d.ts +0 -6
  138. package/dist/types/pm-plugins/utils/index.d.ts +0 -13
  139. package/dist/types/ui/TableFloatingControls/CornerControls/index.d.ts +0 -2
  140. package/dist/types/ui/TableFloatingControls/RowControls/index.d.ts +0 -2
  141. package/dist/types/ui/icons/index.d.ts +0 -9
  142. package/dist/types-ts4.5/pm-plugins/decorations/utils/index.d.ts +0 -2
  143. package/dist/types-ts4.5/pm-plugins/drag-and-drop/index.d.ts +0 -2
  144. package/dist/types-ts4.5/pm-plugins/drag-and-drop/utils/index.d.ts +0 -1
  145. package/dist/types-ts4.5/pm-plugins/sticky-headers/index.d.ts +0 -4
  146. package/dist/types-ts4.5/pm-plugins/table-resizing/index.d.ts +0 -3
  147. package/dist/types-ts4.5/pm-plugins/table-resizing/utils/index.d.ts +0 -10
  148. package/dist/types-ts4.5/pm-plugins/transforms/index.d.ts +0 -6
  149. package/dist/types-ts4.5/pm-plugins/utils/index.d.ts +0 -13
  150. package/dist/types-ts4.5/ui/TableFloatingControls/CornerControls/index.d.ts +0 -2
  151. package/dist/types-ts4.5/ui/TableFloatingControls/RowControls/index.d.ts +0 -2
  152. package/dist/types-ts4.5/ui/icons/index.d.ts +0 -9
  153. package/src/pm-plugins/decorations/utils/index.ts +0 -5
  154. package/src/pm-plugins/drag-and-drop/index.ts +0 -2
  155. package/src/pm-plugins/drag-and-drop/utils/index.ts +0 -1
  156. package/src/pm-plugins/sticky-headers/index.ts +0 -5
  157. package/src/pm-plugins/table-resizing/index.ts +0 -3
  158. package/src/pm-plugins/table-resizing/utils/index.ts +0 -23
  159. package/src/pm-plugins/transforms/index.ts +0 -6
  160. package/src/pm-plugins/utils/index.ts +0 -69
  161. package/src/ui/TableFloatingControls/CornerControls/index.tsx +0 -2
  162. package/src/ui/TableFloatingControls/RowControls/index.tsx +0 -2
  163. package/src/ui/icons/index.ts +0 -9
@@ -1,9 +0,0 @@
1
- export { DragHandleIcon } from './DragHandleIcon';
2
- export { DragHandleDisabledIcon } from './DragHandleDisabledIcon';
3
- export { MinimisedHandleIcon } from './MinimisedHandle';
4
- export { MergeCellsIcon } from './MergeCellsIcon';
5
- export { SplitCellIcon } from './SplitCellIcon';
6
- export { AddRowAboveIcon } from './AddRowAboveIcon';
7
- export { AddRowBelowIcon } from './AddRowBelowIcon';
8
- export { AddColLeftIcon } from './AddColLeftIcon';
9
- export { AddColRightIcon } from './AddColRightIcon';
@@ -1,2 +0,0 @@
1
- export { buildColumnControlsDecorations, maybeUpdateColumnControlsSelectedDecoration, } from './column-controls';
2
- export { buildColumnResizingDecorations, clearColumnResizingDecorations } from './column-resizing';
@@ -1,2 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
@@ -1 +0,0 @@
1
- export { autoScrollerFactory } from './autoscrollers';
@@ -1,4 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
3
- export type { StickyPluginState, RowStickyState } from './types';
4
- export { findStickyHeaderForTable } from './util';
@@ -1,3 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
3
- export { getPluginState } from './plugin-factory';
@@ -1,10 +0,0 @@
1
- export { generateColgroup, insertColgroupFromNode, hasTableBeenResized, getColgroupChildrenLength, getResizerMinWidth, } from './colgroup';
2
- export { contentWidth } from './content-width';
3
- export { getCellsRefsInColumn, calculateColumnWidth } from './column-state';
4
- export { getResizeState, updateColgroup, evenAllColumnsWidths } from './resize-state';
5
- export { getLayoutSize, pointsAtCell, currentColWidth, getTableMaxWidth, getTableElementWidth, getTableContainerElementWidth, } from './misc';
6
- export { updateControls, isClickNear, getResizeCellPos } from './dom';
7
- export { scaleTable, previewScaleTable } from './scale-table';
8
- export type { ResizeState, ResizeStateWithAnalytics } from './types';
9
- export { resizeColumn, resizeColumnAndTable } from './resize-column';
10
- export { COLUMN_MIN_WIDTH, TABLE_MAX_WIDTH, TABLE_OFFSET_IN_COMMENT_EDITOR } from './consts';
@@ -1,6 +0,0 @@
1
- export { fixTables, fixAutoSizedTable } from './fix-tables';
2
- export { mergeCells, canMergeCells } from './merge';
3
- export { deleteColumns } from './delete-columns';
4
- export { deleteRows } from './delete-rows';
5
- export { updateColumnWidths } from './column-width';
6
- export { replaceSelectedTable } from './replace-table';
@@ -1,13 +0,0 @@
1
- export { getSelectedColumnIndexes, getSelectedRowIndexes } from './selection';
2
- export { findControlsHoverDecoration, createControlsHoverDecoration, createCellHoverDecoration, updateDecorations, createColumnInsertLine, createColumnLineResize, createRowInsertLine, } from './decoration';
3
- export { containsHeaderColumn, containsHeaderRow, checkIfHeaderColumnEnabled, checkIfHeaderRowEnabled, checkIfNumberColumnEnabled, getTableWidth, tablesHaveDifferentColumnWidths, tablesHaveDifferentNoOfColumns, tablesHaveDifferentNoOfRows, isTableNested, isTableNestedInMoreThanOneNode, } from './nodes';
4
- export { transformSliceToRemoveOpenTable, transformSliceToCorrectEmptyTableCells, transformSliceToFixHardBreakProblemOnCopyFromCell, } from './paste';
5
- export { isCell, isCornerButton, isInsertRowButton, isColumnControlsDecorations, isTableControlsButton, isTableContainerOrWrapper, isRowControlsButton, isDragColumnFloatingInsertDot, isDragRowFloatingInsertDot, isDragCornerButton, getColumnOrRowIndex, getMousePositionHorizontalRelativeByElement, getMousePositionVerticalRelativeByElement, isResizeHandleDecoration, hasResizeHandler, findNearestCellIndexToPoint, } from './dom';
6
- export { convertHTMLCellIndexToColumnIndex, getColumnsWidths, getColumnDeleteButtonParams, getColumnIndexMappedToColumnIndexInFirstRow, } from './column-controls';
7
- export { getRowHeights, getRowDeleteButtonParams, getRowsParams, getRowClassNames, copyPreviousRow, } from './row-controls';
8
- export type { RowParams } from './row-controls';
9
- export { getSelectedTableInfo, getSelectedCellInfo } from './analytics';
10
- export { getMergedCellsPositions, getAssistiveMessage } from './table';
11
- export { updatePluginStateDecorations } from './update-plugin-state-decorations';
12
- export { hasMergedCellsInBetween, hasMergedCellsInSelection, findDuplicatePosition, } from './merged-cells';
13
- export { createTableWithWidth } from './create';
@@ -1,2 +0,0 @@
1
- export { CornerControls } from './ClassicCornerControls';
2
- export { DragCornerControls, DragCornerControlsWithSelection } from './DragCornerControls';
@@ -1,2 +0,0 @@
1
- export { RowControls } from './ClassicControls';
2
- export { DragControls } from './DragControls';
@@ -1,9 +0,0 @@
1
- export { DragHandleIcon } from './DragHandleIcon';
2
- export { DragHandleDisabledIcon } from './DragHandleDisabledIcon';
3
- export { MinimisedHandleIcon } from './MinimisedHandle';
4
- export { MergeCellsIcon } from './MergeCellsIcon';
5
- export { SplitCellIcon } from './SplitCellIcon';
6
- export { AddRowAboveIcon } from './AddRowAboveIcon';
7
- export { AddRowBelowIcon } from './AddRowBelowIcon';
8
- export { AddColLeftIcon } from './AddColLeftIcon';
9
- export { AddColRightIcon } from './AddColRightIcon';
@@ -1,2 +0,0 @@
1
- export { buildColumnControlsDecorations, maybeUpdateColumnControlsSelectedDecoration, } from './column-controls';
2
- export { buildColumnResizingDecorations, clearColumnResizingDecorations } from './column-resizing';
@@ -1,2 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
@@ -1 +0,0 @@
1
- export { autoScrollerFactory } from './autoscrollers';
@@ -1,4 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
3
- export type { StickyPluginState, RowStickyState } from './types';
4
- export { findStickyHeaderForTable } from './util';
@@ -1,3 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
3
- export { getPluginState } from './plugin-factory';
@@ -1,10 +0,0 @@
1
- export { generateColgroup, insertColgroupFromNode, hasTableBeenResized, getColgroupChildrenLength, getResizerMinWidth, } from './colgroup';
2
- export { contentWidth } from './content-width';
3
- export { getCellsRefsInColumn, calculateColumnWidth } from './column-state';
4
- export { getResizeState, updateColgroup, evenAllColumnsWidths } from './resize-state';
5
- export { getLayoutSize, pointsAtCell, currentColWidth, getTableMaxWidth, getTableElementWidth, getTableContainerElementWidth, } from './misc';
6
- export { updateControls, isClickNear, getResizeCellPos } from './dom';
7
- export { scaleTable, previewScaleTable } from './scale-table';
8
- export type { ResizeState, ResizeStateWithAnalytics } from './types';
9
- export { resizeColumn, resizeColumnAndTable } from './resize-column';
10
- export { COLUMN_MIN_WIDTH, TABLE_MAX_WIDTH, TABLE_OFFSET_IN_COMMENT_EDITOR } from './consts';
@@ -1,6 +0,0 @@
1
- export { fixTables, fixAutoSizedTable } from './fix-tables';
2
- export { mergeCells, canMergeCells } from './merge';
3
- export { deleteColumns } from './delete-columns';
4
- export { deleteRows } from './delete-rows';
5
- export { updateColumnWidths } from './column-width';
6
- export { replaceSelectedTable } from './replace-table';
@@ -1,13 +0,0 @@
1
- export { getSelectedColumnIndexes, getSelectedRowIndexes } from './selection';
2
- export { findControlsHoverDecoration, createControlsHoverDecoration, createCellHoverDecoration, updateDecorations, createColumnInsertLine, createColumnLineResize, createRowInsertLine, } from './decoration';
3
- export { containsHeaderColumn, containsHeaderRow, checkIfHeaderColumnEnabled, checkIfHeaderRowEnabled, checkIfNumberColumnEnabled, getTableWidth, tablesHaveDifferentColumnWidths, tablesHaveDifferentNoOfColumns, tablesHaveDifferentNoOfRows, isTableNested, isTableNestedInMoreThanOneNode, } from './nodes';
4
- export { transformSliceToRemoveOpenTable, transformSliceToCorrectEmptyTableCells, transformSliceToFixHardBreakProblemOnCopyFromCell, } from './paste';
5
- export { isCell, isCornerButton, isInsertRowButton, isColumnControlsDecorations, isTableControlsButton, isTableContainerOrWrapper, isRowControlsButton, isDragColumnFloatingInsertDot, isDragRowFloatingInsertDot, isDragCornerButton, getColumnOrRowIndex, getMousePositionHorizontalRelativeByElement, getMousePositionVerticalRelativeByElement, isResizeHandleDecoration, hasResizeHandler, findNearestCellIndexToPoint, } from './dom';
6
- export { convertHTMLCellIndexToColumnIndex, getColumnsWidths, getColumnDeleteButtonParams, getColumnIndexMappedToColumnIndexInFirstRow, } from './column-controls';
7
- export { getRowHeights, getRowDeleteButtonParams, getRowsParams, getRowClassNames, copyPreviousRow, } from './row-controls';
8
- export type { RowParams } from './row-controls';
9
- export { getSelectedTableInfo, getSelectedCellInfo } from './analytics';
10
- export { getMergedCellsPositions, getAssistiveMessage } from './table';
11
- export { updatePluginStateDecorations } from './update-plugin-state-decorations';
12
- export { hasMergedCellsInBetween, hasMergedCellsInSelection, findDuplicatePosition, } from './merged-cells';
13
- export { createTableWithWidth } from './create';
@@ -1,2 +0,0 @@
1
- export { CornerControls } from './ClassicCornerControls';
2
- export { DragCornerControls, DragCornerControlsWithSelection } from './DragCornerControls';
@@ -1,2 +0,0 @@
1
- export { RowControls } from './ClassicControls';
2
- export { DragControls } from './DragControls';
@@ -1,9 +0,0 @@
1
- export { DragHandleIcon } from './DragHandleIcon';
2
- export { DragHandleDisabledIcon } from './DragHandleDisabledIcon';
3
- export { MinimisedHandleIcon } from './MinimisedHandle';
4
- export { MergeCellsIcon } from './MergeCellsIcon';
5
- export { SplitCellIcon } from './SplitCellIcon';
6
- export { AddRowAboveIcon } from './AddRowAboveIcon';
7
- export { AddRowBelowIcon } from './AddRowBelowIcon';
8
- export { AddColLeftIcon } from './AddColLeftIcon';
9
- export { AddColRightIcon } from './AddColRightIcon';
@@ -1,5 +0,0 @@
1
- export {
2
- buildColumnControlsDecorations,
3
- maybeUpdateColumnControlsSelectedDecoration,
4
- } from './column-controls';
5
- export { buildColumnResizingDecorations, clearColumnResizingDecorations } from './column-resizing';
@@ -1,2 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
@@ -1 +0,0 @@
1
- export { autoScrollerFactory } from './autoscrollers';
@@ -1,5 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
3
- export type { StickyPluginState, RowStickyState } from './types';
4
-
5
- export { findStickyHeaderForTable } from './util';
@@ -1,3 +0,0 @@
1
- export { createPlugin } from './plugin';
2
- export { pluginKey } from './plugin-key';
3
- export { getPluginState } from './plugin-factory';
@@ -1,23 +0,0 @@
1
- export {
2
- generateColgroup,
3
- insertColgroupFromNode,
4
- hasTableBeenResized,
5
- getColgroupChildrenLength,
6
- getResizerMinWidth,
7
- } from './colgroup';
8
- export { contentWidth } from './content-width';
9
- export { getCellsRefsInColumn, calculateColumnWidth } from './column-state';
10
- export { getResizeState, updateColgroup, evenAllColumnsWidths } from './resize-state';
11
- export {
12
- getLayoutSize,
13
- pointsAtCell,
14
- currentColWidth,
15
- getTableMaxWidth,
16
- getTableElementWidth,
17
- getTableContainerElementWidth,
18
- } from './misc';
19
- export { updateControls, isClickNear, getResizeCellPos } from './dom';
20
- export { scaleTable, previewScaleTable } from './scale-table';
21
- export type { ResizeState, ResizeStateWithAnalytics } from './types';
22
- export { resizeColumn, resizeColumnAndTable } from './resize-column';
23
- export { COLUMN_MIN_WIDTH, TABLE_MAX_WIDTH, TABLE_OFFSET_IN_COMMENT_EDITOR } from './consts';
@@ -1,6 +0,0 @@
1
- export { fixTables, fixAutoSizedTable } from './fix-tables';
2
- export { mergeCells, canMergeCells } from './merge';
3
- export { deleteColumns } from './delete-columns';
4
- export { deleteRows } from './delete-rows';
5
- export { updateColumnWidths } from './column-width';
6
- export { replaceSelectedTable } from './replace-table';
@@ -1,69 +0,0 @@
1
- export { getSelectedColumnIndexes, getSelectedRowIndexes } from './selection';
2
- export {
3
- findControlsHoverDecoration,
4
- createControlsHoverDecoration,
5
- createCellHoverDecoration,
6
- updateDecorations,
7
- createColumnInsertLine,
8
- createColumnLineResize,
9
- createRowInsertLine,
10
- } from './decoration';
11
- export {
12
- containsHeaderColumn,
13
- containsHeaderRow,
14
- checkIfHeaderColumnEnabled,
15
- checkIfHeaderRowEnabled,
16
- checkIfNumberColumnEnabled,
17
- getTableWidth,
18
- tablesHaveDifferentColumnWidths,
19
- tablesHaveDifferentNoOfColumns,
20
- tablesHaveDifferentNoOfRows,
21
- isTableNested,
22
- isTableNestedInMoreThanOneNode,
23
- } from './nodes';
24
- export {
25
- transformSliceToRemoveOpenTable,
26
- transformSliceToCorrectEmptyTableCells,
27
- transformSliceToFixHardBreakProblemOnCopyFromCell,
28
- } from './paste';
29
- export {
30
- isCell,
31
- isCornerButton,
32
- isInsertRowButton,
33
- isColumnControlsDecorations,
34
- isTableControlsButton,
35
- isTableContainerOrWrapper,
36
- isRowControlsButton,
37
- isDragColumnFloatingInsertDot,
38
- isDragRowFloatingInsertDot,
39
- isDragCornerButton,
40
- getColumnOrRowIndex,
41
- getMousePositionHorizontalRelativeByElement,
42
- getMousePositionVerticalRelativeByElement,
43
- isResizeHandleDecoration,
44
- hasResizeHandler,
45
- findNearestCellIndexToPoint,
46
- } from './dom';
47
- export {
48
- convertHTMLCellIndexToColumnIndex,
49
- getColumnsWidths,
50
- getColumnDeleteButtonParams,
51
- getColumnIndexMappedToColumnIndexInFirstRow,
52
- } from './column-controls';
53
- export {
54
- getRowHeights,
55
- getRowDeleteButtonParams,
56
- getRowsParams,
57
- getRowClassNames,
58
- copyPreviousRow,
59
- } from './row-controls';
60
- export type { RowParams } from './row-controls';
61
- export { getSelectedTableInfo, getSelectedCellInfo } from './analytics';
62
- export { getMergedCellsPositions, getAssistiveMessage } from './table';
63
- export { updatePluginStateDecorations } from './update-plugin-state-decorations';
64
- export {
65
- hasMergedCellsInBetween,
66
- hasMergedCellsInSelection,
67
- findDuplicatePosition,
68
- } from './merged-cells';
69
- export { createTableWithWidth } from './create';
@@ -1,2 +0,0 @@
1
- export { CornerControls } from './ClassicCornerControls';
2
- export { DragCornerControls, DragCornerControlsWithSelection } from './DragCornerControls';
@@ -1,2 +0,0 @@
1
- export { RowControls } from './ClassicControls';
2
- export { DragControls } from './DragControls';
@@ -1,9 +0,0 @@
1
- export { DragHandleIcon } from './DragHandleIcon';
2
- export { DragHandleDisabledIcon } from './DragHandleDisabledIcon';
3
- export { MinimisedHandleIcon } from './MinimisedHandle';
4
- export { MergeCellsIcon } from './MergeCellsIcon';
5
- export { SplitCellIcon } from './SplitCellIcon';
6
- export { AddRowAboveIcon } from './AddRowAboveIcon';
7
- export { AddRowBelowIcon } from './AddRowBelowIcon';
8
- export { AddColLeftIcon } from './AddColLeftIcon';
9
- export { AddColRightIcon } from './AddColRightIcon';