"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),u=require("../../vc-tree/utils/treeUtil.js"),a=require("../utils/commonUtil.js"),c=(n,t)=>o.computed(()=>u.convertDataToEntities(n.value,{fieldNames:t.value,initWrapper:e=>({...e,pathKeyEntities:{}}),processEntity:(e,s)=>{const i=e.nodes.map(r=>r[t.value.value]).join(a.VALUE_SPLIT);s.pathKeyEntities[i]=e,e.key=i}}).pathKeyEntities);exports.default=c;
