import e from"../_util/classNames.mjs";import t from"../vc-resize-observer/index.mjs";import{createVNode as n}from"vue";var r=({height:r,offset:i,prefixCls:a,onInnerResize:o},{slots:s})=>{let c={},l={display:`flex`,flexDirection:`column`};return i!==void 0&&(c={height:`${r}px`,position:`relative`,overflow:`hidden`},l={...l,transform:`translateY(${i}px)`,position:`absolute`,left:0,right:0,top:0}),n(`div`,{style:c},[n(t,{onResize:({offsetHeight:e})=>{e&&o&&o()}},{default:()=>[n(`div`,{style:l,class:e({[`${a}-holder-inner`]:a})},[s.default?.()])]})])};r.displayName=`Filter`,r.inheritAttrs=!1,r.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};export{r as default};