| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- import type { Plugin } from 'vue';
- import { TabPane } from './src';
- export type { TabsProps, TabPaneProps } from './src';
- declare const _default: {
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
- prefixCls: {
- type: StringConstructor;
- };
- id: {
- type: StringConstructor;
- };
- popupClassName: StringConstructor;
- getPopupContainer: {
- type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>;
- default: (triggerNode?: HTMLElement) => HTMLElement;
- };
- activeKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- defaultActiveKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- direction: {
- type: import("vue").PropType<"rtl" | "ltr">;
- default: "rtl" | "ltr";
- };
- animated: {
- type: import("vue").PropType<boolean | import("./src/interface").AnimatedConfig>;
- default: boolean | import("./src/interface").AnimatedConfig;
- };
- renderTabBar: {
- type: import("vue").PropType<import("./src/interface").RenderTabBar>;
- default: import("./src/interface").RenderTabBar;
- };
- tabBarGutter: {
- type: NumberConstructor;
- };
- tabBarStyle: {
- type: import("vue").PropType<import("vue").CSSProperties>;
- default: import("vue").CSSProperties;
- };
- tabPosition: {
- type: import("vue").PropType<import("./src/interface").TabPosition>;
- default: import("./src/interface").TabPosition;
- };
- destroyInactiveTabPane: {
- type: BooleanConstructor;
- default: boolean;
- };
- hideAdd: BooleanConstructor;
- type: {
- type: import("vue").PropType<import("./src/Tabs").TabsType>;
- default: import("./src/Tabs").TabsType;
- };
- size: {
- type: import("vue").PropType<import("../config-provider").SizeType>;
- default: import("../config-provider").SizeType;
- };
- centered: BooleanConstructor;
- onEdit: {
- type: import("vue").PropType<(e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void>;
- default: (e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void;
- };
- onChange: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- onTabClick: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void>;
- default: (activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void;
- };
- onTabScroll: {
- type: import("vue").PropType<import("./src/interface").OnTabScroll>;
- default: import("./src/interface").OnTabScroll;
- };
- 'onUpdate:activeKey': {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- locale: {
- type: import("vue").PropType<import("./src/interface").TabsLocale>;
- default: import("./src/interface").TabsLocale;
- };
- onPrevClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- onNextClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- tabBarExtraContent: import("vue-types").VueTypeValidableDef<any>;
- }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
- prefixCls: {
- type: StringConstructor;
- };
- id: {
- type: StringConstructor;
- };
- popupClassName: StringConstructor;
- getPopupContainer: {
- type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>;
- default: (triggerNode?: HTMLElement) => HTMLElement;
- };
- activeKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- defaultActiveKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- direction: {
- type: import("vue").PropType<"rtl" | "ltr">;
- default: "rtl" | "ltr";
- };
- animated: {
- type: import("vue").PropType<boolean | import("./src/interface").AnimatedConfig>;
- default: boolean | import("./src/interface").AnimatedConfig;
- };
- renderTabBar: {
- type: import("vue").PropType<import("./src/interface").RenderTabBar>;
- default: import("./src/interface").RenderTabBar;
- };
- tabBarGutter: {
- type: NumberConstructor;
- };
- tabBarStyle: {
- type: import("vue").PropType<import("vue").CSSProperties>;
- default: import("vue").CSSProperties;
- };
- tabPosition: {
- type: import("vue").PropType<import("./src/interface").TabPosition>;
- default: import("./src/interface").TabPosition;
- };
- destroyInactiveTabPane: {
- type: BooleanConstructor;
- default: boolean;
- };
- hideAdd: BooleanConstructor;
- type: {
- type: import("vue").PropType<import("./src/Tabs").TabsType>;
- default: import("./src/Tabs").TabsType;
- };
- size: {
- type: import("vue").PropType<import("../config-provider").SizeType>;
- default: import("../config-provider").SizeType;
- };
- centered: BooleanConstructor;
- onEdit: {
- type: import("vue").PropType<(e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void>;
- default: (e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void;
- };
- onChange: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- onTabClick: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void>;
- default: (activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void;
- };
- onTabScroll: {
- type: import("vue").PropType<import("./src/interface").OnTabScroll>;
- default: import("./src/interface").OnTabScroll;
- };
- 'onUpdate:activeKey': {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- locale: {
- type: import("vue").PropType<import("./src/interface").TabsLocale>;
- default: import("./src/interface").TabsLocale;
- };
- onPrevClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- onNextClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- tabBarExtraContent: import("vue-types").VueTypeValidableDef<any>;
- }>>, {
- size: import("../config-provider").SizeType;
- type: import("./src/Tabs").TabsType;
- onChange: (activeKey: import("../_util/type").Key) => void;
- direction: "rtl" | "ltr";
- getPopupContainer: (triggerNode?: HTMLElement) => HTMLElement;
- locale: import("./src/interface").TabsLocale;
- 'onUpdate:activeKey': (activeKey: import("../_util/type").Key) => void;
- animated: boolean | import("./src/interface").AnimatedConfig;
- destroyInactiveTabPane: boolean;
- onTabClick: (activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void;
- tabPosition: import("./src/interface").TabPosition;
- renderTabBar: import("./src/interface").RenderTabBar;
- onTabScroll: import("./src/interface").OnTabScroll;
- tabBarStyle: import("vue").CSSProperties;
- hideAdd: boolean;
- centered: boolean;
- onEdit: (e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void;
- onPrevClick: import("../_util/EventInterface").MouseEventHandler;
- onNextClick: import("../_util/EventInterface").MouseEventHandler;
- }, true, {}, import("../_util/type").CustomSlotsType<{
- tabBarExtraContent?: any;
- leftExtra?: any;
- rightExtra?: any;
- moreIcon?: any;
- addIcon?: any;
- removeIcon?: any;
- renderTabBar?: any;
- default?: any;
- }>, {
- P: {};
- B: {};
- D: {};
- C: {};
- M: {};
- Defaults: {};
- }, Readonly<import("vue").ExtractPropTypes<{
- prefixCls: {
- type: StringConstructor;
- };
- id: {
- type: StringConstructor;
- };
- popupClassName: StringConstructor;
- getPopupContainer: {
- type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>;
- default: (triggerNode?: HTMLElement) => HTMLElement;
- };
- activeKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- defaultActiveKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- direction: {
- type: import("vue").PropType<"rtl" | "ltr">;
- default: "rtl" | "ltr";
- };
- animated: {
- type: import("vue").PropType<boolean | import("./src/interface").AnimatedConfig>;
- default: boolean | import("./src/interface").AnimatedConfig;
- };
- renderTabBar: {
- type: import("vue").PropType<import("./src/interface").RenderTabBar>;
- default: import("./src/interface").RenderTabBar;
- };
- tabBarGutter: {
- type: NumberConstructor;
- };
- tabBarStyle: {
- type: import("vue").PropType<import("vue").CSSProperties>;
- default: import("vue").CSSProperties;
- };
- tabPosition: {
- type: import("vue").PropType<import("./src/interface").TabPosition>;
- default: import("./src/interface").TabPosition;
- };
- destroyInactiveTabPane: {
- type: BooleanConstructor;
- default: boolean;
- };
- hideAdd: BooleanConstructor;
- type: {
- type: import("vue").PropType<import("./src/Tabs").TabsType>;
- default: import("./src/Tabs").TabsType;
- };
- size: {
- type: import("vue").PropType<import("../config-provider").SizeType>;
- default: import("../config-provider").SizeType;
- };
- centered: BooleanConstructor;
- onEdit: {
- type: import("vue").PropType<(e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void>;
- default: (e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void;
- };
- onChange: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- onTabClick: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void>;
- default: (activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void;
- };
- onTabScroll: {
- type: import("vue").PropType<import("./src/interface").OnTabScroll>;
- default: import("./src/interface").OnTabScroll;
- };
- 'onUpdate:activeKey': {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- locale: {
- type: import("vue").PropType<import("./src/interface").TabsLocale>;
- default: import("./src/interface").TabsLocale;
- };
- onPrevClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- onNextClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- tabBarExtraContent: import("vue-types").VueTypeValidableDef<any>;
- }>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
- size: import("../config-provider").SizeType;
- type: import("./src/Tabs").TabsType;
- onChange: (activeKey: import("../_util/type").Key) => void;
- direction: "rtl" | "ltr";
- getPopupContainer: (triggerNode?: HTMLElement) => HTMLElement;
- locale: import("./src/interface").TabsLocale;
- 'onUpdate:activeKey': (activeKey: import("../_util/type").Key) => void;
- animated: boolean | import("./src/interface").AnimatedConfig;
- destroyInactiveTabPane: boolean;
- onTabClick: (activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void;
- tabPosition: import("./src/interface").TabPosition;
- renderTabBar: import("./src/interface").RenderTabBar;
- onTabScroll: import("./src/interface").OnTabScroll;
- tabBarStyle: import("vue").CSSProperties;
- hideAdd: boolean;
- centered: boolean;
- onEdit: (e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void;
- onPrevClick: import("../_util/EventInterface").MouseEventHandler;
- onNextClick: import("../_util/EventInterface").MouseEventHandler;
- }>;
- __isFragment?: never;
- __isTeleport?: never;
- __isSuspense?: never;
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
- prefixCls: {
- type: StringConstructor;
- };
- id: {
- type: StringConstructor;
- };
- popupClassName: StringConstructor;
- getPopupContainer: {
- type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>;
- default: (triggerNode?: HTMLElement) => HTMLElement;
- };
- activeKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- defaultActiveKey: {
- type: (StringConstructor | NumberConstructor)[];
- };
- direction: {
- type: import("vue").PropType<"rtl" | "ltr">;
- default: "rtl" | "ltr";
- };
- animated: {
- type: import("vue").PropType<boolean | import("./src/interface").AnimatedConfig>;
- default: boolean | import("./src/interface").AnimatedConfig;
- };
- renderTabBar: {
- type: import("vue").PropType<import("./src/interface").RenderTabBar>;
- default: import("./src/interface").RenderTabBar;
- };
- tabBarGutter: {
- type: NumberConstructor;
- };
- tabBarStyle: {
- type: import("vue").PropType<import("vue").CSSProperties>;
- default: import("vue").CSSProperties;
- };
- tabPosition: {
- type: import("vue").PropType<import("./src/interface").TabPosition>;
- default: import("./src/interface").TabPosition;
- };
- destroyInactiveTabPane: {
- type: BooleanConstructor;
- default: boolean;
- };
- hideAdd: BooleanConstructor;
- type: {
- type: import("vue").PropType<import("./src/Tabs").TabsType>;
- default: import("./src/Tabs").TabsType;
- };
- size: {
- type: import("vue").PropType<import("../config-provider").SizeType>;
- default: import("../config-provider").SizeType;
- };
- centered: BooleanConstructor;
- onEdit: {
- type: import("vue").PropType<(e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void>;
- default: (e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void;
- };
- onChange: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- onTabClick: {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void>;
- default: (activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void;
- };
- onTabScroll: {
- type: import("vue").PropType<import("./src/interface").OnTabScroll>;
- default: import("./src/interface").OnTabScroll;
- };
- 'onUpdate:activeKey': {
- type: import("vue").PropType<(activeKey: import("../_util/type").Key) => void>;
- default: (activeKey: import("../_util/type").Key) => void;
- };
- locale: {
- type: import("vue").PropType<import("./src/interface").TabsLocale>;
- default: import("./src/interface").TabsLocale;
- };
- onPrevClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- onNextClick: {
- type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
- default: import("../_util/EventInterface").MouseEventHandler;
- };
- tabBarExtraContent: import("vue-types").VueTypeValidableDef<any>;
- }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
- size: import("../config-provider").SizeType;
- type: import("./src/Tabs").TabsType;
- onChange: (activeKey: import("../_util/type").Key) => void;
- direction: "rtl" | "ltr";
- getPopupContainer: (triggerNode?: HTMLElement) => HTMLElement;
- locale: import("./src/interface").TabsLocale;
- 'onUpdate:activeKey': (activeKey: import("../_util/type").Key) => void;
- animated: boolean | import("./src/interface").AnimatedConfig;
- destroyInactiveTabPane: boolean;
- onTabClick: (activeKey: import("../_util/type").Key, e: MouseEvent | KeyboardEvent) => void;
- tabPosition: import("./src/interface").TabPosition;
- renderTabBar: import("./src/interface").RenderTabBar;
- onTabScroll: import("./src/interface").OnTabScroll;
- tabBarStyle: import("vue").CSSProperties;
- hideAdd: boolean;
- centered: boolean;
- onEdit: (e: import("../_util/type").Key | MouseEvent | KeyboardEvent, action: "add" | "remove") => void;
- onPrevClick: import("../_util/EventInterface").MouseEventHandler;
- onNextClick: import("../_util/EventInterface").MouseEventHandler;
- }, {}, string, import("../_util/type").CustomSlotsType<{
- tabBarExtraContent?: any;
- leftExtra?: any;
- rightExtra?: any;
- moreIcon?: any;
- addIcon?: any;
- removeIcon?: any;
- renderTabBar?: any;
- default?: any;
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
- readonly TabPane: typeof TabPane;
- };
- export default _default;
- export { TabPane };
|