@svgrid/grid 2.6.16 → 2.6.18

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 (212) hide show
  1. package/dist/DockNodeView.svelte.d.ts +1 -1
  2. package/dist/DockPopoutHost.svelte.d.ts +1 -1
  3. package/dist/FlexRender.svelte.d.ts +1 -1
  4. package/dist/GridFooter.svelte +6 -3
  5. package/dist/GridFooter.svelte.d.ts +3 -3
  6. package/dist/GridMenus.svelte.d.ts +3 -3
  7. package/dist/SvAccordion.svelte.d.ts +3 -3
  8. package/dist/SvAutoComplete.svelte.d.ts +2 -2
  9. package/dist/SvBreadcrumb.svelte.d.ts +2 -2
  10. package/dist/SvButtonGroup.svelte.d.ts +3 -3
  11. package/dist/SvCalendar.svelte.d.ts +7 -7
  12. package/dist/SvCarousel.svelte.d.ts +1 -1
  13. package/dist/SvCheckBox.svelte.d.ts +1 -1
  14. package/dist/SvColorInput.svelte.d.ts +1 -1
  15. package/dist/SvComboBox.svelte.d.ts +2 -2
  16. package/dist/SvCommand.svelte.d.ts +2 -2
  17. package/dist/SvCountryInput.svelte.d.ts +1 -1
  18. package/dist/SvDateRangeInput.svelte.d.ts +3 -3
  19. package/dist/SvDateTimePicker.svelte.d.ts +4 -4
  20. package/dist/SvDockLayout.svelte.d.ts +2 -2
  21. package/dist/SvDockManager.svelte.d.ts +2 -2
  22. package/dist/SvDropDownList.svelte.d.ts +2 -2
  23. package/dist/SvDurationInput.svelte.d.ts +1 -1
  24. package/dist/SvField.svelte.d.ts +1 -1
  25. package/dist/SvFileUpload.svelte.d.ts +3 -3
  26. package/dist/SvForm.svelte.d.ts +4 -4
  27. package/dist/SvGauge.svelte.d.ts +1 -1
  28. package/dist/SvGrid.controller.svelte.d.ts +28 -28
  29. package/dist/SvGrid.controller.svelte.js +117 -45
  30. package/dist/SvGrid.css +42 -2
  31. package/dist/SvGrid.helpers.d.ts +2 -2
  32. package/dist/SvGrid.svelte.d.ts +3 -3
  33. package/dist/SvGrid.types.d.ts +28 -7
  34. package/dist/SvGridCellEditor.svelte.d.ts +2 -2
  35. package/dist/SvGridChart.svelte.d.ts +1 -1
  36. package/dist/SvGridChartPanel.svelte.d.ts +2 -2
  37. package/dist/SvGridChartView.svelte.d.ts +1 -1
  38. package/dist/SvGridDropdown.svelte.d.ts +1 -1
  39. package/dist/SvGridSelect.svelte.d.ts +4 -4
  40. package/dist/SvGroupCell.svelte.d.ts +1 -1
  41. package/dist/SvHoverCard.svelte.d.ts +1 -1
  42. package/dist/SvListBox.svelte.d.ts +2 -2
  43. package/dist/SvMaskedInput.svelte.d.ts +1 -1
  44. package/dist/SvMenu.svelte.d.ts +1 -1
  45. package/dist/SvMenuList.svelte.d.ts +3 -3
  46. package/dist/SvMenubar.svelte.d.ts +3 -3
  47. package/dist/SvMultiSelect.svelte.d.ts +3 -3
  48. package/dist/SvNavPane.svelte.d.ts +1 -1
  49. package/dist/SvNumberInput.svelte.d.ts +1 -1
  50. package/dist/SvOtpInput.svelte.d.ts +1 -1
  51. package/dist/SvPasswordInput.svelte.d.ts +1 -1
  52. package/dist/SvPhoneInput.svelte.d.ts +2 -2
  53. package/dist/SvPopconfirm.svelte.d.ts +1 -1
  54. package/dist/SvPopover.svelte.d.ts +1 -1
  55. package/dist/SvRadioGroup.svelte.d.ts +3 -3
  56. package/dist/SvRating.svelte.d.ts +1 -1
  57. package/dist/SvSegmented.svelte.d.ts +3 -3
  58. package/dist/SvSlider.svelte.d.ts +1 -1
  59. package/dist/SvSparkline.svelte.d.ts +1 -1
  60. package/dist/SvSplitter.svelte.d.ts +3 -3
  61. package/dist/SvStepper.svelte.d.ts +2 -2
  62. package/dist/SvSwitchButton.svelte.d.ts +1 -1
  63. package/dist/SvTabs.svelte.d.ts +3 -3
  64. package/dist/SvTagsInput.svelte.d.ts +1 -1
  65. package/dist/SvTextArea.svelte.d.ts +1 -1
  66. package/dist/SvTextInput.svelte.d.ts +1 -1
  67. package/dist/SvTimePicker.svelte.d.ts +3 -3
  68. package/dist/SvTimeline.svelte.d.ts +2 -2
  69. package/dist/SvToggleButton.svelte.d.ts +1 -1
  70. package/dist/SvTooltip.svelte.d.ts +1 -1
  71. package/dist/SvTour.svelte.d.ts +3 -3
  72. package/dist/SvTree.svelte.d.ts +3 -3
  73. package/dist/SvTreeSelect.svelte.d.ts +3 -3
  74. package/dist/advanced-filter.svelte.d.ts +1 -1
  75. package/dist/ai.d.ts +1 -1
  76. package/dist/ai.js +1 -1
  77. package/dist/build-api.d.ts +2 -2
  78. package/dist/build-api.js +8 -8
  79. package/dist/builtin-editors.js +1 -1
  80. package/dist/cdn/{GridMenus-CPdy5dxw.js → GridMenus-B0F9iBrG.js} +1 -1
  81. package/dist/cdn/{GridMenus-BLajq_RP.js → GridMenus-IHK_l7m6.js} +1 -1
  82. package/dist/cdn/{src-CKpl94Cx.js → src-B1TdiyS8.js} +272 -270
  83. package/dist/cdn/{src-ogpR-lHu.js → src-Cd0tearp.js} +272 -270
  84. package/dist/cdn/svgrid.js +2 -2
  85. package/dist/cdn/svgrid.svelte-external.js +2 -2
  86. package/dist/cell-render.d.ts +3 -3
  87. package/dist/cell-render.js +6 -6
  88. package/dist/cell-values.d.ts +1 -1
  89. package/dist/cell-values.js +1 -1
  90. package/dist/chart-export.d.ts +1 -1
  91. package/dist/clipboard.d.ts +2 -2
  92. package/dist/clipboard.js +5 -5
  93. package/dist/column-groups.js +1 -1
  94. package/dist/columns.d.ts +2 -2
  95. package/dist/columns.js +1 -1
  96. package/dist/core.d.ts +1 -1
  97. package/dist/core.js +1 -1
  98. package/dist/createAutocomplete.svelte.d.ts +1 -1
  99. package/dist/createAutocomplete.svelte.js +2 -2
  100. package/dist/createButtonGroup.svelte.js +1 -1
  101. package/dist/createCalendar.svelte.d.ts +4 -4
  102. package/dist/createCalendar.svelte.js +4 -4
  103. package/dist/createCarousel.svelte.d.ts +1 -1
  104. package/dist/createCheckbox.svelte.js +1 -1
  105. package/dist/createColorInput.svelte.js +1 -1
  106. package/dist/createCombobox.svelte.d.ts +1 -1
  107. package/dist/createCombobox.svelte.js +2 -2
  108. package/dist/createCommand.svelte.d.ts +1 -1
  109. package/dist/createCommand.svelte.js +2 -2
  110. package/dist/createCountryInput.svelte.d.ts +1 -1
  111. package/dist/createCountryInput.svelte.js +2 -2
  112. package/dist/createDateTimePicker.svelte.d.ts +1 -1
  113. package/dist/createDateTimePicker.svelte.js +3 -3
  114. package/dist/createDropdownList.svelte.d.ts +1 -1
  115. package/dist/createDropdownList.svelte.js +2 -2
  116. package/dist/createFileUpload.svelte.js +1 -1
  117. package/dist/createForm.svelte.d.ts +1 -1
  118. package/dist/createForm.svelte.js +2 -2
  119. package/dist/createGrid.svelte.d.ts +1 -1
  120. package/dist/createGrid.svelte.js +1 -1
  121. package/dist/createGridState.svelte.d.ts +1 -1
  122. package/dist/createListbox.svelte.d.ts +1 -1
  123. package/dist/createListbox.svelte.js +2 -2
  124. package/dist/createMaskedInput.svelte.js +2 -2
  125. package/dist/createMenu.svelte.d.ts +2 -2
  126. package/dist/createMenu.svelte.js +2 -2
  127. package/dist/createNumberInput.svelte.js +1 -1
  128. package/dist/createOverlay.svelte.js +3 -3
  129. package/dist/createPagination.d.ts +1 -1
  130. package/dist/createPagination.js +1 -1
  131. package/dist/createPasswordInput.svelte.js +1 -1
  132. package/dist/createPhoneInput.svelte.js +3 -3
  133. package/dist/createPopoverSelect.svelte.d.ts +1 -1
  134. package/dist/createPopoverSelect.svelte.js +3 -3
  135. package/dist/createRadioGroup.svelte.js +1 -1
  136. package/dist/createRating.svelte.js +1 -1
  137. package/dist/createSlider.svelte.js +1 -1
  138. package/dist/createSwitch.svelte.js +1 -1
  139. package/dist/createTabs.svelte.d.ts +1 -1
  140. package/dist/createTagsInput.svelte.js +1 -1
  141. package/dist/createToggle.svelte.js +1 -1
  142. package/dist/createTooltip.svelte.js +1 -1
  143. package/dist/createTree.svelte.d.ts +1 -1
  144. package/dist/datetime/date-restrict.d.ts +1 -1
  145. package/dist/datetime/date-restrict.js +1 -1
  146. package/dist/datetime/date-selection.js +1 -1
  147. package/dist/dock-context.d.ts +1 -1
  148. package/dist/dock-manager-model.d.ts +1 -1
  149. package/dist/dock-manager-model.js +1 -1
  150. package/dist/dock-popout.d.ts +1 -1
  151. package/dist/dock-popout.js +1 -1
  152. package/dist/editing.d.ts +2 -2
  153. package/dist/editing.js +5 -5
  154. package/dist/editor-registry.d.ts +1 -1
  155. package/dist/editors/cell-editors.js +1 -1
  156. package/dist/export-format.d.ts +2 -2
  157. package/dist/export-format.js +2 -2
  158. package/dist/export-provider.d.ts +1 -1
  159. package/dist/facet-buckets.d.ts +1 -1
  160. package/dist/facet-buckets.js +1 -1
  161. package/dist/features.d.ts +2 -2
  162. package/dist/features.js +2 -2
  163. package/dist/filter-operators.d.ts +2 -2
  164. package/dist/filter-operators.js +1 -1
  165. package/dist/form-field.d.ts +1 -1
  166. package/dist/grid-messages.js +1 -1
  167. package/dist/headless.d.ts +11 -4
  168. package/dist/headless.js +11 -4
  169. package/dist/index.d.ts +120 -120
  170. package/dist/index.js +111 -111
  171. package/dist/keyboard-handlers.d.ts +2 -2
  172. package/dist/keyboard-handlers.js +2 -2
  173. package/dist/keyboard.d.ts +1 -1
  174. package/dist/menus.d.ts +3 -3
  175. package/dist/menus.js +3 -3
  176. package/dist/named-views.d.ts +1 -1
  177. package/dist/pivot-view.svelte.d.ts +1 -1
  178. package/dist/recurrence.d.ts +1 -1
  179. package/dist/recurrence.js +1 -1
  180. package/dist/row-drag.js +1 -1
  181. package/dist/scheduler-ical.d.ts +1 -1
  182. package/dist/scheduler-model.d.ts +3 -3
  183. package/dist/scheduler-model.js +2 -2
  184. package/dist/scroll-sync.d.ts +2 -2
  185. package/dist/scroll-sync.js +1 -1
  186. package/dist/selection.d.ts +2 -2
  187. package/dist/selection.js +3 -3
  188. package/dist/server-data-source.d.ts +1 -1
  189. package/dist/server-group-model.d.ts +1 -1
  190. package/dist/static-functions.d.ts +1 -1
  191. package/dist/static-functions.js +1 -1
  192. package/dist/subscribe.d.ts +1 -1
  193. package/dist/summaries.d.ts +2 -2
  194. package/dist/summaries.js +3 -3
  195. package/dist/svgrid-wrapper.types.d.ts +5 -5
  196. package/dist/themes/index.d.ts +3 -1
  197. package/dist/themes/index.js +4 -2
  198. package/dist/toast-store.svelte.js +1 -1
  199. package/dist/tree-select.d.ts +1 -1
  200. package/dist/virtualization/column-virtualizer.d.ts +3 -3
  201. package/dist/virtualization/column-virtualizer.js +1 -1
  202. package/dist/virtualization/svelte-virtualizer.svelte.d.ts +3 -3
  203. package/dist/virtualization/svelte-virtualizer.svelte.js +1 -1
  204. package/dist/virtualization/virtualizer.d.ts +1 -1
  205. package/package.json +14 -2
  206. package/src/GridFooter.svelte +6 -3
  207. package/src/SvGrid.controller.svelte.ts +90 -14
  208. package/src/SvGrid.css +42 -2
  209. package/src/SvGrid.types.ts +21 -0
  210. package/src/headless.ts +7 -0
  211. package/src/svgrid.behavior.test.ts +208 -0
  212. package/src/themes/index.ts +4 -2
@@ -1,4 +1,4 @@
1
- import { type DockNode } from './dock-model';
1
+ import { type DockNode } from './dock-model.js';
2
2
  type $$ComponentProps = {
3
3
  node: DockNode;
4
4
  };
@@ -4,7 +4,7 @@
4
4
  * shows the exact same content as the docked view.
5
5
  */
6
6
  import type { Snippet } from 'svelte';
7
- import type { DockPane } from './dock-model';
7
+ import type { DockPane } from './dock-model.js';
8
8
  type $$ComponentProps = {
9
9
  pane: Snippet<[DockPane]>;
10
10
  paneData: DockPane;
@@ -1,4 +1,4 @@
1
- import type { Cell, CellContext, ColumnDefTemplate, Header, HeaderContext, RowData } from './core';
1
+ import type { Cell, CellContext, ColumnDefTemplate, Header, HeaderContext, RowData } from './core.js';
2
2
  declare function $$render<TData extends RowData>(): {
3
3
  props: {
4
4
  content?: ColumnDefTemplate<HeaderContext<TData> | CellContext<TData>>;
@@ -117,9 +117,12 @@
117
117
  onChange={(v) => setPageSize(Number(v))}
118
118
  />
119
119
  {:else}
120
- <!-- Mirrors SvGridDropdown's closed trigger exactly (same classes,
121
- same ARIA) so there is no visual change and no layout shift
122
- when the real component swaps in. -->
120
+ <!-- Mirrors SvGridDropdown's closed trigger (same classes, same
121
+ ARIA). Its box styling comes from the global
122
+ .sv-grid-pagination-pagesize-dd rules in SvGrid.css, NOT from
123
+ SvGridDropdown's scoped styles (those only exist once the chunk
124
+ loads) - so keep the two in step or the placeholder renders as
125
+ a stock <button> until the first click. -->
123
126
  <div class="sv-grid-dropdown">
124
127
  <button
125
128
  type="button"
@@ -1,6 +1,6 @@
1
- import { type RowData, type TableFeatures } from "./index";
2
- import "./sv-grid-scrollbar";
3
- import type { SvGridController } from "./SvGrid.controller.svelte";
1
+ import { type RowData, type TableFeatures } from "./index.js";
2
+ import "./sv-grid-scrollbar.js";
3
+ import type { SvGridController } from "./SvGrid.controller.svelte.js";
4
4
  declare function $$render<TFeatures extends TableFeatures = TableFeatures, TData extends RowData = RowData>(): {
5
5
  props: {
6
6
  ctrl: SvGridController<TFeatures, TData>;
@@ -1,7 +1,7 @@
1
- import { type RowData, type TableFeatures } from "./index";
2
- import "./sv-grid-scrollbar";
1
+ import { type RowData, type TableFeatures } from "./index.js";
2
+ import "./sv-grid-scrollbar.js";
3
3
  import type { Snippet } from "svelte";
4
- import type { SvGridController } from "./SvGrid.controller.svelte";
4
+ import type { SvGridController } from "./SvGrid.controller.svelte.js";
5
5
  declare function $$render<TFeatures extends TableFeatures = TableFeatures, TData extends RowData = RowData>(): {
6
6
  props: {
7
7
  ctrl: SvGridController<TFeatures, TData>;
@@ -1,4 +1,4 @@
1
- export type { AccordionItem, AccordionExpandMode } from './createAccordion.svelte';
1
+ export type { AccordionItem, AccordionExpandMode } from './createAccordion.svelte.js';
2
2
  /**
3
3
  * SvAccordion - a WAI-ARIA accordion (collapsible sections) with single- or
4
4
  * multiple-expand and roving header focus (Up/Down/Home/End). Parity: Smart
@@ -9,8 +9,8 @@ export type { AccordionItem, AccordionExpandMode } from './createAccordion.svelt
9
9
  * core; this component is one styled renderer over it.
10
10
  */
11
11
  import type { Snippet } from 'svelte';
12
- import { type EditorDir } from './editor-contract';
13
- import { type AccordionItem, type AccordionExpandMode } from './createAccordion.svelte';
12
+ import { type EditorDir } from './editor-contract.js';
13
+ import { type AccordionItem, type AccordionExpandMode } from './createAccordion.svelte.js';
14
14
  type Props = {
15
15
  items: ReadonlyArray<AccordionItem>;
16
16
  /** Expanded item ids (controlled). */
@@ -1,5 +1,5 @@
1
- import { type ListOption } from './list-option';
2
- import { type SvEditorProps } from './editor-contract';
1
+ import { type ListOption } from './list-option.js';
2
+ import { type SvEditorProps } from './editor-contract.js';
3
3
  type Props = SvEditorProps & {
4
4
  value?: string;
5
5
  onChange?: (value: string) => void;
@@ -1,4 +1,4 @@
1
- export type { BreadcrumbItem } from './ui-app.types';
1
+ export type { BreadcrumbItem } from './ui-app.types.js';
2
2
  /**
3
3
  * SvBreadcrumb - a navigation trail. Each item is a link (`href`), a button
4
4
  * (`onClick`), or plain text; the last item is the current page and is never
@@ -9,7 +9,7 @@ export type { BreadcrumbItem } from './ui-app.types';
9
9
  * <SvBreadcrumb items={[{label:'Home', href:'/'}, {label:'Orders', href:'/orders'}, {label:'#1024'}]} />
10
10
  * ```
11
11
  */
12
- import type { BreadcrumbItem } from './ui-app.types';
12
+ import type { BreadcrumbItem } from './ui-app.types.js';
13
13
  type Props = {
14
14
  items: ReadonlyArray<BreadcrumbItem>;
15
15
  /** Separator between crumbs. Default a chevron. */
@@ -1,6 +1,6 @@
1
- export type { ButtonGroupItem, ButtonGroupMode, ButtonGroupValue } from './createButtonGroup.svelte';
2
- import { type SvEditorProps } from './editor-contract';
3
- import { type ButtonGroupItem, type ButtonGroupMode, type ButtonGroupValue } from './createButtonGroup.svelte';
1
+ export type { ButtonGroupItem, ButtonGroupMode, ButtonGroupValue } from './createButtonGroup.svelte.js';
2
+ import { type SvEditorProps } from './editor-contract.js';
3
+ import { type ButtonGroupItem, type ButtonGroupMode, type ButtonGroupValue } from './createButtonGroup.svelte.js';
4
4
  type Props = SvEditorProps & {
5
5
  items: ReadonlyArray<ButtonGroupItem>;
6
6
  value?: ButtonGroupValue;
@@ -1,4 +1,4 @@
1
- export type { CalendarValue, CalendarPreset, CalendarAnimation, DisplayMode } from './createCalendar.svelte';
1
+ export type { CalendarValue, CalendarPreset, CalendarAnimation, DisplayMode } from './createCalendar.svelte.js';
2
2
  /**
3
3
  * SvCalendar - a themeable, accessible month/year/decade calendar. It is a thin
4
4
  * styled renderer over the headless `createCalendar` core (the same split as
@@ -11,12 +11,12 @@ export type { CalendarValue, CalendarPreset, CalendarAnimation, DisplayMode } fr
11
11
  * important dates, week numbers, firstDayOfWeek, drill navigation, keyboard).
12
12
  */
13
13
  import { type Snippet } from 'svelte';
14
- import { type EditorDir, type EditorSize } from './editor-contract';
15
- import { type CalendarValue, type CalendarPreset, type CalendarAnimation, type CalendarDayState, type DisplayMode } from './createCalendar.svelte';
16
- import type { SelectionMode } from './datetime/date-selection';
17
- import type { RestrictOptions } from './datetime/date-restrict';
18
- import type { DateLike } from './datetime/date-core';
19
- import type { RecurrenceRule } from './recurrence';
14
+ import { type EditorDir, type EditorSize } from './editor-contract.js';
15
+ import { type CalendarValue, type CalendarPreset, type CalendarAnimation, type CalendarDayState, type DisplayMode } from './createCalendar.svelte.js';
16
+ import type { SelectionMode } from './datetime/date-selection.js';
17
+ import type { RestrictOptions } from './datetime/date-restrict.js';
18
+ import type { DateLike } from './datetime/date-core.js';
19
+ import type { RecurrenceRule } from './recurrence.js';
20
20
  type NameFormat = 'narrow' | 'short' | 'long';
21
21
  /** User-facing strings (localizable via `messages`). */
22
22
  type CalendarMessages = {
@@ -11,7 +11,7 @@
11
11
  * ```
12
12
  */
13
13
  import type { Snippet } from 'svelte';
14
- import { type EditorDir } from './editor-contract';
14
+ import { type EditorDir } from './editor-contract.js';
15
15
  type Props = {
16
16
  count: number;
17
17
  slide?: Snippet<[number]>;
@@ -3,7 +3,7 @@
3
3
  * label. Parity: Smart `smart-check-box`. Controlled via `checked` + `onChange`.
4
4
  */
5
5
  import type { Snippet } from 'svelte';
6
- import { type SvEditorProps } from './editor-contract';
6
+ import { type SvEditorProps } from './editor-contract.js';
7
7
  type Props = SvEditorProps & {
8
8
  checked?: boolean;
9
9
  indeterminate?: boolean;
@@ -1,4 +1,4 @@
1
- import { type SvEditorProps } from './editor-contract';
1
+ import { type SvEditorProps } from './editor-contract.js';
2
2
  /** User-facing strings for the color popover (localizable via `messages`). */
3
3
  type ColorMessages = {
4
4
  dialog: string;
@@ -1,5 +1,5 @@
1
- import { type ListOption } from './list-option';
2
- import { type SvEditorProps } from './editor-contract';
1
+ import { type ListOption } from './list-option.js';
2
+ import { type SvEditorProps } from './editor-contract.js';
3
3
  import type { Snippet } from 'svelte';
4
4
  /** User-facing strings (localizable via `messages`). */
5
5
  type ComboMessages = {
@@ -1,4 +1,4 @@
1
- export type { CommandItem } from './ui-app.types';
1
+ export type { CommandItem } from './ui-app.types.js';
2
2
  /**
3
3
  * SvCommand - a ⌘K command palette: a fuzzy-searchable list of actions in a
4
4
  * centered, focus-trapped dialog. Built on the shared primitives (portal +
@@ -10,7 +10,7 @@ export type { CommandItem } from './ui-app.types';
10
10
  * <SvCommand commands={cmds} onRun={(c) => run(c)} /> // Cmd/Ctrl+K opens it
11
11
  * ```
12
12
  */
13
- import type { CommandItem } from './ui-app.types';
13
+ import type { CommandItem } from './ui-app.types.js';
14
14
  type Props = {
15
15
  open?: boolean;
16
16
  onClose?: () => void;
@@ -1,4 +1,4 @@
1
- import { type SvEditorProps } from './editor-contract';
1
+ import { type SvEditorProps } from './editor-contract.js';
2
2
  /** User-facing strings (localizable via `messages`). */
3
3
  type CountryMessages = {
4
4
  search: string;
@@ -1,7 +1,7 @@
1
1
  export type DateRangeValue = [Date, Date] | null;
2
- import { type SvEditorProps } from './editor-contract';
3
- import { type DateLike } from './datetime/date-core';
4
- import type { CalendarPreset } from './createCalendar.svelte';
2
+ import { type SvEditorProps } from './editor-contract.js';
3
+ import { type DateLike } from './datetime/date-core.js';
4
+ import type { CalendarPreset } from './createCalendar.svelte.js';
5
5
  /** User-facing strings (localizable via `messages`). */
6
6
  type RangeMessages = {
7
7
  dialog: string;
@@ -1,7 +1,7 @@
1
- export type { DateTimeValue } from './createDateTimePicker.svelte';
2
- import { type SvEditorProps } from './editor-contract';
3
- import { type DateTimeValue, type DropDownDisplayMode } from './createDateTimePicker.svelte';
4
- import type { DateLike } from './datetime/date-core';
1
+ export type { DateTimeValue } from './createDateTimePicker.svelte.js';
2
+ import { type SvEditorProps } from './editor-contract.js';
3
+ import { type DateTimeValue, type DropDownDisplayMode } from './createDateTimePicker.svelte.js';
4
+ import type { DateLike } from './datetime/date-core.js';
5
5
  /** User-facing strings (localizable via `messages`). */
6
6
  type DateTimeMessages = {
7
7
  dialog: string;
@@ -19,7 +19,7 @@
19
19
  * </SvDockLayout>
20
20
  */
21
21
  import { type Snippet } from 'svelte';
22
- import { type DockNode, type DockPane, type DockZone } from './dock-model';
22
+ import { type DockNode, type DockPane, type DockZone } from './dock-model.js';
23
23
  type Props = {
24
24
  /** The layout tree. Bindable - every dock/resize/close writes a new tree. */
25
25
  layout: DockNode;
@@ -52,7 +52,7 @@ type Props = {
52
52
  } | null;
53
53
  /** Stack-header controls for a leaf (maximize / float / pop-out), rendered
54
54
  * by the manager once per leaf at the right of its tab strip. */
55
- leafActions?: Snippet<[import('./dock-model').DockTabs]>;
55
+ leafActions?: Snippet<[import('./dock-model.js').DockTabs]>;
56
56
  /** Manager mode: route tab activation to the parent (controlled). */
57
57
  onActivate?: (tabsId: string, index: number) => void;
58
58
  /** Manager mode: route pane close to the parent (controlled). */
@@ -22,8 +22,8 @@
22
22
  * <SvDockManager bind:workspace>{#snippet pane(p)} ... {/snippet}</SvDockManager>
23
23
  */
24
24
  import { type Snippet } from 'svelte';
25
- import type { DockPane } from './dock-model';
26
- import { type DockManagerState, type DockSide } from './dock-manager-model';
25
+ import type { DockPane } from './dock-model.js';
26
+ import { type DockManagerState, type DockSide } from './dock-manager-model.js';
27
27
  /** Imperative handle exposed via `onReady`. */
28
28
  export type DockManagerApi = {
29
29
  getState: () => DockManagerState;
@@ -1,5 +1,5 @@
1
- import { type ListOption, type RowHeight } from './list-option';
2
- import { type SvEditorProps } from './editor-contract';
1
+ import { type ListOption, type RowHeight } from './list-option.js';
2
+ import { type SvEditorProps } from './editor-contract.js';
3
3
  import { type Snippet } from 'svelte';
4
4
  type Props = SvEditorProps & {
5
5
  options: ReadonlyArray<ListOption>;
@@ -6,7 +6,7 @@
6
6
  * are owned by SvField's `frame` chrome.
7
7
  */
8
8
  import type { Snippet } from 'svelte';
9
- import { type SvEditorProps } from './editor-contract';
9
+ import { type SvEditorProps } from './editor-contract.js';
10
10
  type Props = SvEditorProps & {
11
11
  /** Value in minutes (or null when empty). */
12
12
  value?: number | null;
@@ -34,7 +34,7 @@
34
34
  * so editors no longer re-implement the box / focus ring / invalid / size.
35
35
  */
36
36
  import type { Snippet } from 'svelte';
37
- import { type EditorAction, type EditorDir, type EditorSize } from './editor-contract';
37
+ import { type EditorAction, type EditorDir, type EditorSize } from './editor-contract.js';
38
38
  type $$ComponentProps = {
39
39
  id?: string;
40
40
  label?: string;
@@ -1,6 +1,6 @@
1
- export type { FileRejection, FileRejectReason } from './createFileUpload.svelte';
2
- import { type SvEditorProps } from './editor-contract';
3
- import { type FileRejection } from './createFileUpload.svelte';
1
+ export type { FileRejection, FileRejectReason } from './createFileUpload.svelte.js';
2
+ import { type SvEditorProps } from './editor-contract.js';
3
+ import { type FileRejection } from './createFileUpload.svelte.js';
4
4
  /** User-facing strings (localizable via `messages`). */
5
5
  type FileMessages = {
6
6
  prompt: string;
@@ -1,7 +1,7 @@
1
- export type { FormField, FormFieldType, FormSection, FormEntry } from './form-field';
2
- import { type FormEntry } from './form-field';
3
- import { type FormMessages } from './createForm.svelte';
4
- import type { EditorDir } from './editor-contract';
1
+ export type { FormField, FormFieldType, FormSection, FormEntry } from './form-field.js';
2
+ import { type FormEntry } from './form-field.js';
3
+ import { type FormMessages } from './createForm.svelte.js';
4
+ import type { EditorDir } from './editor-contract.js';
5
5
  type Props = {
6
6
  fields: ReadonlyArray<FormEntry>;
7
7
  initial?: Record<string, any>;
@@ -6,7 +6,7 @@
6
6
  * The arc/needle geometry + `role="meter"` ARIA live in the headless
7
7
  * `createGauge` core; this component is just one styled renderer over it.
8
8
  */
9
- import { type EditorDir } from './editor-contract';
9
+ import { type EditorDir } from './editor-contract.js';
10
10
  type Band = {
11
11
  from: number;
12
12
  to: number;
@@ -1,10 +1,10 @@
1
- import { type GridPredicateExpr, type CellEditorOption, type Column, type ColumnDef, type Row, type RowData, type TableFeatures, type ChartType, type ChartSpec, type ChartValueFormat } from "./index";
2
- import "./sv-grid-scrollbar";
3
- import { type ColumnStat } from "./conditional-formatting";
4
- import type { Props, SelectionRange, CellEditState, FilterOperator, MenuPosition, ContextMenuTarget, ChartingConfig } from "./SvGrid.types";
5
- import { operatorOption, operatorsForColumn, defaultOperatorFor, operatorLabelFor } from "./filter-operators";
6
- import { type FacetBucket, isBucketableColumn, buildBuckets, isInBucket } from "./facet-buckets";
7
- import { getColumnBaseValue, isGroupRow, toolPanelHeaderLabel, formatSummaryNumeric, getColumnAlign, getPinnedCellValue, getColumnAccessorValue, columnDefMatchesId } from "./cell-values";
1
+ import { type GridPredicateExpr, type CellEditorOption, type Column, type ColumnDef, type Row, type RowData, type TableFeatures, type ChartType, type ChartSpec, type ChartValueFormat } from "./index.js";
2
+ import "./sv-grid-scrollbar.js";
3
+ import { type ColumnStat } from "./conditional-formatting.js";
4
+ import type { Props, SelectionRange, CellEditState, FilterOperator, MenuPosition, ContextMenuTarget, ChartingConfig } from "./SvGrid.types.js";
5
+ import { operatorOption, operatorsForColumn, defaultOperatorFor, operatorLabelFor } from "./filter-operators.js";
6
+ import { type FacetBucket, isBucketableColumn, buildBuckets, isInBucket } from "./facet-buckets.js";
7
+ import { getColumnBaseValue, isGroupRow, toolPanelHeaderLabel, formatSummaryNumeric, getColumnAlign, getPinnedCellValue, getColumnAccessorValue, columnDefMatchesId } from "./cell-values.js";
8
8
  /**
9
9
  * SvGrid controller. The component's entire reactive core - every $state,
10
10
  * $derived, $effect and handler - lives here so SvGrid.svelte can stay a thin
@@ -110,7 +110,7 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
110
110
  readonly selectionColumnWidth: number;
111
111
  readonly rowNumberColumnWidth: number;
112
112
  readonly showRowNumbersEffective: boolean;
113
- readonly filterOperatorOptions: import("./SvGrid.types").FilterOption[];
113
+ readonly filterOperatorOptions: import("./SvGrid.types.js").FilterOption[];
114
114
  readonly TEXT_OPERATORS: FilterOperator[];
115
115
  readonly NUMBER_OPERATORS: FilterOperator[];
116
116
  readonly DATE_OPERATORS: FilterOperator[];
@@ -175,11 +175,11 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
175
175
  rows: Array<Row<TData>>;
176
176
  }) => Row<TData>[];
177
177
  readonly resolveEffectiveFeatures: () => TableFeatures;
178
- readonly grid: import("./createGrid.svelte").SvelteGrid<TableFeatures, TData, {}>;
178
+ readonly grid: import("./createGrid.svelte.js").SvelteGrid<TableFeatures, TData, {}>;
179
179
  userColumnOrder: string[];
180
180
  lastSeededOrder: string;
181
181
  readonly allColumns: Column<TData>[];
182
- readonly headerGroups: import("./core").HeaderGroup<TData>[];
182
+ readonly headerGroups: import("./core.js").HeaderGroup<TData>[];
183
183
  readonly groupHeaderRows: {
184
184
  id: string;
185
185
  cells: {
@@ -256,13 +256,13 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
256
256
  readonly getColumnBaseValue: typeof getColumnBaseValue;
257
257
  readonly hasConditionalFormats: boolean;
258
258
  readonly conditionalColumnStats: Map<string, ColumnStat>;
259
- readonly cellConditionalFormat: (row: Row<TData>, column: Column<TData>, value: unknown) => import("./conditional-formatting").ResolvedCellFormat | null;
259
+ readonly cellConditionalFormat: (row: Row<TData>, column: Column<TData>, value: unknown) => import("./conditional-formatting.js").ResolvedCellFormat | null;
260
260
  readonly isGroupRow: typeof isGroupRow;
261
261
  readonly isCellEditable: (column: Column<TData>, row?: Row<TData> | undefined) => boolean;
262
262
  readonly isCellEditableAt: (rowIndex: number, colIndex: number) => boolean;
263
263
  readonly sortDirectionByColumn: Record<string, false | "asc" | "desc">;
264
264
  readonly groupingColumns: any;
265
- readonly groupDisplayMode: import("./group-display").GroupDisplayType;
265
+ readonly groupDisplayMode: import("./group-display.js").GroupDisplayType;
266
266
  readonly groupColumnMode: boolean;
267
267
  readonly autoGroupCell: (row: Row<TData>, columnId: string) => {
268
268
  label: string;
@@ -297,12 +297,12 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
297
297
  readonly toolPanelHeaderLabel: typeof toolPanelHeaderLabel;
298
298
  readonly toggleColumnVisibleInPanel: (columnId: string) => void;
299
299
  readonly moveColumnInPanel: (columnId: string, dir: -1 | 1) => void;
300
- readonly messages: import("./grid-messages").GridMessages;
301
- readonly pivotConfig: import("./pivot-view.svelte").GridPivotConfig<TData> | null;
300
+ readonly messages: import("./grid-messages.js").GridMessages;
301
+ readonly pivotConfig: import("./pivot-view.svelte.js").GridPivotConfig<TData> | null;
302
302
  readonly pivotActive: boolean;
303
303
  readonly pivotResult: {
304
- rows: import("./pivot-view.svelte").GridPivotRow[];
305
- columns: ColumnDef<TableFeatures, import("./pivot-view.svelte").GridPivotRow>[];
304
+ rows: import("./pivot-view.svelte.js").GridPivotRow[];
305
+ columns: ColumnDef<TableFeatures, import("./pivot-view.svelte.js").GridPivotRow>[];
306
306
  } | null;
307
307
  readonly pivotModeOn: boolean;
308
308
  readonly hasPivotEngine: boolean;
@@ -395,33 +395,33 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
395
395
  lastFiltersSerialized: string;
396
396
  readonly virtualizer: {
397
397
  readonly version: number;
398
- setOptions: (next: Partial<import("./index").VirtualizerOptions>) => void;
398
+ setOptions: (next: Partial<import("./index.js").VirtualizerOptions>) => void;
399
399
  setScrollOffset: (scrollOffset: number) => void;
400
400
  setViewportHeight: (viewportHeight: number) => void;
401
401
  scrollToIndex: (index: number) => void;
402
- getVirtualItems: () => import("./index").VirtualItem[];
402
+ getVirtualItems: () => import("./index.js").VirtualItem[];
403
403
  getTotalSize: () => number;
404
404
  getOffsetForIndex: (index: number) => number;
405
405
  getSizeForIndex: (index: number) => number;
406
- getState: () => import("./index").VirtualizerState;
406
+ getState: () => import("./index.js").VirtualizerState;
407
407
  };
408
408
  readonly columnVirtualizer: {
409
409
  setViewportWidth(viewportWidth: number): void;
410
410
  setHorizontalOffset(scrollOffset: number): void;
411
- setOptions(next: Partial<import("./index").VirtualizerOptions>): void;
411
+ setOptions(next: Partial<import("./index.js").VirtualizerOptions>): void;
412
412
  setScrollOffset(scrollOffset: number): void;
413
413
  setViewportHeight(viewportHeight: number): void;
414
414
  scrollToIndex(index: number): void;
415
- getVirtualItems(): import("./index").VirtualItem[];
415
+ getVirtualItems(): import("./index.js").VirtualItem[];
416
416
  getTotalSize(): number;
417
417
  getOffsetForIndex(index: number): number;
418
418
  getSizeForIndex(index: number): number;
419
- getState(): import("./index").VirtualizerState;
419
+ getState(): import("./index.js").VirtualizerState;
420
420
  subscribe(listener: () => void): () => boolean;
421
421
  };
422
422
  readonly rowVirtualizationEnabled: boolean;
423
423
  readonly columnVirtualizationEnabled: boolean;
424
- readonly virtualRows: import("./index").VirtualItem[];
424
+ readonly virtualRows: import("./index.js").VirtualItem[];
425
425
  readonly autoRowHeightOn: boolean;
426
426
  /** Svelte action: measure this row and report its natural height. */
427
427
  readonly measureRowHeight: (node: HTMLElement, index: number) => {
@@ -441,9 +441,9 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
441
441
  readonly rowBottomSpacer: number;
442
442
  readonly domToLogicalRowOffset: (domTop: number) => number;
443
443
  readonly logicalToDomRowOffset: (logical: number) => number;
444
- readonly virtualColumns: import("./index").VirtualItem[];
444
+ readonly virtualColumns: import("./index.js").VirtualItem[];
445
445
  readonly virtualColumnTotalSize: number;
446
- readonly renderedColumnItems: import("./index").VirtualItem[] | {
446
+ readonly renderedColumnItems: import("./index.js").VirtualItem[] | {
447
447
  index: number;
448
448
  key: number;
449
449
  size: any;
@@ -472,7 +472,7 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
472
472
  readonly formatSummaryNumeric: typeof formatSummaryNumeric;
473
473
  readonly computeSummaries: (rows: readonly Row<TData>[], columns: readonly Column<TData>[]) => Record<string, string>;
474
474
  readonly SUMMARY_DEFER_CELL_LIMIT: number;
475
- summaryByColumn: Record<string, string>;
475
+ readonly summaryByColumn: Record<string, string>;
476
476
  hasMeasured: boolean;
477
477
  scrollBottomArmed: boolean;
478
478
  readonly onBodyScroll: (event: Event) => void;
@@ -601,7 +601,7 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
601
601
  readonly updateFilterMenuValueTo: (columnId: string, valueTo: string) => void;
602
602
  readonly toggleCheckboxWithKeyboard: (event: KeyboardEvent, toggle: () => void) => void;
603
603
  readonly getColumnAccessorValue: typeof getColumnAccessorValue;
604
- readonly fallbackOperatorOption: import("./SvGrid.types").FilterOption;
604
+ readonly fallbackOperatorOption: import("./SvGrid.types.js").FilterOption;
605
605
  readonly operatorOption: typeof operatorOption;
606
606
  readonly operatorsForColumn: typeof operatorsForColumn;
607
607
  readonly defaultOperatorFor: typeof defaultOperatorFor;
@@ -647,6 +647,6 @@ export declare function createSvGridController<TFeatures extends TableFeatures =
647
647
  readonly clearColumnFilter: (columnId: string) => void;
648
648
  readonly onWindowKeydown: (event: KeyboardEvent) => void;
649
649
  readonly columnDefMatchesId: typeof columnDefMatchesId;
650
- readonly buildApi: () => import("./svgrid-wrapper.types").SvGridApi<TFeatures, TData>;
650
+ readonly buildApi: () => import("./svgrid-wrapper.types.js").SvGridApi<TFeatures, TData>;
651
651
  apiNotified: boolean;
652
652
  };