index.d.ts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. import type { Plugin } from 'vue';
  2. import { collapseProps } from './Collapse';
  3. import CollapsePanel, { collapsePanelProps } from './CollapsePanel';
  4. export type { CollapseProps } from './Collapse';
  5. export type { CollapsePanelProps } from './CollapsePanel';
  6. export { CollapsePanel, collapseProps, collapsePanelProps };
  7. declare const _default: {
  8. new (...args: any[]): {
  9. $: import("vue").ComponentInternalInstance;
  10. $data: {};
  11. $props: Partial<{
  12. openAnimation: {
  13. [key: string]: any;
  14. };
  15. bordered: boolean;
  16. ghost: boolean;
  17. destroyInactivePanel: boolean;
  18. accordion: boolean;
  19. }> & Omit<Readonly<import("vue").ExtractPropTypes<{
  20. prefixCls: StringConstructor;
  21. activeKey: {
  22. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  23. };
  24. defaultActiveKey: {
  25. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  26. };
  27. accordion: {
  28. type: BooleanConstructor;
  29. default: any;
  30. };
  31. destroyInactivePanel: {
  32. type: BooleanConstructor;
  33. default: any;
  34. };
  35. bordered: {
  36. type: BooleanConstructor;
  37. default: any;
  38. };
  39. expandIcon: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  40. openAnimation: import("vue-types").VueTypeValidableDef<{
  41. [key: string]: any;
  42. }> & {
  43. default: () => {
  44. [key: string]: any;
  45. };
  46. };
  47. expandIconPosition: import("vue-types").VueTypeDef<"left" | "right">;
  48. collapsible: {
  49. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  50. };
  51. ghost: {
  52. type: BooleanConstructor;
  53. default: any;
  54. };
  55. onChange: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  56. 'onUpdate:activeKey': import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  57. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "openAnimation" | "bordered" | "ghost" | "destroyInactivePanel" | "accordion">;
  58. $attrs: {
  59. [x: string]: unknown;
  60. };
  61. $refs: {
  62. [x: string]: unknown;
  63. };
  64. $slots: Readonly<{
  65. [name: string]: import("vue").Slot;
  66. }>;
  67. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
  68. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
  69. $emit: (event: string, ...args: any[]) => void;
  70. $el: any;
  71. $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  72. prefixCls: StringConstructor;
  73. activeKey: {
  74. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  75. };
  76. defaultActiveKey: {
  77. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  78. };
  79. accordion: {
  80. type: BooleanConstructor;
  81. default: any;
  82. };
  83. destroyInactivePanel: {
  84. type: BooleanConstructor;
  85. default: any;
  86. };
  87. bordered: {
  88. type: BooleanConstructor;
  89. default: any;
  90. };
  91. expandIcon: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  92. openAnimation: import("vue-types").VueTypeValidableDef<{
  93. [key: string]: any;
  94. }> & {
  95. default: () => {
  96. [key: string]: any;
  97. };
  98. };
  99. expandIconPosition: import("vue-types").VueTypeDef<"left" | "right">;
  100. collapsible: {
  101. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  102. };
  103. ghost: {
  104. type: BooleanConstructor;
  105. default: any;
  106. };
  107. onChange: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  108. 'onUpdate:activeKey': import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  109. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  110. openAnimation: {
  111. [key: string]: any;
  112. };
  113. bordered: boolean;
  114. ghost: boolean;
  115. destroyInactivePanel: boolean;
  116. accordion: boolean;
  117. }, {}, string> & {
  118. beforeCreate?: (() => void) | (() => void)[];
  119. created?: (() => void) | (() => void)[];
  120. beforeMount?: (() => void) | (() => void)[];
  121. mounted?: (() => void) | (() => void)[];
  122. beforeUpdate?: (() => void) | (() => void)[];
  123. updated?: (() => void) | (() => void)[];
  124. activated?: (() => void) | (() => void)[];
  125. deactivated?: (() => void) | (() => void)[];
  126. beforeDestroy?: (() => void) | (() => void)[];
  127. beforeUnmount?: (() => void) | (() => void)[];
  128. destroyed?: (() => void) | (() => void)[];
  129. unmounted?: (() => void) | (() => void)[];
  130. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  131. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  132. errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
  133. };
  134. $forceUpdate: () => void;
  135. $nextTick: typeof import("vue").nextTick;
  136. $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  137. } & Readonly<import("vue").ExtractPropTypes<{
  138. prefixCls: StringConstructor;
  139. activeKey: {
  140. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  141. };
  142. defaultActiveKey: {
  143. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  144. };
  145. accordion: {
  146. type: BooleanConstructor;
  147. default: any;
  148. };
  149. destroyInactivePanel: {
  150. type: BooleanConstructor;
  151. default: any;
  152. };
  153. bordered: {
  154. type: BooleanConstructor;
  155. default: any;
  156. };
  157. expandIcon: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  158. openAnimation: import("vue-types").VueTypeValidableDef<{
  159. [key: string]: any;
  160. }> & {
  161. default: () => {
  162. [key: string]: any;
  163. };
  164. };
  165. expandIconPosition: import("vue-types").VueTypeDef<"left" | "right">;
  166. collapsible: {
  167. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  168. };
  169. ghost: {
  170. type: BooleanConstructor;
  171. default: any;
  172. };
  173. onChange: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  174. 'onUpdate:activeKey': import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  175. }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
  176. __isFragment?: never;
  177. __isTeleport?: never;
  178. __isSuspense?: never;
  179. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  180. prefixCls: StringConstructor;
  181. activeKey: {
  182. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  183. };
  184. defaultActiveKey: {
  185. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  186. };
  187. accordion: {
  188. type: BooleanConstructor;
  189. default: any;
  190. };
  191. destroyInactivePanel: {
  192. type: BooleanConstructor;
  193. default: any;
  194. };
  195. bordered: {
  196. type: BooleanConstructor;
  197. default: any;
  198. };
  199. expandIcon: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  200. openAnimation: import("vue-types").VueTypeValidableDef<{
  201. [key: string]: any;
  202. }> & {
  203. default: () => {
  204. [key: string]: any;
  205. };
  206. };
  207. expandIconPosition: import("vue-types").VueTypeDef<"left" | "right">;
  208. collapsible: {
  209. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  210. };
  211. ghost: {
  212. type: BooleanConstructor;
  213. default: any;
  214. };
  215. onChange: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  216. 'onUpdate:activeKey': import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  217. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  218. openAnimation: {
  219. [key: string]: any;
  220. };
  221. bordered: boolean;
  222. ghost: boolean;
  223. destroyInactivePanel: boolean;
  224. accordion: boolean;
  225. }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
  226. readonly Panel: typeof CollapsePanel;
  227. };
  228. export default _default;