System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var n,r,t,l,i,s,u,o,c,d,m,_,p,v,f,g;return{setters:[e=>{n=e._},e=>{r=e.bm,t=e.gL},e=>{l=e.k,i=e.R,s=e.t,u=e.r,o=e.e,c=e.$,d=e.Z,m=e.a0,_=e.a9,p=e._,v=e.S},e=>{f=e.a1,g=e.b},null],execute:function(){const a={class:"p-20px"},x={class:"w-200px"};e("default",l({__name:"index",props:{row:{}},setup(e,{expose:l}){const y=e,{t:w}=i(),b=s(y,"row"),j=r(),k=u(null),h=o({name:b.value.name}),C={name:{trigger:["blur","input"],validator:()=>""!==h.name.trim()||new Error(w("Docker.Container.rename.index_3"))}};return l({onConfirm:async()=>{await(k.value?.validate()),await t({id:b.value.id,name:h.name}),j.setRefresh(!0)}}),(e,r)=>{const t=g,l=f,i=n;return c(),d("div",a,[m(i,{ref_key:"formRef",ref:k,model:v(h),rules:C,"label-width":"150"},{default:_((()=>[m(l,{label:e.$t("Docker.Container.rename.index_1"),"show-feedback":!1},{default:_((()=>[p("div",x,[m(t,{value:v(h).name,"onUpdate:value":r[0]||(r[0]=e=>v(h).name=e),placeholder:e.$t("Docker.Container.rename.index_2")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
