import { jsx as o, jsxs as C } from "react/jsx-runtime";
import { noop as t } from "es-toolkit/function";
import n from "../button/Button.js";
import f from "./Dialog.js";
const h = (r) => {
  const {
    showCloseButton: i = !0,
    content: a,
    discardButtonText: c,
    cancelButtonText: s,
    confirmButtonText: l,
    onClickDiscard: m = t,
    onClickCancel: e = t,
    onClickConfirm: d = t,
    ...u
  } = r;
  return /* @__PURE__ */ o(
    f,
    {
      ...u,
      showCloseButton: i,
      body: a,
      footer: /* @__PURE__ */ C("div", { className: "btn-toolbar", children: [
        /* @__PURE__ */ o(n, { className: "DiscardButton", onClick: m, children: c }),
        /* @__PURE__ */ o(n, { className: "CancelButton", onClick: e, children: s }),
        /* @__PURE__ */ o(n, { className: "ConfirmationButton", bsStyle: "primary", onClick: d, children: l })
      ] }),
      onClose: e,
      className: "save-dialog",
      disableEsc: !0
    }
  );
};
export {
  h as default
};
//# sourceMappingURL=SaveDialog.js.map
