kui-vue 5.3.1 → 5.4.1
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/README.md +25 -18
- package/README.zh-CN.md +40 -35
- package/dist/index.js +2 -2
- package/es/index.js +441 -169
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/de.js +1 -1
- package/lib/locale/el.js +1 -1
- package/lib/locale/en.js +1 -1
- package/lib/locale/fr.js +1 -1
- package/lib/locale/it.js +1 -1
- package/lib/locale/ja.js +1 -1
- package/lib/locale/ko.js +1 -1
- package/lib/locale/ru.js +1 -1
- package/lib/locale/th.js +1 -1
- package/lib/locale/uk.js +1 -1
- package/lib/locale/vi.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/package.json +9 -9
- package/style/index.css +2 -2
- package/types/cascader/index.d.ts +122 -0
- package/types/cascader/types.d.ts +63 -0
- package/types/components.d.ts +2 -0
- package/types/date-picker/index.d.ts +2 -2
- package/types/empty/index.d.ts +4 -1
- package/types/global.d.ts +2 -0
- package/types/select/select.d.ts +2 -2
- package/types/tree-select/index.d.ts +2 -2
- package/types/utils/theme.d.ts +1 -1
- package/vetur/attributes.json +133 -45
- package/vetur/tags.json +33 -11
- package/vetur/web-types.json +205 -58
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { CascaderOption } from './types.ts';
|
|
2
|
+
declare const Cascader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: import('vue').PropType<(string | number)[]>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: import('vue').PropType<CascaderOption[]>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
theme: {
|
|
12
|
+
type: import('vue').PropType<import('../components.ts').ThemeType>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
bordered: {
|
|
16
|
+
type: import('../components.ts').BooleanType;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
shape: import('vue').PropType<import('../components.ts').ShapeType>;
|
|
20
|
+
showArrow: {
|
|
21
|
+
type: import('../components.ts').BooleanType;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
placeholder: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
icon: import('vue').PropType<import('../icon').IconType[]>;
|
|
29
|
+
arrowIcon: import('vue').PropType<import('../icon').IconType[]>;
|
|
30
|
+
emptyText: StringConstructor;
|
|
31
|
+
disabled: BooleanConstructor;
|
|
32
|
+
clearable: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
size: import('vue').PropType<import('../components.ts').SizeType>;
|
|
37
|
+
expandTrigger: {
|
|
38
|
+
type: import('vue').PropType<"click" | "hover">;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
showAllLevels: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
separator: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
placement: {
|
|
50
|
+
type: import('vue').PropType<import('../components.ts').DropPlacementsType>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue" | "openChange")[], "change" | "update:modelValue" | "openChange", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
54
|
+
modelValue: {
|
|
55
|
+
type: import('vue').PropType<(string | number)[]>;
|
|
56
|
+
default: () => never[];
|
|
57
|
+
};
|
|
58
|
+
options: {
|
|
59
|
+
type: import('vue').PropType<CascaderOption[]>;
|
|
60
|
+
default: () => never[];
|
|
61
|
+
};
|
|
62
|
+
theme: {
|
|
63
|
+
type: import('vue').PropType<import('../components.ts').ThemeType>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
bordered: {
|
|
67
|
+
type: import('../components.ts').BooleanType;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
shape: import('vue').PropType<import('../components.ts').ShapeType>;
|
|
71
|
+
showArrow: {
|
|
72
|
+
type: import('../components.ts').BooleanType;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
placeholder: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
icon: import('vue').PropType<import('../icon').IconType[]>;
|
|
80
|
+
arrowIcon: import('vue').PropType<import('../icon').IconType[]>;
|
|
81
|
+
emptyText: StringConstructor;
|
|
82
|
+
disabled: BooleanConstructor;
|
|
83
|
+
clearable: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
size: import('vue').PropType<import('../components.ts').SizeType>;
|
|
88
|
+
expandTrigger: {
|
|
89
|
+
type: import('vue').PropType<"click" | "hover">;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
showAllLevels: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
separator: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
placement: {
|
|
101
|
+
type: import('vue').PropType<import('../components.ts').DropPlacementsType>;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
}>> & Readonly<{
|
|
105
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
onOpenChange?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
separator: string;
|
|
110
|
+
disabled: boolean;
|
|
111
|
+
bordered: boolean | undefined;
|
|
112
|
+
theme: import('../components.ts').ThemeType;
|
|
113
|
+
placeholder: string;
|
|
114
|
+
modelValue: (string | number)[];
|
|
115
|
+
options: CascaderOption[];
|
|
116
|
+
showArrow: boolean | undefined;
|
|
117
|
+
clearable: boolean;
|
|
118
|
+
expandTrigger: "click" | "hover";
|
|
119
|
+
showAllLevels: boolean;
|
|
120
|
+
placement: import('../components.ts').DropPlacementsType;
|
|
121
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
122
|
+
export default Cascader;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
+
import { IconType } from '../icon';
|
|
4
|
+
export interface CascaderOption {
|
|
5
|
+
value: string | number;
|
|
6
|
+
label: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
children?: CascaderOption[];
|
|
9
|
+
isLeaf?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const cascaderProps: {
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: PropType<(string | number)[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
options: {
|
|
17
|
+
type: PropType<CascaderOption[]>;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
theme: {
|
|
21
|
+
type: PropType<ThemeType>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
bordered: {
|
|
25
|
+
type: BooleanType;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
shape: PropType<ShapeType>;
|
|
29
|
+
showArrow: {
|
|
30
|
+
type: BooleanType;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
placeholder: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
icon: PropType<IconType[]>;
|
|
38
|
+
arrowIcon: PropType<IconType[]>;
|
|
39
|
+
emptyText: StringConstructor;
|
|
40
|
+
disabled: BooleanConstructor;
|
|
41
|
+
clearable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
size: PropType<SizeType>;
|
|
46
|
+
expandTrigger: {
|
|
47
|
+
type: PropType<"click" | "hover">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
showAllLevels: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
separator: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
placement: {
|
|
59
|
+
type: PropType<DropPlacementsType>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
|
package/types/components.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export { default as Badge } from './badge';
|
|
|
14
14
|
export type { BadgeProps, BadgeStatusType } from './badge';
|
|
15
15
|
export { Button, ButtonGroup } from './button';
|
|
16
16
|
export type { ButtonGroupProps, ButtonProps } from './button';
|
|
17
|
+
export { default as Cascader } from './cascader';
|
|
18
|
+
export type { CascaderOption, CascaderProps } from './cascader/types';
|
|
17
19
|
export { default as Card } from './card';
|
|
18
20
|
export type { CardProps } from './card';
|
|
19
21
|
export { Carousel, CarouselItem } from './carousel';
|
|
@@ -261,9 +261,9 @@ declare const DatePicker: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
261
261
|
theme: ThemeType;
|
|
262
262
|
placeholder: string | string[];
|
|
263
263
|
modelValue: string | number | Record<string, any> | Date | unknown[];
|
|
264
|
-
valueType: DatePickerValueType;
|
|
265
|
-
placement: DropPlacementsType;
|
|
266
264
|
clearable: boolean | undefined;
|
|
265
|
+
placement: DropPlacementsType;
|
|
266
|
+
valueType: DatePickerValueType;
|
|
267
267
|
startDate: string | number | Record<string, any> | Date;
|
|
268
268
|
endDate: string | number | Record<string, any> | Date;
|
|
269
269
|
editable: boolean | undefined;
|
package/types/empty/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
|
2
2
|
declare const emptyProps: {
|
|
3
|
-
description:
|
|
3
|
+
description: {
|
|
4
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
4
7
|
image: StringConstructor;
|
|
5
8
|
imageStyle: PropType<CSSProperties>;
|
|
6
9
|
};
|
package/types/global.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ KBadge: typeof import('kui-vue')['Badge']
|
|
|
27
27
|
KButton: typeof import('kui-vue')['Button']
|
|
28
28
|
ButtonGroup: typeof import('kui-vue')['ButtonGroup']
|
|
29
29
|
KButtonGroup: typeof import('kui-vue')['ButtonGroup']
|
|
30
|
+
Cascader: typeof import('kui-vue')['Cascader']
|
|
31
|
+
KCascader: typeof import('kui-vue')['Cascader']
|
|
30
32
|
Card: typeof import('kui-vue')['Card']
|
|
31
33
|
KCard: typeof import('kui-vue')['Card']
|
|
32
34
|
Carousel: typeof import('kui-vue')['Carousel']
|
package/types/select/select.d.ts
CHANGED
|
@@ -140,9 +140,9 @@ declare const Select: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
140
140
|
}>> & Readonly<{}>, {
|
|
141
141
|
bordered: boolean | undefined;
|
|
142
142
|
theme: ThemeType;
|
|
143
|
-
placement: DropPlacementsType;
|
|
144
|
-
clearable: boolean | undefined;
|
|
145
143
|
showArrow: boolean | undefined;
|
|
144
|
+
clearable: boolean | undefined;
|
|
145
|
+
placement: DropPlacementsType;
|
|
146
146
|
}, {}, {}, {
|
|
147
147
|
transfer: import('vue').ObjectDirective<any, any, string, any>;
|
|
148
148
|
resize: import('vue').ObjectDirective<any, any, string, any>;
|
|
@@ -213,9 +213,9 @@ declare const TreeSelect: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
213
213
|
}>> & Readonly<{}>, {
|
|
214
214
|
bordered: boolean | undefined;
|
|
215
215
|
theme: ThemeType;
|
|
216
|
-
placement: DropPlacementsType;
|
|
217
|
-
clearable: boolean | undefined;
|
|
218
216
|
showArrow: boolean | undefined;
|
|
217
|
+
clearable: boolean | undefined;
|
|
218
|
+
placement: DropPlacementsType;
|
|
219
219
|
treeShowIcon: boolean | undefined;
|
|
220
220
|
}, {}, {}, {
|
|
221
221
|
transfer: import('vue').ObjectDirective<any, any, string, any>;
|
package/types/utils/theme.d.ts
CHANGED
package/vetur/attributes.json
CHANGED
|
@@ -1031,6 +1031,94 @@
|
|
|
1031
1031
|
"description": "按钮尺寸,",
|
|
1032
1032
|
"type": "SizeType | undefined"
|
|
1033
1033
|
},
|
|
1034
|
+
"cascader/bordered": {
|
|
1035
|
+
"description": "是否显示边框",
|
|
1036
|
+
"type": "boolean",
|
|
1037
|
+
"options": [
|
|
1038
|
+
"true",
|
|
1039
|
+
"false"
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
1042
|
+
"cascader/separator": {
|
|
1043
|
+
"description": "当 `showAllLevels` 开启时,各层级标签之间的多级分隔符。",
|
|
1044
|
+
"type": "string"
|
|
1045
|
+
},
|
|
1046
|
+
"cascader/disabled": {
|
|
1047
|
+
"description": "是否禁用当前选项。开启后该行文本变灰且不可点击,同时其下方的所有子层级都将被同步锁定。",
|
|
1048
|
+
"type": "boolean",
|
|
1049
|
+
"options": [
|
|
1050
|
+
"true",
|
|
1051
|
+
"false"
|
|
1052
|
+
]
|
|
1053
|
+
},
|
|
1054
|
+
"cascader/theme": {
|
|
1055
|
+
"description": "主题",
|
|
1056
|
+
"type": "ThemeType"
|
|
1057
|
+
},
|
|
1058
|
+
"cascader/placeholder": {
|
|
1059
|
+
"description": "当没有任何选择路径时的兜底提示占位文案。",
|
|
1060
|
+
"type": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"cascader/modelValue": {
|
|
1063
|
+
"description": "选中项的路径值数组(如 `['zhejiang', 'hangzhou', 'xihu']`)。",
|
|
1064
|
+
"type": "(string | number)[]"
|
|
1065
|
+
},
|
|
1066
|
+
"cascader/options": {
|
|
1067
|
+
"description": "可选择的级联数据源树状结构。",
|
|
1068
|
+
"type": "CascaderOption[]"
|
|
1069
|
+
},
|
|
1070
|
+
"cascader/showArrow": {
|
|
1071
|
+
"description": "是否显示下拉按钮",
|
|
1072
|
+
"type": "boolean",
|
|
1073
|
+
"options": [
|
|
1074
|
+
"true",
|
|
1075
|
+
"false"
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
"cascader/clearable": {
|
|
1079
|
+
"description": "是否支持一键清空所选路径。",
|
|
1080
|
+
"type": "boolean",
|
|
1081
|
+
"options": [
|
|
1082
|
+
"true",
|
|
1083
|
+
"false"
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
"cascader/expandTrigger": {
|
|
1087
|
+
"description": "下一级菜单的展开交互触发方式。可选值:`'click'` (点击) 或 `'hover'` (鼠标悬浮即展开)。",
|
|
1088
|
+
"type": "\"click\" | \"hover\""
|
|
1089
|
+
},
|
|
1090
|
+
"cascader/showAllLevels": {
|
|
1091
|
+
"description": "是否展示完整选中的祖先路径。若为 `false` 则仅在输入框内显示最终的末端叶子节点。",
|
|
1092
|
+
"type": "boolean",
|
|
1093
|
+
"options": [
|
|
1094
|
+
"true",
|
|
1095
|
+
"false"
|
|
1096
|
+
]
|
|
1097
|
+
},
|
|
1098
|
+
"cascader/placement": {
|
|
1099
|
+
"description": "下拉展示的方位",
|
|
1100
|
+
"type": "DropPlacementsType"
|
|
1101
|
+
},
|
|
1102
|
+
"cascader/icon": {
|
|
1103
|
+
"description": "自定义图标",
|
|
1104
|
+
"type": "IconType[] | undefined"
|
|
1105
|
+
},
|
|
1106
|
+
"cascader/shape": {
|
|
1107
|
+
"description": "shape='circle' 时呈现圆角",
|
|
1108
|
+
"type": "ShapeType | undefined"
|
|
1109
|
+
},
|
|
1110
|
+
"cascader/size": {
|
|
1111
|
+
"description": "组件的大小尺寸规格。可选值:`'large'` \\",
|
|
1112
|
+
"type": "SizeType | undefined"
|
|
1113
|
+
},
|
|
1114
|
+
"cascader/arrowIcon": {
|
|
1115
|
+
"description": "自定义箭头图标",
|
|
1116
|
+
"type": "IconType[] | undefined"
|
|
1117
|
+
},
|
|
1118
|
+
"cascader/emptyText": {
|
|
1119
|
+
"description": "没有数据时展示的提示",
|
|
1120
|
+
"type": "string | undefined"
|
|
1121
|
+
},
|
|
1034
1122
|
"card/bordered": {
|
|
1035
1123
|
"description": "卡片是否显示边框",
|
|
1036
1124
|
"type": "boolean",
|
|
@@ -1225,7 +1313,7 @@
|
|
|
1225
1313
|
},
|
|
1226
1314
|
"color-picker/trigger": {
|
|
1227
1315
|
"description": "下拉触发形式",
|
|
1228
|
-
"type": "\"
|
|
1316
|
+
"type": "\"click\" | \"hover\""
|
|
1229
1317
|
},
|
|
1230
1318
|
"color-picker/mode": {
|
|
1231
1319
|
"description": "颜色展示类型,提供 3 种模式(`hex` 、 `rgb` 、`hsl`)",
|
|
@@ -1303,14 +1391,22 @@
|
|
|
1303
1391
|
"description": "默认时间值",
|
|
1304
1392
|
"type": "string | number | Date | unknown[] | Record<string, any>"
|
|
1305
1393
|
},
|
|
1306
|
-
"date-picker/
|
|
1307
|
-
"description": "
|
|
1308
|
-
"type": "
|
|
1394
|
+
"date-picker/clearable": {
|
|
1395
|
+
"description": "是否显示清除图标",
|
|
1396
|
+
"type": "boolean",
|
|
1397
|
+
"options": [
|
|
1398
|
+
"true",
|
|
1399
|
+
"false"
|
|
1400
|
+
]
|
|
1309
1401
|
},
|
|
1310
1402
|
"date-picker/placement": {
|
|
1311
1403
|
"description": "下拉展示的方位",
|
|
1312
1404
|
"type": "DropPlacementsType"
|
|
1313
1405
|
},
|
|
1406
|
+
"date-picker/valueType": {
|
|
1407
|
+
"description": "默认输出的值的类型",
|
|
1408
|
+
"type": "DatePickerValueType"
|
|
1409
|
+
},
|
|
1314
1410
|
"date-picker/mode": {
|
|
1315
1411
|
"description": "使用 `mode` 属性,可以自定义日期显示类型,提供 `year`,`month`,`date`,`time`,`dateTime`,`dateRange`,`dateTimeRange`",
|
|
1316
1412
|
"type": "DatePickerModeType"
|
|
@@ -1323,14 +1419,6 @@
|
|
|
1323
1419
|
"description": "结束时间 (取值)",
|
|
1324
1420
|
"type": "string | number | Date | Record<string, any>"
|
|
1325
1421
|
},
|
|
1326
|
-
"date-picker/clearable": {
|
|
1327
|
-
"description": "是否显示清除图标",
|
|
1328
|
-
"type": "boolean",
|
|
1329
|
-
"options": [
|
|
1330
|
-
"true",
|
|
1331
|
-
"false"
|
|
1332
|
-
]
|
|
1333
|
-
},
|
|
1334
1422
|
"date-picker/editable": {
|
|
1335
1423
|
"description": "是否可编辑",
|
|
1336
1424
|
"type": "boolean",
|
|
@@ -6293,7 +6381,7 @@
|
|
|
6293
6381
|
},
|
|
6294
6382
|
"poptip/trigger": {
|
|
6295
6383
|
"description": "触发方式,可选值为 `hover`(悬停)`click`(点击)",
|
|
6296
|
-
"type": "\"
|
|
6384
|
+
"type": "\"click\" | \"hover\" | \"focus\""
|
|
6297
6385
|
},
|
|
6298
6386
|
"poptip/show": {
|
|
6299
6387
|
"description": "默认是否展示",
|
|
@@ -7495,26 +7583,26 @@
|
|
|
7495
7583
|
"description": "主题",
|
|
7496
7584
|
"type": "ThemeType"
|
|
7497
7585
|
},
|
|
7498
|
-
"select/
|
|
7499
|
-
"description": "
|
|
7500
|
-
"type": "DropPlacementsType"
|
|
7501
|
-
},
|
|
7502
|
-
"select/clearable": {
|
|
7503
|
-
"description": "是否可以清空选项",
|
|
7586
|
+
"select/showArrow": {
|
|
7587
|
+
"description": "是否显示下拉按钮",
|
|
7504
7588
|
"type": "boolean",
|
|
7505
7589
|
"options": [
|
|
7506
7590
|
"true",
|
|
7507
7591
|
"false"
|
|
7508
7592
|
]
|
|
7509
7593
|
},
|
|
7510
|
-
"select/
|
|
7511
|
-
"description": "
|
|
7594
|
+
"select/clearable": {
|
|
7595
|
+
"description": "是否可以清空选项",
|
|
7512
7596
|
"type": "boolean",
|
|
7513
7597
|
"options": [
|
|
7514
7598
|
"true",
|
|
7515
7599
|
"false"
|
|
7516
7600
|
]
|
|
7517
7601
|
},
|
|
7602
|
+
"select/placement": {
|
|
7603
|
+
"description": "Props for placement",
|
|
7604
|
+
"type": "DropPlacementsType"
|
|
7605
|
+
},
|
|
7518
7606
|
"select/onChange": {
|
|
7519
7607
|
"description": "在选项状态发生改变时触发,,返回选择的值value",
|
|
7520
7608
|
"type": "((value: string | number | any[]) => void) | undefined"
|
|
@@ -7571,6 +7659,14 @@
|
|
|
7571
7659
|
"description": "options 数据,如果设置则不需要手动构造 Option 节点",
|
|
7572
7660
|
"type": "SelectOption[] | undefined"
|
|
7573
7661
|
},
|
|
7662
|
+
"select/arrowIcon": {
|
|
7663
|
+
"description": "自定义箭头图标",
|
|
7664
|
+
"type": "IconType[] | undefined"
|
|
7665
|
+
},
|
|
7666
|
+
"select/emptyText": {
|
|
7667
|
+
"description": "没有数据时展示的提示",
|
|
7668
|
+
"type": "string | undefined"
|
|
7669
|
+
},
|
|
7574
7670
|
"select/onOpenChange": {
|
|
7575
7671
|
"description": "下拉框展开或收起时触发",
|
|
7576
7672
|
"type": "((opened: boolean) => void) | undefined",
|
|
@@ -7607,18 +7703,10 @@
|
|
|
7607
7703
|
"false"
|
|
7608
7704
|
]
|
|
7609
7705
|
},
|
|
7610
|
-
"select/emptyText": {
|
|
7611
|
-
"description": "没有数据时展示的提示",
|
|
7612
|
-
"type": "string | undefined"
|
|
7613
|
-
},
|
|
7614
7706
|
"select/loadingText": {
|
|
7615
7707
|
"description": "Props for loadingText",
|
|
7616
7708
|
"type": "string | undefined"
|
|
7617
7709
|
},
|
|
7618
|
-
"select/arrowIcon": {
|
|
7619
|
-
"description": "Props for arrowIcon",
|
|
7620
|
-
"type": "IconType[] | undefined"
|
|
7621
|
-
},
|
|
7622
7710
|
"skeleton/title": {
|
|
7623
7711
|
"description": "标题点位单位",
|
|
7624
7712
|
"type": "number"
|
|
@@ -8263,26 +8351,26 @@
|
|
|
8263
8351
|
"description": "主题",
|
|
8264
8352
|
"type": "ThemeType"
|
|
8265
8353
|
},
|
|
8266
|
-
"tree-select/
|
|
8267
|
-
"description": "
|
|
8268
|
-
"type": "DropPlacementsType"
|
|
8269
|
-
},
|
|
8270
|
-
"tree-select/clearable": {
|
|
8271
|
-
"description": "是否可以清空选项",
|
|
8354
|
+
"tree-select/showArrow": {
|
|
8355
|
+
"description": "是否显示下拉按钮",
|
|
8272
8356
|
"type": "boolean",
|
|
8273
8357
|
"options": [
|
|
8274
8358
|
"true",
|
|
8275
8359
|
"false"
|
|
8276
8360
|
]
|
|
8277
8361
|
},
|
|
8278
|
-
"tree-select/
|
|
8279
|
-
"description": "
|
|
8362
|
+
"tree-select/clearable": {
|
|
8363
|
+
"description": "是否可以清空选项",
|
|
8280
8364
|
"type": "boolean",
|
|
8281
8365
|
"options": [
|
|
8282
8366
|
"true",
|
|
8283
8367
|
"false"
|
|
8284
8368
|
]
|
|
8285
8369
|
},
|
|
8370
|
+
"tree-select/placement": {
|
|
8371
|
+
"description": "Props for placement",
|
|
8372
|
+
"type": "DropPlacementsType"
|
|
8373
|
+
},
|
|
8286
8374
|
"tree-select/treeShowIcon": {
|
|
8287
8375
|
"description": "Props for treeShowIcon",
|
|
8288
8376
|
"type": "boolean",
|
|
@@ -8343,6 +8431,14 @@
|
|
|
8343
8431
|
"description": "Props for options",
|
|
8344
8432
|
"type": "unknown[] | undefined"
|
|
8345
8433
|
},
|
|
8434
|
+
"tree-select/arrowIcon": {
|
|
8435
|
+
"description": "Props for arrowIcon",
|
|
8436
|
+
"type": "IconType[] | undefined"
|
|
8437
|
+
},
|
|
8438
|
+
"tree-select/emptyText": {
|
|
8439
|
+
"description": "没有数据时展示的提示",
|
|
8440
|
+
"type": "string | undefined"
|
|
8441
|
+
},
|
|
8346
8442
|
"tree-select/onOpenChange": {
|
|
8347
8443
|
"description": "下拉框展开或收起时触发",
|
|
8348
8444
|
"type": "((open: boolean) => void) | undefined",
|
|
@@ -8379,14 +8475,6 @@
|
|
|
8379
8475
|
"false"
|
|
8380
8476
|
]
|
|
8381
8477
|
},
|
|
8382
|
-
"tree-select/emptyText": {
|
|
8383
|
-
"description": "没有数据时展示的提示",
|
|
8384
|
-
"type": "string | undefined"
|
|
8385
|
-
},
|
|
8386
|
-
"tree-select/arrowIcon": {
|
|
8387
|
-
"description": "Props for arrowIcon",
|
|
8388
|
-
"type": "IconType[] | undefined"
|
|
8389
|
-
},
|
|
8390
8478
|
"tree-select/treeData": {
|
|
8391
8479
|
"description": "可嵌套的节点属性的数组,生成 `tree` 的数据",
|
|
8392
8480
|
"type": "TreeNode[] | undefined"
|
package/vetur/tags.json
CHANGED
|
@@ -308,6 +308,28 @@
|
|
|
308
308
|
"size"
|
|
309
309
|
]
|
|
310
310
|
},
|
|
311
|
+
"cascader": {
|
|
312
|
+
"description": "Kui Vue component: Cascader",
|
|
313
|
+
"attributes": [
|
|
314
|
+
"bordered",
|
|
315
|
+
"separator",
|
|
316
|
+
"disabled",
|
|
317
|
+
"theme",
|
|
318
|
+
"placeholder",
|
|
319
|
+
"modelValue",
|
|
320
|
+
"options",
|
|
321
|
+
"showArrow",
|
|
322
|
+
"clearable",
|
|
323
|
+
"expandTrigger",
|
|
324
|
+
"showAllLevels",
|
|
325
|
+
"placement",
|
|
326
|
+
"icon",
|
|
327
|
+
"shape",
|
|
328
|
+
"size",
|
|
329
|
+
"arrowIcon",
|
|
330
|
+
"emptyText"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
311
333
|
"card": {
|
|
312
334
|
"description": "Kui Vue component: Card",
|
|
313
335
|
"attributes": [
|
|
@@ -399,12 +421,12 @@
|
|
|
399
421
|
"theme",
|
|
400
422
|
"placeholder",
|
|
401
423
|
"modelValue",
|
|
402
|
-
"
|
|
424
|
+
"clearable",
|
|
403
425
|
"placement",
|
|
426
|
+
"valueType",
|
|
404
427
|
"mode",
|
|
405
428
|
"startDate",
|
|
406
429
|
"endDate",
|
|
407
|
-
"clearable",
|
|
408
430
|
"editable",
|
|
409
431
|
"format",
|
|
410
432
|
"disabledDate",
|
|
@@ -2055,9 +2077,9 @@
|
|
|
2055
2077
|
"attributes": [
|
|
2056
2078
|
"bordered",
|
|
2057
2079
|
"theme",
|
|
2058
|
-
"placement",
|
|
2059
|
-
"clearable",
|
|
2060
2080
|
"showArrow",
|
|
2081
|
+
"clearable",
|
|
2082
|
+
"placement",
|
|
2061
2083
|
"onChange",
|
|
2062
2084
|
"icon",
|
|
2063
2085
|
"shape",
|
|
@@ -2069,15 +2091,15 @@
|
|
|
2069
2091
|
"placeholder",
|
|
2070
2092
|
"modelValue",
|
|
2071
2093
|
"options",
|
|
2094
|
+
"arrowIcon",
|
|
2095
|
+
"emptyText",
|
|
2072
2096
|
"onOpenChange",
|
|
2073
2097
|
"width",
|
|
2074
2098
|
"onSearch",
|
|
2075
2099
|
"multiple",
|
|
2076
2100
|
"maxTagCount",
|
|
2077
2101
|
"filterable",
|
|
2078
|
-
"
|
|
2079
|
-
"loadingText",
|
|
2080
|
-
"arrowIcon"
|
|
2102
|
+
"loadingText"
|
|
2081
2103
|
]
|
|
2082
2104
|
},
|
|
2083
2105
|
"config-provider": {
|
|
@@ -2297,9 +2319,9 @@
|
|
|
2297
2319
|
"attributes": [
|
|
2298
2320
|
"bordered",
|
|
2299
2321
|
"theme",
|
|
2300
|
-
"placement",
|
|
2301
|
-
"clearable",
|
|
2302
2322
|
"showArrow",
|
|
2323
|
+
"clearable",
|
|
2324
|
+
"placement",
|
|
2303
2325
|
"treeShowIcon",
|
|
2304
2326
|
"onChange",
|
|
2305
2327
|
"icon",
|
|
@@ -2311,14 +2333,14 @@
|
|
|
2311
2333
|
"placeholder",
|
|
2312
2334
|
"modelValue",
|
|
2313
2335
|
"options",
|
|
2336
|
+
"arrowIcon",
|
|
2337
|
+
"emptyText",
|
|
2314
2338
|
"onOpenChange",
|
|
2315
2339
|
"width",
|
|
2316
2340
|
"onSearch",
|
|
2317
2341
|
"multiple",
|
|
2318
2342
|
"maxTagCount",
|
|
2319
2343
|
"filterable",
|
|
2320
|
-
"emptyText",
|
|
2321
|
-
"arrowIcon",
|
|
2322
2344
|
"treeData",
|
|
2323
2345
|
"treeCheckable",
|
|
2324
2346
|
"treeShowLine",
|