vxe-pc-ui 3.18.22 → 3.18.23
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/es/icon/style.css +1 -1
- package/es/scrollbar/src/scrollbar.js +43 -7
- package/es/scrollbar/style.css +2 -2
- package/es/scrollbar/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/upload/style.css +5 -3
- package/es/upload/style.min.css +1 -1
- package/es/vxe-scrollbar/style.css +2 -2
- package/es/vxe-scrollbar/style.min.css +1 -1
- package/es/vxe-upload/style.css +5 -3
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +42 -9
- package/lib/index.umd.min.js +1 -1
- package/lib/scrollbar/src/scrollbar.js +40 -7
- package/lib/scrollbar/src/scrollbar.min.js +1 -1
- package/lib/scrollbar/style/style.css +2 -2
- package/lib/scrollbar/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/upload/style/style.css +5 -3
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-scrollbar/style/style.css +2 -2
- package/lib/vxe-scrollbar/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +5 -3
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/scrollbar/src/scrollbar.ts +50 -7
- package/styles/components/scrollbar.scss +2 -2
- package/styles/components/upload.scss +5 -3
- /package/es/icon/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
- /package/es/icon/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
- /package/es/icon/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
- /package/es/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
- /package/es/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
- /package/es/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
- /package/lib/icon/style/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
- /package/lib/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
- /package/lib/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
- /package/lib/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
|
@@ -430,7 +430,8 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
430
430
|
var props = $xeScrollbar;
|
|
431
431
|
var slots = $xeScrollbar.$scopedSlots;
|
|
432
432
|
var native = props.native,
|
|
433
|
-
loading = props.loading
|
|
433
|
+
loading = props.loading,
|
|
434
|
+
autoResize = props.autoResize;
|
|
434
435
|
var wrapperStyle = $xeScrollbar.computeWrapperStyle;
|
|
435
436
|
var wrapperClss = $xeScrollbar.computeWrapperClss;
|
|
436
437
|
var viewClss = $xeScrollbar.computeViewClss;
|
|
@@ -450,7 +451,11 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
450
451
|
}, [h('div', {
|
|
451
452
|
ref: 'refViewInnerElem',
|
|
452
453
|
class: 'vxe-scrollbar--view-inner'
|
|
453
|
-
},
|
|
454
|
+
}, autoResize ? [h('div', {
|
|
455
|
+
key: 'vi',
|
|
456
|
+
ref: 'refViewInnerElem',
|
|
457
|
+
class: 'vxe-scrollbar--view-inner'
|
|
458
|
+
}, defaultSlot ? defaultSlot({}) : [])] : defaultSlot ? defaultSlot({}) : [])]), native || xOpts.visible === 'hidden' ? renderEmptyElement($xeScrollbar) : h('div', {
|
|
454
459
|
ref: 'refTrackXElem',
|
|
455
460
|
class: 'vxe-scrollbar--track-x',
|
|
456
461
|
on: {
|
|
@@ -491,6 +496,30 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
491
496
|
}
|
|
492
497
|
},
|
|
493
498
|
watch: {
|
|
499
|
+
height: function height() {
|
|
500
|
+
var $xeScrollbar = this;
|
|
501
|
+
$xeScrollbar.reFlag++;
|
|
502
|
+
},
|
|
503
|
+
width: function width() {
|
|
504
|
+
var $xeScrollbar = this;
|
|
505
|
+
$xeScrollbar.reFlag++;
|
|
506
|
+
},
|
|
507
|
+
minHeight: function minHeight() {
|
|
508
|
+
var $xeScrollbar = this;
|
|
509
|
+
$xeScrollbar.reFlag++;
|
|
510
|
+
},
|
|
511
|
+
minWidth: function minWidth() {
|
|
512
|
+
var $xeScrollbar = this;
|
|
513
|
+
$xeScrollbar.reFlag++;
|
|
514
|
+
},
|
|
515
|
+
maxHeight: function maxHeight() {
|
|
516
|
+
var $xeScrollbar = this;
|
|
517
|
+
$xeScrollbar.reFlag++;
|
|
518
|
+
},
|
|
519
|
+
maxWidth: function maxWidth() {
|
|
520
|
+
var $xeScrollbar = this;
|
|
521
|
+
$xeScrollbar.reFlag++;
|
|
522
|
+
},
|
|
494
523
|
native: function native() {
|
|
495
524
|
var $xeScrollbar = this;
|
|
496
525
|
$xeScrollbar.reFlag++;
|
|
@@ -515,19 +544,23 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
515
544
|
var props = $xeScrollbar;
|
|
516
545
|
var internalData = $xeScrollbar.internalData;
|
|
517
546
|
var autoResize = props.autoResize;
|
|
547
|
+
var viewEl = $xeScrollbar.$refs.refViewElem;
|
|
518
548
|
var viewInnerEl = $xeScrollbar.$refs.refViewInnerElem;
|
|
519
|
-
if (autoResize
|
|
549
|
+
if (autoResize) {
|
|
520
550
|
var resizeObserver = globalResize.create(function () {
|
|
521
551
|
if (props.autoResize) {
|
|
522
552
|
$xeScrollbar.reFlag++;
|
|
523
553
|
}
|
|
524
554
|
});
|
|
525
|
-
|
|
555
|
+
if (viewEl) {
|
|
556
|
+
resizeObserver.observe(viewEl);
|
|
557
|
+
}
|
|
558
|
+
if (viewInnerEl) {
|
|
559
|
+
resizeObserver.observe(viewInnerEl);
|
|
560
|
+
}
|
|
526
561
|
internalData.resizeObserver = resizeObserver;
|
|
527
562
|
}
|
|
528
|
-
$xeScrollbar
|
|
529
|
-
$xeScrollbar.recalculate();
|
|
530
|
-
});
|
|
563
|
+
$xeScrollbar.reFlag++;
|
|
531
564
|
},
|
|
532
565
|
beforeDestroy: function beforeDestroy() {
|
|
533
566
|
var $xeScrollbar = this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_dom=require("../../ui/src/dom"),_util=require("./util"),_loading=_interopRequireDefault(require("../../loading"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var getConfig=_ui.VxeUI.getConfig,createEvent=_ui.VxeUI.createEvent,domUtils=_ui.VxeUI.domUtils,globalResize=_ui.VxeUI.globalResize,renderEmptyElement=_ui.VxeUI.renderEmptyElement;function createReactData(){return{yThumbHeight:0,xThumbWidth:0}}function createInternalData(){return{thumbDragOffset:0,yThumbTop:0,xThumbLeft:0,lastScrollTop:0,lastScrollLeft:0}}var _default2=exports.default=(0,_comp.defineVxeComponent)({name:"VxeScrollbar",props:{width:[String,Number],height:[String,Number],minWidth:[String,Number],minHeight:[String,Number],maxWidth:[String,Number],maxHeight:[String,Number],loading:Boolean,native:{type:Boolean,default:function(){return getConfig().scrollbar.native}},xConfig:Object,yConfig:Object,className:String,viewClassName:String,autoResize:{type:Boolean,default:function(){return getConfig().scrollbar.autoResize}},syncResize:[Boolean,String,Number]},data:function(){var e=_xeUtils.default.uniqueId(),t=createReactData();return Object.assign(Object.assign({},{}),{xID:e,reactData:t,reFlag:0})},computed:{computeWrapperStyle:function(){var e=this,t=e.width,i=e.height,r=e.minWidth,l=e.minHeight,n=e.maxWidth,
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_dom=require("../../ui/src/dom"),_util=require("./util"),_loading=_interopRequireDefault(require("../../loading"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var getConfig=_ui.VxeUI.getConfig,createEvent=_ui.VxeUI.createEvent,domUtils=_ui.VxeUI.domUtils,globalResize=_ui.VxeUI.globalResize,renderEmptyElement=_ui.VxeUI.renderEmptyElement;function createReactData(){return{yThumbHeight:0,xThumbWidth:0}}function createInternalData(){return{thumbDragOffset:0,yThumbTop:0,xThumbLeft:0,lastScrollTop:0,lastScrollLeft:0}}var _default2=exports.default=(0,_comp.defineVxeComponent)({name:"VxeScrollbar",props:{width:[String,Number],height:[String,Number],minWidth:[String,Number],minHeight:[String,Number],maxWidth:[String,Number],maxHeight:[String,Number],loading:Boolean,native:{type:Boolean,default:function(){return getConfig().scrollbar.native}},xConfig:Object,yConfig:Object,className:String,viewClassName:String,autoResize:{type:Boolean,default:function(){return getConfig().scrollbar.autoResize}},syncResize:[Boolean,String,Number]},data:function(){var e=_xeUtils.default.uniqueId(),t=createReactData();return Object.assign(Object.assign({},{}),{xID:e,reactData:t,reFlag:0})},computed:{computeWrapperStyle:function(){var e=this,t=e.width,i=e.height,r=e.minWidth,l=e.minHeight,n=e.maxWidth,a=e.maxHeight,o=e.computeXOpts,e=e.computeYOpts,s={};return t&&(s.width=(0,_dom.toCssUnit)(t)),i&&(s.height=(0,_dom.toCssUnit)(i)),r&&(s.minWidth=(0,_dom.toCssUnit)(r)),l&&(s.minHeight=(0,_dom.toCssUnit)(l)),n&&(s.maxWidth=(0,_dom.toCssUnit)(n)),a&&(s.maxHeight=(0,_dom.toCssUnit)(a)),e.width&&(s["--vxe-ui-scrollbar-y-width"]=(0,_dom.toCssUnit)(e.width)),o.height&&(s["--vxe-ui-scrollbar-x-height"]=(0,_dom.toCssUnit)(o.height)),s},computeWrapperClss:function(){var e=this,t=e.native,i=e.className,r=e.computeXOpts,e=e.computeYOpts;return domUtils.buildClass(["vxe-scrollbar","ov-x--".concat(r.visible||"visible"),"ov-y--".concat(e.visible||"visible"),t?"is--native":"is--virtual",i],{"ov-x--auto-hide":r.autoHide,"ov-y--auto-hide":e.autoHide})},computeViewClss:function(){var e=this.viewClassName;return domUtils.buildClass(["vxe-scrollbar--view",e])},computeXOpts:function(){return Object.assign({},getConfig().scrollbar.xConfig,this.xConfig)},computeYOpts:function(){return Object.assign({},getConfig().scrollbar.yConfig,this.yConfig)}},methods:{dispatchEvent:function(e,t,i){this.$emit(e,createEvent(i,{$scrollbar:this},t))},scrollTo:function(e,t){var i=this.$refs.refViewElem;i&&(_xeUtils.default.isNumber(e)?i.scrollTo(e,t||0):i.scrollTo(e))},scrollIntoView:function(){var e=this.$refs.refViewElem;e&&e.scrollIntoView()},recalculate:function(){var e=this;return e.updateThumbSize(),e.updateThumbOffset(),e.$nextTick()},updateThumbSize:function(){var e,t,i=this,r=i.reactData,l=i.$refs.refViewElem;l&&(t=(t=i.$refs.refTrackXElem)?(0,_util.getThumbSize)(l.clientWidth,l.scrollWidth,t.clientWidth):0,(e=i.$refs.refThumbXElem)&&(e.style.width=t+"px"),r.xThumbWidth=t,t=(e=i.$refs.refTrackYElem)?(0,_util.getThumbSize)(l.clientHeight,l.scrollHeight,e.clientHeight):0,(l=i.$refs.refThumbYElem)&&(l.style.height=t+"px"),r.yThumbHeight=t)},updateThumbOffset:function(){var e,t,i,r=this,l=r.reactData,n=r.internalData,a=r.$refs.refViewElem;a&&(e=l.xThumbWidth,l=l.yThumbHeight,i=r.$refs.refTrackXElem,t=r.$refs.refThumbXElem,i=i&&e?(0,_util.getThumbOffsetSize)(a.scrollLeft,a.clientWidth,a.scrollWidth,i.clientWidth,e):0,n.xThumbLeft=i,t&&e&&(t.style.width=e+"px",t.style.transform="translateX(".concat(i,"px)")),e=r.$refs.refTrackYElem,t=r.$refs.refThumbYElem,i=e&&l?(0,_util.getThumbOffsetSize)(a.scrollTop,a.clientHeight,a.scrollHeight,e.clientHeight,l):0,n.yThumbTop=i,t)&&l&&(t.style.height=l+"px",t.style.transform="translateY(".concat(i,"px)"))},scrollEvent:function(e){var t,i=this,r=i.reactData,l=i.internalData,n=r.xThumbWidth,r=r.yThumbHeight,a=l.lastScrollTop,o=l.lastScrollLeft,s=i.computeXOpts,c=e.currentTarget,u=c.scrollTop,h=c.scrollLeft,m=c.clientWidth,f=c.clientHeight,d=c.scrollHeight,c=c.scrollWidth,g="",p=!1,b=!1,v=!1,T=!1;a!==u&&(t=_xeUtils.default.toNumber(i.computeYOpts.threshold)||1,a<u?(g="bottom",0<r&&d-t<=u+f&&(b=!0)):(g="top",0<r&&u<=t&&(p=!0))),o!==h&&(a=_xeUtils.default.toNumber(s.threshold)||1,o<h?(g="right",0<n&&c-a<=h+m&&(T=!0)):(g="left",0<n&&h<=a&&(v=!0))),i.updateThumbOffset(),l.lastScrollTop=u,l.lastScrollLeft=h,(b||p||T||v)&&i.dispatchEvent("scroll-boundary",{direction:g,isTop:p,isBottom:b,isLeft:v,isRight:T,scrollTop:u,scrollLeft:h,clientWidth:m,clientHeight:f,scrollHeight:d,scrollWidth:c},e),i.dispatchEvent("scroll",{direction:g,isTop:0<r&&u<=0,isBottom:0<r&&d<=u+f,isLeft:0<n&&h<=0,isRight:0<n&&c<=h+m,scrollTop:u,scrollLeft:h,clientWidth:m,clientHeight:f,scrollHeight:d,scrollWidth:c},e)},clickTrackXEvent:function(e){var t,i,r=this.reactData,l=e.currentTarget;l===e.target&&(t=this.$refs.refViewElem)&&(r=r.xThumbWidth,i=l.getBoundingClientRect(),t.scrollTo({left:(0,_util.getScrollFromClick)(e.clientX-i.left,t.clientWidth,t.scrollWidth,l.clientWidth,r),behavior:"auto"}))},clickTrackYEvent:function(e){var t,i,r=this.reactData,l=e.currentTarget;l===e.target&&(t=this.$refs.refViewElem)&&(r=r.yThumbHeight,i=l.getBoundingClientRect(),t.scrollTo({top:(0,_util.getScrollFromClick)(e.clientY-i.top,t.clientHeight,t.scrollHeight,l.clientHeight,r),behavior:"auto"}))},pointerdownThumbXEvent:function(e){var t,i=this.reactData,r=this.internalData,l=e.currentTarget,n=(r.isThumbDrag=!0,l.setPointerCapture(e.pointerId),this.$refs.refViewElem);n&&(i=i.xThumbWidth,t=(l=l.parentElement).getBoundingClientRect(),e=e.clientX-t.left,t=(0,_util.getThumbOffsetSize)(n.scrollLeft,n.clientWidth,n.scrollWidth,l.clientWidth,i),r.thumbDragOffset=e-t)},pointermoveThumbXEvent:function(e){var t,i,r=this.reactData,l=this.internalData,n=l.isThumbDrag,l=l.thumbDragOffset;n&&(n=this.$refs.refViewElem)&&(r=r.xThumbWidth,i=(t=e.currentTarget.parentElement).getBoundingClientRect(),n.scrollLeft=(0,_util.getScrollFromDrag)(e.clientX-i.left,l,n.clientWidth,n.scrollWidth,t.clientWidth,r))},cleatPointerThumbEvent:function(e){var t=this.internalData;e.currentTarget.releasePointerCapture(e.pointerId),t.isThumbDrag=!1},pointerdownThumbYEvent:function(e){var t,i=this.reactData,r=this.internalData,l=e.currentTarget,n=(r.isThumbDrag=!0,l.setPointerCapture(e.pointerId),this.$refs.refViewElem);n&&(i=i.yThumbHeight,t=(l=l.parentElement).getBoundingClientRect(),e=e.clientY-t.top,t=(0,_util.getThumbOffsetSize)(n.scrollTop,n.clientHeight,n.scrollHeight,l.clientHeight,i),r.thumbDragOffset=e-t)},pointermoveThumbYEvent:function(e){var t,i,r=this.reactData,l=this.internalData,n=l.isThumbDrag,l=l.thumbDragOffset;n&&(n=this.$refs.refViewElem)&&(r=r.yThumbHeight,i=(t=e.currentTarget.parentElement).getBoundingClientRect(),n.scrollTop=(0,_util.getScrollFromDrag)(e.clientY-i.top,l,n.clientHeight,n.scrollHeight,t.clientHeight,r))},renderVN:function(e){var t=this,i=t.$scopedSlots,r=t.native,l=t.loading,n=t.computeXOpts,a=t.computeYOpts,i=i.default;return e("div",{ref:"refElem",class:t.computeWrapperClss,style:t.computeWrapperStyle},[e("div",{ref:"refViewElem",class:t.computeViewClss,on:{scroll:t.scrollEvent}},[e("div",{ref:"refViewInnerElem",class:"vxe-scrollbar--view-inner"},t.autoResize?[e("div",{key:"vi",ref:"refViewInnerElem",class:"vxe-scrollbar--view-inner"},i?i({}):[])]:i?i({}):[])]),r||"hidden"===n.visible?renderEmptyElement(t):e("div",{ref:"refTrackXElem",class:"vxe-scrollbar--track-x",on:{click:t.clickTrackXEvent}},[e("div",{ref:"refThumbXElem",class:"vxe-scrollbar--thumb-x",on:{pointerdown:t.pointerdownThumbXEvent,pointermove:t.pointermoveThumbXEvent,pointerup:t.cleatPointerThumbEvent,pointercancel:t.cleatPointerThumbEvent,lostpointercapture:t.cleatPointerThumbEvent}})]),r||"hidden"===a.visible?renderEmptyElement(t):e("div",{ref:"refTrackYElem",class:"vxe-scrollbar--track-y",on:{click:t.clickTrackYEvent}},[e("div",{ref:"refThumbYElem",class:"vxe-scrollbar--thumb-y",on:{pointerdown:t.pointerdownThumbYEvent,pointermove:t.pointermoveThumbYEvent,pointerup:t.cleatPointerThumbEvent,pointercancel:t.cleatPointerThumbEvent,lostpointercapture:t.cleatPointerThumbEvent}})]),e(_loading.default,{class:"vxe-scrollbar--loading",props:{value:l}})])}},watch:{height:function(){this.reFlag++},width:function(){this.reFlag++},minHeight:function(){this.reFlag++},minWidth:function(){this.reFlag++},maxHeight:function(){this.reFlag++},maxWidth:function(){this.reFlag++},native:function(){this.reFlag++},syncResize:function(){this.reFlag++},reFlag:function(){var e=this;e.recalculate().then(function(){e.recalculate()})}},created:function(){this.internalData=createInternalData()},mounted:function(){var e=this,t=e,i=e.internalData,r=t.autoResize,l=e.$refs.refViewElem,n=e.$refs.refViewInnerElem;r&&(r=globalResize.create(function(){t.autoResize&&e.reFlag++}),l&&r.observe(l),n&&r.observe(n),i.resizeObserver=r),e.reFlag++},beforeDestroy:function(){var e=this.internalData.resizeObserver;e&&e.disconnect()},destroyed:function(){var e=this.reactData,t=this.internalData;_xeUtils.default.assign(e,createReactData()),_xeUtils.default.assign(t,createInternalData())},render:function(e){return this.renderVN(e)}});
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
}
|
|
17
17
|
.vxe-scrollbar.is--virtual.ov-x--auto-hide > .vxe-scrollbar--track-x {
|
|
18
18
|
opacity: 0;
|
|
19
|
-
transition: opacity 0.
|
|
19
|
+
transition: opacity 0.8s ease-in-out;
|
|
20
20
|
}
|
|
21
21
|
.vxe-scrollbar.is--virtual.ov-y--auto-hide:hover > .vxe-scrollbar--track-y {
|
|
22
22
|
opacity: 1;
|
|
23
23
|
}
|
|
24
24
|
.vxe-scrollbar.is--virtual.ov-y--auto-hide > .vxe-scrollbar--track-y {
|
|
25
25
|
opacity: 0;
|
|
26
|
-
transition: opacity 0.
|
|
26
|
+
transition: opacity 0.8s ease-in-out;
|
|
27
27
|
}
|
|
28
28
|
.vxe-scrollbar.is--native > .vxe-scrollbar--view {
|
|
29
29
|
overflow-x: auto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vxe-scrollbar{width:100%;position:relative}.vxe-scrollbar.is--virtual>.vxe-scrollbar--view{scrollbar-width:none;-ms-overflow-style:none;overflow-x:auto;overflow-y:auto}.vxe-scrollbar.is--virtual>.vxe-scrollbar--view::-webkit-scrollbar{display:none}.vxe-scrollbar.is--virtual.ov-x--auto-hide:hover>.vxe-scrollbar--track-x{opacity:1}.vxe-scrollbar.is--virtual.ov-x--auto-hide>.vxe-scrollbar--track-x{opacity:0;transition:opacity .
|
|
1
|
+
.vxe-scrollbar{width:100%;position:relative}.vxe-scrollbar.is--virtual>.vxe-scrollbar--view{scrollbar-width:none;-ms-overflow-style:none;overflow-x:auto;overflow-y:auto}.vxe-scrollbar.is--virtual>.vxe-scrollbar--view::-webkit-scrollbar{display:none}.vxe-scrollbar.is--virtual.ov-x--auto-hide:hover>.vxe-scrollbar--track-x{opacity:1}.vxe-scrollbar.is--virtual.ov-x--auto-hide>.vxe-scrollbar--track-x{opacity:0;transition:opacity .8s ease-in-out}.vxe-scrollbar.is--virtual.ov-y--auto-hide:hover>.vxe-scrollbar--track-y{opacity:1}.vxe-scrollbar.is--virtual.ov-y--auto-hide>.vxe-scrollbar--track-y{opacity:0;transition:opacity .8s ease-in-out}.vxe-scrollbar.is--native>.vxe-scrollbar--view{overflow-x:auto;overflow-y:auto}.vxe-scrollbar.is--native.ov-x--hidden>.vxe-scrollbar--view{overflow-x:hidden}.vxe-scrollbar.is--native.ov-y--hidden>.vxe-scrollbar--view{overflow-y:hidden}.vxe-scrollbar.is--native>.vxe-scrollbar--view::-webkit-scrollbar{width:var(--vxe-ui-scrollbar-y-width);height:var(--vxe-ui-scrollbar-x-height)}.vxe-scrollbar.is--native>.vxe-scrollbar--view::-webkit-scrollbar-thumb{border-radius:var(--vxe-ui-base-border-radius);background-color:var(--vxe-ui-scrollbar-thumb-background-color)}.vxe-scrollbar.is--native>.vxe-scrollbar--view::-webkit-scrollbar-thumb:hover{background-color:var(--vxe-ui-scrollbar-thumb-hover-background-color)}.vxe-scrollbar.is--native>.vxe-scrollbar--view::-webkit-scrollbar-thumb:active{background-color:var(--vxe-ui-scrollbar-thumb-active-background-color)}.vxe-scrollbar--view{height:100%;width:100%}.vxe-scrollbar--track-x,.vxe-scrollbar--track-y{position:absolute;background-color:var(--vxe-ui-scrollbar-track-background-color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-scrollbar--track-x{width:100%;bottom:0;left:0;height:var(--vxe-ui-scrollbar-x-height)}.vxe-scrollbar--track-y{height:100%;right:0;top:0;width:var(--vxe-ui-scrollbar-y-width)}.vxe-scrollbar--thumb-y{width:100%}.vxe-scrollbar--thumb-x{height:100%}.vxe-scrollbar--thumb-x,.vxe-scrollbar--thumb-y{border-radius:var(--vxe-ui-base-border-radius);background-color:var(--vxe-ui-scrollbar-thumb-background-color)}.vxe-scrollbar--thumb-x:hover,.vxe-scrollbar--thumb-y:hover{background-color:var(--vxe-ui-scrollbar-thumb-hover-background-color)}.vxe-scrollbar--thumb-x:active,.vxe-scrollbar--thumb-y:active{background-color:var(--vxe-ui-scrollbar-thumb-active-background-color)}
|