import{_ as e}from"./index.js?v=1763625242172";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang5.js?v=1763625242172";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang7.js?v=1763625242172";import{h as o}from"./public.js?v=1763625242172";import{_ as s}from"./index.vue_vue_type_script_setup_true_lang8.js?v=1763625242172";import{u as n,a as p,b as c}from"./index103.js?v=1763625242172";import{dS as r,aC as i}from"./naive.js?v=1763625242172";import{k as l,P as u,af as _,c as m,R as d,S as g,X as f,a3 as k,V as v,aj as h,j,a4 as x}from"./vue.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./page_layout.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1763625242172";import"./accountState.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import"./quota.js?v=1763625242172";import"./disk.js?v=1763625242172";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}=p(),{create_package:R,init:A,loading:U,packageInfoConfirm:z}=c();A();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,p)=>{const c=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(c,{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":p[0]||(p[0]=e=>v(F).search_value=e),placeholder:n.$t("Account.Package.package_index_11"),onSearch:v(A)},null,8,["value","placeholder","onSearch"])])),table:k((()=>[f(u,{"checked-row-keys":v(I),"onUpdate:checkedRowKeys":p[1]||(p[1]=e=>h(I)?I.value=e:null),"max-height":800,loading:v(U),data:v(D).data,columns:v(V)},null,8,["checked-row-keys","loading","data","columns"])])),pageRight:k((()=>[f(_,{page:v(F).p,"onUpdate:page":p[2]||(p[2]=e=>v(F).p=e),"page-size":v(F).rows,"onUpdate:pageSize":p[3]||(p[3]=e=>v(F).rows=e),"item-count":v(D).total,onRefresh:v(A)},null,8,["page","page-size","item-count","onRefresh"])])),_:1})])),_:1}),f(w,{show:v($),"onUpdate:show":p[4]||(p[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};
