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

jappwilson-react-datagrid

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jappwilson-react-datagrid - npm Package Compare versions

Comparing version 2.1.22 to 2.1.23

22

lib/index.js

@@ -9,2 +9,6 @@ 'use strict';

var _reactLoadMask = require('react-load-mask');
var _reactLoadMask2 = _interopRequireDefault(_reactLoadMask);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -15,3 +19,3 @@

var assign = require('object-assign');
//import LoadMask from 'react-load-mask'
var Region = require('region');

@@ -102,3 +106,3 @@

sortable: _react2.default.PropTypes.bool,
//loadMaskOverHeader : React.PropTypes.bool,
loadMaskOverHeader: _react2.default.PropTypes.bool,
idProperty: _react2.default.PropTypes.string.isRequired,

@@ -421,7 +425,8 @@

/*var loadMask
if (props.loadMaskOverHeader){
loadMask = <LoadMask visible={props.loading} />
var loadMask;
if (props.loadMaskOverHeader) {
loadMask = _react2.default.createElement(_reactLoadMask2.default, { visible: props.loading });
}
*/
var paginationToolbar;

@@ -477,2 +482,3 @@

),
loadMask,
renderMenu(menuProps),

@@ -633,4 +639,4 @@ bottomToolbar

prepareLoading: function prepareLoading(props) {
//var showLoadMask = props.showLoadMask || !this.isMounted() //ismounted check for initial load
return false; //== null? showLoadMask && this.state.defaultLoading: props.loading
var showLoadMask = props.showLoadMask || !this.isMounted(); //ismounted check for initial load
return false == null ? showLoadMask && this.state.defaultLoading : props.loading;
},

@@ -637,0 +643,0 @@

{
"name": "jappwilson-react-datagrid",
"version": "2.1.22",
"version": "2.1.23",
"description": "React DataGrid",

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

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

var assign = require('object-assign')
//import LoadMask from 'react-load-mask'
import LoadMask from 'react-load-mask'
var Region = require('region')

@@ -104,3 +104,3 @@

sortable : React.PropTypes.bool,
//loadMaskOverHeader : React.PropTypes.bool,
loadMaskOverHeader : React.PropTypes.bool,
idProperty : React.PropTypes.string.isRequired,

@@ -425,3 +425,3 @@

/*var loadMask
var loadMask

@@ -431,3 +431,3 @@ if (props.loadMaskOverHeader){

}
*/
var paginationToolbar

@@ -480,5 +480,5 @@

</div>
{/*
{loadMask}
*/}
{renderMenu(menuProps)}

@@ -649,4 +649,4 @@ {bottomToolbar}

prepareLoading: function(props) {
//var showLoadMask = props.showLoadMask || !this.isMounted() //ismounted check for initial load
return false //== null? showLoadMask && this.state.defaultLoading: props.loading
var showLoadMask = props.showLoadMask || !this.isMounted() //ismounted check for initial load
return false == null? showLoadMask && this.state.defaultLoading: props.loading
},

@@ -653,0 +653,0 @@

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