UNPKG

tyh-ui2

Version:

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

58 lines (57 loc) 1.93 kB
import type { Position, Type } from './interface'; import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentInternalInstance } from 'vue'; declare const _sfc_main: DefineComponent<{ readonly title: StringConstructor; readonly message: StringConstructor; readonly time: { readonly type: NumberConstructor; readonly default: () => number; }; readonly position: { readonly type: PropType<Position>; readonly default: () => Position; readonly validator: (v: Position) => boolean; }; readonly close: BooleanConstructor; readonly type: { readonly type: PropType<Type>; readonly validator: (v: Type) => boolean; }; }, { prop: Readonly<{ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; type: Type | undefined; close: boolean; title: string | undefined; position: Position; message: string | undefined; time: number; }>; isShow: Ref<boolean>; timer: any; onClose: () => void; isIcon: ComputedRef<string>; iconClass: ComputedRef<string[]>; instance: ComponentInternalInstance; leave: () => void; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly title?: unknown; readonly message?: unknown; readonly time?: unknown; readonly position?: unknown; readonly close?: unknown; readonly type?: unknown; } & { close: boolean; position: Position; time: number; } & { type?: Type | undefined; title?: string | undefined; message?: string | undefined; }>, { close: boolean; position: Position; time: number; }>; export default _sfc_main;