'use strict';

require('../../../utils/index.cjs');
var props = require('../../../vue-components/vc-tree/src/props.cjs');
var propType = require('../../../utils/vue/propType.cjs');
var vueTypes = require('../../../utils/vue/vueTypes.cjs');

function treeProps() {
  const baseTreeProps = props.treeProps();
  return {
    ...baseTreeProps,
    "showLine": propType.someType([Boolean, Object]),
    /** 是否支持多选 */
    "multiple": propType.booleanType(),
    /** 是否自动展开父节点 */
    "autoExpandParent": propType.booleanType(),
    /** checkable状态下节点选择完全受控（父子节点选中状态不再关联） */
    "checkStrictly": propType.booleanType(),
    /** 是否支持选中 */
    "checkable": propType.booleanType(),
    /** 是否禁用树 */
    "disabled": propType.booleanType(),
    /** 默认展开所有树节点 */
    "defaultExpandAll": propType.booleanType(),
    /** 默认展开对应树节点 */
    "defaultExpandParent": propType.booleanType(),
    /** 默认展开指定的树节点 */
    "defaultExpandedKeys": propType.arrayType(),
    /** （受控）展开指定的树节点 */
    "expandedKeys": propType.arrayType(),
    /** （受控）选中复选框的树节点 */
    "checkedKeys": propType.someType([Array, Object]),
    /** 默认选中复选框的树节点 */
    "defaultCheckedKeys": propType.arrayType(),
    /** （受控）设置选中的树节点 */
    "selectedKeys": propType.arrayType(),
    /** 默认选中的树节点 */
    "defaultSelectedKeys": propType.arrayType(),
    "selectable": propType.booleanType(),
    "loadedKeys": propType.arrayType(),
    "draggable": propType.booleanType(),
    "showIcon": propType.booleanType(),
    "icon": propType.functionType(),
    "switcherIcon": vueTypes.default.any,
    "prefixCls": String,
    /**
     * @default{title,key,children}
     * deprecated, please use `fieldNames` instead
     * 替换treeNode中 title,key,children字段为treeData中对应的字段
     */
    "replaceFields": propType.objectType(),
    "blockNode": propType.booleanType(),
    "openAnimation": vueTypes.default.any,
    "onDoubleclick": baseTreeProps.onDblclick,
    "onUpdate:selectedKeys": propType.functionType(),
    "onUpdate:checkedKeys": propType.functionType(),
    "onUpdate:expandedKeys": propType.functionType()
  };
}
function directoryTreeProps() {
  return {
    ...treeProps(),
    expandAction: propType.someType([Boolean, String])
  };
}

exports.directoryTreeProps = directoryTreeProps;
exports.treeProps = treeProps;
//# sourceMappingURL=props.cjs.map
