kui-vue 3.6.2 → 3.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/components/card/card.jsx +19 -9
  2. package/components/card/demo/basic.md +3 -3
  3. package/components/card/demo/border.md +1 -7
  4. package/components/card/demo/index.jsx +9 -7
  5. package/components/card/demo/notitle.md +23 -0
  6. package/components/card/styles/index.less +5 -3
  7. package/components/checkbox/styles/index.less +1 -0
  8. package/components/collapse/styles/index.less +2 -2
  9. package/components/colorPicker/mode.jsx +1 -1
  10. package/components/components.js +3 -0
  11. package/components/drawer/demo/target.md +2 -2
  12. package/components/drawer/drawer.jsx +48 -74
  13. package/components/drawer/styles/index.less +38 -67
  14. package/components/dropdown/demo/basic.md +1 -1
  15. package/components/dropdown/demo/rightmenu.md +1 -1
  16. package/components/dropdown/styles/index.less +181 -24
  17. package/components/flex/demo/size.md +14 -5
  18. package/components/form/demo/customvalid.md +1 -1
  19. package/components/form/demo/dynamicvalid.md +1 -1
  20. package/components/form/demo/length.md +1 -13
  21. package/components/form/demo/valid.md +10 -1
  22. package/components/form/form.jsx +1 -1
  23. package/components/grid/demo/align.md +5 -5
  24. package/components/grid/demo/basic.md +2 -2
  25. package/components/grid/demo/fill.md +8 -8
  26. package/components/grid/demo/flex.md +7 -7
  27. package/components/grid/demo/gutter.md +2 -4
  28. package/components/grid/demo/offset.md +5 -5
  29. package/components/input/demo/icon.md +9 -2
  30. package/components/input/demo/theme.md +1 -1
  31. package/components/input/input.jsx +12 -10
  32. package/components/inputNumber/demo/basic.md +1 -0
  33. package/components/inputNumber/demo/format.md +3 -8
  34. package/components/inputNumber/inputNumber.jsx +116 -139
  35. package/components/inputNumber/styles/index.less +3 -3
  36. package/components/layout/demo/layout2.md +0 -12
  37. package/components/layout/demo/layout5.md +0 -1
  38. package/components/locale/de.js +1 -0
  39. package/components/locale/el.js +1 -0
  40. package/components/locale/en.js +1 -0
  41. package/components/locale/fr.js +1 -0
  42. package/components/locale/it.js +1 -0
  43. package/components/locale/ja.js +1 -0
  44. package/components/locale/ko.js +1 -0
  45. package/components/locale/ru.js +1 -0
  46. package/components/locale/th.js +1 -0
  47. package/components/locale/uk.js +1 -0
  48. package/components/locale/vi.js +1 -0
  49. package/components/locale/zh-CN.js +1 -0
  50. package/components/locale/zh-TW.js +1 -0
  51. package/components/menu/demo/collapsed.md +9 -9
  52. package/components/menu/index.md +1 -0
  53. package/components/menu/styles/index.less +229 -375
  54. package/components/message/group.jsx +11 -4
  55. package/components/rate/rate.jsx +7 -2
  56. package/components/rate/star.jsx +20 -5
  57. package/components/select/demo/filterable.md +1 -0
  58. package/components/select/demo/multiple.md +3 -0
  59. package/components/select/select.jsx +23 -19
  60. package/components/slider/demo/vertical.md +2 -1
  61. package/components/slider/demo/withNumber.md +0 -2
  62. package/components/slider/index.md +2 -3
  63. package/components/slider/slider.jsx +296 -291
  64. package/components/slider/styles/index.less +11 -12
  65. package/components/slider/thumb.jsx +70 -148
  66. package/components/spin/demo/container.md +1 -1
  67. package/components/spin/demo/mode.md +1 -1
  68. package/components/statCard/countup.js +254 -0
  69. package/components/statCard/countup.jsx +45 -0
  70. package/components/statCard/demo/basic.md +31 -0
  71. package/components/statCard/demo/card.md +40 -0
  72. package/components/statCard/demo/index.jsx +19 -0
  73. package/components/statCard/demo/info.md +9 -0
  74. package/components/statCard/demo/with-card.md +43 -0
  75. package/components/statCard/index.js +3 -0
  76. package/components/statCard/index.md +28 -0
  77. package/components/statCard/rollup.jsx +64 -0
  78. package/components/statCard/statCard.jsx +42 -0
  79. package/components/statCard/statNumber.jsx +53 -0
  80. package/components/statCard/styles/index.less +76 -0
  81. package/components/styles/color.less +4 -2
  82. package/components/styles/index.less +1 -0
  83. package/components/styles/sys.less +2 -3
  84. package/components/styles/var.less +1 -0
  85. package/components/table/demo/col-row-span.md +1 -1
  86. package/components/table/demo/custom-header.md +1 -1
  87. package/components/table/demo/fixed-col-head.md +1 -1
  88. package/components/table/demo/head-span.md +2 -2
  89. package/components/table/demo/size.md +1 -1
  90. package/components/table/demo/table-check.md +11 -1
  91. package/components/table/index.md +13 -12
  92. package/components/table/styles/index.less +67 -58
  93. package/components/table/table.jsx +7 -5
  94. package/components/tabs/demo/sample.md +1 -8
  95. package/components/tabs/index.md +9 -9
  96. package/components/tabs/tabs.jsx +6 -4
  97. package/components/treeselect/treeselect.jsx +17 -17
  98. package/components/upload/demo/custom.md +5 -2
  99. package/components/upload/demo/exceed.md +1 -1
  100. package/components/upload/demo/pictures.md +14 -0
  101. package/components/upload/fileList.jsx +24 -47
  102. package/components/upload/index.md +13 -4
  103. package/components/upload/selector.jsx +37 -117
  104. package/components/upload/styles/index.less +2 -3
  105. package/components/upload/upload.jsx +189 -116
  106. package/components/utils/number.js +79 -65
  107. package/components/utils/placement.js +4 -4
  108. package/components/utils/vnode.jsx +46 -25
  109. package/dist/k-ui.cjs.js +2 -2
  110. package/dist/k-ui.css +2 -2
  111. package/dist/k-ui.d.ts +242 -200
  112. package/dist/k-ui.esm.js +2 -2
  113. package/dist/k-ui.umd.js +2 -2
  114. package/dist/locale/de.js +2 -2
  115. package/dist/locale/el.js +2 -2
  116. package/dist/locale/en.js +2 -2
  117. package/dist/locale/fr.js +2 -2
  118. package/dist/locale/it.js +2 -2
  119. package/dist/locale/ja.js +2 -2
  120. package/dist/locale/ko.js +2 -2
  121. package/dist/locale/ru.js +2 -2
  122. package/dist/locale/th.js +2 -2
  123. package/dist/locale/uk.js +2 -2
  124. package/dist/locale/vi.js +2 -2
  125. package/dist/locale/zh-CN.js +2 -2
  126. package/dist/locale/zh-TW.js +2 -2
  127. package/package.json +3 -1
  128. package/types/affix/Affix.d.ts +1 -1
  129. package/types/alert/Alert.d.ts +1 -1
  130. package/types/avatar/Avatar.d.ts +1 -1
  131. package/types/backtop/BackTop.d.ts +1 -1
  132. package/types/badge/Badge.d.ts +1 -1
  133. package/types/breadcrumb/Breadcrumb.d.ts +1 -1
  134. package/types/breadcrumb/BreadcrumbItem.d.ts +1 -1
  135. package/types/button/Button.d.ts +1 -1
  136. package/types/button/ButtonGroup.d.ts +1 -1
  137. package/types/card/Card.d.ts +1 -1
  138. package/types/carousel/Carousel.d.ts +1 -1
  139. package/types/carousel/CarouselItem.d.ts +1 -1
  140. package/types/checkbox/Checkbox.d.ts +1 -1
  141. package/types/checkbox/CheckboxGroup.d.ts +1 -1
  142. package/types/collapse/Collapse.d.ts +1 -1
  143. package/types/collapse/CollapsePanel.d.ts +1 -1
  144. package/types/colorPicker/ColorPicker.d.ts +1 -1
  145. package/types/datePicker/DatePicker.d.ts +1 -1
  146. package/types/descriptions/Descriptions.d.ts +1 -1
  147. package/types/descriptions/DescriptionsItem.d.ts +1 -1
  148. package/types/divider/Divider.d.ts +1 -1
  149. package/types/drawer/Drawer.d.ts +2 -2
  150. package/types/dropdown/Dropdown.d.ts +1 -1
  151. package/types/dropdown/DropdownButton.d.ts +1 -1
  152. package/types/empty/Empty.d.ts +1 -1
  153. package/types/flex/Flex.d.ts +1 -1
  154. package/types/form/Form.d.ts +1 -1
  155. package/types/form/formitem.d.ts +1 -1
  156. package/types/grid/Col.d.ts +1 -1
  157. package/types/grid/Row.d.ts +1 -1
  158. package/types/icon/Icon.d.ts +1 -1
  159. package/types/image/ImageGroup.d.ts +1 -1
  160. package/types/image/KImage.d.ts +1 -1
  161. package/types/index.d.ts +16 -12
  162. package/types/input/Input.d.ts +1 -1
  163. package/types/input/InputGroup.d.ts +1 -1
  164. package/types/input/TextArea.d.ts +1 -1
  165. package/types/inputNumber/InputNumber.d.ts +1 -1
  166. package/types/layout/sider.d.ts +1 -1
  167. package/types/loading/loading.d.ts +1 -1
  168. package/types/menu/Menu.d.ts +1 -1
  169. package/types/menu/MenuDivider.d.ts +1 -1
  170. package/types/menu/MenuGroup.d.ts +1 -1
  171. package/types/menu/MenuItem.d.ts +1 -1
  172. package/types/menu/SubMenu.d.ts +1 -1
  173. package/types/modal/Modal.d.ts +1 -1
  174. package/types/page/Page.d.ts +1 -1
  175. package/types/popconfirm/Popconfirm.d.ts +1 -1
  176. package/types/poptip/Poptip.d.ts +1 -1
  177. package/types/progress/Progress.d.ts +1 -1
  178. package/types/radio/Radio.d.ts +1 -1
  179. package/types/radio/RadioButton.d.ts +1 -1
  180. package/types/radio/RadioGroup.d.ts +1 -1
  181. package/types/rate/Rate.d.ts +2 -2
  182. package/types/select/Option.d.ts +1 -1
  183. package/types/select/Select.d.ts +1 -1
  184. package/types/skeleton/Skeleton.d.ts +1 -1
  185. package/types/skeleton/SkeletonAvatar.d.ts +1 -1
  186. package/types/skeleton/SkeletonButton.d.ts +1 -1
  187. package/types/skeleton/SkeletonImage.d.ts +1 -1
  188. package/types/skeleton/SkeletonText.d.ts +1 -1
  189. package/types/slider/Slider.d.ts +8 -7
  190. package/types/space/Space.d.ts +1 -1
  191. package/types/spin/Spin.d.ts +1 -1
  192. package/types/statCard/StatCard.d.ts +20 -0
  193. package/types/statCard/StatNumber.d.ts +26 -0
  194. package/types/switch/Switch.d.ts +1 -1
  195. package/types/table/Table.d.ts +2 -1
  196. package/types/tabs/TabPanel.d.ts +1 -1
  197. package/types/tabs/Tabs.d.ts +1 -1
  198. package/types/tag/Tag.d.ts +1 -1
  199. package/types/timeline/TimeLine.d.ts +1 -1
  200. package/types/timeline/TimeLineItem.d.ts +1 -1
  201. package/types/tooltip/Tooltip.d.ts +1 -1
  202. package/types/tree/Tree.d.ts +1 -1
  203. package/types/treeselect/TreeSelect.d.ts +1 -1
  204. package/types/upload/Upload.d.ts +1 -1
package/dist/k-ui.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * kui-vue v3.6.2
2
+ * kui-vue v3.6.4
3
3
  * Copyright 2017-present, kui-vue.
4
4
  * All rights reserved.
5
5
  * Author: Qiu / https://chuchur.com
@@ -19,32 +19,49 @@ interface AffixProps {
19
19
  /** Affix component instance */
20
20
  interface Affix extends Vue {
21
21
  $props: AffixProps;
22
- $emit(event: string, ...args: any[]): void;
22
+ $emit(event: string, ...args: any[]): this;
23
23
  }
24
24
 
25
25
  /** Affix Vue component type */
26
26
  declare const Affix: VueConstructor<Affix>;
27
27
 
28
- /** Badge component props */
29
- interface BadgeProps {
30
- count?: string | number;
31
- dot?: boolean;
32
- color?: string;
28
+ /** Alert component props */
29
+ interface AlertProps {
30
+ /** default: warning */
31
+ type?: string;
32
+ closable?: boolean;
33
+ showIcon?: boolean;
34
+ icon?: string | Record<string, any> | any[];
35
+ message?: string;
36
+ description?: string;
37
+ }
38
+
39
+ /** Alert component instance */
40
+ interface Alert extends Vue {
41
+ $props: AlertProps;
42
+ $emit(event: string, ...args: any[]): this;
43
+ }
44
+
45
+ /** Alert Vue component type */
46
+ declare const Alert: VueConstructor<Alert>;
47
+
48
+ /** Avatar component props */
49
+ interface AvatarProps {
50
+ icon?: string | any[];
51
+ shape?: string;
33
52
  /** default: default */
34
- status?: string;
35
- text?: string;
36
- /** default: 99 */
37
- maxCount?: number;
53
+ size?: number | string;
54
+ src?: string;
38
55
  }
39
56
 
40
- /** Badge component instance */
41
- interface Badge extends Vue {
42
- $props: BadgeProps;
43
- $emit(event: string, ...args: any[]): void;
57
+ /** Avatar component instance */
58
+ interface Avatar extends Vue {
59
+ $props: AvatarProps;
60
+ $emit(event: string, ...args: any[]): this;
44
61
  }
45
62
 
46
- /** Badge Vue component type */
47
- declare const Badge: VueConstructor<Badge>;
63
+ /** Avatar Vue component type */
64
+ declare const Avatar: VueConstructor<Avatar>;
48
65
 
49
66
  /** BackTop component props */
50
67
  interface BackTopProps {
@@ -59,29 +76,32 @@ interface BackTopProps {
59
76
  /** BackTop component instance */
60
77
  interface BackTop extends Vue {
61
78
  $props: BackTopProps;
62
- $emit(event: string, ...args: any[]): void;
79
+ $emit(event: string, ...args: any[]): this;
63
80
  }
64
81
 
65
82
  /** BackTop Vue component type */
66
83
  declare const BackTop: VueConstructor<BackTop>;
67
84
 
68
- /** Avatar component props */
69
- interface AvatarProps {
70
- icon?: string | any[];
71
- shape?: string;
85
+ /** Badge component props */
86
+ interface BadgeProps {
87
+ count?: string | number;
88
+ dot?: boolean;
89
+ color?: string;
72
90
  /** default: default */
73
- size?: number | string;
74
- src?: string;
91
+ status?: string;
92
+ text?: string;
93
+ /** default: 99 */
94
+ maxCount?: number;
75
95
  }
76
96
 
77
- /** Avatar component instance */
78
- interface Avatar extends Vue {
79
- $props: AvatarProps;
80
- $emit(event: string, ...args: any[]): void;
97
+ /** Badge component instance */
98
+ interface Badge extends Vue {
99
+ $props: BadgeProps;
100
+ $emit(event: string, ...args: any[]): this;
81
101
  }
82
102
 
83
- /** Avatar Vue component type */
84
- declare const Avatar: VueConstructor<Avatar>;
103
+ /** Badge Vue component type */
104
+ declare const Badge: VueConstructor<Badge>;
85
105
 
86
106
  /** Breadcrumb component props */
87
107
  interface BreadcrumbProps {
@@ -92,7 +112,7 @@ interface BreadcrumbProps {
92
112
  /** Breadcrumb component instance */
93
113
  interface Breadcrumb extends Vue {
94
114
  $props: BreadcrumbProps;
95
- $emit(event: string, ...args: any[]): void;
115
+ $emit(event: string, ...args: any[]): this;
96
116
  }
97
117
 
98
118
  /** Breadcrumb Vue component type */
@@ -107,32 +127,12 @@ interface BreadcrumbItemProps {
107
127
  /** BreadcrumbItem component instance */
108
128
  interface BreadcrumbItem extends Vue {
109
129
  $props: BreadcrumbItemProps;
110
- $emit(event: string, ...args: any[]): void;
130
+ $emit(event: string, ...args: any[]): this;
111
131
  }
112
132
 
113
133
  /** BreadcrumbItem Vue component type */
114
134
  declare const BreadcrumbItem: VueConstructor<BreadcrumbItem>;
115
135
 
116
- /** Alert component props */
117
- interface AlertProps {
118
- /** default: warning */
119
- type?: string;
120
- closable?: boolean;
121
- showIcon?: boolean;
122
- icon?: string | Record<string, any> | any[];
123
- message?: string;
124
- description?: string;
125
- }
126
-
127
- /** Alert component instance */
128
- interface Alert extends Vue {
129
- $props: AlertProps;
130
- $emit(event: string, ...args: any[]): void;
131
- }
132
-
133
- /** Alert Vue component type */
134
- declare const Alert: VueConstructor<Alert>;
135
-
136
136
  /** Button component props */
137
137
  interface ButtonProps {
138
138
  /** default: button */
@@ -155,7 +155,7 @@ interface ButtonProps {
155
155
  /** Button component instance */
156
156
  interface Button extends Vue {
157
157
  $props: ButtonProps;
158
- $emit(event: string, ...args: any[]): void;
158
+ $emit(event: string, ...args: any[]): this;
159
159
  }
160
160
 
161
161
  /** Button Vue component type */
@@ -170,7 +170,7 @@ interface ButtonGroupProps {
170
170
  /** ButtonGroup component instance */
171
171
  interface ButtonGroup extends Vue {
172
172
  $props: ButtonGroupProps;
173
- $emit(event: string, ...args: any[]): void;
173
+ $emit(event: string, ...args: any[]): this;
174
174
  }
175
175
 
176
176
  /** ButtonGroup Vue component type */
@@ -187,7 +187,7 @@ interface CardProps {
187
187
  /** Card component instance */
188
188
  interface Card extends Vue {
189
189
  $props: CardProps;
190
- $emit(event: string, ...args: any[]): void;
190
+ $emit(event: string, ...args: any[]): this;
191
191
  }
192
192
 
193
193
  /** Card Vue component type */
@@ -210,7 +210,7 @@ interface CarouselProps {
210
210
  /** Carousel component instance */
211
211
  interface Carousel extends Vue {
212
212
  $props: CarouselProps;
213
- $emit(event: string, ...args: any[]): void;
213
+ $emit(event: string, ...args: any[]): this;
214
214
  }
215
215
 
216
216
  /** Carousel Vue component type */
@@ -222,7 +222,7 @@ interface CarouselItemProps {}
222
222
  /** CarouselItem component instance */
223
223
  interface CarouselItem extends Vue {
224
224
  $props: CarouselItemProps;
225
- $emit(event: string, ...args: any[]): void;
225
+ $emit(event: string, ...args: any[]): this;
226
226
  }
227
227
 
228
228
  /** CarouselItem Vue component type */
@@ -244,7 +244,7 @@ interface CheckboxProps {
244
244
  /** Checkbox component instance */
245
245
  interface Checkbox extends Vue {
246
246
  $props: CheckboxProps;
247
- $emit(event: string, ...args: any[]): void;
247
+ $emit(event: string, ...args: any[]): this;
248
248
  }
249
249
 
250
250
  /** Checkbox Vue component type */
@@ -266,7 +266,7 @@ interface CheckboxGroupProps {
266
266
  /** CheckboxGroup component instance */
267
267
  interface CheckboxGroup extends Vue {
268
268
  $props: CheckboxGroupProps;
269
- $emit(event: string, ...args: any[]): void;
269
+ $emit(event: string, ...args: any[]): this;
270
270
  }
271
271
 
272
272
  /** CheckboxGroup Vue component type */
@@ -282,7 +282,7 @@ interface CollapseProps {
282
282
  /** Collapse component instance */
283
283
  interface Collapse extends Vue {
284
284
  $props: CollapseProps;
285
- $emit(event: string, ...args: any[]): void;
285
+ $emit(event: string, ...args: any[]): this;
286
286
  }
287
287
 
288
288
  /** Collapse Vue component type */
@@ -297,7 +297,7 @@ interface CollapsePanelProps {
297
297
  /** CollapsePanel component instance */
298
298
  interface CollapsePanel extends Vue {
299
299
  $props: CollapsePanelProps;
300
- $emit(event: string, ...args: any[]): void;
300
+ $emit(event: string, ...args: any[]): this;
301
301
  }
302
302
 
303
303
  /** CollapsePanel Vue component type */
@@ -327,7 +327,7 @@ interface ColorPickerProps {
327
327
  /** ColorPicker component instance */
328
328
  interface ColorPicker extends Vue {
329
329
  $props: ColorPickerProps;
330
- $emit(event: string, ...args: any[]): void;
330
+ $emit(event: string, ...args: any[]): this;
331
331
  }
332
332
 
333
333
  /** ColorPicker Vue component type */
@@ -375,7 +375,7 @@ interface DatePickerProps {
375
375
  /** DatePicker component instance */
376
376
  interface DatePicker extends Vue {
377
377
  $props: DatePickerProps;
378
- $emit(event: string, ...args: any[]): void;
378
+ $emit(event: string, ...args: any[]): this;
379
379
  }
380
380
 
381
381
  /** DatePicker Vue component type */
@@ -397,7 +397,7 @@ interface DescriptionsProps {
397
397
  /** Descriptions component instance */
398
398
  interface Descriptions extends Vue {
399
399
  $props: DescriptionsProps;
400
- $emit(event: string, ...args: any[]): void;
400
+ $emit(event: string, ...args: any[]): this;
401
401
  }
402
402
 
403
403
  /** Descriptions Vue component type */
@@ -416,7 +416,7 @@ interface DescriptionsItemProps {
416
416
  /** DescriptionsItem component instance */
417
417
  interface DescriptionsItem extends Vue {
418
418
  $props: DescriptionsItemProps;
419
- $emit(event: string, ...args: any[]): void;
419
+ $emit(event: string, ...args: any[]): this;
420
420
  }
421
421
 
422
422
  /** DescriptionsItem Vue component type */
@@ -435,7 +435,7 @@ interface DividerProps {
435
435
  /** Divider component instance */
436
436
  interface Divider extends Vue {
437
437
  $props: DividerProps;
438
- $emit(event: string, ...args: any[]): void;
438
+ $emit(event: string, ...args: any[]): this;
439
439
  }
440
440
 
441
441
  /** Divider Vue component type */
@@ -448,7 +448,7 @@ interface DrawerProps {
448
448
  title?: string;
449
449
  /** default: 520 */
450
450
  width?: number | string;
451
- /** default: 256 */
451
+ /** default: 520 */
452
452
  height?: number | string;
453
453
  okText?: string;
454
454
  cancelText?: string;
@@ -473,7 +473,7 @@ interface DrawerProps {
473
473
  /** Drawer component instance */
474
474
  interface Drawer extends Vue {
475
475
  $props: DrawerProps;
476
- $emit(event: string, ...args: any[]): void;
476
+ $emit(event: string, ...args: any[]): this;
477
477
  }
478
478
 
479
479
  /** Drawer Vue component type */
@@ -498,7 +498,7 @@ interface DropdownProps {
498
498
  /** Dropdown component instance */
499
499
  interface Dropdown extends Vue {
500
500
  $props: DropdownProps;
501
- $emit(event: string, ...args: any[]): void;
501
+ $emit(event: string, ...args: any[]): this;
502
502
  }
503
503
 
504
504
  /** Dropdown Vue component type */
@@ -520,7 +520,7 @@ interface DropdownButtonProps {
520
520
  /** DropdownButton component instance */
521
521
  interface DropdownButton extends Vue {
522
522
  $props: DropdownButtonProps;
523
- $emit(event: string, ...args: any[]): void;
523
+ $emit(event: string, ...args: any[]): this;
524
524
  }
525
525
 
526
526
  /** DropdownButton Vue component type */
@@ -536,7 +536,7 @@ interface EmptyProps {
536
536
  /** Empty component instance */
537
537
  interface Empty extends Vue {
538
538
  $props: EmptyProps;
539
- $emit(event: string, ...args: any[]): void;
539
+ $emit(event: string, ...args: any[]): this;
540
540
  }
541
541
 
542
542
  /** Empty Vue component type */
@@ -554,7 +554,7 @@ interface FlexProps {
554
554
  /** Flex component instance */
555
555
  interface Flex extends Vue {
556
556
  $props: FlexProps;
557
- $emit(event: string, ...args: any[]): void;
557
+ $emit(event: string, ...args: any[]): this;
558
558
  }
559
559
 
560
560
  /** Flex Vue component type */
@@ -580,7 +580,7 @@ interface FormProps {
580
580
  /** Form component instance */
581
581
  interface Form extends Vue {
582
582
  $props: FormProps;
583
- $emit(event: string, ...args: any[]): void;
583
+ $emit(event: string, ...args: any[]): this;
584
584
  }
585
585
 
586
586
  /** Form Vue component type */
@@ -598,7 +598,7 @@ interface formitemProps {
598
598
  /** formitem component instance */
599
599
  interface formitem extends Vue {
600
600
  $props: formitemProps;
601
- $emit(event: string, ...args: any[]): void;
601
+ $emit(event: string, ...args: any[]): this;
602
602
  }
603
603
 
604
604
  /** formitem Vue component type */
@@ -616,7 +616,7 @@ interface RowProps {
616
616
  /** Row component instance */
617
617
  interface Row extends Vue {
618
618
  $props: RowProps;
619
- $emit(event: string, ...args: any[]): void;
619
+ $emit(event: string, ...args: any[]): this;
620
620
  }
621
621
 
622
622
  /** Row Vue component type */
@@ -632,7 +632,7 @@ interface ColProps {
632
632
  /** Col component instance */
633
633
  interface Col extends Vue {
634
634
  $props: ColProps;
635
- $emit(event: string, ...args: any[]): void;
635
+ $emit(event: string, ...args: any[]): this;
636
636
  }
637
637
 
638
638
  /** Col Vue component type */
@@ -650,7 +650,7 @@ interface IconProps {
650
650
  /** Icon component instance */
651
651
  interface Icon extends Vue {
652
652
  $props: IconProps;
653
- $emit(event: string, ...args: any[]): void;
653
+ $emit(event: string, ...args: any[]): this;
654
654
  }
655
655
 
656
656
  /** Icon Vue component type */
@@ -673,7 +673,7 @@ interface KImageProps {
673
673
  /** KImage component instance */
674
674
  interface KImage extends Vue {
675
675
  $props: KImageProps;
676
- $emit(event: string, ...args: any[]): void;
676
+ $emit(event: string, ...args: any[]): this;
677
677
  }
678
678
 
679
679
  /** KImage Vue component type */
@@ -687,7 +687,7 @@ interface ImageGroupProps {
687
687
  /** ImageGroup component instance */
688
688
  interface ImageGroup extends Vue {
689
689
  $props: ImageGroupProps;
690
- $emit(event: string, ...args: any[]): void;
690
+ $emit(event: string, ...args: any[]): this;
691
691
  }
692
692
 
693
693
  /** ImageGroup Vue component type */
@@ -718,7 +718,7 @@ interface InputProps {
718
718
  /** Input component instance */
719
719
  interface Input extends Vue {
720
720
  $props: InputProps;
721
- $emit(event: string, ...args: any[]): void;
721
+ $emit(event: string, ...args: any[]): this;
722
722
  }
723
723
 
724
724
  /** Input Vue component type */
@@ -735,7 +735,7 @@ interface TextAreaProps {
735
735
  /** TextArea component instance */
736
736
  interface TextArea extends Vue {
737
737
  $props: TextAreaProps;
738
- $emit(event: string, ...args: any[]): void;
738
+ $emit(event: string, ...args: any[]): this;
739
739
  }
740
740
 
741
741
  /** TextArea Vue component type */
@@ -752,7 +752,7 @@ interface InputGroupProps {
752
752
  /** InputGroup component instance */
753
753
  interface InputGroup extends Vue {
754
754
  $props: InputGroupProps;
755
- $emit(event: string, ...args: any[]): void;
755
+ $emit(event: string, ...args: any[]): this;
756
756
  }
757
757
 
758
758
  /** InputGroup Vue component type */
@@ -788,19 +788,33 @@ interface InputNumberProps {
788
788
  /** InputNumber component instance */
789
789
  interface InputNumber extends Vue {
790
790
  $props: InputNumberProps;
791
- $emit(event: string, ...args: any[]): void;
791
+ $emit(event: string, ...args: any[]): this;
792
792
  }
793
793
 
794
794
  /** InputNumber Vue component type */
795
795
  declare const InputNumber: VueConstructor<InputNumber>;
796
796
 
797
+ /** sider component props */
798
+ interface siderProps {
799
+ suffixCls?: string;
800
+ }
801
+
802
+ /** sider component instance */
803
+ interface sider extends Vue {
804
+ $props: siderProps;
805
+ $emit(event: string, ...args: any[]): this;
806
+ }
807
+
808
+ /** sider Vue component type */
809
+ declare const sider: VueConstructor<sider>;
810
+
797
811
  /** loading component props */
798
812
  interface loadingProps {}
799
813
 
800
814
  /** loading component instance */
801
815
  interface loading extends Vue {
802
816
  $props: loadingProps;
803
- $emit(event: string, ...args: any[]): void;
817
+ $emit(event: string, ...args: any[]): this;
804
818
  }
805
819
 
806
820
  /** loading Vue component type */
@@ -822,7 +836,7 @@ interface MenuProps {
822
836
  /** Menu component instance */
823
837
  interface Menu extends Vue {
824
838
  $props: MenuProps;
825
- $emit(event: string, ...args: any[]): void;
839
+ $emit(event: string, ...args: any[]): this;
826
840
  }
827
841
 
828
842
  /** Menu Vue component type */
@@ -836,7 +850,7 @@ interface MenuGroupProps {
836
850
  /** MenuGroup component instance */
837
851
  interface MenuGroup extends Vue {
838
852
  $props: MenuGroupProps;
839
- $emit(event: string, ...args: any[]): void;
853
+ $emit(event: string, ...args: any[]): this;
840
854
  }
841
855
 
842
856
  /** MenuGroup Vue component type */
@@ -854,7 +868,7 @@ interface MenuItemProps {
854
868
  /** MenuItem component instance */
855
869
  interface MenuItem extends Vue {
856
870
  $props: MenuItemProps;
857
- $emit(event: string, ...args: any[]): void;
871
+ $emit(event: string, ...args: any[]): this;
858
872
  }
859
873
 
860
874
  /** MenuItem Vue component type */
@@ -871,7 +885,7 @@ interface SubMenuProps {
871
885
  /** SubMenu component instance */
872
886
  interface SubMenu extends Vue {
873
887
  $props: SubMenuProps;
874
- $emit(event: string, ...args: any[]): void;
888
+ $emit(event: string, ...args: any[]): this;
875
889
  }
876
890
 
877
891
  /** SubMenu Vue component type */
@@ -883,25 +897,45 @@ interface MenuDividerProps {}
883
897
  /** MenuDivider component instance */
884
898
  interface MenuDivider extends Vue {
885
899
  $props: MenuDividerProps;
886
- $emit(event: string, ...args: any[]): void;
900
+ $emit(event: string, ...args: any[]): this;
887
901
  }
888
902
 
889
903
  /** MenuDivider Vue component type */
890
904
  declare const MenuDivider: VueConstructor<MenuDivider>;
891
905
 
892
- /** sider component props */
893
- interface siderProps {
894
- suffixCls?: string;
906
+ /** Modal component props */
907
+ interface ModalProps {
908
+ value?: boolean;
909
+ title?: string;
910
+ okText?: string;
911
+ cancelText?: string;
912
+ top?: number;
913
+ width?: number;
914
+ /** default: true */
915
+ mask?: boolean;
916
+ /** default: false */
917
+ maskClosable?: boolean;
918
+ maximized?: boolean;
919
+ centered?: boolean;
920
+ draggable?: boolean;
921
+ /** default: true */
922
+ showClose?: boolean;
923
+ loading?: boolean;
924
+ footer?: string;
925
+ /** default: true */
926
+ transfer?: boolean;
927
+ /** default: true */
928
+ escKey?: boolean;
895
929
  }
896
930
 
897
- /** sider component instance */
898
- interface sider extends Vue {
899
- $props: siderProps;
900
- $emit(event: string, ...args: any[]): void;
931
+ /** Modal component instance */
932
+ interface Modal extends Vue {
933
+ $props: ModalProps;
934
+ $emit(event: string, ...args: any[]): this;
901
935
  }
902
936
 
903
- /** sider Vue component type */
904
- declare const sider: VueConstructor<sider>;
937
+ /** Modal Vue component type */
938
+ declare const Modal: VueConstructor<Modal>;
905
939
 
906
940
  /** Page component props */
907
941
  interface PageProps {
@@ -926,7 +960,7 @@ interface PageProps {
926
960
  /** Page component instance */
927
961
  interface Page extends Vue {
928
962
  $props: PageProps;
929
- $emit(event: string, ...args: any[]): void;
963
+ $emit(event: string, ...args: any[]): this;
930
964
  }
931
965
 
932
966
  /** Page Vue component type */
@@ -948,7 +982,7 @@ interface PopconfirmProps {
948
982
  /** Popconfirm component instance */
949
983
  interface Popconfirm extends Vue {
950
984
  $props: PopconfirmProps;
951
- $emit(event: string, ...args: any[]): void;
985
+ $emit(event: string, ...args: any[]): this;
952
986
  }
953
987
 
954
988
  /** Popconfirm Vue component type */
@@ -970,46 +1004,12 @@ interface PoptipProps {
970
1004
  /** Poptip component instance */
971
1005
  interface Poptip extends Vue {
972
1006
  $props: PoptipProps;
973
- $emit(event: string, ...args: any[]): void;
1007
+ $emit(event: string, ...args: any[]): this;
974
1008
  }
975
1009
 
976
1010
  /** Poptip Vue component type */
977
1011
  declare const Poptip: VueConstructor<Poptip>;
978
1012
 
979
- /** Modal component props */
980
- interface ModalProps {
981
- value?: boolean;
982
- title?: string;
983
- okText?: string;
984
- cancelText?: string;
985
- top?: number;
986
- width?: number;
987
- /** default: true */
988
- mask?: boolean;
989
- /** default: false */
990
- maskClosable?: boolean;
991
- maximized?: boolean;
992
- centered?: boolean;
993
- draggable?: boolean;
994
- /** default: true */
995
- showClose?: boolean;
996
- loading?: boolean;
997
- footer?: string;
998
- /** default: true */
999
- transfer?: boolean;
1000
- /** default: true */
1001
- escKey?: boolean;
1002
- }
1003
-
1004
- /** Modal component instance */
1005
- interface Modal extends Vue {
1006
- $props: ModalProps;
1007
- $emit(event: string, ...args: any[]): void;
1008
- }
1009
-
1010
- /** Modal Vue component type */
1011
- declare const Modal: VueConstructor<Modal>;
1012
-
1013
1013
  /** Progress component props */
1014
1014
  interface ProgressProps {
1015
1015
  /** default: 0 */
@@ -1038,7 +1038,7 @@ interface ProgressProps {
1038
1038
  /** Progress component instance */
1039
1039
  interface Progress extends Vue {
1040
1040
  $props: ProgressProps;
1041
- $emit(event: string, ...args: any[]): void;
1041
+ $emit(event: string, ...args: any[]): this;
1042
1042
  }
1043
1043
 
1044
1044
  /** Progress Vue component type */
@@ -1059,7 +1059,7 @@ interface RadioProps {
1059
1059
  /** Radio component instance */
1060
1060
  interface Radio extends Vue {
1061
1061
  $props: RadioProps;
1062
- $emit(event: string, ...args: any[]): void;
1062
+ $emit(event: string, ...args: any[]): this;
1063
1063
  }
1064
1064
 
1065
1065
  /** Radio Vue component type */
@@ -1082,7 +1082,7 @@ interface RadioGroupProps {
1082
1082
  /** RadioGroup component instance */
1083
1083
  interface RadioGroup extends Vue {
1084
1084
  $props: RadioGroupProps;
1085
- $emit(event: string, ...args: any[]): void;
1085
+ $emit(event: string, ...args: any[]): this;
1086
1086
  }
1087
1087
 
1088
1088
  /** RadioGroup Vue component type */
@@ -1103,7 +1103,7 @@ interface RadioButtonProps {
1103
1103
  /** RadioButton component instance */
1104
1104
  interface RadioButton extends Vue {
1105
1105
  $props: RadioButtonProps;
1106
- $emit(event: string, ...args: any[]): void;
1106
+ $emit(event: string, ...args: any[]): this;
1107
1107
  }
1108
1108
 
1109
1109
  /** RadioButton Vue component type */
@@ -1123,14 +1123,14 @@ interface RateProps {
1123
1123
  disabled?: boolean;
1124
1124
  tooltips?: any[];
1125
1125
  showScore?: boolean;
1126
- size?: number;
1126
+ size?: number | string;
1127
1127
  color?: string;
1128
1128
  }
1129
1129
 
1130
1130
  /** Rate component instance */
1131
1131
  interface Rate extends Vue {
1132
1132
  $props: RateProps;
1133
- $emit(event: string, ...args: any[]): void;
1133
+ $emit(event: string, ...args: any[]): this;
1134
1134
  }
1135
1135
 
1136
1136
  /** Rate Vue component type */
@@ -1169,7 +1169,7 @@ interface SelectProps {
1169
1169
  /** Select component instance */
1170
1170
  interface Select extends Vue {
1171
1171
  $props: SelectProps;
1172
- $emit(event: string, ...args: any[]): void;
1172
+ $emit(event: string, ...args: any[]): this;
1173
1173
  }
1174
1174
 
1175
1175
  /** Select Vue component type */
@@ -1188,7 +1188,7 @@ interface OptionProps {
1188
1188
  /** Option component instance */
1189
1189
  interface Option extends Vue {
1190
1190
  $props: OptionProps;
1191
- $emit(event: string, ...args: any[]): void;
1191
+ $emit(event: string, ...args: any[]): this;
1192
1192
  }
1193
1193
 
1194
1194
  /** Option Vue component type */
@@ -1210,7 +1210,7 @@ interface SkeletonProps {
1210
1210
  /** Skeleton component instance */
1211
1211
  interface Skeleton extends Vue {
1212
1212
  $props: SkeletonProps;
1213
- $emit(event: string, ...args: any[]): void;
1213
+ $emit(event: string, ...args: any[]): this;
1214
1214
  }
1215
1215
 
1216
1216
  /** Skeleton Vue component type */
@@ -1230,7 +1230,7 @@ interface SkeletonAvatarProps {
1230
1230
  /** SkeletonAvatar component instance */
1231
1231
  interface SkeletonAvatar extends Vue {
1232
1232
  $props: SkeletonAvatarProps;
1233
- $emit(event: string, ...args: any[]): void;
1233
+ $emit(event: string, ...args: any[]): this;
1234
1234
  }
1235
1235
 
1236
1236
  /** SkeletonAvatar Vue component type */
@@ -1251,7 +1251,7 @@ interface SkeletonButtonProps {
1251
1251
  /** SkeletonButton component instance */
1252
1252
  interface SkeletonButton extends Vue {
1253
1253
  $props: SkeletonButtonProps;
1254
- $emit(event: string, ...args: any[]): void;
1254
+ $emit(event: string, ...args: any[]): this;
1255
1255
  }
1256
1256
 
1257
1257
  /** SkeletonButton Vue component type */
@@ -1270,7 +1270,7 @@ interface SkeletonImageProps {
1270
1270
  /** SkeletonImage component instance */
1271
1271
  interface SkeletonImage extends Vue {
1272
1272
  $props: SkeletonImageProps;
1273
- $emit(event: string, ...args: any[]): void;
1273
+ $emit(event: string, ...args: any[]): this;
1274
1274
  }
1275
1275
 
1276
1276
  /** SkeletonImage Vue component type */
@@ -1289,7 +1289,7 @@ interface SkeletonTextProps {
1289
1289
  /** SkeletonText component instance */
1290
1290
  interface SkeletonText extends Vue {
1291
1291
  $props: SkeletonTextProps;
1292
- $emit(event: string, ...args: any[]): void;
1292
+ $emit(event: string, ...args: any[]): this;
1293
1293
  }
1294
1294
 
1295
1295
  /** SkeletonText Vue component type */
@@ -1297,29 +1297,30 @@ declare const SkeletonText: VueConstructor<SkeletonText>;
1297
1297
 
1298
1298
  /** Slider component props */
1299
1299
  interface SliderProps {
1300
- value?: any[] | number | string;
1300
+ /** default: 0 */
1301
+ value?: any[] | number;
1301
1302
  /** default: 0 */
1302
1303
  min?: number;
1303
1304
  /** default: 100 */
1304
1305
  max?: number;
1305
- disabled?: boolean;
1306
1306
  /** default: 1 */
1307
- step?: number;
1308
- size?: string;
1307
+ step?: number | Record<string, any>;
1308
+ disabled?: boolean;
1309
1309
  vertical?: boolean;
1310
- range?: boolean;
1311
1310
  reverse?: boolean;
1311
+ range?: boolean;
1312
1312
  marks?: Record<string, any>;
1313
+ size?: string | number;
1313
1314
  /** default: true */
1314
1315
  included?: boolean;
1315
- tipFormatter?: ((...args: any[]) => any) | Record<string, any>;
1316
+ tipFormatter?: (...args: any[]) => any;
1316
1317
  tooltipVisible?: boolean;
1317
1318
  }
1318
1319
 
1319
1320
  /** Slider component instance */
1320
1321
  interface Slider extends Vue {
1321
1322
  $props: SliderProps;
1322
- $emit(event: string, ...args: any[]): void;
1323
+ $emit(event: string, ...args: any[]): this;
1323
1324
  }
1324
1325
 
1325
1326
  /** Slider Vue component type */
@@ -1339,7 +1340,7 @@ interface SpaceProps {
1339
1340
  /** Space component instance */
1340
1341
  interface Space extends Vue {
1341
1342
  $props: SpaceProps;
1342
- $emit(event: string, ...args: any[]): void;
1343
+ $emit(event: string, ...args: any[]): this;
1343
1344
  }
1344
1345
 
1345
1346
  /** Space Vue component type */
@@ -1360,12 +1361,52 @@ interface SpinProps {
1360
1361
  /** Spin component instance */
1361
1362
  interface Spin extends Vue {
1362
1363
  $props: SpinProps;
1363
- $emit(event: string, ...args: any[]): void;
1364
+ $emit(event: string, ...args: any[]): this;
1364
1365
  }
1365
1366
 
1366
1367
  /** Spin Vue component type */
1367
1368
  declare const Spin: VueConstructor<Spin>;
1368
1369
 
1370
+ /** StatCard component props */
1371
+ interface StatCardProps {
1372
+ title?: string;
1373
+ /** default: undefined */
1374
+ items?: any[];
1375
+ statNumberType?: string;
1376
+ }
1377
+
1378
+ /** StatCard component instance */
1379
+ interface StatCard extends Vue {
1380
+ $props: StatCardProps;
1381
+ $emit(event: string, ...args: any[]): this;
1382
+ }
1383
+
1384
+ /** StatCard Vue component type */
1385
+ declare const StatCard: VueConstructor<StatCard>;
1386
+
1387
+ /** StatNumber component props */
1388
+ interface StatNumberProps {
1389
+ value?: number;
1390
+ separator?: string;
1391
+ /** default: 1 */
1392
+ duration?: number;
1393
+ /** default: 0 */
1394
+ precision?: number;
1395
+ /** default: countup */
1396
+ type?: string;
1397
+ prefix?: string;
1398
+ suffix?: string;
1399
+ }
1400
+
1401
+ /** StatNumber component instance */
1402
+ interface StatNumber extends Vue {
1403
+ $props: StatNumberProps;
1404
+ $emit(event: string, ...args: any[]): this;
1405
+ }
1406
+
1407
+ /** StatNumber Vue component type */
1408
+ declare const StatNumber: VueConstructor<StatNumber>;
1409
+
1369
1410
  /** Switch component props */
1370
1411
  interface SwitchProps {
1371
1412
  /** default: false */
@@ -1382,7 +1423,7 @@ interface SwitchProps {
1382
1423
  /** Switch component instance */
1383
1424
  interface Switch extends Vue {
1384
1425
  $props: SwitchProps;
1385
- $emit(event: string, ...args: any[]): void;
1426
+ $emit(event: string, ...args: any[]): this;
1386
1427
  }
1387
1428
 
1388
1429
  /** Switch Vue component type */
@@ -1404,6 +1445,7 @@ interface TableProps {
1404
1445
  scroll?: Record<string, any>;
1405
1446
  /** default: default */
1406
1447
  size?: any;
1448
+ /** default: false */
1407
1449
  bordered?: boolean;
1408
1450
  checkable?: boolean;
1409
1451
  loading?: boolean;
@@ -1413,7 +1455,7 @@ interface TableProps {
1413
1455
  /** Table component instance */
1414
1456
  interface Table extends Vue {
1415
1457
  $props: TableProps;
1416
- $emit(event: string, ...args: any[]): void;
1458
+ $emit(event: string, ...args: any[]): this;
1417
1459
  }
1418
1460
 
1419
1461
  /** Table Vue component type */
@@ -1432,7 +1474,7 @@ interface TabsProps {
1432
1474
  /** Tabs component instance */
1433
1475
  interface Tabs extends Vue {
1434
1476
  $props: TabsProps;
1435
- $emit(event: string, ...args: any[]): void;
1477
+ $emit(event: string, ...args: any[]): this;
1436
1478
  }
1437
1479
 
1438
1480
  /** Tabs Vue component type */
@@ -1450,7 +1492,7 @@ interface TabPanelProps {
1450
1492
  /** TabPanel component instance */
1451
1493
  interface TabPanel extends Vue {
1452
1494
  $props: TabPanelProps;
1453
- $emit(event: string, ...args: any[]): void;
1495
+ $emit(event: string, ...args: any[]): this;
1454
1496
  }
1455
1497
 
1456
1498
  /** TabPanel Vue component type */
@@ -1470,7 +1512,7 @@ interface TagProps {
1470
1512
  /** Tag component instance */
1471
1513
  interface Tag extends Vue {
1472
1514
  $props: TagProps;
1473
- $emit(event: string, ...args: any[]): void;
1515
+ $emit(event: string, ...args: any[]): this;
1474
1516
  }
1475
1517
 
1476
1518
  /** Tag Vue component type */
@@ -1485,7 +1527,7 @@ interface TimeLineProps {
1485
1527
  /** TimeLine component instance */
1486
1528
  interface TimeLine extends Vue {
1487
1529
  $props: TimeLineProps;
1488
- $emit(event: string, ...args: any[]): void;
1530
+ $emit(event: string, ...args: any[]): this;
1489
1531
  }
1490
1532
 
1491
1533
  /** TimeLine Vue component type */
@@ -1502,7 +1544,7 @@ interface TimeLineItemProps {
1502
1544
  /** TimeLineItem component instance */
1503
1545
  interface TimeLineItem extends Vue {
1504
1546
  $props: TimeLineItemProps;
1505
- $emit(event: string, ...args: any[]): void;
1547
+ $emit(event: string, ...args: any[]): this;
1506
1548
  }
1507
1549
 
1508
1550
  /** TimeLineItem Vue component type */
@@ -1525,12 +1567,43 @@ interface TooltipProps {
1525
1567
  /** Tooltip component instance */
1526
1568
  interface Tooltip extends Vue {
1527
1569
  $props: TooltipProps;
1528
- $emit(event: string, ...args: any[]): void;
1570
+ $emit(event: string, ...args: any[]): this;
1529
1571
  }
1530
1572
 
1531
1573
  /** Tooltip Vue component type */
1532
1574
  declare const Tooltip: VueConstructor<Tooltip>;
1533
1575
 
1576
+ /** Tree component props */
1577
+ interface TreeProps {
1578
+ data?: any[];
1579
+ selectedKeys?: any[];
1580
+ expandedKeys?: any[];
1581
+ checkedKeys?: any[];
1582
+ directory?: boolean;
1583
+ expandAll?: boolean;
1584
+ checkable?: boolean;
1585
+ draggable?: boolean;
1586
+ showLine?: boolean;
1587
+ /** default: true */
1588
+ showIcon?: boolean;
1589
+ /** default: false */
1590
+ showExtra?: boolean;
1591
+ /** default: false */
1592
+ multiple?: boolean;
1593
+ checkStrictly?: boolean;
1594
+ selectAsCheck?: boolean;
1595
+ queryKey?: string;
1596
+ }
1597
+
1598
+ /** Tree component instance */
1599
+ interface Tree extends Vue {
1600
+ $props: TreeProps;
1601
+ $emit(event: string, ...args: any[]): this;
1602
+ }
1603
+
1604
+ /** Tree Vue component type */
1605
+ declare const Tree: VueConstructor<Tree>;
1606
+
1534
1607
  /** TreeSelect component props */
1535
1608
  interface TreeSelectProps {
1536
1609
  placeholder?: string;
@@ -1572,43 +1645,12 @@ interface TreeSelectProps {
1572
1645
  /** TreeSelect component instance */
1573
1646
  interface TreeSelect extends Vue {
1574
1647
  $props: TreeSelectProps;
1575
- $emit(event: string, ...args: any[]): void;
1648
+ $emit(event: string, ...args: any[]): this;
1576
1649
  }
1577
1650
 
1578
1651
  /** TreeSelect Vue component type */
1579
1652
  declare const TreeSelect: VueConstructor<TreeSelect>;
1580
1653
 
1581
- /** Tree component props */
1582
- interface TreeProps {
1583
- data?: any[];
1584
- selectedKeys?: any[];
1585
- expandedKeys?: any[];
1586
- checkedKeys?: any[];
1587
- directory?: boolean;
1588
- expandAll?: boolean;
1589
- checkable?: boolean;
1590
- draggable?: boolean;
1591
- showLine?: boolean;
1592
- /** default: true */
1593
- showIcon?: boolean;
1594
- /** default: false */
1595
- showExtra?: boolean;
1596
- /** default: false */
1597
- multiple?: boolean;
1598
- checkStrictly?: boolean;
1599
- selectAsCheck?: boolean;
1600
- queryKey?: string;
1601
- }
1602
-
1603
- /** Tree component instance */
1604
- interface Tree extends Vue {
1605
- $props: TreeProps;
1606
- $emit(event: string, ...args: any[]): void;
1607
- }
1608
-
1609
- /** Tree Vue component type */
1610
- declare const Tree: VueConstructor<Tree>;
1611
-
1612
1654
  /** Upload component props */
1613
1655
  interface UploadProps {
1614
1656
  /** default: post */
@@ -1643,11 +1685,11 @@ interface UploadProps {
1643
1685
  /** Upload component instance */
1644
1686
  interface Upload extends Vue {
1645
1687
  $props: UploadProps;
1646
- $emit(event: string, ...args: any[]): void;
1688
+ $emit(event: string, ...args: any[]): this;
1647
1689
  }
1648
1690
 
1649
1691
  /** Upload Vue component type */
1650
1692
  declare const Upload: VueConstructor<Upload>;
1651
1693
 
1652
- export { Affix, Alert, Avatar, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Card, Carousel, CarouselItem, Checkbox, CheckboxGroup, Col, Collapse, CollapsePanel, ColorPicker, DatePicker, Descriptions, DescriptionsItem, Divider, Drawer, Dropdown, DropdownButton, Empty, Flex, Form, Icon, ImageGroup, Input, InputGroup, InputNumber, KImage, Menu, MenuDivider, MenuGroup, MenuItem, Modal, Option, Page, Popconfirm, Poptip, Progress, Radio, RadioButton, RadioGroup, Rate, Row, Select, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText, Slider, Space, Spin, SubMenu, Switch, TabPanel, Table, Tabs, Tag, TextArea, TimeLine, TimeLineItem, Tooltip, Tree, TreeSelect, Upload, formitem, loading, sider };
1653
- export type { AffixProps, AlertProps, AvatarProps, BackTopProps, BadgeProps, BreadcrumbItemProps, BreadcrumbProps, ButtonGroupProps, ButtonProps, CardProps, CarouselItemProps, CarouselProps, CheckboxGroupProps, CheckboxProps, ColProps, CollapsePanelProps, CollapseProps, ColorPickerProps, DatePickerProps, DescriptionsItemProps, DescriptionsProps, DividerProps, DrawerProps, DropdownButtonProps, DropdownProps, EmptyProps, FlexProps, FormProps, IconProps, ImageGroupProps, InputGroupProps, InputNumberProps, InputProps, KImageProps, MenuDividerProps, MenuGroupProps, MenuItemProps, MenuProps, ModalProps, OptionProps, PageProps, PopconfirmProps, PoptipProps, ProgressProps, RadioButtonProps, RadioGroupProps, RadioProps, RateProps, RowProps, SelectProps, SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, SliderProps, SpaceProps, SpinProps, SubMenuProps, SwitchProps, TabPanelProps, TableProps, TabsProps, TagProps, TextAreaProps, TimeLineItemProps, TimeLineProps, TooltipProps, TreeProps, TreeSelectProps, UploadProps, formitemProps, loadingProps, siderProps };
1694
+ export { Affix, Alert, Avatar, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Card, Carousel, CarouselItem, Checkbox, CheckboxGroup, Col, Collapse, CollapsePanel, ColorPicker, DatePicker, Descriptions, DescriptionsItem, Divider, Drawer, Dropdown, DropdownButton, Empty, Flex, Form, Icon, ImageGroup, Input, InputGroup, InputNumber, KImage, Menu, MenuDivider, MenuGroup, MenuItem, Modal, Option, Page, Popconfirm, Poptip, Progress, Radio, RadioButton, RadioGroup, Rate, Row, Select, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText, Slider, Space, Spin, StatCard, StatNumber, SubMenu, Switch, TabPanel, Table, Tabs, Tag, TextArea, TimeLine, TimeLineItem, Tooltip, Tree, TreeSelect, Upload, formitem, loading, sider };
1695
+ export type { AffixProps, AlertProps, AvatarProps, BackTopProps, BadgeProps, BreadcrumbItemProps, BreadcrumbProps, ButtonGroupProps, ButtonProps, CardProps, CarouselItemProps, CarouselProps, CheckboxGroupProps, CheckboxProps, ColProps, CollapsePanelProps, CollapseProps, ColorPickerProps, DatePickerProps, DescriptionsItemProps, DescriptionsProps, DividerProps, DrawerProps, DropdownButtonProps, DropdownProps, EmptyProps, FlexProps, FormProps, IconProps, ImageGroupProps, InputGroupProps, InputNumberProps, InputProps, KImageProps, MenuDividerProps, MenuGroupProps, MenuItemProps, MenuProps, ModalProps, OptionProps, PageProps, PopconfirmProps, PoptipProps, ProgressProps, RadioButtonProps, RadioGroupProps, RadioProps, RateProps, RowProps, SelectProps, SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, SliderProps, SpaceProps, SpinProps, StatCardProps, StatNumberProps, SubMenuProps, SwitchProps, TabPanelProps, TableProps, TabsProps, TagProps, TextAreaProps, TimeLineItemProps, TimeLineProps, TooltipProps, TreeProps, TreeSelectProps, UploadProps, formitemProps, loadingProps, siderProps };