index.d.ts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import { IndexBarProps } from './IndexBar';
  2. export 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>>;
  42. export default IndexBar;
  43. export { indexBarProps } from './IndexBar';
  44. export type { IndexBarProps };
  45. export type { IndexBarInstance, IndexBarThemeVars } from './types';
  46. declare module 'vue' {
  47. interface GlobalComponents {
  48. VanIndexBar: typeof IndexBar;
  49. }
  50. }