/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
import{openBlock as e,createElementBlock as s,normalizeStyle as i,normalizeClass as t,unref as l,toDisplayString as p}from"vue";import{useNamespace as n}from"../../../hooks/useNamespace.js";import './NativeEllipsis2.css';import './NativeEllipsis.css';/* empty css                   *//* empty css                   */import r from"../../../_virtual/_plugin-vue_export-helper.js";const a=["innerHTML"],o=/* @__PURE__ */r({__name:"NativeEllipsis",props:{text:{type:String},visibleLine:{type:Number},ellipsis:{type:Boolean},useInnerHtml:{type:Boolean}},setup(r){const o=r,{prefixCls:m}=n("ellipsis-native");return(n,r)=>(e(),s("div",{class:t([l(m),{ellipsis:o.ellipsis}]),style:i({webkitLineClamp:o.visibleLine})},[o.useInnerHtml?(e(),s("span",{key:0,class:t([`${l(m)}-html`]),innerHTML:o.text},null,10,a)):(e(),s("span",{key:1,class:t([`${l(m)}-text`])},p(o.text),3))],6))}},[["__scopeId","data-v-3c1cc58f"]]);export{o as default};