/**
 * ldesign v0.4.6
 * (c) 2023 ldesign
 * @license MIT
 */

import { ref } from '@vue/composition-api';

function useTreeState(props, store) {
  var treeContentRef = ref();
  var nodes = ref([]);
  var isScrolling = ref(false);
  var state = {
    store: store,
    treeContentRef: treeContentRef,
    nodes: nodes,
    isScrolling: isScrolling,
    mouseEvent: null,
    virtualConfig: null,
    scope: {
      treeContentRef: treeContentRef,
      treeProps: props,
      scopedSlots: {},
      virtualConfig: null
    }
  };
  return {
    isScrolling: isScrolling,
    treeContentRef: treeContentRef,
    state: state
  };
}

export { useTreeState as default };
//# sourceMappingURL=useTreeState.js.map
