@svgrid/grid 2.2.27 → 2.2.29

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 (248) hide show
  1. package/README.md +199 -199
  2. package/dist/FlexRender.svelte +96 -96
  3. package/dist/GridFooter.svelte +179 -179
  4. package/dist/GridMenus.svelte +782 -734
  5. package/dist/SvAutoComplete.svelte +165 -165
  6. package/dist/SvCalendar.svelte +503 -503
  7. package/dist/SvCarousel.svelte +141 -141
  8. package/dist/SvCheckBox.svelte +101 -101
  9. package/dist/SvColorInput.svelte +181 -181
  10. package/dist/SvComboBox.svelte +275 -275
  11. package/dist/SvContextMenu.svelte +116 -116
  12. package/dist/SvCountryInput.svelte +160 -160
  13. package/dist/SvDrawer.svelte +254 -250
  14. package/dist/SvDropDownList.svelte +374 -374
  15. package/dist/SvDurationInput.svelte +126 -126
  16. package/dist/SvField.svelte +293 -293
  17. package/dist/SvForm.svelte +437 -437
  18. package/dist/SvGrid.controller.svelte.d.ts +14 -1
  19. package/dist/SvGrid.controller.svelte.js +112 -28
  20. package/dist/SvGrid.css +2704 -2723
  21. package/dist/SvGrid.svelte +3361 -3333
  22. package/dist/SvGrid.types.d.ts +20 -5
  23. package/dist/SvGridChart.svelte +1724 -1724
  24. package/dist/SvGridChartPanel.svelte +485 -485
  25. package/dist/SvGridChartView.svelte +70 -70
  26. package/dist/SvGridDropdown.svelte +696 -696
  27. package/dist/SvGridSelect.svelte +259 -259
  28. package/dist/SvGroupCell.svelte +109 -109
  29. package/dist/SvListBox.svelte +326 -287
  30. package/dist/SvListBox.svelte.d.ts +10 -1
  31. package/dist/SvMaskedInput.svelte +122 -122
  32. package/dist/SvMenu.svelte +124 -124
  33. package/dist/SvMenuList.svelte +146 -146
  34. package/dist/SvMultiSelect.svelte +281 -281
  35. package/dist/SvNumberInput.svelte +168 -168
  36. package/dist/SvOtpInput.svelte +158 -158
  37. package/dist/SvPasswordInput.svelte +151 -151
  38. package/dist/SvPhoneInput.svelte +133 -131
  39. package/dist/SvPopover.svelte +197 -197
  40. package/dist/SvRadioGroup.svelte +107 -107
  41. package/dist/SvRowGroupPanel.svelte +170 -170
  42. package/dist/SvScrollArea.svelte +61 -61
  43. package/dist/SvSlider.svelte +200 -200
  44. package/dist/SvSwitchButton.svelte +107 -107
  45. package/dist/SvTagsInput.svelte +112 -112
  46. package/dist/SvTextInput.svelte +147 -147
  47. package/dist/SvTimePicker.svelte +245 -245
  48. package/dist/SvToaster.svelte +159 -159
  49. package/dist/SvToggleButton.svelte +85 -85
  50. package/dist/SvTooltip.svelte +161 -161
  51. package/dist/SvTour.svelte +204 -204
  52. package/dist/SvTree.svelte +437 -437
  53. package/dist/SvTreeSelect.svelte +233 -233
  54. package/dist/cdn/GridMenus-Da_p7SKS.js +486 -0
  55. package/dist/cdn/GridMenus-Ds3OpzZT.js +490 -0
  56. package/dist/cdn/{SvDateTimePicker-B1sDc9Pz.js → SvDateTimePicker-B8GopjhC.js} +2 -2
  57. package/dist/cdn/{SvDateTimePicker-Bh0FTs1E.js → SvDateTimePicker-DB0aIEk8.js} +2 -2
  58. package/dist/cdn/{SvGridChart-Bgk4hDs8.js → SvGridChart-BcLCYvw9.js} +1 -1
  59. package/dist/cdn/{SvGridChart-BKQsO5fZ.js → SvGridChart-BhnFdLd0.js} +1 -1
  60. package/dist/cdn/{SvGridChartPanel-DkCc2Z7b.js → SvGridChartPanel-Cmx9DHAS.js} +1 -1
  61. package/dist/cdn/{SvGridChartPanel-DSkHIQDd.js → SvGridChartPanel-DvjwxLvK.js} +1 -1
  62. package/dist/cdn/{SvGridChartView-BrbVaELm.js → SvGridChartView-B40DTJSX.js} +1 -1
  63. package/dist/cdn/{SvGridChartView-i9rWvSKg.js → SvGridChartView-PwqI4s02.js} +1 -1
  64. package/dist/cdn/{SvGridDropdown-D08sVmAy.js → SvGridDropdown-DjALc_4f.js} +1 -1
  65. package/dist/cdn/{SvGridDropdown-CGxxopQ4.js → SvGridDropdown-hpnHvOGt.js} +1 -1
  66. package/dist/cdn/{src-cgs1wcUS.js → src-BLJfdyL0.js} +4034 -3889
  67. package/dist/cdn/{src-Cw8d9U8j.js → src-DYDCiC0D.js} +7053 -6908
  68. package/dist/cdn/svgrid.js +9 -9
  69. package/dist/cdn/svgrid.svelte-external.js +9 -9
  70. package/dist/chart-export.js +8 -8
  71. package/dist/column-groups.js +8 -10
  72. package/dist/column-id.d.ts +9 -0
  73. package/dist/column-id.js +25 -0
  74. package/dist/core.js +2 -1
  75. package/dist/createListbox.svelte.d.ts +15 -2
  76. package/dist/createListbox.svelte.js +27 -6
  77. package/dist/editing.d.ts +1 -0
  78. package/dist/editing.js +45 -10
  79. package/dist/filtering/excel-filters.d.ts +30 -10
  80. package/dist/filtering/excel-filters.js +96 -15
  81. package/dist/index.d.ts +2 -2
  82. package/dist/index.js +2 -2
  83. package/dist/menus.d.ts +2 -0
  84. package/dist/menus.js +25 -0
  85. package/dist/row-resize.js +40 -0
  86. package/dist/selection.js +1 -1
  87. package/package.json +10 -10
  88. package/src/FlexRender.svelte +96 -96
  89. package/src/GridFooter.svelte +179 -179
  90. package/src/GridMenus.svelte +782 -734
  91. package/src/SvAutoComplete.svelte +165 -165
  92. package/src/SvCalendar.svelte +503 -503
  93. package/src/SvCalendar.test.ts +226 -226
  94. package/src/SvCarousel.svelte +141 -141
  95. package/src/SvCheckBox.svelte +101 -101
  96. package/src/SvColorInput.svelte +181 -181
  97. package/src/SvComboBox.svelte +275 -275
  98. package/src/SvContextMenu.svelte +116 -116
  99. package/src/SvCountryInput.svelte +160 -160
  100. package/src/SvDrawer.svelte +254 -250
  101. package/src/SvDrawer.test.ts +18 -1
  102. package/src/SvDropDownList.svelte +374 -374
  103. package/src/SvDurationInput.svelte +126 -126
  104. package/src/SvField.svelte +293 -293
  105. package/src/SvForm.svelte +437 -437
  106. package/src/SvForm.test.ts +411 -411
  107. package/src/SvGrid.controller.svelte.ts +3335 -3239
  108. package/src/SvGrid.css +2704 -2723
  109. package/src/SvGrid.svelte +3361 -3333
  110. package/src/SvGrid.types.ts +1628 -1613
  111. package/src/SvGridChart.svelte +1724 -1724
  112. package/src/SvGridChartPanel.svelte +485 -485
  113. package/src/SvGridChartView.svelte +70 -70
  114. package/src/SvGridDropdown.svelte +696 -696
  115. package/src/SvGridSelect.svelte +259 -259
  116. package/src/SvGroupCell.svelte +109 -109
  117. package/src/SvListBox.svelte +326 -287
  118. package/src/SvMaskedInput.svelte +122 -122
  119. package/src/SvMenu.svelte +124 -124
  120. package/src/SvMenu.test.ts +97 -97
  121. package/src/SvMenuList.svelte +146 -146
  122. package/src/SvMultiSelect.svelte +281 -281
  123. package/src/SvNavPane.test.ts +15 -4
  124. package/src/SvNumberInput.svelte +168 -168
  125. package/src/SvOtpInput.svelte +158 -158
  126. package/src/SvPasswordInput.svelte +151 -151
  127. package/src/SvPhoneInput.svelte +133 -131
  128. package/src/SvPopover.svelte +197 -197
  129. package/src/SvRadioGroup.svelte +107 -107
  130. package/src/SvRowGroupPanel.svelte +170 -170
  131. package/src/SvScrollArea.svelte +61 -61
  132. package/src/SvSlider.svelte +200 -200
  133. package/src/SvSwitchButton.svelte +107 -107
  134. package/src/SvTagsInput.svelte +112 -112
  135. package/src/SvTextInput.svelte +147 -147
  136. package/src/SvTimePicker.svelte +245 -245
  137. package/src/SvToaster.svelte +159 -159
  138. package/src/SvToaster.test.ts +95 -95
  139. package/src/SvToggleButton.svelte +85 -85
  140. package/src/SvTooltip.svelte +161 -161
  141. package/src/SvTour.svelte +204 -204
  142. package/src/SvTree.svelte +437 -437
  143. package/src/SvTreeSelect.svelte +233 -233
  144. package/src/a11y/dismissable.test.ts +119 -119
  145. package/src/a11y/dismissable.ts +114 -114
  146. package/src/a11y.contract.test.ts +49 -49
  147. package/src/a11y.test.ts +59 -59
  148. package/src/a11y.ts +61 -61
  149. package/src/ai.test.ts +502 -502
  150. package/src/ai.ts +1391 -1391
  151. package/src/build-api.coverage.test.ts +633 -633
  152. package/src/build-api.ts +895 -895
  153. package/src/builtin-editors.grid.test.ts +85 -85
  154. package/src/cell-formatting.ts +169 -169
  155. package/src/cell-render.ts +469 -469
  156. package/src/chart-export.ts +201 -201
  157. package/src/chart-view.svelte.ts +36 -36
  158. package/src/chart.ts +2296 -2296
  159. package/src/collaboration.test.ts +104 -104
  160. package/src/collaboration.ts +167 -167
  161. package/src/column-groups.test.ts +48 -0
  162. package/src/column-groups.ts +8 -10
  163. package/src/column-id.ts +30 -0
  164. package/src/core.performance.test.ts +30 -30
  165. package/src/core.ts +1112 -1111
  166. package/src/createAutocomplete.svelte.ts +132 -132
  167. package/src/createCombobox.svelte.ts +191 -191
  168. package/src/createCountryInput.svelte.ts +157 -157
  169. package/src/createDropdownList.svelte.ts +168 -168
  170. package/src/createForm.svelte.ts +386 -386
  171. package/src/createGrid.svelte.ts +42 -42
  172. package/src/createGrid.test.ts +10 -10
  173. package/src/createGridState.svelte.ts +17 -17
  174. package/src/createListbox.svelte.ts +39 -7
  175. package/src/createMenu.svelte.ts +225 -225
  176. package/src/createPopoverSelect.svelte.ts +213 -213
  177. package/src/createSlider.svelte.ts +191 -191
  178. package/src/createTooltip.svelte.ts +144 -144
  179. package/src/createTree.svelte.ts +319 -319
  180. package/src/editing.test.ts +949 -859
  181. package/src/editing.ts +709 -675
  182. package/src/editor-contract.ts +157 -157
  183. package/src/export-data-api.test.ts +126 -126
  184. package/src/export-format.test.ts +107 -107
  185. package/src/export-format.ts +598 -598
  186. package/src/filter-operators.ts +157 -157
  187. package/src/filtering/excel-filters.test.ts +44 -1
  188. package/src/filtering/excel-filters.ts +91 -14
  189. package/src/flex-render.ts +3 -3
  190. package/src/form-field.ts +127 -127
  191. package/src/index.ts +715 -713
  192. package/src/js-scroller.svelte.ts +173 -173
  193. package/src/keyboard.test.ts +59 -59
  194. package/src/keyboard.ts +97 -97
  195. package/src/list-nav.test.ts +49 -49
  196. package/src/list-nav.ts +29 -29
  197. package/src/list-option.test.ts +56 -56
  198. package/src/list-option.ts +172 -172
  199. package/src/menus.test.ts +736 -700
  200. package/src/menus.ts +679 -652
  201. package/src/merge-objects.ts +48 -48
  202. package/src/overlays.test.ts +90 -90
  203. package/src/render-component.ts +28 -28
  204. package/src/row-resize.test.ts +100 -0
  205. package/src/row-resize.ts +36 -0
  206. package/src/scheduler-model.test.ts +562 -562
  207. package/src/scheduler-model.ts +872 -872
  208. package/src/selection.test.ts +754 -754
  209. package/src/selection.ts +600 -600
  210. package/src/server-data-source.test.ts +289 -289
  211. package/src/server-data-source.ts +413 -413
  212. package/src/sparkline.test.ts +68 -68
  213. package/src/sparkline.ts +169 -169
  214. package/src/spreadsheet.test.ts +489 -489
  215. package/src/spreadsheet.ts +312 -312
  216. package/src/static-functions.ts +11 -11
  217. package/src/subscribe.ts +38 -38
  218. package/src/svgrid-wrapper.types.ts +524 -524
  219. package/src/svgrid.api-extensions.test.ts +8 -3
  220. package/src/svgrid.behavior.test.ts +706 -706
  221. package/src/svgrid.cell-dom-ids.test.ts +96 -0
  222. package/src/svgrid.charting.test.ts +534 -534
  223. package/src/svgrid.conditional-stat-scope.test.ts +111 -0
  224. package/src/svgrid.features.test.ts +157 -157
  225. package/src/svgrid.filter-menu-listbox.svelte.test.ts +308 -0
  226. package/src/svgrid.filter-menu-scroll.test.ts +3 -1
  227. package/src/svgrid.group-header-ids.test.ts +121 -0
  228. package/src/svgrid.new-features.wrapper.test.ts +251 -251
  229. package/src/svgrid.wrapper.test.ts +40 -40
  230. package/src/test-setup.ts +62 -62
  231. package/src/themes/index.ts +215 -215
  232. package/src/toast-store.svelte.ts +246 -246
  233. package/src/toast-store.test.ts +147 -147
  234. package/src/ui-buttons.test.ts +144 -144
  235. package/src/ui-inputs.test.ts +118 -118
  236. package/src/ui-range.test.ts +70 -70
  237. package/src/ui-selection.test.ts +155 -155
  238. package/src/ui-tier1.test.ts +142 -142
  239. package/src/virtual.test.ts +88 -88
  240. package/src/virtualization/column-virtualizer.test.ts +27 -27
  241. package/src/virtualization/column-virtualizer.ts +30 -30
  242. package/src/virtualization/svelte-virtualizer.svelte.ts +26 -26
  243. package/src/virtualization/types.ts +30 -30
  244. package/src/virtualization/virtualizer.test.ts +47 -47
  245. package/src/virtualization/virtualizer.ts +296 -296
  246. package/themes/ember.css +71 -71
  247. package/dist/cdn/GridMenus-BzxEYNtW.js +0 -421
  248. package/dist/cdn/GridMenus-Dr-nGEXn.js +0 -417
package/src/index.ts CHANGED
@@ -1,713 +1,715 @@
1
- export { formatNumericWithConfig, resolveDatePattern } from './cell-formatting'
2
- export {
3
- coerceExportDate,
4
- formatValueForExport,
5
- projectGridRows,
6
- toExcelNumFmt,
7
- valueForExcel,
8
- serializeDelimited,
9
- serializeJson,
10
- serializeMarkdown,
11
- serializeHtml,
12
- serializeXml,
13
- downloadTextFile,
14
- downloadBlobFile,
15
- copyTextToClipboard,
16
- type GridExportOptions,
17
- type GridExportScope,
18
- type GridExportColumn,
19
- type GridClipboardOptions,
20
- type GridClipboardFormat,
21
- type SerializeProgress,
22
- type SerializeOptions,
23
- type CsvOptions,
24
- } from './export-format'
25
-
26
- export {
27
- columnFilteringFeature,
28
- columnGroupingFeature,
29
- createCoreRowModel,
30
- createExpandedRowModel,
31
- createFilteredRowModel,
32
- createGroupedRowModel,
33
- createPaginatedRowModel,
34
- createSortedRowModel,
35
- applyGroupAggregate,
36
- filterFns,
37
- rowExpandingFeature,
38
- rowPaginationFeature,
39
- rowSelectionFeature,
40
- rowSortingFeature,
41
- sortFns,
42
- tableFeatures,
43
- type Cell,
44
- type CellContext,
45
- type CellSpanParams,
46
- type ValueParserParams,
47
- type EditorContext,
48
- type CellData,
49
- type ActiveCellState,
50
- type CellFormatConfig,
51
- type CellFormatter,
52
- type Column,
53
- type ColumnDef,
54
- type ColumnDefTemplate,
55
- type GroupAggregator,
56
- type Header,
57
- type HeaderContext,
58
- type HeaderGroup,
59
- type Row,
60
- type RowData,
61
- type SortingState,
62
- type SvGrid as SvGridInstance,
63
- type SvGridOptions,
64
- type TableFeatures,
65
- type Updater,
66
- } from './core'
67
-
68
- export { createGrid, createSvGrid, type SvelteGrid } from './createGrid.svelte'
69
- export { createGridState, createSvGridState } from './createGridState.svelte'
70
- export { subscribeGrid, subscribeSvGrid } from './subscribe'
71
- export { default as SvGrid } from './SvGrid.svelte'
72
- // Kanban board view. The `board` prop + its config types live in the free grid,
73
- // but the RENDERER (SvGridBoard) ships in @svgrid/enterprise and registers itself
74
- // through this seam (see board-view.svelte.ts). Mirrors the scheduler-view seam.
75
- export type { BoardConfig, BoardLane, BoardCardMoveEvent, BoardCardCommitEvent, BoardLayout, BoardSubtask, BoardComment, BoardMenuContext, BoardLaneMenuContext, BoardDrawerConfig } from './SvGrid.types'
76
- export { registerBoardView, getBoardView, hasBoardView } from './board-view.svelte'
77
- // Built-in AI helpers (free): natural-language filter, smart-fill, summarize,
78
- // classify, anomaly detection, chart-this and export planning. They ship no
79
- // model client and no-op until you register one with `setAIProvider(...)`, so
80
- // they tree-shake out of the base bundle unless you actually import them. The
81
- // export-provider seam lets @svgrid/enterprise register its Excel/PDF engine so
82
- // AI-planned exports can WRITE those formats.
83
- export * from './ai'
84
- export {
85
- registerExportProvider,
86
- getExportProvider,
87
- type GridExportProvider,
88
- type GridExportRunOptions,
89
- } from './export-provider'
90
- // Scheduler / calendar view. The `scheduler` prop + its config types live in
91
- // the free grid, but the RENDERER ships in @svgrid/enterprise and registers
92
- // itself through this seam (see scheduler-view.svelte.ts). Mirrors editor-registry.
93
- export type {
94
- SchedulerConfig,
95
- SchedulerDrawerConfig,
96
- SchedulerEventMoveEvent,
97
- SchedulerEventResizeEvent,
98
- SchedulerEventCommitEvent,
99
- SchedulerRangeSelection,
100
- SchedulerView,
101
- SchedulerResource,
102
- SchedulerCollisionMode,
103
- SchedulerException,
104
- SchedulerEditScope,
105
- SchedulerOccurrenceChangeEvent,
106
- } from './SvGrid.types'
107
- export { registerSchedulerView, getSchedulerView, hasSchedulerView } from './scheduler-view.svelte'
108
- // Chart view. The `chart` prop + its config live in the free grid AND so does the
109
- // renderer (SvGridChartView wraps the free SvChart) - so unlike board/scheduler
110
- // it works out of the box. This seam only lets a host OVERRIDE the built-in view.
111
- export type { ChartViewConfig } from './SvGrid.types'
112
- export { registerChartView, getChartView, hasChartView } from './chart-view.svelte'
113
- export {
114
- registerPivotEngine,
115
- getPivotEngine,
116
- hasPivotEngine,
117
- type PivotEngine,
118
- type GridPivotConfig,
119
- type GridPivotValue,
120
- type GridPivotRow,
121
- } from './pivot-view.svelte'
122
- // Pure scheduler layout/model helpers (framework-free, like recurrence/date-core).
123
- // The calendar RENDERER that consumes these ships in @svgrid/enterprise.
124
- export {
125
- resolveEvents,
126
- hasConflict,
127
- overlapCount,
128
- overlapsBands,
129
- workingIntervals,
130
- withinWorking,
131
- type WorkingWindow,
132
- eventsOnDay,
133
- layoutDayEvents,
134
- monthWeekSegments,
135
- agendaGroups,
136
- rangeForView,
137
- daysForView,
138
- navigateAnchor,
139
- timelineAxis,
140
- timelineGeom,
141
- timelineRows,
142
- type ResolvedEvent,
143
- type EventSpec,
144
- type RecurrenceException,
145
- type PositionedEvent,
146
- type OverflowMarker,
147
- type DayLayout,
148
- type LayoutOptions,
149
- type MonthSegment,
150
- type AgendaGroup,
151
- type TimelineTick,
152
- type TimelineMajor,
153
- type TimelineAxis,
154
- type TimelineRow,
155
- } from './scheduler-model'
156
- export { default as SvGridDropdown } from './SvGridDropdown.svelte'
157
- export { default as SvCalendar, type CalendarValue, type CalendarPreset, type CalendarAnimation } from './SvCalendar.svelte'
158
- export {
159
- matchesRecurrence,
160
- expandRecurrence,
161
- describeRecurrence,
162
- type RecurrenceRule,
163
- type RecurrenceFreq,
164
- type RecurrenceLabels,
165
- } from './recurrence'
166
- export { default as SvTimePicker, type TimeValue } from './SvTimePicker.svelte'
167
- export { default as SvDateTimePicker, type DateTimeValue } from './SvDateTimePicker.svelte'
168
- export { default as SvDateRangeInput, type DateRangeValue } from './SvDateRangeInput.svelte'
169
- export { default as SvButtonGroup, type ButtonGroupItem, type ButtonGroupMode, type ButtonGroupValue } from './SvButtonGroup.svelte'
170
- // UI kit - shared editor contract (common props + a11y wiring for every editor)
171
- export {
172
- editorAria,
173
- editorErrorId,
174
- editorHintId,
175
- nextEditorId,
176
- resolveMessages,
177
- type SvEditorProps,
178
- type EditorSize,
179
- type EditorDir,
180
- type EditorAction,
181
- type EditorAriaState,
182
- } from './editor-contract'
183
- // UI kit - editor interaction surface (commit/cancel/close for grid-cell use)
184
- export { type EditorInteraction } from './editor-contract'
185
- // UI kit - shared a11y primitives (focus trap, scroll lock, dismissable layers, live region)
186
- export {
187
- FOCUSABLE_SELECTOR,
188
- getFocusable,
189
- createFocusTrap,
190
- type FocusTrap,
191
- type FocusTrapOptions,
192
- } from './a11y/focus-trap'
193
- export { lockScroll, scrollLockDepth } from './a11y/scroll-lock'
194
- export {
195
- createDismissableLayer,
196
- dismissableDepth,
197
- onScrollOutside,
198
- type DismissableLayer,
199
- type DismissableOptions,
200
- } from './a11y/dismissable'
201
- export { announce, type AnnounceOptions } from './a11y/live-region'
202
- // Dialog-overlay core (SvModal / SvDrawer): open -> focus-trap + scroll-lock +
203
- // Escape/backdrop dismissal -> restore, on the primitives above.
204
- export { createOverlay, type Overlay, type OverlayConfig, type DialogProps } from './createOverlay.svelte'
205
- // Tooltip core (SvTooltip): hover/focus open with a show delay, Escape-to-hide,
206
- // and aria-describedby / role=tooltip wiring. (Toasts are already headless: see
207
- // the toastStore / toast() exports below.)
208
- export { createTooltip, type Tooltip, type TooltipConfig, type TooltipAnchorProps, type TooltipProps } from './createTooltip.svelte'
209
- // Navigation cores: pager (SvPagination), wizard steps (SvStepper), slideshow
210
- // (SvCarousel). Pagination + stepper are pure/rune-free; carousel owns autoplay.
211
- export { createPagination, type Pagination, type PaginationConfig } from './createPagination'
212
- export { createStepper, type Stepper, type StepperConfig, type StepStatus } from './createStepper'
213
- export { createCarousel, type Carousel, type CarouselConfig } from './createCarousel.svelte'
214
- // Command palette core (SvCommand): fuzzy filter + roving + hotkey. Pair with
215
- // createOverlay for the focus-trap/scroll-lock/dismissal lifecycle.
216
- export { createCommand, type Command, type CommandConfig } from './createCommand.svelte'
217
- // Schema-driven form core (SvForm): values/errors/touched + validation + submit.
218
- export { createForm, type Form, type FormConfig, type FormMessages } from './createForm.svelte'
219
- export { default as SvSegmented, type SegmentedOption } from './SvSegmented.svelte'
220
- export { default as SvSpinner } from './SvSpinner.svelte'
221
- export { default as SvLoadingOverlay } from './SvLoadingOverlay.svelte'
222
- export { default as SvResult } from './SvResult.svelte'
223
- export { default as SvCollapsible } from './SvCollapsible.svelte'
224
- export { default as SvStack } from './SvStack.svelte'
225
- export { default as SvGroup } from './SvGroup.svelte'
226
- export { default as SvSimpleGrid } from './SvSimpleGrid.svelte'
227
- // UI kit - typography + display primitives (Pillar C2)
228
- export { default as SvText } from './SvText.svelte'
229
- export { default as SvTitle } from './SvTitle.svelte'
230
- export { default as SvAnchor } from './SvAnchor.svelte'
231
- export { default as SvBlockquote } from './SvBlockquote.svelte'
232
- export { default as SvMark } from './SvMark.svelte'
233
- export { default as SvList } from './SvList.svelte'
234
- export { default as SvKbd } from './SvKbd.svelte'
235
- export { default as SvCode } from './SvCode.svelte'
236
- export { default as SvVisuallyHidden } from './SvVisuallyHidden.svelte'
237
- export { default as SvAspectRatio } from './SvAspectRatio.svelte'
238
- // UI kit - custom cell-editor registry (register any component as a grid editor)
239
- export {
240
- registerCellEditor,
241
- getCellEditor,
242
- hasCellEditor,
243
- unregisterCellEditor,
244
- registeredCellEditorTypes,
245
- defaultEditorProps,
246
- resolveEditorProps,
247
- type CellEditorContext,
248
- type CellEditorRegistration,
249
- } from './editor-registry'
250
- export { registerBuiltinEditors } from './builtin-editors'
251
- // UI kit - shared field chrome (label + hint + error + direction wrapper)
252
- export { default as SvField } from './SvField.svelte'
253
- // UI kit - headless cores (state + prop-getters you render yourself, like createSvGrid)
254
- export {
255
- createListbox,
256
- toSelectedArray,
257
- type Listbox,
258
- type ListboxConfig,
259
- type ListboxValue,
260
- type ListboxRootProps,
261
- type OptionProps,
262
- } from './createListbox.svelte'
263
- // Selection family cores
264
- export { createCombobox, type Combobox, type ComboboxConfig, type ComboboxValue } from './createCombobox.svelte'
265
- export { createDropdownList, type DropdownList, type DropdownListConfig, type DropdownValue } from './createDropdownList.svelte'
266
- // Shared engine behind the anchored-panel selects (SvMultiSelect / SvTreeSelect /
267
- // SvGridSelect): open/close, positioning, dismissal, roving active index, ARIA.
268
- export { createPopoverSelect, type PopoverSelect, type PopoverSelectConfig } from './createPopoverSelect.svelte'
269
- // Menu family core (SvMenu / SvMenuList / SvContextMenu): roving focus, submenus,
270
- // keyboard. `MenuItem` also re-exported from SvMenuList for back-compat.
271
- export { createMenu, type Menu, type MenuConfig, type MenuItemProps } from './createMenu.svelte'
272
- // Pure roving-focus navigation math shared by the cores above.
273
- export { enabledIndices, wrapMove } from './list-nav'
274
- export { createAutocomplete, type Autocomplete, type AutocompleteConfig } from './createAutocomplete.svelte'
275
- export { createTagsInput, type TagsInput, type TagsInputConfig } from './createTagsInput.svelte'
276
- export { createCountryInput, type CountryInput, type CountryInputConfig } from './createCountryInput.svelte'
277
- // Text-input family cores
278
- export { createNumberInput, type NumberInputConfig, type NumberInputCore } from './createNumberInput.svelte'
279
- export { createMaskedInput, type MaskedInputConfig, type MaskedInputCore } from './createMaskedInput.svelte'
280
- export { createPhoneInput, type PhoneInputConfig, type PhoneInputCore, type PhoneParts } from './createPhoneInput.svelte'
281
- export { createColorInput, normalizeHex, type ColorInputConfig, type ColorInputCore } from './createColorInput.svelte'
282
- export { createPasswordInput, passwordStrength, STRENGTH_LABELS, type PasswordInputConfig, type PasswordInputCore } from './createPasswordInput.svelte'
283
- // Buttons & toggles family cores
284
- export { createToggle, type Toggle, type ToggleConfig, type ToggleButtonProps } from './createToggle.svelte'
285
- export { createSwitch, type Switch, type SwitchConfig, type SwitchProps } from './createSwitch.svelte'
286
- export { createCheckbox, type Checkbox, type CheckboxConfig, type CheckboxBoxProps } from './createCheckbox.svelte'
287
- export { createRadioGroup, type RadioGroup, type RadioGroupConfig, type RadioProps, type RadioGroupProps } from './createRadioGroup.svelte'
288
- export { createRating, type Rating, type RatingConfig, type RatingFill, type RatingRootProps, type RatingStarProps } from './createRating.svelte'
289
- // Date & time family cores
290
- export { createCalendar, normalizeCalendarValue, type Calendar, type CalendarConfig, type CalendarDayState, type CalendarNavDir, type CalendarNameFormat, type DisplayMode } from './createCalendar.svelte'
291
- export { createTimePicker, parseTimeValue, type TimePicker, type TimePickerConfig, type TimeSelection, type TimeFormat, type DialTick } from './createTimePicker.svelte'
292
- export { createDateTimePicker, type DateTimePicker, type DateTimePickerConfig, type DropDownDisplayMode, type DateTimeTab } from './createDateTimePicker.svelte'
293
- // Layout & range family cores
294
- export { createTabs, type Tabs, type TabsConfig, type TabsOrientation, type TabsActivation } from './createTabs.svelte'
295
- export { createTree, treeDescendantIds, treeCheckState, moveTreeNode, sortTreeNodes, treeContains, type Tree, type TreeConfig, type TreeRow, type CheckState, type TreeDropPosition } from './createTree.svelte'
296
- export { createSlider, type Slider, type SliderConfig, type SliderValue, type SliderOrientation, type SliderThumb, type SliderPoint } from './createSlider.svelte'
297
- export { createGauge, type Gauge, type GaugeConfig, type GaugePoint } from './createGauge.svelte'
298
- export { createButtonGroup, toGroupArray, type ButtonGroup, type ButtonGroupConfig } from './createButtonGroup.svelte'
299
- // UI kit - Group B (buttons & toggles)
300
- export { default as SvButton } from './SvButton.svelte'
301
- export { default as SvRepeatButton } from './SvRepeatButton.svelte'
302
- export { default as SvToggleButton } from './SvToggleButton.svelte'
303
- export { default as SvSwitchButton } from './SvSwitchButton.svelte'
304
- export { default as SvCheckBox } from './SvCheckBox.svelte'
305
- export { default as SvRadioGroup, type RadioOption } from './SvRadioGroup.svelte'
306
- export { default as SvRating } from './SvRating.svelte'
307
- // UI kit - Group C (text inputs)
308
- export { default as SvTextInput } from './SvTextInput.svelte'
309
- export { default as SvTextArea } from './SvTextArea.svelte'
310
- export { default as SvOtpInput } from './SvOtpInput.svelte'
311
- export { sanitizeOtp, otpCells, isOtpComplete } from './otp'
312
- export { default as SvDurationInput } from './SvDurationInput.svelte'
313
- export { parseDuration, formatDuration } from './duration'
314
- export { default as SvNumberInput } from './SvNumberInput.svelte'
315
- export { default as SvPasswordInput } from './SvPasswordInput.svelte'
316
- export { default as SvMaskedInput } from './SvMaskedInput.svelte'
317
- export { default as SvPhoneInput } from './SvPhoneInput.svelte'
318
- export { default as SvColorInput } from './SvColorInput.svelte'
319
- export { applyMask, unmask, isMaskComplete } from './datetime/mask'
320
- export { COUNTRIES, COUNTRY_BY_CODE, flagEmoji, phoneDigitsValid, PHONE_NATIONAL_LENGTHS, type Country } from './countries'
321
- // UI kit - Group D (selection overlays)
322
- export { default as SvListBox } from './SvListBox.svelte'
323
- export { default as SvDropDownList } from './SvDropDownList.svelte'
324
- export { default as SvComboBox } from './SvComboBox.svelte'
325
- export { default as SvAutoComplete } from './SvAutoComplete.svelte'
326
- export { default as SvTagsInput } from './SvTagsInput.svelte'
327
- export { default as SvMultiSelect, type MultiSelectOption } from './SvMultiSelect.svelte'
328
- export { debounce, type Debounced } from './debounce'
329
- export { default as SvTreeSelect, type TreeSelectNode } from './SvTreeSelect.svelte'
330
- export { flattenVisible, findNodePath, branchValues, type FlatRow } from './tree-select'
331
- export { default as SvGridSelect, type GridSelectColumn } from './SvGridSelect.svelte'
332
- export { filterGridRows } from './grid-select'
333
- export { default as SvCountryInput } from './SvCountryInput.svelte'
334
- export {
335
- filterOptions,
336
- groupOptions,
337
- hasGroups,
338
- nextTypeaheadIndex,
339
- createTypeaheadBuffer,
340
- isTypeaheadKey,
341
- type ListOption,
342
- type IndexedOption,
343
- type OptionGroup,
344
- } from './list-option'
345
- export { virtualRange, scrollToIndex, type VirtualRange, type VirtualParams } from './virtual'
346
- // UI kit - Group E (range & feedback)
347
- export { default as SvSlider } from './SvSlider.svelte'
348
- export { default as SvGauge } from './SvGauge.svelte'
349
- // UI kit - Group F (composite / layout)
350
- export { default as SvTabs, type TabItem } from './SvTabs.svelte'
351
- export { default as SvTree, type TreeNode as SvTreeNode } from './SvTree.svelte'
352
- export { default as SvAccordion, type AccordionItem, type AccordionExpandMode } from './SvAccordion.svelte'
353
- export { createAccordion, type Accordion, type AccordionConfig } from './createAccordion.svelte'
354
- export { default as SvSplitter, type SplitterOrientation } from './SvSplitter.svelte'
355
- export { createSplitter, type Splitter, type SplitterConfig, type SplitterPoint } from './createSplitter.svelte'
356
- export { default as SvDockLayout } from './SvDockLayout.svelte'
357
- export { default as SvDockManager, type DockManagerApi, type DockEvent } from './SvDockManager.svelte'
358
- export {
359
- dockPane,
360
- dockTabs,
361
- dockGroup,
362
- removePane,
363
- movePane,
364
- dockInto,
365
- reorderPane,
366
- removeLeaf,
367
- dockLeafToEdge,
368
- setActive as dockSetActive,
369
- setSizes as dockSetSizes,
370
- normalize as dockNormalize,
371
- findTabsWithPane,
372
- allPaneIds,
373
- type DockNode,
374
- type DockGroup,
375
- type DockTabs,
376
- type DockPane,
377
- type DockZone,
378
- } from './dock-model'
379
- export {
380
- floatPane,
381
- dockPaneOnto,
382
- dockWindowOnto,
383
- dockPaneToEmptyMain,
384
- reorderTab,
385
- autoHideLeaf,
386
- autoHidePaneToSide,
387
- pinAutoHidden,
388
- setAutoHideSize,
389
- closePane as dockManagerClosePane,
390
- moveWindow,
391
- resizeWindow,
392
- bringToFront,
393
- setWindowMinimized,
394
- toggleWindowMaximized,
395
- closeWindow,
396
- autoHideWindow,
397
- toggleMaximizeLeaf,
398
- findLeafById,
399
- addPaneToMain,
400
- resizeGroup as dockManagerResizeGroup,
401
- setManagerActive,
402
- locatePane,
403
- surfaceOfTabs,
404
- allManagerPaneIds,
405
- allManagerIds,
406
- dedupeManagerNodeIds,
407
- type DockManagerState,
408
- type FloatWindow,
409
- type AutoHideEntry,
410
- type DockSide,
411
- type PaneLocation,
412
- } from './dock-manager-model'
413
- export { default as SvFileUpload, type FileRejection, type FileRejectReason } from './SvFileUpload.svelte'
414
- export { createFileUpload, fileMatchesAccept, type FileUpload, type FileUploadConfig } from './createFileUpload.svelte'
415
- // UI kit - overlays (popover / tooltip / modal), sharing the popover.ts positioning + animation
416
- export { default as SvPopover } from './SvPopover.svelte'
417
- export { default as SvTooltip } from './SvTooltip.svelte'
418
- export { default as SvModal } from './SvModal.svelte'
419
- export { default as SvDrawer } from './SvDrawer.svelte'
420
- export type DrawerSide = 'right' | 'left' | 'top' | 'bottom'
421
- export { default as SvToaster } from './SvToaster.svelte'
422
- export { default as SvBadge } from './SvBadge.svelte'
423
- export { default as SvSkeleton } from './SvSkeleton.svelte'
424
- export { default as SvCard } from './SvCard.svelte'
425
- export { default as SvAlert } from './SvAlert.svelte'
426
- export { default as SvEmptyState } from './SvEmptyState.svelte'
427
- export { default as SvDivider } from './SvDivider.svelte'
428
- export { default as SvChip } from './SvChip.svelte'
429
- export { default as SvStat } from './SvStat.svelte'
430
- export { default as SvTimeline, type TimelineItem } from './SvTimeline.svelte'
431
- export { default as SvSparkline } from './SvSparkline.svelte'
432
- export { default as SvScrollArea } from './SvScrollArea.svelte'
433
- export { default as SvAvatarGroup } from './SvAvatarGroup.svelte'
434
- export { default as SvCommand, type CommandItem } from './SvCommand.svelte'
435
- export { fuzzyScore, fuzzyMatch } from './fuzzy'
436
- export { default as SvRichText, type RichTextTool } from './SvRichText.svelte'
437
- export { default as SvCarousel } from './SvCarousel.svelte'
438
- export { default as SvTour, type TourStep } from './SvTour.svelte'
439
- export { default as SvPagination } from './SvPagination.svelte'
440
- export { paginationRange, type PaginationItem, type PaginationRangeOptions } from './paginate'
441
- export { default as SvBreadcrumb, type BreadcrumbItem } from './SvBreadcrumb.svelte'
442
- export { default as SvStepper, type StepItem } from './SvStepper.svelte'
443
- export { default as SvAvatar } from './SvAvatar.svelte'
444
- export { avatarInitials, avatarColorHue } from './avatar'
445
- export { default as SvContextMenu } from './SvContextMenu.svelte'
446
- export {
447
- toast,
448
- dismissToast,
449
- updateToast,
450
- clearToasts,
451
- pauseToast,
452
- resumeToast,
453
- toastStore,
454
- type Toast,
455
- type ToastVariant,
456
- type ToastOptions,
457
- type ToastFn,
458
- type ToastAction,
459
- type UpdateToast,
460
- type PromiseMessages,
461
- } from './toast-store.svelte'
462
- export { default as SvMenu, type MenuItem } from './SvMenu.svelte'
463
- export { default as SvMenuList } from './SvMenuList.svelte'
464
- export { default as SvMenubar, type MenubarMenu } from './SvMenubar.svelte'
465
- export { default as SvHoverCard } from './SvHoverCard.svelte'
466
- export { default as SvPopconfirm } from './SvPopconfirm.svelte'
467
- export { default as SvNavPane, type NavItem, type NavSection, type NavModule } from './SvNavPane.svelte'
468
- export { default as SvProgress } from './SvProgress.svelte'
469
- export { default as SvCircularProgress } from './SvCircularProgress.svelte'
470
- export { popIn } from './popover'
471
- export { default as SvForm, type FormField, type FormFieldType, type FormSection, type FormEntry } from './SvForm.svelte'
472
- export { rules, runRules, isEmptyValue, type Validator, type RuleOptions, type CompareOp } from './validators'
473
- export { anchoredRect, portalToBody, PANEL_THEME_VARS, type AnchoredRect } from './popover'
474
- export {
475
- computePosition,
476
- autoUpdate,
477
- parsePlacement,
478
- type Placement,
479
- type Side,
480
- type Align,
481
- type Rect,
482
- type Viewport,
483
- type ComputePositionOptions,
484
- type ComputePositionResult,
485
- } from './positioning'
486
- export {
487
- toDate, startOfDay, startOfWeek, startOfMonth, addDays, addMonths, addYears, clampDate, isSameDay,
488
- monthMatrix, weekdayOrder, isoWeek, decadeRange, withTime, snapMinute, type DateLike,
489
- } from './datetime/date-core'
490
- export { formatDate, parseDate, tokenizeMask } from './datetime/date-format'
491
- export { toICS, fromICS, ruleToRRule, rruleToRule, type ICalEvent } from './scheduler-ical'
492
- export {
493
- zoneParts, zoneOffsetMs, toZonedLocal, fromZonedLocal, instantFromWallClock, zoneAbbr, normalizeTimeZone,
494
- type ZoneParts,
495
- } from './datetime/timezone'
496
- export {
497
- selectDate, rangeDays, isSelected, isMultiSelectMode, emptySelection,
498
- type SelectionMode, type SelectionState,
499
- } from './datetime/date-selection'
500
- export {
501
- isDisabledDay, isOutOfRange, isRestricted, isImportant, type RestrictOptions,
502
- } from './datetime/date-restrict'
503
- export { default as FlexRender } from './FlexRender.svelte'
504
- export { renderComponent, renderSnippet } from './render-component'
505
- export { default as SvGridChart } from './SvGridChart.svelte'
506
- export { default as SvGridChartPanel } from './SvGridChartPanel.svelte'
507
- // Preferred names for the standalone chart primitives. `SvChart` is a genuine
508
- // standalone component (spec-driven, no grid needed), so it sits alongside its
509
- // unprefixed siblings SvGauge / SvSparkline. The `SvGrid*` names remain exported
510
- // as aliases so existing imports keep working.
511
- export { default as SvChart } from './SvGridChart.svelte'
512
- export { default as SvChartPanel } from './SvGridChartPanel.svelte'
513
- export type { ChartingConfig, ChartAggregateRequest, ChartAggregateBucket } from './SvGrid.types'
514
- export type { GridLocalization } from './SvGrid.types'
515
- export {
516
- buildChart,
517
- formatChartValue,
518
- rowsToChartSpec,
519
- niceScale,
520
- niceLogScale,
521
- linearTrend,
522
- simpleMovingAverage,
523
- exponentialMovingAverage,
524
- computeOverlay,
525
- buildLinePath,
526
- sampleGradient,
527
- pickContrastText,
528
- DEFAULT_PALETTE,
529
- type ChartType,
530
- type ChartSpec,
531
- type ChartSeries,
532
- type ChartGeometry,
533
- type ChartBar,
534
- type ChartLine,
535
- type ChartLinePoint,
536
- type ChartPieSlice,
537
- type ChartSelection,
538
- type ChartReferenceLine,
539
- type ChartRefLineGeo,
540
- type ChartRefLineGeoV,
541
- type ChartScatterDot,
542
- type ScatterPoint,
543
- type NiceScale,
544
- type SeriesOverlay,
545
- type SeriesPattern,
546
- type ChartAnnotation,
547
- type ChartHeatmapCell,
548
- type ChartFunnelSegment,
549
- type ChartRadarSeries,
550
- type ChartRadarAxis,
551
- type ChartTreemapCell,
552
- type ChartCalendarCell,
553
- type ChartGaugeLayout,
554
- type ChartSankeyNode,
555
- type ChartSankeyLink,
556
- type ChartValueFormat,
557
- type TreeNode,
558
- } from './chart'
559
- export {
560
- chartToSvgString,
561
- downloadChartSvg,
562
- chartToPngBlob,
563
- downloadChartPng,
564
- chartSpecToCsv,
565
- downloadChartCsv,
566
- type ChartExportOptions,
567
- } from './chart-export'
568
- export {
569
- buildSparkline,
570
- toSparklineValues,
571
- type SparklineConfig,
572
- type SparklineType,
573
- type SparklineGeometry,
574
- } from './sparkline'
575
- export {
576
- spreadsheetLayout,
577
- spansToMerges,
578
- type SpanColumn,
579
- type SpreadsheetActionOptions,
580
- type MergeSpec,
581
- type CellBorderSpec,
582
- type BorderSpec,
583
- } from './spreadsheet'
584
- export { rowResize, type RowResizeOptions } from './row-resize'
585
- export { rowDropZone, type RowDragEndEvent, type RowDropZoneOptions } from './row-drag'
586
- export { resolveColumnTypes, inferCellDataType, type CellDataType } from './column-types'
587
- export {
588
- computeColumnGroupMeta,
589
- hiddenLeavesForCollapse,
590
- type ColumnGroupMeta,
591
- type ColumnGroupShow,
592
- } from './column-groups'
593
- export {
594
- createHyperFormulaSheet,
595
- type HyperFormulaSheet,
596
- type HyperFormulaSheetConfig,
597
- type HyperFormulaInstance,
598
- } from './hyperformula-adapter'
599
- export {
600
- createCollaboration,
601
- broadcastChannelTransport,
602
- type CollabUser,
603
- type CollabCell,
604
- type CollabPresence,
605
- type CollabMessage,
606
- type CollabTransport,
607
- type Collaboration,
608
- } from './collaboration'
609
- export {
610
- createServerDataSource,
611
- type ServerDataSource,
612
- type ServerRequest,
613
- type ServerResult,
614
- type ServerController,
615
- type ServerState,
616
- type ServerSortModel,
617
- type ServerFilterModel,
618
- type ServerAggregation,
619
- type ServerGroupRow,
620
- type ServerLeafRow,
621
- type ServerMoreRow,
622
- type ServerFooterRow,
623
- type ServerSkeletonRow,
624
- type ServerDisplayRow,
625
- } from './server-data-source'
626
- export {
627
- createServerGroupModel,
628
- serverGroupRows,
629
- serverGroupNav,
630
- type ServerGroupController,
631
- type ServerGroupControllerOptions,
632
- type ServerGroupState,
633
- type ServerGroupGridRow,
634
- } from './server-group-model'
635
- export { default as SvGroupCell } from './SvGroupCell.svelte'
636
- export { default as SvRowGroupPanel } from './SvRowGroupPanel.svelte'
637
- export {
638
- createNamedViews,
639
- memoryViews,
640
- localStorageViews,
641
- attachAutoSavedView,
642
- type SavedView,
643
- type ViewStorage,
644
- type NamedViews,
645
- type AutoSavedViewOptions,
646
- } from './named-views'
647
- export {
648
- resolveCellFormat,
649
- computeColumnStat,
650
- lerpColor,
651
- rgba,
652
- contrastText,
653
- formatNeedsStats,
654
- formatsNeedingStats,
655
- type ConditionalFormat,
656
- type ConditionalFormatSpec,
657
- type ColorScaleFormat,
658
- type ColorScaleStop,
659
- type ScaleBounds,
660
- type DataBarFormat,
661
- type IconSetFormat,
662
- type RuleFormat,
663
- type ResolvedCellFormat,
664
- } from './conditional-formatting'
665
- export {
666
- defaultGridMessages,
667
- resolveGridMessages,
668
- type GridMessages,
669
- } from './grid-messages'
670
- export {
671
- insertGroupFooters,
672
- buildAutoGroupColumns,
673
- type GroupDisplayType,
674
- type GroupFooterOptions,
675
- type AutoGroupColumnSpec,
676
- type AutoGroupResult,
677
- } from './group-display'
678
- export { getKeyboardIntent, getNextActiveCell, type GridKeyboardIntent } from './keyboard'
679
- export { createVirtualizer } from './virtualization/virtualizer'
680
- export { createSvelteVirtualizer } from './virtualization/svelte-virtualizer.svelte'
681
- export { createColumnVirtualizer } from './virtualization/column-virtualizer'
682
- export type { VirtualItem, VirtualizerOptions, VirtualizerState } from './virtualization/types'
683
- export type { SvGridApi, SvGridFilterOperator, SvGridWrapperProps } from './svgrid-wrapper.types'
684
- export {
685
- parseEditorValue,
686
- normalizeEditorOptions,
687
- type CellEditorType,
688
- type CellEditorOption,
689
- } from './editors/cell-editors'
690
- export {
691
- applyExcelFilter,
692
- normalizeForFilter,
693
- splitInTokens,
694
- joinInTokens,
695
- type ExcelFilter,
696
- type ExcelFilterOperator,
697
- type ExcelFilterOptions,
698
- } from './filtering/excel-filters'
699
- export {
700
- getGridCellDomId,
701
- getGridCellA11yProps,
702
- getGridHeaderA11yProps,
703
- getGridRootA11yProps,
704
- getGridRowA11yProps,
705
- type GridCellA11yInput,
706
- type GridColumnA11yInput,
707
- type GridSortDirection,
708
- } from './a11y'
709
-
710
- /**
711
- * Compatibility alias for teams migrating from `createTable`.
712
- */
713
- export { createSvGrid as createTable } from './createGrid.svelte'
1
+ export { formatNumericWithConfig, resolveDatePattern } from './cell-formatting'
2
+ export {
3
+ coerceExportDate,
4
+ formatValueForExport,
5
+ projectGridRows,
6
+ toExcelNumFmt,
7
+ valueForExcel,
8
+ serializeDelimited,
9
+ serializeJson,
10
+ serializeMarkdown,
11
+ serializeHtml,
12
+ serializeXml,
13
+ downloadTextFile,
14
+ downloadBlobFile,
15
+ copyTextToClipboard,
16
+ type GridExportOptions,
17
+ type GridExportScope,
18
+ type GridExportColumn,
19
+ type GridClipboardOptions,
20
+ type GridClipboardFormat,
21
+ type SerializeProgress,
22
+ type SerializeOptions,
23
+ type CsvOptions,
24
+ } from './export-format'
25
+
26
+ export {
27
+ columnFilteringFeature,
28
+ columnGroupingFeature,
29
+ createCoreRowModel,
30
+ createExpandedRowModel,
31
+ createFilteredRowModel,
32
+ createGroupedRowModel,
33
+ createPaginatedRowModel,
34
+ createSortedRowModel,
35
+ applyGroupAggregate,
36
+ filterFns,
37
+ rowExpandingFeature,
38
+ rowPaginationFeature,
39
+ rowSelectionFeature,
40
+ rowSortingFeature,
41
+ sortFns,
42
+ tableFeatures,
43
+ type Cell,
44
+ type CellContext,
45
+ type CellSpanParams,
46
+ type ValueParserParams,
47
+ type EditorContext,
48
+ type CellData,
49
+ type ActiveCellState,
50
+ type CellFormatConfig,
51
+ type CellFormatter,
52
+ type Column,
53
+ type ColumnDef,
54
+ type ColumnDefTemplate,
55
+ type GroupAggregator,
56
+ type Header,
57
+ type HeaderContext,
58
+ type HeaderGroup,
59
+ type Row,
60
+ type RowData,
61
+ type SortingState,
62
+ type SvGrid as SvGridInstance,
63
+ type SvGridOptions,
64
+ type TableFeatures,
65
+ type Updater,
66
+ } from './core'
67
+
68
+ export { createGrid, createSvGrid, type SvelteGrid } from './createGrid.svelte'
69
+ export { createGridState, createSvGridState } from './createGridState.svelte'
70
+ export { subscribeGrid, subscribeSvGrid } from './subscribe'
71
+ export { default as SvGrid } from './SvGrid.svelte'
72
+ // Kanban board view. The `board` prop + its config types live in the free grid,
73
+ // but the RENDERER (SvGridBoard) ships in @svgrid/enterprise and registers itself
74
+ // through this seam (see board-view.svelte.ts). Mirrors the scheduler-view seam.
75
+ export type { BoardConfig, BoardLane, BoardCardMoveEvent, BoardCardCommitEvent, BoardLayout, BoardSubtask, BoardComment, BoardMenuContext, BoardLaneMenuContext, BoardDrawerConfig } from './SvGrid.types'
76
+ export { registerBoardView, getBoardView, hasBoardView } from './board-view.svelte'
77
+ // Built-in AI helpers (free): natural-language filter, smart-fill, summarize,
78
+ // classify, anomaly detection, chart-this and export planning. They ship no
79
+ // model client and no-op until you register one with `setAIProvider(...)`, so
80
+ // they tree-shake out of the base bundle unless you actually import them. The
81
+ // export-provider seam lets @svgrid/enterprise register its Excel/PDF engine so
82
+ // AI-planned exports can WRITE those formats.
83
+ export * from './ai'
84
+ export {
85
+ registerExportProvider,
86
+ getExportProvider,
87
+ type GridExportProvider,
88
+ type GridExportRunOptions,
89
+ } from './export-provider'
90
+ // Scheduler / calendar view. The `scheduler` prop + its config types live in
91
+ // the free grid, but the RENDERER ships in @svgrid/enterprise and registers
92
+ // itself through this seam (see scheduler-view.svelte.ts). Mirrors editor-registry.
93
+ export type {
94
+ SchedulerConfig,
95
+ SchedulerDrawerConfig,
96
+ SchedulerEventMoveEvent,
97
+ SchedulerEventResizeEvent,
98
+ SchedulerEventCommitEvent,
99
+ SchedulerRangeSelection,
100
+ SchedulerView,
101
+ SchedulerResource,
102
+ SchedulerCollisionMode,
103
+ SchedulerException,
104
+ SchedulerEditScope,
105
+ SchedulerOccurrenceChangeEvent,
106
+ } from './SvGrid.types'
107
+ export { registerSchedulerView, getSchedulerView, hasSchedulerView } from './scheduler-view.svelte'
108
+ // Chart view. The `chart` prop + its config live in the free grid AND so does the
109
+ // renderer (SvGridChartView wraps the free SvChart) - so unlike board/scheduler
110
+ // it works out of the box. This seam only lets a host OVERRIDE the built-in view.
111
+ export type { ChartViewConfig } from './SvGrid.types'
112
+ export { registerChartView, getChartView, hasChartView } from './chart-view.svelte'
113
+ export {
114
+ registerPivotEngine,
115
+ getPivotEngine,
116
+ hasPivotEngine,
117
+ type PivotEngine,
118
+ type GridPivotConfig,
119
+ type GridPivotValue,
120
+ type GridPivotRow,
121
+ } from './pivot-view.svelte'
122
+ // Pure scheduler layout/model helpers (framework-free, like recurrence/date-core).
123
+ // The calendar RENDERER that consumes these ships in @svgrid/enterprise.
124
+ export {
125
+ resolveEvents,
126
+ hasConflict,
127
+ overlapCount,
128
+ overlapsBands,
129
+ workingIntervals,
130
+ withinWorking,
131
+ type WorkingWindow,
132
+ eventsOnDay,
133
+ layoutDayEvents,
134
+ monthWeekSegments,
135
+ agendaGroups,
136
+ rangeForView,
137
+ daysForView,
138
+ navigateAnchor,
139
+ timelineAxis,
140
+ timelineGeom,
141
+ timelineRows,
142
+ type ResolvedEvent,
143
+ type EventSpec,
144
+ type RecurrenceException,
145
+ type PositionedEvent,
146
+ type OverflowMarker,
147
+ type DayLayout,
148
+ type LayoutOptions,
149
+ type MonthSegment,
150
+ type AgendaGroup,
151
+ type TimelineTick,
152
+ type TimelineMajor,
153
+ type TimelineAxis,
154
+ type TimelineRow,
155
+ } from './scheduler-model'
156
+ export { default as SvGridDropdown } from './SvGridDropdown.svelte'
157
+ export { default as SvCalendar, type CalendarValue, type CalendarPreset, type CalendarAnimation } from './SvCalendar.svelte'
158
+ export {
159
+ matchesRecurrence,
160
+ expandRecurrence,
161
+ describeRecurrence,
162
+ type RecurrenceRule,
163
+ type RecurrenceFreq,
164
+ type RecurrenceLabels,
165
+ } from './recurrence'
166
+ export { default as SvTimePicker, type TimeValue } from './SvTimePicker.svelte'
167
+ export { default as SvDateTimePicker, type DateTimeValue } from './SvDateTimePicker.svelte'
168
+ export { default as SvDateRangeInput, type DateRangeValue } from './SvDateRangeInput.svelte'
169
+ export { default as SvButtonGroup, type ButtonGroupItem, type ButtonGroupMode, type ButtonGroupValue } from './SvButtonGroup.svelte'
170
+ // UI kit - shared editor contract (common props + a11y wiring for every editor)
171
+ export {
172
+ editorAria,
173
+ editorErrorId,
174
+ editorHintId,
175
+ nextEditorId,
176
+ resolveMessages,
177
+ type SvEditorProps,
178
+ type EditorSize,
179
+ type EditorDir,
180
+ type EditorAction,
181
+ type EditorAriaState,
182
+ } from './editor-contract'
183
+ // UI kit - editor interaction surface (commit/cancel/close for grid-cell use)
184
+ export { type EditorInteraction } from './editor-contract'
185
+ // UI kit - shared a11y primitives (focus trap, scroll lock, dismissable layers, live region)
186
+ export {
187
+ FOCUSABLE_SELECTOR,
188
+ getFocusable,
189
+ createFocusTrap,
190
+ type FocusTrap,
191
+ type FocusTrapOptions,
192
+ } from './a11y/focus-trap'
193
+ export { lockScroll, scrollLockDepth } from './a11y/scroll-lock'
194
+ export {
195
+ createDismissableLayer,
196
+ dismissableDepth,
197
+ onScrollOutside,
198
+ type DismissableLayer,
199
+ type DismissableOptions,
200
+ } from './a11y/dismissable'
201
+ export { announce, type AnnounceOptions } from './a11y/live-region'
202
+ // Dialog-overlay core (SvModal / SvDrawer): open -> focus-trap + scroll-lock +
203
+ // Escape/backdrop dismissal -> restore, on the primitives above.
204
+ export { createOverlay, type Overlay, type OverlayConfig, type DialogProps } from './createOverlay.svelte'
205
+ // Tooltip core (SvTooltip): hover/focus open with a show delay, Escape-to-hide,
206
+ // and aria-describedby / role=tooltip wiring. (Toasts are already headless: see
207
+ // the toastStore / toast() exports below.)
208
+ export { createTooltip, type Tooltip, type TooltipConfig, type TooltipAnchorProps, type TooltipProps } from './createTooltip.svelte'
209
+ // Navigation cores: pager (SvPagination), wizard steps (SvStepper), slideshow
210
+ // (SvCarousel). Pagination + stepper are pure/rune-free; carousel owns autoplay.
211
+ export { createPagination, type Pagination, type PaginationConfig } from './createPagination'
212
+ export { createStepper, type Stepper, type StepperConfig, type StepStatus } from './createStepper'
213
+ export { createCarousel, type Carousel, type CarouselConfig } from './createCarousel.svelte'
214
+ // Command palette core (SvCommand): fuzzy filter + roving + hotkey. Pair with
215
+ // createOverlay for the focus-trap/scroll-lock/dismissal lifecycle.
216
+ export { createCommand, type Command, type CommandConfig } from './createCommand.svelte'
217
+ // Schema-driven form core (SvForm): values/errors/touched + validation + submit.
218
+ export { createForm, type Form, type FormConfig, type FormMessages } from './createForm.svelte'
219
+ export { default as SvSegmented, type SegmentedOption } from './SvSegmented.svelte'
220
+ export { default as SvSpinner } from './SvSpinner.svelte'
221
+ export { default as SvLoadingOverlay } from './SvLoadingOverlay.svelte'
222
+ export { default as SvResult } from './SvResult.svelte'
223
+ export { default as SvCollapsible } from './SvCollapsible.svelte'
224
+ export { default as SvStack } from './SvStack.svelte'
225
+ export { default as SvGroup } from './SvGroup.svelte'
226
+ export { default as SvSimpleGrid } from './SvSimpleGrid.svelte'
227
+ // UI kit - typography + display primitives (Pillar C2)
228
+ export { default as SvText } from './SvText.svelte'
229
+ export { default as SvTitle } from './SvTitle.svelte'
230
+ export { default as SvAnchor } from './SvAnchor.svelte'
231
+ export { default as SvBlockquote } from './SvBlockquote.svelte'
232
+ export { default as SvMark } from './SvMark.svelte'
233
+ export { default as SvList } from './SvList.svelte'
234
+ export { default as SvKbd } from './SvKbd.svelte'
235
+ export { default as SvCode } from './SvCode.svelte'
236
+ export { default as SvVisuallyHidden } from './SvVisuallyHidden.svelte'
237
+ export { default as SvAspectRatio } from './SvAspectRatio.svelte'
238
+ // UI kit - custom cell-editor registry (register any component as a grid editor)
239
+ export {
240
+ registerCellEditor,
241
+ getCellEditor,
242
+ hasCellEditor,
243
+ unregisterCellEditor,
244
+ registeredCellEditorTypes,
245
+ defaultEditorProps,
246
+ resolveEditorProps,
247
+ type CellEditorContext,
248
+ type CellEditorRegistration,
249
+ } from './editor-registry'
250
+ export { registerBuiltinEditors } from './builtin-editors'
251
+ // UI kit - shared field chrome (label + hint + error + direction wrapper)
252
+ export { default as SvField } from './SvField.svelte'
253
+ // UI kit - headless cores (state + prop-getters you render yourself, like createSvGrid)
254
+ export {
255
+ createListbox,
256
+ toSelectedArray,
257
+ toSelectedSet,
258
+ type Listbox,
259
+ type ListboxConfig,
260
+ type ListboxValue,
261
+ type ListboxRootProps,
262
+ type OptionProps,
263
+ } from './createListbox.svelte'
264
+ // Selection family cores
265
+ export { createCombobox, type Combobox, type ComboboxConfig, type ComboboxValue } from './createCombobox.svelte'
266
+ export { createDropdownList, type DropdownList, type DropdownListConfig, type DropdownValue } from './createDropdownList.svelte'
267
+ // Shared engine behind the anchored-panel selects (SvMultiSelect / SvTreeSelect /
268
+ // SvGridSelect): open/close, positioning, dismissal, roving active index, ARIA.
269
+ export { createPopoverSelect, type PopoverSelect, type PopoverSelectConfig } from './createPopoverSelect.svelte'
270
+ // Menu family core (SvMenu / SvMenuList / SvContextMenu): roving focus, submenus,
271
+ // keyboard. `MenuItem` also re-exported from SvMenuList for back-compat.
272
+ export { createMenu, type Menu, type MenuConfig, type MenuItemProps } from './createMenu.svelte'
273
+ // Pure roving-focus navigation math shared by the cores above.
274
+ export { enabledIndices, wrapMove } from './list-nav'
275
+ export { createAutocomplete, type Autocomplete, type AutocompleteConfig } from './createAutocomplete.svelte'
276
+ export { createTagsInput, type TagsInput, type TagsInputConfig } from './createTagsInput.svelte'
277
+ export { createCountryInput, type CountryInput, type CountryInputConfig } from './createCountryInput.svelte'
278
+ // Text-input family cores
279
+ export { createNumberInput, type NumberInputConfig, type NumberInputCore } from './createNumberInput.svelte'
280
+ export { createMaskedInput, type MaskedInputConfig, type MaskedInputCore } from './createMaskedInput.svelte'
281
+ export { createPhoneInput, type PhoneInputConfig, type PhoneInputCore, type PhoneParts } from './createPhoneInput.svelte'
282
+ export { createColorInput, normalizeHex, type ColorInputConfig, type ColorInputCore } from './createColorInput.svelte'
283
+ export { createPasswordInput, passwordStrength, STRENGTH_LABELS, type PasswordInputConfig, type PasswordInputCore } from './createPasswordInput.svelte'
284
+ // Buttons & toggles family cores
285
+ export { createToggle, type Toggle, type ToggleConfig, type ToggleButtonProps } from './createToggle.svelte'
286
+ export { createSwitch, type Switch, type SwitchConfig, type SwitchProps } from './createSwitch.svelte'
287
+ export { createCheckbox, type Checkbox, type CheckboxConfig, type CheckboxBoxProps } from './createCheckbox.svelte'
288
+ export { createRadioGroup, type RadioGroup, type RadioGroupConfig, type RadioProps, type RadioGroupProps } from './createRadioGroup.svelte'
289
+ export { createRating, type Rating, type RatingConfig, type RatingFill, type RatingRootProps, type RatingStarProps } from './createRating.svelte'
290
+ // Date & time family cores
291
+ export { createCalendar, normalizeCalendarValue, type Calendar, type CalendarConfig, type CalendarDayState, type CalendarNavDir, type CalendarNameFormat, type DisplayMode } from './createCalendar.svelte'
292
+ export { createTimePicker, parseTimeValue, type TimePicker, type TimePickerConfig, type TimeSelection, type TimeFormat, type DialTick } from './createTimePicker.svelte'
293
+ export { createDateTimePicker, type DateTimePicker, type DateTimePickerConfig, type DropDownDisplayMode, type DateTimeTab } from './createDateTimePicker.svelte'
294
+ // Layout & range family cores
295
+ export { createTabs, type Tabs, type TabsConfig, type TabsOrientation, type TabsActivation } from './createTabs.svelte'
296
+ export { createTree, treeDescendantIds, treeCheckState, moveTreeNode, sortTreeNodes, treeContains, type Tree, type TreeConfig, type TreeRow, type CheckState, type TreeDropPosition } from './createTree.svelte'
297
+ export { createSlider, type Slider, type SliderConfig, type SliderValue, type SliderOrientation, type SliderThumb, type SliderPoint } from './createSlider.svelte'
298
+ export { createGauge, type Gauge, type GaugeConfig, type GaugePoint } from './createGauge.svelte'
299
+ export { createButtonGroup, toGroupArray, type ButtonGroup, type ButtonGroupConfig } from './createButtonGroup.svelte'
300
+ // UI kit - Group B (buttons & toggles)
301
+ export { default as SvButton } from './SvButton.svelte'
302
+ export { default as SvRepeatButton } from './SvRepeatButton.svelte'
303
+ export { default as SvToggleButton } from './SvToggleButton.svelte'
304
+ export { default as SvSwitchButton } from './SvSwitchButton.svelte'
305
+ export { default as SvCheckBox } from './SvCheckBox.svelte'
306
+ export { default as SvRadioGroup, type RadioOption } from './SvRadioGroup.svelte'
307
+ export { default as SvRating } from './SvRating.svelte'
308
+ // UI kit - Group C (text inputs)
309
+ export { default as SvTextInput } from './SvTextInput.svelte'
310
+ export { default as SvTextArea } from './SvTextArea.svelte'
311
+ export { default as SvOtpInput } from './SvOtpInput.svelte'
312
+ export { sanitizeOtp, otpCells, isOtpComplete } from './otp'
313
+ export { default as SvDurationInput } from './SvDurationInput.svelte'
314
+ export { parseDuration, formatDuration } from './duration'
315
+ export { default as SvNumberInput } from './SvNumberInput.svelte'
316
+ export { default as SvPasswordInput } from './SvPasswordInput.svelte'
317
+ export { default as SvMaskedInput } from './SvMaskedInput.svelte'
318
+ export { default as SvPhoneInput } from './SvPhoneInput.svelte'
319
+ export { default as SvColorInput } from './SvColorInput.svelte'
320
+ export { applyMask, unmask, isMaskComplete } from './datetime/mask'
321
+ export { COUNTRIES, COUNTRY_BY_CODE, flagEmoji, phoneDigitsValid, PHONE_NATIONAL_LENGTHS, type Country } from './countries'
322
+ // UI kit - Group D (selection overlays)
323
+ export { default as SvListBox } from './SvListBox.svelte'
324
+ export { default as SvDropDownList } from './SvDropDownList.svelte'
325
+ export { default as SvComboBox } from './SvComboBox.svelte'
326
+ export { default as SvAutoComplete } from './SvAutoComplete.svelte'
327
+ export { default as SvTagsInput } from './SvTagsInput.svelte'
328
+ export { default as SvMultiSelect, type MultiSelectOption } from './SvMultiSelect.svelte'
329
+ export { debounce, type Debounced } from './debounce'
330
+ export { default as SvTreeSelect, type TreeSelectNode } from './SvTreeSelect.svelte'
331
+ export { flattenVisible, findNodePath, branchValues, type FlatRow } from './tree-select'
332
+ export { default as SvGridSelect, type GridSelectColumn } from './SvGridSelect.svelte'
333
+ export { filterGridRows } from './grid-select'
334
+ export { default as SvCountryInput } from './SvCountryInput.svelte'
335
+ export {
336
+ filterOptions,
337
+ groupOptions,
338
+ hasGroups,
339
+ nextTypeaheadIndex,
340
+ createTypeaheadBuffer,
341
+ isTypeaheadKey,
342
+ type ListOption,
343
+ type IndexedOption,
344
+ type OptionGroup,
345
+ } from './list-option'
346
+ export { virtualRange, scrollToIndex, type VirtualRange, type VirtualParams } from './virtual'
347
+ // UI kit - Group E (range & feedback)
348
+ export { default as SvSlider } from './SvSlider.svelte'
349
+ export { default as SvGauge } from './SvGauge.svelte'
350
+ // UI kit - Group F (composite / layout)
351
+ export { default as SvTabs, type TabItem } from './SvTabs.svelte'
352
+ export { default as SvTree, type TreeNode as SvTreeNode } from './SvTree.svelte'
353
+ export { default as SvAccordion, type AccordionItem, type AccordionExpandMode } from './SvAccordion.svelte'
354
+ export { createAccordion, type Accordion, type AccordionConfig } from './createAccordion.svelte'
355
+ export { default as SvSplitter, type SplitterOrientation } from './SvSplitter.svelte'
356
+ export { createSplitter, type Splitter, type SplitterConfig, type SplitterPoint } from './createSplitter.svelte'
357
+ export { default as SvDockLayout } from './SvDockLayout.svelte'
358
+ export { default as SvDockManager, type DockManagerApi, type DockEvent } from './SvDockManager.svelte'
359
+ export {
360
+ dockPane,
361
+ dockTabs,
362
+ dockGroup,
363
+ removePane,
364
+ movePane,
365
+ dockInto,
366
+ reorderPane,
367
+ removeLeaf,
368
+ dockLeafToEdge,
369
+ setActive as dockSetActive,
370
+ setSizes as dockSetSizes,
371
+ normalize as dockNormalize,
372
+ findTabsWithPane,
373
+ allPaneIds,
374
+ type DockNode,
375
+ type DockGroup,
376
+ type DockTabs,
377
+ type DockPane,
378
+ type DockZone,
379
+ } from './dock-model'
380
+ export {
381
+ floatPane,
382
+ dockPaneOnto,
383
+ dockWindowOnto,
384
+ dockPaneToEmptyMain,
385
+ reorderTab,
386
+ autoHideLeaf,
387
+ autoHidePaneToSide,
388
+ pinAutoHidden,
389
+ setAutoHideSize,
390
+ closePane as dockManagerClosePane,
391
+ moveWindow,
392
+ resizeWindow,
393
+ bringToFront,
394
+ setWindowMinimized,
395
+ toggleWindowMaximized,
396
+ closeWindow,
397
+ autoHideWindow,
398
+ toggleMaximizeLeaf,
399
+ findLeafById,
400
+ addPaneToMain,
401
+ resizeGroup as dockManagerResizeGroup,
402
+ setManagerActive,
403
+ locatePane,
404
+ surfaceOfTabs,
405
+ allManagerPaneIds,
406
+ allManagerIds,
407
+ dedupeManagerNodeIds,
408
+ type DockManagerState,
409
+ type FloatWindow,
410
+ type AutoHideEntry,
411
+ type DockSide,
412
+ type PaneLocation,
413
+ } from './dock-manager-model'
414
+ export { default as SvFileUpload, type FileRejection, type FileRejectReason } from './SvFileUpload.svelte'
415
+ export { createFileUpload, fileMatchesAccept, type FileUpload, type FileUploadConfig } from './createFileUpload.svelte'
416
+ // UI kit - overlays (popover / tooltip / modal), sharing the popover.ts positioning + animation
417
+ export { default as SvPopover } from './SvPopover.svelte'
418
+ export { default as SvTooltip } from './SvTooltip.svelte'
419
+ export { default as SvModal } from './SvModal.svelte'
420
+ export { default as SvDrawer } from './SvDrawer.svelte'
421
+ export type DrawerSide = 'right' | 'left' | 'top' | 'bottom'
422
+ export { default as SvToaster } from './SvToaster.svelte'
423
+ export { default as SvBadge } from './SvBadge.svelte'
424
+ export { default as SvSkeleton } from './SvSkeleton.svelte'
425
+ export { default as SvCard } from './SvCard.svelte'
426
+ export { default as SvAlert } from './SvAlert.svelte'
427
+ export { default as SvEmptyState } from './SvEmptyState.svelte'
428
+ export { default as SvDivider } from './SvDivider.svelte'
429
+ export { default as SvChip } from './SvChip.svelte'
430
+ export { default as SvStat } from './SvStat.svelte'
431
+ export { default as SvTimeline, type TimelineItem } from './SvTimeline.svelte'
432
+ export { default as SvSparkline } from './SvSparkline.svelte'
433
+ export { default as SvScrollArea } from './SvScrollArea.svelte'
434
+ export { default as SvAvatarGroup } from './SvAvatarGroup.svelte'
435
+ export { default as SvCommand, type CommandItem } from './SvCommand.svelte'
436
+ export { fuzzyScore, fuzzyMatch } from './fuzzy'
437
+ export { default as SvRichText, type RichTextTool } from './SvRichText.svelte'
438
+ export { default as SvCarousel } from './SvCarousel.svelte'
439
+ export { default as SvTour, type TourStep } from './SvTour.svelte'
440
+ export { default as SvPagination } from './SvPagination.svelte'
441
+ export { paginationRange, type PaginationItem, type PaginationRangeOptions } from './paginate'
442
+ export { default as SvBreadcrumb, type BreadcrumbItem } from './SvBreadcrumb.svelte'
443
+ export { default as SvStepper, type StepItem } from './SvStepper.svelte'
444
+ export { default as SvAvatar } from './SvAvatar.svelte'
445
+ export { avatarInitials, avatarColorHue } from './avatar'
446
+ export { default as SvContextMenu } from './SvContextMenu.svelte'
447
+ export {
448
+ toast,
449
+ dismissToast,
450
+ updateToast,
451
+ clearToasts,
452
+ pauseToast,
453
+ resumeToast,
454
+ toastStore,
455
+ type Toast,
456
+ type ToastVariant,
457
+ type ToastOptions,
458
+ type ToastFn,
459
+ type ToastAction,
460
+ type UpdateToast,
461
+ type PromiseMessages,
462
+ } from './toast-store.svelte'
463
+ export { default as SvMenu, type MenuItem } from './SvMenu.svelte'
464
+ export { default as SvMenuList } from './SvMenuList.svelte'
465
+ export { default as SvMenubar, type MenubarMenu } from './SvMenubar.svelte'
466
+ export { default as SvHoverCard } from './SvHoverCard.svelte'
467
+ export { default as SvPopconfirm } from './SvPopconfirm.svelte'
468
+ export { default as SvNavPane, type NavItem, type NavSection, type NavModule } from './SvNavPane.svelte'
469
+ export { default as SvProgress } from './SvProgress.svelte'
470
+ export { default as SvCircularProgress } from './SvCircularProgress.svelte'
471
+ export { popIn } from './popover'
472
+ export { default as SvForm, type FormField, type FormFieldType, type FormSection, type FormEntry } from './SvForm.svelte'
473
+ export { rules, runRules, isEmptyValue, type Validator, type RuleOptions, type CompareOp } from './validators'
474
+ export { anchoredRect, portalToBody, PANEL_THEME_VARS, type AnchoredRect } from './popover'
475
+ export {
476
+ computePosition,
477
+ autoUpdate,
478
+ parsePlacement,
479
+ type Placement,
480
+ type Side,
481
+ type Align,
482
+ type Rect,
483
+ type Viewport,
484
+ type ComputePositionOptions,
485
+ type ComputePositionResult,
486
+ } from './positioning'
487
+ export {
488
+ toDate, startOfDay, startOfWeek, startOfMonth, addDays, addMonths, addYears, clampDate, isSameDay,
489
+ monthMatrix, weekdayOrder, isoWeek, decadeRange, withTime, snapMinute, type DateLike,
490
+ } from './datetime/date-core'
491
+ export { formatDate, parseDate, tokenizeMask } from './datetime/date-format'
492
+ export { toICS, fromICS, ruleToRRule, rruleToRule, type ICalEvent } from './scheduler-ical'
493
+ export {
494
+ zoneParts, zoneOffsetMs, toZonedLocal, fromZonedLocal, instantFromWallClock, zoneAbbr, normalizeTimeZone,
495
+ type ZoneParts,
496
+ } from './datetime/timezone'
497
+ export {
498
+ selectDate, rangeDays, isSelected, isMultiSelectMode, emptySelection,
499
+ type SelectionMode, type SelectionState,
500
+ } from './datetime/date-selection'
501
+ export {
502
+ isDisabledDay, isOutOfRange, isRestricted, isImportant, type RestrictOptions,
503
+ } from './datetime/date-restrict'
504
+ export { default as FlexRender } from './FlexRender.svelte'
505
+ export { renderComponent, renderSnippet } from './render-component'
506
+ export { default as SvGridChart } from './SvGridChart.svelte'
507
+ export { default as SvGridChartPanel } from './SvGridChartPanel.svelte'
508
+ // Preferred names for the standalone chart primitives. `SvChart` is a genuine
509
+ // standalone component (spec-driven, no grid needed), so it sits alongside its
510
+ // unprefixed siblings SvGauge / SvSparkline. The `SvGrid*` names remain exported
511
+ // as aliases so existing imports keep working.
512
+ export { default as SvChart } from './SvGridChart.svelte'
513
+ export { default as SvChartPanel } from './SvGridChartPanel.svelte'
514
+ export type { ChartingConfig, ChartAggregateRequest, ChartAggregateBucket } from './SvGrid.types'
515
+ export type { GridLocalization } from './SvGrid.types'
516
+ export {
517
+ buildChart,
518
+ formatChartValue,
519
+ rowsToChartSpec,
520
+ niceScale,
521
+ niceLogScale,
522
+ linearTrend,
523
+ simpleMovingAverage,
524
+ exponentialMovingAverage,
525
+ computeOverlay,
526
+ buildLinePath,
527
+ sampleGradient,
528
+ pickContrastText,
529
+ DEFAULT_PALETTE,
530
+ type ChartType,
531
+ type ChartSpec,
532
+ type ChartSeries,
533
+ type ChartGeometry,
534
+ type ChartBar,
535
+ type ChartLine,
536
+ type ChartLinePoint,
537
+ type ChartPieSlice,
538
+ type ChartSelection,
539
+ type ChartReferenceLine,
540
+ type ChartRefLineGeo,
541
+ type ChartRefLineGeoV,
542
+ type ChartScatterDot,
543
+ type ScatterPoint,
544
+ type NiceScale,
545
+ type SeriesOverlay,
546
+ type SeriesPattern,
547
+ type ChartAnnotation,
548
+ type ChartHeatmapCell,
549
+ type ChartFunnelSegment,
550
+ type ChartRadarSeries,
551
+ type ChartRadarAxis,
552
+ type ChartTreemapCell,
553
+ type ChartCalendarCell,
554
+ type ChartGaugeLayout,
555
+ type ChartSankeyNode,
556
+ type ChartSankeyLink,
557
+ type ChartValueFormat,
558
+ type TreeNode,
559
+ } from './chart'
560
+ export {
561
+ chartToSvgString,
562
+ downloadChartSvg,
563
+ chartToPngBlob,
564
+ downloadChartPng,
565
+ chartSpecToCsv,
566
+ downloadChartCsv,
567
+ type ChartExportOptions,
568
+ } from './chart-export'
569
+ export {
570
+ buildSparkline,
571
+ toSparklineValues,
572
+ type SparklineConfig,
573
+ type SparklineType,
574
+ type SparklineGeometry,
575
+ } from './sparkline'
576
+ export {
577
+ spreadsheetLayout,
578
+ spansToMerges,
579
+ type SpanColumn,
580
+ type SpreadsheetActionOptions,
581
+ type MergeSpec,
582
+ type CellBorderSpec,
583
+ type BorderSpec,
584
+ } from './spreadsheet'
585
+ export { rowResize, type RowResizeOptions } from './row-resize'
586
+ export { rowDropZone, type RowDragEndEvent, type RowDropZoneOptions } from './row-drag'
587
+ export { resolveColumnTypes, inferCellDataType, type CellDataType } from './column-types'
588
+ export {
589
+ computeColumnGroupMeta,
590
+ hiddenLeavesForCollapse,
591
+ type ColumnGroupMeta,
592
+ type ColumnGroupShow,
593
+ } from './column-groups'
594
+ export {
595
+ createHyperFormulaSheet,
596
+ type HyperFormulaSheet,
597
+ type HyperFormulaSheetConfig,
598
+ type HyperFormulaInstance,
599
+ } from './hyperformula-adapter'
600
+ export {
601
+ createCollaboration,
602
+ broadcastChannelTransport,
603
+ type CollabUser,
604
+ type CollabCell,
605
+ type CollabPresence,
606
+ type CollabMessage,
607
+ type CollabTransport,
608
+ type Collaboration,
609
+ } from './collaboration'
610
+ export {
611
+ createServerDataSource,
612
+ type ServerDataSource,
613
+ type ServerRequest,
614
+ type ServerResult,
615
+ type ServerController,
616
+ type ServerState,
617
+ type ServerSortModel,
618
+ type ServerFilterModel,
619
+ type ServerAggregation,
620
+ type ServerGroupRow,
621
+ type ServerLeafRow,
622
+ type ServerMoreRow,
623
+ type ServerFooterRow,
624
+ type ServerSkeletonRow,
625
+ type ServerDisplayRow,
626
+ } from './server-data-source'
627
+ export {
628
+ createServerGroupModel,
629
+ serverGroupRows,
630
+ serverGroupNav,
631
+ type ServerGroupController,
632
+ type ServerGroupControllerOptions,
633
+ type ServerGroupState,
634
+ type ServerGroupGridRow,
635
+ } from './server-group-model'
636
+ export { default as SvGroupCell } from './SvGroupCell.svelte'
637
+ export { default as SvRowGroupPanel } from './SvRowGroupPanel.svelte'
638
+ export {
639
+ createNamedViews,
640
+ memoryViews,
641
+ localStorageViews,
642
+ attachAutoSavedView,
643
+ type SavedView,
644
+ type ViewStorage,
645
+ type NamedViews,
646
+ type AutoSavedViewOptions,
647
+ } from './named-views'
648
+ export {
649
+ resolveCellFormat,
650
+ computeColumnStat,
651
+ lerpColor,
652
+ rgba,
653
+ contrastText,
654
+ formatNeedsStats,
655
+ formatsNeedingStats,
656
+ type ConditionalFormat,
657
+ type ConditionalFormatSpec,
658
+ type ColorScaleFormat,
659
+ type ColorScaleStop,
660
+ type ScaleBounds,
661
+ type DataBarFormat,
662
+ type IconSetFormat,
663
+ type RuleFormat,
664
+ type ResolvedCellFormat,
665
+ } from './conditional-formatting'
666
+ export {
667
+ defaultGridMessages,
668
+ resolveGridMessages,
669
+ type GridMessages,
670
+ } from './grid-messages'
671
+ export {
672
+ insertGroupFooters,
673
+ buildAutoGroupColumns,
674
+ type GroupDisplayType,
675
+ type GroupFooterOptions,
676
+ type AutoGroupColumnSpec,
677
+ type AutoGroupResult,
678
+ } from './group-display'
679
+ export { getKeyboardIntent, getNextActiveCell, type GridKeyboardIntent } from './keyboard'
680
+ export { createVirtualizer } from './virtualization/virtualizer'
681
+ export { createSvelteVirtualizer } from './virtualization/svelte-virtualizer.svelte'
682
+ export { createColumnVirtualizer } from './virtualization/column-virtualizer'
683
+ export type { VirtualItem, VirtualizerOptions, VirtualizerState } from './virtualization/types'
684
+ export type { SvGridApi, SvGridFilterOperator, SvGridWrapperProps } from './svgrid-wrapper.types'
685
+ export {
686
+ parseEditorValue,
687
+ normalizeEditorOptions,
688
+ type CellEditorType,
689
+ type CellEditorOption,
690
+ } from './editors/cell-editors'
691
+ export {
692
+ applyExcelFilter,
693
+ normalizeForFilter,
694
+ splitInTokens,
695
+ joinInTokens,
696
+ trailingInToken,
697
+ type ExcelFilter,
698
+ type ExcelFilterOperator,
699
+ type ExcelFilterOptions,
700
+ } from './filtering/excel-filters'
701
+ export {
702
+ getGridCellDomId,
703
+ getGridCellA11yProps,
704
+ getGridHeaderA11yProps,
705
+ getGridRootA11yProps,
706
+ getGridRowA11yProps,
707
+ type GridCellA11yInput,
708
+ type GridColumnA11yInput,
709
+ type GridSortDirection,
710
+ } from './a11y'
711
+
712
+ /**
713
+ * Compatibility alias for teams migrating from `createTable`.
714
+ */
715
+ export { createSvGrid as createTable } from './createGrid.svelte'