import{defineComponent as l,toRef as r,inject as o,provide as n}from"vue";const s=Symbol("menuContextKey"),c=e=>{n(s,e)},v=()=>o(s),d=Symbol("ForceRenderKey"),a=e=>{n(d,e)},y=()=>o(d,!1),i=Symbol("menuFirstLevelContextKey"),C=e=>{n(i,e)},x=()=>o(i,!0),F=l({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,{slots:u}){const t={...v()};return e.mode!==void 0&&(t.mode=r(e,"mode")),e.overflowDisabled!==void 0&&(t.overflowDisabled=r(e,"overflowDisabled")),c(t),()=>u.default?.()}});export{s as MenuContextKey,F as MenuContextProvider,i as MenuFirstLevelContextKey,c as default,x as useInjectFirstLevel,y as useInjectForceRender,v as useInjectMenu,C as useProvideFirstLevel,a as useProvideForceRender,c as useProvideMenu};
