@lanaco/lnc-react-ui 2.1.25 → 2.1.26

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/lib/index.esm.js CHANGED
@@ -49341,9 +49341,11 @@ var TableView = function TableView(props) {
49341
49341
 
49342
49342
  var renderBodyCell = function renderBodyCell(dataItem, def, rowIndex, cellIndex) {
49343
49343
  var tabIndex = rowIndex * Columns.length + cellIndex + 50;
49344
- var onClick = !isFunction(def.specialRender) ? function () {
49344
+
49345
+ var onClick = function onClick() {
49345
49346
  ChangeToFormView(dataItem);
49346
- } : function () {};
49347
+ };
49348
+
49347
49349
  if (!EnableFormView) onClick = function onClick() {};
49348
49350
  if (!EnableSelection || ReadOnly) onClick = function onClick() {};
49349
49351
 
package/lib/index.js CHANGED
@@ -49382,9 +49382,11 @@ var TableView = function TableView(props) {
49382
49382
 
49383
49383
  var renderBodyCell = function renderBodyCell(dataItem, def, rowIndex, cellIndex) {
49384
49384
  var tabIndex = rowIndex * Columns.length + cellIndex + 50;
49385
- var onClick = !isFunction(def.specialRender) ? function () {
49385
+
49386
+ var onClick = function onClick() {
49386
49387
  ChangeToFormView(dataItem);
49387
- } : function () {};
49388
+ };
49389
+
49388
49390
  if (!EnableFormView) onClick = function onClick() {};
49389
49391
  if (!EnableSelection || ReadOnly) onClick = function onClick() {};
49390
49392
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
- "version": "2.1.25",
3
+ "version": "2.1.26",
4
4
  "description": "component library",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",