oolib 2.185.1 → 2.185.2
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.
|
@@ -79,6 +79,7 @@ var prepInitValueFromConfigIfNoValue_1 = require("./utils/prepInitValueFromConfi
|
|
|
79
79
|
var DropdownSingle_1 = require("../Dropdowns/DropdownSingle");
|
|
80
80
|
var TextInputs_1 = require("../TextInputs");
|
|
81
81
|
var icons_1 = require("../../icons");
|
|
82
|
+
var TextInputs_2 = require("../../v2/components/TextInputs");
|
|
82
83
|
var ArrowDown = icons_1.icons.ArrowDown;
|
|
83
84
|
var greyColor100 = themes_1.colors.greyColor100;
|
|
84
85
|
/**
|
|
@@ -146,6 +147,7 @@ function SimpleTable(_a) {
|
|
|
146
147
|
RichTextEditor: RichTextEditor,
|
|
147
148
|
DropdownSingle: DropdownSingle_1.DropdownSingle,
|
|
148
149
|
NumberInput: TextInputs_1.NumberInput,
|
|
150
|
+
TextInput: TextInputs_2.TextInput
|
|
149
151
|
};
|
|
150
152
|
var CellContentBlockDefaultProps = {
|
|
151
153
|
RichTextEditor: {
|
|
@@ -257,7 +259,8 @@ function SimpleTable(_a) {
|
|
|
257
259
|
var StyledWrapper = row.isColHeader
|
|
258
260
|
? styled_1.StyledSimpleTableHeader
|
|
259
261
|
: styled_1.StyledSimpleTableRow;
|
|
260
|
-
var
|
|
262
|
+
var NoCompPlaceholder = function () { return react_1.default.createElement("div", null, "No comp exists"); };
|
|
263
|
+
var CellCompNameForHeaderForRowHeadersColumn = CellContentBlocks["RichTextEditor"] || NoCompPlaceholder;
|
|
261
264
|
return (react_1.default.createElement(StyledWrapper, { actionsActiveOnRow: actionsActiveOnRow,
|
|
262
265
|
// onClick={() => row.link && history.push(row.link)}
|
|
263
266
|
style: { display: "flex" }, readOnly: readOnly, rowIdx: rowIdx, key: row.id },
|