import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang10.js?v=1763625242172";import{bU as l,gp as r}from"./page_layout.js?v=1763625242172";import"./public.js?v=1763625242172";import{k as t,P as o,r as s,e as p,R as u,S as m,X as n,a3 as _,U as i,V as d,j as c,N as v}from"./vue.js?v=1763625242172";import{dP as f,au as x,dY as g,az as j}from"./naive.js?v=1763625242172";import"./index98.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";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:""}),U={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=x,p=g,v=j,k=e;return u(),m("div",h,[n(k,{ref_key:"formRef",ref:I,model:d(L),rules:U},{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,__:[2]})])),_:1})])),_:1},8,["label"])])),_:1},8,["model"])])}}});export{k as default};
