const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
const require_reservationConstants = require("../reservationConstants.js");
const require_BucketButtonGroup = require("./BucketButtonGroup.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
//#region src/plus/pisellReservation/components/ReservationBookingStatusButtonFilter.tsx
function ReservationBookingStatusButtonFilter(props) {
	const buckets = (0, react.useMemo)(() => [
		{
			id: "on_site",
			label: _pisell_utils.locales.getText(require_reservationConstants.I18N_BOOKING_STATUS_BUCKET_ON_SITE),
			keys: ["arrived", "started"]
		},
		{
			id: "no_show",
			label: _pisell_utils.locales.getText(require_reservationConstants.I18N_BOOKING_STATUS_BUCKET_NO_SHOW),
			keys: ["no_show"]
		},
		{
			id: "completed",
			label: _pisell_utils.locales.getText(require_reservationConstants.I18N_BOOKING_STATUS_BUCKET_COMPLETED),
			keys: ["completed"]
		}
	], []);
	return /* @__PURE__ */ react.default.createElement(require_BucketButtonGroup.default, {
		value: props.value,
		onChange: props.onChange,
		buckets
	});
}
//#endregion
exports.default = ReservationBookingStatusButtonFilter;
