import{g as t,Q as r,W as l,r as n,X as a}from"./Czresmtb.js";const c=Object.assign(Object.assign({},a.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),p=t({name:"Scrollbar",props:c,setup(){const s=n(null);return Object.assign(Object.assign({},{scrollTo:(...o)=>{var e;(e=s.value)===null||e===void 0||e.scrollTo(o[0],o[1])},scrollBy:(...o)=>{var e;(e=s.value)===null||e===void 0||e.scrollBy(o[0],o[1])}}),{scrollbarInstRef:s})},render(){return r(l,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}});export{p as S};
