import{_ as e}from"./index.js?v=1753954525509";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang4.js?v=1753954525509";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang5.js?v=1753954525509";import{f as o}from"./public.js?v=1753954525509";import{_ as s}from"./index.vue_vue_type_script_setup_true_lang6.js?v=1753954525509";import{u as n,a as c,b as p}from"./index99.js?v=1753954525509";import{cD as r,ay as i}from"./naive.js?v=1753954525509";import{k as l,P as u,ad as _,c as m,U as d,V as g,Q as f,a2 as k,X as v,ah as h,j,a3 as x}from"./vue.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";import"./page_layout.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1753954525509";import"./accountState.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import"./quota.js?v=1753954525509";import"./disk.js?v=1753954525509";const y=l({__name:"index",setup(y){const{t:w}=u(),C=n(),S=C.PackageInfoForm(),b=l({setup:()=>()=>f("div",{class:"p-10"},[f(S,{ref:E},null)])}),{w_package:P}=c(),{create_package:R,init:U,loading:A,packageInfoConfirm:z}=p();U();const{table:D,search:F,keys:I,columns:V,addVisible:$,isEdit:q,packageFormRef:E}=_(P),H=m((()=>{const e=q.value?w("Account.Package.packageState-592272-13"):w("Account.Package.packageState-592272-12");return w("Account.Package.packageState-592272-10",[e])}));return(n,c)=>{const p=i,l=s,u=o,_=t,m=a,y=r,w=e;return d(),g("div",null,[f(y,{class:"p-16px mb-16px"},{default:k((()=>[f(m,{feedback:!0,email:!0},{toolsLeft:k((()=>[f(p,{onClick:v(R),type:"primary"},{default:k((()=>[j(x(n.$t("Account.Package.packageState-592272-11")),1)])),_:1},8,["onClick"])])),toolsRight:k((()=>[f(l,{value:v(F).search_value,"onUpdate:value":c[0]||(c[0]=e=>v(F).search_value=e),placeholder:n.$t("Account.Package.package_index_11"),onSearch:v(U)},null,8,["value","placeholder","onSearch"])])),table:k((()=>[f(u,{"checked-row-keys":v(I),"onUpdate:checkedRowKeys":c[1]||(c[1]=e=>h(I)?I.value=e:null),"max-height":800,loading:v(A),data:v(D).data,columns:v(V)},null,8,["checked-row-keys","loading","data","columns"])])),pageRight:k((()=>[f(_,{page:v(F).p,"onUpdate:page":c[2]||(c[2]=e=>v(F).p=e),"page-size":v(F).rows,"onUpdate:pageSize":c[3]||(c[3]=e=>v(F).rows=e),"item-count":v(D).total,onRefresh:v(U)},null,8,["page","page-size","item-count","onRefresh"])])),_:1})])),_:1}),f(w,{show:v($),"onUpdate:show":c[4]||(c[4]=e=>h($)?$.value=e:null),title:v(H),width:500,footer:!0,component:v(b),onConfirm:v(z),onCancel:v(C).formData_reset,onClose:v(C).formData_reset},null,8,["show","title","component","onConfirm","onCancel","onClose"])])}}});export{y as default};
