import { cloneDeep as i } from "lodash";
const n = "2.0.0", c = (r) => {
  const e = i(r);
  return e.version !== n ? {
    style: e.css.dp,
    config: {
      format: e.format,
      range: e.range,
      multiCalendars: e.multiCalendars,
      monthPicker: e.monthPicker,
      timePicker: e.timePicker,
      yearPicker: e.yearPicker,
      weekPicker: e.weekPicker,
      quarterPicker: e.quarterPicker,
      inline: e.inline,
      autoApply: e.autoApply,
      clearable: e.clearable,
      placeholder: e.placeholder,
      disabled: e.disabled,
      readonly: e.readonly,
      actionRow: e.actionRow,
      disableYearSelect: e.disableYearSelect,
      enableTimePicker: e.enableTimePicker,
      enableSeconds: e.enableSeconds,
      timePickerInline: e.timePickerInline,
      nowButtonLabel: e.nowButtonLabel,
      cancelText: e.cancelText,
      selectText: e.selectText,
      hideInputIcon: e.hideInputIcon
    },
    version: n
  } : r;
};
export {
  n as VERSION,
  c as upgradeDatePicker
};
