bkui-vue 0.0.1-beta.132 → 0.0.1-beta.133

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.
Files changed (61) hide show
  1. package/dist/index.cjs.js +7 -7
  2. package/dist/index.esm.js +5 -2
  3. package/dist/index.umd.js +11 -11
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.d.ts +1 -48
  7. package/lib/alert/index.d.ts +1 -63
  8. package/lib/animate-number/index.d.ts +1 -28
  9. package/lib/backtop/index.d.ts +1 -61
  10. package/lib/badge/index.d.ts +1 -103
  11. package/lib/breadcrumb/index.d.ts +1 -55
  12. package/lib/button/index.d.ts +1 -97
  13. package/lib/card/index.d.ts +1 -111
  14. package/lib/cascader/index.d.ts +1 -271
  15. package/lib/checkbox/index.d.ts +1 -84
  16. package/lib/code-diff/index.d.ts +1 -51
  17. package/lib/collapse/index.d.ts +1 -64
  18. package/lib/container/index.d.ts +1 -59
  19. package/lib/date-picker/index.d.ts +1 -312
  20. package/lib/dialog/index.d.ts +1 -317
  21. package/lib/divider/index.d.ts +1 -49
  22. package/lib/dropdown/index.d.ts +1 -56
  23. package/lib/exception/index.d.ts +1 -27
  24. package/lib/fixed-navbar/index.d.ts +1 -49
  25. package/lib/form/index.d.ts +1 -59
  26. package/lib/input/index.d.ts +1 -226
  27. package/lib/link/index.d.ts +1 -59
  28. package/lib/loading/index.d.ts +1 -94
  29. package/lib/menu/index.d.ts +1 -40
  30. package/lib/modal/index.d.ts +1 -215
  31. package/lib/navigation/index.d.ts +1 -119
  32. package/lib/pagination/index.d.ts +1 -158
  33. package/lib/popover/index.d.ts +1 -166
  34. package/lib/popover2/index.d.ts +1 -210
  35. package/lib/process/index.d.ts +1 -75
  36. package/lib/progress/index.d.ts +1 -169
  37. package/lib/radio/index.d.ts +1 -63
  38. package/lib/rate/index.d.ts +1 -33
  39. package/lib/resize-layout/index.d.ts +1 -128
  40. package/lib/resize-layout/index.js +1 -1
  41. package/lib/select/index.d.ts +1 -469
  42. package/lib/select/select.css +13 -0
  43. package/lib/select/select.less +18 -4
  44. package/lib/select/select.variable.css +13 -0
  45. package/lib/shared/index.d.ts +2 -6
  46. package/lib/sideslider/index.d.ts +1 -206
  47. package/lib/slider/index.d.ts +1 -175
  48. package/lib/steps/index.d.ts +1 -96
  49. package/lib/swiper/index.d.ts +1 -66
  50. package/lib/switcher/index.d.ts +1 -114
  51. package/lib/tab/index.d.ts +1 -140
  52. package/lib/table/index.d.ts +1 -230
  53. package/lib/tag/index.d.ts +1 -85
  54. package/lib/tag-input/index.d.ts +1 -374
  55. package/lib/timeline/index.d.ts +1 -40
  56. package/lib/transfer/index.d.ts +1 -136
  57. package/lib/tree/index.d.ts +1 -227
  58. package/lib/upload/index.d.ts +1 -252
  59. package/lib/virtual-render/index.d.ts +1 -256
  60. package/lib/volar.components.d.ts +97 -28
  61. package/package.json +1 -1
@@ -332,132 +332,5 @@ declare const BkResizeLayout: {
332
332
  initialDivide: string | number;
333
333
  immediate: boolean;
334
334
  autoMinimize: number | boolean;
335
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
336
- C: import("vue").DefineComponent<{
337
- placement: import("vue-types").VueTypeDef<string> & {
338
- default: string;
339
- };
340
- min: import("vue-types").VueTypeValidableDef<number> & {
341
- default: number;
342
- } & {
343
- default: number;
344
- };
345
- max: import("vue-types").VueTypeValidableDef<number> & {
346
- default: number;
347
- } & {
348
- default: number;
349
- };
350
- triggerWidth: import("vue-types").VueTypeValidableDef<number> & {
351
- default: number;
352
- } & {
353
- default: number;
354
- };
355
- triggerOffset: import("vue-types").VueTypeValidableDef<number> & {
356
- default: number;
357
- } & {
358
- default: number;
359
- };
360
- initialDivide: import("vue-types").VueTypeDef<string | number> & {
361
- default: string | number;
362
- };
363
- immediate: import("vue-types").VueTypeValidableDef<boolean> & {
364
- default: boolean;
365
- };
366
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
367
- default: boolean;
368
- };
369
- collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
370
- default: boolean;
371
- };
372
- autoMinimize: import("vue-types").VueTypeDef<number | boolean> & {
373
- default: number | boolean;
374
- };
375
- border: import("vue-types").VueTypeValidableDef<boolean> & {
376
- default: boolean;
377
- } & {
378
- default: boolean;
379
- };
380
- }, {
381
- collapsed: import("vue").Ref<boolean>;
382
- asideContentVisible: import("vue").Ref<boolean>;
383
- minimized: import("vue").Ref<boolean>;
384
- limitMax: any;
385
- state: any;
386
- vertical: import("vue").ComputedRef<boolean>;
387
- cssPropKey: import("vue").ComputedRef<"height" | "width">;
388
- bkResizeLayoutRef: import("vue").Ref<HTMLElement>;
389
- resizeProxyRef: import("vue").Ref<HTMLElement>;
390
- resizeMaskRef: import("vue").Ref<HTMLElement>;
391
- asideRef: import("vue").Ref<HTMLElement>;
392
- triggerStyle: import("vue").ComputedRef<{
393
- [x: string]: string;
394
- }>;
395
- asideStyle: import("vue").ComputedRef<{
396
- [x: string]: string;
397
- }>;
398
- handleMousedown: (event: any) => void;
399
- setCollapse: (collapse: any) => void;
400
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("before-resize" | "resizing" | "after-resize" | "collapse-change")[], "before-resize" | "resizing" | "after-resize" | "collapse-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
401
- placement: import("vue-types").VueTypeDef<string> & {
402
- default: string;
403
- };
404
- min: import("vue-types").VueTypeValidableDef<number> & {
405
- default: number;
406
- } & {
407
- default: number;
408
- };
409
- max: import("vue-types").VueTypeValidableDef<number> & {
410
- default: number;
411
- } & {
412
- default: number;
413
- };
414
- triggerWidth: import("vue-types").VueTypeValidableDef<number> & {
415
- default: number;
416
- } & {
417
- default: number;
418
- };
419
- triggerOffset: import("vue-types").VueTypeValidableDef<number> & {
420
- default: number;
421
- } & {
422
- default: number;
423
- };
424
- initialDivide: import("vue-types").VueTypeDef<string | number> & {
425
- default: string | number;
426
- };
427
- immediate: import("vue-types").VueTypeValidableDef<boolean> & {
428
- default: boolean;
429
- };
430
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
431
- default: boolean;
432
- };
433
- collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
434
- default: boolean;
435
- };
436
- autoMinimize: import("vue-types").VueTypeDef<number | boolean> & {
437
- default: number | boolean;
438
- };
439
- border: import("vue-types").VueTypeValidableDef<boolean> & {
440
- default: boolean;
441
- } & {
442
- default: boolean;
443
- };
444
- }>> & {
445
- "onBefore-resize"?: (...args: any[]) => any;
446
- onResizing?: (...args: any[]) => any;
447
- "onAfter-resize"?: (...args: any[]) => any;
448
- "onCollapse-change"?: (...args: any[]) => any;
449
- }, {
450
- placement: string;
451
- disabled: boolean;
452
- min: number;
453
- max: number;
454
- border: boolean;
455
- collapsible: boolean;
456
- triggerWidth: number;
457
- triggerOffset: number;
458
- initialDivide: string | number;
459
- immediate: boolean;
460
- autoMinimize: number | boolean;
461
- }>;
462
- };
335
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
463
336
  export default BkResizeLayout;
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],t);else{var a="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon")):t(e["../shared"],e.vue,e["../icon"]);for(var i in a)("object"==typeof exports?exports:e)[i]=a[i]}}(self,((e,t,a)=>(()=>{"use strict";var i={6870:e=>{e.exports=a},4212:t=>{t.exports=e},748:e=>{e.exports=t}},l={};function o(e){var t=l[e];if(void 0!==t)return t.exports;var a=l[e]={exports:{}};return i[e](a,a.exports,o),a.exports}o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{default:()=>r});var e=o(4212);function t(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var a=o(748),i=o(6870);const l=(0,a.defineComponent)({name:"ResizeLayout",props:{placement:e.PropTypes.placement().def("left"),min:e.PropTypes.number.def(3),max:e.PropTypes.number.def(1/0),triggerWidth:e.PropTypes.number.def(5),triggerOffset:e.PropTypes.number.def(3),initialDivide:e.PropTypes.oneOfType([String,Number]).def("20%"),immediate:e.PropTypes.bool,disabled:e.PropTypes.bool,collapsible:e.PropTypes.bool,autoMinimize:e.PropTypes.oneOfType([Boolean,Number]).def(!1),border:e.PropTypes.bool.def(!0)},emits:["before-resize","resizing","after-resize","collapse-change"],setup:function(e,i){var l=i.emit,o=(0,a.toRefs)(e),n=o.placement,r=o.initialDivide,u=o.triggerOffset,s=o.triggerWidth,c=o.max,v=o.min,d=o.immediate,f=o.autoMinimize,p=(0,a.ref)(!1),m=(0,a.ref)(!0),b=(0,a.ref)(!1),y=(0,a.ref)(null),h=(0,a.ref)({}),g=(0,a.ref)(null),z=(0,a.ref)(null),x=(0,a.ref)(null),k=(0,a.ref)(null),w=(0,a.computed)((function(){return["left","right"].includes(n.value)})),P=(0,a.computed)((function(){return w.value?"width":"height"})),R=(0,a.computed)((function(){var e=r.value;return"number"==typeof e&&(e="".concat(e,"px")),t({},P.value,e)})),T=(0,a.computed)((function(){var e;return t(e={},"margin-".concat(n.value),"".concat(u.value-s.value,"px")),t(e,P.value,"".concat(s.value,"px")),e})),M=(0,a.computed)((function(){return f.value?"boolean"==typeof f.value?50:f.value:0})),S=new ResizeObserver((function(){var e=g.value.getBoundingClientRect();y.value=w.value?e.width:e.height})),O=function(){var e=k.value.getBoundingClientRect();j(!p.value),p.value?(k.value.setAttribute("data-".concat(P.value),"".concat(e[P.value],"px")),k.value.style[P.value]="5px"):(m.value=!0,k.value.style[P.value]=k.value.getAttribute("data-".concat(P.value)))},j=function(e){k.value.addEventListener("transitionend",(function t(){m.value=e,k.value.style.transition="",k.value.removeEventListener("transitionend",t)})),k.value.style.transition="".concat(P.value," cubic-bezier(0.4, 0, 0.2, 1) .3s")};return(0,a.onMounted)((function(){S.observe(g.value)})),(0,a.onBeforeUnmount)((function(){S.unobserve(g.value)})),{collapsed:p,asideContentVisible:m,minimized:b,limitMax:y,state:h,vertical:w,cssPropKey:P,bkResizeLayoutRef:g,resizeProxyRef:z,resizeMaskRef:x,asideRef:k,triggerStyle:T,asideStyle:R,handleMousedown:function(e){l("before-resize",e);var t=k.value.getBoundingClientRect();h.value=Object.freeze({mouse:{clientX:e.clientX,clientY:e.clientY},aside:{width:t.width,height:t.height}}),x.value.style.display="block",x.value.style.cursor=w.value?"col-resize":"row-resize",d.value||function(){switch(z.value.style.visibility="visible",n.value){case"left":z.value.style.inset="0 auto auto ".concat(h.value.aside.width,"px");break;case"right":z.value.style.inset="0 ".concat(h.value.aside.width,"px auto auto");break;case"top":z.value.style.inset="".concat(h.value.aside.height,"px auto auto 0");break;case"bottom":z.value.style.inset="auto auto ".concat(h.value.aside.height,"px 0")}}(),document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var i=function(e){var t;switch(n.value){case"top":t=e.clientY-h.value.mouse.clientY;break;case"right":t=h.value.mouse.clientX-e.clientX;break;case"bottom":t=h.value.mouse.clientY-e.clientY;break;case"left":t=e.clientX-h.value.mouse.clientX}var a,i=(a=h.value.aside[P.value]+t,Math.min(c.value,Math.max(v.value,a),y.value-s.value)+u.value),o="".concat(i,"px");d.value?k.value.style[P.value]=o:z.value.style[n.value]=o,l("resizing",i)};document.addEventListener("mousemove",i),document.addEventListener("mouseup",(function e(){if(z.value.style.visibility="hidden",x.value.style.display="none",document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",e),document.onselectstart=null,document.ondragstart=null,(0,a.nextTick)((function(){(function(){if(!f.value)return!1;var e=k.value.getBoundingClientRect();if(b.value=p.value=e[P.value]<=M.value,!b.value)return m.value=!0,!1;O(),(0,a.nextTick)((function(){k.value.setAttribute("data-".concat(P.value),R.value[P.value])}))})(),l("after-resize",parseFloat(z.value.style[n.value]))})),d.value)return!1;k.value.style[P.value]=z.value.style[n.value]}))},setCollapse:function(e){p.value="boolean"==typeof e?e:!p.value,O(),l("collapse-change",p.value)}}},render:function(){var e,t,l,o,n,r,u=["bk-resize-layout","bk-resize-layout-".concat(this.placement),{"bk-resize-layout-collapsed":this.collapsed,"bk-resize-layout-border":this.border}];return(0,a.createVNode)("div",{ref:"bkResizeLayoutRef",class:u},[(0,a.createVNode)("aside",{class:"bk-resize-layout-aside",ref:"asideRef",style:this.asideStyle},[(0,a.withDirectives)((0,a.createVNode)("div",{class:"bk-resize-layout-aside-content"},[null===(t=(e=this.$slots).aside)||void 0===t?void 0:t.call(e)]),[[a.vShow,this.asideContentVisible]]),(0,a.withDirectives)((0,a.createVNode)("i",{class:"bk-resize-trigger",style:this.triggerStyle,onMousedown:(0,a.withModifiers)(this.handleMousedown,["left"])},null),[[a.vShow,!this.disabled&&(!this.collapsed||this.autoMinimize)]]),(0,a.withDirectives)((0,a.createVNode)("i",{class:["bk-resize-proxy",this.placement],ref:"resizeProxyRef"},null),[[a.vShow,!this.collapsed||this.autoMinimize]]),this.collapsible&&((null===(o=(l=this.$slots)["collapse-trigger"])||void 0===o?void 0:o.call(l))||(0,a.createVNode)(i.AngleLeft,{class:"bk-resize-collapse",onClick:this.setCollapse},null))]),(0,a.createVNode)("main",{class:"bk-resize-layout-main"},[null===(r=(n=this.$slots).main)||void 0===r?void 0:r.call(n)]),(0,a.createVNode)("div",{class:"bk-resize-mask",ref:"resizeMaskRef"},null)])}}),r=(0,e.withInstall)(l)})(),n})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],t);else{var a="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon")):t(e["../shared"],e.vue,e["../icon"]);for(var i in a)("object"==typeof exports?exports:e)[i]=a[i]}}(self,((e,t,a)=>(()=>{"use strict";var i={6870:e=>{e.exports=a},4212:t=>{t.exports=e},748:e=>{e.exports=t}},l={};function o(e){var t=l[e];if(void 0!==t)return t.exports;var a=l[e]={exports:{}};return i[e](a,a.exports,o),a.exports}o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{default:()=>r});var e=o(4212);function t(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var a=o(748),i=o(6870);const l=(0,a.defineComponent)({name:"ResizeLayout",props:{placement:e.PropTypes.placement().def("left"),min:e.PropTypes.number.def(3),max:e.PropTypes.number.def(1/0),triggerWidth:e.PropTypes.number.def(5),triggerOffset:e.PropTypes.number.def(3),initialDivide:e.PropTypes.oneOfType([String,Number]).def("20%"),immediate:e.PropTypes.bool,disabled:e.PropTypes.bool,collapsible:e.PropTypes.bool,autoMinimize:e.PropTypes.oneOfType([Boolean,Number]).def(!1),border:e.PropTypes.bool.def(!0)},emits:["before-resize","resizing","after-resize","collapse-change"],setup:function(e,i){var l=i.emit,o=(0,a.toRefs)(e),n=o.placement,r=o.initialDivide,u=o.triggerOffset,s=o.triggerWidth,c=o.max,v=o.min,d=o.immediate,f=o.autoMinimize,p=(0,a.ref)(!1),m=(0,a.ref)(!0),b=(0,a.ref)(!1),y=(0,a.ref)(null),h=(0,a.ref)({}),g=(0,a.ref)(null),z=(0,a.ref)(null),x=(0,a.ref)(null),k=(0,a.ref)(null),w=(0,a.computed)((function(){return["left","right"].includes(n.value)})),P=(0,a.computed)((function(){return w.value?"width":"height"})),R=(0,a.computed)((function(){var e=r.value;return"number"==typeof e&&(e="".concat(e,"px")),t({},P.value,e)})),T=(0,a.computed)((function(){var e;return t(e={},"margin-".concat(n.value),"".concat(u.value-s.value,"px")),t(e,P.value,"".concat(s.value,"px")),e})),M=(0,a.computed)((function(){return f.value?"boolean"==typeof f.value?50:f.value:0})),S=new ResizeObserver((function(){var e=g.value.getBoundingClientRect();y.value=w.value?e.width:e.height})),C=function(){var e=k.value.getBoundingClientRect();O(!p.value),p.value?(k.value.setAttribute("data-".concat(P.value),"".concat(e[P.value],"px")),k.value.style[P.value]="5px"):(m.value=!0,k.value.style[P.value]=k.value.getAttribute("data-".concat(P.value)))},O=function(e){k.value.addEventListener("transitionend",(function t(){m.value=e,k.value.style.transition="",k.value.removeEventListener("transitionend",t)})),k.value.style.transition="".concat(P.value," cubic-bezier(0.4, 0, 0.2, 1) .3s")};return(0,a.onMounted)((function(){S.observe(g.value)})),(0,a.onBeforeUnmount)((function(){S.unobserve(g.value)})),{collapsed:p,asideContentVisible:m,minimized:b,limitMax:y,state:h,vertical:w,cssPropKey:P,bkResizeLayoutRef:g,resizeProxyRef:z,resizeMaskRef:x,asideRef:k,triggerStyle:T,asideStyle:R,handleMousedown:function(e){l("before-resize",e);var t=k.value.getBoundingClientRect();h.value=Object.freeze({mouse:{clientX:e.clientX,clientY:e.clientY},aside:{width:t.width,height:t.height}}),x.value.style.display="block",x.value.style.cursor=w.value?"col-resize":"row-resize",d.value||function(){switch(z.value.style.visibility="visible",n.value){case"left":z.value.style.inset="0 auto auto ".concat(h.value.aside.width,"px");break;case"right":z.value.style.inset="0 ".concat(h.value.aside.width,"px auto auto");break;case"top":z.value.style.inset="".concat(h.value.aside.height,"px auto auto 0");break;case"bottom":z.value.style.inset="auto auto ".concat(h.value.aside.height,"px 0")}}(),document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var i=function(e){var t;switch(n.value){case"top":t=e.clientY-h.value.mouse.clientY;break;case"right":t=h.value.mouse.clientX-e.clientX;break;case"bottom":t=h.value.mouse.clientY-e.clientY;break;case"left":t=e.clientX-h.value.mouse.clientX}var a,i=(a=h.value.aside[P.value]+t,Math.min(c.value,Math.max(v.value,a),y.value-s.value)+u.value),o="".concat(i,"px");d.value?k.value.style[P.value]=o:z.value.style[n.value]=o,l("resizing",i)};document.addEventListener("mousemove",i),document.addEventListener("mouseup",(function e(){if(z.value.style.visibility="hidden",x.value.style.display="none",document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",e),document.onselectstart=null,document.ondragstart=null,(0,a.nextTick)((function(){(function(){if(!f.value)return!1;var e=k.value.getBoundingClientRect();if(b.value=p.value=e[P.value]<=M.value,!b.value)return m.value=!0,!1;C(),(0,a.nextTick)((function(){k.value.setAttribute("data-".concat(P.value),R.value[P.value])}))})(),l("after-resize",parseFloat(z.value.style[n.value]))})),d.value)return!1;k.value.style[P.value]=z.value.style[n.value]}))},setCollapse:function(e){p.value="boolean"==typeof e?e:!p.value,C(),l("collapse-change",p.value)}}},render:function(){var e,t,l,o,n,r,u=["bk-resize-layout","bk-resize-layout-".concat(this.placement),{"bk-resize-layout-collapsed":this.collapsed,"bk-resize-layout-border":this.border}];return(0,a.createVNode)("div",{ref:"bkResizeLayoutRef",class:u},[(0,a.createVNode)("aside",{class:"bk-resize-layout-aside",ref:"asideRef",style:this.asideStyle},[(0,a.withDirectives)((0,a.createVNode)("div",{class:"bk-resize-layout-aside-content"},[null===(t=(e=this.$slots).aside)||void 0===t?void 0:t.call(e)]),[[a.vShow,this.asideContentVisible]]),(0,a.withDirectives)((0,a.createVNode)("i",{class:"bk-resize-trigger",style:this.triggerStyle,onMousedown:(0,a.withModifiers)(this.handleMousedown,["left"])},null),[[a.vShow,!this.disabled&&(!this.collapsed||this.autoMinimize)]]),(0,a.withDirectives)((0,a.createVNode)("i",{class:["bk-resize-proxy",this.placement],ref:"resizeProxyRef"},null),[[a.vShow,!this.collapsed||this.autoMinimize]]),this.collapsible&&((null===(o=(l=this.$slots)["collapse-trigger"])||void 0===o?void 0:o.call(l))||(this.collapsed?(0,a.createVNode)(i.AngleRight,{class:"bk-resize-collapse",onClick:this.setCollapse},null):(0,a.createVNode)(i.AngleLeft,{class:"bk-resize-collapse",onClick:this.setCollapse},null)))]),(0,a.createVNode)("main",{class:"bk-resize-layout-main"},[null===(r=(n=this.$slots).main)||void 0===r?void 0:r.call(n)]),(0,a.createVNode)("div",{class:"bk-resize-mask",ref:"resizeMaskRef"},null)])}}),r=(0,e.withInstall)(l)})(),n})()));
@@ -1301,474 +1301,6 @@ declare const BkSelect: {
1301
1301
  collapse: boolean;
1302
1302
  collapsible: boolean;
1303
1303
  }>;
1304
- }> & {
1305
- C: import("vue").DefineComponent<{
1306
- modelValue: import("vue-types").VueTypeValidableDef<any>;
1307
- multiple: import("vue-types").VueTypeValidableDef<boolean> & {
1308
- default: boolean;
1309
- } & {
1310
- default: boolean;
1311
- };
1312
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
1313
- default: boolean;
1314
- } & {
1315
- default: boolean;
1316
- };
1317
- size: import("vue-types").VueTypeDef<string> & {
1318
- default: string;
1319
- };
1320
- clearable: import("vue-types").VueTypeValidableDef<boolean> & {
1321
- default: boolean;
1322
- } & {
1323
- default: boolean;
1324
- };
1325
- loading: import("vue-types").VueTypeValidableDef<boolean> & {
1326
- default: boolean;
1327
- } & {
1328
- default: boolean;
1329
- };
1330
- filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1331
- default: boolean;
1332
- } & {
1333
- default: boolean;
1334
- };
1335
- remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
1336
- default: (...args: any[]) => any;
1337
- };
1338
- scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
1339
- default: number;
1340
- } & {
1341
- default: number;
1342
- };
1343
- showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
1344
- default: boolean;
1345
- } & {
1346
- default: boolean;
1347
- };
1348
- popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
1349
- default: number;
1350
- } & {
1351
- default: number;
1352
- };
1353
- showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
1354
- default: boolean;
1355
- } & {
1356
- default: boolean;
1357
- };
1358
- multipleMode: import("vue-types").VueTypeDef<string> & {
1359
- default: string;
1360
- };
1361
- tagTheme: import("vue-types").VueTypeDef<string> & {
1362
- default: string;
1363
- };
1364
- behavior: import("vue-types").VueTypeDef<string> & {
1365
- default: string;
1366
- };
1367
- collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
1368
- default: boolean;
1369
- } & {
1370
- default: boolean;
1371
- };
1372
- noDataText: import("vue-types").VueTypeValidableDef<string> & {
1373
- default: string;
1374
- } & {
1375
- default: string;
1376
- };
1377
- noMatchText: import("vue-types").VueTypeValidableDef<string> & {
1378
- default: string;
1379
- } & {
1380
- default: string;
1381
- };
1382
- loadingText: import("vue-types").VueTypeValidableDef<string> & {
1383
- default: string;
1384
- } & {
1385
- default: string;
1386
- };
1387
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
1388
- default: string;
1389
- } & {
1390
- default: string;
1391
- };
1392
- selectAllText: import("vue-types").VueTypeValidableDef<string> & {
1393
- default: string;
1394
- } & {
1395
- default: string;
1396
- };
1397
- scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
1398
- default: boolean;
1399
- } & {
1400
- default: boolean;
1401
- };
1402
- allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1403
- default: boolean;
1404
- } & {
1405
- default: boolean;
1406
- };
1407
- popoverOptions: import("vue-types").VueTypeValidableDef<{
1408
- [key: string]: any;
1409
- }> & {
1410
- default: () => {
1411
- [key: string]: any;
1412
- };
1413
- } & {
1414
- default: () => {
1415
- [key: string]: any;
1416
- };
1417
- };
1418
- customContent: import("vue-types").VueTypeValidableDef<boolean> & {
1419
- default: boolean;
1420
- } & {
1421
- default: boolean;
1422
- };
1423
- }, {
1424
- selected: import("vue").Ref<{
1425
- value: string;
1426
- label: string;
1427
- }[]>;
1428
- isInput: import("vue").ComputedRef<boolean>;
1429
- options: import("vue").ComputedRef<import("./type").OptionInstanceType[]>;
1430
- isDisabled: import("vue").ComputedRef<boolean>;
1431
- selectedLabel: import("vue").ComputedRef<string[]>;
1432
- isPopoverShow: import("vue").Ref<boolean>;
1433
- isHover: import("vue").Ref<boolean>;
1434
- popperWidth: import("vue").Ref<string | number>;
1435
- inputRef: import("vue").Ref<HTMLElement>;
1436
- triggerRef: import("vue").Ref<HTMLElement>;
1437
- selectTagInputRef: import("vue").Ref<{
1438
- $: import("vue").ComponentInternalInstance;
1439
- $data: {};
1440
- $props: Partial<{
1441
- placeholder: string;
1442
- selected: import("./type").ISelected[];
1443
- tagTheme: string;
1444
- filterable: boolean;
1445
- allowCreate: boolean;
1446
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
1447
- selected: {
1448
- type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
1449
- default: () => any[];
1450
- };
1451
- tagTheme: import("vue-types").VueTypeDef<string> & {
1452
- default: string;
1453
- };
1454
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
1455
- default: string;
1456
- } & {
1457
- default: string;
1458
- };
1459
- filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1460
- default: boolean;
1461
- } & {
1462
- default: boolean;
1463
- };
1464
- allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1465
- default: boolean;
1466
- } & {
1467
- default: boolean;
1468
- };
1469
- modelValue: import("vue-types").VueTypeValidableDef<any>;
1470
- }>> & {
1471
- onFocus?: (...args: any[]) => any;
1472
- onEnter?: (...args: any[]) => any;
1473
- "onUpdate:modelValue"?: (...args: any[]) => any;
1474
- onRemove?: (...args: any[]) => any;
1475
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
1476
- $attrs: {
1477
- [x: string]: unknown;
1478
- };
1479
- $refs: {
1480
- [x: string]: unknown;
1481
- };
1482
- $slots: Readonly<{
1483
- [name: string]: import("vue").Slot;
1484
- }>;
1485
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1486
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1487
- $emit: (event: "focus" | "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
1488
- $el: any;
1489
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1490
- selected: {
1491
- type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
1492
- default: () => any[];
1493
- };
1494
- tagTheme: import("vue-types").VueTypeDef<string> & {
1495
- default: string;
1496
- };
1497
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
1498
- default: string;
1499
- } & {
1500
- default: string;
1501
- };
1502
- filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1503
- default: boolean;
1504
- } & {
1505
- default: boolean;
1506
- };
1507
- allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1508
- default: boolean;
1509
- } & {
1510
- default: boolean;
1511
- };
1512
- modelValue: import("vue-types").VueTypeValidableDef<any>;
1513
- }>> & {
1514
- onFocus?: (...args: any[]) => any;
1515
- onEnter?: (...args: any[]) => any;
1516
- "onUpdate:modelValue"?: (...args: any[]) => any;
1517
- onRemove?: (...args: any[]) => any;
1518
- }, {
1519
- value: any;
1520
- inputRef: import("vue").Ref<HTMLElement>;
1521
- handleRemoveTag: (val: string) => void;
1522
- handleFocus: () => void;
1523
- focus: () => void;
1524
- handleInput: (e: any) => void;
1525
- handleKeydown: (e: any) => void;
1526
- handleGetLabelByValue: (item: import("./type").ISelected) => string;
1527
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:modelValue" | "remove" | "enter")[], string, {
1528
- placeholder: string;
1529
- selected: import("./type").ISelected[];
1530
- tagTheme: string;
1531
- filterable: boolean;
1532
- allowCreate: boolean;
1533
- }> & {
1534
- beforeCreate?: (() => void) | (() => void)[];
1535
- created?: (() => void) | (() => void)[];
1536
- beforeMount?: (() => void) | (() => void)[];
1537
- mounted?: (() => void) | (() => void)[];
1538
- beforeUpdate?: (() => void) | (() => void)[];
1539
- updated?: (() => void) | (() => void)[];
1540
- activated?: (() => void) | (() => void)[];
1541
- deactivated?: (() => void) | (() => void)[];
1542
- beforeDestroy?: (() => void) | (() => void)[];
1543
- beforeUnmount?: (() => void) | (() => void)[];
1544
- destroyed?: (() => void) | (() => void)[];
1545
- unmounted?: (() => void) | (() => void)[];
1546
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1547
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1548
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
1549
- };
1550
- $forceUpdate: () => void;
1551
- $nextTick: typeof import("vue").nextTick;
1552
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
1553
- } & Readonly<import("vue").ExtractPropTypes<{
1554
- selected: {
1555
- type: import("vue-types/dist/types").PropType<import("./type").ISelected[]>;
1556
- default: () => any[];
1557
- };
1558
- tagTheme: import("vue-types").VueTypeDef<string> & {
1559
- default: string;
1560
- };
1561
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
1562
- default: string;
1563
- } & {
1564
- default: string;
1565
- };
1566
- filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1567
- default: boolean;
1568
- } & {
1569
- default: boolean;
1570
- };
1571
- allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1572
- default: boolean;
1573
- } & {
1574
- default: boolean;
1575
- };
1576
- modelValue: import("vue-types").VueTypeValidableDef<any>;
1577
- }>> & {
1578
- onFocus?: (...args: any[]) => any;
1579
- onEnter?: (...args: any[]) => any;
1580
- "onUpdate:modelValue"?: (...args: any[]) => any;
1581
- onRemove?: (...args: any[]) => any;
1582
- } & import("vue").ShallowUnwrapRef<{
1583
- value: any;
1584
- inputRef: import("vue").Ref<HTMLElement>;
1585
- handleRemoveTag: (val: string) => void;
1586
- handleFocus: () => void;
1587
- focus: () => void;
1588
- handleInput: (e: any) => void;
1589
- handleKeydown: (e: any) => void;
1590
- handleGetLabelByValue: (item: import("./type").ISelected) => string;
1591
- }> & {} & {} & import("vue").ComponentCustomProperties>;
1592
- searchLoading: import("vue").Ref<boolean>;
1593
- isOptionsEmpty: import("vue").ComputedRef<boolean>;
1594
- isSearchEmpty: import("vue").ComputedRef<boolean>;
1595
- isFocus: import("vue").Ref<boolean>;
1596
- isShowSelectContent: import("vue").ComputedRef<boolean>;
1597
- curContentText: import("vue").ComputedRef<string>;
1598
- isGroup: import("vue").ComputedRef<boolean>;
1599
- searchKey: import("vue").Ref<string>;
1600
- setHover: () => void;
1601
- cancelHover: () => void;
1602
- handleFocus: (e: FocusEvent) => void;
1603
- handleTogglePopover: () => void;
1604
- handleClear: (e: Event) => void;
1605
- hidePopover: () => void;
1606
- showPopover: () => void;
1607
- handleToggleAll: () => void;
1608
- handleOptionSelected: (option: import("./type").OptionInstanceType) => void;
1609
- handleClickOutside: ({ event }: {
1610
- event: any;
1611
- }) => void;
1612
- handleScroll: (e: any) => void;
1613
- handleDeleteTag: (val: string) => void;
1614
- handleInputChange: (value: any) => void;
1615
- handleInputEnter: (val: string | number, e: Event) => void;
1616
- handleKeydown: (e: KeyboardEvent) => void;
1617
- handleSelectedAllOptionMouseEnter: () => void;
1618
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], "focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1619
- modelValue: import("vue-types").VueTypeValidableDef<any>;
1620
- multiple: import("vue-types").VueTypeValidableDef<boolean> & {
1621
- default: boolean;
1622
- } & {
1623
- default: boolean;
1624
- };
1625
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
1626
- default: boolean;
1627
- } & {
1628
- default: boolean;
1629
- };
1630
- size: import("vue-types").VueTypeDef<string> & {
1631
- default: string;
1632
- };
1633
- clearable: import("vue-types").VueTypeValidableDef<boolean> & {
1634
- default: boolean;
1635
- } & {
1636
- default: boolean;
1637
- };
1638
- loading: import("vue-types").VueTypeValidableDef<boolean> & {
1639
- default: boolean;
1640
- } & {
1641
- default: boolean;
1642
- };
1643
- filterable: import("vue-types").VueTypeValidableDef<boolean> & {
1644
- default: boolean;
1645
- } & {
1646
- default: boolean;
1647
- };
1648
- remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
1649
- default: (...args: any[]) => any;
1650
- };
1651
- scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
1652
- default: number;
1653
- } & {
1654
- default: number;
1655
- };
1656
- showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
1657
- default: boolean;
1658
- } & {
1659
- default: boolean;
1660
- };
1661
- popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
1662
- default: number;
1663
- } & {
1664
- default: number;
1665
- };
1666
- showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
1667
- default: boolean;
1668
- } & {
1669
- default: boolean;
1670
- };
1671
- multipleMode: import("vue-types").VueTypeDef<string> & {
1672
- default: string;
1673
- };
1674
- tagTheme: import("vue-types").VueTypeDef<string> & {
1675
- default: string;
1676
- };
1677
- behavior: import("vue-types").VueTypeDef<string> & {
1678
- default: string;
1679
- };
1680
- collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
1681
- default: boolean;
1682
- } & {
1683
- default: boolean;
1684
- };
1685
- noDataText: import("vue-types").VueTypeValidableDef<string> & {
1686
- default: string;
1687
- } & {
1688
- default: string;
1689
- };
1690
- noMatchText: import("vue-types").VueTypeValidableDef<string> & {
1691
- default: string;
1692
- } & {
1693
- default: string;
1694
- };
1695
- loadingText: import("vue-types").VueTypeValidableDef<string> & {
1696
- default: string;
1697
- } & {
1698
- default: string;
1699
- };
1700
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
1701
- default: string;
1702
- } & {
1703
- default: string;
1704
- };
1705
- selectAllText: import("vue-types").VueTypeValidableDef<string> & {
1706
- default: string;
1707
- } & {
1708
- default: string;
1709
- };
1710
- scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
1711
- default: boolean;
1712
- } & {
1713
- default: boolean;
1714
- };
1715
- allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
1716
- default: boolean;
1717
- } & {
1718
- default: boolean;
1719
- };
1720
- popoverOptions: import("vue-types").VueTypeValidableDef<{
1721
- [key: string]: any;
1722
- }> & {
1723
- default: () => {
1724
- [key: string]: any;
1725
- };
1726
- } & {
1727
- default: () => {
1728
- [key: string]: any;
1729
- };
1730
- };
1731
- customContent: import("vue-types").VueTypeValidableDef<boolean> & {
1732
- default: boolean;
1733
- } & {
1734
- default: boolean;
1735
- };
1736
- }>> & {
1737
- onFocus?: (...args: any[]) => any;
1738
- onBlur?: (...args: any[]) => any;
1739
- onChange?: (...args: any[]) => any;
1740
- "onUpdate:modelValue"?: (...args: any[]) => any;
1741
- onClear?: (...args: any[]) => any;
1742
- onToggle?: (...args: any[]) => any;
1743
- "onScroll-end"?: (...args: any[]) => any;
1744
- }, {
1745
- showOnInit: boolean;
1746
- disabled: boolean;
1747
- placeholder: string;
1748
- size: string;
1749
- multiple: boolean;
1750
- loading: boolean;
1751
- clearable: boolean;
1752
- behavior: string;
1753
- tagTheme: string;
1754
- filterable: boolean;
1755
- allowCreate: boolean;
1756
- popoverMinWidth: number;
1757
- remoteMethod: (...args: any[]) => any;
1758
- scrollHeight: number;
1759
- showSelectAll: boolean;
1760
- multipleMode: string;
1761
- collapseTags: boolean;
1762
- noDataText: string;
1763
- noMatchText: string;
1764
- loadingText: string;
1765
- selectAllText: string;
1766
- scrollLoading: boolean;
1767
- popoverOptions: {
1768
- [key: string]: any;
1769
- };
1770
- customContent: boolean;
1771
- }>;
1772
- };
1304
+ }>;
1773
1305
  export default BkSelect;
1774
1306
  export { BkSelect, Option as BkOption, OptionGroup as BkOptionGroup, };
@@ -251,6 +251,10 @@
251
251
  align-items: center;
252
252
  justify-content: space-between;
253
253
  }
254
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-hover {
255
+ color: #3a84ff;
256
+ background-color: #f5f7fa;
257
+ }
254
258
  .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option:hover {
255
259
  color: #63656e;
256
260
  background-color: #f5f7fa;
@@ -264,6 +268,15 @@
264
268
  cursor: not-allowed;
265
269
  background-color: transparent;
266
270
  }
271
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-multiple.is-selected {
272
+ background-color: #fff;
273
+ }
274
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-multiple.is-hover {
275
+ background-color: #f5f7fa;
276
+ }
277
+ .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-option.is-multiple:hover {
278
+ background-color: #f5f7fa;
279
+ }
267
280
  .bk-popover2.bk-pop2-content.bk-select-popover .bk-select-content .bk-select-options-loading {
268
281
  display: flex;
269
282
  align-items: center;