oolib 2.141.1 → 2.141.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.
|
@@ -82,6 +82,7 @@ function SimpleTable(_a) {
|
|
|
82
82
|
colHeaderData: undefined,
|
|
83
83
|
rowHeaderData: undefined,
|
|
84
84
|
disableAddRow: false,
|
|
85
|
+
disableRowActionsMenu: false,
|
|
85
86
|
blockConfig: [undefined, { comp: 'DropdownSingle', props: {} }, { comp: 'DropdownSingle', props: {} }]
|
|
86
87
|
} : _b, _value = _a.value, onChange = _a.onChange, _c = _a.defaultColWidth, defaultColWidth = _c === void 0 ? 200 : _c;
|
|
87
88
|
var props = arguments[0];
|
|
@@ -218,7 +219,7 @@ function SimpleTable(_a) {
|
|
|
218
219
|
enableColActions &&
|
|
219
220
|
rowIdx === 0 &&
|
|
220
221
|
hoveredRowAndCol.colIdx === cellIdx }),
|
|
221
|
-
react_1.default.createElement(RowActionsMenu_1.RowActionsMenu, { value: value, rowIdx: rowIdx, onChange: onChange, id: id, setActionsActiveOnRow: setActionsActiveOnRow, rowActionsButtonWidth: rowActionsButtonWidth, conditionsToRender: !readOnly &&
|
|
222
|
+
!config.disableRowActionsMenu && react_1.default.createElement(RowActionsMenu_1.RowActionsMenu, { value: value, rowIdx: rowIdx, onChange: onChange, id: id, setActionsActiveOnRow: setActionsActiveOnRow, rowActionsButtonWidth: rowActionsButtonWidth, conditionsToRender: !readOnly &&
|
|
222
223
|
enableRowActions &&
|
|
223
224
|
cellIdx === 0 &&
|
|
224
225
|
rowIdx !== undefined && //cuz for fixed col headers, rowIdx is undefined
|
|
@@ -73,6 +73,7 @@ exports.default = {
|
|
|
73
73
|
noOfCols: 3,
|
|
74
74
|
defaultColWidth: 200,
|
|
75
75
|
disableAddRow: false,
|
|
76
|
+
disableRowActionsMenu: false,
|
|
76
77
|
},
|
|
77
78
|
parameters: {
|
|
78
79
|
docs: {
|
|
@@ -97,6 +98,7 @@ var SimpleTable = function (args) {
|
|
|
97
98
|
"Longitude"
|
|
98
99
|
],
|
|
99
100
|
disableAddRow: args.disableAddRow,
|
|
101
|
+
disableRowActionsMenu: args.disableRowActionsMenu,
|
|
100
102
|
},
|
|
101
103
|
defaultColWidth: args.defaultColWidth,
|
|
102
104
|
value: val,
|