System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(e,a){"use strict";var l,n,r,t,u,s,o,i,c,d,m,_,p,v,g,f;return{setters:[e=>{l=e._},e=>{n=e.bU,r=e.g4},null,e=>{t=e.k,u=e.P,s=e.t,o=e.r,i=e.e,c=e.R,d=e.S,m=e.X,_=e.a3,p=e.U,v=e.V},e=>{g=e.au,f=e.dP},null,null],execute:function(){const a={class:"p-20px"},y={class:"w-200px"};e("default",t({__name:"index",props:{row:{}},setup(e,{expose:t}){const x=e,{t:j}=u(),w=s(x,"row"),b=n(),k=o(null),h=i({name:w.value.name}),C={name:{trigger:["blur","input"],validator:()=>""!==h.name.trim()||new Error(j("Docker.Container.rename.index_3"))}};return t({onConfirm:async()=>{await(k.value?.validate()),await r({id:w.value.id,name:h.name}),b.setRefresh(!0)}}),(e,n)=>{const r=g,t=f,u=l;return c(),d("div",a,[m(u,{ref_key:"formRef",ref:k,model:v(h),rules:C,"label-width":"150"},{default:_((()=>[m(t,{label:e.$t("Docker.Container.rename.index_1"),"show-feedback":!1},{default:_((()=>[p("div",y,[m(r,{value:v(h).name,"onUpdate:value":n[0]||(n[0]=e=>v(h).name=e),placeholder:e.$t("Docker.Container.rename.index_2")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
