@ithouse-bd/ngx-table 1.0.0 → 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/CHANGELOG.md +62 -0
- package/DOCUMENTATION.md +169 -3
- package/README.md +72 -6
- package/THEMING.md +2 -0
- package/fesm2022/ithouse-bd-ngx-table.mjs +1044 -72
- package/fesm2022/ithouse-bd-ngx-table.mjs.map +1 -1
- package/index.d.ts +279 -12
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -16,6 +16,10 @@ type TableSortDirection = 'asc' | 'desc';
|
|
|
16
16
|
type TableFilterType = 'text' | 'number' | 'date' | 'select';
|
|
17
17
|
/** Row height mode toggled from the toolbar. */
|
|
18
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';
|
|
19
23
|
/** Option of a `select` filter. */
|
|
20
24
|
interface TableFilterOption {
|
|
21
25
|
label: string;
|
|
@@ -81,7 +85,54 @@ interface TableColumn<T = any> {
|
|
|
81
85
|
* Keep the column at the start/end edge while the table scrolls horizontally.
|
|
82
86
|
* Sticky columns should declare a `width` so the next sticky column can be offset.
|
|
83
87
|
*/
|
|
84
|
-
sticky?:
|
|
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>;
|
|
85
136
|
}
|
|
86
137
|
/** Declarative row action button rendered in the actions column. */
|
|
87
138
|
interface TableRowAction<T = any> {
|
|
@@ -155,6 +206,14 @@ interface TableRowMenuContext<T = any> {
|
|
|
155
206
|
row: T;
|
|
156
207
|
index: number;
|
|
157
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
|
+
}
|
|
158
217
|
interface TableToolbarContext<T = any> {
|
|
159
218
|
rows: T[];
|
|
160
219
|
total: number;
|
|
@@ -167,6 +226,22 @@ interface TableFooterContext<T = any> extends TableToolbarContext<T> {
|
|
|
167
226
|
pageCount: number;
|
|
168
227
|
}
|
|
169
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
|
+
}
|
|
170
245
|
/**
|
|
171
246
|
* Generic, standalone data table.
|
|
172
247
|
*
|
|
@@ -181,6 +256,7 @@ interface TableFooterContext<T = any> extends TableToolbarContext<T> {
|
|
|
181
256
|
* ```
|
|
182
257
|
*/
|
|
183
258
|
declare class TableComponent<T = any> {
|
|
259
|
+
private readonly host;
|
|
184
260
|
/** Unique prefix for generated DOM ids. */
|
|
185
261
|
readonly idBase: string;
|
|
186
262
|
/** Rows to render. In `server` mode this is the current page. */
|
|
@@ -222,12 +298,16 @@ declare class TableComponent<T = any> {
|
|
|
222
298
|
/** How many numbered page buttons are rendered. */
|
|
223
299
|
readonly maxPageButtons: _angular_core.InputSignal<number>;
|
|
224
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>;
|
|
225
303
|
readonly selectionMode: _angular_core.InputSignal<TableSelectionMode>;
|
|
226
304
|
readonly selectAllScope: _angular_core.InputSignal<TableSelectAllScope>;
|
|
227
305
|
/** Selected rows, two-way bindable. */
|
|
228
306
|
readonly selected: _angular_core.ModelSignal<T[]>;
|
|
229
307
|
/** Selecting a row by clicking anywhere on it (not only the checkbox). */
|
|
230
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>[]>;
|
|
231
311
|
readonly rowActions: _angular_core.InputSignal<TableRowAction<T>[]>;
|
|
232
312
|
readonly actionsHeader: _angular_core.InputSignal<string>;
|
|
233
313
|
readonly actionsWidth: _angular_core.InputSignal<string>;
|
|
@@ -248,6 +328,20 @@ declare class TableComponent<T = any> {
|
|
|
248
328
|
readonly showColumnPicker: _angular_core.InputSignal<boolean>;
|
|
249
329
|
/** Show the comfortable/compact density toggle in the toolbar. */
|
|
250
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>;
|
|
251
345
|
/**
|
|
252
346
|
* localStorage key for the saved column/density preset. When set, the user's
|
|
253
347
|
* choice is restored on the next visit.
|
|
@@ -255,10 +349,18 @@ declare class TableComponent<T = any> {
|
|
|
255
349
|
readonly storageKey: _angular_core.InputSignal<string>;
|
|
256
350
|
/** Number of placeholder rows rendered while `loading` and there are no rows. */
|
|
257
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>;
|
|
258
358
|
/** Stick the checkbox column to the start edge. */
|
|
259
359
|
readonly stickySelection: _angular_core.InputSignal<boolean>;
|
|
260
360
|
/** Stick the actions column to the end edge. */
|
|
261
361
|
readonly stickyActions: _angular_core.InputSignal<boolean>;
|
|
362
|
+
/** How the `#ithTableRowDetail` template is expanded. */
|
|
363
|
+
readonly rowDetailTrigger: _angular_core.InputSignal<"none" | "button" | "row">;
|
|
262
364
|
readonly actionClick: _angular_core.OutputEmitterRef<TableActionEvent<T>>;
|
|
263
365
|
readonly rowClick: _angular_core.OutputEmitterRef<TableRowEvent<T>>;
|
|
264
366
|
/** Emitted after a cell or row was copied to the clipboard. */
|
|
@@ -268,6 +370,14 @@ declare class TableComponent<T = any> {
|
|
|
268
370
|
/** Visible column keys, emitted whenever the user changes column visibility. */
|
|
269
371
|
readonly columnsChange: _angular_core.OutputEmitterRef<string[]>;
|
|
270
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>>;
|
|
271
381
|
private readonly cellDirectives;
|
|
272
382
|
private readonly headerDirectives;
|
|
273
383
|
private readonly filterDirectives;
|
|
@@ -276,6 +386,7 @@ declare class TableComponent<T = any> {
|
|
|
276
386
|
private readonly footerDirectives;
|
|
277
387
|
private readonly emptyDirectives;
|
|
278
388
|
private readonly rowMenuDirectives;
|
|
389
|
+
private readonly rowDetailDirectives;
|
|
279
390
|
readonly cellTemplates: _angular_core.Signal<Map<string, TemplateRef<TableCellContext<T>>>>;
|
|
280
391
|
readonly headerTemplates: _angular_core.Signal<Map<string, TemplateRef<any>>>;
|
|
281
392
|
readonly filterTemplates: _angular_core.Signal<Map<string, TemplateRef<TableFilterContext<T>>>>;
|
|
@@ -284,13 +395,33 @@ declare class TableComponent<T = any> {
|
|
|
284
395
|
readonly footerTemplate: _angular_core.Signal<TemplateRef<any>>;
|
|
285
396
|
readonly emptyTemplate: _angular_core.Signal<TemplateRef<any>>;
|
|
286
397
|
readonly rowMenuTemplate: _angular_core.Signal<TemplateRef<TableRowMenuContext<T>>>;
|
|
398
|
+
readonly rowDetailTemplate: _angular_core.Signal<TemplateRef<TableRowDetailContext<T>>>;
|
|
287
399
|
readonly filters: _angular_core.ModelSignal<Record<string, string>>;
|
|
288
400
|
private skipInitialReset;
|
|
289
401
|
/** Columns hidden at runtime (on top of `column.hidden`), persisted via `storageKey`. */
|
|
290
402
|
private readonly hiddenColumnKeys;
|
|
291
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;
|
|
292
415
|
readonly compact: _angular_core.Signal<boolean>;
|
|
293
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>;
|
|
294
425
|
/** Right-click menu position; `null` when closed. */
|
|
295
426
|
readonly menuState: _angular_core.WritableSignal<{
|
|
296
427
|
row: T;
|
|
@@ -300,13 +431,33 @@ declare class TableComponent<T = any> {
|
|
|
300
431
|
}>;
|
|
301
432
|
/** `${rowIndex}:${columnKey}` of the cell that was just copied (shows a check icon). */
|
|
302
433
|
readonly copiedCell: _angular_core.WritableSignal<string>;
|
|
303
|
-
|
|
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;
|
|
304
447
|
private copyTimer?;
|
|
448
|
+
private measureHandle?;
|
|
449
|
+
private presetLoaded;
|
|
450
|
+
readonly skeletonIndexes: _angular_core.Signal<number[]>;
|
|
305
451
|
constructor();
|
|
306
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>[]>;
|
|
307
455
|
readonly visibleColumns: _angular_core.Signal<TableColumn<T>[]>;
|
|
308
456
|
readonly selectable: _angular_core.Signal<boolean>;
|
|
309
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>;
|
|
310
461
|
/** Rows that match the global search and the per-column filters (client mode). */
|
|
311
462
|
readonly matchingRows: _angular_core.Signal<T[]>;
|
|
312
463
|
/** Matching rows in the active sort order (client mode). */
|
|
@@ -324,6 +475,13 @@ declare class TableComponent<T = any> {
|
|
|
324
475
|
readonly somePageSelected: _angular_core.Signal<boolean>;
|
|
325
476
|
readonly emptyColspan: _angular_core.Signal<number>;
|
|
326
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[]>;
|
|
327
485
|
isSortable(column: TableColumn<T>): boolean;
|
|
328
486
|
ariaSort(column: TableColumn<T>): 'ascending' | 'descending' | 'none';
|
|
329
487
|
sortDirection(column: TableColumn<T>): TableSortDirection | null;
|
|
@@ -335,13 +493,15 @@ declare class TableComponent<T = any> {
|
|
|
335
493
|
filterValue(key: string): string;
|
|
336
494
|
/** Control rendered in the filter row for this column. */
|
|
337
495
|
filterTypeFor(column: TableColumn<T>): TableFilterType;
|
|
338
|
-
filterOptionsFor(column: TableColumn<T>): TableFilterOption[];
|
|
496
|
+
filterOptionsFor(column: Pick<TableColumn<T>, 'key'> & Partial<TableColumn<T>>): TableFilterOption[];
|
|
339
497
|
filterPlaceholderFor(column: TableColumn<T>): string;
|
|
340
498
|
filterTemplate(column: TableColumn<T>): TemplateRef<TableFilterContext<T>> | undefined;
|
|
341
499
|
/** Context handed to a custom `#ithTableFilter` template. */
|
|
342
500
|
filterContext(column: TableColumn<T>): TableFilterContext<T>;
|
|
343
501
|
clearFilters(): void;
|
|
344
502
|
clearQuery(): void;
|
|
503
|
+
/** Remove one chip from the chip row. */
|
|
504
|
+
removeChip(chip: FilterChip): void;
|
|
345
505
|
goToPage(page: number): void;
|
|
346
506
|
nextPage(): void;
|
|
347
507
|
previousPage(): void;
|
|
@@ -357,6 +517,8 @@ declare class TableComponent<T = any> {
|
|
|
357
517
|
clearSelection(): void;
|
|
358
518
|
selectRow(row: T): void;
|
|
359
519
|
deselectRow(row: T): void;
|
|
520
|
+
/** Click on a selection-bar action. */
|
|
521
|
+
onSelectionAction(action: TableSelectionAction<T>, event: MouseEvent): void;
|
|
360
522
|
isActionVisible(action: TableRowAction<T>, row: T, index: number): boolean;
|
|
361
523
|
isActionDisabled(action: TableRowAction<T>, row: T, index: number): boolean;
|
|
362
524
|
onActionClick(action: TableRowAction<T>, row: T, index: number, event: MouseEvent): void;
|
|
@@ -365,6 +527,11 @@ declare class TableComponent<T = any> {
|
|
|
365
527
|
onRowKeydown(row: T, index: number, event: KeyboardEvent): void;
|
|
366
528
|
/** Shared by mouse and keyboard activation. */
|
|
367
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>;
|
|
368
535
|
cellValue(row: T, column: TableColumn<T>): unknown;
|
|
369
536
|
cellText(row: T, column: TableColumn<T>, index?: number): string;
|
|
370
537
|
cellContext(row: T, column: TableColumn<T>, index: number): TableCellContext<T>;
|
|
@@ -378,27 +545,92 @@ declare class TableComponent<T = any> {
|
|
|
378
545
|
/** Flat class list for a body cell, including dynamic `cellClass` output. */
|
|
379
546
|
cellClasses(row: T, column: TableColumn<T>, index: number): unknown[];
|
|
380
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;
|
|
381
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>>;
|
|
382
556
|
/** Full text for the native tooltip; `null` disables it for a column. */
|
|
383
557
|
tooltipText(row: T, column: TableColumn<T>, index: number): string | null;
|
|
384
|
-
private
|
|
385
|
-
private
|
|
558
|
+
private declaredWidthPx;
|
|
559
|
+
private actionsWidthPx;
|
|
386
560
|
copyCell(row: T, column: TableColumn<T>, index: number, event?: Event): void;
|
|
387
561
|
copyRow(row: T, index: number, event?: Event): void;
|
|
388
562
|
isCellCopied(index: number, column: TableColumn<T>): boolean;
|
|
389
|
-
/** Ctrl/Cmd+C while a cell has focus copies that cell. */
|
|
390
|
-
onCellKeydown(row: T, column: TableColumn<T>, index: number, event: KeyboardEvent): void;
|
|
391
563
|
onRowContextMenu(row: T, index: number, event: MouseEvent): void;
|
|
392
564
|
/** Keyboard path for the same menu (context-menu key / Shift+F10). */
|
|
393
565
|
onRowContextMenuKey(row: T, index: number, event: KeyboardEvent): void;
|
|
394
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;
|
|
395
574
|
isColumnVisible(column: TableColumn<T>): boolean;
|
|
396
575
|
setColumnVisible(key: string, visible: boolean): void;
|
|
397
576
|
resetColumns(): void;
|
|
398
|
-
|
|
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;
|
|
399
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;
|
|
400
627
|
private copyText;
|
|
401
|
-
|
|
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;
|
|
402
634
|
private readPreset;
|
|
403
635
|
private persistPreset;
|
|
404
636
|
onDocumentClick(): void;
|
|
@@ -415,7 +647,7 @@ declare class TableComponent<T = any> {
|
|
|
415
647
|
private searchText;
|
|
416
648
|
private filterText;
|
|
417
649
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
418
|
-
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; }; "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; }; "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; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "stickySelection": { "alias": "stickySelection"; "required": false; "isSignal": true; }; "stickyActions": { "alias": "stickyActions"; "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"; "filters": "filtersChange"; }, ["cellDirectives", "headerDirectives", "filterDirectives", "rowActionsDirectives", "toolbarDirectives", "footerDirectives", "emptyDirectives", "rowMenuDirectives"], never, true, 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>;
|
|
419
651
|
}
|
|
420
652
|
|
|
421
653
|
/**
|
|
@@ -494,6 +726,21 @@ declare class TableRowMenuDirective {
|
|
|
494
726
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowMenuDirective, never>;
|
|
495
727
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowMenuDirective, "[ithTableRowMenu]", never, {}, {}, never, never, true, never>;
|
|
496
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
|
+
}
|
|
497
744
|
|
|
498
745
|
/** Read a dot-path value (`'a.b.c'`) from an object; `undefined` when a link is missing. */
|
|
499
746
|
declare function getPathValue(source: unknown, path: string | null | undefined): unknown;
|
|
@@ -511,6 +758,26 @@ declare function buildPageWindow(current: number, pageCount: number, maxButtons?
|
|
|
511
758
|
/** `true` when the event target is a text field, so row-selection should be skipped. */
|
|
512
759
|
declare function isInteractiveTarget(target: EventTarget | null): boolean;
|
|
513
760
|
|
|
514
|
-
|
|
515
|
-
|
|
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 };
|
|
516
783
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../libs/ngx-table/src/lib/models/table.models.ts","../../../libs/ngx-table/src/lib/components/table/table.component.ts","../../../libs/ngx-table/src/lib/directives/table-template.directives.ts","../../../libs/ngx-table/src/lib/utils/table.utils.ts"],"mappings":";;;AAAA;;AAEG;AAEH;AACA,KAAA,SAAY;AAEZ;AACA,KAAA;AAEA;AACA,KAAA,mBAAY;AAEZ,KAAA;AAEA,KAAA,kBAAY;AAEZ;AACA,KAAA,eAAY;AAEZ;AACA,KAAA,YAAY;AAEZ;AACA,2BAAiB;;;AAGhB;AAED;AACA,mBAAiB;;;eAGJ,kBAAkB;AAC9B;AAED;;;AAGG;AACH,UAAM,WAAW;;;;;;;;;;;;;;iBAcF,eAAe;;AAE5B,oBAAgB,iBAAiB;;;AAGjC;;;;AAIG;AACH;YACQ,UAAU;;;;;;;AAOlB,yEAAqE,MAAM;;;;AAI3E;;;;;AAKA;;;AAGG;;AAEH;;;AAGG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../libs/ngx-table/src/lib/models/table.models.ts","../../../libs/ngx-table/src/lib/components/table/table.component.ts","../../../libs/ngx-table/src/lib/directives/table-template.directives.ts","../../../libs/ngx-table/src/lib/utils/table.utils.ts","../../../libs/ngx-table/src/lib/utils/xlsx.utils.ts"],"mappings":";;;AAAA;;AAEG;AAEH;AACA,KAAA,SAAY;AAEZ;AACA,KAAA;AAEA;AACA,KAAA,mBAAY;AAEZ,KAAA;AAEA,KAAA,kBAAY;AAEZ;AACA,KAAA,eAAY;AAEZ;AACA,KAAA,YAAY;AAEZ;AACA,KAAA,QAAY;AAEZ;AACA,KAAA,kBAAY;AAEZ;AACA,2BAAiB;;;AAGhB;AAED;AACA,mBAAiB;;;eAGJ,kBAAkB;AAC9B;AAED;;;AAGG;AACH,UAAM,WAAW;;;;;;;;;;;;;;iBAcF,eAAe;;AAE5B,oBAAgB,iBAAiB;;;AAGjC;;;;AAIG;AACH;YACQ,UAAU;;;;;;;AAOlB,yEAAqE,MAAM;;;;AAI3E;;;;;AAKA;;;AAGG;;AAEH;;;AAGG;aACM,QAAQ;;;;;;gBAML,kBAAkB,GAAG,cAAc;AAChD;AAED;AACA,UAAM,cAAW;UACT,kBAAkB;;;;AAIxB,qCAAiC,WAAW;AAC7C;AAED;AACA,UAAM,oBAAW;;;;;;;AAOhB;AAED;AACA,UAAM,yBAAW;AACf,YAAQ,oBAAoB;;AAE7B;AAED;AACA,UAAM,gBAAW;AACf;;UAEM,IAAI;;;AAGX;AAED;AACA,0BAAiB;;aAEN,YAAY;;;;AAIrB,YAAQ,MAAM;;AAEd,YAAQ,M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,iBAAAA,aAAA,CAAA,sBAAA,CAAA,oBAAA;AAED;AACA;AAEc,cAAS,mBAAU;AAAV,uBAAA,WAAU,CAAA,mBAAY;yDADhC;uEAAA;AAEZ,iBAAAA,aAAA,CAAA,sBAAA,CAAA,mBAAA;AAED;;;;;;;;AAQG;AACH;AAEc,cAAS,qBAAsB;AAAtB,uBAAA,WAAU,CAAA,mBAAY;yDADhC;yEAAA;AAEZ,iBAAAA,aAAA,CAAA,sBAAA,CAAA,qBAAA;AAED;;;;;;;;AAQG;AACH;AAEc,cAAS;AAAA,uBAAA,WAAU,CAAA,qBAAY;2DADhC;2EAAA;AAEZ,iBAAAA,aAAA,CAAA,sBAAA,CAAA,uBAAA;;;AC3FD;AACA,iBAAA,YAAgB;AAQhB;AACA,iBAAA;AAQA;AACA,iBAAA,cAAgB;AAUhB;AACA,iBAAA,oBAAgB,4BAAqC,kBAAW;AAIhE;;;AAGG;AACH,iBAAA,eAAgB;AAWhB;AACA,iBAAA,mBAAgB,SAAoB;;ACpDpC;;;;;;AAMG;AAgHH,0BAAiB;;;;;;AAMf;;AAEA;AACD;AAED;AACA,iBAAA,uBAA8B,gBAAS,GAAA,IAAgB;;;;","names":["i0"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ithouse-bd/ngx-table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Generic, fully themeable Angular data table: sorting, searching, per-column filters, pagination, row selection, row actions, custom cell/header/footer templates and a server-side mode.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|