import{r as s,g as t}from"./p-823ca21f.js";import{XdsTransport as e}from"../gc-transport-xds/lib/XdsTransport";import{c as i}from"./p-ab62068b.js";import{ServicesRegistry as c}from"../gc-core-services/lib/ServicesRegistry";import{targetConfigServiceType as r}from"../gc-service-target-config/lib/TargetConfigService";import{createPropertyAutoFill as o}from"../gc-core-assets/lib/GcDesigner";const a=c.getService(r);let n=class{constructor(t){s(this,t);this.impl=undefined;this.propertyAutoFill=undefined;this.optional=false}connectedCallback(){const s=i(this.el);this.impl=new e(s);this.propertyAutoFill=o(this.el);this.propertyAutoFill.register("deviceName",(async()=>(await a.getBoardsAndDevices()).map((s=>s.id)))).register("connectionName",(async()=>(await a.getConnections(s["deviceName"])).map((s=>s.id))))}disconnectedCallback(){this.propertyAutoFill.unregister("deviceName").unregister("connectionName");this.impl.dispose()}get el(){return t(this)}};export{n as gc_transport_xds};
//# sourceMappingURL=p-716df379.entry.js.map