Skip to content

Commit 77ae033

Browse files
Build
1 parent 8ede80a commit 77ae033

File tree

4 files changed

+25
-23
lines changed

4 files changed

+25
-23
lines changed

dist/plugin/VDrilldownTable.vue.d.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
8989
sortBy: () => never[];
9090
tableType: () => {};
9191
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
92-
"update:page": (...args: any[]) => void;
93-
"update:itemsPerPage": (...args: any[]) => void;
94-
"update:sortBy": (...args: any[]) => void;
95-
"update:options": (...args: any[]) => void;
96-
"update:expanded": (...args: any[]) => void;
97-
"update:drilldown": (...args: any[]) => void;
9892
"click:row": (...args: any[]) => void;
9993
"click:row:checkbox": (...args: any[]) => void;
94+
"update:expanded": (...args: any[]) => void;
95+
"update:drilldown": (...args: any[]) => void;
96+
"update:options": (...args: any[]) => void;
97+
"update:itemsPerPage": (...args: any[]) => void;
98+
"update:page": (...args: any[]) => void;
10099
"update:search": (...args: any[]) => void;
100+
"update:sortBy": (...args: any[]) => void;
101101
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
102102
colorPercentageChange: number;
103103
colorPercentageDirection: "desc";
@@ -188,15 +188,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
188188
sortBy: () => never[];
189189
tableType: () => {};
190190
}>>> & {
191-
"onUpdate:sortBy"?: ((...args: any[]) => any) | undefined;
192-
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
193-
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
194-
"onUpdate:itemsPerPage"?: ((...args: any[]) => any) | undefined;
195-
"onUpdate:options"?: ((...args: any[]) => any) | undefined;
196-
"onUpdate:drilldown"?: ((...args: any[]) => any) | undefined;
197191
"onClick:row"?: ((...args: any[]) => any) | undefined;
198192
"onClick:row:checkbox"?: ((...args: any[]) => any) | undefined;
193+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
194+
"onUpdate:drilldown"?: ((...args: any[]) => any) | undefined;
195+
"onUpdate:options"?: ((...args: any[]) => any) | undefined;
196+
"onUpdate:itemsPerPage"?: ((...args: any[]) => any) | undefined;
197+
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
199198
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
199+
"onUpdate:sortBy"?: ((...args: any[]) => any) | undefined;
200200
}, {
201201
page: string | number;
202202
colorPercentageChange: number;
@@ -244,14 +244,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
244244
defaultColors: import('./types').DefaultColors;
245245
colors: import('./types').ColorsObject;
246246
headerBackgroundColor: string;
247-
filterKeys: string | string[];
248-
noFilter: boolean;
249-
returnObject: boolean;
250-
columnWidths: number[];
251-
headerColor: string;
252247
footerBackgroundColor: string;
253248
footerColor: string;
249+
headerColor: string;
250+
columnWidths: number[];
251+
filterKeys: string | string[];
254252
isDrilldown: boolean;
253+
noFilter: boolean;
254+
returnObject: boolean;
255255
tableType: {};
256256
}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
257257
loader?(_: {}): any;

dist/plugin/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { App } from 'vue';
2-
import type { Props } from './types';
1+
import type { App } from 'vue';
2+
import type { GlobalOptions } from './types';
33
import VDrilldownTable from './VDrilldownTable.vue';
44
export declare const globalOptions: unique symbol;
5-
export declare function createVDrilldownTable(options?: Partial<Props>): {
5+
export declare function createVDrilldownTable(options?: GlobalOptions): {
66
install: (app: App) => void;
77
};
88
export default VDrilldownTable;

dist/plugin/slots/ItemSlot.vue.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { ItemSlotProps } from '../types';
22
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemSlotProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3-
"update:expanded": (...args: any[]) => void;
43
"click:row": (...args: any[]) => void;
54
"click:row:checkbox": (...args: any[]) => void;
5+
"update:expanded": (...args: any[]) => void;
66
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemSlotProps>, {}>>> & {
7-
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
87
"onClick:row"?: ((...args: any[]) => any) | undefined;
98
"onClick:row:checkbox"?: ((...args: any[]) => any) | undefined;
9+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
1010
}, {}, {}>, Readonly<Record<string, any>> & Record<string, any>>;
1111
export default _default;
1212
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;

dist/plugin/types/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { IconOptions, ThemeInstance } from 'vuetify';
33
import type { EventBusKey } from '@vueuse/core';
44
import VDrilldownTable from '../VDrilldownTable.vue';
55
import type { VDataTable, VDataTableRow, VDataTableServer, VProgressCircular, VProgressLinear, VSkeletonLoader } from 'vuetify/components';
6+
export * from '../index';
67
export type Density = 'default' | 'comfortable' | 'compact';
78
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
89
type SelectItemKey = boolean | string | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any);
@@ -178,6 +179,8 @@ export interface Props {
178179
width?: string | number | undefined;
179180
}
180181
export type Drilldown = Props;
182+
export interface GlobalOptions extends Pick<Props, 'colorPercentageChange' | 'colorPercentageDirection' | 'footerBackgroundColor' | 'footerColor' | 'headerBackgroundColor' | 'headerColor' | 'loaderProps' | 'loaderType' | 'density' | 'elevation' | 'hover' | 'itemsPerPageOptions' | 'separator' | 'sortAscIcon'> {
183+
}
181184
type GetSortIcon = (column: InternalDataTableHeader) => IconValue;
182185
type IsExpanded = (item: DataTableItem<any>) => boolean;
183186
type SelectAll = (value: boolean) => void;
@@ -545,4 +548,3 @@ declare module "vue" {
545548
VDrilldownTable: typeof VDrilldownTable;
546549
}
547550
}
548-
export {};

0 commit comments

Comments
 (0)