import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { _objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
import { ReservationVenueScheduleStart } from "./components/PisellReservationSubcomponents.js";
import { PisellReservationCore } from "./PisellReservation.js";
import React, { useMemo } from "react";
//#region src/plus/pisellReservation/PisellVenueControlPage.tsx
const _excluded = ["scheduleStartSlot", "scheduleProps"];
/**
* 场控页面：仅平面图、锁日期导航、HUD 打开画布绑定资源表抽屉；子视图不持久化。
*/
const PisellVenueControlPage = (props) => {
	const { scheduleStartSlot, scheduleProps: schedulePropsProp } = props, rest = _objectWithoutProperties(props, _excluded);
	const schedulePropsMerged = useMemo(() => _objectSpread2(_objectSpread2({}, schedulePropsProp), {}, {
		navigationLocked: true,
		navigationLockedDisplay: "labelOnly"
	}), [schedulePropsProp]);
	return /* @__PURE__ */ React.createElement(PisellReservationCore, _objectSpread2(_objectSpread2({}, rest), {}, {
		scheduleStartSlot: scheduleStartSlot !== null && scheduleStartSlot !== void 0 ? scheduleStartSlot : /* @__PURE__ */ React.createElement(ReservationVenueScheduleStart, null),
		scheduleProps: schedulePropsMerged,
		bodyViewSwitchable: false,
		lockedBodyView: "floorMap",
		bodyViewStorageKey: void 0,
		floorMapHudTableDrawer: true
	}));
};
//#endregion
export { PisellVenueControlPage as default };
