import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2020-2026 GoodData Corporation
import { useIntl } from "react-intl";
import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
import { selectDashboardId } from "../../../../../model/store/meta/metaSelectors.js";
import { ParameterDetail } from "./ParameterDetail.js";
export function DashboardIdParameterDetail({ title }) {
    const value = useDashboardSelector(selectDashboardId);
    const intl = useIntl();
    return (_jsx(ParameterDetail, { title: title, typeName: intl.formatMessage({
            id: "configurationPanel.drillIntoUrl.editor.identifierTypeLabel",
        }), useEllipsis: false, values: value ? [value] : [] }));
}
