bkui-vue 0.0.1-beta.13 → 0.0.1-beta.16
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 -17
- package/README_EN.md +89 -0
- package/dist/bkui-vue.cjs.js +1897 -495
- package/dist/bkui-vue.esm.js +1893 -497
- package/dist/bkui-vue.umd.js +1897 -495
- package/dist/style.css +454 -177
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/index.js +1 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +20 -0
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +10 -1
- package/lib/breadcrumb/index.d.ts +38 -2
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +2 -0
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.d.ts +3 -3
- package/lib/dialog/index.d.ts +7 -7
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +1 -1
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-left.js +15 -0
- package/lib/icon/angle-double-right.js +15 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +15 -0
- package/lib/icon/angle-down-line.js +15 -0
- package/lib/icon/angle-down.js +15 -0
- package/lib/icon/angle-left.js +15 -0
- package/lib/icon/angle-right.js +15 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +15 -0
- package/lib/icon/angle-up.js +15 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +15 -0
- package/lib/icon/circle.js +15 -0
- package/lib/icon/close.js +15 -0
- package/lib/icon/code.js +15 -0
- package/lib/icon/cog-shape.js +15 -0
- package/lib/icon/collapse-left.js +15 -0
- package/lib/icon/copy.js +15 -0
- package/lib/icon/done.js +15 -0
- package/lib/icon/down-shape.js +15 -0
- package/lib/icon/down-small.js +15 -0
- package/lib/icon/error.js +15 -0
- package/lib/icon/eye.js +15 -0
- package/lib/icon/folder-open.js +15 -0
- package/lib/icon/folder-shape-open.js +15 -0
- package/lib/icon/folder-shape.js +15 -0
- package/lib/icon/folder.js +15 -0
- package/lib/icon/help-document-fill.js +15 -0
- package/lib/icon/help-fill.js +15 -0
- package/lib/icon/help.js +15 -0
- package/lib/icon/icon.js +15 -0
- package/lib/icon/index.d.ts +7 -3
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +15 -0
- package/lib/icon/info.js +15 -0
- package/lib/icon/play-shape.js +15 -0
- package/lib/icon/plus.js +15 -0
- package/lib/icon/right-shape.js +15 -0
- package/lib/icon/search.js +15 -0
- package/lib/icon/share.js +15 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +15 -0
- package/lib/icon/success.js +15 -0
- package/lib/icon/switcher-loading.js +15 -0
- package/lib/icon/text-file.js +15 -0
- package/lib/icon/tree-application-shape.js +15 -0
- package/lib/icon/unvisible.js +15 -0
- package/lib/icon/warn.js +15 -0
- package/lib/index.d.ts +1 -0
- package/lib/input/index.d.ts +19 -11
- package/lib/input/index.js +2 -2
- package/lib/input/input.css +1 -0
- package/lib/input/input.d.ts +5 -3
- package/lib/input/input.less +4 -3
- package/lib/input/input.variable.css +1 -0
- package/lib/link/index.js +1 -1
- package/lib/loading/index.js +1 -1
- package/lib/menu/index.js +1 -1
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/message/index.js +1 -1
- package/lib/modal/index.d.ts +8 -8
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +3 -3
- package/lib/modal/props.mixin.d.ts +1 -1
- package/lib/navigation/index.js +1 -1
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +2 -2
- package/lib/popover/index.d.ts +103 -48
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +22 -13
- package/lib/popover/popover.d.ts +30 -23
- package/lib/popover/popover.less +55 -45
- package/lib/popover/popover.variable.css +22 -13
- package/lib/popover/props.d.ts +77 -0
- package/lib/preset.d.ts +2 -3
- package/lib/process/index.d.ts +145 -0
- package/lib/process/index.js +15 -0
- package/lib/process/process.css +139 -0
- package/lib/process/process.d.ts +116 -0
- package/lib/process/process.less +179 -0
- package/lib/process/process.variable.css +225 -0
- package/lib/progress/index.d.ts +23 -1
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +17 -1
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +0 -3
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/rate/index.js +1 -1
- package/lib/select/common.d.ts +10 -1
- package/lib/select/index.d.ts +132 -189
- package/lib/select/index.js +2 -2
- package/lib/select/option.d.ts +1 -7
- package/lib/select/optionGroup.d.ts +22 -15
- package/lib/select/select.css +71 -14
- package/lib/select/select.d.ts +40 -55
- package/lib/select/select.less +73 -14
- package/lib/select/select.variable.css +71 -14
- package/lib/shared/bk-helper-core.d.ts +6 -0
- package/lib/shared/bk-popover.d.ts +45 -4
- package/lib/shared/index.d.ts +10 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/utils.d.ts +6 -0
- package/lib/sideslider/index.d.ts +7 -7
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +3 -3
- package/lib/slider/index.js +2 -2
- package/lib/steps/index.d.ts +8 -8
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.d.ts +2 -2
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.less +210 -154
- package/lib/switcher/switcher.variable.css +149 -135
- package/lib/tab/index.js +1 -1
- package/lib/table/index.d.ts +76 -1
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +38 -0
- package/lib/table/render.d.ts +1 -1
- package/lib/table/table.css +6 -4
- package/lib/table/table.d.ts +34 -0
- package/lib/table/table.less +4 -4
- package/lib/table/table.variable.css +6 -4
- package/lib/table/utils.d.ts +8 -0
- package/lib/tag/index.js +1 -1
- package/lib/tree/index.d.ts +22 -8
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +52 -0
- package/lib/tree/tree.css +16 -7
- package/lib/tree/tree.d.ts +13 -7
- package/lib/tree/tree.less +24 -24
- package/lib/tree/tree.variable.css +16 -7
- package/lib/tree/util.d.ts +3 -44
- package/lib/virtual-render/index.d.ts +410 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +156 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +40 -0
- package/lib/virtual-render/virtual-render.d.ts +183 -0
- package/lib/virtual-render/virtual-render.less +51 -0
- package/lib/virtual-render/virtual-render.variable.css +40 -0
- package/package.json +11 -7
package/lib/radio/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,o){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}},n={exports:{}};!function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,o){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}},n={exports:{}};!function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}(n);var s={exports:{}};!function(e){e.exports=function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,a,n=[],s=!0,l=!1;try{for(o=o.call(e);!(s=(r=o.next()).done)&&(n.push(r.value),!t||n.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{s||null==o.return||o.return()}finally{if(l)throw a}}return n}},e.exports.__esModule=!0,e.exports.default=e.exports}(s);var l={exports:{}},i={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(i),function(e){var t=i.exports;e.exports=function(e,o){if(e){if("string"==typeof e)return t(e,o);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,o):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(l);var u={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(u),function(e){var t=n.exports,o=s.exports,r=l.exports,a=u.exports;e.exports=function(e,n){return t(e)||o(e,n)||r(e,n)||a()},e.exports.__esModule=!0,e.exports.default=e.exports}(a);var d=r(a.exports),p=Symbol("RadioGroup");function c(){var e=t.ref(!1);return[e,{blur:function(){e.value=!1},focus:function(){e.value=!0}}]}function h(){var e=t.getCurrentInstance(),r=e.props,a=e.emit,n=t.inject(p,o.EMPTY_OBJ),s=!o.isEmptyObj(n),l=t.reactive({isLocalChecked:r.checked}),i=t.computed((function(){return s?n.state.localValue===r.label:""!==r.modelValue?r.modelValue===r.label:l.isLocalChecked}));l.isLocalChecked=i.value;var u=t.computed((function(){return!(!s||!n.props.disabled)||r.disabled}));return{name:t.computed((function(){return s&&n.props.name?n.props.name:r.name})),isCheck:i,isDisabled:u,handlerChange:function(){u.value||(a("change",r.label),a("update:modelValue",r.label),s&&n.handleChange(r.label))}}}var f={name:o.PropTypes.string.def(""),label:o.PropTypes.oneOfType([String,Number,Boolean]).isRequired,modelValue:o.PropTypes.oneOfType([String,Number,Boolean]).def(""),checked:o.PropTypes.bool.def(!1),disabled:o.PropTypes.bool.def(!1)},b=t.defineComponent({name:"Radio",props:f,emits:["change","update:modelValue"],setup:function(){var e=c(),t=d(e,2),o=t[0],r=t[1],a=r.blur,n=r.focus,s=h();return{isFocus:o,realName:s.name,isCheck:s.isCheck,isDisabled:s.isDisabled,handleBlur:a,handleFocus:n,handlerChange:s.handlerChange}},render:function(){var e=o.classes({"bk-radio":!0,"is-focus":this.isFocus,"is-disabled":this.isDisabled,"is-checked":this.isCheck});return t.createVNode("label",{class:e,tabindex:"0"},[t.createVNode("input",{class:"bk-radio-input",type:"radio",tabindex:"0",name:this.realName,value:this.label,checked:this.isCheck,disabled:this.isDisabled,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handlerChange},null),t.createVNode("span",{class:"bk-radio-text"},[this.$slots.default?this.$slots.default():this.label])])}}),m={name:o.PropTypes.string.def(""),modelValue:o.PropTypes.oneOfType([String,Number,Boolean]),disabled:o.PropTypes.bool},y=t.defineComponent({name:"RadioGroup",props:m,emits:["change","update:modelValue"],setup:function(e,o){var r=t.reactive({localValue:e.modelValue});t.watch((function(){return e.modelValue}),(function(){r.localValue=e.modelValue}));return t.provide(p,{props:e,state:r,handleChange:function(e){o.emit("update:modelValue",e),o.emit("change",e)}}),{}},render:function(){return t.createVNode("div",{class:"bk-radio-group"},[this.$slots.default()])}}),x={name:o.PropTypes.string.def(""),label:o.PropTypes.oneOfType([String,Number,Boolean]).isRequired,modelValue:o.PropTypes.oneOfType([String,Number,Boolean]).def(""),checked:o.PropTypes.bool.def(!1),disabled:o.PropTypes.bool.def(!1),size:o.PropTypes.size},v=t.defineComponent({name:"RadioButton",props:x,emits:["change","update:modelValue"],setup:function(){var e=c(),t=d(e,2),o=t[0],r=t[1],a=r.blur,n=r.focus,s=h();return{isFocus:o,realName:s.name,isCheck:s.isCheck,isDisabled:s.isDisabled,handleBlur:a,handleFocus:n,handlerChange:s.handlerChange}},render:function(){var e=o.classes({"bk-radio-button":!0,"is-focus":this.isFocus,"is-disabled":this.isDisabled,"is-checked":this.isCheck});return t.createVNode("label",{class:e,tabindex:"0"},[t.createVNode("input",{class:"bk-radio-button-input",type:"radio",tabindex:"0",name:this.realName,value:this.label,checked:this.isCheck,disabled:this.isDisabled,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handlerChange},null),t.createVNode("div",{class:"bk-radio-button-text"},[this.$slots.default?this.$slots.default():this.label])])}}),g=o.withInstallProps(b,{Group:y,Button:v});e.BkRadio=g,e.BkRadioButton=v,e.BkRadioGroup=y,e.default=g,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/rate/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,r){"use strict";var o=t.defineComponent({name:"
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,r){"use strict";var o=t.defineComponent({name:"Star",props:{rate:r.PropTypes.number.def(0),width:r.PropTypes.number.def(15),height:r.PropTypes.number.def(16),editable:r.PropTypes.bool.def(!0),hoverRate:r.PropTypes.number.def(0),max:r.PropTypes.number.def(5)},emits:["chooseRate","changeHover"],setup:function(e,o){var a=o.emit,n=function(t){return r.classes({"bk-is-select":t<Math.floor(i.value),"bk-is-edit":e.editable,"bk-rate-star":!0})},i=t.computed((function(){return e.hoverRate||e.rate})),s={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),minWidth:"".concat(e.width,"px")};return function(){return t.createVNode("p",{class:"bk-rate-stars"},[Array(e.max).fill(1).map((function(r,o){return t.createVNode("svg",{class:n(o),style:s,x:"0px",y:"0px",viewBox:"0 0 64 64",onClick:function(){return function(t){e.editable&&a("chooseRate",t+1)}(o)},onMouseenter:function(){return function(t){e.editable&&a("changeHover",t+1)}(o)}},[t.createVNode("g",{transform:"translate(-143.000000, -635.000000)"},[t.createVNode("g",{transform:"translate(83.000000, 114.000000)"},[t.createVNode("g",{transform:"translate(15.000000, 384.000000)"},[t.createVNode("g",{transform:"translate(29.000000, 137.000000)"},[t.createVNode("polygon",{class:"st1",points:"48,53 28.2,63.9 32,40.8 16,24.4 38.1,21 48,-0.1 57.8,21 79.9,24.4 63.9,40.8 67.7,63.9"},null)])])])])])}))])}}}),a=t.defineComponent({name:"Rate",components:{star:o},props:{modelValue:r.PropTypes.number.def(0),size:r.PropTypes.size(),editable:r.PropTypes.bool.def(!0)},emits:["change","update:modelValue"],setup:function(e,a){var n=a.emit,i=t.ref(0),s=function(t){e.editable&&(n("update:modelValue",t),n("change",t))},l=function(e){i.value=e},u=r.classes({"bk-rate":!0}),d={small:{width:12,height:12},large:{width:18,height:18}}[e.size]||{width:15,height:16},c=t.computed((function(){var t=Math.floor(e.modelValue),r=(d.width+3)*t,o=d.width*(e.modelValue-t);return{width:"".concat(r+o,"px")}})),p={width:d.width,height:d.height};return function(){return t.createVNode("p",{class:u},[e.editable?t.createVNode(o,t.mergeProps({rate:e.modelValue,"hover-rate":i.value,onChooseRate:s,onChangeHover:l,onMouseleave:function(){return l(0)}},p),null):t.createVNode(t.Fragment,null,[t.createVNode(o,t.mergeProps({rate:5,style:c.value,class:"bk-score-real",editable:!1},p),null),t.createVNode(o,t.mergeProps({rate:0,editable:!1},p),null)])])}}}),n=r.withInstall(a);e.default=n,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/select/common.d.ts
CHANGED
@@ -5,7 +5,9 @@ export interface ISelectContext {
|
|
5
5
|
props: {
|
6
6
|
multiple?: boolean;
|
7
7
|
};
|
8
|
-
selectedOptions: any
|
8
|
+
selectedOptions: Set<any>;
|
9
|
+
searchKey: string;
|
10
|
+
isRemoteSearch: boolean;
|
9
11
|
register(option: OptionInstanceType): any;
|
10
12
|
unregister(option: OptionInstanceType): any;
|
11
13
|
handleOptionSelected(option: OptionInstanceType): void;
|
@@ -13,8 +15,15 @@ export interface ISelectContext {
|
|
13
15
|
export declare const selectKey: InjectionKey<ISelectContext>;
|
14
16
|
export interface IOptionGroupContext {
|
15
17
|
disabled: boolean;
|
18
|
+
groupCollapse: boolean;
|
16
19
|
}
|
17
20
|
export declare const optionGroupKey: InjectionKey<IOptionGroupContext>;
|
21
|
+
export interface ISelectState {
|
22
|
+
currentPlaceholder: string;
|
23
|
+
options: Set<OptionInstanceType>;
|
24
|
+
selectedOptions: Set<OptionInstanceType>;
|
25
|
+
currentSelectedLabel: string;
|
26
|
+
}
|
18
27
|
export declare function useFocus(): {
|
19
28
|
isFocus: import("vue").Ref<boolean>;
|
20
29
|
handleFocus: () => void;
|
package/lib/select/index.d.ts
CHANGED
@@ -13,6 +13,7 @@ declare const BkSelect: {
|
|
13
13
|
clearable: boolean;
|
14
14
|
filterable: boolean;
|
15
15
|
remoteMethod: (...args: any[]) => any;
|
16
|
+
scrollHeight: number;
|
16
17
|
}> & Omit<Readonly<{
|
17
18
|
modelValue?: unknown;
|
18
19
|
multiple?: unknown;
|
@@ -23,6 +24,7 @@ declare const BkSelect: {
|
|
23
24
|
loading?: unknown;
|
24
25
|
filterable?: unknown;
|
25
26
|
remoteMethod?: unknown;
|
27
|
+
scrollHeight?: unknown;
|
26
28
|
} & {
|
27
29
|
placeholder: string;
|
28
30
|
size: string;
|
@@ -31,6 +33,7 @@ declare const BkSelect: {
|
|
31
33
|
loading: boolean;
|
32
34
|
clearable: boolean;
|
33
35
|
filterable: boolean;
|
36
|
+
scrollHeight: number;
|
34
37
|
} & {
|
35
38
|
modelValue?: any;
|
36
39
|
remoteMethod?: (...args: any[]) => any;
|
@@ -38,7 +41,7 @@ declare const BkSelect: {
|
|
38
41
|
onChange?: (...args: any[]) => any;
|
39
42
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
40
43
|
onToggle?: (...args: any[]) => any;
|
41
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "size" | "multiple" | "disabled" | "loading" | "clearable" | "filterable" | "remoteMethod">;
|
44
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "size" | "multiple" | "disabled" | "loading" | "clearable" | "filterable" | "remoteMethod" | "scrollHeight">;
|
42
45
|
$attrs: {
|
43
46
|
[x: string]: unknown;
|
44
47
|
};
|
@@ -62,6 +65,7 @@ declare const BkSelect: {
|
|
62
65
|
loading?: unknown;
|
63
66
|
filterable?: unknown;
|
64
67
|
remoteMethod?: unknown;
|
68
|
+
scrollHeight?: unknown;
|
65
69
|
} & {
|
66
70
|
placeholder: string;
|
67
71
|
size: string;
|
@@ -70,6 +74,7 @@ declare const BkSelect: {
|
|
70
74
|
loading: boolean;
|
71
75
|
clearable: boolean;
|
72
76
|
filterable: boolean;
|
77
|
+
scrollHeight: number;
|
73
78
|
} & {
|
74
79
|
modelValue?: any;
|
75
80
|
remoteMethod?: (...args: any[]) => any;
|
@@ -78,6 +83,33 @@ declare const BkSelect: {
|
|
78
83
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
79
84
|
onToggle?: (...args: any[]) => any;
|
80
85
|
}, {
|
86
|
+
selectedLabel: import("vue").ComputedRef<string>;
|
87
|
+
selectClass: import("vue").ComputedRef<{
|
88
|
+
[x: string]: boolean;
|
89
|
+
'bk-select': boolean;
|
90
|
+
'popover-show': boolean;
|
91
|
+
'is-disabled': boolean;
|
92
|
+
'is-focus': boolean;
|
93
|
+
}>;
|
94
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
95
|
+
isHover: import("vue").Ref<boolean>;
|
96
|
+
popperWidth: import("vue").Ref<string | number>;
|
97
|
+
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
98
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
99
|
+
searchKey: import("vue").Ref<string>;
|
100
|
+
searchLoading: import("vue").Ref<boolean>;
|
101
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
102
|
+
isFocus: import("vue").Ref<boolean>;
|
103
|
+
setHover: () => void;
|
104
|
+
cancelHover: () => void;
|
105
|
+
handleFocus: () => void;
|
106
|
+
handleInput: (e: any) => void;
|
107
|
+
toggleMenu: () => void;
|
108
|
+
handleClear: (e: Event) => void;
|
109
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
110
|
+
hidePopover: () => void;
|
111
|
+
showPopover: () => void;
|
112
|
+
currentPlaceholder: import("vue").Ref<string>;
|
81
113
|
options: import("vue").Ref<Set<{
|
82
114
|
$: import("vue").ComponentInternalInstance;
|
83
115
|
$data: {};
|
@@ -116,14 +148,8 @@ declare const BkSelect: {
|
|
116
148
|
label?: string | number;
|
117
149
|
value?: string | number | boolean;
|
118
150
|
}> & {}, {
|
119
|
-
selectItemClass: import("vue").ComputedRef<{
|
120
|
-
'is-selected': boolean;
|
121
|
-
'is-disabled': boolean;
|
122
|
-
'is-multiple': boolean;
|
123
|
-
'is-hover': boolean;
|
124
|
-
'bk-select-option': boolean;
|
125
|
-
}>;
|
126
151
|
selected: import("vue").ComputedRef<boolean>;
|
152
|
+
multiple: import("vue").ComputedRef<boolean>;
|
127
153
|
handleOptionClick: () => void;
|
128
154
|
visible: import("vue").Ref<boolean>;
|
129
155
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -158,14 +184,8 @@ declare const BkSelect: {
|
|
158
184
|
label?: string | number;
|
159
185
|
value?: string | number | boolean;
|
160
186
|
}> & {} & import("vue").ShallowUnwrapRef<{
|
161
|
-
selectItemClass: import("vue").ComputedRef<{
|
162
|
-
'is-selected': boolean;
|
163
|
-
'is-disabled': boolean;
|
164
|
-
'is-multiple': boolean;
|
165
|
-
'is-hover': boolean;
|
166
|
-
'bk-select-option': boolean;
|
167
|
-
}>;
|
168
187
|
selected: import("vue").ComputedRef<boolean>;
|
188
|
+
multiple: import("vue").ComputedRef<boolean>;
|
169
189
|
handleOptionClick: () => void;
|
170
190
|
visible: import("vue").Ref<boolean>;
|
171
191
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
@@ -207,14 +227,8 @@ declare const BkSelect: {
|
|
207
227
|
label?: string | number;
|
208
228
|
value?: string | number | boolean;
|
209
229
|
}> & {}, {
|
210
|
-
selectItemClass: import("vue").ComputedRef<{
|
211
|
-
'is-selected': boolean;
|
212
|
-
'is-disabled': boolean;
|
213
|
-
'is-multiple': boolean;
|
214
|
-
'is-hover': boolean;
|
215
|
-
'bk-select-option': boolean;
|
216
|
-
}>;
|
217
230
|
selected: import("vue").ComputedRef<boolean>;
|
231
|
+
multiple: import("vue").ComputedRef<boolean>;
|
218
232
|
handleOptionClick: () => void;
|
219
233
|
visible: import("vue").Ref<boolean>;
|
220
234
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -249,44 +263,12 @@ declare const BkSelect: {
|
|
249
263
|
label?: string | number;
|
250
264
|
value?: string | number | boolean;
|
251
265
|
}> & {} & import("vue").ShallowUnwrapRef<{
|
252
|
-
selectItemClass: import("vue").ComputedRef<{
|
253
|
-
'is-selected': boolean;
|
254
|
-
'is-disabled': boolean;
|
255
|
-
'is-multiple': boolean;
|
256
|
-
'is-hover': boolean;
|
257
|
-
'bk-select-option': boolean;
|
258
|
-
}>;
|
259
266
|
selected: import("vue").ComputedRef<boolean>;
|
267
|
+
multiple: import("vue").ComputedRef<boolean>;
|
260
268
|
handleOptionClick: () => void;
|
261
269
|
visible: import("vue").Ref<boolean>;
|
262
270
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
263
|
-
|
264
|
-
selectClass: import("vue").ComputedRef<{
|
265
|
-
[x: string]: boolean;
|
266
|
-
'bk-select': boolean;
|
267
|
-
'popover-show': boolean;
|
268
|
-
'is-disabled': boolean;
|
269
|
-
'is-focus': boolean;
|
270
|
-
}>;
|
271
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
272
|
-
placeholder: import("vue").Ref<string>;
|
273
|
-
filterable: import("vue").Ref<boolean>;
|
274
|
-
clearable: import("vue").Ref<boolean>;
|
275
|
-
isHover: import("vue").Ref<boolean>;
|
276
|
-
popperWidth: import("vue").Ref<string | number>;
|
277
|
-
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
278
|
-
searchKey: import("vue").Ref<string>;
|
279
|
-
searchLoading: import("vue").Ref<boolean>;
|
280
|
-
isEmpty: import("vue").ComputedRef<boolean>;
|
281
|
-
setHover: () => void;
|
282
|
-
cancelHover: () => void;
|
283
|
-
handleFocus: () => void;
|
284
|
-
handleBlur: () => void;
|
285
|
-
toggleMenu: () => void;
|
286
|
-
handleClear: (e: Event) => void;
|
287
|
-
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
288
|
-
hidePopover: () => void;
|
289
|
-
showPopover: () => void;
|
271
|
+
currentSelectedLabel: import("vue").Ref<string>;
|
290
272
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], string, {
|
291
273
|
placeholder: string;
|
292
274
|
size: string;
|
@@ -296,6 +278,7 @@ declare const BkSelect: {
|
|
296
278
|
clearable: boolean;
|
297
279
|
filterable: boolean;
|
298
280
|
remoteMethod: (...args: any[]) => any;
|
281
|
+
scrollHeight: number;
|
299
282
|
}> & {
|
300
283
|
beforeCreate?: (() => void) | (() => void)[];
|
301
284
|
created?: (() => void) | (() => void)[];
|
@@ -326,6 +309,7 @@ declare const BkSelect: {
|
|
326
309
|
loading?: unknown;
|
327
310
|
filterable?: unknown;
|
328
311
|
remoteMethod?: unknown;
|
312
|
+
scrollHeight?: unknown;
|
329
313
|
} & {
|
330
314
|
placeholder: string;
|
331
315
|
size: string;
|
@@ -334,6 +318,7 @@ declare const BkSelect: {
|
|
334
318
|
loading: boolean;
|
335
319
|
clearable: boolean;
|
336
320
|
filterable: boolean;
|
321
|
+
scrollHeight: number;
|
337
322
|
} & {
|
338
323
|
modelValue?: any;
|
339
324
|
remoteMethod?: (...args: any[]) => any;
|
@@ -342,6 +327,33 @@ declare const BkSelect: {
|
|
342
327
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
343
328
|
onToggle?: (...args: any[]) => any;
|
344
329
|
} & import("vue").ShallowUnwrapRef<{
|
330
|
+
selectedLabel: import("vue").ComputedRef<string>;
|
331
|
+
selectClass: import("vue").ComputedRef<{
|
332
|
+
[x: string]: boolean;
|
333
|
+
'bk-select': boolean;
|
334
|
+
'popover-show': boolean;
|
335
|
+
'is-disabled': boolean;
|
336
|
+
'is-focus': boolean;
|
337
|
+
}>;
|
338
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
339
|
+
isHover: import("vue").Ref<boolean>;
|
340
|
+
popperWidth: import("vue").Ref<string | number>;
|
341
|
+
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
342
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
343
|
+
searchKey: import("vue").Ref<string>;
|
344
|
+
searchLoading: import("vue").Ref<boolean>;
|
345
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
346
|
+
isFocus: import("vue").Ref<boolean>;
|
347
|
+
setHover: () => void;
|
348
|
+
cancelHover: () => void;
|
349
|
+
handleFocus: () => void;
|
350
|
+
handleInput: (e: any) => void;
|
351
|
+
toggleMenu: () => void;
|
352
|
+
handleClear: (e: Event) => void;
|
353
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
354
|
+
hidePopover: () => void;
|
355
|
+
showPopover: () => void;
|
356
|
+
currentPlaceholder: import("vue").Ref<string>;
|
345
357
|
options: import("vue").Ref<Set<{
|
346
358
|
$: import("vue").ComponentInternalInstance;
|
347
359
|
$data: {};
|
@@ -380,14 +392,8 @@ declare const BkSelect: {
|
|
380
392
|
label?: string | number;
|
381
393
|
value?: string | number | boolean;
|
382
394
|
}> & {}, {
|
383
|
-
selectItemClass: import("vue").ComputedRef<{
|
384
|
-
'is-selected': boolean;
|
385
|
-
'is-disabled': boolean;
|
386
|
-
'is-multiple': boolean;
|
387
|
-
'is-hover': boolean;
|
388
|
-
'bk-select-option': boolean;
|
389
|
-
}>;
|
390
395
|
selected: import("vue").ComputedRef<boolean>;
|
396
|
+
multiple: import("vue").ComputedRef<boolean>;
|
391
397
|
handleOptionClick: () => void;
|
392
398
|
visible: import("vue").Ref<boolean>;
|
393
399
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -422,14 +428,8 @@ declare const BkSelect: {
|
|
422
428
|
label?: string | number;
|
423
429
|
value?: string | number | boolean;
|
424
430
|
}> & {} & import("vue").ShallowUnwrapRef<{
|
425
|
-
selectItemClass: import("vue").ComputedRef<{
|
426
|
-
'is-selected': boolean;
|
427
|
-
'is-disabled': boolean;
|
428
|
-
'is-multiple': boolean;
|
429
|
-
'is-hover': boolean;
|
430
|
-
'bk-select-option': boolean;
|
431
|
-
}>;
|
432
431
|
selected: import("vue").ComputedRef<boolean>;
|
432
|
+
multiple: import("vue").ComputedRef<boolean>;
|
433
433
|
handleOptionClick: () => void;
|
434
434
|
visible: import("vue").Ref<boolean>;
|
435
435
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
@@ -471,14 +471,8 @@ declare const BkSelect: {
|
|
471
471
|
label?: string | number;
|
472
472
|
value?: string | number | boolean;
|
473
473
|
}> & {}, {
|
474
|
-
selectItemClass: import("vue").ComputedRef<{
|
475
|
-
'is-selected': boolean;
|
476
|
-
'is-disabled': boolean;
|
477
|
-
'is-multiple': boolean;
|
478
|
-
'is-hover': boolean;
|
479
|
-
'bk-select-option': boolean;
|
480
|
-
}>;
|
481
474
|
selected: import("vue").ComputedRef<boolean>;
|
475
|
+
multiple: import("vue").ComputedRef<boolean>;
|
482
476
|
handleOptionClick: () => void;
|
483
477
|
visible: import("vue").Ref<boolean>;
|
484
478
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -513,44 +507,12 @@ declare const BkSelect: {
|
|
513
507
|
label?: string | number;
|
514
508
|
value?: string | number | boolean;
|
515
509
|
}> & {} & import("vue").ShallowUnwrapRef<{
|
516
|
-
selectItemClass: import("vue").ComputedRef<{
|
517
|
-
'is-selected': boolean;
|
518
|
-
'is-disabled': boolean;
|
519
|
-
'is-multiple': boolean;
|
520
|
-
'is-hover': boolean;
|
521
|
-
'bk-select-option': boolean;
|
522
|
-
}>;
|
523
510
|
selected: import("vue").ComputedRef<boolean>;
|
511
|
+
multiple: import("vue").ComputedRef<boolean>;
|
524
512
|
handleOptionClick: () => void;
|
525
513
|
visible: import("vue").Ref<boolean>;
|
526
514
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
527
|
-
|
528
|
-
selectClass: import("vue").ComputedRef<{
|
529
|
-
[x: string]: boolean;
|
530
|
-
'bk-select': boolean;
|
531
|
-
'popover-show': boolean;
|
532
|
-
'is-disabled': boolean;
|
533
|
-
'is-focus': boolean;
|
534
|
-
}>;
|
535
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
536
|
-
placeholder: import("vue").Ref<string>;
|
537
|
-
filterable: import("vue").Ref<boolean>;
|
538
|
-
clearable: import("vue").Ref<boolean>;
|
539
|
-
isHover: import("vue").Ref<boolean>;
|
540
|
-
popperWidth: import("vue").Ref<string | number>;
|
541
|
-
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
542
|
-
searchKey: import("vue").Ref<string>;
|
543
|
-
searchLoading: import("vue").Ref<boolean>;
|
544
|
-
isEmpty: import("vue").ComputedRef<boolean>;
|
545
|
-
setHover: () => void;
|
546
|
-
cancelHover: () => void;
|
547
|
-
handleFocus: () => void;
|
548
|
-
handleBlur: () => void;
|
549
|
-
toggleMenu: () => void;
|
550
|
-
handleClear: (e: Event) => void;
|
551
|
-
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
552
|
-
hidePopover: () => void;
|
553
|
-
showPopover: () => void;
|
515
|
+
currentSelectedLabel: import("vue").Ref<string>;
|
554
516
|
}> & {} & {} & import("vue").ComponentCustomProperties;
|
555
517
|
__isFragment?: never;
|
556
518
|
__isTeleport?: never;
|
@@ -565,6 +527,7 @@ declare const BkSelect: {
|
|
565
527
|
loading?: unknown;
|
566
528
|
filterable?: unknown;
|
567
529
|
remoteMethod?: unknown;
|
530
|
+
scrollHeight?: unknown;
|
568
531
|
} & {
|
569
532
|
placeholder: string;
|
570
533
|
size: string;
|
@@ -573,6 +536,7 @@ declare const BkSelect: {
|
|
573
536
|
loading: boolean;
|
574
537
|
clearable: boolean;
|
575
538
|
filterable: boolean;
|
539
|
+
scrollHeight: number;
|
576
540
|
} & {
|
577
541
|
modelValue?: any;
|
578
542
|
remoteMethod?: (...args: any[]) => any;
|
@@ -581,6 +545,33 @@ declare const BkSelect: {
|
|
581
545
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
582
546
|
onToggle?: (...args: any[]) => any;
|
583
547
|
}, {
|
548
|
+
selectedLabel: import("vue").ComputedRef<string>;
|
549
|
+
selectClass: import("vue").ComputedRef<{
|
550
|
+
[x: string]: boolean;
|
551
|
+
'bk-select': boolean;
|
552
|
+
'popover-show': boolean;
|
553
|
+
'is-disabled': boolean;
|
554
|
+
'is-focus': boolean;
|
555
|
+
}>;
|
556
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
557
|
+
isHover: import("vue").Ref<boolean>;
|
558
|
+
popperWidth: import("vue").Ref<string | number>;
|
559
|
+
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
560
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
561
|
+
searchKey: import("vue").Ref<string>;
|
562
|
+
searchLoading: import("vue").Ref<boolean>;
|
563
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
564
|
+
isFocus: import("vue").Ref<boolean>;
|
565
|
+
setHover: () => void;
|
566
|
+
cancelHover: () => void;
|
567
|
+
handleFocus: () => void;
|
568
|
+
handleInput: (e: any) => void;
|
569
|
+
toggleMenu: () => void;
|
570
|
+
handleClear: (e: Event) => void;
|
571
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
572
|
+
hidePopover: () => void;
|
573
|
+
showPopover: () => void;
|
574
|
+
currentPlaceholder: import("vue").Ref<string>;
|
584
575
|
options: import("vue").Ref<Set<{
|
585
576
|
$: import("vue").ComponentInternalInstance;
|
586
577
|
$data: {};
|
@@ -619,14 +610,8 @@ declare const BkSelect: {
|
|
619
610
|
label?: string | number;
|
620
611
|
value?: string | number | boolean;
|
621
612
|
}> & {}, {
|
622
|
-
selectItemClass: import("vue").ComputedRef<{
|
623
|
-
'is-selected': boolean;
|
624
|
-
'is-disabled': boolean;
|
625
|
-
'is-multiple': boolean;
|
626
|
-
'is-hover': boolean;
|
627
|
-
'bk-select-option': boolean;
|
628
|
-
}>;
|
629
613
|
selected: import("vue").ComputedRef<boolean>;
|
614
|
+
multiple: import("vue").ComputedRef<boolean>;
|
630
615
|
handleOptionClick: () => void;
|
631
616
|
visible: import("vue").Ref<boolean>;
|
632
617
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -661,14 +646,8 @@ declare const BkSelect: {
|
|
661
646
|
label?: string | number;
|
662
647
|
value?: string | number | boolean;
|
663
648
|
}> & {} & import("vue").ShallowUnwrapRef<{
|
664
|
-
selectItemClass: import("vue").ComputedRef<{
|
665
|
-
'is-selected': boolean;
|
666
|
-
'is-disabled': boolean;
|
667
|
-
'is-multiple': boolean;
|
668
|
-
'is-hover': boolean;
|
669
|
-
'bk-select-option': boolean;
|
670
|
-
}>;
|
671
649
|
selected: import("vue").ComputedRef<boolean>;
|
650
|
+
multiple: import("vue").ComputedRef<boolean>;
|
672
651
|
handleOptionClick: () => void;
|
673
652
|
visible: import("vue").Ref<boolean>;
|
674
653
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
@@ -710,14 +689,8 @@ declare const BkSelect: {
|
|
710
689
|
label?: string | number;
|
711
690
|
value?: string | number | boolean;
|
712
691
|
}> & {}, {
|
713
|
-
selectItemClass: import("vue").ComputedRef<{
|
714
|
-
'is-selected': boolean;
|
715
|
-
'is-disabled': boolean;
|
716
|
-
'is-multiple': boolean;
|
717
|
-
'is-hover': boolean;
|
718
|
-
'bk-select-option': boolean;
|
719
|
-
}>;
|
720
692
|
selected: import("vue").ComputedRef<boolean>;
|
693
|
+
multiple: import("vue").ComputedRef<boolean>;
|
721
694
|
handleOptionClick: () => void;
|
722
695
|
visible: import("vue").Ref<boolean>;
|
723
696
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -752,44 +725,12 @@ declare const BkSelect: {
|
|
752
725
|
label?: string | number;
|
753
726
|
value?: string | number | boolean;
|
754
727
|
}> & {} & import("vue").ShallowUnwrapRef<{
|
755
|
-
selectItemClass: import("vue").ComputedRef<{
|
756
|
-
'is-selected': boolean;
|
757
|
-
'is-disabled': boolean;
|
758
|
-
'is-multiple': boolean;
|
759
|
-
'is-hover': boolean;
|
760
|
-
'bk-select-option': boolean;
|
761
|
-
}>;
|
762
728
|
selected: import("vue").ComputedRef<boolean>;
|
729
|
+
multiple: import("vue").ComputedRef<boolean>;
|
763
730
|
handleOptionClick: () => void;
|
764
731
|
visible: import("vue").Ref<boolean>;
|
765
732
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
766
|
-
|
767
|
-
selectClass: import("vue").ComputedRef<{
|
768
|
-
[x: string]: boolean;
|
769
|
-
'bk-select': boolean;
|
770
|
-
'popover-show': boolean;
|
771
|
-
'is-disabled': boolean;
|
772
|
-
'is-focus': boolean;
|
773
|
-
}>;
|
774
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
775
|
-
placeholder: import("vue").Ref<string>;
|
776
|
-
filterable: import("vue").Ref<boolean>;
|
777
|
-
clearable: import("vue").Ref<boolean>;
|
778
|
-
isHover: import("vue").Ref<boolean>;
|
779
|
-
popperWidth: import("vue").Ref<string | number>;
|
780
|
-
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
781
|
-
searchKey: import("vue").Ref<string>;
|
782
|
-
searchLoading: import("vue").Ref<boolean>;
|
783
|
-
isEmpty: import("vue").ComputedRef<boolean>;
|
784
|
-
setHover: () => void;
|
785
|
-
cancelHover: () => void;
|
786
|
-
handleFocus: () => void;
|
787
|
-
handleBlur: () => void;
|
788
|
-
toggleMenu: () => void;
|
789
|
-
handleClear: (e: Event) => void;
|
790
|
-
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
791
|
-
hidePopover: () => void;
|
792
|
-
showPopover: () => void;
|
733
|
+
currentSelectedLabel: import("vue").Ref<string>;
|
793
734
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], "change" | "toggle" | "update:modelValue", {
|
794
735
|
placeholder: string;
|
795
736
|
size: string;
|
@@ -799,6 +740,7 @@ declare const BkSelect: {
|
|
799
740
|
clearable: boolean;
|
800
741
|
filterable: boolean;
|
801
742
|
remoteMethod: (...args: any[]) => any;
|
743
|
+
scrollHeight: number;
|
802
744
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
803
745
|
Option: import("vue").DefineComponent<{
|
804
746
|
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
@@ -809,14 +751,8 @@ declare const BkSelect: {
|
|
809
751
|
default: boolean;
|
810
752
|
};
|
811
753
|
}, {
|
812
|
-
selectItemClass: import("vue").ComputedRef<{
|
813
|
-
'is-selected': boolean;
|
814
|
-
'is-disabled': boolean;
|
815
|
-
'is-multiple': boolean;
|
816
|
-
'is-hover': boolean;
|
817
|
-
'bk-select-option': boolean;
|
818
|
-
}>;
|
819
754
|
selected: import("vue").ComputedRef<boolean>;
|
755
|
+
multiple: import("vue").ComputedRef<boolean>;
|
820
756
|
handleOptionClick: () => void;
|
821
757
|
visible: import("vue").Ref<boolean>;
|
822
758
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
@@ -831,7 +767,7 @@ declare const BkSelect: {
|
|
831
767
|
}> & {}, {
|
832
768
|
disabled: boolean;
|
833
769
|
}>;
|
834
|
-
|
770
|
+
Group: import("vue").DefineComponent<{
|
835
771
|
label: import("vue-types").VueTypeValidableDef<string> & {
|
836
772
|
default: string;
|
837
773
|
} & {
|
@@ -842,8 +778,17 @@ declare const BkSelect: {
|
|
842
778
|
} & {
|
843
779
|
default: boolean;
|
844
780
|
};
|
781
|
+
collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
|
782
|
+
default: boolean;
|
783
|
+
} & {
|
784
|
+
default: boolean;
|
785
|
+
};
|
786
|
+
collapse: import("vue-types").VueTypeValidableDef<boolean> & {
|
787
|
+
default: boolean;
|
788
|
+
} & {
|
789
|
+
default: boolean;
|
790
|
+
};
|
845
791
|
}, {
|
846
|
-
visible: import("vue").ComputedRef<boolean>;
|
847
792
|
children: import("vue").Ref<({
|
848
793
|
$: import("vue").ComponentInternalInstance;
|
849
794
|
$data: {};
|
@@ -882,14 +827,8 @@ declare const BkSelect: {
|
|
882
827
|
label?: string | number;
|
883
828
|
value?: string | number | boolean;
|
884
829
|
}> & {}, {
|
885
|
-
selectItemClass: import("vue").ComputedRef<{
|
886
|
-
'is-selected': boolean;
|
887
|
-
'is-disabled': boolean;
|
888
|
-
'is-multiple': boolean;
|
889
|
-
'is-hover': boolean;
|
890
|
-
'bk-select-option': boolean;
|
891
|
-
}>;
|
892
830
|
selected: import("vue").ComputedRef<boolean>;
|
831
|
+
multiple: import("vue").ComputedRef<boolean>;
|
893
832
|
handleOptionClick: () => void;
|
894
833
|
visible: import("vue").Ref<boolean>;
|
895
834
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -924,26 +863,30 @@ declare const BkSelect: {
|
|
924
863
|
label?: string | number;
|
925
864
|
value?: string | number | boolean;
|
926
865
|
}> & {} & import("vue").ShallowUnwrapRef<{
|
927
|
-
selectItemClass: import("vue").ComputedRef<{
|
928
|
-
'is-selected': boolean;
|
929
|
-
'is-disabled': boolean;
|
930
|
-
'is-multiple': boolean;
|
931
|
-
'is-hover': boolean;
|
932
|
-
'bk-select-option': boolean;
|
933
|
-
}>;
|
934
866
|
selected: import("vue").ComputedRef<boolean>;
|
867
|
+
multiple: import("vue").ComputedRef<boolean>;
|
935
868
|
handleOptionClick: () => void;
|
936
869
|
visible: import("vue").Ref<boolean>;
|
937
870
|
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
871
|
+
groupLabel: import("vue").ComputedRef<string>;
|
872
|
+
handleToggleCollapse: () => void;
|
873
|
+
groupCollapse: import("vue").Ref<boolean>;
|
874
|
+
visible: import("vue").Ref<boolean>;
|
938
875
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
939
876
|
label?: unknown;
|
940
877
|
disabled?: unknown;
|
878
|
+
collapsible?: unknown;
|
879
|
+
collapse?: unknown;
|
941
880
|
} & {
|
942
881
|
label: string;
|
882
|
+
collapse: boolean;
|
943
883
|
disabled: boolean;
|
884
|
+
collapsible: boolean;
|
944
885
|
} & {}> & {}, {
|
945
886
|
label: string;
|
887
|
+
collapse: boolean;
|
946
888
|
disabled: boolean;
|
889
|
+
collapsible: boolean;
|
947
890
|
}>;
|
948
891
|
}>;
|
949
892
|
export default BkSelect;
|