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