PageSourceSearch

https://event-us.kr/Content/dist/js/EvEventOverview-components-StatCard-vue.556cb84180c29d08.js

js event-us.kr collected 2026-10-01 10:18:27 UTC 3,657 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkeventus_ui"]=self["webpackChunkeventus_ui"]||[]).push([[1220],{83641:function(e,t,o){function l(e,t,{name:o,lastPointSize:l=6}={}){const n=e.length-1;return{name:o,type:"line",smooth:!0,symbol:"circle",data:e.map(((e,t)=>({value:e,symbolSize:t===n?l:0}))),lineStyle:{color:t,width:2},itemStyle:{color:t},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:t+"30"},{offset:1,color:t+"05"}]}}}}o.d(t,{q:function(){return l}})},73858:function(e,t,o){o.r(t),o.d(t,{default:function(){return V}});var l=o(70821);const n={class:"rounded-lg border border-gray-200 bg-white p-5"},r={class:"flex items-start justify-between"},s={class:"text-sm text-gray-700"},a={key:0,class:"h-3 w-3",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2.5",stroke:"currentColor"},i=(0,l.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"},null,-1),c=[i],d={key:1,class:"h-3 w-3",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2.5",stroke:"currentColor"},u=(0,l.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"},null,-1),p=[u],m={key:2},f={class:"mt-2 flex items-end justify-between gap-2"},y={class:"min-w-0 whitespace-nowrap"},g={class:"ml-0.5 text-sm text-gray-700"},k={key:0,class:"mt-1.5 text-xs text-gray-500"};function x(e,t,o,i,u,x){const v=(0,l.resolveComponent)("v-chart");return(0,l.openBlock)(),(0,l.createElementBlock)("div",n,[(0,l.createElementVNode)("div",r,[(0,l.createElementVNode)("div",s,(0,l.toDisplayString)(o.label),1),null!==o.diff?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,class:(0,l.normalizeClass)(["flex items-center gap-0.5 rounded-full px-2 py-0.5 text-xs font-bold",i.diffBadgeClass])},[o.diff>0?((0,l.openBlock)(),(0,l.createElementBlock)("svg",a,c)):o.diff<0?((0,l.openBlock)(),(0,l.createElementBlock)("svg",d,p)):((0,l.openBlock)(),(0,l.createElementBlock)("span",m,"=")),(0,l.createTextVNode)(" "+(0,l.toDisplayString)(Math.abs(o.diff)),1)],2)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",f,[(0,l.createElementVNode)("div",y,[(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)(["text-2xl font-bold",o.valueClass])},(0,l.toDisplayString)(o.value),3),(0,l.createElementVNode)("span",g,(0,l.toDisplayString)(o.unit),1)]),o.series&&o.series.length?((0,l.openBlock)(),(0,l.createBlock)(v,{key:0,class:"h-10 w-24 shrink-0",option:i.sparklineOption,autoresize:""},null,8,["option"])):(0,l.createCommentVNode)("",!0)]),o.sub?((0,l.openBlock)(),(0,l.createElementBlock)("div",k,(0,l.toDisplayString)(o.sub),1)):(0,l.createCommentVNode)("",!0)])}var v=o(1e3),w=o(68023),h=o(85299),b=o(67740),S=o(91416),B=o(83641);(0,w.D)([h.N,b.N,S.N]);var N={name:"StatCard",components:{VChart:v.ZP},props:{label:{type:String,required:!0},value:{type:[String,Number],required:!0},unit:{type:String,default:""},sub:{type:String,default:""},valueClass:{type:String,default:"text-gray-900"},diff:{type:Number,default:null},series:{type:Array,default:null},color:{type:String,default:"#8D71DD"}},setup(e){const t=(0,l.computed)((()=>e.diff>0?"bg-success-50 text-success-700":e.diff<0?"bg-danger-50 text-danger-500":"bg-gray-100 text-gray-700")),o=(0,l.computed)((()=>{const t=e.series||[];return{grid:{left:2,right:4,top:4,bottom:2},xAxis:{type:"category",show:!1,boundaryGap:!1,data:t.map(((e,t)=>t))},yAxis:{type:"value",show:!1},series:[(0,B.q)(t,e.color,{lastPointSize:5})]}}));return{diffBadgeClass:t,sparklineOption:o}}},C=o(83744);const E=(0,C.Z)(N,[["render",x]]);var V=E}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.