import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2021-2025 GoodData Corporation
import { useIntl } from "react-intl";
import { messages } from "../locales.js";
export function DataSourceListEmpty({ mode, subjectType }) {
    const intl = useIntl();
    return (_jsx("div", { className: "gd-share-dialog-grantee-list-empty-selection s-user-management-empty-selection gd-user-management-dialog-list-empty", children: _jsxs("span", { children: [mode === "VIEW" &&
                    subjectType === "user" &&
                    intl.formatMessage(messages.viewUserDataSourceListEmpty), mode === "VIEW" &&
                    subjectType === "userGroup" &&
                    intl.formatMessage(messages.viewUserGroupDataSourceListEmpty), mode === "EDIT" && intl.formatMessage(messages.editDataSourceListEmpty)] }) }));
}
//# sourceMappingURL=DataSourceListEmpty.js.map