oolib 2.227.4 → 2.227.6
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.
|
@@ -149,6 +149,7 @@ function SimpleTable(_a) {
|
|
|
149
149
|
RichTextEditor: RichTextEditor,
|
|
150
150
|
DropdownSingle: DropdownSingle_1.DropdownSingle,
|
|
151
151
|
NumberInput: TextInputs_1.NumberInput,
|
|
152
|
+
TextInput: TextInputs_1.TextInput,
|
|
152
153
|
};
|
|
153
154
|
var CellContentBlockDefaultProps = {
|
|
154
155
|
RichTextEditor: {
|
|
@@ -169,7 +170,12 @@ function SimpleTable(_a) {
|
|
|
169
170
|
selectStyleOverride: {
|
|
170
171
|
backgroundColor: themes_1.colors.none,
|
|
171
172
|
},
|
|
172
|
-
}
|
|
173
|
+
},
|
|
174
|
+
TextInput: {
|
|
175
|
+
selectStyleOverride: {
|
|
176
|
+
backgroundColor: themes_1.colors.none,
|
|
177
|
+
},
|
|
178
|
+
},
|
|
173
179
|
};
|
|
174
180
|
var CellValueGetters = {
|
|
175
181
|
RichTextEditor: function (v) { return (convertToRichText ? convertToRichText(v) : v); },
|
|
@@ -204,7 +210,9 @@ function SimpleTable(_a) {
|
|
|
204
210
|
;
|
|
205
211
|
var cellCompName = cell.comp || 'RichTextEditor';
|
|
206
212
|
var NoCompPlaceholder = function () { return react_1.default.createElement("div", null, "No comp exists"); };
|
|
213
|
+
console.log({ cellCompName: cellCompName, CellContentBlocks: CellContentBlocks });
|
|
207
214
|
var CellComp = CellContentBlocks[cellCompName] || NoCompPlaceholder;
|
|
215
|
+
console.log({ CellComp: CellComp });
|
|
208
216
|
var cellProps = CellContentBlockDefaultProps[cellCompName] ? __assign(__assign({}, CellContentBlockDefaultProps[cellCompName]), (cell.props || {})) : {};
|
|
209
217
|
var cellValue = CellValueGetters[cellCompName] ? CellValueGetters[cellCompName](cell.value) : cell.value;
|
|
210
218
|
var cellWidth = value.colWidthConfig["col_".concat(cellIdx)] || defaultColWidth + 'px'; //cuz when pre-fixed column is applied via config.rowHeaderData, no colWidthConfig will be there for it in value.colWidthConfig
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -158,6 +158,7 @@ export namespace icons {
|
|
|
158
158
|
export { Note };
|
|
159
159
|
export { Clipboard };
|
|
160
160
|
export { Robot };
|
|
161
|
+
export { Textbox };
|
|
161
162
|
export { OkeGoogleIcon };
|
|
162
163
|
export { LetterH };
|
|
163
164
|
export { IndexIcon };
|
|
@@ -386,6 +387,7 @@ import { FunctionIcon as Function } from "@phosphor-icons/react";
|
|
|
386
387
|
import { NoteIcon as Note } from "@phosphor-icons/react";
|
|
387
388
|
import { ClipboardIcon as Clipboard } from "@phosphor-icons/react";
|
|
388
389
|
import { RobotIcon as Robot } from "@phosphor-icons/react";
|
|
390
|
+
import { TextboxIcon as Textbox } from "@phosphor-icons/react";
|
|
389
391
|
import { OkeGoogleIcon } from "./custom";
|
|
390
392
|
import { LetterH } from "./custom";
|
|
391
393
|
import { IndexIcon } from "./custom";
|
package/dist/icons/index.js
CHANGED