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 t,fs as s}from"./page_layout.js?v=1753954525509";import"./public.js?v=1753954525509";import{k as r,P as o,r as p,e as l,U as i,V as m,Q as n,a2 as _,W as u,X as c,N as d}from"./vue.js?v=1753954525509";import{cA as f}from"./naive.js?v=1753954525509";import"./index96.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const v={class:"px-20px pt-24px pb-8px"},x={class:"w-240px"},h=r({__name:"index",setup(r,{expose:h}){const{t:g}=o(),j=t(),b=p(null),k=l({path:""}),y={path:{trigger:["blur","change"],validator:()=>""!==k.path.trim()||new Error(g("Docker.LocalImage.index_23"))}};return h({onConfirm:async()=>{var e;await(null==(e=b.value)?void 0:e.validate()),await s({...d(k)}),j.setRefresh(!0)}}),(t,s)=>{const r=a,o=f,p=e;return i(),m("div",v,[n(p,{ref_key:"formRef",ref:b,model:c(k),rules:y},{default:_((()=>[n(o,{label:t.$t("Docker.LocalImage.index_22"),path:"path"},{default:_((()=>[u("div",x,[n(r,{value:c(k).path,"onUpdate:value":s[0]||(s[0]=e=>c(k).path=e),"checked-type":["file"],placeholder:t.$t("Docker.LocalImage.index_23")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}});export{h as default};
