import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang10.js?v=1763625242172";import{bU as a,gt as o}from"./page_layout.js?v=1763625242172";import"./public.js?v=1763625242172";import{k as s,P as r,r as p,e as i,R as l,S as n,X as _,a3 as m,U as u,V as c}from"./vue.js?v=1763625242172";import{dP as d}from"./naive.js?v=1763625242172";import"./index98.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const v={class:"p-20px pb-8px"},f={class:"w-240px"},h=s({__name:"index",setup(s,{expose:h}){const g=a(),{t:x}=r(),j=p(null),k=i({path:g.setting.docker_compose_path}),b={path:{trigger:["blur","input"],validator:()=>""!==k.path.trim()||new Error(x("Docker.Setting.compose.index_3"))}};return h({onConfirm:async()=>{var e;await(null==(e=j.value)?void 0:e.validate()),await o({docker_compose_path:k.path.trim()}),g.getSetting()}}),(a,o)=>{const s=t,r=d,p=e;return l(),n("div",v,[_(p,{ref_key:"formRef",ref:j,model:c(k),rules:b},{default:m((()=>[_(r,{label:a.$t("Docker.Setting.compose.index_1"),path:"path"},{default:m((()=>[u("div",f,[_(s,{value:c(k).path,"onUpdate:value":o[0]||(o[0]=e=>c(k).path=e),"checked-type":["file"],placeholder:a.$t("Docker.Setting.compose.index_2")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}});export{h as default};
