import{c as e,s,q as a,a6 as o,v as l,x as t,e as i,B as r,y as m,R as p,ab as n,a9 as d}from"./base-lib.js?v=1761009159";import{ax as u,_ as c}from"./utils-lib.js?v=1761009159";import{aE as f}from"./store.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./files.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./store2.js?v=1761009159";import"./index103.js?v=1761009159";const b={class:"flex flex-col p-16px lib-box"},_=c(e({__name:"index",props:{compData:{default:()=>({})}},setup(e){const c=f(),{quickFormRef:_,quickForm:j,quickRules:x,disable:g,databaseOptions:v}=s(c),{toggleName:k,getOptions:q,$reset:R}=c;return a(()=>{q()}),o(()=>{R()}),(e,s)=>{const a=u,o=n,c=d;return l(),t("div",b,[i(c,{ref_key:"quickFormRef",ref:_,size:"small",model:m(j),rules:m(x),disabled:m(g),class:"relative w-full","label-position":"right",onSubmit:s[1]||(s[1]=p(()=>{},["prevent"]))},{default:r(()=>[i(o,{prop:"name",label:"数据库名"},{default:r(()=>[i(a,{modelValue:m(j).name,"onUpdate:modelValue":s[0]||(s[0]=e=>m(j).name=e),options:m(v),class:"!w-[22rem]",onChange:m(k)},null,8,["modelValue","options","onChange"])]),_:1})]),_:1},8,["model","rules","disabled"])])}}}),[["__scopeId","data-v-45092d35"]]);export{_ as default};
