@toolbox-web/grid 1.28.1 → 1.29.0

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 (151) hide show
  1. package/all.js +2 -2
  2. package/all.js.map +1 -1
  3. package/custom-elements.json +43 -1
  4. package/index.js +1 -1
  5. package/index.js.map +1 -1
  6. package/lib/core/constants.d.ts +1 -7
  7. package/lib/core/grid.d.ts +40 -3
  8. package/lib/core/internal/render-scheduler.d.ts +3 -1
  9. package/lib/core/plugin/base-plugin.d.ts +1 -1
  10. package/lib/core/plugin/plugin-manager.d.ts +2 -0
  11. package/lib/core/types.d.ts +59 -0
  12. package/lib/features/clipboard.d.ts +2 -0
  13. package/lib/features/clipboard.js.map +1 -1
  14. package/lib/features/column-virtualization.d.ts +2 -0
  15. package/lib/features/column-virtualization.js.map +1 -1
  16. package/lib/features/context-menu.d.ts +2 -0
  17. package/lib/features/context-menu.js.map +1 -1
  18. package/lib/features/editing.d.ts +2 -0
  19. package/lib/features/editing.js.map +1 -1
  20. package/lib/features/export.d.ts +2 -0
  21. package/lib/features/export.js.map +1 -1
  22. package/lib/features/filtering.d.ts +2 -0
  23. package/lib/features/filtering.js.map +1 -1
  24. package/lib/features/grouping-columns.d.ts +2 -0
  25. package/lib/features/grouping-columns.js.map +1 -1
  26. package/lib/features/grouping-rows.d.ts +2 -0
  27. package/lib/features/grouping-rows.js.map +1 -1
  28. package/lib/features/master-detail.d.ts +2 -0
  29. package/lib/features/master-detail.js.map +1 -1
  30. package/lib/features/multi-sort.d.ts +2 -0
  31. package/lib/features/multi-sort.js.map +1 -1
  32. package/lib/features/pinned-columns.d.ts +2 -1
  33. package/lib/features/pinned-columns.js.map +1 -1
  34. package/lib/features/pinned-rows.d.ts +2 -0
  35. package/lib/features/pinned-rows.js.map +1 -1
  36. package/lib/features/pivot.d.ts +2 -0
  37. package/lib/features/pivot.js.map +1 -1
  38. package/lib/features/print.d.ts +2 -0
  39. package/lib/features/print.js.map +1 -1
  40. package/lib/features/reorder-columns.d.ts +2 -0
  41. package/lib/features/reorder-columns.js.map +1 -1
  42. package/lib/features/reorder-rows.d.ts +2 -0
  43. package/lib/features/reorder-rows.js.map +1 -1
  44. package/lib/features/responsive.d.ts +2 -0
  45. package/lib/features/responsive.js.map +1 -1
  46. package/lib/features/selection.d.ts +2 -0
  47. package/lib/features/selection.js.map +1 -1
  48. package/lib/features/server-side.d.ts +2 -0
  49. package/lib/features/server-side.js.map +1 -1
  50. package/lib/features/tooltip.d.ts +2 -0
  51. package/lib/features/tooltip.js.map +1 -1
  52. package/lib/features/tree.d.ts +2 -0
  53. package/lib/features/tree.js.map +1 -1
  54. package/lib/features/undo-redo.d.ts +2 -0
  55. package/lib/features/undo-redo.js.map +1 -1
  56. package/lib/features/visibility.d.ts +2 -0
  57. package/lib/features/visibility.js.map +1 -1
  58. package/lib/plugins/clipboard/ClipboardPlugin.d.ts +0 -21
  59. package/lib/plugins/clipboard/index.js.map +1 -1
  60. package/lib/plugins/column-virtualization/ColumnVirtualizationPlugin.d.ts +0 -16
  61. package/lib/plugins/column-virtualization/index.js.map +1 -1
  62. package/lib/plugins/context-menu/index.js.map +1 -1
  63. package/lib/plugins/editing/index.js +1 -1
  64. package/lib/plugins/editing/index.js.map +1 -1
  65. package/lib/plugins/export/ExportPlugin.d.ts +0 -18
  66. package/lib/plugins/export/index.js.map +1 -1
  67. package/lib/plugins/filtering/FilteringPlugin.d.ts +0 -21
  68. package/lib/plugins/filtering/filter-model.d.ts +8 -1
  69. package/lib/plugins/filtering/index.js +1 -1
  70. package/lib/plugins/filtering/index.js.map +1 -1
  71. package/lib/plugins/grouping-columns/GroupingColumnsPlugin.d.ts +0 -16
  72. package/lib/plugins/grouping-columns/grouping-columns.d.ts +23 -3
  73. package/lib/plugins/grouping-columns/index.js +1 -1
  74. package/lib/plugins/grouping-columns/index.js.map +1 -1
  75. package/lib/plugins/grouping-rows/GroupingRowsPlugin.d.ts +0 -23
  76. package/lib/plugins/grouping-rows/index.js +2 -2
  77. package/lib/plugins/grouping-rows/index.js.map +1 -1
  78. package/lib/plugins/master-detail/MasterDetailPlugin.d.ts +0 -22
  79. package/lib/plugins/master-detail/index.js.map +1 -1
  80. package/lib/plugins/multi-sort/MultiSortPlugin.d.ts +0 -18
  81. package/lib/plugins/multi-sort/index.js +1 -1
  82. package/lib/plugins/multi-sort/index.js.map +1 -1
  83. package/lib/plugins/multi-sort/multi-sort.d.ts +7 -0
  84. package/lib/plugins/pinned-columns/index.js +1 -1
  85. package/lib/plugins/pinned-columns/index.js.map +1 -1
  86. package/lib/plugins/pinned-rows/PinnedRowsPlugin.d.ts +0 -11
  87. package/lib/plugins/pinned-rows/index.js.map +1 -1
  88. package/lib/plugins/pivot/PivotPlugin.d.ts +0 -24
  89. package/lib/plugins/pivot/index.js +1 -1
  90. package/lib/plugins/pivot/index.js.map +1 -1
  91. package/lib/plugins/print/PrintPlugin.d.ts +2 -21
  92. package/lib/plugins/print/index.js.map +1 -1
  93. package/lib/plugins/reorder-columns/ReorderPlugin.d.ts +0 -7
  94. package/lib/plugins/reorder-columns/index.js +1 -1
  95. package/lib/plugins/reorder-columns/index.js.map +1 -1
  96. package/lib/plugins/reorder-rows/RowReorderPlugin.d.ts +1 -13
  97. package/lib/plugins/reorder-rows/index.js +1 -1
  98. package/lib/plugins/reorder-rows/index.js.map +1 -1
  99. package/lib/plugins/responsive/index.js +1 -1
  100. package/lib/plugins/responsive/index.js.map +1 -1
  101. package/lib/plugins/selection/index.js +1 -1
  102. package/lib/plugins/selection/index.js.map +1 -1
  103. package/lib/plugins/server-side/ServerSidePlugin.d.ts +0 -16
  104. package/lib/plugins/server-side/index.js.map +1 -1
  105. package/lib/plugins/tooltip/index.js.map +1 -1
  106. package/lib/plugins/tree/TreePlugin.d.ts +0 -22
  107. package/lib/plugins/tree/index.js +1 -1
  108. package/lib/plugins/tree/index.js.map +1 -1
  109. package/lib/plugins/undo-redo/UndoRedoPlugin.d.ts +0 -19
  110. package/lib/plugins/undo-redo/index.js +1 -1
  111. package/lib/plugins/undo-redo/index.js.map +1 -1
  112. package/lib/plugins/visibility/VisibilityPlugin.d.ts +0 -16
  113. package/lib/plugins/visibility/index.js +1 -1
  114. package/lib/plugins/visibility/index.js.map +1 -1
  115. package/package.json +1 -1
  116. package/themes/dg-theme-material.css +5 -0
  117. package/umd/grid.all.umd.js +1 -1
  118. package/umd/grid.all.umd.js.map +1 -1
  119. package/umd/grid.umd.js +1 -1
  120. package/umd/grid.umd.js.map +1 -1
  121. package/umd/plugins/clipboard.umd.js.map +1 -1
  122. package/umd/plugins/column-virtualization.umd.js.map +1 -1
  123. package/umd/plugins/export.umd.js.map +1 -1
  124. package/umd/plugins/filtering.umd.js +1 -1
  125. package/umd/plugins/filtering.umd.js.map +1 -1
  126. package/umd/plugins/grouping-columns.umd.js +1 -1
  127. package/umd/plugins/grouping-columns.umd.js.map +1 -1
  128. package/umd/plugins/grouping-rows.umd.js +1 -1
  129. package/umd/plugins/grouping-rows.umd.js.map +1 -1
  130. package/umd/plugins/master-detail.umd.js.map +1 -1
  131. package/umd/plugins/multi-sort.umd.js +1 -1
  132. package/umd/plugins/multi-sort.umd.js.map +1 -1
  133. package/umd/plugins/pinned-columns.umd.js +1 -1
  134. package/umd/plugins/pinned-columns.umd.js.map +1 -1
  135. package/umd/plugins/pinned-rows.umd.js.map +1 -1
  136. package/umd/plugins/pivot.umd.js +1 -1
  137. package/umd/plugins/pivot.umd.js.map +1 -1
  138. package/umd/plugins/print.umd.js.map +1 -1
  139. package/umd/plugins/reorder-columns.umd.js +1 -1
  140. package/umd/plugins/reorder-columns.umd.js.map +1 -1
  141. package/umd/plugins/reorder-rows.umd.js +1 -1
  142. package/umd/plugins/reorder-rows.umd.js.map +1 -1
  143. package/umd/plugins/selection.umd.js +1 -1
  144. package/umd/plugins/selection.umd.js.map +1 -1
  145. package/umd/plugins/server-side.umd.js.map +1 -1
  146. package/umd/plugins/tree.umd.js +1 -1
  147. package/umd/plugins/tree.umd.js.map +1 -1
  148. package/umd/plugins/undo-redo.umd.js +1 -1
  149. package/umd/plugins/undo-redo.umd.js.map +1 -1
  150. package/umd/plugins/visibility.umd.js +1 -1
  151. package/umd/plugins/visibility.umd.js.map +1 -1
@@ -12,7 +12,7 @@
12
12
  * See each plugin's index.ts for plugin-specific exports.
13
13
  */
14
14
  /**
15
- * CSS class names used in the grid's shadow DOM.
15
+ * CSS class names used in the grid's DOM.
16
16
  * Use these when adding/removing classes or querying elements.
17
17
  *
18
18
  * Classes are organized by:
@@ -62,12 +62,8 @@ export declare const GridClasses: {
62
62
  * @category Plugin Development
63
63
  */
64
64
  export declare const GridDataAttrs: {
65
- readonly ROW_INDEX: "data-row-index";
66
- readonly COL_INDEX: "data-col-index";
67
65
  readonly FIELD: "data-field";
68
66
  readonly GROUP_KEY: "data-group-key";
69
- readonly TREE_LEVEL: "data-tree-level";
70
- readonly STICKY: "data-sticky";
71
67
  };
72
68
  /**
73
69
  * Common CSS selectors for querying grid elements.
@@ -85,9 +81,7 @@ export declare const GridSelectors: {
85
81
  readonly DATA_ROW: ".data-row";
86
82
  readonly DATA_CELL: ".data-cell";
87
83
  readonly GROUP_ROW: ".group-row";
88
- readonly ROW_BY_INDEX: (index: number) => string;
89
84
  readonly CELL_BY_FIELD: (field: string) => string;
90
- readonly CELL_AT: (row: number, col: number) => string;
91
85
  readonly SELECTED_ROWS: ".data-row.selected";
92
86
  readonly EDITING_CELL: ".data-cell.editing";
93
87
  };
@@ -551,7 +551,7 @@ export declare class DataGridElement<T = any> extends HTMLElement implements Int
551
551
  /** @internal Apply animation configuration to host element. */
552
552
  _applyAnimationConfig(config: GridConfig<T>): void;
553
553
  /**
554
- * Find the header row element in the shadow DOM.
554
+ * Find the header row element.
555
555
  * Used by plugins that need to access header cells for styling or measurement.
556
556
  * @group DOM Access
557
557
  * @internal Plugin API
@@ -1272,6 +1272,43 @@ export declare class DataGridElement<T = any> extends HTMLElement implements Int
1272
1272
  * @group State Persistence
1273
1273
  */
1274
1274
  get columnState(): GridColumnState | undefined;
1275
+ /**
1276
+ * Get the current single-column sort state.
1277
+ *
1278
+ * Returns `null` when no sort is active.
1279
+ *
1280
+ * @group Sorting
1281
+ *
1282
+ * @example
1283
+ * ```typescript
1284
+ * const sort = grid.sortModel;
1285
+ * // { field: 'name', direction: 'desc' } | null
1286
+ * ```
1287
+ */
1288
+ get sortModel(): {
1289
+ field: string;
1290
+ direction: 'asc' | 'desc';
1291
+ } | null;
1292
+ /**
1293
+ * Sort by a column, toggle a column's sort direction, or clear sorting.
1294
+ *
1295
+ * - `sort('id', 'desc')` — apply sort with explicit direction
1296
+ * - `sort('id')` — toggle: none → asc → desc → none
1297
+ * - `sort(null)` — clear sort, restore original row order
1298
+ *
1299
+ * @param field - Column field to sort by, or `null` to clear
1300
+ * @param direction - Explicit direction; omit to toggle
1301
+ *
1302
+ * @group Sorting
1303
+ *
1304
+ * @example
1305
+ * ```typescript
1306
+ * grid.sort('id', 'desc'); // sort descending
1307
+ * grid.sort('price'); // toggle sort on price
1308
+ * grid.sort(null); // clear sort
1309
+ * ```
1310
+ */
1311
+ sort(field: string | null, direction?: 'asc' | 'desc'): void;
1275
1312
  /**
1276
1313
  * Request a state change event to be emitted.
1277
1314
  * Called internally after resize, reorder, visibility, or sort changes.
@@ -1600,10 +1637,10 @@ export declare class DataGridElement<T = any> extends HTMLElement implements Int
1600
1637
  */
1601
1638
  refreshShellHeader(): void;
1602
1639
  /**
1603
- * Register custom CSS styles to be injected into the grid's shadow DOM.
1640
+ * Register custom CSS styles via `document.adoptedStyleSheets`.
1604
1641
  * Use this to style custom cell renderers, editors, or detail panels.
1605
1642
  *
1606
- * Uses adoptedStyleSheets for efficiency - styles survive shadow DOM rebuilds.
1643
+ * Uses adoptedStyleSheets for efficiency - styles survive DOM rebuilds.
1607
1644
  *
1608
1645
  * @group Custom Styles
1609
1646
  * @param id - Unique identifier for the style block (for removal/updates)
@@ -56,7 +56,9 @@ export declare class RenderScheduler {
56
56
  */
57
57
  get isPending(): boolean;
58
58
  /**
59
- * Get the current pending phase (0 if none).
59
+ * The current pending phase (0 if nothing is pending).
60
+ * Used by `forceLayout()` to flush at the correct phase
61
+ * without unnecessarily escalating to FULL.
60
62
  */
61
63
  get pendingPhase(): RenderPhase | 0;
62
64
  }
@@ -334,7 +334,7 @@ export declare abstract class BaseGridPlugin<TConfig = unknown> implements GridP
334
334
  * Third-party plugins can override with their own semver.
335
335
  */
336
336
  readonly version: string;
337
- /** CSS styles to inject into the grid's shadow DOM */
337
+ /** CSS styles to inject via `document.adoptedStyleSheets` */
338
338
  readonly styles?: string;
339
339
  /** Custom cell renderers keyed by type name */
340
340
  readonly cellRenderers?: Record<string, CellRenderer>;
@@ -24,6 +24,7 @@ export declare class PluginManager {
24
24
  /** Cached hook presence flags — invalidated on plugin attach/detach */
25
25
  private _hasAfterCellRender;
26
26
  private _hasAfterRowRender;
27
+ private _hasProcessRows;
27
28
  /**
28
29
  * Event listeners indexed by event type.
29
30
  * Maps event type → Map<plugin instance → callback>.
@@ -108,6 +109,7 @@ export declare class PluginManager {
108
109
  }>;
109
110
  /**
110
111
  * Execute processRows hook on all plugins.
112
+ * Returns a mutable copy only when at least one plugin transforms rows.
111
113
  */
112
114
  processRows(rows: readonly any[]): any[];
113
115
  /**
@@ -232,6 +232,39 @@ export interface PublicGrid<T = any> {
232
232
  * ```
233
233
  */
234
234
  columnState?: GridColumnState;
235
+ /**
236
+ * Get the current sort state.
237
+ *
238
+ * Returns `null` when no sort is active.
239
+ *
240
+ * @example
241
+ * ```typescript
242
+ * const sort = grid.sortModel;
243
+ * // { field: 'id', direction: 'desc' } | null
244
+ * ```
245
+ */
246
+ readonly sortModel?: {
247
+ field: string;
248
+ direction: 'asc' | 'desc';
249
+ } | null;
250
+ /**
251
+ * Sort by a column, toggle a column's sort direction, or clear sorting.
252
+ *
253
+ * - `sort('id', 'desc')` — apply sort with explicit direction
254
+ * - `sort('id')` — toggle: none → asc → desc → none
255
+ * - `sort(null)` — clear sort, restore original row order
256
+ *
257
+ * @param field - Column field to sort by, or `null` to clear
258
+ * @param direction - Explicit direction; omit to toggle
259
+ *
260
+ * @example
261
+ * ```typescript
262
+ * grid.sort('id', 'desc'); // sort descending
263
+ * grid.sort('price'); // toggle sort on price
264
+ * grid.sort(null); // clear sort
265
+ * ```
266
+ */
267
+ sort?(field: string | null, direction?: 'asc' | 'desc'): void;
235
268
  /**
236
269
  * Whether the grid is currently in a loading state.
237
270
  * When true, displays a loading overlay with spinner.
@@ -1925,6 +1958,12 @@ export interface PluginNameMap {
1925
1958
  * ```
1926
1959
  */
1927
1960
  export interface FeatureConfig<TRow = unknown> {
1961
+ /**
1962
+ * @internal Sentinel property that makes the interface non-empty so TypeScript's
1963
+ * excess-property checking rejects unknown feature keys in object literals.
1964
+ * Not assignable at runtime (type is `never`).
1965
+ */
1966
+ __brand?: never;
1928
1967
  }
1929
1968
  /**
1930
1969
  * Grid configuration object - the **single source of truth** for grid behavior.
@@ -2153,6 +2192,26 @@ export interface GridConfig<TRow = any> {
2153
2192
  * ```
2154
2193
  */
2155
2194
  sortHandler?: SortHandler<TRow>;
2195
+ /**
2196
+ * Initial sort state applied when the grid first renders.
2197
+ *
2198
+ * Equivalent to calling `grid.sort(field, direction)` after the grid is created,
2199
+ * but avoids the imperative call and extra render cycle.
2200
+ *
2201
+ * @example
2202
+ * ```ts
2203
+ * gridConfig = {
2204
+ * initialSort: { field: 'salary', direction: 'desc' },
2205
+ * };
2206
+ * ```
2207
+ *
2208
+ * @see {@link DataGrid.sort} for runtime sorting
2209
+ * @see {@link DataGrid.sortModel} for reading current sort state
2210
+ */
2211
+ initialSort?: {
2212
+ field: string;
2213
+ direction: 'asc' | 'desc';
2214
+ };
2156
2215
  /**
2157
2216
  * Function to extract a unique identifier from a row.
2158
2217
  * Used by `updateRow()`, `getRow()`, and ID-based tracking.
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  clipboard?: boolean | ClipboardConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"clipboard.js","sources":["../../../../../libs/grid/src/lib/features/clipboard.ts"],"sourcesContent":["/**\n * Clipboard feature for @toolbox-web/grid\n *\n * Requires the selection feature to be enabled.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/selection';\n * import '@toolbox-web/grid/features/clipboard';\n *\n * grid.gridConfig = { features: { selection: 'range', clipboard: true } };\n * ```\n */\n\nimport { ClipboardPlugin, type ClipboardConfig } from '../plugins/clipboard';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable clipboard copy/paste. Requires selection. */\n clipboard?: boolean | ClipboardConfig;\n }\n}\n\nregisterFeature('clipboard', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ClipboardConfig) ?? {});\n return new ClipboardPlugin(options);\n});\n"],"names":["registerFeature","config","ClipboardPlugin"],"mappings":"4IAwBAA,EAAgB,YAAcC,GAErB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA8B,CAAA"}
1
+ {"version":3,"file":"clipboard.js","sources":["../../../../../libs/grid/src/lib/features/clipboard.ts"],"sourcesContent":["/**\n * Clipboard feature for @toolbox-web/grid\n *\n * Requires the selection feature to be enabled.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/selection';\n * import '@toolbox-web/grid/features/clipboard';\n *\n * grid.gridConfig = { features: { selection: 'range', clipboard: true } };\n * ```\n */\n\nimport { ClipboardPlugin, type ClipboardConfig } from '../plugins/clipboard';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable clipboard copy/paste. Requires selection. */\n clipboard?: boolean | ClipboardConfig;\n }\n}\n\nregisterFeature('clipboard', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ClipboardConfig) ?? {});\n return new ClipboardPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","ClipboardPlugin"],"mappings":"4IAwBAA,EAAgB,YAAcC,GAErB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA8B,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  columnVirtualization?: boolean | ColumnVirtualizationConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"column-virtualization.js","sources":["../../../../../libs/grid/src/lib/features/column-virtualization.ts"],"sourcesContent":["/**\n * Column Virtualization feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/column-virtualization';\n *\n * grid.gridConfig = { features: { columnVirtualization: true } };\n * ```\n */\n\nimport {\n ColumnVirtualizationPlugin,\n type ColumnVirtualizationConfig,\n} from '../plugins/column-virtualization';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable horizontal column virtualization. */\n columnVirtualization?: boolean | ColumnVirtualizationConfig;\n }\n}\n\nregisterFeature('columnVirtualization', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ColumnVirtualizationConfig) ?? {});\n return new ColumnVirtualizationPlugin(options);\n});\n"],"names":["registerFeature","config","ColumnVirtualizationPlugin"],"mappings":"mKAwBAA,EAAgB,uBAAyBC,GAEhC,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAyC,CAAA"}
1
+ {"version":3,"file":"column-virtualization.js","sources":["../../../../../libs/grid/src/lib/features/column-virtualization.ts"],"sourcesContent":["/**\n * Column Virtualization feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/column-virtualization';\n *\n * grid.gridConfig = { features: { columnVirtualization: true } };\n * ```\n */\n\nimport {\n ColumnVirtualizationPlugin,\n type ColumnVirtualizationConfig,\n} from '../plugins/column-virtualization';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable horizontal column virtualization. */\n columnVirtualization?: boolean | ColumnVirtualizationConfig;\n }\n}\n\nregisterFeature('columnVirtualization', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ColumnVirtualizationConfig) ?? {});\n return new ColumnVirtualizationPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","ColumnVirtualizationPlugin"],"mappings":"mKAwBAA,EAAgB,uBAAyBC,GAEhC,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAyC,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  contextMenu?: boolean | ContextMenuConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.js","sources":["../../../../../libs/grid/src/lib/features/context-menu.ts"],"sourcesContent":["/**\n * Context Menu feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/context-menu';\n *\n * grid.gridConfig = { features: { contextMenu: true } };\n * ```\n */\n\nimport { ContextMenuPlugin, type ContextMenuConfig } from '../plugins/context-menu';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable right-click context menu. */\n contextMenu?: boolean | ContextMenuConfig;\n }\n}\n\nregisterFeature('contextMenu', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ContextMenuConfig) ?? {});\n return new ContextMenuPlugin(options);\n});\n"],"names":["registerFeature","config","ContextMenuPlugin"],"mappings":"iJAqBAA,EAAgB,cAAgBC,GAEvB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAgC,CAAA"}
1
+ {"version":3,"file":"context-menu.js","sources":["../../../../../libs/grid/src/lib/features/context-menu.ts"],"sourcesContent":["/**\n * Context Menu feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/context-menu';\n *\n * grid.gridConfig = { features: { contextMenu: true } };\n * ```\n */\n\nimport { ContextMenuPlugin, type ContextMenuConfig } from '../plugins/context-menu';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable right-click context menu. */\n contextMenu?: boolean | ContextMenuConfig;\n }\n}\n\nregisterFeature('contextMenu', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ContextMenuConfig) ?? {});\n return new ContextMenuPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","ContextMenuPlugin"],"mappings":"iJAqBAA,EAAgB,cAAgBC,GAEvB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAgC,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  editing?: boolean | 'click' | 'dblclick' | 'manual' | EditingConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"editing.js","sources":["../../../../../libs/grid/src/lib/features/editing.ts"],"sourcesContent":["/**\n * Editing feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/editing';\n *\n * grid.gridConfig = { features: { editing: 'dblclick' } };\n * ```\n */\n\nimport { EditingPlugin, type EditingConfig } from '../plugins/editing';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable inline cell editing. */\n editing?: boolean | 'click' | 'dblclick' | 'manual' | EditingConfig;\n }\n}\n\nregisterFeature('editing', (config) => {\n if (config === true) {\n return new EditingPlugin({ editOn: 'dblclick' });\n }\n if (config === 'click' || config === 'dblclick' || config === 'manual') {\n return new EditingPlugin({ editOn: config });\n }\n return new EditingPlugin((config as EditingConfig) ?? undefined);\n});\n"],"names":["registerFeature","config","EditingPlugin","editOn"],"mappings":"wIAqBAA,EAAgB,UAAYC,GAEjB,IAAIC,GADE,IAAXD,EACuB,CAAEE,OAAQ,YAEtB,UAAXF,GAAiC,aAAXA,GAAoC,WAAXA,EACxB,CAAEE,OAAQF,GAEXA,QAA4B"}
1
+ {"version":3,"file":"editing.js","sources":["../../../../../libs/grid/src/lib/features/editing.ts"],"sourcesContent":["/**\n * Editing feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/editing';\n *\n * grid.gridConfig = { features: { editing: 'dblclick' } };\n * ```\n */\n\nimport { EditingPlugin, type EditingConfig } from '../plugins/editing';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable inline cell editing. */\n editing?: boolean | 'click' | 'dblclick' | 'manual' | EditingConfig;\n }\n}\n\nregisterFeature('editing', (config) => {\n if (config === true) {\n return new EditingPlugin({ editOn: 'dblclick' });\n }\n if (config === 'click' || config === 'dblclick' || config === 'manual') {\n return new EditingPlugin({ editOn: config });\n }\n return new EditingPlugin((config as EditingConfig) ?? undefined);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","EditingPlugin","editOn"],"mappings":"wIAqBAA,EAAgB,UAAYC,GAEjB,IAAIC,GADE,IAAXD,EACuB,CAAEE,OAAQ,YAEtB,UAAXF,GAAiC,aAAXA,GAAoC,WAAXA,EACxB,CAAEE,OAAQF,GAEXA,QAA4B"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  export?: boolean | ExportConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"export.js","sources":["../../../../../libs/grid/src/lib/features/export.ts"],"sourcesContent":["/**\n * Export feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/export';\n *\n * grid.gridConfig = { features: { export: true } };\n * ```\n */\n\nimport { ExportPlugin, type ExportConfig } from '../plugins/export';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable data export (CSV, Excel, etc.). */\n export?: boolean | ExportConfig;\n }\n}\n\nregisterFeature('export', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ExportConfig) ?? {});\n return new ExportPlugin(options);\n});\n"],"names":["registerFeature","config","ExportPlugin"],"mappings":"sIAqBAA,EAAgB,SAAWC,GAElB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA2B,CAAA"}
1
+ {"version":3,"file":"export.js","sources":["../../../../../libs/grid/src/lib/features/export.ts"],"sourcesContent":["/**\n * Export feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/export';\n *\n * grid.gridConfig = { features: { export: true } };\n * ```\n */\n\nimport { ExportPlugin, type ExportConfig } from '../plugins/export';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable data export (CSV, Excel, etc.). */\n export?: boolean | ExportConfig;\n }\n}\n\nregisterFeature('export', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ExportConfig) ?? {});\n return new ExportPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","ExportPlugin"],"mappings":"sIAqBAA,EAAgB,SAAWC,GAElB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA2B,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  filtering?: boolean | FilterConfig<TRow>;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"filtering.js","sources":["../../../../../libs/grid/src/lib/features/filtering.ts"],"sourcesContent":["/**\n * Filtering feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/filtering';\n *\n * grid.gridConfig = { features: { filtering: { debounceMs: 200 } } };\n * ```\n */\n\nimport { FilteringPlugin, type FilterConfig } from '../plugins/filtering';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig<TRow> {\n /** Enable column filtering. */\n filtering?: boolean | FilterConfig<TRow>;\n }\n}\n\nregisterFeature('filtering', (config) => {\n if (typeof config === 'boolean') return new FilteringPlugin();\n return new FilteringPlugin((config as FilterConfig) ?? undefined);\n});\n"],"names":["registerFeature","config","FilteringPlugin"],"mappings":"4IAqBAA,EAAgB,YAAcC,GACN,kBAAXA,EAA6B,IAAIC,EACrC,IAAIA,EAAiBD,QAA2B"}
1
+ {"version":3,"file":"filtering.js","sources":["../../../../../libs/grid/src/lib/features/filtering.ts"],"sourcesContent":["/**\n * Filtering feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/filtering';\n *\n * grid.gridConfig = { features: { filtering: { debounceMs: 200 } } };\n * ```\n */\n\nimport { FilteringPlugin, type FilterConfig } from '../plugins/filtering';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig<TRow> {\n /** Enable column filtering. */\n filtering?: boolean | FilterConfig<TRow>;\n }\n}\n\nregisterFeature('filtering', (config) => {\n if (typeof config === 'boolean') return new FilteringPlugin();\n return new FilteringPlugin((config as FilterConfig) ?? undefined);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","FilteringPlugin"],"mappings":"4IAqBAA,EAAgB,YAAcC,GACN,kBAAXA,EAA6B,IAAIC,EACrC,IAAIA,EAAiBD,QAA2B"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  groupingColumns?: boolean | GroupingColumnsConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"grouping-columns.js","sources":["../../../../../libs/grid/src/lib/features/grouping-columns.ts"],"sourcesContent":["/**\n * Column Grouping feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/grouping-columns';\n *\n * grid.gridConfig = { features: { groupingColumns: true } };\n * ```\n */\n\nimport { GroupingColumnsPlugin, type GroupingColumnsConfig } from '../plugins/grouping-columns';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable column grouping headers. */\n groupingColumns?: boolean | GroupingColumnsConfig;\n }\n}\n\nregisterFeature('groupingColumns', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as GroupingColumnsConfig) ?? {});\n return new GroupingColumnsPlugin(options);\n});\n"],"names":["registerFeature","config","GroupingColumnsPlugin"],"mappings":"yJAqBAA,EAAgB,kBAAoBC,GAE3B,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAoC,CAAA"}
1
+ {"version":3,"file":"grouping-columns.js","sources":["../../../../../libs/grid/src/lib/features/grouping-columns.ts"],"sourcesContent":["/**\n * Column Grouping feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/grouping-columns';\n *\n * grid.gridConfig = { features: { groupingColumns: true } };\n * ```\n */\n\nimport { GroupingColumnsPlugin, type GroupingColumnsConfig } from '../plugins/grouping-columns';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable column grouping headers. */\n groupingColumns?: boolean | GroupingColumnsConfig;\n }\n}\n\nregisterFeature('groupingColumns', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as GroupingColumnsConfig) ?? {});\n return new GroupingColumnsPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","GroupingColumnsPlugin"],"mappings":"yJAqBAA,EAAgB,kBAAoBC,GAE3B,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAoC,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  groupingRows?: GroupingRowsConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"grouping-rows.js","sources":["../../../../../libs/grid/src/lib/features/grouping-rows.ts"],"sourcesContent":["/**\n * Row Grouping feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/grouping-rows';\n *\n * grid.gridConfig = { features: { groupingRows: { groupBy: ['department'] } } };\n * ```\n */\n\nimport { GroupingRowsPlugin, type GroupingRowsConfig } from '../plugins/grouping-rows';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable row grouping with expand/collapse. */\n groupingRows?: GroupingRowsConfig;\n }\n}\n\nregisterFeature('groupingRows', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as GroupingRowsConfig) ?? {});\n return new GroupingRowsPlugin(options);\n});\n"],"names":["registerFeature","config","GroupingRowsPlugin"],"mappings":"mJAqBAA,EAAgB,eAAiBC,GAExB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAiC,CAAA"}
1
+ {"version":3,"file":"grouping-rows.js","sources":["../../../../../libs/grid/src/lib/features/grouping-rows.ts"],"sourcesContent":["/**\n * Row Grouping feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/grouping-rows';\n *\n * grid.gridConfig = { features: { groupingRows: { groupBy: ['department'] } } };\n * ```\n */\n\nimport { GroupingRowsPlugin, type GroupingRowsConfig } from '../plugins/grouping-rows';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable row grouping with expand/collapse. */\n groupingRows?: GroupingRowsConfig;\n }\n}\n\nregisterFeature('groupingRows', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as GroupingRowsConfig) ?? {});\n return new GroupingRowsPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","GroupingRowsPlugin"],"mappings":"mJAqBAA,EAAgB,eAAiBC,GAExB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAiC,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  masterDetail?: MasterDetailConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"master-detail.js","sources":["../../../../../libs/grid/src/lib/features/master-detail.ts"],"sourcesContent":["/**\n * Master-Detail feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/master-detail';\n *\n * grid.gridConfig = { features: { masterDetail: { detailRenderer: (row) => `<div>...</div>` } } };\n * ```\n */\n\nimport { MasterDetailPlugin, type MasterDetailConfig } from '../plugins/master-detail';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable master-detail rows with expandable detail panels. */\n masterDetail?: MasterDetailConfig;\n }\n}\n\nregisterFeature('masterDetail', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as MasterDetailConfig) ?? {});\n return new MasterDetailPlugin(options);\n});\n"],"names":["registerFeature","config","MasterDetailPlugin"],"mappings":"mJAqBAA,EAAgB,eAAiBC,GAExB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAiC,CAAA"}
1
+ {"version":3,"file":"master-detail.js","sources":["../../../../../libs/grid/src/lib/features/master-detail.ts"],"sourcesContent":["/**\n * Master-Detail feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/master-detail';\n *\n * grid.gridConfig = { features: { masterDetail: { detailRenderer: (row) => `<div>...</div>` } } };\n * ```\n */\n\nimport { MasterDetailPlugin, type MasterDetailConfig } from '../plugins/master-detail';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable master-detail rows with expandable detail panels. */\n masterDetail?: MasterDetailConfig;\n }\n}\n\nregisterFeature('masterDetail', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as MasterDetailConfig) ?? {});\n return new MasterDetailPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","MasterDetailPlugin"],"mappings":"mJAqBAA,EAAgB,eAAiBC,GAExB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAiC,CAAA"}
@@ -7,3 +7,5 @@ declare module '../core/types' {
7
7
  sorting?: boolean | 'single' | 'multi' | MultiSortConfig;
8
8
  }
9
9
  }
10
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
11
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"multi-sort.js","sources":["../../../../../libs/grid/src/lib/features/multi-sort.ts"],"sourcesContent":["/**\n * Multi-sort feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/multi-sort';\n *\n * grid.gridConfig = { features: { multiSort: true } };\n * ```\n */\n\nimport { MultiSortPlugin, type MultiSortConfig } from '../plugins/multi-sort';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable multi-column sorting. */\n multiSort?: boolean | 'single' | 'multi' | MultiSortConfig;\n /** @deprecated Use `multiSort` instead. Will be removed in v2.*/\n sorting?: boolean | 'single' | 'multi' | MultiSortConfig;\n }\n}\n\nregisterFeature('multiSort', (config) => {\n if (config === true || config === 'multi') {\n return new MultiSortPlugin();\n }\n if (config === 'single') {\n return new MultiSortPlugin({ maxSortColumns: 1 });\n }\n return new MultiSortPlugin(config as MultiSortConfig);\n});\n"],"names":["registerFeature","config","MultiSortPlugin","maxSortColumns"],"mappings":"6IAuBAA,EAAgB,YAAcC,IACb,IAAXA,GAA8B,UAAXA,EACd,IAAIC,EAGJ,IAAIA,EADE,WAAXD,EACyB,CAAEE,eAAgB,GAEpBF"}
1
+ {"version":3,"file":"multi-sort.js","sources":["../../../../../libs/grid/src/lib/features/multi-sort.ts"],"sourcesContent":["/**\n * Multi-sort feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/multi-sort';\n *\n * grid.gridConfig = { features: { multiSort: true } };\n * ```\n */\n\nimport { MultiSortPlugin, type MultiSortConfig } from '../plugins/multi-sort';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable multi-column sorting. */\n multiSort?: boolean | 'single' | 'multi' | MultiSortConfig;\n /** @deprecated Use `multiSort` instead. Will be removed in v2.*/\n sorting?: boolean | 'single' | 'multi' | MultiSortConfig;\n }\n}\n\nregisterFeature('multiSort', (config) => {\n if (config === true || config === 'multi') {\n return new MultiSortPlugin();\n }\n if (config === 'single') {\n return new MultiSortPlugin({ maxSortColumns: 1 });\n }\n return new MultiSortPlugin(config as MultiSortConfig);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","MultiSortPlugin","maxSortColumns"],"mappings":"6IAuBAA,EAAgB,YAAcC,IACb,IAAXA,GAA8B,UAAXA,EACd,IAAIC,EAGJ,IAAIA,EADE,WAAXD,EACyB,CAAEE,eAAgB,GAEpBF"}
@@ -14,4 +14,5 @@ declare module '../core/types' {
14
14
  pinnedColumns?: boolean;
15
15
  }
16
16
  }
17
- export {};
17
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
18
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"pinned-columns.js","sources":["../../../../../libs/grid/src/lib/features/pinned-columns.ts"],"sourcesContent":["/**\n * Pinned Columns feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/pinned-columns';\n *\n * grid.gridConfig = { features: { pinnedColumns: true } };\n * ```\n */\n\nimport { PinnedColumnsPlugin } from '../plugins/pinned-columns';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable column pinning (left/right). */\n pinnedColumns?: boolean;\n }\n}\n\nregisterFeature('pinnedColumns', (config) => {\n return new PinnedColumnsPlugin();\n});\n"],"names":["registerFeature","config","PinnedColumnsPlugin"],"mappings":"qJAqBAA,EAAgB,gBAAkBC,GACzB,IAAIC"}
1
+ {"version":3,"file":"pinned-columns.js","sources":["../../../../../libs/grid/src/lib/features/pinned-columns.ts"],"sourcesContent":["/**\n * Pinned Columns feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/pinned-columns';\n *\n * grid.gridConfig = { features: { pinnedColumns: true } };\n * ```\n */\n\nimport { PinnedColumnsPlugin } from '../plugins/pinned-columns';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable column pinning (left/right). */\n pinnedColumns?: boolean;\n }\n}\n\nregisterFeature('pinnedColumns', (config) => {\n return new PinnedColumnsPlugin();\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","PinnedColumnsPlugin"],"mappings":"qJAqBAA,EAAgB,gBAAkBC,GACzB,IAAIC"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  pinnedRows?: boolean | PinnedRowsConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"pinned-rows.js","sources":["../../../../../libs/grid/src/lib/features/pinned-rows.ts"],"sourcesContent":["/**\n * Pinned Rows feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/pinned-rows';\n *\n * grid.gridConfig = { features: { pinnedRows: true } };\n * ```\n */\n\nimport { PinnedRowsPlugin, type PinnedRowsConfig } from '../plugins/pinned-rows';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable pinned (frozen) rows at top/bottom of the grid. */\n pinnedRows?: boolean | PinnedRowsConfig;\n }\n}\n\nregisterFeature('pinnedRows', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as PinnedRowsConfig) ?? {});\n return new PinnedRowsPlugin(options);\n});\n"],"names":["registerFeature","config","PinnedRowsPlugin"],"mappings":"+IAqBAA,EAAgB,aAAeC,GAEtB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA+B,CAAA"}
1
+ {"version":3,"file":"pinned-rows.js","sources":["../../../../../libs/grid/src/lib/features/pinned-rows.ts"],"sourcesContent":["/**\n * Pinned Rows feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/pinned-rows';\n *\n * grid.gridConfig = { features: { pinnedRows: true } };\n * ```\n */\n\nimport { PinnedRowsPlugin, type PinnedRowsConfig } from '../plugins/pinned-rows';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable pinned (frozen) rows at top/bottom of the grid. */\n pinnedRows?: boolean | PinnedRowsConfig;\n }\n}\n\nregisterFeature('pinnedRows', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as PinnedRowsConfig) ?? {});\n return new PinnedRowsPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","PinnedRowsPlugin"],"mappings":"+IAqBAA,EAAgB,aAAeC,GAEtB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA+B,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  pivot?: PivotConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"pivot.js","sources":["../../../../../libs/grid/src/lib/features/pivot.ts"],"sourcesContent":["/**\n * Pivot feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/pivot';\n *\n * grid.gridConfig = { features: { pivot: { rowFields: ['region'], colFields: ['year'] } } };\n * ```\n */\n\nimport { PivotPlugin, type PivotConfig } from '../plugins/pivot';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable pivot table mode. */\n pivot?: PivotConfig;\n }\n}\n\nregisterFeature('pivot', (config) => {\n return new PivotPlugin((config as PivotConfig) ?? undefined);\n});\n"],"names":["registerFeature","config","PivotPlugin"],"mappings":"oIAqBAA,EAAgB,QAAUC,GACjB,IAAIC,EAAaD,QAA0B"}
1
+ {"version":3,"file":"pivot.js","sources":["../../../../../libs/grid/src/lib/features/pivot.ts"],"sourcesContent":["/**\n * Pivot feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/pivot';\n *\n * grid.gridConfig = { features: { pivot: { rowFields: ['region'], colFields: ['year'] } } };\n * ```\n */\n\nimport { PivotPlugin, type PivotConfig } from '../plugins/pivot';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable pivot table mode. */\n pivot?: PivotConfig;\n }\n}\n\nregisterFeature('pivot', (config) => {\n return new PivotPlugin((config as PivotConfig) ?? undefined);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","PivotPlugin"],"mappings":"oIAqBAA,EAAgB,QAAUC,GACjB,IAAIC,EAAaD,QAA0B"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  print?: boolean | PrintConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"print.js","sources":["../../../../../libs/grid/src/lib/features/print.ts"],"sourcesContent":["/**\n * Print feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/print';\n *\n * grid.gridConfig = { features: { print: true } };\n * ```\n */\n\nimport { PrintPlugin, type PrintConfig } from '../plugins/print';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable print support with configurable layout. */\n print?: boolean | PrintConfig;\n }\n}\n\nregisterFeature('print', (config) => {\n if (config === true) return new PrintPlugin();\n return new PrintPlugin((config as PrintConfig) ?? undefined);\n});\n"],"names":["registerFeature","config","PrintPlugin"],"mappings":"oIAqBAA,EAAgB,QAAUC,IACT,IAAXA,EAAwB,IAAIC,EACzB,IAAIA,EAAaD,QAA0B"}
1
+ {"version":3,"file":"print.js","sources":["../../../../../libs/grid/src/lib/features/print.ts"],"sourcesContent":["/**\n * Print feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/print';\n *\n * grid.gridConfig = { features: { print: true } };\n * ```\n */\n\nimport { PrintPlugin, type PrintConfig } from '../plugins/print';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable print support with configurable layout. */\n print?: boolean | PrintConfig;\n }\n}\n\nregisterFeature('print', (config) => {\n if (config === true) return new PrintPlugin();\n return new PrintPlugin((config as PrintConfig) ?? undefined);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","PrintPlugin"],"mappings":"oIAqBAA,EAAgB,QAAUC,IACT,IAAXA,EAAwB,IAAIC,EACzB,IAAIA,EAAaD,QAA0B"}
@@ -7,3 +7,5 @@ declare module '../core/types' {
7
7
  reorder?: boolean | ReorderConfig;
8
8
  }
9
9
  }
10
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
11
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder-columns.js","sources":["../../../../../libs/grid/src/lib/features/reorder-columns.ts"],"sourcesContent":["/**\n * Column Reorder feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/reorder-columns';\n *\n * grid.gridConfig = { features: { reorderColumns: true } };\n * ```\n */\n\nimport { ReorderPlugin, type ReorderConfig } from '../plugins/reorder-columns';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable column drag-to-reorder. */\n reorderColumns?: boolean | ReorderConfig;\n /** @deprecated Use `reorderColumns` instead. Will be removed in v2.*/\n reorder?: boolean | ReorderConfig;\n }\n}\n\nconst factory = (config: unknown) => {\n const options = typeof config === 'boolean' ? {} : ((config as ReorderConfig) ?? {});\n return new ReorderPlugin(options);\n};\n\nregisterFeature('reorderColumns', factory);\nregisterFeature('reorder', factory);\n"],"names":["factory","config","ReorderPlugin","registerFeature"],"mappings":"gJAuBA,MAAMA,EAAWC,GAER,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA4B,CAAA,GAInFE,EAAgB,iBAAkBH,GAClCG,EAAgB,UAAWH"}
1
+ {"version":3,"file":"reorder-columns.js","sources":["../../../../../libs/grid/src/lib/features/reorder-columns.ts"],"sourcesContent":["/**\n * Column Reorder feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/reorder-columns';\n *\n * grid.gridConfig = { features: { reorderColumns: true } };\n * ```\n */\n\nimport { ReorderPlugin, type ReorderConfig } from '../plugins/reorder-columns';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable column drag-to-reorder. */\n reorderColumns?: boolean | ReorderConfig;\n /** @deprecated Use `reorderColumns` instead. Will be removed in v2.*/\n reorder?: boolean | ReorderConfig;\n }\n}\n\nconst factory = (config: unknown) => {\n const options = typeof config === 'boolean' ? {} : ((config as ReorderConfig) ?? {});\n return new ReorderPlugin(options);\n};\n\nregisterFeature('reorderColumns', factory);\nregisterFeature('reorder', factory);\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["factory","config","ReorderPlugin","registerFeature"],"mappings":"gJAuBA,MAAMA,EAAWC,GAER,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA4B,CAAA,GAInFE,EAAgB,iBAAkBH,GAClCG,EAAgB,UAAWH"}
@@ -7,3 +7,5 @@ declare module '../core/types' {
7
7
  rowReorder?: boolean | RowReorderConfig;
8
8
  }
9
9
  }
10
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
11
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder-rows.js","sources":["../../../../../libs/grid/src/lib/features/reorder-rows.ts"],"sourcesContent":["/**\n * Row Reorder feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/reorder-rows';\n *\n * grid.gridConfig = { features: { reorderRows: true } };\n * ```\n */\n\nimport { RowReorderPlugin, type RowReorderConfig } from '../plugins/reorder-rows';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable row drag-to-reorder. */\n reorderRows?: boolean | RowReorderConfig;\n /** @deprecated Use `reorderRows` instead. Will be removed in v2.*/\n rowReorder?: boolean | RowReorderConfig;\n }\n}\n\nconst factory = (config: unknown) => {\n if (config === true) {\n return new RowReorderPlugin();\n }\n return new RowReorderPlugin((config as RowReorderConfig) ?? undefined);\n};\n\nregisterFeature('reorderRows', factory);\nregisterFeature('rowReorder', factory);\n"],"names":["factory","config","RowReorderPlugin","registerFeature"],"mappings":"gJAuBA,MAAMA,EAAWC,IACA,IAAXA,EACK,IAAIC,EAEN,IAAIA,EAAkBD,QAA+B,GAG9DE,EAAgB,cAAeH,GAC/BG,EAAgB,aAAcH"}
1
+ {"version":3,"file":"reorder-rows.js","sources":["../../../../../libs/grid/src/lib/features/reorder-rows.ts"],"sourcesContent":["/**\n * Row Reorder feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/reorder-rows';\n *\n * grid.gridConfig = { features: { reorderRows: true } };\n * ```\n */\n\nimport { RowReorderPlugin, type RowReorderConfig } from '../plugins/reorder-rows';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable row drag-to-reorder. */\n reorderRows?: boolean | RowReorderConfig;\n /** @deprecated Use `reorderRows` instead. Will be removed in v2.*/\n rowReorder?: boolean | RowReorderConfig;\n }\n}\n\nconst factory = (config: unknown) => {\n if (config === true) {\n return new RowReorderPlugin();\n }\n return new RowReorderPlugin((config as RowReorderConfig) ?? undefined);\n};\n\nregisterFeature('reorderRows', factory);\nregisterFeature('rowReorder', factory);\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["factory","config","RowReorderPlugin","registerFeature"],"mappings":"gJAuBA,MAAMA,EAAWC,IACA,IAAXA,EACK,IAAIC,EAEN,IAAIA,EAAkBD,QAA+B,GAG9DE,EAAgB,cAAeH,GAC/BG,EAAgB,aAAcH"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  responsive?: boolean | ResponsivePluginConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"responsive.js","sources":["../../../../../libs/grid/src/lib/features/responsive.ts"],"sourcesContent":["/**\n * Responsive feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/responsive';\n *\n * grid.gridConfig = { features: { responsive: true } };\n * ```\n */\n\nimport { ResponsivePlugin, type ResponsivePluginConfig } from '../plugins/responsive';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable responsive column hiding based on breakpoints. */\n responsive?: boolean | ResponsivePluginConfig;\n }\n}\n\nregisterFeature('responsive', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ResponsivePluginConfig) ?? {});\n return new ResponsivePlugin(options);\n});\n"],"names":["registerFeature","config","ResponsivePlugin"],"mappings":"8IAqBAA,EAAgB,aAAeC,GAEtB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAqC,CAAA"}
1
+ {"version":3,"file":"responsive.js","sources":["../../../../../libs/grid/src/lib/features/responsive.ts"],"sourcesContent":["/**\n * Responsive feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/responsive';\n *\n * grid.gridConfig = { features: { responsive: true } };\n * ```\n */\n\nimport { ResponsivePlugin, type ResponsivePluginConfig } from '../plugins/responsive';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable responsive column hiding based on breakpoints. */\n responsive?: boolean | ResponsivePluginConfig;\n }\n}\n\nregisterFeature('responsive', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as ResponsivePluginConfig) ?? {});\n return new ResponsivePlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","ResponsivePlugin"],"mappings":"8IAqBAA,EAAgB,aAAeC,GAEtB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAqC,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  selection?: 'cell' | 'row' | 'range' | SelectionConfig<TRow>;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"selection.js","sources":["../../../../../libs/grid/src/lib/features/selection.ts"],"sourcesContent":["/**\n * Selection feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/selection';\n *\n * grid.gridConfig = { features: { selection: 'range' } };\n * ```\n */\n\nimport { SelectionPlugin, type SelectionConfig } from '../plugins/selection';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig<TRow> {\n /** Enable cell/row/range selection. */\n selection?: 'cell' | 'row' | 'range' | SelectionConfig<TRow>;\n }\n}\n\nregisterFeature('selection', (config) => {\n if (config === 'cell' || config === 'row' || config === 'range') {\n return new SelectionPlugin({ mode: config });\n }\n return new SelectionPlugin(config ?? undefined);\n});\n"],"names":["registerFeature","config","SelectionPlugin","mode"],"mappings":"4IAqBAA,EAAgB,YAAcC,GAEnB,IAAIC,EADE,SAAXD,GAAgC,QAAXA,GAA+B,UAAXA,EAChB,CAAEE,KAAMF,GAEVA,QAAU"}
1
+ {"version":3,"file":"selection.js","sources":["../../../../../libs/grid/src/lib/features/selection.ts"],"sourcesContent":["/**\n * Selection feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/selection';\n *\n * grid.gridConfig = { features: { selection: 'range' } };\n * ```\n */\n\nimport { SelectionPlugin, type SelectionConfig } from '../plugins/selection';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig<TRow> {\n /** Enable cell/row/range selection. */\n selection?: 'cell' | 'row' | 'range' | SelectionConfig<TRow>;\n }\n}\n\nregisterFeature('selection', (config) => {\n if (config === 'cell' || config === 'row' || config === 'range') {\n return new SelectionPlugin({ mode: config });\n }\n return new SelectionPlugin(config ?? undefined);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","SelectionPlugin","mode"],"mappings":"4IAqBAA,EAAgB,YAAcC,GAEnB,IAAIC,EADE,SAAXD,GAAgC,QAAXA,GAA+B,UAAXA,EAChB,CAAEE,KAAMF,GAEVA,QAAU"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  serverSide?: ServerSideConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"server-side.js","sources":["../../../../../libs/grid/src/lib/features/server-side.ts"],"sourcesContent":["/**\n * Server-Side feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/server-side';\n *\n * grid.gridConfig = { features: { serverSide: { fetchRows: async (params) => ... } } };\n * ```\n */\n\nimport { ServerSidePlugin, type ServerSideConfig } from '../plugins/server-side';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable server-side data fetching, sorting, filtering, etc. */\n serverSide?: ServerSideConfig;\n }\n}\n\nregisterFeature('serverSide', (config) => {\n return new ServerSidePlugin((config as ServerSideConfig) ?? undefined);\n});\n"],"names":["registerFeature","config","ServerSidePlugin"],"mappings":"+IAqBAA,EAAgB,aAAeC,GACtB,IAAIC,EAAkBD,QAA+B"}
1
+ {"version":3,"file":"server-side.js","sources":["../../../../../libs/grid/src/lib/features/server-side.ts"],"sourcesContent":["/**\n * Server-Side feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/server-side';\n *\n * grid.gridConfig = { features: { serverSide: { fetchRows: async (params) => ... } } };\n * ```\n */\n\nimport { ServerSidePlugin, type ServerSideConfig } from '../plugins/server-side';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable server-side data fetching, sorting, filtering, etc. */\n serverSide?: ServerSideConfig;\n }\n}\n\nregisterFeature('serverSide', (config) => {\n return new ServerSidePlugin((config as ServerSideConfig) ?? undefined);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","ServerSidePlugin"],"mappings":"+IAqBAA,EAAgB,aAAeC,GACtB,IAAIC,EAAkBD,QAA+B"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  tooltip?: boolean | TooltipConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sources":["../../../../../libs/grid/src/lib/features/tooltip.ts"],"sourcesContent":["/**\n * Tooltip feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/tooltip';\n *\n * grid.gridConfig = { features: { tooltip: true } };\n * ```\n */\n\nimport { TooltipPlugin, type TooltipConfig } from '../plugins/tooltip';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable automatic overflow tooltips on headers and cells. */\n tooltip?: boolean | TooltipConfig;\n }\n}\n\nregisterFeature('tooltip', (config) => {\n if (config === true) return new TooltipPlugin();\n return new TooltipPlugin((config as TooltipConfig) ?? undefined);\n});\n"],"names":["registerFeature","config","TooltipPlugin"],"mappings":"wIAqBAA,EAAgB,UAAYC,IACX,IAAXA,EAAwB,IAAIC,EACzB,IAAIA,EAAeD,QAA4B"}
1
+ {"version":3,"file":"tooltip.js","sources":["../../../../../libs/grid/src/lib/features/tooltip.ts"],"sourcesContent":["/**\n * Tooltip feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/tooltip';\n *\n * grid.gridConfig = { features: { tooltip: true } };\n * ```\n */\n\nimport { TooltipPlugin, type TooltipConfig } from '../plugins/tooltip';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable automatic overflow tooltips on headers and cells. */\n tooltip?: boolean | TooltipConfig;\n }\n}\n\nregisterFeature('tooltip', (config) => {\n if (config === true) return new TooltipPlugin();\n return new TooltipPlugin((config as TooltipConfig) ?? undefined);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","TooltipPlugin"],"mappings":"wIAqBAA,EAAgB,UAAYC,IACX,IAAXA,EAAwB,IAAIC,EACzB,IAAIA,EAAeD,QAA4B"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  tree?: boolean | TreeConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"tree.js","sources":["../../../../../libs/grid/src/lib/features/tree.ts"],"sourcesContent":["/**\n * Tree feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/tree';\n *\n * grid.gridConfig = { features: { tree: true } };\n * ```\n */\n\nimport { TreePlugin, type TreeConfig } from '../plugins/tree';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable tree (hierarchical) data display with expand/collapse. */\n tree?: boolean | TreeConfig;\n }\n}\n\nregisterFeature('tree', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as TreeConfig) ?? {});\n return new TreePlugin(options);\n});\n"],"names":["registerFeature","config","TreePlugin"],"mappings":"kIAqBAA,EAAgB,OAASC,GAEhB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAyB,CAAA"}
1
+ {"version":3,"file":"tree.js","sources":["../../../../../libs/grid/src/lib/features/tree.ts"],"sourcesContent":["/**\n * Tree feature for @toolbox-web/grid\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/tree';\n *\n * grid.gridConfig = { features: { tree: true } };\n * ```\n */\n\nimport { TreePlugin, type TreeConfig } from '../plugins/tree';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable tree (hierarchical) data display with expand/collapse. */\n tree?: boolean | TreeConfig;\n }\n}\n\nregisterFeature('tree', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as TreeConfig) ?? {});\n return new TreePlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","TreePlugin"],"mappings":"kIAqBAA,EAAgB,OAASC,GAEhB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAAyB,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  undoRedo?: boolean | UndoRedoConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;
@@ -1 +1 @@
1
- {"version":3,"file":"undo-redo.js","sources":["../../../../../libs/grid/src/lib/features/undo-redo.ts"],"sourcesContent":["/**\n * Undo/Redo feature for @toolbox-web/grid\n *\n * Requires the `editing` feature to be enabled.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/undo-redo';\n *\n * grid.gridConfig = { features: { editing: true, undoRedo: true } };\n * ```\n */\n\nimport { UndoRedoPlugin, type UndoRedoConfig } from '../plugins/undo-redo';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable undo/redo for cell edits. Requires `editing`. */\n undoRedo?: boolean | UndoRedoConfig;\n }\n}\n\nregisterFeature('undoRedo', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as UndoRedoConfig) ?? {});\n return new UndoRedoPlugin(options);\n});\n"],"names":["registerFeature","config","UndoRedoPlugin"],"mappings":"2IAuBAA,EAAgB,WAAaC,GAEpB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA6B,CAAA"}
1
+ {"version":3,"file":"undo-redo.js","sources":["../../../../../libs/grid/src/lib/features/undo-redo.ts"],"sourcesContent":["/**\n * Undo/Redo feature for @toolbox-web/grid\n *\n * Requires the `editing` feature to be enabled.\n *\n * @example\n * ```typescript\n * import '@toolbox-web/grid/features/undo-redo';\n *\n * grid.gridConfig = { features: { editing: true, undoRedo: true } };\n * ```\n */\n\nimport { UndoRedoPlugin, type UndoRedoConfig } from '../plugins/undo-redo';\nimport { registerFeature } from './registry';\n\ndeclare module '../core/types' {\n interface FeatureConfig {\n /** Enable undo/redo for cell edits. Requires `editing`. */\n undoRedo?: boolean | UndoRedoConfig;\n }\n}\n\nregisterFeature('undoRedo', (config) => {\n const options = typeof config === 'boolean' ? {} : ((config as UndoRedoConfig) ?? {});\n return new UndoRedoPlugin(options);\n});\n\n/** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */\nexport type _Augmentation = true;\n"],"names":["registerFeature","config","UndoRedoPlugin"],"mappings":"2IAuBAA,EAAgB,WAAaC,GAEpB,IAAIC,EADuB,kBAAXD,EAAuB,CAAA,EAAOA,GAA6B,CAAA"}
@@ -5,3 +5,5 @@ declare module '../core/types' {
5
5
  visibility?: boolean | VisibilityConfig;
6
6
  }
7
7
  }
8
+ /** @internal Type anchor — forces bundlers to preserve this module's FeatureConfig augmentation when re-exported. */
9
+ export type _Augmentation = true;