@ithouse-bd/ngx-table 0.0.0-stage → 1.1.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.
package/index.d.ts ADDED
@@ -0,0 +1,783 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+
4
+ /**
5
+ * Public models for `<ith-table>`.
6
+ */
7
+ /** How the table obtains its rows. */
8
+ type TableMode = 'client' | 'server';
9
+ /** `none` hides the checkbox column, `single` allows one row, `multi` allows many. */
10
+ type TableSelectionMode = 'none' | 'single' | 'multi';
11
+ /** Whether the header checkbox selects the current page or every filtered row. */
12
+ type TableSelectAllScope = 'page' | 'all';
13
+ type TableAlign = 'left' | 'center' | 'right';
14
+ type TableSortDirection = 'asc' | 'desc';
15
+ /** Control rendered in the filter row for a column. */
16
+ type TableFilterType = 'text' | 'number' | 'date' | 'select';
17
+ /** Row height mode toggled from the toolbar. */
18
+ type TableDensity = 'comfortable' | 'compact';
19
+ /** Runtime pinning of a column to the start or end edge. */
20
+ type TablePin = 'start' | 'end';
21
+ /** Built-in footer aggregation for a column. */
22
+ type TableAggregateType = 'sum' | 'avg' | 'min' | 'max' | 'count';
23
+ /** Option of a `select` filter. */
24
+ interface TableFilterOption {
25
+ label: string;
26
+ value: unknown;
27
+ }
28
+ /** Active sort state. */
29
+ interface TableSort {
30
+ /** `key` of the sorted column. */
31
+ key: string;
32
+ direction: TableSortDirection;
33
+ }
34
+ /**
35
+ * Column definition. Every column is addressed by `key`, which is also the
36
+ * name used by `#ithTableCell="key"` / `#ithTableHeader="key"` templates.
37
+ */
38
+ interface TableColumn<T = any> {
39
+ /** Unique column id. */
40
+ key: string;
41
+ /** Header label. Defaults to the key. */
42
+ header?: string;
43
+ /** Dot-path (e.g. `student.name`) used to read the cell value. Defaults to `key`. */
44
+ field?: string;
45
+ /** Defaults to the table-level `sortable` input. */
46
+ sortable?: boolean;
47
+ /** Include this column in the global search. Defaults to `true`. */
48
+ searchable?: boolean;
49
+ /** Show an input for this column when `showFilters` is enabled. Defaults to `true`. */
50
+ filterable?: boolean;
51
+ /** Control used by the filter row. Defaults to `text`. */
52
+ filterType?: TableFilterType;
53
+ /** Options for a `select` filter. */
54
+ filterOptions?: TableFilterOption[];
55
+ /** Placeholder for this column's filter control. */
56
+ filterPlaceholder?: string;
57
+ /**
58
+ * Custom matching rule for this column. Return `true` to keep the row.
59
+ * `cellValue` is the raw value read through `field`, `filterValue` the current
60
+ * filter text.
61
+ */
62
+ filterPredicate?: (cellValue: unknown, filterValue: string, row: T) => boolean;
63
+ align?: TableAlign;
64
+ /** CSS width, e.g. `'120px'` or `'20%'`. */
65
+ width?: string;
66
+ minWidth?: string;
67
+ /** Hide the column without removing it from the configuration. */
68
+ hidden?: boolean;
69
+ headerClass?: string;
70
+ cellClass?: string | ((row: T, index: number) => string | string[] | Record<string, boolean> | undefined);
71
+ /** Format the display value. Searching and filtering also use this output. */
72
+ formatter?: (value: unknown, row: T, index: number) => string | number | null | undefined;
73
+ /** Custom ascending comparator. */
74
+ sortFn?: (a: T, b: T) => number;
75
+ /** Custom text used by the global search. Defaults to the formatted cell value. */
76
+ searchValue?: (row: T) => string;
77
+ /** Custom text used by the per-column filter. Defaults to the formatted cell value. */
78
+ filterValue?: (row: T) => string;
79
+ /**
80
+ * Show the full cell text as a native tooltip (for truncated values). Defaults to `true`;
81
+ * set to `false` on columns where a tooltip would be noise.
82
+ */
83
+ tooltip?: boolean;
84
+ /**
85
+ * Keep the column at the start/end edge while the table scrolls horizontally.
86
+ * Sticky columns should declare a `width` so the next sticky column can be offset.
87
+ */
88
+ sticky?: TablePin;
89
+ /** Allow pinning / unpinning this column from the header menu. Defaults to `true`. */
90
+ pinnable?: boolean;
91
+ /** Allow hiding this column from the header menu. Defaults to `true`. */
92
+ hideable?: boolean;
93
+ /** Footer aggregation shown when the column declares `aggregate`. */
94
+ aggregate?: TableAggregateType | TableAggregate<T>;
95
+ }
96
+ /** Column aggregate: a bare type (`'sum'`) or a type plus custom label/format. */
97
+ interface TableAggregate<T = any> {
98
+ type: TableAggregateType;
99
+ /** Text drawn before the value, e.g. `'Total'`. Defaults to the type name. */
100
+ label?: string;
101
+ /** Custom number formatter; overrides the default locale formatting. */
102
+ format?: (value: number, column: TableColumn<T>) => string;
103
+ }
104
+ /** One bulk action rendered in the selection bar. */
105
+ interface TableSelectionAction<T = any> {
106
+ /** Identifies the action in `(selectionAction)` events. */
107
+ id: string;
108
+ label: string;
109
+ icon?: string;
110
+ class?: string;
111
+ title?: string;
112
+ }
113
+ /** Emitted when a selection bar action is clicked. */
114
+ interface TableSelectionActionEvent<T = any> {
115
+ action: TableSelectionAction<T>;
116
+ rows: T[];
117
+ }
118
+ /** Emitted when the toolbar export is used. */
119
+ interface TableExportEvent<T = any> {
120
+ format: 'csv' | 'xlsx';
121
+ fileName: string;
122
+ blob: Blob;
123
+ /** Rows that were written (the selection when there is one). */
124
+ rows: T[];
125
+ }
126
+ /** Everything the user can change at runtime and that `storageKey` remembers. */
127
+ interface TablePresetState {
128
+ hidden: string[];
129
+ density: TableDensity;
130
+ /** Column keys in display order (hidden columns keep their slot). */
131
+ order: string[];
132
+ /** Runtime widths in px, keyed by column key. */
133
+ widths: Record<string, number>;
134
+ /** Runtime pinning, keyed by column key. */
135
+ pinned: Record<string, TablePin>;
136
+ }
137
+ /** Declarative row action button rendered in the actions column. */
138
+ interface TableRowAction<T = any> {
139
+ /** Identifies the action in `(actionClick)` events. */
140
+ id: string;
141
+ label: string;
142
+ /** Any short text/emoji shown before the label. */
143
+ icon?: string;
144
+ /** Extra CSS class(es) for the button. */
145
+ class?: string;
146
+ /** Native tooltip. */
147
+ title?: string;
148
+ disabled?: (row: T, index: number) => boolean;
149
+ hidden?: (row: T, index: number) => boolean;
150
+ }
151
+ interface TableActionEvent<T = any> {
152
+ action: TableRowAction<T>;
153
+ row: T;
154
+ index: number;
155
+ }
156
+ interface TableRowEvent<T = any> {
157
+ row: T;
158
+ index: number;
159
+ /** Mouse click, or the keyboard event when a clickable row is activated with Enter/Space. */
160
+ event: Event;
161
+ }
162
+ /** Emitted when a cell (or row) is copied to the clipboard. */
163
+ interface TableCellCopyEvent<T = any> {
164
+ /** Plain text written to the clipboard. */
165
+ value: string;
166
+ row: T;
167
+ index: number;
168
+ /** `null` when the whole row was copied. */
169
+ column: TableColumn<T> | null;
170
+ }
171
+ /** Emitted on right-click (or the context-menu key) on a row. */
172
+ interface TableRowMenuEvent<T = any> {
173
+ row: T;
174
+ index: number;
175
+ /** Position of the pointer, for consumer-owned menus. */
176
+ x: number;
177
+ y: number;
178
+ /** The originating event (`MouseEvent` or `KeyboardEvent`). */
179
+ event: Event;
180
+ }
181
+ interface TableCellContext<T = any> {
182
+ $implicit: T;
183
+ row: T;
184
+ column: TableColumn<T>;
185
+ value: unknown;
186
+ index: number;
187
+ }
188
+ interface TableHeaderContext<T = any> {
189
+ $implicit: TableColumn<T>;
190
+ column: TableColumn<T>;
191
+ }
192
+ interface TableRowActionsContext<T = any> {
193
+ $implicit: T;
194
+ row: T;
195
+ index: number;
196
+ }
197
+ interface TableFilterContext<T = any> {
198
+ $implicit: string;
199
+ value: string;
200
+ column: TableColumn<T>;
201
+ setValue: (value: string) => void;
202
+ }
203
+ /** Context of the projected `#ithTableRowMenu` template. */
204
+ interface TableRowMenuContext<T = any> {
205
+ $implicit: T;
206
+ row: T;
207
+ index: number;
208
+ }
209
+ /** Context of the projected `#ithTableRowDetail` template. */
210
+ interface TableRowDetailContext<T = any> {
211
+ $implicit: T;
212
+ row: T;
213
+ index: number;
214
+ /** Closes the detail panel for this row. */
215
+ close: () => void;
216
+ }
217
+ interface TableToolbarContext<T = any> {
218
+ rows: T[];
219
+ total: number;
220
+ selected: T[];
221
+ search: string;
222
+ }
223
+ interface TableFooterContext<T = any> extends TableToolbarContext<T> {
224
+ page: number;
225
+ pageSize: number;
226
+ pageCount: number;
227
+ }
228
+
229
+ /** Where a floating menu should be drawn (viewport coordinates). */
230
+ interface FloatingPosition {
231
+ x: number;
232
+ y: number;
233
+ }
234
+ /** Column menu state. */
235
+ interface ColumnMenuState extends FloatingPosition {
236
+ key: string;
237
+ }
238
+ /** One removable filter chip. */
239
+ interface FilterChip {
240
+ kind: 'search' | 'filter';
241
+ key: string;
242
+ label: string;
243
+ value: string;
244
+ }
245
+ /**
246
+ * Generic, standalone data table.
247
+ *
248
+ * ```html
249
+ * <ith-table
250
+ * title="Student List"
251
+ * [data]="students"
252
+ * [columns]="columns"
253
+ * selectionMode="multi"
254
+ * [pageSize]="10">
255
+ * </ith-table>
256
+ * ```
257
+ */
258
+ declare class TableComponent<T = any> {
259
+ private readonly host;
260
+ /** Unique prefix for generated DOM ids. */
261
+ readonly idBase: string;
262
+ /** Rows to render. In `server` mode this is the current page. */
263
+ readonly data: _angular_core.InputSignal<T[]>;
264
+ readonly columns: _angular_core.InputSignal<TableColumn<T>[]>;
265
+ /** Look up a unique key on each row (dot-path allowed). */
266
+ readonly keyField: _angular_core.InputSignal<string>;
267
+ /** `client` sorts/searches/pages the array locally; `server` emits events instead. */
268
+ readonly mode: _angular_core.InputSignal<TableMode>;
269
+ /** Total row count for `server` mode (defaults to `data().length`). */
270
+ readonly total: _angular_core.InputSignal<number>;
271
+ readonly title: _angular_core.InputSignal<string>;
272
+ readonly countSuffix: _angular_core.InputSignal<string>;
273
+ readonly totalLabel: _angular_core.InputSignal<string>;
274
+ readonly showToolbar: _angular_core.InputSignal<boolean>;
275
+ readonly searchable: _angular_core.InputSignal<boolean>;
276
+ readonly searchPlaceholder: _angular_core.InputSignal<string>;
277
+ readonly showFilters: _angular_core.InputSignal<boolean>;
278
+ readonly filterPlaceholder: _angular_core.InputSignal<string>;
279
+ /** Label of the empty option in `select` filters. */
280
+ readonly filterAllLabel: _angular_core.InputSignal<string>;
281
+ readonly emptyText: _angular_core.InputSignal<string>;
282
+ /** Accessible name of the table. */
283
+ readonly ariaLabel: _angular_core.InputSignal<string>;
284
+ /** Active sort, two-way bindable. `null` means unsorted. */
285
+ readonly sort: _angular_core.ModelSignal<TableSort>;
286
+ /** Table-wide sort switch; individual columns can opt out with `sortable: false`. */
287
+ readonly sortable: _angular_core.InputSignal<boolean>;
288
+ /** Global search term, two-way bindable. Also emitted as `searchChange`. */
289
+ readonly search: _angular_core.ModelSignal<string>;
290
+ /** Emitted whenever a per-column filter changes. */
291
+ readonly filterChange: _angular_core.OutputEmitterRef<Record<string, string>>;
292
+ readonly page: _angular_core.ModelSignal<number>;
293
+ readonly pageSize: _angular_core.ModelSignal<number>;
294
+ readonly pageSizeOptions: _angular_core.InputSignal<number[]>;
295
+ readonly showPagination: _angular_core.InputSignal<boolean>;
296
+ readonly showPageSize: _angular_core.InputSignal<boolean>;
297
+ readonly showFirstLast: _angular_core.InputSignal<boolean>;
298
+ /** How many numbered page buttons are rendered. */
299
+ readonly maxPageButtons: _angular_core.InputSignal<number>;
300
+ readonly showFooter: _angular_core.InputSignal<boolean>;
301
+ /** Render removable chips for the active search term and column filters. */
302
+ readonly showFilterChips: _angular_core.InputSignal<boolean>;
303
+ readonly selectionMode: _angular_core.InputSignal<TableSelectionMode>;
304
+ readonly selectAllScope: _angular_core.InputSignal<TableSelectAllScope>;
305
+ /** Selected rows, two-way bindable. */
306
+ readonly selected: _angular_core.ModelSignal<T[]>;
307
+ /** Selecting a row by clicking anywhere on it (not only the checkbox). */
308
+ readonly selectOnRowClick: _angular_core.InputSignal<boolean>;
309
+ /** Bulk actions rendered in the selection bar once rows are selected. */
310
+ readonly selectionActions: _angular_core.InputSignal<TableSelectionAction<T>[]>;
311
+ readonly rowActions: _angular_core.InputSignal<TableRowAction<T>[]>;
312
+ readonly actionsHeader: _angular_core.InputSignal<string>;
313
+ readonly actionsWidth: _angular_core.InputSignal<string>;
314
+ readonly rowClickable: _angular_core.InputSignal<boolean>;
315
+ readonly rowClass: _angular_core.InputSignal<(row: T, index: number) => string | string[] | Record<string, boolean> | undefined | null>;
316
+ readonly loading: _angular_core.InputSignal<boolean>;
317
+ readonly loadingText: _angular_core.InputSignal<string>;
318
+ readonly striped: _angular_core.InputSignal<boolean>;
319
+ readonly hoverable: _angular_core.InputSignal<boolean>;
320
+ readonly bordered: _angular_core.InputSignal<boolean>;
321
+ readonly dense: _angular_core.InputSignal<boolean>;
322
+ readonly stickyHeader: _angular_core.InputSignal<boolean>;
323
+ /** CSS max-height of the scroll container, e.g. `'480px'`. */
324
+ readonly maxHeight: _angular_core.InputSignal<string>;
325
+ /** Show a copy button on hover and enable Ctrl/Cmd+C on a focused cell. */
326
+ readonly copyable: _angular_core.InputSignal<boolean>;
327
+ /** Show the toolbar "Columns" popover (visibility switching). */
328
+ readonly showColumnPicker: _angular_core.InputSignal<boolean>;
329
+ /** Show the comfortable/compact density toggle in the toolbar. */
330
+ readonly showDensityToggle: _angular_core.InputSignal<boolean>;
331
+ /** Show the per-column header menu (sort, pin, autosize, hide). */
332
+ readonly showColumnMenu: _angular_core.InputSignal<boolean>;
333
+ /** Show the toolbar "Export" button (CSV download). */
334
+ readonly showExport: _angular_core.InputSignal<boolean>;
335
+ /** Base file name used by `downloadCsv()`. */
336
+ exportFileName: _angular_core.InputSignal<string>;
337
+ /** Show the toolbar "Views" menu for saving/loading named presets. */
338
+ readonly showViews: _angular_core.InputSignal<boolean>;
339
+ /** Allow dragging the column separator to resize a column. */
340
+ readonly resizable: _angular_core.InputSignal<boolean>;
341
+ /** Allow dragging a header onto another header to reorder columns. */
342
+ readonly reorderable: _angular_core.InputSignal<boolean>;
343
+ /** Arrow-key navigation across cells with a single tab stop. */
344
+ readonly keyboardNavigation: _angular_core.InputSignal<boolean>;
345
+ /**
346
+ * localStorage key for the saved column/density preset. When set, the user's
347
+ * choice is restored on the next visit.
348
+ */
349
+ readonly storageKey: _angular_core.InputSignal<string>;
350
+ /** Number of placeholder rows rendered while `loading` and there are no rows. */
351
+ readonly skeletonRows: _angular_core.InputSignal<number>;
352
+ /**
353
+ * Minimum number of body rows the grid keeps in view. Rows stay at their natural
354
+ * height, the spare space stays empty, so a table with one row does not collapse
355
+ * into a single line. `0` lets the grid shrink to its content.
356
+ */
357
+ readonly minRows: _angular_core.InputSignal<number>;
358
+ /** Stick the checkbox column to the start edge. */
359
+ readonly stickySelection: _angular_core.InputSignal<boolean>;
360
+ /** Stick the actions column to the end edge. */
361
+ readonly stickyActions: _angular_core.InputSignal<boolean>;
362
+ /** How the `#ithTableRowDetail` template is expanded. */
363
+ readonly rowDetailTrigger: _angular_core.InputSignal<"none" | "button" | "row">;
364
+ readonly actionClick: _angular_core.OutputEmitterRef<TableActionEvent<T>>;
365
+ readonly rowClick: _angular_core.OutputEmitterRef<TableRowEvent<T>>;
366
+ /** Emitted after a cell or row was copied to the clipboard. */
367
+ readonly cellCopy: _angular_core.OutputEmitterRef<TableCellCopyEvent<T>>;
368
+ /** Emitted on right-click / context-menu key; the menu is positioned at the pointer. */
369
+ readonly rowContextMenu: _angular_core.OutputEmitterRef<TableRowMenuEvent<T>>;
370
+ /** Visible column keys, emitted whenever the user changes column visibility. */
371
+ readonly columnsChange: _angular_core.OutputEmitterRef<string[]>;
372
+ readonly densityChange: _angular_core.OutputEmitterRef<TableDensity>;
373
+ /** Full user-chosen layout (hidden, density, order, widths, pinned). */
374
+ readonly columnStateChange: _angular_core.OutputEmitterRef<TablePresetState>;
375
+ /** Bulk action clicked in the selection bar. */
376
+ readonly selectionAction: _angular_core.OutputEmitterRef<TableSelectionActionEvent<T>>;
377
+ /** Emitted with the generated CSV text after `downloadCsv()` / the toolbar button. */
378
+ readonly csvExport: _angular_core.OutputEmitterRef<string>;
379
+ /** Emitted for both downloads (CSV and XLSX) with the produced file. */
380
+ readonly exportFile: _angular_core.OutputEmitterRef<TableExportEvent<T>>;
381
+ private readonly cellDirectives;
382
+ private readonly headerDirectives;
383
+ private readonly filterDirectives;
384
+ private readonly rowActionsDirectives;
385
+ private readonly toolbarDirectives;
386
+ private readonly footerDirectives;
387
+ private readonly emptyDirectives;
388
+ private readonly rowMenuDirectives;
389
+ private readonly rowDetailDirectives;
390
+ readonly cellTemplates: _angular_core.Signal<Map<string, TemplateRef<TableCellContext<T>>>>;
391
+ readonly headerTemplates: _angular_core.Signal<Map<string, TemplateRef<any>>>;
392
+ readonly filterTemplates: _angular_core.Signal<Map<string, TemplateRef<TableFilterContext<T>>>>;
393
+ readonly rowActionsTemplate: _angular_core.Signal<TemplateRef<any>>;
394
+ readonly toolbarTemplate: _angular_core.Signal<TemplateRef<any>>;
395
+ readonly footerTemplate: _angular_core.Signal<TemplateRef<any>>;
396
+ readonly emptyTemplate: _angular_core.Signal<TemplateRef<any>>;
397
+ readonly rowMenuTemplate: _angular_core.Signal<TemplateRef<TableRowMenuContext<T>>>;
398
+ readonly rowDetailTemplate: _angular_core.Signal<TemplateRef<TableRowDetailContext<T>>>;
399
+ readonly filters: _angular_core.ModelSignal<Record<string, string>>;
400
+ private skipInitialReset;
401
+ /** Columns hidden at runtime (on top of `column.hidden`), persisted via `storageKey`. */
402
+ private readonly hiddenColumnKeys;
403
+ private readonly density;
404
+ /** Runtime column order (all column keys, hidden ones included). */
405
+ private readonly columnOrder;
406
+ /** Runtime widths in px, keyed by column key. */
407
+ private readonly columnWidths;
408
+ /** Runtime pinning, keyed by column key. */
409
+ private readonly pinnedKeys;
410
+ /** Measured header widths, used to offset stacked sticky columns. */
411
+ private readonly measuredWidths;
412
+ /** Saved named views. */
413
+ private readonly views;
414
+ private readonly activeView;
415
+ readonly compact: _angular_core.Signal<boolean>;
416
+ readonly columnPickerOpen: _angular_core.WritableSignal<boolean>;
417
+ readonly columnsMenuPos: _angular_core.WritableSignal<FloatingPosition>;
418
+ readonly viewsOpen: _angular_core.WritableSignal<boolean>;
419
+ readonly viewsMenuPos: _angular_core.WritableSignal<FloatingPosition>;
420
+ /** Export-format menu; `null` when closed. */
421
+ readonly exportMenuPos: _angular_core.WritableSignal<FloatingPosition>;
422
+ readonly viewNameDraft: _angular_core.WritableSignal<string>;
423
+ /** Header menu state; `null` when closed. */
424
+ readonly columnMenu: _angular_core.WritableSignal<ColumnMenuState>;
425
+ /** Right-click menu position; `null` when closed. */
426
+ readonly menuState: _angular_core.WritableSignal<{
427
+ row: T;
428
+ index: number;
429
+ x: number;
430
+ y: number;
431
+ }>;
432
+ /** `${rowIndex}:${columnKey}` of the cell that was just copied (shows a check icon). */
433
+ readonly copiedCell: _angular_core.WritableSignal<string>;
434
+ /** Row keys whose detail panel is open. */
435
+ private readonly expandedKeys;
436
+ /** Cell that owns the single tab stop of the grid. */
437
+ readonly focusedCell: _angular_core.WritableSignal<{
438
+ row: number;
439
+ col: number;
440
+ }>;
441
+ /** Column key being dragged, and the header it hovers. */
442
+ readonly dragKey: _angular_core.WritableSignal<string>;
443
+ readonly dragOverKey: _angular_core.WritableSignal<string>;
444
+ /** `true` once the scroll container is scrolled away from the top. */
445
+ readonly scrolled: _angular_core.WritableSignal<boolean>;
446
+ private resizing;
447
+ private copyTimer?;
448
+ private measureHandle?;
449
+ private presetLoaded;
450
+ readonly skeletonIndexes: _angular_core.Signal<number[]>;
451
+ constructor();
452
+ readonly isServer: _angular_core.Signal<boolean>;
453
+ /** Columns in the user's order (hidden columns keep their slot in the list). */
454
+ readonly orderedColumns: _angular_core.Signal<TableColumn<T>[]>;
455
+ readonly visibleColumns: _angular_core.Signal<TableColumn<T>[]>;
456
+ readonly selectable: _angular_core.Signal<boolean>;
457
+ readonly hasActionsColumn: _angular_core.Signal<boolean>;
458
+ readonly hasRowDetail: _angular_core.Signal<boolean>;
459
+ /** Expander cell rendered as the first cell of every row. */
460
+ readonly hasExpander: _angular_core.Signal<boolean>;
461
+ /** Rows that match the global search and the per-column filters (client mode). */
462
+ readonly matchingRows: _angular_core.Signal<T[]>;
463
+ /** Matching rows in the active sort order (client mode). */
464
+ readonly sortedRows: _angular_core.Signal<T[]>;
465
+ readonly totalRows: _angular_core.Signal<number>;
466
+ readonly pageCount: _angular_core.Signal<number>;
467
+ /** Rows of the current page. */
468
+ readonly pagedRows: _angular_core.Signal<T[]>;
469
+ readonly pageItems: _angular_core.Signal<number[]>;
470
+ readonly rangeStart: _angular_core.Signal<number>;
471
+ readonly rangeEnd: _angular_core.Signal<number>;
472
+ readonly pageSizeChoices: _angular_core.Signal<number[]>;
473
+ readonly selectedKeySet: _angular_core.Signal<Set<unknown>>;
474
+ readonly allPageSelected: _angular_core.Signal<boolean>;
475
+ readonly somePageSelected: _angular_core.Signal<boolean>;
476
+ readonly emptyColspan: _angular_core.Signal<number>;
477
+ readonly hasQuery: _angular_core.Signal<boolean>;
478
+ /** Removable chips for the active search term and filters. */
479
+ readonly filterChips: _angular_core.Signal<FilterChip[]>;
480
+ /** Columns that declare a footer aggregate. */
481
+ readonly hasAggregates: _angular_core.Signal<boolean>;
482
+ /** Full user layout, the shape that `storageKey` stores. */
483
+ readonly state: _angular_core.Signal<TablePresetState>;
484
+ readonly savedViewNames: _angular_core.Signal<string[]>;
485
+ isSortable(column: TableColumn<T>): boolean;
486
+ ariaSort(column: TableColumn<T>): 'ascending' | 'descending' | 'none';
487
+ sortDirection(column: TableColumn<T>): TableSortDirection | null;
488
+ /** Cycles `asc` → `desc` → unsorted. */
489
+ toggleSort(column: TableColumn<T>): void;
490
+ onSearchInput(value: string): void;
491
+ clearSearch(): void;
492
+ onFilterInput(key: string, value: string): void;
493
+ filterValue(key: string): string;
494
+ /** Control rendered in the filter row for this column. */
495
+ filterTypeFor(column: TableColumn<T>): TableFilterType;
496
+ filterOptionsFor(column: Pick<TableColumn<T>, 'key'> & Partial<TableColumn<T>>): TableFilterOption[];
497
+ filterPlaceholderFor(column: TableColumn<T>): string;
498
+ filterTemplate(column: TableColumn<T>): TemplateRef<TableFilterContext<T>> | undefined;
499
+ /** Context handed to a custom `#ithTableFilter` template. */
500
+ filterContext(column: TableColumn<T>): TableFilterContext<T>;
501
+ clearFilters(): void;
502
+ clearQuery(): void;
503
+ /** Remove one chip from the chip row. */
504
+ removeChip(chip: FilterChip): void;
505
+ goToPage(page: number): void;
506
+ nextPage(): void;
507
+ previousPage(): void;
508
+ firstPage(): void;
509
+ lastPage(): void;
510
+ onPageSizeChange(value: number): void;
511
+ rowKey(row: T): unknown;
512
+ isSelected(row: T): boolean;
513
+ toggleRow(row: T, checked: boolean): void;
514
+ onRowCheckboxChange(row: T, event: Event): void;
515
+ toggleAll(checked: boolean): void;
516
+ onSelectAllChange(event: Event): void;
517
+ clearSelection(): void;
518
+ selectRow(row: T): void;
519
+ deselectRow(row: T): void;
520
+ /** Click on a selection-bar action. */
521
+ onSelectionAction(action: TableSelectionAction<T>, event: MouseEvent): void;
522
+ isActionVisible(action: TableRowAction<T>, row: T, index: number): boolean;
523
+ isActionDisabled(action: TableRowAction<T>, row: T, index: number): boolean;
524
+ onActionClick(action: TableRowAction<T>, row: T, index: number, event: MouseEvent): void;
525
+ onRowClick(row: T, index: number, event: MouseEvent): void;
526
+ /** `Enter` / `Space` activate a focusable row exactly like a mouse click. */
527
+ onRowKeydown(row: T, index: number, event: KeyboardEvent): void;
528
+ /** Shared by mouse and keyboard activation. */
529
+ private activateRow;
530
+ private togglesDetailOnRow;
531
+ isRowExpanded(row: T): boolean;
532
+ toggleRowDetail(row: T, event?: Event): void;
533
+ /** `close` callback handed to the `#ithTableRowDetail` template. */
534
+ rowDetailContext(row: T, index: number): TableRowDetailContext<T>;
535
+ cellValue(row: T, column: TableColumn<T>): unknown;
536
+ cellText(row: T, column: TableColumn<T>, index?: number): string;
537
+ cellContext(row: T, column: TableColumn<T>, index: number): TableCellContext<T>;
538
+ cellTemplate(column: TableColumn<T>): TemplateRef<TableCellContext<T>> | undefined;
539
+ headerTemplate(column: TableColumn<T>): TemplateRef<any> | undefined;
540
+ cellClassFor(row: T, column: TableColumn<T>, index: number): string | Record<string, boolean> | string[];
541
+ headerClassFor(column: TableColumn<T>): string[];
542
+ /** Flat class list for a header cell (NgClass rejects nested arrays). */
543
+ headerClasses(column: TableColumn<T>): string[];
544
+ filterClasses(column: TableColumn<T>): string[];
545
+ /** Flat class list for a body cell, including dynamic `cellClass` output. */
546
+ cellClasses(row: T, column: TableColumn<T>, index: number): unknown[];
547
+ columnStyle(column: TableColumn<T>): Record<string, string>;
548
+ /** Runtime pin, falling back to the declared `column.sticky`. */
549
+ pinOf(column: TableColumn<T>): TablePin | null;
550
+ stickyClassFor(column: TableColumn<T>): string;
551
+ /**
552
+ * Left/right offsets for stacked sticky columns. Depends on measured widths, so it
553
+ * stays correct for auto-sized and resized columns.
554
+ */
555
+ readonly stickyOffsets: _angular_core.Signal<Map<string, number>>;
556
+ /** Full text for the native tooltip; `null` disables it for a column. */
557
+ tooltipText(row: T, column: TableColumn<T>, index: number): string | null;
558
+ private declaredWidthPx;
559
+ private actionsWidthPx;
560
+ copyCell(row: T, column: TableColumn<T>, index: number, event?: Event): void;
561
+ copyRow(row: T, index: number, event?: Event): void;
562
+ isCellCopied(index: number, column: TableColumn<T>): boolean;
563
+ onRowContextMenu(row: T, index: number, event: MouseEvent): void;
564
+ /** Keyboard path for the same menu (context-menu key / Shift+F10). */
565
+ onRowContextMenuKey(row: T, index: number, event: KeyboardEvent): void;
566
+ closeRowMenu(): void;
567
+ /** `tabindex` of a body cell: one tab stop for the whole grid. */
568
+ cellTabIndex(rowIndex: number, colIndex: number): number | null;
569
+ onCellFocus(rowIndex: number, colIndex: number): void;
570
+ /** Copy shortcut plus arrow/Home/End/Page navigation for the cell grid. */
571
+ onCellKeydown(column: TableColumn<T>, rowIndex: number, colIndex: number, event: KeyboardEvent): void;
572
+ /** Move DOM focus to a cell, updating the single tab stop. */
573
+ private focusCell;
574
+ isColumnVisible(column: TableColumn<T>): boolean;
575
+ setColumnVisible(key: string, visible: boolean): void;
576
+ resetColumns(): void;
577
+ /** A column can be hidden when it is hideable and at least one other stays visible. */
578
+ canHide(key: string): boolean;
579
+ private emitColumns;
580
+ toggleColumnPicker(event?: Event): void;
581
+ toggleViews(event?: Event): void;
582
+ /** Set the row density explicitly (the toolbar segmented control). */
583
+ setDensity(density: TableDensity): void;
584
+ toggleDensity(): void;
585
+ openColumnMenu(column: TableColumn<T>, event: Event): void;
586
+ columnMenuColumn(): TableColumn<T> | undefined;
587
+ closeColumnMenu(): void;
588
+ menuSort(direction: TableSortDirection): void;
589
+ menuClearSort(): void;
590
+ menuPin(pin: TablePin | null): void;
591
+ menuHide(): void;
592
+ menuAutosize(): void;
593
+ canPin(column: TableColumn<T>): boolean;
594
+ pinColumn(key: string, pin: TablePin | null): void;
595
+ startResize(column: TableColumn<T>, event: PointerEvent): void;
596
+ onDocumentPointerMove(event: PointerEvent): void;
597
+ onDocumentPointerUp(): void;
598
+ /** Shrink/grow a column to its widest rendered value. */
599
+ autosizeColumn(key: string): void;
600
+ onHeaderDragStart(column: TableColumn<T>, event: DragEvent): void;
601
+ onHeaderDragOver(column: TableColumn<T>, event: DragEvent): void;
602
+ onHeaderDrop(column: TableColumn<T>, event: DragEvent): void;
603
+ onHeaderDragEnd(): void;
604
+ /** Move `from` onto the slot of `to`, keeping hidden columns in the list. */
605
+ moveColumn(from: string, to: string): void;
606
+ /** Rows an export writes: the selection when there is one, else every match. */
607
+ exportRows(): T[];
608
+ toggleExportMenu(event?: Event): void;
609
+ exportAs(format: 'csv' | 'xlsx'): void;
610
+ /** CSV text of the current view: selected rows when there are any, else all matches. */
611
+ toCsv(): string;
612
+ /** Download the current view as a UTF-8 CSV file. */
613
+ downloadCsv(): void;
614
+ /** Real Excel workbook (`.xlsx`) of the current view, built without dependencies. */
615
+ toExcel(): Blob;
616
+ /** Download the current view as an `.xlsx` workbook. */
617
+ downloadExcel(): void;
618
+ private saveFile;
619
+ /** Footer cell text for a column that declares an `aggregate`. */
620
+ aggregateText(column: TableColumn<T>): string;
621
+ aggregateLabel(column: TableColumn<T>): string;
622
+ applyView(name: string): void;
623
+ saveView(): void;
624
+ deleteView(name: string, event: MouseEvent): void;
625
+ onViewNameInput(value: string): void;
626
+ onScroll(event: Event): void;
627
+ private copyText;
628
+ /** Screen position for a menu anchored to `anchor`, kept inside the viewport. */
629
+ private floatPosition;
630
+ /** Read header widths so stacked sticky columns line up. */
631
+ private measureHeaderWidths;
632
+ private scheduleMeasure;
633
+ private applyState;
634
+ private readPreset;
635
+ private persistPreset;
636
+ onDocumentClick(): void;
637
+ onDocumentEscape(): void;
638
+ alignClass(column: TableColumn<T>): string;
639
+ rowClassFor(row: T, index: number): (string | Record<string, boolean> | string[])[];
640
+ trackRow(index: number, row: T): unknown;
641
+ toolbarContext(): Record<string, unknown>;
642
+ footerContext(): Record<string, unknown>;
643
+ emptyContext(): Record<string, unknown>;
644
+ private compareRows;
645
+ /** Match one row against the current filter value of one column. */
646
+ private columnMatchesFilter;
647
+ private searchText;
648
+ private filterText;
649
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
650
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ith-table", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "countSuffix": { "alias": "countSuffix"; "required": false; "isSignal": true; }; "totalLabel": { "alias": "totalLabel"; "required": false; "isSignal": true; }; "showToolbar": { "alias": "showToolbar"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "filterAllLabel": { "alias": "filterAllLabel"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "sortable": { "alias": "sortable"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showPagination": { "alias": "showPagination"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "showFirstLast": { "alias": "showFirstLast"; "required": false; "isSignal": true; }; "maxPageButtons": { "alias": "maxPageButtons"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "showFilterChips": { "alias": "showFilterChips"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectAllScope": { "alias": "selectAllScope"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectOnRowClick": { "alias": "selectOnRowClick"; "required": false; "isSignal": true; }; "selectionActions": { "alias": "selectionActions"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "actionsHeader": { "alias": "actionsHeader"; "required": false; "isSignal": true; }; "actionsWidth": { "alias": "actionsWidth"; "required": false; "isSignal": true; }; "rowClickable": { "alias": "rowClickable"; "required": false; "isSignal": true; }; "rowClass": { "alias": "rowClass"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingText": { "alias": "loadingText"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "hoverable": { "alias": "hoverable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "dense": { "alias": "dense"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "copyable": { "alias": "copyable"; "required": false; "isSignal": true; }; "showColumnPicker": { "alias": "showColumnPicker"; "required": false; "isSignal": true; }; "showDensityToggle": { "alias": "showDensityToggle"; "required": false; "isSignal": true; }; "showColumnMenu": { "alias": "showColumnMenu"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "exportFileName": { "alias": "exportFileName"; "required": false; "isSignal": true; }; "showViews": { "alias": "showViews"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "stickySelection": { "alias": "stickySelection"; "required": false; "isSignal": true; }; "stickyActions": { "alias": "stickyActions"; "required": false; "isSignal": true; }; "rowDetailTrigger": { "alias": "rowDetailTrigger"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; "search": "searchChange"; "filterChange": "filterChange"; "page": "pageChange"; "pageSize": "pageSizeChange"; "selected": "selectedChange"; "actionClick": "actionClick"; "rowClick": "rowClick"; "cellCopy": "cellCopy"; "rowContextMenu": "rowContextMenu"; "columnsChange": "columnsChange"; "densityChange": "densityChange"; "columnStateChange": "columnStateChange"; "selectionAction": "selectionAction"; "csvExport": "csvExport"; "exportFile": "exportFile"; "filters": "filtersChange"; }, ["cellDirectives", "headerDirectives", "filterDirectives", "rowActionsDirectives", "toolbarDirectives", "footerDirectives", "emptyDirectives", "rowMenuDirectives", "rowDetailDirectives"], never, true, never>;
651
+ }
652
+
653
+ /**
654
+ * Custom cell renderer.
655
+ *
656
+ * ```html
657
+ * <ng-template ithTableCell="status" let-row let-value="value">
658
+ * <span class="badge">{{ value }}</span>
659
+ * </ng-template>
660
+ * ```
661
+ */
662
+ declare class TableCellDirective {
663
+ readonly template: TemplateRef<TableCellContext>;
664
+ /** `key` of the column this template renders. */
665
+ readonly columnKey: _angular_core.InputSignal<string>;
666
+ constructor(template: TemplateRef<TableCellContext>);
667
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCellDirective, never>;
668
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableCellDirective, "[ithTableCell]", never, { "columnKey": { "alias": "ithTableCell"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
669
+ }
670
+ /** Custom header renderer for one column: `#ithTableHeader="key"`. */
671
+ declare class TableHeaderDirective {
672
+ readonly template: TemplateRef<TableHeaderContext>;
673
+ readonly columnKey: _angular_core.InputSignal<string>;
674
+ constructor(template: TemplateRef<TableHeaderContext>);
675
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableHeaderDirective, never>;
676
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableHeaderDirective, "[ithTableHeader]", never, { "columnKey": { "alias": "ithTableHeader"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
677
+ }
678
+ /** Custom filter control for one column: `#ithTableFilter="key"`. */
679
+ declare class TableFilterDirective {
680
+ readonly template: TemplateRef<TableFilterContext>;
681
+ readonly columnKey: _angular_core.InputSignal<string>;
682
+ constructor(template: TemplateRef<TableFilterContext>);
683
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFilterDirective, never>;
684
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableFilterDirective, "[ithTableFilter]", never, { "columnKey": { "alias": "ithTableFilter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
685
+ }
686
+ /** Replaces the buttons of the actions column: `#ithTableRowActions`. */
687
+ declare class TableRowActionsDirective {
688
+ readonly template: TemplateRef<TableRowActionsContext>;
689
+ constructor(template: TemplateRef<TableRowActionsContext>);
690
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowActionsDirective, never>;
691
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowActionsDirective, "[ithTableRowActions]", never, {}, {}, never, never, true, never>;
692
+ }
693
+ /** Replaces the toolbar content next to the title: `#ithTableToolbar`. */
694
+ declare class TableToolbarDirective {
695
+ readonly template: TemplateRef<TableToolbarContext>;
696
+ constructor(template: TemplateRef<TableToolbarContext>);
697
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableToolbarDirective, never>;
698
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableToolbarDirective, "[ithTableToolbar]", never, {}, {}, never, never, true, never>;
699
+ }
700
+ /** Replaces the footer summary: `#ithTableFooter`. */
701
+ declare class TableFooterDirective {
702
+ readonly template: TemplateRef<TableFooterContext>;
703
+ constructor(template: TemplateRef<TableFooterContext>);
704
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFooterDirective, never>;
705
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableFooterDirective, "[ithTableFooter]", never, {}, {}, never, never, true, never>;
706
+ }
707
+ /** Custom empty state: `#ithTableEmpty`. */
708
+ declare class TableEmptyDirective {
709
+ readonly template: TemplateRef<TableToolbarContext>;
710
+ constructor(template: TemplateRef<TableToolbarContext>);
711
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableEmptyDirective, never>;
712
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableEmptyDirective, "[ithTableEmpty]", never, {}, {}, never, never, true, never>;
713
+ }
714
+ /**
715
+ * Custom right-click menu, rendered in a floating panel at the pointer.
716
+ *
717
+ * ```html
718
+ * <ng-template ithTableRowMenu let-row>
719
+ * <button type="button" (click)="open(row)">Open</button>
720
+ * </ng-template>
721
+ * ```
722
+ */
723
+ declare class TableRowMenuDirective {
724
+ readonly template: TemplateRef<TableRowMenuContext>;
725
+ constructor(template: TemplateRef<TableRowMenuContext>);
726
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowMenuDirective, never>;
727
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowMenuDirective, "[ithTableRowMenu]", never, {}, {}, never, never, true, never>;
728
+ }
729
+ /**
730
+ * Expandable row content, rendered on its own full-width row under the row.
731
+ *
732
+ * ```html
733
+ * <ng-template ithTableRowDetail let-row let-close="close">
734
+ * <div class="detail">{{ row.email }}</div>
735
+ * </ng-template>
736
+ * ```
737
+ */
738
+ declare class TableRowDetailDirective {
739
+ readonly template: TemplateRef<TableRowDetailContext>;
740
+ constructor(template: TemplateRef<TableRowDetailContext>);
741
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowDetailDirective, never>;
742
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowDetailDirective, "[ithTableRowDetail]", never, {}, {}, never, never, true, never>;
743
+ }
744
+
745
+ /** Read a dot-path value (`'a.b.c'`) from an object; `undefined` when a link is missing. */
746
+ declare function getPathValue(source: unknown, path: string | null | undefined): unknown;
747
+ /** Human readable text for a cell value. */
748
+ declare function toDisplay(value: unknown): string;
749
+ /** Locale-aware, numeric-friendly comparison used by default sorting. */
750
+ declare function defaultCompare(a: unknown, b: unknown): number;
751
+ /** Sort a value ignoring the direction sign. */
752
+ declare function compareWithDirection(result: number, direction: TableSortDirection): number;
753
+ /**
754
+ * Page numbers to render, centred on `current`. First/last/prev/next buttons are
755
+ * separate controls, so no ellipsis is needed.
756
+ */
757
+ declare function buildPageWindow(current: number, pageCount: number, maxButtons?: number): number[];
758
+ /** `true` when the event target is a text field, so row-selection should be skipped. */
759
+ declare function isInteractiveTarget(target: EventTarget | null): boolean;
760
+
761
+ /**
762
+ * Tiny, dependency-free `.xlsx` writer.
763
+ *
764
+ * An xlsx file is a ZIP container with a handful of XML parts. Everything here is
765
+ * written with STORE (no compression), which is valid and keeps the code small, so the
766
+ * table can offer real Excel output without pulling in a spreadsheet library.
767
+ */
768
+ interface XlsxSheetOptions {
769
+ /** Sheet/tab name shown in Excel. */
770
+ sheetName: string;
771
+ /** Bold header cell per column. */
772
+ header: string[];
773
+ /** Already formatted cell text, row by row. */
774
+ rows: string[][];
775
+ /** Optional fixed column widths (Excel character units). */
776
+ columnWidths?: number[];
777
+ }
778
+ /** Build an `.xlsx` workbook (single sheet, frozen + filtered header row). */
779
+ declare function buildXlsxBlob(options: XlsxSheetOptions): Blob;
780
+
781
+ export { TableCellDirective, TableComponent, TableEmptyDirective, TableFilterDirective, TableFooterDirective, TableHeaderDirective, TableRowActionsDirective, TableRowDetailDirective, TableRowMenuDirective, TableToolbarDirective, buildPageWindow, buildXlsxBlob, compareWithDirection, defaultCompare, getPathValue, isInteractiveTarget, toDisplay };
782
+ export type { TableActionEvent, TableAggregate, TableAggregateType, TableAlign, TableCellContext, TableCellCopyEvent, TableColumn, TableDensity, TableExportEvent, TableFilterContext, TableFilterOption, TableFilterType, TableFooterContext, TableHeaderContext, TableMode, TablePin, TablePresetState, TableRowAction, TableRowActionsContext, TableRowDetailContext, TableRowEvent, TableRowMenuContext, TableRowMenuEvent, TableSelectAllScope, TableSelectionAction, TableSelectionActionEvent, TableSelectionMode, TableSort, TableSortDirection, TableToolbarContext, XlsxSheetOptions };
783
+ //# sourceMappingURL=index.d.ts.map