import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2007-2026 GoodData Corporation
import cx from "classnames";
import { FormattedMessage } from "react-intl";
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
import { selectEnableMultipleDateFilters } from "../../../../model/store/config/configSelectors.js";
/**
 * @internal
 */
export function AddAttributeFilterPlaceholder({ disabled }) {
    const enableMultipleDateFilters = useDashboardSelector(selectEnableMultipleDateFilters);
    const className = cx("add-item-placeholder", "add-attribute-filter-placeholder", "s-add-attribute-filter", {
        disabled,
    });
    return (_jsx("div", { className: className, children: _jsx(FormattedMessage, { id: enableMultipleDateFilters ? "addPanel.filter" : "addPanel.attributeFilter" }) }));
}
//# sourceMappingURL=AddAttributeFilterPlaceholder.js.map