System.register(["./index-legacy-26bc1086.js"],(function(e,l){"use strict";var r,t,i,a,n,s,o,c,u,d,v,b,f;return{setters:[e=>{r=e.c,t=e.ab,i=e.ap,a=e.d,n=e.aq,s=e.a,o=e.m,c=e.n,u=e.t,d=e.a3,v=e.W,b=e.I,f=e.k}],execute:function(){const[l,g]=r("cell"),k=e("c",{tag:o("div"),icon:String,size:String,title:c,value:c,label:c,center:Boolean,isLink:Boolean,border:u,required:Boolean,iconPrefix:String,valueClass:d,labelClass:d,titleClass:d,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}}),y=t({},k,i);var C=a({name:l,props:y,setup(e,{slots:l}){const r=n(),t=()=>{if(l.label||v(e.label))return s("div",{class:[g("label"),e.labelClass]},[l.label?l.label():e.label])},i=()=>{var r;if(l.title||v(e.title)){const i=null==(r=l.title)?void 0:r.call(l);if(Array.isArray(i)&&0===i.length)return;return s("div",{class:[g("title"),e.titleClass],style:e.titleStyle},[i||s("span",null,[e.title]),t()])}},a=()=>{const r=l.value||l.default;if(r||v(e.value))return s("div",{class:[g("value"),e.valueClass]},[r?r():s("span",null,[e.value])])},o=()=>{if(l["right-icon"])return l["right-icon"]();if(e.isLink){const l=e.arrowDirection&&"right"!==e.arrowDirection?`arrow-${e.arrowDirection}`:"arrow";return s(b,{name:l,class:g("right-icon")},null)}};return()=>{var t;const{tag:n,size:c,center:u,border:d,isLink:v,required:f}=e,k=null!=(t=e.clickable)?t:v,y={center:u,required:f,clickable:k,borderless:!d};return c&&(y[c]=!!c),s(n,{class:g(y),role:k?"button":void 0,tabindex:k?0:void 0,onClick:r},{default:()=>{var r;return[l.icon?l.icon():e.icon?s(b,{name:e.icon,class:g("left-icon"),classPrefix:e.iconPrefix},null):void 0,i(),a(),o(),null==(r=l.extra)?void 0:r.call(l)]}})}}});e("C",f(C))}}}));