elab_components 0.9.9 → 0.9.12

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.
package/dist/index.esm.js CHANGED
@@ -32952,7 +32952,7 @@ var OkGrid = function (_a) {
32952
32952
  });
32953
32953
  }, [setResultState, idGetter, dataItemKey, setSelectedState]);
32954
32954
  var GridDataCellInput = function (cellProps, col) {
32955
- var _a, _b, _c, _d, _e, _f, _g, _h;
32955
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
32956
32956
  var value = cellProps.dataItem[cellProps.field];
32957
32957
  var disabledCondition = !col.editable ||
32958
32958
  (isNotSOUser &&
@@ -32965,7 +32965,7 @@ var OkGrid = function (_a) {
32965
32965
  (((_g = cellProps.dataItem) === null || _g === void 0 ? void 0 : _g.formulaOff) && cellProps.field === 'newSD') ||
32966
32966
  (((_h = cellProps.dataItem) === null || _h === void 0 ? void 0 : _h.formulaOff) && cellProps.field === 'newMean');
32967
32967
  return (React__default.createElement("td", __assign({}, cellProps.tdProps),
32968
- React__default.createElement(Input$2, { value: value, onChange: function (e) { return GridDataInputChange(e, cellProps); }, disabled: disabledCondition > 0 ? true : false })));
32968
+ React__default.createElement(Input$2, { value: value, type: (_j = col === null || col === void 0 ? void 0 : col.type) !== null && _j !== void 0 ? _j : 'text', onChange: function (e) { return GridDataInputChange(e, cellProps); }, disabled: disabledCondition > 0 ? true : false })));
32969
32969
  };
32970
32970
  var GridDataCellDatePicker = function (cellProps, col) {
32971
32971
  var _a, _b, _c, _d, _e, _f, _g, _h;
package/dist/index.js CHANGED
@@ -32980,7 +32980,7 @@ var OkGrid = function (_a) {
32980
32980
  });
32981
32981
  }, [setResultState, idGetter, dataItemKey, setSelectedState]);
32982
32982
  var GridDataCellInput = function (cellProps, col) {
32983
- var _a, _b, _c, _d, _e, _f, _g, _h;
32983
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
32984
32984
  var value = cellProps.dataItem[cellProps.field];
32985
32985
  var disabledCondition = !col.editable ||
32986
32986
  (isNotSOUser &&
@@ -32993,7 +32993,7 @@ var OkGrid = function (_a) {
32993
32993
  (((_g = cellProps.dataItem) === null || _g === void 0 ? void 0 : _g.formulaOff) && cellProps.field === 'newSD') ||
32994
32994
  (((_h = cellProps.dataItem) === null || _h === void 0 ? void 0 : _h.formulaOff) && cellProps.field === 'newMean');
32995
32995
  return (React__default["default"].createElement("td", __assign({}, cellProps.tdProps),
32996
- React__default["default"].createElement(kendoReactInputs.Input, { value: value, onChange: function (e) { return GridDataInputChange(e, cellProps); }, disabled: disabledCondition > 0 ? true : false })));
32996
+ React__default["default"].createElement(kendoReactInputs.Input, { value: value, type: (_j = col === null || col === void 0 ? void 0 : col.type) !== null && _j !== void 0 ? _j : 'text', onChange: function (e) { return GridDataInputChange(e, cellProps); }, disabled: disabledCondition > 0 ? true : false })));
32997
32997
  };
32998
32998
  var GridDataCellDatePicker = function (cellProps, col) {
32999
32999
  var _a, _b, _c, _d, _e, _f, _g, _h;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elab_components",
3
- "version": "0.9.9",
3
+ "version": "0.9.12",
4
4
  "private": false,
5
5
  "author": "Amar",
6
6
  "main": "dist/index.js",