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 React, { memo, useEffect } from "react";
import { PisellStatisticList } from "@pisell/materials";
import classNames from "classnames";
import "./index.less";
//#region src/plus/reservationStatistic/index.tsx
const _excluded = ["dataSource", "className"];
/**
* 预约统计组件，当前默认使用 mock 数据，后续可直接改为接口透传。
*/
const ReservationStatistic = memo((props) => {
	const { dataSource, className } = props, others = _objectWithoutProperties(props, _excluded);
	useEffect(() => {
		document.body.id = "body";
	}, []);
	return /* @__PURE__ */ React.createElement("div", { className: classNames("pisell-plus-reservation-statistic", className) }, /* @__PURE__ */ React.createElement(PisellStatisticList, _objectSpread2(_objectSpread2({}, others), {}, { data: dataSource })));
});
ReservationStatistic.displayName = "ReservationStatistic";
//#endregion
export { ReservationStatistic as default };
