index.d.ts 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
  9. prefixCls: StringConstructor;
  10. activeKey: {
  11. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  12. default: import("./commonProps").ActiveKeyType;
  13. };
  14. defaultActiveKey: {
  15. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  16. default: import("./commonProps").ActiveKeyType;
  17. };
  18. accordion: {
  19. type: BooleanConstructor;
  20. default: boolean;
  21. };
  22. destroyInactivePanel: {
  23. type: BooleanConstructor;
  24. default: boolean;
  25. };
  26. bordered: {
  27. type: BooleanConstructor;
  28. default: boolean;
  29. };
  30. expandIcon: {
  31. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  32. default: (panelProps: import("./commonProps").PanelProps) => any;
  33. };
  34. openAnimation: import("vue-types").VueTypeValidableDef<{
  35. [key: string]: any;
  36. }> & {
  37. default: () => {
  38. [key: string]: any;
  39. };
  40. };
  41. expandIconPosition: {
  42. type: import("vue").PropType<"end" | "start">;
  43. default: "end" | "start";
  44. };
  45. collapsible: {
  46. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  47. default: import("./commonProps").CollapsibleType;
  48. };
  49. ghost: {
  50. type: BooleanConstructor;
  51. default: boolean;
  52. };
  53. onChange: {
  54. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  55. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  56. };
  57. 'onUpdate:activeKey': {
  58. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  59. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  60. };
  61. }>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
  62. onChange: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  63. expandIcon: (panelProps: import("./commonProps").PanelProps) => any;
  64. activeKey: import("./commonProps").ActiveKeyType;
  65. 'onUpdate:activeKey': (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  66. ghost: boolean;
  67. bordered: boolean;
  68. openAnimation: {
  69. [key: string]: any;
  70. };
  71. defaultActiveKey: import("./commonProps").ActiveKeyType;
  72. destroyInactivePanel: boolean;
  73. accordion: boolean;
  74. collapsible: import("./commonProps").CollapsibleType;
  75. expandIconPosition: "end" | "start";
  76. }, true, {}, import("../_util/type").CustomSlotsType<{
  77. default?: any;
  78. expandIcon?: Partial<import("vue").ExtractPropTypes<{
  79. openAnimation: import("vue-types").VueTypeValidableDef<{
  80. [key: string]: any;
  81. }> & {
  82. default: () => {
  83. [key: string]: any;
  84. };
  85. };
  86. prefixCls: StringConstructor;
  87. header: import("vue-types").VueTypeValidableDef<any>;
  88. headerClass: StringConstructor;
  89. showArrow: {
  90. type: BooleanConstructor;
  91. default: boolean;
  92. };
  93. isActive: {
  94. type: BooleanConstructor;
  95. default: boolean;
  96. };
  97. destroyInactivePanel: {
  98. type: BooleanConstructor;
  99. default: boolean;
  100. };
  101. disabled: {
  102. type: BooleanConstructor;
  103. default: boolean;
  104. };
  105. accordion: {
  106. type: BooleanConstructor;
  107. default: boolean;
  108. };
  109. forceRender: {
  110. type: BooleanConstructor;
  111. default: boolean;
  112. };
  113. expandIcon: {
  114. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  115. default: (panelProps: import("./commonProps").PanelProps) => any;
  116. };
  117. extra: import("vue-types").VueTypeValidableDef<any>;
  118. panelKey: {
  119. type: import("vue").PropType<string | number>;
  120. default: string | number;
  121. };
  122. collapsible: {
  123. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  124. default: import("./commonProps").CollapsibleType;
  125. };
  126. role: StringConstructor;
  127. onItemClick: {
  128. type: import("vue").PropType<(panelKey: import("../_util/type").Key) => void>;
  129. default: (panelKey: import("../_util/type").Key) => void;
  130. };
  131. }>>;
  132. }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
  133. P: {};
  134. B: {};
  135. D: {};
  136. C: {};
  137. M: {};
  138. Defaults: {};
  139. }, Readonly<import("vue").ExtractPropTypes<{
  140. prefixCls: StringConstructor;
  141. activeKey: {
  142. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  143. default: import("./commonProps").ActiveKeyType;
  144. };
  145. defaultActiveKey: {
  146. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  147. default: import("./commonProps").ActiveKeyType;
  148. };
  149. accordion: {
  150. type: BooleanConstructor;
  151. default: boolean;
  152. };
  153. destroyInactivePanel: {
  154. type: BooleanConstructor;
  155. default: boolean;
  156. };
  157. bordered: {
  158. type: BooleanConstructor;
  159. default: boolean;
  160. };
  161. expandIcon: {
  162. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  163. default: (panelProps: import("./commonProps").PanelProps) => any;
  164. };
  165. openAnimation: import("vue-types").VueTypeValidableDef<{
  166. [key: string]: any;
  167. }> & {
  168. default: () => {
  169. [key: string]: any;
  170. };
  171. };
  172. expandIconPosition: {
  173. type: import("vue").PropType<"end" | "start">;
  174. default: "end" | "start";
  175. };
  176. collapsible: {
  177. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  178. default: import("./commonProps").CollapsibleType;
  179. };
  180. ghost: {
  181. type: BooleanConstructor;
  182. default: boolean;
  183. };
  184. onChange: {
  185. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  186. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  187. };
  188. 'onUpdate:activeKey': {
  189. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  190. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  191. };
  192. }>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, {
  193. onChange: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  194. expandIcon: (panelProps: import("./commonProps").PanelProps) => any;
  195. activeKey: import("./commonProps").ActiveKeyType;
  196. 'onUpdate:activeKey': (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  197. ghost: boolean;
  198. bordered: boolean;
  199. openAnimation: {
  200. [key: string]: any;
  201. };
  202. defaultActiveKey: import("./commonProps").ActiveKeyType;
  203. destroyInactivePanel: boolean;
  204. accordion: boolean;
  205. collapsible: import("./commonProps").CollapsibleType;
  206. expandIconPosition: "end" | "start";
  207. }>;
  208. __isFragment?: never;
  209. __isTeleport?: never;
  210. __isSuspense?: never;
  211. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  212. prefixCls: StringConstructor;
  213. activeKey: {
  214. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  215. default: import("./commonProps").ActiveKeyType;
  216. };
  217. defaultActiveKey: {
  218. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  219. default: import("./commonProps").ActiveKeyType;
  220. };
  221. accordion: {
  222. type: BooleanConstructor;
  223. default: boolean;
  224. };
  225. destroyInactivePanel: {
  226. type: BooleanConstructor;
  227. default: boolean;
  228. };
  229. bordered: {
  230. type: BooleanConstructor;
  231. default: boolean;
  232. };
  233. expandIcon: {
  234. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  235. default: (panelProps: import("./commonProps").PanelProps) => any;
  236. };
  237. openAnimation: import("vue-types").VueTypeValidableDef<{
  238. [key: string]: any;
  239. }> & {
  240. default: () => {
  241. [key: string]: any;
  242. };
  243. };
  244. expandIconPosition: {
  245. type: import("vue").PropType<"end" | "start">;
  246. default: "end" | "start";
  247. };
  248. collapsible: {
  249. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  250. default: import("./commonProps").CollapsibleType;
  251. };
  252. ghost: {
  253. type: BooleanConstructor;
  254. default: boolean;
  255. };
  256. onChange: {
  257. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  258. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  259. };
  260. 'onUpdate:activeKey': {
  261. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  262. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  263. };
  264. }>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  265. onChange: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  266. expandIcon: (panelProps: import("./commonProps").PanelProps) => any;
  267. activeKey: import("./commonProps").ActiveKeyType;
  268. 'onUpdate:activeKey': (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  269. ghost: boolean;
  270. bordered: boolean;
  271. openAnimation: {
  272. [key: string]: any;
  273. };
  274. defaultActiveKey: import("./commonProps").ActiveKeyType;
  275. destroyInactivePanel: boolean;
  276. accordion: boolean;
  277. collapsible: import("./commonProps").CollapsibleType;
  278. expandIconPosition: "end" | "start";
  279. }, {}, string, import("../_util/type").CustomSlotsType<{
  280. default?: any;
  281. expandIcon?: Partial<import("vue").ExtractPropTypes<{
  282. openAnimation: import("vue-types").VueTypeValidableDef<{
  283. [key: string]: any;
  284. }> & {
  285. default: () => {
  286. [key: string]: any;
  287. };
  288. };
  289. prefixCls: StringConstructor;
  290. header: import("vue-types").VueTypeValidableDef<any>;
  291. headerClass: StringConstructor;
  292. showArrow: {
  293. type: BooleanConstructor;
  294. default: boolean;
  295. };
  296. isActive: {
  297. type: BooleanConstructor;
  298. default: boolean;
  299. };
  300. destroyInactivePanel: {
  301. type: BooleanConstructor;
  302. default: boolean;
  303. };
  304. disabled: {
  305. type: BooleanConstructor;
  306. default: boolean;
  307. };
  308. accordion: {
  309. type: BooleanConstructor;
  310. default: boolean;
  311. };
  312. forceRender: {
  313. type: BooleanConstructor;
  314. default: boolean;
  315. };
  316. expandIcon: {
  317. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  318. default: (panelProps: import("./commonProps").PanelProps) => any;
  319. };
  320. extra: import("vue-types").VueTypeValidableDef<any>;
  321. panelKey: {
  322. type: import("vue").PropType<string | number>;
  323. default: string | number;
  324. };
  325. collapsible: {
  326. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  327. default: import("./commonProps").CollapsibleType;
  328. };
  329. role: StringConstructor;
  330. onItemClick: {
  331. type: import("vue").PropType<(panelKey: import("../_util/type").Key) => void>;
  332. default: (panelKey: import("../_util/type").Key) => void;
  333. };
  334. }>>;
  335. }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
  336. readonly Panel: typeof CollapsePanel;
  337. };
  338. export default _default;