UNPKG

tyh-ui2

Version:

The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.

95 lines (94 loc) 2.94 kB
import type { columnsInterface, Align } from './interface'; import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, CSSProperties } from 'vue'; declare const _sfc_main: DefineComponent<{ readonly data: { readonly type: PropType<unknown[]>; readonly default: () => any[]; }; readonly columns: { readonly type: PropType<columnsInterface[]>; readonly default: () => columnsInterface[]; }; readonly trHeight: { readonly type: StringConstructor; readonly default: () => string; }; readonly align: { readonly type: PropType<Align>; readonly default: () => Align; readonly validator: (v: Align) => boolean; }; readonly zebra: BooleanConstructor; readonly border: BooleanConstructor; readonly width: { readonly type: StringConstructor; readonly default: () => string; }; readonly height: { readonly type: StringConstructor; readonly default: () => string; }; readonly num: BooleanConstructor; readonly important: { readonly type: PropType<number[]>; readonly default: () => number[]; }; readonly importantColor: { readonly type: StringConstructor; readonly default: () => string; }; }, { prop: Readonly<{ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; zebra: boolean; num: boolean; width: string; height: string; border: boolean; data: unknown[]; columns: columnsInterface[]; trHeight: string; align: Align; important: number[]; importantColor: string; }>; importantStyle: (i: number) => CSSProperties; isTdThClass: (key: string) => (string | object)[]; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly data?: unknown; readonly columns?: unknown; readonly trHeight?: unknown; readonly align?: unknown; readonly zebra?: unknown; readonly border?: unknown; readonly width?: unknown; readonly height?: unknown; readonly num?: unknown; readonly important?: unknown; readonly importantColor?: unknown; } & { zebra: boolean; num: boolean; width: string; height: string; border: boolean; data: unknown[]; columns: columnsInterface[]; trHeight: string; align: Align; important: number[]; importantColor: string; } & {}>, { zebra: boolean; num: boolean; width: string; height: string; border: boolean; data: unknown[]; columns: columnsInterface[]; trHeight: string; align: Align; important: number[]; importantColor: string; }>; export default _sfc_main;