bkui-vue 0.0.1-beta.84 → 0.0.1-beta.85
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 +27 -27
- package/dist/index.esm.js +327 -413
- package/dist/index.umd.js +29 -29
- package/dist/style.css +1 -1
- package/lib/alert/alert.css +3 -3
- package/lib/alert/alert.less +5 -3
- package/lib/alert/alert.variable.css +3 -3
- package/lib/alert/index.js +1 -1
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/button/button.d.ts +1 -1
- package/lib/button/index.d.ts +4 -4
- package/lib/cascader/cascader.d.ts +2 -2
- package/lib/cascader/index.d.ts +7 -7
- package/lib/checkbox/index.js +1 -1
- package/lib/date-picker/date-picker.d.ts +1 -1
- package/lib/date-picker/index.d.ts +4 -4
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.d.ts +1 -1
- package/lib/dialog/index.d.ts +4 -4
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/dropdown/index.d.ts +7 -7
- package/lib/form/form-item.d.ts +3 -3
- package/lib/form/form.d.ts +23 -9
- package/lib/form/index.d.ts +44 -21
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +5 -4
- package/lib/form/validator.d.ts +1 -0
- package/lib/input/index.d.ts +20 -20
- package/lib/input/index.js +1 -1
- package/lib/input/input.d.ts +6 -6
- package/lib/link/index.d.ts +7 -7
- package/lib/link/link.d.ts +2 -2
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/notify/notifyConstructor.d.ts +2 -2
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/popover/index.d.ts +13 -13
- package/lib/popover/popover.d.ts +4 -4
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.d.ts +1 -1
- package/lib/radio/index.js +1 -1
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.d.ts +7 -7
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/select/index.d.ts +34 -87
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +2 -7
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.d.ts +6 -14
- package/lib/shared/index.d.ts +2 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/token.d.ts +4 -2
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +1 -1
- package/lib/tab/index.d.ts +5 -5
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/const.d.ts +3 -1
- package/lib/table/index.d.ts +68 -2
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +24 -0
- package/lib/table/table.d.ts +30 -0
- package/lib/table/utils.d.ts +7 -0
- package/lib/tag-input/index.d.ts +11 -11
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/tag-input.d.ts +3 -3
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +164 -150
- package/lib/transfer/index.js +1 -1
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +6 -6
- package/lib/transfer/transfer.d.ts +70 -95
- package/lib/transfer/transfer.less +4 -4
- package/lib/transfer/transfer.variable.css +6 -6
- package/lib/tree/index.js +1 -1
- package/lib/upload/upload-list.d.ts +1 -1
- package/lib/upload/upload-trigger.d.ts +1 -1
- package/lib/upload/upload.d.ts +1 -1
- package/lib/virtual-render/index.js +1 -1
- package/package.json +1 -1
- package/lib/form/common.d.ts +0 -3
- package/lib/styles/mixins/clearfix.css +0 -8
- package/lib/use-form.d.ts +0 -3
package/lib/progress/index.d.ts
CHANGED
@@ -5,9 +5,9 @@ declare const BkProgress: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
fixed: number;
|
7
7
|
type: string;
|
8
|
+
theme: string;
|
8
9
|
width: number;
|
9
10
|
color: string;
|
10
|
-
theme: string;
|
11
11
|
extCls: string;
|
12
12
|
strokeLinecap: string;
|
13
13
|
strokeWidth: number;
|
@@ -91,7 +91,7 @@ declare const BkProgress: {
|
|
91
91
|
[key: string]: any;
|
92
92
|
};
|
93
93
|
};
|
94
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "type" | "
|
94
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "type" | "theme" | "width" | "color" | "extCls" | "strokeLinecap" | "strokeWidth" | "format" | "percent" | "bgColor" | "titleStyle" | "showText" | "textInside">;
|
95
95
|
$attrs: {
|
96
96
|
[x: string]: unknown;
|
97
97
|
};
|
@@ -185,9 +185,9 @@ declare const BkProgress: {
|
|
185
185
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
186
186
|
fixed: number;
|
187
187
|
type: string;
|
188
|
+
theme: string;
|
188
189
|
width: number;
|
189
190
|
color: string;
|
190
|
-
theme: string;
|
191
191
|
extCls: string;
|
192
192
|
strokeLinecap: string;
|
193
193
|
strokeWidth: number;
|
@@ -380,9 +380,9 @@ declare const BkProgress: {
|
|
380
380
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
381
381
|
fixed: number;
|
382
382
|
type: string;
|
383
|
+
theme: string;
|
383
384
|
width: number;
|
384
385
|
color: string;
|
385
|
-
theme: string;
|
386
386
|
extCls: string;
|
387
387
|
strokeLinecap: string;
|
388
388
|
strokeWidth: number;
|
@@ -153,9 +153,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
153
153
|
}>>, {
|
154
154
|
fixed: number;
|
155
155
|
type: string;
|
156
|
+
theme: string;
|
156
157
|
width: number;
|
157
158
|
color: string;
|
158
|
-
theme: string;
|
159
159
|
extCls: string;
|
160
160
|
strokeLinecap: string;
|
161
161
|
strokeWidth: number;
|
package/lib/radio/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,((e,t)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return o[e](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{r.r(a),r.d(a,{BkRadio:()=>b,BkRadioButton:()=>p,BkRadioGroup:()=>f,default:()=>v});var e=r(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function o(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,a=[],i=!0,s=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(s)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,o):void 0}}(e,o)||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.")}()}var n=r(748),i=Symbol("RadioGroup");function s(){var e=(0,n.ref)(!1);return[e,{blur:function(){e.value=!1},focus:function(){e.value=!0}}]}var l=function(){var t=(0,n.getCurrentInstance)(),o=t.props,r=t.emit,a=(0,n.inject)(i,e.EMPTY_OBJ),
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,((e,t)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return o[e](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{r.r(a),r.d(a,{BkRadio:()=>b,BkRadioButton:()=>p,BkRadioGroup:()=>f,default:()=>v});var e=r(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function o(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,a=[],i=!0,s=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(s)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,o):void 0}}(e,o)||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.")}()}var n=r(748),i=Symbol("RadioGroup");function s(){var e=(0,n.ref)(!1);return[e,{blur:function(){e.value=!1},focus:function(){e.value=!0}}]}var l=function(){var t=(0,n.getCurrentInstance)(),o=t.props,r=t.emit,a=(0,e.useFormItem)(),s=(0,n.inject)(i,e.EMPTY_OBJ),l=!(0,e.isEmptyObj)(s),d=(0,n.ref)(o.checked),u=(0,n.computed)((function(){return!(!l||!s.props.disabled)||o.disabled}));return l?(0,n.watch)((function(){return s.props.modelValue}),(function(e){d.value=e===o.label})):(0,n.watch)((function(){return o.modelValue}),(function(e){""!==e&&(d.value=e===o.label)}),{immediate:!0}),(0,n.onMounted)((function(){l&&s.register(t.proxy)})),(0,n.onBeforeUnmount)((function(){l&&s.unregister(t.proxy)})),{isChecked:d,isDisabled:u,setChecked:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];d.value=e},handleChange:function(e){var i;if(!u.value){var c=e.target;d.value=c.checked;var p=d.value?o.label:"";r("change",p),r("update:modelValue",p),l&&s.handleChange(t.proxy),null===(i=null==a?void 0:a.validate)||void 0===i||i.call(a,"change"),(0,n.nextTick)((function(){c.checked!==d.value&&(c.checked=d.value)}))}}}},d={name:e.PropTypes.string.def(""),label:e.PropTypes.oneOfType([String,Number,Boolean]).isRequired,modelValue:e.PropTypes.oneOfType([String,Number,Boolean]).def(""),checked:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1)};const u=(0,n.defineComponent)({name:"Radio",props:d,emits:["change","update:modelValue"],setup:function(){var e=o(s(),2),t=e[0],n=e[1],r=n.blur,a=n.focus,i=l();return{isFocused:t,isChecked:i.isChecked,isDisabled:i.isDisabled,setChecked:i.setChecked,handleBlur:r,handleFocus:a,handleChange:i.handleChange}},render:function(){var t=(0,e.classes)({"bk-radio":!0,"is-focused":this.isFocused,"is-disabled":this.isDisabled,"is-checked":this.isChecked});return(0,n.createVNode)("label",{class:t,tabindex:"0"},[(0,n.createVNode)("input",{class:"bk-radio-input",type:"radio",tabindex:"0",value:this.label,checked:this.isChecked,disabled:this.isDisabled,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange},null),(0,n.createVNode)("span",{class:"bk-radio-text"},[this.$slots.default?this.$slots.default():this.label])])}});var c={name:e.PropTypes.string.def(""),label:e.PropTypes.oneOfType([String,Number,Boolean]).isRequired,modelValue:e.PropTypes.oneOfType([String,Number,Boolean]).def(""),checked:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),size:e.PropTypes.size};const p=(0,n.defineComponent)({name:"RadioButton",props:c,emits:["change","update:modelValue"],setup:function(){var e=o(s(),2),t=e[0],n=e[1],r=n.blur,a=n.focus,i=l(),d=i.isChecked,u=i.isDisabled,c=i.setChecked,p=i.handleChange;return{isFocused:t,realName:name,isChecked:d,isDisabled:u,setChecked:c,handleBlur:r,handleFocus:a,handleChange:p}},render:function(){var t=(0,e.classes)({"bk-radio-button":!0,"is-focused":this.isFocused,"is-disabled":this.isDisabled,"is-checked":this.isChecked});return(0,n.createVNode)("label",{class:t,tabindex:"0"},[(0,n.createVNode)("input",{class:"bk-radio-button-input",type:"radio",tabindex:"0",value:this.label,checked:this.isChecked,disabled:this.isDisabled,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange},null),(0,n.createVNode)("div",{class:"bk-radio-button-text"},[this.$slots.default?this.$slots.default():this.label])])}});var h={name:e.PropTypes.string.def(""),modelValue:e.PropTypes.oneOfType([String,Number,Boolean]),disabled:e.PropTypes.bool};const f=(0,n.defineComponent)({name:"RadioGroup",props:h,emits:["change","update:modelValue"],setup:function(e,t){var o=[];return(0,n.provide)(i,{props:e,register:function(e){o.push(e)},unregister:function(e){var t=o.indexOf(e);t>-1&&o.splice(t,1)},handleChange:function(e){var n=e.label;o.forEach((function(t){t!==e&&t.setChecked(!1)})),t.emit("update:modelValue",n),t.emit("change",n)}}),(0,n.onMounted)((function(){""!==e.modelValue&&o.forEach((function(t){t.setChecked(t.label===e.modelValue)}))})),{}},render:function(){var e;return(0,n.createVNode)("div",{class:"bk-radio-group"},[null===(e=this.$slots)||void 0===e?void 0:e.default()])}});var b=(0,e.withInstallProps)(u,{Group:f,Button:p});const v=b})(),a})()));
|
package/lib/rate/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},748:e=>{e.exports=t}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{a.r(n),a.d(n,{default:()=>s});var e=a(4212),t=a(748);const r=(0,t.defineComponent)({name:"Star",props:{rate:e.PropTypes.number.def(0),width:e.PropTypes.number.def(15),height:e.PropTypes.number.def(16),editable:e.PropTypes.bool.def(!0),hoverRate:e.PropTypes.number.def(0),max:e.PropTypes.number.def(5)},emits:["chooseRate","changeHover"],setup:function(r,o){var a=o.emit,n=function(t){return(0,e.classes)({"bk-is-select":t<Math.floor(s.value),"bk-is-edit":r.editable,"bk-rate-star":!0})},s=(0,t.computed)((function(){return r.hoverRate||r.rate})),i={width:"".concat(r.width,"px"),height:"".concat(r.height,"px"),minWidth:"".concat(r.width,"px")};return function(){return(0,t.createVNode)("p",{class:"bk-rate-stars"},[Array(r.max).fill(1).map((function(e,o){return(0,t.createVNode)("svg",{class:n(o),style:i,x:"0px",y:"0px",viewBox:"0 0 64 64",onClick:function(){return function(e){r.editable&&a("chooseRate",e+1)}(o)},onMouseenter:function(){return function(e){r.editable&&a("changeHover",e+1)}(o)}},[(0,t.createVNode)("g",{transform:"translate(-143.000000, -635.000000)"},[(0,t.createVNode)("g",{transform:"translate(83.000000, 114.000000)"},[(0,t.createVNode)("g",{transform:"translate(15.000000, 384.000000)"},[(0,t.createVNode)("g",{transform:"translate(29.000000, 137.000000)"},[(0,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)])])])])])}))])}}}),o=(0,t.defineComponent)({name:"Rate",components:{star:r},props:{modelValue:e.PropTypes.number.def(0),size:e.PropTypes.size(),editable:e.PropTypes.bool.def(!0)},emits:["change","update:modelValue"],setup:function(o,a){var n=a.emit,s=(0,t.ref)(0),
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},748:e=>{e.exports=t}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{a.r(n),a.d(n,{default:()=>s});var e=a(4212),t=a(748);const r=(0,t.defineComponent)({name:"Star",props:{rate:e.PropTypes.number.def(0),width:e.PropTypes.number.def(15),height:e.PropTypes.number.def(16),editable:e.PropTypes.bool.def(!0),hoverRate:e.PropTypes.number.def(0),max:e.PropTypes.number.def(5)},emits:["chooseRate","changeHover"],setup:function(r,o){var a=o.emit,n=function(t){return(0,e.classes)({"bk-is-select":t<Math.floor(s.value),"bk-is-edit":r.editable,"bk-rate-star":!0})},s=(0,t.computed)((function(){return r.hoverRate||r.rate})),i={width:"".concat(r.width,"px"),height:"".concat(r.height,"px"),minWidth:"".concat(r.width,"px")};return function(){return(0,t.createVNode)("p",{class:"bk-rate-stars"},[Array(r.max).fill(1).map((function(e,o){return(0,t.createVNode)("svg",{class:n(o),style:i,x:"0px",y:"0px",viewBox:"0 0 64 64",onClick:function(){return function(e){r.editable&&a("chooseRate",e+1)}(o)},onMouseenter:function(){return function(e){r.editable&&a("changeHover",e+1)}(o)}},[(0,t.createVNode)("g",{transform:"translate(-143.000000, -635.000000)"},[(0,t.createVNode)("g",{transform:"translate(83.000000, 114.000000)"},[(0,t.createVNode)("g",{transform:"translate(15.000000, 384.000000)"},[(0,t.createVNode)("g",{transform:"translate(29.000000, 137.000000)"},[(0,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)])])])])])}))])}}}),o=(0,t.defineComponent)({name:"Rate",components:{star:r},props:{modelValue:e.PropTypes.number.def(0),size:e.PropTypes.size(),editable:e.PropTypes.bool.def(!0)},emits:["change","update:modelValue"],setup:function(o,a){var n=a.emit,s=(0,e.useFormItem)(),i=(0,t.ref)(0),l=function(e){var t;o.editable&&(n("update:modelValue",e),n("change",e),null===(t=null==s?void 0:s.validate)||void 0===t||t.call(s,"change"))},u=function(e){i.value=e},d=(0,e.classes)({"bk-rate":!0}),c={small:{width:12,height:12},large:{width:18,height:18}}[o.size]||{width:15,height:16},p=(0,t.computed)((function(){var e=Math.floor(o.modelValue),t=(c.width+3)*e,r=c.width*(o.modelValue-e);return{width:"".concat(t+r,"px")}})),f={width:c.width,height:c.height};return function(){return(0,t.createVNode)("p",{class:d},[o.editable?(0,t.createVNode)(r,(0,t.mergeProps)({rate:o.modelValue,"hover-rate":i.value,onChooseRate:l,onChangeHover:u,onMouseleave:function(){return u(0)}},f),null):[(0,t.createVNode)(r,(0,t.mergeProps)({rate:5,style:p.value,class:"bk-score-real",editable:!1},f),null),(0,t.createVNode)(r,(0,t.mergeProps)({rate:0,editable:!1},f),null)]])}}}),s=(0,e.withInstall)(o)})(),n})()));
|
@@ -4,10 +4,10 @@ declare const BkResizeLayout: {
|
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
6
|
placement: string;
|
7
|
-
border: boolean;
|
8
7
|
disabled: boolean;
|
9
|
-
max: number;
|
10
8
|
min: number;
|
9
|
+
max: number;
|
10
|
+
border: boolean;
|
11
11
|
collapsible: boolean;
|
12
12
|
triggerWidth: number;
|
13
13
|
triggerOffset: number;
|
@@ -63,7 +63,7 @@ declare const BkResizeLayout: {
|
|
63
63
|
onResizing?: (...args: any[]) => any;
|
64
64
|
"onAfter-resize"?: (...args: any[]) => any;
|
65
65
|
"onCollapse-change"?: (...args: any[]) => any;
|
66
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "
|
66
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "disabled" | "min" | "max" | "border" | "collapsible" | "triggerWidth" | "triggerOffset" | "initialDivide" | "immediate" | "autoMinimize">;
|
67
67
|
$attrs: {
|
68
68
|
[x: string]: unknown;
|
69
69
|
};
|
@@ -148,10 +148,10 @@ declare const BkResizeLayout: {
|
|
148
148
|
setCollapse: (collapse: any) => void;
|
149
149
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("before-resize" | "resizing" | "after-resize" | "collapse-change")[], string, {
|
150
150
|
placement: string;
|
151
|
-
border: boolean;
|
152
151
|
disabled: boolean;
|
153
|
-
max: number;
|
154
152
|
min: number;
|
153
|
+
max: number;
|
154
|
+
border: boolean;
|
155
155
|
collapsible: boolean;
|
156
156
|
triggerWidth: number;
|
157
157
|
triggerOffset: number;
|
@@ -322,10 +322,10 @@ declare const BkResizeLayout: {
|
|
322
322
|
setCollapse: (collapse: any) => void;
|
323
323
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("before-resize" | "resizing" | "after-resize" | "collapse-change")[], "before-resize" | "resizing" | "after-resize" | "collapse-change", {
|
324
324
|
placement: string;
|
325
|
-
border: boolean;
|
326
325
|
disabled: boolean;
|
327
|
-
max: number;
|
328
326
|
min: number;
|
327
|
+
max: number;
|
328
|
+
border: boolean;
|
329
329
|
collapsible: boolean;
|
330
330
|
triggerWidth: number;
|
331
331
|
triggerOffset: number;
|
@@ -113,10 +113,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
113
113
|
"onCollapse-change"?: (...args: any[]) => any;
|
114
114
|
}, {
|
115
115
|
placement: string;
|
116
|
-
border: boolean;
|
117
116
|
disabled: boolean;
|
118
|
-
max: number;
|
119
117
|
min: number;
|
118
|
+
max: number;
|
119
|
+
border: boolean;
|
120
120
|
collapsible: boolean;
|
121
121
|
triggerWidth: number;
|
122
122
|
triggerOffset: number;
|
package/lib/select/index.d.ts
CHANGED
@@ -5,14 +5,14 @@ declare const BkSelect: {
|
|
5
5
|
$: import("vue").ComponentInternalInstance;
|
6
6
|
$data: {};
|
7
7
|
$props: Partial<{
|
8
|
+
showOnInit: boolean;
|
9
|
+
disabled: boolean;
|
8
10
|
placeholder: string;
|
9
11
|
size: string;
|
10
12
|
multiple: boolean;
|
11
|
-
disabled: boolean;
|
12
13
|
loading: boolean;
|
13
14
|
clearable: boolean;
|
14
15
|
behavior: string;
|
15
|
-
showOnInit: boolean;
|
16
16
|
tagTheme: string;
|
17
17
|
filterable: boolean;
|
18
18
|
allowCreate: boolean;
|
@@ -135,7 +135,7 @@ declare const BkSelect: {
|
|
135
135
|
onClear?: (...args: any[]) => any;
|
136
136
|
onToggle?: (...args: any[]) => any;
|
137
137
|
"onScroll-end"?: (...args: any[]) => any;
|
138
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
138
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "tagTheme" | "filterable" | "allowCreate" | "popoverMinWidth" | "remoteMethod" | "scrollHeight" | "showSelectAll" | "multipleMode" | "collapseTags" | "noDataText" | "noMatchText" | "loadingText" | "selectAllText" | "scrollLoading">;
|
139
139
|
$attrs: {
|
140
140
|
[x: string]: unknown;
|
141
141
|
};
|
@@ -267,19 +267,16 @@ declare const BkSelect: {
|
|
267
267
|
$: import("vue").ComponentInternalInstance;
|
268
268
|
$data: {};
|
269
269
|
$props: Partial<{
|
270
|
-
label: string;
|
271
270
|
disabled: boolean;
|
272
271
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
273
272
|
value: import("vue-types").VueTypeValidableDef<any>;
|
274
|
-
label: import("vue-types").
|
275
|
-
default: string;
|
276
|
-
};
|
273
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
277
274
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
278
275
|
default: boolean;
|
279
276
|
} & {
|
280
277
|
default: boolean;
|
281
278
|
};
|
282
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
279
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
283
280
|
$attrs: {
|
284
281
|
[x: string]: unknown;
|
285
282
|
};
|
@@ -295,9 +292,7 @@ declare const BkSelect: {
|
|
295
292
|
$el: any;
|
296
293
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
297
294
|
value: import("vue-types").VueTypeValidableDef<any>;
|
298
|
-
label: import("vue-types").
|
299
|
-
default: string;
|
300
|
-
};
|
295
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
301
296
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
302
297
|
default: boolean;
|
303
298
|
} & {
|
@@ -311,7 +306,6 @@ declare const BkSelect: {
|
|
311
306
|
handleMouseEnter: () => void;
|
312
307
|
visible: import("vue").Ref<boolean>;
|
313
308
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
314
|
-
label: string;
|
315
309
|
disabled: boolean;
|
316
310
|
}> & {
|
317
311
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -335,9 +329,7 @@ declare const BkSelect: {
|
|
335
329
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
336
330
|
} & Readonly<import("vue").ExtractPropTypes<{
|
337
331
|
value: import("vue-types").VueTypeValidableDef<any>;
|
338
|
-
label: import("vue-types").
|
339
|
-
default: string;
|
340
|
-
};
|
332
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
341
333
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
342
334
|
default: boolean;
|
343
335
|
} & {
|
@@ -532,19 +524,16 @@ declare const BkSelect: {
|
|
532
524
|
$: import("vue").ComponentInternalInstance;
|
533
525
|
$data: {};
|
534
526
|
$props: Partial<{
|
535
|
-
label: string;
|
536
527
|
disabled: boolean;
|
537
528
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
538
529
|
value: import("vue-types").VueTypeValidableDef<any>;
|
539
|
-
label: import("vue-types").
|
540
|
-
default: string;
|
541
|
-
};
|
530
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
542
531
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
543
532
|
default: boolean;
|
544
533
|
} & {
|
545
534
|
default: boolean;
|
546
535
|
};
|
547
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
536
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
548
537
|
$attrs: {
|
549
538
|
[x: string]: unknown;
|
550
539
|
};
|
@@ -560,9 +549,7 @@ declare const BkSelect: {
|
|
560
549
|
$el: any;
|
561
550
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
562
551
|
value: import("vue-types").VueTypeValidableDef<any>;
|
563
|
-
label: import("vue-types").
|
564
|
-
default: string;
|
565
|
-
};
|
552
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
566
553
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
567
554
|
default: boolean;
|
568
555
|
} & {
|
@@ -576,7 +563,6 @@ declare const BkSelect: {
|
|
576
563
|
handleMouseEnter: () => void;
|
577
564
|
visible: import("vue").Ref<boolean>;
|
578
565
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
579
|
-
label: string;
|
580
566
|
disabled: boolean;
|
581
567
|
}> & {
|
582
568
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -600,9 +586,7 @@ declare const BkSelect: {
|
|
600
586
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
601
587
|
} & Readonly<import("vue").ExtractPropTypes<{
|
602
588
|
value: import("vue-types").VueTypeValidableDef<any>;
|
603
|
-
label: import("vue-types").
|
604
|
-
default: string;
|
605
|
-
};
|
589
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
606
590
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
607
591
|
default: boolean;
|
608
592
|
} & {
|
@@ -623,14 +607,14 @@ declare const BkSelect: {
|
|
623
607
|
handleInputEnter: (value: any, e: Event) => void;
|
624
608
|
handleKeydown: (e: KeyboardEvent) => void;
|
625
609
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], string, {
|
610
|
+
showOnInit: boolean;
|
611
|
+
disabled: boolean;
|
626
612
|
placeholder: string;
|
627
613
|
size: string;
|
628
614
|
multiple: boolean;
|
629
|
-
disabled: boolean;
|
630
615
|
loading: boolean;
|
631
616
|
clearable: boolean;
|
632
617
|
behavior: string;
|
633
|
-
showOnInit: boolean;
|
634
618
|
tagTheme: string;
|
635
619
|
filterable: boolean;
|
636
620
|
allowCreate: boolean;
|
@@ -783,19 +767,16 @@ declare const BkSelect: {
|
|
783
767
|
$: import("vue").ComponentInternalInstance;
|
784
768
|
$data: {};
|
785
769
|
$props: Partial<{
|
786
|
-
label: string;
|
787
770
|
disabled: boolean;
|
788
771
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
789
772
|
value: import("vue-types").VueTypeValidableDef<any>;
|
790
|
-
label: import("vue-types").
|
791
|
-
default: string;
|
792
|
-
};
|
773
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
793
774
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
794
775
|
default: boolean;
|
795
776
|
} & {
|
796
777
|
default: boolean;
|
797
778
|
};
|
798
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
779
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
799
780
|
$attrs: {
|
800
781
|
[x: string]: unknown;
|
801
782
|
};
|
@@ -811,9 +792,7 @@ declare const BkSelect: {
|
|
811
792
|
$el: any;
|
812
793
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
813
794
|
value: import("vue-types").VueTypeValidableDef<any>;
|
814
|
-
label: import("vue-types").
|
815
|
-
default: string;
|
816
|
-
};
|
795
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
817
796
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
818
797
|
default: boolean;
|
819
798
|
} & {
|
@@ -827,7 +806,6 @@ declare const BkSelect: {
|
|
827
806
|
handleMouseEnter: () => void;
|
828
807
|
visible: import("vue").Ref<boolean>;
|
829
808
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
830
|
-
label: string;
|
831
809
|
disabled: boolean;
|
832
810
|
}> & {
|
833
811
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -851,9 +829,7 @@ declare const BkSelect: {
|
|
851
829
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
852
830
|
} & Readonly<import("vue").ExtractPropTypes<{
|
853
831
|
value: import("vue-types").VueTypeValidableDef<any>;
|
854
|
-
label: import("vue-types").
|
855
|
-
default: string;
|
856
|
-
};
|
832
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
857
833
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
858
834
|
default: boolean;
|
859
835
|
} & {
|
@@ -1048,19 +1024,16 @@ declare const BkSelect: {
|
|
1048
1024
|
$: import("vue").ComponentInternalInstance;
|
1049
1025
|
$data: {};
|
1050
1026
|
$props: Partial<{
|
1051
|
-
label: string;
|
1052
1027
|
disabled: boolean;
|
1053
1028
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1054
1029
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1055
|
-
label: import("vue-types").
|
1056
|
-
default: string;
|
1057
|
-
};
|
1030
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1058
1031
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1059
1032
|
default: boolean;
|
1060
1033
|
} & {
|
1061
1034
|
default: boolean;
|
1062
1035
|
};
|
1063
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
1036
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
1064
1037
|
$attrs: {
|
1065
1038
|
[x: string]: unknown;
|
1066
1039
|
};
|
@@ -1076,9 +1049,7 @@ declare const BkSelect: {
|
|
1076
1049
|
$el: any;
|
1077
1050
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1078
1051
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1079
|
-
label: import("vue-types").
|
1080
|
-
default: string;
|
1081
|
-
};
|
1052
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1082
1053
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1083
1054
|
default: boolean;
|
1084
1055
|
} & {
|
@@ -1092,7 +1063,6 @@ declare const BkSelect: {
|
|
1092
1063
|
handleMouseEnter: () => void;
|
1093
1064
|
visible: import("vue").Ref<boolean>;
|
1094
1065
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
1095
|
-
label: string;
|
1096
1066
|
disabled: boolean;
|
1097
1067
|
}> & {
|
1098
1068
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -1116,9 +1086,7 @@ declare const BkSelect: {
|
|
1116
1086
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
1117
1087
|
} & Readonly<import("vue").ExtractPropTypes<{
|
1118
1088
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1119
|
-
label: import("vue-types").
|
1120
|
-
default: string;
|
1121
|
-
};
|
1089
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1122
1090
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1123
1091
|
default: boolean;
|
1124
1092
|
} & {
|
@@ -1260,19 +1228,16 @@ declare const BkSelect: {
|
|
1260
1228
|
$: import("vue").ComponentInternalInstance;
|
1261
1229
|
$data: {};
|
1262
1230
|
$props: Partial<{
|
1263
|
-
label: string;
|
1264
1231
|
disabled: boolean;
|
1265
1232
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1266
1233
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1267
|
-
label: import("vue-types").
|
1268
|
-
default: string;
|
1269
|
-
};
|
1234
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1270
1235
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1271
1236
|
default: boolean;
|
1272
1237
|
} & {
|
1273
1238
|
default: boolean;
|
1274
1239
|
};
|
1275
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
1240
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
1276
1241
|
$attrs: {
|
1277
1242
|
[x: string]: unknown;
|
1278
1243
|
};
|
@@ -1288,9 +1253,7 @@ declare const BkSelect: {
|
|
1288
1253
|
$el: any;
|
1289
1254
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1290
1255
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1291
|
-
label: import("vue-types").
|
1292
|
-
default: string;
|
1293
|
-
};
|
1256
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1294
1257
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1295
1258
|
default: boolean;
|
1296
1259
|
} & {
|
@@ -1304,7 +1267,6 @@ declare const BkSelect: {
|
|
1304
1267
|
handleMouseEnter: () => void;
|
1305
1268
|
visible: import("vue").Ref<boolean>;
|
1306
1269
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
1307
|
-
label: string;
|
1308
1270
|
disabled: boolean;
|
1309
1271
|
}> & {
|
1310
1272
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -1328,9 +1290,7 @@ declare const BkSelect: {
|
|
1328
1290
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
1329
1291
|
} & Readonly<import("vue").ExtractPropTypes<{
|
1330
1292
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1331
|
-
label: import("vue-types").
|
1332
|
-
default: string;
|
1333
|
-
};
|
1293
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1334
1294
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1335
1295
|
default: boolean;
|
1336
1296
|
} & {
|
@@ -1525,19 +1485,16 @@ declare const BkSelect: {
|
|
1525
1485
|
$: import("vue").ComponentInternalInstance;
|
1526
1486
|
$data: {};
|
1527
1487
|
$props: Partial<{
|
1528
|
-
label: string;
|
1529
1488
|
disabled: boolean;
|
1530
1489
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1531
1490
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1532
|
-
label: import("vue-types").
|
1533
|
-
default: string;
|
1534
|
-
};
|
1491
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1535
1492
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1536
1493
|
default: boolean;
|
1537
1494
|
} & {
|
1538
1495
|
default: boolean;
|
1539
1496
|
};
|
1540
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
1497
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
1541
1498
|
$attrs: {
|
1542
1499
|
[x: string]: unknown;
|
1543
1500
|
};
|
@@ -1553,9 +1510,7 @@ declare const BkSelect: {
|
|
1553
1510
|
$el: any;
|
1554
1511
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1555
1512
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1556
|
-
label: import("vue-types").
|
1557
|
-
default: string;
|
1558
|
-
};
|
1513
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1559
1514
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1560
1515
|
default: boolean;
|
1561
1516
|
} & {
|
@@ -1569,7 +1524,6 @@ declare const BkSelect: {
|
|
1569
1524
|
handleMouseEnter: () => void;
|
1570
1525
|
visible: import("vue").Ref<boolean>;
|
1571
1526
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
1572
|
-
label: string;
|
1573
1527
|
disabled: boolean;
|
1574
1528
|
}> & {
|
1575
1529
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -1593,9 +1547,7 @@ declare const BkSelect: {
|
|
1593
1547
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
1594
1548
|
} & Readonly<import("vue").ExtractPropTypes<{
|
1595
1549
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1596
|
-
label: import("vue-types").
|
1597
|
-
default: string;
|
1598
|
-
};
|
1550
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1599
1551
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1600
1552
|
default: boolean;
|
1601
1553
|
} & {
|
@@ -1616,14 +1568,14 @@ declare const BkSelect: {
|
|
1616
1568
|
handleInputEnter: (value: any, e: Event) => void;
|
1617
1569
|
handleKeydown: (e: KeyboardEvent) => void;
|
1618
1570
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", {
|
1571
|
+
showOnInit: boolean;
|
1572
|
+
disabled: boolean;
|
1619
1573
|
placeholder: string;
|
1620
1574
|
size: string;
|
1621
1575
|
multiple: boolean;
|
1622
|
-
disabled: boolean;
|
1623
1576
|
loading: boolean;
|
1624
1577
|
clearable: boolean;
|
1625
1578
|
behavior: string;
|
1626
|
-
showOnInit: boolean;
|
1627
1579
|
tagTheme: string;
|
1628
1580
|
filterable: boolean;
|
1629
1581
|
allowCreate: boolean;
|
@@ -1641,9 +1593,7 @@ declare const BkSelect: {
|
|
1641
1593
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
1642
1594
|
Option: import("vue").DefineComponent<{
|
1643
1595
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1644
|
-
label: import("vue-types").
|
1645
|
-
default: string;
|
1646
|
-
};
|
1596
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1647
1597
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1648
1598
|
default: boolean;
|
1649
1599
|
} & {
|
@@ -1658,16 +1608,13 @@ declare const BkSelect: {
|
|
1658
1608
|
visible: import("vue").Ref<boolean>;
|
1659
1609
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1660
1610
|
value: import("vue-types").VueTypeValidableDef<any>;
|
1661
|
-
label: import("vue-types").
|
1662
|
-
default: string;
|
1663
|
-
};
|
1611
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1664
1612
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1665
1613
|
default: boolean;
|
1666
1614
|
} & {
|
1667
1615
|
default: boolean;
|
1668
1616
|
};
|
1669
1617
|
}>>, {
|
1670
|
-
label: string;
|
1671
1618
|
disabled: boolean;
|
1672
1619
|
}>;
|
1673
1620
|
Group: import("vue").DefineComponent<{
|
@@ -1719,8 +1666,8 @@ declare const BkSelect: {
|
|
1719
1666
|
};
|
1720
1667
|
}>>, {
|
1721
1668
|
label: string;
|
1722
|
-
collapse: boolean;
|
1723
1669
|
disabled: boolean;
|
1670
|
+
collapse: boolean;
|
1724
1671
|
collapsible: boolean;
|
1725
1672
|
}>;
|
1726
1673
|
}>;
|