import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{k as a,P as l,r as t,e as r,R as s,S as u,X as o,a3 as i,V as n,N as p}from"./vue.js?v=1763625242172";import{au as d,dP as m}from"./naive.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./common.js?v=1763625242172";const _={class:"p-20px"},c=a({__name:"index",props:{data:{}},setup(a,{expose:c}){const{t:f}=l(),v=a,{callback:x,api:b,url:g}=v.data,y=t(null),j=r({title:"",url:"",atall:!0}),h={title:{required:!0,message:f("Security.Conf.Index_28"),trigger:["blur","input"]},url:{required:!0,message:f("Security.Conf.Index_28"),trigger:["blur","input"]}};return c({onConfirm:async({hide:e})=>{var a;await(null==(a=y.value)?void 0:a.validate()),await b(p(j),g),null==x||x(),e()}}),(a,l)=>{const t=d,r=m,p=e;return s(),u("div",_,[o(p,{ref_key:"formRef",ref:y,model:n(j),rules:h},{default:i((()=>[o(r,{label:a.$t("Docker.Compose.form.index_3"),path:"title"},{default:i((()=>[o(t,{class:"w-250px!",type:"text",value:n(j).title,"onUpdate:value":l[0]||(l[0]=e=>n(j).title=e),placeholder:" "},null,8,["value"])])),_:1},8,["label"]),o(r,{label:a.$t("WP.TableRow.index_7"),path:"url"},{default:i((()=>[o(t,{class:"w-250px!",type:"text",value:n(j).url,"onUpdate:value":l[1]||(l[1]=e=>n(j).url=e),placeholder:" "},null,8,["value"])])),_:1},8,["label"])])),_:1},8,["model"])])}}});export{c as default};
