Skip to content

Commit 5a46ee3

Browse files
Merge pull request #32 from webdevnerdstuff/dev
v1.0.0-beta-2
2 parents 7524682 + 5e85936 commit 5a46ee3

20 files changed

+1634
-1507
lines changed

CHANGELOG.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
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
5-
TBD
4+
## v1.0.0-beta-2
5+
06-13-23
6+
[main] (@webdevnerdstuff)
7+
* Adjust entry point
8+
* Update to check for fontawesome to adjust icon size
9+
* Update default `colors` prop to use `primary` color scheme
10+
* It is easier to change the `colors` to `null` to remove the `colors` than it is to add them in
11+
* Still undetermined if this will be the default or not
12+
* Add helper for getting item values from a nested object
13+
* Credits:
14+
* https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/util/helpers.ts
15+
* http://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key#comment55278413_6491621
16+
* Update documentation usage
17+
18+
19+
## v1.0.0-beta-1
20+
Initial beta release.
621
[main] (@webdevnerdstuff)

dist/plugin/composables/helpers.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export declare function useConvertToUnit(str: string | number, unit?: string): s
1010
/**
1111
* Render the cell item
1212
*/
13-
export declare function useRenderCellItem(item: object, column: Column): unknown;
13+
export declare function useRenderCellItem(item: any, column: Column): unknown;
1414
/**
1515
* Render the cell
1616
* Used for both header and footer

dist/plugin/index.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
import VDrilldownTable from '../plugin/VDrilldownTable.vue';
2-
export default VDrilldownTable;
1+
export { default as VDrilldownTable } from './VDrilldownTable.vue';

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1010
type: __PropType<{
1111
allRowsSelected: boolean;
1212
columns: Column[];
13-
getSortIcon?: ((column: InternalDataTableHeader) => string | import("vue").JSXComponent | (string | [path: string, opacity: number])[]) | undefined;
13+
getSortIcon: (column: InternalDataTableHeader) => string | import("vue").JSXComponent | (string | [path: string, opacity: number])[];
1414
index?: number | undefined;
1515
item?: any;
1616
selectAll: (value: boolean) => void;
@@ -57,7 +57,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
5757
type: __PropType<{
5858
allRowsSelected: boolean;
5959
columns: Column[];
60-
getSortIcon?: ((column: InternalDataTableHeader) => string | import("vue").JSXComponent | (string | [path: string, opacity: number])[]) | undefined;
60+
getSortIcon: (column: InternalDataTableHeader) => string | import("vue").JSXComponent | (string | [path: string, opacity: number])[];
6161
index?: number | undefined;
6262
item?: any;
6363
selectAll: (value: boolean) => void;

dist/plugin/utils/props.d.ts

+30-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
import { Column } from '../../types';
22
export declare const AllProps: {
3-
colors: null;
3+
colors: {
4+
body: {
5+
base: string;
6+
bg: string;
7+
text: string;
8+
};
9+
default: {
10+
base: string;
11+
bg: string;
12+
border: string;
13+
text: string;
14+
};
15+
footer: {
16+
bg: string;
17+
text: string;
18+
};
19+
header: {
20+
bg: string;
21+
text: string;
22+
};
23+
loader: {
24+
circular: string;
25+
color: string;
26+
linear: string;
27+
text: string;
28+
};
29+
percentageChange: number;
30+
percentageDirection: string;
31+
};
432
density: string;
533
drilldownKey: string;
634
elevation: number;
@@ -20,6 +48,7 @@ export declare const AllProps: {
2048
level: number;
2149
levels: number;
2250
loaderHeight: string;
51+
loaderSize: string;
2352
loaderType: string;
2453
loading: boolean;
2554
loadingText: string;

dist/types/index.d.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CSSProperties, JSXComponent, StyleValue, MaybeRef } from 'vue';
2-
import { ThemeInstance } from 'vuetify';
2+
import { IconOptions, ThemeInstance } from 'vuetify';
33
import type { EventBusKey } from '@vueuse/core';
44
import type { VTextField, VProgressCircular, VProgressLinear } from 'vuetify/components';
55
import type { VDataTable, VDataTableServer, VDataTableRow } from 'vuetify/labs/components';
@@ -122,6 +122,7 @@ export interface Props {
122122
level: number;
123123
levels: number;
124124
loaderHeight?: VProgressLinear['$props']['height'];
125+
loaderSize?: VProgressCircular['$props']['size'];
125126
loaderType?: string | string[] | false | null;
126127
loading?: VDataTable['$props']['loading'];
127128
loadingText?: VDataTable['$props']['loadingText'];
@@ -194,7 +195,7 @@ export interface HeaderSlotProps extends AllSlotProps {
194195
slotProps: {
195196
allRowsSelected: boolean;
196197
columns: Column[];
197-
getSortIcon?: GetSortIcon;
198+
getSortIcon: GetSortIcon;
198199
index?: number;
199200
item?: Props['item'] | any;
200201
selectAll: SelectAll;
@@ -367,6 +368,7 @@ export interface UseHeaderRowClasses {
367368
}
368369
export interface UseSortIconClasses {
369370
(options: {
371+
iconOptions: IconOptions | undefined;
370372
key: string;
371373
level: number;
372374
sortBy: Props['sortBy'];

dist/vuetify-drilldown-table.cjs.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)