import{K as e}from"./utils-lib.js?v=1761009159";import{c as s,g as t,v as r,N as a,y as i}from"./base-lib.js?v=1761009159";import{i as o,h as m}from"./index86.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index.vue_vue_type_style_index_0_lang.js?v=1761009159";import"./add-host.vue_vue_type_script_setup_true_lang.js?v=1761009159";import"./form-item.js?v=1761009159";import"./index106.js?v=1761009159";import"./useController2.js?v=1761009159";import"./default.js?v=1761009159";import"./column.js?v=1761009159";import"./index105.js?v=1761009159";const l=s({__name:"add-command",setup(s,{expose:l}){const p=t(()=>[{label:"命令名称",key:"title",type:"input",attrs:{placeholder:"请输入命令名称",class:"mr-4 !w-[280px]"},rules:[{required:!0,message:"请输入命令名称",trigger:["blur","change"]}]},{label:"命令内容",type:"input",key:"shell",attrs:{placeholder:"请输入命令内容",class:"mr-4 !w-[280px]",type:"textarea",autosize:{minRows:8,maxRows:8}},rules:[{required:!0,message:"请输入命令内容",trigger:["blur","change"]}]}]),{BtForm:n,submit:u}=e({data:o,options:()=>p,submit:async(e,s)=>(await s(),await m(e))});return l({onConfirm:u}),(e,s)=>(r(),a(i(n),{class:"p-[2rem]","label-width":"4rem"}))}});export{l as default};
