import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2020-2026 GoodData Corporation
import { memo } from "react";
import { Overlay } from "../Overlay/Overlay.js";
import { ExportDialogBase } from "./ExportDialogBase.js";
const alignPoints = [{ align: "cc cc" }];
/**
 * @internal
 */
export const ExportDialog = memo(function ExportDialog({ className, displayCloseButton = true, isPositive = true, isSubmitDisabled = false, containerClassName, headline = "Export to XLSX", cancelButtonText = "Cancel", submitButtonText = "Export", filterContextText = "Include applied filters", filterContextTitle = "INSIGHT CONTEXT", filterContextVisible = true, includeFilterContext = true, mergeHeaders = true, mergeHeadersDisabled = false, mergeHeadersText = "Keep attribute cells merged", mergeHeadersTitle = "CELLS", onCancel = () => { }, onSubmit = () => { }, }) {
    return (_jsx(Overlay, { alignPoints: alignPoints, isModal: true, positionType: "fixed", containerClassName: containerClassName, children: _jsx(ExportDialogBase, { className: className, displayCloseButton: displayCloseButton, isPositive: isPositive, isSubmitDisabled: isSubmitDisabled, headline: headline, cancelButtonText: cancelButtonText, submitButtonText: submitButtonText, filterContextText: filterContextText, filterContextTitle: filterContextTitle, filterContextVisible: filterContextVisible, includeFilterContext: includeFilterContext, mergeHeaders: mergeHeaders, mergeHeadersDisabled: mergeHeadersDisabled, mergeHeadersText: mergeHeadersText, mergeHeadersTitle: mergeHeadersTitle, onCancel: onCancel, onSubmit: onSubmit }) }));
});
