import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2025 GoodData Corporation
import { FormattedMessage } from "react-intl";
import { Typography } from "@gooddata/sdk-ui-kit";
import { CompactContentError } from "./CompactContentError.js";
import { ErrorContainer } from "./ErrorContainer.js";
export function ResultCacheMissingError({ fullContent }) {
    return (_jsx(ErrorContainer, { children: fullContent ? (_jsxs("div", { className: "info-label-icon gd-icon-sync", children: [
                _jsx(Typography, { tagName: "h2", children: _jsx(FormattedMessage, { id: "visualization.ErrorMessageResultCacheMissing", tagName: "span" }) }), _jsx(Typography, { tagName: "p", children: _jsx(FormattedMessage, { id: "visualization.ErrorDescriptionResultCacheMissing", tagName: "span" }) })
            ] })) : (_jsx(CompactContentError, { className: "gd-icon-sync", headline: "visualization.ErrorMessageResultCacheMissing", text: "visualization.ErrorDescriptionResultCacheMissing" })) }));
}
//# sourceMappingURL=ResultCacheMissingError.js.map