element-pro-components
Version:
a component library for Vue 3 base on element-plus
46 lines (45 loc) • 4.58 kB
TypeScript
import type { VNode } from 'vue';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
keepHiddenRoute: BooleanConstructor;
beforeAdd: import("vue").PropType<import("./type").ITabsBeforeAdd>;
contextmenu: import("vue").PropType<boolean | import("./type").ITabContextmenuProps>;
refreshPath: StringConstructor;
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "", boolean>;
tabPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
beforeLeave: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | (() => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | {
(): (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>;
new (): any;
readonly prototype: any;
} | ((new (...args: any[]) => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | (() => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | {
(): (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>;
new (): any;
readonly prototype: any;
})[], unknown, unknown, () => true, boolean>;
stretch: BooleanConstructor;
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
keepHiddenRoute: BooleanConstructor;
beforeAdd: import("vue").PropType<import("./type").ITabsBeforeAdd>;
contextmenu: import("vue").PropType<boolean | import("./type").ITabContextmenuProps>;
refreshPath: StringConstructor;
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "", boolean>;
tabPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
beforeLeave: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | (() => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | {
(): (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>;
new (): any;
readonly prototype: any;
} | ((new (...args: any[]) => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | (() => (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>) | {
(): (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>;
new (): any;
readonly prototype: any;
})[], unknown, unknown, () => true, boolean>;
stretch: BooleanConstructor;
}>> & Readonly<{}>, {
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
tabPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right", unknown>;
beforeLeave: (newName: import("element-plus").TabPaneName, oldName: import("element-plus").TabPaneName) => import("element-plus/es/utils").Awaitable<void | boolean>;
stretch: boolean;
keepHiddenRoute: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;