import{u as a,a as m,I as c,r as p,s as f,j as s,bc as l}from"./index-VJpwYvBU.js";import{m as d}from"./merge-Bz49Xzes.js";import{I as g}from"./InfoAlert-5ZrJ0C3a.js";import{S as h}from"./SettingsList-dKrzLqZS.js";import"./envs-CRUy-_iG.js";import"./isObjectLike-CKrHmw-v.js";import"./isObject--vsEa_js.js";import"./CheckboxField-CBqKSuiA.js";import"./InputField-B_6Ee4_m.js";import"./NumberField-DL6vGGqp.js";import"./SelectField-BkTP72p-.js";function O({sourceIdx:t,ieeeAddress:i}){const{t:r}=a(["settings","common"]),o=m(c(e=>e.bridgeInfo[t])),n=p.useCallback(async e=>{await f(t,"bridge/request/device/options",{id:i,options:e})},[t,i]);return s.jsxs(s.Fragment,{children:[s.jsx(g,{children:s.jsx("a",{href:l,target:"_blank",rel:"noreferrer",className:"link link-hover",children:r(e=>e.read_the_docs_info,{ns:"common"})})}),s.jsx(h,{schema:o.config_schema.definitions.device??{properties:{}},data:d({},o.config.device_options,o.config.devices[i]),set:n,namespace:"definitions-device"})]})}export{O as default};
