| Server IP : 52.25.153.185 / Your IP : 216.73.216.222 Web Server : Apache System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : daemon ( 1) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/fluent-crm/assets/ |
Upload File : |
import{q as e,k as a,dl as s,v as t,Y as r,a2 as o,a5 as n,a6 as i,ac as d,r as l,d as p}from"./vendor.js?ver=3.2.0";import{_ as c}from"./fc-bits-ui.js?ver=3.2.0";const h={class:"echart-container-wrapper"},u={key:0,class:"fcrm-chart-placeholder"};const v=c({name:"FreshChart",props:{options:{type:Object,default:null},height:{type:[Number,String],default:400}},setup(r){const o=l(null);let n=null;const i=p(()=>!!r.options&&(!!Array.isArray(r.options.series)&&r.options.series.some(e=>Array.isArray(e.data)&&e.data.length>0))),d=()=>{n&&n.resize()};return e(()=>{o.value&&(n=s(o.value),n.setOption(r.options||{},!0),window.addEventListener("resize",d))}),a(()=>r.options,e=>{o.value&&(n||(n=s(o.value),window.addEventListener("resize",d)),e&&n.setOption(e,!0))},{deep:!0}),t(()=>{n&&(window.removeEventListener("resize",d),n.dispose())}),{chartRef:o,hasData:i}}},[["render",function(e,a,s,t,l,p){return r(),o("div",h,[n("div",{ref:"chartRef",class:"chart-container",style:i("height:"+s.height+"px;")},null,4),t.hasData?d("",!0):(r(),o("div",u," Chart placeholder (ECharts not loaded or data is empty) "))])}],["__scopeId","data-v-5d01edb6"]]);export{v as E};