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