@rozie-ui/data-table-lit 0.5.0 → 0.6.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 +23 -19
- package/dist/index.cjs +989 -165
- package/dist/index.d.cts +180 -25
- package/dist/index.d.mts +180 -25
- package/dist/index.mjs +989 -165
- package/package.json +2 -2
- package/src/Column.ts +1 -1
- package/src/DataTable.ts +1270 -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,23 @@ 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;
|
|
407
450
|
virtualItemKey: (i: any) => any;
|
|
408
451
|
COL_OVERSCAN: number;
|
|
409
452
|
colRtlObserver: any;
|
|
@@ -448,6 +491,8 @@ declare class DataTable extends DataTable_base {
|
|
|
448
491
|
effectiveColumnFilters: () => any[];
|
|
449
492
|
effectiveGlobalFilter: () => string;
|
|
450
493
|
buildSortFilterAnnounce: () => string;
|
|
494
|
+
rowIdOption: () => (originalRow: any, index: any, parent: any) => string;
|
|
495
|
+
rowSelectionOption: () => boolean | ((row: any) => boolean);
|
|
451
496
|
reFeed: () => void;
|
|
452
497
|
lastPropsData: unknown;
|
|
453
498
|
maybeClearHistoryOnExternalSwap: () => void;
|
|
@@ -475,7 +520,7 @@ declare class DataTable extends DataTable_base {
|
|
|
475
520
|
columnPinSide: (colId: any) => any;
|
|
476
521
|
onPinColumn: (colId: any, side: any, evt: any) => void;
|
|
477
522
|
pinStyle: (colId: any, zIndex?: number) => string;
|
|
478
|
-
thStyle: (header: any) => string;
|
|
523
|
+
thStyle: (header: any, widthPx?: any) => string;
|
|
479
524
|
onGlobalFilterInput: (evt: any) => void;
|
|
480
525
|
onColumnFilterInput: (colId: any, evt: any) => void;
|
|
481
526
|
globalFilterValue: () => any;
|
|
@@ -537,18 +582,20 @@ declare class DataTable extends DataTable_base {
|
|
|
537
582
|
rowIndexOf: (row: any) => number;
|
|
538
583
|
colIndexOf: (row: any, cellCtx: any) => any;
|
|
539
584
|
headerColIndexOf: (hg: any, header: any) => any;
|
|
585
|
+
headerLeafStart: (hg: any, header: any) => number;
|
|
540
586
|
pageRowOffset: () => number;
|
|
541
587
|
toAbsRow: (localRow: any) => any;
|
|
542
588
|
prePaginationRowCount: () => any;
|
|
543
589
|
cellTabindex: (rowKey: any, colIndex: any, level?: any) => 0 | -1;
|
|
544
590
|
isActiveCell: (rowKey: any, colIndex: any, level?: any) => boolean;
|
|
545
|
-
resolveCellEl: (rowKey: any, colIndex: any, level?:
|
|
591
|
+
resolveCellEl: (rowKey: any, colIndex: any, level?: number | null) => any;
|
|
546
592
|
focusActiveCell: (nextRow?: any, nextCol?: any, nextIsHeader?: any, nextLevel?: any) => void;
|
|
547
593
|
totalRowCount: () => any;
|
|
548
594
|
headerRowCount: () => number;
|
|
549
595
|
gridAriaRowCount: () => any;
|
|
550
596
|
ariaPageOffset: () => number;
|
|
551
597
|
bodyAriaRowIndex: (row: any) => number;
|
|
598
|
+
gridAriaColCount: () => any;
|
|
552
599
|
visibleColCount: () => any;
|
|
553
600
|
bodyRowCount: () => number;
|
|
554
601
|
headerLeafLevel: () => number;
|
|
@@ -574,22 +621,28 @@ declare class DataTable extends DataTable_base {
|
|
|
574
621
|
col: number;
|
|
575
622
|
};
|
|
576
623
|
currentCellEl: () => any;
|
|
624
|
+
activeCellHasControls: () => boolean;
|
|
577
625
|
enterControl: () => void;
|
|
578
626
|
cycleWithinCell: (cellEl: any, forward: any) => void;
|
|
579
627
|
onGridKeyDown: (e: any) => void;
|
|
580
628
|
syncActiveFromEvent: (e: any) => void;
|
|
581
629
|
onGridMouseDown: (e: any) => void;
|
|
582
630
|
onGridDblClick: (e: any) => void;
|
|
631
|
+
activateRowAt: (index: any, trigger: any) => void;
|
|
632
|
+
ROW_ACTIVATE_CONTROLS: string;
|
|
633
|
+
maybeActivateRowFromClick: (e: any) => void;
|
|
583
634
|
onGridClick: (e: any) => void;
|
|
584
635
|
onGridFocusOut: (e: any) => void;
|
|
585
636
|
recoverGridFocus: (rowKey: any, col: any, level: any, guardMoved?: boolean) => void;
|
|
586
637
|
clampActiveCell: (rowCount: any, colCount: any) => void;
|
|
587
638
|
windowedHeadersFor: (hg: any, hgLevel: any) => any;
|
|
588
639
|
windowedColSpan: () => any;
|
|
640
|
+
lastColSizeSig: number;
|
|
641
|
+
remeasureColumnSizes: () => void;
|
|
589
642
|
remeasureColumnWindow: () => void;
|
|
590
643
|
gridEmptyFallback: boolean;
|
|
591
644
|
rangeTransition: boolean;
|
|
592
|
-
rangeClickPending:
|
|
645
|
+
rangeClickPending: any;
|
|
593
646
|
rangeActive: boolean;
|
|
594
647
|
inRange: (rIdx: any, cIdx: any) => boolean;
|
|
595
648
|
getSelectedRange: () => {
|
|
@@ -603,10 +656,14 @@ declare class DataTable extends DataTable_base {
|
|
|
603
656
|
};
|
|
604
657
|
};
|
|
605
658
|
isFillHandleCell: (rIdx: any, cIdx: any) => boolean;
|
|
659
|
+
rangeSummary: (anchor: any, focus: any) => string;
|
|
606
660
|
emitRangeChange: (anchor: any, focus: any) => void;
|
|
607
661
|
extendRange: (dRow: any, dCol: any) => void;
|
|
608
|
-
setRangeFocus: (rIdx: any, cIdx: any) => void;
|
|
662
|
+
setRangeFocus: (rIdx: any, cIdx: any, anchorR?: any, anchorC?: any) => void;
|
|
609
663
|
selectAllBody: () => void;
|
|
664
|
+
rangeFocusRow: () => any;
|
|
665
|
+
rangeFocusCol: () => any;
|
|
666
|
+
selectActiveColumn: () => void;
|
|
610
667
|
clearRange: () => void;
|
|
611
668
|
clampRange: (maxRowArg: any, maxColArg: any) => void;
|
|
612
669
|
announce: (msg: any) => void;
|
|
@@ -619,9 +676,12 @@ declare class DataTable extends DataTable_base {
|
|
|
619
676
|
c1: any;
|
|
620
677
|
};
|
|
621
678
|
rangeToTsv: () => string;
|
|
679
|
+
clipboardWriteAvailable: () => boolean;
|
|
680
|
+
clipboardReadAvailable: () => boolean;
|
|
622
681
|
copyRange: () => void;
|
|
623
|
-
applyGridToRange: (grid: any, originRow: any, originCol: any) => {
|
|
682
|
+
applyGridToRange: (grid: any, originRow: any, originCol: any, verb: any) => {
|
|
624
683
|
wrote: number;
|
|
684
|
+
changed: number;
|
|
625
685
|
total: number;
|
|
626
686
|
};
|
|
627
687
|
rowOriginalAt: (rowIndex: any) => any;
|
|
@@ -699,6 +759,11 @@ declare class DataTable extends DataTable_base {
|
|
|
699
759
|
editTransition: boolean;
|
|
700
760
|
pendingEditFollow: any;
|
|
701
761
|
committedThisSession: boolean;
|
|
762
|
+
rowDraftSync: Record<string, any>;
|
|
763
|
+
dropinTabFlush: {
|
|
764
|
+
called: boolean;
|
|
765
|
+
committed: boolean;
|
|
766
|
+
} | null;
|
|
702
767
|
inRowEdit: () => boolean;
|
|
703
768
|
editorValueFor: (colId: any) => any;
|
|
704
769
|
editorCheckedFor: (colId: any) => boolean;
|
|
@@ -709,6 +774,7 @@ declare class DataTable extends DataTable_base {
|
|
|
709
774
|
setRowDraft: (colId: any, value: any) => void;
|
|
710
775
|
rowEditTab: (target: any, backward: any) => void;
|
|
711
776
|
onEditorKeyDown: (e: any) => void;
|
|
777
|
+
onEditorDropinKeyDown: (e: any) => void;
|
|
712
778
|
onEditorBlur: (e: any) => void;
|
|
713
779
|
editCell: (rowIndex: any, colIndex: any) => void;
|
|
714
780
|
commitEditing: () => void;
|
|
@@ -786,7 +852,7 @@ declare class Column extends Column_base {
|
|
|
786
852
|
*/
|
|
787
853
|
pinned: string;
|
|
788
854
|
/**
|
|
789
|
-
* Optional fixed/initial column width — a
|
|
855
|
+
* 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
856
|
*/
|
|
791
857
|
width: string | number;
|
|
792
858
|
/**
|
|
@@ -879,7 +945,12 @@ declare class EditorText extends EditorText_base {
|
|
|
879
945
|
* Focus this editor's primary input when true — the host sets it for the one editor that should hold focus; reactive.
|
|
880
946
|
*/
|
|
881
947
|
autofocus: boolean;
|
|
948
|
+
/**
|
|
949
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
950
|
+
*/
|
|
951
|
+
columnLabel: string;
|
|
882
952
|
private _draft;
|
|
953
|
+
private _touched;
|
|
883
954
|
private _refInputEl;
|
|
884
955
|
private __rozieFirstUpdateDone;
|
|
885
956
|
private _disconnectCleanups;
|
|
@@ -888,11 +959,13 @@ declare class EditorText extends EditorText_base {
|
|
|
888
959
|
updated(changedProperties: Map<string, unknown>): void;
|
|
889
960
|
disconnectedCallback(): void;
|
|
890
961
|
render(): _$lit.TemplateResult<1>;
|
|
962
|
+
draftValue: () => string;
|
|
891
963
|
onInput: (e: any) => void;
|
|
892
964
|
doCommit: () => void;
|
|
893
965
|
doCancel: () => void;
|
|
894
966
|
onKeydown: (e: any) => void;
|
|
895
967
|
onBlur: () => void;
|
|
968
|
+
a11yLabel: () => string;
|
|
896
969
|
}
|
|
897
970
|
//#endregion
|
|
898
971
|
//#region src/EditorNumber.d.ts
|
|
@@ -923,17 +996,31 @@ declare class EditorNumber extends EditorNumber_base {
|
|
|
923
996
|
* `() => void` — revert the edit (Escape). Null-guarded at call sites.
|
|
924
997
|
*/
|
|
925
998
|
cancel: ((...args: any[]) => any) | null;
|
|
999
|
+
/**
|
|
1000
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1001
|
+
*/
|
|
1002
|
+
autofocus: boolean;
|
|
1003
|
+
/**
|
|
1004
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1005
|
+
*/
|
|
1006
|
+
columnLabel: string;
|
|
926
1007
|
private _draft;
|
|
1008
|
+
private _touched;
|
|
1009
|
+
private _refInputEl;
|
|
1010
|
+
private __rozieFirstUpdateDone;
|
|
927
1011
|
private _disconnectCleanups;
|
|
928
1012
|
private _rozieTornDown;
|
|
929
1013
|
firstUpdated(): void;
|
|
1014
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
930
1015
|
disconnectedCallback(): void;
|
|
931
1016
|
render(): _$lit.TemplateResult<1>;
|
|
1017
|
+
draftValue: () => string;
|
|
932
1018
|
onInput: (e: any) => void;
|
|
933
1019
|
doCommit: () => void;
|
|
934
1020
|
doCancel: () => void;
|
|
935
1021
|
onKeydown: (e: any) => void;
|
|
936
1022
|
onBlur: () => void;
|
|
1023
|
+
a11yLabel: () => string;
|
|
937
1024
|
}
|
|
938
1025
|
//#endregion
|
|
939
1026
|
//#region src/EditorSelect.d.ts
|
|
@@ -968,17 +1055,31 @@ declare class EditorSelect extends EditorSelect_base {
|
|
|
968
1055
|
* The select options — `[{ value, label }]`. Mirrors `<Column editorOptions>`.
|
|
969
1056
|
*/
|
|
970
1057
|
options: any[];
|
|
1058
|
+
/**
|
|
1059
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1060
|
+
*/
|
|
1061
|
+
autofocus: boolean;
|
|
1062
|
+
/**
|
|
1063
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1064
|
+
*/
|
|
1065
|
+
columnLabel: string;
|
|
971
1066
|
private _draft;
|
|
1067
|
+
private _touched;
|
|
1068
|
+
private _refSelectEl;
|
|
1069
|
+
private __rozieFirstUpdateDone;
|
|
972
1070
|
private _disconnectCleanups;
|
|
973
1071
|
private _rozieTornDown;
|
|
974
1072
|
firstUpdated(): void;
|
|
1073
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
975
1074
|
disconnectedCallback(): void;
|
|
976
1075
|
render(): _$lit.TemplateResult<1>;
|
|
1076
|
+
draftValue: () => string;
|
|
977
1077
|
onChange: (e: any) => void;
|
|
978
1078
|
doCommit: () => void;
|
|
979
1079
|
doCancel: () => void;
|
|
980
1080
|
onKeydown: (e: any) => void;
|
|
981
1081
|
onBlur: () => void;
|
|
1082
|
+
a11yLabel: () => string;
|
|
982
1083
|
}
|
|
983
1084
|
//#endregion
|
|
984
1085
|
//#region src/EditorCheckbox.d.ts
|
|
@@ -1009,12 +1110,25 @@ declare class EditorCheckbox extends EditorCheckbox_base {
|
|
|
1009
1110
|
* `() => void` — revert the edit (Escape). Null-guarded at call sites.
|
|
1010
1111
|
*/
|
|
1011
1112
|
cancel: ((...args: any[]) => any) | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1115
|
+
*/
|
|
1116
|
+
autofocus: boolean;
|
|
1117
|
+
/**
|
|
1118
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1119
|
+
*/
|
|
1120
|
+
columnLabel: string;
|
|
1121
|
+
private _refInputEl;
|
|
1122
|
+
private __rozieFirstUpdateDone;
|
|
1012
1123
|
private _disconnectCleanups;
|
|
1013
1124
|
private _rozieTornDown;
|
|
1125
|
+
firstUpdated(): void;
|
|
1126
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
1014
1127
|
disconnectedCallback(): void;
|
|
1015
1128
|
render(): _$lit.TemplateResult<1>;
|
|
1016
1129
|
onChange: (e: any) => void;
|
|
1017
1130
|
onKeydown: (e: any) => void;
|
|
1131
|
+
a11yLabel: () => string;
|
|
1018
1132
|
}
|
|
1019
1133
|
//#endregion
|
|
1020
1134
|
//#region src/EditorDate.d.ts
|
|
@@ -1045,18 +1159,32 @@ declare class EditorDate extends EditorDate_base {
|
|
|
1045
1159
|
* `() => void` — revert the edit (Escape). Null-guarded at call sites.
|
|
1046
1160
|
*/
|
|
1047
1161
|
cancel: ((...args: any[]) => any) | null;
|
|
1162
|
+
/**
|
|
1163
|
+
* Focus this editor's primary control when true — the host sets it for the one editor that should hold focus; reactive.
|
|
1164
|
+
*/
|
|
1165
|
+
autofocus: boolean;
|
|
1166
|
+
/**
|
|
1167
|
+
* The column's human header, forwarded by the slot scope — used as the control's accessible name in place of the internal column id.
|
|
1168
|
+
*/
|
|
1169
|
+
columnLabel: string;
|
|
1048
1170
|
private _draft;
|
|
1171
|
+
private _touched;
|
|
1172
|
+
private _refInputEl;
|
|
1173
|
+
private __rozieFirstUpdateDone;
|
|
1049
1174
|
private _disconnectCleanups;
|
|
1050
1175
|
private _rozieTornDown;
|
|
1051
1176
|
firstUpdated(): void;
|
|
1177
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
1052
1178
|
disconnectedCallback(): void;
|
|
1053
1179
|
render(): _$lit.TemplateResult<1>;
|
|
1180
|
+
draftValue: () => string;
|
|
1054
1181
|
onInput: (e: any) => void;
|
|
1055
1182
|
doCommit: () => void;
|
|
1056
1183
|
doCancel: () => void;
|
|
1057
1184
|
onChange: (e: any) => void;
|
|
1058
1185
|
onKeydown: (e: any) => void;
|
|
1059
1186
|
onBlur: () => void;
|
|
1187
|
+
a11yLabel: () => string;
|
|
1060
1188
|
}
|
|
1061
1189
|
//#endregion
|
|
1062
1190
|
//#region src/FilterText.d.ts
|
|
@@ -1079,17 +1207,25 @@ declare class FilterText extends FilterText_base {
|
|
|
1079
1207
|
* `(columnId, value) => void` — apply the column filter (Enter / blur applies, Escape clears). Null-guarded at call sites.
|
|
1080
1208
|
*/
|
|
1081
1209
|
setFilter: ((...args: any[]) => any) | null;
|
|
1210
|
+
/**
|
|
1211
|
+
* 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.
|
|
1212
|
+
*/
|
|
1213
|
+
columnLabel: string;
|
|
1082
1214
|
private _draft;
|
|
1215
|
+
private _touched;
|
|
1216
|
+
private __rozieFirstUpdateDone;
|
|
1083
1217
|
private _disconnectCleanups;
|
|
1084
1218
|
private _rozieTornDown;
|
|
1085
|
-
|
|
1219
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
1086
1220
|
disconnectedCallback(): void;
|
|
1087
1221
|
render(): _$lit.TemplateResult<1>;
|
|
1222
|
+
draftValue: () => string;
|
|
1088
1223
|
onInput: (e: any) => void;
|
|
1089
1224
|
applyFilter: () => void;
|
|
1090
1225
|
clearFilter: () => void;
|
|
1091
1226
|
onKeydown: (e: any) => void;
|
|
1092
1227
|
onBlur: () => void;
|
|
1228
|
+
a11yLabel: () => string;
|
|
1093
1229
|
}
|
|
1094
1230
|
//#endregion
|
|
1095
1231
|
//#region src/FilterNumberRange.d.ts
|
|
@@ -1116,18 +1252,29 @@ declare class FilterNumberRange extends FilterNumberRange_base {
|
|
|
1116
1252
|
* The faceted `[min, max]` bounds for this column (`[number, number]` or null) — drives the input placeholders only.
|
|
1117
1253
|
*/
|
|
1118
1254
|
minMax: unknown;
|
|
1255
|
+
/**
|
|
1256
|
+
* 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.
|
|
1257
|
+
*/
|
|
1258
|
+
columnLabel: string;
|
|
1119
1259
|
private _minDraft;
|
|
1120
1260
|
private _maxDraft;
|
|
1261
|
+
private _touched;
|
|
1262
|
+
private __rozieWatchInitial_0;
|
|
1121
1263
|
private _disconnectCleanups;
|
|
1122
1264
|
private _rozieTornDown;
|
|
1123
1265
|
firstUpdated(): void;
|
|
1124
1266
|
disconnectedCallback(): void;
|
|
1125
1267
|
render(): _$lit.TemplateResult<1>;
|
|
1268
|
+
minDraftValue: () => string;
|
|
1269
|
+
maxDraftValue: () => string;
|
|
1126
1270
|
onMinInput: (e: any) => void;
|
|
1127
1271
|
onMaxInput: (e: any) => void;
|
|
1272
|
+
onKeydown: (e: any) => void;
|
|
1273
|
+
onBlur: () => void;
|
|
1128
1274
|
minPlaceholder: () => string;
|
|
1129
1275
|
maxPlaceholder: () => string;
|
|
1130
|
-
applyRange: () => void;
|
|
1276
|
+
applyRange: (minDraft: any, maxDraft: any) => void;
|
|
1277
|
+
a11yLabel: () => string;
|
|
1131
1278
|
}
|
|
1132
1279
|
//#endregion
|
|
1133
1280
|
//#region src/FilterSelect.d.ts
|
|
@@ -1154,12 +1301,17 @@ declare class FilterSelect extends FilterSelect_base {
|
|
|
1154
1301
|
* The faceted distinct keys for this column (cross-filtered, keys only — no occurrence counts) used to build the `<option>` list.
|
|
1155
1302
|
*/
|
|
1156
1303
|
uniqueValues: any[];
|
|
1304
|
+
/**
|
|
1305
|
+
* 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.
|
|
1306
|
+
*/
|
|
1307
|
+
columnLabel: string;
|
|
1157
1308
|
private _disconnectCleanups;
|
|
1158
1309
|
private _rozieTornDown;
|
|
1159
1310
|
disconnectedCallback(): void;
|
|
1160
1311
|
render(): _$lit.TemplateResult<1>;
|
|
1161
1312
|
selectValue: () => string;
|
|
1162
1313
|
onChange: (e: any) => void;
|
|
1314
|
+
a11yLabel: () => string;
|
|
1163
1315
|
}
|
|
1164
1316
|
//#endregion
|
|
1165
1317
|
//#region src/GroupBar.d.ts
|
|
@@ -1199,6 +1351,9 @@ declare class GroupBar extends GroupBar_base {
|
|
|
1199
1351
|
onDragEnd: () => void;
|
|
1200
1352
|
onDrop: (e: any) => void;
|
|
1201
1353
|
removeKey: (key: any) => void;
|
|
1354
|
+
toggleKey: (id: any) => void;
|
|
1355
|
+
moveKey: (key: any, delta: any) => void;
|
|
1356
|
+
onTokenKeydown: (e: any, gk: any) => void;
|
|
1202
1357
|
clearAll: () => void;
|
|
1203
1358
|
labelFor: (key: any) => any;
|
|
1204
1359
|
}
|