import {
  EdgeSelector,
  JsonView,
  PanelContainer,
  VaultSelector
} from "./chunk-VBEJ3GU4.mjs";

// src/panels/client/ConfigPanel/ConfigPanel.tsx
import React from "react";
import { useConfig } from "@dxos/react-client";
import { Toolbar } from "@dxos/react-ui";
var ConfigPanel = ({ vaultSelector = true, edgeSelector = true }) => {
  const config = useConfig();
  return /* @__PURE__ */ React.createElement(PanelContainer, {
    toolbar: /* @__PURE__ */ React.createElement(Toolbar.Root, null, vaultSelector && /* @__PURE__ */ React.createElement(VaultSelector, null), edgeSelector && /* @__PURE__ */ React.createElement(EdgeSelector, null))
  }, /* @__PURE__ */ React.createElement(JsonView, {
    data: config.values
  }));
};

// src/panels/client/ConfigPanel/index.ts
var ConfigPanel_default = ConfigPanel;
export {
  ConfigPanel_default as default
};
//# sourceMappingURL=ConfigPanel-3YKWUSBE.mjs.map
