System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./index-legacy100.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy9.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy14.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./index-legacy96.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./theme-chrome-legacy.js?v=1753954525509","./file-legacy2.js?v=1753954525509"],(function(e,a){"use strict";var l,t,u,c,p,r,o,s,n,d,i,_,g,v,y,h,m,b,f,j;return{setters:[e=>{l=e._},e=>{t=e._},e=>{u=e._},e=>{c=e.k,p=e.P,r=e.r,o=e.e,s=e.U,n=e.V,d=e.Q,i=e.a2,_=e.W,g=e.X,v=e.l,y=e.v},e=>{h=e.bg,m=e.ft},null,e=>{b=e._},e=>{f=e.cG,j=e.cA},null,null,null,null,null],execute:function(){const a={class:"p-20px"},x={class:"w-100px mr-10px"},k={class:"w-240px"},w={class:"w-350px"},D={class:"w-350px"};e("default",c({__name:"index",setup(e,{expose:c}){const{t:I}=p(),L=h(),U=r(null),$=o({type:"path",path:"",data:"",tag:""}),E=[{label:I("Docker.LocalImage.build_1"),value:"path"},{label:I("Docker.LocalImage.build_5"),value:"data"}],R={path:{trigger:["blur","input"],validator:()=>"path"!==$.type||""!==$.path.trim()||new Error(I("Docker.LocalImage.build_6"))},data:{trigger:["blur","input"],validator:()=>"data"!==$.type||""!==$.data.trim()||new Error(I("Docker.LocalImage.build_7"))}};return c({onConfirm:async()=>{await(U.value?.validate());const e="path"===$.type?{path:$.path,tag:$.tag}:{data:$.data,tag:$.tag};await m(e),L.setRefresh(!0)}}),(e,c)=>{const p=f,r=u,o=j,h=t,m=l;return s(),n("div",a,[d(m,{ref_key:"formRef",ref:U,model:g($),rules:R},{default:i((()=>[d(o,{label:e.$t("Docker.LocalImage.build_1"),path:"path"},{default:i((()=>[_("div",x,[d(p,{value:g($).type,"onUpdate:value":c[0]||(c[0]=e=>g($).type=e),options:E},null,8,["value"])]),v(_("div",k,[d(r,{value:g($).path,"onUpdate:value":c[1]||(c[1]=e=>g($).path=e),placeholder:e.$t("Docker.LocalImage.build_2")},null,8,["value","placeholder"])],512),[[y,"path"===g($).type]])])),_:1},8,["label"]),v(d(o,{label:" ",path:"data"},{default:i((()=>[_("div",w,[d(b,{value:g($).data,"onUpdate:value":c[2]||(c[2]=e=>g($).data=e),lang:"json",theme:"monokai",height:"290","show-tips":!1},null,8,["value"])])])),_:1},512),[[y,"data"===g($).type]]),d(o,{label:e.$t("Docker.LocalImage.build_3"),"show-feedback":!1},{default:i((()=>[_("div",D,[d(h,{value:g($).tag,"onUpdate:value":c[3]||(c[3]=e=>g($).tag=e),rows:3,placeholder:e.$t("Docker.LocalImage.build_4")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
