@egose/shadcn-theme-ng-tw 0.6.4 → 0.7.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.
@@ -1,8 +1,12 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, TemplateRef } from '@angular/core';
2
+ import { ValueProvider, OnInit, OnChanges, TemplateRef, SimpleChanges } from '@angular/core';
3
3
  import * as _tanstack_angular_table from '@tanstack/angular-table';
4
- import { TableFeatures, RowData, CreatedFilterFn, CreatedSortFn, ColumnDef, SortingState, ColumnFiltersState, ColumnVisibilityState, RowSelectionState, Row, Header, Cell, CellData, SortDirection, Table } from '@tanstack/angular-table';
4
+ import { TableFeatures, RowData, CreatedFilterFn, CreatedSortFn, ColumnDef, SortingState, ColumnFiltersState, ColumnVisibilityState, RowSelectionState, PaginationState, Row, Header, Cell, CellData, SortDirection, Table } from '@tanstack/angular-table';
5
+ import * as _angular_forms from '@angular/forms';
6
+ import { FormControl } from '@angular/forms';
5
7
  import { HlmTableSize } from '@egose/shadcn-theme-ng-tw/table';
8
+ import * as clsx from 'clsx';
9
+ import { ClassValue } from 'clsx';
6
10
 
7
11
  /**
8
12
  * Per-column presentation hints, ported from the React `ColumnMeta` augmentation
@@ -51,25 +55,82 @@ declare const defaultEgDataTableFeatures: {
51
55
  columnMeta: {
52
56
  readonly hideInTable?: boolean;
53
57
  readonly thumbnail?: boolean;
58
+ /** Human-readable label for cards and column menus, including custom headers. */
59
+ readonly label?: string;
60
+ readonly headerClass?: ClassValue;
61
+ readonly cellClass?: ClassValue;
62
+ /** Render this column's body cell as a native row header in table layout. */
63
+ readonly rowHeader?: boolean;
64
+ /** Render string results as literal text rather than sanitized HTML. */
65
+ readonly renderAsText?: boolean;
54
66
  };
55
67
  };
56
68
  /** Feature registry type — pass as first generic arg to `ColumnDef` / `Table` / `Row`. */
57
69
  type EgDataTableFeatures = typeof defaultEgDataTableFeatures;
58
70
 
71
+ declare function columnLabel(column: {
72
+ readonly id: string;
73
+ readonly columnDef: {
74
+ readonly header?: unknown;
75
+ readonly meta?: EgColumnMeta;
76
+ };
77
+ }): string;
78
+
79
+ /** Visible text and accessible names shared by the table and its standalone controls. */
80
+ interface EgDataTableLabels {
81
+ readonly filterLabel: string;
82
+ readonly filterPlaceholder: string;
83
+ readonly emptyMessage: string;
84
+ readonly loading: string;
85
+ readonly refreshing: string;
86
+ readonly tableView: string;
87
+ readonly gridView: string;
88
+ readonly sortBy: string;
89
+ readonly sortByColumn: (column: string) => string;
90
+ readonly sortAscending: string;
91
+ readonly sortDescending: string;
92
+ readonly ascending: string;
93
+ readonly descending: string;
94
+ readonly hideColumn: string;
95
+ readonly view: string;
96
+ readonly toggleColumns: string;
97
+ readonly selectAll: string;
98
+ readonly selectRow: string;
99
+ readonly rowsPerPage: string;
100
+ readonly firstPage: string;
101
+ readonly previousPage: string;
102
+ readonly nextPage: string;
103
+ readonly lastPage: string;
104
+ readonly goToFirstPage: string;
105
+ readonly goToPreviousPage: string;
106
+ readonly goToNextPage: string;
107
+ readonly goToLastPage: string;
108
+ /** `page` is one-based; `pageCount` is omitted when the total is unknown. */
109
+ readonly pageStatus: (page: number, pageCount?: number) => string;
110
+ readonly rowCount: (count: number, onPage: boolean) => string;
111
+ readonly selectedRows: (selected: number, total: number) => string;
112
+ /** `from` and `to` are one-based for a nonempty slice, or both zero for an empty slice. */
113
+ readonly rowRange: (from: number, to: number, total: number) => string;
114
+ }
115
+ /** Override data-table text in an application or component's providers. Omitted labels use English. */
116
+ declare function provideEgDataTableLabels(labels: Partial<EgDataTableLabels>): ValueProvider;
117
+
118
+ /** Pager navigation-button content: icons only, text labels only, or both. */
119
+ type EgPaginationNavMode = 'icons' | 'text' | 'both';
59
120
  /**
60
121
  * Standalone pagination controls with an optional rows-per-page selector.
61
122
  *
62
123
  * Reads the table from the nearest `[tanStackTable]` directive, so no table
63
124
  * input or generics are needed and the same component works with any table.
64
125
  * Wrap the usage site: `<div [tanStackTable]="table"><eg-data-table-pagination /></div>`.
126
+ * With TanStack's `pageCount: -1` (unknown total), the pager shows only Previous/Next
127
+ * and the current page number. Bind `hasNext` and `hasPrevious` to API limits when available.
65
128
  *
66
129
  * Page-size changes flow through `table.setPageSize()`: client-side tables
67
130
  * re-paginate immediately, while server-driven (`manualPagination`) tables
68
131
  * surface the change via their `onPaginationChange` handler (e.g. the
69
132
  * `pageSizeChange` output of `EgDataTable`) so the caller can refetch.
70
133
  */
71
- /** Pager navigation-button content: icons only, text labels only, or both. */
72
- type EgPaginationNavMode = 'icons' | 'text' | 'both';
73
134
  declare class EgDataTablePagination {
74
135
  /** Show the `selected of total` status text. Set false when the host renders its own status. */
75
136
  readonly showStatus: _angular_core.InputSignal<boolean>;
@@ -81,13 +142,23 @@ declare class EgDataTablePagination {
81
142
  readonly navMode: _angular_core.InputSignal<EgPaginationNavMode>;
82
143
  /** Density of buttons, trigger, and meta texts. Type scale of buttons is untouched. */
83
144
  readonly size: _angular_core.InputSignal<HlmTableSize>;
145
+ /** Disable navigation and the page-size selector while leaving the pager visible. */
146
+ readonly disabled: _angular_core.InputSignal<boolean>;
147
+ /** Optional server-side navigation limits. */
148
+ readonly hasPrevious: _angular_core.InputSignal<boolean | undefined>;
149
+ readonly hasNext: _angular_core.InputSignal<boolean | undefined>;
150
+ protected readonly _labels: EgDataTableLabels;
151
+ protected readonly _pageSizeLabelId: string;
84
152
  protected readonly _table: _angular_core.Signal<_tanstack_angular_table.AngularTable<_tanstack_angular_table.TableFeatures, _tanstack_angular_table.RowData>>;
85
153
  protected readonly _pageCount: _angular_core.Signal<number>;
86
154
  protected readonly _pageIndex: _angular_core.Signal<number>;
87
155
  protected readonly _pageSize: _angular_core.Signal<number>;
156
+ protected readonly _pageSizeControl: _angular_forms.FormControl<number | null>;
157
+ protected readonly _unknownTotal: _angular_core.Signal<boolean>;
88
158
  protected readonly _canPrevious: _angular_core.Signal<boolean>;
89
159
  protected readonly _canNext: _angular_core.Signal<boolean>;
90
160
  protected readonly _showPager: _angular_core.Signal<boolean>;
161
+ protected readonly _pageLabel: _angular_core.Signal<string>;
91
162
  /** Icon-only buttons stay square; labeled buttons size to their text. Merged by `hlmButton` via the `class` binding. */
92
163
  protected readonly _navButtonClass: _angular_core.Signal<string>;
93
164
  /** First/last buttons stay desktop-only. */
@@ -96,9 +167,10 @@ declare class EgDataTablePagination {
96
167
  protected readonly _metaTextClass: _angular_core.Signal<"tw:text-xs" | "tw:text-base" | "tw:text-sm">;
97
168
  protected readonly _pageSizeOptions: _angular_core.Signal<readonly number[]>;
98
169
  protected readonly _statusText: _angular_core.Signal<string>;
99
- protected _onPageSizeChange(value: unknown): void;
170
+ constructor();
171
+ protected _navigate(action: 'firstPage' | 'previousPage' | 'nextPage' | 'lastPage'): void;
100
172
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EgDataTablePagination, never>;
101
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EgDataTablePagination, "eg-data-table-pagination", never, { "showStatus": { "alias": "showStatus"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "navMode": { "alias": "navMode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
173
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EgDataTablePagination, "eg-data-table-pagination", never, { "showStatus": { "alias": "showStatus"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "navMode": { "alias": "navMode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hasPrevious": { "alias": "hasPrevious"; "required": false; "isSignal": true; }; "hasNext": { "alias": "hasNext"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
102
174
  }
103
175
 
104
176
  /**
@@ -107,8 +179,7 @@ declare class EgDataTablePagination {
107
179
  * - `items` is the current page slice (server already sliced it).
108
180
  * - `total` is the total record count across all pages.
109
181
  * - `limit` is the server page size, `offset` the zero-based record offset.
110
- * - `hasPrevious` / `hasNext` drive the pager disabled state together with
111
- * the table's own `getCanPreviousPage()` / `getCanNextPage()`.
182
+ * - `hasPrevious` / `hasNext` limit which directions the pager can navigate.
112
183
  */
113
184
  interface EgPaginatedResponse<TData> {
114
185
  readonly items: readonly TData[];
@@ -118,30 +189,51 @@ interface EgPaginatedResponse<TData> {
118
189
  readonly hasPrevious: boolean;
119
190
  readonly hasNext: boolean;
120
191
  }
192
+ /** A server page with no known total or addressable last page. The caller owns cursors, if any. */
193
+ interface EgUnknownTotalPage<TData> {
194
+ readonly items: readonly TData[];
195
+ readonly pageIndex: number;
196
+ readonly limit: number;
197
+ readonly hasPrevious: boolean;
198
+ readonly hasNext: boolean;
199
+ }
121
200
 
122
201
  /** Presentation mode of `EgDataTable`. Two-way bindable via `layout`. */
123
202
  type EgDataTableLayout = 'table' | 'grid';
203
+ /** Why the visible client page changed or a server page was requested. */
204
+ type EgDataTablePaginationReason = 'page' | 'pageSize' | 'data' | 'reset';
205
+ interface EgDataTablePaginationChange extends PaginationState {
206
+ readonly reason: EgDataTablePaginationReason;
207
+ }
208
+ /** Context passed to a custom grid sort toolbar template. */
209
+ interface EgDataTableGridSortContext {
210
+ readonly options: readonly {
211
+ readonly id: string;
212
+ readonly label: string;
213
+ }[];
214
+ readonly sorting: SortingState;
215
+ /** Propose a sort through the table's `sortingChange` output. */
216
+ readonly setSorting: (sorting: SortingState) => void;
217
+ }
124
218
  /**
125
219
  * Generic data table with TanStack-powered sorting, filtering, pagination,
126
220
  * selection, column visibility, plus a React-parity grid layout.
127
221
  *
128
- * The caller passes `columns` (and optionally `gridColumns`) — everything else
129
- * is owned internally with change notifications via outputs:
222
+ * The caller supplies columns and rows, and can control sorting via `sorting`.
130
223
  *
131
224
  * - Client mode: pass `data` as an array. Pagination/sorting/filtering run in-browser.
132
225
  * `filterRows` can pre-filter the array before the built-in pipeline.
133
- * - Server mode: pass `data` as a page slice (`{items,total,limit,offset,hasPrevious,hasNext}`)
134
- * with `manualPagination` set. The slice renders as-is — sorting/filtering
135
- * are not applied client-side. Page, sort and filter interactions emit
136
- * `pageChange` / `pageSizeChange` / `sortingChange` / `filterChange`
137
- * (`columnFiltersChange`) so the caller can fetch the next slice.
226
+ * - Server mode: pass an `EgPaginatedResponse` or `EgUnknownTotalPage` with
227
+ * `manualPagination` set. The slice renders as-is. Handle `paginationChange`,
228
+ * `sortingChange`, and either `filterChange` or `columnFiltersChange` to fetch the next slice.
138
229
  * - Selection: set `enableSelection` to auto-prepend a checkbox column;
139
230
  * selected rows are emitted via `selectionChange` (array of `TData`).
140
- * - Grid mode: pass `gridColumns` to enable the layout toggle. Columns with
141
- * `meta: { hideInTable: true }` are table-hidden; `meta: { thumbnail: true }`
142
- * renders as the card banner.
231
+ * - Grid mode: pass `gridColumns` to enable the layout toggle, or `gridBreakpoint`
232
+ * to switch automatically. `meta.hideInTable` hides a column from the table;
233
+ * `meta.thumbnail` displays it as the card banner.
143
234
  */
144
- declare class EgDataTable<TData extends RowData> implements OnInit {
235
+ declare class EgDataTable<TData extends RowData> implements OnInit, OnChanges {
236
+ protected readonly _labels: EgDataTableLabels;
145
237
  /** Column definitions for table layout (required). */
146
238
  readonly columns: _angular_core.InputSignal<ColumnDef<{
147
239
  columnFilteringFeature: _tanstack_angular_table.TableFeature;
@@ -162,9 +254,14 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
162
254
  columnMeta: {
163
255
  readonly hideInTable?: boolean;
164
256
  readonly thumbnail?: boolean;
257
+ readonly label?: string;
258
+ readonly headerClass?: ClassValue;
259
+ readonly cellClass?: ClassValue;
260
+ readonly rowHeader?: boolean;
261
+ readonly renderAsText?: boolean;
165
262
  };
166
263
  }, TData>[]>;
167
- /** Column definitions for grid layout; falls back to `columns` when omitted. */
264
+ /** Column definitions for grid layout; falls back to `columns` when using the responsive layout. */
168
265
  readonly gridColumns: _angular_core.InputSignal<ColumnDef<{
169
266
  columnFilteringFeature: _tanstack_angular_table.TableFeature;
170
267
  columnVisibilityFeature: _tanstack_angular_table.TableFeature;
@@ -184,10 +281,17 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
184
281
  columnMeta: {
185
282
  readonly hideInTable?: boolean;
186
283
  readonly thumbnail?: boolean;
284
+ readonly label?: string;
285
+ readonly headerClass?: ClassValue;
286
+ readonly cellClass?: ClassValue;
287
+ readonly rowHeader?: boolean;
288
+ readonly renderAsText?: boolean;
187
289
  };
188
290
  }, TData>[] | undefined>;
189
291
  /** Client rows, or a server page slice when `manualPagination` is set (`null` while loading). */
190
- readonly data: _angular_core.InputSignal<EgPaginatedResponse<TData> | readonly TData[] | null>;
292
+ readonly data: _angular_core.InputSignal<EgPaginatedResponse<TData> | EgUnknownTotalPage<TData> | readonly TData[] | null>;
293
+ /** Reset table-owned state when the dataset changes. */
294
+ readonly resetKey: _angular_core.InputSignal<string | number | undefined>;
191
295
  /**
192
296
  * Pure stable identity callback, e.g. `(record) => record.id`. Return a unique
193
297
  * string per entity, independent of position, and keep the callback reference stable.
@@ -199,6 +303,10 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
199
303
  readonly getRowId: _angular_core.InputSignal<((row: TData) => string) | undefined>;
200
304
  /** When true, `data` is a server page slice and the table uses TanStack `manualPagination`. Sorting and filtering are then display-only: the slice is shown as-is while `sortingChange` / `filterChange` (`columnFiltersChange`) notify the caller to refetch. */
201
305
  readonly manualPagination: _angular_core.InputSignal<boolean>;
306
+ /** Show all client rows and omit the pager. Server mode takes precedence. */
307
+ readonly paginate: _angular_core.InputSignal<boolean>;
308
+ /** Disable the built-in pager's controls, independently of loading. */
309
+ readonly paginationDisabled: _angular_core.InputSignal<boolean>;
202
310
  /** TanStack feature registry. Defaults to filtering + visibility + pagination + selection + sorting. */
203
311
  readonly features: _angular_core.InputSignal<{
204
312
  columnFilteringFeature: _tanstack_angular_table.TableFeature;
@@ -219,10 +327,26 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
219
327
  columnMeta: {
220
328
  readonly hideInTable?: boolean;
221
329
  readonly thumbnail?: boolean;
330
+ readonly label?: string;
331
+ readonly headerClass?: ClassValue;
332
+ readonly cellClass?: ClassValue;
333
+ readonly rowHeader?: boolean;
334
+ readonly renderAsText?: boolean;
222
335
  };
223
336
  }>;
224
337
  readonly isLoading: _angular_core.InputSignal<boolean>;
338
+ /** Keep the visible rows mounted during a refresh. */
339
+ readonly keepRowsWhileLoading: _angular_core.InputSignal<boolean>;
340
+ readonly loadingTemplate: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
341
+ readonly refreshingTemplate: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
225
342
  readonly emptyMessage: _angular_core.InputSignal<string>;
343
+ readonly caption: _angular_core.InputSignal<string>;
344
+ /** Render string cell results as text. A column's `meta.renderAsText` can override this. */
345
+ readonly renderAsText: _angular_core.InputSignal<boolean>;
346
+ readonly striped: _angular_core.InputSignal<boolean>;
347
+ readonly wrapCells: _angular_core.InputSignal<boolean>;
348
+ /** Classes for a body row or a grid card. Use a stable, pure callback returning a clsx class value. */
349
+ readonly rowClass: _angular_core.InputSignal<((row: TData, layout: EgDataTableLayout) => ClassValue) | undefined>;
226
350
  /** When true, a checkbox column is auto-prepended and `selectionChange` emits the selected rows. */
227
351
  readonly enableSelection: _angular_core.InputSignal<boolean>;
228
352
  readonly hideFooter: _angular_core.InputSignal<boolean>;
@@ -230,26 +354,39 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
230
354
  readonly size: _angular_core.InputSignal<HlmTableSize>;
231
355
  /** Presentation mode. Two-way bindable: `[(layout)]`. Grid requires `gridColumns`. */
232
356
  readonly layout: _angular_core.ModelSignal<EgDataTableLayout>;
357
+ /** CSS media query for automatic grid layout. When set, it takes precedence over `layout`. */
358
+ readonly gridBreakpoint: _angular_core.InputSignal<string | undefined>;
233
359
  /** Show the table/grid toggle (only rendered when `gridColumns` is set). */
234
360
  readonly showLayoutToggle: _angular_core.InputSignal<boolean>;
235
- /** Show the toolbar (filter input, plus the column-visibility dropdown when `showColumnToggle` is set). */
361
+ /** Offer a sort-column selector and direction control in grid view. */
362
+ readonly showGridSort: _angular_core.InputSignal<boolean>;
363
+ /** Replace the grid sort controls rendered by `showGridSort`. */
364
+ readonly gridSortTemplate: _angular_core.InputSignal<TemplateRef<EgDataTableGridSortContext> | undefined>;
365
+ /** Show the toolbar's filter input. */
236
366
  readonly showToolbar: _angular_core.InputSignal<boolean>;
237
367
  /** Column id the toolbar filter input writes to (e.g. `'email'`). Empty means client-side filtering is skipped and keystrokes only emit `filterChange` (server-side pattern). */
238
368
  readonly filterColumnId: _angular_core.InputSignal<string>;
369
+ readonly filterLabel: _angular_core.InputSignal<string>;
239
370
  readonly filterPlaceholder: _angular_core.InputSignal<string>;
240
- /** Show the column-visibility dropdown inside the toolbar (requires `showToolbar`). Off by default; opt in per table. Also enables hiding — the `Hide` item in `EgDataTableColumnHeader` only renders when this is true, so hidden columns always have a way back. Per-column `enableHiding: false` further disables individual columns. */
371
+ /** Show the View dropdown and enable column hiding, independently of `showToolbar`. */
241
372
  readonly showColumnToggle: _angular_core.InputSignal<boolean>;
242
373
  /** Custom right-side toolbar content (e.g. action buttons) as a template. Renders the toolbar row even when `showToolbar` is false; built-ins stay on the left. */
243
374
  readonly toolbarActions: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
244
375
  /** Default client-side page size. Changing it later resets the pager to the new size. */
245
376
  readonly defaultPageSize: _angular_core.InputSignal<number>;
377
+ /** Keep the page on client data refreshes, clamping to the last page. Sorting and filtering still reset to page 1. */
378
+ readonly preservePageOnDataChange: _angular_core.InputSignal<boolean>;
379
+ /** Start at the first page when the user selects a different page size. */
380
+ readonly resetPageOnSizeChange: _angular_core.InputSignal<boolean>;
246
381
  /** Caller-provided frontend filter: receives all client rows, returns the kept rows. Runs before built-in filtering/sorting/pagination; ignored in server mode. Must be pure. */
247
382
  readonly filterRows: _angular_core.InputSignal<((rows: readonly TData[]) => readonly TData[]) | null>;
248
- /** Seeds the sorting state once at creation. Later changes are ignored — use `sortingChange` to stay in sync. */
383
+ /** Default uncontrolled sorting, applied at creation and on a dataset reset. */
249
384
  readonly initialSorting: _angular_core.InputSignal<SortingState>;
250
- /** Seeds the column-filter state once at creation. Later changes are ignored. */
385
+ /** Controlled sorting. When supplied, apply `sortingChange` to accept the proposed sort. */
386
+ readonly sorting: _angular_core.InputSignal<SortingState | undefined>;
387
+ /** Default column filters, applied at creation and on a dataset reset. */
251
388
  readonly initialColumnFilters: _angular_core.InputSignal<ColumnFiltersState>;
252
- /** Seeds the column-visibility state once at creation. Later changes are ignored. */
389
+ /** Default column visibility, applied at creation and on a dataset reset. */
253
390
  readonly initialColumnVisibility: _angular_core.InputSignal<ColumnVisibilityState>;
254
391
  /** Seeds selection once for current rows: keys come from `getRowId`, or positional indices without it. Missing IDs are discarded. Later changes are ignored. */
255
392
  readonly initialRowSelection: _angular_core.InputSignal<RowSelectionState>;
@@ -262,9 +399,11 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
262
399
  readonly userClass: _angular_core.InputSignal<string>;
263
400
  /** Emits on init and when selected row identities/order or object references change. Includes rows hidden by built-in filters/client pagination, but never rows absent from `data`/`filterRows`. */
264
401
  readonly selectionChange: _angular_core.OutputEmitterRef<readonly TData[]>;
265
- /** Emits the target page index on pager navigation (primary hook for server fetching). */
402
+ /** Legacy page-index output. With page retention, automatic adjustments emit only `paginationChange`. */
266
403
  readonly pageChange: _angular_core.OutputEmitterRef<number>;
267
404
  readonly pageSizeChange: _angular_core.OutputEmitterRef<number>;
405
+ /** Emits both zero-based page index and page size once per pagination change. */
406
+ readonly paginationChange: _angular_core.OutputEmitterRef<EgDataTablePaginationChange>;
268
407
  /** Emits the row's data when a row (table) or card (grid) is clicked. Clicks from nested interactive elements (buttons, links, inputs, checkboxes, selects) are ignored. */
269
408
  readonly rowClick: _angular_core.OutputEmitterRef<TData>;
270
409
  readonly sortingChange: _angular_core.OutputEmitterRef<SortingState>;
@@ -273,16 +412,28 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
273
412
  readonly filterChange: _angular_core.OutputEmitterRef<string>;
274
413
  readonly columnVisibilityChange: _angular_core.OutputEmitterRef<ColumnVisibilityState>;
275
414
  protected readonly _containerClass: _angular_core.Signal<string>;
415
+ protected readonly _bodyClass: _angular_core.Signal<"" | "tw:[&>tr:nth-child(even):not([data-state=selected]):not(:hover)]:bg-muted">;
416
+ protected readonly _columnLabel: typeof columnLabel;
417
+ protected readonly _gridSortLabelId: string;
276
418
  /** Inline TH sort-button footprint per density. Merged by `hlmButton` via the `class` binding. */
277
419
  protected readonly _sortButtonClass: _angular_core.Signal<string>;
420
+ private readonly _localSorting;
278
421
  private readonly _sorting;
279
422
  private readonly _columnFilters;
423
+ protected readonly _filterControl: FormControl<string>;
280
424
  private readonly _columnVisibility;
281
425
  private readonly _clientPageIndex;
282
426
  private readonly _clientPageSize;
427
+ private readonly _paginationDefaults;
283
428
  private readonly _isServer;
429
+ protected readonly _unpaginated: _angular_core.Signal<boolean>;
430
+ private readonly _responsiveReady;
431
+ private readonly _gridQuery;
432
+ private readonly _breakpointObserver;
433
+ private readonly _compact;
284
434
  /** The server page slice when in server mode; `null` for client data, misuse shapes, or `null` while loading. */
285
- private readonly _page;
435
+ protected readonly _page: _angular_core.Signal<EgPaginatedResponse<TData> | EgUnknownTotalPage<TData> | null>;
436
+ protected readonly _hasToolbarControls: _angular_core.Signal<boolean>;
286
437
  private readonly _items;
287
438
  private readonly _tableItems;
288
439
  private readonly _rowSelection;
@@ -290,7 +441,11 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
290
441
  private readonly _serverPageCount;
291
442
  private readonly _serverPageIndex;
292
443
  private readonly _paginationState;
444
+ private _setPagination;
445
+ /** Reset to page 1 without changing page size, or request page 1 in server mode. */
446
+ resetPagination(): void;
293
447
  private readonly _selectionHelper;
448
+ private _withDisplayColumnDefaults;
294
449
  /** Caller columns + auto-injected selection column + layout filtering. */
295
450
  protected readonly _finalColumns: _angular_core.Signal<ColumnDef<{
296
451
  columnFilteringFeature: _tanstack_angular_table.TableFeature;
@@ -311,6 +466,11 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
311
466
  columnMeta: {
312
467
  readonly hideInTable?: boolean;
313
468
  readonly thumbnail?: boolean;
469
+ readonly label?: string;
470
+ readonly headerClass?: ClassValue;
471
+ readonly cellClass?: ClassValue;
472
+ readonly rowHeader?: boolean;
473
+ readonly renderAsText?: boolean;
314
474
  };
315
475
  }, TData>[]>;
316
476
  protected readonly _table: _tanstack_angular_table.AngularTable<{
@@ -332,8 +492,15 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
332
492
  columnMeta: {
333
493
  readonly hideInTable?: boolean;
334
494
  readonly thumbnail?: boolean;
495
+ readonly label?: string;
496
+ readonly headerClass?: ClassValue;
497
+ readonly cellClass?: ClassValue;
498
+ readonly rowHeader?: boolean;
499
+ readonly renderAsText?: boolean;
335
500
  };
336
501
  }, TData>;
502
+ private _previousPageQuery?;
503
+ private readonly _reconcilePage;
337
504
  private readonly _selectedRows;
338
505
  private readonly _emitSelection;
339
506
  /**
@@ -343,13 +510,53 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
343
510
  * interaction afterwards. Values are copied to avoid aliasing caller data.
344
511
  */
345
512
  ngOnInit(): void;
513
+ ngOnChanges(changes: SimpleChanges): void;
514
+ constructor();
346
515
  protected readonly _hasGrid: _angular_core.Signal<boolean>;
347
516
  protected readonly _effectiveLayout: _angular_core.Signal<EgDataTableLayout>;
348
517
  protected readonly _showLayoutToggle: _angular_core.Signal<boolean>;
518
+ private readonly _gridSortableColumns;
519
+ protected readonly _gridSortOptions: _angular_core.Signal<{
520
+ id: string;
521
+ label: string;
522
+ }[]>;
523
+ protected readonly _gridSortColumn: _angular_core.Signal<_tanstack_angular_table.Column<{
524
+ columnFilteringFeature: _tanstack_angular_table.TableFeature;
525
+ columnVisibilityFeature: _tanstack_angular_table.TableFeature;
526
+ rowPaginationFeature: _tanstack_angular_table.TableFeature;
527
+ rowSelectionFeature: _tanstack_angular_table.TableFeature;
528
+ rowSortingFeature: _tanstack_angular_table.TableFeature;
529
+ filteredRowModel: (table: _tanstack_angular_table.Table<_tanstack_angular_table.TableFeatures, RowData>) => () => _tanstack_angular_table.RowModel<_tanstack_angular_table.TableFeatures, RowData>;
530
+ paginatedRowModel: (table: _tanstack_angular_table.Table<_tanstack_angular_table.TableFeatures, RowData>) => () => _tanstack_angular_table.RowModel<_tanstack_angular_table.TableFeatures, RowData>;
531
+ sortedRowModel: (table: _tanstack_angular_table.Table<_tanstack_angular_table.TableFeatures, RowData>) => () => _tanstack_angular_table.RowModel<_tanstack_angular_table.TableFeatures, RowData>;
532
+ filterFns: {
533
+ includesString: _tanstack_angular_table.CreatedFilterFn<_tanstack_angular_table.TableFeatures, RowData>;
534
+ };
535
+ sortFns: {
536
+ alphanumeric: _tanstack_angular_table.CreatedSortFn<_tanstack_angular_table.TableFeatures, RowData>;
537
+ text: _tanstack_angular_table.CreatedSortFn<_tanstack_angular_table.TableFeatures, RowData>;
538
+ };
539
+ columnMeta: {
540
+ readonly hideInTable?: boolean;
541
+ readonly thumbnail?: boolean;
542
+ readonly label?: string;
543
+ readonly headerClass?: ClassValue;
544
+ readonly cellClass?: ClassValue;
545
+ readonly rowHeader?: boolean;
546
+ readonly renderAsText?: boolean;
547
+ };
548
+ }, TData, unknown> | undefined>;
549
+ protected readonly _gridSortLabel: (id: unknown) => string;
550
+ protected readonly _gridSortControl: FormControl<string | null>;
551
+ protected readonly _showGridSorting: _angular_core.Signal<boolean>;
552
+ private readonly _setGridSorting;
553
+ protected readonly _gridSortContext: _angular_core.Signal<EgDataTableGridSortContext>;
554
+ protected readonly _showLoadingState: _angular_core.Signal<boolean>;
349
555
  protected readonly _visibleColumnCount: _angular_core.Signal<number>;
350
556
  protected readonly _statusText: _angular_core.Signal<string>;
351
557
  protected _onLayoutToggle(value: unknown): void;
352
- protected _onFilterInput(event: Event): void;
558
+ private _onFilterInput;
559
+ private _columnFilterText;
353
560
  /**
354
561
  * Row/card click handler. Ignores clicks originating from nested interactive
355
562
  * elements (selection checkboxes, action buttons, links, inputs) so those
@@ -359,12 +566,16 @@ declare class EgDataTable<TData extends RowData> implements OnInit {
359
566
  /** Show the inline TH sort button only for sortable plain-string headers (component headers own their UI). */
360
567
  protected _showHeaderSortButton(header: Header<EgDataTableFeatures, TData, unknown>): boolean;
361
568
  protected _toggleHeaderSorting(header: Header<EgDataTableFeatures, TData, unknown>): void;
569
+ protected _ariaSort(header: Header<EgDataTableFeatures, TData, unknown>): 'ascending' | 'descending' | null;
570
+ protected _cellClass(userClass: ClassValue): string;
571
+ protected _cardCellClass(userClass: ClassValue): string;
572
+ protected _thumbnailClass(userClass: ClassValue): string;
573
+ protected _cardClass(row: TData): string;
362
574
  protected _selectionCell(row: Row<EgDataTableFeatures, TData>): Cell<EgDataTableFeatures, TData, CellData> | undefined;
363
575
  protected _thumbnailCell(row: Row<EgDataTableFeatures, TData>): Cell<EgDataTableFeatures, TData, CellData> | undefined;
364
576
  protected _contentCells(row: Row<EgDataTableFeatures, TData>): Cell<EgDataTableFeatures, TData, CellData>[];
365
- protected _cellLabel(cell: Cell<EgDataTableFeatures, TData, CellData>): string;
366
577
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EgDataTable<any>, never>;
367
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EgDataTable<any>, "eg-data-table", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "gridColumns": { "alias": "gridColumns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "getRowId": { "alias": "getRowId"; "required": false; "isSignal": true; }; "manualPagination": { "alias": "manualPagination"; "required": false; "isSignal": true; }; "features": { "alias": "features"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "enableSelection": { "alias": "enableSelection"; "required": false; "isSignal": true; }; "hideFooter": { "alias": "hideFooter"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "showLayoutToggle": { "alias": "showLayoutToggle"; "required": false; "isSignal": true; }; "showToolbar": { "alias": "showToolbar"; "required": false; "isSignal": true; }; "filterColumnId": { "alias": "filterColumnId"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "showColumnToggle": { "alias": "showColumnToggle"; "required": false; "isSignal": true; }; "toolbarActions": { "alias": "toolbarActions"; "required": false; "isSignal": true; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; "isSignal": true; }; "filterRows": { "alias": "filterRows"; "required": false; "isSignal": true; }; "initialSorting": { "alias": "initialSorting"; "required": false; "isSignal": true; }; "initialColumnFilters": { "alias": "initialColumnFilters"; "required": false; "isSignal": true; }; "initialColumnVisibility": { "alias": "initialColumnVisibility"; "required": false; "isSignal": true; }; "initialRowSelection": { "alias": "initialRowSelection"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "navMode": { "alias": "navMode"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "layout": "layoutChange"; "selectionChange": "selectionChange"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "rowClick": "rowClick"; "sortingChange": "sortingChange"; "columnFiltersChange": "columnFiltersChange"; "filterChange": "filterChange"; "columnVisibilityChange": "columnVisibilityChange"; }, never, never, true, never>;
578
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EgDataTable<any>, "eg-data-table", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "gridColumns": { "alias": "gridColumns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "resetKey": { "alias": "resetKey"; "required": false; "isSignal": true; }; "getRowId": { "alias": "getRowId"; "required": false; "isSignal": true; }; "manualPagination": { "alias": "manualPagination"; "required": false; "isSignal": true; }; "paginate": { "alias": "paginate"; "required": false; "isSignal": true; }; "paginationDisabled": { "alias": "paginationDisabled"; "required": false; "isSignal": true; }; "features": { "alias": "features"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "keepRowsWhileLoading": { "alias": "keepRowsWhileLoading"; "required": false; "isSignal": true; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; "isSignal": true; }; "refreshingTemplate": { "alias": "refreshingTemplate"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "renderAsText": { "alias": "renderAsText"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "wrapCells": { "alias": "wrapCells"; "required": false; "isSignal": true; }; "rowClass": { "alias": "rowClass"; "required": false; "isSignal": true; }; "enableSelection": { "alias": "enableSelection"; "required": false; "isSignal": true; }; "hideFooter": { "alias": "hideFooter"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "gridBreakpoint": { "alias": "gridBreakpoint"; "required": false; "isSignal": true; }; "showLayoutToggle": { "alias": "showLayoutToggle"; "required": false; "isSignal": true; }; "showGridSort": { "alias": "showGridSort"; "required": false; "isSignal": true; }; "gridSortTemplate": { "alias": "gridSortTemplate"; "required": false; "isSignal": true; }; "showToolbar": { "alias": "showToolbar"; "required": false; "isSignal": true; }; "filterColumnId": { "alias": "filterColumnId"; "required": false; "isSignal": true; }; "filterLabel": { "alias": "filterLabel"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "showColumnToggle": { "alias": "showColumnToggle"; "required": false; "isSignal": true; }; "toolbarActions": { "alias": "toolbarActions"; "required": false; "isSignal": true; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; "isSignal": true; }; "preservePageOnDataChange": { "alias": "preservePageOnDataChange"; "required": false; "isSignal": true; }; "resetPageOnSizeChange": { "alias": "resetPageOnSizeChange"; "required": false; "isSignal": true; }; "filterRows": { "alias": "filterRows"; "required": false; "isSignal": true; }; "initialSorting": { "alias": "initialSorting"; "required": false; "isSignal": true; }; "sorting": { "alias": "sorting"; "required": false; "isSignal": true; }; "initialColumnFilters": { "alias": "initialColumnFilters"; "required": false; "isSignal": true; }; "initialColumnVisibility": { "alias": "initialColumnVisibility"; "required": false; "isSignal": true; }; "initialRowSelection": { "alias": "initialRowSelection"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "navMode": { "alias": "navMode"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "layout": "layoutChange"; "selectionChange": "selectionChange"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "paginationChange": "paginationChange"; "rowClick": "rowClick"; "sortingChange": "sortingChange"; "columnFiltersChange": "columnFiltersChange"; "filterChange": "filterChange"; "columnVisibilityChange": "columnVisibilityChange"; }, never, never, true, never>;
368
579
  }
369
580
 
370
581
  /**
@@ -399,6 +610,7 @@ declare class EgDataTableColumnHeader {
399
610
  readonly title: _angular_core.InputSignal<string>;
400
611
  /** Density of the trigger button. */
401
612
  readonly size: _angular_core.InputSignal<HlmTableSize>;
613
+ protected readonly _labels: EgDataTableLabels;
402
614
  protected readonly _sorted: _angular_core.Signal<false | SortDirection>;
403
615
  /** Hideable only when TanStack allows it (table + column `enableHiding`). Absent `getCanHide` (legacy mocks) means hideable. */
404
616
  protected readonly _canHide: _angular_core.Signal<boolean>;
@@ -412,14 +624,15 @@ declare class EgDataTableColumnHeader {
412
624
  * Column-visibility toggle.
413
625
  *
414
626
  * Reads the table from the nearest `[tanStackTable]` directive — no table
415
- * input or generics needed. Only columns with an `accessorFn` that can hide
416
- * are listed (display columns like `select` / `actions` stay fixed).
627
+ * input or generics needed. Data columns can hide; display columns can opt in.
417
628
  */
418
629
  declare class EgDataTableViewOptions {
419
630
  /** Density of the toggle button. */
420
631
  readonly size: _angular_core.InputSignal<HlmTableSize>;
632
+ protected readonly _labels: EgDataTableLabels;
421
633
  protected readonly _table: _angular_core.Signal<_tanstack_angular_table.AngularTable<_tanstack_angular_table.TableFeatures, _tanstack_angular_table.RowData>>;
422
- /** Height per density; hidden below `lg` like the pager edge buttons. Merged by `hlmButton`. */
634
+ protected readonly _columnLabel: typeof columnLabel;
635
+ /** Height per density. The restore control stays available at every viewport size. */
423
636
  protected readonly _buttonClass: _angular_core.Signal<string>;
424
637
  protected readonly _hidableColumns: _angular_core.Signal<_tanstack_angular_table.Column<_tanstack_angular_table.TableFeatures, _tanstack_angular_table.RowData, unknown>[]>;
425
638
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EgDataTableViewOptions, never>;
@@ -454,6 +667,11 @@ declare class EgTableHeadSelection<TData extends RowData> {
454
667
  columnMeta: {
455
668
  readonly hideInTable?: boolean;
456
669
  readonly thumbnail?: boolean;
670
+ readonly label?: string;
671
+ readonly headerClass?: clsx.ClassValue;
672
+ readonly cellClass?: clsx.ClassValue;
673
+ readonly rowHeader?: boolean;
674
+ readonly renderAsText?: boolean;
457
675
  };
458
676
  }, TData>>;
459
677
  readonly ariaLabel: _angular_core.InputSignal<string>;
@@ -484,6 +702,11 @@ declare class EgTableRowSelection<TData extends RowData> {
484
702
  columnMeta: {
485
703
  readonly hideInTable?: boolean;
486
704
  readonly thumbnail?: boolean;
705
+ readonly label?: string;
706
+ readonly headerClass?: clsx.ClassValue;
707
+ readonly cellClass?: clsx.ClassValue;
708
+ readonly rowHeader?: boolean;
709
+ readonly renderAsText?: boolean;
487
710
  };
488
711
  }, TData>>;
489
712
  readonly ariaLabel: _angular_core.InputSignal<string>;
@@ -498,5 +721,5 @@ declare class EgDataTableModule {
498
721
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<EgDataTableModule>;
499
722
  }
500
723
 
501
- export { EgDataTable, EgDataTableColumnHeader, EgDataTableImports, EgDataTableModule, EgDataTablePagination, EgDataTableViewOptions, EgTableHeadSelection, EgTableRowSelection, defaultEgDataTableFeatures };
502
- export type { EgColumnMeta, EgDataTableFeatures, EgDataTableLayout, EgPaginatedResponse, EgPaginationNavMode, EgSortableColumn };
724
+ export { EgDataTable, EgDataTableColumnHeader, EgDataTableImports, EgDataTableModule, EgDataTablePagination, EgDataTableViewOptions, EgTableHeadSelection, EgTableRowSelection, defaultEgDataTableFeatures, provideEgDataTableLabels };
725
+ export type { EgColumnMeta, EgDataTableFeatures, EgDataTableGridSortContext, EgDataTableLabels, EgDataTableLayout, EgDataTablePaginationChange, EgDataTablePaginationReason, EgPaginatedResponse, EgPaginationNavMode, EgSortableColumn, EgUnknownTotalPage };
@@ -218,7 +218,7 @@ class EgFormSelect {
218
218
  </hlm-hint>
219
219
  }
220
220
  </hlm-form-field>
221
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: HlmFormField, selector: "hlm-form-field", inputs: ["class"] }, { kind: "directive", type: HlmError, selector: "hlm-error", inputs: ["class"] }, { kind: "directive", type: HlmHint, selector: "hlm-hint", inputs: ["class"] }, { kind: "directive", type: HlmLabel, selector: "[hlmLabel]", inputs: ["class"] }, { kind: "directive", type: i2.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i2.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "component", type: i2.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i2.HlmSelectLabel, selector: "[hlmSelectLabel],hlm-select-label" }, { kind: "directive", type: i2.HlmSelectMultiple, selector: "[hlmSelectMultiple],hlm-select-multiple" }, { kind: "directive", type: i2.HlmSelectPlaceholder, selector: "[hlmSelectPlaceholder],hlm-select-placeholder" }, { kind: "directive", type: i2.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i2.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i2.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }, { kind: "directive", type: i2.HlmSelectValues, selector: "[hlmSelectValues]" }, { kind: "directive", type: i2.HlmSelectValuesContent, selector: "[hlmSelectValuesContent],hlm-select-values-content" }] });
221
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: HlmFormField, selector: "hlm-form-field", inputs: ["class"] }, { kind: "directive", type: HlmError, selector: "hlm-error", inputs: ["class"] }, { kind: "directive", type: HlmHint, selector: "hlm-hint", inputs: ["class"] }, { kind: "directive", type: HlmLabel, selector: "[hlmLabel]", inputs: ["class"] }, { kind: "directive", type: i2.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i2.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "component", type: i2.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i2.HlmSelectLabel, selector: "[hlmSelectLabel],hlm-select-label" }, { kind: "directive", type: i2.HlmSelectMultiple, selector: "[hlmSelectMultiple],hlm-select-multiple" }, { kind: "directive", type: i2.HlmSelectPlaceholder, selector: "[hlmSelectPlaceholder],hlm-select-placeholder" }, { kind: "directive", type: i2.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i2.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "aria-labelledby", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i2.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }, { kind: "directive", type: i2.HlmSelectValues, selector: "[hlmSelectValues]" }, { kind: "directive", type: i2.HlmSelectValuesContent, selector: "[hlmSelectValuesContent],hlm-select-values-content" }] });
222
222
  }
223
223
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: EgFormSelect, decorators: [{
224
224
  type: Component,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egose/shadcn-theme-ng-tw",
3
- "version": "0.6.4",
3
+ "version": "0.7.0",
4
4
  "description": "Angular shadcn UI theme",
5
5
  "author": "Junmin Ahn",
6
6
  "bundles": [
@@ -396,7 +396,7 @@ class HlmNumberedPagination {
396
396
  </hlm-select-content>
397
397
  </hlm-select>
398
398
  </div>
399
- `, isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
399
+ `, isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "aria-labelledby", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
400
400
  }
401
401
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmNumberedPagination, decorators: [{
402
402
  type: Component,
@@ -677,7 +677,7 @@ class HlmNumberedPaginationQueryParams {
677
677
  </hlm-select-group>
678
678
  </hlm-select-content>
679
679
  </hlm-select>
680
- `, isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
680
+ `, isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "aria-labelledby", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
681
681
  }
682
682
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmNumberedPaginationQueryParams, decorators: [{
683
683
  type: Component,