@omniumretail/component-library 1.3.23 → 1.3.25

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.
@@ -25055,7 +25055,7 @@ const ResponsiveTable = (props) => {
25055
25055
  );
25056
25056
  const isSelected2 = cellIndex2 !== -1;
25057
25057
  if (isDisabled) {
25058
- if (originalCellContent2?.type === "I" || isReadonly) {
25058
+ if (originalCellContent2?.type === "I" || isReadonly || originalCellContent2?.type === "L") {
25059
25059
  return /* @__PURE__ */ jsx(Tag, { color: originalCellContent2.color, style: { margin: -4, cursor: "not-allowed" }, children: originalCellContent2.type });
25060
25060
  } else {
25061
25061
  return /* @__PURE__ */ jsx(
@@ -25080,7 +25080,8 @@ const ResponsiveTable = (props) => {
25080
25080
  const selectedCell = selectedCells[cellIndex2];
25081
25081
  const cellColor = selectedCell?.value?.color || selectedCellColor;
25082
25082
  const cellType = selectedCell?.value?.type || "X";
25083
- return /* @__PURE__ */ jsx(Tag, { color: cellColor, style: { margin: -4 }, children: cellType });
25083
+ const isLicenseType = cellType === "L";
25084
+ return /* @__PURE__ */ jsx(Tag, { color: cellColor, style: { margin: -4, cursor: isLicenseType ? "not-allowed" : "pointer" }, children: cellType });
25084
25085
  }
25085
25086
  if (originalCellContent2) {
25086
25087
  return /* @__PURE__ */ jsx(Tag, { color: originalCellContent2.color, style: { margin: -4 }, children: originalCellContent2.type });
@@ -25092,6 +25093,9 @@ const ResponsiveTable = (props) => {
25092
25093
  {
25093
25094
  onClick: (e) => {
25094
25095
  e.stopPropagation();
25096
+ if (isSelected2 && selectedCells[cellIndex2]?.value?.type === "L") {
25097
+ return;
25098
+ }
25095
25099
  handleCellClick(record, key);
25096
25100
  },
25097
25101
  className: classNames(