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