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); }
import React from 'react';
import { PisellReservationCore } from "./PisellReservation";
import { PISELL_RESERVATION_BODY_VIEW_STORAGE_KEY } from "./reservationConstants";
/**
 * 预约页面：双视图可切换、子视图持久化，行为对齐原 PisellReservation 页面。
 */
export var PisellReservationBookingPage = function PisellReservationBookingPage(props) {
  var _props$bodyViewStorag;
  return /*#__PURE__*/React.createElement(PisellReservationCore, _extends({}, props, {
    bodyViewStorageKey: (_props$bodyViewStorag = props.bodyViewStorageKey) !== null && _props$bodyViewStorag !== void 0 ? _props$bodyViewStorag : PISELL_RESERVATION_BODY_VIEW_STORAGE_KEY
  }));
};

/**
 * 与 {@link PisellReservationBookingPage} 相同实现。
 * 低代码存量页面仍使用 `componentName: PisellReservation` 时由物料包导出此名以解析组件。
 */
export var PisellReservation = PisellReservationBookingPage;
export default PisellReservationBookingPage;