@svgrid/grid 2.2.32 → 2.2.33

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.
Files changed (80) hide show
  1. package/dist/DockNodeView.svelte +1 -1
  2. package/dist/GridFooter.svelte +0 -40
  3. package/dist/GridMenus.svelte +0 -77
  4. package/dist/SvDateRangeInput.svelte +1 -1
  5. package/dist/SvGrid.svelte +2 -25
  6. package/dist/SvGridChart.svelte +2 -10
  7. package/dist/SvGridSelect.svelte +0 -2
  8. package/dist/SvKbd.svelte +1 -1
  9. package/dist/SvList.svelte +1 -1
  10. package/dist/SvMenubar.svelte +1 -1
  11. package/dist/SvMultiSelect.svelte +0 -1
  12. package/dist/SvOtpInput.svelte +1 -1
  13. package/dist/SvRichText.svelte +4 -0
  14. package/dist/SvTour.svelte +4 -0
  15. package/dist/SvTreeSelect.svelte +0 -2
  16. package/dist/cdn/{GridMenus-C6ixSGWW.js → GridMenus-B7XhhqdN.js} +2 -4
  17. package/dist/cdn/{GridMenus-Cyk3qpJ7.js → GridMenus-BxmIvCJh.js} +4 -6
  18. package/dist/cdn/{SvDateTimePicker-CdqaP61H.js → SvDateTimePicker-o94wfSUa.js} +1 -1
  19. package/dist/cdn/{SvGridChart-BcLCYvw9.js → SvGridChart-Cr_90pPD.js} +1 -1
  20. package/dist/cdn/{SvGridChartPanel-DvjwxLvK.js → SvGridChartPanel-ICbxiUvK.js} +4 -4
  21. package/dist/cdn/{SvGridChartView-PwqI4s02.js → SvGridChartView-Bx42PMvf.js} +2 -2
  22. package/dist/cdn/{SvGridDropdown-Dh-2ej8j.js → SvGridDropdown-CUOdm7YA.js} +1 -1
  23. package/dist/cdn/{disclose-version-DoD9AFD_.js → disclose-version-DljhZohK.js} +45 -45
  24. package/dist/cdn/{src-CgD-wiuS.js → src-erjBRYfX.js} +14 -31
  25. package/dist/cdn/{src-BgHjWF0Q.js → src-ktbQVOk-.js} +7 -24
  26. package/dist/cdn/svgrid.js +5 -5
  27. package/dist/cdn/svgrid.svelte-external.js +1 -1
  28. package/dist/chart.d.ts +2 -0
  29. package/dist/chart.js +1 -4
  30. package/dist/createMenu.svelte.js +0 -1
  31. package/dist/createPopoverSelect.svelte.d.ts +2 -2
  32. package/dist/editing.js +1 -1
  33. package/dist/export-format.js +3 -0
  34. package/dist/selection.js +0 -1
  35. package/package.json +3 -2
  36. package/src/DockNodeView.svelte +1 -1
  37. package/src/GridFooter.svelte +0 -40
  38. package/src/GridMenus.svelte +0 -77
  39. package/src/SvCalendar.test.ts +1 -1
  40. package/src/SvDateRangeInput.svelte +1 -1
  41. package/src/SvGrid.controller.svelte.ts +0 -5
  42. package/src/SvGrid.svelte +2 -25
  43. package/src/SvGrid.types.ts +0 -1
  44. package/src/SvGridChart.svelte +2 -10
  45. package/src/SvGridSelect.svelte +0 -2
  46. package/src/SvKbd.svelte +1 -1
  47. package/src/SvList.svelte +1 -1
  48. package/src/SvMenubar.svelte +1 -1
  49. package/src/SvMultiSelect.svelte +0 -1
  50. package/src/SvOtpInput.svelte +1 -1
  51. package/src/SvRichText.svelte +4 -0
  52. package/src/SvTour.svelte +4 -0
  53. package/src/SvTreeSelect.svelte +0 -2
  54. package/src/ai.test.ts +1 -1
  55. package/src/build-api.ts +0 -105
  56. package/src/cell-formatting.test.ts +1 -1
  57. package/src/cell-render.ts +0 -94
  58. package/src/chart.ts +1 -2
  59. package/src/clipboard.ts +0 -102
  60. package/src/columns.ts +0 -115
  61. package/src/createMenu.svelte.ts +0 -1
  62. package/src/editing.ts +2 -105
  63. package/src/editor-registry.grid.test.ts +0 -2
  64. package/src/export-format.ts +3 -0
  65. package/src/features.ts +0 -90
  66. package/src/keyboard-handlers.coverage.test.ts +1 -1
  67. package/src/keyboard-handlers.ts +0 -120
  68. package/src/menus.test.ts +0 -1
  69. package/src/menus.ts +0 -112
  70. package/src/new-features.test.ts +3 -1
  71. package/src/row-drag.test.ts +1 -1
  72. package/src/row-resize.test.ts +1 -2
  73. package/src/scroll-sync.test.ts +4 -7
  74. package/src/scroll-sync.ts +0 -122
  75. package/src/selection.ts +0 -109
  76. package/src/server-group-model.test.ts +2 -2
  77. package/src/summaries.ts +0 -112
  78. package/src/svgrid.behavior.test.ts +0 -1
  79. package/src/svgrid.column-reorder.test.ts +0 -8
  80. package/src/tree-row-model.test.ts +0 -1
@@ -42,7 +42,7 @@
42
42
 
43
43
  const onMove = (ev: PointerEvent) => {
44
44
  const delta = ((vertical ? ev.clientY : ev.clientX) - startPos) / total
45
- let fa = Math.min(Math.max(startSizes[a]! + delta, minA), pairTotal - minB)
45
+ const fa = Math.min(Math.max(startSizes[a]! + delta, minA), pairTotal - minB)
46
46
  const next = startSizes.slice()
47
47
  next[a] = fa
48
48
  next[b] = pairTotal - fa
@@ -1,50 +1,13 @@
1
1
  <script lang="ts" generics="TFeatures extends TableFeatures = TableFeatures, TData extends RowData = RowData">
2
2
  import {
3
- getGridCellA11yProps,
4
- getGridCellDomId,
5
- getGridHeaderA11yProps,
6
- getGridRootA11yProps,
7
- getGridRowA11yProps,
8
- type EditorContext,
9
- type CellEditorOption,
10
- type Column,
11
- type Row,
12
3
  type RowData,
13
4
  type TableFeatures,
14
5
  } from "./index";
15
6
  import "./sv-grid-scrollbar";
16
- import type { Snippet } from "svelte";
17
- import {
18
- RenderSnippetConfig,
19
- RenderComponentConfig,
20
- } from "./render-component";
21
- import {
22
- buildSparkline,
23
- toSparklineValues,
24
- } from "./sparkline";
25
7
  import SvGridDropdown from "./SvGridDropdown.svelte";
26
- import type {
27
- Props,
28
- SelectionPoint,
29
- SelectionRange,
30
- CellEditState,
31
- FilterOperator,
32
- FilterOption,
33
- MenuPosition,
34
- } from "./SvGrid.types";
35
8
  import {
36
- cfTextStyle,
37
9
  fmtStat,
38
- getEditableInputValue,
39
- getEditorInputType,
40
- toValueArray,
41
- getOptionLabel,
42
- getOptionColor,
43
- colorfulChipStyle,
44
- getEditorClass,
45
10
  } from "./SvGrid.helpers";
46
- import {
47
- } from "./SvGrid.controller.svelte";
48
11
  import type { SvGridController } from "./SvGrid.controller.svelte";
49
12
 
50
13
  let {
@@ -68,9 +31,6 @@
68
31
  // View facade: re-bind the controller's reactive members so the markup
69
32
  // (moved verbatim from SvGrid.svelte) stays identical.
70
33
  const paginationEnabled = $derived(ctrl.paginationEnabled);
71
- const grid = $derived(ctrl.grid);
72
- const paginationState = $derived(ctrl.paginationState);
73
- const allRowsBeforePagination = $derived(ctrl.allRowsBeforePagination);
74
34
  const statusBarEnabled = $derived(ctrl.statusBarEnabled);
75
35
  const statusBarAggregates = $derived(ctrl.statusBarAggregates);
76
36
  const statusBarStats = $derived(ctrl.statusBarStats);
@@ -1,97 +1,21 @@
1
1
  <script lang="ts" generics="TFeatures extends TableFeatures = TableFeatures, TData extends RowData = RowData">
2
2
  import {
3
- applyExcelFilter,
4
- normalizeForFilter,
5
3
  splitInTokens,
6
4
  trailingInToken,
7
- createColumnVirtualizer,
8
- createCoreRowModel,
9
- createExpandedRowModel,
10
- createFilteredRowModel,
11
- createGroupedRowModel,
12
- createPaginatedRowModel,
13
- createSvelteVirtualizer,
14
- createSortedRowModel,
15
- createSvGrid,
16
- filterFns,
17
- getGridCellA11yProps,
18
- getGridCellDomId,
19
- getGridHeaderA11yProps,
20
- getGridRootA11yProps,
21
- getGridRowA11yProps,
22
- parseEditorValue,
23
- normalizeEditorOptions,
24
- sortFns,
25
- tableFeatures,
26
- rowSortingFeature,
27
- columnFilteringFeature,
28
- columnGroupingFeature,
29
- type CellContext,
30
- type EditorContext,
31
- type CellEditorOption,
32
5
  type CellEditorType,
33
- type CellFormatter,
34
- type CellFormatConfig,
35
6
  type Column,
36
- type ColumnDef,
37
- type Row,
38
7
  type RowData,
39
- type SvGridApi,
40
8
  type TableFeatures,
41
9
  } from "./index";
42
10
  import "./sv-grid-scrollbar";
43
11
  import { onScrollOutside } from "./a11y/dismissable";
44
12
  import type { Snippet } from "svelte";
45
- import { getKeyboardIntent, getNextActiveCell } from "./keyboard";
46
- import {
47
- formatNumericWithConfig,
48
- getDateFormatter,
49
- resolveDatePattern,
50
- } from "./cell-formatting";
51
- import {
52
- RenderSnippetConfig,
53
- RenderComponentConfig,
54
- } from "./render-component";
55
- import { buildFillPattern } from "./fill-patterns";
56
- import { buildSparkline, toSparklineValues } from "./sparkline";
57
- import {
58
- resolveCellFormat,
59
- computeColumnStat,
60
- formatsNeedingStats,
61
- type ColumnStat,
62
- type ResolvedCellFormat,
63
- } from "./conditional-formatting";
64
- import SvGridDropdown from "./SvGridDropdown.svelte";
65
13
  import SvListBox from "./SvListBox.svelte";
66
14
  import type {
67
- Props,
68
- SelectionPoint,
69
- SelectionRange,
70
- CellEditState,
71
15
  FilterOperator,
72
- FilterOption,
73
- MenuPosition,
74
16
  } from "./SvGrid.types";
75
17
  import {
76
- cfTextStyle,
77
- fmtStat,
78
- getCellKey,
79
- resolveClassList,
80
- toDateInputValue,
81
- toDateTimeLocalInputValue,
82
- getEditableInputValue,
83
18
  getEditorInputType,
84
- toValueArray,
85
- getOptionLabel,
86
- getOptionColor,
87
- colorfulChipStyle,
88
- getEditorClass,
89
- asDate,
90
- clampMenuX,
91
- cssEscape,
92
- rawToNumber,
93
- formatFacetNumber,
94
- formatFacetDate,
95
19
  } from "./SvGrid.helpers";
96
20
 
97
21
  import type { SvGridController } from "./SvGrid.controller.svelte";
@@ -103,7 +27,6 @@
103
27
  const groupingControlsEnabled = $derived(ctrl.groupingControlsEnabled);
104
28
  const filterMenuValues = $derived(ctrl.filterMenuValues);
105
29
  const tooltip = $derived(ctrl.tooltip);
106
- const showTooltipFor = $derived(ctrl.showTooltipFor);
107
30
  const columnMenuFor = $derived(ctrl.columnMenuFor);
108
31
  const columnMenuPos = $derived(ctrl.columnMenuPos);
109
32
  const filterMenuFor = $derived(ctrl.filterMenuFor);
@@ -20,7 +20,7 @@
20
20
  import { anchoredRect, portalToBody, popIn, type AnchoredRect } from './popover'
21
21
  import { editorAria, nextEditorId, resolveMessages, type SvEditorProps } from './editor-contract'
22
22
  import { formatDate } from './datetime/date-format'
23
- import { toDate, startOfDay, type DateLike } from './datetime/date-core'
23
+ import { startOfDay, type DateLike } from './datetime/date-core'
24
24
  import { rangeDays } from './datetime/date-selection'
25
25
  import type { CalendarPreset } from './createCalendar.svelte'
26
26
 
@@ -17,7 +17,6 @@
17
17
  } from "./index";
18
18
  import "./sv-grid-scrollbar";
19
19
  import "./SvGrid.css";
20
- import type { Snippet } from "svelte";
21
20
  import {
22
21
  RenderSnippetConfig,
23
22
  RenderComponentConfig,
@@ -36,16 +35,10 @@
36
35
  import { timeStringToDate, dateToTimeString } from "./SvGrid.helpers";
37
36
  import type {
38
37
  Props,
39
- SelectionPoint,
40
- SelectionRange,
41
- CellEditState,
42
38
  FilterOperator,
43
- FilterOption,
44
- MenuPosition,
45
39
  } from "./SvGrid.types";
46
40
  import {
47
41
  cfTextStyle,
48
- fmtStat,
49
42
  getEditableInputValue,
50
43
  getEditorInputType,
51
44
  toValueArray,
@@ -57,7 +50,6 @@
57
50
  import {
58
51
  splitInTokens,
59
52
  trailingInToken,
60
- joinInTokens,
61
53
  } from "./filtering/excel-filters";
62
54
  import { createSvGridController } from "./SvGrid.controller.svelte";
63
55
  // GridMenus hosts tooltips + all column/filter/context menu overlays - none of
@@ -180,10 +172,8 @@
180
172
 
181
173
  // ---- View facade: re-bind the controller's reactive members as locals so the
182
174
  // markup stays identical. Assignable state + bindings + DOM refs use c.* directly.
183
- const paginationEnabled = $derived(ctrl.paginationEnabled);
184
175
  const filterRowValues = $derived(ctrl.filterRowValues);
185
176
  const filterMenuValues = $derived(ctrl.filterMenuValues);
186
- const tooltip = $derived(ctrl.tooltip);
187
177
  const showTooltipFor = $derived(ctrl.showTooltipFor);
188
178
  const hideTooltip = $derived(ctrl.hideTooltip);
189
179
  const findHits = $derived(ctrl.findHits);
@@ -284,19 +274,13 @@
284
274
  id === "__autoGroup" || id.startsWith("__group_");
285
275
  const sortDirectionByColumn = $derived(ctrl.sortDirectionByColumn);
286
276
  const groupingColumns = $derived(ctrl.groupingColumns);
287
- const paginationState = $derived(ctrl.paginationState);
288
- const allRowsBeforePagination = $derived(ctrl.allRowsBeforePagination);
289
277
  const allRows = $derived(ctrl.allRows);
290
- const statusBarEnabled = $derived(ctrl.statusBarEnabled);
291
- const statusBarAggregates = $derived(ctrl.statusBarAggregates);
292
- const statusBarStats = $derived(ctrl.statusBarStats);
293
278
  const toolPanelEnabled = $derived(ctrl.toolPanelEnabled);
294
279
  const toolPanelColumns = $derived(ctrl.toolPanelColumns);
295
280
  const toolPanelHeaderLabel = $derived(ctrl.toolPanelHeaderLabel);
296
281
  const toggleColumnVisibleInPanel = $derived(ctrl.toggleColumnVisibleInPanel);
297
282
  const moveColumnInPanel = $derived(ctrl.moveColumnInPanel);
298
283
  const toggleGroupInPanel = $derived(ctrl.toggleGroupInPanel);
299
- const virtualizer = $derived(ctrl.virtualizer);
300
284
  const rowVirtualizationEnabled = $derived(ctrl.rowVirtualizationEnabled);
301
285
  // The fixed row height, matching what the virtualized path takes from the virtualizer.
302
286
  // The non-virtualized (`virtualization={false}`) body must apply this too, else its rows
@@ -525,9 +509,6 @@
525
509
  const onHeaderSortClick = $derived(ctrl.onHeaderSortClick);
526
510
  const onGridKeyDown = $derived(ctrl.onGridKeyDown);
527
511
  const onGridPaste = $derived(ctrl.onGridPaste);
528
- const changePage = $derived(ctrl.changePage);
529
- const goToPage = $derived(ctrl.goToPage);
530
- const setPageSize = $derived(ctrl.setPageSize);
531
512
  const updateFilterRow = $derived(ctrl.updateFilterRow);
532
513
  const updateFilterMenuValue = $derived(ctrl.updateFilterMenuValue);
533
514
  const updateFilterMenuValueTo = $derived(ctrl.updateFilterMenuValueTo);
@@ -1291,7 +1272,7 @@
1291
1272
  aria-label="Edit checkbox value"
1292
1273
  onclick={(event) => {
1293
1274
  event.stopPropagation();
1294
- const nextValue = !Boolean(ctrl.editingCell?.value);
1275
+ const nextValue = !ctrl.editingCell?.value;
1295
1276
  ctrl.editingCell = ctrl.editingCell
1296
1277
  ? { ...ctrl.editingCell, value: nextValue }
1297
1278
  : ctrl.editingCell;
@@ -1300,7 +1281,7 @@
1300
1281
  onkeydown={(event) =>
1301
1282
  toggleCheckboxWithKeyboard(event, () => {
1302
1283
  event.stopPropagation();
1303
- const nextValue = !Boolean(ctrl.editingCell?.value);
1284
+ const nextValue = !ctrl.editingCell?.value;
1304
1285
  ctrl.editingCell = ctrl.editingCell
1305
1286
  ? { ...ctrl.editingCell, value: nextValue }
1306
1287
  : ctrl.editingCell;
@@ -2690,10 +2671,6 @@
2690
2671
  row,
2691
2672
  rendered.column,
2692
2673
  )}
2693
- {@const cellTooltip = computeCellTooltip(
2694
- row,
2695
- rendered.column,
2696
- )}
2697
2674
  {@const cellValidity = computeCellValidity(
2698
2675
  row,
2699
2676
  rendered.column,
@@ -213,15 +213,7 @@
213
213
  return { t0: zoom.i0 / n, t1: (zoom.i1 + 1) / n }
214
214
  })
215
215
 
216
- /** Map a brush-svg-local x to a category index in the FULL data range. */
217
- function brushXToIndex(localX: number): number {
218
- if (!brushGeo) return 0
219
- const w = brushGeo.plot.w
220
- const x = Math.max(0, Math.min(w, localX - brushGeo.plot.x))
221
- const n = spec.categories.length
222
- return Math.max(0, Math.min(n - 1, Math.floor((x / w) * n)))
223
- }
224
- type BrushDrag = { mode: 'move' | 'left' | 'right'; startX: number; startT0: number; startT1: number }
216
+ type BrushDrag ={ mode: 'move' | 'left' | 'right'; startX: number; startT0: number; startT1: number }
225
217
  let brushDrag = $state<BrushDrag | null>(null)
226
218
  function brushSvgX(e: PointerEvent, svg: SVGSVGElement): number {
227
219
  const r = svg.getBoundingClientRect()
@@ -919,7 +911,7 @@
919
911
  {#if isRadar && geo.radarCenter}
920
912
  {@const c = geo.radarCenter}
921
913
  <!-- Concentric grid rings -->
922
- {#each geo.radarRings as v, ri (ri)}
914
+ {#each geo.radarRings as _v, ri (ri)}
923
915
  {@const ringR = c.r * ((ri + 1) / geo.radarRings.length)}
924
916
  <circle class="sv-grid-chart-radar-ring" cx={c.cx} cy={c.cy} r={ringR} />
925
917
  {/each}
@@ -53,8 +53,6 @@
53
53
  labelField,
54
54
  value = $bindable<string | number | null>(null),
55
55
  onChange,
56
- onCommit,
57
- onCancel,
58
56
  placeholder = 'Select…',
59
57
  searchable = true,
60
58
  loadOptions,
package/dist/SvKbd.svelte CHANGED
@@ -21,7 +21,7 @@
21
21
 
22
22
  {#if keys}
23
23
  <span class="sv-kbd-group sv-kbd--{size}">
24
- {#each keys as k, i}
24
+ {#each keys as k, i (i)}
25
25
  {#if i > 0}<span class="sv-kbd__sep" aria-hidden="true">{separator}</span>{/if}
26
26
  <kbd class="sv-kbd">{k}</kbd>
27
27
  {/each}
@@ -37,7 +37,7 @@
37
37
  {#if children}
38
38
  {@render children()}
39
39
  {:else if items}
40
- {#each items as item}<li>{item}</li>{/each}
40
+ {#each items as item, i (i)}<li>{item}</li>{/each}
41
41
  {/if}
42
42
  </svelte:element>
43
43
 
@@ -41,7 +41,7 @@
41
41
  const resolvedDir = $derived(dir === 'ltr' || dir === 'rtl' ? dir : undefined)
42
42
  const rtl = $derived(resolvedDir === 'rtl')
43
43
 
44
- let triggerEls = $state<(HTMLButtonElement | null)[]>([])
44
+ const triggerEls = $state<(HTMLButtonElement | null)[]>([])
45
45
  let panelEl = $state<HTMLDivElement | null>(null)
46
46
  let openIndex = $state(-1)
47
47
  let activeIndex = $state(0)
@@ -50,7 +50,6 @@
50
50
  value = $bindable<ReadonlyArray<string | number>>([]),
51
51
  onChange,
52
52
  onCommit,
53
- onCancel,
54
53
  placeholder = 'Select…',
55
54
  searchable = true,
56
55
  maxTagCount = 3,
@@ -52,7 +52,7 @@
52
52
  const autoId = nextEditorId('sv-otp')
53
53
  const uid = $derived(id ?? autoId)
54
54
  const cells = $derived(otpCells(sanitizeOtp(value, length, numeric), length))
55
- let inputs = $state<HTMLInputElement[]>([])
55
+ const inputs = $state<HTMLInputElement[]>([])
56
56
 
57
57
  function commit(next: string) {
58
58
  const clean = sanitizeOtp(next, length, numeric)
@@ -90,6 +90,10 @@
90
90
  // (writing innerHTML while focused would collapse the caret).
91
91
  $effect(() => {
92
92
  const v = value ?? ''
93
+ // A contenteditable owns its own DOM: letting Svelte re-render the body
94
+ // would wipe the caret mid-typing, so the value is pushed in by hand and
95
+ // only while the editor is unfocused.
96
+ // eslint-disable-next-line svelte/no-dom-manipulating
93
97
  if (editorEl && !focused && editorEl.innerHTML !== v) editorEl.innerHTML = v
94
98
  if (editorEl) empty = editorEl.textContent!.trim().length === 0
95
99
  })
@@ -156,6 +156,10 @@
156
156
  >
157
157
  {#if step.image}
158
158
  <div class="sv-tour__media">
159
+ <!-- A step's `image` is either a URL (rendered as an img above) or
160
+ inline SVG markup the app author wrote for its own tour - never
161
+ user input, so rendering it as markup is the intent. -->
162
+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
159
163
  {#if /^(https?:|data:|\/)/.test(step.image)}<img class="sv-tour__img" src={step.image} alt="" />{:else}{@html step.image}{/if}
160
164
  </div>
161
165
  {/if}
@@ -36,8 +36,6 @@
36
36
  nodes,
37
37
  value = $bindable<string | number | null>(null),
38
38
  onChange,
39
- onCommit,
40
- onCancel,
41
39
  placeholder = 'Select…',
42
40
  showPath = false,
43
41
  expandedIds = [],
@@ -1,4 +1,4 @@
1
- import { Gn as e, io as t, no as n, ro as r } from "./src-BgHjWF0Q.js";
1
+ import { Gn as e, io as t, no as n, ro as r } from "./src-ktbQVOk-.js";
2
2
  import { l as i } from "./SvDateTimePicker-ClqtVIj3.js";
3
3
  import * as a from "svelte/internal/client";
4
4
  import "svelte/internal/disclose-version";
@@ -149,9 +149,7 @@ function oe(oe, N) {
149
149
  }, [() => a.get(Ve)(r()), () => !a.get(Te)(r())]), a.delegated("change", C, (e) => a.get(ve)(r(), e.currentTarget.value)), a.bind_value(E, () => P().columnMenuSearch, (e) => P().columnMenuSearch = e), a.delegated("change", O, () => a.get(He)(r())), a.delegated("click", M, () => a.get(Ye)(r())), a.delegated("click", ae, function(...e) {
150
150
  a.get(Y)?.apply(this, e);
151
151
  }), a.append(n, b);
152
- }, P = a.prop(N, "ctrl", 7), ce = a.derived(() => P().groupingControlsEnabled), F = a.derived(() => P().filterMenuValues), I = a.derived(() => P().tooltip);
153
- a.derived(() => P().showTooltipFor);
154
- let L = a.derived(() => P().columnMenuFor), R = a.derived(() => P().columnMenuPos), z = a.derived(() => P().filterMenuFor), B = a.derived(() => P().filterMenuPos), V = a.derived(() => P().operatorMenuFor), le = a.derived(() => P().operatorMenuPos), H = a.derived(() => P().chooseColumnsPos), U = a.derived(() => P().showColumnFiltersEffective), W = a.derived(() => P().props.columnMenuTabs === !0), ue = a.derived(() => P().grid), G = a.derived(() => P().allColumns), de = a.derived(() => P().isColumnPinned), fe = a.derived(() => P().pinColumnLeft), pe = a.derived(() => P().pinColumnRight), me = a.derived(() => P().unpinColumn), he = a.derived(() => P().sortDirectionByColumn), ge = a.derived(() => P().groupingColumns), _e = a.derived(() => P().columnVirtualizationEnabled), ve = a.derived(() => P().updateFilterOperator), ye = a.derived(() => P().updateFilterMenuValue), be = a.derived(() => P().updateFilterMenuValueTo), xe = a.derived(() => P().operatorsForColumn), K = a.derived(() => P().defaultOperatorFor), q = a.derived(() => P().operatorLabelFor), Se = a.derived(() => P().filterRowValues), Ce = a.derived(() => P().inSuggestFor), we = a.derived(() => P().inSuggestPos);
152
+ }, P = a.prop(N, "ctrl", 7), ce = a.derived(() => P().groupingControlsEnabled), F = a.derived(() => P().filterMenuValues), I = a.derived(() => P().tooltip), L = a.derived(() => P().columnMenuFor), R = a.derived(() => P().columnMenuPos), z = a.derived(() => P().filterMenuFor), B = a.derived(() => P().filterMenuPos), V = a.derived(() => P().operatorMenuFor), le = a.derived(() => P().operatorMenuPos), H = a.derived(() => P().chooseColumnsPos), U = a.derived(() => P().showColumnFiltersEffective), W = a.derived(() => P().props.columnMenuTabs === !0), ue = a.derived(() => P().grid), G = a.derived(() => P().allColumns), de = a.derived(() => P().isColumnPinned), fe = a.derived(() => P().pinColumnLeft), pe = a.derived(() => P().pinColumnRight), me = a.derived(() => P().unpinColumn), he = a.derived(() => P().sortDirectionByColumn), ge = a.derived(() => P().groupingColumns), _e = a.derived(() => P().columnVirtualizationEnabled), ve = a.derived(() => P().updateFilterOperator), ye = a.derived(() => P().updateFilterMenuValue), be = a.derived(() => P().updateFilterMenuValueTo), xe = a.derived(() => P().operatorsForColumn), K = a.derived(() => P().defaultOperatorFor), q = a.derived(() => P().operatorLabelFor), Se = a.derived(() => P().filterRowValues), Ce = a.derived(() => P().inSuggestFor), we = a.derived(() => P().inSuggestPos);
155
153
  function J(e, t) {
156
154
  let n = a.get(G).find((t) => t.id === e), r = P().filterMenuValues[e] ?? {
157
155
  operator: a.get(K)(n),
@@ -1,6 +1,6 @@
1
- import { Gn as e, io as t, no as n, ro as r } from "./src-CgD-wiuS.js";
2
- import { E as i, F as a, G as o, H as s, I as c, L as l, N as u, Q as d, U as f, V as p, X as m, Y as h, Z as g, _, d as v, et as y, f as b, ft as x, g as S, h as C, j as w, k as T, lt as E, m as D, mt as ee, nt as O, o as te, pt as k, st as A, t as j, tt as M, u as N, ut as P, v as F } from "./disclose-version-DoD9AFD_.js";
3
- import { l as ne } from "./SvDateTimePicker-CdqaP61H.js";
1
+ import { Gn as e, io as t, no as n, ro as r } from "./src-erjBRYfX.js";
2
+ import { E as i, F as a, G as o, H as s, I as c, L as l, N as u, Q as d, U as f, V as p, X as m, Y as h, Z as g, _, d as v, et as y, f as b, ft as x, g as S, h as C, j as w, k as T, lt as E, m as D, mt as ee, nt as O, o as te, pt as k, st as A, t as j, tt as M, u as N, ut as P, v as F } from "./disclose-version-DljhZohK.js";
3
+ import { l as ne } from "./SvDateTimePicker-o94wfSUa.js";
4
4
  //#region src/GridMenus.svelte
5
5
  var re = l("<option> </option>"), ie = l("<input class=\"sv-grid-menu-condition-value\" placeholder=\"To\"/>"), ae = l("<option> </option>"), oe = l("<input class=\"sv-grid-menu-condition-value\" placeholder=\"To\"/>"), se = l("<input class=\"sv-grid-menu-condition-value\"/> <!>", 1), ce = l("<div class=\"sv-grid-menu-join\" role=\"radiogroup\" aria-label=\"Combine conditions\"><button type=\"button\">AND</button> <button type=\"button\">OR</button> <button type=\"button\" class=\"sv-grid-menu-join-x\" title=\"Remove second condition\" aria-label=\"Remove second condition\">×</button></div> <select class=\"sv-grid-menu-operator-select\" aria-label=\"Second filter condition\"></select> <!>", 1), le = l("<button type=\"button\" class=\"sv-grid-menu-add-cond\">+ Add condition</button>"), ue = l("<input class=\"sv-grid-menu-condition-value\"/> <!> <!>", 1), de = l("<div class=\"sv-grid-facet-empty\">No values</div>"), fe = l("<div class=\"sv-grid-facet-note\"> </div>"), pe = l("<div class=\"sv-grid-menu-filter\"><div class=\"sv-grid-menu-filter-head\"><span class=\"sv-grid-header-icon\"><!></span> Filter\n condition</div> <select class=\"sv-grid-menu-operator-select\" aria-label=\"Filter condition\"></select> <!> <div class=\"sv-grid-menu-sep\"></div> <div class=\"sv-grid-menu-filter-head\">Values</div> <input class=\"sv-grid-menu-search\" placeholder=\"Search values...\"/> <label class=\"sv-grid-facet sv-grid-facet-all\"><input type=\"checkbox\"/> <span class=\"sv-grid-facet-label\">(Select all)</span></label> <!> <!> <div class=\"sv-grid-menu-actions\"><button type=\"button\" class=\"sv-grid-menu-btn\">Clear filter</button> <button type=\"button\" class=\"sv-grid-menu-btn sv-grid-menu-btn-primary\">Done</button></div></div>"), me = l("<div role=\"tooltip\"> </div>"), I = l("<div class=\"sv-grid-menu-backdrop\" role=\"presentation\"></div>"), L = l("<button type=\"button\" role=\"tab\">Filter</button>"), R = l("<div class=\"sv-grid-menu-tabs\" role=\"tablist\"><button type=\"button\" role=\"tab\">General</button> <!> <button type=\"button\" role=\"tab\">Columns</button></div>"), he = l("<div class=\"sv-grid-menu-filter-head\">Visible columns</div> <!>", 1), ge = l("<button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Sort\n ascending</button> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Sort\n descending</button> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Remove sort</button>", 1), _e = l("<div class=\"sv-grid-menu-sep\"></div> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Pin to left</button> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Pin to right</button> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Unpin column</button>", 1), ve = l("<div class=\"sv-grid-menu-sep\"></div> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Group\n by this column</button> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Remove grouping</button>", 1), ye = l("<button type=\"button\" role=\"menuitem\" aria-haspopup=\"menu\"><span class=\"sv-grid-header-icon\"><!></span> Choose columns <span class=\"sv-grid-header-icon sv-grid-menu-item-chevron\"><!></span></button>"), z = l("<!> <!> <div class=\"sv-grid-menu-sep\"></div> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Autosize\n this column</button> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Autosize\n all columns</button> <!> <div class=\"sv-grid-menu-sep\"></div> <!> <button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"><span class=\"sv-grid-header-icon\"><!></span> Reset columns</button>", 1), B = l("<div class=\"sv-grid-menu sv-grid-column-menu\" role=\"menu\"><!> <!></div>"), be = l("<div class=\"sv-grid-menu sv-grid-filter-menu\" role=\"menu\"><!></div>"), xe = l("<div class=\"sv-grid-menu sv-grid-choose-columns-menu\" role=\"menu\"><div class=\"sv-grid-menu-filter-head\">Visible columns</div> <!></div>"), Se = l("<button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitemradio\"><span class=\"sv-grid-header-icon\"><!></span> </button>"), Ce = l("<div class=\"sv-grid-menu sv-grid-operator-menu\" role=\"menu\"></div>"), we = l("<div class=\"sv-grid-facet-empty\">No values</div>"), Te = l("<div class=\"sv-grid-menu sv-grid-in-suggest\"><!></div>"), Ee = l("<div class=\"sv-grid-menu-sep\"></div>"), De = l("<button type=\"button\" class=\"sv-grid-menu-item\" role=\"menuitem\"> </button>"), Oe = l("<div class=\"sv-grid-menu-backdrop\" role=\"presentation\"></div> <div class=\"sv-grid-menu sv-grid-context-menu\" role=\"menu\"></div>", 1), ke = l("<div class=\"sv-grid-menu-backdrop\" role=\"presentation\"></div> <div class=\"sv-grid-menu sv-grid-comment-editor\" role=\"dialog\" aria-label=\"Edit comment\"><textarea class=\"sv-grid-comment-textarea\" rows=\"3\" placeholder=\"Add a comment…\"></textarea> <div class=\"sv-grid-comment-actions\"><button type=\"button\" class=\"sv-grid-comment-remove\">Remove</button> <span class=\"sv-grid-comment-spacer\"></span> <button type=\"button\" class=\"sv-grid-comment-cancel\">Cancel</button> <button type=\"button\" class=\"sv-grid-comment-save\">Save</button></div></div>", 1), Ae = l("<!> <!> <!> <!> <!> <!> <!> <!> <!>", 1);
6
6
  function V(l, p) {
@@ -147,9 +147,7 @@ function V(l, p) {
147
147
  }, [() => o(gt)(r()), () => !o(Qe)(r())]), s("change", j, (e) => o(We)(r(), e.currentTarget.value)), te(I, () => H().columnMenuSearch, (e) => H().columnMenuSearch = e), s("change", R, () => o(_t)(r())), s("click", B, () => o(wt)(r())), s("click", be, function(...e) {
148
148
  o($)?.apply(this, e);
149
149
  }), a(n, g);
150
- }, H = j(p, "ctrl", 7), je = A(() => H().groupingControlsEnabled), U = A(() => H().filterMenuValues), W = A(() => H().tooltip);
151
- A(() => H().showTooltipFor);
152
- let G = A(() => H().columnMenuFor), Me = A(() => H().columnMenuPos), K = A(() => H().filterMenuFor), Ne = A(() => H().filterMenuPos), q = A(() => H().operatorMenuFor), Pe = A(() => H().operatorMenuPos), J = A(() => H().chooseColumnsPos), Fe = A(() => H().showColumnFiltersEffective), Y = A(() => H().props.columnMenuTabs === !0), Ie = A(() => H().grid), X = A(() => H().allColumns), Le = A(() => H().isColumnPinned), Re = A(() => H().pinColumnLeft), ze = A(() => H().pinColumnRight), Be = A(() => H().unpinColumn), Ve = A(() => H().sortDirectionByColumn), He = A(() => H().groupingColumns), Ue = A(() => H().columnVirtualizationEnabled), We = A(() => H().updateFilterOperator), Ge = A(() => H().updateFilterMenuValue), Ke = A(() => H().updateFilterMenuValueTo), qe = A(() => H().operatorsForColumn), Z = A(() => H().defaultOperatorFor), Je = A(() => H().operatorLabelFor), Ye = A(() => H().filterRowValues), Xe = A(() => H().inSuggestFor), Ze = A(() => H().inSuggestPos);
150
+ }, H = j(p, "ctrl", 7), je = A(() => H().groupingControlsEnabled), U = A(() => H().filterMenuValues), W = A(() => H().tooltip), G = A(() => H().columnMenuFor), Me = A(() => H().columnMenuPos), K = A(() => H().filterMenuFor), Ne = A(() => H().filterMenuPos), q = A(() => H().operatorMenuFor), Pe = A(() => H().operatorMenuPos), J = A(() => H().chooseColumnsPos), Fe = A(() => H().showColumnFiltersEffective), Y = A(() => H().props.columnMenuTabs === !0), Ie = A(() => H().grid), X = A(() => H().allColumns), Le = A(() => H().isColumnPinned), Re = A(() => H().pinColumnLeft), ze = A(() => H().pinColumnRight), Be = A(() => H().unpinColumn), Ve = A(() => H().sortDirectionByColumn), He = A(() => H().groupingColumns), Ue = A(() => H().columnVirtualizationEnabled), We = A(() => H().updateFilterOperator), Ge = A(() => H().updateFilterMenuValue), Ke = A(() => H().updateFilterMenuValueTo), qe = A(() => H().operatorsForColumn), Z = A(() => H().defaultOperatorFor), Je = A(() => H().operatorLabelFor), Ye = A(() => H().filterRowValues), Xe = A(() => H().inSuggestFor), Ze = A(() => H().inSuggestPos);
153
151
  function Q(e, t) {
154
152
  let n = o(X).find((t) => t.id === e), r = H().filterMenuValues[e] ?? {
155
153
  operator: o(Z)(n),
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { D as t, E as n, F as r, G as i, H as a, I as o, J as s, L as c, N as l, R as u, V as d, X as f, Y as p, _ as m, at as h, b as g, d as _, et as v, i as y, it as b, j as x, k as S, l as C, lt as w, m as T, nt as E, o as D, ot as O, pt as k, q as A, rt as j, s as M, st as N, t as P, tt as F, u as I, ut as L, v as ee, x as R } from "./disclose-version-DoD9AFD_.js";
2
+ import { D as t, E as n, F as r, G as i, H as a, I as o, J as s, L as c, N as l, R as u, V as d, X as f, Y as p, _ as m, at as h, b as g, d as _, et as v, i as y, it as b, j as x, k as S, l as C, lt as w, m as T, nt as E, o as D, ot as O, pt as k, q as A, rt as j, s as M, st as N, t as P, tt as F, u as I, ut as L, v as ee, x as R } from "./disclose-version-DljhZohK.js";
3
3
  import { i as z, n as te, r as B } from "./popover-P-9P2YYn.js";
4
4
  //#region src/editor-contract.ts
5
5
  var V = (e) => e ? `${e}__error` : void 0, H = (e) => e ? `${e}__hint` : void 0, U = 0, W = (e = "sv-ed") => `${e}-${U++}`;
@@ -1,4 +1,4 @@
1
- import { D as e, E as t, F as n, G as r, H as i, I as a, L as o, N as s, R as c, U as l, V as u, X as d, Y as f, _ as p, at as m, d as h, et as g, ft as _, i as v, it as y, k as b, lt as x, nt as S, pt as C, rt as ee, st as w, t as T, tt as E, ut as te, v as D, x as ne } from "./disclose-version-DoD9AFD_.js";
1
+ import { D as e, E as t, F as n, G as r, H as i, I as a, L as o, N as s, R as c, U as l, V as u, X as d, Y as f, _ as p, at as m, d as h, et as g, ft as _, i as v, it as y, k as b, lt as x, nt as S, pt as C, rt as ee, st as w, t as T, tt as E, ut as te, v as D, x as ne } from "./disclose-version-DljhZohK.js";
2
2
  import { n as re, s as ie, t as ae } from "./chart-T1usDN0o.js";
3
3
  //#region src/SvGridChart.svelte
4
4
  var oe = o("<button type=\"button\" class=\"sv-grid-chart-tool svelte-hyytey\" title=\"Reset zoom (or double-click the plot)\"><svg width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 7v6h6\"></path><path d=\"M21 17a9 9 0 0 0-15-6.7L3 13\"></path></svg> Reset zoom</button>"), se = o("<div class=\"sv-grid-chart-toolbar svelte-hyytey\"><!> <button type=\"button\" class=\"sv-grid-chart-tool svelte-hyytey\" title=\"Download PNG\">PNG</button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-hyytey\" title=\"Download SVG\">SVG</button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-hyytey\" title=\"Copy chart as image\"> </button></div>"), ce = c("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(45)\"><rect width=\"6\" height=\"6\"></rect><rect width=\"3\" height=\"6\" fill=\"rgba(255,255,255,0.35)\"></rect></pattern>"), le = c("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><path d=\"M0 0L6 6 M6 0L0 6\" stroke=\"rgba(255,255,255,0.45)\" stroke-width=\"1\"></path></pattern>"), ue = c("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><circle cx=\"3\" cy=\"3\" r=\"1.2\" fill=\"rgba(255,255,255,0.55)\"></circle></pattern>"), de = c("<pattern width=\"8\" height=\"8\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(-45)\"><rect width=\"8\" height=\"8\"></rect><line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"8\" stroke=\"rgba(0,0,0,0.18)\" stroke-width=\"2\"></line></pattern>"), fe = c("<defs></defs>"), pe = c("<line class=\"sv-grid-chart-gridline svelte-hyytey\"></line><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"middle\"> </text>", 1), me = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"end\"> </text>"), he = c("<text class=\"sv-grid-chart-axis-title svelte-hyytey\" text-anchor=\"middle\"> </text>"), ge = c("<text class=\"sv-grid-chart-axis-title svelte-hyytey\" text-anchor=\"middle\"> </text>"), _e = c("<!><!><!><!>", 1), ve = c("<line></line><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"end\"> </text>", 1), ye = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"start\"> </text>"), be = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"end\"> </text>"), xe = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"middle\"> </text>"), Se = c("<line class=\"sv-grid-chart-gridline svelte-hyytey\" opacity=\"0.5\"></line>"), Ce = c("<line class=\"sv-grid-chart-gridline svelte-hyytey\"></line><!><text class=\"sv-grid-chart-axis sv-grid-chart-group-label svelte-hyytey\" text-anchor=\"middle\"> </text>", 1), we = c("<text class=\"sv-grid-chart-axis-title svelte-hyytey\" text-anchor=\"middle\"> </text>"), Te = c("<text class=\"sv-grid-chart-axis-title svelte-hyytey\" text-anchor=\"middle\"> </text>"), Ee = c("<text class=\"sv-grid-chart-axis-title svelte-hyytey\" text-anchor=\"middle\"> </text>"), De = c("<!><!><!><!><!><!><!>", 1), Oe = c("<path class=\"sv-grid-chart-band\" fill-opacity=\"0.12\" stroke=\"none\"></path>"), ke = c("<path class=\"sv-grid-chart-area\" fill-opacity=\"0.15\" stroke=\"none\"></path>"), Ae = c("<text class=\"sv-grid-chart-datalabel svelte-hyytey\" text-anchor=\"middle\"> </text>"), je = c("<circle></circle><!>", 1), Me = c("<g><!><!><path class=\"sv-grid-chart-linepath\" fill=\"none\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path><!></g>"), Ne = c("<text> </text>"), Pe = c("<text text-anchor=\"middle\"> </text>"), Fe = c("<rect class=\"sv-grid-chart-bar svelte-hyytey\" rx=\"1\"></rect><!>", 1), Ie = c("<circle class=\"sv-grid-chart-scatter svelte-hyytey\" fill-opacity=\"0.7\"></circle>"), Le = c("<line class=\"sv-grid-chart-refline svelte-hyytey\"></line><text class=\"sv-grid-chart-reflabel svelte-hyytey\" text-anchor=\"end\"> </text>", 1), Re = c("<line class=\"sv-grid-chart-refline svelte-hyytey\"></line><text class=\"sv-grid-chart-reflabel svelte-hyytey\" text-anchor=\"start\"> </text>", 1), ze = c("<path class=\"sv-grid-chart-overlay svelte-hyytey\" fill=\"none\" stroke-width=\"2\" stroke-dasharray=\"6 4\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>"), Be = c("<circle class=\"sv-grid-chart-annotation-marker svelte-hyytey\" r=\"4\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle><text class=\"sv-grid-chart-annotation-label svelte-hyytey\"> </text>", 1), Ve = c("<line class=\"sv-grid-chart-crosshair svelte-hyytey\"></line>"), He = c("<line class=\"sv-grid-chart-crosshair svelte-hyytey\"></line>"), Ue = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"end\"> </text>"), We = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"middle\"> </text>"), Ge = c("<text class=\"sv-grid-chart-heatlabel svelte-hyytey\" text-anchor=\"middle\"> </text>"), Ke = c("<rect class=\"sv-grid-chart-heatcell svelte-hyytey\"></rect><!>", 1), qe = c("<stop></stop>"), Je = c("<defs><linearGradient x1=\"0\" y1=\"1\" x2=\"0\" y2=\"0\"></linearGradient></defs><rect class=\"sv-grid-chart-heatlegend svelte-hyytey\" width=\"10\"></rect><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"start\"> </text><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"start\"> </text>", 1), Ye = c("<!><!><!><!>", 1), Xe = c("<path class=\"sv-grid-chart-funnel-seg svelte-hyytey\"></path><text class=\"sv-grid-chart-funnel-label svelte-hyytey\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-funnel-value svelte-hyytey\" text-anchor=\"middle\"> </text>", 1), Ze = c("<circle class=\"sv-grid-chart-radar-ring svelte-hyytey\"></circle>"), Qe = c("<line class=\"sv-grid-chart-radar-spoke svelte-hyytey\"></line><text class=\"sv-grid-chart-axis svelte-hyytey\"> </text>", 1), $e = c("<circle class=\"sv-grid-chart-radar-dot svelte-hyytey\" r=\"3\"></circle>"), et = c("<path class=\"sv-grid-chart-radar-poly svelte-hyytey\" fill-opacity=\"0.18\" stroke-width=\"2\"></path><!>", 1), tt = c("<!><!><!>", 1), nt = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"start\"> </text>"), rt = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"end\"> </text>"), it = c("<rect rx=\"2\"></rect>"), at = c("<rect class=\"sv-grid-chart-calendar-legend svelte-hyytey\" width=\"10\" height=\"10\" rx=\"2\"></rect><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"start\"> </text>", 1), ot = c("<text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"start\">Less</text><!><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"start\">More</text>", 1), st = c("<!><!><!><!>", 1), ct = c("<line></line>"), lt = c("<path fill=\"none\" stroke-width=\"6\" stroke-linecap=\"round\" opacity=\"0.85\"></path>"), ut = c("<line stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\" stroke-linecap=\"round\"></line>"), dt = c("<!><path fill=\"none\" stroke=\"var(--sg-border, #e2e8f0)\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path fill=\"none\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path class=\"sv-grid-chart-gauge-needle svelte-hyytey\"></path><circle class=\"sv-grid-chart-gauge-hub svelte-hyytey\"></circle><circle class=\"sv-grid-chart-gauge-hub-dot svelte-hyytey\" r=\"2.5\"></circle><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-axis svelte-hyytey\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-gauge-value svelte-hyytey\" text-anchor=\"middle\"> </text>", 1), ft = c("<text class=\"sv-grid-chart-treemap-label svelte-hyytey\"> </text>"), pt = c("<text class=\"sv-grid-chart-treemap-value svelte-hyytey\" opacity=\"0.85\"> </text>"), mt = c("<rect class=\"sv-grid-chart-treemap-cell svelte-hyytey\"></rect><!><!>", 1), ht = c("<path class=\"sv-grid-chart-sankey-link svelte-hyytey\" fill=\"none\" stroke-opacity=\"0.35\"></path>"), gt = c("<rect class=\"sv-grid-chart-sankey-node svelte-hyytey\"></rect><text class=\"sv-grid-chart-sankey-label svelte-hyytey\"> </text>", 1), _t = c("<!><!>", 1), vt = c("<text class=\"sv-grid-chart-datalabel on-bar svelte-hyytey\" text-anchor=\"middle\" dominant-baseline=\"middle\"> </text>"), yt = c("<path class=\"sv-grid-chart-slice svelte-hyytey\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path><!>", 1), bt = c("<text class=\"sv-grid-chart-donut-total svelte-hyytey\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-donut-label svelte-hyytey\" text-anchor=\"middle\">Total</text>", 1), xt = c("<rect class=\"sv-grid-chart-cat-hit svelte-hyytey\"></rect>"), St = c("<rect class=\"sv-grid-chart-zoom-rect svelte-hyytey\"></rect>"), Ct = c("<path fill-opacity=\"0.10\" stroke=\"none\"></path>"), wt = c("<!><path fill=\"none\" stroke-width=\"1.2\" opacity=\"0.75\"></path>", 1), Tt = c("<rect opacity=\"0.55\"></rect>"), Et = c("<svg class=\"sv-grid-chart-brush svelte-hyytey\" width=\"100%\" role=\"img\" aria-label=\"Range brush\"><!><!><rect class=\"sv-grid-chart-brush-mask svelte-hyytey\"></rect><rect class=\"sv-grid-chart-brush-mask svelte-hyytey\"></rect><rect class=\"sv-grid-chart-brush-window svelte-hyytey\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-hyytey\" width=\"8\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-hyytey\" width=\"8\"></rect></svg>"), Dt = o("<div class=\"sv-grid-chart-empty svelte-hyytey\">No data</div>"), Ot = o("<span class=\"sv-grid-chart-tooltip-dot svelte-hyytey\"></span>"), kt = o("<span class=\"sv-grid-chart-tooltip-row-label svelte-hyytey\"> </span>"), At = o("<span class=\"sv-grid-chart-tooltip-row svelte-hyytey\"><!> <!> <span class=\"sv-grid-chart-tooltip-row-value svelte-hyytey\"> </span></span>"), jt = o("<div><span class=\"sv-grid-chart-tooltip-title svelte-hyytey\"> </span> <!></div>"), Mt = o("<button type=\"button\"><span class=\"sv-grid-chart-swatch svelte-hyytey\"></span> </button>"), Nt = o("<button type=\"button\" class=\"sv-grid-chart-legend-more svelte-hyytey\"> </button>"), Pt = o("<div class=\"sv-grid-chart-legend svelte-hyytey\"><!> <!></div>"), Ft = o("<th> </th>"), It = o("<td> </td>"), Lt = o("<tr></tr>"), Rt = o("<div class=\"sv-grid-chart svelte-hyytey\"><!> <svg width=\"100%\" role=\"img\"><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!></svg> <!> <!> <!> <!> <table class=\"sv-grid-chart-sr-only svelte-hyytey\"><caption> </caption><thead><tr></tr></thead><tbody></tbody></table></div>"), zt = {
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { B as t, C as n, E as r, F as i, G as a, H as o, L as s, N as c, R as l, U as u, V as d, X as f, Y as p, _ as m, a as h, at as g, d as _, et as v, f as ee, ft as te, g as y, h as b, i as x, it as S, k as C, lt as w, nt as T, o as E, pt as D, st as O, t as k, tt as ne, u as A, ut as j, v as M } from "./disclose-version-DoD9AFD_.js";
3
- import { t as re } from "./SvGridChart-BcLCYvw9.js";
4
- //#region ../../node_modules/.pnpm/svelte@5.55.9/node_modules/svelte/src/transition/index.js
2
+ import { B as t, C as n, E as r, F as i, G as a, H as o, L as s, N as c, R as l, U as u, V as d, X as f, Y as p, _ as m, a as h, at as g, d as _, et as v, f as ee, ft as te, g as y, h as b, i as x, it as S, k as C, lt as w, nt as T, o as E, pt as D, st as O, t as k, tt as ne, u as A, ut as j, v as M } from "./disclose-version-DljhZohK.js";
3
+ import { t as re } from "./SvGridChart-Cr_90pPD.js";
4
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/transition/index.js
5
5
  function N(e) {
6
6
  let t = e - 1;
7
7
  return t * t * t + 1;
@@ -22,7 +22,7 @@ function F(e, { delay: t = 0, duration: n = 400, easing: r = N, x: i = 0, y: a =
22
22
  };
23
23
  }
24
24
  //#endregion
25
- //#region ../../node_modules/.pnpm/svelte@5.55.9/node_modules/svelte/src/easing/index.js
25
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/easing/index.js
26
26
  function ie(e) {
27
27
  let t = e - 1;
28
28
  return t * t * t + 1;
@@ -1,6 +1,6 @@
1
- import { F as e, G as t, L as n, a as r, at as i, et as a, it as o, k as s, lt as c, pt as l, st as u, ut as d, x as f } from "./disclose-version-DoD9AFD_.js";
1
+ import { F as e, G as t, L as n, a as r, at as i, et as a, it as o, k as s, lt as c, pt as l, st as u, ut as d, x as f } from "./disclose-version-DljhZohK.js";
2
2
  import { f as p } from "./chart-T1usDN0o.js";
3
- import { t as m } from "./SvGridChart-BcLCYvw9.js";
3
+ import { t as m } from "./SvGridChart-Cr_90pPD.js";
4
4
  //#region src/SvGridChartView.svelte
5
5
  var h = n("<div class=\"sv-grid-chart-view svelte-10run6t\"><!></div>"), g = {
6
6
  hash: "svelte-10run6t",
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { E as t, F as n, G as r, H as i, I as a, L as o, N as s, U as c, V as l, X as u, Y as d, _ as f, at as p, b as m, d as h, et as g, ft as _, i as v, it as y, k as b, lt as x, nt as S, o as ee, pt as C, rt as w, st as T, t as E, tt as te, u as ne, ut as D, v as O, x as re, z as ie } from "./disclose-version-DoD9AFD_.js";
2
+ import { E as t, F as n, G as r, H as i, I as a, L as o, N as s, U as c, V as l, X as u, Y as d, _ as f, at as p, b as m, d as h, et as g, ft as _, i as v, it as y, k as b, lt as x, nt as S, o as ee, pt as C, rt as w, st as T, t as E, tt as te, u as ne, ut as D, v as O, x as re, z as ie } from "./disclose-version-DljhZohK.js";
3
3
  import { i as ae, n as k, r as oe } from "./popover-P-9P2YYn.js";
4
4
  //#region src/SvGridDropdown.svelte
5
5
  var A = /* @__PURE__ */ e({ default: () => j }), se = o("<span class=\"sv-grid-chip sv-grid-chip-removable svelte-ei8hp3\"> <span class=\"sv-grid-chip-remove svelte-ei8hp3\" role=\"button\">×</span></span>"), ce = o("<span class=\"sv-grid-dropdown-chips svelte-ei8hp3\"></span>"), le = o("<span class=\"sv-grid-chip svelte-ei8hp3\"> </span>"), ue = o("<span class=\"sv-grid-dropdown-label svelte-ei8hp3\"> </span>"), de = o("<input type=\"search\" class=\"sv-grid-dropdown-search\" placeholder=\"Search…\"/>"), fe = o("<div class=\"sv-grid-dropdown-empty\" role=\"status\" aria-live=\"polite\">Loading…</div>"), pe = o("<div class=\"sv-grid-dropdown-empty\"> </div>"), me = o("<span class=\"sv-grid-dropdown-check\" aria-hidden=\"true\"> </span>"), he = o("<span class=\"sv-grid-dropdown-option-chip\"> </span>"), ge = o("<span class=\"sv-grid-dropdown-option-label\"> </span>"), _e = o("<div role=\"option\"><!> <!></div>"), ve = o("<div class=\"sv-grid-dropdown-footer\"><button type=\"button\" class=\"sv-grid-dropdown-done\">Done</button></div>"), ye = o("<div role=\"listbox\"><!> <!> <!></div>"), be = o("<div><button type=\"button\" aria-haspopup=\"listbox\"><!> <span class=\"sv-grid-dropdown-caret svelte-ei8hp3\" aria-hidden=\"true\">▾</span></button> <!></div>"), xe = {