@su-labs/table 22.0.0 → 22.1.1
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 +32 -1
- package/README.md +162 -14
- package/fesm2022/su-labs-table.mjs +894 -34
- package/fesm2022/su-labs-table.mjs.map +1 -1
- package/package.json +2 -2
- package/types/su-labs-table.d.ts +273 -3
package/types/su-labs-table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SU_TABLE_LABELS, SuNumberEditorOptions, SuSelectChoice, SuTableAction, SuTableAction as SuTableAction$1, SuTableActionView, SuTableAlign, SuTableColumn, SuTableColumns, SuTableColumns as SuTableColumns$1, SuTableDraftField, SuTableEditor, SuTableInput, SuTableInputAttributes, SuTableInputValue, SuTableInputValue as SuTableInputValue$1, SuTableLabels, SuTableLabels as SuTableLabels$1, SuTableOption, SuTableRowId, SuTableRowId as SuTableRowId$1, SuTableRowView, SuTableSort, SuTableSort as SuTableSort$1, SuTableSortDirection, SuTextEditorOptions, suCheckboxEditor, suDateEditor, suNumberEditor, suSelectEditor, suTextEditor } from "@su-labs/core/table";
|
|
1
|
+
import { SU_TABLE_LABELS, SuNumberEditorOptions, SuSelectChoice, SuTableAction, SuTableAction as SuTableAction$1, SuTableActionView, SuTableAlign, SuTableColumn, SuTableColumnState, SuTableColumnState as SuTableColumnState$1, SuTableColumns, SuTableColumns as SuTableColumns$1, SuTableDraftField, SuTableEditor, SuTableInput, SuTableInputAttributes, SuTableInputValue, SuTableInputValue as SuTableInputValue$1, SuTableLabels, SuTableLabels as SuTableLabels$1, SuTableOption, SuTablePageSize, SuTablePageSize as SuTablePageSize$1, SuTablePagination, SuTablePagination as SuTablePagination$1, SuTablePin, SuTablePin as SuTablePin$1, SuTableRowId, SuTableRowId as SuTableRowId$1, SuTableRowView, SuTableSort, SuTableSort as SuTableSort$1, SuTableSortDirection, SuTextEditorOptions, suCheckboxEditor, suDateEditor, suNumberEditor, suSelectEditor, suTextEditor } from "@su-labs/core/table";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { TemplateRef } from "@angular/core";
|
|
4
4
|
/** What a custom cell template gets: the row (`let-row`) and its formatted text (`let-text="text"`) */
|
|
@@ -69,6 +69,140 @@ export declare class SuTableFieldComponent<TRow extends object> {
|
|
|
69
69
|
"valueChange": "valueChange";
|
|
70
70
|
}, never, never, true, never>;
|
|
71
71
|
}
|
|
72
|
+
/** The page controls under a table: rows per page, the range on screen, and previous and next */
|
|
73
|
+
export declare class SuTablePaginatorComponent {
|
|
74
|
+
readonly pagination: import("@angular/core").InputSignal<SuTablePagination$1>;
|
|
75
|
+
readonly labels: import("@angular/core").InputSignal<SuTableLabels$1>;
|
|
76
|
+
readonly controlId: import("@angular/core").InputSignal<string>;
|
|
77
|
+
readonly pageChange: import("@angular/core").OutputEmitterRef<number>;
|
|
78
|
+
readonly pageSizeChange: import("@angular/core").OutputEmitterRef<SuTablePageSize$1>;
|
|
79
|
+
/** The buttons stay focusable at the first and last page (`aria-disabled`), so focus isn't lost on the way */
|
|
80
|
+
protected turn(page: number): void;
|
|
81
|
+
protected onPageSize(event: Event): void;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuTablePaginatorComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuTablePaginatorComponent, "su-lib-table-paginator", never, {
|
|
84
|
+
"pagination": {
|
|
85
|
+
"alias": "pagination";
|
|
86
|
+
"required": true;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"labels": {
|
|
90
|
+
"alias": "labels";
|
|
91
|
+
"required": true;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"controlId": {
|
|
95
|
+
"alias": "controlId";
|
|
96
|
+
"required": true;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
"pageChange": "pageChange";
|
|
101
|
+
"pageSizeChange": "pageSizeChange";
|
|
102
|
+
}, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
/** Where one cell of a pinned column sticks */
|
|
105
|
+
export interface SuTablePinPlacement {
|
|
106
|
+
readonly pin: SuTablePin$1;
|
|
107
|
+
/** The distance from its edge: the width of the pinned cells before it */
|
|
108
|
+
readonly offset: number;
|
|
109
|
+
/** The innermost pinned cell on its side, which casts the shadow over the scrolling cells */
|
|
110
|
+
readonly edge: boolean;
|
|
111
|
+
}
|
|
112
|
+
/** Makes a table cell stick to its edge while the other columns scroll */
|
|
113
|
+
export declare class SuTablePinDirective {
|
|
114
|
+
readonly placement: import("@angular/core").InputSignal<SuTablePinPlacement | null>;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuTablePinDirective, never>;
|
|
116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuTablePinDirective, "[suTablePin]", never, {
|
|
117
|
+
"placement": {
|
|
118
|
+
"alias": "suTablePin";
|
|
119
|
+
"required": false;
|
|
120
|
+
"isSignal": true;
|
|
121
|
+
};
|
|
122
|
+
}, {}, never, never, true, never>;
|
|
123
|
+
}
|
|
124
|
+
/** A column's heading pin was shown or hidden from the Columns menu */
|
|
125
|
+
export interface SuTablePinnableChange<TRow extends object> {
|
|
126
|
+
readonly key: keyof TRow;
|
|
127
|
+
readonly pinnable: boolean;
|
|
128
|
+
}
|
|
129
|
+
/** A column was shown or hidden from the Columns menu */
|
|
130
|
+
export interface SuTableVisibilityChange<TRow extends object> {
|
|
131
|
+
readonly key: keyof TRow;
|
|
132
|
+
readonly visible: boolean;
|
|
133
|
+
}
|
|
134
|
+
/** The bar above a table: the search box, and the Columns button with its menu to show, hide and pin columns */
|
|
135
|
+
export declare class SuTableToolbarComponent<TRow extends object> {
|
|
136
|
+
readonly labels: import("@angular/core").InputSignal<SuTableLabels$1>;
|
|
137
|
+
/** Prefix for the ids of the controls */
|
|
138
|
+
readonly controlId: import("@angular/core").InputSignal<string>;
|
|
139
|
+
readonly searchable: import("@angular/core").InputSignal<boolean>;
|
|
140
|
+
readonly query: import("@angular/core").InputSignal<string>;
|
|
141
|
+
readonly columnControls: import("@angular/core").InputSignal<boolean>;
|
|
142
|
+
/** The columns in the order they were set up */
|
|
143
|
+
readonly columns: import("@angular/core").InputSignal<readonly SuTableColumnState$1<TRow>[]>;
|
|
144
|
+
readonly queryChange: import("@angular/core").OutputEmitterRef<string>;
|
|
145
|
+
readonly pinnableChange: import("@angular/core").OutputEmitterRef<SuTablePinnableChange<TRow>>;
|
|
146
|
+
readonly visibilityChange: import("@angular/core").OutputEmitterRef<SuTableVisibilityChange<TRow>>;
|
|
147
|
+
/** Every column shown (true), or all hidden but one (false) */
|
|
148
|
+
readonly allVisibilityChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
149
|
+
private readonly menu;
|
|
150
|
+
private readonly menuButton;
|
|
151
|
+
protected readonly columnsOpen: import("@angular/core").WritableSignal<boolean>;
|
|
152
|
+
protected readonly columnQuery: import("@angular/core").WritableSignal<string>;
|
|
153
|
+
/** The columns matching the menu's search */
|
|
154
|
+
protected readonly listedColumns: import("@angular/core").Signal<SuTableColumnState$1<TRow>[]>;
|
|
155
|
+
protected readonly shownCount: import("@angular/core").Signal<number>;
|
|
156
|
+
protected toggleMenu(): void;
|
|
157
|
+
/** Escape closes the menu and puts focus back on its button */
|
|
158
|
+
protected closeMenu(): void;
|
|
159
|
+
protected closeOutside(event: PointerEvent): void;
|
|
160
|
+
protected onQuery(event: Event): void;
|
|
161
|
+
protected clearQuery(event: Event): void;
|
|
162
|
+
protected onColumnQuery(event: Event): void;
|
|
163
|
+
protected onVisible(key: keyof TRow, event: Event): void;
|
|
164
|
+
protected onAllVisible(event: Event): void;
|
|
165
|
+
/** The pin button shows or hides the column's pin in its heading; that pin is what pins it */
|
|
166
|
+
protected togglePinnable(column: SuTableColumnState$1<TRow>): void;
|
|
167
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuTableToolbarComponent<any>, never>;
|
|
168
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuTableToolbarComponent<any>, "su-lib-table-toolbar", never, {
|
|
169
|
+
"labels": {
|
|
170
|
+
"alias": "labels";
|
|
171
|
+
"required": true;
|
|
172
|
+
"isSignal": true;
|
|
173
|
+
};
|
|
174
|
+
"controlId": {
|
|
175
|
+
"alias": "controlId";
|
|
176
|
+
"required": true;
|
|
177
|
+
"isSignal": true;
|
|
178
|
+
};
|
|
179
|
+
"searchable": {
|
|
180
|
+
"alias": "searchable";
|
|
181
|
+
"required": false;
|
|
182
|
+
"isSignal": true;
|
|
183
|
+
};
|
|
184
|
+
"query": {
|
|
185
|
+
"alias": "query";
|
|
186
|
+
"required": false;
|
|
187
|
+
"isSignal": true;
|
|
188
|
+
};
|
|
189
|
+
"columnControls": {
|
|
190
|
+
"alias": "columnControls";
|
|
191
|
+
"required": false;
|
|
192
|
+
"isSignal": true;
|
|
193
|
+
};
|
|
194
|
+
"columns": {
|
|
195
|
+
"alias": "columns";
|
|
196
|
+
"required": false;
|
|
197
|
+
"isSignal": true;
|
|
198
|
+
};
|
|
199
|
+
}, {
|
|
200
|
+
"queryChange": "queryChange";
|
|
201
|
+
"pinnableChange": "pinnableChange";
|
|
202
|
+
"visibilityChange": "visibilityChange";
|
|
203
|
+
"allVisibilityChange": "allVisibilityChange";
|
|
204
|
+
}, never, never, true, never>;
|
|
205
|
+
}
|
|
72
206
|
/** The action id the table handles itself: it edits the row inline */
|
|
73
207
|
export declare const SU_TABLE_EDIT_ACTION = "edit";
|
|
74
208
|
/** A row action (or a bulk action) was clicked */
|
|
@@ -83,6 +217,12 @@ export interface SuTableReorderEvent<TRow extends object> {
|
|
|
83
217
|
/** Every row in its new order */
|
|
84
218
|
readonly rows: readonly TRow[];
|
|
85
219
|
}
|
|
220
|
+
/** The page on screen and how many rows it shows */
|
|
221
|
+
export interface SuTablePageEvent {
|
|
222
|
+
/** From 0 */
|
|
223
|
+
readonly page: number;
|
|
224
|
+
readonly pageSize: SuTablePageSize$1;
|
|
225
|
+
}
|
|
86
226
|
/** A row being dragged with the pointer */
|
|
87
227
|
interface DragState {
|
|
88
228
|
readonly id: SuTableRowId$1;
|
|
@@ -116,6 +256,30 @@ export declare class SuTableComponent<TRow extends object> {
|
|
|
116
256
|
readonly selectable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
117
257
|
/** Rows can be reordered, by dragging or with the keyboard @default false */
|
|
118
258
|
readonly reorderable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
259
|
+
/** A Columns button with a menu to show or hide columns and the pin in their headings @default false */
|
|
260
|
+
readonly columnControls: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
261
|
+
/** A search box above the table that narrows the rows by their text @default false */
|
|
262
|
+
readonly searchable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
263
|
+
/**
|
|
264
|
+
* The most the table grows before it scrolls inside, any CSS length (e.g. `'28rem'`); the header and the pinned
|
|
265
|
+
* rows stay in view while the rows scroll under them
|
|
266
|
+
*/
|
|
267
|
+
readonly maxHeight: import("@angular/core").InputSignal<string | undefined>;
|
|
268
|
+
/**
|
|
269
|
+
* Extra classes for a row, e.g. `(user) => (user.active ? null : 'is-muted')`. The table styles `is-muted` and
|
|
270
|
+
* `is-highlighted`; other classes are yours to style
|
|
271
|
+
*/
|
|
272
|
+
readonly rowClass: import("@angular/core").InputSignal<((row: TRow) => string | null) | undefined>;
|
|
273
|
+
/** A double-click on an editable cell edits its row, starting in that field @default true */
|
|
274
|
+
readonly editOnDoubleClick: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
275
|
+
/** Rows per page; without it, every row shows @default 'all' */
|
|
276
|
+
readonly pageSize: import("@angular/core").InputSignal<SuTablePageSize$1 | undefined>;
|
|
277
|
+
/** The page sizes people choose from under the table, e.g. `[10, 25, 50, 'all']` */
|
|
278
|
+
readonly pageSizes: import("@angular/core").InputSignal<readonly SuTablePageSize$1[]>;
|
|
279
|
+
/** A Pin button on each row, keeping it above the others on every page @default false */
|
|
280
|
+
readonly rowPinning: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
281
|
+
/** The ids of the rows pinned to start with */
|
|
282
|
+
readonly pinnedRows: import("@angular/core").InputSignal<readonly SuTableRowId$1[] | undefined>;
|
|
119
283
|
/** Texts to replace, e.g. in the page's language */
|
|
120
284
|
readonly labels: import("@angular/core").InputSignal<Partial<SuTableLabels$1>>;
|
|
121
285
|
/** Rows were edited and saved; send them to the API as they are */
|
|
@@ -124,27 +288,78 @@ export declare class SuTableComponent<TRow extends object> {
|
|
|
124
288
|
readonly action: import("@angular/core").OutputEmitterRef<SuTableActionEvent<TRow>>;
|
|
125
289
|
readonly sortChange: import("@angular/core").OutputEmitterRef<SuTableSort$1<TRow> | null>;
|
|
126
290
|
readonly selectionChange: import("@angular/core").OutputEmitterRef<readonly TRow[]>;
|
|
291
|
+
/** The search changed, after typing paused */
|
|
292
|
+
readonly searchChange: import("@angular/core").OutputEmitterRef<string>;
|
|
293
|
+
/** The pinned rows changed: their ids, in pin order */
|
|
294
|
+
readonly pinnedRowsChange: import("@angular/core").OutputEmitterRef<readonly SuTableRowId$1[]>;
|
|
295
|
+
/** A column was shown, hidden, pinned or unpinned from the Columns menu: every column's state, e.g. to save it */
|
|
296
|
+
readonly columnsChange: import("@angular/core").OutputEmitterRef<readonly SuTableColumnState$1<TRow>[]>;
|
|
297
|
+
/** The page or the page size changed */
|
|
298
|
+
readonly pageChange: import("@angular/core").OutputEmitterRef<SuTablePageEvent>;
|
|
127
299
|
private readonly controller;
|
|
128
300
|
private readonly host;
|
|
129
301
|
private readonly cellTemplates;
|
|
130
302
|
private readonly focusHandleId;
|
|
303
|
+
/** The id of the field to focus once it renders, after a double-click */
|
|
304
|
+
private readonly focusFieldId;
|
|
305
|
+
private searchTimer;
|
|
306
|
+
private readonly headerWidths;
|
|
307
|
+
private readonly scrollerWidth;
|
|
308
|
+
private readonly headerLayout;
|
|
309
|
+
private readonly headerHeight;
|
|
310
|
+
private readonly pinnedRowHeights;
|
|
131
311
|
protected readonly tableId: string;
|
|
132
312
|
protected readonly state: import("@angular/core").WritableSignal<import("@su-labs/core/table").SuTableState<TRow>>;
|
|
133
313
|
protected readonly text: import("@angular/core").Signal<SuTableLabels$1>;
|
|
134
314
|
protected readonly drag: import("@angular/core").WritableSignal<DragState | null>;
|
|
135
315
|
protected readonly inlineDraft: import("@angular/core").Signal<import("@su-labs/core/table").SuTableDraft<TRow> | null>;
|
|
136
316
|
protected readonly bulkDraft: import("@angular/core").Signal<import("@su-labs/core/table").SuTableDraft<TRow> | null>;
|
|
317
|
+
/** The actions column also shows, for Save and Cancel, while a row is edited by double-click */
|
|
137
318
|
protected readonly hasActions: import("@angular/core").Signal<boolean>;
|
|
319
|
+
/** The pinned rows, then the current page */
|
|
320
|
+
protected readonly bodyRows: import("@angular/core").Signal<SuTableRowView<TRow>[]>;
|
|
321
|
+
protected readonly scrolledFromStart: import("@angular/core").WritableSignal<boolean>;
|
|
322
|
+
protected readonly moreAtEnd: import("@angular/core").WritableSignal<boolean>;
|
|
323
|
+
protected readonly scrolledFromTop: import("@angular/core").WritableSignal<boolean>;
|
|
324
|
+
/** Where each pinned row sticks: under the header and the pinned rows above it */
|
|
325
|
+
protected readonly pinnedRowTops: import("@angular/core").Signal<number[]>;
|
|
326
|
+
protected readonly columnSlot: import("@angular/core").Signal<number>;
|
|
327
|
+
/**
|
|
328
|
+
* Where each header slot sticks, in order: the move handles, the checkboxes, the columns and the actions. The
|
|
329
|
+
* handles and checkboxes stay with columns pinned to the start, the actions with columns pinned to the end.
|
|
330
|
+
* When the pinned cells would leave too little room to scroll the rest (e.g. on a phone), nothing sticks.
|
|
331
|
+
*/
|
|
332
|
+
protected readonly placements: import("@angular/core").Signal<readonly (SuTablePinPlacement | null)[]>;
|
|
138
333
|
protected readonly columnCount: import("@angular/core").Signal<number>;
|
|
139
334
|
constructor();
|
|
140
335
|
protected cellTemplate(key: keyof TRow): TemplateRef<SuTableCellContext<object>> | null;
|
|
141
336
|
protected inlineField(key: keyof TRow): SuTableDraftField<TRow> | null;
|
|
142
|
-
protected controlId(id: SuTableRowId$1
|
|
337
|
+
protected controlId(id: SuTableRowId$1, key: keyof TRow): string;
|
|
338
|
+
/** The pin in a heading unpins its column, or pins it back to the side it was set up with (by default the start) */
|
|
339
|
+
protected toggleColumnPin(key: keyof TRow, pinned: SuTablePin$1 | null): void;
|
|
340
|
+
protected setColumnPinnable({ key, pinnable }: SuTablePinnableChange<TRow>): void;
|
|
341
|
+
protected setColumnsVisible(visible: boolean): void;
|
|
342
|
+
protected setColumnVisible({ key, visible }: SuTableVisibilityChange<TRow>): void;
|
|
343
|
+
/** Narrows the rows once typing pauses, so each keystroke isn't announced */
|
|
344
|
+
protected search(query: string): void;
|
|
345
|
+
protected onScroll(event: Event): void;
|
|
143
346
|
protected sortBy(key: keyof TRow): void;
|
|
144
347
|
protected select(id: SuTableRowId$1): void;
|
|
145
348
|
protected selectAll(selected?: boolean): void;
|
|
349
|
+
protected pinRow(id: SuTableRowId$1): void;
|
|
146
350
|
protected runAction(action: SuTableActionView, row: SuTableRowView<TRow>): void;
|
|
147
351
|
protected runBulkAction(action: SuTableActionView): void;
|
|
352
|
+
protected setPage(page: number): void;
|
|
353
|
+
protected setPageSize(pageSize: SuTablePageSize$1): void;
|
|
354
|
+
/** Whether a double-click on this cell edits its row */
|
|
355
|
+
protected editsOnDoubleClick(key: keyof TRow): boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Edits the row of a double-clicked cell, starting in its field. While another row (or several) is being edited,
|
|
358
|
+
* only a cell of that same row moves the focus, so unsaved changes are never dropped.
|
|
359
|
+
*/
|
|
360
|
+
protected editCell(row: SuTableRowView<TRow>, key: keyof TRow): void;
|
|
361
|
+
/** The second click of a double-click doesn't select the word under it */
|
|
362
|
+
protected keepTextUnselected(event: MouseEvent, key: keyof TRow): void;
|
|
148
363
|
protected editSelected(): void;
|
|
149
364
|
protected setDraft(key: keyof TRow, value: SuTableInputValue$1): void;
|
|
150
365
|
protected save(event?: Event): void;
|
|
@@ -157,7 +372,13 @@ export declare class SuTableComponent<TRow extends object> {
|
|
|
157
372
|
protected onHandleUp(): void;
|
|
158
373
|
protected onHandleCancel(): void;
|
|
159
374
|
/** While dragging, the dragged row follows the pointer and the rows it passes slide aside to open its place */
|
|
375
|
+
protected rowClassOf(row: SuTableRowView<TRow>): string | null;
|
|
376
|
+
/** Where the drop line shows while dragging: on the edge of the gap the dragged row will land in */
|
|
377
|
+
protected dropSide(index: number): 'before' | 'after' | null;
|
|
160
378
|
protected dragTransform(index: number): string | null;
|
|
379
|
+
/** Shadows show on the pinned edges only while columns or rows are scrolled under them */
|
|
380
|
+
private updateScrollEdges;
|
|
381
|
+
private emitPage;
|
|
161
382
|
private emitReorder;
|
|
162
383
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuTableComponent<any>, never>;
|
|
163
384
|
static ɵcmp: i0.ɵɵComponentDeclaration<SuTableComponent<any>, "su-lib-table", never, {
|
|
@@ -201,6 +422,51 @@ export declare class SuTableComponent<TRow extends object> {
|
|
|
201
422
|
"required": false;
|
|
202
423
|
"isSignal": true;
|
|
203
424
|
};
|
|
425
|
+
"columnControls": {
|
|
426
|
+
"alias": "columnControls";
|
|
427
|
+
"required": false;
|
|
428
|
+
"isSignal": true;
|
|
429
|
+
};
|
|
430
|
+
"searchable": {
|
|
431
|
+
"alias": "searchable";
|
|
432
|
+
"required": false;
|
|
433
|
+
"isSignal": true;
|
|
434
|
+
};
|
|
435
|
+
"maxHeight": {
|
|
436
|
+
"alias": "maxHeight";
|
|
437
|
+
"required": false;
|
|
438
|
+
"isSignal": true;
|
|
439
|
+
};
|
|
440
|
+
"rowClass": {
|
|
441
|
+
"alias": "rowClass";
|
|
442
|
+
"required": false;
|
|
443
|
+
"isSignal": true;
|
|
444
|
+
};
|
|
445
|
+
"editOnDoubleClick": {
|
|
446
|
+
"alias": "editOnDoubleClick";
|
|
447
|
+
"required": false;
|
|
448
|
+
"isSignal": true;
|
|
449
|
+
};
|
|
450
|
+
"pageSize": {
|
|
451
|
+
"alias": "pageSize";
|
|
452
|
+
"required": false;
|
|
453
|
+
"isSignal": true;
|
|
454
|
+
};
|
|
455
|
+
"pageSizes": {
|
|
456
|
+
"alias": "pageSizes";
|
|
457
|
+
"required": false;
|
|
458
|
+
"isSignal": true;
|
|
459
|
+
};
|
|
460
|
+
"rowPinning": {
|
|
461
|
+
"alias": "rowPinning";
|
|
462
|
+
"required": false;
|
|
463
|
+
"isSignal": true;
|
|
464
|
+
};
|
|
465
|
+
"pinnedRows": {
|
|
466
|
+
"alias": "pinnedRows";
|
|
467
|
+
"required": false;
|
|
468
|
+
"isSignal": true;
|
|
469
|
+
};
|
|
204
470
|
"labels": {
|
|
205
471
|
"alias": "labels";
|
|
206
472
|
"required": false;
|
|
@@ -212,6 +478,10 @@ export declare class SuTableComponent<TRow extends object> {
|
|
|
212
478
|
"action": "action";
|
|
213
479
|
"sortChange": "sortChange";
|
|
214
480
|
"selectionChange": "selectionChange";
|
|
481
|
+
"searchChange": "searchChange";
|
|
482
|
+
"pinnedRowsChange": "pinnedRowsChange";
|
|
483
|
+
"columnsChange": "columnsChange";
|
|
484
|
+
"pageChange": "pageChange";
|
|
215
485
|
}, ["cellTemplates"], never, true, never>;
|
|
216
486
|
}
|
|
217
|
-
export { SU_TABLE_LABELS, type SuNumberEditorOptions, type SuSelectChoice, type SuTableAction, type SuTableAlign, type SuTableColumn, type SuTableColumns, type SuTableEditor, type SuTableInput, type SuTableInputAttributes, type SuTableInputValue, type SuTableLabels, type SuTableOption, type SuTableRowId, type SuTableSort, type SuTableSortDirection, type SuTextEditorOptions, suCheckboxEditor, suDateEditor, suNumberEditor, suSelectEditor, suTextEditor };
|
|
487
|
+
export { SU_TABLE_LABELS, type SuNumberEditorOptions, type SuSelectChoice, type SuTableAction, type SuTableAlign, type SuTableColumn, type SuTableColumnState, type SuTableColumns, type SuTableEditor, type SuTableInput, type SuTableInputAttributes, type SuTableInputValue, type SuTableLabels, type SuTableOption, type SuTablePageSize, type SuTablePagination, type SuTablePin, type SuTableRowId, type SuTableSort, type SuTableSortDirection, type SuTextEditorOptions, suCheckboxEditor, suDateEditor, suNumberEditor, suSelectEditor, suTextEditor };
|