System.register(["./index-legacy-94f8815f.js"],(function(e,l){"use strict";var r,t,i,n,a,s,o,c,u,d,v,b,f;return{setters:[e=>{r=e.c,t=e.ac,i=e.b1,n=e.d,a=e.b2,s=e.a,o=e.m,c=e.n,u=e.t,d=e.a4,v=e.X,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=n({name:l,props:y,setup(e,{slots:l}){const r=a(),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()])}},n=()=>{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:a,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(a,{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(),n(),o(),null==(r=l.extra)?void 0:r.call(l)]}})}}});e("C",f(C))}}}));
