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");
let _pisell_utils = require("@pisell/utils");
let _pisell_icon_es_SearchLg = require("@pisell/icon/es/SearchLg");
_pisell_icon_es_SearchLg = require_runtime.__toESM(_pisell_icon_es_SearchLg);
//#region src/components/schedules/components/Search/index.tsx
const _excluded = [
	"value",
	"onChange",
	"style"
];
const Search = (props) => {
	const { value, onChange, style } = props, others = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	return /* @__PURE__ */ react.default.createElement(antd.Input, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, others), {}, {
		prefix: /* @__PURE__ */ react.default.createElement(_pisell_icon_es_SearchLg.default, null),
		style: require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, style || {}), {}, { height: 44 }),
		placeholder: _pisell_utils.locales.getText("pisell2.text.search"),
		allowClear: true,
		value,
		onChange: (e) => {
			onChange(e.target.value);
		}
	}));
};
//#endregion
exports.default = Search;
