"use strict";

exports.__esModule = true;
exports.default = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _autocomplete = _interopRequireDefault(require("../../atom/autocomplete"));
var _title = _interopRequireDefault(require("../../atom/title"));
var _selectMultiple = _interopRequireDefault(require("../../molecule/select-multiple"));
var _selectOpponents = _interopRequireDefault(require("../select-opponents"));
var _inputText = _interopRequireDefault(require("../../atom/input-text"));
var _inputTextarea = _interopRequireDefault(require("../../atom/input-textarea"));
var _select = _interopRequireDefault(require("../../atom/select"));
var _iconEditor = _interopRequireDefault(require("../icon-editor"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const validInputSize = ['default', 'medium', 'large'];
const propTypes = {
  title: _propTypes.default.shape(_title.default.propTypes).isRequired,
  field: _propTypes.default.oneOfType([_propTypes.default.shape(_autocomplete.default.propTypes), _propTypes.default.shape(_iconEditor.default.propTypes), _propTypes.default.shape({
    ..._inputText.default.propTypes,
    size: _propTypes.default.oneOf(validInputSize)
  }), _propTypes.default.shape({
    ..._inputTextarea.default.propTypes,
    size: _propTypes.default.oneOf(validInputSize)
  }), _propTypes.default.shape({
    ..._select.default.propTypes,
    size: _propTypes.default.oneOf(validInputSize)
  }), _propTypes.default.shape(_selectMultiple.default.propTypes), _propTypes.default.shape(_selectOpponents.default.propTypes)]),
  childType: _propTypes.default.oneOf(['autoComplete', 'iconEditor', 'inputText', 'inputTextArea', 'select', 'selectMultiple', 'selectOpponents']).isRequired
};
var _default = exports.default = propTypes;
//# sourceMappingURL=types.js.map