UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

64 lines (63 loc) 3.64 kB
import { TabsSlots } from './symbol'; declare function handleActive(label: string | number): void; declare function handleAdd(): void; declare function handleClose(label: string | number): void; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<TabsSlots> & TabsSlots; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ slots: import('vue').PropType<TabsSlots>; inherit: import('vue').PropType<boolean>; active: import('vue').PropType<string | number>; onChange: import('vue').PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>; placement: import('vue').PropType<"bottom" | "top" | "right" | "left">; card: import('vue').PropType<boolean>; onClose: import('vue').PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>; closable: import('vue').PropType<boolean>; align: import('vue').PropType<"center" | "right" | "left">; showAdd: import('vue').PropType<boolean>; onAdd: import('vue').PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; }>, { currentActive: import('vue').Ref<string | number, string | number>; isTransition: import('vue').Ref<boolean, boolean>; itemList: import('vue').ComputedRef<{ label: string | number; name: string; icon: Record<string, any>; disabled: boolean; closable?: boolean | undefined; labelRenderer: null | ((data: { label: string | number; }) => any); }[]>; handleActive: typeof handleActive; handleAdd: typeof handleAdd; handleClose: typeof handleClose; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:active": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ slots: import('vue').PropType<TabsSlots>; inherit: import('vue').PropType<boolean>; active: import('vue').PropType<string | number>; onChange: import('vue').PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>; placement: import('vue').PropType<"bottom" | "top" | "right" | "left">; card: import('vue').PropType<boolean>; onClose: import('vue').PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>; closable: import('vue').PropType<boolean>; align: import('vue').PropType<"center" | "right" | "left">; showAdd: import('vue').PropType<boolean>; onAdd: import('vue').PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; }>> & Readonly<{ "onUpdate:active"?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };