import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2007-2025 GoodData Corporation
import { FormattedMessage } from "react-intl";
import { Bubble, BubbleHoverTrigger, Typography } from "@gooddata/sdk-ui-kit";
const bubbleAlignPoints = [{ align: "bc tc", offset: { x: 0, y: 0 } }];
export function NoDataError({ fullContent }) {
    return (_jsx("div", { className: "gd-visualization-content visualization-empty", children: _jsx("div", { className: "info-label info-label-empty", children: fullContent ? (_jsxs(_Fragment, { children: [
                    _jsx("div", { className: "info-label-icon-empty" }), _jsx(Typography, { tagName: "p", children: _jsx(FormattedMessage, { id: "visualization.empty.headline", tagName: "span" }) })
                ] })) : (_jsxs(BubbleHoverTrigger, { children: [
                    _jsx("div", { className: "info-label-icon-empty" }), _jsx(Bubble, { alignPoints: bubbleAlignPoints, children: _jsx(FormattedMessage, { id: "visualization.empty.headline", tagName: "span" }) })
                ] })) }) }));
}
