@gridkitjs/core 0.0.0-dev-20261112201151 → 0.0.0-dev-20261118081957

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.
@@ -2555,6 +2555,10 @@ interface ResolvedGroupRow {
2555
2555
  readonly expanded: boolean;
2556
2556
  /** Leaf row count under this group, regardless of collapse state. */
2557
2557
  readonly count: number;
2558
+ /** 1-based place among the groups sharing its parent, for `aria-posinset`: the same on every page. */
2559
+ readonly position: number;
2560
+ /** How many groups share its parent, itself included, for `aria-setsize`: the same on every page. */
2561
+ readonly setSize: number;
2558
2562
  /** Position among the display rows as rendered — same invariant ResolvedRow.rowIndex keeps. */
2559
2563
  readonly rowIndex: number;
2560
2564
  /** This header's absolute position in the whole filtered/sorted/grouped dataset, matching ResolvedRow.datasetIndex. */
@@ -2863,6 +2867,20 @@ interface ResolvedRow<Row> {
2863
2867
  readonly rowIndex: number;
2864
2868
  /** This row's absolute position in the whole filtered/sorted/grouped dataset, matching `CellTemplateContext`. */
2865
2869
  readonly datasetIndex: number;
2870
+ /** Where the row sits in its group. Set by `groupRows`; absent from an ungrouped result. */
2871
+ readonly groupPosition?: RowGroupPosition;
2872
+ }
2873
+ /**
2874
+ * A data row's place inside its group: what a renderer draws as the row's
2875
+ * `aria-level`, `aria-posinset` and `aria-setsize` in a treegrid.
2876
+ */
2877
+ interface RowGroupPosition {
2878
+ /** Nesting depth on `ResolvedGroupRow.level`'s scale: one deeper than the group holding the row, so `1` under a top-level group. */
2879
+ readonly level: number;
2880
+ /** 1-based place among the data rows of its group. */
2881
+ readonly position: number;
2882
+ /** How many data rows its group holds, its `count`: the same on every page the group spans. */
2883
+ readonly setSize: number;
2866
2884
  }
2867
2885
  /**
2868
2886
  * A selected column. Carries the resolved column rather than the bare
@@ -3402,7 +3420,8 @@ declare function groupRowId(path: readonly unknown[]): string;
3402
3420
  * own `direction`, followed depth-first by its nested groups and/or data
3403
3421
  * rows. A group `expansion` collapses contributes only its own header,
3404
3422
  * nothing beneath it — but its `count` still reports the group's full
3405
- * leaf-row count either way.
3423
+ * leaf-row count either way. Each data row carries its `groupPosition`:
3424
+ * its depth, and its place among and the count of its group's rows.
3406
3425
  *
3407
3426
  * Filter and sort are expected to have already run (see `resolveShownRows`):
3408
3427
  * this only reshapes their output, and never changes which rows appear or
@@ -3700,4 +3719,4 @@ declare function draftToFilter<Row>(draft: FilterEditorDraft<Row>, columnId: str
3700
3719
  */
3701
3720
  declare function filterDraftChanged<Row>(opened: FilterEditorDraft<Row>, draft: FilterEditorDraft<Row>): boolean;
3702
3721
 
3703
- export { type CellSelectionState as $, type AggregateState as A, type SerializedGridState as B, type ColumnType as C, type DataColumn as D, type ExportTable as E, type FilterState as F, type GridControllerOptions as G, type ExportSource as H, type ExportWriter as I, type GridExportOptions as J, type ExportFile as K, ALL_COLLAPSED as L, type MenuEntry as M, ALL_EXPANDED as N, type AggregateFn as O, type PaginationUnit as P, type AggregateSpec as Q, type ResolvedMenuEntry as R, type SortDirection as S, type ToolbarItemAttributes as T, type Borders as U, type BuiltInAggregate as V, type BuiltInCommandIcon as W, type BuiltInCommandId as X, type CellSelectEvent as Y, type CellSelectionChangeEvent as Z, type CellSelectionMode as _, type GridController as a, type JsonOptions as a$, type CellTemplateContext as a0, type ColumnAlignment as a1, type ColumnConstraints as a2, type ColumnFilterMenuOptions as a3, type ColumnOrderEvent as a4, type ColumnOrderState as a5, type ColumnResizeEvent as a6, type ColumnResolveOptions as a7, type ColumnSelectEvent as a8, type ColumnSelectionChangeEvent as a9, type FilterOperatorFamily as aA, type FilterPredicate as aB, type FilterScalar as aC, type FooterTemplateContext as aD, type FormatLocale as aE, type GridCommandActions as aF, type GridCommandEvent as aG, type GridCommandSource as aH, type GridContextMenuArea as aI, type GridContextMenuEntries as aJ, type GridContextMenuOptions as aK, type GridContextMenuRequest as aL, type GridContextMenuTarget as aM, type GridFilterMenuOptions as aN, type GridFocus as aO, type GridOptions as aP, type GridPanelKind as aQ, type GridToolbarOptions as aR, type GridViewOptions as aS, type GridViewState as aT, type GroupByBarVisibility as aU, type GroupByEntry as aV, type GroupByEvent as aW, type GroupExpansionEvent as aX, type GroupExpansionState as aY, type GroupFilterEntry as aZ, type HoverableConfig as a_, type ColumnSizeDefaults as aa, type ColumnSizingState as ab, type ColumnSortEntry as ac, type ColumnSortEvent as ad, type ColumnVisibilityEvent as ae, type ColumnWrapConfig as af, type ColumnsSelectEvent as ag, type ContextMenuOpenChangeEvent as ah, type CopyContent as ai, type CsvOptions as aj, DEFAULT_COLUMN_SIZES as ak, DEFAULT_FILTER_VALUE_LIMIT as al, type ExportCell as am, type ExportColumn as an, type ExportDataRow as ao, type ExportGroupRow as ap, type ExportGroupSummaryRow as aq, type ExportOptions as ar, type ExportRow as as, type ExportScalar as at, type ExportTotalRow as au, type ExportWriteContext as av, type FilterChangeEvent as aw, type FilterEntry as ax, type FilterMenuUi as ay, type FilterOperator as az, type GridCommandTarget as b, formatGroupValue as b$, type MenuItemEntry as b0, type MenuSubmenuEntry as b1, type OperatorFilterEntry as b2, type PaginationChangeEvent as b3, type PredicateFilterEntry as b4, type PrintDocument as b5, type PrintOptions as b6, type PrintOrientation as b7, type PrintPage as b8, type PrintSource as b9, type SerializedGroupFilterEntry as bA, type SerializedOperatorFilterEntry as bB, type SerializedValueFilterEntry as bC, type TextFilterEntry as bD, type ToolbarCustomEntry as bE, type ValueFilterEntry as bF, accessDotted as bG, alignmentForType as bH, applyColumnOrder as bI, applySelectionIntent as bJ, bodyFocus as bK, buildExportTable as bL, builtInCommands as bM, clearSelection as bN, collapseAllGroups as bO, contextMenuEntries as bP, createDefaultMessages as bQ, csvWriter as bR, defaultContextMenu as bS, defaultFilterOperators as bT, defaultMessages as bU, defaultToolbar as bV, defineColumnsFromRows as bW, expandAllGroups as bX, exportPrintDocument as bY, formatAggregateValue as bZ, formatCellValue as b_, type ResizeMode as ba, type ResolvedGroupRow as bb, type ResolvedGroupSummaryRow as bc, type ResolvedMenuItem as bd, type ResolvedMenuSeparator as be, type ResolvedMenuSubmenu as bf, type ResolvedToolbarButton as bg, type ResolvedToolbarCustom as bh, type ResolvedToolbarMenu as bi, type ResolvedToolbarSearch as bj, type ResolvedToolbarSpacer as bk, type RowPointerEvent as bl, type RowProps as bm, type RowSelectEvent as bn, type RowSelectionChangeEvent as bo, type RowsSelectEvent as bp, type SelectIntent as bq, type SelectableConfig as br, type SelectionCallbacks as bs, type SelectionDiff as bt, type SelectionDiffEvent as bu, type SelectionMode as bv, type SelectionState as bw, type SerializedFilterEntry as bx, type SerializedFilterScalar as by, type SerializedFilterState as bz, type GridMessages as c, initialFilterEditorDraft as c$, getColumnId as c0, groupRowId as c1, groupRows as c2, headerFocus as c3, isColumnFiltered as c4, isGroupExpanded as c5, isSameCell as c6, jsonWriter as c7, moveColumnBefore as c8, moveGroupByBefore as c9, type CopySource as cA, type DropSide as cB, type FilterEditorAction as cC, type FilterEditorDraft as cD, type FilterEditorDraftBase as cE, KEYBOARD_STEP as cF, type KeyShortcutCapabilities as cG, type NavigationModifiers as cH, type ResolvedColumnFilterMenu as cI, applyColumnResize as cJ, beginColumnResize as cK, buildKeyShortcuts as cL, buildPrintDocument as cM, clampColumnWidth as cN, clampFocus as cO, columnValueOptions as cP, copyContent as cQ, describeColumnFilter as cR, diffSelection as cS, draftToFilter as cT, filterDraftChanged as cU, filterEditorReducer as cV, filterOperandArity as cW, filterOperatorFamily as cX, fitColumnsToWidth as cY, formatFilterOperand as cZ, hasContextMenu as c_, resolveColumnHeaderText as ca, resolveColumnLabel as cb, resolveColumnWidths as cc, resolveDataColumns as cd, resolveExportWriters as ce, resolveMessages as cf, resolveRowId as cg, selectAll as ch, selectCell as ci, selectOnly as cj, selectRange as ck, toCsv as cl, toJson as cm, toggleCellSelection as cn, toggleGroupExpansion as co, toggleSelection as cp, toolbarEntries as cq, type SelectAllState as cr, type ColumnFilterShape as cs, type ColumnValueQuery as ct, type ColumnValueOptions as cu, type ValuesDraft as cv, type ColumnResizeSession as cw, type ColumnValueOption as cx, type ConditionsDraft as cy, type CopyRequest as cz, type GridCommandHost as d, intentOf as d0, movesColumn as d1, movesGroupBy as d2, nextFocusForKey as d3, parseFilterOperand as d4, resolveColumnConstraints as d5, resolveColumnFilterMenu as d6, resolveDropBefore as d7, resolveKeyboardDropTarget as d8, revertColumnSize as d9, selectAllState as da, sizeColumnToContent as db, toConditionsDraft as dc, toValuesDraft as dd, totalColumnWidth as de, visibleFilterOptions as df, type GridCommandContext as e, type GridCommand as f, type GridToolbarTarget as g, type ToolbarEntry as h, type ResolvedToolbarItem as i, type ColumnSortState as j, type ResolvedRow as k, type FieldPath as l, type ResolvedColumn as m, type SelectedCellRef as n, type SelectedCell as o, type SelectedColumn as p, type DisplayRow as q, type PaginationState as r, type AggregateResults as s, type GroupByState as t, type GroupAggregateDisplay as u, type ColumnVisibilityState as v, type ColumnDefinition as w, type GridViewInput as x, type GridView as y, type GridState as z };
3722
+ export { type CellSelectionState as $, type AggregateState as A, type SerializedGridState as B, type ColumnType as C, type DataColumn as D, type ExportTable as E, type FilterState as F, type GridControllerOptions as G, type ExportSource as H, type ExportWriter as I, type GridExportOptions as J, type ExportFile as K, ALL_COLLAPSED as L, type MenuEntry as M, ALL_EXPANDED as N, type AggregateFn as O, type PaginationUnit as P, type AggregateSpec as Q, type ResolvedMenuEntry as R, type SortDirection as S, type ToolbarItemAttributes as T, type Borders as U, type BuiltInAggregate as V, type BuiltInCommandIcon as W, type BuiltInCommandId as X, type CellSelectEvent as Y, type CellSelectionChangeEvent as Z, type CellSelectionMode as _, type GridController as a, type JsonOptions as a$, type CellTemplateContext as a0, type ColumnAlignment as a1, type ColumnConstraints as a2, type ColumnFilterMenuOptions as a3, type ColumnOrderEvent as a4, type ColumnOrderState as a5, type ColumnResizeEvent as a6, type ColumnResolveOptions as a7, type ColumnSelectEvent as a8, type ColumnSelectionChangeEvent as a9, type FilterOperatorFamily as aA, type FilterPredicate as aB, type FilterScalar as aC, type FooterTemplateContext as aD, type FormatLocale as aE, type GridCommandActions as aF, type GridCommandEvent as aG, type GridCommandSource as aH, type GridContextMenuArea as aI, type GridContextMenuEntries as aJ, type GridContextMenuOptions as aK, type GridContextMenuRequest as aL, type GridContextMenuTarget as aM, type GridFilterMenuOptions as aN, type GridFocus as aO, type GridOptions as aP, type GridPanelKind as aQ, type GridToolbarOptions as aR, type GridViewOptions as aS, type GridViewState as aT, type GroupByBarVisibility as aU, type GroupByEntry as aV, type GroupByEvent as aW, type GroupExpansionEvent as aX, type GroupExpansionState as aY, type GroupFilterEntry as aZ, type HoverableConfig as a_, type ColumnSizeDefaults as aa, type ColumnSizingState as ab, type ColumnSortEntry as ac, type ColumnSortEvent as ad, type ColumnVisibilityEvent as ae, type ColumnWrapConfig as af, type ColumnsSelectEvent as ag, type ContextMenuOpenChangeEvent as ah, type CopyContent as ai, type CsvOptions as aj, DEFAULT_COLUMN_SIZES as ak, DEFAULT_FILTER_VALUE_LIMIT as al, type ExportCell as am, type ExportColumn as an, type ExportDataRow as ao, type ExportGroupRow as ap, type ExportGroupSummaryRow as aq, type ExportOptions as ar, type ExportRow as as, type ExportScalar as at, type ExportTotalRow as au, type ExportWriteContext as av, type FilterChangeEvent as aw, type FilterEntry as ax, type FilterMenuUi as ay, type FilterOperator as az, type GridCommandTarget as b, formatCellValue as b$, type MenuItemEntry as b0, type MenuSubmenuEntry as b1, type OperatorFilterEntry as b2, type PaginationChangeEvent as b3, type PredicateFilterEntry as b4, type PrintDocument as b5, type PrintOptions as b6, type PrintOrientation as b7, type PrintPage as b8, type PrintSource as b9, type SerializedFilterState as bA, type SerializedGroupFilterEntry as bB, type SerializedOperatorFilterEntry as bC, type SerializedValueFilterEntry as bD, type TextFilterEntry as bE, type ToolbarCustomEntry as bF, type ValueFilterEntry as bG, accessDotted as bH, alignmentForType as bI, applyColumnOrder as bJ, applySelectionIntent as bK, bodyFocus as bL, buildExportTable as bM, builtInCommands as bN, clearSelection as bO, collapseAllGroups as bP, contextMenuEntries as bQ, createDefaultMessages as bR, csvWriter as bS, defaultContextMenu as bT, defaultFilterOperators as bU, defaultMessages as bV, defaultToolbar as bW, defineColumnsFromRows as bX, expandAllGroups as bY, exportPrintDocument as bZ, formatAggregateValue as b_, type ResizeMode as ba, type ResolvedGroupRow as bb, type ResolvedGroupSummaryRow as bc, type ResolvedMenuItem as bd, type ResolvedMenuSeparator as be, type ResolvedMenuSubmenu as bf, type ResolvedToolbarButton as bg, type ResolvedToolbarCustom as bh, type ResolvedToolbarMenu as bi, type ResolvedToolbarSearch as bj, type ResolvedToolbarSpacer as bk, type RowGroupPosition as bl, type RowPointerEvent as bm, type RowProps as bn, type RowSelectEvent as bo, type RowSelectionChangeEvent as bp, type RowsSelectEvent as bq, type SelectIntent as br, type SelectableConfig as bs, type SelectionCallbacks as bt, type SelectionDiff as bu, type SelectionDiffEvent as bv, type SelectionMode as bw, type SelectionState as bx, type SerializedFilterEntry as by, type SerializedFilterScalar as bz, type GridMessages as c, hasContextMenu as c$, formatGroupValue as c0, getColumnId as c1, groupRowId as c2, groupRows as c3, headerFocus as c4, isColumnFiltered as c5, isGroupExpanded as c6, isSameCell as c7, jsonWriter as c8, moveColumnBefore as c9, type CopyRequest as cA, type CopySource as cB, type DropSide as cC, type FilterEditorAction as cD, type FilterEditorDraft as cE, type FilterEditorDraftBase as cF, KEYBOARD_STEP as cG, type KeyShortcutCapabilities as cH, type NavigationModifiers as cI, type ResolvedColumnFilterMenu as cJ, applyColumnResize as cK, beginColumnResize as cL, buildKeyShortcuts as cM, buildPrintDocument as cN, clampColumnWidth as cO, clampFocus as cP, columnValueOptions as cQ, copyContent as cR, describeColumnFilter as cS, diffSelection as cT, draftToFilter as cU, filterDraftChanged as cV, filterEditorReducer as cW, filterOperandArity as cX, filterOperatorFamily as cY, fitColumnsToWidth as cZ, formatFilterOperand as c_, moveGroupByBefore as ca, resolveColumnHeaderText as cb, resolveColumnLabel as cc, resolveColumnWidths as cd, resolveDataColumns as ce, resolveExportWriters as cf, resolveMessages as cg, resolveRowId as ch, selectAll as ci, selectCell as cj, selectOnly as ck, selectRange as cl, toCsv as cm, toJson as cn, toggleCellSelection as co, toggleGroupExpansion as cp, toggleSelection as cq, toolbarEntries as cr, type SelectAllState as cs, type ColumnFilterShape as ct, type ColumnValueQuery as cu, type ColumnValueOptions as cv, type ValuesDraft as cw, type ColumnResizeSession as cx, type ColumnValueOption as cy, type ConditionsDraft as cz, type GridCommandHost as d, initialFilterEditorDraft as d0, intentOf as d1, movesColumn as d2, movesGroupBy as d3, nextFocusForKey as d4, parseFilterOperand as d5, resolveColumnConstraints as d6, resolveColumnFilterMenu as d7, resolveDropBefore as d8, resolveKeyboardDropTarget as d9, revertColumnSize as da, selectAllState as db, sizeColumnToContent as dc, toConditionsDraft as dd, toValuesDraft as de, totalColumnWidth as df, visibleFilterOptions as dg, type GridCommandContext as e, type GridCommand as f, type GridToolbarTarget as g, type ToolbarEntry as h, type ResolvedToolbarItem as i, type ColumnSortState as j, type ResolvedRow as k, type FieldPath as l, type ResolvedColumn as m, type SelectedCellRef as n, type SelectedCell as o, type SelectedColumn as p, type DisplayRow as q, type PaginationState as r, type AggregateResults as s, type GroupByState as t, type GroupAggregateDisplay as u, type ColumnVisibilityState as v, type ColumnDefinition as w, type GridViewInput as x, type GridView as y, type GridState as z };
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-B7C_n89V.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-B7C_n89V.js';
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-C2nZkvgC.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 RowGroupPosition, bm as RowPointerEvent, bn as RowProps, bo as RowSelectEvent, bp as RowSelectionChangeEvent, bq as RowsSelectEvent, br as SelectIntent, bs as SelectableConfig, bt as SelectionCallbacks, bu as SelectionDiff, bv as SelectionDiffEvent, bw as SelectionMode, bx as SelectionState, by as SerializedFilterEntry, bz as SerializedFilterScalar, bA as SerializedFilterState, bB as SerializedGroupFilterEntry, bC as SerializedOperatorFilterEntry, bD as SerializedValueFilterEntry, bE as TextFilterEntry, bF as ToolbarCustomEntry, bG as ValueFilterEntry, bH as accessDotted, bI as alignmentForType, bJ as applyColumnOrder, bK as applySelectionIntent, bL as bodyFocus, bM as buildExportTable, bN as builtInCommands, bO as clearSelection, bP as collapseAllGroups, bQ as contextMenuEntries, bR as createDefaultMessages, bS as csvWriter, bT as defaultContextMenu, bU as defaultFilterOperators, bV as defaultMessages, bW as defaultToolbar, bX as defineColumnsFromRows, bY as expandAllGroups, bZ as exportPrintDocument, b_ as formatAggregateValue, b$ as formatCellValue, c0 as formatGroupValue, c1 as getColumnId, c2 as groupRowId, c3 as groupRows, c4 as headerFocus, c5 as isColumnFiltered, c6 as isGroupExpanded, c7 as isSameCell, c8 as jsonWriter, c9 as moveColumnBefore, ca as moveGroupByBefore, cb as resolveColumnHeaderText, cc as resolveColumnLabel, cd as resolveColumnWidths, ce as resolveDataColumns, cf as resolveExportWriters, cg as resolveMessages, ch as resolveRowId, ci as selectAll, cj as selectCell, ck as selectOnly, cl as selectRange, cm as toCsv, cn as toJson, co as toggleCellSelection, cp as toggleGroupExpansion, cq as toggleSelection, cr as toolbarEntries } from './filterEditor-C2nZkvgC.js';
3
3
 
4
4
  /**
5
5
  * Creates the state container for one grid — see `GridController`. Hold one
package/dist/index.js CHANGED
@@ -88,7 +88,7 @@ import {
88
88
  unknownDisplayRow,
89
89
  unknownFilterEntry,
90
90
  withGroupAggregates
91
- } from "./chunk-QGKPKQIO.js";
91
+ } from "./chunk-DHSWUNSZ.js";
92
92
 
93
93
  // src/util/memoize.ts
94
94
  function memoizeLast(compute) {
@@ -1,5 +1,5 @@
1
- import { R as ResolvedMenuEntry, i as ResolvedToolbarItem, F as FilterState, D as DataColumn, v as ColumnVisibilityState, cr as SelectAllState, az as FilterOperator, b2 as OperatorFilterEntry, cs as ColumnFilterShape, C as ColumnType, ct as ColumnValueQuery, cu as ColumnValueOptions, aC as FilterScalar, cv as ValuesDraft } from './filterEditor-B7C_n89V.js';
2
- export { cw as ColumnResizeSession, cx as ColumnValueOption, cy as ConditionsDraft, cz as CopyRequest, cA as CopySource, cB as DropSide, cC as FilterEditorAction, cD as FilterEditorDraft, cE as FilterEditorDraftBase, cF as KEYBOARD_STEP, cG as KeyShortcutCapabilities, cH as NavigationModifiers, cI as ResolvedColumnFilterMenu, cJ as applyColumnResize, cK as beginColumnResize, cL as buildKeyShortcuts, cM as buildPrintDocument, cN as clampColumnWidth, cO as clampFocus, cP as columnValueOptions, cQ as copyContent, cR as describeColumnFilter, cS as diffSelection, cT as draftToFilter, cU as filterDraftChanged, cV as filterEditorReducer, cW as filterOperandArity, cX as filterOperatorFamily, cY as fitColumnsToWidth, cZ as formatFilterOperand, c_ as hasContextMenu, c$ as initialFilterEditorDraft, d0 as intentOf, d1 as movesColumn, d2 as movesGroupBy, d3 as nextFocusForKey, d4 as parseFilterOperand, d5 as resolveColumnConstraints, d6 as resolveColumnFilterMenu, d7 as resolveDropBefore, d8 as resolveKeyboardDropTarget, d9 as revertColumnSize, da as selectAllState, db as sizeColumnToContent, dc as toConditionsDraft, dd as toValuesDraft, de as totalColumnWidth, df as visibleFilterOptions } from './filterEditor-B7C_n89V.js';
1
+ import { R as ResolvedMenuEntry, i as ResolvedToolbarItem, F as FilterState, D as DataColumn, v as ColumnVisibilityState, cs as SelectAllState, az as FilterOperator, b2 as OperatorFilterEntry, ct as ColumnFilterShape, C as ColumnType, cu as ColumnValueQuery, cv as ColumnValueOptions, aC as FilterScalar, cw as ValuesDraft } from './filterEditor-C2nZkvgC.js';
2
+ export { cx as ColumnResizeSession, cy as ColumnValueOption, cz as ConditionsDraft, cA as CopyRequest, cB as CopySource, cC as DropSide, cD as FilterEditorAction, cE as FilterEditorDraft, cF as FilterEditorDraftBase, cG as KEYBOARD_STEP, cH as KeyShortcutCapabilities, cI as NavigationModifiers, cJ as ResolvedColumnFilterMenu, cK as applyColumnResize, cL as beginColumnResize, cM as buildKeyShortcuts, cN as buildPrintDocument, cO as clampColumnWidth, cP as clampFocus, cQ as columnValueOptions, cR as copyContent, cS as describeColumnFilter, cT as diffSelection, cU as draftToFilter, cV as filterDraftChanged, cW as filterEditorReducer, cX as filterOperandArity, cY as filterOperatorFamily, cZ as fitColumnsToWidth, c_ as formatFilterOperand, c$ as hasContextMenu, d0 as initialFilterEditorDraft, d1 as intentOf, d2 as movesColumn, d3 as movesGroupBy, d4 as nextFocusForKey, d5 as parseFilterOperand, d6 as resolveColumnConstraints, d7 as resolveColumnFilterMenu, d8 as resolveDropBefore, d9 as resolveKeyboardDropTarget, da as revertColumnSize, db as selectAllState, dc as sizeColumnToContent, dd as toConditionsDraft, de as toValuesDraft, df as totalColumnWidth, dg as visibleFilterOptions } from './filterEditor-C2nZkvgC.js';
3
3
 
4
4
  /** Where an arrow, Home or End key moves a menu's focus. */
5
5
  type MenuMove = "next" | "previous" | "first" | "last";
package/dist/renderer.js CHANGED
@@ -44,7 +44,7 @@ import {
44
44
  totalColumnWidth,
45
45
  touchesColumn,
46
46
  visibleFilterOptions
47
- } from "./chunk-QGKPKQIO.js";
47
+ } from "./chunk-DHSWUNSZ.js";
48
48
 
49
49
  // src/menu/navigation.ts
50
50
  function startIndex(count, from, move) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridkitjs/core",
3
- "version": "0.0.0-dev-20261112201151",
3
+ "version": "0.0.0-dev-20261118081957",
4
4
  "description": "Framework-agnostic data-grid logic: column resolution, alignment and sizing.",
5
5
  "license": "MIT",
6
6
  "author": "Blagoja Blazhevski",