UNPKG

element-plus

Version:

A Component Library for Vue 3

249 lines (248 loc) 10.6 kB
import type { CSSProperties } from 'vue'; declare const _default: import("vue").DefineComponent<{ readonly tabs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | (() => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | ((new (...args: any[]) => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | (() => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]))[], unknown, unknown, () => [], boolean>; }, { COMPONENT_NAME: string; props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ readonly tabs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | (() => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | ((new (...args: any[]) => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | (() => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]))[], unknown, unknown, () => [], boolean>; }>> & { [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; }>>; instance: import("vue").ComponentInternalInstance; rootTabs: import("./constants").TabsRootContext; ns: { namespace: import("vue").ComputedRef<string>; b: (blockSuffix?: string) => string; e: (element?: string | undefined) => string; m: (modifier?: string | undefined) => string; be: (blockSuffix?: string | undefined, element?: string | undefined) => string; em: (element?: string | undefined, modifier?: string | undefined) => string; bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string; bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; cssVar: (object: Record<string, string>) => Record<string, string>; cssVarName: (name: string) => string; cssVarBlock: (object: Record<string, string>) => Record<string, string>; cssVarBlockName: (name: string) => string; }; barRef: import("vue").Ref<HTMLDivElement | undefined>; barStyle: import("vue").Ref<CSSProperties | undefined>; getBarStyle: () => CSSProperties; update: () => CSSProperties; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ readonly tabs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | (() => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | ((new (...args: any[]) => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]) | (() => { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]))[], unknown, unknown, () => [], boolean>; }>>, { readonly tabs: { uid: number; slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; props: { readonly closable: boolean; readonly label: string; readonly disabled: boolean; readonly lazy: boolean; readonly name?: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined; }; paneName: string | number | undefined; active: boolean; index: string | undefined; isClosable: boolean; }[]; }>; export default _default;