@vuetify/nightly 3.6.14-master.2024-08-12 → 3.6.14-master.2024-08-13
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/json/attributes.json +7 -7
- package/dist/json/importMap-labs.json +30 -30
- package/dist/json/importMap.json +138 -138
- package/dist/json/web-types.json +8 -8
- package/dist/vuetify-labs.css +2728 -2728
- package/dist/vuetify-labs.d.ts +33444 -40135
- package/dist/vuetify-labs.esm.js +16 -8
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +16 -8
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +556 -556
- package/dist/vuetify.d.ts +32672 -39038
- package/dist/vuetify.esm.js +16 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +16 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +22 -22
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +50 -73
- package/lib/components/VApp/index.d.mts +9 -11
- package/lib/components/VAppBar/index.d.mts +92 -128
- package/lib/components/VAutocomplete/index.d.mts +4771 -3230
- package/lib/components/VAvatar/index.d.mts +23 -22
- package/lib/components/VBadge/index.d.mts +53 -59
- package/lib/components/VBanner/index.d.mts +44 -66
- package/lib/components/VBottomNavigation/index.d.mts +25 -32
- package/lib/components/VBottomSheet/index.d.mts +125 -135
- package/lib/components/VBreadcrumbs/index.d.mts +35 -78
- package/lib/components/VBtn/index.d.mts +49 -53
- package/lib/components/VBtnGroup/index.d.mts +14 -13
- package/lib/components/VBtnToggle/index.d.mts +21 -23
- package/lib/components/VCard/index.d.mts +104 -168
- package/lib/components/VCarousel/index.d.mts +59 -96
- package/lib/components/VCheckbox/index.d.mts +132 -155
- package/lib/components/VChip/index.d.mts +47 -59
- package/lib/components/VChipGroup/index.d.mts +39 -41
- package/lib/components/VCode/index.d.mts +9 -11
- package/lib/components/VColorPicker/index.d.mts +58 -133
- package/lib/components/VCombobox/index.d.mts +4785 -3244
- package/lib/components/VConfirmEdit/index.d.mts +11 -19
- package/lib/components/VCounter/index.d.mts +40 -42
- package/lib/components/VDataIterator/index.d.mts +171 -185
- package/lib/components/VDataTable/index.d.mts +480 -1204
- package/lib/components/VDatePicker/index.d.mts +120 -158
- package/lib/components/VDefaultsProvider/index.d.mts +5 -9
- package/lib/components/VDialog/index.d.mts +243 -277
- package/lib/components/VDivider/index.d.mts +9 -11
- package/lib/components/VEmptyState/index.d.mts +30 -52
- package/lib/components/VExpansionPanel/index.d.mts +60 -85
- package/lib/components/VFab/index.d.mts +81 -73
- package/lib/components/VField/index.d.mts +35 -62
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +172 -259
- package/lib/components/VFooter/index.d.mts +9 -11
- package/lib/components/VForm/index.d.mts +105 -77
- package/lib/components/VGrid/index.d.mts +41 -52
- package/lib/components/VHover/index.d.mts +5 -9
- package/lib/components/VIcon/index.d.mts +23 -29
- package/lib/components/VImg/index.d.mts +28 -42
- package/lib/components/VInfiniteScroll/index.d.mts +17 -37
- package/lib/components/VInput/index.d.mts +48 -50
- package/lib/components/VItemGroup/index.d.mts +21 -30
- package/lib/components/VKbd/index.d.mts +9 -11
- package/lib/components/VLabel/index.d.mts +9 -11
- package/lib/components/VLayout/index.d.mts +18 -24
- package/lib/components/VLazy/index.d.mts +42 -44
- package/lib/components/VList/index.d.mts +210 -329
- package/lib/components/VLocaleProvider/index.d.mts +9 -11
- package/lib/components/VMain/index.d.mts +9 -11
- package/lib/components/VMenu/index.d.mts +272 -306
- package/lib/components/VMessages/index.d.mts +49 -51
- package/lib/components/VNavigationDrawer/index.d.mts +27 -40
- package/lib/components/VOtpInput/index.d.mts +22 -28
- package/lib/components/VOverlay/VOverlay.mjs +4 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +53 -63
- package/lib/components/VPagination/index.d.mts +31 -46
- package/lib/components/VParallax/index.d.mts +15 -29
- package/lib/components/VProgressCircular/index.d.mts +9 -11
- package/lib/components/VProgressLinear/index.d.mts +22 -24
- package/lib/components/VRadio/index.d.mts +49 -52
- package/lib/components/VRadioGroup/index.d.mts +66 -66
- package/lib/components/VRangeSlider/index.d.mts +58 -69
- package/lib/components/VRating/index.d.mts +13 -19
- package/lib/components/VResponsive/index.d.mts +11 -17
- package/lib/components/VSelect/index.d.mts +4762 -3221
- package/lib/components/VSelectionControl/index.d.mts +38 -44
- package/lib/components/VSelectionControlGroup/index.d.mts +34 -34
- package/lib/components/VSheet/index.d.mts +15 -17
- package/lib/components/VSkeletonLoader/index.d.mts +41 -11
- package/lib/components/VSlideGroup/index.d.mts +112 -129
- package/lib/components/VSlider/index.d.mts +58 -69
- package/lib/components/VSnackbar/VSnackbar.mjs +5 -1
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +231 -270
- package/lib/components/VSparkline/index.d.mts +11 -19
- package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/components/VSpeedDial/index.d.mts +179 -189
- package/lib/components/VStepper/index.d.mts +105 -180
- package/lib/components/VSwitch/index.d.mts +78 -98
- package/lib/components/VSystemBar/index.d.mts +13 -15
- package/lib/components/VTable/index.d.mts +15 -29
- package/lib/components/VTabs/index.d.mts +213 -297
- package/lib/components/VTextField/index.d.mts +253 -408
- package/lib/components/VTextarea/index.d.mts +157 -236
- package/lib/components/VThemeProvider/index.d.mts +9 -11
- package/lib/components/VTimeline/index.d.mts +29 -43
- package/lib/components/VToolbar/index.d.mts +49 -80
- package/lib/components/VTooltip/index.d.mts +282 -316
- package/lib/components/VValidation/index.d.mts +16 -23
- package/lib/components/VVirtualScroll/index.d.mts +14 -23
- package/lib/components/VWindow/index.d.mts +29 -50
- package/lib/components/index.d.mts +31169 -37524
- package/lib/components/transitions/index.d.mts +84 -148
- package/lib/composables/location.mjs.map +1 -1
- package/lib/directives/click-outside/index.mjs +3 -0
- package/lib/directives/click-outside/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +58 -58
- package/lib/labs/VCalendar/index.d.mts +146 -166
- package/lib/labs/VDateInput/index.d.mts +83 -62
- package/lib/labs/VNumberInput/index.d.mts +61 -88
- package/lib/labs/VPicker/index.d.mts +28 -46
- package/lib/labs/VPullToRefresh/index.d.mts +7 -15
- package/lib/labs/VSnackbarQueue/index.d.mts +311 -369
- package/lib/labs/VStepperVertical/index.d.mts +109 -184
- package/lib/labs/VTimePicker/index.d.mts +35 -53
- package/lib/labs/VTreeview/index.d.mts +200 -277
- package/lib/labs/components.d.mts +905 -1231
- package/lib/util/propsFactory.mjs.map +1 -1
- package/package.json +3 -3
@@ -1,5 +1,7 @@
|
|
1
1
|
import * as vue from 'vue';
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, ComponentPublicInstance, PropType,
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, ComponentPublicInstance, PropType, JSXComponent, Ref, UnwrapRef, DeepReadonly } from 'vue';
|
3
|
+
|
4
|
+
type ClassValue = any;
|
3
5
|
|
4
6
|
type SlotsToProps<U extends RawSlots, T = MakeInternalSlots<U>> = {
|
5
7
|
$children?: (VNodeChild | (T extends {
|
@@ -33,7 +35,7 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
|
|
33
35
|
declare function deepEqual(a: any, b: any): boolean;
|
34
36
|
type SelectItemKey<T = Record<string, any>> = boolean | null | undefined | string | readonly (string | number)[] | ((item: T, fallback?: any) => any);
|
35
37
|
type EventProp<T extends any[] = any[], F = (...args: T) => void> = F;
|
36
|
-
declare const EventProp: <T extends any[] = any[]>() => PropType<
|
38
|
+
declare const EventProp: <T extends any[] = any[]>() => PropType<EventProp<T>>;
|
37
39
|
type TemplateRef = {
|
38
40
|
(target: Element | ComponentPublicInstance | null): void;
|
39
41
|
value: HTMLElement | ComponentPublicInstance | null | undefined;
|
@@ -45,6 +47,13 @@ interface LoaderSlotProps {
|
|
45
47
|
isActive: boolean;
|
46
48
|
}
|
47
49
|
|
50
|
+
declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
|
51
|
+
type Breakpoint = typeof breakpoints[number];
|
52
|
+
type DisplayBreakpoint = 'xs' | Breakpoint;
|
53
|
+
|
54
|
+
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
55
|
+
declare const IconValue: PropType<IconValue>;
|
56
|
+
|
48
57
|
type ExpandProps = {
|
49
58
|
expandOnClick: boolean;
|
50
59
|
expanded: readonly string[];
|
@@ -112,7 +121,7 @@ declare function provideGroupBy(options: {
|
|
112
121
|
toggleGroup: (group: Group) => void;
|
113
122
|
opened: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>>;
|
114
123
|
groupBy: Ref<readonly SortItem[]>;
|
115
|
-
extractRows: <T extends GroupableItem
|
124
|
+
extractRows: <T extends GroupableItem>(items: readonly (T | Group<T>)[]) => T[];
|
116
125
|
isGroupOpen: (group: Group) => boolean;
|
117
126
|
};
|
118
127
|
|
@@ -216,13 +225,6 @@ declare function provideSelection(props: SelectionProps, { allItems, currentPage
|
|
216
225
|
showSelectAll: vue.ComputedRef<boolean>;
|
217
226
|
};
|
218
227
|
|
219
|
-
declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
|
220
|
-
type Breakpoint = typeof breakpoints[number];
|
221
|
-
type DisplayBreakpoint = 'xs' | Breakpoint;
|
222
|
-
|
223
|
-
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
224
|
-
declare const IconValue: PropType<IconValue>;
|
225
|
-
|
226
228
|
type HeadersSlotProps = {
|
227
229
|
headers: InternalDataTableHeader[][];
|
228
230
|
columns: InternalDataTableHeader[];
|
@@ -327,21 +329,11 @@ declare const VDataTableHeaders: {
|
|
327
329
|
sortAscIcon: IconValue;
|
328
330
|
sortDescIcon: IconValue;
|
329
331
|
}, true, {}, vue.SlotsType<Partial<{
|
330
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
}>[];
|
336
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
337
|
-
[key: string]: any;
|
338
|
-
}>[];
|
339
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
340
|
-
[key: string]: any;
|
341
|
-
}>[];
|
342
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
343
|
-
[key: string]: any;
|
344
|
-
}>[];
|
332
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
333
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
334
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
335
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
336
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
345
337
|
}>>, {
|
346
338
|
P: {};
|
347
339
|
B: {};
|
@@ -390,9 +382,9 @@ declare const VDataTableHeaders: {
|
|
390
382
|
sortAscIcon: IconValue;
|
391
383
|
sortDescIcon: IconValue;
|
392
384
|
}>;
|
393
|
-
__isFragment?:
|
394
|
-
__isTeleport?:
|
395
|
-
__isSuspense?:
|
385
|
+
__isFragment?: never;
|
386
|
+
__isTeleport?: never;
|
387
|
+
__isSuspense?: never;
|
396
388
|
} & vue.ComponentOptionsBase<{
|
397
389
|
mobile: boolean | null;
|
398
390
|
sticky: boolean;
|
@@ -434,21 +426,11 @@ declare const VDataTableHeaders: {
|
|
434
426
|
sortAscIcon: IconValue;
|
435
427
|
sortDescIcon: IconValue;
|
436
428
|
}, {}, string, vue.SlotsType<Partial<{
|
437
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
}>[];
|
443
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
444
|
-
[key: string]: any;
|
445
|
-
}>[];
|
446
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
447
|
-
[key: string]: any;
|
448
|
-
}>[];
|
449
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
450
|
-
[key: string]: any;
|
451
|
-
}>[];
|
429
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
430
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
431
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
432
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
433
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
452
434
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
453
435
|
loading: (StringConstructor | BooleanConstructor)[];
|
454
436
|
mobile: {
|
@@ -555,24 +537,12 @@ declare const VDataTableRow: {
|
|
555
537
|
}, {
|
556
538
|
mobile: boolean | null;
|
557
539
|
}, true, {}, vue.SlotsType<Partial<{
|
558
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
'item.data-table-select': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
565
|
-
[key: string]: any;
|
566
|
-
}>[];
|
567
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
568
|
-
[key: string]: any;
|
569
|
-
}>[];
|
570
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
571
|
-
[key: string]: any;
|
572
|
-
}>[];
|
573
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
574
|
-
[key: string]: any;
|
575
|
-
}>[];
|
540
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode[];
|
541
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
542
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
543
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
544
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
545
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
576
546
|
}>>, {
|
577
547
|
P: {};
|
578
548
|
B: {};
|
@@ -591,9 +561,9 @@ declare const VDataTableRow: {
|
|
591
561
|
}, {}, {}, {}, {}, {
|
592
562
|
mobile: boolean | null;
|
593
563
|
}>;
|
594
|
-
__isFragment?:
|
595
|
-
__isTeleport?:
|
596
|
-
__isSuspense?:
|
564
|
+
__isFragment?: never;
|
565
|
+
__isTeleport?: never;
|
566
|
+
__isSuspense?: never;
|
597
567
|
} & vue.ComponentOptionsBase<{
|
598
568
|
mobile: boolean | null;
|
599
569
|
} & {
|
@@ -605,38 +575,23 @@ declare const VDataTableRow: {
|
|
605
575
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<Record<string, any>, "item" | "$children" | "v-slots" | "cellProps" | `v-slot:header.${string}` | `v-slot:item.${string}`>, string, {
|
606
576
|
mobile: boolean | null;
|
607
577
|
}, {}, string, vue.SlotsType<Partial<{
|
608
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
'item.data-table-select': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
615
|
-
[key: string]: any;
|
616
|
-
}>[];
|
617
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
618
|
-
[key: string]: any;
|
619
|
-
}>[];
|
620
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
621
|
-
[key: string]: any;
|
622
|
-
}>[];
|
623
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
624
|
-
[key: string]: any;
|
625
|
-
}>[];
|
578
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode[];
|
579
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
580
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
581
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
582
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
583
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
626
584
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
|
627
|
-
item?: DataTableItem<T
|
628
|
-
cellProps?: CellProps<T
|
629
|
-
}, slots: VDataTableRowSlots<T>) => GenericProps<{
|
630
|
-
item?: DataTableItem<T> | undefined;
|
631
|
-
cellProps?: CellProps<T> | undefined;
|
632
|
-
}, VDataTableRowSlots<T>>) & FilterPropsOptions<{
|
585
|
+
item?: DataTableItem<T>;
|
586
|
+
cellProps?: CellProps<T>;
|
587
|
+
}, slots: VDataTableRowSlots<T>) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
|
633
588
|
mobile: {
|
634
589
|
type: PropType<boolean | null>;
|
635
590
|
default: boolean;
|
636
591
|
};
|
637
592
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
638
593
|
index: NumberConstructor;
|
639
|
-
item: PropType<DataTableItem
|
594
|
+
item: PropType<DataTableItem>;
|
640
595
|
cellProps: PropType<CellProps<any>>;
|
641
596
|
onClick: PropType<(args_0: MouseEvent) => void>;
|
642
597
|
onContextmenu: PropType<(args_0: MouseEvent) => void>;
|
@@ -648,7 +603,7 @@ declare const VDataTableRow: {
|
|
648
603
|
};
|
649
604
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
650
605
|
index: NumberConstructor;
|
651
|
-
item: PropType<DataTableItem
|
606
|
+
item: PropType<DataTableItem>;
|
652
607
|
cellProps: PropType<CellProps<any>>;
|
653
608
|
onClick: PropType<(args_0: MouseEvent) => void>;
|
654
609
|
onContextmenu: PropType<(args_0: MouseEvent) => void>;
|
@@ -692,63 +647,37 @@ declare const VDataTableRows: {
|
|
692
647
|
loadingText: string;
|
693
648
|
hideNoData: boolean;
|
694
649
|
}, true, {}, vue.SlotsType<Partial<{
|
695
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode
|
696
|
-
|
697
|
-
}>[];
|
698
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
699
|
-
[key: string]: any;
|
700
|
-
}>[];
|
650
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode[];
|
651
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
701
652
|
'data-table-group': (arg: {
|
702
|
-
item: Group
|
653
|
+
item: Group;
|
703
654
|
count: number;
|
704
655
|
props: Record<string, unknown>;
|
705
|
-
}) => vue.VNode
|
706
|
-
[key: string]: any;
|
707
|
-
}>[];
|
656
|
+
}) => vue.VNode[];
|
708
657
|
'data-table-select': (arg: {
|
709
658
|
props: Record<string, unknown>;
|
710
|
-
}) => vue.VNode
|
711
|
-
|
712
|
-
|
713
|
-
'
|
714
|
-
|
715
|
-
}>[];
|
716
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
717
|
-
[key: string]: any;
|
718
|
-
}>[];
|
719
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
720
|
-
[key: string]: any;
|
721
|
-
}>[];
|
722
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
723
|
-
[key: string]: any;
|
724
|
-
}>[];
|
659
|
+
}) => vue.VNode[];
|
660
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
661
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
662
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
663
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
725
664
|
item: (arg: {
|
726
665
|
index: number;
|
727
666
|
item: unknown;
|
728
667
|
internalItem: DataTableItem<unknown>;
|
729
|
-
isExpanded:
|
730
|
-
toggleExpand:
|
731
|
-
isSelected:
|
732
|
-
toggleSelect:
|
668
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
669
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
670
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
671
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
733
672
|
} & {
|
734
673
|
columns: InternalDataTableHeader[];
|
735
674
|
} & {
|
736
675
|
props: Record<string, any>;
|
737
|
-
}) => vue.VNode
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
}>[];
|
743
|
-
'group-header': (arg: GroupHeaderSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
744
|
-
[key: string]: any;
|
745
|
-
}>[];
|
746
|
-
'no-data': () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
747
|
-
[key: string]: any;
|
748
|
-
}>[];
|
749
|
-
'expanded-row': (arg: ItemSlot<unknown>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
750
|
-
[key: string]: any;
|
751
|
-
}>[];
|
676
|
+
}) => vue.VNode[];
|
677
|
+
loading: () => vue.VNode[];
|
678
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
679
|
+
'no-data': () => vue.VNode[];
|
680
|
+
'expanded-row': (arg: ItemSlot<unknown>) => vue.VNode[];
|
752
681
|
}>>, {
|
753
682
|
P: {};
|
754
683
|
B: {};
|
@@ -772,9 +701,9 @@ declare const VDataTableRows: {
|
|
772
701
|
loadingText: string;
|
773
702
|
hideNoData: boolean;
|
774
703
|
}>;
|
775
|
-
__isFragment?:
|
776
|
-
__isTeleport?:
|
777
|
-
__isSuspense?:
|
704
|
+
__isFragment?: never;
|
705
|
+
__isTeleport?: never;
|
706
|
+
__isSuspense?: never;
|
778
707
|
} & vue.ComponentOptionsBase<{
|
779
708
|
mobile: boolean | null;
|
780
709
|
noDataText: string;
|
@@ -791,68 +720,40 @@ declare const VDataTableRows: {
|
|
791
720
|
loadingText: string;
|
792
721
|
hideNoData: boolean;
|
793
722
|
}, {}, string, vue.SlotsType<Partial<{
|
794
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode
|
795
|
-
|
796
|
-
}>[];
|
797
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
798
|
-
[key: string]: any;
|
799
|
-
}>[];
|
723
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<unknown>) => vue.VNode[];
|
724
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
800
725
|
'data-table-group': (arg: {
|
801
|
-
item: Group
|
726
|
+
item: Group;
|
802
727
|
count: number;
|
803
728
|
props: Record<string, unknown>;
|
804
|
-
}) => vue.VNode
|
805
|
-
[key: string]: any;
|
806
|
-
}>[];
|
729
|
+
}) => vue.VNode[];
|
807
730
|
'data-table-select': (arg: {
|
808
731
|
props: Record<string, unknown>;
|
809
|
-
}) => vue.VNode
|
810
|
-
|
811
|
-
|
812
|
-
'
|
813
|
-
|
814
|
-
}>[];
|
815
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
816
|
-
[key: string]: any;
|
817
|
-
}>[];
|
818
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
819
|
-
[key: string]: any;
|
820
|
-
}>[];
|
821
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
822
|
-
[key: string]: any;
|
823
|
-
}>[];
|
732
|
+
}) => vue.VNode[];
|
733
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
734
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<unknown>, "value">) => vue.VNode[];
|
735
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
736
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
824
737
|
item: (arg: {
|
825
738
|
index: number;
|
826
739
|
item: unknown;
|
827
740
|
internalItem: DataTableItem<unknown>;
|
828
|
-
isExpanded:
|
829
|
-
toggleExpand:
|
830
|
-
isSelected:
|
831
|
-
toggleSelect:
|
741
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
742
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
743
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
744
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
832
745
|
} & {
|
833
746
|
columns: InternalDataTableHeader[];
|
834
747
|
} & {
|
835
748
|
props: Record<string, any>;
|
836
|
-
}) => vue.VNode
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
}>[];
|
842
|
-
'group-header': (arg: GroupHeaderSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
843
|
-
[key: string]: any;
|
844
|
-
}>[];
|
845
|
-
'no-data': () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
846
|
-
[key: string]: any;
|
847
|
-
}>[];
|
848
|
-
'expanded-row': (arg: ItemSlot<unknown>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
849
|
-
[key: string]: any;
|
850
|
-
}>[];
|
749
|
+
}) => vue.VNode[];
|
750
|
+
loading: () => vue.VNode[];
|
751
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
752
|
+
'no-data': () => vue.VNode[];
|
753
|
+
'expanded-row': (arg: ItemSlot<unknown>) => vue.VNode[];
|
851
754
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
|
852
|
-
items?: readonly (DataTableItem<T> | Group<T>)[]
|
853
|
-
}, slots: VDataTableRowsSlots<T>) => GenericProps<{
|
854
|
-
items?: readonly (DataTableItem<T> | Group<T>)[] | undefined;
|
855
|
-
}, VDataTableRowsSlots<T>>) & FilterPropsOptions<{
|
755
|
+
items?: readonly (DataTableItem<T> | Group<T>)[];
|
756
|
+
}, slots: VDataTableRowsSlots<T>) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
|
856
757
|
mobile: {
|
857
758
|
type: PropType<boolean | null>;
|
858
759
|
default: boolean;
|
@@ -865,7 +766,7 @@ declare const VDataTableRows: {
|
|
865
766
|
};
|
866
767
|
hideNoData: BooleanConstructor;
|
867
768
|
items: {
|
868
|
-
type: PropType<readonly (
|
769
|
+
type: PropType<readonly (DataTableItem | Group)[]>;
|
869
770
|
default: () => never[];
|
870
771
|
};
|
871
772
|
noDataText: {
|
@@ -887,7 +788,7 @@ declare const VDataTableRows: {
|
|
887
788
|
};
|
888
789
|
hideNoData: BooleanConstructor;
|
889
790
|
items: {
|
890
|
-
type: PropType<readonly (
|
791
|
+
type: PropType<readonly (DataTableItem | Group)[]>;
|
891
792
|
default: () => never[];
|
892
793
|
};
|
893
794
|
noDataText: {
|
@@ -939,9 +840,9 @@ type ItemType$2<T> = T extends readonly (infer U)[] ? U : never;
|
|
939
840
|
declare const VDataTable: {
|
940
841
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
941
842
|
page: string | number;
|
843
|
+
expanded: readonly string[];
|
942
844
|
style: vue.StyleValue;
|
943
845
|
mobile: boolean | null;
|
944
|
-
expanded: readonly string[];
|
945
846
|
tag: string;
|
946
847
|
sticky: boolean;
|
947
848
|
noDataText: string;
|
@@ -1008,19 +909,19 @@ declare const VDataTable: {
|
|
1008
909
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
1009
910
|
"onUpdate:currentItems"?: ((value: any) => any) | undefined;
|
1010
911
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
1011
|
-
'update:modelValue': (value: any[]) =>
|
1012
|
-
'update:page': (value: number) =>
|
1013
|
-
'update:itemsPerPage': (value: number) =>
|
1014
|
-
'update:sortBy': (value: any) =>
|
1015
|
-
'update:options': (value: any) =>
|
1016
|
-
'update:groupBy': (value: any) =>
|
1017
|
-
'update:expanded': (value: any) =>
|
1018
|
-
'update:currentItems': (value: any) =>
|
1019
|
-
}, "$children" | "headers" | "v-
|
912
|
+
'update:modelValue': (value: any[]) => true;
|
913
|
+
'update:page': (value: number) => true;
|
914
|
+
'update:itemsPerPage': (value: number) => true;
|
915
|
+
'update:sortBy': (value: any) => true;
|
916
|
+
'update:options': (value: any) => true;
|
917
|
+
'update:groupBy': (value: any) => true;
|
918
|
+
'update:expanded': (value: any) => true;
|
919
|
+
'update:currentItems': (value: any) => true;
|
920
|
+
}, "$children" | "headers" | "v-slots" | "v-slot:default" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
1020
921
|
page: string | number;
|
922
|
+
expanded: readonly string[];
|
1021
923
|
style: vue.StyleValue;
|
1022
924
|
mobile: boolean | null;
|
1023
|
-
expanded: readonly string[];
|
1024
925
|
tag: string;
|
1025
926
|
sticky: boolean;
|
1026
927
|
noDataText: string;
|
@@ -1088,9 +989,9 @@ declare const VDataTable: {
|
|
1088
989
|
"onUpdate:currentItems"?: ((value: any) => any) | undefined;
|
1089
990
|
}, {
|
1090
991
|
page: string | number;
|
992
|
+
expanded: readonly string[];
|
1091
993
|
style: vue.StyleValue;
|
1092
994
|
mobile: boolean | null;
|
1093
|
-
expanded: readonly string[];
|
1094
995
|
tag: string;
|
1095
996
|
sticky: boolean;
|
1096
997
|
noDataText: string;
|
@@ -1135,102 +1036,50 @@ declare const VDataTable: {
|
|
1135
1036
|
hideDefaultFooter: boolean;
|
1136
1037
|
hideDefaultHeader: boolean;
|
1137
1038
|
}, true, {}, vue.SlotsType<Partial<{
|
1138
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode
|
1139
|
-
|
1140
|
-
}>[];
|
1141
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1142
|
-
[key: string]: any;
|
1143
|
-
}>[];
|
1039
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode[];
|
1040
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
1144
1041
|
'data-table-group': (arg: {
|
1145
|
-
item: Group
|
1042
|
+
item: Group;
|
1146
1043
|
count: number;
|
1147
1044
|
props: Record<string, unknown>;
|
1148
|
-
}) => vue.VNode
|
1149
|
-
[key: string]: any;
|
1150
|
-
}>[];
|
1045
|
+
}) => vue.VNode[];
|
1151
1046
|
'data-table-select': (arg: {
|
1152
1047
|
props: Record<string, unknown>;
|
1153
|
-
}) => vue.VNode
|
1154
|
-
|
1155
|
-
|
1156
|
-
'
|
1157
|
-
|
1158
|
-
}>[];
|
1159
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1160
|
-
[key: string]: any;
|
1161
|
-
}>[];
|
1162
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1163
|
-
[key: string]: any;
|
1164
|
-
}>[];
|
1165
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1166
|
-
[key: string]: any;
|
1167
|
-
}>[];
|
1048
|
+
}) => vue.VNode[];
|
1049
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
1050
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
1051
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
1052
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
1168
1053
|
item: (arg: {
|
1169
1054
|
index: number;
|
1170
1055
|
item: any;
|
1171
1056
|
internalItem: DataTableItem<any>;
|
1172
|
-
isExpanded:
|
1173
|
-
toggleExpand:
|
1174
|
-
isSelected:
|
1175
|
-
toggleSelect:
|
1057
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
1058
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
1059
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
1060
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
1176
1061
|
} & {
|
1177
1062
|
columns: InternalDataTableHeader[];
|
1178
1063
|
} & {
|
1179
1064
|
props: Record<string, any>;
|
1180
|
-
}) => vue.VNode
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1199
|
-
[key: string]: any;
|
1200
|
-
}>[];
|
1201
|
-
default: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1202
|
-
[key: string]: any;
|
1203
|
-
}>[];
|
1204
|
-
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1205
|
-
[key: string]: any;
|
1206
|
-
}>[];
|
1207
|
-
top: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1208
|
-
[key: string]: any;
|
1209
|
-
}>[];
|
1210
|
-
body: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1211
|
-
[key: string]: any;
|
1212
|
-
}>[];
|
1213
|
-
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1214
|
-
[key: string]: any;
|
1215
|
-
}>[];
|
1216
|
-
thead: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1217
|
-
[key: string]: any;
|
1218
|
-
}>[];
|
1219
|
-
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1220
|
-
[key: string]: any;
|
1221
|
-
}>[];
|
1222
|
-
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1223
|
-
[key: string]: any;
|
1224
|
-
}>[];
|
1225
|
-
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1226
|
-
[key: string]: any;
|
1227
|
-
}>[];
|
1228
|
-
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1229
|
-
[key: string]: any;
|
1230
|
-
}>[];
|
1231
|
-
'footer.prepend': () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1232
|
-
[key: string]: any;
|
1233
|
-
}>[];
|
1065
|
+
}) => vue.VNode[];
|
1066
|
+
loading: () => vue.VNode[];
|
1067
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
1068
|
+
'no-data': () => vue.VNode[];
|
1069
|
+
'expanded-row': (arg: ItemSlot<any>) => vue.VNode[];
|
1070
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
1071
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
1072
|
+
default: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1073
|
+
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1074
|
+
top: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1075
|
+
body: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1076
|
+
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1077
|
+
thead: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1078
|
+
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1079
|
+
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1080
|
+
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1081
|
+
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1082
|
+
'footer.prepend': () => vue.VNode[];
|
1234
1083
|
}>>, {
|
1235
1084
|
P: {};
|
1236
1085
|
B: {};
|
@@ -1240,9 +1089,9 @@ declare const VDataTable: {
|
|
1240
1089
|
Defaults: {};
|
1241
1090
|
}, {
|
1242
1091
|
page: string | number;
|
1092
|
+
expanded: readonly string[];
|
1243
1093
|
style: vue.StyleValue;
|
1244
1094
|
mobile: boolean | null;
|
1245
|
-
expanded: readonly string[];
|
1246
1095
|
tag: string;
|
1247
1096
|
sticky: boolean;
|
1248
1097
|
noDataText: string;
|
@@ -1310,9 +1159,9 @@ declare const VDataTable: {
|
|
1310
1159
|
"onUpdate:currentItems"?: ((value: any) => any) | undefined;
|
1311
1160
|
}, {}, {}, {}, {}, {
|
1312
1161
|
page: string | number;
|
1162
|
+
expanded: readonly string[];
|
1313
1163
|
style: vue.StyleValue;
|
1314
1164
|
mobile: boolean | null;
|
1315
|
-
expanded: readonly string[];
|
1316
1165
|
tag: string;
|
1317
1166
|
sticky: boolean;
|
1318
1167
|
noDataText: string;
|
@@ -1357,14 +1206,14 @@ declare const VDataTable: {
|
|
1357
1206
|
hideDefaultFooter: boolean;
|
1358
1207
|
hideDefaultHeader: boolean;
|
1359
1208
|
}>;
|
1360
|
-
__isFragment?:
|
1361
|
-
__isTeleport?:
|
1362
|
-
__isSuspense?:
|
1209
|
+
__isFragment?: never;
|
1210
|
+
__isTeleport?: never;
|
1211
|
+
__isSuspense?: never;
|
1363
1212
|
} & vue.ComponentOptionsBase<{
|
1364
1213
|
page: string | number;
|
1214
|
+
expanded: readonly string[];
|
1365
1215
|
style: vue.StyleValue;
|
1366
1216
|
mobile: boolean | null;
|
1367
|
-
expanded: readonly string[];
|
1368
1217
|
tag: string;
|
1369
1218
|
sticky: boolean;
|
1370
1219
|
noDataText: string;
|
@@ -1431,19 +1280,19 @@ declare const VDataTable: {
|
|
1431
1280
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
1432
1281
|
"onUpdate:currentItems"?: ((value: any) => any) | undefined;
|
1433
1282
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
1434
|
-
'update:modelValue': (value: any[]) =>
|
1435
|
-
'update:page': (value: number) =>
|
1436
|
-
'update:itemsPerPage': (value: number) =>
|
1437
|
-
'update:sortBy': (value: any) =>
|
1438
|
-
'update:options': (value: any) =>
|
1439
|
-
'update:groupBy': (value: any) =>
|
1440
|
-
'update:expanded': (value: any) =>
|
1441
|
-
'update:currentItems': (value: any) =>
|
1442
|
-
}, "$children" | "headers" | "v-
|
1283
|
+
'update:modelValue': (value: any[]) => true;
|
1284
|
+
'update:page': (value: number) => true;
|
1285
|
+
'update:itemsPerPage': (value: number) => true;
|
1286
|
+
'update:sortBy': (value: any) => true;
|
1287
|
+
'update:options': (value: any) => true;
|
1288
|
+
'update:groupBy': (value: any) => true;
|
1289
|
+
'update:expanded': (value: any) => true;
|
1290
|
+
'update:currentItems': (value: any) => true;
|
1291
|
+
}, "$children" | "headers" | "v-slots" | "v-slot:default" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, string, {
|
1443
1292
|
page: string | number;
|
1293
|
+
expanded: readonly string[];
|
1444
1294
|
style: vue.StyleValue;
|
1445
1295
|
mobile: boolean | null;
|
1446
|
-
expanded: readonly string[];
|
1447
1296
|
tag: string;
|
1448
1297
|
sticky: boolean;
|
1449
1298
|
noDataText: string;
|
@@ -1488,165 +1337,60 @@ declare const VDataTable: {
|
|
1488
1337
|
hideDefaultFooter: boolean;
|
1489
1338
|
hideDefaultHeader: boolean;
|
1490
1339
|
}, {}, string, vue.SlotsType<Partial<{
|
1491
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode
|
1492
|
-
|
1493
|
-
}>[];
|
1494
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1495
|
-
[key: string]: any;
|
1496
|
-
}>[];
|
1340
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode[];
|
1341
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
1497
1342
|
'data-table-group': (arg: {
|
1498
|
-
item: Group
|
1343
|
+
item: Group;
|
1499
1344
|
count: number;
|
1500
1345
|
props: Record<string, unknown>;
|
1501
|
-
}) => vue.VNode
|
1502
|
-
[key: string]: any;
|
1503
|
-
}>[];
|
1346
|
+
}) => vue.VNode[];
|
1504
1347
|
'data-table-select': (arg: {
|
1505
1348
|
props: Record<string, unknown>;
|
1506
|
-
}) => vue.VNode
|
1507
|
-
|
1508
|
-
|
1509
|
-
'
|
1510
|
-
|
1511
|
-
}>[];
|
1512
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1513
|
-
[key: string]: any;
|
1514
|
-
}>[];
|
1515
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1516
|
-
[key: string]: any;
|
1517
|
-
}>[];
|
1518
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1519
|
-
[key: string]: any;
|
1520
|
-
}>[];
|
1349
|
+
}) => vue.VNode[];
|
1350
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
1351
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
1352
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
1353
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
1521
1354
|
item: (arg: {
|
1522
1355
|
index: number;
|
1523
1356
|
item: any;
|
1524
1357
|
internalItem: DataTableItem<any>;
|
1525
|
-
isExpanded:
|
1526
|
-
toggleExpand:
|
1527
|
-
isSelected:
|
1528
|
-
toggleSelect:
|
1358
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
1359
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
1360
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
1361
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
1529
1362
|
} & {
|
1530
1363
|
columns: InternalDataTableHeader[];
|
1531
1364
|
} & {
|
1532
1365
|
props: Record<string, any>;
|
1533
|
-
}) => vue.VNode
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1552
|
-
[key: string]: any;
|
1553
|
-
}>[];
|
1554
|
-
default: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1555
|
-
[key: string]: any;
|
1556
|
-
}>[];
|
1557
|
-
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1558
|
-
[key: string]: any;
|
1559
|
-
}>[];
|
1560
|
-
top: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1561
|
-
[key: string]: any;
|
1562
|
-
}>[];
|
1563
|
-
body: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1564
|
-
[key: string]: any;
|
1565
|
-
}>[];
|
1566
|
-
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1567
|
-
[key: string]: any;
|
1568
|
-
}>[];
|
1569
|
-
thead: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1570
|
-
[key: string]: any;
|
1571
|
-
}>[];
|
1572
|
-
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1573
|
-
[key: string]: any;
|
1574
|
-
}>[];
|
1575
|
-
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1576
|
-
[key: string]: any;
|
1577
|
-
}>[];
|
1578
|
-
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1579
|
-
[key: string]: any;
|
1580
|
-
}>[];
|
1581
|
-
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1582
|
-
[key: string]: any;
|
1583
|
-
}>[];
|
1584
|
-
'footer.prepend': () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
1585
|
-
[key: string]: any;
|
1586
|
-
}>[];
|
1366
|
+
}) => vue.VNode[];
|
1367
|
+
loading: () => vue.VNode[];
|
1368
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
1369
|
+
'no-data': () => vue.VNode[];
|
1370
|
+
'expanded-row': (arg: ItemSlot<any>) => vue.VNode[];
|
1371
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
1372
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
1373
|
+
default: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1374
|
+
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1375
|
+
top: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1376
|
+
body: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1377
|
+
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1378
|
+
thead: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1379
|
+
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1380
|
+
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1381
|
+
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1382
|
+
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
1383
|
+
'footer.prepend': () => vue.VNode[];
|
1587
1384
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T extends readonly any[], V>(props: {
|
1588
|
-
items?: T
|
1589
|
-
itemValue?: SelectItemKey<ItemType$2<T>>;
|
1590
|
-
rowProps?: RowProps<ItemType$2<T>> | undefined;
|
1591
|
-
cellProps?: CellProps<ItemType$2<T>> | undefined;
|
1592
|
-
itemSelectable?: SelectItemKey<ItemType$2<T>>;
|
1593
|
-
headers?: readonly {
|
1594
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
1595
|
-
readonly value?: SelectItemKey<ItemType$2<T>>;
|
1596
|
-
readonly title?: string | undefined;
|
1597
|
-
readonly fixed?: boolean | undefined;
|
1598
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
1599
|
-
readonly width?: string | number | undefined;
|
1600
|
-
readonly minWidth?: string | undefined;
|
1601
|
-
readonly maxWidth?: string | undefined;
|
1602
|
-
readonly nowrap?: boolean | undefined;
|
1603
|
-
readonly headerProps?: {
|
1604
|
-
readonly [x: string]: any;
|
1605
|
-
} | undefined;
|
1606
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
1607
|
-
readonly [x: string]: any;
|
1608
|
-
} | undefined;
|
1609
|
-
readonly sortable?: boolean | undefined;
|
1610
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
1611
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
1612
|
-
readonly filter?: FilterFunction | undefined;
|
1613
|
-
readonly mobile?: boolean | undefined;
|
1614
|
-
readonly children?: readonly any[] | undefined;
|
1615
|
-
}[] | undefined;
|
1616
|
-
modelValue?: V | undefined;
|
1617
|
-
'onUpdate:modelValue'?: ((value: V) => void) | undefined;
|
1618
|
-
}, slots: VDataTableSlots<ItemType$2<T>>) => GenericProps<{
|
1619
|
-
items?: T | undefined;
|
1385
|
+
items?: T;
|
1620
1386
|
itemValue?: SelectItemKey<ItemType$2<T>>;
|
1621
|
-
rowProps?: RowProps<ItemType$2<T
|
1622
|
-
cellProps?: CellProps<ItemType$2<T
|
1387
|
+
rowProps?: RowProps<ItemType$2<T>>;
|
1388
|
+
cellProps?: CellProps<ItemType$2<T>>;
|
1623
1389
|
itemSelectable?: SelectItemKey<ItemType$2<T>>;
|
1624
|
-
headers?:
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
readonly fixed?: boolean | undefined;
|
1629
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
1630
|
-
readonly width?: string | number | undefined;
|
1631
|
-
readonly minWidth?: string | undefined;
|
1632
|
-
readonly maxWidth?: string | undefined;
|
1633
|
-
readonly nowrap?: boolean | undefined;
|
1634
|
-
readonly headerProps?: {
|
1635
|
-
readonly [x: string]: any;
|
1636
|
-
} | undefined;
|
1637
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
1638
|
-
readonly [x: string]: any;
|
1639
|
-
} | undefined;
|
1640
|
-
readonly sortable?: boolean | undefined;
|
1641
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
1642
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
1643
|
-
readonly filter?: FilterFunction | undefined;
|
1644
|
-
readonly mobile?: boolean | undefined;
|
1645
|
-
readonly children?: readonly any[] | undefined;
|
1646
|
-
}[] | undefined;
|
1647
|
-
modelValue?: V | undefined;
|
1648
|
-
'onUpdate:modelValue'?: ((value: V) => void) | undefined;
|
1649
|
-
}, VDataTableSlots<ItemType$2<T>>>) & FilterPropsOptions<{
|
1390
|
+
headers?: DeepReadonly<DataTableHeader<ItemType$2<T>>[]>;
|
1391
|
+
modelValue?: V;
|
1392
|
+
"onUpdate:modelValue"?: (value: V) => void;
|
1393
|
+
}, slots: VDataTableSlots<ItemType$2<T>>) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
|
1650
1394
|
prevIcon: {
|
1651
1395
|
type: vue.PropType<IconValue>;
|
1652
1396
|
default: string;
|
@@ -1716,7 +1460,7 @@ declare const VDataTable: {
|
|
1716
1460
|
default: string;
|
1717
1461
|
validator: (v: any) => boolean;
|
1718
1462
|
};
|
1719
|
-
class: vue.PropType<
|
1463
|
+
class: vue.PropType<ClassValue>;
|
1720
1464
|
style: {
|
1721
1465
|
type: vue.PropType<vue.StyleValue>;
|
1722
1466
|
default: null;
|
@@ -1754,7 +1498,7 @@ declare const VDataTable: {
|
|
1754
1498
|
mustSort: BooleanConstructor;
|
1755
1499
|
showSelect: BooleanConstructor;
|
1756
1500
|
selectStrategy: {
|
1757
|
-
type: vue.PropType<"
|
1501
|
+
type: vue.PropType<"single" | "page" | "all">;
|
1758
1502
|
default: string;
|
1759
1503
|
};
|
1760
1504
|
modelValue: {
|
@@ -1766,7 +1510,7 @@ declare const VDataTable: {
|
|
1766
1510
|
default: typeof deepEqual;
|
1767
1511
|
};
|
1768
1512
|
items: {
|
1769
|
-
type: vue.PropType<
|
1513
|
+
type: vue.PropType<DataTableItemProps["items"]>;
|
1770
1514
|
default: () => never[];
|
1771
1515
|
};
|
1772
1516
|
itemValue: {
|
@@ -1780,51 +1524,7 @@ declare const VDataTable: {
|
|
1780
1524
|
rowProps: vue.PropType<RowProps<any>>;
|
1781
1525
|
cellProps: vue.PropType<CellProps<any>>;
|
1782
1526
|
returnObject: BooleanConstructor;
|
1783
|
-
headers: vue.PropType<
|
1784
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
1785
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
1786
|
-
readonly title?: string | undefined;
|
1787
|
-
readonly fixed?: boolean | undefined;
|
1788
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
1789
|
-
readonly width?: string | number | undefined;
|
1790
|
-
readonly minWidth?: string | undefined;
|
1791
|
-
readonly maxWidth?: string | undefined;
|
1792
|
-
readonly nowrap?: boolean | undefined;
|
1793
|
-
readonly headerProps?: {
|
1794
|
-
readonly [x: string]: any;
|
1795
|
-
} | undefined;
|
1796
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
1797
|
-
readonly [x: string]: any;
|
1798
|
-
} | undefined;
|
1799
|
-
readonly sortable?: boolean | undefined;
|
1800
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
1801
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
1802
|
-
readonly filter?: FilterFunction | undefined;
|
1803
|
-
readonly mobile?: boolean | undefined;
|
1804
|
-
readonly children?: readonly {
|
1805
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
1806
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
1807
|
-
readonly title?: string | undefined;
|
1808
|
-
readonly fixed?: boolean | undefined;
|
1809
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
1810
|
-
readonly width?: string | number | undefined;
|
1811
|
-
readonly minWidth?: string | undefined;
|
1812
|
-
readonly maxWidth?: string | undefined;
|
1813
|
-
readonly nowrap?: boolean | undefined;
|
1814
|
-
readonly headerProps?: {
|
1815
|
-
readonly [x: string]: any;
|
1816
|
-
} | undefined;
|
1817
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
1818
|
-
readonly [x: string]: any;
|
1819
|
-
} | undefined;
|
1820
|
-
readonly sortable?: boolean | undefined;
|
1821
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
1822
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
1823
|
-
readonly filter?: FilterFunction | undefined;
|
1824
|
-
readonly mobile?: boolean | undefined;
|
1825
|
-
readonly children?: readonly any[] | undefined;
|
1826
|
-
}[] | undefined;
|
1827
|
-
}[]>;
|
1527
|
+
headers: vue.PropType<DeepReadonly<DataTableHeader[]>>;
|
1828
1528
|
groupBy: {
|
1829
1529
|
type: vue.PropType<readonly SortItem[]>;
|
1830
1530
|
default: () => never[];
|
@@ -1927,7 +1627,7 @@ declare const VDataTable: {
|
|
1927
1627
|
default: string;
|
1928
1628
|
validator: (v: any) => boolean;
|
1929
1629
|
};
|
1930
|
-
class: vue.PropType<
|
1630
|
+
class: vue.PropType<ClassValue>;
|
1931
1631
|
style: {
|
1932
1632
|
type: vue.PropType<vue.StyleValue>;
|
1933
1633
|
default: null;
|
@@ -1965,7 +1665,7 @@ declare const VDataTable: {
|
|
1965
1665
|
mustSort: BooleanConstructor;
|
1966
1666
|
showSelect: BooleanConstructor;
|
1967
1667
|
selectStrategy: {
|
1968
|
-
type: vue.PropType<"
|
1668
|
+
type: vue.PropType<"single" | "page" | "all">;
|
1969
1669
|
default: string;
|
1970
1670
|
};
|
1971
1671
|
modelValue: {
|
@@ -1977,7 +1677,7 @@ declare const VDataTable: {
|
|
1977
1677
|
default: typeof deepEqual;
|
1978
1678
|
};
|
1979
1679
|
items: {
|
1980
|
-
type: vue.PropType<
|
1680
|
+
type: vue.PropType<DataTableItemProps["items"]>;
|
1981
1681
|
default: () => never[];
|
1982
1682
|
};
|
1983
1683
|
itemValue: {
|
@@ -1991,51 +1691,7 @@ declare const VDataTable: {
|
|
1991
1691
|
rowProps: vue.PropType<RowProps<any>>;
|
1992
1692
|
cellProps: vue.PropType<CellProps<any>>;
|
1993
1693
|
returnObject: BooleanConstructor;
|
1994
|
-
headers: vue.PropType<
|
1995
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
1996
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
1997
|
-
readonly title?: string | undefined;
|
1998
|
-
readonly fixed?: boolean | undefined;
|
1999
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
2000
|
-
readonly width?: string | number | undefined;
|
2001
|
-
readonly minWidth?: string | undefined;
|
2002
|
-
readonly maxWidth?: string | undefined;
|
2003
|
-
readonly nowrap?: boolean | undefined;
|
2004
|
-
readonly headerProps?: {
|
2005
|
-
readonly [x: string]: any;
|
2006
|
-
} | undefined;
|
2007
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
2008
|
-
readonly [x: string]: any;
|
2009
|
-
} | undefined;
|
2010
|
-
readonly sortable?: boolean | undefined;
|
2011
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
2012
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
2013
|
-
readonly filter?: FilterFunction | undefined;
|
2014
|
-
readonly mobile?: boolean | undefined;
|
2015
|
-
readonly children?: readonly {
|
2016
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
2017
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
2018
|
-
readonly title?: string | undefined;
|
2019
|
-
readonly fixed?: boolean | undefined;
|
2020
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
2021
|
-
readonly width?: string | number | undefined;
|
2022
|
-
readonly minWidth?: string | undefined;
|
2023
|
-
readonly maxWidth?: string | undefined;
|
2024
|
-
readonly nowrap?: boolean | undefined;
|
2025
|
-
readonly headerProps?: {
|
2026
|
-
readonly [x: string]: any;
|
2027
|
-
} | undefined;
|
2028
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
2029
|
-
readonly [x: string]: any;
|
2030
|
-
} | undefined;
|
2031
|
-
readonly sortable?: boolean | undefined;
|
2032
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
2033
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
2034
|
-
readonly filter?: FilterFunction | undefined;
|
2035
|
-
readonly mobile?: boolean | undefined;
|
2036
|
-
readonly children?: readonly any[] | undefined;
|
2037
|
-
}[] | undefined;
|
2038
|
-
}[]>;
|
1694
|
+
headers: vue.PropType<DeepReadonly<DataTableHeader[]>>;
|
2039
1695
|
groupBy: {
|
2040
1696
|
type: vue.PropType<readonly SortItem[]>;
|
2041
1697
|
default: () => never[];
|
@@ -2139,9 +1795,7 @@ declare const VDataTableFooter: {
|
|
2139
1795
|
})[];
|
2140
1796
|
showCurrentPage: boolean;
|
2141
1797
|
}, true, {}, vue.SlotsType<Partial<{
|
2142
|
-
prepend: () => vue.VNode
|
2143
|
-
[key: string]: any;
|
2144
|
-
}>[];
|
1798
|
+
prepend: () => vue.VNode[];
|
2145
1799
|
}>>, {
|
2146
1800
|
P: {};
|
2147
1801
|
B: {};
|
@@ -2191,9 +1845,9 @@ declare const VDataTableFooter: {
|
|
2191
1845
|
})[];
|
2192
1846
|
showCurrentPage: boolean;
|
2193
1847
|
}>;
|
2194
|
-
__isFragment?:
|
2195
|
-
__isTeleport?:
|
2196
|
-
__isSuspense?:
|
1848
|
+
__isFragment?: never;
|
1849
|
+
__isTeleport?: never;
|
1850
|
+
__isSuspense?: never;
|
2197
1851
|
} & vue.ComponentOptionsBase<{
|
2198
1852
|
itemsPerPageText: string;
|
2199
1853
|
pageText: string;
|
@@ -2236,9 +1890,7 @@ declare const VDataTableFooter: {
|
|
2236
1890
|
})[];
|
2237
1891
|
showCurrentPage: boolean;
|
2238
1892
|
}, {}, string, vue.SlotsType<Partial<{
|
2239
|
-
prepend: () => vue.VNode
|
2240
|
-
[key: string]: any;
|
2241
|
-
}>[];
|
1893
|
+
prepend: () => vue.VNode[];
|
2242
1894
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
2243
1895
|
prevIcon: {
|
2244
1896
|
type: PropType<IconValue>;
|
@@ -2360,9 +2012,9 @@ type VDataTableVirtualSlots<T> = VDataTableRowsSlots<T> & VDataTableHeadersSlots
|
|
2360
2012
|
type ItemType$1<T> = T extends readonly (infer U)[] ? U : never;
|
2361
2013
|
declare const VDataTableVirtual: {
|
2362
2014
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
2015
|
+
expanded: readonly string[];
|
2363
2016
|
style: vue.StyleValue;
|
2364
2017
|
mobile: boolean | null;
|
2365
|
-
expanded: readonly string[];
|
2366
2018
|
tag: string;
|
2367
2019
|
sticky: boolean;
|
2368
2020
|
noDataText: string;
|
@@ -2399,45 +2051,45 @@ declare const VDataTableVirtual: {
|
|
2399
2051
|
loading?: string | boolean | undefined;
|
2400
2052
|
class?: any;
|
2401
2053
|
headers?: readonly {
|
2402
|
-
readonly key?: (
|
2054
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2403
2055
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2404
2056
|
readonly title?: string | undefined;
|
2405
2057
|
readonly fixed?: boolean | undefined;
|
2406
|
-
readonly align?: "
|
2407
|
-
readonly width?:
|
2058
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2059
|
+
readonly width?: (number | string) | undefined;
|
2408
2060
|
readonly minWidth?: string | undefined;
|
2409
2061
|
readonly maxWidth?: string | undefined;
|
2410
2062
|
readonly nowrap?: boolean | undefined;
|
2411
2063
|
readonly headerProps?: {
|
2412
2064
|
readonly [x: string]: any;
|
2413
2065
|
} | undefined;
|
2414
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2066
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2415
2067
|
readonly [x: string]: any;
|
2416
2068
|
} | undefined;
|
2417
2069
|
readonly sortable?: boolean | undefined;
|
2418
|
-
readonly sort?: DataTableCompareFunction
|
2419
|
-
readonly sortRaw?: DataTableCompareFunction
|
2070
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2071
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2420
2072
|
readonly filter?: FilterFunction | undefined;
|
2421
2073
|
readonly mobile?: boolean | undefined;
|
2422
2074
|
readonly children?: readonly {
|
2423
|
-
readonly key?: (
|
2075
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2424
2076
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2425
2077
|
readonly title?: string | undefined;
|
2426
2078
|
readonly fixed?: boolean | undefined;
|
2427
|
-
readonly align?: "
|
2428
|
-
readonly width?:
|
2079
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2080
|
+
readonly width?: (number | string) | undefined;
|
2429
2081
|
readonly minWidth?: string | undefined;
|
2430
2082
|
readonly maxWidth?: string | undefined;
|
2431
2083
|
readonly nowrap?: boolean | undefined;
|
2432
2084
|
readonly headerProps?: {
|
2433
2085
|
readonly [x: string]: any;
|
2434
2086
|
} | undefined;
|
2435
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2087
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2436
2088
|
readonly [x: string]: any;
|
2437
2089
|
} | undefined;
|
2438
2090
|
readonly sortable?: boolean | undefined;
|
2439
|
-
readonly sort?: DataTableCompareFunction
|
2440
|
-
readonly sortRaw?: DataTableCompareFunction
|
2091
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2092
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2441
2093
|
readonly filter?: FilterFunction | undefined;
|
2442
2094
|
readonly mobile?: boolean | undefined;
|
2443
2095
|
readonly children?: readonly any[] | undefined;
|
@@ -2456,15 +2108,15 @@ declare const VDataTableVirtual: {
|
|
2456
2108
|
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
2457
2109
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
2458
2110
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
2459
|
-
'update:modelValue': (value: any[]) =>
|
2460
|
-
'update:sortBy': (value: any) =>
|
2461
|
-
'update:options': (value: any) =>
|
2462
|
-
'update:groupBy': (value: any) =>
|
2463
|
-
'update:expanded': (value: any) =>
|
2111
|
+
'update:modelValue': (value: any[]) => true;
|
2112
|
+
'update:sortBy': (value: any) => true;
|
2113
|
+
'update:options': (value: any) => true;
|
2114
|
+
'update:groupBy': (value: any) => true;
|
2115
|
+
'update:expanded': (value: any) => true;
|
2464
2116
|
}, "$children" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:colgroup" | "v-slot:body.prepend" | "v-slot:body.append">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
2117
|
+
expanded: readonly string[];
|
2465
2118
|
style: vue.StyleValue;
|
2466
2119
|
mobile: boolean | null;
|
2467
|
-
expanded: readonly string[];
|
2468
2120
|
tag: string;
|
2469
2121
|
sticky: boolean;
|
2470
2122
|
noDataText: string;
|
@@ -2501,45 +2153,45 @@ declare const VDataTableVirtual: {
|
|
2501
2153
|
loading?: string | boolean | undefined;
|
2502
2154
|
class?: any;
|
2503
2155
|
headers?: readonly {
|
2504
|
-
readonly key?: (
|
2156
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2505
2157
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2506
2158
|
readonly title?: string | undefined;
|
2507
2159
|
readonly fixed?: boolean | undefined;
|
2508
|
-
readonly align?: "
|
2509
|
-
readonly width?:
|
2160
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2161
|
+
readonly width?: (number | string) | undefined;
|
2510
2162
|
readonly minWidth?: string | undefined;
|
2511
2163
|
readonly maxWidth?: string | undefined;
|
2512
2164
|
readonly nowrap?: boolean | undefined;
|
2513
2165
|
readonly headerProps?: {
|
2514
2166
|
readonly [x: string]: any;
|
2515
2167
|
} | undefined;
|
2516
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2168
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2517
2169
|
readonly [x: string]: any;
|
2518
2170
|
} | undefined;
|
2519
2171
|
readonly sortable?: boolean | undefined;
|
2520
|
-
readonly sort?: DataTableCompareFunction
|
2521
|
-
readonly sortRaw?: DataTableCompareFunction
|
2172
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2173
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2522
2174
|
readonly filter?: FilterFunction | undefined;
|
2523
2175
|
readonly mobile?: boolean | undefined;
|
2524
2176
|
readonly children?: readonly {
|
2525
|
-
readonly key?: (
|
2177
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2526
2178
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2527
2179
|
readonly title?: string | undefined;
|
2528
2180
|
readonly fixed?: boolean | undefined;
|
2529
|
-
readonly align?: "
|
2530
|
-
readonly width?:
|
2181
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2182
|
+
readonly width?: (number | string) | undefined;
|
2531
2183
|
readonly minWidth?: string | undefined;
|
2532
2184
|
readonly maxWidth?: string | undefined;
|
2533
2185
|
readonly nowrap?: boolean | undefined;
|
2534
2186
|
readonly headerProps?: {
|
2535
2187
|
readonly [x: string]: any;
|
2536
2188
|
} | undefined;
|
2537
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2189
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2538
2190
|
readonly [x: string]: any;
|
2539
2191
|
} | undefined;
|
2540
2192
|
readonly sortable?: boolean | undefined;
|
2541
|
-
readonly sort?: DataTableCompareFunction
|
2542
|
-
readonly sortRaw?: DataTableCompareFunction
|
2193
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2194
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2543
2195
|
readonly filter?: FilterFunction | undefined;
|
2544
2196
|
readonly mobile?: boolean | undefined;
|
2545
2197
|
readonly children?: readonly any[] | undefined;
|
@@ -2558,9 +2210,9 @@ declare const VDataTableVirtual: {
|
|
2558
2210
|
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
2559
2211
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
2560
2212
|
}, {
|
2213
|
+
expanded: readonly string[];
|
2561
2214
|
style: vue.StyleValue;
|
2562
2215
|
mobile: boolean | null;
|
2563
|
-
expanded: readonly string[];
|
2564
2216
|
tag: string;
|
2565
2217
|
sticky: boolean;
|
2566
2218
|
noDataText: string;
|
@@ -2590,86 +2242,46 @@ declare const VDataTableVirtual: {
|
|
2590
2242
|
hideDefaultFooter: boolean;
|
2591
2243
|
hideDefaultHeader: boolean;
|
2592
2244
|
}, true, {}, vue.SlotsType<Partial<{
|
2593
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode
|
2594
|
-
|
2595
|
-
}>[];
|
2596
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2597
|
-
[key: string]: any;
|
2598
|
-
}>[];
|
2245
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode[];
|
2246
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
2599
2247
|
'data-table-group': (arg: {
|
2600
|
-
item: Group
|
2248
|
+
item: Group;
|
2601
2249
|
count: number;
|
2602
2250
|
props: Record<string, unknown>;
|
2603
|
-
}) => vue.VNode
|
2604
|
-
[key: string]: any;
|
2605
|
-
}>[];
|
2251
|
+
}) => vue.VNode[];
|
2606
2252
|
'data-table-select': (arg: {
|
2607
2253
|
props: Record<string, unknown>;
|
2608
|
-
}) => vue.VNode
|
2609
|
-
|
2610
|
-
|
2611
|
-
'
|
2612
|
-
|
2613
|
-
}>[];
|
2614
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2615
|
-
[key: string]: any;
|
2616
|
-
}>[];
|
2617
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2618
|
-
[key: string]: any;
|
2619
|
-
}>[];
|
2620
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2621
|
-
[key: string]: any;
|
2622
|
-
}>[];
|
2254
|
+
}) => vue.VNode[];
|
2255
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
2256
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
2257
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
2258
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
2623
2259
|
item: (arg: {
|
2624
2260
|
index: number;
|
2625
2261
|
item: any;
|
2626
2262
|
internalItem: DataTableItem<any>;
|
2627
|
-
isExpanded:
|
2628
|
-
toggleExpand:
|
2629
|
-
isSelected:
|
2630
|
-
toggleSelect:
|
2263
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
2264
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
2265
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
2266
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
2631
2267
|
} & {
|
2632
2268
|
columns: InternalDataTableHeader[];
|
2633
2269
|
} & {
|
2634
2270
|
props: Record<string, any>;
|
2635
2271
|
} & {
|
2636
2272
|
itemRef: TemplateRef;
|
2637
|
-
}) => vue.VNode
|
2638
|
-
|
2639
|
-
|
2640
|
-
|
2641
|
-
|
2642
|
-
|
2643
|
-
|
2644
|
-
|
2645
|
-
|
2646
|
-
|
2647
|
-
|
2648
|
-
|
2649
|
-
'expanded-row': (arg: ItemSlot<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2650
|
-
[key: string]: any;
|
2651
|
-
}>[];
|
2652
|
-
headers: (arg: HeadersSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2653
|
-
[key: string]: any;
|
2654
|
-
}>[];
|
2655
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2656
|
-
[key: string]: any;
|
2657
|
-
}>[];
|
2658
|
-
colgroup: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2659
|
-
[key: string]: any;
|
2660
|
-
}>[];
|
2661
|
-
top: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2662
|
-
[key: string]: any;
|
2663
|
-
}>[];
|
2664
|
-
bottom: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2665
|
-
[key: string]: any;
|
2666
|
-
}>[];
|
2667
|
-
'body.prepend': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2668
|
-
[key: string]: any;
|
2669
|
-
}>[];
|
2670
|
-
'body.append': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2671
|
-
[key: string]: any;
|
2672
|
-
}>[];
|
2273
|
+
}) => vue.VNode[];
|
2274
|
+
loading: () => vue.VNode[];
|
2275
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
2276
|
+
'no-data': () => vue.VNode[];
|
2277
|
+
'expanded-row': (arg: ItemSlot<any>) => vue.VNode[];
|
2278
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
2279
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
2280
|
+
colgroup: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2281
|
+
top: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2282
|
+
bottom: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2283
|
+
'body.prepend': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2284
|
+
'body.append': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2673
2285
|
}>>, {
|
2674
2286
|
P: {};
|
2675
2287
|
B: {};
|
@@ -2678,9 +2290,9 @@ declare const VDataTableVirtual: {
|
|
2678
2290
|
M: {};
|
2679
2291
|
Defaults: {};
|
2680
2292
|
}, {
|
2293
|
+
expanded: readonly string[];
|
2681
2294
|
style: vue.StyleValue;
|
2682
2295
|
mobile: boolean | null;
|
2683
|
-
expanded: readonly string[];
|
2684
2296
|
tag: string;
|
2685
2297
|
sticky: boolean;
|
2686
2298
|
noDataText: string;
|
@@ -2717,45 +2329,45 @@ declare const VDataTableVirtual: {
|
|
2717
2329
|
loading?: string | boolean | undefined;
|
2718
2330
|
class?: any;
|
2719
2331
|
headers?: readonly {
|
2720
|
-
readonly key?: (
|
2332
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2721
2333
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2722
2334
|
readonly title?: string | undefined;
|
2723
2335
|
readonly fixed?: boolean | undefined;
|
2724
|
-
readonly align?: "
|
2725
|
-
readonly width?:
|
2336
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2337
|
+
readonly width?: (number | string) | undefined;
|
2726
2338
|
readonly minWidth?: string | undefined;
|
2727
2339
|
readonly maxWidth?: string | undefined;
|
2728
2340
|
readonly nowrap?: boolean | undefined;
|
2729
2341
|
readonly headerProps?: {
|
2730
2342
|
readonly [x: string]: any;
|
2731
2343
|
} | undefined;
|
2732
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2344
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2733
2345
|
readonly [x: string]: any;
|
2734
2346
|
} | undefined;
|
2735
2347
|
readonly sortable?: boolean | undefined;
|
2736
|
-
readonly sort?: DataTableCompareFunction
|
2737
|
-
readonly sortRaw?: DataTableCompareFunction
|
2348
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2349
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2738
2350
|
readonly filter?: FilterFunction | undefined;
|
2739
2351
|
readonly mobile?: boolean | undefined;
|
2740
2352
|
readonly children?: readonly {
|
2741
|
-
readonly key?: (
|
2353
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2742
2354
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2743
2355
|
readonly title?: string | undefined;
|
2744
2356
|
readonly fixed?: boolean | undefined;
|
2745
|
-
readonly align?: "
|
2746
|
-
readonly width?:
|
2357
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2358
|
+
readonly width?: (number | string) | undefined;
|
2747
2359
|
readonly minWidth?: string | undefined;
|
2748
2360
|
readonly maxWidth?: string | undefined;
|
2749
2361
|
readonly nowrap?: boolean | undefined;
|
2750
2362
|
readonly headerProps?: {
|
2751
2363
|
readonly [x: string]: any;
|
2752
2364
|
} | undefined;
|
2753
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2365
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2754
2366
|
readonly [x: string]: any;
|
2755
2367
|
} | undefined;
|
2756
2368
|
readonly sortable?: boolean | undefined;
|
2757
|
-
readonly sort?: DataTableCompareFunction
|
2758
|
-
readonly sortRaw?: DataTableCompareFunction
|
2369
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2370
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2759
2371
|
readonly filter?: FilterFunction | undefined;
|
2760
2372
|
readonly mobile?: boolean | undefined;
|
2761
2373
|
readonly children?: readonly any[] | undefined;
|
@@ -2774,9 +2386,9 @@ declare const VDataTableVirtual: {
|
|
2774
2386
|
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
2775
2387
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
2776
2388
|
}, {}, {}, {}, {}, {
|
2389
|
+
expanded: readonly string[];
|
2777
2390
|
style: vue.StyleValue;
|
2778
2391
|
mobile: boolean | null;
|
2779
|
-
expanded: readonly string[];
|
2780
2392
|
tag: string;
|
2781
2393
|
sticky: boolean;
|
2782
2394
|
noDataText: string;
|
@@ -2806,13 +2418,13 @@ declare const VDataTableVirtual: {
|
|
2806
2418
|
hideDefaultFooter: boolean;
|
2807
2419
|
hideDefaultHeader: boolean;
|
2808
2420
|
}>;
|
2809
|
-
__isFragment?:
|
2810
|
-
__isTeleport?:
|
2811
|
-
__isSuspense?:
|
2421
|
+
__isFragment?: never;
|
2422
|
+
__isTeleport?: never;
|
2423
|
+
__isSuspense?: never;
|
2812
2424
|
} & vue.ComponentOptionsBase<{
|
2425
|
+
expanded: readonly string[];
|
2813
2426
|
style: vue.StyleValue;
|
2814
2427
|
mobile: boolean | null;
|
2815
|
-
expanded: readonly string[];
|
2816
2428
|
tag: string;
|
2817
2429
|
sticky: boolean;
|
2818
2430
|
noDataText: string;
|
@@ -2849,45 +2461,45 @@ declare const VDataTableVirtual: {
|
|
2849
2461
|
loading?: string | boolean | undefined;
|
2850
2462
|
class?: any;
|
2851
2463
|
headers?: readonly {
|
2852
|
-
readonly key?: (
|
2464
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2853
2465
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2854
2466
|
readonly title?: string | undefined;
|
2855
2467
|
readonly fixed?: boolean | undefined;
|
2856
|
-
readonly align?: "
|
2857
|
-
readonly width?:
|
2468
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2469
|
+
readonly width?: (number | string) | undefined;
|
2858
2470
|
readonly minWidth?: string | undefined;
|
2859
2471
|
readonly maxWidth?: string | undefined;
|
2860
2472
|
readonly nowrap?: boolean | undefined;
|
2861
2473
|
readonly headerProps?: {
|
2862
2474
|
readonly [x: string]: any;
|
2863
2475
|
} | undefined;
|
2864
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2476
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2865
2477
|
readonly [x: string]: any;
|
2866
2478
|
} | undefined;
|
2867
2479
|
readonly sortable?: boolean | undefined;
|
2868
|
-
readonly sort?: DataTableCompareFunction
|
2869
|
-
readonly sortRaw?: DataTableCompareFunction
|
2480
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2481
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2870
2482
|
readonly filter?: FilterFunction | undefined;
|
2871
2483
|
readonly mobile?: boolean | undefined;
|
2872
2484
|
readonly children?: readonly {
|
2873
|
-
readonly key?: (
|
2485
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
2874
2486
|
readonly value?: SelectItemKey<Record<string, any>>;
|
2875
2487
|
readonly title?: string | undefined;
|
2876
2488
|
readonly fixed?: boolean | undefined;
|
2877
|
-
readonly align?: "
|
2878
|
-
readonly width?:
|
2489
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2490
|
+
readonly width?: (number | string) | undefined;
|
2879
2491
|
readonly minWidth?: string | undefined;
|
2880
2492
|
readonly maxWidth?: string | undefined;
|
2881
2493
|
readonly nowrap?: boolean | undefined;
|
2882
2494
|
readonly headerProps?: {
|
2883
2495
|
readonly [x: string]: any;
|
2884
2496
|
} | undefined;
|
2885
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2497
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
2886
2498
|
readonly [x: string]: any;
|
2887
2499
|
} | undefined;
|
2888
2500
|
readonly sortable?: boolean | undefined;
|
2889
|
-
readonly sort?: DataTableCompareFunction
|
2890
|
-
readonly sortRaw?: DataTableCompareFunction
|
2501
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2502
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
2891
2503
|
readonly filter?: FilterFunction | undefined;
|
2892
2504
|
readonly mobile?: boolean | undefined;
|
2893
2505
|
readonly children?: readonly any[] | undefined;
|
@@ -2906,15 +2518,15 @@ declare const VDataTableVirtual: {
|
|
2906
2518
|
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
2907
2519
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
2908
2520
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
2909
|
-
'update:modelValue': (value: any[]) =>
|
2910
|
-
'update:sortBy': (value: any) =>
|
2911
|
-
'update:options': (value: any) =>
|
2912
|
-
'update:groupBy': (value: any) =>
|
2913
|
-
'update:expanded': (value: any) =>
|
2521
|
+
'update:modelValue': (value: any[]) => true;
|
2522
|
+
'update:sortBy': (value: any) => true;
|
2523
|
+
'update:options': (value: any) => true;
|
2524
|
+
'update:groupBy': (value: any) => true;
|
2525
|
+
'update:expanded': (value: any) => true;
|
2914
2526
|
}, "$children" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:colgroup" | "v-slot:body.prepend" | "v-slot:body.append">, string, {
|
2527
|
+
expanded: readonly string[];
|
2915
2528
|
style: vue.StyleValue;
|
2916
2529
|
mobile: boolean | null;
|
2917
|
-
expanded: readonly string[];
|
2918
2530
|
tag: string;
|
2919
2531
|
sticky: boolean;
|
2920
2532
|
noDataText: string;
|
@@ -2944,103 +2556,55 @@ declare const VDataTableVirtual: {
|
|
2944
2556
|
hideDefaultFooter: boolean;
|
2945
2557
|
hideDefaultHeader: boolean;
|
2946
2558
|
}, {}, string, vue.SlotsType<Partial<{
|
2947
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode
|
2948
|
-
|
2949
|
-
}>[];
|
2950
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2951
|
-
[key: string]: any;
|
2952
|
-
}>[];
|
2559
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode[];
|
2560
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
2953
2561
|
'data-table-group': (arg: {
|
2954
|
-
item: Group
|
2562
|
+
item: Group;
|
2955
2563
|
count: number;
|
2956
2564
|
props: Record<string, unknown>;
|
2957
|
-
}) => vue.VNode
|
2958
|
-
[key: string]: any;
|
2959
|
-
}>[];
|
2565
|
+
}) => vue.VNode[];
|
2960
2566
|
'data-table-select': (arg: {
|
2961
2567
|
props: Record<string, unknown>;
|
2962
|
-
}) => vue.VNode
|
2963
|
-
|
2964
|
-
|
2965
|
-
'
|
2966
|
-
|
2967
|
-
}>[];
|
2968
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2969
|
-
[key: string]: any;
|
2970
|
-
}>[];
|
2971
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2972
|
-
[key: string]: any;
|
2973
|
-
}>[];
|
2974
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
2975
|
-
[key: string]: any;
|
2976
|
-
}>[];
|
2568
|
+
}) => vue.VNode[];
|
2569
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
2570
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
2571
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
2572
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
2977
2573
|
item: (arg: {
|
2978
2574
|
index: number;
|
2979
2575
|
item: any;
|
2980
2576
|
internalItem: DataTableItem<any>;
|
2981
|
-
isExpanded:
|
2982
|
-
toggleExpand:
|
2983
|
-
isSelected:
|
2984
|
-
toggleSelect:
|
2577
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
2578
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
2579
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
2580
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
2985
2581
|
} & {
|
2986
2582
|
columns: InternalDataTableHeader[];
|
2987
2583
|
} & {
|
2988
2584
|
props: Record<string, any>;
|
2989
2585
|
} & {
|
2990
2586
|
itemRef: TemplateRef;
|
2991
|
-
}) => vue.VNode
|
2992
|
-
|
2993
|
-
|
2994
|
-
|
2995
|
-
|
2996
|
-
|
2997
|
-
|
2998
|
-
|
2999
|
-
|
3000
|
-
|
3001
|
-
|
3002
|
-
|
3003
|
-
'expanded-row': (arg: ItemSlot<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3004
|
-
[key: string]: any;
|
3005
|
-
}>[];
|
3006
|
-
headers: (arg: HeadersSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3007
|
-
[key: string]: any;
|
3008
|
-
}>[];
|
3009
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3010
|
-
[key: string]: any;
|
3011
|
-
}>[];
|
3012
|
-
colgroup: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3013
|
-
[key: string]: any;
|
3014
|
-
}>[];
|
3015
|
-
top: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3016
|
-
[key: string]: any;
|
3017
|
-
}>[];
|
3018
|
-
bottom: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3019
|
-
[key: string]: any;
|
3020
|
-
}>[];
|
3021
|
-
'body.prepend': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3022
|
-
[key: string]: any;
|
3023
|
-
}>[];
|
3024
|
-
'body.append': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3025
|
-
[key: string]: any;
|
3026
|
-
}>[];
|
2587
|
+
}) => vue.VNode[];
|
2588
|
+
loading: () => vue.VNode[];
|
2589
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
2590
|
+
'no-data': () => vue.VNode[];
|
2591
|
+
'expanded-row': (arg: ItemSlot<any>) => vue.VNode[];
|
2592
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
2593
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
2594
|
+
colgroup: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2595
|
+
top: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2596
|
+
bottom: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2597
|
+
'body.prepend': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
2598
|
+
'body.append': (arg: VDataTableVirtualSlotProps<any>) => vue.VNode[];
|
3027
2599
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T extends readonly any[], V>(props: {
|
3028
|
-
items?: T
|
2600
|
+
items?: T;
|
3029
2601
|
itemValue?: SelectItemKey<ItemType$1<T>>;
|
3030
|
-
rowProps?: RowProps<ItemType$1<T
|
3031
|
-
cellProps?: CellProps<ItemType$1<T
|
2602
|
+
rowProps?: RowProps<ItemType$1<T>>;
|
2603
|
+
cellProps?: CellProps<ItemType$1<T>>;
|
3032
2604
|
itemSelectable?: SelectItemKey<ItemType$1<T>>;
|
3033
|
-
modelValue?: V
|
3034
|
-
|
3035
|
-
}, slots: VDataTableVirtualSlots<ItemType$1<T>>) => GenericProps<{
|
3036
|
-
items?: T | undefined;
|
3037
|
-
itemValue?: SelectItemKey<ItemType$1<T>>;
|
3038
|
-
rowProps?: RowProps<ItemType$1<T>> | undefined;
|
3039
|
-
cellProps?: CellProps<ItemType$1<T>> | undefined;
|
3040
|
-
itemSelectable?: SelectItemKey<ItemType$1<T>>;
|
3041
|
-
modelValue?: V | undefined;
|
3042
|
-
'onUpdate:modelValue'?: ((value: V) => void) | undefined;
|
3043
|
-
}, VDataTableVirtualSlots<ItemType$1<T>>>) & FilterPropsOptions<{
|
2605
|
+
modelValue?: V;
|
2606
|
+
"onUpdate:modelValue"?: (value: V) => void;
|
2607
|
+
}, slots: VDataTableVirtualSlots<ItemType$1<T>>) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
|
3044
2608
|
customFilter: vue.PropType<FilterFunction>;
|
3045
2609
|
customKeyFilter: vue.PropType<FilterKeyFunctions>;
|
3046
2610
|
filterKeys: vue.PropType<FilterKeys>;
|
@@ -3068,7 +2632,7 @@ declare const VDataTableVirtual: {
|
|
3068
2632
|
default: string;
|
3069
2633
|
validator: (v: any) => boolean;
|
3070
2634
|
};
|
3071
|
-
class: vue.PropType<
|
2635
|
+
class: vue.PropType<ClassValue>;
|
3072
2636
|
style: {
|
3073
2637
|
type: vue.PropType<vue.StyleValue>;
|
3074
2638
|
default: null;
|
@@ -3105,7 +2669,7 @@ declare const VDataTableVirtual: {
|
|
3105
2669
|
mustSort: BooleanConstructor;
|
3106
2670
|
showSelect: BooleanConstructor;
|
3107
2671
|
selectStrategy: {
|
3108
|
-
type: vue.PropType<"
|
2672
|
+
type: vue.PropType<"single" | "page" | "all">;
|
3109
2673
|
default: string;
|
3110
2674
|
};
|
3111
2675
|
modelValue: {
|
@@ -3117,7 +2681,7 @@ declare const VDataTableVirtual: {
|
|
3117
2681
|
default: typeof deepEqual;
|
3118
2682
|
};
|
3119
2683
|
items: {
|
3120
|
-
type: vue.PropType<
|
2684
|
+
type: vue.PropType<DataTableItemProps["items"]>;
|
3121
2685
|
default: () => never[];
|
3122
2686
|
};
|
3123
2687
|
itemValue: {
|
@@ -3131,51 +2695,7 @@ declare const VDataTableVirtual: {
|
|
3131
2695
|
rowProps: vue.PropType<RowProps<any>>;
|
3132
2696
|
cellProps: vue.PropType<CellProps<any>>;
|
3133
2697
|
returnObject: BooleanConstructor;
|
3134
|
-
headers: vue.PropType<
|
3135
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
3136
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
3137
|
-
readonly title?: string | undefined;
|
3138
|
-
readonly fixed?: boolean | undefined;
|
3139
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
3140
|
-
readonly width?: string | number | undefined;
|
3141
|
-
readonly minWidth?: string | undefined;
|
3142
|
-
readonly maxWidth?: string | undefined;
|
3143
|
-
readonly nowrap?: boolean | undefined;
|
3144
|
-
readonly headerProps?: {
|
3145
|
-
readonly [x: string]: any;
|
3146
|
-
} | undefined;
|
3147
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
3148
|
-
readonly [x: string]: any;
|
3149
|
-
} | undefined;
|
3150
|
-
readonly sortable?: boolean | undefined;
|
3151
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
3152
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
3153
|
-
readonly filter?: FilterFunction | undefined;
|
3154
|
-
readonly mobile?: boolean | undefined;
|
3155
|
-
readonly children?: readonly {
|
3156
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
3157
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
3158
|
-
readonly title?: string | undefined;
|
3159
|
-
readonly fixed?: boolean | undefined;
|
3160
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
3161
|
-
readonly width?: string | number | undefined;
|
3162
|
-
readonly minWidth?: string | undefined;
|
3163
|
-
readonly maxWidth?: string | undefined;
|
3164
|
-
readonly nowrap?: boolean | undefined;
|
3165
|
-
readonly headerProps?: {
|
3166
|
-
readonly [x: string]: any;
|
3167
|
-
} | undefined;
|
3168
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
3169
|
-
readonly [x: string]: any;
|
3170
|
-
} | undefined;
|
3171
|
-
readonly sortable?: boolean | undefined;
|
3172
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
3173
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
3174
|
-
readonly filter?: FilterFunction | undefined;
|
3175
|
-
readonly mobile?: boolean | undefined;
|
3176
|
-
readonly children?: readonly any[] | undefined;
|
3177
|
-
}[] | undefined;
|
3178
|
-
}[]>;
|
2698
|
+
headers: vue.PropType<vue.DeepReadonly<DataTableHeader[]>>;
|
3179
2699
|
expandOnClick: BooleanConstructor;
|
3180
2700
|
showExpand: BooleanConstructor;
|
3181
2701
|
expanded: {
|
@@ -3224,7 +2744,7 @@ declare const VDataTableVirtual: {
|
|
3224
2744
|
default: string;
|
3225
2745
|
validator: (v: any) => boolean;
|
3226
2746
|
};
|
3227
|
-
class: vue.PropType<
|
2747
|
+
class: vue.PropType<ClassValue>;
|
3228
2748
|
style: {
|
3229
2749
|
type: vue.PropType<vue.StyleValue>;
|
3230
2750
|
default: null;
|
@@ -3261,7 +2781,7 @@ declare const VDataTableVirtual: {
|
|
3261
2781
|
mustSort: BooleanConstructor;
|
3262
2782
|
showSelect: BooleanConstructor;
|
3263
2783
|
selectStrategy: {
|
3264
|
-
type: vue.PropType<"
|
2784
|
+
type: vue.PropType<"single" | "page" | "all">;
|
3265
2785
|
default: string;
|
3266
2786
|
};
|
3267
2787
|
modelValue: {
|
@@ -3273,7 +2793,7 @@ declare const VDataTableVirtual: {
|
|
3273
2793
|
default: typeof deepEqual;
|
3274
2794
|
};
|
3275
2795
|
items: {
|
3276
|
-
type: vue.PropType<
|
2796
|
+
type: vue.PropType<DataTableItemProps["items"]>;
|
3277
2797
|
default: () => never[];
|
3278
2798
|
};
|
3279
2799
|
itemValue: {
|
@@ -3287,51 +2807,7 @@ declare const VDataTableVirtual: {
|
|
3287
2807
|
rowProps: vue.PropType<RowProps<any>>;
|
3288
2808
|
cellProps: vue.PropType<CellProps<any>>;
|
3289
2809
|
returnObject: BooleanConstructor;
|
3290
|
-
headers: vue.PropType<
|
3291
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
3292
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
3293
|
-
readonly title?: string | undefined;
|
3294
|
-
readonly fixed?: boolean | undefined;
|
3295
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
3296
|
-
readonly width?: string | number | undefined;
|
3297
|
-
readonly minWidth?: string | undefined;
|
3298
|
-
readonly maxWidth?: string | undefined;
|
3299
|
-
readonly nowrap?: boolean | undefined;
|
3300
|
-
readonly headerProps?: {
|
3301
|
-
readonly [x: string]: any;
|
3302
|
-
} | undefined;
|
3303
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
3304
|
-
readonly [x: string]: any;
|
3305
|
-
} | undefined;
|
3306
|
-
readonly sortable?: boolean | undefined;
|
3307
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
3308
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
3309
|
-
readonly filter?: FilterFunction | undefined;
|
3310
|
-
readonly mobile?: boolean | undefined;
|
3311
|
-
readonly children?: readonly {
|
3312
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
3313
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
3314
|
-
readonly title?: string | undefined;
|
3315
|
-
readonly fixed?: boolean | undefined;
|
3316
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
3317
|
-
readonly width?: string | number | undefined;
|
3318
|
-
readonly minWidth?: string | undefined;
|
3319
|
-
readonly maxWidth?: string | undefined;
|
3320
|
-
readonly nowrap?: boolean | undefined;
|
3321
|
-
readonly headerProps?: {
|
3322
|
-
readonly [x: string]: any;
|
3323
|
-
} | undefined;
|
3324
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
3325
|
-
readonly [x: string]: any;
|
3326
|
-
} | undefined;
|
3327
|
-
readonly sortable?: boolean | undefined;
|
3328
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
3329
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
3330
|
-
readonly filter?: FilterFunction | undefined;
|
3331
|
-
readonly mobile?: boolean | undefined;
|
3332
|
-
readonly children?: readonly any[] | undefined;
|
3333
|
-
}[] | undefined;
|
3334
|
-
}[]>;
|
2810
|
+
headers: vue.PropType<vue.DeepReadonly<DataTableHeader[]>>;
|
3335
2811
|
expandOnClick: BooleanConstructor;
|
3336
2812
|
showExpand: BooleanConstructor;
|
3337
2813
|
expanded: {
|
@@ -3359,9 +2835,9 @@ type ItemType<T> = T extends readonly (infer U)[] ? U : never;
|
|
3359
2835
|
declare const VDataTableServer: {
|
3360
2836
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
3361
2837
|
page: string | number;
|
2838
|
+
expanded: readonly string[];
|
3362
2839
|
style: vue.StyleValue;
|
3363
2840
|
mobile: boolean | null;
|
3364
|
-
expanded: readonly string[];
|
3365
2841
|
tag: string;
|
3366
2842
|
sticky: boolean;
|
3367
2843
|
noDataText: string;
|
@@ -3412,45 +2888,45 @@ declare const VDataTableServer: {
|
|
3412
2888
|
loading?: string | boolean | undefined;
|
3413
2889
|
class?: any;
|
3414
2890
|
headers?: readonly {
|
3415
|
-
readonly key?: (
|
2891
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3416
2892
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3417
2893
|
readonly title?: string | undefined;
|
3418
2894
|
readonly fixed?: boolean | undefined;
|
3419
|
-
readonly align?: "
|
3420
|
-
readonly width?:
|
2895
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2896
|
+
readonly width?: (number | string) | undefined;
|
3421
2897
|
readonly minWidth?: string | undefined;
|
3422
2898
|
readonly maxWidth?: string | undefined;
|
3423
2899
|
readonly nowrap?: boolean | undefined;
|
3424
2900
|
readonly headerProps?: {
|
3425
2901
|
readonly [x: string]: any;
|
3426
2902
|
} | undefined;
|
3427
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2903
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3428
2904
|
readonly [x: string]: any;
|
3429
2905
|
} | undefined;
|
3430
2906
|
readonly sortable?: boolean | undefined;
|
3431
|
-
readonly sort?: DataTableCompareFunction
|
3432
|
-
readonly sortRaw?: DataTableCompareFunction
|
2907
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2908
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3433
2909
|
readonly filter?: FilterFunction | undefined;
|
3434
2910
|
readonly mobile?: boolean | undefined;
|
3435
2911
|
readonly children?: readonly {
|
3436
|
-
readonly key?: (
|
2912
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3437
2913
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3438
2914
|
readonly title?: string | undefined;
|
3439
2915
|
readonly fixed?: boolean | undefined;
|
3440
|
-
readonly align?: "
|
3441
|
-
readonly width?:
|
2916
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
2917
|
+
readonly width?: (number | string) | undefined;
|
3442
2918
|
readonly minWidth?: string | undefined;
|
3443
2919
|
readonly maxWidth?: string | undefined;
|
3444
2920
|
readonly nowrap?: boolean | undefined;
|
3445
2921
|
readonly headerProps?: {
|
3446
2922
|
readonly [x: string]: any;
|
3447
2923
|
} | undefined;
|
3448
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
2924
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3449
2925
|
readonly [x: string]: any;
|
3450
2926
|
} | undefined;
|
3451
2927
|
readonly sortable?: boolean | undefined;
|
3452
|
-
readonly sort?: DataTableCompareFunction
|
3453
|
-
readonly sortRaw?: DataTableCompareFunction
|
2928
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
2929
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3454
2930
|
readonly filter?: FilterFunction | undefined;
|
3455
2931
|
readonly mobile?: boolean | undefined;
|
3456
2932
|
readonly children?: readonly any[] | undefined;
|
@@ -3468,18 +2944,18 @@ declare const VDataTableServer: {
|
|
3468
2944
|
"onUpdate:itemsPerPage"?: ((page: number) => any) | undefined;
|
3469
2945
|
"onUpdate:options"?: ((options: any) => any) | undefined;
|
3470
2946
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
3471
|
-
'update:modelValue': (value: any[]) =>
|
3472
|
-
'update:page': (page: number) =>
|
3473
|
-
'update:itemsPerPage': (page: number) =>
|
3474
|
-
'update:sortBy': (sortBy: any) =>
|
3475
|
-
'update:options': (options: any) =>
|
3476
|
-
'update:expanded': (options: any) =>
|
3477
|
-
'update:groupBy': (value: any) =>
|
3478
|
-
}, "$children" | "v-
|
2947
|
+
'update:modelValue': (value: any[]) => true;
|
2948
|
+
'update:page': (page: number) => true;
|
2949
|
+
'update:itemsPerPage': (page: number) => true;
|
2950
|
+
'update:sortBy': (sortBy: any) => true;
|
2951
|
+
'update:options': (options: any) => true;
|
2952
|
+
'update:expanded': (options: any) => true;
|
2953
|
+
'update:groupBy': (value: any) => true;
|
2954
|
+
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
3479
2955
|
page: string | number;
|
2956
|
+
expanded: readonly string[];
|
3480
2957
|
style: vue.StyleValue;
|
3481
2958
|
mobile: boolean | null;
|
3482
|
-
expanded: readonly string[];
|
3483
2959
|
tag: string;
|
3484
2960
|
sticky: boolean;
|
3485
2961
|
noDataText: string;
|
@@ -3530,45 +3006,45 @@ declare const VDataTableServer: {
|
|
3530
3006
|
loading?: string | boolean | undefined;
|
3531
3007
|
class?: any;
|
3532
3008
|
headers?: readonly {
|
3533
|
-
readonly key?: (
|
3009
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3534
3010
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3535
3011
|
readonly title?: string | undefined;
|
3536
3012
|
readonly fixed?: boolean | undefined;
|
3537
|
-
readonly align?: "
|
3538
|
-
readonly width?:
|
3013
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
3014
|
+
readonly width?: (number | string) | undefined;
|
3539
3015
|
readonly minWidth?: string | undefined;
|
3540
3016
|
readonly maxWidth?: string | undefined;
|
3541
3017
|
readonly nowrap?: boolean | undefined;
|
3542
3018
|
readonly headerProps?: {
|
3543
3019
|
readonly [x: string]: any;
|
3544
3020
|
} | undefined;
|
3545
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
3021
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3546
3022
|
readonly [x: string]: any;
|
3547
3023
|
} | undefined;
|
3548
3024
|
readonly sortable?: boolean | undefined;
|
3549
|
-
readonly sort?: DataTableCompareFunction
|
3550
|
-
readonly sortRaw?: DataTableCompareFunction
|
3025
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
3026
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3551
3027
|
readonly filter?: FilterFunction | undefined;
|
3552
3028
|
readonly mobile?: boolean | undefined;
|
3553
3029
|
readonly children?: readonly {
|
3554
|
-
readonly key?: (
|
3030
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3555
3031
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3556
3032
|
readonly title?: string | undefined;
|
3557
3033
|
readonly fixed?: boolean | undefined;
|
3558
|
-
readonly align?: "
|
3559
|
-
readonly width?:
|
3034
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
3035
|
+
readonly width?: (number | string) | undefined;
|
3560
3036
|
readonly minWidth?: string | undefined;
|
3561
3037
|
readonly maxWidth?: string | undefined;
|
3562
3038
|
readonly nowrap?: boolean | undefined;
|
3563
3039
|
readonly headerProps?: {
|
3564
3040
|
readonly [x: string]: any;
|
3565
3041
|
} | undefined;
|
3566
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
3042
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3567
3043
|
readonly [x: string]: any;
|
3568
3044
|
} | undefined;
|
3569
3045
|
readonly sortable?: boolean | undefined;
|
3570
|
-
readonly sort?: DataTableCompareFunction
|
3571
|
-
readonly sortRaw?: DataTableCompareFunction
|
3046
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
3047
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3572
3048
|
readonly filter?: FilterFunction | undefined;
|
3573
3049
|
readonly mobile?: boolean | undefined;
|
3574
3050
|
readonly children?: readonly any[] | undefined;
|
@@ -3587,9 +3063,9 @@ declare const VDataTableServer: {
|
|
3587
3063
|
"onUpdate:options"?: ((options: any) => any) | undefined;
|
3588
3064
|
}, {
|
3589
3065
|
page: string | number;
|
3066
|
+
expanded: readonly string[];
|
3590
3067
|
style: vue.StyleValue;
|
3591
3068
|
mobile: boolean | null;
|
3592
|
-
expanded: readonly string[];
|
3593
3069
|
tag: string;
|
3594
3070
|
sticky: boolean;
|
3595
3071
|
noDataText: string;
|
@@ -3632,102 +3108,50 @@ declare const VDataTableServer: {
|
|
3632
3108
|
hideDefaultFooter: boolean;
|
3633
3109
|
hideDefaultHeader: boolean;
|
3634
3110
|
}, true, {}, vue.SlotsType<Partial<{
|
3635
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode
|
3636
|
-
|
3637
|
-
}>[];
|
3638
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3639
|
-
[key: string]: any;
|
3640
|
-
}>[];
|
3111
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode[];
|
3112
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
3641
3113
|
'data-table-group': (arg: {
|
3642
|
-
item: Group
|
3114
|
+
item: Group;
|
3643
3115
|
count: number;
|
3644
3116
|
props: Record<string, unknown>;
|
3645
|
-
}) => vue.VNode
|
3646
|
-
[key: string]: any;
|
3647
|
-
}>[];
|
3117
|
+
}) => vue.VNode[];
|
3648
3118
|
'data-table-select': (arg: {
|
3649
3119
|
props: Record<string, unknown>;
|
3650
|
-
}) => vue.VNode
|
3651
|
-
|
3652
|
-
|
3653
|
-
'
|
3654
|
-
|
3655
|
-
}>[];
|
3656
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3657
|
-
[key: string]: any;
|
3658
|
-
}>[];
|
3659
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3660
|
-
[key: string]: any;
|
3661
|
-
}>[];
|
3662
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3663
|
-
[key: string]: any;
|
3664
|
-
}>[];
|
3120
|
+
}) => vue.VNode[];
|
3121
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
3122
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
3123
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
3124
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
3665
3125
|
item: (arg: {
|
3666
3126
|
index: number;
|
3667
3127
|
item: any;
|
3668
3128
|
internalItem: DataTableItem<any>;
|
3669
|
-
isExpanded:
|
3670
|
-
toggleExpand:
|
3671
|
-
isSelected:
|
3672
|
-
toggleSelect:
|
3129
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
3130
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
3131
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
3132
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
3673
3133
|
} & {
|
3674
3134
|
columns: InternalDataTableHeader[];
|
3675
3135
|
} & {
|
3676
3136
|
props: Record<string, any>;
|
3677
|
-
}) => vue.VNode
|
3678
|
-
|
3679
|
-
|
3680
|
-
|
3681
|
-
|
3682
|
-
|
3683
|
-
|
3684
|
-
|
3685
|
-
|
3686
|
-
|
3687
|
-
|
3688
|
-
|
3689
|
-
|
3690
|
-
|
3691
|
-
|
3692
|
-
|
3693
|
-
|
3694
|
-
|
3695
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3696
|
-
[key: string]: any;
|
3697
|
-
}>[];
|
3698
|
-
default: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3699
|
-
[key: string]: any;
|
3700
|
-
}>[];
|
3701
|
-
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3702
|
-
[key: string]: any;
|
3703
|
-
}>[];
|
3704
|
-
top: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3705
|
-
[key: string]: any;
|
3706
|
-
}>[];
|
3707
|
-
body: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3708
|
-
[key: string]: any;
|
3709
|
-
}>[];
|
3710
|
-
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3711
|
-
[key: string]: any;
|
3712
|
-
}>[];
|
3713
|
-
thead: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3714
|
-
[key: string]: any;
|
3715
|
-
}>[];
|
3716
|
-
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3717
|
-
[key: string]: any;
|
3718
|
-
}>[];
|
3719
|
-
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3720
|
-
[key: string]: any;
|
3721
|
-
}>[];
|
3722
|
-
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3723
|
-
[key: string]: any;
|
3724
|
-
}>[];
|
3725
|
-
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3726
|
-
[key: string]: any;
|
3727
|
-
}>[];
|
3728
|
-
'footer.prepend': () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
3729
|
-
[key: string]: any;
|
3730
|
-
}>[];
|
3137
|
+
}) => vue.VNode[];
|
3138
|
+
loading: () => vue.VNode[];
|
3139
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
3140
|
+
'no-data': () => vue.VNode[];
|
3141
|
+
'expanded-row': (arg: ItemSlot<any>) => vue.VNode[];
|
3142
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
3143
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
3144
|
+
default: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3145
|
+
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3146
|
+
top: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3147
|
+
body: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3148
|
+
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3149
|
+
thead: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3150
|
+
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3151
|
+
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3152
|
+
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3153
|
+
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3154
|
+
'footer.prepend': () => vue.VNode[];
|
3731
3155
|
}>>, {
|
3732
3156
|
P: {};
|
3733
3157
|
B: {};
|
@@ -3737,9 +3161,9 @@ declare const VDataTableServer: {
|
|
3737
3161
|
Defaults: {};
|
3738
3162
|
}, {
|
3739
3163
|
page: string | number;
|
3164
|
+
expanded: readonly string[];
|
3740
3165
|
style: vue.StyleValue;
|
3741
3166
|
mobile: boolean | null;
|
3742
|
-
expanded: readonly string[];
|
3743
3167
|
tag: string;
|
3744
3168
|
sticky: boolean;
|
3745
3169
|
noDataText: string;
|
@@ -3790,45 +3214,45 @@ declare const VDataTableServer: {
|
|
3790
3214
|
loading?: string | boolean | undefined;
|
3791
3215
|
class?: any;
|
3792
3216
|
headers?: readonly {
|
3793
|
-
readonly key?: (
|
3217
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3794
3218
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3795
3219
|
readonly title?: string | undefined;
|
3796
3220
|
readonly fixed?: boolean | undefined;
|
3797
|
-
readonly align?: "
|
3798
|
-
readonly width?:
|
3221
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
3222
|
+
readonly width?: (number | string) | undefined;
|
3799
3223
|
readonly minWidth?: string | undefined;
|
3800
3224
|
readonly maxWidth?: string | undefined;
|
3801
3225
|
readonly nowrap?: boolean | undefined;
|
3802
3226
|
readonly headerProps?: {
|
3803
3227
|
readonly [x: string]: any;
|
3804
3228
|
} | undefined;
|
3805
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
3229
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3806
3230
|
readonly [x: string]: any;
|
3807
3231
|
} | undefined;
|
3808
3232
|
readonly sortable?: boolean | undefined;
|
3809
|
-
readonly sort?: DataTableCompareFunction
|
3810
|
-
readonly sortRaw?: DataTableCompareFunction
|
3233
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
3234
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3811
3235
|
readonly filter?: FilterFunction | undefined;
|
3812
3236
|
readonly mobile?: boolean | undefined;
|
3813
3237
|
readonly children?: readonly {
|
3814
|
-
readonly key?: (
|
3238
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3815
3239
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3816
3240
|
readonly title?: string | undefined;
|
3817
3241
|
readonly fixed?: boolean | undefined;
|
3818
|
-
readonly align?: "
|
3819
|
-
readonly width?:
|
3242
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
3243
|
+
readonly width?: (number | string) | undefined;
|
3820
3244
|
readonly minWidth?: string | undefined;
|
3821
3245
|
readonly maxWidth?: string | undefined;
|
3822
3246
|
readonly nowrap?: boolean | undefined;
|
3823
3247
|
readonly headerProps?: {
|
3824
3248
|
readonly [x: string]: any;
|
3825
3249
|
} | undefined;
|
3826
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
3250
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3827
3251
|
readonly [x: string]: any;
|
3828
3252
|
} | undefined;
|
3829
3253
|
readonly sortable?: boolean | undefined;
|
3830
|
-
readonly sort?: DataTableCompareFunction
|
3831
|
-
readonly sortRaw?: DataTableCompareFunction
|
3254
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
3255
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3832
3256
|
readonly filter?: FilterFunction | undefined;
|
3833
3257
|
readonly mobile?: boolean | undefined;
|
3834
3258
|
readonly children?: readonly any[] | undefined;
|
@@ -3847,9 +3271,9 @@ declare const VDataTableServer: {
|
|
3847
3271
|
"onUpdate:options"?: ((options: any) => any) | undefined;
|
3848
3272
|
}, {}, {}, {}, {}, {
|
3849
3273
|
page: string | number;
|
3274
|
+
expanded: readonly string[];
|
3850
3275
|
style: vue.StyleValue;
|
3851
3276
|
mobile: boolean | null;
|
3852
|
-
expanded: readonly string[];
|
3853
3277
|
tag: string;
|
3854
3278
|
sticky: boolean;
|
3855
3279
|
noDataText: string;
|
@@ -3892,14 +3316,14 @@ declare const VDataTableServer: {
|
|
3892
3316
|
hideDefaultFooter: boolean;
|
3893
3317
|
hideDefaultHeader: boolean;
|
3894
3318
|
}>;
|
3895
|
-
__isFragment?:
|
3896
|
-
__isTeleport?:
|
3897
|
-
__isSuspense?:
|
3319
|
+
__isFragment?: never;
|
3320
|
+
__isTeleport?: never;
|
3321
|
+
__isSuspense?: never;
|
3898
3322
|
} & vue.ComponentOptionsBase<{
|
3899
3323
|
page: string | number;
|
3324
|
+
expanded: readonly string[];
|
3900
3325
|
style: vue.StyleValue;
|
3901
3326
|
mobile: boolean | null;
|
3902
|
-
expanded: readonly string[];
|
3903
3327
|
tag: string;
|
3904
3328
|
sticky: boolean;
|
3905
3329
|
noDataText: string;
|
@@ -3950,45 +3374,45 @@ declare const VDataTableServer: {
|
|
3950
3374
|
loading?: string | boolean | undefined;
|
3951
3375
|
class?: any;
|
3952
3376
|
headers?: readonly {
|
3953
|
-
readonly key?: (
|
3377
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3954
3378
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3955
3379
|
readonly title?: string | undefined;
|
3956
3380
|
readonly fixed?: boolean | undefined;
|
3957
|
-
readonly align?: "
|
3958
|
-
readonly width?:
|
3381
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
3382
|
+
readonly width?: (number | string) | undefined;
|
3959
3383
|
readonly minWidth?: string | undefined;
|
3960
3384
|
readonly maxWidth?: string | undefined;
|
3961
3385
|
readonly nowrap?: boolean | undefined;
|
3962
3386
|
readonly headerProps?: {
|
3963
3387
|
readonly [x: string]: any;
|
3964
3388
|
} | undefined;
|
3965
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
3389
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3966
3390
|
readonly [x: string]: any;
|
3967
3391
|
} | undefined;
|
3968
3392
|
readonly sortable?: boolean | undefined;
|
3969
|
-
readonly sort?: DataTableCompareFunction
|
3970
|
-
readonly sortRaw?: DataTableCompareFunction
|
3393
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
3394
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3971
3395
|
readonly filter?: FilterFunction | undefined;
|
3972
3396
|
readonly mobile?: boolean | undefined;
|
3973
3397
|
readonly children?: readonly {
|
3974
|
-
readonly key?: (
|
3398
|
+
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
3975
3399
|
readonly value?: SelectItemKey<Record<string, any>>;
|
3976
3400
|
readonly title?: string | undefined;
|
3977
3401
|
readonly fixed?: boolean | undefined;
|
3978
|
-
readonly align?: "
|
3979
|
-
readonly width?:
|
3402
|
+
readonly align?: ("start" | "end" | "center") | undefined;
|
3403
|
+
readonly width?: (number | string) | undefined;
|
3980
3404
|
readonly minWidth?: string | undefined;
|
3981
3405
|
readonly maxWidth?: string | undefined;
|
3982
3406
|
readonly nowrap?: boolean | undefined;
|
3983
3407
|
readonly headerProps?: {
|
3984
3408
|
readonly [x: string]: any;
|
3985
3409
|
} | undefined;
|
3986
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "
|
3410
|
+
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "internalItem" | "value">) => Record<string, any>) | {
|
3987
3411
|
readonly [x: string]: any;
|
3988
3412
|
} | undefined;
|
3989
3413
|
readonly sortable?: boolean | undefined;
|
3990
|
-
readonly sort?: DataTableCompareFunction
|
3991
|
-
readonly sortRaw?: DataTableCompareFunction
|
3414
|
+
readonly sort?: DataTableCompareFunction | undefined;
|
3415
|
+
readonly sortRaw?: DataTableCompareFunction | undefined;
|
3992
3416
|
readonly filter?: FilterFunction | undefined;
|
3993
3417
|
readonly mobile?: boolean | undefined;
|
3994
3418
|
readonly children?: readonly any[] | undefined;
|
@@ -4006,18 +3430,18 @@ declare const VDataTableServer: {
|
|
4006
3430
|
"onUpdate:itemsPerPage"?: ((page: number) => any) | undefined;
|
4007
3431
|
"onUpdate:options"?: ((options: any) => any) | undefined;
|
4008
3432
|
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
4009
|
-
'update:modelValue': (value: any[]) =>
|
4010
|
-
'update:page': (page: number) =>
|
4011
|
-
'update:itemsPerPage': (page: number) =>
|
4012
|
-
'update:sortBy': (sortBy: any) =>
|
4013
|
-
'update:options': (options: any) =>
|
4014
|
-
'update:expanded': (options: any) =>
|
4015
|
-
'update:groupBy': (value: any) =>
|
4016
|
-
}, "$children" | "v-
|
3433
|
+
'update:modelValue': (value: any[]) => true;
|
3434
|
+
'update:page': (page: number) => true;
|
3435
|
+
'update:itemsPerPage': (page: number) => true;
|
3436
|
+
'update:sortBy': (sortBy: any) => true;
|
3437
|
+
'update:options': (options: any) => true;
|
3438
|
+
'update:expanded': (options: any) => true;
|
3439
|
+
'update:groupBy': (value: any) => true;
|
3440
|
+
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, string, {
|
4017
3441
|
page: string | number;
|
3442
|
+
expanded: readonly string[];
|
4018
3443
|
style: vue.StyleValue;
|
4019
3444
|
mobile: boolean | null;
|
4020
|
-
expanded: readonly string[];
|
4021
3445
|
tag: string;
|
4022
3446
|
sticky: boolean;
|
4023
3447
|
noDataText: string;
|
@@ -4060,119 +3484,59 @@ declare const VDataTableServer: {
|
|
4060
3484
|
hideDefaultFooter: boolean;
|
4061
3485
|
hideDefaultHeader: boolean;
|
4062
3486
|
}, {}, string, vue.SlotsType<Partial<{
|
4063
|
-
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode
|
4064
|
-
|
4065
|
-
}>[];
|
4066
|
-
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4067
|
-
[key: string]: any;
|
4068
|
-
}>[];
|
3487
|
+
[x: `item.${string}`]: (arg: ItemKeySlot<any>) => vue.VNode[];
|
3488
|
+
[x: `header.${string}`]: (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
4069
3489
|
'data-table-group': (arg: {
|
4070
|
-
item: Group
|
3490
|
+
item: Group;
|
4071
3491
|
count: number;
|
4072
3492
|
props: Record<string, unknown>;
|
4073
|
-
}) => vue.VNode
|
4074
|
-
[key: string]: any;
|
4075
|
-
}>[];
|
3493
|
+
}) => vue.VNode[];
|
4076
3494
|
'data-table-select': (arg: {
|
4077
3495
|
props: Record<string, unknown>;
|
4078
|
-
}) => vue.VNode
|
4079
|
-
|
4080
|
-
|
4081
|
-
'
|
4082
|
-
|
4083
|
-
}>[];
|
4084
|
-
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4085
|
-
[key: string]: any;
|
4086
|
-
}>[];
|
4087
|
-
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4088
|
-
[key: string]: any;
|
4089
|
-
}>[];
|
4090
|
-
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4091
|
-
[key: string]: any;
|
4092
|
-
}>[];
|
3496
|
+
}) => vue.VNode[];
|
3497
|
+
'item.data-table-select': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
3498
|
+
'item.data-table-expand': (arg: Omit<ItemKeySlot<any>, "value">) => vue.VNode[];
|
3499
|
+
'header.data-table-select': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
3500
|
+
'header.data-table-expand': (arg: VDataTableHeaderCellColumnSlotProps) => vue.VNode[];
|
4093
3501
|
item: (arg: {
|
4094
3502
|
index: number;
|
4095
3503
|
item: any;
|
4096
3504
|
internalItem: DataTableItem<any>;
|
4097
|
-
isExpanded:
|
4098
|
-
toggleExpand:
|
4099
|
-
isSelected:
|
4100
|
-
toggleSelect:
|
3505
|
+
isExpanded: ReturnType<typeof provideExpanded>["isExpanded"];
|
3506
|
+
toggleExpand: ReturnType<typeof provideExpanded>["toggleExpand"];
|
3507
|
+
isSelected: ReturnType<typeof provideSelection>["isSelected"];
|
3508
|
+
toggleSelect: ReturnType<typeof provideSelection>["toggleSelect"];
|
4101
3509
|
} & {
|
4102
3510
|
columns: InternalDataTableHeader[];
|
4103
3511
|
} & {
|
4104
3512
|
props: Record<string, any>;
|
4105
|
-
}) => vue.VNode
|
4106
|
-
|
4107
|
-
|
4108
|
-
|
4109
|
-
|
4110
|
-
|
4111
|
-
|
4112
|
-
|
4113
|
-
|
4114
|
-
|
4115
|
-
|
4116
|
-
|
4117
|
-
|
4118
|
-
|
4119
|
-
|
4120
|
-
|
4121
|
-
|
4122
|
-
|
4123
|
-
loader: (arg: LoaderSlotProps) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4124
|
-
[key: string]: any;
|
4125
|
-
}>[];
|
4126
|
-
default: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4127
|
-
[key: string]: any;
|
4128
|
-
}>[];
|
4129
|
-
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4130
|
-
[key: string]: any;
|
4131
|
-
}>[];
|
4132
|
-
top: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4133
|
-
[key: string]: any;
|
4134
|
-
}>[];
|
4135
|
-
body: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4136
|
-
[key: string]: any;
|
4137
|
-
}>[];
|
4138
|
-
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4139
|
-
[key: string]: any;
|
4140
|
-
}>[];
|
4141
|
-
thead: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4142
|
-
[key: string]: any;
|
4143
|
-
}>[];
|
4144
|
-
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4145
|
-
[key: string]: any;
|
4146
|
-
}>[];
|
4147
|
-
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4148
|
-
[key: string]: any;
|
4149
|
-
}>[];
|
4150
|
-
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4151
|
-
[key: string]: any;
|
4152
|
-
}>[];
|
4153
|
-
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4154
|
-
[key: string]: any;
|
4155
|
-
}>[];
|
4156
|
-
'footer.prepend': () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
4157
|
-
[key: string]: any;
|
4158
|
-
}>[];
|
3513
|
+
}) => vue.VNode[];
|
3514
|
+
loading: () => vue.VNode[];
|
3515
|
+
'group-header': (arg: GroupHeaderSlot) => vue.VNode[];
|
3516
|
+
'no-data': () => vue.VNode[];
|
3517
|
+
'expanded-row': (arg: ItemSlot<any>) => vue.VNode[];
|
3518
|
+
headers: (arg: HeadersSlotProps) => vue.VNode[];
|
3519
|
+
loader: (arg: LoaderSlotProps) => vue.VNode[];
|
3520
|
+
default: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3521
|
+
colgroup: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3522
|
+
top: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3523
|
+
body: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3524
|
+
tbody: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3525
|
+
thead: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3526
|
+
tfoot: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3527
|
+
bottom: (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3528
|
+
'body.prepend': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3529
|
+
'body.append': (arg: VDataTableSlotProps<any>) => vue.VNode[];
|
3530
|
+
'footer.prepend': () => vue.VNode[];
|
4159
3531
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T extends readonly any[], V>(props: {
|
4160
|
-
items?: T
|
4161
|
-
itemValue?: SelectItemKey<ItemType<T>>;
|
4162
|
-
rowProps?: RowProps<ItemType<T>> | undefined;
|
4163
|
-
cellProps?: CellProps<ItemType<T>> | undefined;
|
4164
|
-
itemSelectable?: SelectItemKey<ItemType<T>>;
|
4165
|
-
modelValue?: V | undefined;
|
4166
|
-
'onUpdate:modelValue'?: ((value: V) => void) | undefined;
|
4167
|
-
}, slots: VDataTableSlots<ItemType<T>>) => GenericProps<{
|
4168
|
-
items?: T | undefined;
|
3532
|
+
items?: T;
|
4169
3533
|
itemValue?: SelectItemKey<ItemType<T>>;
|
4170
|
-
rowProps?: RowProps<ItemType<T
|
4171
|
-
cellProps?: CellProps<ItemType<T
|
3534
|
+
rowProps?: RowProps<ItemType<T>>;
|
3535
|
+
cellProps?: CellProps<ItemType<T>>;
|
4172
3536
|
itemSelectable?: SelectItemKey<ItemType<T>>;
|
4173
|
-
modelValue?: V
|
4174
|
-
|
4175
|
-
}, VDataTableSlots<ItemType<T
|
3537
|
+
modelValue?: V;
|
3538
|
+
"onUpdate:modelValue"?: (value: V) => void;
|
3539
|
+
}, slots: VDataTableSlots<ItemType<T>>) => GenericProps<typeof props, typeof slots>) & FilterPropsOptions<{
|
4176
3540
|
prevIcon: {
|
4177
3541
|
type: vue.PropType<IconValue>;
|
4178
3542
|
default: string;
|
@@ -4234,7 +3598,7 @@ declare const VDataTableServer: {
|
|
4234
3598
|
default: string;
|
4235
3599
|
validator: (v: any) => boolean;
|
4236
3600
|
};
|
4237
|
-
class: vue.PropType<
|
3601
|
+
class: vue.PropType<ClassValue>;
|
4238
3602
|
style: {
|
4239
3603
|
type: vue.PropType<vue.StyleValue>;
|
4240
3604
|
default: null;
|
@@ -4272,7 +3636,7 @@ declare const VDataTableServer: {
|
|
4272
3636
|
mustSort: BooleanConstructor;
|
4273
3637
|
showSelect: BooleanConstructor;
|
4274
3638
|
selectStrategy: {
|
4275
|
-
type: vue.PropType<"
|
3639
|
+
type: vue.PropType<"single" | "page" | "all">;
|
4276
3640
|
default: string;
|
4277
3641
|
};
|
4278
3642
|
modelValue: {
|
@@ -4284,7 +3648,7 @@ declare const VDataTableServer: {
|
|
4284
3648
|
default: typeof deepEqual;
|
4285
3649
|
};
|
4286
3650
|
items: {
|
4287
|
-
type: vue.PropType<
|
3651
|
+
type: vue.PropType<DataTableItemProps["items"]>;
|
4288
3652
|
default: () => never[];
|
4289
3653
|
};
|
4290
3654
|
itemValue: {
|
@@ -4298,51 +3662,7 @@ declare const VDataTableServer: {
|
|
4298
3662
|
rowProps: vue.PropType<RowProps<any>>;
|
4299
3663
|
cellProps: vue.PropType<CellProps<any>>;
|
4300
3664
|
returnObject: BooleanConstructor;
|
4301
|
-
headers: vue.PropType<
|
4302
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
4303
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
4304
|
-
readonly title?: string | undefined;
|
4305
|
-
readonly fixed?: boolean | undefined;
|
4306
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
4307
|
-
readonly width?: string | number | undefined;
|
4308
|
-
readonly minWidth?: string | undefined;
|
4309
|
-
readonly maxWidth?: string | undefined;
|
4310
|
-
readonly nowrap?: boolean | undefined;
|
4311
|
-
readonly headerProps?: {
|
4312
|
-
readonly [x: string]: any;
|
4313
|
-
} | undefined;
|
4314
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
4315
|
-
readonly [x: string]: any;
|
4316
|
-
} | undefined;
|
4317
|
-
readonly sortable?: boolean | undefined;
|
4318
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
4319
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
4320
|
-
readonly filter?: FilterFunction | undefined;
|
4321
|
-
readonly mobile?: boolean | undefined;
|
4322
|
-
readonly children?: readonly {
|
4323
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
4324
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
4325
|
-
readonly title?: string | undefined;
|
4326
|
-
readonly fixed?: boolean | undefined;
|
4327
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
4328
|
-
readonly width?: string | number | undefined;
|
4329
|
-
readonly minWidth?: string | undefined;
|
4330
|
-
readonly maxWidth?: string | undefined;
|
4331
|
-
readonly nowrap?: boolean | undefined;
|
4332
|
-
readonly headerProps?: {
|
4333
|
-
readonly [x: string]: any;
|
4334
|
-
} | undefined;
|
4335
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
4336
|
-
readonly [x: string]: any;
|
4337
|
-
} | undefined;
|
4338
|
-
readonly sortable?: boolean | undefined;
|
4339
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
4340
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
4341
|
-
readonly filter?: FilterFunction | undefined;
|
4342
|
-
readonly mobile?: boolean | undefined;
|
4343
|
-
readonly children?: readonly any[] | undefined;
|
4344
|
-
}[] | undefined;
|
4345
|
-
}[]>;
|
3665
|
+
headers: vue.PropType<vue.DeepReadonly<DataTableHeader[]>>;
|
4346
3666
|
groupBy: {
|
4347
3667
|
type: vue.PropType<readonly SortItem[]>;
|
4348
3668
|
default: () => never[];
|
@@ -4441,7 +3761,7 @@ declare const VDataTableServer: {
|
|
4441
3761
|
default: string;
|
4442
3762
|
validator: (v: any) => boolean;
|
4443
3763
|
};
|
4444
|
-
class: vue.PropType<
|
3764
|
+
class: vue.PropType<ClassValue>;
|
4445
3765
|
style: {
|
4446
3766
|
type: vue.PropType<vue.StyleValue>;
|
4447
3767
|
default: null;
|
@@ -4479,7 +3799,7 @@ declare const VDataTableServer: {
|
|
4479
3799
|
mustSort: BooleanConstructor;
|
4480
3800
|
showSelect: BooleanConstructor;
|
4481
3801
|
selectStrategy: {
|
4482
|
-
type: vue.PropType<"
|
3802
|
+
type: vue.PropType<"single" | "page" | "all">;
|
4483
3803
|
default: string;
|
4484
3804
|
};
|
4485
3805
|
modelValue: {
|
@@ -4491,7 +3811,7 @@ declare const VDataTableServer: {
|
|
4491
3811
|
default: typeof deepEqual;
|
4492
3812
|
};
|
4493
3813
|
items: {
|
4494
|
-
type: vue.PropType<
|
3814
|
+
type: vue.PropType<DataTableItemProps["items"]>;
|
4495
3815
|
default: () => never[];
|
4496
3816
|
};
|
4497
3817
|
itemValue: {
|
@@ -4505,51 +3825,7 @@ declare const VDataTableServer: {
|
|
4505
3825
|
rowProps: vue.PropType<RowProps<any>>;
|
4506
3826
|
cellProps: vue.PropType<CellProps<any>>;
|
4507
3827
|
returnObject: BooleanConstructor;
|
4508
|
-
headers: vue.PropType<
|
4509
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
4510
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
4511
|
-
readonly title?: string | undefined;
|
4512
|
-
readonly fixed?: boolean | undefined;
|
4513
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
4514
|
-
readonly width?: string | number | undefined;
|
4515
|
-
readonly minWidth?: string | undefined;
|
4516
|
-
readonly maxWidth?: string | undefined;
|
4517
|
-
readonly nowrap?: boolean | undefined;
|
4518
|
-
readonly headerProps?: {
|
4519
|
-
readonly [x: string]: any;
|
4520
|
-
} | undefined;
|
4521
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
4522
|
-
readonly [x: string]: any;
|
4523
|
-
} | undefined;
|
4524
|
-
readonly sortable?: boolean | undefined;
|
4525
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
4526
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
4527
|
-
readonly filter?: FilterFunction | undefined;
|
4528
|
-
readonly mobile?: boolean | undefined;
|
4529
|
-
readonly children?: readonly {
|
4530
|
-
readonly key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
|
4531
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
4532
|
-
readonly title?: string | undefined;
|
4533
|
-
readonly fixed?: boolean | undefined;
|
4534
|
-
readonly align?: "center" | "end" | "start" | undefined;
|
4535
|
-
readonly width?: string | number | undefined;
|
4536
|
-
readonly minWidth?: string | undefined;
|
4537
|
-
readonly maxWidth?: string | undefined;
|
4538
|
-
readonly nowrap?: boolean | undefined;
|
4539
|
-
readonly headerProps?: {
|
4540
|
-
readonly [x: string]: any;
|
4541
|
-
} | undefined;
|
4542
|
-
readonly cellProps?: ((data: Pick<ItemKeySlot<any>, "index" | "item" | "value" | "internalItem">) => Record<string, any>) | {
|
4543
|
-
readonly [x: string]: any;
|
4544
|
-
} | undefined;
|
4545
|
-
readonly sortable?: boolean | undefined;
|
4546
|
-
readonly sort?: DataTableCompareFunction<any> | undefined;
|
4547
|
-
readonly sortRaw?: DataTableCompareFunction<any> | undefined;
|
4548
|
-
readonly filter?: FilterFunction | undefined;
|
4549
|
-
readonly mobile?: boolean | undefined;
|
4550
|
-
readonly children?: readonly any[] | undefined;
|
4551
|
-
}[] | undefined;
|
4552
|
-
}[]>;
|
3828
|
+
headers: vue.PropType<vue.DeepReadonly<DataTableHeader[]>>;
|
4553
3829
|
groupBy: {
|
4554
3830
|
type: vue.PropType<readonly SortItem[]>;
|
4555
3831
|
default: () => never[];
|