bkui-vue 0.0.1-beta.155 → 0.0.1-beta.158
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 +39 -39
- package/dist/index.esm.js +290 -164
- package/dist/index.umd.js +40 -40
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +2 -2
- package/lib/alert/alert.variable.css +2 -2
- package/lib/backtop/backtop.variable.css +2 -2
- package/lib/badge/badge.variable.css +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +2 -2
- package/lib/button/button.variable.css +2 -2
- package/lib/card/card.variable.css +2 -2
- package/lib/cascader/cascader-panel.d.ts +4 -4
- package/lib/cascader/cascader.css +13 -3
- package/lib/cascader/cascader.d.ts +2 -2
- package/lib/cascader/cascader.less +14 -1
- package/lib/cascader/cascader.variable.css +13 -3
- package/lib/cascader/index.d.ts +10 -10
- package/lib/cascader/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.variable.css +2 -2
- package/lib/checkbox/index.d.ts +11 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/code-diff/code-diff.variable.css +2 -2
- package/lib/collapse/collapse.variable.css +2 -2
- package/lib/color-picker/color-picker.d.ts +16 -0
- package/lib/color-picker/color-picker.variable.css +2 -2
- package/lib/color-picker/index.d.ts +24 -1
- package/lib/color-picker/index.js +1 -1
- package/lib/container/container.variable.css +2 -2
- package/lib/date-picker/date-picker.d.ts +9 -0
- package/lib/date-picker/date-picker.variable.css +2 -2
- package/lib/date-picker/index.d.ts +20 -1
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/props.d.ts +4 -0
- package/lib/divider/divider.variable.css +2 -2
- package/lib/dropdown/dropdown.variable.css +2 -2
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +10 -3
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +42 -16
- package/lib/exception/index.d.ts +23 -8
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
- package/lib/form/form-item.d.ts +1 -1
- package/lib/form/form.css +6 -0
- package/lib/form/form.less +9 -0
- package/lib/form/form.variable.css +8 -2
- package/lib/form/index.d.ts +1 -1
- package/lib/form/index.js +1 -1
- package/lib/input/index.d.ts +27 -4
- package/lib/input/index.js +1 -1
- package/lib/input/input.d.ts +17 -1
- package/lib/input/input.variable.css +2 -2
- package/lib/link/link.variable.css +2 -2
- package/lib/loading/loading.variable.css +2 -2
- package/lib/menu/menu.variable.css +2 -2
- package/lib/menu/submenu.variable.css +2 -2
- package/lib/message/message.variable.css +2 -2
- package/lib/navigation/navigation.variable.css +2 -2
- package/lib/notify/notify.variable.css +2 -2
- package/lib/pagination/pagination.variable.css +2 -2
- package/lib/popover/popover.variable.css +2 -2
- package/lib/popover2/popover2.variable.css +2 -2
- package/lib/process/index.js +1 -1
- package/lib/process/process.variable.css +2 -2
- package/lib/progress/progress.variable.css +2 -2
- package/lib/radio/index.d.ts +11 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-group.d.ts +16 -0
- package/lib/radio/radio.variable.css +2 -2
- package/lib/rate/index.d.ts +24 -1
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +11 -0
- package/lib/resize-layout/index.d.ts +4 -4
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.variable.css +2 -2
- package/lib/select/index.d.ts +88 -25
- package/lib/select/index.js +1 -1
- package/lib/select/select.css +54 -24
- package/lib/select/select.d.ts +39 -8
- package/lib/select/select.less +62 -24
- package/lib/select/select.variable.css +56 -26
- package/lib/select/selectTagInput.d.ts +1 -3
- package/lib/shared/dom.d.ts +2 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +1 -1
- package/lib/sideslider/sideslider.variable.css +2 -2
- package/lib/slider/slider.variable.css +2 -2
- package/lib/steps/steps.variable.css +2 -2
- package/lib/styles/mixins/scroll.variable.css +2 -2
- package/lib/styles/themes/themes.less +2 -2
- package/lib/switcher/index.d.ts +24 -1
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +11 -0
- package/lib/switcher/switcher.variable.css +2 -2
- package/lib/tab/tab.variable.css +2 -2
- package/lib/table/const.d.ts +2 -2
- package/lib/table/index.d.ts +6 -6
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.variable.css +2 -2
- package/lib/table/plugins/head-sort.variable.css +2 -2
- package/lib/table/plugins/settings.variable.css +2 -2
- package/lib/table/table.css +52 -18
- package/lib/table/table.d.ts +2 -2
- package/lib/table/table.less +13 -6
- package/lib/table/table.variable.css +54 -20
- package/lib/tag/tag.css +23 -8
- package/lib/tag/tag.less +25 -8
- package/lib/tag/tag.variable.css +25 -10
- package/lib/tag-input/index.d.ts +20 -1
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/tag-input.d.ts +10 -1
- package/lib/tag-input/tag-input.variable.css +2 -2
- package/lib/tag-input/tag-props.d.ts +4 -0
- package/lib/timeline/timeline.variable.css +2 -2
- package/lib/transfer/index.d.ts +4 -4
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/transfer/transfer.variable.css +2 -2
- package/lib/tree/tree.css +5 -1
- package/lib/tree/tree.less +8 -1
- package/lib/tree/tree.variable.css +7 -3
- package/lib/upload/upload.variable.css +2 -2
- package/lib/virtual-render/virtual-render.variable.css +2 -2
- package/package.json +1 -1
package/lib/rate/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ declare const BkRate: {
|
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
6
|
modelValue: number;
|
7
|
+
withValidate: boolean;
|
7
8
|
editable: boolean;
|
8
9
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
9
10
|
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -17,10 +18,15 @@ declare const BkRate: {
|
|
17
18
|
} & {
|
18
19
|
default: boolean;
|
19
20
|
};
|
21
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
22
|
+
default: boolean;
|
23
|
+
} & {
|
24
|
+
default: boolean;
|
25
|
+
};
|
20
26
|
}>> & {
|
21
27
|
onChange?: (...args: any[]) => any;
|
22
28
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
23
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "editable">;
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "withValidate" | "editable">;
|
24
30
|
$attrs: {
|
25
31
|
[x: string]: unknown;
|
26
32
|
};
|
@@ -46,11 +52,17 @@ declare const BkRate: {
|
|
46
52
|
} & {
|
47
53
|
default: boolean;
|
48
54
|
};
|
55
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
56
|
+
default: boolean;
|
57
|
+
} & {
|
58
|
+
default: boolean;
|
59
|
+
};
|
49
60
|
}>> & {
|
50
61
|
onChange?: (...args: any[]) => any;
|
51
62
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
52
63
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
|
53
64
|
modelValue: number;
|
65
|
+
withValidate: boolean;
|
54
66
|
editable: boolean;
|
55
67
|
}> & {
|
56
68
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -84,6 +96,11 @@ declare const BkRate: {
|
|
84
96
|
} & {
|
85
97
|
default: boolean;
|
86
98
|
};
|
99
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
100
|
+
default: boolean;
|
101
|
+
} & {
|
102
|
+
default: boolean;
|
103
|
+
};
|
87
104
|
}>> & {
|
88
105
|
onChange?: (...args: any[]) => any;
|
89
106
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -103,11 +120,17 @@ declare const BkRate: {
|
|
103
120
|
} & {
|
104
121
|
default: boolean;
|
105
122
|
};
|
123
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
124
|
+
default: boolean;
|
125
|
+
} & {
|
126
|
+
default: boolean;
|
127
|
+
};
|
106
128
|
}>> & {
|
107
129
|
onChange?: (...args: any[]) => any;
|
108
130
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
109
131
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
110
132
|
modelValue: number;
|
133
|
+
withValidate: boolean;
|
111
134
|
editable: boolean;
|
112
135
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
113
136
|
export default BkRate;
|
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:()=>
|
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:()=>i});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(i.value),"bk-is-edit":r.editable,"bk-rate-star":!0})},i=(0,t.computed)((function(){return r.hoverRate||r.rate})),s={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:s,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),withValidate:e.PropTypes.bool.def(!0)},emits:["change","update:modelValue"],setup:function(o,a){var n=a.emit,i=(0,e.useFormItem)(),s=(0,t.ref)(0),l=function(e){o.editable&&(n("update:modelValue",e),n("change",e))},u=function(e){s.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(0,t.watch)((function(){return o.modelValue}),(function(){var e;o.withValidate&&(null===(e=null==i?void 0:i.validate)||void 0===e||e.call(i,"change"))})),function(){return(0,t.createVNode)("p",{class:d},[o.editable?(0,t.createVNode)(r,(0,t.mergeProps)({rate:o.modelValue,"hover-rate":s.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)]])}}}),i=(0,e.withInstall)(o)})(),n})()));
|
package/lib/rate/rate.d.ts
CHANGED
@@ -10,6 +10,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
} & {
|
11
11
|
default: boolean;
|
12
12
|
};
|
13
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
14
|
+
default: boolean;
|
15
|
+
} & {
|
16
|
+
default: boolean;
|
17
|
+
};
|
13
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
14
19
|
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
15
20
|
default: number;
|
@@ -22,11 +27,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
27
|
} & {
|
23
28
|
default: boolean;
|
24
29
|
};
|
30
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
31
|
+
default: boolean;
|
32
|
+
} & {
|
33
|
+
default: boolean;
|
34
|
+
};
|
25
35
|
}>> & {
|
26
36
|
onChange?: (...args: any[]) => any;
|
27
37
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
28
38
|
}, {
|
29
39
|
modelValue: number;
|
40
|
+
withValidate: boolean;
|
30
41
|
editable: boolean;
|
31
42
|
}>;
|
32
43
|
export default _default;
|
@@ -5,8 +5,8 @@ declare const BkResizeLayout: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
placement: string;
|
7
7
|
disabled: boolean;
|
8
|
-
min: number;
|
9
8
|
max: number;
|
9
|
+
min: number;
|
10
10
|
border: boolean;
|
11
11
|
collapsible: boolean;
|
12
12
|
triggerWidth: 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" | "disabled" | "
|
66
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "disabled" | "max" | "min" | "border" | "collapsible" | "triggerWidth" | "triggerOffset" | "initialDivide" | "immediate" | "autoMinimize">;
|
67
67
|
$attrs: {
|
68
68
|
[x: string]: unknown;
|
69
69
|
};
|
@@ -149,8 +149,8 @@ declare const BkResizeLayout: {
|
|
149
149
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("before-resize" | "resizing" | "after-resize" | "collapse-change")[], string, {
|
150
150
|
placement: string;
|
151
151
|
disabled: boolean;
|
152
|
-
min: number;
|
153
152
|
max: number;
|
153
|
+
min: number;
|
154
154
|
border: boolean;
|
155
155
|
collapsible: boolean;
|
156
156
|
triggerWidth: number;
|
@@ -323,8 +323,8 @@ declare const BkResizeLayout: {
|
|
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
325
|
disabled: boolean;
|
326
|
-
min: number;
|
327
326
|
max: number;
|
327
|
+
min: number;
|
328
328
|
border: boolean;
|
329
329
|
collapsible: boolean;
|
330
330
|
triggerWidth: number;
|
@@ -107,8 +107,8 @@
|
|
107
107
|
--table-row-hover-bg-color: #f5f7fa;
|
108
108
|
--table-row-active-bg-color: #f0f1f5;
|
109
109
|
--cascader-panel-border-color: #dcdee5;
|
110
|
-
--cascader-panel-hover: #
|
111
|
-
--cascader-panel-active: #
|
110
|
+
--cascader-panel-hover: #f5f7fa;
|
111
|
+
--cascader-panel-active: #e1ecff;
|
112
112
|
--cascader-panel-disabled-bg: #fff;
|
113
113
|
}
|
114
114
|
.bk-resize-layout {
|
package/lib/select/index.d.ts
CHANGED
@@ -14,6 +14,7 @@ declare const BkSelect: {
|
|
14
14
|
loading: boolean;
|
15
15
|
clearable: boolean;
|
16
16
|
behavior: string;
|
17
|
+
withValidate: boolean;
|
17
18
|
showSelectedIcon: boolean;
|
18
19
|
tagTheme: string;
|
19
20
|
filterable: boolean;
|
@@ -31,10 +32,12 @@ declare const BkSelect: {
|
|
31
32
|
noDataText: string;
|
32
33
|
noMatchText: string;
|
33
34
|
loadingText: string;
|
35
|
+
searchPlaceholder: string;
|
34
36
|
selectAllText: string;
|
35
37
|
scrollLoading: boolean;
|
36
38
|
customContent: boolean;
|
37
39
|
displayKey: string;
|
40
|
+
inputSearch: boolean;
|
38
41
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
39
42
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
40
43
|
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -122,6 +125,11 @@ declare const BkSelect: {
|
|
122
125
|
} & {
|
123
126
|
default: string;
|
124
127
|
};
|
128
|
+
searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
|
129
|
+
default: string;
|
130
|
+
} & {
|
131
|
+
default: string;
|
132
|
+
};
|
125
133
|
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
126
134
|
default: string;
|
127
135
|
} & {
|
@@ -168,11 +176,21 @@ declare const BkSelect: {
|
|
168
176
|
} & {
|
169
177
|
default: string;
|
170
178
|
};
|
179
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
180
|
+
default: boolean;
|
181
|
+
} & {
|
182
|
+
default: boolean;
|
183
|
+
};
|
171
184
|
showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
172
185
|
default: boolean;
|
173
186
|
} & {
|
174
187
|
default: boolean;
|
175
188
|
};
|
189
|
+
inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
|
190
|
+
default: boolean;
|
191
|
+
} & {
|
192
|
+
default: boolean;
|
193
|
+
};
|
176
194
|
}>> & {
|
177
195
|
onFocus?: (...args: any[]) => any;
|
178
196
|
onBlur?: (...args: any[]) => any;
|
@@ -181,7 +199,7 @@ declare const BkSelect: {
|
|
181
199
|
onClear?: (...args: any[]) => any;
|
182
200
|
onToggle?: (...args: any[]) => any;
|
183
201
|
"onScroll-end"?: (...args: any[]) => any;
|
184
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "popoverMinWidth" | "idKey" | "remoteMethod" | "popoverOptions" | "scrollHeight" | "showSelectAll" | "multipleMode" | "collapseTags" | "noDataText" | "noMatchText" | "loadingText" | "selectAllText" | "scrollLoading" | "customContent" | "displayKey">;
|
202
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "withValidate" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "popoverMinWidth" | "idKey" | "remoteMethod" | "popoverOptions" | "scrollHeight" | "showSelectAll" | "multipleMode" | "collapseTags" | "noDataText" | "noMatchText" | "loadingText" | "searchPlaceholder" | "selectAllText" | "scrollLoading" | "customContent" | "displayKey" | "inputSearch">;
|
185
203
|
$attrs: {
|
186
204
|
[x: string]: unknown;
|
187
205
|
};
|
@@ -282,6 +300,11 @@ declare const BkSelect: {
|
|
282
300
|
} & {
|
283
301
|
default: string;
|
284
302
|
};
|
303
|
+
searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
|
304
|
+
default: string;
|
305
|
+
} & {
|
306
|
+
default: string;
|
307
|
+
};
|
285
308
|
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
286
309
|
default: string;
|
287
310
|
} & {
|
@@ -328,11 +351,21 @@ declare const BkSelect: {
|
|
328
351
|
} & {
|
329
352
|
default: string;
|
330
353
|
};
|
354
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
355
|
+
default: boolean;
|
356
|
+
} & {
|
357
|
+
default: boolean;
|
358
|
+
};
|
331
359
|
showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
332
360
|
default: boolean;
|
333
361
|
} & {
|
334
362
|
default: boolean;
|
335
363
|
};
|
364
|
+
inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
|
365
|
+
default: boolean;
|
366
|
+
} & {
|
367
|
+
default: boolean;
|
368
|
+
};
|
336
369
|
}>> & {
|
337
370
|
onFocus?: (...args: any[]) => any;
|
338
371
|
onBlur?: (...args: any[]) => any;
|
@@ -355,6 +388,8 @@ declare const BkSelect: {
|
|
355
388
|
popperWidth: import("vue").Ref<string | number>;
|
356
389
|
inputRef: import("vue").Ref<HTMLElement>;
|
357
390
|
triggerRef: import("vue").Ref<HTMLElement>;
|
391
|
+
contentRef: import("vue").Ref<HTMLElement>;
|
392
|
+
searchRef: import("vue").Ref<HTMLElement>;
|
358
393
|
selectTagInputRef: import("vue").Ref<{
|
359
394
|
$: import("vue").ComponentInternalInstance;
|
360
395
|
$data: {};
|
@@ -389,7 +424,6 @@ declare const BkSelect: {
|
|
389
424
|
};
|
390
425
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
391
426
|
}>> & {
|
392
|
-
onFocus?: (...args: any[]) => any;
|
393
427
|
onEnter?: (...args: any[]) => any;
|
394
428
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
395
429
|
onRemove?: (...args: any[]) => any;
|
@@ -405,7 +439,7 @@ declare const BkSelect: {
|
|
405
439
|
}>;
|
406
440
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
407
441
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
408
|
-
$emit: (event: "
|
442
|
+
$emit: (event: "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
|
409
443
|
$el: any;
|
410
444
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
411
445
|
selected: {
|
@@ -432,7 +466,6 @@ declare const BkSelect: {
|
|
432
466
|
};
|
433
467
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
434
468
|
}>> & {
|
435
|
-
onFocus?: (...args: any[]) => any;
|
436
469
|
onEnter?: (...args: any[]) => any;
|
437
470
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
438
471
|
onRemove?: (...args: any[]) => any;
|
@@ -440,12 +473,11 @@ declare const BkSelect: {
|
|
440
473
|
value: any;
|
441
474
|
inputRef: import("vue").Ref<HTMLElement>;
|
442
475
|
handleRemoveTag: (val: string) => void;
|
443
|
-
handleFocus: () => void;
|
444
476
|
focus: () => void;
|
445
477
|
handleInput: (e: any) => void;
|
446
478
|
handleKeydown: (e: any) => void;
|
447
479
|
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
448
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
480
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
|
449
481
|
placeholder: string;
|
450
482
|
selected: import("./type").ISelected[];
|
451
483
|
tagTheme: string;
|
@@ -496,7 +528,6 @@ declare const BkSelect: {
|
|
496
528
|
};
|
497
529
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
498
530
|
}>> & {
|
499
|
-
onFocus?: (...args: any[]) => any;
|
500
531
|
onEnter?: (...args: any[]) => any;
|
501
532
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
502
533
|
onRemove?: (...args: any[]) => any;
|
@@ -504,7 +535,6 @@ declare const BkSelect: {
|
|
504
535
|
value: any;
|
505
536
|
inputRef: import("vue").Ref<HTMLElement>;
|
506
537
|
handleRemoveTag: (val: string) => void;
|
507
|
-
handleFocus: () => void;
|
508
538
|
focus: () => void;
|
509
539
|
handleInput: (e: any) => void;
|
510
540
|
handleKeydown: (e: any) => void;
|
@@ -520,7 +550,8 @@ declare const BkSelect: {
|
|
520
550
|
searchKey: import("vue").Ref<string>;
|
521
551
|
setHover: () => void;
|
522
552
|
cancelHover: () => void;
|
523
|
-
handleFocus: (
|
553
|
+
handleFocus: () => void;
|
554
|
+
handleBlur: () => void;
|
524
555
|
handleTogglePopover: () => void;
|
525
556
|
handleClear: (e: Event) => void;
|
526
557
|
hidePopover: () => void;
|
@@ -546,6 +577,7 @@ declare const BkSelect: {
|
|
546
577
|
loading: boolean;
|
547
578
|
clearable: boolean;
|
548
579
|
behavior: string;
|
580
|
+
withValidate: boolean;
|
549
581
|
showSelectedIcon: boolean;
|
550
582
|
tagTheme: string;
|
551
583
|
filterable: boolean;
|
@@ -563,10 +595,12 @@ declare const BkSelect: {
|
|
563
595
|
noDataText: string;
|
564
596
|
noMatchText: string;
|
565
597
|
loadingText: string;
|
598
|
+
searchPlaceholder: string;
|
566
599
|
selectAllText: string;
|
567
600
|
scrollLoading: boolean;
|
568
601
|
customContent: boolean;
|
569
602
|
displayKey: string;
|
603
|
+
inputSearch: boolean;
|
570
604
|
}> & {
|
571
605
|
beforeCreate?: (() => void) | (() => void)[];
|
572
606
|
created?: (() => void) | (() => void)[];
|
@@ -674,6 +708,11 @@ declare const BkSelect: {
|
|
674
708
|
} & {
|
675
709
|
default: string;
|
676
710
|
};
|
711
|
+
searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
|
712
|
+
default: string;
|
713
|
+
} & {
|
714
|
+
default: string;
|
715
|
+
};
|
677
716
|
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
678
717
|
default: string;
|
679
718
|
} & {
|
@@ -720,11 +759,21 @@ declare const BkSelect: {
|
|
720
759
|
} & {
|
721
760
|
default: string;
|
722
761
|
};
|
762
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
763
|
+
default: boolean;
|
764
|
+
} & {
|
765
|
+
default: boolean;
|
766
|
+
};
|
723
767
|
showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
724
768
|
default: boolean;
|
725
769
|
} & {
|
726
770
|
default: boolean;
|
727
771
|
};
|
772
|
+
inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
|
773
|
+
default: boolean;
|
774
|
+
} & {
|
775
|
+
default: boolean;
|
776
|
+
};
|
728
777
|
}>> & {
|
729
778
|
onFocus?: (...args: any[]) => any;
|
730
779
|
onBlur?: (...args: any[]) => any;
|
@@ -747,6 +796,8 @@ declare const BkSelect: {
|
|
747
796
|
popperWidth: import("vue").Ref<string | number>;
|
748
797
|
inputRef: import("vue").Ref<HTMLElement>;
|
749
798
|
triggerRef: import("vue").Ref<HTMLElement>;
|
799
|
+
contentRef: import("vue").Ref<HTMLElement>;
|
800
|
+
searchRef: import("vue").Ref<HTMLElement>;
|
750
801
|
selectTagInputRef: import("vue").Ref<{
|
751
802
|
$: import("vue").ComponentInternalInstance;
|
752
803
|
$data: {};
|
@@ -781,7 +832,6 @@ declare const BkSelect: {
|
|
781
832
|
};
|
782
833
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
783
834
|
}>> & {
|
784
|
-
onFocus?: (...args: any[]) => any;
|
785
835
|
onEnter?: (...args: any[]) => any;
|
786
836
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
787
837
|
onRemove?: (...args: any[]) => any;
|
@@ -797,7 +847,7 @@ declare const BkSelect: {
|
|
797
847
|
}>;
|
798
848
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
799
849
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
800
|
-
$emit: (event: "
|
850
|
+
$emit: (event: "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
|
801
851
|
$el: any;
|
802
852
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
803
853
|
selected: {
|
@@ -824,7 +874,6 @@ declare const BkSelect: {
|
|
824
874
|
};
|
825
875
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
826
876
|
}>> & {
|
827
|
-
onFocus?: (...args: any[]) => any;
|
828
877
|
onEnter?: (...args: any[]) => any;
|
829
878
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
830
879
|
onRemove?: (...args: any[]) => any;
|
@@ -832,12 +881,11 @@ declare const BkSelect: {
|
|
832
881
|
value: any;
|
833
882
|
inputRef: import("vue").Ref<HTMLElement>;
|
834
883
|
handleRemoveTag: (val: string) => void;
|
835
|
-
handleFocus: () => void;
|
836
884
|
focus: () => void;
|
837
885
|
handleInput: (e: any) => void;
|
838
886
|
handleKeydown: (e: any) => void;
|
839
887
|
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
840
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
888
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
|
841
889
|
placeholder: string;
|
842
890
|
selected: import("./type").ISelected[];
|
843
891
|
tagTheme: string;
|
@@ -888,7 +936,6 @@ declare const BkSelect: {
|
|
888
936
|
};
|
889
937
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
890
938
|
}>> & {
|
891
|
-
onFocus?: (...args: any[]) => any;
|
892
939
|
onEnter?: (...args: any[]) => any;
|
893
940
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
894
941
|
onRemove?: (...args: any[]) => any;
|
@@ -896,7 +943,6 @@ declare const BkSelect: {
|
|
896
943
|
value: any;
|
897
944
|
inputRef: import("vue").Ref<HTMLElement>;
|
898
945
|
handleRemoveTag: (val: string) => void;
|
899
|
-
handleFocus: () => void;
|
900
946
|
focus: () => void;
|
901
947
|
handleInput: (e: any) => void;
|
902
948
|
handleKeydown: (e: any) => void;
|
@@ -912,7 +958,8 @@ declare const BkSelect: {
|
|
912
958
|
searchKey: import("vue").Ref<string>;
|
913
959
|
setHover: () => void;
|
914
960
|
cancelHover: () => void;
|
915
|
-
handleFocus: (
|
961
|
+
handleFocus: () => void;
|
962
|
+
handleBlur: () => void;
|
916
963
|
handleTogglePopover: () => void;
|
917
964
|
handleClear: (e: Event) => void;
|
918
965
|
hidePopover: () => void;
|
@@ -1019,6 +1066,11 @@ declare const BkSelect: {
|
|
1019
1066
|
} & {
|
1020
1067
|
default: string;
|
1021
1068
|
};
|
1069
|
+
searchPlaceholder: import("vue-types").VueTypeValidableDef<string> & {
|
1070
|
+
default: string;
|
1071
|
+
} & {
|
1072
|
+
default: string;
|
1073
|
+
};
|
1022
1074
|
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
1023
1075
|
default: string;
|
1024
1076
|
} & {
|
@@ -1065,11 +1117,21 @@ declare const BkSelect: {
|
|
1065
1117
|
} & {
|
1066
1118
|
default: string;
|
1067
1119
|
};
|
1120
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
1121
|
+
default: boolean;
|
1122
|
+
} & {
|
1123
|
+
default: boolean;
|
1124
|
+
};
|
1068
1125
|
showSelectedIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
1069
1126
|
default: boolean;
|
1070
1127
|
} & {
|
1071
1128
|
default: boolean;
|
1072
1129
|
};
|
1130
|
+
inputSearch: import("vue-types").VueTypeValidableDef<boolean> & {
|
1131
|
+
default: boolean;
|
1132
|
+
} & {
|
1133
|
+
default: boolean;
|
1134
|
+
};
|
1073
1135
|
}>> & {
|
1074
1136
|
onFocus?: (...args: any[]) => any;
|
1075
1137
|
onBlur?: (...args: any[]) => any;
|
@@ -1092,6 +1154,8 @@ declare const BkSelect: {
|
|
1092
1154
|
popperWidth: import("vue").Ref<string | number>;
|
1093
1155
|
inputRef: import("vue").Ref<HTMLElement>;
|
1094
1156
|
triggerRef: import("vue").Ref<HTMLElement>;
|
1157
|
+
contentRef: import("vue").Ref<HTMLElement>;
|
1158
|
+
searchRef: import("vue").Ref<HTMLElement>;
|
1095
1159
|
selectTagInputRef: import("vue").Ref<{
|
1096
1160
|
$: import("vue").ComponentInternalInstance;
|
1097
1161
|
$data: {};
|
@@ -1126,7 +1190,6 @@ declare const BkSelect: {
|
|
1126
1190
|
};
|
1127
1191
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1128
1192
|
}>> & {
|
1129
|
-
onFocus?: (...args: any[]) => any;
|
1130
1193
|
onEnter?: (...args: any[]) => any;
|
1131
1194
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1132
1195
|
onRemove?: (...args: any[]) => any;
|
@@ -1142,7 +1205,7 @@ declare const BkSelect: {
|
|
1142
1205
|
}>;
|
1143
1206
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
1144
1207
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
1145
|
-
$emit: (event: "
|
1208
|
+
$emit: (event: "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
|
1146
1209
|
$el: any;
|
1147
1210
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1148
1211
|
selected: {
|
@@ -1169,7 +1232,6 @@ declare const BkSelect: {
|
|
1169
1232
|
};
|
1170
1233
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1171
1234
|
}>> & {
|
1172
|
-
onFocus?: (...args: any[]) => any;
|
1173
1235
|
onEnter?: (...args: any[]) => any;
|
1174
1236
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1175
1237
|
onRemove?: (...args: any[]) => any;
|
@@ -1177,12 +1239,11 @@ declare const BkSelect: {
|
|
1177
1239
|
value: any;
|
1178
1240
|
inputRef: import("vue").Ref<HTMLElement>;
|
1179
1241
|
handleRemoveTag: (val: string) => void;
|
1180
|
-
handleFocus: () => void;
|
1181
1242
|
focus: () => void;
|
1182
1243
|
handleInput: (e: any) => void;
|
1183
1244
|
handleKeydown: (e: any) => void;
|
1184
1245
|
handleGetLabelByValue: (item: import("./type").ISelected) => string;
|
1185
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
1246
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], string, {
|
1186
1247
|
placeholder: string;
|
1187
1248
|
selected: import("./type").ISelected[];
|
1188
1249
|
tagTheme: string;
|
@@ -1233,7 +1294,6 @@ declare const BkSelect: {
|
|
1233
1294
|
};
|
1234
1295
|
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1235
1296
|
}>> & {
|
1236
|
-
onFocus?: (...args: any[]) => any;
|
1237
1297
|
onEnter?: (...args: any[]) => any;
|
1238
1298
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1239
1299
|
onRemove?: (...args: any[]) => any;
|
@@ -1241,7 +1301,6 @@ declare const BkSelect: {
|
|
1241
1301
|
value: any;
|
1242
1302
|
inputRef: import("vue").Ref<HTMLElement>;
|
1243
1303
|
handleRemoveTag: (val: string) => void;
|
1244
|
-
handleFocus: () => void;
|
1245
1304
|
focus: () => void;
|
1246
1305
|
handleInput: (e: any) => void;
|
1247
1306
|
handleKeydown: (e: any) => void;
|
@@ -1257,7 +1316,8 @@ declare const BkSelect: {
|
|
1257
1316
|
searchKey: import("vue").Ref<string>;
|
1258
1317
|
setHover: () => void;
|
1259
1318
|
cancelHover: () => void;
|
1260
|
-
handleFocus: (
|
1319
|
+
handleFocus: () => void;
|
1320
|
+
handleBlur: () => void;
|
1261
1321
|
handleTogglePopover: () => void;
|
1262
1322
|
handleClear: (e: Event) => void;
|
1263
1323
|
hidePopover: () => void;
|
@@ -1283,6 +1343,7 @@ declare const BkSelect: {
|
|
1283
1343
|
loading: boolean;
|
1284
1344
|
clearable: boolean;
|
1285
1345
|
behavior: string;
|
1346
|
+
withValidate: boolean;
|
1286
1347
|
showSelectedIcon: boolean;
|
1287
1348
|
tagTheme: string;
|
1288
1349
|
filterable: boolean;
|
@@ -1300,10 +1361,12 @@ declare const BkSelect: {
|
|
1300
1361
|
noDataText: string;
|
1301
1362
|
noMatchText: string;
|
1302
1363
|
loadingText: string;
|
1364
|
+
searchPlaceholder: string;
|
1303
1365
|
selectAllText: string;
|
1304
1366
|
scrollLoading: boolean;
|
1305
1367
|
customContent: boolean;
|
1306
1368
|
displayKey: string;
|
1369
|
+
inputSearch: boolean;
|
1307
1370
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
1308
1371
|
Option: import("vue").DefineComponent<{
|
1309
1372
|
value: import("vue-types").VueTypeValidableDef<any>;
|