oolib 2.185.1 → 2.185.3
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.
|
@@ -257,7 +257,8 @@ function SimpleTable(_a) {
|
|
|
257
257
|
var StyledWrapper = row.isColHeader
|
|
258
258
|
? styled_1.StyledSimpleTableHeader
|
|
259
259
|
: styled_1.StyledSimpleTableRow;
|
|
260
|
-
var
|
|
260
|
+
var NoCompPlaceholder = function () { return react_1.default.createElement("div", null, "No comp exists"); };
|
|
261
|
+
var CellCompNameForHeaderForRowHeadersColumn = CellContentBlocks["RichTextEditor"] || NoCompPlaceholder;
|
|
261
262
|
return (react_1.default.createElement(StyledWrapper, { actionsActiveOnRow: actionsActiveOnRow,
|
|
262
263
|
// onClick={() => row.link && history.push(row.link)}
|
|
263
264
|
style: { display: "flex" }, readOnly: readOnly, rowIdx: rowIdx, key: row.id },
|
|
@@ -266,7 +267,7 @@ function SimpleTable(_a) {
|
|
|
266
267
|
width: value.colWidthConfig["col_corner"] || defaultColWidth + 'px',
|
|
267
268
|
} },
|
|
268
269
|
react_1.default.createElement("div", { style: { display: "flex", gap: "0.5rem" } },
|
|
269
|
-
react_1.default.createElement(CellCompNameForHeaderForRowHeadersColumn,
|
|
270
|
+
react_1.default.createElement(CellCompNameForHeaderForRowHeadersColumn, { id: "kp_table_cell__cornerHeaderCell__rich_input", value: config.headerForRowHeadersColumn, readOnly: true }),
|
|
270
271
|
react_1.default.createElement(ArrowDown, null)))) : (genCell({
|
|
271
272
|
cell: (0, convertRowHeaderConfigToCellData_1.convertRowHeaderConfigToCellData)({
|
|
272
273
|
rowHeaderData: config.rowHeaderData,
|