import e from"../_util/warning.mjs";import t from"../_util/omit.mjs";import n,{baseProps as r}from"./Base.mjs";import{createVNode as i}from"vue";var a=()=>({...t(r(),[`component`]),ellipsis:{type:[Boolean,Object],default:void 0}}),o=(r,{slots:a,attrs:o})=>{let{ellipsis:s}=r;return e(typeof s!=`object`||!s||!(`expandable`in s)&&!(`rows`in s),`Typography.Text`,"`ellipsis` do not support `expandable` or `rows` props."),i(n,{...r,ellipsis:s&&typeof s==`object`?t(s,[`expandable`,`rows`]):s,component:`span`,...o},a)};o.displayName=`ATypographyText`,o.inheritAttrs=!1,o.props=a();export{o as default,a as textProps};