import{_ as s}from"./index.vue_vue_type_script_setup_true_lang4.js?v=1753954525509";import{f as e}from"./public.js?v=1753954525509";import{k as t,$ as a,U as i,V as c,Q as n,a2 as l,W as o,a3 as d,X as r,al as u}from"./vue.js?v=1753954525509";import{n as _,e as p}from"./page_layout.js?v=1753954525509";import{u as m}from"./disk.js?v=1753954525509";import{cD as k,bA as v}from"./naive.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const f={class:"account-form-title"},x={class:"h-[22rem] default-disk"},g={class:""},D={class:"default-disk-info"},h={class:"disk-title"},j={class:"disk-title"},A={class:"flex"},$={class:"disk-title"},b={class:"flex w-[50rem]"},w={class:"mr-[2rem] w-[17rem]"},y={class:"flex-1"},C={class:"flex"},H={class:"disk-title"},I={class:"flex w-[50rem]"},M={class:"mr-[2rem] w-[17rem]"},Q={class:"flex-1"},U={key:0,style:{color:"red"}},V={class:"account-form-title"},W=p(t({__name:"index",setup(t){const{init:p,diskColor:W}=m(),{table:X,loading:q,columns:z,DefaultDisk:B}=a(m());return p(),(t,a)=>{const p=v,m=e,E=s,F=k;return i(),c("div",null,[n(F,{class:"p-16px mb-16px"},{default:l((()=>[o("div",f,d(t.$t("Account.Disk.disk_index_763791-0")),1),o("div",x,[o("div",g,d(t.$t("Account.Disk.disk_index_763791-1")),1),o("div",D,[o("div",null,[o("span",h,d(t.$t("Account.Disk.disk_index_763791-2")),1),o("span",null,d(r(B).mountpoint),1)]),o("div",null,[o("span",j,d(t.$t("Account.Disk.disk_index_763791-3")),1),o("span",null,d(r(B).device),1)]),o("div",A,[o("span",$,d(t.$t("Account.Disk.disk_index_763791-4")),1),o("span",b,[o("div",w,d(r(_)(r(B).used))+"/ "+d(r(_)(r(B).total)),1),o("div",y,[n(p,{height:18,color:r(W)(r(B).used_percent),percentage:Math.round(r(B).used_percent),"indicator-placement":"inside","show-indicator":!1},null,8,["color","percentage"])])])]),o("div",C,[o("span",H,d(t.$t("Account.Disk.disk_index_763791-5")),1),o("span",I,[o("div",M,d(r(_)(r(B).account_allocate))+"/ "+d(r(_)(r(B).total)),1),o("div",Q,[o("div",null,[n(p,{height:18,color:r(W)(r(B).account_percent),"indicator-placement":"inside",percentage:r(B).account_percent,"show-indicator":!1},null,8,["color","percentage"]),r(B).account_percent>100?(i(),c("div",U,d(t.$t("Account.Disk.disk_index_763791-6")),1)):u("",!0)])])])])])]),o("div",V,d(t.$t("Account.Disk.disk_index_763791-7")),1),n(E,{feedback:!1},{table:l((()=>[n(m,{"max-height":600,loading:r(q),data:r(X).data,columns:r(z)},null,8,["loading","data","columns"])])),_:1})])),_:1})])}}}),[["__scopeId","data-v-eab49a58"]]);export{W as default};
