oolib 2.225.1 → 2.225.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.
|
@@ -100,6 +100,7 @@ function SimpleTable(_a) {
|
|
|
100
100
|
rowHeaderData: undefined,
|
|
101
101
|
disableAddRow: false,
|
|
102
102
|
disableRowActionsMenu: false,
|
|
103
|
+
disablePrimaryActionsMenu: false,
|
|
103
104
|
blockConfig: [undefined, { comp: 'DropdownSingle', props: {} }, { comp: 'DropdownSingle', props: {} }]
|
|
104
105
|
} : _b, _value = _a.value, onChange = _a.onChange, _c = _a.defaultColWidth, defaultColWidth = _c === void 0 ? 200 : _c;
|
|
105
106
|
var props = arguments[0];
|
|
@@ -295,7 +296,7 @@ function SimpleTable(_a) {
|
|
|
295
296
|
alignItems: "stretch" /**without stretch AddColButton will be wonky */,
|
|
296
297
|
} },
|
|
297
298
|
react_1.default.createElement("div", { style: { position: "relative" } },
|
|
298
|
-
react_1.default.createElement("div", { style: {
|
|
299
|
+
!readOnly && !config.disablePrimaryActionsMenu && (react_1.default.createElement("div", { style: {
|
|
299
300
|
position: "absolute",
|
|
300
301
|
right: 0,
|
|
301
302
|
top: "-" + primaryTableActionsMenuGap + "px",
|
|
@@ -338,7 +339,7 @@ function SimpleTable(_a) {
|
|
|
338
339
|
},
|
|
339
340
|
},
|
|
340
341
|
]
|
|
341
|
-
: []), true) })),
|
|
342
|
+
: []), true) }))),
|
|
342
343
|
react_1.default.createElement(styled_1.StyledSimpleTable, { onMouseLeave: function () {
|
|
343
344
|
return setHoveredRowAndCol({ rowIdx: undefined, colIdx: undefined });
|
|
344
345
|
} },
|