const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_objectWithoutProperties = require("../../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("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 = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	return /* @__PURE__ */ react.default.createElement(antd.TreeSelect, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, others), {}, {
		treeData: treeData || [],
		bordered,
		ref,
		value,
		onChange,
		style,
		onBlur,
		onClick: (e) => e.stopPropagation()
	}));
};
var Edit_default = (0, react.forwardRef)(Edit);
//#endregion
exports.default = Edit_default;
