1import{c1 as e,bM as a,bQ as t,bR as r,bV as s,c2 as o,c3 as i,bL as n}from"./commonmodules.b9c1dd40.js";import{_ as d,a as l}from"./index.d3bd9396.js";import"./axios.1263d4b1.js";import"./vue-router.5e13d197.js";import"./element-plus.80abf16b.js";import"./lodash-es.480d1bd8.js";const p=["id"];var u=d(e({__name:"CrmBarChart",props:{domId:null,componentData:null},setup(e){const d=e,u={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{data:[120,200,150,80,70,110,130],type:"bar"}]},c=n(),{$echarts:m}=c.appContext.config.globalProperties,b=a(),v=a(),x=a({connection:"",entity:"",view:"",legendEntries:"",labels:"",customRetrieveURL:""}),h=l.debounce((()=>{var e;null==(e=v.value)||e.resize()}),500);return t((()=>d.componentData),(e=>{e&&(x.value=JSON.parse(e))})),r((()=>{var e;b.value&&(v.value=m.init(b.value),null==(e=v.value)||e.setOption(u)),window.addEventListener("resize",h)})),s((()=>{window.removeEventListener("resize",h)})),(e,a)=>(o(),i("div",{id:`crmbarchart_${d.domId}`,class:"crm-bar-chart",ref_key:"chartWrap",ref:b},null,8,p))}}),[["__scopeId","data-v-5517b732"]]);export{u as default};
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.