import ScheduleDetailList from "../../components/ScheduleDetailList/index.js";
import CurrentDay from "../../components/CurrentDay/index.js";
import React from "react";
//#region src/components/schedules/schedules/SchedulesForDay/index.tsx
/**
* 日程数据以天为单位展示
* @param props
* @constructor
*/
const SchedulesForDay = (props) => {
	const { onOpenDetail, dataSource, slot, loading, currentSelectDayDetail, onCloseDay, scheduleMap } = props;
	return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { style: { padding: "0 32px" } }, /* @__PURE__ */ React.createElement(CurrentDay, {
		currentDay: currentSelectDayDetail === null || currentSelectDayDetail === void 0 ? void 0 : currentSelectDayDetail.date,
		onClose: onCloseDay
	})), slot, /* @__PURE__ */ React.createElement(ScheduleDetailList, {
		dataSource,
		onOpenDetail,
		loading,
		scheduleMap
	}));
};
//#endregion
export { SchedulesForDay as default };
