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/ReservationPaymentStatusButtonFilter.tsx
function ReservationPaymentStatusButtonFilter(props) {
	const buckets = (0, react.useMemo)(() => [{
		id: "unpaid",
		label: _pisell_utils.locales.getText(require_reservationConstants.I18N_PAYMENT_STATUS_BUCKET_UNPAID),
		keys: [
			"unpaid",
			"partially_paid",
			"payment_processing"
		]
	}, {
		id: "paid",
		label: _pisell_utils.locales.getText(require_reservationConstants.I18N_PAYMENT_STATUS_BUCKET_PAID),
		keys: [
			"paid",
			"partially_refunded",
			"refunded"
		]
	}], []);
	return /* @__PURE__ */ react.default.createElement(require_BucketButtonGroup.default, {
		value: props.value,
		onChange: props.onChange,
		buckets
	});
}
//#endregion
exports.default = ReservationPaymentStatusButtonFilter;
