kui-vue 3.6.1 → 3.6.2
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.
- package/components/button/demo/size.md +1 -1
- package/components/checkbox/checkbox.jsx +17 -16
- package/components/checkbox/checkboxGroup.jsx +1 -1
- package/components/collapse/collapse.jsx +9 -10
- package/components/collapse/demo/accordion.md +2 -2
- package/components/collapse/demo/basic.md +2 -2
- package/components/collapse/demo/extra.md +2 -2
- package/components/collapse/demo/nesting.md +4 -4
- package/components/collapse/demo/sample.md +2 -2
- package/components/collapse/index.md +6 -6
- package/components/colorPicker/demo/basic.md +14 -2
- package/components/colorPicker/demo/index.jsx +0 -8
- package/components/colorPicker/demo/size.md +24 -10
- package/components/datePicker/demo/size.md +1 -1
- package/components/dropdown/dropdownButton.jsx +18 -7
- package/components/empty/demo/basic.md +1 -3
- package/components/empty/demo/nodesc.md +1 -3
- package/components/empty/demo/used.md +4 -6
- package/components/empty/empty.jsx +19 -17
- package/components/empty/styles/index.less +18 -5
- package/components/form/demo/align.md +10 -10
- package/components/form/demo/valid.md +2 -2
- package/components/form/form.jsx +1 -1
- package/components/form/formitem.jsx +1 -1
- package/components/image/preview.jsx +1 -1
- package/components/input/demo/basic.md +1 -1
- package/components/input/demo/group.md +1 -1
- package/components/input/input.jsx +7 -5
- package/components/input/inputBox.jsx +2 -2
- package/components/message/demo/close.md +1 -1
- package/components/message/group.jsx +2 -2
- package/components/message/index.md +1 -1
- package/components/message/inner.jsx +26 -7
- package/components/notice/demo/close.md +1 -1
- package/components/notice/index.md +1 -1
- package/components/page/styles/index.less +7 -1
- package/components/popconfirm/popconfirm.jsx +14 -16
- package/components/progress/progress.jsx +1 -1
- package/components/radio/radio.jsx +14 -11
- package/components/radio/radioButton.jsx +1 -1
- package/components/radio/radioGroup.jsx +1 -1
- package/components/rate/demo/basic.md +12 -2
- package/components/rate/demo/character.md +16 -2
- package/components/rate/demo/index.jsx +0 -8
- package/components/rate/demo/tips.md +15 -5
- package/components/rate/rate.jsx +24 -5
- package/components/select/demo/size.md +1 -1
- package/components/select/select.jsx +0 -1
- package/components/space/styles/index.less +3 -1
- package/components/spin/index.md +6 -5
- package/components/switch/switch.jsx +1 -3
- package/components/table/demo/size.md +1 -1
- package/components/tabs/tabs.jsx +1 -1
- package/components/tooltip/tooltip.jsx +13 -8
- package/components/treeselect/demo/basic.md +11 -8
- package/components/treeselect/demo/size.md +4 -3
- package/components/treeselect/demo/theme.md +0 -1
- package/components/upload/upload.jsx +0 -1
- package/components/utils/placement.js +58 -31
- package/dist/k-ui.cjs.js +2 -2
- package/dist/k-ui.css +2 -2
- package/dist/k-ui.d.ts +187 -186
- package/dist/k-ui.esm.js +2 -2
- package/dist/k-ui.umd.js +2 -2
- package/dist/locale/de.js +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/ua.js +2 -2
- package/dist/locale/uk.js +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/zh-CN.js +1 -1
- package/dist/locale/zh-TW.js +1 -1
- package/package.json +1 -1
- package/types/checkbox/Checkbox.d.ts +1 -1
- package/types/collapse/Collapse.d.ts +1 -1
- package/types/index.d.ts +16 -16
- package/types/popconfirm/Popconfirm.d.ts +1 -0
- package/types/radio/Radio.d.ts +1 -1
- package/types/radio/RadioButton.d.ts +1 -1
- package/types/switch/Switch.d.ts +1 -2
- package/types/tooltip/Tooltip.d.ts +1 -0
- package/components/base/collapse.jsx +0 -15
- package/components/base/input.jsx +0 -210
- package/components/colorPicker/demo/disabled.md +0 -16
- package/components/colorPicker/demo/disabledAlpha.md +0 -13
- package/components/colorPicker/demo/mode.md +0 -21
- package/components/colorPicker/demo/presets.md +0 -17
- package/components/rate/demo/clear.md +0 -13
- package/components/rate/demo/custom.md +0 -23
- package/components/rate/demo/disabled.md +0 -12
- package/components/rate/demo/half.md +0 -12
- package/components/utils/element.js +0 -122
package/dist/k-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* kui-vue v3.6.
|
|
2
|
+
* kui-vue v3.6.2
|
|
3
3
|
* Copyright 2017-present, kui-vue.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Author: Qiu / https://chuchur.com
|
|
@@ -25,23 +25,26 @@ interface Affix extends Vue {
|
|
|
25
25
|
/** Affix Vue component type */
|
|
26
26
|
declare const Affix: VueConstructor<Affix>;
|
|
27
27
|
|
|
28
|
-
/**
|
|
29
|
-
interface
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
/** Badge component props */
|
|
29
|
+
interface BadgeProps {
|
|
30
|
+
count?: string | number;
|
|
31
|
+
dot?: boolean;
|
|
32
|
+
color?: string;
|
|
32
33
|
/** default: default */
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
status?: string;
|
|
35
|
+
text?: string;
|
|
36
|
+
/** default: 99 */
|
|
37
|
+
maxCount?: number;
|
|
35
38
|
}
|
|
36
39
|
|
|
37
|
-
/**
|
|
38
|
-
interface
|
|
39
|
-
$props:
|
|
40
|
+
/** Badge component instance */
|
|
41
|
+
interface Badge extends Vue {
|
|
42
|
+
$props: BadgeProps;
|
|
40
43
|
$emit(event: string, ...args: any[]): void;
|
|
41
44
|
}
|
|
42
45
|
|
|
43
|
-
/**
|
|
44
|
-
declare const
|
|
46
|
+
/** Badge Vue component type */
|
|
47
|
+
declare const Badge: VueConstructor<Badge>;
|
|
45
48
|
|
|
46
49
|
/** BackTop component props */
|
|
47
50
|
interface BackTopProps {
|
|
@@ -62,26 +65,23 @@ interface BackTop extends Vue {
|
|
|
62
65
|
/** BackTop Vue component type */
|
|
63
66
|
declare const BackTop: VueConstructor<BackTop>;
|
|
64
67
|
|
|
65
|
-
/**
|
|
66
|
-
interface
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
color?: string;
|
|
68
|
+
/** Avatar component props */
|
|
69
|
+
interface AvatarProps {
|
|
70
|
+
icon?: string | any[];
|
|
71
|
+
shape?: string;
|
|
70
72
|
/** default: default */
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
/** default: 99 */
|
|
74
|
-
maxCount?: number;
|
|
73
|
+
size?: number | string;
|
|
74
|
+
src?: string;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
/**
|
|
78
|
-
interface
|
|
79
|
-
$props:
|
|
77
|
+
/** Avatar component instance */
|
|
78
|
+
interface Avatar extends Vue {
|
|
79
|
+
$props: AvatarProps;
|
|
80
80
|
$emit(event: string, ...args: any[]): void;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
/**
|
|
84
|
-
declare const
|
|
83
|
+
/** Avatar Vue component type */
|
|
84
|
+
declare const Avatar: VueConstructor<Avatar>;
|
|
85
85
|
|
|
86
86
|
/** Breadcrumb component props */
|
|
87
87
|
interface BreadcrumbProps {
|
|
@@ -231,7 +231,7 @@ declare const CarouselItem: VueConstructor<CarouselItem>;
|
|
|
231
231
|
/** Checkbox component props */
|
|
232
232
|
interface CheckboxProps {
|
|
233
233
|
/** default: false */
|
|
234
|
-
checked?: boolean;
|
|
234
|
+
checked?: boolean | number;
|
|
235
235
|
value?: string | number | boolean;
|
|
236
236
|
label?: string | number;
|
|
237
237
|
theme?: string;
|
|
@@ -274,7 +274,7 @@ declare const CheckboxGroup: VueConstructor<CheckboxGroup>;
|
|
|
274
274
|
|
|
275
275
|
/** Collapse component props */
|
|
276
276
|
interface CollapseProps {
|
|
277
|
-
|
|
277
|
+
openKeys?: any[];
|
|
278
278
|
accordion?: boolean;
|
|
279
279
|
sample?: boolean;
|
|
280
280
|
}
|
|
@@ -479,6 +479,53 @@ interface Drawer extends Vue {
|
|
|
479
479
|
/** Drawer Vue component type */
|
|
480
480
|
declare const Drawer: VueConstructor<Drawer>;
|
|
481
481
|
|
|
482
|
+
/** Dropdown component props */
|
|
483
|
+
interface DropdownProps {
|
|
484
|
+
dark?: boolean;
|
|
485
|
+
/** default: hover */
|
|
486
|
+
trigger?: string;
|
|
487
|
+
/** default: true */
|
|
488
|
+
transfer?: boolean;
|
|
489
|
+
disabled?: boolean;
|
|
490
|
+
/** default: false */
|
|
491
|
+
arrow?: boolean;
|
|
492
|
+
show?: boolean;
|
|
493
|
+
/** default: bottom-left */
|
|
494
|
+
placement?: any;
|
|
495
|
+
target?: Record<string, any>;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/** Dropdown component instance */
|
|
499
|
+
interface Dropdown extends Vue {
|
|
500
|
+
$props: DropdownProps;
|
|
501
|
+
$emit(event: string, ...args: any[]): void;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/** Dropdown Vue component type */
|
|
505
|
+
declare const Dropdown: VueConstructor<Dropdown>;
|
|
506
|
+
|
|
507
|
+
/** DropdownButton component props */
|
|
508
|
+
interface DropdownButtonProps {
|
|
509
|
+
size?: string;
|
|
510
|
+
shape?: string;
|
|
511
|
+
disabled?: boolean;
|
|
512
|
+
icon?: string | any[] | Record<string, any>;
|
|
513
|
+
theme?: string;
|
|
514
|
+
dark?: boolean;
|
|
515
|
+
arrow?: boolean;
|
|
516
|
+
/** default: bottom-right */
|
|
517
|
+
placement?: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/** DropdownButton component instance */
|
|
521
|
+
interface DropdownButton extends Vue {
|
|
522
|
+
$props: DropdownButtonProps;
|
|
523
|
+
$emit(event: string, ...args: any[]): void;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/** DropdownButton Vue component type */
|
|
527
|
+
declare const DropdownButton: VueConstructor<DropdownButton>;
|
|
528
|
+
|
|
482
529
|
/** Empty component props */
|
|
483
530
|
interface EmptyProps {
|
|
484
531
|
description?: string;
|
|
@@ -711,53 +758,6 @@ interface InputGroup extends Vue {
|
|
|
711
758
|
/** InputGroup Vue component type */
|
|
712
759
|
declare const InputGroup: VueConstructor<InputGroup>;
|
|
713
760
|
|
|
714
|
-
/** Dropdown component props */
|
|
715
|
-
interface DropdownProps {
|
|
716
|
-
dark?: boolean;
|
|
717
|
-
/** default: hover */
|
|
718
|
-
trigger?: string;
|
|
719
|
-
/** default: true */
|
|
720
|
-
transfer?: boolean;
|
|
721
|
-
disabled?: boolean;
|
|
722
|
-
/** default: false */
|
|
723
|
-
arrow?: boolean;
|
|
724
|
-
show?: boolean;
|
|
725
|
-
/** default: bottom-left */
|
|
726
|
-
placement?: any;
|
|
727
|
-
target?: Record<string, any>;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
/** Dropdown component instance */
|
|
731
|
-
interface Dropdown extends Vue {
|
|
732
|
-
$props: DropdownProps;
|
|
733
|
-
$emit(event: string, ...args: any[]): void;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
/** Dropdown Vue component type */
|
|
737
|
-
declare const Dropdown: VueConstructor<Dropdown>;
|
|
738
|
-
|
|
739
|
-
/** DropdownButton component props */
|
|
740
|
-
interface DropdownButtonProps {
|
|
741
|
-
size?: string;
|
|
742
|
-
shape?: string;
|
|
743
|
-
disabled?: boolean;
|
|
744
|
-
icon?: string | any[] | Record<string, any>;
|
|
745
|
-
theme?: string;
|
|
746
|
-
dark?: boolean;
|
|
747
|
-
arrow?: boolean;
|
|
748
|
-
/** default: bottom-right */
|
|
749
|
-
placement?: string;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
/** DropdownButton component instance */
|
|
753
|
-
interface DropdownButton extends Vue {
|
|
754
|
-
$props: DropdownButtonProps;
|
|
755
|
-
$emit(event: string, ...args: any[]): void;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
/** DropdownButton Vue component type */
|
|
759
|
-
declare const DropdownButton: VueConstructor<DropdownButton>;
|
|
760
|
-
|
|
761
761
|
/** InputNumber component props */
|
|
762
762
|
interface InputNumberProps {
|
|
763
763
|
value?: any[] | number | string;
|
|
@@ -794,20 +794,6 @@ interface InputNumber extends Vue {
|
|
|
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[]): void;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
/** sider Vue component type */
|
|
809
|
-
declare const sider: VueConstructor<sider>;
|
|
810
|
-
|
|
811
797
|
/** loading component props */
|
|
812
798
|
interface loadingProps {}
|
|
813
799
|
|
|
@@ -903,39 +889,19 @@ interface MenuDivider extends Vue {
|
|
|
903
889
|
/** MenuDivider Vue component type */
|
|
904
890
|
declare const MenuDivider: VueConstructor<MenuDivider>;
|
|
905
891
|
|
|
906
|
-
/**
|
|
907
|
-
interface
|
|
908
|
-
|
|
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;
|
|
892
|
+
/** sider component props */
|
|
893
|
+
interface siderProps {
|
|
894
|
+
suffixCls?: string;
|
|
929
895
|
}
|
|
930
896
|
|
|
931
|
-
/**
|
|
932
|
-
interface
|
|
933
|
-
$props:
|
|
897
|
+
/** sider component instance */
|
|
898
|
+
interface sider extends Vue {
|
|
899
|
+
$props: siderProps;
|
|
934
900
|
$emit(event: string, ...args: any[]): void;
|
|
935
901
|
}
|
|
936
902
|
|
|
937
|
-
/**
|
|
938
|
-
declare const
|
|
903
|
+
/** sider Vue component type */
|
|
904
|
+
declare const sider: VueConstructor<sider>;
|
|
939
905
|
|
|
940
906
|
/** Page component props */
|
|
941
907
|
interface PageProps {
|
|
@@ -969,6 +935,7 @@ declare const Page: VueConstructor<Page>;
|
|
|
969
935
|
/** Popconfirm component props */
|
|
970
936
|
interface PopconfirmProps {
|
|
971
937
|
dark?: boolean;
|
|
938
|
+
show?: boolean;
|
|
972
939
|
title?: string | number | Record<string, any> | any[];
|
|
973
940
|
size?: string;
|
|
974
941
|
width?: number | string;
|
|
@@ -1009,10 +976,78 @@ interface Poptip extends Vue {
|
|
|
1009
976
|
/** Poptip Vue component type */
|
|
1010
977
|
declare const Poptip: VueConstructor<Poptip>;
|
|
1011
978
|
|
|
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
|
+
/** Progress component props */
|
|
1014
|
+
interface ProgressProps {
|
|
1015
|
+
/** default: 0 */
|
|
1016
|
+
percent?: number;
|
|
1017
|
+
/** default: 6 */
|
|
1018
|
+
strokeWidth?: number;
|
|
1019
|
+
color?: string;
|
|
1020
|
+
format?: (...args: any[]) => any;
|
|
1021
|
+
width?: number;
|
|
1022
|
+
strokeHeight?: number;
|
|
1023
|
+
/** default: 75 */
|
|
1024
|
+
gapDegree?: number;
|
|
1025
|
+
strokeColor?: Record<string, any>;
|
|
1026
|
+
/** default: round */
|
|
1027
|
+
strokeLinecap?: string;
|
|
1028
|
+
/** default: default */
|
|
1029
|
+
size?: string;
|
|
1030
|
+
/** default: normal */
|
|
1031
|
+
status?: string;
|
|
1032
|
+
/** default: line */
|
|
1033
|
+
type?: string;
|
|
1034
|
+
/** default: true */
|
|
1035
|
+
showInfo?: boolean;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/** Progress component instance */
|
|
1039
|
+
interface Progress extends Vue {
|
|
1040
|
+
$props: ProgressProps;
|
|
1041
|
+
$emit(event: string, ...args: any[]): void;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/** Progress Vue component type */
|
|
1045
|
+
declare const Progress: VueConstructor<Progress>;
|
|
1046
|
+
|
|
1012
1047
|
/** Radio component props */
|
|
1013
1048
|
interface RadioProps {
|
|
1014
1049
|
/** default: false */
|
|
1015
|
-
checked?: boolean;
|
|
1050
|
+
checked?: boolean | number;
|
|
1016
1051
|
value?: string | number | boolean;
|
|
1017
1052
|
label?: string | number;
|
|
1018
1053
|
disabled?: boolean;
|
|
@@ -1056,7 +1091,7 @@ declare const RadioGroup: VueConstructor<RadioGroup>;
|
|
|
1056
1091
|
/** RadioButton component props */
|
|
1057
1092
|
interface RadioButtonProps {
|
|
1058
1093
|
/** default: false */
|
|
1059
|
-
checked?: boolean;
|
|
1094
|
+
checked?: boolean | number;
|
|
1060
1095
|
value?: string | number | boolean;
|
|
1061
1096
|
label?: string | number;
|
|
1062
1097
|
theme?: string;
|
|
@@ -1310,40 +1345,6 @@ interface Space extends Vue {
|
|
|
1310
1345
|
/** Space Vue component type */
|
|
1311
1346
|
declare const Space: VueConstructor<Space>;
|
|
1312
1347
|
|
|
1313
|
-
/** Progress component props */
|
|
1314
|
-
interface ProgressProps {
|
|
1315
|
-
/** default: 0 */
|
|
1316
|
-
percent?: number;
|
|
1317
|
-
/** default: 6 */
|
|
1318
|
-
strokeWidth?: number;
|
|
1319
|
-
color?: string;
|
|
1320
|
-
format?: (...args: any[]) => any;
|
|
1321
|
-
width?: number;
|
|
1322
|
-
strokeHeight?: number;
|
|
1323
|
-
/** default: 75 */
|
|
1324
|
-
gapDegree?: number;
|
|
1325
|
-
strokeColor?: Record<string, any>;
|
|
1326
|
-
/** default: round */
|
|
1327
|
-
strokeLinecap?: string;
|
|
1328
|
-
/** default: default */
|
|
1329
|
-
size?: string;
|
|
1330
|
-
/** default: normal */
|
|
1331
|
-
status?: string;
|
|
1332
|
-
/** default: line */
|
|
1333
|
-
type?: string;
|
|
1334
|
-
/** default: true */
|
|
1335
|
-
showInfo?: boolean;
|
|
1336
|
-
}
|
|
1337
|
-
|
|
1338
|
-
/** Progress component instance */
|
|
1339
|
-
interface Progress extends Vue {
|
|
1340
|
-
$props: ProgressProps;
|
|
1341
|
-
$emit(event: string, ...args: any[]): void;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
/** Progress Vue component type */
|
|
1345
|
-
declare const Progress: VueConstructor<Progress>;
|
|
1346
|
-
|
|
1347
1348
|
/** Spin component props */
|
|
1348
1349
|
interface SpinProps {
|
|
1349
1350
|
/** default: true */
|
|
@@ -1368,8 +1369,7 @@ declare const Spin: VueConstructor<Spin>;
|
|
|
1368
1369
|
/** Switch component props */
|
|
1369
1370
|
interface SwitchProps {
|
|
1370
1371
|
/** default: false */
|
|
1371
|
-
checked?: boolean;
|
|
1372
|
-
value?: boolean | number;
|
|
1372
|
+
checked?: boolean | number;
|
|
1373
1373
|
type?: string;
|
|
1374
1374
|
disabled?: boolean;
|
|
1375
1375
|
loading?: boolean;
|
|
@@ -1510,6 +1510,7 @@ declare const TimeLineItem: VueConstructor<TimeLineItem>;
|
|
|
1510
1510
|
|
|
1511
1511
|
/** Tooltip component props */
|
|
1512
1512
|
interface TooltipProps {
|
|
1513
|
+
show?: boolean;
|
|
1513
1514
|
dark?: boolean;
|
|
1514
1515
|
title?: string | number | Record<string, any> | any[];
|
|
1515
1516
|
color?: string;
|
|
@@ -1530,37 +1531,6 @@ interface Tooltip extends Vue {
|
|
|
1530
1531
|
/** Tooltip Vue component type */
|
|
1531
1532
|
declare const Tooltip: VueConstructor<Tooltip>;
|
|
1532
1533
|
|
|
1533
|
-
/** Tree component props */
|
|
1534
|
-
interface TreeProps {
|
|
1535
|
-
data?: any[];
|
|
1536
|
-
selectedKeys?: any[];
|
|
1537
|
-
expandedKeys?: any[];
|
|
1538
|
-
checkedKeys?: any[];
|
|
1539
|
-
directory?: boolean;
|
|
1540
|
-
expandAll?: boolean;
|
|
1541
|
-
checkable?: boolean;
|
|
1542
|
-
draggable?: boolean;
|
|
1543
|
-
showLine?: boolean;
|
|
1544
|
-
/** default: true */
|
|
1545
|
-
showIcon?: boolean;
|
|
1546
|
-
/** default: false */
|
|
1547
|
-
showExtra?: boolean;
|
|
1548
|
-
/** default: false */
|
|
1549
|
-
multiple?: boolean;
|
|
1550
|
-
checkStrictly?: boolean;
|
|
1551
|
-
selectAsCheck?: boolean;
|
|
1552
|
-
queryKey?: string;
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
/** Tree component instance */
|
|
1556
|
-
interface Tree extends Vue {
|
|
1557
|
-
$props: TreeProps;
|
|
1558
|
-
$emit(event: string, ...args: any[]): void;
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
/** Tree Vue component type */
|
|
1562
|
-
declare const Tree: VueConstructor<Tree>;
|
|
1563
|
-
|
|
1564
1534
|
/** TreeSelect component props */
|
|
1565
1535
|
interface TreeSelectProps {
|
|
1566
1536
|
placeholder?: string;
|
|
@@ -1608,6 +1578,37 @@ interface TreeSelect extends Vue {
|
|
|
1608
1578
|
/** TreeSelect Vue component type */
|
|
1609
1579
|
declare const TreeSelect: VueConstructor<TreeSelect>;
|
|
1610
1580
|
|
|
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
|
+
|
|
1611
1612
|
/** Upload component props */
|
|
1612
1613
|
interface UploadProps {
|
|
1613
1614
|
/** default: post */
|