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

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

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

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

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