UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

86 lines (85 loc) 6.78 kB
import { BTableProps, BTableSlots } from '../../types'; declare const __VLS_export: <Item>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{ props: import('vue').PublicProps & __VLS_PrettifyLocal<(Omit<BTableProps<Item>, "items" | "sortBy" | "busy" | "currentPage" | "selectedItems"> & { sortBy?: BTableProps<Item>["sortBy"]; busy?: Exclude<BTableProps<Item>["busy"], undefined>; selectedItems?: Exclude<BTableProps<Item>["selectedItems"], undefined>; expandedItems?: Exclude<BTableProps<Item>["expandedItems"], undefined>; items?: Exclude<BTableProps<Item>["items"], undefined>; currentPage?: Exclude<BTableProps<Item>["currentPage"], undefined>; }) & { onChange?: ((value: readonly Item[]) => any) | undefined; onFiltered?: ((value: readonly Item[]) => any) | undefined; "onHead-clicked"?: ((object: import('../..').TableHeadClickedEventObject<Item, Readonly<MouseEvent> | Readonly<KeyboardEvent>>) => any) | undefined; "onRow-clicked"?: ((object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent> | Readonly<KeyboardEvent>>) => any) | undefined; "onRow-dblclicked"?: ((object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => any) | undefined; "onRow-contextmenu"?: ((object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => any) | undefined; "onRow-hovered"?: ((object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => any) | undefined; "onRow-unhovered"?: ((object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => any) | undefined; "onRow-middle-clicked"?: ((object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => any) | undefined; "onUpdate:expandedItems"?: ((value: readonly Item[]) => any) | undefined; "onRow-selected"?: ((value: unknown) => any) | undefined; "onRow-unselected"?: ((value: unknown) => any) | undefined; onSorted?: ((value: import('../..').BTableSortBy) => any) | undefined; "onContext-changed"?: ((context: Omit<import('../..').BTableProviderContext, "signal">) => any) | undefined; "onUpdate:sortBy"?: ((value: readonly import('../..').BTableSortBy[] | undefined) => any) | undefined; "onUpdate:busy"?: ((value: boolean) => any) | undefined; "onUpdate:selectedItems"?: ((value: readonly Item[]) => any) | undefined; "onUpdate:items"?: ((value: readonly Item[]) => any) | undefined; "onUpdate:currentPage"?: ((value: import('../../types/CommonTypes').Numberish) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import('vue').ShallowUnwrapRef<{ expansion: { expandedItems: Readonly<import('vue').Ref<readonly import('vue').DeepReadonly<Item>[], readonly import('vue').DeepReadonly<Item>[]>>; get: (item: Item) => unknown; getFromPrimaryKey: (primaryKey: unknown) => unknown; resolvedItems: import('vue').ComputedRef<readonly unknown[]>; add: (item: Item) => void; set: (items: readonly Item[]) => void; setAll: () => void; remove: (item: Item) => void; clear: () => void; has: (item: Item) => boolean; isActivated: import('vue').ComputedRef<boolean>; toggle: (item: Item) => void; }; selection: { selectedItems: Readonly<import('vue').Ref<readonly import('vue').DeepReadonly<Item>[], readonly import('vue').DeepReadonly<Item>[]>>; get: (item: Item) => unknown; getFromPrimaryKey: (primaryKey: unknown) => unknown; resolvedItems: import('vue').ComputedRef<readonly unknown[]>; add: (item: Item) => void; set: (items: readonly Item[]) => void; setAll: () => void; remove: (item: Item) => void; clear: () => void; has: (item: Item) => boolean; isActivated: import('vue').ComputedRef<boolean>; handleRowSelection: (obj: { item: Item; index: number; shiftClicked?: boolean; ctrlClicked?: boolean; metaClicked?: boolean; }) => void; }; items: import('vue').ComputedRef<Item[]>; displayItems: import('vue').ComputedRef<Item[]>; getStringValue: (ob: Item, key: string) => string; refresh: () => Promise<void>; }>) => void; attrs: any; slots: BTableSlots<Item>; emit: (((evt: "change", value: readonly Item[]) => void) & ((evt: "filtered", value: readonly Item[]) => void) & ((evt: "head-clicked", object: import('../..').TableHeadClickedEventObject<Item, Readonly<MouseEvent> | Readonly<KeyboardEvent>>) => void) & ((evt: "row-clicked", object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent> | Readonly<KeyboardEvent>>) => void) & ((evt: "row-dblclicked", object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => void) & ((evt: "row-contextmenu", object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => void) & ((evt: "row-hovered", object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => void) & ((evt: "row-unhovered", object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => void) & ((evt: "row-middle-clicked", object: import('../..').TableRowEventObject<Item, Readonly<MouseEvent>>) => void) & ((evt: "row-selected", value: unknown) => void) & ((evt: "row-unselected", value: unknown) => void) & ((evt: "sorted", value: import('../..').BTableSortBy) => void) & ((evt: "context-changed", context: Omit<import('../..').BTableProviderContext, "signal">) => void)) & (((event: "update:expandedItems", value: readonly Item[]) => void) & ((event: "update:sortBy", value: readonly import('../..').BTableSortBy[] | undefined) => void) & ((event: "update:busy", value: boolean) => void) & ((event: "update:selectedItems", value: readonly Item[]) => void) & ((event: "update:items", value: readonly Item[]) => void) & ((event: "update:currentPage", value: import('../../types/CommonTypes').Numberish) => void)); }>) => import('vue').VNode & { __ctx?: NonNullable<Awaited<typeof __VLS_setup>>; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};