UNPKG

bootstrap-vue-next

Version:

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

16 lines (15 loc) 953 B
import { TableFieldRaw } from '../types/TableTypes'; import { Breakpoint, BTableLiteProps, BTableSimpleProps, TableField } from '../types'; export declare const getTableFieldHeadLabel: (field: Readonly<TableFieldRaw<unknown>>) => string; export declare const getWithGetter: <Obj extends object>(item: Obj, key: string | ((item: Obj) => unknown)) => unknown; export declare const getByFieldKey: (item: unknown, field: TableField) => unknown; export declare const formatItem: (item: unknown, field: TableField) => unknown; export declare const bTableSimpleProps: readonly (keyof BTableSimpleProps)[]; export declare const bTableLiteProps: readonly (keyof Omit<BTableLiteProps<unknown>, keyof BTableSimpleProps>)[]; export type StackedProps = { stacked: boolean | Breakpoint | undefined; labelStacked: boolean | undefined; }; export declare const getDataLabelAttr: (props: StackedProps, label: string) => { 'data-label': string; } | undefined;