import '../../../utils/index.mjs';
import { buildProps, definePropType } from '../../../utils/props/runtime.mjs';

"use strict";
const operateTreeProps = buildProps({
  /**
   * @description tree-operate操作栏的下拉菜单是否打开(用于如果展开的话，tree-operate不用隐藏)
   */
  operateDropdownOpen: {
    type: Boolean,
    default: false
  },
  /**
   * @description tree-list的loading
   */
  loading: {
    type: Boolean,
    default: false
  },
  /**
   * @description 节流时间
   */
  fieldNames: {
    type: definePropType(Object),
    default: () => ({ children: "children", title: "title", key: "key" })
  },
  /**
   * @description tree的数据
   */
  treeData: {
    type: definePropType(Array)
  },
  /**
   * @description  tree展开的key
   */
  expandedKeys: {
    type: definePropType(Array)
  },
  dropdownOpenState: {
    type: definePropType(Object)
  }
});
const operateTreeEmits = {
  expand: (expandedKeys, data) => expandedKeys || data,
  select: (selectedKeys, e) => selectedKeys || e
};
const OperateTreeEmits = typeof operateTreeEmits;

export { OperateTreeEmits, operateTreeEmits, operateTreeProps };
//# sourceMappingURL=operate-tree.mjs.map
