import { I18N_RESOURCE_WALL_RESOURCES } from "../reservationConstants.js";
import React from "react";
import { Select } from "antd";
import { locales } from "@pisell/utils";
//#region src/plus/pisellReservation/components/ReservationResourceWallResourceSelect.tsx
/**
* 大屏快筛：画布资源多选（写入 `searchParams.filter.values.resource_wall_resource_ids`）。
*/
function ReservationResourceWallResourceSelect(props) {
	const { value, onChange, options = [] } = props;
	return /* @__PURE__ */ React.createElement(Select, {
		mode: "multiple",
		allowClear: true,
		showSearch: true,
		optionFilterProp: "label",
		placeholder: locales.getText(I18N_RESOURCE_WALL_RESOURCES),
		value: value !== null && value !== void 0 ? value : [],
		onChange: (v) => onChange === null || onChange === void 0 ? void 0 : onChange(v),
		options,
		style: {
			minWidth: 260,
			maxWidth: 420
		}
	});
}
//#endregion
export { ReservationResourceWallResourceSelect };
