import { j as jsxRuntimeExports, bM as SectionToolsJS, cc as DialogOrganizations } from "./index-D15x63tD.js";
function SectionOrganizations({ sectionData, SectionID }) {
  const props = {
    height: "100%",
    ObjType: "2310",
    CLSID: sectionData.CLSID,
    Module: "organizations",
    SectionID: SectionID || sectionData.ID,
    hiddenFutter: true
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
    "div",
    {
      style: {
        width: "100%",
        height: "100%",
        display: "flex",
        flexDirection: "column"
      },
      children: [
        props.SectionID && props.SectionID > 100 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { width: "100%", display: "flex" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SectionToolsJS, { ID: props.SectionID }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(
          "div",
          {
            style: {
              width: "100%",
              display: "flex",
              flex: "1 1 0",
              height: "100%"
            },
            children: /* @__PURE__ */ jsxRuntimeExports.jsx(DialogOrganizations, { props })
          }
        )
      ]
    }
  ) });
}
export {
  SectionOrganizations as default
};
//# sourceMappingURL=SectionOrganizations-DgfpCG2H.js.map
