import{l as s,W as a}from"./utils-lib.js?v=1761009159";import{c as e,w as o,q as l,H as t,v as i,x as m,I as r,y as p,N as d,B as n,e as c,C as u,aa as f,G as _,a8 as j}from"./base-lib.js?v=1761009159";import{J as b,f as x,K as g,L as h,M as v,d as w,N as y,m as C}from"./index471.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index104.js?v=1761009159";import"./column.js?v=1761009159";import"./index105.js?v=1761009159";import"./site.js?v=1761009159";import"./validator.js?v=1761009159";import"./useStore4.js?v=1761009159";const V={class:"p-[20px]"},k=e({__name:"setting-custom",setup:e=>(o(()=>C.value.custom_conf,s=>{s&&(g.config=s)}),l(b),(e,o)=>{const l=s,b=f,C=_,k=j,H=a,N=t("bt-loading");return i(),m("div",V,[r((i(),d(k,{ref:"customFormRef",model:p(g),"label-width":"100px",disabled:p(w)},{default:n(()=>[c(b,{label:"需要插入的配置",prop:"config"},{default:n(()=>[c(l,{modelValue:p(g).config,"onUpdate:modelValue":o[0]||(o[0]=s=>p(g).config=s),placeholder:p(h),type:"textarea",width:"42rem",rows:6,resize:"none"},null,8,["modelValue","placeholder"])]),_:1}),c(b,{label:" "},{default:n(()=>[c(C,{type:"primary",onClick:p(v)},{default:n(()=>o[1]||(o[1]=[u("保存",-1)])),_:1,__:[1]},8,["onClick"])]),_:1})]),_:1},8,["model","disabled"])),[[N,p(x)]]),c(H,{options:p(y),class:"mt-2rem ml-[20px]"},null,8,["options"])])})});export{k as default};
