import { ThemeCommonVars } from "../../_styles/common/light.js"; import { ExtractPublicPropTypes } from "../../_utils/naive/extract-public-props.js"; import { MaybeArray } from "../../_utils/vue/call.js"; import "../../_utils/index.js"; import { ButtonTheme } from "../../button/styles/light.js"; import "../../button/styles/index.js"; import { Addable, OnBeforeLeave, OnClose, OnUpdateValue, TabsType } from "./interface.js"; import { TabsSize } from "./public-types.js"; import { TabsTheme, TabsThemeOverrides, TabsThemeVars } from "../styles/light.js"; import "../styles/index.js"; import "../../index.js"; import { RtlItem } from "../../config-provider/src/internal-interface.js"; import { CSSProperties, ExtractPropTypes, PropType, Ref, SlotsType, VNode } from "vue"; //#region src/tabs/src/Tabs.d.ts declare const tabsProps: { readonly value: PropType; readonly defaultValue: PropType; readonly trigger: { readonly type: PropType<"click" | "hover">; readonly default: "click"; }; readonly type: { readonly type: PropType; readonly default: "bar"; }; readonly closable: BooleanConstructor; readonly justifyContent: PropType<"space-between" | "space-around" | "space-evenly" | "center" | "start" | "end">; readonly size: PropType; readonly placement: { readonly type: PropType<"top" | "right" | "bottom" | "left" | "start" | "end">; readonly default: "top"; }; readonly tabStyle: PropType; readonly tabClass: StringConstructor; readonly addTabStyle: PropType; readonly addTabClass: StringConstructor; readonly barWidth: NumberConstructor; readonly paneClass: StringConstructor; readonly paneStyle: PropType; readonly paneWrapperClass: StringConstructor; readonly paneWrapperStyle: PropType; readonly addable: PropType; readonly tabsPadding: { readonly type: NumberConstructor; readonly default: 0; }; readonly animated: BooleanConstructor; readonly onBeforeLeave: PropType; readonly onAdd: PropType<() => void>; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly onClose: PropType>; readonly labelSize: PropType; readonly activeName: PropType; readonly onActiveNameChange: PropType void>>; readonly showScrollButton: BooleanConstructor; readonly centerActiveTab: BooleanConstructor; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }; type TabsProps = ExtractPublicPropTypes; interface TabsSlots { default?: () => VNode[]; prefix?: () => VNode[]; suffix?: () => VNode[]; } declare const _default: import("vue").DefineComponent; readonly defaultValue: PropType; readonly trigger: { readonly type: PropType<"click" | "hover">; readonly default: "click"; }; readonly type: { readonly type: PropType; readonly default: "bar"; }; readonly closable: BooleanConstructor; readonly justifyContent: PropType<"space-between" | "space-around" | "space-evenly" | "center" | "start" | "end">; readonly size: PropType; readonly placement: { readonly type: PropType<"top" | "right" | "bottom" | "left" | "start" | "end">; readonly default: "top"; }; readonly tabStyle: PropType; readonly tabClass: StringConstructor; readonly addTabStyle: PropType; readonly addTabClass: StringConstructor; readonly barWidth: NumberConstructor; readonly paneClass: StringConstructor; readonly paneStyle: PropType; readonly paneWrapperClass: StringConstructor; readonly paneWrapperStyle: PropType; readonly addable: PropType; readonly tabsPadding: { readonly type: NumberConstructor; readonly default: 0; }; readonly animated: BooleanConstructor; readonly onBeforeLeave: PropType; readonly onAdd: PropType<() => void>; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly onClose: PropType>; readonly labelSize: PropType; readonly activeName: PropType; readonly onActiveNameChange: PropType void>>; readonly showScrollButton: BooleanConstructor; readonly centerActiveTab: BooleanConstructor; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }>, { syncBarPosition: () => void; scrollToCurrentTab: () => void; mergedClsPrefix: Ref; mergedValue: import("vue").ComputedRef; renderedNames: Set>; segmentCapsuleElRef: Ref; tabsPaneWrapperRef: Ref; tabsElRef: Ref; selfElRef: Ref; barElRef: Ref; addTabInstRef: unknown; xScrollInstRef: unknown; scrollWrapperElRef: Ref; addTabFixed: Ref; tabWrapperStyle: import("vue").ComputedRef<{ display: string; justifyContent: "center" | "start" | "end" | "space-around" | "space-between" | "space-evenly"; } | undefined>; handleNavResize: (entry: ResizeObserverEntry) => void; mergedSize: import("vue").ComputedRef; handleScroll: (e: Event) => void; handleTabsResize: (entry: ResizeObserverEntry) => void; cssVars: Ref | undefined; themeClass: Ref | undefined; animationDirection: Ref<"prev" | "next", "prev" | "next">; renderNameListRef: { value: Array; }; yScrollElRef: Ref; handleSegmentResize: () => void; onAnimationBeforeLeave: (el: HTMLElement) => void; onAnimationEnter: (el: HTMLElement) => void; onAnimationAfterEnter: () => void; onRender: (() => void) | undefined; startReachedRef: Ref; endReachedRef: Ref; isOverflow: Ref; handleButtonClick: (type: string) => void; mergedTheme: import("vue").ComputedRef<{ common: ThemeCommonVars; self: TabsThemeVars; peers: { Button: ButtonTheme; }; peerOverrides: { Button?: { peers?: { [x: string]: any; } | undefined; } | undefined; }; }>; rtlEnabled: Ref | undefined; mergedPlacement: import("vue").ComputedRef<"left" | "right" | "top" | "bottom">; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; readonly defaultValue: PropType; readonly trigger: { readonly type: PropType<"click" | "hover">; readonly default: "click"; }; readonly type: { readonly type: PropType; readonly default: "bar"; }; readonly closable: BooleanConstructor; readonly justifyContent: PropType<"space-between" | "space-around" | "space-evenly" | "center" | "start" | "end">; readonly size: PropType; readonly placement: { readonly type: PropType<"top" | "right" | "bottom" | "left" | "start" | "end">; readonly default: "top"; }; readonly tabStyle: PropType; readonly tabClass: StringConstructor; readonly addTabStyle: PropType; readonly addTabClass: StringConstructor; readonly barWidth: NumberConstructor; readonly paneClass: StringConstructor; readonly paneStyle: PropType; readonly paneWrapperClass: StringConstructor; readonly paneWrapperStyle: PropType; readonly addable: PropType; readonly tabsPadding: { readonly type: NumberConstructor; readonly default: 0; }; readonly animated: BooleanConstructor; readonly onBeforeLeave: PropType; readonly onAdd: PropType<() => void>; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly onClose: PropType>; readonly labelSize: PropType; readonly activeName: PropType; readonly onActiveNameChange: PropType void>>; readonly showScrollButton: BooleanConstructor; readonly centerActiveTab: BooleanConstructor; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }>> & Readonly<{}>, { readonly type: TabsType; readonly closable: boolean; readonly trigger: "hover" | "click"; readonly placement: "left" | "right" | "top" | "bottom" | "start" | "end"; readonly animated: boolean; readonly tabsPadding: number; readonly showScrollButton: boolean; readonly centerActiveTab: boolean; }, SlotsType, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { TabsProps, TabsSlots, _default as default, tabsProps };