bkui-vue 2.0.1-beta.67 → 2.0.1-beta.68
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/dist/index.cjs.js +3 -3
- package/dist/index.esm.js +1528 -1506
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/index.js +1 -1
- package/lib/search-select/index.d.ts +42 -0
- package/lib/search-select/index.js +33 -2
- package/lib/search-select/input.d.ts +9 -0
- package/lib/search-select/menu.d.ts +12 -0
- package/lib/search-select/search-select.css +0 -1
- package/lib/search-select/search-select.d.ts +14 -0
- package/lib/search-select/search-select.less +1 -1
- package/lib/search-select/search-select.variable.css +0 -1
- package/lib/search-select/selected.d.ts +23 -0
- package/lib/select/index.js +1 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -55,6 +55,10 @@ declare const BkSearchSelect: {
|
|
55
55
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
56
56
|
default: import("./utils").SearchInputMode;
|
57
57
|
};
|
58
|
+
maxHeight: {
|
59
|
+
type: NumberConstructor;
|
60
|
+
default: () => number;
|
61
|
+
};
|
58
62
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
59
63
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
60
64
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -138,6 +142,10 @@ declare const BkSearchSelect: {
|
|
138
142
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
139
143
|
default: import("./utils").SearchInputMode;
|
140
144
|
};
|
145
|
+
maxHeight: {
|
146
|
+
type: NumberConstructor;
|
147
|
+
default: () => number;
|
148
|
+
};
|
141
149
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
142
150
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
143
151
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -147,6 +155,7 @@ declare const BkSearchSelect: {
|
|
147
155
|
onAdd?: (...args: any[]) => any;
|
148
156
|
onSelectKey?: (...args: any[]) => any;
|
149
157
|
}, {
|
158
|
+
maxHeight: number;
|
150
159
|
mode: import("./utils").SearchInputMode;
|
151
160
|
conditions: import("./utils").ICommonItem[];
|
152
161
|
showInputBefore: boolean;
|
@@ -178,6 +187,10 @@ declare const BkSearchSelect: {
|
|
178
187
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
179
188
|
default: import("./utils").SearchInputMode;
|
180
189
|
};
|
190
|
+
maxHeight: {
|
191
|
+
type: NumberConstructor;
|
192
|
+
default: () => number;
|
193
|
+
};
|
181
194
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
182
195
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
183
196
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -244,6 +257,7 @@ declare const BkSearchSelect: {
|
|
244
257
|
logical: string;
|
245
258
|
}>;
|
246
259
|
}, {}, {}, {}, {
|
260
|
+
maxHeight: number;
|
247
261
|
mode: import("./utils").SearchInputMode;
|
248
262
|
conditions: import("./utils").ICommonItem[];
|
249
263
|
showInputBefore: boolean;
|
@@ -489,6 +503,10 @@ declare const BkSearchSelect: {
|
|
489
503
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
490
504
|
default: import("./utils").SearchInputMode;
|
491
505
|
};
|
506
|
+
maxHeight: {
|
507
|
+
type: NumberConstructor;
|
508
|
+
default: () => number;
|
509
|
+
};
|
492
510
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
493
511
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
494
512
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -572,6 +590,10 @@ declare const BkSearchSelect: {
|
|
572
590
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
573
591
|
default: import("./utils").SearchInputMode;
|
574
592
|
};
|
593
|
+
maxHeight: {
|
594
|
+
type: NumberConstructor;
|
595
|
+
default: () => number;
|
596
|
+
};
|
575
597
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
576
598
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
577
599
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -581,6 +603,7 @@ declare const BkSearchSelect: {
|
|
581
603
|
onAdd?: (...args: any[]) => any;
|
582
604
|
onSelectKey?: (...args: any[]) => any;
|
583
605
|
}, {
|
606
|
+
maxHeight: number;
|
584
607
|
mode: import("./utils").SearchInputMode;
|
585
608
|
conditions: import("./utils").ICommonItem[];
|
586
609
|
showInputBefore: boolean;
|
@@ -612,6 +635,10 @@ declare const BkSearchSelect: {
|
|
612
635
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
613
636
|
default: import("./utils").SearchInputMode;
|
614
637
|
};
|
638
|
+
maxHeight: {
|
639
|
+
type: NumberConstructor;
|
640
|
+
default: () => number;
|
641
|
+
};
|
615
642
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
616
643
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
617
644
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -678,6 +705,7 @@ declare const BkSearchSelect: {
|
|
678
705
|
logical: string;
|
679
706
|
}>;
|
680
707
|
}, {}, {}, {}, {
|
708
|
+
maxHeight: number;
|
681
709
|
mode: import("./utils").SearchInputMode;
|
682
710
|
conditions: import("./utils").ICommonItem[];
|
683
711
|
showInputBefore: boolean;
|
@@ -878,6 +906,10 @@ declare const BkSearchSelect: {
|
|
878
906
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
879
907
|
default: import("./utils").SearchInputMode;
|
880
908
|
};
|
909
|
+
maxHeight: {
|
910
|
+
type: NumberConstructor;
|
911
|
+
default: () => number;
|
912
|
+
};
|
881
913
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
882
914
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
883
915
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -961,6 +993,10 @@ declare const BkSearchSelect: {
|
|
961
993
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
962
994
|
default: import("./utils").SearchInputMode;
|
963
995
|
};
|
996
|
+
maxHeight: {
|
997
|
+
type: NumberConstructor;
|
998
|
+
default: () => number;
|
999
|
+
};
|
964
1000
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
965
1001
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
966
1002
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -970,6 +1006,7 @@ declare const BkSearchSelect: {
|
|
970
1006
|
onAdd?: (...args: any[]) => any;
|
971
1007
|
onSelectKey?: (...args: any[]) => any;
|
972
1008
|
}, {
|
1009
|
+
maxHeight: number;
|
973
1010
|
mode: import("./utils").SearchInputMode;
|
974
1011
|
conditions: import("./utils").ICommonItem[];
|
975
1012
|
showInputBefore: boolean;
|
@@ -1001,6 +1038,10 @@ declare const BkSearchSelect: {
|
|
1001
1038
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
1002
1039
|
default: import("./utils").SearchInputMode;
|
1003
1040
|
};
|
1041
|
+
maxHeight: {
|
1042
|
+
type: NumberConstructor;
|
1043
|
+
default: () => number;
|
1044
|
+
};
|
1004
1045
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
1005
1046
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
1006
1047
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -1067,6 +1108,7 @@ declare const BkSearchSelect: {
|
|
1067
1108
|
logical: string;
|
1068
1109
|
}>;
|
1069
1110
|
}, {}, {}, {}, {
|
1111
|
+
maxHeight: number;
|
1070
1112
|
mode: import("./utils").SearchInputMode;
|
1071
1113
|
conditions: import("./utils").ICommonItem[];
|
1072
1114
|
showInputBefore: boolean;
|
@@ -1308,6 +1308,12 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
1308
1308
|
logical: {
|
1309
1309
|
type: String,
|
1310
1310
|
"default": SearchLogical.OR
|
1311
|
+
},
|
1312
|
+
maxHeight: {
|
1313
|
+
type: Number,
|
1314
|
+
"default": function _default() {
|
1315
|
+
return 392;
|
1316
|
+
}
|
1311
1317
|
}
|
1312
1318
|
},
|
1313
1319
|
emits: ['selectItem', 'selectCondition', 'footerClick', 'update:logical'],
|
@@ -1329,6 +1335,11 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
1329
1335
|
}
|
1330
1336
|
return props.footerBtns;
|
1331
1337
|
});
|
1338
|
+
var resolveContentStyles = (0,external_vue_namespaceObject.computed)(function () {
|
1339
|
+
return {
|
1340
|
+
maxHeight: "".concat(props.maxHeight, "px")
|
1341
|
+
};
|
1342
|
+
});
|
1332
1343
|
// events
|
1333
1344
|
function handleClick(item) {
|
1334
1345
|
emit('selectItem', item);
|
@@ -1398,6 +1409,7 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
1398
1409
|
getSearchNode: getSearchNode,
|
1399
1410
|
localFooterBtns: localFooterBtns,
|
1400
1411
|
resolveClassName: resolveClassName,
|
1412
|
+
resolveContentStyles: resolveContentStyles,
|
1401
1413
|
t: t
|
1402
1414
|
};
|
1403
1415
|
},
|
@@ -1452,6 +1464,7 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
1452
1464
|
})])]);
|
1453
1465
|
};
|
1454
1466
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1467
|
+
"style": this.resolveContentStyles,
|
1455
1468
|
"class": this.resolveClassName('search-select-menu')
|
1456
1469
|
}, [!!((_this$conditions = this.conditions) !== null && _this$conditions !== void 0 && _this$conditions.length) && (0,external_vue_namespaceObject.createVNode)("ul", {
|
1457
1470
|
"class": "menu-header"
|
@@ -1532,6 +1545,12 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1532
1545
|
type: String,
|
1533
1546
|
"default": SearchInputMode.DEFAULT
|
1534
1547
|
},
|
1548
|
+
maxHeight: {
|
1549
|
+
type: Number,
|
1550
|
+
"default": function _default() {
|
1551
|
+
return 392;
|
1552
|
+
}
|
1553
|
+
},
|
1535
1554
|
getMenuList: Function,
|
1536
1555
|
validateValues: Function,
|
1537
1556
|
valueBehavior: String
|
@@ -2479,6 +2498,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
2479
2498
|
"keyword": _this.keyword,
|
2480
2499
|
"list": _this.menuList,
|
2481
2500
|
"logical": (_this$usingItem4 = _this.usingItem) === null || _this$usingItem4 === void 0 ? void 0 : _this$usingItem4.logical,
|
2501
|
+
"maxHeight": _this.maxHeight,
|
2482
2502
|
"multiple": !!multiple,
|
2483
2503
|
"selected": (values === null || values === void 0 ? void 0 : values.map(function (item) {
|
2484
2504
|
return item.id;
|
@@ -2552,6 +2572,12 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
2552
2572
|
type: Number,
|
2553
2573
|
"default": -1
|
2554
2574
|
},
|
2575
|
+
maxHeight: {
|
2576
|
+
type: Number,
|
2577
|
+
"default": function _default() {
|
2578
|
+
return 392;
|
2579
|
+
}
|
2580
|
+
},
|
2555
2581
|
conditions: {
|
2556
2582
|
type: Array,
|
2557
2583
|
"default": function _default() {
|
@@ -2633,6 +2659,7 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
2633
2659
|
"data": _this.data,
|
2634
2660
|
"defaultUsingItem": _this.copySelectedItem(item),
|
2635
2661
|
"getMenuList": _this.getMenuList,
|
2662
|
+
"maxHeight": _this.maxHeight,
|
2636
2663
|
"mode": SearchInputMode.EDIT,
|
2637
2664
|
"showCondition": false,
|
2638
2665
|
"validateValues": _this.validateValues,
|
@@ -2705,6 +2732,7 @@ function search_select_objectSpread(e) { for (var r = 1; r < arguments.length; r
|
|
2705
2732
|
var INPUT_PADDING_WIDTH = 40;
|
2706
2733
|
var SELECTED_MARGIN_RIGHT = 6;
|
2707
2734
|
var INPUT_MIN_HEIGHT = 26;
|
2735
|
+
var MENU_ITEM_MIN_HEIGHT = 32;
|
2708
2736
|
var SearchSelectProps = {
|
2709
2737
|
data: {
|
2710
2738
|
type: Array,
|
@@ -2720,7 +2748,8 @@ var SearchSelectProps = {
|
|
2720
2748
|
},
|
2721
2749
|
maxHeight: {
|
2722
2750
|
type: Number,
|
2723
|
-
|
2751
|
+
// 默认展示12条,加上列表8px的padding
|
2752
|
+
"default": MENU_ITEM_MIN_HEIGHT * 12 + 8
|
2724
2753
|
},
|
2725
2754
|
conditions: {
|
2726
2755
|
type: Array,
|
@@ -3017,13 +3046,14 @@ var SearchSelectProps = {
|
|
3017
3046
|
"class": "search-prefix"
|
3018
3047
|
}, [(_this$$slots$prepend = (_this$$slots2 = this.$slots).prepend) === null || _this$$slots$prepend === void 0 ? void 0 : _this$$slots$prepend.call(_this$$slots2)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
3019
3048
|
"style": {
|
3020
|
-
|
3049
|
+
'max-height': "".concat(maxHeight, "px")
|
3021
3050
|
},
|
3022
3051
|
"class": "search-container"
|
3023
3052
|
}, [(0,external_vue_namespaceObject.createVNode)(selected, {
|
3024
3053
|
"conditions": this.localConditions,
|
3025
3054
|
"data": this.copyData,
|
3026
3055
|
"getMenuList": this.getMenuList,
|
3056
|
+
"maxHeight": this.maxHeight,
|
3027
3057
|
"overflowIndex": this.overflowIndex,
|
3028
3058
|
"selectedList": this.selectedList,
|
3029
3059
|
"validateValues": this.validateValues,
|
@@ -3038,6 +3068,7 @@ var SearchSelectProps = {
|
|
3038
3068
|
"conditions": this.localConditions,
|
3039
3069
|
"data": this.copyData,
|
3040
3070
|
"getMenuList": this.getMenuList,
|
3071
|
+
"maxHeight": this.maxHeight,
|
3041
3072
|
"placeholder": this.placeholder || this.t.pleaseSelect,
|
3042
3073
|
"showCondition": showCondition,
|
3043
3074
|
"showInputBefore": !this.selectedList.length,
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
18
18
|
type: PropType<SearchInputMode>;
|
19
19
|
default: SearchInputMode;
|
20
20
|
};
|
21
|
+
maxHeight: {
|
22
|
+
type: NumberConstructor;
|
23
|
+
default: () => number;
|
24
|
+
};
|
21
25
|
getMenuList: PropType<GetMenuListFunc>;
|
22
26
|
validateValues: PropType<ValidateValuesFunc>;
|
23
27
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -96,6 +100,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
96
100
|
type: PropType<SearchInputMode>;
|
97
101
|
default: SearchInputMode;
|
98
102
|
};
|
103
|
+
maxHeight: {
|
104
|
+
type: NumberConstructor;
|
105
|
+
default: () => number;
|
106
|
+
};
|
99
107
|
getMenuList: PropType<GetMenuListFunc>;
|
100
108
|
validateValues: PropType<ValidateValuesFunc>;
|
101
109
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -105,6 +113,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
105
113
|
onAdd?: (...args: any[]) => any;
|
106
114
|
onSelectKey?: (...args: any[]) => any;
|
107
115
|
}, {
|
116
|
+
maxHeight: number;
|
108
117
|
mode: SearchInputMode;
|
109
118
|
conditions: ICommonItem[];
|
110
119
|
showInputBefore: boolean;
|
@@ -32,6 +32,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
32
32
|
type: PropType<SearchLogical>;
|
33
33
|
default: SearchLogical;
|
34
34
|
};
|
35
|
+
maxHeight: {
|
36
|
+
type: NumberConstructor;
|
37
|
+
default: () => number;
|
38
|
+
};
|
35
39
|
}, {
|
36
40
|
handleClick: (item: ICommonItem) => void;
|
37
41
|
handleClickCondition: (item: ICommonItem) => void;
|
@@ -50,6 +54,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
50
54
|
disabled: boolean;
|
51
55
|
})[]>;
|
52
56
|
resolveClassName: (cls: string) => string;
|
57
|
+
resolveContentStyles: import("vue").ComputedRef<{
|
58
|
+
maxHeight: string;
|
59
|
+
}>;
|
53
60
|
t: import("vue").ComputedRef<{
|
54
61
|
pleaseSelect: string;
|
55
62
|
loading: string;
|
@@ -92,12 +99,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
92
99
|
type: PropType<SearchLogical>;
|
93
100
|
default: SearchLogical;
|
94
101
|
};
|
102
|
+
maxHeight: {
|
103
|
+
type: NumberConstructor;
|
104
|
+
default: () => number;
|
105
|
+
};
|
95
106
|
}>> & {
|
96
107
|
onSelectItem?: (...args: any[]) => any;
|
97
108
|
onSelectCondition?: (...args: any[]) => any;
|
98
109
|
onFooterClick?: (...args: any[]) => any;
|
99
110
|
"onUpdate:logical"?: (...args: any[]) => any;
|
100
111
|
}, {
|
112
|
+
maxHeight: number;
|
101
113
|
multiple: boolean;
|
102
114
|
selected: string[];
|
103
115
|
logical: SearchLogical;
|
@@ -87,6 +87,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
87
87
|
type: PropType<import("./utils").SearchInputMode>;
|
88
88
|
default: import("./utils").SearchInputMode;
|
89
89
|
};
|
90
|
+
maxHeight: {
|
91
|
+
type: NumberConstructor;
|
92
|
+
default: () => number;
|
93
|
+
};
|
90
94
|
getMenuList: PropType<GetMenuListFunc>;
|
91
95
|
validateValues: PropType<ValidateValuesFunc>;
|
92
96
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -170,6 +174,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
170
174
|
type: PropType<import("./utils").SearchInputMode>;
|
171
175
|
default: import("./utils").SearchInputMode;
|
172
176
|
};
|
177
|
+
maxHeight: {
|
178
|
+
type: NumberConstructor;
|
179
|
+
default: () => number;
|
180
|
+
};
|
173
181
|
getMenuList: PropType<GetMenuListFunc>;
|
174
182
|
validateValues: PropType<ValidateValuesFunc>;
|
175
183
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -179,6 +187,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
179
187
|
onAdd?: (...args: any[]) => any;
|
180
188
|
onSelectKey?: (...args: any[]) => any;
|
181
189
|
}, {
|
190
|
+
maxHeight: number;
|
182
191
|
mode: import("./utils").SearchInputMode;
|
183
192
|
conditions: ICommonItem[];
|
184
193
|
showInputBefore: boolean;
|
@@ -210,6 +219,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
210
219
|
type: PropType<import("./utils").SearchInputMode>;
|
211
220
|
default: import("./utils").SearchInputMode;
|
212
221
|
};
|
222
|
+
maxHeight: {
|
223
|
+
type: NumberConstructor;
|
224
|
+
default: () => number;
|
225
|
+
};
|
213
226
|
getMenuList: PropType<GetMenuListFunc>;
|
214
227
|
validateValues: PropType<ValidateValuesFunc>;
|
215
228
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -276,6 +289,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
276
289
|
logical: string;
|
277
290
|
}>;
|
278
291
|
}, {}, {}, {}, {
|
292
|
+
maxHeight: number;
|
279
293
|
mode: import("./utils").SearchInputMode;
|
280
294
|
conditions: ICommonItem[];
|
281
295
|
showInputBefore: boolean;
|
@@ -13,6 +13,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
type: NumberConstructor;
|
14
14
|
default: number;
|
15
15
|
};
|
16
|
+
maxHeight: {
|
17
|
+
type: NumberConstructor;
|
18
|
+
default: () => number;
|
19
|
+
};
|
16
20
|
conditions: {
|
17
21
|
type: PropType<ICommonItem[]>;
|
18
22
|
default: () => any[];
|
@@ -39,6 +43,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
43
|
type: PropType<SearchInputMode>;
|
40
44
|
default: SearchInputMode;
|
41
45
|
};
|
46
|
+
maxHeight: {
|
47
|
+
type: NumberConstructor;
|
48
|
+
default: () => number;
|
49
|
+
};
|
42
50
|
getMenuList: PropType<GetMenuListFunc>;
|
43
51
|
validateValues: PropType<ValidateValuesFunc>;
|
44
52
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -122,6 +130,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
122
130
|
type: PropType<SearchInputMode>;
|
123
131
|
default: SearchInputMode;
|
124
132
|
};
|
133
|
+
maxHeight: {
|
134
|
+
type: NumberConstructor;
|
135
|
+
default: () => number;
|
136
|
+
};
|
125
137
|
getMenuList: PropType<GetMenuListFunc>;
|
126
138
|
validateValues: PropType<ValidateValuesFunc>;
|
127
139
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -131,6 +143,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
131
143
|
onAdd?: (...args: any[]) => any;
|
132
144
|
onSelectKey?: (...args: any[]) => any;
|
133
145
|
}, {
|
146
|
+
maxHeight: number;
|
134
147
|
mode: SearchInputMode;
|
135
148
|
conditions: ICommonItem[];
|
136
149
|
showInputBefore: boolean;
|
@@ -162,6 +175,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
162
175
|
type: PropType<SearchInputMode>;
|
163
176
|
default: SearchInputMode;
|
164
177
|
};
|
178
|
+
maxHeight: {
|
179
|
+
type: NumberConstructor;
|
180
|
+
default: () => number;
|
181
|
+
};
|
165
182
|
getMenuList: PropType<GetMenuListFunc>;
|
166
183
|
validateValues: PropType<ValidateValuesFunc>;
|
167
184
|
valueBehavior: PropType<ValueBehavior>;
|
@@ -228,6 +245,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
228
245
|
logical: string;
|
229
246
|
}>;
|
230
247
|
}, {}, {}, {}, {
|
248
|
+
maxHeight: number;
|
231
249
|
mode: SearchInputMode;
|
232
250
|
conditions: ICommonItem[];
|
233
251
|
showInputBefore: boolean;
|
@@ -254,6 +272,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
254
272
|
type: NumberConstructor;
|
255
273
|
default: number;
|
256
274
|
};
|
275
|
+
maxHeight: {
|
276
|
+
type: NumberConstructor;
|
277
|
+
default: () => number;
|
278
|
+
};
|
257
279
|
conditions: {
|
258
280
|
type: PropType<ICommonItem[]>;
|
259
281
|
default: () => any[];
|
@@ -265,6 +287,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
265
287
|
onDelete?: (...args: any[]) => any;
|
266
288
|
onSelectKey?: (...args: any[]) => any;
|
267
289
|
}, {
|
290
|
+
maxHeight: number;
|
268
291
|
conditions: ICommonItem[];
|
269
292
|
overflowIndex: number;
|
270
293
|
}, {}>;
|
package/lib/select/index.js
CHANGED
@@ -2517,6 +2517,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
2517
2517
|
},
|
2518
2518
|
"theme": _this.tagTheme,
|
2519
2519
|
"closable": true,
|
2520
|
+
"key": item.value,
|
2520
2521
|
"onClose": function onClose() {
|
2521
2522
|
return _this.handleRemoveTag(item.value);
|
2522
2523
|
}
|