import{a as o,a6 as e}from"./index-a6248777.js";import"./index-c34407b8.js";import{F as r}from"./index-d52e4464.js";import{I as s,S as m}from"./StyleEditor-aacf693b.js";import"./index-3bb9c29d.js";import{S as p}from"./index-21ce67d6.js";import{G as x,T as u}from"./TagPicker-c69c9d39.js";import"./SearchOutlined-02bf3816.js";import"./index-8d4fb46c.js";function g({item:t,onChange:l}){const[a]=r.useForm();return o.useEffect(()=>{a.resetFields()},[t]),e.jsxs(r,{form:a,colon:!1,labelCol:{flex:"96px"},wrapperCol:{flex:"auto"},initialValues:{label:"当前分组",placeholder:"未选择",groupKey:"groupId",...t},onValuesChange:(c,i)=>{l==null||l(i)},children:[e.jsx("h3",{className:"title",children:"当前分组"}),e.jsx(r.Item,{label:"标签",name:["label"],children:e.jsx(s,{})}),e.jsx(r.Item,{label:"占位提示",name:["placeholder"],children:e.jsx(s,{})}),e.jsx(r.Item,{label:"分组标识",name:["groupKey"],children:e.jsx(s,{})}),e.jsx(r.Item,{label:"必填",name:["required"],children:e.jsx(p,{})}),e.jsx(r.Item,{label:"候选类型",name:["groupFilter","type"],children:e.jsx(x,{})}),e.jsx(r.Item,{label:"候选标签",name:["groupFilter","tags"],children:e.jsx(u,{multiple:!0})}),e.jsx(r.Item,{label:"版块样式",name:["styles","default"],children:e.jsx(m,{filter:["margin","borderRadius"]})})]})}export{g as default};
