@omniumretail/component-library 1.3.48 → 1.3.49
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.
|
@@ -25227,20 +25227,23 @@ const ResponsiveTable = (props) => {
|
|
|
25227
25227
|
if (isSelectable) {
|
|
25228
25228
|
const cellContent = (() => {
|
|
25229
25229
|
if (calendarMode) {
|
|
25230
|
+
if (originalCellContent?.secondaryType) {
|
|
25231
|
+
return /* @__PURE__ */ jsx(
|
|
25232
|
+
Tag,
|
|
25233
|
+
{
|
|
25234
|
+
color: originalCellContent.secondaryColor,
|
|
25235
|
+
style: { margin: -4, cursor: "not-allowed" },
|
|
25236
|
+
children: originalCellContent.secondaryType
|
|
25237
|
+
}
|
|
25238
|
+
);
|
|
25239
|
+
}
|
|
25230
25240
|
const fWasRemoved = isSelected && selectedCells[cellIndex]?.value?.type === null && originalCellContent?.type === "F";
|
|
25231
25241
|
if (fWasRemoved) {
|
|
25232
25242
|
return null;
|
|
25233
25243
|
}
|
|
25234
25244
|
if (isSelected && selectedCells[cellIndex]?.value?.type === "F") {
|
|
25235
|
-
if (originalCellContent?.type === "
|
|
25236
|
-
return
|
|
25237
|
-
Tag,
|
|
25238
|
-
{
|
|
25239
|
-
color: originalCellContent.color,
|
|
25240
|
-
style: { margin: -4, cursor: "pointer" },
|
|
25241
|
-
children: originalCellContent.type
|
|
25242
|
-
}
|
|
25243
|
-
);
|
|
25245
|
+
if (originalCellContent?.type === "S" || originalCellContent?.type === "D") {
|
|
25246
|
+
return null;
|
|
25244
25247
|
}
|
|
25245
25248
|
return /* @__PURE__ */ jsx(
|
|
25246
25249
|
Tag,
|