import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{k as b,a6 as $,$ as d,Z as l,a0 as i,a9 as r,_ as s,aa as e,S as t,ak as A}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{C as c,c as w}from"./index-BTglIPU2.js?v=1773287522785";import{u as p}from"./disk-CUga-VD7.js?v=1773287522785";import{ab as C,a2 as y}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./useTableColumns-DDeyYvje.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./useRestart-m69F1Jd4.js?v=1773287522785";const B={class:"account-form-title"},N={class:"h-[22rem] default-disk"},S={class:""},V={class:"default-disk-info"},E={class:"disk-title"},I={class:"disk-title"},M={class:"flex"},R={class:"disk-title"},T={class:"flex w-[50rem]"},U={class:"mr-[2rem] w-[17rem]"},Z={class:"flex-1"},j={class:"flex"},q={class:"disk-title"},z={class:"flex w-[50rem]"},F={class:"mr-[2rem] w-[17rem]"},G={class:"flex-1"},H={key:0,style:{color:"red"}},J={class:"account-form-title"},K=b({__name:"index",setup(L){const{init:m,diskColor:a}=p(),{table:u,loading:f,columns:k,DefaultDisk:o}=$(p());return m(),(n,O)=>{const _=C,h=D,v=x,g=y;return d(),l("div",null,[i(g,{class:"p-16px mb-16px"},{default:r(()=>[s("div",B,e(n.$t("Account.Disk.disk_index_763791-0")),1),s("div",N,[s("div",S,e(n.$t("Account.Disk.disk_index_763791-1")),1),s("div",V,[s("div",null,[s("span",E,e(n.$t("Account.Disk.disk_index_763791-2")),1),s("span",null,e(t(o).mountpoint),1)]),s("div",null,[s("span",I,e(n.$t("Account.Disk.disk_index_763791-3")),1),s("span",null,e(t(o).device),1)]),s("div",M,[s("span",R,e(n.$t("Account.Disk.disk_index_763791-4")),1),s("span",T,[s("div",U,e(t(c)(t(o).used))+"/ "+e(t(c)(t(o).total)),1),s("div",Z,[i(_,{height:18,color:t(a)(t(o).used_percent),percentage:Math.round(t(o).used_percent),"indicator-placement":"inside","show-indicator":!1},null,8,["color","percentage"])])])]),s("div",j,[s("span",q,e(n.$t("Account.Disk.disk_index_763791-5")),1),s("span",z,[s("div",F,e(t(c)(t(o).account_allocate))+"/ "+e(t(c)(t(o).total)),1),s("div",G,[s("div",null,[i(_,{height:18,color:t(a)(t(o).account_percent),"indicator-placement":"inside",percentage:t(o).account_percent,"show-indicator":!1},null,8,["color","percentage"]),t(o).account_percent>100?(d(),l("div",H,e(n.$t("Account.Disk.disk_index_763791-6")),1)):A("",!0)])])])])])]),s("div",J,e(n.$t("Account.Disk.disk_index_763791-7")),1),i(v,{feedback:!1},{table:r(()=>[i(h,{"max-height":600,loading:t(f),data:t(u).data,columns:t(k)},null,8,["loading","data","columns"])]),_:1})]),_:1})])}}}),ps=w(K,[["__scopeId","data-v-a1b06cbe"]]);export{ps as default};
