index.d.ts 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. declare const TourStep: import("vue").DefineComponent<{
  2. prefixCls: {
  3. type: StringConstructor;
  4. };
  5. total: {
  6. type: NumberConstructor;
  7. };
  8. current: {
  9. type: NumberConstructor;
  10. };
  11. onClose: {
  12. type: import("vue").PropType<(e: MouseEvent) => void>;
  13. default: (e: MouseEvent) => void;
  14. };
  15. onFinish: {
  16. type: import("vue").PropType<(e: MouseEvent) => void>;
  17. default: (e: MouseEvent) => void;
  18. };
  19. renderPanel: {
  20. type: import("vue").PropType<(step: any, current: number) => import("../../_util/type").VueNode>;
  21. default: (step: any, current: number) => import("../../_util/type").VueNode;
  22. };
  23. onPrev: {
  24. type: import("vue").PropType<(e: MouseEvent) => void>;
  25. default: (e: MouseEvent) => void;
  26. };
  27. onNext: {
  28. type: import("vue").PropType<(e: MouseEvent) => void>;
  29. default: (e: MouseEvent) => void;
  30. };
  31. arrow: {
  32. type: import("vue").PropType<boolean | {
  33. pointAtCenter: boolean;
  34. }>;
  35. default: boolean | {
  36. pointAtCenter: boolean;
  37. };
  38. };
  39. target: {
  40. type: import("vue").PropType<HTMLElement | (() => HTMLElement) | (() => null)>;
  41. default: HTMLElement | (() => HTMLElement) | (() => null);
  42. };
  43. title: {
  44. type: import("vue").PropType<import("../../_util/type").VueNode>;
  45. default: import("../../_util/type").VueNode;
  46. };
  47. description: {
  48. type: import("vue").PropType<import("../../_util/type").VueNode>;
  49. default: import("../../_util/type").VueNode;
  50. };
  51. placement: {
  52. type: import("vue").PropType<import("../placements").PlacementType>;
  53. default: import("../placements").PlacementType;
  54. };
  55. mask: {
  56. type: import("vue").PropType<boolean | {
  57. style?: import("vue").CSSProperties;
  58. color?: string;
  59. }>;
  60. default: boolean | {
  61. style?: import("vue").CSSProperties;
  62. color?: string;
  63. };
  64. };
  65. className: {
  66. type: StringConstructor;
  67. };
  68. style: {
  69. type: import("vue").PropType<import("vue").CSSProperties>;
  70. default: import("vue").CSSProperties;
  71. };
  72. scrollIntoViewOptions: {
  73. type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
  74. default: boolean | ScrollIntoViewOptions;
  75. };
  76. }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  77. prefixCls: {
  78. type: StringConstructor;
  79. };
  80. total: {
  81. type: NumberConstructor;
  82. };
  83. current: {
  84. type: NumberConstructor;
  85. };
  86. onClose: {
  87. type: import("vue").PropType<(e: MouseEvent) => void>;
  88. default: (e: MouseEvent) => void;
  89. };
  90. onFinish: {
  91. type: import("vue").PropType<(e: MouseEvent) => void>;
  92. default: (e: MouseEvent) => void;
  93. };
  94. renderPanel: {
  95. type: import("vue").PropType<(step: any, current: number) => import("../../_util/type").VueNode>;
  96. default: (step: any, current: number) => import("../../_util/type").VueNode;
  97. };
  98. onPrev: {
  99. type: import("vue").PropType<(e: MouseEvent) => void>;
  100. default: (e: MouseEvent) => void;
  101. };
  102. onNext: {
  103. type: import("vue").PropType<(e: MouseEvent) => void>;
  104. default: (e: MouseEvent) => void;
  105. };
  106. arrow: {
  107. type: import("vue").PropType<boolean | {
  108. pointAtCenter: boolean;
  109. }>;
  110. default: boolean | {
  111. pointAtCenter: boolean;
  112. };
  113. };
  114. target: {
  115. type: import("vue").PropType<HTMLElement | (() => HTMLElement) | (() => null)>;
  116. default: HTMLElement | (() => HTMLElement) | (() => null);
  117. };
  118. title: {
  119. type: import("vue").PropType<import("../../_util/type").VueNode>;
  120. default: import("../../_util/type").VueNode;
  121. };
  122. description: {
  123. type: import("vue").PropType<import("../../_util/type").VueNode>;
  124. default: import("../../_util/type").VueNode;
  125. };
  126. placement: {
  127. type: import("vue").PropType<import("../placements").PlacementType>;
  128. default: import("../placements").PlacementType;
  129. };
  130. mask: {
  131. type: import("vue").PropType<boolean | {
  132. style?: import("vue").CSSProperties;
  133. color?: string;
  134. }>;
  135. default: boolean | {
  136. style?: import("vue").CSSProperties;
  137. color?: string;
  138. };
  139. };
  140. className: {
  141. type: StringConstructor;
  142. };
  143. style: {
  144. type: import("vue").PropType<import("vue").CSSProperties>;
  145. default: import("vue").CSSProperties;
  146. };
  147. scrollIntoViewOptions: {
  148. type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
  149. default: boolean | ScrollIntoViewOptions;
  150. };
  151. }>>, {
  152. style: import("vue").CSSProperties;
  153. title: import("../../_util/type").VueNode;
  154. mask: boolean | {
  155. style?: import("vue").CSSProperties;
  156. color?: string;
  157. };
  158. description: import("../../_util/type").VueNode;
  159. onClose: (e: MouseEvent) => void;
  160. onPrev: (e: MouseEvent) => void;
  161. onNext: (e: MouseEvent) => void;
  162. target: HTMLElement | (() => HTMLElement) | (() => null);
  163. arrow: boolean | {
  164. pointAtCenter: boolean;
  165. };
  166. placement: import("../placements").PlacementType;
  167. scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
  168. onFinish: (e: MouseEvent) => void;
  169. renderPanel: (step: any, current: number) => import("../../_util/type").VueNode;
  170. }, {}>;
  171. export default TourStep;