"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReadOnlyLogicOperator = void 0;
var react_1 = __importDefault(require("react"));
var ui_i18n_1 = __importDefault(require("ui-i18n"));
var classnames_1 = __importDefault(require("classnames"));
var utils_1 = require("@mui/material/utils");
var styles_1 = require("./styles");
var ReadOnlyLogicOperator = function (_a) {
    var className = _a.className, rowData = _a.rowData;
    var styles = (0, styles_1.useStyles)();
    return (react_1.default.createElement("div", { className: (0, classnames_1.default)(styles.readOnlyLogicOperatorContainer, className) }, rowData && rowData.operator ? (0, utils_1.capitalize)(rowData.operator) : ui_i18n_1.default.text('Where')));
};
exports.ReadOnlyLogicOperator = ReadOnlyLogicOperator;
