import{defineComponent as p,createVNode as e}from"vue";import f from"../_util/classNames.mjs";import s from"../_util/vue-types/index.mjs";import d from"./Item.mjs";import{useInjectOverflowContext as y,OverflowContextProvider as v}from"./context.mjs";const I=p({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:s.any,title:s.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:n}){const r=y();return()=>{if(!r.value){const{component:u="div",...l}=t;return e(u,{...l,...n},{default:()=>[o.default?.()]})}const{className:a,...c}=r.value,{class:m,...i}=n;return e(v,{value:null},{default:()=>[e(d,{class:f(a,m),...c,...i,...t},o)]})}}});export{I as default};
