@gridkitjs/core 0.0.0-dev-20261112195026 → 0.0.0-dev-20261112195815
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/{chunk-NXKMJVDV.js → chunk-NA6KXHPE.js} +1 -1
- package/dist/chunk-NA6KXHPE.js.map +1 -0
- package/dist/{filterEditor-D5WzEl48.d.ts → filterEditor-Buy3CLup.d.ts} +26 -26
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/renderer.d.ts +2 -2
- package/dist/renderer.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-NXKMJVDV.js.map +0 -1
|
@@ -103,7 +103,7 @@ interface GridController<Row, Node = string> {
|
|
|
103
103
|
*/
|
|
104
104
|
readonly restoreState: (saved: Partial<GridState<Row>> | Partial<SerializedGridState<Row>>) => void;
|
|
105
105
|
/**
|
|
106
|
-
* Replaces the column widths. Reported through `
|
|
106
|
+
* Replaces the column widths. Reported through `onColumnSizingChange` as the
|
|
107
107
|
* `"end"` of a resize of the first column whose width changed, at its new
|
|
108
108
|
* width — or, when its entry was removed, the width its definition gives
|
|
109
109
|
* it. Equal widths report nothing.
|
|
@@ -865,7 +865,7 @@ interface PrintOptions extends ExportOptions {
|
|
|
865
865
|
*/
|
|
866
866
|
readonly timestamp?: boolean | Date | undefined;
|
|
867
867
|
/** The language the timestamp is written in. Defaults to the grid's. */
|
|
868
|
-
readonly locale?: FormatLocale;
|
|
868
|
+
readonly locale?: FormatLocale | undefined;
|
|
869
869
|
/**
|
|
870
870
|
* Which way the paper is turned. Defaults to `"landscape"` for a table of
|
|
871
871
|
* more than six columns, which rarely fits a portrait page, else
|
|
@@ -950,7 +950,7 @@ interface CsvOptions {
|
|
|
950
950
|
*/
|
|
951
951
|
readonly delimiter?: string | undefined;
|
|
952
952
|
/** The locale `delimiter: "auto"` reads; the runtime's own when absent. */
|
|
953
|
-
readonly locale?: FormatLocale;
|
|
953
|
+
readonly locale?: FormatLocale | undefined;
|
|
954
954
|
/** What ends each record. Defaults to `"\r\n"`, as RFC 4180 writes it. */
|
|
955
955
|
readonly eol?: string | undefined;
|
|
956
956
|
/**
|
|
@@ -1533,9 +1533,9 @@ declare function toolbarEntries<Row>(toolbar: boolean | GridToolbarOptions<Row>
|
|
|
1533
1533
|
type Borders = "horizontal" | "vertical" | "all" | "none";
|
|
1534
1534
|
/** Which hover highlighting a grid shows. Every member defaults to on. */
|
|
1535
1535
|
interface HoverableConfig {
|
|
1536
|
-
rows?: boolean;
|
|
1537
|
-
columns?: boolean;
|
|
1538
|
-
cells?: boolean;
|
|
1536
|
+
rows?: boolean | undefined;
|
|
1537
|
+
columns?: boolean | undefined;
|
|
1538
|
+
cells?: boolean | undefined;
|
|
1539
1539
|
}
|
|
1540
1540
|
/**
|
|
1541
1541
|
* How the group-by bar's visibility follows the active grouping. `"always"`
|
|
@@ -1659,7 +1659,7 @@ interface GridOptions<Row> {
|
|
|
1659
1659
|
defaultColumnSizing?: ColumnSizingState | undefined;
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Column widths, controlled — applied as given, changed only through
|
|
1662
|
-
* `
|
|
1662
|
+
* `onColumnSizingChange`, whose `sizing` is the next state. Leave it
|
|
1663
1663
|
* `undefined` for the grid to keep the widths itself, starting from
|
|
1664
1664
|
* `defaultColumnSizing`.
|
|
1665
1665
|
*/
|
|
@@ -1702,7 +1702,7 @@ interface GridOptions<Row> {
|
|
|
1702
1702
|
* `phase: "move"` and once on release with `phase: "end"` — the latter being
|
|
1703
1703
|
* the one to persist. Auto-fitting a column calls it once, with "end".
|
|
1704
1704
|
*/
|
|
1705
|
-
|
|
1705
|
+
onColumnSizingChange?: ((event: ColumnResizeEvent) => void) | undefined;
|
|
1706
1706
|
/**
|
|
1707
1707
|
* Called once when the user drops a column somewhere new. A drop that leaves
|
|
1708
1708
|
* the order as it was does not call it.
|
|
@@ -1910,7 +1910,7 @@ interface GridOptions<Row> {
|
|
|
1910
1910
|
* without it, only a column with its own `format` is formatted, in the
|
|
1911
1911
|
* runtime's locale, and the rest print as they always have.
|
|
1912
1912
|
*/
|
|
1913
|
-
locale?: FormatLocale;
|
|
1913
|
+
locale?: FormatLocale | undefined;
|
|
1914
1914
|
/**
|
|
1915
1915
|
* The grid's own strings, replacing its English key by key — the pager's
|
|
1916
1916
|
* buttons, the group-by bar, the loading row, boolean and blank values,
|
|
@@ -2146,7 +2146,7 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2146
2146
|
* is unique in the common case but need not be — two columns may render the
|
|
2147
2147
|
* same field differently.
|
|
2148
2148
|
*/
|
|
2149
|
-
id?: string;
|
|
2149
|
+
id?: string | undefined;
|
|
2150
2150
|
/**
|
|
2151
2151
|
* The column's name as plain text. The header shows it when there is no
|
|
2152
2152
|
* `headerTemplate`, and anything that needs the name as text rather than
|
|
@@ -2174,7 +2174,7 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2174
2174
|
* sorts as `compareValues` does without a type, two numbers or two `Date`s
|
|
2175
2175
|
* by value and any other pair as text.
|
|
2176
2176
|
*/
|
|
2177
|
-
type?: ColumnType;
|
|
2177
|
+
type?: ColumnType | undefined;
|
|
2178
2178
|
/**
|
|
2179
2179
|
* `Intl` options for how this column's values read as text: number options
|
|
2180
2180
|
* for a numeric `type`, date options for a date or time one. Passed to
|
|
@@ -2195,25 +2195,25 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2195
2195
|
* Alignment of this column's cells. This package is framework-agnostic so it
|
|
2196
2196
|
* defaults to `left` (`right` for numbers);
|
|
2197
2197
|
*/
|
|
2198
|
-
alignment?: ColumnAlignment;
|
|
2198
|
+
alignment?: ColumnAlignment | undefined;
|
|
2199
2199
|
/**
|
|
2200
2200
|
* Width in px this column starts at. A user resize overrides it for as long
|
|
2201
2201
|
* as that resize lives in the sizing state.
|
|
2202
2202
|
*/
|
|
2203
|
-
width?: number;
|
|
2203
|
+
width?: number | undefined;
|
|
2204
2204
|
/** Lower bound a resize may not drag below. */
|
|
2205
|
-
minWidth?: number;
|
|
2205
|
+
minWidth?: number | undefined;
|
|
2206
2206
|
/** Upper bound a resize may not drag above. */
|
|
2207
|
-
maxWidth?: number;
|
|
2207
|
+
maxWidth?: number | undefined;
|
|
2208
2208
|
/** Whether this column can be resized, overriding the grid-level default. */
|
|
2209
|
-
resizable?: boolean;
|
|
2209
|
+
resizable?: boolean | undefined;
|
|
2210
2210
|
/**
|
|
2211
2211
|
* Whether this column can be dragged to a new position, overriding the
|
|
2212
2212
|
* grid-level default. A column that cannot move can still be moved past.
|
|
2213
2213
|
*/
|
|
2214
|
-
reorderable?: boolean;
|
|
2214
|
+
reorderable?: boolean | undefined;
|
|
2215
2215
|
/** Whether this column can be sorted, overriding the grid-level default. */
|
|
2216
|
-
sortable?: boolean;
|
|
2216
|
+
sortable?: boolean | undefined;
|
|
2217
2217
|
/**
|
|
2218
2218
|
* Whether this column has a filter menu, overriding the grid-level
|
|
2219
2219
|
* `filterableColumns`. Like `sortable`, it gates the user's way in and
|
|
@@ -2226,7 +2226,7 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2226
2226
|
*/
|
|
2227
2227
|
filterMenu?: ColumnFilterMenuOptions | undefined;
|
|
2228
2228
|
/** Whether this column can be grouped by, overriding the grid-level default. */
|
|
2229
|
-
groupable?: boolean;
|
|
2229
|
+
groupable?: boolean | undefined;
|
|
2230
2230
|
/**
|
|
2231
2231
|
* Whether this column's header shows its group-toggle icon, overriding
|
|
2232
2232
|
* the grid-level default. Purely a rendering choice — it does not affect
|
|
@@ -2235,14 +2235,14 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2235
2235
|
* same way the resize handle stays `aria-hidden` while `Alt+ArrowLeft`/
|
|
2236
2236
|
* `ArrowRight` still resize.
|
|
2237
2237
|
*/
|
|
2238
|
-
groupToggleIcon?: boolean;
|
|
2238
|
+
groupToggleIcon?: boolean | undefined;
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Whether this column's header may be dragged into the group-by bar to
|
|
2241
2241
|
* add it to the active grouping, overriding the grid-level default.
|
|
2242
2242
|
* Distinct from `groupable`: a column can be groupable via its header's
|
|
2243
2243
|
* click/`Alt+ArrowDown` toggle, via this drag, both, or neither.
|
|
2244
2244
|
*/
|
|
2245
|
-
groupByDraggable?: boolean;
|
|
2245
|
+
groupByDraggable?: boolean | undefined;
|
|
2246
2246
|
/**
|
|
2247
2247
|
* Lets this column's header and/or cell text wrap onto multiple lines
|
|
2248
2248
|
* instead of the grid's default single line with an ellipsis. Off by
|
|
@@ -2250,20 +2250,20 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2250
2250
|
* rather than something a minor release could turn on under an existing
|
|
2251
2251
|
* grid.
|
|
2252
2252
|
*/
|
|
2253
|
-
wrap?: ColumnWrapConfig;
|
|
2253
|
+
wrap?: ColumnWrapConfig | undefined;
|
|
2254
2254
|
/**
|
|
2255
2255
|
* Extra class names appended to this column's `th`. An escape hatch for a
|
|
2256
2256
|
* consumer's own CSS — nothing in this package reads them — for anything
|
|
2257
2257
|
* `wrap` and the rest of this type don't cover.
|
|
2258
2258
|
*/
|
|
2259
|
-
headerClassName?: string;
|
|
2259
|
+
headerClassName?: string | undefined;
|
|
2260
2260
|
/**
|
|
2261
2261
|
* Extra class names appended to this column's `td`, on every row. Static
|
|
2262
2262
|
* per column: a per-row condition is already `cellTemplate`'s job (a
|
|
2263
2263
|
* template returning its own markup with a conditional class), so this
|
|
2264
2264
|
* stays a plain string rather than taking the row.
|
|
2265
2265
|
*/
|
|
2266
|
-
cellClassName?: string;
|
|
2266
|
+
cellClassName?: string | undefined;
|
|
2267
2267
|
/**
|
|
2268
2268
|
* Whether this column starts out hidden. A hidden column is not rendered
|
|
2269
2269
|
* but is still a column of the grid: a sort, filter or grouping on it
|
|
@@ -2297,8 +2297,8 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2297
2297
|
}
|
|
2298
2298
|
/** Which parts of a column opt out of the grid's default single-line text. */
|
|
2299
2299
|
interface ColumnWrapConfig {
|
|
2300
|
-
header?: boolean;
|
|
2301
|
-
cells?: boolean;
|
|
2300
|
+
header?: boolean | undefined;
|
|
2301
|
+
cells?: boolean | undefined;
|
|
2302
2302
|
}
|
|
2303
2303
|
/**
|
|
2304
2304
|
* Widths the user has changed, keyed by column id. Holding only what changed —
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GridControllerOptions, a as GridController, b as GridCommandTarget, c as GridMessages, d as GridCommandHost, e as GridCommandContext, f as GridCommand, M as MenuEntry, R as ResolvedMenuEntry, g as GridToolbarTarget, T as ToolbarItemAttributes, h as ToolbarEntry, i as ResolvedToolbarItem, C as ColumnType, j as ColumnSortState, S as SortDirection, k as ResolvedRow, D as DataColumn, F as FilterState, l as FieldPath, m as ResolvedColumn, n as SelectedCellRef, o as SelectedCell, p as SelectedColumn, P as PaginationUnit, q as DisplayRow, r as PaginationState, A as AggregateState, s as AggregateResults, t as GroupByState, u as GroupAggregateDisplay, v as ColumnVisibilityState, w as ColumnDefinition, x as GridViewInput, y as GridView, z as GridState, B as SerializedGridState, E as ExportTable, H as ExportSource, I as ExportWriter, J as GridExportOptions, K as ExportFile } from './filterEditor-
|
|
2
|
-
export { L as ALL_COLLAPSED, N as ALL_EXPANDED, O as AggregateFn, Q as AggregateSpec, U as Borders, V as BuiltInAggregate, W as BuiltInCommandIcon, X as BuiltInCommandId, Y as CellSelectEvent, Z as CellSelectionChangeEvent, _ as CellSelectionMode, $ as CellSelectionState, a0 as CellTemplateContext, a1 as ColumnAlignment, a2 as ColumnConstraints, a3 as ColumnFilterMenuOptions, a4 as ColumnOrderEvent, a5 as ColumnOrderState, a6 as ColumnResizeEvent, a7 as ColumnResolveOptions, a8 as ColumnSelectEvent, a9 as ColumnSelectionChangeEvent, aa as ColumnSizeDefaults, ab as ColumnSizingState, ac as ColumnSortEntry, ad as ColumnSortEvent, ae as ColumnVisibilityEvent, af as ColumnWrapConfig, ag as ColumnsSelectEvent, ah as ContextMenuOpenChangeEvent, ai as CopyContent, aj as CsvOptions, ak as DEFAULT_COLUMN_SIZES, al as DEFAULT_FILTER_VALUE_LIMIT, am as ExportCell, an as ExportColumn, ao as ExportDataRow, ap as ExportGroupRow, aq as ExportGroupSummaryRow, ar as ExportOptions, as as ExportRow, at as ExportScalar, au as ExportTotalRow, av as ExportWriteContext, aw as FilterChangeEvent, ax as FilterEntry, ay as FilterMenuUi, az as FilterOperator, aA as FilterOperatorFamily, aB as FilterPredicate, aC as FilterScalar, aD as FooterTemplateContext, aE as FormatLocale, aF as GridCommandActions, aG as GridCommandEvent, aH as GridCommandSource, aI as GridContextMenuArea, aJ as GridContextMenuEntries, aK as GridContextMenuOptions, aL as GridContextMenuRequest, aM as GridContextMenuTarget, aN as GridFilterMenuOptions, aO as GridFocus, aP as GridOptions, aQ as GridPanelKind, aR as GridToolbarOptions, aS as GridViewOptions, aT as GridViewState, aU as GroupByBarVisibility, aV as GroupByEntry, aW as GroupByEvent, aX as GroupExpansionEvent, aY as GroupExpansionState, aZ as GroupFilterEntry, a_ as HoverableConfig, a$ as JsonOptions, b0 as MenuItemEntry, b1 as MenuSubmenuEntry, b2 as OperatorFilterEntry, b3 as PaginationChangeEvent, b4 as PredicateFilterEntry, b5 as PrintDocument, b6 as PrintOptions, b7 as PrintOrientation, b8 as PrintPage, b9 as PrintSource, ba as ResizeMode, bb as ResolvedGroupRow, bc as ResolvedGroupSummaryRow, bd as ResolvedMenuItem, be as ResolvedMenuSeparator, bf as ResolvedMenuSubmenu, bg as ResolvedToolbarButton, bh as ResolvedToolbarCustom, bi as ResolvedToolbarMenu, bj as ResolvedToolbarSearch, bk as ResolvedToolbarSpacer, bl as RowPointerEvent, bm as RowProps, bn as RowSelectEvent, bo as RowSelectionChangeEvent, bp as RowsSelectEvent, bq as SelectIntent, br as SelectableConfig, bs as SelectionCallbacks, bt as SelectionDiff, bu as SelectionDiffEvent, bv as SelectionMode, bw as SelectionState, bx as SerializedFilterEntry, by as SerializedFilterScalar, bz as SerializedFilterState, bA as SerializedGroupFilterEntry, bB as SerializedOperatorFilterEntry, bC as SerializedValueFilterEntry, bD as TextFilterEntry, bE as ToolbarCustomEntry, bF as ValueFilterEntry, bG as accessDotted, bH as alignmentForType, bI as applyColumnOrder, bJ as applySelectionIntent, bK as bodyFocus, bL as buildExportTable, bM as builtInCommands, bN as clearSelection, bO as collapseAllGroups, bP as contextMenuEntries, bQ as createDefaultMessages, bR as csvWriter, bS as defaultContextMenu, bT as defaultFilterOperators, bU as defaultMessages, bV as defaultToolbar, bW as defineColumnsFromRows, bX as expandAllGroups, bY as exportPrintDocument, bZ as formatAggregateValue, b_ as formatCellValue, b$ as formatGroupValue, c0 as getColumnId, c1 as groupRowId, c2 as groupRows, c3 as headerFocus, c4 as isColumnFiltered, c5 as isGroupExpanded, c6 as isSameCell, c7 as jsonWriter, c8 as moveColumnBefore, c9 as moveGroupByBefore, ca as resolveColumnHeaderText, cb as resolveColumnLabel, cc as resolveColumnWidths, cd as resolveDataColumns, ce as resolveExportWriters, cf as resolveMessages, cg as resolveRowId, ch as selectAll, ci as selectCell, cj as selectOnly, ck as selectRange, cl as toCsv, cm as toJson, cn as toggleCellSelection, co as toggleGroupExpansion, cp as toggleSelection, cq as toolbarEntries } from './filterEditor-
|
|
1
|
+
import { G as GridControllerOptions, a as GridController, b as GridCommandTarget, c as GridMessages, d as GridCommandHost, e as GridCommandContext, f as GridCommand, M as MenuEntry, R as ResolvedMenuEntry, g as GridToolbarTarget, T as ToolbarItemAttributes, h as ToolbarEntry, i as ResolvedToolbarItem, C as ColumnType, j as ColumnSortState, S as SortDirection, k as ResolvedRow, D as DataColumn, F as FilterState, l as FieldPath, m as ResolvedColumn, n as SelectedCellRef, o as SelectedCell, p as SelectedColumn, P as PaginationUnit, q as DisplayRow, r as PaginationState, A as AggregateState, s as AggregateResults, t as GroupByState, u as GroupAggregateDisplay, v as ColumnVisibilityState, w as ColumnDefinition, x as GridViewInput, y as GridView, z as GridState, B as SerializedGridState, E as ExportTable, H as ExportSource, I as ExportWriter, J as GridExportOptions, K as ExportFile } from './filterEditor-Buy3CLup.js';
|
|
2
|
+
export { L as ALL_COLLAPSED, N as ALL_EXPANDED, O as AggregateFn, Q as AggregateSpec, U as Borders, V as BuiltInAggregate, W as BuiltInCommandIcon, X as BuiltInCommandId, Y as CellSelectEvent, Z as CellSelectionChangeEvent, _ as CellSelectionMode, $ as CellSelectionState, a0 as CellTemplateContext, a1 as ColumnAlignment, a2 as ColumnConstraints, a3 as ColumnFilterMenuOptions, a4 as ColumnOrderEvent, a5 as ColumnOrderState, a6 as ColumnResizeEvent, a7 as ColumnResolveOptions, a8 as ColumnSelectEvent, a9 as ColumnSelectionChangeEvent, aa as ColumnSizeDefaults, ab as ColumnSizingState, ac as ColumnSortEntry, ad as ColumnSortEvent, ae as ColumnVisibilityEvent, af as ColumnWrapConfig, ag as ColumnsSelectEvent, ah as ContextMenuOpenChangeEvent, ai as CopyContent, aj as CsvOptions, ak as DEFAULT_COLUMN_SIZES, al as DEFAULT_FILTER_VALUE_LIMIT, am as ExportCell, an as ExportColumn, ao as ExportDataRow, ap as ExportGroupRow, aq as ExportGroupSummaryRow, ar as ExportOptions, as as ExportRow, at as ExportScalar, au as ExportTotalRow, av as ExportWriteContext, aw as FilterChangeEvent, ax as FilterEntry, ay as FilterMenuUi, az as FilterOperator, aA as FilterOperatorFamily, aB as FilterPredicate, aC as FilterScalar, aD as FooterTemplateContext, aE as FormatLocale, aF as GridCommandActions, aG as GridCommandEvent, aH as GridCommandSource, aI as GridContextMenuArea, aJ as GridContextMenuEntries, aK as GridContextMenuOptions, aL as GridContextMenuRequest, aM as GridContextMenuTarget, aN as GridFilterMenuOptions, aO as GridFocus, aP as GridOptions, aQ as GridPanelKind, aR as GridToolbarOptions, aS as GridViewOptions, aT as GridViewState, aU as GroupByBarVisibility, aV as GroupByEntry, aW as GroupByEvent, aX as GroupExpansionEvent, aY as GroupExpansionState, aZ as GroupFilterEntry, a_ as HoverableConfig, a$ as JsonOptions, b0 as MenuItemEntry, b1 as MenuSubmenuEntry, b2 as OperatorFilterEntry, b3 as PaginationChangeEvent, b4 as PredicateFilterEntry, b5 as PrintDocument, b6 as PrintOptions, b7 as PrintOrientation, b8 as PrintPage, b9 as PrintSource, ba as ResizeMode, bb as ResolvedGroupRow, bc as ResolvedGroupSummaryRow, bd as ResolvedMenuItem, be as ResolvedMenuSeparator, bf as ResolvedMenuSubmenu, bg as ResolvedToolbarButton, bh as ResolvedToolbarCustom, bi as ResolvedToolbarMenu, bj as ResolvedToolbarSearch, bk as ResolvedToolbarSpacer, bl as RowPointerEvent, bm as RowProps, bn as RowSelectEvent, bo as RowSelectionChangeEvent, bp as RowsSelectEvent, bq as SelectIntent, br as SelectableConfig, bs as SelectionCallbacks, bt as SelectionDiff, bu as SelectionDiffEvent, bv as SelectionMode, bw as SelectionState, bx as SerializedFilterEntry, by as SerializedFilterScalar, bz as SerializedFilterState, bA as SerializedGroupFilterEntry, bB as SerializedOperatorFilterEntry, bC as SerializedValueFilterEntry, bD as TextFilterEntry, bE as ToolbarCustomEntry, bF as ValueFilterEntry, bG as accessDotted, bH as alignmentForType, bI as applyColumnOrder, bJ as applySelectionIntent, bK as bodyFocus, bL as buildExportTable, bM as builtInCommands, bN as clearSelection, bO as collapseAllGroups, bP as contextMenuEntries, bQ as createDefaultMessages, bR as csvWriter, bS as defaultContextMenu, bT as defaultFilterOperators, bU as defaultMessages, bV as defaultToolbar, bW as defineColumnsFromRows, bX as expandAllGroups, bY as exportPrintDocument, bZ as formatAggregateValue, b_ as formatCellValue, b$ as formatGroupValue, c0 as getColumnId, c1 as groupRowId, c2 as groupRows, c3 as headerFocus, c4 as isColumnFiltered, c5 as isGroupExpanded, c6 as isSameCell, c7 as jsonWriter, c8 as moveColumnBefore, c9 as moveGroupByBefore, ca as resolveColumnHeaderText, cb as resolveColumnLabel, cc as resolveColumnWidths, cd as resolveDataColumns, ce as resolveExportWriters, cf as resolveMessages, cg as resolveRowId, ch as selectAll, ci as selectCell, cj as selectOnly, ck as selectRange, cl as toCsv, cm as toJson, cn as toggleCellSelection, co as toggleGroupExpansion, cp as toggleSelection, cq as toolbarEntries } from './filterEditor-Buy3CLup.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates the state container for one grid — see `GridController`. Hold one
|
package/dist/index.js
CHANGED
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
unknownDisplayRow,
|
|
87
87
|
unknownFilterEntry,
|
|
88
88
|
withGroupAggregates
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-NA6KXHPE.js";
|
|
90
90
|
|
|
91
91
|
// src/util/memoize.ts
|
|
92
92
|
function memoizeLast(compute) {
|
|
@@ -950,7 +950,7 @@ function createGridController(initial) {
|
|
|
950
950
|
}
|
|
951
951
|
function commitColumnSizing(next, columnId, width, phase) {
|
|
952
952
|
commit("columnSizing", next, () => {
|
|
953
|
-
options.
|
|
953
|
+
options.onColumnSizingChange?.({ columnId, width, sizing: next, phase });
|
|
954
954
|
});
|
|
955
955
|
}
|
|
956
956
|
function definedWidth(columnId) {
|