import{VALUE_SPLIT as e}from"../utils/commonUtil.mjs";import{convertDataToEntities as t}from"../../vc-tree/utils/treeUtil.mjs";import{computed as n}from"vue";var r=(r,i)=>n(()=>t(r.value,{fieldNames:i.value,initWrapper:e=>({...e,pathKeyEntities:{}}),processEntity:(t,n)=>{let r=t.nodes.map(e=>e[i.value.value]).join(e);n.pathKeyEntities[r]=t,t.key=r}}).pathKeyEntities);export{r as default};