import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{k as e,P as s,r,e as l,R as t,S as o,X as u,a3 as p,V as n}from"./vue.js?v=1763625242172";import{au as i,dP as m}from"./naive.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./common.js?v=1763625242172";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",_,[u(d,{ref_key:"formRef",ref:j,model:n(x),rules:b},{default:p((()=>[u(l,{label:n(v).args_title,path:"args"},{default:p((()=>[u(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};
