UNPKG

@solfacil/girassol

Version:
66 lines (65 loc) 2.14 kB
import type { TabList, Tabs } from './types'; declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ id: Tabs['id']; tabList?: TabList[] | undefined; onlyLine?: Tabs['onlyLine']; }>, { tabList: () => ({ label: string; disabled: boolean; key: string; active?: undefined; } | { label: string; active: boolean; key: string; disabled?: undefined; })[]; }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:tabList": (tab: TabList[]) => void; } & { "tabitem:active": (tab: TabList) => void; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ id: Tabs['id']; tabList?: TabList[] | undefined; onlyLine?: Tabs['onlyLine']; }>, { tabList: () => ({ label: string; disabled: boolean; key: string; active?: undefined; } | { label: string; active: boolean; key: string; disabled?: undefined; })[]; }>>> & { "onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined; "onTabitem:active"?: ((tab: TabList) => any) | undefined; }, { tabList: Tabs['tabList']; }>, Record<string, (_: {}) => any> & Record<string, (_: { label: string; }) => any> & Record<string, (_: {}) => any> & Record<string, (_: {}) => any>>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & { default: D[K]; } : P[K]; }; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };