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