"use strict";

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

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

var _reactIntl = require("react-intl");

var _extendType = _interopRequireDefault(require("./_extendType"));

var _dummy2 = _interopRequireDefault(require("./_dummy"));

var _default = (0, _extendType["default"])(_dummy2["default"], function (_ref) {
  var _ref$config = _ref.config,
      content = _ref$config.content,
      type = _ref$config.type;
  return function (props) {
    var _props$uiSchema;

    props.schema.additionalType = type;
    (_props$uiSchema = props.uiSchema) !== null && _props$uiSchema !== void 0 ? _props$uiSchema : props.uiSchema = {};

    props.uiSchema['ui:field'] = function () {
      return null;
    };

    props.uiSchema['ui:should-update'] = content;
    props.uiSchema['ui:widget'] = 'hidden';
  };
});

exports["default"] = _default;
var name = (0, _reactIntl.defineMessage)({
  id: "FcBXcB",
  defaultMessage: [{
    "type": 0,
    "value": "Yhteenveto"
  }]
});
exports.name = name;
var elementType = 'element';
exports.elementType = elementType;
//# sourceMappingURL=summary.cjs.map