UNPKG

1.91 kBTypeScriptView Raw
1import { IndexBarProps } from './IndexBar';
2export declare const IndexBar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3 sticky: {
4 type: BooleanConstructor;
5 default: true;
6 };
7 zIndex: (NumberConstructor | StringConstructor)[];
8 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
9 highlightColor: StringConstructor;
10 stickyOffsetTop: {
11 type: NumberConstructor;
12 default: number;
13 };
14 indexList: {
15 type: import("vue").PropType<import("../utils").Numeric[]>;
16 default: () => string[];
17 };
18}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19 sticky: {
20 type: BooleanConstructor;
21 default: true;
22 };
23 zIndex: (NumberConstructor | StringConstructor)[];
24 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
25 highlightColor: StringConstructor;
26 stickyOffsetTop: {
27 type: NumberConstructor;
28 default: number;
29 };
30 indexList: {
31 type: import("vue").PropType<import("../utils").Numeric[]>;
32 default: () => string[];
33 };
34}>> & Readonly<{
35 onChange?: ((...args: any[]) => any) | undefined;
36 onSelect?: ((...args: any[]) => any) | undefined;
37}>, {
38 sticky: boolean;
39 stickyOffsetTop: number;
40 indexList: import("../utils").Numeric[];
41}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
42export default IndexBar;
43export { indexBarProps } from './IndexBar';
44export type { IndexBarProps };
45export type { IndexBarInstance, IndexBarThemeVars } from './types';
46declare module 'vue' {
47 interface GlobalComponents {
48 VanIndexBar: typeof IndexBar;
49 }
50}
51
\No newline at end of file