'use strict';

require('../../../utils/index.js');
var runtime = require('../../../utils/props/runtime.js');

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

exports.OperateTreeEmits = OperateTreeEmits;
exports.operateTreeEmits = operateTreeEmits;
exports.operateTreeProps = operateTreeProps;
//# sourceMappingURL=operate-tree.js.map
