@vueye-table/headless 3.0.0-alpha.7 → 3.0.0-alpha.9
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/dist/index.d.ts +288 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +469 -85
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyDataTableBinding, DataGridBinding, DataTableBinding, VirtualBinding, VirtualColumnItem, VirtualRowItem } from "@vueye-table/vue";
|
|
2
|
-
import { PropType, SlotsType, VNode, VNodeChild } from "vue";
|
|
3
|
-
import { GridDirection, PageItem, SelectionCoverage, SortInfo, TableColumn, TableRow } from "@vueye-table/core";
|
|
2
|
+
import { PropType, SlotsType, VNode, VNodeChild, shallowRef } from "vue";
|
|
3
|
+
import { GridDirection, LoadState, PageItem, SelectionCoverage, SortInfo, TableColumn, TableIssue, TableRow } from "@vueye-table/core";
|
|
4
4
|
//#region src/controls.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Selects or clears every row in the table's select-all scope. It shows the indeterminate state
|
|
@@ -56,6 +56,7 @@ declare const DataTableSelectRow: import("vue").DefineComponent<import("vue").Ex
|
|
|
56
56
|
}, SlotsType<{
|
|
57
57
|
default?: (props: {
|
|
58
58
|
selected: boolean;
|
|
59
|
+
indeterminate: boolean;
|
|
59
60
|
toggle: () => void;
|
|
60
61
|
}) => VNode[];
|
|
61
62
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -197,6 +198,21 @@ declare const DataTableColumnVisibility: import("vue").DefineComponent<import("v
|
|
|
197
198
|
* A polite live region describing what is shown, such as "1–10 of 57 rows". Screen readers
|
|
198
199
|
* announce it after a search, filter, or page change.
|
|
199
200
|
*/
|
|
201
|
+
interface TableStatusSlotProps {
|
|
202
|
+
readonly start: number;
|
|
203
|
+
readonly end: number;
|
|
204
|
+
readonly rowCount: number;
|
|
205
|
+
readonly totalRowCount: number;
|
|
206
|
+
readonly selectedCount: number;
|
|
207
|
+
readonly loadState: LoadState;
|
|
208
|
+
readonly loadedRowCount: number;
|
|
209
|
+
readonly loadError: TableIssue | undefined;
|
|
210
|
+
readonly canLoadMore: boolean;
|
|
211
|
+
readonly retry: () => void;
|
|
212
|
+
readonly loadNext: () => Promise<void>;
|
|
213
|
+
readonly loadingChildrenCount: number;
|
|
214
|
+
readonly childErrorCount: number;
|
|
215
|
+
}
|
|
200
216
|
declare const DataTableStatus: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
201
217
|
as: {
|
|
202
218
|
readonly type: StringConstructor;
|
|
@@ -212,15 +228,45 @@ declare const DataTableStatus: import("vue").DefineComponent<import("vue").Extra
|
|
|
212
228
|
}>> & Readonly<{}>, {
|
|
213
229
|
as: string;
|
|
214
230
|
}, SlotsType<{
|
|
215
|
-
default?: (props:
|
|
216
|
-
start: number;
|
|
217
|
-
end: number;
|
|
218
|
-
rowCount: number;
|
|
219
|
-
totalRowCount: number;
|
|
220
|
-
selectedCount: number;
|
|
221
|
-
}) => VNode[];
|
|
231
|
+
default?: (props: TableStatusSlotProps) => VNode[];
|
|
222
232
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
223
233
|
//#endregion
|
|
234
|
+
//#region src/loading.d.ts
|
|
235
|
+
/** A keyboard-accessible alternative to automatic virtual-end loading, with error recovery. */
|
|
236
|
+
declare const DataTableLoadMore: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
237
|
+
label: {
|
|
238
|
+
type: StringConstructor;
|
|
239
|
+
default: string;
|
|
240
|
+
};
|
|
241
|
+
retryLabel: {
|
|
242
|
+
type: StringConstructor;
|
|
243
|
+
default: string;
|
|
244
|
+
};
|
|
245
|
+
loadingLabel: {
|
|
246
|
+
type: StringConstructor;
|
|
247
|
+
default: string;
|
|
248
|
+
};
|
|
249
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
250
|
+
[key: string]: any;
|
|
251
|
+
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
252
|
+
label: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
default: string;
|
|
255
|
+
};
|
|
256
|
+
retryLabel: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
default: string;
|
|
259
|
+
};
|
|
260
|
+
loadingLabel: {
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
default: string;
|
|
263
|
+
};
|
|
264
|
+
}>> & Readonly<{}>, {
|
|
265
|
+
label: string;
|
|
266
|
+
retryLabel: string;
|
|
267
|
+
loadingLabel: string;
|
|
268
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
269
|
+
//#endregion
|
|
224
270
|
//#region src/virtual.d.ts
|
|
225
271
|
interface ComponentVirtualOptions {
|
|
226
272
|
readonly rowHeight?: number | ((index: number) => number) | undefined;
|
|
@@ -293,6 +339,171 @@ declare const DataTableViewport: import("vue").DefineComponent<import("vue").Ext
|
|
|
293
339
|
default?: () => VNode[];
|
|
294
340
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
295
341
|
//#endregion
|
|
342
|
+
//#region src/hierarchy.d.ts
|
|
343
|
+
declare const hierarchyProps: {
|
|
344
|
+
readonly treeColumn: {
|
|
345
|
+
readonly type: PropType<string | undefined>;
|
|
346
|
+
readonly default: undefined;
|
|
347
|
+
};
|
|
348
|
+
readonly keepAliveDetail: {
|
|
349
|
+
readonly type: BooleanConstructor;
|
|
350
|
+
readonly default: false;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
declare function resolveTreeColumn(table: AnyDataTableBinding, column?: string): string | undefined;
|
|
354
|
+
declare const expandToggleProps: {
|
|
355
|
+
readonly row: {
|
|
356
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
357
|
+
readonly required: true;
|
|
358
|
+
};
|
|
359
|
+
readonly controls: {
|
|
360
|
+
readonly type: PropType<string | undefined>;
|
|
361
|
+
readonly default: undefined;
|
|
362
|
+
};
|
|
363
|
+
readonly expandLabel: {
|
|
364
|
+
readonly type: StringConstructor;
|
|
365
|
+
readonly default: "Expand row";
|
|
366
|
+
};
|
|
367
|
+
readonly collapseLabel: {
|
|
368
|
+
readonly type: StringConstructor;
|
|
369
|
+
readonly default: "Collapse row";
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
declare const treeCellProps: {
|
|
373
|
+
readonly row: {
|
|
374
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
375
|
+
readonly required: true;
|
|
376
|
+
};
|
|
377
|
+
readonly as: {
|
|
378
|
+
readonly type: StringConstructor;
|
|
379
|
+
readonly default: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
declare const DataTableExpandToggle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
383
|
+
readonly row: {
|
|
384
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
385
|
+
readonly required: true;
|
|
386
|
+
};
|
|
387
|
+
readonly controls: {
|
|
388
|
+
readonly type: PropType<string | undefined>;
|
|
389
|
+
readonly default: undefined;
|
|
390
|
+
};
|
|
391
|
+
readonly expandLabel: {
|
|
392
|
+
readonly type: StringConstructor;
|
|
393
|
+
readonly default: "Expand row";
|
|
394
|
+
};
|
|
395
|
+
readonly collapseLabel: {
|
|
396
|
+
readonly type: StringConstructor;
|
|
397
|
+
readonly default: "Collapse row";
|
|
398
|
+
};
|
|
399
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
400
|
+
[key: string]: any;
|
|
401
|
+
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
402
|
+
readonly row: {
|
|
403
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
404
|
+
readonly required: true;
|
|
405
|
+
};
|
|
406
|
+
readonly controls: {
|
|
407
|
+
readonly type: PropType<string | undefined>;
|
|
408
|
+
readonly default: undefined;
|
|
409
|
+
};
|
|
410
|
+
readonly expandLabel: {
|
|
411
|
+
readonly type: StringConstructor;
|
|
412
|
+
readonly default: "Expand row";
|
|
413
|
+
};
|
|
414
|
+
readonly collapseLabel: {
|
|
415
|
+
readonly type: StringConstructor;
|
|
416
|
+
readonly default: "Collapse row";
|
|
417
|
+
};
|
|
418
|
+
}>> & Readonly<{}>, {
|
|
419
|
+
readonly controls: string | undefined;
|
|
420
|
+
readonly expandLabel: string;
|
|
421
|
+
readonly collapseLabel: string;
|
|
422
|
+
}, SlotsType<{
|
|
423
|
+
default?: (props: {
|
|
424
|
+
row: TableRow<unknown>;
|
|
425
|
+
expanded: boolean;
|
|
426
|
+
}) => VNodeChild;
|
|
427
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
428
|
+
declare const DataTableTreeCell: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
429
|
+
readonly row: {
|
|
430
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
431
|
+
readonly required: true;
|
|
432
|
+
};
|
|
433
|
+
readonly as: {
|
|
434
|
+
readonly type: StringConstructor;
|
|
435
|
+
readonly default: string;
|
|
436
|
+
};
|
|
437
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
438
|
+
[key: string]: any;
|
|
439
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
440
|
+
readonly row: {
|
|
441
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
442
|
+
readonly required: true;
|
|
443
|
+
};
|
|
444
|
+
readonly as: {
|
|
445
|
+
readonly type: StringConstructor;
|
|
446
|
+
readonly default: string;
|
|
447
|
+
};
|
|
448
|
+
}>> & Readonly<{}>, {
|
|
449
|
+
readonly as: string;
|
|
450
|
+
}, SlotsType<{
|
|
451
|
+
default?: () => VNodeChild;
|
|
452
|
+
toggle?: (props: {
|
|
453
|
+
row: TableRow<unknown>;
|
|
454
|
+
}) => VNodeChild;
|
|
455
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
456
|
+
/** One full-width detail; retained collapsed content remains hidden and unmeasured. */
|
|
457
|
+
declare const DataTableDetailRow: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
458
|
+
row: {
|
|
459
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
460
|
+
readonly required: true;
|
|
461
|
+
};
|
|
462
|
+
colspan: {
|
|
463
|
+
type: NumberConstructor;
|
|
464
|
+
default: undefined;
|
|
465
|
+
};
|
|
466
|
+
hidden: {
|
|
467
|
+
type: BooleanConstructor;
|
|
468
|
+
default: boolean;
|
|
469
|
+
};
|
|
470
|
+
keepAlive: {
|
|
471
|
+
type: PropType<boolean | undefined>;
|
|
472
|
+
default: undefined;
|
|
473
|
+
};
|
|
474
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
475
|
+
[key: string]: any;
|
|
476
|
+
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
477
|
+
row: {
|
|
478
|
+
readonly type: PropType<TableRow<unknown>>;
|
|
479
|
+
readonly required: true;
|
|
480
|
+
};
|
|
481
|
+
colspan: {
|
|
482
|
+
type: NumberConstructor;
|
|
483
|
+
default: undefined;
|
|
484
|
+
};
|
|
485
|
+
hidden: {
|
|
486
|
+
type: BooleanConstructor;
|
|
487
|
+
default: boolean;
|
|
488
|
+
};
|
|
489
|
+
keepAlive: {
|
|
490
|
+
type: PropType<boolean | undefined>;
|
|
491
|
+
default: undefined;
|
|
492
|
+
};
|
|
493
|
+
}>> & Readonly<{}>, {
|
|
494
|
+
colspan: number;
|
|
495
|
+
hidden: boolean;
|
|
496
|
+
keepAlive: boolean | undefined;
|
|
497
|
+
}, SlotsType<{
|
|
498
|
+
default?: (props: {
|
|
499
|
+
row: TableRow<unknown>;
|
|
500
|
+
}) => VNodeChild;
|
|
501
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
502
|
+
interface DetailSlotProps {
|
|
503
|
+
readonly row: TableRow<unknown>;
|
|
504
|
+
readonly rowIndex: number;
|
|
505
|
+
}
|
|
506
|
+
//#endregion
|
|
296
507
|
//#region src/shared.d.ts
|
|
297
508
|
/** Columns of any row type; callbacks on a column make `TableColumn<unknown>` too narrow. */
|
|
298
509
|
type AnyTableColumn = TableColumn<any>;
|
|
@@ -310,6 +521,14 @@ declare const DataGridRoot: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
310
521
|
type: NumberConstructor;
|
|
311
522
|
default: number;
|
|
312
523
|
};
|
|
524
|
+
treeColumn: {
|
|
525
|
+
readonly type: PropType<string | undefined>;
|
|
526
|
+
readonly default: undefined;
|
|
527
|
+
};
|
|
528
|
+
keepAliveDetail: {
|
|
529
|
+
readonly type: BooleanConstructor;
|
|
530
|
+
readonly default: false;
|
|
531
|
+
};
|
|
313
532
|
virtual: {
|
|
314
533
|
readonly type: PropType<boolean | ComponentVirtualOptions>;
|
|
315
534
|
readonly default: false;
|
|
@@ -354,6 +573,14 @@ declare const DataGridRoot: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
354
573
|
type: NumberConstructor;
|
|
355
574
|
default: number;
|
|
356
575
|
};
|
|
576
|
+
treeColumn: {
|
|
577
|
+
readonly type: PropType<string | undefined>;
|
|
578
|
+
readonly default: undefined;
|
|
579
|
+
};
|
|
580
|
+
keepAliveDetail: {
|
|
581
|
+
readonly type: BooleanConstructor;
|
|
582
|
+
readonly default: false;
|
|
583
|
+
};
|
|
357
584
|
virtual: {
|
|
358
585
|
readonly type: PropType<boolean | ComponentVirtualOptions>;
|
|
359
586
|
readonly default: false;
|
|
@@ -396,6 +623,8 @@ declare const DataGridRoot: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
396
623
|
label: string | undefined;
|
|
397
624
|
virtualColumns: boolean;
|
|
398
625
|
gutter: number;
|
|
626
|
+
treeColumn: string | undefined;
|
|
627
|
+
keepAliveDetail: boolean;
|
|
399
628
|
virtual: boolean | ComponentVirtualOptions;
|
|
400
629
|
rowHeight: number;
|
|
401
630
|
overscan: number;
|
|
@@ -423,6 +652,10 @@ declare const DataGridBody: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
423
652
|
type: NumberConstructor;
|
|
424
653
|
default: undefined;
|
|
425
654
|
};
|
|
655
|
+
treeCell: {
|
|
656
|
+
type: BooleanConstructor;
|
|
657
|
+
default: boolean;
|
|
658
|
+
};
|
|
426
659
|
virtual: {
|
|
427
660
|
readonly type: PropType<boolean | ComponentVirtualOptions>;
|
|
428
661
|
readonly default: false;
|
|
@@ -458,6 +691,10 @@ declare const DataGridBody: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
458
691
|
type: NumberConstructor;
|
|
459
692
|
default: undefined;
|
|
460
693
|
};
|
|
694
|
+
treeCell: {
|
|
695
|
+
type: BooleanConstructor;
|
|
696
|
+
default: boolean;
|
|
697
|
+
};
|
|
461
698
|
virtual: {
|
|
462
699
|
readonly type: PropType<boolean | ComponentVirtualOptions>;
|
|
463
700
|
readonly default: false;
|
|
@@ -490,11 +727,12 @@ declare const DataGridBody: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
490
727
|
as: string;
|
|
491
728
|
height: string | undefined;
|
|
492
729
|
virtualColumns: boolean;
|
|
730
|
+
colspan: number;
|
|
493
731
|
virtual: boolean | ComponentVirtualOptions;
|
|
494
732
|
rowHeight: number;
|
|
495
733
|
overscan: number;
|
|
496
734
|
columnWidth: number;
|
|
497
|
-
|
|
735
|
+
treeCell: boolean;
|
|
498
736
|
}, SlotsType<{
|
|
499
737
|
default?: (props: {
|
|
500
738
|
rows: readonly TableRow<unknown>[];
|
|
@@ -504,6 +742,7 @@ declare const DataGridBody: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
504
742
|
index: number;
|
|
505
743
|
}) => VNode[];
|
|
506
744
|
cell?: (props: GridCellSlotProps) => VNodeChild;
|
|
745
|
+
detail?: (props: DetailSlotProps) => VNodeChild;
|
|
507
746
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
508
747
|
/**
|
|
509
748
|
* A grid cell. A click selects it, Shift-click or dragging extends the range, and a double click
|
|
@@ -522,6 +761,10 @@ declare const DataGridCell: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
522
761
|
readonly type: StringConstructor;
|
|
523
762
|
readonly default: string;
|
|
524
763
|
};
|
|
764
|
+
tree: {
|
|
765
|
+
type: BooleanConstructor;
|
|
766
|
+
default: boolean;
|
|
767
|
+
};
|
|
525
768
|
/** The row's position on the page. Found by searching the rows when left out. */
|
|
526
769
|
rowIndex: {
|
|
527
770
|
type: PropType<number | undefined>;
|
|
@@ -547,6 +790,10 @@ declare const DataGridCell: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
547
790
|
readonly type: StringConstructor;
|
|
548
791
|
readonly default: string;
|
|
549
792
|
};
|
|
793
|
+
tree: {
|
|
794
|
+
type: BooleanConstructor;
|
|
795
|
+
default: boolean;
|
|
796
|
+
};
|
|
550
797
|
/** The row's position on the page. Found by searching the rows when left out. */
|
|
551
798
|
rowIndex: {
|
|
552
799
|
type: PropType<number | undefined>;
|
|
@@ -559,6 +806,7 @@ declare const DataGridCell: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
559
806
|
};
|
|
560
807
|
}>> & Readonly<{}>, {
|
|
561
808
|
as: string;
|
|
809
|
+
tree: boolean;
|
|
562
810
|
rowIndex: number | undefined;
|
|
563
811
|
columnIndex: number | undefined;
|
|
564
812
|
}, SlotsType<{
|
|
@@ -577,6 +825,14 @@ declare const DataGridCell: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
577
825
|
* slot it renders a complete header and body.
|
|
578
826
|
*/
|
|
579
827
|
declare const DataTableRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
828
|
+
treeColumn: {
|
|
829
|
+
readonly type: PropType<string | undefined>;
|
|
830
|
+
readonly default: undefined;
|
|
831
|
+
};
|
|
832
|
+
keepAliveDetail: {
|
|
833
|
+
readonly type: BooleanConstructor;
|
|
834
|
+
readonly default: false;
|
|
835
|
+
};
|
|
580
836
|
virtual: {
|
|
581
837
|
readonly type: PropType<boolean | ComponentVirtualOptions>;
|
|
582
838
|
readonly default: false;
|
|
@@ -612,6 +868,14 @@ declare const DataTableRoot: import("vue").DefineComponent<import("vue").Extract
|
|
|
612
868
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
613
869
|
[key: string]: any;
|
|
614
870
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
871
|
+
treeColumn: {
|
|
872
|
+
readonly type: PropType<string | undefined>;
|
|
873
|
+
readonly default: undefined;
|
|
874
|
+
};
|
|
875
|
+
keepAliveDetail: {
|
|
876
|
+
readonly type: BooleanConstructor;
|
|
877
|
+
readonly default: false;
|
|
878
|
+
};
|
|
615
879
|
virtual: {
|
|
616
880
|
readonly type: PropType<boolean | ComponentVirtualOptions>;
|
|
617
881
|
readonly default: false;
|
|
@@ -648,6 +912,8 @@ declare const DataTableRoot: import("vue").DefineComponent<import("vue").Extract
|
|
|
648
912
|
as: string;
|
|
649
913
|
height: string | undefined;
|
|
650
914
|
virtualColumns: boolean;
|
|
915
|
+
treeColumn: string | undefined;
|
|
916
|
+
keepAliveDetail: boolean;
|
|
651
917
|
virtual: boolean | ComponentVirtualOptions;
|
|
652
918
|
rowHeight: number;
|
|
653
919
|
overscan: number;
|
|
@@ -876,11 +1142,11 @@ declare const DataTableBody: import("vue").DefineComponent<import("vue").Extract
|
|
|
876
1142
|
as: string;
|
|
877
1143
|
height: string | undefined;
|
|
878
1144
|
virtualColumns: boolean;
|
|
1145
|
+
colspan: number | undefined;
|
|
879
1146
|
virtual: boolean | ComponentVirtualOptions;
|
|
880
1147
|
rowHeight: number;
|
|
881
1148
|
overscan: number;
|
|
882
1149
|
columnWidth: number;
|
|
883
|
-
colspan: number | undefined;
|
|
884
1150
|
}, SlotsType<{
|
|
885
1151
|
default?: (props: {
|
|
886
1152
|
rows: readonly TableRow<unknown>[];
|
|
@@ -890,6 +1156,7 @@ declare const DataTableBody: import("vue").DefineComponent<import("vue").Extract
|
|
|
890
1156
|
row: TableRow<unknown>;
|
|
891
1157
|
rowIndex: number;
|
|
892
1158
|
}) => VNode[];
|
|
1159
|
+
row?: (props: DetailSlotProps) => VNodeChild;
|
|
893
1160
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
894
1161
|
/** A body row; `aria-selected` and `data-selected` follow the selection. */
|
|
895
1162
|
declare const DataTableRow: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -944,6 +1211,10 @@ declare const DataTableCell: import("vue").DefineComponent<import("vue").Extract
|
|
|
944
1211
|
readonly type: StringConstructor;
|
|
945
1212
|
readonly default: string;
|
|
946
1213
|
};
|
|
1214
|
+
tree: {
|
|
1215
|
+
type: BooleanConstructor;
|
|
1216
|
+
default: boolean;
|
|
1217
|
+
};
|
|
947
1218
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
948
1219
|
[key: string]: any;
|
|
949
1220
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -959,8 +1230,13 @@ declare const DataTableCell: import("vue").DefineComponent<import("vue").Extract
|
|
|
959
1230
|
readonly type: StringConstructor;
|
|
960
1231
|
readonly default: string;
|
|
961
1232
|
};
|
|
1233
|
+
tree: {
|
|
1234
|
+
type: BooleanConstructor;
|
|
1235
|
+
default: boolean;
|
|
1236
|
+
};
|
|
962
1237
|
}>> & Readonly<{}>, {
|
|
963
1238
|
as: string;
|
|
1239
|
+
tree: boolean;
|
|
964
1240
|
}, SlotsType<{
|
|
965
1241
|
default?: (props: {
|
|
966
1242
|
row: TableRow<unknown>;
|
|
@@ -988,5 +1264,5 @@ declare const DataTableEmpty: import("vue").DefineComponent<import("vue").Extrac
|
|
|
988
1264
|
default?: () => VNode[];
|
|
989
1265
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
990
1266
|
//#endregion
|
|
991
|
-
export { type ComponentVirtualBinding, type ComponentVirtualOptions, DataGridBody, DataGridCell, DataGridRoot, DataTableBody, DataTableCaption, DataTableCell, DataTableColumnVisibility, DataTableEmpty, DataTableHeader, DataTableHeaderCell, DataTableHeaderRow, DataTablePageSize, DataTablePagination, DataTableRoot, DataTableRow, DataTableSearch, DataTableSelectAll, DataTableSelectRow, DataTableSortButton, DataTableStatus, DataTableViewport, DataTableVirtualColumns, type GridCellSlotProps, cellId, columnStyle, injectVirtual as injectVirtualRenderer, virtualProps };
|
|
1267
|
+
export { type ComponentVirtualBinding, type ComponentVirtualOptions, DataGridBody, DataGridCell, DataGridRoot, DataTableBody, DataTableCaption, DataTableCell, DataTableColumnVisibility, DataTableDetailRow, DataTableEmpty, DataTableExpandToggle, DataTableHeader, DataTableHeaderCell, DataTableHeaderRow, DataTableLoadMore, DataTablePageSize, DataTablePagination, DataTableRoot, DataTableRow, DataTableSearch, DataTableSelectAll, DataTableSelectRow, DataTableSortButton, DataTableStatus, DataTableTreeCell, DataTableViewport, DataTableVirtualColumns, type DetailSlotProps, type GridCellSlotProps, type TableStatusSlotProps, cellId, columnStyle, expandToggleProps, hierarchyProps, injectVirtual as injectVirtualRenderer, resolveTreeColumn, treeCellProps, virtualProps };
|
|
992
1268
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["_$__virtual0.ComponentVirtualOptions","_$__shared0.AnyTableColumn","_$__virtual0.ComponentVirtualOptions","_$__shared0.AnyTableColumn"],"sources":["../src/controls.ts","../src/virtual.ts","../src/shared.ts","../src/grid.ts","../src/table.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["_$__virtual0.ComponentVirtualOptions","_$__shared0.AnyTableColumn","_$__virtual0.ComponentVirtualOptions","_$__shared0.AnyTableColumn"],"sources":["../src/controls.ts","../src/loading.ts","../src/virtual.ts","../src/hierarchy.ts","../src/shared.ts","../src/grid.ts","../src/table.ts"],"mappings":";;;;;;;;cAkCa,kCAAkB,8BAAA;;;;;;;;;;;;;;;;;EAGjB,WAAC;IAAS,OAAO;IAAmB;QAAyB;kCAoBzE;;cAGW,kCAAkB,8BAAA;;;;;;;;;;;;;;;;;;;;;;;;;EAGjB,WAAC;IAAS;IAAmB;IAAwB;QAAyB;kCAqB1F;;;;;cAMW,+BAAe,8BAAA;;;;;;;;;;IAKO,MAAA;;;;;;;;;;;;;;;IAAA,MAAA;;;;;;;qCAuBjC;;;;;cAMW,mCAAmB,8BAAA;;;;;;;;;;;;;;;;;;;;;;;;EAGlB,WAAC;IACT;IACA;IACA,gBAAgB;IAChB;IACA;IACA,WAAW;IACX;IACA;QACI;kCA2DR;;cAGW,iCAAiB,8BAAA;;IAGA,MAAA;;;;;;;;;;;IAAA,MAAA;;;;;;;;;;qCAuB5B;;cAGW,yCAAyB,8BAAA;;;;;;;;;;;;;;;;;;;;;;;;EAGxB,WAAC;IACT;MAAoB,QAAQ;MAAsB;;IAClD,SAAS,kBAAkB;QACvB;kCA8BR;;;;;UAMe;WACN;WACA;WACA;WACA;WACA;WACA,WAAW;WACX;WACA,WAAW;WACX;WACA;WACA,gBAAgB;WAChB;WACA;;cAEE,+BAAe,8BAAA;;;;;;;;;;;;;;;EAGd,WAAC,OAAO,yBAAyB;kC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