import { j as jsxRuntimeExports, bM as SectionToolsJS } from "./index-D15x63tD.js";
import DialogClsBook from "./DialogClsBook-Bom3EoDl.js";
function SectionClsBook({ sectionData, SectionID }) {
  const props = {
    height: "100%",
    ObjType: sectionData.ObjType ? sectionData.ObjType : "0",
    CLSID: sectionData.CLSID,
    Module: "clsbook",
    SectionID: !SectionID ? sectionData.ID : SectionID,
    hiddenFutter: true,
    KeyField: "Code"
  };
  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: !SectionID ? sectionData.ID : SectionID }) }) : null,
        /* @__PURE__ */ jsxRuntimeExports.jsx(
          "div",
          {
            style: {
              width: "100%",
              display: "flex",
              flex: "1 1 0"
            },
            children: /* @__PURE__ */ jsxRuntimeExports.jsx(DialogClsBook, { props })
          }
        )
      ]
    }
  ) });
}
export {
  SectionClsBook as default
};
//# sourceMappingURL=SectionClsBook-CkvUzlq-.js.map
