import{b as e,s as t}from"./runtime-core.esm-bundler-Babufkcf.js";import{t as n}from"./create-CGAkPJkS.js";import{a as r}from"./QIcon-cTVL6ikA.js";var i=n({name:`QItemLabel`,props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(n,{slots:i}){let a=t(()=>Number.parseInt(n.lines,10)),o=t(()=>`q-item__label`+(n.overline?` q-item__label--overline text-overline`:``)+(n.caption?` q-item__label--caption text-caption`:``)+(n.header?` q-item__label--header`:``)+(a.value===1?` ellipsis`:``)),s=t(()=>n.lines!==void 0&&a.value>1?{overflow:`hidden`,display:`-webkit-box`,"-webkit-box-orient":`vertical`,"-webkit-line-clamp":a.value}:null);return()=>e(`div`,{style:s.value,class:o.value},r(i.default))}});export{i as t};