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");
const require_index = require("../filter/components/QuickFilter/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
//#region src/components/pisellQuickFilter/index.tsx
const _excluded = [
	"filterList",
	"formFiltersPrefix",
	"hasForm"
];
const pisellQuickFilter = (0, react.forwardRef)((props) => {
	const { filterList, formFiltersPrefix, hasForm = true } = props, otherProps = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	const content = (0, react.useMemo)(() => {
		return /* @__PURE__ */ react.default.createElement(require_index.default, {
			value: { quickFilter: filterList },
			formFiltersPrefix: formFiltersPrefix || ""
		});
	}, [filterList, formFiltersPrefix]);
	if (hasForm) return /* @__PURE__ */ react.default.createElement(antd.Form, require_objectSpread2._objectSpread2({
		labelCol: { span: 0 },
		size: "large",
		layout: "inline",
		className: "filter-form-wrapper"
	}, otherProps), content);
	return content;
});
//#endregion
exports.default = pisellQuickFilter;
