const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_mock = require("../../mock.js");
const require_index = require("./components/SelectDate/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
require("./index.less");
//#region src/components/eventBooking/components/bookingAvailabilityCalendar/index.tsx
const BookingAvailabilityCalendar = (props) => {
	var _mock$availability_ca, _mock$availability_ca2, _mock$availability_ca3;
	const { showCalendarPopup, onDateChange, detail = (_mock$availability_ca = require_mock.mock.availability_calendar) === null || _mock$availability_ca === void 0 ? void 0 : _mock$availability_ca.detail, currentDate = (_mock$availability_ca2 = require_mock.mock.availability_calendar) === null || _mock$availability_ca2 === void 0 ? void 0 : _mock$availability_ca2.currentDate, cutTime = (_mock$availability_ca3 = require_mock.mock.availability_calendar) === null || _mock$availability_ca3 === void 0 ? void 0 : _mock$availability_ca3.cutTime, onCurrentDateChange, onCutTimeChange, onSurplusDisabledChange } = props;
	console.log(detail, currentDate, cutTime, "detail, currentDate, cutTime");
	return /* @__PURE__ */ react.default.createElement("div", { className: "event-booking-availability-calendar" }, /* @__PURE__ */ react.default.createElement(require_index.default, {
		showCalendarPopup,
		detail,
		currentDate,
		currentDateChange: (date) => {
			onCurrentDateChange(date);
			if (currentDate !== date) onDateChange(date);
		},
		setSurplusDisabledChange: onSurplusDisabledChange,
		cutTime,
		setCutTime: onCutTimeChange
	}));
};
//#endregion
exports.default = BookingAvailabilityCalendar;
