bkui-vue 2.0.1-beta.72.fix.1 → 2.0.1-beta.74
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 +45 -45
- package/dist/index.esm.js +13514 -13416
- package/dist/index.umd.js +59 -59
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/index.js +8 -6
- package/lib/color-picker/color-picker.d.ts +16 -0
- package/lib/color-picker/index.d.ts +23 -0
- package/lib/color-picker/index.js +8 -1
- package/lib/dialog/dialog.d.ts +6 -6
- package/lib/dialog/index.d.ts +12 -12
- package/lib/dialog/index.js +3 -1
- package/lib/dialog/props.d.ts +3 -3
- package/lib/index.js +1 -1
- package/lib/input/index.js +42 -521
- package/lib/input/input.css +23 -1
- package/lib/input/input.less +30 -1
- package/lib/input/input.variable.css +23 -1
- package/lib/modal/index.d.ts +13 -13
- package/lib/modal/index.js +7 -7
- package/lib/modal/modal.d.ts +5 -5
- package/lib/modal/props.mixin.d.ts +2 -2
- package/lib/plugin-popover/index.js +2 -1
- package/lib/popover/index.js +2 -1
- package/lib/resize-layout/index.js +4 -0
- package/lib/search-select/index.d.ts +60 -6
- package/lib/search-select/index.js +201 -89
- package/lib/search-select/input.d.ts +12 -2
- 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 +18 -4
- 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/common.d.ts +1 -1
- package/lib/select/index.d.ts +6 -0
- package/lib/select/index.js +35 -12
- package/lib/select/select.d.ts +2 -0
- package/lib/select/selectTagInput.d.ts +1 -0
- package/lib/select/type.d.ts +2 -2
- package/lib/sideslider/index.d.ts +11 -11
- package/lib/sideslider/sideslider.d.ts +5 -5
- package/lib/tab/index.d.ts +22 -0
- package/lib/tab/index.js +32 -10
- package/lib/tab/props.d.ts +10 -0
- package/lib/tab/tab-nav.d.ts +12 -2
- package/lib/tab/tab-panel.d.ts +22 -0
- package/lib/tab/tab.css +64 -0
- package/lib/tab/tab.less +91 -4
- package/lib/tab/tab.variable.css +64 -0
- package/lib/table/hooks/use-settings.d.ts +2 -0
- package/lib/table/index.js +66 -7
- package/lib/table/props.d.ts +5 -4
- package/lib/table/table.css +6 -0
- package/lib/table/table.less +14 -0
- package/lib/table/table.variable.css +6 -0
- package/lib/table/utils.d.ts +1 -0
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +3 -0
- package/lib/tag-input/index.js +12 -3
- package/lib/tag-input/tag-input.css +9 -9
- package/lib/tag-input/tag-input.d.ts +3 -14
- package/lib/tag-input/tag-input.less +9 -9
- package/lib/tag-input/tag-input.variable.css +9 -9
- package/lib/upload/index.js +31 -9
- package/package.json +1 -1
package/lib/input/input.css
CHANGED
@@ -220,7 +220,10 @@
|
|
220
220
|
color: var(--light-gray);
|
221
221
|
}
|
222
222
|
.bk-textarea.resizable {
|
223
|
-
resize:
|
223
|
+
resize: vertical;
|
224
|
+
}
|
225
|
+
.bk-textarea.resizable > textarea {
|
226
|
+
flex: 1;
|
224
227
|
}
|
225
228
|
.bk-textarea ::-webkit-scrollbar {
|
226
229
|
-webkit-appearance: none;
|
@@ -286,6 +289,25 @@
|
|
286
289
|
outline: 0;
|
287
290
|
box-shadow: 0px 0px 3px 0px var(--input-shadow-color);
|
288
291
|
}
|
292
|
+
.bk-textarea--suffix-icon {
|
293
|
+
color: var(--gray-color);
|
294
|
+
padding-right: var(--input-horizontal-padding);
|
295
|
+
font-size: var(--font-size-medium);
|
296
|
+
margin: 0;
|
297
|
+
margin-left: auto;
|
298
|
+
text-align: right;
|
299
|
+
flex-shrink: 0;
|
300
|
+
cursor: pointer;
|
301
|
+
}
|
302
|
+
.bk-textarea--suffix-icon:hover {
|
303
|
+
color: #313238;
|
304
|
+
}
|
305
|
+
.bk-textarea--suffix-icon.show-clear-only-hover {
|
306
|
+
display: none;
|
307
|
+
}
|
308
|
+
.bk-textarea:hover:not(.is-disabled) .show-clear-only-hover {
|
309
|
+
display: flex;
|
310
|
+
}
|
289
311
|
.bk-input {
|
290
312
|
display: inline-flex;
|
291
313
|
align-items: stretch;
|
package/lib/input/input.less
CHANGED
@@ -62,7 +62,10 @@
|
|
62
62
|
.placeholder();
|
63
63
|
|
64
64
|
&.resizable {
|
65
|
-
resize:
|
65
|
+
resize: vertical;
|
66
|
+
>textarea {
|
67
|
+
flex: 1;
|
68
|
+
}
|
66
69
|
}
|
67
70
|
|
68
71
|
::-webkit-scrollbar {
|
@@ -109,6 +112,32 @@
|
|
109
112
|
&.is-focused:not(.is-readonly) {
|
110
113
|
.active();
|
111
114
|
}
|
115
|
+
|
116
|
+
&--suffix-icon {
|
117
|
+
color: @gray-color;
|
118
|
+
padding-right: @input-horizontal-padding;
|
119
|
+
font-size: @font-size-medium;
|
120
|
+
margin: 0;
|
121
|
+
margin-left: auto;
|
122
|
+
text-align: right;
|
123
|
+
flex-shrink: 0;
|
124
|
+
cursor: pointer;
|
125
|
+
|
126
|
+
&:hover {
|
127
|
+
color: #313238;
|
128
|
+
}
|
129
|
+
|
130
|
+
&.show-clear-only-hover {
|
131
|
+
display: none;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
&:hover:not(.is-disabled) {
|
136
|
+
|
137
|
+
.show-clear-only-hover {
|
138
|
+
display: flex;
|
139
|
+
}
|
140
|
+
}
|
112
141
|
}
|
113
142
|
|
114
143
|
.@{bk-prefix}-input {
|
@@ -610,7 +610,10 @@
|
|
610
610
|
color: var(--light-gray);
|
611
611
|
}
|
612
612
|
.bk-textarea.resizable {
|
613
|
-
resize:
|
613
|
+
resize: vertical;
|
614
|
+
}
|
615
|
+
.bk-textarea.resizable > textarea {
|
616
|
+
flex: 1;
|
614
617
|
}
|
615
618
|
.bk-textarea ::-webkit-scrollbar {
|
616
619
|
-webkit-appearance: none;
|
@@ -676,6 +679,25 @@
|
|
676
679
|
outline: 0;
|
677
680
|
box-shadow: 0px 0px 3px 0px var(--input-shadow-color);
|
678
681
|
}
|
682
|
+
.bk-textarea--suffix-icon {
|
683
|
+
color: var(--gray-color);
|
684
|
+
padding-right: var(--input-horizontal-padding);
|
685
|
+
font-size: var(--font-size-medium);
|
686
|
+
margin: 0;
|
687
|
+
margin-left: auto;
|
688
|
+
text-align: right;
|
689
|
+
flex-shrink: 0;
|
690
|
+
cursor: pointer;
|
691
|
+
}
|
692
|
+
.bk-textarea--suffix-icon:hover {
|
693
|
+
color: #313238;
|
694
|
+
}
|
695
|
+
.bk-textarea--suffix-icon.show-clear-only-hover {
|
696
|
+
display: none;
|
697
|
+
}
|
698
|
+
.bk-textarea:hover:not(.is-disabled) .show-clear-only-hover {
|
699
|
+
display: flex;
|
700
|
+
}
|
679
701
|
.bk-input {
|
680
702
|
display: inline-flex;
|
681
703
|
align-items: stretch;
|
package/lib/modal/index.d.ts
CHANGED
@@ -32,8 +32,8 @@ declare const BkModal: {
|
|
32
32
|
} & {
|
33
33
|
default: boolean;
|
34
34
|
};
|
35
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
36
|
-
default: string | boolean
|
35
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
36
|
+
default: string | boolean;
|
37
37
|
};
|
38
38
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
39
39
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -98,8 +98,8 @@ declare const BkModal: {
|
|
98
98
|
} & {
|
99
99
|
default: boolean;
|
100
100
|
};
|
101
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
102
|
-
default: string | boolean
|
101
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
102
|
+
default: string | boolean;
|
103
103
|
};
|
104
104
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
105
105
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -137,7 +137,7 @@ declare const BkModal: {
|
|
137
137
|
left: string;
|
138
138
|
top: string;
|
139
139
|
isShow: boolean;
|
140
|
-
transfer: string | boolean
|
140
|
+
transfer: string | boolean;
|
141
141
|
backgroundColor: string;
|
142
142
|
renderDirective: "show" | "if";
|
143
143
|
fullscreen: boolean;
|
@@ -186,8 +186,8 @@ declare const BkModal: {
|
|
186
186
|
} & {
|
187
187
|
default: boolean;
|
188
188
|
};
|
189
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
190
|
-
default: string | boolean
|
189
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
190
|
+
default: string | boolean;
|
191
191
|
};
|
192
192
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
193
193
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -225,7 +225,7 @@ declare const BkModal: {
|
|
225
225
|
left: string;
|
226
226
|
top: string;
|
227
227
|
isShow: boolean;
|
228
|
-
transfer: string | boolean
|
228
|
+
transfer: string | boolean;
|
229
229
|
backgroundColor: string;
|
230
230
|
renderDirective: "show" | "if";
|
231
231
|
fullscreen: boolean;
|
@@ -271,8 +271,8 @@ declare const BkModal: {
|
|
271
271
|
} & {
|
272
272
|
default: boolean;
|
273
273
|
};
|
274
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
275
|
-
default: string | boolean
|
274
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
275
|
+
default: string | boolean;
|
276
276
|
};
|
277
277
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
278
278
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -310,7 +310,7 @@ declare const BkModal: {
|
|
310
310
|
left: string;
|
311
311
|
top: string;
|
312
312
|
isShow: boolean;
|
313
|
-
transfer: string | boolean
|
313
|
+
transfer: string | boolean;
|
314
314
|
backgroundColor: string;
|
315
315
|
renderDirective: "show" | "if";
|
316
316
|
fullscreen: boolean;
|
@@ -353,8 +353,8 @@ declare const BkModal: {
|
|
353
353
|
} & {
|
354
354
|
default: boolean;
|
355
355
|
};
|
356
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
357
|
-
default: string | boolean
|
356
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
357
|
+
default: string | boolean;
|
358
358
|
};
|
359
359
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
360
360
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
package/lib/modal/index.js
CHANGED
@@ -88,7 +88,7 @@ function _defineProperty(obj, key, value) {
|
|
88
88
|
;// CONCATENATED MODULE: external "vue"
|
89
89
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
90
90
|
var external_vue_y = x => () => x
|
91
|
-
const external_vue_namespaceObject = external_vue_x({ ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["
|
91
|
+
const external_vue_namespaceObject = external_vue_x({ ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["useAttrs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.useAttrs, ["useSlots"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.useSlots, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
92
92
|
;// CONCATENATED MODULE: external "../config-provider"
|
93
93
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
94
94
|
var config_provider_y = x => () => x
|
@@ -146,9 +146,8 @@ var useContentResize = function useContentResize(root, resizeTarget, props) {
|
|
146
146
|
var footerMarginTop = 32;
|
147
147
|
isContentScroll.value = windowInnerHeight < headerHeight + contentHeight + footerHeight + footerMarginTop;
|
148
148
|
if (isContentScroll.value || props.fullscreen) {
|
149
|
-
var fixedFooterHeight = 48;
|
150
149
|
contentStyles.value = {
|
151
|
-
height: "".concat(windowInnerHeight - headerHeight -
|
150
|
+
height: "".concat(windowInnerHeight - headerHeight - 48, "px"),
|
152
151
|
overflow: 'auto',
|
153
152
|
'scrollbar-gutter': 'stable'
|
154
153
|
};
|
@@ -163,7 +162,8 @@ var useContentResize = function useContentResize(root, resizeTarget, props) {
|
|
163
162
|
}, function () {
|
164
163
|
var observer;
|
165
164
|
if (props.isShow) {
|
166
|
-
|
165
|
+
// 有动画效果导致 resizeTarget DOM 找不到
|
166
|
+
setTimeout(function () {
|
167
167
|
if (!resizeTarget.value) {
|
168
168
|
return;
|
169
169
|
}
|
@@ -172,7 +172,7 @@ var useContentResize = function useContentResize(root, resizeTarget, props) {
|
|
172
172
|
});
|
173
173
|
observer.observe(resizeTarget.value);
|
174
174
|
calcContentScroll();
|
175
|
-
});
|
175
|
+
}, 100);
|
176
176
|
} else {
|
177
177
|
if (observer) {
|
178
178
|
observer.disconnect();
|
@@ -309,7 +309,7 @@ var propsMixin = {
|
|
309
309
|
// 是否允许点击遮罩关闭弹窗
|
310
310
|
quickClose: shared_namespaceObject.PropTypes.bool.def(true),
|
311
311
|
// 是否显示在body内(即与id#app同级
|
312
|
-
transfer: shared_namespaceObject.PropTypes.oneOfType([Boolean, String
|
312
|
+
transfer: shared_namespaceObject.PropTypes.oneOfType([Boolean, String]).def(true),
|
313
313
|
// 弹出层z-index,实际显示的值会自动+1。为了抱证在遮罩上正常显示
|
314
314
|
zIndex: shared_namespaceObject.PropTypes.oneOfType([String, Number]),
|
315
315
|
// 动画类型
|
@@ -487,7 +487,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
487
487
|
};
|
488
488
|
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
489
489
|
"disabled": !props.transfer,
|
490
|
-
"to":
|
490
|
+
"to": typeof props.transfer === 'string' && Boolean(props.transfer) ? props.transfer : 'body'
|
491
491
|
}, {
|
492
492
|
"default": function _default() {
|
493
493
|
return [(0,external_vue_namespaceObject.createVNode)("div", (0,external_vue_namespaceObject.mergeProps)({
|
package/lib/modal/modal.d.ts
CHANGED
@@ -33,8 +33,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
33
|
} & {
|
34
34
|
default: boolean;
|
35
35
|
};
|
36
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
37
|
-
default: string | boolean
|
36
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
37
|
+
default: string | boolean;
|
38
38
|
};
|
39
39
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
40
40
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -94,8 +94,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
94
|
} & {
|
95
95
|
default: boolean;
|
96
96
|
};
|
97
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
98
|
-
default: string | boolean
|
97
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
98
|
+
default: string | boolean;
|
99
99
|
};
|
100
100
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
101
101
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -133,7 +133,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
133
133
|
left: string;
|
134
134
|
top: string;
|
135
135
|
isShow: boolean;
|
136
|
-
transfer: string | boolean
|
136
|
+
transfer: string | boolean;
|
137
137
|
backgroundColor: string;
|
138
138
|
renderDirective: "show" | "if";
|
139
139
|
fullscreen: boolean;
|
@@ -30,8 +30,8 @@ export declare const propsMixin: {
|
|
30
30
|
} & {
|
31
31
|
default: boolean;
|
32
32
|
};
|
33
|
-
transfer: import("vue-types").VueTypeDef<string | boolean
|
34
|
-
default: string | boolean
|
33
|
+
transfer: import("vue-types").VueTypeDef<string | boolean> & {
|
34
|
+
default: string | boolean;
|
35
35
|
};
|
36
36
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
37
37
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -3141,7 +3141,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3141
3141
|
emitPopContentMouseEnter(e);
|
3142
3142
|
};
|
3143
3143
|
var handlePopContentMouseLeave = function handlePopContentMouseLeave(e) {
|
3144
|
-
|
3144
|
+
// 处理底部触发mouseleave事件,popShowTimerId有值代表处于hover状态
|
3145
|
+
if (isMouseenter && !popShowTimerId) {
|
3145
3146
|
hidePopover();
|
3146
3147
|
isMouseenter = false;
|
3147
3148
|
emitPopContentMouseLeave(e);
|
package/lib/popover/index.js
CHANGED
@@ -3144,7 +3144,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3144
3144
|
emitPopContentMouseEnter(e);
|
3145
3145
|
};
|
3146
3146
|
var handlePopContentMouseLeave = function handlePopContentMouseLeave(e) {
|
3147
|
-
|
3147
|
+
// 处理底部触发mouseleave事件,popShowTimerId有值代表处于hover状态
|
3148
|
+
if (isMouseenter && !popShowTimerId) {
|
3148
3149
|
hidePopover();
|
3149
3150
|
isMouseenter = false;
|
3150
3151
|
emitPopContentMouseLeave(e);
|
@@ -175,6 +175,10 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
175
175
|
// 转换类型
|
176
176
|
var parseInitialDivide = (0,external_vue_namespaceObject.computed)(function () {
|
177
177
|
var divide = initialDivide.value;
|
178
|
+
// 如果min不是默认值,且initialDivide不是number类型,min优先级提升
|
179
|
+
if (min.value !== 3 && typeof divide !== 'number') {
|
180
|
+
return "".concat(min.value, "px");
|
181
|
+
}
|
178
182
|
if (typeof divide === 'number') {
|
179
183
|
divide = divide <= min.value ? "".concat(min.value, "px") : "".concat(divide, "px");
|
180
184
|
}
|
@@ -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;
|
@@ -423,9 +437,15 @@ declare const BkSearchSelect: {
|
|
423
437
|
uniqueSelect: boolean;
|
424
438
|
}, true, {}, import("vue").SlotsType<{
|
425
439
|
menu: import("./utils").MenuSlotParams;
|
426
|
-
prepend:
|
427
|
-
|
428
|
-
|
440
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
441
|
+
[key: string]: any;
|
442
|
+
}>;
|
443
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
444
|
+
[key: string]: any;
|
445
|
+
}>;
|
446
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
447
|
+
[key: string]: any;
|
448
|
+
}>;
|
429
449
|
}>, {
|
430
450
|
P: {};
|
431
451
|
B: {};
|
@@ -489,6 +509,10 @@ declare const BkSearchSelect: {
|
|
489
509
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
490
510
|
default: import("./utils").SearchInputMode;
|
491
511
|
};
|
512
|
+
maxHeight: {
|
513
|
+
type: NumberConstructor;
|
514
|
+
default: () => number;
|
515
|
+
};
|
492
516
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
493
517
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
494
518
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -572,6 +596,10 @@ declare const BkSearchSelect: {
|
|
572
596
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
573
597
|
default: import("./utils").SearchInputMode;
|
574
598
|
};
|
599
|
+
maxHeight: {
|
600
|
+
type: NumberConstructor;
|
601
|
+
default: () => number;
|
602
|
+
};
|
575
603
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
576
604
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
577
605
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -581,6 +609,7 @@ declare const BkSearchSelect: {
|
|
581
609
|
onAdd?: (...args: any[]) => any;
|
582
610
|
onSelectKey?: (...args: any[]) => any;
|
583
611
|
}, {
|
612
|
+
maxHeight: number;
|
584
613
|
mode: import("./utils").SearchInputMode;
|
585
614
|
conditions: import("./utils").ICommonItem[];
|
586
615
|
showInputBefore: boolean;
|
@@ -612,6 +641,10 @@ declare const BkSearchSelect: {
|
|
612
641
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
613
642
|
default: import("./utils").SearchInputMode;
|
614
643
|
};
|
644
|
+
maxHeight: {
|
645
|
+
type: NumberConstructor;
|
646
|
+
default: () => number;
|
647
|
+
};
|
615
648
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
616
649
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
617
650
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -678,6 +711,7 @@ declare const BkSearchSelect: {
|
|
678
711
|
logical: string;
|
679
712
|
}>;
|
680
713
|
}, {}, {}, {}, {
|
714
|
+
maxHeight: number;
|
681
715
|
mode: import("./utils").SearchInputMode;
|
682
716
|
conditions: import("./utils").ICommonItem[];
|
683
717
|
showInputBefore: boolean;
|
@@ -878,6 +912,10 @@ declare const BkSearchSelect: {
|
|
878
912
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
879
913
|
default: import("./utils").SearchInputMode;
|
880
914
|
};
|
915
|
+
maxHeight: {
|
916
|
+
type: NumberConstructor;
|
917
|
+
default: () => number;
|
918
|
+
};
|
881
919
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
882
920
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
883
921
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -961,6 +999,10 @@ declare const BkSearchSelect: {
|
|
961
999
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
962
1000
|
default: import("./utils").SearchInputMode;
|
963
1001
|
};
|
1002
|
+
maxHeight: {
|
1003
|
+
type: NumberConstructor;
|
1004
|
+
default: () => number;
|
1005
|
+
};
|
964
1006
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
965
1007
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
966
1008
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -970,6 +1012,7 @@ declare const BkSearchSelect: {
|
|
970
1012
|
onAdd?: (...args: any[]) => any;
|
971
1013
|
onSelectKey?: (...args: any[]) => any;
|
972
1014
|
}, {
|
1015
|
+
maxHeight: number;
|
973
1016
|
mode: import("./utils").SearchInputMode;
|
974
1017
|
conditions: import("./utils").ICommonItem[];
|
975
1018
|
showInputBefore: boolean;
|
@@ -1001,6 +1044,10 @@ declare const BkSearchSelect: {
|
|
1001
1044
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
1002
1045
|
default: import("./utils").SearchInputMode;
|
1003
1046
|
};
|
1047
|
+
maxHeight: {
|
1048
|
+
type: NumberConstructor;
|
1049
|
+
default: () => number;
|
1050
|
+
};
|
1004
1051
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
1005
1052
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
1006
1053
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -1067,6 +1114,7 @@ declare const BkSearchSelect: {
|
|
1067
1114
|
logical: string;
|
1068
1115
|
}>;
|
1069
1116
|
}, {}, {}, {}, {
|
1117
|
+
maxHeight: number;
|
1070
1118
|
mode: import("./utils").SearchInputMode;
|
1071
1119
|
conditions: import("./utils").ICommonItem[];
|
1072
1120
|
showInputBefore: boolean;
|
@@ -1209,9 +1257,15 @@ declare const BkSearchSelect: {
|
|
1209
1257
|
uniqueSelect: boolean;
|
1210
1258
|
}, {}, string, import("vue").SlotsType<{
|
1211
1259
|
menu: import("./utils").MenuSlotParams;
|
1212
|
-
prepend:
|
1213
|
-
|
1214
|
-
|
1260
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1261
|
+
[key: string]: any;
|
1262
|
+
}>;
|
1263
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1264
|
+
[key: string]: any;
|
1265
|
+
}>;
|
1266
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1267
|
+
[key: string]: any;
|
1268
|
+
}>;
|
1215
1269
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
1216
1270
|
export default BkSearchSelect;
|
1217
1271
|
export { BkSearchSelect };
|