"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=Symbol("TreeContextKey"),c=e.defineComponent({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(t,{slots:n}){return e.provide(o,e.computed(()=>t.value)),()=>n.default?.()}}),d=()=>e.inject(o,e.computed(()=>({}))),s=Symbol("KeysStateKey"),l=t=>{e.provide(s,t)},a=()=>e.inject(s,{expandedKeys:e.shallowRef([]),selectedKeys:e.shallowRef([]),loadedKeys:e.shallowRef([]),loadingKeys:e.shallowRef([]),checkedKeys:e.shallowRef([]),halfCheckedKeys:e.shallowRef([]),expandedKeysSet:e.computed(()=>new Set),selectedKeysSet:e.computed(()=>new Set),loadedKeysSet:e.computed(()=>new Set),loadingKeysSet:e.computed(()=>new Set),checkedKeysSet:e.computed(()=>new Set),halfCheckedKeysSet:e.computed(()=>new Set),flattenNodes:e.shallowRef([])});exports.TreeContext=c;exports.useInjectKeysState=a;exports.useInjectTreeContext=d;exports.useProvideKeysState=l;
