const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_index = require("../../components/ScheduleDetailList/index.js");
const require_index$1 = require("../../components/CurrentDay/index.js");
let react = require("react");
react = require_runtime.__toESM(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.default.createElement(react.default.Fragment, null, /* @__PURE__ */ react.default.createElement("div", { style: { padding: "0 32px" } }, /* @__PURE__ */ react.default.createElement(require_index$1.default, {
		currentDay: currentSelectDayDetail === null || currentSelectDayDetail === void 0 ? void 0 : currentSelectDayDetail.date,
		onClose: onCloseDay
	})), slot, /* @__PURE__ */ react.default.createElement(require_index.default, {
		dataSource,
		onOpenDetail,
		loading,
		scheduleMap
	}));
};
//#endregion
exports.default = SchedulesForDay;
