import{_ as e}from"./index.js?v=1764830988434";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang5.js?v=1764830988434";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang7.js?v=1764830988434";import{h as o}from"./public.js?v=1764830988434";import{_ as s}from"./index.vue_vue_type_script_setup_true_lang8.js?v=1764830988434";import{u as n,a as p,b as c}from"./index101.js?v=1764830988434";import{aC as r,dS as i}from"./naive.js?v=1764830988434";import{k as l,P as u,af as _,c as m,R as d,V as g,W as k,a3 as f,U as v,ak as h,j,a4 as x}from"./vue.js?v=1764830988434";import"./common.js?v=1764830988434";import"./__commonjsHelpers__.js?v=1764830988434";import"./page_layout.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1764830988434";import"./accountState.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang.js?v=1764830988434";import"./quota.js?v=1764830988434";import"./disk.js?v=1764830988434";const y=l({__name:"index",setup(y){const{t:w}=u(),C=n(),S=C.PackageInfoForm(),b=l({setup:()=>()=>k("div",{class:"p-10"},[k(S,{ref:E},null)])}),{w_package:P}=p(),{create_package:R,init:U,loading:A,packageInfoConfirm:z}=c();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,p)=>{const c=r,l=s,u=o,_=t,m=a,y=i,w=e;return g(),d("div",null,[k(y,{class:"p-16px mb-16px"},{default:f(()=>[k(m,{feedback:!0,email:!0},{toolsLeft:f(()=>[k(c,{onClick:v(R),type:"primary"},{default:f(()=>[j(x(n.$t("Account.Package.packageState-592272-11")),1)]),_:1},8,["onClick"])]),toolsRight:f(()=>[k(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(U)},null,8,["value","placeholder","onSearch"])]),table:f(()=>[k(u,{"checked-row-keys":v(I),"onUpdate:checkedRowKeys":p[1]||(p[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:f(()=>[k(_,{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(U)},null,8,["page","page-size","item-count","onRefresh"])]),_:1})]),_:1}),k(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};
