index.d.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. export declare const Steps: import("../utils").WithInstall<import("vue").DefineComponent<{
  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. }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-step"[], "click-step", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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. }>> & {
  38. "onClick-step"?: ((...args: any[]) => any) | undefined;
  39. }, {
  40. active: string | number;
  41. direction: import("./Steps").StepsDirection;
  42. activeIcon: string;
  43. }>>;
  44. export default Steps;
  45. export type { StepsProps, StepsDirection } from './Steps';
  46. declare module 'vue' {
  47. interface GlobalComponents {
  48. VanSteps: typeof Steps;
  49. }
  50. }