import { jsx as f } from "@emotion/react/jsx-runtime";
import { normalizeDaysOfWeekPickerPropsFromBackend as k } from "./normalizeDaysOfWeekPickerPropsFromBackend.js";
import { RHFDaysOfWeekPicker as y } from "../../../../../hook-form/RHFDaysOfWeekPicker/RHFDaysOfWeekPicker.js";
const z = {
  componentIds: ["RHFDaysOfWeekPicker"],
  /** Renders the RHFDaysOfWeekPicker component for the given field and context. */
  render(r) {
    const { field: e, props: o } = r, { size: s = "medium", disabled: a, readOnly: i, getLabel: n } = o, { name: t, helperText: d, isRequired: m } = e, l = k(e, n), { resolvedLabel: c, ...p } = l;
    return (
      // @ts-expect-error - value is provided automatically by withRHFController
      /* @__PURE__ */ f(
        y,
        {
          name: t,
          size: s,
          mandatory: m,
          helperMessage: d || "",
          disabled: a || i,
          ...p,
          label: c
        }
      )
    );
  }
};
export {
  z as daysOfWeekPickerStrategy
};
