@vuetify/nightly 3.9.3-dev.2025-07-31 → 3.9.3-dev.2025-08-01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -3
- package/dist/json/attributes.json +3665 -3589
- package/dist/json/importMap-labs.json +26 -26
- package/dist/json/importMap.json +172 -172
- package/dist/json/tags.json +19 -0
- package/dist/json/web-types.json +7396 -7206
- package/dist/vuetify-labs.cjs +70 -20
- package/dist/vuetify-labs.css +5522 -5516
- package/dist/vuetify-labs.d.ts +330 -63
- package/dist/vuetify-labs.esm.js +70 -20
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +70 -20
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +70 -20
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3671 -3665
- package/dist/vuetify.d.ts +330 -63
- package/dist/vuetify.esm.js +70 -20
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +70 -20
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +239 -236
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.css +7 -1
- package/lib/components/VDataTable/VDataTable.d.ts +164 -0
- package/lib/components/VDataTable/VDataTable.sass +4 -1
- package/lib/components/VDataTable/VDataTableColumn.d.ts +4 -1
- package/lib/components/VDataTable/VDataTableColumn.js +6 -2
- package/lib/components/VDataTable/VDataTableColumn.js.map +1 -1
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.d.ts +57 -3
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js +27 -12
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.js +3 -0
- package/lib/components/VDataTable/VDataTableHeaders.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRow.d.ts +51 -0
- package/lib/components/VDataTable/VDataTableRow.js +17 -4
- package/lib/components/VDataTable/VDataTableRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRows.d.ts +100 -0
- package/lib/components/VDataTable/VDataTableRows.js +9 -4
- package/lib/components/VDataTable/VDataTableRows.js.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.d.ts +110 -0
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +110 -0
- package/lib/components/VDataTable/composables/headers.d.ts +14 -0
- package/lib/components/VDataTable/types.d.ts +1 -0
- package/lib/components/VDataTable/types.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.d.ts +25 -0
- package/lib/components/VFileInput/VFileInput.js +11 -1
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +64 -63
- package/lib/framework.js +1 -1
- package/lib/iconsets/fa.js +2 -0
- package/lib/iconsets/fa.js.map +1 -1
- package/lib/iconsets/fa4.js +2 -0
- package/lib/iconsets/fa4.js.map +1 -1
- package/lib/iconsets/md.js +2 -0
- package/lib/iconsets/md.js.map +1 -1
- package/lib/iconsets/mdi-svg.js +2 -0
- package/lib/iconsets/mdi-svg.js.map +1 -1
- package/lib/iconsets/mdi.js +2 -0
- package/lib/iconsets/mdi.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,10 @@ export type VDataTableRowsSlots<T> = VDataTableGroupHeaderRowSlots & VDataTableR
|
|
|
16
16
|
export declare const makeVDataTableRowsProps: <Defaults extends {
|
|
17
17
|
mobile?: unknown;
|
|
18
18
|
mobileBreakpoint?: unknown;
|
|
19
|
+
groupCollapseIcon?: unknown;
|
|
20
|
+
groupExpandIcon?: unknown;
|
|
21
|
+
collapseIcon?: unknown;
|
|
22
|
+
expandIcon?: unknown;
|
|
19
23
|
loading?: unknown;
|
|
20
24
|
loadingText?: unknown;
|
|
21
25
|
hideNoData?: unknown;
|
|
@@ -38,6 +42,46 @@ export declare const makeVDataTableRowsProps: <Defaults extends {
|
|
|
38
42
|
type: PropType<unknown extends Defaults["mobileBreakpoint"] ? number | import("../../composables/display.js").DisplayBreakpoint : number | import("../../composables/display.js").DisplayBreakpoint | Defaults["mobileBreakpoint"]>;
|
|
39
43
|
default: unknown extends Defaults["mobileBreakpoint"] ? number | import("../../composables/display.js").DisplayBreakpoint : NonNullable<number | import("../../composables/display.js").DisplayBreakpoint> | Defaults["mobileBreakpoint"];
|
|
40
44
|
};
|
|
45
|
+
groupCollapseIcon: unknown extends Defaults["groupCollapseIcon"] ? {
|
|
46
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
47
|
+
default: string;
|
|
48
|
+
} : Omit<{
|
|
49
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
50
|
+
default: string;
|
|
51
|
+
}, "type" | "default"> & {
|
|
52
|
+
type: PropType<unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupCollapseIcon"]>;
|
|
53
|
+
default: unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupCollapseIcon"];
|
|
54
|
+
};
|
|
55
|
+
groupExpandIcon: unknown extends Defaults["groupExpandIcon"] ? {
|
|
56
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
57
|
+
default: string;
|
|
58
|
+
} : Omit<{
|
|
59
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
60
|
+
default: string;
|
|
61
|
+
}, "type" | "default"> & {
|
|
62
|
+
type: PropType<unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupExpandIcon"]>;
|
|
63
|
+
default: unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupExpandIcon"];
|
|
64
|
+
};
|
|
65
|
+
collapseIcon: unknown extends Defaults["collapseIcon"] ? {
|
|
66
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
67
|
+
default: string;
|
|
68
|
+
} : Omit<{
|
|
69
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
70
|
+
default: string;
|
|
71
|
+
}, "type" | "default"> & {
|
|
72
|
+
type: PropType<unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["collapseIcon"]>;
|
|
73
|
+
default: unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["collapseIcon"];
|
|
74
|
+
};
|
|
75
|
+
expandIcon: unknown extends Defaults["expandIcon"] ? {
|
|
76
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
77
|
+
default: string;
|
|
78
|
+
} : Omit<{
|
|
79
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
80
|
+
default: string;
|
|
81
|
+
}, "type" | "default"> & {
|
|
82
|
+
type: PropType<unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["expandIcon"]>;
|
|
83
|
+
default: unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["expandIcon"];
|
|
84
|
+
};
|
|
41
85
|
loading: unknown extends Defaults["loading"] ? (StringConstructor | BooleanConstructor)[] : {
|
|
42
86
|
type: PropType<unknown extends Defaults["loading"] ? string | boolean : string | boolean | Defaults["loading"]>;
|
|
43
87
|
default: unknown extends Defaults["loading"] ? string | boolean : NonNullable<string | boolean> | Defaults["loading"];
|
|
@@ -90,7 +134,11 @@ export declare const VDataTableRows: {
|
|
|
90
134
|
mobile: boolean | null;
|
|
91
135
|
noDataText: string;
|
|
92
136
|
loadingText: string;
|
|
137
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
138
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
93
139
|
hideNoData: boolean;
|
|
140
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
141
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
94
142
|
} & {
|
|
95
143
|
loading?: string | boolean | undefined;
|
|
96
144
|
mobileBreakpoint?: number | import("../../composables/display.js").DisplayBreakpoint | undefined;
|
|
@@ -100,7 +148,11 @@ export declare const VDataTableRows: {
|
|
|
100
148
|
mobile: boolean | null;
|
|
101
149
|
noDataText: string;
|
|
102
150
|
loadingText: string;
|
|
151
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
152
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
103
153
|
hideNoData: boolean;
|
|
154
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
155
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
104
156
|
}, true, {}, import("vue").SlotsType<Partial<{
|
|
105
157
|
[x: `item.${string}`]: (arg: import("./types.js").ItemKeySlot<unknown>) => import("vue").VNode[];
|
|
106
158
|
[x: `header.${string}`]: (arg: import("./VDataTableHeaders.js").VDataTableHeaderCellColumnSlotProps) => import("vue").VNode[];
|
|
@@ -144,7 +196,11 @@ export declare const VDataTableRows: {
|
|
|
144
196
|
mobile: boolean | null;
|
|
145
197
|
noDataText: string;
|
|
146
198
|
loadingText: string;
|
|
199
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
200
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
147
201
|
hideNoData: boolean;
|
|
202
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
203
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
148
204
|
} & {
|
|
149
205
|
loading?: string | boolean | undefined;
|
|
150
206
|
mobileBreakpoint?: number | import("../../composables/display.js").DisplayBreakpoint | undefined;
|
|
@@ -154,7 +210,11 @@ export declare const VDataTableRows: {
|
|
|
154
210
|
mobile: boolean | null;
|
|
155
211
|
noDataText: string;
|
|
156
212
|
loadingText: string;
|
|
213
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
214
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
157
215
|
hideNoData: boolean;
|
|
216
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
217
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
158
218
|
}>;
|
|
159
219
|
__isFragment?: never;
|
|
160
220
|
__isTeleport?: never;
|
|
@@ -163,7 +223,11 @@ export declare const VDataTableRows: {
|
|
|
163
223
|
mobile: boolean | null;
|
|
164
224
|
noDataText: string;
|
|
165
225
|
loadingText: string;
|
|
226
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
227
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
166
228
|
hideNoData: boolean;
|
|
229
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
230
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
167
231
|
} & {
|
|
168
232
|
loading?: string | boolean | undefined;
|
|
169
233
|
mobileBreakpoint?: number | import("../../composables/display.js").DisplayBreakpoint | undefined;
|
|
@@ -173,7 +237,11 @@ export declare const VDataTableRows: {
|
|
|
173
237
|
mobile: boolean | null;
|
|
174
238
|
noDataText: string;
|
|
175
239
|
loadingText: string;
|
|
240
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
241
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
176
242
|
hideNoData: boolean;
|
|
243
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
244
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
177
245
|
}, {}, string, import("vue").SlotsType<Partial<{
|
|
178
246
|
[x: `item.${string}`]: (arg: import("./types.js").ItemKeySlot<unknown>) => import("vue").VNode[];
|
|
179
247
|
[x: `header.${string}`]: (arg: import("./VDataTableHeaders.js").VDataTableHeaderCellColumnSlotProps) => import("vue").VNode[];
|
|
@@ -214,6 +282,22 @@ export declare const VDataTableRows: {
|
|
|
214
282
|
default: boolean;
|
|
215
283
|
};
|
|
216
284
|
mobileBreakpoint: PropType<number | import("../../composables/display.js").DisplayBreakpoint>;
|
|
285
|
+
groupCollapseIcon: {
|
|
286
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
287
|
+
default: string;
|
|
288
|
+
};
|
|
289
|
+
groupExpandIcon: {
|
|
290
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
291
|
+
default: string;
|
|
292
|
+
};
|
|
293
|
+
collapseIcon: {
|
|
294
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
295
|
+
default: string;
|
|
296
|
+
};
|
|
297
|
+
expandIcon: {
|
|
298
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
299
|
+
default: string;
|
|
300
|
+
};
|
|
217
301
|
loading: (StringConstructor | BooleanConstructor)[];
|
|
218
302
|
loadingText: {
|
|
219
303
|
type: StringConstructor;
|
|
@@ -236,6 +320,22 @@ export declare const VDataTableRows: {
|
|
|
236
320
|
default: boolean;
|
|
237
321
|
};
|
|
238
322
|
mobileBreakpoint: PropType<number | import("../../composables/display.js").DisplayBreakpoint>;
|
|
323
|
+
groupCollapseIcon: {
|
|
324
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
325
|
+
default: string;
|
|
326
|
+
};
|
|
327
|
+
groupExpandIcon: {
|
|
328
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
329
|
+
default: string;
|
|
330
|
+
};
|
|
331
|
+
collapseIcon: {
|
|
332
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
335
|
+
expandIcon: {
|
|
336
|
+
type: PropType<import("../../composables/icons.js").IconValue>;
|
|
337
|
+
default: string;
|
|
338
|
+
};
|
|
239
339
|
loading: (StringConstructor | BooleanConstructor)[];
|
|
240
340
|
loadingText: {
|
|
241
341
|
type: StringConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElementVNode as _createElementVNode, Fragment as _Fragment, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
2
2
|
// Components
|
|
3
|
-
import { VDataTableGroupHeaderRow } from "./VDataTableGroupHeaderRow.js";
|
|
4
|
-
import { VDataTableRow } from "./VDataTableRow.js"; // Composables
|
|
3
|
+
import { makeVDataTableGroupHeaderRowProps, VDataTableGroupHeaderRow } from "./VDataTableGroupHeaderRow.js";
|
|
4
|
+
import { makeVDataTableRowProps, VDataTableRow } from "./VDataTableRow.js"; // Composables
|
|
5
5
|
import { useExpanded } from "./composables/expand.js";
|
|
6
6
|
import { useGroupBy } from "./composables/group.js";
|
|
7
7
|
import { useHeaders } from "./composables/headers.js";
|
|
@@ -9,7 +9,7 @@ import { useSelection } from "./composables/select.js";
|
|
|
9
9
|
import { makeDisplayProps, useDisplay } from "../../composables/display.js";
|
|
10
10
|
import { useLocale } from "../../composables/locale.js"; // Utilities
|
|
11
11
|
import { Fragment, mergeProps } from 'vue';
|
|
12
|
-
import { genericComponent, getPrefixedEventHandlers, propsFactory, useRender } from "../../util/index.js"; // Types
|
|
12
|
+
import { genericComponent, getPrefixedEventHandlers, pick, propsFactory, useRender } from "../../util/index.js"; // Types
|
|
13
13
|
export const makeVDataTableRowsProps = propsFactory({
|
|
14
14
|
loading: [Boolean, String],
|
|
15
15
|
loadingText: {
|
|
@@ -27,6 +27,8 @@ export const makeVDataTableRowsProps = propsFactory({
|
|
|
27
27
|
},
|
|
28
28
|
rowProps: [Object, Function],
|
|
29
29
|
cellProps: [Object, Function],
|
|
30
|
+
...pick(makeVDataTableRowProps(), ['collapseIcon', 'expandIcon']),
|
|
31
|
+
...pick(makeVDataTableGroupHeaderRowProps(), ['groupCollapseIcon', 'groupExpandIcon']),
|
|
30
32
|
...makeDisplayProps()
|
|
31
33
|
}, 'VDataTableRows');
|
|
32
34
|
export const VDataTableRows = genericComponent()({
|
|
@@ -61,6 +63,7 @@ export const VDataTableRows = genericComponent()({
|
|
|
61
63
|
mobile
|
|
62
64
|
} = useDisplay(props);
|
|
63
65
|
useRender(() => {
|
|
66
|
+
const groupHeaderRowProps = pick(props, ['groupCollapseIcon', 'groupExpandIcon']);
|
|
64
67
|
if (props.loading && (!props.items.length || slots.loading)) {
|
|
65
68
|
return _createElementVNode("tr", {
|
|
66
69
|
"class": "v-data-table-rows-loading",
|
|
@@ -93,7 +96,7 @@ export const VDataTableRows = genericComponent()({
|
|
|
93
96
|
return slots['group-header'] ? slots['group-header'](slotProps) : _createVNode(VDataTableGroupHeaderRow, _mergeProps({
|
|
94
97
|
"key": `group-header_${item.id}`,
|
|
95
98
|
"item": item
|
|
96
|
-
}, getPrefixedEventHandlers(attrs, ':group-header', () => slotProps)), slots);
|
|
99
|
+
}, getPrefixedEventHandlers(attrs, ':group-header', () => slotProps), groupHeaderRowProps), slots);
|
|
97
100
|
}
|
|
98
101
|
const slotProps = {
|
|
99
102
|
index,
|
|
@@ -115,6 +118,8 @@ export const VDataTableRows = genericComponent()({
|
|
|
115
118
|
index,
|
|
116
119
|
item,
|
|
117
120
|
cellProps: props.cellProps,
|
|
121
|
+
collapseIcon: props.collapseIcon,
|
|
122
|
+
expandIcon: props.expandIcon,
|
|
118
123
|
mobile: mobile.value
|
|
119
124
|
}, getPrefixedEventHandlers(attrs, ':row', () => slotProps), typeof props.rowProps === 'function' ? props.rowProps({
|
|
120
125
|
item: slotProps.item,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VDataTableRows.js","names":["VDataTableGroupHeaderRow","VDataTableRow","useExpanded","useGroupBy","useHeaders","useSelection","makeDisplayProps","useDisplay","useLocale","Fragment","mergeProps","genericComponent","getPrefixedEventHandlers","propsFactory","useRender","makeVDataTableRowsProps","loading","Boolean","String","loadingText","type","default","hideNoData","items","Array","noDataText","rowProps","Object","Function","cellProps","VDataTableRows","name","inheritAttrs","props","setup","_ref","attrs","slots","columns","expandOnClick","toggleExpand","isExpanded","isSelected","toggleSelect","toggleGroup","isGroupOpen","t","mobile","length","_createElementVNode","value","_Fragment","map","item","index","slotProps","_createVNode","_mergeProps","id","raw","internalItem","itemSlotProps","key","onClick","undefined"],"sources":["../../../src/components/VDataTable/VDataTableRows.tsx"],"sourcesContent":["// Components\nimport { VDataTableGroupHeaderRow } from './VDataTableGroupHeaderRow'\nimport { VDataTableRow } from './VDataTableRow'\n\n// Composables\nimport { useExpanded } from './composables/expand'\nimport { useGroupBy } from './composables/group'\nimport { useHeaders } from './composables/headers'\nimport { useSelection } from './composables/select'\nimport { makeDisplayProps, useDisplay } from '@/composables/display'\nimport { useLocale } from '@/composables/locale'\n\n// Utilities\nimport { Fragment, mergeProps } from 'vue'\nimport { genericComponent, getPrefixedEventHandlers, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { Group } from './composables/group'\nimport type { CellProps, DataTableItem, GroupHeaderSlot, ItemSlot, RowProps } from './types'\nimport type { VDataTableGroupHeaderRowSlots } from './VDataTableGroupHeaderRow'\nimport type { VDataTableRowSlots } from './VDataTableRow'\nimport type { GenericProps } from '@/util'\n\nexport type VDataTableRowsSlots<T> = VDataTableGroupHeaderRowSlots & VDataTableRowSlots<T> & {\n item: ItemSlot<T> & { props: Record<string, any> }\n loading: never\n 'group-header': GroupHeaderSlot\n 'no-data': never\n 'expanded-row': ItemSlot<T>\n}\n\nexport const makeVDataTableRowsProps = propsFactory({\n loading: [Boolean, String],\n loadingText: {\n type: String,\n default: '$vuetify.dataIterator.loadingText',\n },\n hideNoData: Boolean,\n items: {\n type: Array as PropType<readonly (DataTableItem | Group)[]>,\n default: () => ([]),\n },\n noDataText: {\n type: String,\n default: '$vuetify.noDataText',\n },\n rowProps: [Object, Function] as PropType<RowProps<any>>,\n cellProps: [Object, Function] as PropType<CellProps<any>>,\n\n ...makeDisplayProps(),\n}, 'VDataTableRows')\n\nexport const VDataTableRows = genericComponent<new <T>(\n props: {\n items?: readonly (DataTableItem<T> | Group<T>)[]\n },\n slots: VDataTableRowsSlots<T>,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDataTableRows',\n\n inheritAttrs: false,\n\n props: makeVDataTableRowsProps(),\n\n setup (props, { attrs, slots }) {\n const { columns } = useHeaders()\n const { expandOnClick, toggleExpand, isExpanded } = useExpanded()\n const { isSelected, toggleSelect } = useSelection()\n const { toggleGroup, isGroupOpen } = useGroupBy()\n const { t } = useLocale()\n const { mobile } = useDisplay(props)\n\n useRender(() => {\n if (props.loading && (!props.items.length || slots.loading)) {\n return (\n <tr\n class=\"v-data-table-rows-loading\"\n key=\"loading\"\n >\n <td colspan={ columns.value.length }>\n { slots.loading?.() ?? t(props.loadingText) }\n </td>\n </tr>\n )\n }\n\n if (!props.loading && !props.items.length && !props.hideNoData) {\n return (\n <tr\n class=\"v-data-table-rows-no-data\"\n key=\"no-data\"\n >\n <td colspan={ columns.value.length }>\n { slots['no-data']?.() ?? t(props.noDataText) }\n </td>\n </tr>\n )\n }\n\n return (\n <>\n { props.items.map((item, index) => {\n if (item.type === 'group') {\n const slotProps = {\n index,\n item,\n columns: columns.value,\n isExpanded,\n toggleExpand,\n isSelected,\n toggleSelect,\n toggleGroup,\n isGroupOpen,\n } satisfies GroupHeaderSlot\n\n return slots['group-header'] ? slots['group-header'](slotProps) : (\n <VDataTableGroupHeaderRow\n key={ `group-header_${item.id}` }\n item={ item }\n { ...getPrefixedEventHandlers(attrs, ':group-header', () => slotProps) }\n v-slots={ slots }\n />\n )\n }\n\n const slotProps = {\n index,\n item: item.raw,\n internalItem: item,\n columns: columns.value,\n isExpanded,\n toggleExpand,\n isSelected,\n toggleSelect,\n } satisfies ItemSlot<any>\n\n const itemSlotProps = {\n ...slotProps,\n props: mergeProps(\n {\n key: `item_${item.key ?? item.index}`,\n onClick: expandOnClick.value ? () => {\n toggleExpand(item)\n } : undefined,\n index,\n item,\n cellProps: props.cellProps,\n mobile: mobile.value,\n },\n getPrefixedEventHandlers(attrs, ':row', () => slotProps),\n typeof props.rowProps === 'function'\n ? props.rowProps({\n item: slotProps.item,\n index: slotProps.index,\n internalItem: slotProps.internalItem,\n })\n : props.rowProps,\n ),\n }\n\n return (\n <Fragment key={ itemSlotProps.props.key as string }>\n { slots.item ? slots.item(itemSlotProps) : (\n <VDataTableRow\n { ...itemSlotProps.props }\n v-slots={ slots }\n />\n )}\n\n { isExpanded(item) && slots['expanded-row']?.(slotProps) }\n </Fragment>\n )\n })}\n </>\n )\n })\n\n return {}\n },\n})\n\nexport type VDataTableRows = InstanceType<typeof VDataTableRows>\n"],"mappings":";AAAA;AAAA,SACSA,wBAAwB;AAAA,SACxBC,aAAa,8BAEtB;AAAA,SACSC,WAAW;AAAA,SACXC,UAAU;AAAA,SACVC,UAAU;AAAA,SACVC,YAAY;AAAA,SACZC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,SAAS,uCAElB;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,gBAAgB,EAAEC,wBAAwB,EAAEC,YAAY,EAAEC,SAAS,+BAE5E;AAgBA,OAAO,MAAMC,uBAAuB,GAAGF,YAAY,CAAC;EAClDG,OAAO,EAAE,CAACC,OAAO,EAAEC,MAAM,CAAC;EAC1BC,WAAW,EAAE;IACXC,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAEL,OAAO;EACnBM,KAAK,EAAE;IACLH,IAAI,EAAEI,KAAqD;IAC3DH,OAAO,EAAEA,CAAA,KAAO;EAClB,CAAC;EACDI,UAAU,EAAE;IACVL,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX,CAAC;EACDK,QAAQ,EAAE,CAACC,MAAM,EAAEC,QAAQ,CAA4B;EACvDC,SAAS,EAAE,CAACF,MAAM,EAAEC,QAAQ,CAA6B;EAEzD,GAAGtB,gBAAgB,CAAC;AACtB,CAAC,EAAE,gBAAgB,CAAC;AAEpB,OAAO,MAAMwB,cAAc,GAAGnB,gBAAgB,CAKC,CAAC,CAAC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DtC,wBAAwB,CAACwB,KAAK,EAAE,MAAM,EAAE,MAAMmB,SAAS,CAAC,EACxD,OAAOtB,KAAK,CAACP,QAAQ,KAAK,UAAU,GAChCO,KAAK,CAACP,QAAQ,CAAC;YACf2B,IAAI,EAAEE,SAAS,CAACF,IAAI;YACpBC,KAAK,EAAEC,SAAS,CAACD,KAAK;YACtBM,YAAY,EAAEL,SAAS,CAACK;UAC1B,CAAC,CAAC,GACA3B,KAAK,CAACP,QACZ;QACF,CAAC;QAED,OAAAuB,mBAAA,CAAAE,SAAA;UAAA,OACkBU,aAAa,CAAC5B,KAAK,CAAC6B;QAAG,IACnCzB,KAAK,CAACgB,IAAI,GAAGhB,KAAK,CAACgB,IAAI,CAACQ,aAAa,CAAC,GAAAL,YAAA,CAAAvD,aAAA,EAE/B4D,aAAa,CAAC5B,KAAK,EACdI,KAAK,CAElB,EAECI,UAAU,CAACY,IAAI,CAAC,IAAIhB,KAAK,CAAC,cAAc,CAAC,GAAGkB,SAAS,CAAC;MAG9D,CAAC,CAAC;IAGR,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"VDataTableRows.js","names":["makeVDataTableGroupHeaderRowProps","VDataTableGroupHeaderRow","makeVDataTableRowProps","VDataTableRow","useExpanded","useGroupBy","useHeaders","useSelection","makeDisplayProps","useDisplay","useLocale","Fragment","mergeProps","genericComponent","getPrefixedEventHandlers","pick","propsFactory","useRender","makeVDataTableRowsProps","loading","Boolean","String","loadingText","type","default","hideNoData","items","Array","noDataText","rowProps","Object","Function","cellProps","VDataTableRows","name","inheritAttrs","props","setup","_ref","attrs","slots","columns","expandOnClick","toggleExpand","isExpanded","isSelected","toggleSelect","toggleGroup","isGroupOpen","t","mobile","groupHeaderRowProps","length","_createElementVNode","value","_Fragment","map","item","index","slotProps","_createVNode","_mergeProps","id","raw","internalItem","itemSlotProps","key","onClick","undefined","collapseIcon","expandIcon"],"sources":["../../../src/components/VDataTable/VDataTableRows.tsx"],"sourcesContent":["// Components\nimport { makeVDataTableGroupHeaderRowProps, VDataTableGroupHeaderRow } from './VDataTableGroupHeaderRow'\nimport { makeVDataTableRowProps, VDataTableRow } from './VDataTableRow'\n\n// Composables\nimport { useExpanded } from './composables/expand'\nimport { useGroupBy } from './composables/group'\nimport { useHeaders } from './composables/headers'\nimport { useSelection } from './composables/select'\nimport { makeDisplayProps, useDisplay } from '@/composables/display'\nimport { useLocale } from '@/composables/locale'\n\n// Utilities\nimport { Fragment, mergeProps } from 'vue'\nimport { genericComponent, getPrefixedEventHandlers, pick, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { Group } from './composables/group'\nimport type { CellProps, DataTableItem, GroupHeaderSlot, ItemSlot, RowProps } from './types'\nimport type { VDataTableGroupHeaderRowSlots } from './VDataTableGroupHeaderRow'\nimport type { VDataTableRowSlots } from './VDataTableRow'\nimport type { GenericProps } from '@/util'\n\nexport type VDataTableRowsSlots<T> = VDataTableGroupHeaderRowSlots & VDataTableRowSlots<T> & {\n item: ItemSlot<T> & { props: Record<string, any> }\n loading: never\n 'group-header': GroupHeaderSlot\n 'no-data': never\n 'expanded-row': ItemSlot<T>\n}\n\nexport const makeVDataTableRowsProps = propsFactory({\n loading: [Boolean, String],\n loadingText: {\n type: String,\n default: '$vuetify.dataIterator.loadingText',\n },\n hideNoData: Boolean,\n items: {\n type: Array as PropType<readonly (DataTableItem | Group)[]>,\n default: () => ([]),\n },\n noDataText: {\n type: String,\n default: '$vuetify.noDataText',\n },\n rowProps: [Object, Function] as PropType<RowProps<any>>,\n cellProps: [Object, Function] as PropType<CellProps<any>>,\n\n ...pick(makeVDataTableRowProps(), ['collapseIcon', 'expandIcon']),\n ...pick(makeVDataTableGroupHeaderRowProps(), ['groupCollapseIcon', 'groupExpandIcon']),\n ...makeDisplayProps(),\n}, 'VDataTableRows')\n\nexport const VDataTableRows = genericComponent<new <T>(\n props: {\n items?: readonly (DataTableItem<T> | Group<T>)[]\n },\n slots: VDataTableRowsSlots<T>,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDataTableRows',\n\n inheritAttrs: false,\n\n props: makeVDataTableRowsProps(),\n\n setup (props, { attrs, slots }) {\n const { columns } = useHeaders()\n const { expandOnClick, toggleExpand, isExpanded } = useExpanded()\n const { isSelected, toggleSelect } = useSelection()\n const { toggleGroup, isGroupOpen } = useGroupBy()\n const { t } = useLocale()\n const { mobile } = useDisplay(props)\n\n useRender(() => {\n const groupHeaderRowProps = pick(props, ['groupCollapseIcon', 'groupExpandIcon'])\n\n if (props.loading && (!props.items.length || slots.loading)) {\n return (\n <tr\n class=\"v-data-table-rows-loading\"\n key=\"loading\"\n >\n <td colspan={ columns.value.length }>\n { slots.loading?.() ?? t(props.loadingText) }\n </td>\n </tr>\n )\n }\n\n if (!props.loading && !props.items.length && !props.hideNoData) {\n return (\n <tr\n class=\"v-data-table-rows-no-data\"\n key=\"no-data\"\n >\n <td colspan={ columns.value.length }>\n { slots['no-data']?.() ?? t(props.noDataText) }\n </td>\n </tr>\n )\n }\n\n return (\n <>\n { props.items.map((item, index) => {\n if (item.type === 'group') {\n const slotProps = {\n index,\n item,\n columns: columns.value,\n isExpanded,\n toggleExpand,\n isSelected,\n toggleSelect,\n toggleGroup,\n isGroupOpen,\n } satisfies GroupHeaderSlot\n\n return slots['group-header'] ? slots['group-header'](slotProps) : (\n <VDataTableGroupHeaderRow\n key={ `group-header_${item.id}` }\n item={ item }\n { ...getPrefixedEventHandlers(attrs, ':group-header', () => slotProps) }\n { ...groupHeaderRowProps }\n v-slots={ slots }\n />\n )\n }\n\n const slotProps = {\n index,\n item: item.raw,\n internalItem: item,\n columns: columns.value,\n isExpanded,\n toggleExpand,\n isSelected,\n toggleSelect,\n } satisfies ItemSlot<any>\n\n const itemSlotProps = {\n ...slotProps,\n props: mergeProps(\n {\n key: `item_${item.key ?? item.index}`,\n onClick: expandOnClick.value ? () => {\n toggleExpand(item)\n } : undefined,\n index,\n item,\n cellProps: props.cellProps,\n collapseIcon: props.collapseIcon,\n expandIcon: props.expandIcon,\n mobile: mobile.value,\n },\n getPrefixedEventHandlers(attrs, ':row', () => slotProps),\n typeof props.rowProps === 'function'\n ? props.rowProps({\n item: slotProps.item,\n index: slotProps.index,\n internalItem: slotProps.internalItem,\n })\n : props.rowProps,\n ),\n }\n\n return (\n <Fragment key={ itemSlotProps.props.key as string }>\n { slots.item ? slots.item(itemSlotProps) : (\n <VDataTableRow\n { ...itemSlotProps.props }\n v-slots={ slots }\n />\n )}\n\n { isExpanded(item) && slots['expanded-row']?.(slotProps) }\n </Fragment>\n )\n })}\n </>\n )\n })\n\n return {}\n },\n})\n\nexport type VDataTableRows = InstanceType<typeof VDataTableRows>\n"],"mappings":";AAAA;AAAA,SACSA,iCAAiC,EAAEC,wBAAwB;AAAA,SAC3DC,sBAAsB,EAAEC,aAAa,8BAE9C;AAAA,SACSC,WAAW;AAAA,SACXC,UAAU;AAAA,SACVC,UAAU;AAAA,SACVC,YAAY;AAAA,SACZC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,SAAS,uCAElB;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,gBAAgB,EAAEC,wBAAwB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,+BAElF;AAgBA,OAAO,MAAMC,uBAAuB,GAAGF,YAAY,CAAC;EAClDG,OAAO,EAAE,CAACC,OAAO,EAAEC,MAAM,CAAC;EAC1BC,WAAW,EAAE;IACXC,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAEL,OAAO;EACnBM,KAAK,EAAE;IACLH,IAAI,EAAEI,KAAqD;IAC3DH,OAAO,EAAEA,CAAA,KAAO;EAClB,CAAC;EACDI,UAAU,EAAE;IACVL,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX,CAAC;EACDK,QAAQ,EAAE,CAACC,MAAM,EA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AAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -60,6 +60,10 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
60
60
|
hideDefaultHeader?: unknown;
|
|
61
61
|
width?: unknown;
|
|
62
62
|
search?: unknown;
|
|
63
|
+
groupCollapseIcon?: unknown;
|
|
64
|
+
groupExpandIcon?: unknown;
|
|
65
|
+
collapseIcon?: unknown;
|
|
66
|
+
expandIcon?: unknown;
|
|
63
67
|
loadingText?: unknown;
|
|
64
68
|
hideNoData?: unknown;
|
|
65
69
|
noDataText?: unknown;
|
|
@@ -439,6 +443,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
439
443
|
readonly minWidth?: number | string | undefined;
|
|
440
444
|
readonly maxWidth?: number | string | undefined;
|
|
441
445
|
readonly nowrap?: boolean | undefined;
|
|
446
|
+
readonly intent?: number | undefined;
|
|
442
447
|
readonly headerProps?: {
|
|
443
448
|
readonly [x: string]: any;
|
|
444
449
|
} | undefined;
|
|
@@ -459,6 +464,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
459
464
|
readonly minWidth?: number | string | undefined;
|
|
460
465
|
readonly maxWidth?: number | string | undefined;
|
|
461
466
|
readonly nowrap?: boolean | undefined;
|
|
467
|
+
readonly intent?: number | undefined;
|
|
462
468
|
readonly headerProps?: {
|
|
463
469
|
readonly [x: string]: any;
|
|
464
470
|
} | undefined;
|
|
@@ -482,6 +488,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
482
488
|
readonly minWidth?: number | string | undefined;
|
|
483
489
|
readonly maxWidth?: number | string | undefined;
|
|
484
490
|
readonly nowrap?: boolean | undefined;
|
|
491
|
+
readonly intent?: number | undefined;
|
|
485
492
|
readonly headerProps?: {
|
|
486
493
|
readonly [x: string]: any;
|
|
487
494
|
} | undefined;
|
|
@@ -502,6 +509,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
502
509
|
readonly minWidth?: number | string | undefined;
|
|
503
510
|
readonly maxWidth?: number | string | undefined;
|
|
504
511
|
readonly nowrap?: boolean | undefined;
|
|
512
|
+
readonly intent?: number | undefined;
|
|
505
513
|
readonly headerProps?: {
|
|
506
514
|
readonly [x: string]: any;
|
|
507
515
|
} | undefined;
|
|
@@ -524,6 +532,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
524
532
|
readonly minWidth?: number | string | undefined;
|
|
525
533
|
readonly maxWidth?: number | string | undefined;
|
|
526
534
|
readonly nowrap?: boolean | undefined;
|
|
535
|
+
readonly intent?: number | undefined;
|
|
527
536
|
readonly headerProps?: {
|
|
528
537
|
readonly [x: string]: any;
|
|
529
538
|
} | undefined;
|
|
@@ -544,6 +553,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
544
553
|
readonly minWidth?: number | string | undefined;
|
|
545
554
|
readonly maxWidth?: number | string | undefined;
|
|
546
555
|
readonly nowrap?: boolean | undefined;
|
|
556
|
+
readonly intent?: number | undefined;
|
|
547
557
|
readonly headerProps?: {
|
|
548
558
|
readonly [x: string]: any;
|
|
549
559
|
} | undefined;
|
|
@@ -567,6 +577,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
567
577
|
readonly minWidth?: number | string | undefined;
|
|
568
578
|
readonly maxWidth?: number | string | undefined;
|
|
569
579
|
readonly nowrap?: boolean | undefined;
|
|
580
|
+
readonly intent?: number | undefined;
|
|
570
581
|
readonly headerProps?: {
|
|
571
582
|
readonly [x: string]: any;
|
|
572
583
|
} | undefined;
|
|
@@ -587,6 +598,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
587
598
|
readonly minWidth?: number | string | undefined;
|
|
588
599
|
readonly maxWidth?: number | string | undefined;
|
|
589
600
|
readonly nowrap?: boolean | undefined;
|
|
601
|
+
readonly intent?: number | undefined;
|
|
590
602
|
readonly headerProps?: {
|
|
591
603
|
readonly [x: string]: any;
|
|
592
604
|
} | undefined;
|
|
@@ -609,6 +621,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
609
621
|
readonly minWidth?: number | string | undefined;
|
|
610
622
|
readonly maxWidth?: number | string | undefined;
|
|
611
623
|
readonly nowrap?: boolean | undefined;
|
|
624
|
+
readonly intent?: number | undefined;
|
|
612
625
|
readonly headerProps?: {
|
|
613
626
|
readonly [x: string]: any;
|
|
614
627
|
} | undefined;
|
|
@@ -629,6 +642,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
629
642
|
readonly minWidth?: number | string | undefined;
|
|
630
643
|
readonly maxWidth?: number | string | undefined;
|
|
631
644
|
readonly nowrap?: boolean | undefined;
|
|
645
|
+
readonly intent?: number | undefined;
|
|
632
646
|
readonly headerProps?: {
|
|
633
647
|
readonly [x: string]: any;
|
|
634
648
|
} | undefined;
|
|
@@ -691,6 +705,46 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
|
691
705
|
type: import("vue").PropType<unknown extends Defaults["search"] ? string : string | Defaults["search"]>;
|
|
692
706
|
default: unknown extends Defaults["search"] ? string : string | Defaults["search"];
|
|
693
707
|
};
|
|
708
|
+
groupCollapseIcon: unknown extends Defaults["groupCollapseIcon"] ? {
|
|
709
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
710
|
+
default: string;
|
|
711
|
+
} : Omit<{
|
|
712
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
713
|
+
default: string;
|
|
714
|
+
}, "type" | "default"> & {
|
|
715
|
+
type: import("vue").PropType<unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupCollapseIcon"]>;
|
|
716
|
+
default: unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupCollapseIcon"];
|
|
717
|
+
};
|
|
718
|
+
groupExpandIcon: unknown extends Defaults["groupExpandIcon"] ? {
|
|
719
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
720
|
+
default: string;
|
|
721
|
+
} : Omit<{
|
|
722
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
723
|
+
default: string;
|
|
724
|
+
}, "type" | "default"> & {
|
|
725
|
+
type: import("vue").PropType<unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupExpandIcon"]>;
|
|
726
|
+
default: unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupExpandIcon"];
|
|
727
|
+
};
|
|
728
|
+
collapseIcon: unknown extends Defaults["collapseIcon"] ? {
|
|
729
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
730
|
+
default: string;
|
|
731
|
+
} : Omit<{
|
|
732
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
733
|
+
default: string;
|
|
734
|
+
}, "type" | "default"> & {
|
|
735
|
+
type: import("vue").PropType<unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["collapseIcon"]>;
|
|
736
|
+
default: unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["collapseIcon"];
|
|
737
|
+
};
|
|
738
|
+
expandIcon: unknown extends Defaults["expandIcon"] ? {
|
|
739
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
740
|
+
default: string;
|
|
741
|
+
} : Omit<{
|
|
742
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
743
|
+
default: string;
|
|
744
|
+
}, "type" | "default"> & {
|
|
745
|
+
type: import("vue").PropType<unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["expandIcon"]>;
|
|
746
|
+
default: unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["expandIcon"];
|
|
747
|
+
};
|
|
694
748
|
loadingText: unknown extends Defaults["loadingText"] ? {
|
|
695
749
|
type: StringConstructor;
|
|
696
750
|
default: string;
|
|
@@ -774,6 +828,8 @@ export declare const VDataTableServer: {
|
|
|
774
828
|
striped: import("../VTable/VTable.js").Striped;
|
|
775
829
|
nextIcon: import("../../composables/icons.js").IconValue;
|
|
776
830
|
prevIcon: import("../../composables/icons.js").IconValue;
|
|
831
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
832
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
777
833
|
hideNoData: boolean;
|
|
778
834
|
hover: boolean;
|
|
779
835
|
itemsPerPage: string | number;
|
|
@@ -792,6 +848,8 @@ export declare const VDataTableServer: {
|
|
|
792
848
|
fixedHeader: boolean;
|
|
793
849
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
|
794
850
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
|
851
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
852
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
795
853
|
fixedFooter: boolean;
|
|
796
854
|
hideDefaultBody: boolean;
|
|
797
855
|
hideDefaultFooter: boolean;
|
|
@@ -848,6 +906,8 @@ export declare const VDataTableServer: {
|
|
|
848
906
|
striped: import("../VTable/VTable.js").Striped;
|
|
849
907
|
nextIcon: import("../../composables/icons.js").IconValue;
|
|
850
908
|
prevIcon: import("../../composables/icons.js").IconValue;
|
|
909
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
910
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
851
911
|
hideNoData: boolean;
|
|
852
912
|
hover: boolean;
|
|
853
913
|
itemsPerPage: string | number;
|
|
@@ -865,6 +925,8 @@ export declare const VDataTableServer: {
|
|
|
865
925
|
fixedHeader: boolean;
|
|
866
926
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
|
867
927
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
|
928
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
929
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
868
930
|
fixedFooter: boolean;
|
|
869
931
|
hideDefaultBody: boolean;
|
|
870
932
|
hideDefaultFooter: boolean;
|
|
@@ -947,6 +1009,8 @@ export declare const VDataTableServer: {
|
|
|
947
1009
|
striped: import("../VTable/VTable.js").Striped;
|
|
948
1010
|
nextIcon: import("../../composables/icons.js").IconValue;
|
|
949
1011
|
prevIcon: import("../../composables/icons.js").IconValue;
|
|
1012
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
1013
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
950
1014
|
hideNoData: boolean;
|
|
951
1015
|
hover: boolean;
|
|
952
1016
|
itemsPerPage: string | number;
|
|
@@ -965,6 +1029,8 @@ export declare const VDataTableServer: {
|
|
|
965
1029
|
fixedHeader: boolean;
|
|
966
1030
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
|
967
1031
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
|
1032
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
1033
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
968
1034
|
fixedFooter: boolean;
|
|
969
1035
|
hideDefaultBody: boolean;
|
|
970
1036
|
hideDefaultFooter: boolean;
|
|
@@ -1013,6 +1079,8 @@ export declare const VDataTableServer: {
|
|
|
1013
1079
|
striped: import("../VTable/VTable.js").Striped;
|
|
1014
1080
|
nextIcon: import("../../composables/icons.js").IconValue;
|
|
1015
1081
|
prevIcon: import("../../composables/icons.js").IconValue;
|
|
1082
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
1083
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
1016
1084
|
hideNoData: boolean;
|
|
1017
1085
|
hover: boolean;
|
|
1018
1086
|
itemsPerPage: string | number;
|
|
@@ -1030,6 +1098,8 @@ export declare const VDataTableServer: {
|
|
|
1030
1098
|
fixedHeader: boolean;
|
|
1031
1099
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
|
1032
1100
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
|
1101
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
1102
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
1033
1103
|
fixedFooter: boolean;
|
|
1034
1104
|
hideDefaultBody: boolean;
|
|
1035
1105
|
hideDefaultFooter: boolean;
|
|
@@ -1064,6 +1134,8 @@ export declare const VDataTableServer: {
|
|
|
1064
1134
|
striped: import("../VTable/VTable.js").Striped;
|
|
1065
1135
|
nextIcon: import("../../composables/icons.js").IconValue;
|
|
1066
1136
|
prevIcon: import("../../composables/icons.js").IconValue;
|
|
1137
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
1138
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
1067
1139
|
hideNoData: boolean;
|
|
1068
1140
|
hover: boolean;
|
|
1069
1141
|
itemsPerPage: string | number;
|
|
@@ -1082,6 +1154,8 @@ export declare const VDataTableServer: {
|
|
|
1082
1154
|
fixedHeader: boolean;
|
|
1083
1155
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
|
1084
1156
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
|
1157
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
1158
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
1085
1159
|
fixedFooter: boolean;
|
|
1086
1160
|
hideDefaultBody: boolean;
|
|
1087
1161
|
hideDefaultFooter: boolean;
|
|
@@ -1138,6 +1212,8 @@ export declare const VDataTableServer: {
|
|
|
1138
1212
|
striped: import("../VTable/VTable.js").Striped;
|
|
1139
1213
|
nextIcon: import("../../composables/icons.js").IconValue;
|
|
1140
1214
|
prevIcon: import("../../composables/icons.js").IconValue;
|
|
1215
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
|
1216
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
|
1141
1217
|
hideNoData: boolean;
|
|
1142
1218
|
hover: boolean;
|
|
1143
1219
|
itemsPerPage: string | number;
|
|
@@ -1155,6 +1231,8 @@ export declare const VDataTableServer: {
|
|
|
1155
1231
|
fixedHeader: boolean;
|
|
1156
1232
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
|
1157
1233
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
|
1234
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
|
1235
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
|
1158
1236
|
fixedFooter: boolean;
|
|
1159
1237
|
hideDefaultBody: boolean;
|
|
1160
1238
|
hideDefaultFooter: boolean;
|
|
@@ -1360,6 +1438,22 @@ export declare const VDataTableServer: {
|
|
|
1360
1438
|
hideDefaultHeader: BooleanConstructor;
|
|
1361
1439
|
width: (StringConstructor | NumberConstructor)[];
|
|
1362
1440
|
search: StringConstructor;
|
|
1441
|
+
groupCollapseIcon: {
|
|
1442
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1443
|
+
default: string;
|
|
1444
|
+
};
|
|
1445
|
+
groupExpandIcon: {
|
|
1446
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1447
|
+
default: string;
|
|
1448
|
+
};
|
|
1449
|
+
collapseIcon: {
|
|
1450
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1451
|
+
default: string;
|
|
1452
|
+
};
|
|
1453
|
+
expandIcon: {
|
|
1454
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1455
|
+
default: string;
|
|
1456
|
+
};
|
|
1363
1457
|
loadingText: {
|
|
1364
1458
|
type: StringConstructor;
|
|
1365
1459
|
default: string;
|
|
@@ -1528,6 +1622,22 @@ export declare const VDataTableServer: {
|
|
|
1528
1622
|
hideDefaultHeader: BooleanConstructor;
|
|
1529
1623
|
width: (StringConstructor | NumberConstructor)[];
|
|
1530
1624
|
search: StringConstructor;
|
|
1625
|
+
groupCollapseIcon: {
|
|
1626
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1627
|
+
default: string;
|
|
1628
|
+
};
|
|
1629
|
+
groupExpandIcon: {
|
|
1630
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1631
|
+
default: string;
|
|
1632
|
+
};
|
|
1633
|
+
collapseIcon: {
|
|
1634
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1635
|
+
default: string;
|
|
1636
|
+
};
|
|
1637
|
+
expandIcon: {
|
|
1638
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
|
1639
|
+
default: string;
|
|
1640
|
+
};
|
|
1531
1641
|
loadingText: {
|
|
1532
1642
|
type: StringConstructor;
|
|
1533
1643
|
default: string;
|