@lofcz/platejs-table 52.0.11

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/dist/index.js ADDED
@@ -0,0 +1,85 @@
1
+ import { $ as isSelectedCellBordersNone, A as mergeTableCells, B as getTableOverriddenColSizes, C as insertTableColumn, D as deleteColumn, E as deleteRow, F as deleteTableMergeRow, G as getCellIndicesWithSpans, H as getTableGridByRange, I as deleteRowWhenExpanded, J as getTableCellSize, K as getTableEntries, L as deleteTableMergeColumn, M as insertTableMergeRow, N as insertTableMergeColumn, O as normalizeInitialValueTable, P as getTableMergedColumnCount, Q as isSelectedCellBorder, R as getCellPath, S as insertTableRow, T as deleteTable, U as getTableMergeGridByRange, V as getTableGridAbove, W as findCellByIndexes, X as getTableAbove, Y as getTableCellBorders, Z as getSelectedCellsBorders, _ as setTableMarginLeft, a as BaseTableRowPlugin, at as getNextTableCell, b as overrideSelectionFromCell, c as withSetFragmentDataTable, ct as getCellRowIndexByPath, d as withInsertFragmentTable, dt as getColSpan, et as isSelectedCellBordersOuter, f as withGetFragmentTable, ft as getCellInPreviousTableRow, g as setTableRowSize, gt as getEmptyCellNode, h as withApplyTable, ht as getEmptyRowNode, i as BaseTablePlugin, it as getPreviousTableCell, j as isTableRectangular, k as splitTableCell, l as withNormalizeTable, lt as getCellIndices, m as withDeleteTable, mt as getEmptyTableNode, n as BaseTableCellHeaderPlugin, nt as getSelectedCellsBoundingBox, o as withTable, ot as getLeftTableCell, p as preventDeleteTableCell, pt as getCellInNextTableRow, q as getTableColumnCount, r as BaseTableCellPlugin, rt as getRowSpan, s as withTableCellSelection, st as getCellTypes, t as KEY_SHIFT_EDGES, tt as getTopTableCell, u as withInsertTextTable, ut as computeCellIndices, v as setTableColSize, w as insertTable, x as moveSelectionFromCell, y as setBorderSize, z as deleteColumnWhenExpanded } from "./constants-B6Sm9BNa.js";
2
+ import { PathApi } from "platejs";
3
+
4
+ //#region src/lib/queries/getTableColumnIndex.ts
5
+ /** Get table column index of a cell node. */
6
+ const getTableColumnIndex = (editor, cellNode) => {
7
+ const path = editor.api.findPath(cellNode);
8
+ if (!path) return -1;
9
+ const [trNode] = editor.api.parent(path) ?? [];
10
+ if (!trNode) return -1;
11
+ let colIndex = -1;
12
+ trNode.children.some((item, index) => {
13
+ if (item === cellNode) {
14
+ colIndex = index;
15
+ return true;
16
+ }
17
+ return false;
18
+ });
19
+ return colIndex;
20
+ };
21
+
22
+ //#endregion
23
+ //#region src/lib/queries/getTableRowIndex.ts
24
+ /** Get table row index of a cell node. */
25
+ const getTableRowIndex = (editor, cellNode) => {
26
+ const path = editor.api.findPath(cellNode);
27
+ if (!path) return 0;
28
+ return PathApi.parent(path).at(-1);
29
+ };
30
+
31
+ //#endregion
32
+ //#region src/lib/queries/isTableBorderHidden.ts
33
+ const isTableBorderHidden = (editor, border) => {
34
+ if (border === "left") {
35
+ const node = getLeftTableCell(editor)?.[0];
36
+ if (node) return node.borders?.right?.size === 0;
37
+ }
38
+ if (border === "top") {
39
+ const node = getTopTableCell(editor)?.[0];
40
+ if (node) return node.borders?.bottom?.size === 0;
41
+ }
42
+ return editor.api.node({ match: { type: getCellTypes(editor) } })?.[0].borders?.[border]?.size === 0;
43
+ };
44
+
45
+ //#endregion
46
+ //#region src/lib/merge/getSelectionWidth.ts
47
+ const getSelectionWidth = (cells) => {
48
+ let max = 0;
49
+ let lastCellRowIndex = getCellRowIndexByPath(cells[0][1]);
50
+ let total = 0;
51
+ cells.forEach(([cell, cellPath]) => {
52
+ const currentCellRowIndex = getCellRowIndexByPath(cellPath);
53
+ if (currentCellRowIndex === lastCellRowIndex) {
54
+ const colSpan = cell.colSpan ?? cell.attributes?.colspan;
55
+ total += colSpan ? Number(colSpan) : 1;
56
+ } else {
57
+ max = Math.max(total, max);
58
+ total = 0;
59
+ }
60
+ lastCellRowIndex = currentCellRowIndex;
61
+ });
62
+ return Math.max(total, max);
63
+ };
64
+
65
+ //#endregion
66
+ //#region src/lib/transforms/setCellBackground.ts
67
+ const setCellBackground = (editor, options) => {
68
+ const { color, selectedCells } = options;
69
+ if (selectedCells && selectedCells.length > 0) {
70
+ selectedCells.forEach((cell) => {
71
+ const cellPath = editor.api.findPath(cell);
72
+ if (cellPath) editor.tf.setNodes({ background: color }, { at: cellPath });
73
+ });
74
+ return;
75
+ }
76
+ const currentCell = editor.api.node({ match: { type: getCellTypes(editor) } })?.[0];
77
+ if (currentCell) {
78
+ const cellPath = editor.api.findPath(currentCell);
79
+ if (cellPath) editor.tf.setNodes({ background: color }, { at: cellPath });
80
+ }
81
+ };
82
+
83
+ //#endregion
84
+ export { BaseTableCellHeaderPlugin, BaseTableCellPlugin, BaseTablePlugin, BaseTableRowPlugin, KEY_SHIFT_EDGES, computeCellIndices, deleteColumn, deleteColumnWhenExpanded, deleteRow, deleteRowWhenExpanded, deleteTable, deleteTableMergeColumn, deleteTableMergeRow, findCellByIndexes, getCellInNextTableRow, getCellInPreviousTableRow, getCellIndices, getCellIndicesWithSpans, getCellPath, getCellRowIndexByPath, getCellTypes, getColSpan, getEmptyCellNode, getEmptyRowNode, getEmptyTableNode, getLeftTableCell, getNextTableCell, getPreviousTableCell, getRowSpan, getSelectedCellsBorders, getSelectedCellsBoundingBox, getSelectionWidth, getTableAbove, getTableCellBorders, getTableCellSize, getTableColumnCount, getTableColumnIndex, getTableEntries, getTableGridAbove, getTableGridByRange, getTableMergeGridByRange, getTableMergedColumnCount, getTableOverriddenColSizes, getTableRowIndex, getTopTableCell, insertTable, insertTableColumn, insertTableMergeColumn, insertTableMergeRow, insertTableRow, isSelectedCellBorder, isSelectedCellBordersNone, isSelectedCellBordersOuter, isTableBorderHidden, isTableRectangular, mergeTableCells, moveSelectionFromCell, normalizeInitialValueTable, overrideSelectionFromCell, preventDeleteTableCell, setBorderSize, setCellBackground, setTableColSize, setTableMarginLeft, setTableRowSize, splitTableCell, withApplyTable, withDeleteTable, withGetFragmentTable, withInsertFragmentTable, withInsertTextTable, withNormalizeTable, withSetFragmentDataTable, withTable, withTableCellSelection };
85
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["Editor","TElement","getTableColumnIndex","editor","cellNode","path","api","findPath","trNode","parent","colIndex","children","some","item","index","Editor","TElement","PathApi","getTableRowIndex","editor","cellNode","path","api","findPath","rowPath","parent","at","SlateEditor","TTableCellElement","BorderDirection","getCellTypes","getLeftTableCell","getTopTableCell","isTableBorderHidden","editor","border","node","borders","right","size","bottom","api","match","type","Path","TTableCellElement","getCellRowIndexByPath","getSelectionWidth","cells","T","max","lastCellRowIndex","total","forEach","cell","cellPath","currentCellRowIndex","colSpan","attributes","colspan","colSpanNumbered","Number","Math","SlateEditor","TElement","TTableCellElement","getCellTypes","setCellBackground","editor","options","color","selectedCells","hasSelectedCells","length","forEach","cell","cellPath","api","findPath","tf","setNodes","background","at","currentCell","node","match","type"],"sources":["../src/lib/queries/getTableColumnIndex.ts","../src/lib/queries/getTableRowIndex.ts","../src/lib/queries/isTableBorderHidden.ts","../src/lib/merge/getSelectionWidth.ts","../src/lib/transforms/setCellBackground.ts"],"sourcesContent":["import type { Editor, TElement } from 'platejs';\n\n/** Get table column index of a cell node. */\nexport const getTableColumnIndex = (editor: Editor, cellNode: TElement) => {\n const path = editor.api.findPath(cellNode);\n\n if (!path) return -1;\n\n const [trNode] = editor.api.parent(path) ?? [];\n\n if (!trNode) return -1;\n\n let colIndex = -1;\n\n trNode.children.some((item, index) => {\n if (item === cellNode) {\n colIndex = index;\n\n return true;\n }\n\n return false;\n });\n\n return colIndex;\n};\n","import { type Editor, type TElement, PathApi } from 'platejs';\n\n/** Get table row index of a cell node. */\nexport const getTableRowIndex = (editor: Editor, cellNode: TElement) => {\n const path = editor.api.findPath(cellNode);\n\n if (!path) return 0;\n\n const rowPath = PathApi.parent(path);\n\n return rowPath.at(-1)!;\n};\n","import type { SlateEditor, TTableCellElement } from 'platejs';\n\nimport type { BorderDirection } from '../types';\n\nimport { getCellTypes } from '../utils';\nimport { getLeftTableCell } from './getLeftTableCell';\nimport { getTopTableCell } from './getTopTableCell';\n\nexport const isTableBorderHidden = (\n editor: SlateEditor,\n border: BorderDirection\n) => {\n if (border === 'left') {\n const node = getLeftTableCell(editor)?.[0];\n\n if (node) {\n return node.borders?.right?.size === 0;\n }\n }\n if (border === 'top') {\n const node = getTopTableCell(editor)?.[0];\n\n if (node) {\n return node.borders?.bottom?.size === 0;\n }\n }\n\n return (\n editor.api.node<TTableCellElement>({\n match: { type: getCellTypes(editor) },\n })?.[0].borders?.[border]?.size === 0\n );\n};\n","import type { Path, TTableCellElement } from 'platejs';\n\nimport { getCellRowIndexByPath } from '../utils/getCellRowIndexByPath';\n\nexport const getSelectionWidth = <T extends [TTableCellElement, Path]>(\n cells: T[]\n) => {\n // default = firstRowIndex\n\n let max = 0;\n let lastCellRowIndex = getCellRowIndexByPath(cells[0][1]);\n let total = 0;\n cells.forEach(([cell, cellPath]) => {\n const currentCellRowIndex = getCellRowIndexByPath(cellPath);\n\n // on the same line\n if (currentCellRowIndex === lastCellRowIndex) {\n const colSpan = cell.colSpan ?? cell.attributes?.colspan;\n const colSpanNumbered = colSpan ? Number(colSpan) : 1;\n total += colSpanNumbered;\n } else {\n max = Math.max(total, max);\n // easy to error\n total = 0;\n }\n\n lastCellRowIndex = currentCellRowIndex;\n });\n\n return Math.max(total, max);\n};\n","import type { SlateEditor, TElement, TTableCellElement } from 'platejs';\n\nimport { getCellTypes } from '../utils/getCellType';\n\nexport const setCellBackground = (\n editor: SlateEditor,\n options: {\n color: string | null;\n selectedCells?: TElement[];\n }\n) => {\n const { color, selectedCells } = options;\n\n const hasSelectedCells = selectedCells && selectedCells.length > 0;\n\n if (hasSelectedCells) {\n selectedCells.forEach((cell) => {\n const cellPath = editor.api.findPath(cell);\n\n if (cellPath) {\n editor.tf.setNodes<TTableCellElement>(\n { background: color },\n {\n at: cellPath,\n }\n );\n }\n });\n\n return;\n }\n\n const currentCell = editor.api.node<TTableCellElement>({\n match: { type: getCellTypes(editor) },\n })?.[0];\n\n if (currentCell) {\n const cellPath = editor.api.findPath(currentCell);\n\n if (cellPath) {\n editor.tf.setNodes<TTableCellElement>(\n { background: color },\n {\n at: cellPath,\n }\n );\n }\n }\n};\n"],"mappings":";;;;;AAGA,MAAaE,uBAAuBC,QAAgBC,aAAuB;CACzE,MAAMC,OAAOF,OAAOG,IAAIC,SAASH,SAAS;AAE1C,KAAI,CAACC,KAAM,QAAO;CAElB,MAAM,CAACG,UAAUL,OAAOG,IAAIG,OAAOJ,KAAK,IAAI,EAAE;AAE9C,KAAI,CAACG,OAAQ,QAAO;CAEpB,IAAIE,WAAW;AAEfF,QAAOG,SAASC,MAAMC,MAAMC,UAAU;AACpC,MAAID,SAAST,UAAU;AACrBM,cAAWI;AAEX,UAAO;;AAGT,SAAO;GACP;AAEF,QAAOJ;;;;;;ACrBT,MAAaQ,oBAAoBC,QAAgBC,aAAuB;CACtE,MAAMC,OAAOF,OAAOG,IAAIC,SAASH,SAAS;AAE1C,KAAI,CAACC,KAAM,QAAO;AAIlB,QAFgBJ,QAAQQ,OAAOJ,KAAK,CAErBK,GAAG,GAAG;;;;;ACFvB,MAAaO,uBACXC,QACAC,WACG;AACH,KAAIA,WAAW,QAAQ;EACrB,MAAMC,OAAOL,iBAAiBG,OAAO,GAAG;AAExC,MAAIE,KACF,QAAOA,KAAKC,SAASC,OAAOC,SAAS;;AAGzC,KAAIJ,WAAW,OAAO;EACpB,MAAMC,OAAOJ,gBAAgBE,OAAO,GAAG;AAEvC,MAAIE,KACF,QAAOA,KAAKC,SAASG,QAAQD,SAAS;;AAI1C,QACEL,OAAOO,IAAIL,KAAwB,EACjCM,OAAO,EAAEC,MAAMb,aAAaI,OAAM,EAAE,EACrC,CAAC,GAAG,GAAGG,UAAUF,SAASI,SAAS;;;;;AC1BxC,MAAaQ,qBACXC,UACG;CAGH,IAAIE,MAAM;CACV,IAAIC,mBAAmBL,sBAAsBE,MAAM,GAAG,GAAG;CACzD,IAAII,QAAQ;AACZJ,OAAMK,SAAS,CAACC,MAAMC,cAAc;EAClC,MAAMC,sBAAsBV,sBAAsBS,SAAS;AAG3D,MAAIC,wBAAwBL,kBAAkB;GAC5C,MAAMM,UAAUH,KAAKG,WAAWH,KAAKI,YAAYC;AAEjDP,YADwBK,UAAUI,OAAOJ,QAAQ,GAAG;SAE/C;AACLP,SAAMY,KAAKZ,IAAIE,OAAOF,IAAI;AAE1BE,WAAQ;;AAGVD,qBAAmBK;GACnB;AAEF,QAAOM,KAAKZ,IAAIE,OAAOF,IAAI;;;;;ACzB7B,MAAaiB,qBACXC,QACAC,YAIG;CACH,MAAM,EAAEC,OAAOC,kBAAkBF;AAIjC,KAFyBE,iBAAiBA,cAAcE,SAAS,GAE3C;AACpBF,gBAAcG,SAASC,SAAS;GAC9B,MAAMC,WAAWR,OAAOS,IAAIC,SAASH,KAAK;AAE1C,OAAIC,SACFR,QAAOW,GAAGC,SACR,EAAEC,YAAYX,OAAO,EACrB,EACEY,IAAIN,UAER,CAAC;IAEH;AAEF;;CAGF,MAAMO,cAAcf,OAAOS,IAAIO,KAAwB,EACrDC,OAAO,EAAEC,MAAMpB,aAAaE,OAAM,EAAE,EACrC,CAAC,GAAG;AAEL,KAAIe,aAAa;EACf,MAAMP,WAAWR,OAAOS,IAAIC,SAASK,YAAY;AAEjD,MAAIP,SACFR,QAAOW,GAAGC,SACR,EAAEC,YAAYX,OAAO,EACrB,EACEY,IAAIN,UAER,CAAC"}
@@ -0,0 +1,157 @@
1
+ import { Et as BorderDirection, U as BorderStylesDefault, _ as TableConfig } from "../index-CbSGuAlP";
2
+ import { SlateEditor, TElement, TTableCellElement, TTableElement } from "platejs";
3
+ import { KeyboardHandler } from "platejs/react";
4
+ import React from "react";
5
+ import { ResizeHandle } from "@platejs/resizable";
6
+
7
+ //#region src/react/TablePlugin.d.ts
8
+ declare const TableRowPlugin: any;
9
+ declare const TableCellPlugin: any;
10
+ declare const TableCellHeaderPlugin: any;
11
+ /** Enables support for tables with React-specific features. */
12
+ declare const TablePlugin: any;
13
+ //#endregion
14
+ //#region src/react/onKeyDownTable.d.ts
15
+ declare const onKeyDownTable: KeyboardHandler<TableConfig>;
16
+ //#endregion
17
+ //#region src/react/components/TableCellElement/getOnSelectTableBorderFactory.d.ts
18
+ /**
19
+ * Toggle logic for `'none'`, `'outer'`, `'top'|'bottom'|'left'|'right'`.
20
+ * `'none'` toggles no borders ↔ all borders, `'outer'` toggles the bounding
21
+ * rectangle's outer edges on/off, `'top'|'bottom'|'left'|'right'` toggles only
22
+ * that side of the bounding rect.
23
+ */
24
+ declare function setSelectedCellsBorder(editor: SlateEditor, {
25
+ border,
26
+ cells
27
+ }: {
28
+ border: BorderDirection | 'none' | 'outer';
29
+ cells: TTableCellElement[];
30
+ }): void;
31
+ /**
32
+ * Returns a function that sets borders on the selection with toggling logic. If
33
+ * selection has one or many cells, it's the same approach: we read the bounding
34
+ * rectangle, then decide which edges to flip on/off.
35
+ */
36
+ declare const getOnSelectTableBorderFactory: (editor: SlateEditor, selectedCells: TElement[] | null) => (border: BorderDirection | "none" | "outer") => () => void;
37
+ //#endregion
38
+ //#region src/react/components/TableCellElement/roundCellSizeToStep.d.ts
39
+ /**
40
+ * Rounds a cell size to the nearest step, or returns the size if the step is
41
+ * not set.
42
+ */
43
+ declare const roundCellSizeToStep: (size: number, step?: number) => number;
44
+ //#endregion
45
+ //#region src/react/components/TableCellElement/useIsCellSelected.d.ts
46
+ declare const useIsCellSelected: (element: TElement) => boolean;
47
+ //#endregion
48
+ //#region src/react/components/TableCellElement/useTableBordersDropdownMenuContentState.d.ts
49
+ declare const useTableBordersDropdownMenuContentState: ({
50
+ element: el
51
+ }?: {
52
+ element?: TTableElement;
53
+ }) => {
54
+ getOnSelectTableBorder: (border: BorderDirection | "none" | "outer") => () => void;
55
+ hasBottomBorder: any;
56
+ hasLeftBorder: any;
57
+ hasNoBorders: any;
58
+ hasOuterBorders: any;
59
+ hasRightBorder: any;
60
+ hasTopBorder: any;
61
+ };
62
+ //#endregion
63
+ //#region src/react/components/TableCellElement/useTableCellBorders.d.ts
64
+ declare function useTableCellBorders({
65
+ element: el
66
+ }?: {
67
+ element?: TTableCellElement;
68
+ }): BorderStylesDefault;
69
+ //#endregion
70
+ //#region src/react/components/TableCellElement/useTableCellElement.d.ts
71
+ type TableCellElementState = {
72
+ borders: BorderStylesDefault;
73
+ colIndex: number;
74
+ colSpan: number;
75
+ isSelectingCell: boolean;
76
+ minHeight: number | undefined;
77
+ rowIndex: number;
78
+ selected: boolean;
79
+ width: number | string;
80
+ };
81
+ declare const useTableCellElement: () => TableCellElementState;
82
+ //#endregion
83
+ //#region src/react/components/TableCellElement/useTableCellElementResizable.d.ts
84
+ type TableCellElementResizableOptions = {
85
+ /** Resize by step instead of by pixel. */
86
+ step?: number;
87
+ /** Overrides for X and Y axes. */
88
+ stepX?: number;
89
+ stepY?: number;
90
+ } & Pick<TableCellElementState, 'colIndex' | 'colSpan' | 'rowIndex'>;
91
+ declare const useTableCellElementResizable: ({
92
+ colIndex,
93
+ colSpan,
94
+ rowIndex,
95
+ step,
96
+ stepX,
97
+ stepY
98
+ }: TableCellElementResizableOptions) => {
99
+ bottomProps: React.ComponentPropsWithoutRef<typeof ResizeHandle>;
100
+ hiddenLeft: boolean;
101
+ leftProps: React.ComponentPropsWithoutRef<typeof ResizeHandle>;
102
+ rightProps: React.ComponentPropsWithoutRef<typeof ResizeHandle>;
103
+ };
104
+ //#endregion
105
+ //#region src/react/components/TableCellElement/useTableCellSize.d.ts
106
+ declare function useTableCellSize({
107
+ element: el
108
+ }?: {
109
+ element?: TTableCellElement;
110
+ }): any;
111
+ //#endregion
112
+ //#region src/react/components/TableElement/useSelectedCells.d.ts
113
+ /**
114
+ * Many grid cells above and diff -> set No many grid cells above and diff ->
115
+ * unset No selection -> unset
116
+ */
117
+ declare const useSelectedCells: () => void;
118
+ //#endregion
119
+ //#region src/react/components/TableElement/useTableColSizes.d.ts
120
+ /**
121
+ * Returns colSizes with overrides applied. Unset node.colSizes if `colCount`
122
+ * updates to 1.
123
+ */
124
+ declare const useTableColSizes: ({
125
+ disableOverrides,
126
+ transformColSizes
127
+ }?: {
128
+ disableOverrides?: boolean;
129
+ transformColSizes?: (colSizes: number[]) => number[];
130
+ }) => number[];
131
+ //#endregion
132
+ //#region src/react/components/TableElement/useTableElement.d.ts
133
+ declare const useTableElement: () => {
134
+ isSelectingCell: boolean;
135
+ marginLeft: any;
136
+ props: {
137
+ onMouseDown: () => void;
138
+ };
139
+ };
140
+ //#endregion
141
+ //#region src/react/hooks/useCellIndices.d.ts
142
+ declare const useCellIndices: () => any;
143
+ //#endregion
144
+ //#region src/react/hooks/useTableMergeState.d.ts
145
+ declare const useTableMergeState: () => {
146
+ canMerge: any;
147
+ canSplit: any;
148
+ };
149
+ //#endregion
150
+ //#region src/react/stores/useTableStore.d.ts
151
+ declare const TableProvider: any, tableStore: any, useTableSet: any, useTableState: any, useTableStore: any, useTableValue: any;
152
+ declare const useOverrideColSize: () => (index: number, size: number | null) => void;
153
+ declare const useOverrideRowSize: () => (index: number, size: number | null) => void;
154
+ declare const useOverrideMarginLeft: () => any;
155
+ //#endregion
156
+ export { TableCellElementResizableOptions, TableCellElementState, TableCellHeaderPlugin, TableCellPlugin, TablePlugin, TableProvider, TableRowPlugin, getOnSelectTableBorderFactory, onKeyDownTable, roundCellSizeToStep, setSelectedCellsBorder, tableStore, useCellIndices, useIsCellSelected, useOverrideColSize, useOverrideMarginLeft, useOverrideRowSize, useSelectedCells, useTableBordersDropdownMenuContentState, useTableCellBorders, useTableCellElement, useTableCellElementResizable, useTableCellSize, useTableColSizes, useTableElement, useTableMergeState, useTableSet, useTableState, useTableStore, useTableValue };
157
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/react/TablePlugin.tsx","../../src/react/onKeyDownTable.ts","../../src/react/components/TableCellElement/getOnSelectTableBorderFactory.ts","../../src/react/components/TableCellElement/roundCellSizeToStep.ts","../../src/react/components/TableCellElement/useIsCellSelected.ts","../../src/react/components/TableCellElement/useTableBordersDropdownMenuContentState.ts","../../src/react/components/TableCellElement/useTableCellBorders.ts","../../src/react/components/TableCellElement/useTableCellElement.ts","../../src/react/components/TableCellElement/useTableCellElementResizable.ts","../../src/react/components/TableCellElement/useTableCellSize.ts","../../src/react/components/TableElement/useSelectedCells.ts","../../src/react/components/TableElement/useTableColSizes.ts","../../src/react/components/TableElement/useTableElement.ts","../../src/react/hooks/useCellIndices.ts","../../src/react/hooks/useTableMergeState.ts","../../src/react/stores/useTableStore.ts"],"sourcesContent":[],"mappings":";;;;;;;cAUa;cAEA;cAEA;;cAGA;;;cCNA,gBAAgB,gBAAgB;;;;;;;;ADD7C;AAEa,iBE6BG,sBAAA,CF7BiD,MAAA,EE8BvD,WF9BuD,EAAA;EAAA,MAAA;EAAA;CAAA,EAAA;EAEpD,MAAA,EEiCD,eFjCC,GAAgE,MAAA,GAAA,OAAA;EAGhE,KAAA,EE+BF,iBF1BT,EAAA;;;;ACXF;;;cCuLa,wCACF,4BAA4B,+BAC5B;;;;;;;cChME;;;cCEA,6BAA8B;;;cCU9B;WAA2C;;YAG5C;;mCAAa,eAAA;;;ELTZ,YAAA,EAAA,GAAkD;EAElD,eAAA,EAAA,GAAoD;EAEpD,cAAA,EAAA,GAAA;EAGA,YAAA,EAKX,GAAA;;;;iBMZc,mBAAA;WACL;;YAEC;IAAiB;;;KCEjB,qBAAA;WACD;;;;;EPNE,QAAA,EAAA,MAAA;EAEA,QAAA,EAAA,OAAA;EAEA,KAAA,EAAA,MAAA,GAAA,MAAA;AAGb,CAAA;cOSa,2BAA0B;;;KCE3B,gCAAA;;;;ERlBC,KAAA,CAAA,EAAA,MAAA;EAEA,KAAA,CAAA,EAAA,MAAA;AAEb,CAAA,GQoBI,IRpBS,CQoBJ,qBRpBoE,EAAA,UAAA,GAAA,SAAA,GAAA,UAAA,CAAA;AAGhE,cQmBA,4BRdX,EAAA,CAAA;EAAA,QAAA;EAAA,OAAA;EAAA,QAAA;EAAA,IAAA;EAAA,KAAA;EAAA;AAAA,CAAA,EQqBC,gCRrBD,EAAA,GAAA;eQsBa,KAAA,CAAM,gCAAgC;;aAExC,KAAA,CAAM,gCAAgC;EPnCtC,UAAA,EOoCC,KAAA,CAAM,wBPpCS,CAAA,OOoCuB,YPpCR,CAAA;;;;iBQA5B,gBAAA;WACL;;YAEC;;;;;;;;cCIC;;;;;;;cCRA;;;AXAb,CAAA;;;AAAA,CAAA,EAAA,GAAa,MAAA,EAAA;;;cYFA;;;;;;;;;cCCA;;;cCKA;;;;;;cCPX;cAqCW;cAMA;cAMA"}