const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let classnames = require("classnames");
classnames = require_runtime.__toESM(classnames);
//#region src/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.tsx
/**
* 平面图 RoomCard 顶栏纯展示：文案与状态类名均由容器传入，不读 locales。
*/
function RoomCardHeaderView(props) {
	const { roomTitle, capacityLine, status, statusLabel, showStatusTag = true } = props;
	const showCap = capacityLine != null && String(capacityLine).trim() !== "";
	return /* @__PURE__ */ react.default.createElement("div", { className: "rc-header" }, /* @__PURE__ */ react.default.createElement("div", { className: "rc-header__left" }, /* @__PURE__ */ react.default.createElement("span", { className: "rc-room-name" }, roomTitle), showCap ? /* @__PURE__ */ react.default.createElement("span", { className: "rc-capacity" }, capacityLine) : null), showStatusTag ? /* @__PURE__ */ react.default.createElement("span", { className: (0, classnames.default)("rc-tag", `rc-tag--${status}`) }, statusLabel) : null);
}
//#endregion
exports.RoomCardHeaderView = RoomCardHeaderView;
