/**
 * ldesign v0.2.2
 * (c) 2022年9月20日 swimly
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var DatePickerProps = {
  allowInput: Boolean,
  clearable: Boolean,
  disableDate: {
    type: [Object, Array, Function]
  },
  disabled: Boolean,
  enableTimePicker: Boolean,
  firstDayOfWeek: {
    type: Number,
    validator: function validator(val) {
      if (!val) return true;
      return [1, 2, 3, 4, 5, 6, 7].includes(val);
    }
  },
  format: {
    type: String,
    "default": void 0
  },
  inputProps: {
    type: Object
  },
  mode: {
    type: String,
    "default": "date",
    validator: function validator(val) {
      if (!val) return true;
      return ["year", "quarter", "month", "week", "date"].includes(val);
    }
  },
  placeholder: {
    type: [String, Array],
    "default": void 0
  },
  popupProps: {
    type: Object
  },
  prefixIcon: {
    type: Function
  },
  presets: {
    type: Object
  },
  presetsPlacement: {
    type: String,
    "default": "bottom",
    validator: function validator(val) {
      if (!val) return true;
      return ["left", "top", "right", "bottom"].includes(val);
    }
  },
  status: {
    type: String,
    validator: function validator(val) {
      if (!val) return true;
      return ["default", "success", "warning", "error"].includes(val);
    }
  },
  suffixIcon: {
    type: Function
  },
  timePickerProps: {
    type: Object
  },
  tips: {
    type: [String, Function]
  },
  value: {
    type: [String, Number, Array, Date],
    "default": void 0
  },
  defaultValue: {
    type: [String, Number, Array, Date],
    "default": ""
  },
  onBlur: Function,
  onChange: Function,
  onFocus: Function,
  onPick: Function
};
var DatePickerPanelProps = {
  onCellClick: Function,
  onChange: Function,
  onConfirm: Function,
  onMonthChange: Function,
  onPanelClick: Function,
  onPresetClick: Function,
  onTimeChange: Function,
  onYearChange: Function
};
var DateRangePickerPanelProps = {
  onCellClick: Function,
  onChange: Function,
  onConfirm: Function,
  onMonthChange: Function,
  onPanelClick: Function,
  onPresetClick: Function,
  onTimeChange: Function,
  onYearChange: Function
};
var DateRangePickerProps = {
  allowInput: Boolean,
  clearable: Boolean,
  disableDate: {
    type: [Object, Array, Function]
  },
  disabled: Boolean,
  enableTimePicker: Boolean,
  firstDayOfWeek: {
    type: Number,
    validator: function validator(val) {
      if (!val) return true;
      return [1, 2, 3, 4, 5, 6, 7].includes(val);
    }
  },
  format: {
    type: String,
    "default": ""
  },
  mode: {
    type: String,
    "default": "date",
    validator: function validator(val) {
      if (!val) return true;
      return ["year", "quarter", "month", "week", "date"].includes(val);
    }
  },
  panelPreselection: {
    type: Boolean,
    "default": true
  },
  placeholder: {
    type: [String, Array]
  },
  popupProps: {
    type: Object
  },
  prefixIcon: {
    type: Function
  },
  presets: {
    type: Object
  },
  presetsPlacement: {
    type: String,
    "default": "bottom",
    validator: function validator(val) {
      if (!val) return true;
      return ["left", "top", "right", "bottom"].includes(val);
    }
  },
  rangeInputProps: {
    type: Object
  },
  separator: {
    type: String,
    "default": ""
  },
  status: {
    type: String,
    validator: function validator(val) {
      if (!val) return true;
      return ["default", "success", "warning", "error"].includes(val);
    }
  },
  suffixIcon: {
    type: Function
  },
  timePickerProps: {
    type: Object
  },
  tips: {
    type: [String, Function]
  },
  value: {
    type: Array,
    "default": void 0
  },
  defaultValue: {
    type: Array,
    "default": function _default() {
      return [];
    }
  },
  onBlur: Function,
  onChange: Function,
  onFocus: Function,
  onInput: Function,
  onPick: Function
};
var props = {
  DatePickerProps: DatePickerProps,
  DatePickerPanelProps: DatePickerPanelProps,
  DateRangePickerPanelProps: DateRangePickerPanelProps,
  DateRangePickerProps: DateRangePickerProps
};

exports.DatePickerPanelProps = DatePickerPanelProps;
exports.DatePickerProps = DatePickerProps;
exports.DateRangePickerPanelProps = DateRangePickerPanelProps;
exports.DateRangePickerProps = DateRangePickerProps;
exports["default"] = props;
//# sourceMappingURL=props.js.map
