import{Y as m,L as f}from"./index.17037962789732.js";import"./index.170379627897333.js";import{d as v,r as h,o as e,x as s,z as t,A as n,c,a as l,b as y,B as g,j as k,F as i,h as C}from"./vue.1703796278973.js";import{_ as x}from"./_plugin-vue_export-helper.1703796278973.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";const B={class:"top-card"},S={class:"top-card-content"},A={class:"content-left"},N={class:"content-left-title"},T={class:"content-left-value"},b={key:0,class:"content-right"},j=["src"],I={key:1,class:"content-right-echart"},V={class:"top-card-footer"},F={key:0},L={class:"footer-item-value"},w=v({__name:"TopCard",props:{title:{type:String,default:""},tooltip:{type:String,default:""},img:{type:String,default:""},footer:{type:Array,default:""},value:{type:Number,default:0}},setup(o){return(r,z)=>{const d=h("AIcon"),_=m,p=f;return e(),s("div",B,[t("div",S,[t("div",A,[t("div",N,[t("span",null,n(o.title),1),o.tooltip?(e(),c(_,{key:0,placement:"top"},{title:l(()=>[t("span",null,n(o.tooltip),1)]),default:l(()=>[y(d,{type:"QuestionCircleOutlined"})]),_:1})):g("",!0)]),t("div",T,n(o.value),1)]),o.img?(e(),s("div",b,[t("img",{src:o.img,alt:""},null,8,j)])):(e(),s("div",I,[k(r.$slots,"default",{},void 0,!0)]))]),t("div",V,[(e(!0),s(i,null,C(o.footer,(a,u)=>(e(),s(i,{key:u},[a.status?(e(),c(p,{key:1,text:a.title,status:a.status},null,8,["text","status"])):(e(),s("span",F,n(a.title),1)),t("div",L,n(a.value),1)],64))),128))])])}}});const K=x(w,[["__scopeId","data-v-087ae0ee"]]);export{K as default};
