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");
const require_calendarPersistGuard = require("./calendarPersistGuard.js");
const require_BookingCalendar = require("./BookingCalendar.js");
let react = require("react");
react = require_runtime.__toESM(react);
let classnames = require("classnames");
classnames = require_runtime.__toESM(classnames);
//#region src/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.tsx
const _excluded = [
	"persistGuard",
	"className",
	"style"
];
/**
* RecordBoard 日历视图：内嵌 `BookingCalendar`（Tailwind 由包入口 `pisell-materials.tw.css` 注入）。
*
* **布局分工**：外层 Shell 上 `pisell-record-board-calendar-viewport`（flex:1 / min-height:0 / overflow:hidden）
* 只做「占位与裁剪高度」；本组件根节点负责在同一 flex 列里向下传递 **min-height:0**，避免 `BookingCalendar`
* 撑破壳层（一层即可，历史上曾双包一层重复 flex+overflow）。
*/
function PisellRecordBoardCalendarView(props) {
	const { persistGuard, className, style } = props, rest = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	return /* @__PURE__ */ react.default.createElement(require_calendarPersistGuard.CalendarPersistProvider, { value: persistGuard }, /* @__PURE__ */ react.default.createElement("div", {
		id: "pisell-record-board-calendar-root",
		className: (0, classnames.default)(className, "flex min-h-0 flex-1 flex-col overflow-hidden"),
		style: require_objectSpread2._objectSpread2({
			height: "100%",
			minHeight: 0
		}, style)
	}, /* @__PURE__ */ react.default.createElement(require_BookingCalendar.default, rest)));
}
//#endregion
exports.PisellRecordBoardCalendarView = PisellRecordBoardCalendarView;
