var _excluded = ["bodyViewStorageKey", "floorMapHudTableDrawer"];
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
import React from 'react';
import { PisellReservationCore } from "./PisellReservation";
import { PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY } from "./reservationConstants";
/**
 * 大屏（资源墙）专用页面：仅资源墙子视图。
 *
 * - `bodyViewSwitchable={false}`：隐藏 RecordBoard 顶栏左上角「表格 / 平面图 / 日历 / 大屏」Segmented；
 * - `lockedBodyView="resourceWall"`：锁定在大屏视图。
 *
 * **无需新增 props 类型**：沿用 {@link PisellReservationProps}；可选行为与预约页相同（如 `toolBar`、`scheduleValue`、`floorMap` 等）。
 * Core 在锁定大屏或预约页内 Segmented 切到「大屏」时（`shellBodyView === 'resourceWall'`）均 **强制跟随当前时间**（不可关闭）。
 * 默认使用 {@link PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY} 作为 `bodyViewStorageKey`，以便大屏筛选与主预约页 localStorage 隔离；可传入自定义 key 覆盖。
 */
export var PisellVenueWallPage = function PisellVenueWallPage(props) {
  var bodyViewStorageKey = props.bodyViewStorageKey,
    floorMapHudTableDrawer = props.floorMapHudTableDrawer,
    rest = _objectWithoutProperties(props, _excluded);
  return /*#__PURE__*/React.createElement(PisellReservationCore, _extends({}, rest, {
    bodyViewStorageKey: bodyViewStorageKey !== null && bodyViewStorageKey !== void 0 ? bodyViewStorageKey : PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY,
    bodyViewSwitchable: false,
    lockedBodyView: "resourceWall",
    floorMapHudTableDrawer: floorMapHudTableDrawer !== null && floorMapHudTableDrawer !== void 0 ? floorMapHudTableDrawer : false
  }));
};
export default PisellVenueWallPage;