Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-bootstrap-table-next

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-table-next - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

dist/react-bootstrap-table-next.js

2

lib/src/row-event-delegater.js

@@ -78,3 +78,3 @@ 'use strict';

var key = _utils2.default.get(row, keyField);
onRowSelect(key, !selected, rowIndex);
onRowSelect(key, !selected, rowIndex, e);
}

@@ -81,0 +81,0 @@ };

@@ -55,3 +55,3 @@ 'use strict';

key: 'handleClick',
value: function handleClick() {
value: function handleClick(e) {
var _props = this.props,

@@ -72,3 +72,3 @@ inputType = _props.mode,

onRowSelect(rowKey, checked, rowIndex);
onRowSelect(rowKey, checked, rowIndex, e);
}

@@ -75,0 +75,0 @@ }, {

@@ -84,7 +84,7 @@ 'use strict';

key: 'handleCheckBoxClick',
value: function handleCheckBoxClick() {
value: function handleCheckBoxClick(e) {
var onAllRowsSelect = this.props.onAllRowsSelect;
onAllRowsSelect();
onAllRowsSelect(e);
}

@@ -91,0 +91,0 @@ }, {

@@ -78,3 +78,3 @@ 'use strict';

key: 'handleRowSelect',
value: function handleRowSelect(rowKey, checked, rowIndex) {
value: function handleRowSelect(rowKey, checked, rowIndex, e) {
var _props = this.props,

@@ -106,3 +106,3 @@ _props$selectRow = _props.selectRow,

var row = (0, _rows.getRowByRowId)(store)(rowKey);
onSelect(row, checked, rowIndex);
onSelect(row, checked, rowIndex, e);
}

@@ -118,4 +118,3 @@

/**
* handle all rows selection on header cell by store.selected or given specific result.
* @param {Boolean} option - customized result for all rows selection
* handle all rows selection on header cell by store.selected
*/

@@ -125,3 +124,3 @@

key: 'handleAllRowsSelect',
value: function handleAllRowsSelect(option) {
value: function handleAllRowsSelect(e) {
var _props2 = this.props,

@@ -135,4 +134,3 @@ store = _props2.store,

// set next status of all row selected by store.selected or customizing by user.
var result = option || !selected;
var result = !selected;

@@ -144,3 +142,3 @@ var currSelected = result ? (0, _selection.selectableKeys)(store)(nonSelectable) : (0, _selection.unSelectableKeys)(store)(nonSelectable);

if (onSelectAll) {
onSelectAll(result, (0, _selection.getSelectedRows)(store));
onSelectAll(result, (0, _selection.getSelectedRows)(store), e);
}

@@ -147,0 +145,0 @@

{
"name": "react-bootstrap-table-next",
"version": "0.1.7",
"version": "0.1.8",
"description": "Next generation of react-bootstrap-table",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc