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(),ellipsis:{type:Boolean,default:void 0}},[`component`]),o=(t,{slots:r,attrs:a})=>{let{ellipsis:o,rel:s,...c}={...t,...a};e(typeof o!=`object`,`Typography.Link`,"`ellipsis` only supports boolean value.");let l={...c,rel:s===void 0&&c.target===`_blank`?`noopener noreferrer`:s,ellipsis:!!o,component:`a`};return delete l.navigate,i(n,l,r)};o.displayName=`ATypographyLink`,o.inheritAttrs=!1,o.props=a();export{o as default,a as linkProps};