import '../../../utils/index.mjs';
import { treeProps as treeProps$1 } from '../../../vue-components/vc-tree/src/props.mjs';
import { someType, booleanType, arrayType, functionType, objectType } from '../../../utils/vue/propType.mjs';
import PropTypes from '../../../utils/vue/vueTypes.mjs';

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

export { directoryTreeProps, treeProps };
//# sourceMappingURL=props.mjs.map
