UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

35 lines (34 loc) 817 B
import { ScopedSlots } from "../../UxCoreTypings"; export interface IVDataTableScopedSlots { items?: VDataGridItemScopedSlot<object>; headers?: { headers: VDataGridHeader[]; indeterminate: boolean; all: boolean; }; headerCell?: { header: object; }; pageText?: { pageStart: number; pageStop: number; itemsLength: number; }; } export interface IVDataTable { scopedSlots?: ScopedSlots<IVDataTableScopedSlots>; } export interface VDataGridHeader { text: string; value: string; align: "left" | "center" | "right"; sortable: boolean; class: string[] | string; width: string; } export interface VDataGridItemScopedSlot<TItem> { item: TItem; index: number; selected: boolean; expanded: boolean; }