import{d,e as t,f as r,g as o,F as p,j as u,n as l,G as c}from"./index.0308b213.js";const m={class:"task-leftbar"},f=o("div",{class:"task-leftbar-defalutItem"},"need slot",-1),y=d({props:{dataKey:{type:String,required:!0},unVisibleHeight:{type:Number,required:!0},datas:{type:Array,required:!0},groupIndex:{type:Number,default:()=>0},cellHeight:{type:Number,default:20}},setup(n){const e=n;return console.log("left bar",e),(i,g)=>(t(),r("div",m,[o("div",{ref:"wrapperElement",class:"left-bar-wrapper",style:l({height:e.datas.length*e.cellHeight+"px"})},[(t(!0),r(p,null,u(e.datas,(a,s)=>(t(),r("div",{class:"task-leftbar-item",style:l({top:s*e.cellHeight+"px",height:`${e.cellHeight}px`}),key:e.dataKey?a[e.dataKey]:s},[c(i.$slots,"menuItem",{rowData:a},()=>[f])],4))),128))],4)]))}});export{y as _};
