code: function (Vue) {
    var ref = Vue.util;
    var extend = ref.extend;
  
    return {
      functional: true,
      props: baseProps,
      render: function render (
        h,
        ref
      ) {
        var props = ref.props;
        var data = ref.data;
        var children = ref.children;
  
        return children.map(function (child) {
          if (!child.tag) { return child }
          var newData = extend({}, data);
          newData.props = extend({}, props);
          // TODO: should be refactored
          newData.props.classes = extend(extend(extend({}, DEFAULT_CLASSES), Vue.config.validator.classes), newData.props.classes);
          newData.props.child = child;
          return h('validity-control', newData)
        })
      }
    }
  }
docs: /*