@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.
- package/CHANGELOG.md +22 -0
- package/dist/cjs/pm-plugins/table-resizing/event-handlers.js +9 -84
- package/dist/cjs/pm-plugins/table-resizing/plugin.js +2 -2
- package/dist/cjs/pm-plugins/table-resizing/utils/resize-column.js +3 -144
- package/dist/cjs/pm-plugins/table-resizing/utils/resize-state.js +1 -2
- package/dist/cjs/pm-plugins/view-mode-sort/utils.js +3 -0
- package/dist/cjs/tablePlugin.js +3 -5
- package/dist/cjs/ui/DragPreview/index.js +1 -0
- package/dist/cjs/ui/FloatingContextualButton/index.js +1 -2
- package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +2 -4
- package/dist/cjs/ui/toolbar.js +1 -4
- package/dist/es2019/nodeviews/TableContainer.js +1 -1
- package/dist/es2019/pm-plugins/commands/column-resize.js +1 -1
- package/dist/es2019/pm-plugins/commands/insert.js +3 -3
- package/dist/es2019/pm-plugins/commands/misc.js +1 -1
- package/dist/es2019/pm-plugins/drag-and-drop/commands.js +1 -1
- package/dist/es2019/pm-plugins/table-analytics.js +1 -1
- package/dist/es2019/pm-plugins/table-resizing/event-handlers.js +12 -84
- package/dist/es2019/pm-plugins/table-resizing/plugin.js +2 -2
- package/dist/es2019/pm-plugins/table-resizing/utils/misc.js +2 -2
- package/dist/es2019/pm-plugins/table-resizing/utils/resize-column.js +2 -139
- package/dist/es2019/pm-plugins/table-resizing/utils/resize-logic.js +1 -1
- package/dist/es2019/pm-plugins/table-resizing/utils/resize-state.js +1 -2
- package/dist/es2019/pm-plugins/table-resizing/utils/scale-table.js +1 -1
- package/dist/es2019/pm-plugins/transforms/delete-columns.js +1 -1
- package/dist/es2019/pm-plugins/transforms/fix-tables.js +1 -1
- package/dist/es2019/pm-plugins/transforms/replace-table.js +1 -1
- package/dist/es2019/pm-plugins/transforms/split.js +2 -2
- package/dist/es2019/pm-plugins/utils/analytics.js +4 -4
- package/dist/es2019/pm-plugins/utils/column-controls.js +1 -1
- package/dist/es2019/pm-plugins/utils/drag-menu.js +1 -1
- package/dist/es2019/pm-plugins/utils/merged-cells.js +4 -4
- package/dist/es2019/pm-plugins/utils/nodes.js +3 -3
- package/dist/es2019/pm-plugins/utils/row-controls.js +2 -2
- package/dist/es2019/pm-plugins/view-mode-sort/index.js +2 -2
- package/dist/es2019/pm-plugins/view-mode-sort/utils.js +4 -1
- package/dist/es2019/tablePlugin.js +3 -5
- package/dist/es2019/ui/DragPreview/index.js +4 -3
- package/dist/es2019/ui/FloatingContextualButton/index.js +1 -2
- package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +4 -6
- package/dist/es2019/ui/FloatingDragMenu/DragMenu.js +4 -4
- package/dist/es2019/ui/FloatingDragMenu/DropdownMenu.js +2 -2
- package/dist/es2019/ui/toolbar.js +1 -4
- package/dist/esm/pm-plugins/table-resizing/event-handlers.js +11 -85
- package/dist/esm/pm-plugins/table-resizing/plugin.js +2 -2
- package/dist/esm/pm-plugins/table-resizing/utils/resize-column.js +2 -143
- package/dist/esm/pm-plugins/table-resizing/utils/resize-state.js +1 -2
- package/dist/esm/pm-plugins/view-mode-sort/utils.js +3 -0
- package/dist/esm/tablePlugin.js +3 -5
- package/dist/esm/ui/DragPreview/index.js +1 -0
- package/dist/esm/ui/FloatingContextualButton/index.js +1 -2
- package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +2 -4
- package/dist/esm/ui/toolbar.js +1 -4
- package/dist/types/pm-plugins/table-resizing/event-handlers.d.ts +1 -1
- package/dist/types/pm-plugins/table-resizing/plugin.d.ts +1 -1
- package/dist/types/pm-plugins/table-resizing/utils/resize-column.d.ts +0 -24
- package/dist/types/tablePluginType.d.ts +0 -1
- package/dist/types-ts4.5/pm-plugins/table-resizing/event-handlers.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/table-resizing/plugin.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/table-resizing/utils/resize-column.d.ts +0 -24
- package/dist/types-ts4.5/tablePluginType.d.ts +0 -1
- package/package.json +4 -4
- package/src/nodeviews/TableContainer.tsx +1 -1
- package/src/pm-plugins/commands/column-resize.ts +1 -1
- package/src/pm-plugins/commands/insert.ts +3 -3
- package/src/pm-plugins/commands/misc.ts +1 -1
- package/src/pm-plugins/drag-and-drop/commands.ts +1 -1
- package/src/pm-plugins/table-analytics.ts +1 -1
- package/src/pm-plugins/table-resizing/event-handlers.ts +35 -121
- package/src/pm-plugins/table-resizing/plugin.ts +0 -4
- package/src/pm-plugins/table-resizing/utils/misc.ts +2 -2
- package/src/pm-plugins/table-resizing/utils/resize-column.ts +1 -219
- package/src/pm-plugins/table-resizing/utils/resize-logic.ts +1 -1
- package/src/pm-plugins/table-resizing/utils/resize-state.ts +1 -3
- package/src/pm-plugins/table-resizing/utils/scale-table.ts +1 -1
- package/src/pm-plugins/transforms/delete-columns.ts +1 -1
- package/src/pm-plugins/transforms/fix-tables.ts +1 -1
- package/src/pm-plugins/transforms/replace-table.ts +1 -1
- package/src/pm-plugins/transforms/split.ts +2 -2
- package/src/pm-plugins/utils/analytics.ts +4 -4
- package/src/pm-plugins/utils/column-controls.ts +1 -1
- package/src/pm-plugins/utils/drag-menu.ts +1 -1
- package/src/pm-plugins/utils/merged-cells.ts +4 -4
- package/src/pm-plugins/utils/nodes.ts +3 -3
- package/src/pm-plugins/utils/row-controls.ts +2 -2
- package/src/pm-plugins/view-mode-sort/index.ts +2 -2
- package/src/pm-plugins/view-mode-sort/utils.ts +3 -1
- package/src/tablePlugin.tsx +3 -10
- package/src/tablePluginType.ts +0 -1
- package/src/ui/DragPreview/index.tsx +4 -3
- package/src/ui/FloatingContextualButton/index.tsx +1 -2
- package/src/ui/FloatingContextualMenu/ContextualMenu.tsx +4 -6
- package/src/ui/FloatingDragMenu/DragMenu.tsx +4 -4
- package/src/ui/FloatingDragMenu/DropdownMenu.tsx +2 -2
- package/src/ui/toolbar.tsx +1 -11
- package/tsconfig.app.json +0 -1
- package/tsconfig.dev.json +0 -1
- package/dist/cjs/pm-plugins/decorations/utils/index.js +0 -31
- package/dist/cjs/pm-plugins/drag-and-drop/index.js +0 -19
- package/dist/cjs/pm-plugins/drag-and-drop/utils/index.js +0 -12
- package/dist/cjs/pm-plugins/sticky-headers/index.js +0 -26
- package/dist/cjs/pm-plugins/table-resizing/index.js +0 -26
- package/dist/cjs/pm-plugins/table-resizing/utils/index.js +0 -176
- package/dist/cjs/pm-plugins/transforms/index.js +0 -59
- package/dist/cjs/pm-plugins/utils/index.js +0 -359
- package/dist/cjs/ui/TableFloatingControls/CornerControls/index.js +0 -25
- package/dist/cjs/ui/TableFloatingControls/RowControls/index.js +0 -19
- package/dist/cjs/ui/icons/index.js +0 -68
- package/dist/es2019/pm-plugins/decorations/utils/index.js +0 -2
- package/dist/es2019/pm-plugins/drag-and-drop/index.js +0 -2
- package/dist/es2019/pm-plugins/drag-and-drop/utils/index.js +0 -1
- package/dist/es2019/pm-plugins/sticky-headers/index.js +0 -3
- package/dist/es2019/pm-plugins/table-resizing/index.js +0 -3
- package/dist/es2019/pm-plugins/table-resizing/utils/index.js +0 -9
- package/dist/es2019/pm-plugins/transforms/index.js +0 -6
- package/dist/es2019/pm-plugins/utils/index.js +0 -12
- package/dist/es2019/ui/TableFloatingControls/CornerControls/index.js +0 -2
- package/dist/es2019/ui/TableFloatingControls/RowControls/index.js +0 -2
- package/dist/es2019/ui/icons/index.js +0 -9
- package/dist/esm/pm-plugins/decorations/utils/index.js +0 -2
- package/dist/esm/pm-plugins/drag-and-drop/index.js +0 -2
- package/dist/esm/pm-plugins/drag-and-drop/utils/index.js +0 -1
- package/dist/esm/pm-plugins/sticky-headers/index.js +0 -3
- package/dist/esm/pm-plugins/table-resizing/index.js +0 -3
- package/dist/esm/pm-plugins/table-resizing/utils/index.js +0 -9
- package/dist/esm/pm-plugins/transforms/index.js +0 -6
- package/dist/esm/pm-plugins/utils/index.js +0 -12
- package/dist/esm/ui/TableFloatingControls/CornerControls/index.js +0 -2
- package/dist/esm/ui/TableFloatingControls/RowControls/index.js +0 -2
- package/dist/esm/ui/icons/index.js +0 -9
- package/dist/types/pm-plugins/decorations/utils/index.d.ts +0 -2
- package/dist/types/pm-plugins/drag-and-drop/index.d.ts +0 -2
- package/dist/types/pm-plugins/drag-and-drop/utils/index.d.ts +0 -1
- package/dist/types/pm-plugins/sticky-headers/index.d.ts +0 -4
- package/dist/types/pm-plugins/table-resizing/index.d.ts +0 -3
- package/dist/types/pm-plugins/table-resizing/utils/index.d.ts +0 -10
- package/dist/types/pm-plugins/transforms/index.d.ts +0 -6
- package/dist/types/pm-plugins/utils/index.d.ts +0 -13
- package/dist/types/ui/TableFloatingControls/CornerControls/index.d.ts +0 -2
- package/dist/types/ui/TableFloatingControls/RowControls/index.d.ts +0 -2
- package/dist/types/ui/icons/index.d.ts +0 -9
- package/dist/types-ts4.5/pm-plugins/decorations/utils/index.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/drag-and-drop/index.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/drag-and-drop/utils/index.d.ts +0 -1
- package/dist/types-ts4.5/pm-plugins/sticky-headers/index.d.ts +0 -4
- package/dist/types-ts4.5/pm-plugins/table-resizing/index.d.ts +0 -3
- package/dist/types-ts4.5/pm-plugins/table-resizing/utils/index.d.ts +0 -10
- package/dist/types-ts4.5/pm-plugins/transforms/index.d.ts +0 -6
- package/dist/types-ts4.5/pm-plugins/utils/index.d.ts +0 -13
- package/dist/types-ts4.5/ui/TableFloatingControls/CornerControls/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/TableFloatingControls/RowControls/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/icons/index.d.ts +0 -9
- package/src/pm-plugins/decorations/utils/index.ts +0 -5
- package/src/pm-plugins/drag-and-drop/index.ts +0 -2
- package/src/pm-plugins/drag-and-drop/utils/index.ts +0 -1
- package/src/pm-plugins/sticky-headers/index.ts +0 -5
- package/src/pm-plugins/table-resizing/index.ts +0 -3
- package/src/pm-plugins/table-resizing/utils/index.ts +0 -23
- package/src/pm-plugins/transforms/index.ts +0 -6
- package/src/pm-plugins/utils/index.ts +0 -69
- package/src/ui/TableFloatingControls/CornerControls/index.tsx +0 -2
- package/src/ui/TableFloatingControls/RowControls/index.tsx +0 -2
- 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 +0,0 @@
|
|
|
1
|
-
export { autoScrollerFactory } from './autoscrollers';
|
|
@@ -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,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 +0,0 @@
|
|
|
1
|
-
export { autoScrollerFactory } from './autoscrollers';
|
|
@@ -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,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 +0,0 @@
|
|
|
1
|
-
export { autoScrollerFactory } from './autoscrollers';
|
|
@@ -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';
|
package/src/ui/icons/index.ts
DELETED
|
@@ -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';
|