import{u as a,a as m,D as p,r as c,s as d,j as e,d5 as f}from"./index-KAtljJVt.js";import{I as l}from"./InfoAlert-BDXiwj6e.js";import{S as g}from"./SettingsList-B3K-wAVh.js";import"./envs-CSqIi4cL.js";import"./CheckboxField-DhE3iyQ3.js";import"./InputField-D4fq1Htu.js";import"./NumberField-CpqFpk71.js";import"./SelectField-wRS87yKs.js";function k({sourceIdx:t,group:i}){const{t:r}=a(["settings","common"]),o=m(p(s=>s.bridgeInfo[t])),n=c.useCallback(async s=>{await d(t,"bridge/request/group/options",{id:i.id.toString(),options:s})},[t,i.id]);return e.jsxs(e.Fragment,{children:[e.jsx(l,{children:e.jsx("a",{href:f,target:"_blank",rel:"noreferrer",className:"link link-hover",children:r(s=>s.read_the_docs_info,{ns:"common"})})}),e.jsx(g,{schema:o.config_schema.definitions.group??{properties:{}},data:o.config.groups[i.id]??{},set:n,namespace:"definitions-group"})]})}export{k as default};
