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 t,gm as r}from"./page_layout.js?v=1763625242172";import"./public.js?v=1763625242172";import{k as s,P as o,r as p,e as l,R as i,S as m,X as n,a3 as _,U as u,V as c,N as d}from"./vue.js?v=1763625242172";import{dP as v}from"./naive.js?v=1763625242172";import"./index98.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const f={class:"px-20px pt-24px pb-8px"},x={class:"w-240px"},h=s({__name:"index",setup(s,{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 r({...d(k)}),j.setRefresh(!0)}}),(t,r)=>{const s=a,o=v,p=e;return i(),m("div",f,[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(s,{value:c(k).path,"onUpdate:value":r[0]||(r[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};
