"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 TimePicker = /*#__PURE__*/function (_DatePicker) {
  (0, _inherits2["default"])(TimePicker, _DatePicker);

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

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

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

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