Skip to content

Commit 49e6d7c

Browse files
Build
1 parent e303198 commit 49e6d7c

21 files changed

+3210
-3109
lines changed

dist/plugin/VDrilldownTable.vue.d.ts

Lines changed: 55 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { Props } from '../types';
1+
import { Props } from './types';
22
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
33
colorPercentageChange: number;
44
colorPercentageDirection: "desc";
55
colors: () => {
6-
readonly default: import('../types').DefaultColors;
6+
readonly default: import('./types').DefaultColors;
77
readonly footer: {
88
readonly background: undefined;
99
readonly color: undefined;
@@ -16,15 +16,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
1616
readonly percentageDirection: "desc";
1717
};
1818
columnWidths: () => never[];
19-
defaultColors: () => import('../types').DefaultColors;
19+
defaultColors: () => import('./types').DefaultColors;
2020
density: string;
2121
drilldownKey: string;
2222
elevation: number;
2323
expandOnClick: boolean;
2424
filterKeys: undefined;
2525
footerBackgroundColor: undefined;
2626
footerColor: undefined;
27-
footers: () => import('../types').Column[];
27+
footers: () => import('./types').Column[];
2828
headerBackgroundColor: undefined;
2929
headerColor: undefined;
3030
height: string;
@@ -75,7 +75,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7575
xxl: number;
7676
};
7777
searchDebounce: number;
78-
searchEvents: () => {};
7978
searchMaxWait: number;
8079
searchProps: () => {};
8180
selectStrategy: "page";
@@ -90,20 +89,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9089
sortBy: () => never[];
9190
tableType: () => {};
9291
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
93-
"update:drilldown": (...args: any[]) => void;
92+
"update:page": (...args: any[]) => void;
93+
"update:itemsPerPage": (...args: any[]) => void;
94+
"update:sortBy": (...args: any[]) => void;
95+
"update:options": (...args: any[]) => void;
9496
"update:expanded": (...args: any[]) => void;
97+
"update:drilldown": (...args: any[]) => void;
9598
"click:row": (...args: any[]) => void;
9699
"click:row:checkbox": (...args: any[]) => void;
97-
"update:sortBy": (...args: any[]) => void;
98100
"update:search": (...args: any[]) => void;
99-
"update:options": (...args: any[]) => void;
100-
"update:itemsPerPage": (...args: any[]) => void;
101-
"update:page": (...args: any[]) => void;
102-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
101+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
103102
colorPercentageChange: number;
104103
colorPercentageDirection: "desc";
105104
colors: () => {
106-
readonly default: import('../types').DefaultColors;
105+
readonly default: import('./types').DefaultColors;
107106
readonly footer: {
108107
readonly background: undefined;
109108
readonly color: undefined;
@@ -116,15 +115,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
116115
readonly percentageDirection: "desc";
117116
};
118117
columnWidths: () => never[];
119-
defaultColors: () => import('../types').DefaultColors;
118+
defaultColors: () => import('./types').DefaultColors;
120119
density: string;
121120
drilldownKey: string;
122121
elevation: number;
123122
expandOnClick: boolean;
124123
filterKeys: undefined;
125124
footerBackgroundColor: undefined;
126125
footerColor: undefined;
127-
footers: () => import('../types').Column[];
126+
footers: () => import('./types').Column[];
128127
headerBackgroundColor: undefined;
129128
headerColor: undefined;
130129
height: string;
@@ -175,7 +174,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
175174
xxl: number;
176175
};
177176
searchDebounce: number;
178-
searchEvents: () => {};
179177
searchMaxWait: number;
180178
searchProps: () => {};
181179
selectStrategy: "page";
@@ -195,66 +193,65 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
195193
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
196194
"onUpdate:itemsPerPage"?: ((...args: any[]) => any) | undefined;
197195
"onUpdate:options"?: ((...args: any[]) => any) | undefined;
196+
"onUpdate:drilldown"?: ((...args: any[]) => any) | undefined;
198197
"onClick:row"?: ((...args: any[]) => any) | undefined;
199198
"onClick:row:checkbox"?: ((...args: any[]) => any) | undefined;
200199
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
201-
"onUpdate:drilldown"?: ((...args: any[]) => any) | undefined;
202200
}, {
203-
filterKeys: string | string[];
204-
noFilter: boolean;
201+
page: string | number;
202+
colorPercentageChange: number;
203+
colorPercentageDirection: "desc" | "asc";
205204
density: any;
205+
drilldownKey: string;
206+
elevation: string | number;
207+
expandOnClick: boolean;
208+
footers: import('./types').Column[];
206209
height: string | number;
210+
hideNoData: boolean;
207211
hover: boolean;
212+
itemChildrenKey: string;
213+
itemSelectable: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null;
214+
itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null;
215+
items: readonly any[];
216+
itemsLength: number;
217+
itemsPerPage: string | number;
218+
level: number;
219+
levels: number;
220+
loaderProps: import('./types').LoaderProps;
221+
loaderType: string | false | string[] | null;
208222
loading: string | boolean;
209-
sortAscIcon: string | import("vue").JSXComponent | (string | [path: string, opacity: number])[];
223+
loadingText: string;
224+
matchColumnWidths: boolean;
225+
noDataText: string;
226+
search: string;
227+
searchContainerCols: import('./types').SearchContainerCols;
228+
searchDebounce: number | null;
229+
searchMaxWait: number | null;
230+
searchProps: import('./types').KeyStringAny<any>;
231+
selectStrategy: "page" | "all" | "single";
232+
separator: "horizontal" | "default" | "vertical" | "cell";
233+
server: boolean;
234+
showDrilldownWhenLoading: boolean;
235+
showExpand: boolean;
236+
showFooterRow: boolean;
237+
showSearch: boolean;
238+
showSelect: boolean;
239+
sortAscIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent;
210240
sortBy: readonly {
211241
key: string;
212-
order?: boolean | "asc" | "desc" | undefined;
242+
order?: boolean | "desc" | "asc" | undefined;
213243
}[];
214-
showSelect: boolean;
215-
selectStrategy: "page" | "all" | "single";
216-
items: any[];
217-
itemValue: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
218-
itemSelectable: string | boolean | readonly (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
244+
defaultColors: import('./types').DefaultColors;
245+
colors: import('./types').ColorsObject;
246+
headerBackgroundColor: string;
247+
filterKeys: string | string[];
248+
noFilter: boolean;
219249
returnObject: boolean;
220-
expandOnClick: boolean;
221-
showExpand: boolean;
222-
search: string;
223-
loadingText: string;
224-
hideNoData: boolean;
225-
noDataText: string;
226-
page: string | number;
227-
itemsPerPage: string | number;
228-
itemsLength: number;
229-
colors: import('../types').ColorsObject;
230-
level: number;
231-
colorPercentageChange: number;
232-
colorPercentageDirection: "asc" | "desc";
233250
columnWidths: number[];
234-
headerBackgroundColor: string;
235251
headerColor: string;
236-
loaderType: string | false | string[] | null;
237-
matchColumnWidths: boolean;
238-
loaderProps: import('../types').LoaderProps;
239-
levels: number;
240252
footerBackgroundColor: string;
241253
footerColor: string;
242-
elevation: string | number;
243-
separator: "default" | "horizontal" | "vertical" | "cell";
244254
isDrilldown: boolean;
245-
footers: import('../types').Column[];
246-
searchContainerCols: import('../types').SearchContainerCols;
247-
searchEvents: import('../types').KeyStringAny<any>;
248-
searchProps: import('../types').KeyStringAny<any>;
249-
showSearch: boolean;
250-
defaultColors: import('../types').DefaultColors;
251-
drilldownKey: string;
252-
itemChildrenKey: string;
253-
searchDebounce: number | null;
254-
searchMaxWait: number | null;
255-
server: boolean;
256-
showDrilldownWhenLoading: boolean;
257-
showFooterRow: boolean;
258255
tableType: {};
259256
}, {}>, 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>> & {
260257
loader?(_: {}): any;

dist/plugin/components/TableLoader.vue.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
import { TableLoader } from '../../types';
1+
import { TableLoader } from '../types';
22
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableLoader>, {
33
height: number;
44
loaderType: string;
55
loadingText: string;
66
size: string;
77
textLoader: boolean;
8-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableLoader>, {
8+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableLoader>, {
99
height: number;
1010
loaderType: string;
1111
loadingText: string;
1212
size: string;
1313
textLoader: boolean;
1414
}>>>, {
1515
height: string | number;
16+
loaderType: string | false | string[] | null | undefined;
1617
loadingText: string;
1718
size: string | number;
18-
loaderType: string | false | string[] | null | undefined;
1919
textLoader: boolean;
2020
}, {}>;
2121
export default _default;

dist/plugin/composables/classes.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UseBodyCellClasses, UseBodyRowClasses, UseCellAlignClasses, UseCellClasses, UseCheckBoxClasses, UseHeaderCellClasses, UseHeaderRowClasses, UseSortIconClasses, UseTFootCellClasses, UseTableClasses, UseTFootClasses, UseTFootRowClasses } from '../../types';
1+
import { UseBodyCellClasses, UseBodyRowClasses, UseCellAlignClasses, UseCellClasses, UseCheckBoxClasses, UseHeaderCellClasses, UseHeaderRowClasses, UseSortIconClasses, UseTFootCellClasses, UseTableClasses, UseTFootClasses, UseTFootRowClasses } from '../types';
22
export declare const useTableClasses: UseTableClasses;
33
export declare const useCellAlignClasses: UseCellAlignClasses;
44
export declare const useCheckBoxClasses: UseCheckBoxClasses;

dist/plugin/composables/emits.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
import { UseEmitUpdatedExpanded } from '../../types';
1+
import { UseEmitUpdatedExpanded } from '../types';
22
export declare const useEmitUpdatedExpanded: UseEmitUpdatedExpanded;

dist/plugin/composables/helpers.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Column, UseGetSortDirection, UseConvertToUnit } from '../../types';
1+
import { Column, UseGetSortDirection, UseConvertToUnit } from '../types';
22
/**
33
* Get's the sort direction for a column
44
*/

dist/plugin/composables/levelColors.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ThemeInstance } from 'vuetify';
2-
import { UseGetLevelColors } from '../../types';
2+
import { UseGetLevelColors } from '../types';
33
/**
44
* Converts single color
55
*/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { UseGetHeaderColumnWidths, UseSetLoadedDrilldown } from '../../types';
1+
import { UseGetHeaderColumnWidths, UseSetLoadedDrilldown } from '../types';
22
export declare const useGetHeaderColumnWidths: UseGetHeaderColumnWidths;
33
export declare const useSetLoadedDrilldown: UseSetLoadedDrilldown;

dist/plugin/composables/loader.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UseLoaderContainerClasses, UseLoaderStyles } from '../../types';
1+
import { UseLoaderContainerClasses, UseLoaderStyles } from '../types';
22
/**
33
* Checks if the loader is only linear
44
*/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UseHeaderCellStyles, UseTableStyles, UseTFootCellStyles } from '../../types';
1+
import { UseHeaderCellStyles, UseTableStyles, UseTFootCellStyles } from '../types';
22
export declare const useTableStyles: UseTableStyles;
33
export declare const useHeaderCellStyles: UseHeaderCellStyles;
44
export declare const useTFootCellStyles: UseTFootCellStyles;

dist/plugin/index.d.ts

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

0 commit comments

Comments
 (0)