import{F as u,ai as h,P as s,Q as f,R as x,X as a,T as t,a1 as o,a2 as c,a0 as l,e as b}from"./vendor-DWvj1jit.js";import{h as y}from"./index-B67YzpGs.js";import{_ as V}from"./orders.vue_vue_type_script_setup_true_lang-Bt4oJT86.js";import"./orders-D9ZsbCWi.js";import"./useUserOrders-CCMXKw6M.js";import"./order-status.vue_vue_type_script_setup_true_lang-ClxZNwUQ.js";const v={class:"pb-1.5"},$={class:"flex flex-col gap-y-5 lg:flex-row lg:gap-x-5 lg:gap-y-0"},k={class:"flex content-center space-x-9 lg:space-x-4"},w={class:"flex flex-col justify-center space-y-1 sm:flex-row sm:flex-wrap sm:items-center sm:space-x-5 sm:space-y-0 xl:space-x-7"},B={class:"flex flex-col lg:items-center lg:space-y-3"},I={class:"text-xs text-neutral-400 lg:font-bold lg:text-neutral-600"},z={class:"flex flex-col lg:items-center lg:space-y-3"},T={class:"text-xs text-neutral-400 lg:font-bold lg:text-neutral-600"},E=u({__name:"dashboard",setup(C){const{t:d}=h();return y({title:d("pages.account.dashboard.meta.title")}),(e,n)=>{const i=s("VcTypography"),p=s("VcButton"),_=s("VcIcon"),g=s("router-link"),r=s("VcWidget"),m=s("VcImage");return x(),f("div",null,[a(i,{tag:"h1",class:"lg:hidden"},{default:o(()=>[c(l(e.$t("pages.account.dashboard.title")),1)]),_:1}),a(r,{title:e.$t("pages.account.dashboard.last_orders_card.title")},{append:o(()=>[a(p,{class:"lg:!hidden",to:{name:"Orders"},variant:"outline",size:"xs"},{default:o(()=>[c(l(e.$t("pages.account.dashboard.last_orders_card.all_orders_link")),1)]),_:1}),a(g,{to:{name:"Orders"},class:"hidden items-center gap-1 text-xs font-bold text-[--link-color] hover:text-[--link-hover-color] lg:flex"},{default:o(()=>[c(l(e.$t("pages.account.dashboard.last_orders_card.all_orders_link"))+" ",1),a(_,{class:"fill-primary",name:"arrow-right",size:"xs"})]),_:1})]),"default-container":o(()=>[t("div",v,[a(b(V),{"items-per-page":4})])]),_:1},8,["title"]),t("div",$,[a(r,{title:e.$t("pages.account.dashboard.monthly_report_card.title"),class:"lg:w-0 lg:grow"},{default:o(()=>[t("div",k,[a(m,{src:"spend-chart.svg",class:"size-24",alt:e.$t("pages.account.dashboard.monthly_report_card.spend_chart_alt"),lazy:""},null,8,["alt"]),t("div",w,[t("div",B,[t("span",I,l(e.$t("pages.account.dashboard.monthly_report_card.budget_title")),1),n[0]||(n[0]=t("span",{class:"text-xl font-black"},"$58,152",-1))]),t("div",z,[t("span",T,l(e.$t("pages.account.dashboard.monthly_report_card.total_spend_label")),1),n[1]||(n[1]=t("span",{class:"text-xl font-black"},"$530,152",-1))])])])]),_:1},8,["title"]),a(r,{title:e.$t("pages.account.dashboard.orders_status_card.title"),class:"h-48 lg:w-0 lg:grow"},null,8,["title"])])])}}});export{E as default};
//# sourceMappingURL=dashboard-Ben-SMEb.js.map
