import e from"../_util/classNames.mjs";import t from"../_util/vue-types/index.mjs";import n from"./Item.mjs";import{OverflowContextProvider as r,useInjectOverflowContext as i}from"./context.mjs";import{createVNode as a,defineComponent as o}from"vue";var s=o({compatConfig:{MODE:3},name:`RawItem`,inheritAttrs:!1,props:{component:t.any,title:t.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(t,{slots:o,attrs:s}){let c=i();return()=>{if(!c.value){let{component:e=`div`,...n}=t;return a(e,{...n,...s},{default:()=>[o.default?.()]})}let{className:i,...l}=c.value,{class:u,...d}=s;return a(r,{value:null},{default:()=>[a(n,{class:e(i,u),...l,...d,...t},o)]})}}});export{s as default};