/**
 * tdesign v0.41.7
 * (c) 2022 tdesign
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _defineProperty = require('@babel/runtime/helpers/defineProperty');
var Vue = require('vue');
var config = require('../config.js');
var utils_renderTnode = require('../utils/render-tnode.js');
require('@babel/runtime/helpers/typeof');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
var Vue__default = /*#__PURE__*/_interopDefaultLegacy(Vue);

var name = "".concat(config.prefix, "-input-group");
var _InputGroup = Vue__default["default"].extend({
  name: "TInputGroup",
  props: {
    separate: {
      type: Boolean,
      "default": false
    }
  },
  computed: {
    classes: function classes() {
      return [name, _defineProperty__default["default"]({}, "".concat(name, "--separate"), this.separate)];
    }
  },
  render: function render() {
    var h = arguments[0];
    return h("div", {
      "class": this.classes
    }, [utils_renderTnode.renderTNodeJSX(this, "default")]);
  }
});

exports["default"] = _InputGroup;
//# sourceMappingURL=input-group.js.map
