@rozie-ui/data-table-lit 0.5.0 → 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.
- package/README.md +25 -19
- package/dist/index.cjs +994 -165
- package/dist/index.d.cts +185 -25
- package/dist/index.d.mts +185 -25
- package/dist/index.mjs +994 -165
- package/package.json +2 -2
- package/src/Column.ts +1 -1
- package/src/DataTable.ts +1299 -149
- package/src/EditorCheckbox.ts +35 -2
- package/src/EditorDate.ts +59 -6
- package/src/EditorNumber.ts +47 -5
- package/src/EditorSelect.ts +48 -7
- package/src/EditorText.ts +38 -6
- package/src/FilterNumberRange.ts +77 -9
- package/src/FilterSelect.ts +17 -2
- package/src/FilterText.ts +47 -6
- package/src/GroupBar.ts +76 -3
- package/src/helpers/columnDefUtils.ts +73 -1
- package/src/helpers/dateValue.ts +55 -0
- package/src/themes/base.css +96 -75
- package/src/themes/bootstrap.css +59 -34
- package/src/themes/material.css +53 -32
- package/src/themes/shadcn.css +58 -33
package/dist/index.d.cts
CHANGED
|
@@ -61,6 +61,10 @@ declare class DataTable extends DataTable_base {
|
|
|
61
61
|
*/
|
|
62
62
|
_expanded_attr: any | boolean;
|
|
63
63
|
private _expandedControllable;
|
|
64
|
+
/**
|
|
65
|
+
* Row identity `(originalRow, index, parentRow?) => string | number` — the key `rowSelection`, `expanded` and the per-row caches use. Default null → table-core keys rows by position (`"0"`, `"1"`, … and `"0.1"` for sub-rows), so inserting or removing rows above a selected or expanded row moves that state onto whatever row now sits at its index. Supply it whenever rows can be added or removed while state is held (server push, live lists); the result is coerced to a string.
|
|
66
|
+
*/
|
|
67
|
+
getRowId: ((...args: any[]) => any) | null;
|
|
64
68
|
/**
|
|
65
69
|
* Table-level child-row accessor `(originalRow, index) => TData[] | undefined` that drives nested sub-rows. When supplied (with `expandable`), table-core flattens the hierarchy and the expand seam reveals depth-indented child rows. Null → the `#detail` scoped slot is the expand mode.
|
|
66
70
|
*/
|
|
@@ -169,10 +173,12 @@ declare class DataTable extends DataTable_base {
|
|
|
169
173
|
private _rangeAnchor;
|
|
170
174
|
private _rangeFocus;
|
|
171
175
|
private _pasteAnnounce;
|
|
176
|
+
private _rangeAnnounce;
|
|
172
177
|
private _liveAnnounce;
|
|
173
178
|
private _ref__rozieRoot;
|
|
174
179
|
private __rozieWatchInitial_0;
|
|
175
180
|
private __rozieWatchInitial_1;
|
|
181
|
+
private __rozieWatchInitial_2;
|
|
176
182
|
private __rozieCtxProvider_data_table_columns;
|
|
177
183
|
private _rozieSlotDistributor;
|
|
178
184
|
private _hasSlotDefault;
|
|
@@ -196,6 +202,12 @@ declare class DataTable extends DataTable_base {
|
|
|
196
202
|
private _slotDynamicColHeaderElements;
|
|
197
203
|
private _hasSlotDynamicFilter;
|
|
198
204
|
private _slotDynamicFilterElements;
|
|
205
|
+
private _hasSlotPlaceholder;
|
|
206
|
+
private _slotPlaceholderElements;
|
|
207
|
+
placeholder?: (scope: {
|
|
208
|
+
index: any;
|
|
209
|
+
columnId: any;
|
|
210
|
+
}) => unknown;
|
|
199
211
|
private _hasSlotSelectCell;
|
|
200
212
|
private _slotSelectCellElements;
|
|
201
213
|
selectCell?: (scope: {
|
|
@@ -226,6 +238,7 @@ declare class DataTable extends DataTable_base {
|
|
|
226
238
|
value: any;
|
|
227
239
|
uniqueValues: any;
|
|
228
240
|
minMax: any;
|
|
241
|
+
columnLabel: any;
|
|
229
242
|
setFilter: any;
|
|
230
243
|
}) => unknown;
|
|
231
244
|
private _hasSlotCell;
|
|
@@ -245,6 +258,7 @@ declare class DataTable extends DataTable_base {
|
|
|
245
258
|
value: any;
|
|
246
259
|
commit: any;
|
|
247
260
|
cancel: any;
|
|
261
|
+
columnLabel: any;
|
|
248
262
|
autofocus: any;
|
|
249
263
|
}) => unknown;
|
|
250
264
|
rozieSlots?: {
|
|
@@ -258,6 +272,7 @@ declare class DataTable extends DataTable_base {
|
|
|
258
272
|
value: any;
|
|
259
273
|
uniqueValues: any;
|
|
260
274
|
minMax: any;
|
|
275
|
+
columnLabel: any;
|
|
261
276
|
setFilter: any;
|
|
262
277
|
}) => unknown;
|
|
263
278
|
[key: `cell-${string}`]: (scope: {
|
|
@@ -273,6 +288,7 @@ declare class DataTable extends DataTable_base {
|
|
|
273
288
|
value: any;
|
|
274
289
|
commit: any;
|
|
275
290
|
cancel: any;
|
|
291
|
+
columnLabel: any;
|
|
276
292
|
autofocus: any;
|
|
277
293
|
}) => unknown;
|
|
278
294
|
} & Record<string, (scope: any) => unknown>;
|
|
@@ -294,8 +310,13 @@ declare class DataTable extends DataTable_base {
|
|
|
294
310
|
remeasurePending: boolean;
|
|
295
311
|
remeasureRaf: any;
|
|
296
312
|
remeasureDisposed: boolean;
|
|
313
|
+
scrollEndPinned: boolean;
|
|
314
|
+
scrollEndPinnedCount: number;
|
|
315
|
+
scrollEndPinnedTop: number;
|
|
297
316
|
GRID_PAGE_STEP: number;
|
|
298
317
|
gridRoot: any;
|
|
318
|
+
outsidePointerDown: boolean;
|
|
319
|
+
docPointerDown: any;
|
|
299
320
|
programmatic: number;
|
|
300
321
|
focusIntentEpoch: number;
|
|
301
322
|
DATA_WRITE_TOKEN_KEY: string;
|
|
@@ -309,21 +330,37 @@ declare class DataTable extends DataTable_base {
|
|
|
309
330
|
seedColumnPinning: () => void;
|
|
310
331
|
currentState: () => any;
|
|
311
332
|
currentData: () => any;
|
|
333
|
+
/**
|
|
334
|
+
* A-01 — translate the public per-column `width` into table-core's `size`.
|
|
335
|
+
*
|
|
336
|
+
* `width` was written onto the ColumnDef in both build branches and read by NOTHING:
|
|
337
|
+
* table-core resolves column width from `size` (a NUMBER of px), which only the two
|
|
338
|
+
* chrome columns ever set. So the documented API was completely inert — the exact
|
|
339
|
+
* sibling of the inert `pinned` that 0.5.0 closed.
|
|
340
|
+
*
|
|
341
|
+
* `size` is numeric px by construction, so only a number or a px string can map onto
|
|
342
|
+
* it; any other CSS length (`12rem`, `20%`, `auto`) has no numeric px value at build
|
|
343
|
+
* time and is deliberately NOT guessed — it returns null and the column keeps
|
|
344
|
+
* table-core's default. The `width` prop's docs say exactly this.
|
|
345
|
+
*
|
|
346
|
+
* Returns null (not undefined) for "no usable width" so callers can test `!= null`
|
|
347
|
+
* without tripping over a legitimate 0.
|
|
348
|
+
*/
|
|
349
|
+
parseWidthToSize: (w: any) => number;
|
|
350
|
+
editorWarned: any;
|
|
351
|
+
checkEditorKind: (id: any, editor: any) => any;
|
|
312
352
|
buildConfigDef: (c: any) => {
|
|
313
353
|
id: string;
|
|
314
354
|
header: any;
|
|
315
355
|
columns: any[];
|
|
316
|
-
accessorKey?: undefined;
|
|
317
|
-
enableSorting?: undefined;
|
|
318
|
-
enableColumnFilter?: undefined;
|
|
319
|
-
filterable?: undefined;
|
|
320
|
-
expandable?: undefined;
|
|
321
|
-
groupable?: undefined;
|
|
322
|
-
aggregationFn?: undefined;
|
|
323
|
-
pinned?: undefined;
|
|
324
|
-
width?: undefined;
|
|
325
|
-
meta?: undefined;
|
|
326
356
|
} | {
|
|
357
|
+
meta: {
|
|
358
|
+
editable: boolean;
|
|
359
|
+
editor: any;
|
|
360
|
+
editorOptions: any;
|
|
361
|
+
validate: any;
|
|
362
|
+
};
|
|
363
|
+
size?: number;
|
|
327
364
|
id: string;
|
|
328
365
|
accessorKey: any;
|
|
329
366
|
header: any;
|
|
@@ -335,12 +372,6 @@ declare class DataTable extends DataTable_base {
|
|
|
335
372
|
aggregationFn: string | ((columnId: any, leafRows: any, childRows: any) => any);
|
|
336
373
|
pinned: any;
|
|
337
374
|
width: any;
|
|
338
|
-
meta: {
|
|
339
|
-
editable: boolean;
|
|
340
|
-
editor: any;
|
|
341
|
-
editorOptions: any;
|
|
342
|
-
validate: any;
|
|
343
|
-
};
|
|
344
375
|
columns?: undefined;
|
|
345
376
|
};
|
|
346
377
|
columnDefsCache: any[] | null;
|
|
@@ -399,11 +430,28 @@ declare class DataTable extends DataTable_base {
|
|
|
399
430
|
forcedColumns: () => number[];
|
|
400
431
|
windowedCells: (row: any) => any;
|
|
401
432
|
windowSource: () => any;
|
|
433
|
+
REMEASURE_MAX_FRAMES: number;
|
|
402
434
|
scheduleRemeasure: () => void;
|
|
403
435
|
teardownRemeasure: () => void;
|
|
404
436
|
pinnedEditIndex: () => any;
|
|
405
437
|
pinnedMeasurement: (pin: any) => any;
|
|
406
|
-
remeasureWindow: () =>
|
|
438
|
+
remeasureWindow: () => boolean;
|
|
439
|
+
LAZY_PLACEHOLDER_KEY: string;
|
|
440
|
+
LAZY_PLACEHOLDER_ROW_ID_PREFIX: string;
|
|
441
|
+
lazyPlaceholders: Record<number, any>;
|
|
442
|
+
lazyRowsActive: () => boolean;
|
|
443
|
+
isLazyPlaceholder: (orig: any) => boolean;
|
|
444
|
+
rowIsLazyPlaceholder: (row: any) => boolean;
|
|
445
|
+
feedData: () => any[];
|
|
446
|
+
migratePlaceholderSizeCache: () => void;
|
|
447
|
+
lastRangeStart: number;
|
|
448
|
+
lastRangeEnd: number;
|
|
449
|
+
emitVisibleRangeIfChanged: () => void;
|
|
450
|
+
scrollToRow: (index: any, options?: {
|
|
451
|
+
align?: "start" | "center" | "end" | "auto";
|
|
452
|
+
behavior?: "auto" | "smooth" | "instant";
|
|
453
|
+
}) => void;
|
|
454
|
+
getScrollElement: () => any;
|
|
407
455
|
virtualItemKey: (i: any) => any;
|
|
408
456
|
COL_OVERSCAN: number;
|
|
409
457
|
colRtlObserver: any;
|
|
@@ -448,6 +496,8 @@ declare class DataTable extends DataTable_base {
|
|
|
448
496
|
effectiveColumnFilters: () => any[];
|
|
449
497
|
effectiveGlobalFilter: () => string;
|
|
450
498
|
buildSortFilterAnnounce: () => string;
|
|
499
|
+
rowIdOption: () => (originalRow: any, index: any, parent: any) => string;
|
|
500
|
+
rowSelectionOption: () => boolean | ((row: any) => boolean);
|
|
451
501
|
reFeed: () => void;
|
|
452
502
|
lastPropsData: unknown;
|
|
453
503
|
maybeClearHistoryOnExternalSwap: () => void;
|
|
@@ -475,7 +525,7 @@ declare class DataTable extends DataTable_base {
|
|
|
475
525
|
columnPinSide: (colId: any) => any;
|
|
476
526
|
onPinColumn: (colId: any, side: any, evt: any) => void;
|
|
477
527
|
pinStyle: (colId: any, zIndex?: number) => string;
|
|
478
|
-
thStyle: (header: any) => string;
|
|
528
|
+
thStyle: (header: any, widthPx?: any) => string;
|
|
479
529
|
onGlobalFilterInput: (evt: any) => void;
|
|
480
530
|
onColumnFilterInput: (colId: any, evt: any) => void;
|
|
481
531
|
globalFilterValue: () => any;
|
|
@@ -537,18 +587,20 @@ declare class DataTable extends DataTable_base {
|
|
|
537
587
|
rowIndexOf: (row: any) => number;
|
|
538
588
|
colIndexOf: (row: any, cellCtx: any) => any;
|
|
539
589
|
headerColIndexOf: (hg: any, header: any) => any;
|
|
590
|
+
headerLeafStart: (hg: any, header: any) => number;
|
|
540
591
|
pageRowOffset: () => number;
|
|
541
592
|
toAbsRow: (localRow: any) => any;
|
|
542
593
|
prePaginationRowCount: () => any;
|
|
543
594
|
cellTabindex: (rowKey: any, colIndex: any, level?: any) => 0 | -1;
|
|
544
595
|
isActiveCell: (rowKey: any, colIndex: any, level?: any) => boolean;
|
|
545
|
-
resolveCellEl: (rowKey: any, colIndex: any, level?:
|
|
596
|
+
resolveCellEl: (rowKey: any, colIndex: any, level?: number | null) => any;
|
|
546
597
|
focusActiveCell: (nextRow?: any, nextCol?: any, nextIsHeader?: any, nextLevel?: any) => void;
|
|
547
598
|
totalRowCount: () => any;
|
|
548
599
|
headerRowCount: () => number;
|
|
549
600
|
gridAriaRowCount: () => any;
|
|
550
601
|
ariaPageOffset: () => number;
|
|
551
602
|
bodyAriaRowIndex: (row: any) => number;
|
|
603
|
+
gridAriaColCount: () => any;
|
|
552
604
|
visibleColCount: () => any;
|
|
553
605
|
bodyRowCount: () => number;
|
|
554
606
|
headerLeafLevel: () => number;
|
|
@@ -574,22 +626,28 @@ declare class DataTable extends DataTable_base {
|
|
|
574
626
|
col: number;
|
|
575
627
|
};
|
|
576
628
|
currentCellEl: () => any;
|
|
629
|
+
activeCellHasControls: () => boolean;
|
|
577
630
|
enterControl: () => void;
|
|
578
631
|
cycleWithinCell: (cellEl: any, forward: any) => void;
|
|
579
632
|
onGridKeyDown: (e: any) => void;
|
|
580
633
|
syncActiveFromEvent: (e: any) => void;
|
|
581
634
|
onGridMouseDown: (e: any) => void;
|
|
582
635
|
onGridDblClick: (e: any) => void;
|
|
636
|
+
activateRowAt: (index: any, trigger: any) => void;
|
|
637
|
+
ROW_ACTIVATE_CONTROLS: string;
|
|
638
|
+
maybeActivateRowFromClick: (e: any) => void;
|
|
583
639
|
onGridClick: (e: any) => void;
|
|
584
640
|
onGridFocusOut: (e: any) => void;
|
|
585
641
|
recoverGridFocus: (rowKey: any, col: any, level: any, guardMoved?: boolean) => void;
|
|
586
642
|
clampActiveCell: (rowCount: any, colCount: any) => void;
|
|
587
643
|
windowedHeadersFor: (hg: any, hgLevel: any) => any;
|
|
588
644
|
windowedColSpan: () => any;
|
|
645
|
+
lastColSizeSig: number;
|
|
646
|
+
remeasureColumnSizes: () => void;
|
|
589
647
|
remeasureColumnWindow: () => void;
|
|
590
648
|
gridEmptyFallback: boolean;
|
|
591
649
|
rangeTransition: boolean;
|
|
592
|
-
rangeClickPending:
|
|
650
|
+
rangeClickPending: any;
|
|
593
651
|
rangeActive: boolean;
|
|
594
652
|
inRange: (rIdx: any, cIdx: any) => boolean;
|
|
595
653
|
getSelectedRange: () => {
|
|
@@ -603,10 +661,14 @@ declare class DataTable extends DataTable_base {
|
|
|
603
661
|
};
|
|
604
662
|
};
|
|
605
663
|
isFillHandleCell: (rIdx: any, cIdx: any) => boolean;
|
|
664
|
+
rangeSummary: (anchor: any, focus: any) => string;
|
|
606
665
|
emitRangeChange: (anchor: any, focus: any) => void;
|
|
607
666
|
extendRange: (dRow: any, dCol: any) => void;
|
|
608
|
-
setRangeFocus: (rIdx: any, cIdx: any) => void;
|
|
667
|
+
setRangeFocus: (rIdx: any, cIdx: any, anchorR?: any, anchorC?: any) => void;
|
|
609
668
|
selectAllBody: () => void;
|
|
669
|
+
rangeFocusRow: () => any;
|
|
670
|
+
rangeFocusCol: () => any;
|
|
671
|
+
selectActiveColumn: () => void;
|
|
610
672
|
clearRange: () => void;
|
|
611
673
|
clampRange: (maxRowArg: any, maxColArg: any) => void;
|
|
612
674
|
announce: (msg: any) => void;
|
|
@@ -619,9 +681,12 @@ declare class DataTable extends DataTable_base {
|
|
|
619
681
|
c1: any;
|
|
620
682
|
};
|
|
621
683
|
rangeToTsv: () => string;
|
|
684
|
+
clipboardWriteAvailable: () => boolean;
|
|
685
|
+
clipboardReadAvailable: () => boolean;
|
|
622
686
|
copyRange: () => void;
|
|
623
|
-
applyGridToRange: (grid: any, originRow: any, originCol: any) => {
|
|
687
|
+
applyGridToRange: (grid: any, originRow: any, originCol: any, verb: any) => {
|
|
624
688
|
wrote: number;
|
|
689
|
+
changed: number;
|
|
625
690
|
total: number;
|
|
626
691
|
};
|
|
627
692
|
rowOriginalAt: (rowIndex: any) => any;
|
|
@@ -699,6 +764,11 @@ declare class DataTable extends DataTable_base {
|
|
|
699
764
|
editTransition: boolean;
|
|
700
765
|
pendingEditFollow: any;
|
|
701
766
|
committedThisSession: boolean;
|
|
767
|
+
rowDraftSync: Record<string, any>;
|
|
768
|
+
dropinTabFlush: {
|
|
769
|
+
called: boolean;
|
|
770
|
+
committed: boolean;
|
|
771
|
+
} | null;
|
|
702
772
|
inRowEdit: () => boolean;
|
|
703
773
|
editorValueFor: (colId: any) => any;
|
|
704
774
|
editorCheckedFor: (colId: any) => boolean;
|
|
@@ -709,6 +779,7 @@ declare class DataTable extends DataTable_base {
|
|
|
709
779
|
setRowDraft: (colId: any, value: any) => void;
|
|
710
780
|
rowEditTab: (target: any, backward: any) => void;
|
|
711
781
|
onEditorKeyDown: (e: any) => void;
|
|
782
|
+
onEditorDropinKeyDown: (e: any) => void;
|
|
712
783
|
onEditorBlur: (e: any) => void;
|
|
713
784
|
editCell: (rowIndex: any, colIndex: any) => void;
|
|
714
785
|
commitEditing: () => void;
|
|
@@ -786,7 +857,7 @@ declare class Column extends Column_base {
|
|
|
786
857
|
*/
|
|
787
858
|
pinned: string;
|
|
788
859
|
/**
|
|
789
|
-
* Optional fixed/initial column width — a
|
|
860
|
+
* Optional fixed/initial column width, applied as the column's starting size — a px number (`120`) or a px string (`'120px'`). Column sizing is numeric px, so other CSS lengths (`'12rem'`, `'20%'`, `'auto'`) have no px value to apply and are ignored; the column keeps the default width. An interactive resize overrides this.
|
|
790
861
|
*/
|
|
791
862
|
width: string | number;
|
|
792
863
|
/**
|
|
@@ -879,7 +950,12 @@ declare class EditorText extends EditorText_base {
|
|
|
879
950
|
* Focus this editor's primary input when true — the host sets it for the one editor that should hold focus; reactive.
|
|
880
951
|
*/
|
|
881
952
|
autofocus: boolean;
|
|
953
|
+
/**
|
|
954
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
955
|
+
*/
|
|
956
|
+
columnLabel: string;
|
|
882
957
|
private _draft;
|
|
958
|
+
private _touched;
|
|
883
959
|
private _refInputEl;
|
|
884
960
|
private __rozieFirstUpdateDone;
|
|
885
961
|
private _disconnectCleanups;
|
|
@@ -888,11 +964,13 @@ declare class EditorText extends EditorText_base {
|
|
|
888
964
|
updated(changedProperties: Map<string, unknown>): void;
|
|
889
965
|
disconnectedCallback(): void;
|
|
890
966
|
render(): _$lit.TemplateResult<1>;
|
|
967
|
+
draftValue: () => string;
|
|
891
968
|
onInput: (e: any) => void;
|
|
892
969
|
doCommit: () => void;
|
|
893
970
|
doCancel: () => void;
|
|
894
971
|
onKeydown: (e: any) => void;
|
|
895
972
|
onBlur: () => void;
|
|
973
|
+
a11yLabel: () => string;
|
|
896
974
|
}
|
|
897
975
|
//#endregion
|
|
898
976
|
//#region src/EditorNumber.d.ts
|
|
@@ -923,17 +1001,31 @@ declare class EditorNumber extends EditorNumber_base {
|
|
|
923
1001
|
* `() => void` — revert the edit (Escape). Null-guarded at call sites.
|
|
924
1002
|
*/
|
|
925
1003
|
cancel: ((...args: any[]) => any) | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1006
|
+
*/
|
|
1007
|
+
autofocus: boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1010
|
+
*/
|
|
1011
|
+
columnLabel: string;
|
|
926
1012
|
private _draft;
|
|
1013
|
+
private _touched;
|
|
1014
|
+
private _refInputEl;
|
|
1015
|
+
private __rozieFirstUpdateDone;
|
|
927
1016
|
private _disconnectCleanups;
|
|
928
1017
|
private _rozieTornDown;
|
|
929
1018
|
firstUpdated(): void;
|
|
1019
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
930
1020
|
disconnectedCallback(): void;
|
|
931
1021
|
render(): _$lit.TemplateResult<1>;
|
|
1022
|
+
draftValue: () => string;
|
|
932
1023
|
onInput: (e: any) => void;
|
|
933
1024
|
doCommit: () => void;
|
|
934
1025
|
doCancel: () => void;
|
|
935
1026
|
onKeydown: (e: any) => void;
|
|
936
1027
|
onBlur: () => void;
|
|
1028
|
+
a11yLabel: () => string;
|
|
937
1029
|
}
|
|
938
1030
|
//#endregion
|
|
939
1031
|
//#region src/EditorSelect.d.ts
|
|
@@ -968,17 +1060,31 @@ declare class EditorSelect extends EditorSelect_base {
|
|
|
968
1060
|
* The select options — `[{ value, label }]`. Mirrors `<Column editorOptions>`.
|
|
969
1061
|
*/
|
|
970
1062
|
options: any[];
|
|
1063
|
+
/**
|
|
1064
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1065
|
+
*/
|
|
1066
|
+
autofocus: boolean;
|
|
1067
|
+
/**
|
|
1068
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1069
|
+
*/
|
|
1070
|
+
columnLabel: string;
|
|
971
1071
|
private _draft;
|
|
1072
|
+
private _touched;
|
|
1073
|
+
private _refSelectEl;
|
|
1074
|
+
private __rozieFirstUpdateDone;
|
|
972
1075
|
private _disconnectCleanups;
|
|
973
1076
|
private _rozieTornDown;
|
|
974
1077
|
firstUpdated(): void;
|
|
1078
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
975
1079
|
disconnectedCallback(): void;
|
|
976
1080
|
render(): _$lit.TemplateResult<1>;
|
|
1081
|
+
draftValue: () => string;
|
|
977
1082
|
onChange: (e: any) => void;
|
|
978
1083
|
doCommit: () => void;
|
|
979
1084
|
doCancel: () => void;
|
|
980
1085
|
onKeydown: (e: any) => void;
|
|
981
1086
|
onBlur: () => void;
|
|
1087
|
+
a11yLabel: () => string;
|
|
982
1088
|
}
|
|
983
1089
|
//#endregion
|
|
984
1090
|
//#region src/EditorCheckbox.d.ts
|
|
@@ -1009,12 +1115,25 @@ declare class EditorCheckbox extends EditorCheckbox_base {
|
|
|
1009
1115
|
* `() => void` — revert the edit (Escape). Null-guarded at call sites.
|
|
1010
1116
|
*/
|
|
1011
1117
|
cancel: ((...args: any[]) => any) | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1120
|
+
*/
|
|
1121
|
+
autofocus: boolean;
|
|
1122
|
+
/**
|
|
1123
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1124
|
+
*/
|
|
1125
|
+
columnLabel: string;
|
|
1126
|
+
private _refInputEl;
|
|
1127
|
+
private __rozieFirstUpdateDone;
|
|
1012
1128
|
private _disconnectCleanups;
|
|
1013
1129
|
private _rozieTornDown;
|
|
1130
|
+
firstUpdated(): void;
|
|
1131
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
1014
1132
|
disconnectedCallback(): void;
|
|
1015
1133
|
render(): _$lit.TemplateResult<1>;
|
|
1016
1134
|
onChange: (e: any) => void;
|
|
1017
1135
|
onKeydown: (e: any) => void;
|
|
1136
|
+
a11yLabel: () => string;
|
|
1018
1137
|
}
|
|
1019
1138
|
//#endregion
|
|
1020
1139
|
//#region src/EditorDate.d.ts
|
|
@@ -1045,18 +1164,32 @@ declare class EditorDate extends EditorDate_base {
|
|
|
1045
1164
|
* `() => void` — revert the edit (Escape). Null-guarded at call sites.
|
|
1046
1165
|
*/
|
|
1047
1166
|
cancel: ((...args: any[]) => any) | null;
|
|
1167
|
+
/**
|
|
1168
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1169
|
+
*/
|
|
1170
|
+
autofocus: boolean;
|
|
1171
|
+
/**
|
|
1172
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1173
|
+
*/
|
|
1174
|
+
columnLabel: string;
|
|
1048
1175
|
private _draft;
|
|
1176
|
+
private _touched;
|
|
1177
|
+
private _refInputEl;
|
|
1178
|
+
private __rozieFirstUpdateDone;
|
|
1049
1179
|
private _disconnectCleanups;
|
|
1050
1180
|
private _rozieTornDown;
|
|
1051
1181
|
firstUpdated(): void;
|
|
1182
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
1052
1183
|
disconnectedCallback(): void;
|
|
1053
1184
|
render(): _$lit.TemplateResult<1>;
|
|
1185
|
+
draftValue: () => string;
|
|
1054
1186
|
onInput: (e: any) => void;
|
|
1055
1187
|
doCommit: () => void;
|
|
1056
1188
|
doCancel: () => void;
|
|
1057
1189
|
onChange: (e: any) => void;
|
|
1058
1190
|
onKeydown: (e: any) => void;
|
|
1059
1191
|
onBlur: () => void;
|
|
1192
|
+
a11yLabel: () => string;
|
|
1060
1193
|
}
|
|
1061
1194
|
//#endregion
|
|
1062
1195
|
//#region src/FilterText.d.ts
|
|
@@ -1079,17 +1212,25 @@ declare class FilterText extends FilterText_base {
|
|
|
1079
1212
|
* `(columnId, value) => void` — apply the column filter (Enter / blur applies, Escape clears). Null-guarded at call sites.
|
|
1080
1213
|
*/
|
|
1081
1214
|
setFilter: ((...args: any[]) => any) | null;
|
|
1215
|
+
/**
|
|
1216
|
+
* The column's human header, forwarded by the `#filter` slot scope — used as the control's accessible name in place of the internal column id.
|
|
1217
|
+
*/
|
|
1218
|
+
columnLabel: string;
|
|
1082
1219
|
private _draft;
|
|
1220
|
+
private _touched;
|
|
1221
|
+
private __rozieFirstUpdateDone;
|
|
1083
1222
|
private _disconnectCleanups;
|
|
1084
1223
|
private _rozieTornDown;
|
|
1085
|
-
|
|
1224
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
1086
1225
|
disconnectedCallback(): void;
|
|
1087
1226
|
render(): _$lit.TemplateResult<1>;
|
|
1227
|
+
draftValue: () => string;
|
|
1088
1228
|
onInput: (e: any) => void;
|
|
1089
1229
|
applyFilter: () => void;
|
|
1090
1230
|
clearFilter: () => void;
|
|
1091
1231
|
onKeydown: (e: any) => void;
|
|
1092
1232
|
onBlur: () => void;
|
|
1233
|
+
a11yLabel: () => string;
|
|
1093
1234
|
}
|
|
1094
1235
|
//#endregion
|
|
1095
1236
|
//#region src/FilterNumberRange.d.ts
|
|
@@ -1116,18 +1257,29 @@ declare class FilterNumberRange extends FilterNumberRange_base {
|
|
|
1116
1257
|
* The faceted `[min, max]` bounds for this column (`[number, number]` or null) — drives the input placeholders only.
|
|
1117
1258
|
*/
|
|
1118
1259
|
minMax: unknown;
|
|
1260
|
+
/**
|
|
1261
|
+
* The column's human header, forwarded by the `#filter` slot scope — used as the control's accessible name in place of the internal column id.
|
|
1262
|
+
*/
|
|
1263
|
+
columnLabel: string;
|
|
1119
1264
|
private _minDraft;
|
|
1120
1265
|
private _maxDraft;
|
|
1266
|
+
private _touched;
|
|
1267
|
+
private __rozieWatchInitial_0;
|
|
1121
1268
|
private _disconnectCleanups;
|
|
1122
1269
|
private _rozieTornDown;
|
|
1123
1270
|
firstUpdated(): void;
|
|
1124
1271
|
disconnectedCallback(): void;
|
|
1125
1272
|
render(): _$lit.TemplateResult<1>;
|
|
1273
|
+
minDraftValue: () => string;
|
|
1274
|
+
maxDraftValue: () => string;
|
|
1126
1275
|
onMinInput: (e: any) => void;
|
|
1127
1276
|
onMaxInput: (e: any) => void;
|
|
1277
|
+
onKeydown: (e: any) => void;
|
|
1278
|
+
onBlur: () => void;
|
|
1128
1279
|
minPlaceholder: () => string;
|
|
1129
1280
|
maxPlaceholder: () => string;
|
|
1130
|
-
applyRange: () => void;
|
|
1281
|
+
applyRange: (minDraft: any, maxDraft: any) => void;
|
|
1282
|
+
a11yLabel: () => string;
|
|
1131
1283
|
}
|
|
1132
1284
|
//#endregion
|
|
1133
1285
|
//#region src/FilterSelect.d.ts
|
|
@@ -1154,12 +1306,17 @@ declare class FilterSelect extends FilterSelect_base {
|
|
|
1154
1306
|
* The faceted distinct keys for this column (cross-filtered, keys only — no occurrence counts) used to build the `<option>` list.
|
|
1155
1307
|
*/
|
|
1156
1308
|
uniqueValues: any[];
|
|
1309
|
+
/**
|
|
1310
|
+
* The column's human header, forwarded by the `#filter` slot scope — used as the control's accessible name in place of the internal column id.
|
|
1311
|
+
*/
|
|
1312
|
+
columnLabel: string;
|
|
1157
1313
|
private _disconnectCleanups;
|
|
1158
1314
|
private _rozieTornDown;
|
|
1159
1315
|
disconnectedCallback(): void;
|
|
1160
1316
|
render(): _$lit.TemplateResult<1>;
|
|
1161
1317
|
selectValue: () => string;
|
|
1162
1318
|
onChange: (e: any) => void;
|
|
1319
|
+
a11yLabel: () => string;
|
|
1163
1320
|
}
|
|
1164
1321
|
//#endregion
|
|
1165
1322
|
//#region src/GroupBar.d.ts
|
|
@@ -1199,6 +1356,9 @@ declare class GroupBar extends GroupBar_base {
|
|
|
1199
1356
|
onDragEnd: () => void;
|
|
1200
1357
|
onDrop: (e: any) => void;
|
|
1201
1358
|
removeKey: (key: any) => void;
|
|
1359
|
+
toggleKey: (id: any) => void;
|
|
1360
|
+
moveKey: (key: any, delta: any) => void;
|
|
1361
|
+
onTokenKeydown: (e: any, gk: any) => void;
|
|
1202
1362
|
clearAll: () => void;
|
|
1203
1363
|
labelFor: (key: any) => any;
|
|
1204
1364
|
}
|