import l from "../../../rc-picker/es/generate/dayjs.mjs";
import o from "../_util/PurePanel.mjs";
import t from "./generatePicker/index.mjs";
import { transPlacement2DropdownAlign as i } from "./util.mjs";
const e = t(l);
function a(n) {
  const r = i(n.direction, n.placement);
  return r.overflow.adjustY = !1, r.overflow.adjustX = !1, Object.assign(Object.assign({}, n), {
    dropdownAlign: r
  });
}
const c = o(e, "picker", null, a);
e._InternalPanelDoNotUseOrYouWillBeFired = c;
const s = o(e.RangePicker, "picker", null, a);
e._InternalRangePanelDoNotUseOrYouWillBeFired = s;
e.generatePicker = t;
const m = e;
export {
  m as default
};
