index.d.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. export declare const Steps: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  2. active: {
  3. type: (NumberConstructor | StringConstructor)[];
  4. default: number;
  5. };
  6. direction: {
  7. type: import("vue").PropType<import("./Steps").StepsDirection>;
  8. default: import("./Steps").StepsDirection;
  9. };
  10. activeIcon: {
  11. type: import("vue").PropType<string>;
  12. default: string;
  13. };
  14. iconPrefix: StringConstructor;
  15. finishIcon: StringConstructor;
  16. activeColor: StringConstructor;
  17. inactiveIcon: StringConstructor;
  18. inactiveColor: StringConstructor;
  19. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  20. active: {
  21. type: (NumberConstructor | StringConstructor)[];
  22. default: number;
  23. };
  24. direction: {
  25. type: import("vue").PropType<import("./Steps").StepsDirection>;
  26. default: import("./Steps").StepsDirection;
  27. };
  28. activeIcon: {
  29. type: import("vue").PropType<string>;
  30. default: string;
  31. };
  32. iconPrefix: StringConstructor;
  33. finishIcon: StringConstructor;
  34. activeColor: StringConstructor;
  35. inactiveIcon: StringConstructor;
  36. inactiveColor: StringConstructor;
  37. }>> & Readonly<{
  38. onClickStep?: ((...args: any[]) => any) | undefined;
  39. }>, {
  40. active: string | number;
  41. direction: import("./Steps").StepsDirection;
  42. activeIcon: string;
  43. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  44. export default Steps;
  45. export { stepsProps } from './Steps';
  46. export type { StepsProps, StepsDirection } from './Steps';
  47. export type { StepsThemeVars } from './types';
  48. declare module 'vue' {
  49. interface GlobalComponents {
  50. VanSteps: typeof Steps;
  51. }
  52. }