import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang9.js?v=1753954525509";import{bg as l,fv as r}from"./page_layout.js?v=1753954525509";import"./public.js?v=1753954525509";import{k as t,P as o,r as s,e as p,U as m,V as n,Q as u,a2 as _,W as i,X as c,j as d,N as v}from"./vue.js?v=1753954525509";import{cA as f,aq as x,cI as g,av as j}from"./naive.js?v=1753954525509";import"./index96.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";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:I}=o(),y=l(),D=s(null),L=p({path:"",name:""}),$={name:{trigger:["blur","input"],validator:()=>""!==L.name.trim()||new Error(I("Docker.LocalImage.export_4"))}};return k({onConfirm:async()=>{var e;await(null==(e=D.value)?void 0:e.validate()),await r({...v(L),id:w.row.id}),y.setRefresh(!0)}}),(l,r)=>{const t=a,o=f,s=x,p=g,v=j,k=e;return m(),n("div",h,[u(k,{ref_key:"formRef",ref:D,model:c(L),rules:$},{default:_((()=>[u(o,{label:l.$t("Docker.LocalImage.index_22")},{default:_((()=>[i("div",b,[u(t,{value:c(L).path,"onUpdate:value":r[0]||(r[0]=e=>c(L).path=e),placeholder:l.$t("Docker.LocalImage.index_23")},null,8,["value","placeholder"])])])),_:1},8,["label"]),u(o,{label:l.$t("Docker.LocalImage.export_3"),path:"name"},{default:_((()=>[u(v,{class:"w-240px"},{default:_((()=>[u(s,{value:c(L).name,"onUpdate:value":r[1]||(r[1]=e=>c(L).name=e),placeholder:l.$t("Docker.LocalImage.export_4")},null,8,["value","placeholder"]),u(p,null,{default:_((()=>r[2]||(r[2]=[d(".tar")]))),_:1,__:[2]})])),_:1})])),_:1},8,["label"])])),_:1},8,["model"])])}}});export{k as default};
