const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_index = require("../../locales/index.js");
let dayjs = require("dayjs");
dayjs = require_runtime.__toESM(dayjs);
//#region src/components/date-picker/constants.ts
const presetDetailMap = {
	today: {
		getValue: () => (0, dayjs.default)().startOf("day"),
		label: () => require_index.getText("date-picker-today")
	},
	yesterday: {
		getValue: () => (0, dayjs.default)().add(-1, "d").startOf("day"),
		label: () => require_index.getText("date-picker-yesterday")
	},
	tomorrow: {
		getValue: () => (0, dayjs.default)().add(1, "d").startOf("day"),
		label: () => require_index.getText("date-picker-tomorrow")
	},
	next_monday: {
		getValue: () => (0, dayjs.default)().startOf("week").add(8, "day").startOf("day"),
		label: () => require_index.getText("date-picker-next_monday")
	},
	last_friday: {
		getValue: () => (0, dayjs.default)().subtract(1, "week").startOf("week").add(5, "day").startOf("day"),
		label: () => require_index.getText("date-picker-last_friday")
	},
	first_day_of_this_month: {
		getValue: () => (0, dayjs.default)().startOf("month").startOf("day"),
		label: () => require_index.getText("date-picker-first_day_of_this_month")
	},
	last_day_of_this_month: {
		getValue: () => (0, dayjs.default)().endOf("month").startOf("day"),
		label: () => require_index.getText("date-picker-last_day_of_this_month")
	},
	first_day_of_next_month: {
		getValue: () => (0, dayjs.default)().endOf("month").add(1, "day").startOf("day"),
		label: () => require_index.getText("date-picker-first_day_of_next_month")
	},
	last_day_of_last_month: {
		getValue: () => (0, dayjs.default)().startOf("month").subtract(1, "day").startOf("day"),
		label: () => require_index.getText("date-picker-last_day_of_last_month")
	}
};
//#endregion
exports.presetDetailMap = presetDetailMap;
