UNPKG

@datametria/vue-components

Version:

DATAMETRIA Vue.js 3 Component Library with Multi-Brand Theming - 51 components + 10 composables with theming support, WCAG 2.2 AA, dark mode, responsive system

65 lines (64 loc) 1.93 kB
interface Column { prop: string; label: string; sortable?: boolean; width?: string; minWidth?: string; } interface Props { data: any[]; columns: Column[]; loading?: boolean; stripe?: boolean; border?: boolean; height?: string; rowKey?: string; selectable?: boolean; multiple?: boolean; expandable?: boolean; } declare function __VLS_template(): { attrs: Partial<{}>; slots: Partial<Record<`cell-${string}`, (_: { row: any; column: Column; }) => any>> & { expand?(_: { row: any; }): any; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<Props, { clearSelection: () => void; toggleRowSelection: (row: any) => void; clearSort: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "selection-change": (selection: any[]) => any; "row-click": (row: any) => any; "sort-change": (prop: string, order: "desc" | "asc") => any; }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{ "onSelection-change"?: ((selection: any[]) => any) | undefined; "onRow-click"?: ((row: any) => any) | undefined; "onSort-change"?: ((prop: string, order: "desc" | "asc") => any) | undefined; }>, { loading: boolean; data: any[]; multiple: boolean; height: string; border: boolean; columns: Column[]; selectable: boolean; stripe: boolean; rowKey: string; expandable: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };