kui-vue 3.6.8 → 3.6.10

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 (93) hide show
  1. package/components/alert/alert.jsx +1 -1
  2. package/components/alert/demo/basic.md +2 -2
  3. package/components/alert/demo/close.md +2 -2
  4. package/components/alert/demo/customIcon.md +2 -2
  5. package/components/alert/styles/index.less +0 -1
  6. package/components/backtop/backtop.jsx +1 -1
  7. package/components/button/button.jsx +1 -1
  8. package/components/carousel/carousel.jsx +1 -1
  9. package/components/checkbox/checkbox.jsx +1 -1
  10. package/components/checkbox/styles/index.less +3 -0
  11. package/components/collapse/collapsePanel.jsx +1 -1
  12. package/components/colorPicker/presets.jsx +1 -1
  13. package/components/components.js +1 -2
  14. package/components/datePicker/datepicker.jsx +1 -1
  15. package/components/drawer/drawer.jsx +1 -1
  16. package/components/dropdown/dropdownButton.jsx +1 -1
  17. package/components/empty/empty.jsx +1 -1
  18. package/components/form/demo/valid.md +8 -7
  19. package/components/image/demo/group.md +1 -1
  20. package/components/image/group.jsx +10 -4
  21. package/components/image/image.jsx +48 -100
  22. package/components/image/preview.jsx +132 -117
  23. package/components/image/styles/index.less +211 -224
  24. package/components/image/utils.js +31 -0
  25. package/components/index.js +16 -35
  26. package/components/input/demo/event.md +0 -1
  27. package/components/input/input.jsx +1 -1
  28. package/components/inputNumber/inputNumber.jsx +1 -1
  29. package/components/inputNumber/styles/index.less +2 -2
  30. package/components/layout/demo/layout5.md +0 -1
  31. package/components/loading/loading.jsx +5 -27
  32. package/components/message/index.js +0 -6
  33. package/components/message/inner.jsx +1 -1
  34. package/components/modal/index.js +4 -7
  35. package/components/modal/modal.jsx +2 -3
  36. package/components/modal/styles/index.less +1 -0
  37. package/components/modal/toast.jsx +1 -1
  38. package/components/notice/index.js +0 -6
  39. package/components/page/demo/basic.md +3 -3
  40. package/components/page/demo/size.md +4 -4
  41. package/components/page/demo/sizer-elevator.md +6 -6
  42. package/components/page/index.md +1 -1
  43. package/components/page/page.jsx +9 -9
  44. package/components/popconfirm/popconfirm.jsx +1 -1
  45. package/components/progress/progress.jsx +1 -1
  46. package/components/radio/styles/index.less +3 -0
  47. package/components/rate/star.jsx +1 -1
  48. package/components/select/demo/theme.md +2 -1
  49. package/components/select/option.jsx +1 -1
  50. package/components/select/select.jsx +2 -2
  51. package/components/slider/demo/formatter.md +8 -9
  52. package/components/slider/slider.jsx +3 -4
  53. package/components/slider/thumb.jsx +4 -3
  54. package/components/space/demo/compact.md +9 -9
  55. package/components/statCard/statNumber.jsx +2 -2
  56. package/components/statCard/{countup.jsx → statup/countup.jsx} +1 -1
  57. package/components/styles/less-var.less +1 -1
  58. package/components/switch/switch.jsx +1 -1
  59. package/components/table/table.jsx +1 -1
  60. package/components/tabs/styles/index.less +2 -2
  61. package/components/tabs/tabs.jsx +1 -1
  62. package/components/tag/tag.jsx +1 -1
  63. package/components/tree/tree.jsx +1 -1
  64. package/components/treeselect/treeselect.jsx +1 -1
  65. package/components/upload/fileList.jsx +1 -1
  66. package/components/upload/selector.jsx +1 -1
  67. package/components/utils/theme.js +0 -10
  68. package/components/utils/vue.js +8 -0
  69. package/dist/k-ui.cjs.js +2 -2
  70. package/dist/k-ui.css +2 -2
  71. package/dist/k-ui.d.ts +332 -331
  72. package/dist/k-ui.esm.js +2 -2
  73. package/dist/k-ui.umd.js +2 -2
  74. package/dist/locale/de.js +1 -1
  75. package/dist/locale/el.js +1 -1
  76. package/dist/locale/en.js +1 -1
  77. package/dist/locale/fr.js +1 -1
  78. package/dist/locale/it.js +1 -1
  79. package/dist/locale/ja.js +1 -1
  80. package/dist/locale/ko.js +1 -1
  81. package/dist/locale/ru.js +1 -1
  82. package/dist/locale/th.js +1 -1
  83. package/dist/locale/uk.js +1 -1
  84. package/dist/locale/vi.js +1 -1
  85. package/dist/locale/zh-CN.js +1 -1
  86. package/dist/locale/zh-TW.js +1 -1
  87. package/package.json +13 -14
  88. package/types/index.d.ts +34 -34
  89. package/types/page/Page.d.ts +1 -1
  90. package/types/slider/Slider.d.ts +1 -0
  91. package/components/utils/i18n.js +0 -32
  92. /package/components/statCard/{countup.js → statup/countup.js} +0 -0
  93. /package/components/statCard/{rollup.jsx → statup/rollup.jsx} +0 -0
package/dist/k-ui.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * kui-vue v3.6.8
2
+ * kui-vue v3.6.10
3
3
  * Copyright 2017-present, kui-vue.
4
4
  * All rights reserved.
5
5
  * Homepage: https://k-ui.cn
@@ -8,6 +8,25 @@
8
8
 
9
9
  import Vue, { VueConstructor } from 'vue';
10
10
 
11
+ /** BackTop component props */
12
+ interface BackTopProps {
13
+ /** default: 100 */
14
+ height?: number;
15
+ right?: number;
16
+ bottom?: number;
17
+ /** default: undefined */
18
+ target?: (...args: any[]) => any;
19
+ }
20
+
21
+ /** BackTop component instance */
22
+ interface BackTop extends Vue {
23
+ $props: BackTopProps;
24
+ $emit(event: string, ...args: any[]): this;
25
+ }
26
+
27
+ /** BackTop Vue component type */
28
+ declare const BackTop: VueConstructor<BackTop>;
29
+
11
30
  /** Affix component props */
12
31
  interface AffixProps {
13
32
  /** default: 0 */
@@ -26,28 +45,6 @@ interface Affix extends Vue {
26
45
  /** Affix Vue component type */
27
46
  declare const Affix: VueConstructor<Affix>;
28
47
 
29
- /** Alert component props */
30
- interface AlertProps {
31
- /** default: warning */
32
- type?: string;
33
- closable?: boolean;
34
- /** default: true */
35
- showIcon?: boolean;
36
- icon?: string | Record<string, any> | any[];
37
- message?: string;
38
- description?: string;
39
- bordered?: boolean;
40
- }
41
-
42
- /** Alert component instance */
43
- interface Alert extends Vue {
44
- $props: AlertProps;
45
- $emit(event: string, ...args: any[]): this;
46
- }
47
-
48
- /** Alert Vue component type */
49
- declare const Alert: VueConstructor<Alert>;
50
-
51
48
  /** Avatar component props */
52
49
  interface AvatarProps {
53
50
  icon?: string | any[];
@@ -66,24 +63,27 @@ interface Avatar extends Vue {
66
63
  /** Avatar Vue component type */
67
64
  declare const Avatar: VueConstructor<Avatar>;
68
65
 
69
- /** BackTop component props */
70
- interface BackTopProps {
71
- /** default: 100 */
72
- height?: number;
73
- right?: number;
74
- bottom?: number;
75
- /** default: undefined */
76
- target?: (...args: any[]) => any;
66
+ /** Alert component props */
67
+ interface AlertProps {
68
+ /** default: warning */
69
+ type?: string;
70
+ closable?: boolean;
71
+ /** default: true */
72
+ showIcon?: boolean;
73
+ icon?: string | Record<string, any> | any[];
74
+ message?: string;
75
+ description?: string;
76
+ bordered?: boolean;
77
77
  }
78
78
 
79
- /** BackTop component instance */
80
- interface BackTop extends Vue {
81
- $props: BackTopProps;
79
+ /** Alert component instance */
80
+ interface Alert extends Vue {
81
+ $props: AlertProps;
82
82
  $emit(event: string, ...args: any[]): this;
83
83
  }
84
84
 
85
- /** BackTop Vue component type */
86
- declare const BackTop: VueConstructor<BackTop>;
85
+ /** Alert Vue component type */
86
+ declare const Alert: VueConstructor<Alert>;
87
87
 
88
88
  /** Breadcrumb component props */
89
89
  interface BreadcrumbProps {
@@ -531,21 +531,39 @@ interface DropdownButton extends Vue {
531
531
  /** DropdownButton Vue component type */
532
532
  declare const DropdownButton: VueConstructor<DropdownButton>;
533
533
 
534
- /** Empty component props */
535
- interface EmptyProps {
536
- description?: string;
537
- image?: string;
538
- imageStyle?: Record<string, any>;
534
+ /** Row component props */
535
+ interface RowProps {
536
+ gutter?: number | any[];
537
+ /** default: flex */
538
+ type?: string;
539
+ justify?: string;
540
+ align?: string;
539
541
  }
540
542
 
541
- /** Empty component instance */
542
- interface Empty extends Vue {
543
- $props: EmptyProps;
543
+ /** Row component instance */
544
+ interface Row extends Vue {
545
+ $props: RowProps;
544
546
  $emit(event: string, ...args: any[]): this;
545
547
  }
546
548
 
547
- /** Empty Vue component type */
548
- declare const Empty: VueConstructor<Empty>;
549
+ /** Row Vue component type */
550
+ declare const Row: VueConstructor<Row>;
551
+
552
+ /** Col component props */
553
+ interface ColProps {
554
+ span?: number;
555
+ offset?: number;
556
+ flex?: string | number;
557
+ }
558
+
559
+ /** Col component instance */
560
+ interface Col extends Vue {
561
+ $props: ColProps;
562
+ $emit(event: string, ...args: any[]): this;
563
+ }
564
+
565
+ /** Col Vue component type */
566
+ declare const Col: VueConstructor<Col>;
549
567
 
550
568
  /** Flex component props */
551
569
  interface FlexProps {
@@ -609,94 +627,21 @@ interface formitem extends Vue {
609
627
  /** formitem Vue component type */
610
628
  declare const formitem: VueConstructor<formitem>;
611
629
 
612
- /** Row component props */
613
- interface RowProps {
614
- gutter?: number | any[];
615
- /** default: flex */
616
- type?: string;
617
- justify?: string;
618
- align?: string;
619
- }
620
-
621
- /** Row component instance */
622
- interface Row extends Vue {
623
- $props: RowProps;
624
- $emit(event: string, ...args: any[]): this;
625
- }
626
-
627
- /** Row Vue component type */
628
- declare const Row: VueConstructor<Row>;
629
-
630
- /** Col component props */
631
- interface ColProps {
632
- span?: number;
633
- offset?: number;
634
- flex?: string | number;
635
- }
636
-
637
- /** Col component instance */
638
- interface Col extends Vue {
639
- $props: ColProps;
640
- $emit(event: string, ...args: any[]): this;
641
- }
642
-
643
- /** Col Vue component type */
644
- declare const Col: VueConstructor<Col>;
645
-
646
- /** Icon component props */
647
- interface IconProps {
648
- type?: string | any[];
649
- size?: string | number;
650
- color?: string;
651
- spin?: boolean;
652
- strokeWidth?: string | number;
653
- }
654
-
655
- /** Icon component instance */
656
- interface Icon extends Vue {
657
- $props: IconProps;
658
- $emit(event: string, ...args: any[]): this;
659
- }
660
-
661
- /** Icon Vue component type */
662
- declare const Icon: VueConstructor<Icon>;
663
-
664
- /** KImage component props */
665
- interface KImageProps {
666
- alt?: string;
667
- src?: string;
668
- type?: string;
669
- origin?: string;
670
- height?: string | number;
671
- width?: string | number;
672
- placeholder?: string;
673
- data?: any[];
674
- imgStyle?: Record<string, any>;
675
- showPanel?: boolean;
676
- }
677
-
678
- /** KImage component instance */
679
- interface KImage extends Vue {
680
- $props: KImageProps;
681
- $emit(event: string, ...args: any[]): this;
682
- }
683
-
684
- /** KImage Vue component type */
685
- declare const KImage: VueConstructor<KImage>;
686
-
687
- /** ImageGroup component props */
688
- interface ImageGroupProps {
689
- data?: any[];
630
+ /** Empty component props */
631
+ interface EmptyProps {
632
+ description?: string;
633
+ image?: string;
634
+ imageStyle?: Record<string, any>;
690
635
  }
691
636
 
692
- /** ImageGroup component instance */
693
- interface ImageGroup extends Vue {
694
- $props: ImageGroupProps;
637
+ /** Empty component instance */
638
+ interface Empty extends Vue {
639
+ $props: EmptyProps;
695
640
  $emit(event: string, ...args: any[]): this;
696
641
  }
697
642
 
698
- /** ImageGroup Vue component type */
699
- declare const ImageGroup: VueConstructor<ImageGroup>;
643
+ /** Empty Vue component type */
644
+ declare const Empty: VueConstructor<Empty>;
700
645
 
701
646
  /** Input component props */
702
647
  interface InputProps {
@@ -767,6 +712,43 @@ interface InputGroup extends Vue {
767
712
  /** InputGroup Vue component type */
768
713
  declare const InputGroup: VueConstructor<InputGroup>;
769
714
 
715
+ /** KImage component props */
716
+ interface KImageProps {
717
+ alt?: string;
718
+ src?: string;
719
+ type?: string;
720
+ origin?: string;
721
+ height?: string | number;
722
+ width?: string | number;
723
+ placeholder?: string;
724
+ data?: any[];
725
+ imgStyle?: Record<string, any>;
726
+ showPanel?: boolean;
727
+ }
728
+
729
+ /** KImage component instance */
730
+ interface KImage extends Vue {
731
+ $props: KImageProps;
732
+ $emit(event: string, ...args: any[]): this;
733
+ }
734
+
735
+ /** KImage Vue component type */
736
+ declare const KImage: VueConstructor<KImage>;
737
+
738
+ /** ImageGroup component props */
739
+ interface ImageGroupProps {
740
+ data?: any[];
741
+ }
742
+
743
+ /** ImageGroup component instance */
744
+ interface ImageGroup extends Vue {
745
+ $props: ImageGroupProps;
746
+ $emit(event: string, ...args: any[]): this;
747
+ }
748
+
749
+ /** ImageGroup Vue component type */
750
+ declare const ImageGroup: VueConstructor<ImageGroup>;
751
+
770
752
  /** InputNumber component props */
771
753
  interface InputNumberProps {
772
754
  value?: any[] | number | string;
@@ -804,20 +786,6 @@ interface InputNumber extends Vue {
804
786
  /** InputNumber Vue component type */
805
787
  declare const InputNumber: VueConstructor<InputNumber>;
806
788
 
807
- /** sider component props */
808
- interface siderProps {
809
- suffixCls?: string;
810
- }
811
-
812
- /** sider component instance */
813
- interface sider extends Vue {
814
- $props: siderProps;
815
- $emit(event: string, ...args: any[]): this;
816
- }
817
-
818
- /** sider Vue component type */
819
- declare const sider: VueConstructor<sider>;
820
-
821
789
  /** loading component props */
822
790
  interface loadingProps {}
823
791
 
@@ -830,10 +798,28 @@ interface loading extends Vue {
830
798
  /** loading Vue component type */
831
799
  declare const loading: VueConstructor<loading>;
832
800
 
833
- /** Menu component props */
834
- interface MenuProps {
835
- theme?: string;
836
- /** default: vertical */
801
+ /** Icon component props */
802
+ interface IconProps {
803
+ type?: string | any[];
804
+ size?: string | number;
805
+ color?: string;
806
+ spin?: boolean;
807
+ strokeWidth?: string | number;
808
+ }
809
+
810
+ /** Icon component instance */
811
+ interface Icon extends Vue {
812
+ $props: IconProps;
813
+ $emit(event: string, ...args: any[]): this;
814
+ }
815
+
816
+ /** Icon Vue component type */
817
+ declare const Icon: VueConstructor<Icon>;
818
+
819
+ /** Menu component props */
820
+ interface MenuProps {
821
+ theme?: string;
822
+ /** default: vertical */
837
823
  mode?: string;
838
824
  /** default: undefined */
839
825
  value?: any[];
@@ -948,6 +934,20 @@ interface Modal extends Vue {
948
934
  /** Modal Vue component type */
949
935
  declare const Modal: VueConstructor<Modal>;
950
936
 
937
+ /** sider component props */
938
+ interface siderProps {
939
+ suffixCls?: string;
940
+ }
941
+
942
+ /** sider component instance */
943
+ interface sider extends Vue {
944
+ $props: siderProps;
945
+ $emit(event: string, ...args: any[]): this;
946
+ }
947
+
948
+ /** sider Vue component type */
949
+ declare const sider: VueConstructor<sider>;
950
+
951
951
  /** Page component props */
952
952
  interface PageProps {
953
953
  disabled?: boolean;
@@ -966,7 +966,7 @@ interface PageProps {
966
966
  /** default: 10 */
967
967
  pageSize?: number;
968
968
  /** default: 1 */
969
- current?: number;
969
+ page?: number;
970
970
  }
971
971
 
972
972
  /** Page component instance */
@@ -978,28 +978,6 @@ interface Page extends Vue {
978
978
  /** Page Vue component type */
979
979
  declare const Page: VueConstructor<Page>;
980
980
 
981
- /** Popconfirm component props */
982
- interface PopconfirmProps {
983
- dark?: boolean;
984
- show?: boolean;
985
- title?: string | number | Record<string, any> | any[];
986
- size?: string;
987
- width?: number | string;
988
- okText?: string;
989
- cancelText?: string;
990
- /** default: top */
991
- placement?: any;
992
- }
993
-
994
- /** Popconfirm component instance */
995
- interface Popconfirm extends Vue {
996
- $props: PopconfirmProps;
997
- $emit(event: string, ...args: any[]): this;
998
- }
999
-
1000
- /** Popconfirm Vue component type */
1001
- declare const Popconfirm: VueConstructor<Popconfirm>;
1002
-
1003
981
  /** Poptip component props */
1004
982
  interface PoptipProps {
1005
983
  dark?: boolean;
@@ -1121,6 +1099,28 @@ interface RadioButton extends Vue {
1121
1099
  /** RadioButton Vue component type */
1122
1100
  declare const RadioButton: VueConstructor<RadioButton>;
1123
1101
 
1102
+ /** Popconfirm component props */
1103
+ interface PopconfirmProps {
1104
+ dark?: boolean;
1105
+ show?: boolean;
1106
+ title?: string | number | Record<string, any> | any[];
1107
+ size?: string;
1108
+ width?: number | string;
1109
+ okText?: string;
1110
+ cancelText?: string;
1111
+ /** default: top */
1112
+ placement?: any;
1113
+ }
1114
+
1115
+ /** Popconfirm component instance */
1116
+ interface Popconfirm extends Vue {
1117
+ $props: PopconfirmProps;
1118
+ $emit(event: string, ...args: any[]): this;
1119
+ }
1120
+
1121
+ /** Popconfirm Vue component type */
1122
+ declare const Popconfirm: VueConstructor<Popconfirm>;
1123
+
1124
1124
  /** Rate component props */
1125
1125
  interface RateProps {
1126
1126
  /** default: 0 */
@@ -1148,65 +1148,6 @@ interface Rate extends Vue {
1148
1148
  /** Rate Vue component type */
1149
1149
  declare const Rate: VueConstructor<Rate>;
1150
1150
 
1151
- /** Select component props */
1152
- interface SelectProps {
1153
- placeholder?: string;
1154
- /** default: default */
1155
- size?: any;
1156
- /** default: bottom-left */
1157
- placement?: any;
1158
- width?: number;
1159
- maxTagCount?: number;
1160
- value?: string | number | any[];
1161
- /** default: true */
1162
- clearable?: boolean;
1163
- filterable?: boolean;
1164
- block?: boolean;
1165
- disabled?: boolean;
1166
- multiple?: boolean;
1167
- loading?: boolean;
1168
- /** default: true */
1169
- bordered?: boolean;
1170
- /** default: true */
1171
- showArrow?: boolean;
1172
- options?: any[];
1173
- /** default: light */
1174
- theme?: string;
1175
- emptyText?: string;
1176
- loadingText?: string;
1177
- icon?: string | any[];
1178
- shape?: string;
1179
- arrowIcon?: string | any[];
1180
- }
1181
-
1182
- /** Select component instance */
1183
- interface Select extends Vue {
1184
- $props: SelectProps;
1185
- $emit(event: string, ...args: any[]): this;
1186
- }
1187
-
1188
- /** Select Vue component type */
1189
- declare const Select: VueConstructor<Select>;
1190
-
1191
- /** Option component props */
1192
- interface OptionProps {
1193
- value?: string | number;
1194
- label?: string | number;
1195
- disabled?: boolean;
1196
- checked?: boolean;
1197
- active?: boolean;
1198
- multiple?: boolean;
1199
- }
1200
-
1201
- /** Option component instance */
1202
- interface Option extends Vue {
1203
- $props: OptionProps;
1204
- $emit(event: string, ...args: any[]): this;
1205
- }
1206
-
1207
- /** Option Vue component type */
1208
- declare const Option: VueConstructor<Option>;
1209
-
1210
1151
  /** Skeleton component props */
1211
1152
  interface SkeletonProps {
1212
1153
  animated?: boolean;
@@ -1327,6 +1268,7 @@ interface SliderProps {
1327
1268
  /** default: true */
1328
1269
  included?: boolean;
1329
1270
  tipFormatter?: (...args: any[]) => any;
1271
+ /** default: undefined */
1330
1272
  tooltipVisible?: boolean;
1331
1273
  }
1332
1274
 
@@ -1339,26 +1281,6 @@ interface Slider extends Vue {
1339
1281
  /** Slider Vue component type */
1340
1282
  declare const Slider: VueConstructor<Slider>;
1341
1283
 
1342
- /** Space component props */
1343
- interface SpaceProps {
1344
- align?: string;
1345
- vertical?: boolean;
1346
- /** default: false */
1347
- wrap?: boolean;
1348
- block?: boolean;
1349
- compact?: boolean;
1350
- size?: string | number | any[];
1351
- }
1352
-
1353
- /** Space component instance */
1354
- interface Space extends Vue {
1355
- $props: SpaceProps;
1356
- $emit(event: string, ...args: any[]): this;
1357
- }
1358
-
1359
- /** Space Vue component type */
1360
- declare const Space: VueConstructor<Space>;
1361
-
1362
1284
  /** Spin component props */
1363
1285
  interface SpinProps {
1364
1286
  /** default: true */
@@ -1380,51 +1302,6 @@ interface Spin extends Vue {
1380
1302
  /** Spin Vue component type */
1381
1303
  declare const Spin: VueConstructor<Spin>;
1382
1304
 
1383
- /** StatCard component props */
1384
- interface StatCardProps {
1385
- title?: string;
1386
- /** default: 0 */
1387
- precision?: number;
1388
- /** default: undefined */
1389
- items?: any[];
1390
- separator?: string;
1391
- statNumberType?: string;
1392
- /** default: false */
1393
- bordered?: boolean;
1394
- }
1395
-
1396
- /** StatCard component instance */
1397
- interface StatCard extends Vue {
1398
- $props: StatCardProps;
1399
- $emit(event: string, ...args: any[]): this;
1400
- }
1401
-
1402
- /** StatCard Vue component type */
1403
- declare const StatCard: VueConstructor<StatCard>;
1404
-
1405
- /** StatNumber component props */
1406
- interface StatNumberProps {
1407
- value?: number;
1408
- separator?: string;
1409
- /** default: 1 */
1410
- duration?: number;
1411
- /** default: 0 */
1412
- precision?: number;
1413
- /** default: countup */
1414
- type?: string;
1415
- prefix?: string;
1416
- suffix?: string;
1417
- }
1418
-
1419
- /** StatNumber component instance */
1420
- interface StatNumber extends Vue {
1421
- $props: StatNumberProps;
1422
- $emit(event: string, ...args: any[]): this;
1423
- }
1424
-
1425
- /** StatNumber Vue component type */
1426
- declare const StatNumber: VueConstructor<StatNumber>;
1427
-
1428
1305
  /** Switch component props */
1429
1306
  interface SwitchProps {
1430
1307
  /** default: false */
@@ -1447,6 +1324,85 @@ interface Switch extends Vue {
1447
1324
  /** Switch Vue component type */
1448
1325
  declare const Switch: VueConstructor<Switch>;
1449
1326
 
1327
+ /** Select component props */
1328
+ interface SelectProps {
1329
+ placeholder?: string;
1330
+ /** default: default */
1331
+ size?: any;
1332
+ /** default: bottom-left */
1333
+ placement?: any;
1334
+ width?: number;
1335
+ maxTagCount?: number;
1336
+ value?: string | number | any[];
1337
+ /** default: true */
1338
+ clearable?: boolean;
1339
+ filterable?: boolean;
1340
+ block?: boolean;
1341
+ disabled?: boolean;
1342
+ multiple?: boolean;
1343
+ loading?: boolean;
1344
+ /** default: true */
1345
+ bordered?: boolean;
1346
+ /** default: true */
1347
+ showArrow?: boolean;
1348
+ options?: any[];
1349
+ /** default: light */
1350
+ theme?: string;
1351
+ emptyText?: string;
1352
+ loadingText?: string;
1353
+ icon?: string | any[];
1354
+ shape?: string;
1355
+ arrowIcon?: string | any[];
1356
+ }
1357
+
1358
+ /** Select component instance */
1359
+ interface Select extends Vue {
1360
+ $props: SelectProps;
1361
+ $emit(event: string, ...args: any[]): this;
1362
+ }
1363
+
1364
+ /** Select Vue component type */
1365
+ declare const Select: VueConstructor<Select>;
1366
+
1367
+ /** Option component props */
1368
+ interface OptionProps {
1369
+ value?: string | number;
1370
+ label?: string | number;
1371
+ disabled?: boolean;
1372
+ checked?: boolean;
1373
+ active?: boolean;
1374
+ multiple?: boolean;
1375
+ }
1376
+
1377
+ /** Option component instance */
1378
+ interface Option extends Vue {
1379
+ $props: OptionProps;
1380
+ $emit(event: string, ...args: any[]): this;
1381
+ }
1382
+
1383
+ /** Option Vue component type */
1384
+ declare const Option: VueConstructor<Option>;
1385
+
1386
+ /** Space component props */
1387
+ interface SpaceProps {
1388
+ align?: string;
1389
+ vertical?: boolean;
1390
+ /** default: false */
1391
+ wrap?: boolean;
1392
+ block?: boolean;
1393
+ compact?: boolean;
1394
+ size?: string | number | any[];
1395
+ }
1396
+
1397
+ /** Space component instance */
1398
+ interface Space extends Vue {
1399
+ $props: SpaceProps;
1400
+ $emit(event: string, ...args: any[]): this;
1401
+ }
1402
+
1403
+ /** Space Vue component type */
1404
+ declare const Space: VueConstructor<Space>;
1405
+
1450
1406
  /** Table component props */
1451
1407
  interface TableProps {
1452
1408
  /** default: undefined */
@@ -1479,43 +1435,6 @@ interface Table extends Vue {
1479
1435
  /** Table Vue component type */
1480
1436
  declare const Table: VueConstructor<Table>;
1481
1437
 
1482
- /** Tabs component props */
1483
- interface TabsProps {
1484
- value?: string | number;
1485
- card?: boolean;
1486
- sample?: boolean;
1487
- centered?: boolean;
1488
- /** default: true */
1489
- animated?: boolean;
1490
- }
1491
-
1492
- /** Tabs component instance */
1493
- interface Tabs extends Vue {
1494
- $props: TabsProps;
1495
- $emit(event: string, ...args: any[]): this;
1496
- }
1497
-
1498
- /** Tabs Vue component type */
1499
- declare const Tabs: VueConstructor<Tabs>;
1500
-
1501
- /** TabPanel component props */
1502
- interface TabPanelProps {
1503
- title?: string;
1504
- icon?: string | any[];
1505
- disabled?: boolean;
1506
- closable?: boolean;
1507
- activeKey?: string | number;
1508
- }
1509
-
1510
- /** TabPanel component instance */
1511
- interface TabPanel extends Vue {
1512
- $props: TabPanelProps;
1513
- $emit(event: string, ...args: any[]): this;
1514
- }
1515
-
1516
- /** TabPanel Vue component type */
1517
- declare const TabPanel: VueConstructor<TabPanel>;
1518
-
1519
1438
  /** Tag component props */
1520
1439
  interface TagProps {
1521
1440
  closeable?: boolean;
@@ -1623,6 +1542,43 @@ interface Tree extends Vue {
1623
1542
  /** Tree Vue component type */
1624
1543
  declare const Tree: VueConstructor<Tree>;
1625
1544
 
1545
+ /** Tabs component props */
1546
+ interface TabsProps {
1547
+ value?: string | number;
1548
+ card?: boolean;
1549
+ sample?: boolean;
1550
+ centered?: boolean;
1551
+ /** default: true */
1552
+ animated?: boolean;
1553
+ }
1554
+
1555
+ /** Tabs component instance */
1556
+ interface Tabs extends Vue {
1557
+ $props: TabsProps;
1558
+ $emit(event: string, ...args: any[]): this;
1559
+ }
1560
+
1561
+ /** Tabs Vue component type */
1562
+ declare const Tabs: VueConstructor<Tabs>;
1563
+
1564
+ /** TabPanel component props */
1565
+ interface TabPanelProps {
1566
+ title?: string;
1567
+ icon?: string | any[];
1568
+ disabled?: boolean;
1569
+ closable?: boolean;
1570
+ activeKey?: string | number;
1571
+ }
1572
+
1573
+ /** TabPanel component instance */
1574
+ interface TabPanel extends Vue {
1575
+ $props: TabPanelProps;
1576
+ $emit(event: string, ...args: any[]): this;
1577
+ }
1578
+
1579
+ /** TabPanel Vue component type */
1580
+ declare const TabPanel: VueConstructor<TabPanel>;
1581
+
1626
1582
  /** TreeSelect component props */
1627
1583
  interface TreeSelectProps {
1628
1584
  placeholder?: string;
@@ -1671,6 +1627,51 @@ interface TreeSelect extends Vue {
1671
1627
  /** TreeSelect Vue component type */
1672
1628
  declare const TreeSelect: VueConstructor<TreeSelect>;
1673
1629
 
1630
+ /** StatCard component props */
1631
+ interface StatCardProps {
1632
+ title?: string;
1633
+ /** default: 0 */
1634
+ precision?: number;
1635
+ /** default: undefined */
1636
+ items?: any[];
1637
+ separator?: string;
1638
+ statNumberType?: string;
1639
+ /** default: false */
1640
+ bordered?: boolean;
1641
+ }
1642
+
1643
+ /** StatCard component instance */
1644
+ interface StatCard extends Vue {
1645
+ $props: StatCardProps;
1646
+ $emit(event: string, ...args: any[]): this;
1647
+ }
1648
+
1649
+ /** StatCard Vue component type */
1650
+ declare const StatCard: VueConstructor<StatCard>;
1651
+
1652
+ /** StatNumber component props */
1653
+ interface StatNumberProps {
1654
+ value?: number;
1655
+ separator?: string;
1656
+ /** default: 1 */
1657
+ duration?: number;
1658
+ /** default: 0 */
1659
+ precision?: number;
1660
+ /** default: countup */
1661
+ type?: string;
1662
+ prefix?: string;
1663
+ suffix?: string;
1664
+ }
1665
+
1666
+ /** StatNumber component instance */
1667
+ interface StatNumber extends Vue {
1668
+ $props: StatNumberProps;
1669
+ $emit(event: string, ...args: any[]): this;
1670
+ }
1671
+
1672
+ /** StatNumber Vue component type */
1673
+ declare const StatNumber: VueConstructor<StatNumber>;
1674
+
1674
1675
  /** Upload component props */
1675
1676
  interface UploadProps {
1676
1677
  /** default: post */