"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));

var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));

var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get"));

var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));

var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));

var _DatePicker2 = _interopRequireDefault(require("../date-picker/DatePicker"));

var _enum = require("../date-picker/enum");

var DateTimePicker = /*#__PURE__*/function (_DatePicker) {
  (0, _inherits2["default"])(DateTimePicker, _DatePicker);

  var _super = (0, _createSuper2["default"])(DateTimePicker);

  function DateTimePicker() {
    (0, _classCallCheck2["default"])(this, DateTimePicker);
    return _super.apply(this, arguments);
  }

  (0, _createClass2["default"])(DateTimePicker, [{
    key: "getWrapperClassNames",
    value: function getWrapperClassNames() {
      var prefixCls = this.prefixCls;
      return (0, _get2["default"])((0, _getPrototypeOf2["default"])(DateTimePicker.prototype), "getWrapperClassNames", this).call(this, "".concat(prefixCls, "-date-time-picker-wrapper"));
    }
  }, {
    key: "getLimitWithType",
    value: function getLimitWithType(limit, _minOrMax) {
      return limit;
    }
  }]);
  return DateTimePicker;
}(_DatePicker2["default"]);

exports["default"] = DateTimePicker;
DateTimePicker.displayName = 'DateTimePicker';
DateTimePicker.defaultProps = (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, _DatePicker2["default"].defaultProps), {}, {
  mode: _enum.ViewMode.dateTime
});
//# sourceMappingURL=DateTimePicker.js.map
