@omniumretail/component-library 1.3.19 → 1.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24860,8 +24860,7 @@ const ResponsiveTable = (props) => {
24860
24860
  renderSelectedCell,
24861
24861
  useOrderedCellSelection = true,
24862
24862
  initialSelectedCells,
24863
- selectedCellColor,
24864
- initialCellKeys
24863
+ selectedCellColor
24865
24864
  } = props;
24866
24865
  const [customFilters, setCustomFilters] = useState([]);
24867
24866
  const [customColumns, setCustomColumns] = useState([]);
@@ -24890,8 +24889,6 @@ const ResponsiveTable = (props) => {
24890
24889
  };
24891
24890
  const handleCellClick = (record, columnKey, value) => {
24892
24891
  if (!enableCellSelection || !selectableColumns?.includes(columnKey)) return;
24893
- const cellKey = `${record[rowKeyValue]}-${columnKey}`;
24894
- initialCellKeys?.has(cellKey);
24895
24892
  const isAlreadySelected = selectedCells.some(
24896
24893
  (cell) => cell.rowKey === record[rowKeyValue] && cell.columnKey === columnKey
24897
24894
  );
@@ -25057,7 +25054,7 @@ const ResponsiveTable = (props) => {
25057
25054
  );
25058
25055
  const isSelected2 = cellIndex2 !== -1;
25059
25056
  if (isDisabled) {
25060
- if (originalCellContent2?.type === "I") {
25057
+ if (originalCellContent2?.type) {
25061
25058
  return /* @__PURE__ */ jsx(Tag, { color: originalCellContent2.color, style: { margin: -4, cursor: "not-allowed" }, children: originalCellContent2.type });
25062
25059
  } else {
25063
25060
  return /* @__PURE__ */ jsx(