"use client";
import { jsx, jsxs } from "react/jsx-runtime";
import {
  Select,
  SelectContent,
  SelectItem,
  SelectTrigger,
  SelectValue
} from "../../ui/select";
function StatusSelector({ value, onChange, disabled, options }) {
  return /* @__PURE__ */ jsxs(Select, { value, onValueChange: onChange, disabled, children: [
    /* @__PURE__ */ jsx(SelectTrigger, { className: "w-[140px] h-8", "data-cy": "status-selector", children: /* @__PURE__ */ jsx(SelectValue, {}) }),
    /* @__PURE__ */ jsx(SelectContent, { children: options.map((option) => /* @__PURE__ */ jsx(
      SelectItem,
      {
        value: option.value,
        "data-cy": `status-option-${option.value}`,
        children: option.label
      },
      option.value
    )) })
  ] });
}
export {
  StatusSelector
};
