import{defineComponent as m,provide as s,inject as r,computed as e}from"vue";const l="$$__vc-menu-more__key",a=Symbol("KeyPathContext"),v=()=>r(a,{parentEventKeys:e(()=>[]),parentKeys:e(()=>[]),parentInfo:{}}),d=(n,t,p)=>{const{parentEventKeys:c,parentKeys:y}=v(),K=e(()=>[...c.value,n]),o=e(()=>[...y.value,t]);return s(a,{parentEventKeys:K,parentKeys:o,parentInfo:p}),o},u=Symbol("measure"),i=m({compatConfig:{MODE:3},setup(n,{slots:t}){return s(u,!0),()=>t.default?.()}}),E=()=>r(u,!1);export{a as KeyPathContext,l as OVERFLOW_KEY,i as PathContext,d as default,v as useInjectKeyPath,E as useMeasure,d as useProvideKeyPath};
