import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1764233927359";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang10.js?v=1764233927359";import{bU as l,gq as r}from"./page_layout.js?v=1764233927359";import"./public.js?v=1764233927359";import{k as t,P as o,r as s,e as p,R as u,V as m,W as n,a3 as _,S as i,U as d,j as c,N as v}from"./vue.js?v=1764233927359";import{dR as f,av as x,au as g,dZ as j}from"./naive.js?v=1764233927359";import"./index98.js?v=1764233927359";import"./common.js?v=1764233927359";import"./__commonjsHelpers__.js?v=1764233927359";const h={class:"px-20px pt-24px pb-8px"},b={class:"w-240px"},k=t({__name:"index",props:{row:{}},setup(t,{expose:k}){const w=t,{t:y}=o(),D=l(),I=s(null),L=p({path:"",name:""}),R={name:{trigger:["blur","input"],validator:()=>""!==L.name.trim()||new Error(y("Docker.LocalImage.export_4"))}};return k({onConfirm:async()=>{var e;await(null==(e=I.value)?void 0:e.validate()),await r({...v(L),id:w.row.id}),D.setRefresh(!0)}}),(l,r)=>{const t=a,o=f,s=g,p=j,v=x,k=e;return m(),u("div",h,[n(k,{ref_key:"formRef",ref:I,model:d(L),rules:R},{default:_(()=>[n(o,{label:l.$t("Docker.LocalImage.index_22")},{default:_(()=>[i("div",b,[n(t,{value:d(L).path,"onUpdate:value":r[0]||(r[0]=e=>d(L).path=e),placeholder:l.$t("Docker.LocalImage.index_23")},null,8,["value","placeholder"])])]),_:1},8,["label"]),n(o,{label:l.$t("Docker.LocalImage.export_3"),path:"name"},{default:_(()=>[n(v,{class:"w-240px"},{default:_(()=>[n(s,{value:d(L).name,"onUpdate:value":r[1]||(r[1]=e=>d(L).name=e),placeholder:l.$t("Docker.LocalImage.export_4")},null,8,["value","placeholder"]),n(p,null,{default:_(()=>r[2]||(r[2]=[c(".tar",-1)])),_:1,__:[2]})]),_:1})]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{k as default};
