vxe-pc-ui 4.18.22 → 4.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/dist/all.esm.js +39 -14
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/scrollbar/src/scrollbar.js +37 -12
- 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 +34 -10
- package/lib/index.umd.min.js +1 -1
- package/lib/scrollbar/src/scrollbar.js +32 -8
- 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 +37 -12
- package/styles/components/scrollbar.scss +2 -2
- package/styles/components/upload.scss +5 -3
- /package/es/icon/{iconfont.1791471274739.ttf → iconfont.1791517860186.ttf} +0 -0
- /package/es/icon/{iconfont.1791471274739.woff → iconfont.1791517860186.woff} +0 -0
- /package/es/icon/{iconfont.1791471274739.woff2 → iconfont.1791517860186.woff2} +0 -0
- /package/es/{iconfont.1791471274739.ttf → iconfont.1791517860186.ttf} +0 -0
- /package/es/{iconfont.1791471274739.woff → iconfont.1791517860186.woff} +0 -0
- /package/es/{iconfont.1791471274739.woff2 → iconfont.1791517860186.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1791471274739.ttf → iconfont.1791517860186.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1791471274739.woff → iconfont.1791517860186.woff} +0 -0
- /package/lib/icon/style/{iconfont.1791471274739.woff2 → iconfont.1791517860186.woff2} +0 -0
- /package/lib/{iconfont.1791471274739.ttf → iconfont.1791517860186.ttf} +0 -0
- /package/lib/{iconfont.1791471274739.woff → iconfont.1791517860186.woff} +0 -0
- /package/lib/{iconfont.1791471274739.woff2 → iconfont.1791517860186.woff2} +0 -0
|
@@ -441,7 +441,8 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
441
441
|
const renderVN = () => {
|
|
442
442
|
const {
|
|
443
443
|
native,
|
|
444
|
-
loading
|
|
444
|
+
loading,
|
|
445
|
+
autoResize
|
|
445
446
|
} = props;
|
|
446
447
|
const wrapperStyle = computeWrapperStyle.value;
|
|
447
448
|
const wrapperClss = computeWrapperClss.value;
|
|
@@ -457,10 +458,11 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
457
458
|
ref: refViewElem,
|
|
458
459
|
class: viewClss,
|
|
459
460
|
onScroll: scrollEvent
|
|
460
|
-
}, [(0, _vue.h)('div', {
|
|
461
|
+
}, autoResize ? [(0, _vue.h)('div', {
|
|
462
|
+
key: 'vi',
|
|
461
463
|
ref: refViewInnerElem,
|
|
462
464
|
class: 'vxe-scrollbar--view-inner'
|
|
463
|
-
}, defaultSlot ? defaultSlot({}) : [])]), native || xOpts.visible === 'hidden' ? renderEmptyElement($xeScrollbar) : (0, _vue.h)('div', {
|
|
465
|
+
}, defaultSlot ? defaultSlot({}) : [])] : defaultSlot ? defaultSlot({}) : []), native || xOpts.visible === 'hidden' ? renderEmptyElement($xeScrollbar) : (0, _vue.h)('div', {
|
|
464
466
|
ref: refTrackXElem,
|
|
465
467
|
class: 'vxe-scrollbar--track-x',
|
|
466
468
|
onClick: clickTrackXEvent
|
|
@@ -490,6 +492,24 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
490
492
|
})]);
|
|
491
493
|
};
|
|
492
494
|
const reFlag = (0, _vue.ref)(0);
|
|
495
|
+
(0, _vue.watch)(() => props.height, () => {
|
|
496
|
+
reFlag.value++;
|
|
497
|
+
});
|
|
498
|
+
(0, _vue.watch)(() => props.width, () => {
|
|
499
|
+
reFlag.value++;
|
|
500
|
+
});
|
|
501
|
+
(0, _vue.watch)(() => props.minHeight, () => {
|
|
502
|
+
reFlag.value++;
|
|
503
|
+
});
|
|
504
|
+
(0, _vue.watch)(() => props.minWidth, () => {
|
|
505
|
+
reFlag.value++;
|
|
506
|
+
});
|
|
507
|
+
(0, _vue.watch)(() => props.maxHeight, () => {
|
|
508
|
+
reFlag.value++;
|
|
509
|
+
});
|
|
510
|
+
(0, _vue.watch)(() => props.maxWidth, () => {
|
|
511
|
+
reFlag.value++;
|
|
512
|
+
});
|
|
493
513
|
(0, _vue.watch)(() => props.native, () => {
|
|
494
514
|
reFlag.value++;
|
|
495
515
|
});
|
|
@@ -505,19 +525,23 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
505
525
|
const {
|
|
506
526
|
autoResize
|
|
507
527
|
} = props;
|
|
528
|
+
const viewEl = refViewElem.value;
|
|
508
529
|
const viewInnerEl = refViewInnerElem.value;
|
|
509
|
-
if (autoResize
|
|
530
|
+
if (autoResize) {
|
|
510
531
|
const resizeObserver = globalResize.create(() => {
|
|
511
532
|
if (props.autoResize) {
|
|
512
533
|
reFlag.value++;
|
|
513
534
|
}
|
|
514
535
|
});
|
|
515
|
-
|
|
536
|
+
if (viewEl) {
|
|
537
|
+
resizeObserver.observe(viewEl);
|
|
538
|
+
}
|
|
539
|
+
if (viewInnerEl) {
|
|
540
|
+
resizeObserver.observe(viewInnerEl);
|
|
541
|
+
}
|
|
516
542
|
internalData.resizeObserver = resizeObserver;
|
|
517
543
|
}
|
|
518
|
-
|
|
519
|
-
$xeScrollbar.recalculate();
|
|
520
|
-
});
|
|
544
|
+
reFlag.value++;
|
|
521
545
|
});
|
|
522
546
|
(0, _vue.onBeforeUnmount)(() => {
|
|
523
547
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_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}}let{getConfig,createEvent,domUtils,globalResize,renderEmptyElement}=_ui.VxeUI;function createReactData(){return{yThumbHeight:0,xThumbWidth:0}}function createInternalData(){return{thumbDragOffset:0,yThumbTop:0,xThumbLeft:0,lastScrollTop:0,lastScrollLeft:0}}var _default=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:()=>getConfig().scrollbar.native},xConfig:Object,yConfig:Object,className:String,viewClassName:String,autoResize:{type:Boolean,default:()=>getConfig().scrollbar.autoResize},syncResize:[Boolean,String,Number]},emits:["scroll","scroll-boundary"],setup(s,e){let{emit:l,slots:
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_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}}let{getConfig,createEvent,domUtils,globalResize,renderEmptyElement}=_ui.VxeUI;function createReactData(){return{yThumbHeight:0,xThumbWidth:0}}function createInternalData(){return{thumbDragOffset:0,yThumbTop:0,xThumbLeft:0,lastScrollTop:0,lastScrollLeft:0}}var _default=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:()=>getConfig().scrollbar.native},xConfig:Object,yConfig:Object,className:String,viewClassName:String,autoResize:{type:Boolean,default:()=>getConfig().scrollbar.autoResize},syncResize:[Boolean,String,Number]},emits:["scroll","scroll-boundary"],setup(s,e){let{emit:l,slots:c}=e;var t=_xeUtils.default.uniqueId();let h=(0,_vue.ref)(),v=(0,_vue.ref)(),d=(0,_vue.ref)(),g=(0,_vue.ref)(),m=(0,_vue.ref)(),f=(0,_vue.ref)(),b=(0,_vue.ref)(),p=(0,_vue.reactive)(createReactData()),_=createInternalData(),T=(0,_vue.computed)(()=>{var{width:e,height:t,minWidth:i,minHeight:l,maxWidth:r,maxHeight:a}=s,o=H.value,u=W.value,n={};return e&&(n.width=(0,_dom.toCssUnit)(e)),t&&(n.height=(0,_dom.toCssUnit)(t)),i&&(n.minWidth=(0,_dom.toCssUnit)(i)),l&&(n.minHeight=(0,_dom.toCssUnit)(l)),r&&(n.maxWidth=(0,_dom.toCssUnit)(r)),a&&(n.maxHeight=(0,_dom.toCssUnit)(a)),u.width&&(n["--vxe-ui-scrollbar-y-width"]=(0,_dom.toCssUnit)(u.width)),o.height&&(n["--vxe-ui-scrollbar-x-height"]=(0,_dom.toCssUnit)(o.height)),n}),x=(0,_vue.computed)(()=>{var{native:e,className:t}=s,i=H.value,l=W.value;return domUtils.buildClass(["vxe-scrollbar","ov-x--"+(i.visible||"visible"),"ov-y--"+(l.visible||"visible"),e?"is--native":"is--virtual",t],{"ov-x--auto-hide":i.autoHide,"ov-y--auto-hide":l.autoHide})}),C=(0,_vue.computed)(()=>{var e=s.viewClassName;return domUtils.buildClass(["vxe-scrollbar--view",e])}),H=(0,_vue.computed)(()=>Object.assign({},getConfig().scrollbar.xConfig,s.xConfig)),W=(0,_vue.computed)(()=>Object.assign({},getConfig().scrollbar.yConfig,s.yConfig)),i={refElem:h},r={},y={xID:t,props:s,context:e,reactData:p,internalData:_,getRefMaps:()=>i,getComputeMaps:()=>r},S=(e,t,i)=>{l(e,createEvent(i,{$scrollbar:y},t))};t={dispatchEvent:S,scrollTo(e,t){var i=v.value;i&&(_xeUtils.default.isNumber(e)?i.scrollTo(e,t||0):i.scrollTo(e))},scrollIntoView(){var e=v.value;e&&e.scrollIntoView()},recalculate(){return a(),w(),(0,_vue.nextTick)()}};let a=()=>{var e,t,i=v.value;i&&(t=(t=g.value)?(0,_util.getThumbSize)(i.clientWidth,i.scrollWidth,t.clientWidth):0,(e=f.value)&&(e.style.width=t+"px"),p.xThumbWidth=t,t=(e=m.value)?(0,_util.getThumbSize)(i.clientHeight,i.scrollHeight,e.clientHeight):0,(i=b.value)&&(i.style.height=t+"px"),p.yThumbHeight=t)},w=()=>{var e,t,i,l,r=v.value;r&&({xThumbWidth:t,yThumbHeight:e}=p,l=g.value,i=f.value,l=l&&t?(0,_util.getThumbOffsetSize)(r.scrollLeft,r.clientWidth,r.scrollWidth,l.clientWidth,t):0,_.xThumbLeft=l,i&&t&&(i.style.width=t+"px",i.style.transform=`translateX(${l}px)`),t=m.value,i=b.value,l=t&&e?(0,_util.getThumbOffsetSize)(r.scrollTop,r.clientHeight,r.scrollHeight,t.clientHeight,e):0,_.yThumbTop=l,i)&&e&&(i.style.height=e+"px",i.style.transform=`translateY(${l}px)`)},R=e=>{var{xThumbWidth:t,yThumbHeight:i}=p,{lastScrollTop:l,lastScrollLeft:r}=_,a=H.value,o=W.value,{scrollTop:u,scrollLeft:n,clientWidth:s,clientHeight:c,scrollHeight:h,scrollWidth:v}=e.currentTarget;let d="",g=!1,m=!1,f=!1,b=!1;l!==u&&(o=_xeUtils.default.toNumber(o.threshold)||1,l<u?(d="bottom",0<i&&h-o<=u+c&&(m=!0)):(d="top",0<i&&u<=o&&(g=!0))),r!==n&&(l=_xeUtils.default.toNumber(a.threshold)||1,r<n?(d="right",0<t&&v-l<=n+s&&(b=!0)):(d="left",0<t&&n<=l&&(f=!0))),w(),_.lastScrollTop=u,_.lastScrollLeft=n,(m||g||b||f)&&S("scroll-boundary",{direction:d,isTop:g,isBottom:m,isLeft:f,isRight:b,scrollTop:u,scrollLeft:n,clientWidth:s,clientHeight:c,scrollHeight:h,scrollWidth:v},e),S("scroll",{direction:d,isTop:0<i&&u<=0,isBottom:0<i&&h<=u+c,isLeft:0<t&&n<=0,isRight:0<t&&v<=n+s,scrollTop:u,scrollLeft:n,clientWidth:s,clientHeight:c,scrollHeight:h,scrollWidth:v},e)},D=e=>{var t,i,l,r=e.currentTarget;r===e.target&&(t=v.value)&&(i=p.xThumbWidth,l=r.getBoundingClientRect(),t.scrollTo({left:(0,_util.getScrollFromClick)(e.clientX-l.left,t.clientWidth,t.scrollWidth,r.clientWidth,i),behavior:"auto"}))},U=e=>{var t,i,l,r=e.currentTarget;r===e.target&&(t=v.value)&&(i=p.yThumbHeight,l=r.getBoundingClientRect(),t.scrollTo({top:(0,_util.getScrollFromClick)(e.clientY-l.top,t.clientHeight,t.scrollHeight,r.clientHeight,i),behavior:"auto"}))},z=e=>{var t,i,l=e.currentTarget,r=(_.isThumbDrag=!0,l.setPointerCapture(e.pointerId),v.value);r&&(t=p.xThumbWidth,i=(l=l.parentElement).getBoundingClientRect(),e=e.clientX-i.left,i=(0,_util.getThumbOffsetSize)(r.scrollLeft,r.clientWidth,r.scrollWidth,l.clientWidth,t),_.thumbDragOffset=e-i)},O=t=>{let e=t.currentTarget;if(e.hasPointerCapture(t.pointerId)){var{isThumbDrag:i,thumbDragOffset:l}=_;if(i){i=v.value;if(i){var r=p.xThumbWidth;let e=t.currentTarget;var a=e.parentElement,o=a.getBoundingClientRect();i.scrollLeft=(0,_util.getScrollFromDrag)(t.clientX-o.left,l,i.clientWidth,i.scrollWidth,a.clientWidth,r)}}}},N=e=>{e.currentTarget.releasePointerCapture(e.pointerId),_.isThumbDrag=!1},L=e=>{var t,i,l=e.currentTarget,r=(_.isThumbDrag=!0,l.setPointerCapture(e.pointerId),v.value);r&&(t=p.yThumbHeight,i=(l=l.parentElement).getBoundingClientRect(),e=e.clientY-i.top,i=(0,_util.getThumbOffsetSize)(r.scrollTop,r.clientHeight,r.scrollHeight,l.clientHeight,t),_.thumbDragOffset=e-i)},E=t=>{let e=t.currentTarget;if(e.hasPointerCapture(t.pointerId)){var{isThumbDrag:i,thumbDragOffset:l}=_;if(i){i=v.value;if(i){var r=p.yThumbHeight;let e=t.currentTarget;var a=e.parentElement,o=a.getBoundingClientRect();i.scrollTop=(0,_util.getScrollFromDrag)(t.clientY-o.top,l,i.clientHeight,i.scrollHeight,a.clientHeight,r)}}}};Object.assign(y,t,{});let o=(0,_vue.ref)(0);return(0,_vue.watch)(()=>s.height,()=>{o.value++}),(0,_vue.watch)(()=>s.width,()=>{o.value++}),(0,_vue.watch)(()=>s.minHeight,()=>{o.value++}),(0,_vue.watch)(()=>s.minWidth,()=>{o.value++}),(0,_vue.watch)(()=>s.maxHeight,()=>{o.value++}),(0,_vue.watch)(()=>s.maxWidth,()=>{o.value++}),(0,_vue.watch)(()=>s.native,()=>{o.value++}),(0,_vue.watch)(()=>s.syncResize,()=>{o.value++}),(0,_vue.watch)(o,()=>{y.recalculate().then(()=>{y.recalculate()})}),(0,_vue.onMounted)(()=>{var e=s.autoResize,t=v.value,i=d.value;e&&(e=globalResize.create(()=>{s.autoResize&&o.value++}),t&&e.observe(t),i&&e.observe(i),_.resizeObserver=e),o.value++}),(0,_vue.onBeforeUnmount)(()=>{var e=_.resizeObserver;e&&e.disconnect()}),y.renderVN=()=>{var{native:e,loading:t,autoResize:i}=s,l=T.value,r=x.value,a=C.value,o=H.value,u=W.value,n=c.default;return(0,_vue.h)("div",{ref:h,class:r,style:l},[(0,_vue.h)("div",{ref:v,class:a,onScroll:R},i?[(0,_vue.h)("div",{key:"vi",ref:d,class:"vxe-scrollbar--view-inner"},n?n({}):[])]:n?n({}):[]),e||"hidden"===o.visible?renderEmptyElement(y):(0,_vue.h)("div",{ref:g,class:"vxe-scrollbar--track-x",onClick:D},[(0,_vue.h)("div",{ref:f,class:"vxe-scrollbar--thumb-x",onPointerdown:z,onPointermove:O,onPointerup:N,onPointercancel:N,onLostpointercapture:N})]),e||"hidden"===u.visible?renderEmptyElement(y):(0,_vue.h)("div",{ref:m,class:"vxe-scrollbar--track-y",onClick:U},[(0,_vue.h)("div",{ref:b,class:"vxe-scrollbar--thumb-y",onPointerdown:L,onPointermove:E,onPointerup:N,onPointercancel:N,onLostpointercapture:N})]),(0,_vue.h)(_loading.default,{class:"vxe-scrollbar--loading",modelValue:t})])},y},render(){return this.renderVN()}});
|
|
@@ -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;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)}
|