index.d.ts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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").CreateComponentPublicInstance<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. }>>, () => import("../_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
  62. prefixCls: StringConstructor;
  63. activeKey: {
  64. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  65. default: import("./commonProps").ActiveKeyType;
  66. };
  67. defaultActiveKey: {
  68. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  69. default: import("./commonProps").ActiveKeyType;
  70. };
  71. accordion: {
  72. type: BooleanConstructor;
  73. default: boolean;
  74. };
  75. destroyInactivePanel: {
  76. type: BooleanConstructor;
  77. default: boolean;
  78. };
  79. bordered: {
  80. type: BooleanConstructor;
  81. default: boolean;
  82. };
  83. expandIcon: {
  84. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  85. default: (panelProps: import("./commonProps").PanelProps) => any;
  86. };
  87. openAnimation: import("vue-types").VueTypeValidableDef<{
  88. [key: string]: any;
  89. }> & {
  90. default: () => {
  91. [key: string]: any;
  92. };
  93. };
  94. expandIconPosition: {
  95. type: import("vue").PropType<"end" | "start">;
  96. default: "end" | "start";
  97. };
  98. collapsible: {
  99. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  100. default: import("./commonProps").CollapsibleType;
  101. };
  102. ghost: {
  103. type: BooleanConstructor;
  104. default: boolean;
  105. };
  106. onChange: {
  107. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  108. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  109. };
  110. 'onUpdate:activeKey': {
  111. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  112. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  113. };
  114. }>>, {
  115. onChange: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  116. expandIcon: (panelProps: import("./commonProps").PanelProps) => any;
  117. activeKey: import("./commonProps").ActiveKeyType;
  118. 'onUpdate:activeKey': (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  119. ghost: boolean;
  120. bordered: boolean;
  121. openAnimation: {
  122. [key: string]: any;
  123. };
  124. defaultActiveKey: import("./commonProps").ActiveKeyType;
  125. destroyInactivePanel: boolean;
  126. accordion: boolean;
  127. collapsible: import("./commonProps").CollapsibleType;
  128. expandIconPosition: "end" | "start";
  129. }, true, {}, import("../_util/type").CustomSlotsType<{
  130. default?: any;
  131. expandIcon?: Partial<import("vue").ExtractPropTypes<{
  132. openAnimation: import("vue-types").VueTypeValidableDef<{
  133. [key: string]: any;
  134. }> & {
  135. default: () => {
  136. [key: string]: any;
  137. };
  138. };
  139. prefixCls: StringConstructor;
  140. header: import("vue-types").VueTypeValidableDef<any>;
  141. headerClass: StringConstructor;
  142. showArrow: {
  143. type: BooleanConstructor;
  144. default: boolean;
  145. };
  146. isActive: {
  147. type: BooleanConstructor;
  148. default: boolean;
  149. };
  150. destroyInactivePanel: {
  151. type: BooleanConstructor;
  152. default: boolean;
  153. };
  154. disabled: {
  155. type: BooleanConstructor;
  156. default: boolean;
  157. };
  158. accordion: {
  159. type: BooleanConstructor;
  160. default: boolean;
  161. };
  162. forceRender: {
  163. type: BooleanConstructor;
  164. default: boolean;
  165. };
  166. expandIcon: {
  167. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  168. default: (panelProps: import("./commonProps").PanelProps) => any;
  169. };
  170. extra: import("vue-types").VueTypeValidableDef<any>;
  171. panelKey: {
  172. type: import("vue").PropType<string | number>;
  173. default: string | number;
  174. };
  175. collapsible: {
  176. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  177. default: import("./commonProps").CollapsibleType;
  178. };
  179. role: StringConstructor;
  180. onItemClick: {
  181. type: import("vue").PropType<(panelKey: import("../_util/type").Key) => void>;
  182. default: (panelKey: import("../_util/type").Key) => void;
  183. };
  184. }>>;
  185. }>, {
  186. P: {};
  187. B: {};
  188. D: {};
  189. C: {};
  190. M: {};
  191. Defaults: {};
  192. }, Readonly<import("vue").ExtractPropTypes<{
  193. prefixCls: StringConstructor;
  194. activeKey: {
  195. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  196. default: import("./commonProps").ActiveKeyType;
  197. };
  198. defaultActiveKey: {
  199. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  200. default: import("./commonProps").ActiveKeyType;
  201. };
  202. accordion: {
  203. type: BooleanConstructor;
  204. default: boolean;
  205. };
  206. destroyInactivePanel: {
  207. type: BooleanConstructor;
  208. default: boolean;
  209. };
  210. bordered: {
  211. type: BooleanConstructor;
  212. default: boolean;
  213. };
  214. expandIcon: {
  215. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  216. default: (panelProps: import("./commonProps").PanelProps) => any;
  217. };
  218. openAnimation: import("vue-types").VueTypeValidableDef<{
  219. [key: string]: any;
  220. }> & {
  221. default: () => {
  222. [key: string]: any;
  223. };
  224. };
  225. expandIconPosition: {
  226. type: import("vue").PropType<"end" | "start">;
  227. default: "end" | "start";
  228. };
  229. collapsible: {
  230. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  231. default: import("./commonProps").CollapsibleType;
  232. };
  233. ghost: {
  234. type: BooleanConstructor;
  235. default: boolean;
  236. };
  237. onChange: {
  238. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  239. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  240. };
  241. 'onUpdate:activeKey': {
  242. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  243. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  244. };
  245. }>>, () => import("../_util/type").VueNode, {}, {}, {}, {
  246. onChange: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  247. expandIcon: (panelProps: import("./commonProps").PanelProps) => any;
  248. activeKey: import("./commonProps").ActiveKeyType;
  249. 'onUpdate:activeKey': (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  250. ghost: boolean;
  251. bordered: boolean;
  252. openAnimation: {
  253. [key: string]: any;
  254. };
  255. defaultActiveKey: import("./commonProps").ActiveKeyType;
  256. destroyInactivePanel: boolean;
  257. accordion: boolean;
  258. collapsible: import("./commonProps").CollapsibleType;
  259. expandIconPosition: "end" | "start";
  260. }>;
  261. __isFragment?: never;
  262. __isTeleport?: never;
  263. __isSuspense?: never;
  264. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  265. prefixCls: StringConstructor;
  266. activeKey: {
  267. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  268. default: import("./commonProps").ActiveKeyType;
  269. };
  270. defaultActiveKey: {
  271. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  272. default: import("./commonProps").ActiveKeyType;
  273. };
  274. accordion: {
  275. type: BooleanConstructor;
  276. default: boolean;
  277. };
  278. destroyInactivePanel: {
  279. type: BooleanConstructor;
  280. default: boolean;
  281. };
  282. bordered: {
  283. type: BooleanConstructor;
  284. default: boolean;
  285. };
  286. expandIcon: {
  287. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  288. default: (panelProps: import("./commonProps").PanelProps) => any;
  289. };
  290. openAnimation: import("vue-types").VueTypeValidableDef<{
  291. [key: string]: any;
  292. }> & {
  293. default: () => {
  294. [key: string]: any;
  295. };
  296. };
  297. expandIconPosition: {
  298. type: import("vue").PropType<"end" | "start">;
  299. default: "end" | "start";
  300. };
  301. collapsible: {
  302. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  303. default: import("./commonProps").CollapsibleType;
  304. };
  305. ghost: {
  306. type: BooleanConstructor;
  307. default: boolean;
  308. };
  309. onChange: {
  310. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  311. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  312. };
  313. 'onUpdate:activeKey': {
  314. type: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  315. default: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  316. };
  317. }>>, () => import("../_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  318. onChange: (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  319. expandIcon: (panelProps: import("./commonProps").PanelProps) => any;
  320. activeKey: import("./commonProps").ActiveKeyType;
  321. 'onUpdate:activeKey': (key: import("../_util/type").Key | import("../_util/type").Key[]) => void;
  322. ghost: boolean;
  323. bordered: boolean;
  324. openAnimation: {
  325. [key: string]: any;
  326. };
  327. defaultActiveKey: import("./commonProps").ActiveKeyType;
  328. destroyInactivePanel: boolean;
  329. accordion: boolean;
  330. collapsible: import("./commonProps").CollapsibleType;
  331. expandIconPosition: "end" | "start";
  332. }, {}, string, import("../_util/type").CustomSlotsType<{
  333. default?: any;
  334. expandIcon?: Partial<import("vue").ExtractPropTypes<{
  335. openAnimation: import("vue-types").VueTypeValidableDef<{
  336. [key: string]: any;
  337. }> & {
  338. default: () => {
  339. [key: string]: any;
  340. };
  341. };
  342. prefixCls: StringConstructor;
  343. header: import("vue-types").VueTypeValidableDef<any>;
  344. headerClass: StringConstructor;
  345. showArrow: {
  346. type: BooleanConstructor;
  347. default: boolean;
  348. };
  349. isActive: {
  350. type: BooleanConstructor;
  351. default: boolean;
  352. };
  353. destroyInactivePanel: {
  354. type: BooleanConstructor;
  355. default: boolean;
  356. };
  357. disabled: {
  358. type: BooleanConstructor;
  359. default: boolean;
  360. };
  361. accordion: {
  362. type: BooleanConstructor;
  363. default: boolean;
  364. };
  365. forceRender: {
  366. type: BooleanConstructor;
  367. default: boolean;
  368. };
  369. expandIcon: {
  370. type: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  371. default: (panelProps: import("./commonProps").PanelProps) => any;
  372. };
  373. extra: import("vue-types").VueTypeValidableDef<any>;
  374. panelKey: {
  375. type: import("vue").PropType<string | number>;
  376. default: string | number;
  377. };
  378. collapsible: {
  379. type: import("vue").PropType<import("./commonProps").CollapsibleType>;
  380. default: import("./commonProps").CollapsibleType;
  381. };
  382. role: StringConstructor;
  383. onItemClick: {
  384. type: import("vue").PropType<(panelKey: import("../_util/type").Key) => void>;
  385. default: (panelKey: import("../_util/type").Key) => void;
  386. };
  387. }>>;
  388. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
  389. readonly Panel: typeof CollapsePanel;
  390. };
  391. export default _default;