Collapse.d.ts 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. import type { CollapsibleType } from './commonProps';
  2. import { collapseProps } from './commonProps';
  3. import type { ExtractPropTypes } from 'vue';
  4. export { collapseProps };
  5. export declare type CollapseProps = Partial<ExtractPropTypes<ReturnType<typeof collapseProps>>>;
  6. declare const _default: import("vue").DefineComponent<{
  7. prefixCls: StringConstructor;
  8. activeKey: {
  9. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  10. };
  11. defaultActiveKey: {
  12. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  13. };
  14. accordion: {
  15. type: BooleanConstructor;
  16. default: any;
  17. };
  18. destroyInactivePanel: {
  19. type: BooleanConstructor;
  20. default: any;
  21. };
  22. bordered: {
  23. type: BooleanConstructor;
  24. default: any;
  25. };
  26. expandIcon: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  27. openAnimation: import("vue-types").VueTypeValidableDef<{
  28. [key: string]: any;
  29. }> & {
  30. default: () => {
  31. [key: string]: any;
  32. };
  33. };
  34. expandIconPosition: import("vue-types").VueTypeDef<"left" | "right">;
  35. collapsible: {
  36. type: import("vue").PropType<CollapsibleType>;
  37. };
  38. ghost: {
  39. type: BooleanConstructor;
  40. default: any;
  41. };
  42. onChange: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  43. 'onUpdate:activeKey': import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  44. }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
  45. prefixCls: StringConstructor;
  46. activeKey: {
  47. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  48. };
  49. defaultActiveKey: {
  50. type: import("vue").PropType<import("./commonProps").ActiveKeyType>;
  51. };
  52. accordion: {
  53. type: BooleanConstructor;
  54. default: any;
  55. };
  56. destroyInactivePanel: {
  57. type: BooleanConstructor;
  58. default: any;
  59. };
  60. bordered: {
  61. type: BooleanConstructor;
  62. default: any;
  63. };
  64. expandIcon: import("vue").PropType<(panelProps: import("./commonProps").PanelProps) => any>;
  65. openAnimation: import("vue-types").VueTypeValidableDef<{
  66. [key: string]: any;
  67. }> & {
  68. default: () => {
  69. [key: string]: any;
  70. };
  71. };
  72. expandIconPosition: import("vue-types").VueTypeDef<"left" | "right">;
  73. collapsible: {
  74. type: import("vue").PropType<CollapsibleType>;
  75. };
  76. ghost: {
  77. type: BooleanConstructor;
  78. default: any;
  79. };
  80. onChange: import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  81. 'onUpdate:activeKey': import("vue").PropType<(key: import("../_util/type").Key | import("../_util/type").Key[]) => void>;
  82. }>>, {
  83. openAnimation: {
  84. [key: string]: any;
  85. };
  86. bordered: boolean;
  87. ghost: boolean;
  88. destroyInactivePanel: boolean;
  89. accordion: boolean;
  90. }>;
  91. export default _default;