1import{_ as s,C as a}from"./app-fAHSEZ2w.js";import{D as e}from"./DashboardStore-C6334TzS.js";import{_ as o}from"./PermissionDenied-lRcrvIXa.js";import{o as t,K as r,c as l,e as i,Q as d,O as n,a0 as c,Y as m,Z as p,X as u}from"./vendor-core-DfJAFCx-.js";import"./vendor-datetime-BX_xbLmf.js";import"./vendor-charts-JUQqvQZG.js";const v={class:"business-overview-widget"},y={class:"text-primary"},S={class:"row"},h={class:"col-md-12 col-lg-4"},w={class:"summary-item"},g={class:"col-md-12 col-lg-4"},j={class:"summary-item"},O={class:"col-md-12 col-lg-4"},R={class:"summary-item"},_=s({__name:"BusinessOverviewWidget",setup(s){const _=a(),f=e();t(()=>{f.loadSalesData(),f.loadListingStatus()});const D=r(()=>"Business Overview");return(s,a)=>(l(),i("div",v,[d("h5",y,[n(c(D.value)+" ",1),a[0]||(a[0]=d("span",{class:"period-label"},"Last 30 Days",-1))]),a[6]||(a[6]=n()),d("div",S,[d("div",h,[d("div",w,[m(_).canReadSalesReport?(l(),i(p,{key:0},[d("h4",null,c(m(f).totalOrderValue),1),a[1]||(a[1]=n("\n Sales\n ",-1))],64)):(l(),u(m(o),{key:1,permission:"View Sales Report",short:!0}))])]),a[4]||(a[4]=n()),d("div",g,[d("div",j,[m(_).canReadSalesReport?(l(),i(p,{key:0},[d("h4",null,c(m(f).totalOrderCount),1),a[2]||(a[2]=n("\n Units Sold\n ",-1))],64)):(l(),u(m(o),{key:1,permission:"View Sales Report",short:!0}))])]),a[5]||(a[5]=n()),d("div",O,[d("div",R,[d("h4",null,c(m(f).totalProductCount),1),a[3]||(a[3]=n("\n Products\n ",-1))])])])]))}},[["__scopeId","data-v-c0eb65e7"]]);export{_ as default}; 2//# sourceMappingURL=https://storage.cloud.google.com/listing-mirror-sourcemaps/BusinessOverviewWidget-e_uo0tvU.js.map
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.