"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("vue"),h=require("../../vc-tree/utils/conductUtil.js"),i=(o,r,n,a,v,d)=>{const t=u.shallowRef([]),c=u.shallowRef([]);return u.watchEffect(()=>{let l=o.value.map(({value:e})=>e),s=r.value.map(({value:e})=>e);const f=l.filter(e=>!a.value[e]);n.value&&({checkedKeys:l,halfCheckedKeys:s}=h.conductCheck(l,!0,a.value,v.value,d.value)),t.value=Array.from(new Set([...f,...l])),c.value=s}),[t,c]};exports.default=i;
