'use strict';

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

var vue = require('vue');
require('../../../utils/index.cjs');
var Base = require('./Base.cjs');
var props = require('./props.cjs');
var log = require('../../../utils/log.cjs');
var omit = require('../../../utils/lang/omit.cjs');

const Text = (props, {
  slots,
  attrs
}) => {
  const {
    ellipsis
  } = props;
  log.devWarning(typeof ellipsis !== "object" || !ellipsis || !("expandable" in ellipsis) && !("rows" in ellipsis), "Typography.Text", "`ellipsis` do not support `expandable` or `rows` props.");
  const textProps2 = {
    ...props,
    ellipsis: ellipsis && typeof ellipsis === "object" ? omit.omit(ellipsis, ["expandable", "rows"]) : ellipsis,
    component: "span",
    ...attrs
  };
  return vue.createVNode(Base.default, textProps2, slots);
};
Text.displayName = "ATypographyText";
Text.inheritAttrs = false;
Text.props = props.textProps();

exports.default = Text;
//# sourceMappingURL=Text.cjs.map
