import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2022-2025 GoodData Corporation
import { FormattedMessage, useIntl } from "react-intl";
import { AddButton, SeparatorLine } from "@gooddata/sdk-ui-kit";
import { DashboardInsightSubmenuContainer } from "../../../insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.js";
export function NoAvailableMeasures({ onClose, onBack }) {
    const intl = useIntl();
    return (_jsx(DashboardInsightSubmenuContainer, { title: intl.formatMessage({ id: "insightAlert.config.noAlertMeasures" }), onClose: onClose, onBack: onBack, children: _jsxs("div", { className: "gd-no-measures-alert", children: [
                _jsx("div", { className: "gd-message information s-no-measures-alert-info", children: _jsxs("div", { className: "gd-message-text", children: [
                            _jsx("div", { children: _jsx(FormattedMessage, { id: "insightAlert.config.noAlertMeasures.title", tagName: "strong" }) }), _jsx(FormattedMessage, { id: "insightAlert.config.noAlertMeasures.description" })
                        ] }) }), _jsx(SeparatorLine, { pL: 10, pR: 10 }), _jsx("div", { className: "gd-alerts-list__buttons", children: _jsx(AddButton, { title: _jsx(FormattedMessage, { id: "insightAlert.config.addAlert" }), className: "gd-alerts-list__add-button", isDisabled: true }) })
            ] }) }));
}
//# sourceMappingURL=NoAvailableAlerts.js.map