import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1764233927359";import{k as e,P as s,r,e as l,R as t,V as o,W as u,a3 as p,U as n}from"./vue.js?v=1764233927359";import{dR as i,au as m}from"./naive.js?v=1764233927359";import"./__commonjsHelpers__.js?v=1764233927359";import"./common.js?v=1764233927359";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=m,l=i,d=a;return o(),t("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};
