!function(){function r(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var n,l,i,a,o=[],u=!0,c=!1;try{if(i=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=i.call(t)).done)&&(o.push(n.value),o.length!==e);u=!0);}catch(s){c=!0,l=s}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw l}}return o}}(r,t)||function(r,t){if(!r)return;if("string"==typeof r)return e(r,t);var n=Object.prototype.toString.call(r).slice(8,-1);"Object"===n&&r.constructor&&(n=r.constructor.name);if("Map"===n||"Set"===n)return Array.from(r);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(r,t)}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}System.register(["./index-legacy-646c47fa.js"],(function(e,t){"use strict";var n,l,i,a,o,u,c,s,f,v,d,b,y;return{setters:[function(r){n=r.c,l=r.a9,i=r.at,a=r.d,o=r.au,u=r.a,c=r.m,s=r.n,f=r.t,v=r.a3,d=r.W,b=r.I,y=r.k}],execute:function(){var t=r(n("cell"),2),g=t[0],m=t[1],p=e("c",{tag:c("div"),icon:String,size:String,title:s,value:s,label:s,center:Boolean,isLink:Boolean,border:f,required:Boolean,iconPrefix:String,valueClass:v,labelClass:v,titleClass:v,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}}),h=l({},p,i),S=a({name:g,props:h,setup:function(r,e){var t=e.slots,n=o(),l=function(){if(t.label||d(r.label))return u("div",{class:[m("label"),r.labelClass]},[t.label?t.label():r.label])},i=function(){var e;if(t.title||d(r.title)){var n=null==(e=t.title)?void 0:e.call(t);if(Array.isArray(n)&&0===n.length)return;return u("div",{class:[m("title"),r.titleClass],style:r.titleStyle},[n||u("span",null,[r.title]),l()])}},a=function(){var e=t.value||t.default;if(e||d(r.value))return u("div",{class:[m("value"),r.valueClass]},[e?e():u("span",null,[r.value])])},c=function(){if(t["right-icon"])return t["right-icon"]();if(r.isLink){var e=r.arrowDirection&&"right"!==r.arrowDirection?"arrow-".concat(r.arrowDirection):"arrow";return u(b,{name:e,class:m("right-icon")},null)}};return function(){var e,l=r.tag,o=r.size,s=r.center,f=r.border,v=r.isLink,d=r.required,y=null!=(e=r.clickable)?e:v,g={center:s,required:d,clickable:y,borderless:!f};return o&&(g[o]=!!o),u(l,{class:m(g),role:y?"button":void 0,tabindex:y?0:void 0,onClick:n},{default:function(){var e;return[t.icon?t.icon():r.icon?u(b,{name:r.icon,class:m("left-icon"),classPrefix:r.iconPrefix},null):void 0,i(),a(),c(),null==(e=t.extra)?void 0:e.call(t)]}})}}});e("C",y(S))}}}))}();
