import { _objectSpread2 } from "../../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { _objectWithoutProperties } from "../../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
import React, { forwardRef } from "react";
import { TreeSelect } from "antd";
//#region src/components/table/Table/fields/treeSelect/Edit/index.tsx
const _excluded = [
	"value",
	"onChange",
	"onBlur",
	"style",
	"bordered",
	"treeData"
];
const Edit = (props, ref) => {
	const { value, onChange, onBlur, style, bordered, treeData } = props, others = _objectWithoutProperties(props, _excluded);
	return /* @__PURE__ */ React.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, others), {}, {
		treeData: treeData || [],
		bordered,
		ref,
		value,
		onChange,
		style,
		onBlur,
		onClick: (e) => e.stopPropagation()
	}));
};
var Edit_default = forwardRef(Edit);
//#endregion
export { Edit_default as default };
