Skip to content

Commit 9f54e04

Browse files
Merge pull request #57 from webdevnerdstuff/dev
Dev
2 parents abf86ae + b913cc7 commit 9f54e04

37 files changed

+4789
-4967
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Change Log
22
All notable changes to the "vuetify-drilldown-table" plugin will be documented in this file.
33

4+
## v1.0.0-beta-14
5+
11-01-23
6+
[main] (@webdevnerdstuff)
7+
* Change how the header/footer/border colors work. (breaking change)
8+
* Add props for the new color functionality
9+
* Fix table colors and density reactivity
10+
* Update packages
11+
* Update Vuetify to v^3.3.23
12+
* Update docs
13+
414
## v1.0.0-beta-13
515
10-03-23
616
[main] (@webdevnerdstuff)

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</p>
88

99
<p align="center">
10-
<a href="https://www.npmjs.com/package/vuetify-drilldown-table">
11-
<img src="https://img.shields.io/npm/v/vuetify-drilldown-table?color=1867c0&logo=npm" alt="NPM Package">
10+
<a href="https://www.npmjs.com/package/@wdns/vuetify-drilldown-table">
11+
<img src="https://img.shields.io/npm/v/%40wdns/vuetify-drilldown-table?color=1867c0&logo=npm" alt="NPM Package">
1212
</a>
1313
&nbsp;
1414
<a href="https://github.com/webdevnerdstuff/vuetify-drilldown-table">
@@ -25,12 +25,12 @@ The Vuetify Drilldown Table is a powerful component that enhances the functional
2525

2626
Using [pnpm](https://pnpm.io/):
2727
```
28-
pnpm add vuetify-drilldown-table
28+
pnpm add @wdns/vuetify-drilldown-table
2929
```
3030

3131
Using npm:
3232
```
33-
npm i vuetify-drilldown-table
33+
npm i @wdns/vuetify-drilldown-table
3434
```
3535

3636
## Documentation

dist/plugin/VDrilldownTable.vue.d.ts

+292
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,292 @@
1+
import { Props } from '../types';
2+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
3+
colorPercentageChange: number;
4+
colorPercentageDirection: "desc";
5+
colors: () => {
6+
readonly default: import('../types').DefaultColors;
7+
readonly footer: {
8+
readonly background: undefined;
9+
readonly color: undefined;
10+
};
11+
readonly header: {
12+
readonly background: undefined;
13+
readonly color: undefined;
14+
};
15+
readonly percentageChange: 15;
16+
readonly percentageDirection: "desc";
17+
};
18+
columnWidths: () => never[];
19+
defaultColors: () => import('../types').DefaultColors;
20+
density: string;
21+
drilldownKey: string;
22+
elevation: number;
23+
expandOnClick: boolean;
24+
filterKeys: undefined;
25+
footerBackgroundColor: undefined;
26+
footerColor: undefined;
27+
footers: () => import('../types').Column[];
28+
headerBackgroundColor: undefined;
29+
headerColor: undefined;
30+
height: string;
31+
hideNoData: boolean;
32+
hover: boolean;
33+
isDrilldown: boolean;
34+
itemChildrenKey: string;
35+
itemSelectable: undefined;
36+
itemValue: string;
37+
items: () => never[];
38+
itemsLength: number;
39+
itemsPerPage: number;
40+
level: number;
41+
levels: number;
42+
loaderProps: () => {
43+
readonly circular: {
44+
readonly bgColor: "theme-surface";
45+
readonly color: "primary";
46+
readonly indeterminate: true;
47+
};
48+
readonly linear: {
49+
readonly color: "surface-variant";
50+
readonly height: "2px";
51+
readonly indeterminate: true;
52+
};
53+
readonly skelton: {
54+
readonly type: "heading@1";
55+
};
56+
readonly text: {
57+
readonly color: "surface-variant";
58+
};
59+
};
60+
loaderType: string;
61+
loading: boolean;
62+
loadingText: string;
63+
matchColumnWidths: boolean;
64+
noDataText: string;
65+
noFilter: boolean;
66+
page: number;
67+
returnObject: boolean;
68+
search: string;
69+
searchContainerCols: () => {
70+
lg: number;
71+
md: number;
72+
sm: number;
73+
xl: number;
74+
xs: number;
75+
xxl: number;
76+
};
77+
searchDebounce: number;
78+
searchEvents: () => {};
79+
searchMaxWait: number;
80+
searchProps: () => {};
81+
selectStrategy: "page";
82+
separator: "default";
83+
server: boolean;
84+
showDrilldownWhenLoading: boolean;
85+
showExpand: boolean;
86+
showFooterRow: boolean;
87+
showSearch: boolean;
88+
showSelect: boolean;
89+
sortAscIcon: string;
90+
sortBy: () => never[];
91+
tableType: () => {};
92+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
93+
"update:drilldown": (...args: any[]) => void;
94+
"update:expanded": (...args: any[]) => void;
95+
"click:row": (...args: any[]) => void;
96+
"click:row:checkbox": (...args: any[]) => void;
97+
"update:sortBy": (...args: any[]) => void;
98+
"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>, {
103+
colorPercentageChange: number;
104+
colorPercentageDirection: "desc";
105+
colors: () => {
106+
readonly default: import('../types').DefaultColors;
107+
readonly footer: {
108+
readonly background: undefined;
109+
readonly color: undefined;
110+
};
111+
readonly header: {
112+
readonly background: undefined;
113+
readonly color: undefined;
114+
};
115+
readonly percentageChange: 15;
116+
readonly percentageDirection: "desc";
117+
};
118+
columnWidths: () => never[];
119+
defaultColors: () => import('../types').DefaultColors;
120+
density: string;
121+
drilldownKey: string;
122+
elevation: number;
123+
expandOnClick: boolean;
124+
filterKeys: undefined;
125+
footerBackgroundColor: undefined;
126+
footerColor: undefined;
127+
footers: () => import('../types').Column[];
128+
headerBackgroundColor: undefined;
129+
headerColor: undefined;
130+
height: string;
131+
hideNoData: boolean;
132+
hover: boolean;
133+
isDrilldown: boolean;
134+
itemChildrenKey: string;
135+
itemSelectable: undefined;
136+
itemValue: string;
137+
items: () => never[];
138+
itemsLength: number;
139+
itemsPerPage: number;
140+
level: number;
141+
levels: number;
142+
loaderProps: () => {
143+
readonly circular: {
144+
readonly bgColor: "theme-surface";
145+
readonly color: "primary";
146+
readonly indeterminate: true;
147+
};
148+
readonly linear: {
149+
readonly color: "surface-variant";
150+
readonly height: "2px";
151+
readonly indeterminate: true;
152+
};
153+
readonly skelton: {
154+
readonly type: "heading@1";
155+
};
156+
readonly text: {
157+
readonly color: "surface-variant";
158+
};
159+
};
160+
loaderType: string;
161+
loading: boolean;
162+
loadingText: string;
163+
matchColumnWidths: boolean;
164+
noDataText: string;
165+
noFilter: boolean;
166+
page: number;
167+
returnObject: boolean;
168+
search: string;
169+
searchContainerCols: () => {
170+
lg: number;
171+
md: number;
172+
sm: number;
173+
xl: number;
174+
xs: number;
175+
xxl: number;
176+
};
177+
searchDebounce: number;
178+
searchEvents: () => {};
179+
searchMaxWait: number;
180+
searchProps: () => {};
181+
selectStrategy: "page";
182+
separator: "default";
183+
server: boolean;
184+
showDrilldownWhenLoading: boolean;
185+
showExpand: boolean;
186+
showFooterRow: boolean;
187+
showSearch: boolean;
188+
showSelect: boolean;
189+
sortAscIcon: string;
190+
sortBy: () => never[];
191+
tableType: () => {};
192+
}>>> & {
193+
"onClick:row"?: ((...args: any[]) => any) | undefined;
194+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
195+
"onClick:row:checkbox"?: ((...args: any[]) => any) | undefined;
196+
"onUpdate:sortBy"?: ((...args: any[]) => any) | undefined;
197+
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
198+
"onUpdate:drilldown"?: ((...args: any[]) => any) | undefined;
199+
"onUpdate:options"?: ((...args: any[]) => any) | undefined;
200+
"onUpdate:itemsPerPage"?: ((...args: any[]) => any) | undefined;
201+
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
202+
}, {
203+
filterKeys: string | string[];
204+
noFilter: boolean;
205+
density: any;
206+
height: string | number;
207+
hover: boolean;
208+
loading: string | boolean;
209+
sortAscIcon: string | import("vue").JSXComponent | (string | [path: string, opacity: number])[];
210+
sortBy: readonly {
211+
key: string;
212+
order?: boolean | "asc" | "desc" | undefined;
213+
}[];
214+
showSelect: boolean;
215+
selectStrategy: "page" | "all" | "single";
216+
items: any[];
217+
itemValue: string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
218+
itemSelectable: string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null;
219+
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";
233+
columnWidths: number[];
234+
headerBackgroundColor: string;
235+
headerColor: string;
236+
loaderType: string | false | string[] | null;
237+
matchColumnWidths: boolean;
238+
loaderProps: import('../types').LoaderProps;
239+
levels: number;
240+
footerBackgroundColor: string;
241+
footerColor: string;
242+
elevation: string | number;
243+
separator: "default" | "horizontal" | "vertical" | "cell";
244+
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;
258+
tableType: {};
259+
}, {}>, 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>> & {
260+
loader?(_: {}): any;
261+
loading?(_: {}): any;
262+
thead?(_: any): any;
263+
body?(_: any): any;
264+
"group-header"?(_: any): any;
265+
tbody?(_: any): any;
266+
"no-data"?(_: {}): any;
267+
tfoot?(_: any): any;
268+
"footer.prepend"?(_: {}): any;
269+
}>;
270+
export default _default;
271+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
272+
type __VLS_TypePropsToRuntimeProps<T> = {
273+
[K in keyof T]-?: {} extends Pick<T, K> ? {
274+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
275+
} : {
276+
type: import('vue').PropType<T[K]>;
277+
required: true;
278+
};
279+
};
280+
type __VLS_WithDefaults<P, D> = {
281+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
282+
default: D[K];
283+
}> : P[K];
284+
};
285+
type __VLS_Prettify<T> = {
286+
[K in keyof T]: T[K];
287+
} & {};
288+
type __VLS_WithTemplateSlots<T, S> = T & {
289+
new (): {
290+
$slots: S;
291+
};
292+
};

0 commit comments

Comments
 (0)