panelRender.d.ts 5.9 KB

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