import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{k as b,R as C,r as h,e as w,$ as k,Z as R,a0 as n,a9 as p,S as o}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as y,b as B}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const S={class:"pt-20px"},U=b({__name:"custom",props:{data:{}},setup(l,{expose:m}){const{t:c}=C(),i=l,{row:a,callback:s}=i.data,r=h(null),t=w({args:""}),u={args:{required:!0,message:c("Crontab.Script.index_43"),trigger:["blur","input"]}};return m({onConfirm:async({hide:_})=>{var e;await((e=r.value)==null?void 0:e.validate()),s==null||s(t.args,a),_()}}),(_,e)=>{const f=B,d=y,g=x;return k(),R("div",S,[n(g,{ref_key:"formRef",ref:r,model:o(t),rules:u},{default:p(()=>[n(d,{label:o(a).args_title,path:"args"},{default:p(()=>[n(f,{class:"w-250px!",value:o(t).args,"onUpdate:value":e[0]||(e[0]=v=>o(t).args=v),placeholder:o(a).args_ps},null,8,["value","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{U as default};
