System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509"],(function(e,a){"use strict";var l,t,r,u,s,o,n,c,p,i,g,m,_,d,v,f,y;return{setters:[e=>{l=e._},e=>{t=e.bg,r=e.fu},null,e=>{u=e.k,s=e.P,o=e.r,n=e.e,c=e.U,p=e.V,i=e.Q,g=e.a2,m=e.W,_=e.X,d=e.N},e=>{v=e.cG,f=e.cA,y=e.aq},null,null],execute:function(){const a={class:"px-20px pt-24px pb-8px"},b={class:"w-240px"},x={class:"w-240px"};e("default",u({__name:"index",props:{row:{},list:{default:()=>[]}},setup(e,{expose:u}){const h=e,{t:j}=s(),k=t(),w=o(null),D=n({name:"",tag:""}),I=o([]),L={tag:{trigger:["blur","input"],validator:()=>""===D.tag.trim()?new Error(j("Docker.LocalImage.push_4")):!!D.tag.includes(":")||new Error(j("Docker.LocalImage.push_5"))}};return(()=>{const e=h.list.filter((e=>"Docker public repository"!==e.name));I.value=e.map((e=>({label:e.name,value:e.name}))),D.name=e[0].name})(),u({onConfirm:async()=>{await(w.value?.validate()),await r({...d(D),id:h.row.id}),k.setRefresh(!0)}}),(e,t)=>{const r=v,u=f,s=y,o=l;return c(),p("div",a,[i(o,{ref_key:"formRef",ref:w,model:_(D),rules:L},{default:g((()=>[i(u,{label:e.$t("Docker.LocalImage.push_1")},{default:g((()=>[m("div",b,[i(r,{value:_(D).name,"onUpdate:value":t[0]||(t[0]=e=>_(D).name=e),options:_(I)},null,8,["value","options"])])])),_:1},8,["label"]),i(u,{label:e.$t("Docker.LocalImage.push_2"),path:"tag"},{default:g((()=>[m("div",x,[i(s,{value:_(D).tag,"onUpdate:value":t[1]||(t[1]=e=>_(D).tag=e),placeholder:e.$t("Docker.LocalImage.push_3")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
