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,t,r,u,o,s,n,c,p,i,g,m,d,_,v,f,y;return{setters:[e=>{l=e._},e=>{t=e.bU,r=e.go},null,e=>{u=e.k,o=e.P,s=e.r,n=e.e,c=e.R,p=e.S,i=e.X,g=e.a3,m=e.U,d=e.V,_=e.N},e=>{v=e.dV,f=e.dP,y=e.au},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}=o(),k=t(),w=s(null),D=n({name:"",tag:""}),I=s([]),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),id:h.row.id}),k.setRefresh(!0)}}),(e,t)=>{const r=v,u=f,o=y,s=l;return c(),p("div",a,[i(s,{ref_key:"formRef",ref:w,model:d(D),rules:L},{default:g((()=>[i(u,{label:e.$t("Docker.LocalImage.push_1")},{default:g((()=>[m("div",b,[i(r,{value:d(D).name,"onUpdate:value":t[0]||(t[0]=e=>d(D).name=e),options:d(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(o,{value:d(D).tag,"onUpdate:value":t[1]||(t[1]=e=>d(D).tag=e),placeholder:e.$t("Docker.LocalImage.push_3")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
