const require_bookingCalendarDateUtils = require("./bookingCalendarDateUtils.js");
//#region src/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.ts
function getBookingStateClasses(item, dateKey) {
	const displayTag = require_bookingCalendarDateUtils.getDisplayStatusTag(item, dateKey);
	if (displayTag === "cancel") return "bg-zinc-700/55 border border-zinc-500/70 text-zinc-100 grayscale-[0.2]";
	if (displayTag === "no_show") return "bg-zinc-700/55 border border-red-500/70 text-zinc-200 grayscale-[0.15]";
	if (displayTag === "late") return "bg-violet-700/90 border border-amber-400/80 text-violet-50";
	if (item.kind === "block") return "bg-red-700/70 text-red-100";
	return "bg-violet-700/90 text-violet-50";
}
/**
* 月 / 周紧凑格：不按签到/取消/迟到等状态变色，仅区分 booking（默认紫）与 block（红）。
* 与 {@link getBookingStateClasses} 在无状态分支时一致，但不读取 `dateKey`。
*/
function getGridBookingRowStateClasses(item) {
	if (item.kind === "block") return "bg-red-700/70 text-red-100";
	return "bg-violet-700/90 text-violet-50";
}
//#endregion
exports.getBookingStateClasses = getBookingStateClasses;
exports.getGridBookingRowStateClasses = getGridBookingRowStateClasses;
