const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/index-bzM0KT6v.js","assets/js/index.vue_vue_type_script_setup_true_lang-BhBmcRn5.js","assets/js/vendor-element-DupX9wXy.js","assets/js/vendor-core-Di0OO4oJ.js","assets/css/vendor-core-CMnMgErA.css","assets/css/vendor-element-BVn4OBXk.css","assets/js/echarts-CRzmU3xu.js","assets/js/vendor-echarts-vjfAwO4v.js","assets/js/index-CeAbLubS.js","assets/css/index-CR6vEpPK.css"])))=>i.map(i=>d[i]);
var a=Object.defineProperty,e=Object.defineProperties,r=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,l=(e,r,t)=>r in e?a(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;import{_ as n}from"./index-CeAbLubS.js";import{a1 as d,a4 as i}from"./vendor-element-DupX9wXy.js";import{a as c}from"./dashboard-DqDdhJFp.js";import{q as u,r as v,R as p,t as h,v as m,M as b,E as f,A as x,K as _,u as y,bH as j,bE as g}from"./vendor-core-Di0OO4oJ.js";const O={class:"monitor-charts mt-4"},w={class:"chart-box"},A={class:"chart-title"},P={class:"chart-box"},D={class:"chart-title"},E=u((C=((a,e)=>{for(var r in e||(e={}))s.call(e,r)&&l(a,r,e[r]);if(t)for(var r of t(e))o.call(e,r)&&l(a,r,e[r]);return a})({},{name:"MonitorCharts"}),e(C,r({__name:"monitor-charts",setup(a){const e=j(()=>n(()=>import("./index-bzM0KT6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))),r=v(!0),t=v([]),s=v([]),o=v([]),l=v([]);return p(()=>{return a=null,e=null,n=function*(){try{const a=yield c();a&&(t.value=a.sales_trend,s.value=a.sales_days,o.value=a.order_trend,l.value=a.order_days)}catch(a){}finally{r.value=!1}},new Promise((r,t)=>{var s=a=>{try{l(n.next(a))}catch(e){t(e)}},o=a=>{try{l(n.throw(a))}catch(e){t(e)}},l=a=>a.done?r(a.value):Promise.resolve(a.value).then(s,o);l((n=n.apply(a,e)).next())});var a,e,n}),(a,n)=>{const c=d,u=i;return m(),h("div",O,[b(u,{gutter:20},{default:f(()=>[b(c,{span:12},{default:f(()=>[x("div",w,[x("div",A,_(a.$t("dashboard.monitor.charts.salesTrend")),1),b(y(e),{data:t.value,xAxisData:s.value,height:"250px",showAreaColor:!0,loading:r.value},null,8,["data","xAxisData","loading"])])]),_:1}),b(c,{span:12},{default:f(()=>[x("div",P,[x("div",D,_(a.$t("dashboard.monitor.charts.orderTrend")),1),b(y(e),{data:o.value,xAxisData:l.value,height:"250px",showAreaColor:!0,loading:r.value},null,8,["data","xAxisData","loading"])])]),_:1})]),_:1})])}}}))));var C;const I=g(E,[["__scopeId","data-v-c647d45e"]]);export{I as default};
