import { withMomentProps } from "../../utils/hoc.js";
import { DatePicker } from "antd";
import dayjs from "dayjs";
import { OldPisellDateRangePicker, RangePicker } from "@pisell/date-picker";
import localeData from "dayjs/plugin/localeData";
import weekday from "dayjs/plugin/weekday";
//#region src/components/date-picker/index.tsx
dayjs.extend(weekday);
dayjs.extend(localeData);
const DatePicker$1 = withMomentProps(DatePicker, [
	"defaultPickerValue",
	"defaultValue",
	"showTime.defaultValue",
	"value"
]);
DatePicker$1.RangePicker = RangePicker;
DatePicker$1.OldRangePicker = OldPisellDateRangePicker;
//#endregion
export { DatePicker$1 as default };
