@nocopypaste/vue-grid 0.4.1 → 0.4.3

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/AGENTS.md CHANGED
@@ -8,7 +8,8 @@ generated reference is [`agent/api.md`](agent/api.md) (also inside `llms-full.tx
8
8
 
9
9
  Machine-checkable: `validateGridConfig()` from `@nocopypaste/vue-grid/agent` checks a grid config and
10
10
  says how to fix each problem; [`agent/grid-config.schema.json`](agent/grid-config.schema.json) is its
11
- JSON Schema. The `@nocopypaste/vue-grid-mcp` MCP server serves all of this as tools.
11
+ JSON Schema. The `@nocopypaste/vue-grid-mcp` MCP server serves all of this as tools. Every feature
12
+ runs in the [live examples](https://eboye.github.io/eboye-vue-grid/), each with its complete source.
12
13
 
13
14
  ## Rules (each one is a bug when skipped)
14
15
 
@@ -214,7 +215,7 @@ const fetchOrders: DataSource<Order> = async (query, { signal }) => {
214
215
  body: JSON.stringify(query),
215
216
  signal,
216
217
  })
217
- if (!res.ok) throw new Error(res.statusText) // the grid shows an error with Retry, emits load-error
218
+ if (!res.ok) throw new Error(res.statusText) // the grid shows the error with Retry, emits load-error
218
219
  return res.json() as Promise<{ rows: Order[]; total: number }>
219
220
  }
220
221
  ```
@@ -475,7 +476,9 @@ export const ratingRenderer = defineCellRenderer<{ max?: number }>({
475
476
  }
476
477
  ```
477
478
 
478
- Tokens: `--vg-*` (see README → Theming). Dark mode follows `color-scheme`. Density:
479
+ Tokens: `--vg-*` (see README → Theming). Dark mode follows `color-scheme`, set in CSS
480
+ (`html.dark { color-scheme: dark }`), not inline from JS: a build that rewrites `light-dark()` (Vite 8)
481
+ only sees stylesheet rules. Density:
479
482
  `density="compact" | "cozy" | "comfortable"`. Utility classes per part: `:ui="{ cell: 'px-2' }"`.
480
483
 
481
484
  ## Check your work
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.3 — 2026-11-24
4
+
5
+ **Server data: a failed request no longer leaves the old rows looking current.** When a
6
+ `dataSource` request failed while rows were on screen, the grid kept them and emitted
7
+ `load-error`, but showed nothing, so the rows looked up to date (the _Couldn't load the rows_ /
8
+ _Retry_ message only appeared with no rows to show). Now a notice above the grid says _Couldn't
9
+ load the rows. These are from before._ with a _Retry_ button (`.vg-load-error-banner`,
10
+ `role="alert"`, themed like the selection banner in the danger tone). The next request, a retry or
11
+ a new sort, filter or page, clears it.
12
+
13
+ ## 0.4.2 — 2026-11-24
14
+
15
+ **Fix: theme colours in production builds that rewrite `light-dark()`.** Lightning CSS (the CSS
16
+ minifier of Vite 8, and others) rewrites `light-dark()` for older browser targets into variables
17
+ that only a `color-scheme` rule in the app's CSS defines. In an app without one, every grid colour
18
+ became invalid in the production build (the dev server was fine): text fell back to black, and
19
+ backgrounds, borders and badges lost their colours. The theme now defaults those variables to
20
+ light, in their own cascade layer, so a `color-scheme` rule in the app's CSS still wins. A browser
21
+ test builds an app with Vite's defaults and checks the colours with no `color-scheme`, with `dark`,
22
+ and with `light dark` following the OS. Docs: set `color-scheme` in a stylesheet for a theme
23
+ switch, not inline from JavaScript, or target browsers with native `light-dark()`.
24
+
25
+ Docs: **live examples** at <https://eboye.github.io/eboye-vue-grid/>, a page per feature (renderers,
26
+ filtering, server data, selection, row grouping, totals, sub-grids, virtual scrolling, column
27
+ layout, menus, export, theming, custom cells), each running live with its complete source, in light
28
+ and dark. Linked from the READMEs, AGENTS.md, llms.txt and the Claude Code skill.
29
+
3
30
  ## 0.4.1 — 2026-11-24
4
31
 
5
32
  **Accessibility**, found by a new axe-core check (WCAG 2.1 A / AA) of every story, light and dark,
package/README.md CHANGED
@@ -14,7 +14,8 @@ reorder/visibility with persistence, selection, virtual scrolling, pagination, a
14
14
  is caught). Value maps ignore inherited keys, and saved state is validated.
15
15
 
16
16
  **New here? Start with the [examples cookbook](../../docs/examples.md)** — runnable snippets for every
17
- feature. This README is the API reference.
17
+ feature — and see each one running in the [live examples](https://eboye.github.io/eboye-vue-grid/).
18
+ This README is the API reference.
18
19
 
19
20
  ## Install
20
21
 
@@ -684,8 +685,10 @@ const fetchBets: DataSource<Bet> = async (query, { signal }) => {
684
685
 
685
686
  - **Cancellation.** A new query aborts the previous request through `signal`, and a late response
686
687
  from a superseded request is ignored, so fast typing never shows stale rows.
687
- - **States.** The grid shows a progress bar while loading. If the function throws, it shows
688
- _Couldn't load the rows._ with a _Retry_ button and emits `load-error`.
688
+ - **States.** The grid shows a progress bar while loading. If the function throws, it emits
689
+ `load-error` and shows _Couldn't load the rows._ with a _Retry_ button: in place of the rows
690
+ when there are none, or above the rows from before (_These are from before._), which stay on
691
+ screen. The next request clears it. The notice is `.vg-load-error-banner` (`role="alert"`).
689
692
  - **Paging.** `pagination` adds the pager and sends `page` / `pageSize`; return `total` so the
690
693
  pager knows how many pages there are. Without `pagination`, `pageSize` is `null` (fetch
691
694
  everything). The page resets to 1 when sort or filters change.
@@ -1152,7 +1155,19 @@ Row highlights (hover, selection) appear at once and fade out over `--vg-transit
1152
1155
  responds the moment the pointer arrives.
1153
1156
 
1154
1157
  Colours use `light-dark()`: set `color-scheme: light dark` on `html` to follow the OS, or
1155
- `color-scheme: dark` to force dark. Stable class names (`.vg-header-cell`, `.vg-cell`, `.vg-row`,
1158
+ `color-scheme: dark` to force dark; with neither, the grid is light. For a theme switch, set it in a
1159
+ stylesheet (`html.dark { color-scheme: dark }`, then toggle the class), not as an inline style from
1160
+ JavaScript. A production build that rewrites `light-dark()` for older browsers only follows the
1161
+ `color-scheme` rules it saw; Lightning CSS, the CSS minifier of Vite 8, does that for its default
1162
+ targets. To keep `light-dark()` as is, target browsers that have it, e.g. in Vite:
1163
+
1164
+ ```ts
1165
+ build: {
1166
+ cssTarget: ['chrome123', 'edge123', 'firefox120', 'safari17.5']
1167
+ }
1168
+ ```
1169
+
1170
+ Stable class names (`.vg-header-cell`, `.vg-cell`, `.vg-row`,
1156
1171
  `.vg-subgrid`, `.vg-pin-left`, …) and the `ui` prop are there for anything tokens don't cover.
1157
1172
 
1158
1173
  ### Bring your own theme
package/agent/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@nocopypaste/vue-grid",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "component": "VGrid",
5
5
  "props": [
6
6
  {
@@ -381,7 +381,7 @@
381
381
  {
382
382
  "name": "load-error",
383
383
  "payload": "[error: unknown]",
384
- "description": "A `dataSource` call failed (the grid shows an error with Retry)."
384
+ "description": "A `dataSource` call failed. The grid shows an error with Retry, above the rows from before if any."
385
385
  },
386
386
  {
387
387
  "name": "row-click",
package/agent/api.md CHANGED
@@ -1,4 +1,4 @@
1
- # @nocopypaste/vue-grid 0.4.1 — API reference
1
+ # @nocopypaste/vue-grid 0.4.3 — API reference
2
2
 
3
3
  > Generated from the TypeScript sources (`scripts/gen-agent.mjs`). Machine-readable: `agent/api.json`, `agent/grid-config.schema.json`.
4
4
 
@@ -95,7 +95,7 @@ Opt-in: pass them as `:features="[…]"` on `<VGrid>` or once via `createVueGrid
95
95
  | Event | Payload | Description |
96
96
  |---|---|---|
97
97
  | `query-change` | `[query: GridQuery]` | The combined query (sort, filters, search, page) — on mount and whenever it changes. |
98
- | `load-error` | `[error: unknown]` | A `dataSource` call failed (the grid shows an error with Retry). |
98
+ | `load-error` | `[error: unknown]` | A `dataSource` call failed. The grid shows an error with Retry, above the rows from before if any. |
99
99
  | `row-click` | `[row: T, event: MouseEvent \| KeyboardEvent]` | A row was clicked (not on a link, button or input inside it, nor a `clickable` column). |
100
100
  | `cell-click` | `[event: CellClickEvent<T>]` | A cell of a `clickable: true` column was clicked. |
101
101
  | `cell-action` | `[event: CellActionEvent<T>]` | A renderer emitted an action (buttons, toggles, menus, edit, copy). |
package/dist/agent/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/agent/api.json
2
- var e = "0.4.1", t = "VGrid", n = [
2
+ var e = "0.4.3", t = "VGrid", n = [
3
3
  {
4
4
  name: "rows",
5
5
  type: "readonly T[]",
@@ -376,7 +376,7 @@ var e = "0.4.1", t = "VGrid", n = [
376
376
  {
377
377
  name: "load-error",
378
378
  payload: "[error: unknown]",
379
- description: "A `dataSource` call failed (the grid shows an error with Retry)."
379
+ description: "A `dataSource` call failed. The grid shows an error with Retry, above the rows from before if any."
380
380
  },
381
381
  {
382
382
  name: "row-click",
package/dist/base.css CHANGED
@@ -1 +1 @@
1
- @layer vue-grid{:root{--vg-select-column-width:2.75rem;--vg-expander-size:1.5rem;--vg-subgrid-indent:1.25rem;--vg-z-header:3;--vg-z-pinned:2;--vg-z-pinned-header:4;--vg-menu-gap:4px}.vg-root{flex-direction:column;min-width:0;min-height:0;max-height:100%;display:flex}.vg-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;display:flex}.vg-selection-banner{flex-wrap:wrap;justify-content:center;align-items:center;display:flex}.vg-viewport{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.vg{grid-template-columns:var(--vg-columns);isolation:isolate;overscroll-behavior:contain;flex:auto;grid-auto-rows:min-content;align-content:start;min-height:0;display:grid;overflow:auto}.vg-header,.vg-row,.vg-detail-row,.vg-status-row,.vg-empty-row{display:contents}.vg-header-cell{z-index:var(--vg-z-header);user-select:none;white-space:nowrap;align-items:center;display:flex;position:sticky;top:0}.vg-header-cell.vg-reorderable{cursor:grab}.vg-is-dragging,.vg-is-dragging .vg-header-cell{cursor:grabbing}.vg-header-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.vg-sort{cursor:pointer;align-items:center;min-width:0;display:inline-flex}.vg-sort-icon{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:.875rem;height:.875rem}.vg-sort-icon path{opacity:.35}[aria-sort=ascending] .vg-sort-up,[aria-sort=descending] .vg-sort-down{opacity:1}.vg-cell{align-items:center;display:flex}.vg-cell-content{flex:auto;align-items:center;min-width:0;display:flex}.vg-align-center,.vg-align-center>.vg-cell-content{text-align:center;justify-content:center}.vg-align-end,.vg-align-end>.vg-cell-content{text-align:end;justify-content:flex-end}.vg-header-cell.vg-align-end,.vg-header-cell.vg-align-end .vg-sort{flex-direction:row-reverse}.vg-row-clickable>.vg-cell,.vg-cell-clickable{cursor:pointer}.vg-cell-select,.vg-header-select{justify-content:center}.vg-pin-left,.vg-pin-right{z-index:var(--vg-z-pinned);position:sticky}.vg-pin-left{left:var(--vg-pin-offset,0)}.vg-pin-right{right:var(--vg-pin-offset,0)}.vg-header-cell.vg-pin-left,.vg-header-cell.vg-pin-right{z-index:var(--vg-z-pinned-header)}@supports (container-type:scroll-state){.vg{container-type:scroll-state}}.vg-cell-tree{--vg-depth:inherit}.vg-tree-gutter{width:calc(var(--vg-expander-size) + var(--vg-depth,0) * var(--vg-subgrid-indent));flex:none;justify-content:flex-end;display:inline-flex}.vg-expander{width:var(--vg-expander-size);height:var(--vg-expander-size);cursor:pointer;place-items:center;display:inline-grid}.vg-expander-icon{width:1rem;height:1rem}.vg-expander[aria-expanded=true] .vg-expander-icon{transform:rotate(90deg)}.vg-rowgroup-cell{cursor:pointer;container-type:inline-size}.vg-rowgroup-label{white-space:nowrap}.vg-rowgroup-name{flex:none;margin-inline-end:.5rem}@container (width<12rem){.vg-rowgroup-name{display:none}}.vg-rowgroup-value{text-overflow:ellipsis;flex:0 auto;min-width:0;display:block;overflow:hidden}.vg-rowgroup-count{flex:none;margin-inline-start:.5rem}.vg-subgrid{grid-column:1/-1;grid-template-columns:subgrid;display:grid}.vg-detail{grid-column:1/-1}.vg-status,.vg-empty{grid-column:1/-1;align-items:center;display:flex}.vg-empty{justify-content:center}.vg-spinner{width:.875rem;height:.875rem}.vg-progress{z-index:calc(var(--vg-z-pinned-header) + 1);height:2px;position:absolute;inset:0 0 auto;overflow:hidden}.vg-progress:after{content:"";width:40%;position:absolute;inset:0}.vg-spacer{grid-column:1/-1}.vg-virtual{overflow-anchor:none}.vg-virtual .vg-row>.vg-cell{box-sizing:border-box;height:var(--vg-row-height);overflow:hidden}.vg-checkbox{cursor:pointer;display:inline-flex}.vg-checkbox input{width:1rem;height:1rem;cursor:inherit}.vg-checkbox input:disabled{cursor:not-allowed}.vg-button{cursor:pointer;align-items:center;display:inline-flex}.vg-button-icon{width:1rem;height:1rem}.vg-icon-button{cursor:pointer;place-items:center;width:1.75rem;height:1.75rem;display:inline-grid}.vg-icon-button svg{fill:currentColor;width:1rem;height:1rem}.vg-link-button{text-align:inherit;cursor:pointer}.vg-menu{margin:var(--vg-menu-gap) 0;position-area:bottom span-left;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;position-visibility:anchor-visible;min-width:10rem;max-height:min(22rem,70vh);position:fixed;inset:auto;overflow:auto}.vg-menu[data-placement=bottom-start]{position-area:bottom span-right}.vg-menu[data-placement=point]{position-area:bottom right;margin:2px}.vg-menu[data-vg-anchor-hidden]{visibility:hidden}.vg-menu-point{pointer-events:none;width:0;height:0;position:fixed}.vg-menu-item{text-align:start;white-space:nowrap;cursor:pointer;align-items:center;width:100%;display:flex}.vg-menu-item:disabled{cursor:not-allowed}.vg-menu-label{flex:auto}.vg-menu-icon{flex:none;width:1rem;height:1rem}.vg-filter-button{flex:none;width:1.5rem;height:1.5rem;margin-inline-start:auto}.vg-filter-button svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linejoin:round;width:.875rem;height:.875rem}.vg-filter-button.vg-filter-on svg{fill:currentColor}.vg-header-cell.vg-has-filter-row{flex-wrap:wrap;align-content:flex-start}.vg-filter-input{flex:1 0 100%;order:10}.vg-filter-input .vg-input{box-sizing:border-box;width:100%}.vg-filter-summary{text-align:start;cursor:pointer}.vg-filter-popover{min-width:15rem;max-width:min(20rem,90vw)}.vg-filter-panel{display:grid}.vg-filter-head{justify-content:space-between;align-items:center;display:flex}.vg-filter-head .vg-link-button:disabled{cursor:default}.vg-filter-fields{display:grid}.vg-filter-fields .vg-input{box-sizing:border-box;width:100%}.vg-filter-option{cursor:pointer;align-items:center;display:flex}.vg-filter-values{max-height:14rem;overflow:auto}.vg-filter-value-label{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.vg-search{min-width:12rem}.vg-no-match{flex-wrap:wrap;justify-content:center;align-items:center;display:inline-flex}.vg-column-panel{min-width:14rem}.vg-column-panel:popover-open{display:grid}.vg-column-list{display:grid}.vg-column-option{cursor:pointer;align-items:center;display:flex}.vg-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;display:flex}.vg-pagination-pages{flex-wrap:wrap;align-items:center;margin-inline-start:auto;display:flex}.vg-page{cursor:pointer;min-width:2rem;height:2rem}.vg-page:disabled{cursor:not-allowed}@media (width<30rem){.vg-page-first,.vg-page-last{display:none}}.vg-text{overflow-wrap:break-word;min-width:0}.vg-text-ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vg-text-clamp{-webkit-line-clamp:var(--vg-text-lines);line-clamp:var(--vg-text-lines);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.vg-text-pre{white-space:pre-line}.vg-text-fill{display:inline-block}.vg-text-adorned{align-items:center;min-width:0;max-width:100%;display:inline-flex}.vg-text-icon{flex:none;display:inline-flex}.vg-text-icon>svg{width:1rem;height:1rem}.vg-badge{flex:none;place-items:center;min-width:1.125rem;height:1.125rem;display:inline-grid}.vg-copy-button{flex:none}.vg-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.vg-resize-handle{z-index:1;cursor:col-resize;touch-action:none;user-select:none;inline-size:8px;position:absolute;inset-block:0;inset-inline-end:0}.vg-header-groups{display:contents}.vg-group-cell{z-index:var(--vg-z-header);white-space:nowrap;justify-content:center;align-items:center;min-width:0;display:flex;position:sticky;top:0;overflow:hidden}.vg-group-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.vg-group-cell.vg-pin-left,.vg-group-cell.vg-pin-right{z-index:var(--vg-z-pinned-header)}.vg-has-groups .vg-header-cell{top:var(--vg-group-row-height,0px)}.vg-pinned-rows{grid-column:1/-1;grid-template-columns:subgrid;z-index:var(--vg-z-header);display:grid;position:sticky}.vg-pinned-top{top:calc(var(--vg-group-row-height,0px) + var(--vg-header-height,0px))}.vg-pinned-bottom{bottom:0}.vg-has-pinned-rows{scroll-padding-block:calc(var(--vg-group-row-height,0px) + var(--vg-header-height,0px) + var(--vg-pinned-top-height,0px)) var(--vg-pinned-bottom-height,0px)}@media (pointer:coarse){.vg-header-cell,.vg-has-cell-menu .vg-cell{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}.vg-col-sized{min-width:0;overflow:hidden}.vg-is-resizing,.vg-is-resizing .vg-header-cell,.vg-is-resizing .vg-sort{cursor:col-resize;user-select:none}.vg-header-cell,.vg-group-cell,.vg-pin-left,.vg-pin-right{background-color:canvas}}
1
+ @layer vue-grid{:root{--vg-select-column-width:2.75rem;--vg-expander-size:1.5rem;--vg-subgrid-indent:1.25rem;--vg-z-header:3;--vg-z-pinned:2;--vg-z-pinned-header:4;--vg-menu-gap:4px}.vg-root{flex-direction:column;min-width:0;min-height:0;max-height:100%;display:flex}.vg-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;display:flex}.vg-selection-banner,.vg-load-error-banner{flex-wrap:wrap;justify-content:center;align-items:center;display:flex}.vg-viewport{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.vg{grid-template-columns:var(--vg-columns);isolation:isolate;overscroll-behavior:contain;flex:auto;grid-auto-rows:min-content;align-content:start;min-height:0;display:grid;overflow:auto}.vg-header,.vg-row,.vg-detail-row,.vg-status-row,.vg-empty-row{display:contents}.vg-header-cell{z-index:var(--vg-z-header);user-select:none;white-space:nowrap;align-items:center;display:flex;position:sticky;top:0}.vg-header-cell.vg-reorderable{cursor:grab}.vg-is-dragging,.vg-is-dragging .vg-header-cell{cursor:grabbing}.vg-header-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.vg-sort{cursor:pointer;align-items:center;min-width:0;display:inline-flex}.vg-sort-icon{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:.875rem;height:.875rem}.vg-sort-icon path{opacity:.35}[aria-sort=ascending] .vg-sort-up,[aria-sort=descending] .vg-sort-down{opacity:1}.vg-cell{align-items:center;display:flex}.vg-cell-content{flex:auto;align-items:center;min-width:0;display:flex}.vg-align-center,.vg-align-center>.vg-cell-content{text-align:center;justify-content:center}.vg-align-end,.vg-align-end>.vg-cell-content{text-align:end;justify-content:flex-end}.vg-header-cell.vg-align-end,.vg-header-cell.vg-align-end .vg-sort{flex-direction:row-reverse}.vg-row-clickable>.vg-cell,.vg-cell-clickable{cursor:pointer}.vg-cell-select,.vg-header-select{justify-content:center}.vg-pin-left,.vg-pin-right{z-index:var(--vg-z-pinned);position:sticky}.vg-pin-left{left:var(--vg-pin-offset,0)}.vg-pin-right{right:var(--vg-pin-offset,0)}.vg-header-cell.vg-pin-left,.vg-header-cell.vg-pin-right{z-index:var(--vg-z-pinned-header)}@supports (container-type:scroll-state){.vg{container-type:scroll-state}}.vg-cell-tree{--vg-depth:inherit}.vg-tree-gutter{width:calc(var(--vg-expander-size) + var(--vg-depth,0) * var(--vg-subgrid-indent));flex:none;justify-content:flex-end;display:inline-flex}.vg-expander{width:var(--vg-expander-size);height:var(--vg-expander-size);cursor:pointer;place-items:center;display:inline-grid}.vg-expander-icon{width:1rem;height:1rem}.vg-expander[aria-expanded=true] .vg-expander-icon{transform:rotate(90deg)}.vg-rowgroup-cell{cursor:pointer;container-type:inline-size}.vg-rowgroup-label{white-space:nowrap}.vg-rowgroup-name{flex:none;margin-inline-end:.5rem}@container (width<12rem){.vg-rowgroup-name{display:none}}.vg-rowgroup-value{text-overflow:ellipsis;flex:0 auto;min-width:0;display:block;overflow:hidden}.vg-rowgroup-count{flex:none;margin-inline-start:.5rem}.vg-subgrid{grid-column:1/-1;grid-template-columns:subgrid;display:grid}.vg-detail{grid-column:1/-1}.vg-status,.vg-empty{grid-column:1/-1;align-items:center;display:flex}.vg-empty{justify-content:center}.vg-spinner{width:.875rem;height:.875rem}.vg-progress{z-index:calc(var(--vg-z-pinned-header) + 1);height:2px;position:absolute;inset:0 0 auto;overflow:hidden}.vg-progress:after{content:"";width:40%;position:absolute;inset:0}.vg-spacer{grid-column:1/-1}.vg-virtual{overflow-anchor:none}.vg-virtual .vg-row>.vg-cell{box-sizing:border-box;height:var(--vg-row-height);overflow:hidden}.vg-checkbox{cursor:pointer;display:inline-flex}.vg-checkbox input{width:1rem;height:1rem;cursor:inherit}.vg-checkbox input:disabled{cursor:not-allowed}.vg-button{cursor:pointer;align-items:center;display:inline-flex}.vg-button-icon{width:1rem;height:1rem}.vg-icon-button{cursor:pointer;place-items:center;width:1.75rem;height:1.75rem;display:inline-grid}.vg-icon-button svg{fill:currentColor;width:1rem;height:1rem}.vg-link-button{text-align:inherit;cursor:pointer}.vg-menu{margin:var(--vg-menu-gap) 0;position-area:bottom span-left;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;position-visibility:anchor-visible;min-width:10rem;max-height:min(22rem,70vh);position:fixed;inset:auto;overflow:auto}.vg-menu[data-placement=bottom-start]{position-area:bottom span-right}.vg-menu[data-placement=point]{position-area:bottom right;margin:2px}.vg-menu[data-vg-anchor-hidden]{visibility:hidden}.vg-menu-point{pointer-events:none;width:0;height:0;position:fixed}.vg-menu-item{text-align:start;white-space:nowrap;cursor:pointer;align-items:center;width:100%;display:flex}.vg-menu-item:disabled{cursor:not-allowed}.vg-menu-label{flex:auto}.vg-menu-icon{flex:none;width:1rem;height:1rem}.vg-filter-button{flex:none;width:1.5rem;height:1.5rem;margin-inline-start:auto}.vg-filter-button svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linejoin:round;width:.875rem;height:.875rem}.vg-filter-button.vg-filter-on svg{fill:currentColor}.vg-header-cell.vg-has-filter-row{flex-wrap:wrap;align-content:flex-start}.vg-filter-input{flex:1 0 100%;order:10}.vg-filter-input .vg-input{box-sizing:border-box;width:100%}.vg-filter-summary{text-align:start;cursor:pointer}.vg-filter-popover{min-width:15rem;max-width:min(20rem,90vw)}.vg-filter-panel{display:grid}.vg-filter-head{justify-content:space-between;align-items:center;display:flex}.vg-filter-head .vg-link-button:disabled{cursor:default}.vg-filter-fields{display:grid}.vg-filter-fields .vg-input{box-sizing:border-box;width:100%}.vg-filter-option{cursor:pointer;align-items:center;display:flex}.vg-filter-values{max-height:14rem;overflow:auto}.vg-filter-value-label{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.vg-search{min-width:12rem}.vg-no-match{flex-wrap:wrap;justify-content:center;align-items:center;display:inline-flex}.vg-column-panel{min-width:14rem}.vg-column-panel:popover-open{display:grid}.vg-column-list{display:grid}.vg-column-option{cursor:pointer;align-items:center;display:flex}.vg-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;display:flex}.vg-pagination-pages{flex-wrap:wrap;align-items:center;margin-inline-start:auto;display:flex}.vg-page{cursor:pointer;min-width:2rem;height:2rem}.vg-page:disabled{cursor:not-allowed}@media (width<30rem){.vg-page-first,.vg-page-last{display:none}}.vg-text{overflow-wrap:break-word;min-width:0}.vg-text-ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vg-text-clamp{-webkit-line-clamp:var(--vg-text-lines);line-clamp:var(--vg-text-lines);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.vg-text-pre{white-space:pre-line}.vg-text-fill{display:inline-block}.vg-text-adorned{align-items:center;min-width:0;max-width:100%;display:inline-flex}.vg-text-icon{flex:none;display:inline-flex}.vg-text-icon>svg{width:1rem;height:1rem}.vg-badge{flex:none;place-items:center;min-width:1.125rem;height:1.125rem;display:inline-grid}.vg-copy-button{flex:none}.vg-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.vg-resize-handle{z-index:1;cursor:col-resize;touch-action:none;user-select:none;inline-size:8px;position:absolute;inset-block:0;inset-inline-end:0}.vg-header-groups{display:contents}.vg-group-cell{z-index:var(--vg-z-header);white-space:nowrap;justify-content:center;align-items:center;min-width:0;display:flex;position:sticky;top:0;overflow:hidden}.vg-group-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.vg-group-cell.vg-pin-left,.vg-group-cell.vg-pin-right{z-index:var(--vg-z-pinned-header)}.vg-has-groups .vg-header-cell{top:var(--vg-group-row-height,0px)}.vg-pinned-rows{grid-column:1/-1;grid-template-columns:subgrid;z-index:var(--vg-z-header);display:grid;position:sticky}.vg-pinned-top{top:calc(var(--vg-group-row-height,0px) + var(--vg-header-height,0px))}.vg-pinned-bottom{bottom:0}.vg-has-pinned-rows{scroll-padding-block:calc(var(--vg-group-row-height,0px) + var(--vg-header-height,0px) + var(--vg-pinned-top-height,0px)) var(--vg-pinned-bottom-height,0px)}@media (pointer:coarse){.vg-header-cell,.vg-has-cell-menu .vg-cell{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}.vg-col-sized{min-width:0;overflow:hidden}.vg-is-resizing,.vg-is-resizing .vg-header-cell,.vg-is-resizing .vg-sort{cursor:col-resize;user-select:none}.vg-header-cell,.vg-group-cell,.vg-pin-left,.vg-pin-right{background-color:canvas}}