Skip to content

Commit 058e4c2

Browse files
committed
Building prod version
1 parent 3f5dd32 commit 058e4c2

File tree

5 files changed

+11
-57
lines changed

5 files changed

+11
-57
lines changed

dist/react-bootstrap-table.js

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7281,10 +7281,6 @@ return /******/ (function(modules) { // webpackBootstrap
72817281
return _this.__cancelEditCell__REACT_HOT_LOADER__.apply(_this, arguments);
72827282
};
72837283

7284-
_this.handleClickonSelectColumn = function () {
7285-
return _this.__handleClickonSelectColumn__REACT_HOT_LOADER__.apply(_this, arguments);
7286-
};
7287-
72887284
_this.getHeaderColGrouop = function () {
72897285
return _this.__getHeaderColGrouop__REACT_HOT_LOADER__.apply(_this, arguments);
72907286
};
@@ -7300,11 +7296,6 @@ return /******/ (function(modules) { // webpackBootstrap
73007296
value: function __getHeaderColGrouop__REACT_HOT_LOADER__() {
73017297
return this.__getHeaderColGrouop__REACT_HOT_LOADER__.apply(this, arguments);
73027298
}
7303-
}, {
7304-
key: '__handleClickonSelectColumn__REACT_HOT_LOADER__',
7305-
value: function __handleClickonSelectColumn__REACT_HOT_LOADER__() {
7306-
return this.__handleClickonSelectColumn__REACT_HOT_LOADER__.apply(this, arguments);
7307-
}
73087299
}, {
73097300
key: '__cancelEditCell__REACT_HOT_LOADER__',
73107301
value: function __cancelEditCell__REACT_HOT_LOADER__() {
@@ -7843,32 +7834,18 @@ return /******/ (function(modules) { // webpackBootstrap
78437834
return { currEditCell: null };
78447835
});
78457836
}
7846-
}, {
7847-
key: '__handleClickonSelectColumn__REACT_HOT_LOADER__',
7848-
value: function __handleClickonSelectColumn__REACT_HOT_LOADER__(e, isSelect, rowIndex, row) {
7849-
e.stopPropagation();
7850-
if (e.target.tagName === 'TD' && (this.props.selectRow.clickToSelect || this.props.selectRow.clickToSelectAndEditCell)) {
7851-
var unselectable = this.props.selectRow.unselectable || [];
7852-
if (unselectable.indexOf(row[this.props.keyField]) === -1) {
7853-
this.handleSelectRow(rowIndex + 1, isSelect, e);
7854-
this.handleClickCell(e, rowIndex + 1);
7855-
}
7856-
}
7857-
}
78587837
}, {
78597838
key: 'renderSelectRowColumn',
78607839
value: function renderSelectRowColumn(selected, inputType, disabled) {
7861-
var CustomComponent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
7862-
78637840
var _this3 = this;
78647841

7842+
var CustomComponent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
78657843
var rowIndex = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
7866-
var row = arguments[5];
78677844

78687845
return _react2.default.createElement(
78697846
'td',
78707847
{ onClick: function onClick(e) {
7871-
_this3.handleClickonSelectColumn(e, !selected, rowIndex, row);
7848+
_this3.handleSelectRowColumChange(e, rowIndex);
78727849
}, style: { textAlign: 'center' } },
78737850
CustomComponent ? _react2.default.createElement(CustomComponent, { type: inputType, checked: selected, disabled: disabled,
78747851
rowIndex: rowIndex,
@@ -8450,7 +8427,7 @@ return /******/ (function(modules) { // webpackBootstrap
84508427
var cusmtStyle = _util2.default.isFunction(customNavStyle) ? customNavStyle(children, row) : customNavStyle;
84518428
tdStyle = _extends({}, tdStyle, cusmtStyle);
84528429
} else {
8453-
className = className + ' default-focus-cell';
8430+
className = '' + className;
84548431
}
84558432
}
84568433

dist/react-bootstrap-table.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-bootstrap-table.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/TableBody.js

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,6 @@ var TableBody = function (_Component) {
110110
return _this.__cancelEditCell__REACT_HOT_LOADER__.apply(_this, arguments);
111111
};
112112

113-
_this.handleClickonSelectColumn = function () {
114-
return _this.__handleClickonSelectColumn__REACT_HOT_LOADER__.apply(_this, arguments);
115-
};
116-
117113
_this.getHeaderColGrouop = function () {
118114
return _this.__getHeaderColGrouop__REACT_HOT_LOADER__.apply(_this, arguments);
119115
};
@@ -129,11 +125,6 @@ var TableBody = function (_Component) {
129125
value: function __getHeaderColGrouop__REACT_HOT_LOADER__() {
130126
return this.__getHeaderColGrouop__REACT_HOT_LOADER__.apply(this, arguments);
131127
}
132-
}, {
133-
key: '__handleClickonSelectColumn__REACT_HOT_LOADER__',
134-
value: function __handleClickonSelectColumn__REACT_HOT_LOADER__() {
135-
return this.__handleClickonSelectColumn__REACT_HOT_LOADER__.apply(this, arguments);
136-
}
137128
}, {
138129
key: '__cancelEditCell__REACT_HOT_LOADER__',
139130
value: function __cancelEditCell__REACT_HOT_LOADER__() {
@@ -672,32 +663,18 @@ var TableBody = function (_Component) {
672663
return { currEditCell: null };
673664
});
674665
}
675-
}, {
676-
key: '__handleClickonSelectColumn__REACT_HOT_LOADER__',
677-
value: function __handleClickonSelectColumn__REACT_HOT_LOADER__(e, isSelect, rowIndex, row) {
678-
e.stopPropagation();
679-
if (e.target.tagName === 'TD' && (this.props.selectRow.clickToSelect || this.props.selectRow.clickToSelectAndEditCell)) {
680-
var unselectable = this.props.selectRow.unselectable || [];
681-
if (unselectable.indexOf(row[this.props.keyField]) === -1) {
682-
this.handleSelectRow(rowIndex + 1, isSelect, e);
683-
this.handleClickCell(e, rowIndex + 1);
684-
}
685-
}
686-
}
687666
}, {
688667
key: 'renderSelectRowColumn',
689668
value: function renderSelectRowColumn(selected, inputType, disabled) {
690-
var CustomComponent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
691-
692669
var _this3 = this;
693670

671+
var CustomComponent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
694672
var rowIndex = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
695-
var row = arguments[5];
696673

697674
return _react2.default.createElement(
698675
'td',
699676
{ onClick: function onClick(e) {
700-
_this3.handleClickonSelectColumn(e, !selected, rowIndex, row);
677+
_this3.handleSelectRowColumChange(e, rowIndex);
701678
}, style: { textAlign: 'center' } },
702679
CustomComponent ? _react2.default.createElement(CustomComponent, { type: inputType, checked: selected, disabled: disabled,
703680
rowIndex: rowIndex,

lib/TableColumn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ var TableColumn = function (_Component) {
211211
var cusmtStyle = _util2.default.isFunction(customNavStyle) ? customNavStyle(children, row) : customNavStyle;
212212
tdStyle = _extends({}, tdStyle, cusmtStyle);
213213
} else {
214-
className = className + ' default-focus-cell';
214+
className = '' + className;
215215
}
216216
}
217217

0 commit comments

Comments
 (0)