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_useReservationResponsiveVariant = require("./hooks/useReservationResponsiveVariant.js");
const require_reservationConstants = require("./reservationConstants.js");
const require_PisellReservation = require("./PisellReservation.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/plus/pisellReservation/PisellReservationTablePage.tsx
const _excluded = ["bodyViewStorageKey", "floorMapHudTableDrawer"];
/**
* 预约表格专用页面：仅 RecordBoard 表格（grid）子视图。
*
* - `bodyViewSwitchable={false}`：隐藏顶栏左上角「表格 / 平面图 / 日历 / 大屏」切换；
* - `lockedBodyView="grid"`：锁定在表格视图。
*
* 沿用 {@link PisellReservationProps}；`variant` 未传时按视口 ≤768px 自适应 phone / desktop。
* 默认 {@link PISELL_RESERVATION_TABLE_PAGE_STORAGE_KEY} 与主预约页、场控、大屏的 localStorage 分流。
*/
const PisellReservationTablePage = (props) => {
	const variant = require_useReservationResponsiveVariant.default(props.variant);
	const { bodyViewStorageKey, floorMapHudTableDrawer } = props, rest = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	return /* @__PURE__ */ react.default.createElement(require_PisellReservation.PisellReservationCore, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, rest), {}, {
		variant,
		bodyViewStorageKey: bodyViewStorageKey !== null && bodyViewStorageKey !== void 0 ? bodyViewStorageKey : require_reservationConstants.PISELL_RESERVATION_TABLE_PAGE_STORAGE_KEY,
		bodyViewSwitchable: false,
		lockedBodyView: "grid",
		floorMapHudTableDrawer: floorMapHudTableDrawer !== null && floorMapHudTableDrawer !== void 0 ? floorMapHudTableDrawer : false
	}));
};
//#endregion
exports.default = PisellReservationTablePage;
