Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevnerdstuff committed Oct 3, 2023
1 parent f96d57e commit abf86ae
Show file tree
Hide file tree
Showing 10 changed files with 2,463 additions and 3,048 deletions.
720 changes: 0 additions & 720 deletions dist/plugin/VDrilldownTable.vue.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion dist/plugin/composables/loader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export declare const useLoaderTrStyles: UseLoaderStyles;
export declare const useLoaderTdStyles: UseLoaderStyles;
export declare const useLoaderContainerClasses: UseLoaderContainerClasses;
export declare const useLoaderVRowClasses: () => {
[x: string]: boolean;
"v-drilldown-table--loader-tr-vrow": boolean;
'align-center': boolean;
'd-grid': boolean;
'flex-column': boolean;
Expand Down
4 changes: 3 additions & 1 deletion dist/plugin/slots/HeadersSlot.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
tableModelValue: {
type: globalThis.PropType<unknown[]>;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click:selectAll"[], "click:selectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"click:selectAll": (...args: any[]) => void;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
density: {
type: globalThis.PropType<any>;
required: true;
Expand Down
21 changes: 10 additions & 11 deletions dist/plugin/slots/ItemSlot.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
required: true;
};
itemSelectable: {
type: globalThis.PropType<(string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any)) | undefined>;
type: globalThis.PropType<string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null | undefined>;
required: true;
};
expandOnClick: {
Expand All @@ -31,6 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
type: globalThis.PropType<{
columns: Column[];
index?: number | undefined;
internalItem: any;
isExpanded: (item: DataTableItem<any>) => boolean;
isSelected: (items: DataTableItem<any> | DataTableItem<any>[]) => boolean;
item: any;
Expand All @@ -44,7 +45,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
type: globalThis.PropType<number>;
required: true;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:expanded" | "click:row" | "click:row:checkbox")[], "update:expanded" | "click:row" | "click:row:checkbox", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:expanded": (...args: any[]) => void;
"click:row": (...args: any[]) => void;
"click:row:checkbox": (...args: any[]) => void;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
density: {
type: globalThis.PropType<any>;
required: true;
Expand All @@ -57,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
required: true;
};
itemSelectable: {
type: globalThis.PropType<(string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any)) | undefined>;
type: globalThis.PropType<string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null | undefined>;
required: true;
};
expandOnClick: {
Expand All @@ -76,6 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
type: globalThis.PropType<{
columns: Column[];
index?: number | undefined;
internalItem: any;
isExpanded: (item: DataTableItem<any>) => boolean;
isSelected: (items: DataTableItem<any> | DataTableItem<any>[]) => boolean;
item: any;
Expand All @@ -93,14 +99,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
"onClick:row"?: ((...args: any[]) => any) | undefined;
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
"onClick:row:checkbox"?: ((...args: any[]) => any) | undefined;
}, {}, {}>, Partial<Record<string, (_: {
columns: Column[];
index: number | undefined;
item: any;
}) => any>> & {
"item.data-table-select"?(_: {}): any;
"item.data-table-expand"?(_: {}): any;
}>;
}, {}, {}>, Readonly<Record<string, any>>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
Expand Down
20 changes: 11 additions & 9 deletions dist/plugin/slots/TfootSlot.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
getFixedStyles?: ((column: import('../../types').InternalDataTableHeader, y: number) => globalThis.CSSProperties | undefined) | undefined;
getSortIcon?: ((column: import('../../types').InternalDataTableHeader) => string | import("vue").JSXComponent | (string | [path: string, opacity: number])[]) | undefined;
headers?: import("vue").DeepReadonly<{
key: string;
value?: (string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any)) | undefined;
key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
value?: string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null | undefined;
title: string;
colspan?: number | undefined;
rowspan?: number | undefined;
Expand All @@ -40,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
sortable?: boolean | undefined;
sort?: ((a: any, b: any) => number) | undefined;
}[] | {
key: string;
value?: (string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any)) | undefined;
key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
value?: string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null | undefined;
title: string;
colspan?: number | undefined;
rowspan?: number | undefined;
Expand Down Expand Up @@ -75,7 +75,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
type: globalThis.PropType<Column[]>;
required: true;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click:selectAll"[], "click:selectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"click:selectAll": (...args: any[]) => void;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
density: {
type: globalThis.PropType<any>;
required: true;
Expand Down Expand Up @@ -103,8 +105,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
getFixedStyles?: ((column: import('../../types').InternalDataTableHeader, y: number) => globalThis.CSSProperties | undefined) | undefined;
getSortIcon?: ((column: import('../../types').InternalDataTableHeader) => string | import("vue").JSXComponent | (string | [path: string, opacity: number])[]) | undefined;
headers?: import("vue").DeepReadonly<{
key: string;
value?: (string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any)) | undefined;
key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
value?: string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null | undefined;
title: string;
colspan?: number | undefined;
rowspan?: number | undefined;
Expand All @@ -116,8 +118,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
sortable?: boolean | undefined;
sort?: ((a: any, b: any) => number) | undefined;
}[] | {
key: string;
value?: (string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any)) | undefined;
key?: (string & {}) | "data-table-group" | "data-table-select" | "data-table-expand" | undefined;
value?: string | boolean | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any) | null | undefined;
title: string;
colspan?: number | undefined;
rowspan?: number | undefined;
Expand Down
5 changes: 4 additions & 1 deletion dist/plugin/slots/TheadSlot.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ declare const _default: import("vue").DefineComponent<{
}>;
required: true;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click:selectAll" | "update:sortBy")[], "click:selectAll" | "update:sortBy", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"click:selectAll": (...args: any[]) => void;
"update:sortBy": (...args: any[]) => void;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
density: {
type: globalThis.PropType<any>;
required: true;
Expand Down
5 changes: 4 additions & 1 deletion dist/plugin/slots/TopSlot.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
type: globalThis.PropType<boolean>;
required: true;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click:selectAll" | "update:search")[], "click:selectAll" | "update:search", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"click:selectAll": (...args: any[]) => void;
"update:search": (...args: any[]) => void;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
loading: {
type: globalThis.PropType<string | boolean | undefined>;
required: true;
Expand Down
7 changes: 5 additions & 2 deletions dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export type InternalDataTableHeader = DataTableHeader & {
export interface DataTableItem<T = any> {
value: any;
type: 'item';
raw: T;
internalItem: T;
item: T;
selected: boolean;
selectable: boolean;
columns: {
Expand Down Expand Up @@ -256,6 +257,7 @@ export interface ItemSlotProps extends Omit<AllSlotProps, 'colors' | 'sortBy'> {
slotProps: {
columns: Column[];
index?: number;
internalItem: DataTableItem | any;
isExpanded: IsExpanded;
isSelected: (items: DataTableItem<any> | DataTableItem<any>[]) => boolean;
item: DataTableItem | any;
Expand Down Expand Up @@ -334,7 +336,7 @@ export interface UseSetLoadedDrilldown {
(options: {
loadedDrilldown: Props;
drilldown: object;
rawItem: DataTableItem['raw'];
item: DataTableItem['item'];
level: Props['level'];
levels: Props['levels'];
matchColumnWidths?: Props['matchColumnWidths'];
Expand Down Expand Up @@ -497,6 +499,7 @@ export type DrilldownEvent = {
$event?: MouseEvent | undefined;
columns?: object;
index?: number;
internalItem: DataTableItem | any;
isExpanded: IsExpanded;
isRow?: boolean;
item: DataTableItem | any;
Expand Down
7 changes: 4 additions & 3 deletions dist/vuetify-drilldown-table.cjs.js

Large diffs are not rendered by default.

Loading

0 comments on commit abf86ae

Please sign in to comment.