import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import{k as e,P as s,r,e as l,U as t,V as o,Q as p,a2 as u,X as n}from"./vue.js?v=1753954525509";import{aq as i,cA as m}from"./naive.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";import"./common.js?v=1753954525509";const _={class:"pt-20px"},d=e({__name:"custom",props:{data:{}},setup(e,{expose:d}){const{t:c}=s(),g=e,{row:v,callback:f}=g.data,j=r(null),x=l({args:""}),b={args:{required:!0,message:c("Crontab.Script.index_43"),trigger:["blur","input"]}};return d({onConfirm:async({hide:a})=>{var e;await(null==(e=j.value)?void 0:e.validate()),null==f||f(x.args,v),a()}}),(e,s)=>{const r=i,l=m,d=a;return t(),o("div",_,[p(d,{ref_key:"formRef",ref:j,model:n(x),rules:b},{default:u((()=>[p(l,{label:n(v).args_title,path:"args"},{default:u((()=>[p(r,{class:"w-250px!",value:n(x).args,"onUpdate:value":s[0]||(s[0]=a=>n(x).args=a),placeholder:n(v).args_ps},null,8,["value","placeholder"])])),_:1},8,["label"])])),_:1},8,["model"])])}}});export{d as default};
