@omniumretail/component-library 1.3.20 → 1.3.22

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.
@@ -25049,12 +25049,13 @@ const ResponsiveTable = (props) => {
25049
25049
  const isSelectable2 = enableCellSelection && selectableColumns?.includes(key);
25050
25050
  const originalCellContent2 = record[key];
25051
25051
  const isDisabled = originalCellContent2?.disabled === true;
25052
+ const isReadonly = originalCellContent2?.readonly === true;
25052
25053
  const cellIndex2 = selectedCells.findIndex(
25053
25054
  (cell) => cell.rowKey === record[rowKeyValue] && cell.columnKey === key
25054
25055
  );
25055
25056
  const isSelected2 = cellIndex2 !== -1;
25056
25057
  if (isDisabled) {
25057
- if (originalCellContent2?.type === "I") {
25058
+ if (originalCellContent2?.type === "I" || isReadonly) {
25058
25059
  return /* @__PURE__ */ jsx(Tag, { color: originalCellContent2.color, style: { margin: -4, cursor: "not-allowed" }, children: originalCellContent2.type });
25059
25060
  } else {
25060
25061
  return /* @__PURE__ */ jsx(