"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RowCellChips = void 0;
var react_1 = __importDefault(require("react"));
var RowCellChipWithTooltip_1 = require("../RowCellChipWithTooltip");
var RowCellChips_module_css_1 = __importDefault(require("./RowCellChips.module.css"));
var RowCellChips = function (_a) {
    var cell = _a.cell, dataTypeDefinition = _a.dataTypeDefinition;
    var _b = (cell || {}).hiddenValues, hiddenValues = _b === void 0 ? [] : _b;
    var isRowCollapsed = hiddenValues.length > 0;
    return isRowCollapsed ? (react_1.default.createElement("div", { className: RowCellChips_module_css_1.default.rowCellChipsContainer }, hiddenValues.length > 0 && (react_1.default.createElement(RowCellChipWithTooltip_1.RowCellChipWithTooltip, { values: hiddenValues, dataTypeDefinition: dataTypeDefinition })))) : null;
};
exports.RowCellChips = RowCellChips;
