import { jsx as R } from "@emotion/react/jsx-runtime";
import { normalizeDateRangePickerPropsFromBackend as g } from "./normalizeDateRangePickerPropsFromBackend.js";
import { RHFDateRangePicker as P } from "../../../../../hook-form/RHFDateRangePicker/RHFDateRangePicker.js";
const z = {
  componentIds: ["RHFDateRangePicker"],
  /** Renders the RHFDateRangePicker component for the given field and context. */
  render(r) {
    const { field: e, props: o } = r, { size: a = "medium", disabled: n, readOnly: t, getLabel: s } = o, { name: i, helperText: d, isRequired: m } = e, l = g(e, s), { resolvedLabel: c, ...p } = l;
    return /* @__PURE__ */ R(
      P,
      {
        name: i,
        size: a,
        mandatory: m,
        helperMessage: d || "",
        disabled: n || t,
        ...p,
        label: c
      }
    );
  }
};
export {
  z as dateRangePickerStrategy
};
