diff --git a/CHANGELOG.md b/CHANGELOG.md index 19b889499..bdbcdf416 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Changelog ------------ +### 5.4.0 +Added optional `headerRenderer` property to `FlexColumn` to enable custom `FlexTable` header cells. + ##### 5.3.2 Decoupled x/y axes in `Grid` when determining whether or not to enable overflow. This results in more robustly handling issues like the one reported in PR #133. diff --git a/dist/commonjs/FlexTable/FlexColumn.js b/dist/commonjs/FlexTable/FlexColumn.js index 9eac846eb..603efc529 100644 --- a/dist/commonjs/FlexTable/FlexColumn.js +++ b/dist/commonjs/FlexTable/FlexColumn.js @@ -5,9 +5,18 @@ Object.defineProperty(exports, "__esModule", { }); exports.defaultCellRenderer = defaultCellRenderer; exports.defaultCellDataGetter = defaultCellDataGetter; +exports.defaultHeaderRenderer = defaultHeaderRenderer; var _react = require('react'); +var _react2 = _interopRequireDefault(_react); + +var _SortIndicator = require('./SortIndicator'); + +var _SortIndicator2 = _interopRequireDefault(_SortIndicator); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } @@ -39,6 +48,38 @@ function defaultCellDataGetter(dataKey, rowData, columnData) { } } +/** + * Default table header renderer. + */ +function defaultHeaderRenderer(_ref) { + var columnData = _ref.columnData; + var dataKey = _ref.dataKey; + var disableSort = _ref.disableSort; + var label = _ref.label; + var sortBy = _ref.sortBy; + var sortDirection = _ref.sortDirection; + + var showSortIndicator = sortBy === dataKey; + var children = [_react2.default.createElement( + 'div', + { + className: 'FlexTable__headerTruncatedText', + key: 'label', + title: label + }, + label + )]; + + if (showSortIndicator) { + children.push(_react2.default.createElement(_SortIndicator2.default, { + key: 'SortIndicator', + sortDirection: sortDirection + })); + } + + return children; +} + /** * Describes the header and cell contents of a table column. */ @@ -59,39 +100,58 @@ Column.defaultProps = { cellDataGetter: defaultCellDataGetter, cellRenderer: defaultCellRenderer, flexGrow: 0, - flexShrink: 1 + flexShrink: 1, + headerRenderer: defaultHeaderRenderer }; Column.propTypes = { /** Optional CSS class to apply to cell */ cellClassName: _react.PropTypes.string, + /** * Callback responsible for returning a cell's data, given its :dataKey * (dataKey: string, rowData: any): any */ cellDataGetter: _react.PropTypes.func, + /** * Callback responsible for rendering a cell's contents. * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element */ cellRenderer: _react.PropTypes.func, + /** Optional additional data passed to this column's :cellDataGetter */ columnData: _react.PropTypes.object, + /** Uniquely identifies the row-data attribute correspnding to this cell */ dataKey: _react.PropTypes.any.isRequired, + /** If sort is enabled for the table at large, disable it for this column */ disableSort: _react.PropTypes.bool, + /** Flex grow style; defaults to 0 */ flexGrow: _react.PropTypes.number, + /** Flex shrink style; defaults to 1 */ flexShrink: _react.PropTypes.number, + /** Optional CSS class to apply to this column's header */ headerClassName: _react.PropTypes.string, + + /** + * Optional callback responsible for rendering a column header contents. + * ({ columnData: object, dataKey: string, disableSort: boolean, label: string, sortBy: string, sortDirection: string }): PropTypes.node + */ + headerRenderer: _react.PropTypes.func.isRequired, + /** Header label for this column */ label: _react.PropTypes.string, + /** Maximum width of column; this property will only be used if :flexGrow is > 0. */ maxWidth: _react.PropTypes.number, + /** Minimum width of column. */ minWidth: _react.PropTypes.number, + /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */ width: _react.PropTypes.number.isRequired }; diff --git a/dist/commonjs/FlexTable/FlexTable.js b/dist/commonjs/FlexTable/FlexTable.js index 9e0a64c18..7cd9f7c81 100644 --- a/dist/commonjs/FlexTable/FlexTable.js +++ b/dist/commonjs/FlexTable/FlexTable.js @@ -3,12 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); -exports.SortDirection = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -exports.SortIndicator = SortIndicator; - var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames); @@ -31,6 +28,10 @@ var _Grid = require('../Grid'); var _Grid2 = _interopRequireDefault(_Grid); +var _SortDirection = require('./SortDirection'); + +var _SortDirection2 = _interopRequireDefault(_SortDirection); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } @@ -39,20 +40,6 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } -var SortDirection = exports.SortDirection = { - /** - * Sort items in ascending order. - * This means arranging from the lowest value to the highest (e.g. a-z, 0-9). - */ - ASC: 'ASC', - - /** - * Sort items in descending order. - * This means arranging from the highest value to the lowest (e.g. z-a, 9-0). - */ - DESC: 'DESC' -}; - /** * Table component with fixed headers and virtualized rows for improved performance with large data sets. * This component expects explicit width, height, and padding parameters. @@ -269,10 +256,10 @@ var FlexTable = function (_Component) { var _column$props2 = column.props; var dataKey = _column$props2.dataKey; var disableSort = _column$props2.disableSort; + var headerRenderer = _column$props2.headerRenderer; var label = _column$props2.label; var columnData = _column$props2.columnData; - var showSortIndicator = sortBy === dataKey; var sortEnabled = !disableSort && sort; var classNames = (0, _classnames2.default)('FlexTable__headerColumn', headerClassName, column.props.headerClassName, { @@ -281,12 +268,21 @@ var FlexTable = function (_Component) { var style = this._getFlexStyleForColumn(column); // If this is a sortable header, clicking it should update the table data's sorting. - var newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC ? SortDirection.ASC : SortDirection.DESC; + var newSortDirection = sortBy !== dataKey || sortDirection === _SortDirection2.default.DESC ? _SortDirection2.default.ASC : _SortDirection2.default.DESC; var onClick = function onClick() { sortEnabled && sort(dataKey, newSortDirection); onHeaderClick(dataKey, columnData); }; + var renderedHeader = headerRenderer({ + columnData: columnData, + dataKey: dataKey, + disableSort: disableSort, + label: label, + sortBy: sortBy, + sortDirection: sortDirection + }); + return _react2.default.createElement( 'div', { @@ -295,15 +291,7 @@ var FlexTable = function (_Component) { style: style, onClick: onClick }, - _react2.default.createElement( - 'div', - { - className: 'FlexTable__headerTruncatedText', - title: label - }, - label - ), - showSortIndicator && _react2.default.createElement(SortIndicator, { sortDirection: sortDirection }) + renderedHeader ); } }, { @@ -377,8 +365,9 @@ var FlexTable = function (_Component) { var disableHeader = _props4.disableHeader; var items = disableHeader ? [] : children; - return _react2.default.Children.map(items, function (column, columnIndex) { - return _this4._createHeader(column, columnIndex); + + return _react2.default.Children.map(items, function (column, index) { + return _this4._createHeader(column, index); }); } }, { @@ -404,11 +393,6 @@ var FlexTable = function (_Component) { return FlexTable; }(_react.Component); -/** - * Displayed beside a header to indicate that a FlexTable is currently sorted by this column. - */ - - FlexTable.propTypes = { /** One or more FlexColumns describing the data displayed in this row */ children: function children(props, propName, componentName) { @@ -507,7 +491,7 @@ FlexTable.propTypes = { sortBy: _react.PropTypes.string, /** FlexTable data is currently sorted in this direction (if it is sorted at all) */ - sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]), + sortDirection: _react.PropTypes.oneOf([_SortDirection2.default.ASC, _SortDirection2.default.DESC]), /** Width of list */ width: _react.PropTypes.number.isRequired @@ -537,28 +521,4 @@ var _initialiseProps = function _initialiseProps() { this.shouldComponentUpdate = _function2.default; }; -exports.default = FlexTable; -function SortIndicator(_ref4) { - var sortDirection = _ref4.sortDirection; - - var classNames = (0, _classnames2.default)('FlexTable__sortableHeaderIcon', { - 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC, - 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC - }); - - return _react2.default.createElement( - 'svg', - { - className: classNames, - width: 18, - height: 18, - viewBox: '0 0 24 24', - xmlns: 'http://www.w3.org/2000/svg' - }, - sortDirection === SortDirection.ASC ? _react2.default.createElement('path', { d: 'M7 14l5-5 5 5z' }) : _react2.default.createElement('path', { d: 'M7 10l5 5 5-5z' }), - _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }) - ); -} -SortIndicator.propTypes = { - sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]) -}; \ No newline at end of file +exports.default = FlexTable; \ No newline at end of file diff --git a/dist/commonjs/FlexTable/SortDirection.js b/dist/commonjs/FlexTable/SortDirection.js new file mode 100644 index 000000000..9adcb5e75 --- /dev/null +++ b/dist/commonjs/FlexTable/SortDirection.js @@ -0,0 +1,20 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var SortDirection = { + /** + * Sort items in ascending order. + * This means arranging from the lowest value to the highest (e.g. a-z, 0-9). + */ + ASC: 'ASC', + + /** + * Sort items in descending order. + * This means arranging from the highest value to the lowest (e.g. z-a, 9-0). + */ + DESC: 'DESC' +}; + +exports.default = SortDirection; \ No newline at end of file diff --git a/dist/commonjs/FlexTable/SortIndicator.js b/dist/commonjs/FlexTable/SortIndicator.js new file mode 100644 index 000000000..255ab18e6 --- /dev/null +++ b/dist/commonjs/FlexTable/SortIndicator.js @@ -0,0 +1,48 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = SortIndicator; + +var _react = require('react'); + +var _react2 = _interopRequireDefault(_react); + +var _classnames = require('classnames'); + +var _classnames2 = _interopRequireDefault(_classnames); + +var _SortDirection = require('./SortDirection'); + +var _SortDirection2 = _interopRequireDefault(_SortDirection); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Displayed beside a header to indicate that a FlexTable is currently sorted by this column. + */ +function SortIndicator(_ref) { + var sortDirection = _ref.sortDirection; + + var classNames = (0, _classnames2.default)('FlexTable__sortableHeaderIcon', { + 'FlexTable__sortableHeaderIcon--ASC': sortDirection === _SortDirection2.default.ASC, + 'FlexTable__sortableHeaderIcon--DESC': sortDirection === _SortDirection2.default.DESC + }); + + return _react2.default.createElement( + 'svg', + { + className: classNames, + width: 18, + height: 18, + viewBox: '0 0 24 24', + xmlns: 'http://www.w3.org/2000/svg' + }, + sortDirection === _SortDirection2.default.ASC ? _react2.default.createElement('path', { d: 'M7 14l5-5 5 5z' }) : _react2.default.createElement('path', { d: 'M7 10l5 5 5-5z' }), + _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }) + ); +} +SortIndicator.propTypes = { + sortDirection: _react.PropTypes.oneOf([_SortDirection2.default.ASC, _SortDirection2.default.DESC]) +}; \ No newline at end of file diff --git a/dist/commonjs/FlexTable/index.js b/dist/commonjs/FlexTable/index.js index 5dafcaae4..14f7a166b 100644 --- a/dist/commonjs/FlexTable/index.js +++ b/dist/commonjs/FlexTable/index.js @@ -3,31 +3,28 @@ Object.defineProperty(exports, "__esModule", { value: true }); -exports.FlexColumn = exports.SortIndicator = exports.SortDirection = exports.FlexTable = exports.default = undefined; +exports.SortIndicator = exports.SortDirection = exports.FlexColumn = exports.FlexTable = exports.default = undefined; var _FlexTable2 = require('./FlexTable'); -Object.defineProperty(exports, 'SortDirection', { - enumerable: true, - get: function get() { - return _FlexTable2.SortDirection; - } -}); -Object.defineProperty(exports, 'SortIndicator', { - enumerable: true, - get: function get() { - return _FlexTable2.SortIndicator; - } -}); - var _FlexTable3 = _interopRequireDefault(_FlexTable2); var _FlexColumn2 = require('./FlexColumn'); var _FlexColumn3 = _interopRequireDefault(_FlexColumn2); +var _SortDirection2 = require('./SortDirection'); + +var _SortDirection3 = _interopRequireDefault(_SortDirection2); + +var _SortIndicator2 = require('./SortIndicator'); + +var _SortIndicator3 = _interopRequireDefault(_SortIndicator2); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = _FlexTable3.default; exports.FlexTable = _FlexTable3.default; -exports.FlexColumn = _FlexColumn3.default; \ No newline at end of file +exports.FlexColumn = _FlexColumn3.default; +exports.SortDirection = _SortDirection3.default; +exports.SortIndicator = _SortIndicator3.default; \ No newline at end of file diff --git a/dist/es/FlexTable/FlexColumn.js b/dist/es/FlexTable/FlexColumn.js index f3e5ef5e2..6015dd4f0 100644 --- a/dist/es/FlexTable/FlexColumn.js +++ b/dist/es/FlexTable/FlexColumn.js @@ -1,5 +1,6 @@ -import { Component, PropTypes } from 'react'; +import React, { Component, PropTypes } from 'react'; +import SortIndicator from './SortIndicator'; /** * Default cell renderer that displays an attribute as a simple string @@ -26,6 +27,38 @@ export function defaultCellDataGetter(dataKey, rowData, columnData) { } } +/** + * Default table header renderer. + */ +export function defaultHeaderRenderer(_ref) { + var columnData = _ref.columnData; + var dataKey = _ref.dataKey; + var disableSort = _ref.disableSort; + var label = _ref.label; + var sortBy = _ref.sortBy; + var sortDirection = _ref.sortDirection; + + var showSortIndicator = sortBy === dataKey; + var children = [React.createElement( + 'div', + { + className: 'FlexTable__headerTruncatedText', + key: 'label', + title: label + }, + label + )]; + + if (showSortIndicator) { + children.push(React.createElement(SortIndicator, { + key: 'SortIndicator', + sortDirection: sortDirection + })); + } + + return children; +} + /** * Describes the header and cell contents of a table column. */ @@ -45,39 +78,58 @@ Column.defaultProps = { cellDataGetter: defaultCellDataGetter, cellRenderer: defaultCellRenderer, flexGrow: 0, - flexShrink: 1 + flexShrink: 1, + headerRenderer: defaultHeaderRenderer }; Column.propTypes = { /** Optional CSS class to apply to cell */ cellClassName: PropTypes.string, + /** * Callback responsible for returning a cell's data, given its :dataKey * (dataKey: string, rowData: any): any */ cellDataGetter: PropTypes.func, + /** * Callback responsible for rendering a cell's contents. * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element */ cellRenderer: PropTypes.func, + /** Optional additional data passed to this column's :cellDataGetter */ columnData: PropTypes.object, + /** Uniquely identifies the row-data attribute correspnding to this cell */ dataKey: PropTypes.any.isRequired, + /** If sort is enabled for the table at large, disable it for this column */ disableSort: PropTypes.bool, + /** Flex grow style; defaults to 0 */ flexGrow: PropTypes.number, + /** Flex shrink style; defaults to 1 */ flexShrink: PropTypes.number, + /** Optional CSS class to apply to this column's header */ headerClassName: PropTypes.string, + + /** + * Optional callback responsible for rendering a column header contents. + * ({ columnData: object, dataKey: string, disableSort: boolean, label: string, sortBy: string, sortDirection: string }): PropTypes.node + */ + headerRenderer: PropTypes.func.isRequired, + /** Header label for this column */ label: PropTypes.string, + /** Maximum width of column; this property will only be used if :flexGrow is > 0. */ maxWidth: PropTypes.number, + /** Minimum width of column. */ minWidth: PropTypes.number, + /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */ width: PropTypes.number.isRequired }; diff --git a/dist/es/FlexTable/FlexTable.js b/dist/es/FlexTable/FlexTable.js index 080ff8d22..900a84496 100644 --- a/dist/es/FlexTable/FlexTable.js +++ b/dist/es/FlexTable/FlexTable.js @@ -5,20 +5,7 @@ import React, { Component, PropTypes } from 'react'; import { findDOMNode } from 'react-dom'; import shouldPureComponentUpdate from 'react-pure-render/function'; import Grid from '../Grid'; - -export var SortDirection = { - /** - * Sort items in ascending order. - * This means arranging from the lowest value to the highest (e.g. a-z, 0-9). - */ - ASC: 'ASC', - - /** - * Sort items in descending order. - * This means arranging from the highest value to the lowest (e.g. z-a, 9-0). - */ - DESC: 'DESC' -}; +import SortDirection from './SortDirection'; /** * Table component with fixed headers and virtualized rows for improved performance with large data sets. @@ -236,10 +223,10 @@ var FlexTable = function (_Component) { var _column$props2 = column.props; var dataKey = _column$props2.dataKey; var disableSort = _column$props2.disableSort; + var headerRenderer = _column$props2.headerRenderer; var label = _column$props2.label; var columnData = _column$props2.columnData; - var showSortIndicator = sortBy === dataKey; var sortEnabled = !disableSort && sort; var classNames = cn('FlexTable__headerColumn', headerClassName, column.props.headerClassName, { @@ -254,6 +241,15 @@ var FlexTable = function (_Component) { onHeaderClick(dataKey, columnData); }; + var renderedHeader = headerRenderer({ + columnData: columnData, + dataKey: dataKey, + disableSort: disableSort, + label: label, + sortBy: sortBy, + sortDirection: sortDirection + }); + return React.createElement( 'div', { @@ -262,15 +258,7 @@ var FlexTable = function (_Component) { style: style, onClick: onClick }, - React.createElement( - 'div', - { - className: 'FlexTable__headerTruncatedText', - title: label - }, - label - ), - showSortIndicator && React.createElement(SortIndicator, { sortDirection: sortDirection }) + renderedHeader ); } }, { @@ -344,8 +332,9 @@ var FlexTable = function (_Component) { var disableHeader = _props4.disableHeader; var items = disableHeader ? [] : children; - return React.Children.map(items, function (column, columnIndex) { - return _this4._createHeader(column, columnIndex); + + return React.Children.map(items, function (column, index) { + return _this4._createHeader(column, index); }); } }, { @@ -370,11 +359,6 @@ var FlexTable = function (_Component) { return FlexTable; }(Component); -/** - * Displayed beside a header to indicate that a FlexTable is currently sorted by this column. - */ - - FlexTable.propTypes = { /** One or more FlexColumns describing the data displayed in this row */ children: function children(props, propName, componentName) { @@ -503,28 +487,4 @@ var _initialiseProps = function _initialiseProps() { this.shouldComponentUpdate = shouldPureComponentUpdate; }; -export default FlexTable; -export function SortIndicator(_ref4) { - var sortDirection = _ref4.sortDirection; - - var classNames = cn('FlexTable__sortableHeaderIcon', { - 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC, - 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC - }); - - return React.createElement( - 'svg', - { - className: classNames, - width: 18, - height: 18, - viewBox: '0 0 24 24', - xmlns: 'http://www.w3.org/2000/svg' - }, - sortDirection === SortDirection.ASC ? React.createElement('path', { d: 'M7 14l5-5 5 5z' }) : React.createElement('path', { d: 'M7 10l5 5 5-5z' }), - React.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }) - ); -} -SortIndicator.propTypes = { - sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]) -}; \ No newline at end of file +export default FlexTable; \ No newline at end of file diff --git a/dist/es/FlexTable/SortDirection.js b/dist/es/FlexTable/SortDirection.js new file mode 100644 index 000000000..203d64469 --- /dev/null +++ b/dist/es/FlexTable/SortDirection.js @@ -0,0 +1,15 @@ +var SortDirection = { + /** + * Sort items in ascending order. + * This means arranging from the lowest value to the highest (e.g. a-z, 0-9). + */ + ASC: 'ASC', + + /** + * Sort items in descending order. + * This means arranging from the highest value to the lowest (e.g. z-a, 9-0). + */ + DESC: 'DESC' +}; + +export default SortDirection; \ No newline at end of file diff --git a/dist/es/FlexTable/SortIndicator.js b/dist/es/FlexTable/SortIndicator.js new file mode 100644 index 000000000..2462994e1 --- /dev/null +++ b/dist/es/FlexTable/SortIndicator.js @@ -0,0 +1,31 @@ +import React, { PropTypes } from 'react'; +import cn from 'classnames'; +import SortDirection from './SortDirection'; + +/** + * Displayed beside a header to indicate that a FlexTable is currently sorted by this column. + */ +export default function SortIndicator(_ref) { + var sortDirection = _ref.sortDirection; + + var classNames = cn('FlexTable__sortableHeaderIcon', { + 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC, + 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC + }); + + return React.createElement( + 'svg', + { + className: classNames, + width: 18, + height: 18, + viewBox: '0 0 24 24', + xmlns: 'http://www.w3.org/2000/svg' + }, + sortDirection === SortDirection.ASC ? React.createElement('path', { d: 'M7 14l5-5 5 5z' }) : React.createElement('path', { d: 'M7 10l5 5 5-5z' }), + React.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }) + ); +} +SortIndicator.propTypes = { + sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]) +}; \ No newline at end of file diff --git a/dist/es/FlexTable/index.js b/dist/es/FlexTable/index.js index 57b9e208c..718d71fe9 100644 --- a/dist/es/FlexTable/index.js +++ b/dist/es/FlexTable/index.js @@ -2,7 +2,9 @@ import _default from './FlexTable'; export { _default as default }; import _FlexTable from './FlexTable'; export { _FlexTable as FlexTable }; - -export { SortDirection, SortIndicator } from './FlexTable'; import _FlexColumn from './FlexColumn'; -export { _FlexColumn as FlexColumn }; \ No newline at end of file +export { _FlexColumn as FlexColumn }; +import _SortDirection from './SortDirection'; +export { _SortDirection as SortDirection }; +import _SortIndicator from './SortIndicator'; +export { _SortIndicator as SortIndicator }; \ No newline at end of file diff --git a/dist/umd/react-virtualized.js b/dist/umd/react-virtualized.js index 3e41f91b7..bee828e9b 100644 --- a/dist/umd/react-virtualized.js +++ b/dist/umd/react-virtualized.js @@ -1,6 +1,6 @@ !function(root, factory) { "object" == typeof exports && "object" == typeof module ? module.exports = factory(require("react"), require("react-dom")) : "function" == typeof define && define.amd ? define([ "react", "react-dom" ], factory) : "object" == typeof exports ? exports.ReactVirtualized = factory(require("react"), require("react-dom")) : root.ReactVirtualized = factory(root.React, root.ReactDOM); -}(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_21__) { +}(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_23__) { /******/ return function(modules) { /******/ @@ -115,21 +115,21 @@ return _Grid.Grid; } }); - var _InfiniteLoader = __webpack_require__(22); + var _InfiniteLoader = __webpack_require__(24); Object.defineProperty(exports, "InfiniteLoader", { enumerable: !0, get: function() { return _InfiniteLoader.InfiniteLoader; } }); - var _ScrollSync = __webpack_require__(24); + var _ScrollSync = __webpack_require__(26); Object.defineProperty(exports, "ScrollSync", { enumerable: !0, get: function() { return _ScrollSync.ScrollSync; } }); - var _VirtualScroll = __webpack_require__(26); + var _VirtualScroll = __webpack_require__(28); Object.defineProperty(exports, "VirtualScroll", { enumerable: !0, get: function() { @@ -1296,22 +1296,11 @@ } Object.defineProperty(exports, "__esModule", { value: !0 - }), exports.FlexColumn = exports.SortIndicator = exports.SortDirection = exports.FlexTable = exports["default"] = void 0; - var _FlexTable2 = __webpack_require__(19); - Object.defineProperty(exports, "SortDirection", { - enumerable: !0, - get: function() { - return _FlexTable2.SortDirection; - } - }), Object.defineProperty(exports, "SortIndicator", { - enumerable: !0, - get: function() { - return _FlexTable2.SortIndicator; - } - }); - var _FlexTable3 = _interopRequireDefault(_FlexTable2), _FlexColumn2 = __webpack_require__(20), _FlexColumn3 = _interopRequireDefault(_FlexColumn2); + }), exports.SortIndicator = exports.SortDirection = exports.FlexColumn = exports.FlexTable = exports["default"] = void 0; + var _FlexTable2 = __webpack_require__(19), _FlexTable3 = _interopRequireDefault(_FlexTable2), _FlexColumn2 = __webpack_require__(20), _FlexColumn3 = _interopRequireDefault(_FlexColumn2), _SortDirection2 = __webpack_require__(22), _SortDirection3 = _interopRequireDefault(_SortDirection2), _SortIndicator2 = __webpack_require__(21), _SortIndicator3 = _interopRequireDefault(_SortIndicator2); exports["default"] = _FlexTable3["default"], exports.FlexTable = _FlexTable3["default"], - exports.FlexColumn = _FlexColumn3["default"]; + exports.FlexColumn = _FlexColumn3["default"], exports.SortDirection = _SortDirection3["default"], + exports.SortIndicator = _SortIndicator3["default"]; }, /* 19 */ /***/ function(module, exports, __webpack_require__) { @@ -1339,29 +1328,9 @@ } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); } - function SortIndicator(_ref4) { - var sortDirection = _ref4.sortDirection, classNames = (0, _classnames2["default"])("FlexTable__sortableHeaderIcon", { - "FlexTable__sortableHeaderIcon--ASC": sortDirection === SortDirection.ASC, - "FlexTable__sortableHeaderIcon--DESC": sortDirection === SortDirection.DESC - }); - return _react2["default"].createElement("svg", { - className: classNames, - width: 18, - height: 18, - viewBox: "0 0 24 24", - xmlns: "http://www.w3.org/2000/svg" - }, sortDirection === SortDirection.ASC ? _react2["default"].createElement("path", { - d: "M7 14l5-5 5 5z" - }) : _react2["default"].createElement("path", { - d: "M7 10l5 5 5-5z" - }), _react2["default"].createElement("path", { - d: "M0 0h24v24H0z", - fill: "none" - })); - } Object.defineProperty(exports, "__esModule", { value: !0 - }), exports.SortDirection = void 0; + }); var _createClass = function() { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { @@ -1374,12 +1343,7 @@ return protoProps && defineProperties(Constructor.prototype, protoProps), staticProps && defineProperties(Constructor, staticProps), Constructor; }; - }(); - exports.SortIndicator = SortIndicator; - var _classnames = __webpack_require__(14), _classnames2 = _interopRequireDefault(_classnames), _FlexColumn = __webpack_require__(20), _FlexColumn2 = _interopRequireDefault(_FlexColumn), _react = __webpack_require__(3), _react2 = _interopRequireDefault(_react), _reactDom = __webpack_require__(21), _function = __webpack_require__(4), _function2 = _interopRequireDefault(_function), _Grid = __webpack_require__(9), _Grid2 = _interopRequireDefault(_Grid), SortDirection = exports.SortDirection = { - ASC: "ASC", - DESC: "DESC" - }, FlexTable = function(_Component) { + }(), _classnames = __webpack_require__(14), _classnames2 = _interopRequireDefault(_classnames), _FlexColumn = __webpack_require__(20), _FlexColumn2 = _interopRequireDefault(_FlexColumn), _react = __webpack_require__(3), _react2 = _interopRequireDefault(_react), _reactDom = __webpack_require__(23), _function = __webpack_require__(4), _function2 = _interopRequireDefault(_function), _Grid = __webpack_require__(9), _Grid2 = _interopRequireDefault(_Grid), _SortDirection = __webpack_require__(22), _SortDirection2 = _interopRequireDefault(_SortDirection), FlexTable = function(_Component) { function FlexTable(props) { _classCallCheck(this, FlexTable); var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(FlexTable).call(this, props)); @@ -1490,23 +1454,25 @@ }, { key: "_createHeader", value: function(column, columnIndex) { - var _props2 = this.props, headerClassName = _props2.headerClassName, onHeaderClick = _props2.onHeaderClick, sort = _props2.sort, sortBy = _props2.sortBy, sortDirection = _props2.sortDirection, _column$props2 = column.props, dataKey = _column$props2.dataKey, disableSort = _column$props2.disableSort, label = _column$props2.label, columnData = _column$props2.columnData, showSortIndicator = sortBy === dataKey, sortEnabled = !disableSort && sort, classNames = (0, + var _props2 = this.props, headerClassName = _props2.headerClassName, onHeaderClick = _props2.onHeaderClick, sort = _props2.sort, sortBy = _props2.sortBy, sortDirection = _props2.sortDirection, _column$props2 = column.props, dataKey = _column$props2.dataKey, disableSort = _column$props2.disableSort, headerRenderer = _column$props2.headerRenderer, label = _column$props2.label, columnData = _column$props2.columnData, sortEnabled = !disableSort && sort, classNames = (0, _classnames2["default"])("FlexTable__headerColumn", headerClassName, column.props.headerClassName, { FlexTable__sortableHeaderColumn: sortEnabled - }), style = this._getFlexStyleForColumn(column), newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC ? SortDirection.ASC : SortDirection.DESC, onClick = function() { + }), style = this._getFlexStyleForColumn(column), newSortDirection = sortBy !== dataKey || sortDirection === _SortDirection2["default"].DESC ? _SortDirection2["default"].ASC : _SortDirection2["default"].DESC, onClick = function() { sortEnabled && sort(dataKey, newSortDirection), onHeaderClick(dataKey, columnData); - }; + }, renderedHeader = headerRenderer({ + columnData: columnData, + dataKey: dataKey, + disableSort: disableSort, + label: label, + sortBy: sortBy, + sortDirection: sortDirection + }); return _react2["default"].createElement("div", { key: "Header-Col" + columnIndex, className: classNames, style: style, onClick: onClick - }, _react2["default"].createElement("div", { - className: "FlexTable__headerTruncatedText", - title: label - }, label), showSortIndicator && _react2["default"].createElement(SortIndicator, { - sortDirection: sortDirection - })); + }, renderedHeader); } }, { key: "_createRow", @@ -1541,8 +1507,8 @@ key: "_getRenderedHeaderRow", value: function() { var _this4 = this, _props4 = this.props, children = _props4.children, disableHeader = _props4.disableHeader, items = disableHeader ? [] : children; - return _react2["default"].Children.map(items, function(column, columnIndex) { - return _this4._createHeader(column, columnIndex); + return _react2["default"].Children.map(items, function(column, index) { + return _this4._createHeader(column, index); }); } }, { @@ -1584,7 +1550,7 @@ scrollTop: _react.PropTypes.number, sort: _react.PropTypes.func, sortBy: _react.PropTypes.string, - sortDirection: _react.PropTypes.oneOf([ SortDirection.ASC, SortDirection.DESC ]), + sortDirection: _react.PropTypes.oneOf([ _SortDirection2["default"].ASC, _SortDirection2["default"].DESC ]), width: _react.PropTypes.number.isRequired }, FlexTable.defaultProps = { disableHeader: !1, @@ -1609,13 +1575,16 @@ var _initialiseProps = function() { this.shouldComponentUpdate = _function2["default"]; }; - exports["default"] = FlexTable, SortIndicator.propTypes = { - sortDirection: _react.PropTypes.oneOf([ SortDirection.ASC, SortDirection.DESC ]) - }; + exports["default"] = FlexTable; }, /* 20 */ /***/ function(module, exports, __webpack_require__) { "use strict"; + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + "default": obj + }; + } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function"); } @@ -1640,10 +1609,22 @@ function defaultCellDataGetter(dataKey, rowData, columnData) { return rowData.get instanceof Function ? rowData.get(dataKey) : rowData[dataKey]; } + function defaultHeaderRenderer(_ref) { + var dataKey = (_ref.columnData, _ref.dataKey), label = (_ref.disableSort, _ref.label), sortBy = _ref.sortBy, sortDirection = _ref.sortDirection, showSortIndicator = sortBy === dataKey, children = [ _react2["default"].createElement("div", { + className: "FlexTable__headerTruncatedText", + key: "label", + title: label + }, label) ]; + return showSortIndicator && children.push(_react2["default"].createElement(_SortIndicator2["default"], { + key: "SortIndicator", + sortDirection: sortDirection + })), children; + } Object.defineProperty(exports, "__esModule", { value: !0 - }), exports.defaultCellRenderer = defaultCellRenderer, exports.defaultCellDataGetter = defaultCellDataGetter; - var _react = __webpack_require__(3), Column = function(_Component) { + }), exports.defaultCellRenderer = defaultCellRenderer, exports.defaultCellDataGetter = defaultCellDataGetter, + exports.defaultHeaderRenderer = defaultHeaderRenderer; + var _react = __webpack_require__(3), _react2 = _interopRequireDefault(_react), _SortIndicator = __webpack_require__(21), _SortIndicator2 = _interopRequireDefault(_SortIndicator), Column = function(_Component) { function Column() { return _classCallCheck(this, Column), _possibleConstructorReturn(this, Object.getPrototypeOf(Column).apply(this, arguments)); } @@ -1653,7 +1634,8 @@ cellDataGetter: defaultCellDataGetter, cellRenderer: defaultCellRenderer, flexGrow: 0, - flexShrink: 1 + flexShrink: 1, + headerRenderer: defaultHeaderRenderer }, Column.propTypes = { cellClassName: _react.PropTypes.string, cellDataGetter: _react.PropTypes.func, @@ -1664,6 +1646,7 @@ flexGrow: _react.PropTypes.number, flexShrink: _react.PropTypes.number, headerClassName: _react.PropTypes.string, + headerRenderer: _react.PropTypes.func.isRequired, label: _react.PropTypes.string, maxWidth: _react.PropTypes.number, minWidth: _react.PropTypes.number, @@ -1671,10 +1654,58 @@ }, exports["default"] = Column; }, /* 21 */ /***/ - function(module, exports) { - module.exports = __WEBPACK_EXTERNAL_MODULE_21__; + function(module, exports, __webpack_require__) { + "use strict"; + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + "default": obj + }; + } + function SortIndicator(_ref) { + var sortDirection = _ref.sortDirection, classNames = (0, _classnames2["default"])("FlexTable__sortableHeaderIcon", { + "FlexTable__sortableHeaderIcon--ASC": sortDirection === _SortDirection2["default"].ASC, + "FlexTable__sortableHeaderIcon--DESC": sortDirection === _SortDirection2["default"].DESC + }); + return _react2["default"].createElement("svg", { + className: classNames, + width: 18, + height: 18, + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" + }, sortDirection === _SortDirection2["default"].ASC ? _react2["default"].createElement("path", { + d: "M7 14l5-5 5 5z" + }) : _react2["default"].createElement("path", { + d: "M7 10l5 5 5-5z" + }), _react2["default"].createElement("path", { + d: "M0 0h24v24H0z", + fill: "none" + })); + } + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports["default"] = SortIndicator; + var _react = __webpack_require__(3), _react2 = _interopRequireDefault(_react), _classnames = __webpack_require__(14), _classnames2 = _interopRequireDefault(_classnames), _SortDirection = __webpack_require__(22), _SortDirection2 = _interopRequireDefault(_SortDirection); + SortIndicator.propTypes = { + sortDirection: _react.PropTypes.oneOf([ _SortDirection2["default"].ASC, _SortDirection2["default"].DESC ]) + }; }, /* 22 */ /***/ + function(module, exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }); + var SortDirection = { + ASC: "ASC", + DESC: "DESC" + }; + exports["default"] = SortDirection; + }, /* 23 */ + /***/ + function(module, exports) { + module.exports = __WEBPACK_EXTERNAL_MODULE_23__; + }, /* 24 */ + /***/ function(module, exports, __webpack_require__) { "use strict"; function _interopRequireDefault(obj) { @@ -1685,9 +1716,9 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.InfiniteLoader = exports["default"] = void 0; - var _InfiniteLoader2 = __webpack_require__(23), _InfiniteLoader3 = _interopRequireDefault(_InfiniteLoader2); + var _InfiniteLoader2 = __webpack_require__(25), _InfiniteLoader3 = _interopRequireDefault(_InfiniteLoader2); exports["default"] = _InfiniteLoader3["default"], exports.InfiniteLoader = _InfiniteLoader3["default"]; - }, /* 23 */ + }, /* 25 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -1803,7 +1834,7 @@ rowsCount: 0, threshold: 15 }, exports["default"] = InfiniteLoader; - }, /* 24 */ + }, /* 26 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -1815,9 +1846,9 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.ScrollSync = exports["default"] = void 0; - var _ScrollSync2 = __webpack_require__(25), _ScrollSync3 = _interopRequireDefault(_ScrollSync2); + var _ScrollSync2 = __webpack_require__(27), _ScrollSync3 = _interopRequireDefault(_ScrollSync2); exports["default"] = _ScrollSync3["default"], exports.ScrollSync = _ScrollSync3["default"]; - }, /* 25 */ + }, /* 27 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -1892,7 +1923,7 @@ ScrollSync.propTypes = { children: _react.PropTypes.func.isRequired }, exports["default"] = ScrollSync; - }, /* 26 */ + }, /* 28 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -1904,9 +1935,9 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.VirtualScroll = exports["default"] = void 0; - var _VirtualScroll2 = __webpack_require__(27), _VirtualScroll3 = _interopRequireDefault(_VirtualScroll2); + var _VirtualScroll2 = __webpack_require__(29), _VirtualScroll3 = _interopRequireDefault(_VirtualScroll2); exports["default"] = _VirtualScroll3["default"], exports.VirtualScroll = _VirtualScroll3["default"]; - }, /* 27 */ + }, /* 29 */ /***/ function(module, exports, __webpack_require__) { "use strict"; diff --git a/dist/umd/react-virtualized.js.map b/dist/umd/react-virtualized.js.map index b487ba31c..b49f608b7 100644 --- a/dist/umd/react-virtualized.js.map +++ b/dist/umd/react-virtualized.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-virtualized.js","webpack:///webpack/bootstrap e85156f8149f512d1cd5","webpack:///./source/index.js","webpack:///./source/AutoSizer/index.js","webpack:///./source/AutoSizer/AutoSizer.js","webpack:///external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack:///./~/react-pure-render/function.js","webpack:///./~/react-pure-render/shallowEqual.js","webpack:///./source/vendor/detectElementResize.js","webpack:///./source/ColumnSizer/index.js","webpack:///./source/ColumnSizer/ColumnSizer.js","webpack:///./source/Grid/index.js","webpack:///./source/Grid/Grid.js","webpack:///./~/timers-browserify/main.js","webpack:///./~/timers-browserify/~/process/browser.js","webpack:///./source/utils.js","webpack:///./~/classnames/index.js","webpack:///./~/raf/index.js","webpack:///./~/performance-now/lib/performance-now.js","webpack:///./~/node-libs-browser/~/process/browser.js","webpack:///./source/FlexTable/index.js","webpack:///./source/FlexTable/FlexTable.js","webpack:///./source/FlexTable/FlexColumn.js","webpack:///external {\"commonjs\":\"react-dom\",\"commonjs2\":\"react-dom\",\"amd\":\"react-dom\",\"root\":\"ReactDOM\"}","webpack:///./source/InfiniteLoader/index.js","webpack:///./source/InfiniteLoader/InfiniteLoader.js","webpack:///./source/ScrollSync/index.js","webpack:///./source/ScrollSync/ScrollSync.js","webpack:///./source/VirtualScroll/index.js","webpack:///./source/VirtualScroll/VirtualScroll.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_3__","__WEBPACK_EXTERNAL_MODULE_21__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","Object","defineProperty","value","_AutoSizer","enumerable","get","AutoSizer","_ColumnSizer","ColumnSizer","_FlexTable","FlexTable","FlexColumn","SortDirection","SortIndicator","_Grid","Grid","_InfiniteLoader","InfiniteLoader","_ScrollSync","ScrollSync","_VirtualScroll","VirtualScroll","_interopRequireDefault","obj","__esModule","default","undefined","_AutoSizer2","_AutoSizer3","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","prototype","create","constructor","writable","configurable","setPrototypeOf","__proto__","_createClass","defineProperties","target","props","i","length","descriptor","key","protoProps","staticProps","_react","_react2","_function","_function2","_Component","_this","getPrototypeOf","shouldComponentUpdate","state","height","width","_onResize","bind","_setRef","_detectElementResize","addResizeListener","_parentNode","removeResizeListener","_props","children","disableHeight","disableWidth","_state","outerStyle","overflow","createElement","ref","style","onResize","_parentNode$getBoundi","getBoundingClientRect","getComputedStyle","paddingLeft","parseInt","paddingRight","paddingTop","paddingBottom","setState","autoSizer","parentNode","Component","propTypes","PropTypes","func","isRequired","bool","defaultProps","shouldPureComponentUpdate","nextProps","nextState","_shallowEqual2","_shallowEqual","shallowEqual","objA","objB","keysA","keys","keysB","bHasOwnProperty","hasOwnProperty","_window","window","attachEvent","document","stylesCreated","requestFrame","raf","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","cancelFrame","cancel","cancelAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","clearTimeout","resetTriggers","element","triggers","__resizeTriggers__","expand","firstElementChild","contract","lastElementChild","expandChild","scrollLeft","scrollWidth","scrollTop","scrollHeight","offsetWidth","offsetHeight","checkTriggers","__resizeLast__","scrollListener","e","__resizeRAF__","__resizeListeners__","forEach","animation","animationstring","keyframeprefix","animationstartevent","domPrefixes","split","startEvents","pfx","elm","animationName","toLowerCase","animationKeyframes","animationStyle","createStyles","css","head","getElementsByTagName","type","styleSheet","cssText","appendChild","createTextNode","position","className","innerHTML","addEventListener","push","detachEvent","splice","indexOf","removeEventListener","removeChild","_ColumnSizer2","_ColumnSizer3","_Grid2","context","_registerChild","prevProps","prevState","columnMaxWidth","columnMinWidth","columnsCount","_registeredChild","recomputeGridSize","_props2","safeColumnMinWidth","safeColumnMaxWidth","Math","min","columnWidth","max","floor","adjustedWidth","getColumnWidth","registerChild","child","Error","number","_Grid3","setImmediate","clearImmediate","_utils","_classnames","_classnames2","_raf","_raf2","IS_SCROLLING_TIMEOUT","SCROLL_POSITION_CHANGE_REASONS","OBSERVED","REQUESTED","computeGridMetadataOnNextUpdate","isScrolling","_onGridRenderedMemoizer","createCallbackMemoizer","_onScrollMemoizer","_computeGridMetadata","_invokeOnGridRenderedHelper","_onKeyPress","_onScroll","_updateScrollLeftForScrollToColumn","_updateScrollTopForScrollToRow","_ref","scrollToColumn","scrollToRow","_ref2","newState","scrollPositionChangeReason","_this2","setScrollPosition","_setImmediateId","rowHeight","rowsCount","refs","scrollingContainer","updateScrollIndexHelper","cellsCount","cellMetadata","_columnMetadata","cellSize","previousCellsCount","previousCellSize","previousScrollToIndex","previousSize","scrollOffset","scrollToIndex","size","updateScrollIndexCallback","_rowMetadata","_disablePointerEventsTimeoutId","_setNextStateAnimationFrameId","computeCellMetadataAndUpdateScrollOffsetHelper","computeMetadataCallback","computeMetadataCallbackProps","computeMetadataOnNextUpdate","nextCellsCount","nextCellSize","nextScrollToIndex","updateScrollOffsetForScrollToIndex","_props3","noContentRenderer","overscanColumnsCount","overscanRowsCount","renderCell","_state2","childrenToDisplay","_getVisibleCellIndice","getVisibleCellIndices","containerSize","currentOffset","columnStartIndex","start","columnStopIndex","stop","_getVisibleCellIndice2","rowStartIndex","rowStopIndex","_renderedColumnStartIndex","_renderedColumnStopIndex","_renderedRowStartIndex","_renderedRowStopIndex","overscanColumnIndices","getOverscanIndices","overscanCellsCount","startIndex","stopIndex","overscanRowIndices","overscanStartIndex","overscanStopIndex","rowIndex","rowDatum","columnIndex","columnDatum","renderedCell","_getRowHeight","left","offset","top","_getColumnWidth","gridStyle","totalColumnsWidth","_getTotalColumnsWidth","totalRowsHeight","_getTotalRowsHeight","overflowX","overflowY","onKeyDown","onScroll","tabIndex","maxWidth","maxHeight","pointerEvents","initCellMetadata","_this3","index","Function","datum","_props4","onSectionRendered","_getOverscanIndices","columnOverscanStartIndex","columnOverscanStopIndex","_getOverscanIndices2","rowOverscanStartIndex","rowOverscanStopIndex","callback","indices","_this4","event","preventDefault","scrollToColumnOverride","calculatedScrollLeft","getUpdatedOffsetForIndex","targetIndex","scrollToRowOverride","calculatedScrollTop","_props5","_state3","newScrollLeft","newScrollTop","_stopEvent","scrollToCell","_enablePointerEventsAfterDelay","_props6","cancelable","_setNextState","_ref3","clientHeight","clientWidth","string","oneOfType","Timeout","clearFn","_id","_clearFn","nextTick","apply","slice","Array","immediateIds","nextImmediateId","arguments","setInterval","clearInterval","timeout","close","unref","enroll","item","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","args","cleanUpNextTick","draining","currentQueue","queue","concat","queueIndex","drainQueue","len","run","Item","fun","array","noop","process","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","name","cwd","chdir","dir","umask","requireAllKeys","cachedIndices","allInitialized","every","indexChanged","some","findNearestCell","mode","high","low","middle","EQUAL_OR_LOWER","EQUAL_OR_HIGHER","_ref4","_ref5","maxOffset","minOffset","newOffset","_ref6","_ref7","sizeGetter","_size","isNaN","_ref8","hasScrollToIndex","sizeHasChanged","calculatedScrollOffset","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","classes","arg","argType","isArray","hasOwn","join","global","now","vendors","suffix","caf","last","frameDuration","_now","next","cp","cancelled","round","handle","polyfill","getNanoSeconds","hrtime","loadTime","performance","hr","Date","getTime","_FlexTable2","_FlexTable3","_FlexColumn2","_FlexColumn3","sortDirection","FlexTable__sortableHeaderIcon--ASC","ASC","FlexTable__sortableHeaderIcon--DESC","DESC","viewBox","xmlns","d","fill","_FlexColumn","_reactDom","_initialiseProps","scrollbarWidth","_createRow","setScrollTop","_setScrollbarWidth","disableHeader","headerHeight","noRowsRenderer","onRowsRendered","rowClassName","availableRowsHeight","rowRenderer","rowClass","_getRenderedHeaderRow","column","rowData","_column$props","cellClassName","cellDataGetter","columnData","dataKey","cellRenderer","cellData","_getFlexStyleForColumn","headerClassName","onHeaderClick","sort","sortBy","_column$props2","disableSort","label","showSortIndicator","sortEnabled","FlexTable__sortableHeaderColumn","newSortDirection","onClick","onRowClick","rowGetter","renderedRow","Children","map","_createColumn","flexValue","flexGrow","flexShrink","flex","msFlex","WebkitFlex","minWidth","items","_createHeader","findDOMNode","propName","componentName","toArray","oneOf","defaultCellRenderer","cellDataKey","String","defaultCellDataGetter","Column","object","any","_InfiniteLoader2","_InfiniteLoader3","isRangeVisible","lastRenderedStartIndex","lastRenderedStopIndex","scanForUnloadedRanges","isRowLoaded","unloadedRanges","rangeStartIndex","rangeStopIndex","_onRowsRendered","loadMoreRows","threshold","_lastRenderedStartIndex","_lastRenderedStopIndex","unloadedRange","promise","then","forceUpdate","registeredChild","_ScrollSync2","_ScrollSync3","_VirtualScroll2","_VirtualScroll3","_Object$getPrototypeO","_temp","_ret","_len","_key"],"mappings":"CAAA,SAAAA,MAAAC;IACA,mBAAAC,WAAA,mBAAAC,SACAA,OAAAD,UAAAD,QAAAG,QAAA,UAAAA,QAAA,gBACA,qBAAAC,iBAAAC,MACAD,SAAA,wBAAAJ,WACA,mBAAAC,UACAA,QAAA,mBAAAD,QAAA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C,KAAKC;YAG5BmJ,WAAW/L,OAAA0C,UAAUmH,OAAOjH;YAG5BgK,eAAe5M,OAAA0C,UAAUmH;YAGzBpE,WAAWzF,OAAA0C,UAAUmH;YAGrBnJ,OAAOV,OAAA0C,UAAUmH,OAAOjH;WAnDP/E,cAsDZiF;YACLkZ,gBAAgB;gB7BwlGf,O6BxlGqB;;YACtBC,gBAAgB;gB7B0lGf,O6B1lGqB;;YACtBvL,UAAU;gB7B4lGT,O6B5lGe;;YAChB7C,mBAAmB;W7B+lGtBvS,qB6BzpGoBuC","file":"react-virtualized.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_21__) {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_21__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _AutoSizer = __webpack_require__(1);\n\t\n\tObject.defineProperty(exports, 'AutoSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _AutoSizer.AutoSizer;\n\t }\n\t});\n\t\n\tvar _ColumnSizer = __webpack_require__(7);\n\t\n\tObject.defineProperty(exports, 'ColumnSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ColumnSizer.ColumnSizer;\n\t }\n\t});\n\t\n\tvar _FlexTable = __webpack_require__(18);\n\t\n\tObject.defineProperty(exports, 'FlexTable', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexTable;\n\t }\n\t});\n\tObject.defineProperty(exports, 'FlexColumn', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexColumn;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortDirection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortDirection;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortIndicator', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortIndicator;\n\t }\n\t});\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tObject.defineProperty(exports, 'Grid', {\n\t enumerable: true,\n\t get: function get() {\n\t return _Grid.Grid;\n\t }\n\t});\n\t\n\tvar _InfiniteLoader = __webpack_require__(22);\n\t\n\tObject.defineProperty(exports, 'InfiniteLoader', {\n\t enumerable: true,\n\t get: function get() {\n\t return _InfiniteLoader.InfiniteLoader;\n\t }\n\t});\n\t\n\tvar _ScrollSync = __webpack_require__(24);\n\t\n\tObject.defineProperty(exports, 'ScrollSync', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ScrollSync.ScrollSync;\n\t }\n\t});\n\t\n\tvar _VirtualScroll = __webpack_require__(26);\n\t\n\tObject.defineProperty(exports, 'VirtualScroll', {\n\t enumerable: true,\n\t get: function get() {\n\t return _VirtualScroll.VirtualScroll;\n\t }\n\t});\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.AutoSizer = exports.default = undefined;\n\t\n\tvar _AutoSizer2 = __webpack_require__(2);\n\t\n\tvar _AutoSizer3 = _interopRequireDefault(_AutoSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _AutoSizer3.default;\n\texports.AutoSizer = _AutoSizer3.default;\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar AutoSizer = function (_Component) {\n\t _inherits(AutoSizer, _Component);\n\t\n\t function AutoSizer(props) {\n\t _classCallCheck(this, AutoSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AutoSizer).call(this, props));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t height: 0,\n\t width: 0\n\t };\n\t\n\t _this._onResize = _this._onResize.bind(_this);\n\t _this._setRef = _this._setRef.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(AutoSizer, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t this._detectElementResize = __webpack_require__(6);\n\t this._detectElementResize.addResizeListener(this._parentNode, this._onResize);\n\t\n\t this._onResize();\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var children = _props.children;\n\t var disableHeight = _props.disableHeight;\n\t var disableWidth = _props.disableWidth;\n\t var _state = this.state;\n\t var height = _state.height;\n\t var width = _state.width;\n\t\n\t var outerStyle = { overflow: 'visible' };\n\t\n\t if (!disableHeight) {\n\t outerStyle.height = 0;\n\t }\n\t\n\t if (!disableWidth) {\n\t outerStyle.width = 0;\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: this._setRef,\n\t style: outerStyle\n\t },\n\t children({ height: height, width: width })\n\t );\n\t }\n\t }, {\n\t key: '_onResize',\n\t value: function _onResize() {\n\t var onResize = this.props.onResize;\n\t\n\t var _parentNode$getBoundi = this._parentNode.getBoundingClientRect();\n\t\n\t var height = _parentNode$getBoundi.height;\n\t var width = _parentNode$getBoundi.width;\n\t\n\t\n\t var style = getComputedStyle(this._parentNode);\n\t var paddingLeft = parseInt(style.paddingLeft, 10);\n\t var paddingRight = parseInt(style.paddingRight, 10);\n\t var paddingTop = parseInt(style.paddingTop, 10);\n\t var paddingBottom = parseInt(style.paddingBottom, 10);\n\t\n\t this.setState({\n\t height: height - paddingTop - paddingBottom,\n\t width: width - paddingLeft - paddingRight\n\t });\n\t\n\t onResize({ height: height, width: width });\n\t }\n\t }, {\n\t key: '_setRef',\n\t value: function _setRef(autoSizer) {\n\t this._parentNode = autoSizer && autoSizer.parentNode;\n\t }\n\t }]);\n\t\n\t return AutoSizer;\n\t}(_react.Component);\n\t\n\tAutoSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t disableHeight: _react.PropTypes.bool,\n\t\n\t disableWidth: _react.PropTypes.bool,\n\t\n\t onResize: _react.PropTypes.func.isRequired\n\t};\n\tAutoSizer.defaultProps = {\n\t onResize: function onResize() {}\n\t};\n\texports.default = AutoSizer;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shouldPureComponentUpdate;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _shallowEqual = __webpack_require__(5);\n\t\n\tvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\t\n\tfunction shouldPureComponentUpdate(nextProps, nextState) {\n\t return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shallowEqual;\n\t\n\tfunction shallowEqual(objA, objB) {\n\t if (objA === objB) {\n\t return true;\n\t }\n\t\n\t if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n\t return false;\n\t }\n\t\n\t var keysA = Object.keys(objA);\n\t var keysB = Object.keys(objB);\n\t\n\t if (keysA.length !== keysB.length) {\n\t return false;\n\t }\n\t\n\t // Test for A's keys different from B.\n\t var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\t for (var i = 0; i < keysA.length; i++) {\n\t if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _window;\n\tif (typeof window !== 'undefined') {\n\t _window = window;\n\t} else if (typeof self !== 'undefined') {\n\t _window = self;\n\t} else {\n\t _window = undefined;\n\t}\n\t\n\tvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\n\tvar stylesCreated = false;\n\t\n\tif (!attachEvent) {\n\t var requestFrame = function () {\n\t var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) {\n\t return _window.setTimeout(fn, 20);\n\t };\n\t return function (fn) {\n\t return raf(fn);\n\t };\n\t }();\n\t\n\t var cancelFrame = function () {\n\t var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout;\n\t return function (id) {\n\t return cancel(id);\n\t };\n\t }();\n\t\n\t var resetTriggers = function resetTriggers(element) {\n\t var triggers = element.__resizeTriggers__,\n\t expand = triggers.firstElementChild,\n\t contract = triggers.lastElementChild,\n\t expandChild = expand.firstElementChild;\n\t contract.scrollLeft = contract.scrollWidth;\n\t contract.scrollTop = contract.scrollHeight;\n\t expandChild.style.width = expand.offsetWidth + 1 + 'px';\n\t expandChild.style.height = expand.offsetHeight + 1 + 'px';\n\t expand.scrollLeft = expand.scrollWidth;\n\t expand.scrollTop = expand.scrollHeight;\n\t };\n\t\n\t var checkTriggers = function checkTriggers(element) {\n\t return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;\n\t };\n\t\n\t var scrollListener = function scrollListener(e) {\n\t var element = this;\n\t resetTriggers(this);\n\t if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n\t this.__resizeRAF__ = requestFrame(function () {\n\t if (checkTriggers(element)) {\n\t element.__resizeLast__.width = element.offsetWidth;\n\t element.__resizeLast__.height = element.offsetHeight;\n\t element.__resizeListeners__.forEach(function (fn) {\n\t fn.call(element, e);\n\t });\n\t }\n\t });\n\t };\n\t\n\t var animation = false,\n\t animationstring = 'animation',\n\t keyframeprefix = '',\n\t animationstartevent = 'animationstart',\n\t domPrefixes = 'Webkit Moz O ms'.split(' '),\n\t startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n\t pfx = '';\n\t {\n\t var elm = document.createElement('fakeelement');\n\t if (elm.style.animationName !== undefined) {\n\t animation = true;\n\t }\n\t\n\t if (animation === false) {\n\t for (var i = 0; i < domPrefixes.length; i++) {\n\t if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {\n\t pfx = domPrefixes[i];\n\t animationstring = pfx + 'Animation';\n\t keyframeprefix = '-' + pfx.toLowerCase() + '-';\n\t animationstartevent = startEvents[i];\n\t animation = true;\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t\n\t var animationName = 'resizeanim';\n\t var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n\t var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n\t}\n\t\n\tvar createStyles = function createStyles() {\n\t if (!stylesCreated) {\n\t var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n\t head = document.head || document.getElementsByTagName('head')[0],\n\t style = document.createElement('style');\n\t\n\t style.type = 'text/css';\n\t if (style.styleSheet) {\n\t style.styleSheet.cssText = css;\n\t } else {\n\t style.appendChild(document.createTextNode(css));\n\t }\n\t\n\t head.appendChild(style);\n\t stylesCreated = true;\n\t }\n\t};\n\t\n\tvar addResizeListener = function addResizeListener(element, fn) {\n\t if (attachEvent) element.attachEvent('onresize', fn);else {\n\t if (!element.__resizeTriggers__) {\n\t if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n\t createStyles();\n\t element.__resizeLast__ = {};\n\t element.__resizeListeners__ = [];\n\t (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n\t element.__resizeTriggers__.innerHTML = '
' + '
';\n\t element.appendChild(element.__resizeTriggers__);\n\t resetTriggers(element);\n\t element.addEventListener('scroll', scrollListener, true);\n\t\n\t animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {\n\t if (e.animationName == animationName) resetTriggers(element);\n\t });\n\t }\n\t element.__resizeListeners__.push(fn);\n\t }\n\t};\n\t\n\tvar removeResizeListener = function removeResizeListener(element, fn) {\n\t if (attachEvent) element.detachEvent('onresize', fn);else {\n\t element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n\t if (!element.__resizeListeners__.length) {\n\t element.removeEventListener('scroll', scrollListener);\n\t element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t addResizeListener: addResizeListener,\n\t removeResizeListener: removeResizeListener\n\t};\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ColumnSizer = exports.default = undefined;\n\t\n\tvar _ColumnSizer2 = __webpack_require__(8);\n\t\n\tvar _ColumnSizer3 = _interopRequireDefault(_ColumnSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ColumnSizer3.default;\n\texports.ColumnSizer = _ColumnSizer3.default;\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ColumnSizer = function (_Component) {\n\t _inherits(ColumnSizer, _Component);\n\t\n\t function ColumnSizer(props, context) {\n\t _classCallCheck(this, ColumnSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ColumnSizer).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ColumnSizer, [{\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props = this.props;\n\t var columnMaxWidth = _props.columnMaxWidth;\n\t var columnMinWidth = _props.columnMinWidth;\n\t var columnsCount = _props.columnsCount;\n\t var width = _props.width;\n\t\n\t\n\t if (columnMaxWidth !== prevProps.columnMaxWidth || columnMinWidth !== prevProps.columnMinWidth || columnsCount !== prevProps.columnsCount || width !== prevProps.width) {\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props2 = this.props;\n\t var children = _props2.children;\n\t var columnMaxWidth = _props2.columnMaxWidth;\n\t var columnMinWidth = _props2.columnMinWidth;\n\t var columnsCount = _props2.columnsCount;\n\t var width = _props2.width;\n\t\n\t\n\t var safeColumnMinWidth = columnMinWidth || 1;\n\t\n\t var safeColumnMaxWidth = columnMaxWidth ? Math.min(columnMaxWidth, width) : width;\n\t\n\t var columnWidth = width / columnsCount;\n\t columnWidth = Math.max(safeColumnMinWidth, columnWidth);\n\t columnWidth = Math.min(safeColumnMaxWidth, columnWidth);\n\t columnWidth = Math.floor(columnWidth);\n\t\n\t var adjustedWidth = Math.min(width, columnWidth * columnsCount);\n\t\n\t return children({\n\t adjustedWidth: adjustedWidth,\n\t getColumnWidth: function getColumnWidth() {\n\t return columnWidth;\n\t },\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(child) {\n\t if (child !== null && !(child instanceof _Grid2.default)) {\n\t throw Error('Unexpected child type registered; only Grid children are supported.');\n\t }\n\t\n\t this._registeredChild = child;\n\t\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }]);\n\t\n\t return ColumnSizer;\n\t}(_react.Component);\n\t\n\tColumnSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t columnMaxWidth: _react.PropTypes.number,\n\t\n\t columnMinWidth: _react.PropTypes.number,\n\t\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\texports.default = ColumnSizer;\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.Grid = exports.default = undefined;\n\t\n\tvar _Grid2 = __webpack_require__(10);\n\t\n\tvar _Grid3 = _interopRequireDefault(_Grid2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _Grid3.default;\n\texports.Grid = _Grid3.default;\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(13);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _raf = __webpack_require__(15);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\tvar SCROLL_POSITION_CHANGE_REASONS = {\n\t OBSERVED: 'observed',\n\t REQUESTED: 'requested'\n\t};\n\t\n\tvar Grid = function (_Component) {\n\t _inherits(Grid, _Component);\n\t\n\t function Grid(props, context) {\n\t _classCallCheck(this, Grid);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Grid).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t computeGridMetadataOnNextUpdate: false,\n\t isScrolling: false,\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onGridRenderedMemoizer = (0, _utils.createCallbackMemoizer)();\n\t _this._onScrollMemoizer = (0, _utils.createCallbackMemoizer)(false);\n\t\n\t _this._computeGridMetadata = _this._computeGridMetadata.bind(_this);\n\t _this._invokeOnGridRenderedHelper = _this._invokeOnGridRenderedHelper.bind(_this);\n\t _this._onKeyPress = _this._onKeyPress.bind(_this);\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t _this._updateScrollLeftForScrollToColumn = _this._updateScrollLeftForScrollToColumn.bind(_this);\n\t _this._updateScrollTopForScrollToRow = _this._updateScrollTopForScrollToRow.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(Grid, [{\n\t key: 'recomputeGridSize',\n\t value: function recomputeGridSize() {\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: true\n\t });\n\t }\n\t }, {\n\t key: 'scrollToCell',\n\t value: function scrollToCell(_ref) {\n\t var scrollToColumn = _ref.scrollToColumn;\n\t var scrollToRow = _ref.scrollToRow;\n\t\n\t this._updateScrollLeftForScrollToColumn(scrollToColumn);\n\t this._updateScrollTopForScrollToRow(scrollToRow);\n\t }\n\t }, {\n\t key: 'setScrollPosition',\n\t value: function setScrollPosition(_ref2) {\n\t var scrollLeft = _ref2.scrollLeft;\n\t var scrollTop = _ref2.scrollTop;\n\t\n\t var newState = {\n\t scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\t };\n\t\n\t if (scrollLeft >= 0) {\n\t newState.scrollLeft = scrollLeft;\n\t }\n\t\n\t if (scrollTop >= 0) {\n\t newState.scrollTop = scrollTop;\n\t }\n\t\n\t if (scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft || scrollTop >= 0 && scrollTop !== this.state.scrollTop) {\n\t this.setState(newState);\n\t }\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var scrollLeft = _props.scrollLeft;\n\t var scrollToColumn = _props.scrollToColumn;\n\t var scrollTop = _props.scrollTop;\n\t var scrollToRow = _props.scrollToRow;\n\t\n\t\n\t if (scrollLeft >= 0 || scrollTop >= 0) {\n\t this.setScrollPosition({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t\n\t if (scrollToColumn >= 0 || scrollToRow >= 0) {\n\t this._setImmediateId = setImmediate(function () {\n\t _this2._setImmediateId = null;\n\t _this2._updateScrollLeftForScrollToColumn();\n\t _this2._updateScrollTopForScrollToRow();\n\t });\n\t }\n\t\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props2 = this.props;\n\t var columnsCount = _props2.columnsCount;\n\t var columnWidth = _props2.columnWidth;\n\t var height = _props2.height;\n\t var rowHeight = _props2.rowHeight;\n\t var rowsCount = _props2.rowsCount;\n\t var scrollToColumn = _props2.scrollToColumn;\n\t var scrollToRow = _props2.scrollToRow;\n\t var width = _props2.width;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollPositionChangeReason = _state.scrollPositionChangeReason;\n\t var scrollTop = _state.scrollTop;\n\t\n\t if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n\t if (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft && scrollLeft !== this.refs.scrollingContainer.scrollLeft) {\n\t this.refs.scrollingContainer.scrollLeft = scrollLeft;\n\t }\n\t if (scrollTop >= 0 && scrollTop !== prevState.scrollTop && scrollTop !== this.refs.scrollingContainer.scrollTop) {\n\t this.refs.scrollingContainer.scrollTop = scrollTop;\n\t }\n\t }\n\t\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t cellSize: columnWidth,\n\t previousCellsCount: prevProps.columnsCount,\n\t previousCellSize: prevProps.columnWidth,\n\t previousScrollToIndex: prevProps.scrollToColumn,\n\t previousSize: prevProps.width,\n\t scrollOffset: scrollLeft,\n\t scrollToIndex: scrollToColumn,\n\t size: width,\n\t updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t cellSize: rowHeight,\n\t previousCellsCount: prevProps.rowsCount,\n\t previousCellSize: prevProps.rowHeight,\n\t previousScrollToIndex: prevProps.scrollToRow,\n\t previousSize: prevProps.height,\n\t scrollOffset: scrollTop,\n\t scrollToIndex: scrollToRow,\n\t size: height,\n\t updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t this._computeGridMetadata(this.props);\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t if (this._setImmediateId) {\n\t clearImmediate(this._setImmediateId);\n\t }\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2.default.cancel(this._setNextStateAnimationFrameId);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.columnsCount === 0 && nextState.scrollLeft !== 0) {\n\t this.setScrollPosition({ scrollLeft: 0 });\n\t }\n\t\n\t if (nextProps.rowsCount === 0 && nextState.scrollTop !== 0) {\n\t this.setScrollPosition({ scrollTop: 0 });\n\t }\n\t\n\t if (nextProps.scrollLeft !== this.props.scrollLeft) {\n\t this.setScrollPosition({ scrollLeft: nextProps.scrollLeft });\n\t }\n\t\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollPosition({ scrollTop: nextProps.scrollTop });\n\t }\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.columnsCount,\n\t cellSize: this.props.columnWidth,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.columnsCount,\n\t nextCellSize: nextProps.columnWidth,\n\t nextScrollToIndex: nextProps.scrollToColumn,\n\t scrollToIndex: this.props.scrollToColumn,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.rowsCount,\n\t cellSize: this.props.rowHeight,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.rowsCount,\n\t nextCellSize: nextProps.rowHeight,\n\t nextScrollToIndex: nextProps.scrollToRow,\n\t scrollToIndex: this.props.scrollToRow,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: false\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props3 = this.props;\n\t var className = _props3.className;\n\t var columnsCount = _props3.columnsCount;\n\t var height = _props3.height;\n\t var noContentRenderer = _props3.noContentRenderer;\n\t var overscanColumnsCount = _props3.overscanColumnsCount;\n\t var overscanRowsCount = _props3.overscanRowsCount;\n\t var renderCell = _props3.renderCell;\n\t var rowsCount = _props3.rowsCount;\n\t var width = _props3.width;\n\t var _state2 = this.state;\n\t var isScrolling = _state2.isScrolling;\n\t var scrollLeft = _state2.scrollLeft;\n\t var scrollTop = _state2.scrollTop;\n\t\n\t\n\t var childrenToDisplay = [];\n\t\n\t if (height > 0 && width > 0) {\n\t var _getVisibleCellIndice = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t });\n\t\n\t var columnStartIndex = _getVisibleCellIndice.start;\n\t var columnStopIndex = _getVisibleCellIndice.stop;\n\t\n\t var _getVisibleCellIndice2 = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t });\n\t\n\t var rowStartIndex = _getVisibleCellIndice2.start;\n\t var rowStopIndex = _getVisibleCellIndice2.stop;\n\t\n\t this._renderedColumnStartIndex = columnStartIndex;\n\t this._renderedColumnStopIndex = columnStopIndex;\n\t this._renderedRowStartIndex = rowStartIndex;\n\t this._renderedRowStopIndex = rowStopIndex;\n\t\n\t var overscanColumnIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: columnsCount,\n\t overscanCellsCount: overscanColumnsCount,\n\t startIndex: columnStartIndex,\n\t stopIndex: columnStopIndex\n\t });\n\t\n\t var overscanRowIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: rowsCount,\n\t overscanCellsCount: overscanRowsCount,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t\n\t columnStartIndex = overscanColumnIndices.overscanStartIndex;\n\t columnStopIndex = overscanColumnIndices.overscanStopIndex;\n\t rowStartIndex = overscanRowIndices.overscanStartIndex;\n\t rowStopIndex = overscanRowIndices.overscanStopIndex;\n\t\n\t for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n\t var rowDatum = this._rowMetadata[rowIndex];\n\t\n\t for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n\t var columnDatum = this._columnMetadata[columnIndex];\n\t var renderedCell = renderCell({ columnIndex: columnIndex, rowIndex: rowIndex });\n\t var key = rowIndex + '-' + columnIndex;\n\t var child = _react2.default.createElement(\n\t 'div',\n\t {\n\t key: key,\n\t className: 'Grid__cell',\n\t style: {\n\t height: this._getRowHeight(rowIndex),\n\t left: columnDatum.offset + 'px',\n\t top: rowDatum.offset + 'px',\n\t width: this._getColumnWidth(columnIndex)\n\t }\n\t },\n\t renderedCell\n\t );\n\t\n\t childrenToDisplay.push(child);\n\t }\n\t }\n\t }\n\t\n\t var gridStyle = {\n\t height: height,\n\t width: width\n\t };\n\t\n\t var totalColumnsWidth = this._getTotalColumnsWidth();\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t\n\t if (totalColumnsWidth <= width) {\n\t gridStyle.overflowX = 'hidden';\n\t }\n\t\n\t if (totalRowsHeight <= height) {\n\t gridStyle.overflowY = 'hidden';\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: 'scrollingContainer',\n\t className: (0, _classnames2.default)('Grid', className),\n\t onKeyDown: this._onKeyPress,\n\t onScroll: this._onScroll,\n\t tabIndex: 0,\n\t style: gridStyle\n\t },\n\t childrenToDisplay.length > 0 && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'Grid__innerScrollContainer',\n\t style: {\n\t width: totalColumnsWidth,\n\t height: totalRowsHeight,\n\t maxWidth: totalColumnsWidth,\n\t maxHeight: totalRowsHeight,\n\t pointerEvents: isScrolling ? 'none' : 'auto'\n\t }\n\t },\n\t childrenToDisplay\n\t ),\n\t childrenToDisplay.length === 0 && noContentRenderer()\n\t );\n\t }\n\t }, {\n\t key: '_computeGridMetadata',\n\t value: function _computeGridMetadata(props) {\n\t var columnsCount = props.columnsCount;\n\t var columnWidth = props.columnWidth;\n\t var rowHeight = props.rowHeight;\n\t var rowsCount = props.rowsCount;\n\t\n\t\n\t this._columnMetadata = (0, _utils.initCellMetadata)({\n\t cellsCount: columnsCount,\n\t size: columnWidth\n\t });\n\t this._rowMetadata = (0, _utils.initCellMetadata)({\n\t cellsCount: rowsCount,\n\t size: rowHeight\n\t });\n\t }\n\t }, {\n\t key: '_enablePointerEventsAfterDelay',\n\t value: function _enablePointerEventsAfterDelay() {\n\t var _this3 = this;\n\t\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t this._disablePointerEventsTimeoutId = setTimeout(function () {\n\t _this3._disablePointerEventsTimeoutId = null;\n\t _this3.setState({\n\t isScrolling: false\n\t });\n\t }, IS_SCROLLING_TIMEOUT);\n\t }\n\t }, {\n\t key: '_getColumnWidth',\n\t value: function _getColumnWidth(index) {\n\t var columnWidth = this.props.columnWidth;\n\t\n\t\n\t return columnWidth instanceof Function ? columnWidth(index) : columnWidth;\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(index) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t\n\t return rowHeight instanceof Function ? rowHeight(index) : rowHeight;\n\t }\n\t }, {\n\t key: '_getTotalColumnsWidth',\n\t value: function _getTotalColumnsWidth() {\n\t if (this._columnMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._columnMetadata[this._columnMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_getTotalRowsHeight',\n\t value: function _getTotalRowsHeight() {\n\t if (this._rowMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._rowMetadata[this._rowMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_invokeOnGridRenderedHelper',\n\t value: function _invokeOnGridRenderedHelper() {\n\t var _props4 = this.props;\n\t var columnsCount = _props4.columnsCount;\n\t var onSectionRendered = _props4.onSectionRendered;\n\t var overscanColumnsCount = _props4.overscanColumnsCount;\n\t var overscanRowsCount = _props4.overscanRowsCount;\n\t var rowsCount = _props4.rowsCount;\n\t\n\t var _getOverscanIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: columnsCount,\n\t overscanCellsCount: overscanColumnsCount,\n\t startIndex: this._renderedColumnStartIndex,\n\t stopIndex: this._renderedColumnStopIndex\n\t });\n\t\n\t var columnOverscanStartIndex = _getOverscanIndices.overscanStartIndex;\n\t var columnOverscanStopIndex = _getOverscanIndices.overscanStopIndex;\n\t\n\t var _getOverscanIndices2 = (0, _utils.getOverscanIndices)({\n\t cellsCount: rowsCount,\n\t overscanCellsCount: overscanRowsCount,\n\t startIndex: this._renderedRowStartIndex,\n\t stopIndex: this._renderedRowStopIndex\n\t });\n\t\n\t var rowOverscanStartIndex = _getOverscanIndices2.overscanStartIndex;\n\t var rowOverscanStopIndex = _getOverscanIndices2.overscanStopIndex;\n\t\n\t\n\t this._onGridRenderedMemoizer({\n\t callback: onSectionRendered,\n\t indices: {\n\t columnOverscanStartIndex: columnOverscanStartIndex,\n\t columnOverscanStopIndex: columnOverscanStopIndex,\n\t columnStartIndex: this._renderedColumnStartIndex,\n\t columnStopIndex: this._renderedColumnStopIndex,\n\t rowOverscanStartIndex: rowOverscanStartIndex,\n\t rowOverscanStopIndex: rowOverscanStopIndex,\n\t rowStartIndex: this._renderedRowStartIndex,\n\t rowStopIndex: this._renderedRowStopIndex\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_setNextState',\n\t value: function _setNextState(state) {\n\t var _this4 = this;\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2.default.cancel(this._setNextStateAnimationFrameId);\n\t }\n\t\n\t this._setNextStateAnimationFrameId = (0, _raf2.default)(function () {\n\t _this4._setNextStateAnimationFrameId = null;\n\t _this4.setState(state);\n\t });\n\t }\n\t }, {\n\t key: '_stopEvent',\n\t value: function _stopEvent(event) {\n\t event.preventDefault();\n\t }\n\t }, {\n\t key: '_updateScrollLeftForScrollToColumn',\n\t value: function _updateScrollLeftForScrollToColumn(scrollToColumnOverride) {\n\t var scrollToColumn = scrollToColumnOverride != null ? scrollToColumnOverride : this.props.scrollToColumn;\n\t\n\t var width = this.props.width;\n\t var scrollLeft = this.state.scrollLeft;\n\t\n\t\n\t if (scrollToColumn >= 0) {\n\t var calculatedScrollLeft = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft,\n\t targetIndex: scrollToColumn\n\t });\n\t\n\t if (scrollLeft !== calculatedScrollLeft) {\n\t this.setScrollPosition({\n\t scrollLeft: calculatedScrollLeft\n\t });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_updateScrollTopForScrollToRow',\n\t value: function _updateScrollTopForScrollToRow(scrollToRowOverride) {\n\t var scrollToRow = scrollToRowOverride != null ? scrollToRowOverride : this.props.scrollToRow;\n\t\n\t var height = this.props.height;\n\t var scrollTop = this.state.scrollTop;\n\t\n\t\n\t if (scrollToRow >= 0) {\n\t var calculatedScrollTop = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop,\n\t targetIndex: scrollToRow\n\t });\n\t\n\t if (scrollTop !== calculatedScrollTop) {\n\t this.setScrollPosition({\n\t scrollTop: calculatedScrollTop\n\t });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_onKeyPress',\n\t value: function _onKeyPress(event) {\n\t var _props5 = this.props;\n\t var columnsCount = _props5.columnsCount;\n\t var height = _props5.height;\n\t var rowsCount = _props5.rowsCount;\n\t var width = _props5.width;\n\t var _state3 = this.state;\n\t var scrollLeft = _state3.scrollLeft;\n\t var scrollTop = _state3.scrollTop;\n\t\n\t\n\t var start = undefined,\n\t datum = undefined,\n\t newScrollLeft = undefined,\n\t newScrollTop = undefined;\n\t\n\t if (columnsCount === 0 || rowsCount === 0) {\n\t return;\n\t }\n\t\n\t switch (event.key) {\n\t case 'ArrowDown':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t datum = this._rowMetadata[start];\n\t newScrollTop = Math.min(this._getTotalRowsHeight() - height, scrollTop + datum.size);\n\t\n\t this.setScrollPosition({\n\t scrollTop: newScrollTop\n\t });\n\t break;\n\t case 'ArrowLeft':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: Math.max(0, start - 1),\n\t scrollToRow: this.props.scrollToRow\n\t });\n\t break;\n\t case 'ArrowRight':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t datum = this._columnMetadata[start];\n\t newScrollLeft = Math.min(this._getTotalColumnsWidth() - width, scrollLeft + datum.size);\n\t\n\t this.setScrollPosition({\n\t scrollLeft: newScrollLeft\n\t });\n\t break;\n\t case 'ArrowUp':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: this.props.scrollToColumn,\n\t scrollToRow: Math.max(0, start - 1)\n\t });\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t if (event.target !== this.refs.scrollingContainer) {\n\t return;\n\t }\n\t\n\t this._enablePointerEventsAfterDelay();\n\t\n\t var _props6 = this.props;\n\t var height = _props6.height;\n\t var onScroll = _props6.onScroll;\n\t var width = _props6.width;\n\t\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t var totalColumnsWidth = this._getTotalColumnsWidth();\n\t var scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft);\n\t var scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop);\n\t\n\t if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n\t var scrollPositionChangeReason = event.cancelable ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED : SCROLL_POSITION_CHANGE_REASONS.REQUESTED;\n\t\n\t if (!this.state.isScrolling) {\n\t this.setState({\n\t isScrolling: true\n\t });\n\t }\n\t\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollLeft: scrollLeft,\n\t scrollPositionChangeReason: scrollPositionChangeReason,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t\n\t this._onScrollMemoizer({\n\t callback: function callback(_ref3) {\n\t var scrollLeft = _ref3.scrollLeft;\n\t var scrollTop = _ref3.scrollTop;\n\t\n\t onScroll({\n\t clientHeight: height,\n\t clientWidth: width,\n\t scrollHeight: totalRowsHeight,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t scrollWidth: totalColumnsWidth\n\t });\n\t },\n\t indices: {\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t }\n\t });\n\t }\n\t }]);\n\t\n\t return Grid;\n\t}(_react.Component);\n\t\n\tGrid.propTypes = {\n\t className: _react.PropTypes.string,\n\t\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t columnWidth: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noContentRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t onSectionRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanColumnsCount: _react.PropTypes.number.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t renderCell: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollLeft: _react.PropTypes.number,\n\t\n\t scrollToColumn: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t scrollToRow: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tGrid.defaultProps = {\n\t noContentRenderer: function noContentRenderer() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t onSectionRendered: function onSectionRendered() {\n\t return null;\n\t },\n\t overscanColumnsCount: 0,\n\t overscanRowsCount: 10\n\t};\n\texports.default = Grid;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(11).clearImmediate))\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(12).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\t\n\t// DOM APIs, for completeness\n\t\n\texports.setTimeout = function() {\n\t return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function() {\n\t return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout =\n\texports.clearInterval = function(timeout) { timeout.close(); };\n\t\n\tfunction Timeout(id, clearFn) {\n\t this._id = id;\n\t this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function() {};\n\tTimeout.prototype.close = function() {\n\t this._clearFn.call(window, this._id);\n\t};\n\t\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function(item, msecs) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = msecs;\n\t};\n\t\n\texports.unenroll = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = -1;\n\t};\n\t\n\texports._unrefActive = exports.active = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t\n\t var msecs = item._idleTimeout;\n\t if (msecs >= 0) {\n\t item._idleTimeoutId = setTimeout(function onTimeout() {\n\t if (item._onTimeout)\n\t item._onTimeout();\n\t }, msecs);\n\t }\n\t};\n\t\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n\t var id = nextImmediateId++;\n\t var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\t\n\t immediateIds[id] = true;\n\t\n\t nextTick(function onNextTick() {\n\t if (immediateIds[id]) {\n\t // fn.call() is faster so we optimize for the common use-case\n\t // @see http://jsperf.com/call-apply-segu\n\t if (args) {\n\t fn.apply(null, args);\n\t } else {\n\t fn.call(null);\n\t }\n\t // Prevent ids from leaking\n\t exports.clearImmediate(id);\n\t }\n\t });\n\t\n\t return id;\n\t};\n\t\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n\t delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(11).clearImmediate))\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.computeCellMetadataAndUpdateScrollOffsetHelper = computeCellMetadataAndUpdateScrollOffsetHelper;\n\texports.createCallbackMemoizer = createCallbackMemoizer;\n\texports.findNearestCell = findNearestCell;\n\texports.getOverscanIndices = getOverscanIndices;\n\texports.getUpdatedOffsetForIndex = getUpdatedOffsetForIndex;\n\texports.getVisibleCellIndices = getVisibleCellIndices;\n\texports.initCellMetadata = initCellMetadata;\n\texports.updateScrollIndexHelper = updateScrollIndexHelper;\n\tfunction computeCellMetadataAndUpdateScrollOffsetHelper(_ref) {\n\t var cellsCount = _ref.cellsCount;\n\t var cellSize = _ref.cellSize;\n\t var computeMetadataCallback = _ref.computeMetadataCallback;\n\t var computeMetadataCallbackProps = _ref.computeMetadataCallbackProps;\n\t var computeMetadataOnNextUpdate = _ref.computeMetadataOnNextUpdate;\n\t var nextCellsCount = _ref.nextCellsCount;\n\t var nextCellSize = _ref.nextCellSize;\n\t var nextScrollToIndex = _ref.nextScrollToIndex;\n\t var scrollToIndex = _ref.scrollToIndex;\n\t var updateScrollOffsetForScrollToIndex = _ref.updateScrollOffsetForScrollToIndex;\n\t\n\t if (computeMetadataOnNextUpdate || cellsCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n\t computeMetadataCallback(computeMetadataCallbackProps);\n\t\n\t if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n\t updateScrollOffsetForScrollToIndex();\n\t }\n\t }\n\t}\n\t\n\tfunction createCallbackMemoizer() {\n\t var requireAllKeys = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\t\n\t var cachedIndices = {};\n\t\n\t return function (_ref2) {\n\t var callback = _ref2.callback;\n\t var indices = _ref2.indices;\n\t\n\t var keys = Object.keys(indices);\n\t var allInitialized = !requireAllKeys || keys.every(function (key) {\n\t return indices[key] >= 0;\n\t });\n\t var indexChanged = keys.some(function (key) {\n\t return cachedIndices[key] !== indices[key];\n\t });\n\t\n\t cachedIndices = indices;\n\t\n\t if (allInitialized && indexChanged) {\n\t callback(indices);\n\t }\n\t };\n\t}\n\t\n\tfunction findNearestCell(_ref3) {\n\t var cellMetadata = _ref3.cellMetadata;\n\t var mode = _ref3.mode;\n\t var offset = _ref3.offset;\n\t\n\t var high = cellMetadata.length - 1;\n\t var low = 0;\n\t var middle = undefined;\n\t var currentOffset = undefined;\n\t\n\t while (low <= high) {\n\t middle = low + Math.floor((high - low) / 2);\n\t currentOffset = cellMetadata[middle].offset;\n\t\n\t if (currentOffset === offset) {\n\t return middle;\n\t } else if (currentOffset < offset) {\n\t low = middle + 1;\n\t } else if (currentOffset > offset) {\n\t high = middle - 1;\n\t }\n\t }\n\t\n\t if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n\t return low - 1;\n\t } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n\t return high + 1;\n\t }\n\t}\n\t\n\tfindNearestCell.EQUAL_OR_LOWER = 1;\n\tfindNearestCell.EQUAL_OR_HIGHER = 2;\n\t\n\tfunction getOverscanIndices(_ref4) {\n\t var cellsCount = _ref4.cellsCount;\n\t var overscanCellsCount = _ref4.overscanCellsCount;\n\t var startIndex = _ref4.startIndex;\n\t var stopIndex = _ref4.stopIndex;\n\t\n\t return {\n\t overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n\t overscanStopIndex: Math.min(cellsCount - 1, stopIndex + overscanCellsCount)\n\t };\n\t}\n\t\n\tfunction getUpdatedOffsetForIndex(_ref5) {\n\t var cellMetadata = _ref5.cellMetadata;\n\t var containerSize = _ref5.containerSize;\n\t var currentOffset = _ref5.currentOffset;\n\t var targetIndex = _ref5.targetIndex;\n\t\n\t if (cellMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex));\n\t\n\t var datum = cellMetadata[targetIndex];\n\t var maxOffset = datum.offset;\n\t var minOffset = maxOffset - containerSize + datum.size;\n\t var newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));\n\t\n\t return newOffset;\n\t}\n\t\n\tfunction getVisibleCellIndices(_ref6) {\n\t var cellsCount = _ref6.cellsCount;\n\t var cellMetadata = _ref6.cellMetadata;\n\t var containerSize = _ref6.containerSize;\n\t var currentOffset = _ref6.currentOffset;\n\t\n\t if (cellsCount === 0) {\n\t return {};\n\t }\n\t\n\t currentOffset = Math.max(0, currentOffset);\n\t\n\t var maxOffset = currentOffset + containerSize;\n\t\n\t var start = findNearestCell({\n\t cellMetadata: cellMetadata,\n\t mode: findNearestCell.EQUAL_OR_LOWER,\n\t offset: currentOffset\n\t });\n\t\n\t var datum = cellMetadata[start];\n\t currentOffset = datum.offset + datum.size;\n\t\n\t var stop = start;\n\t\n\t while (currentOffset < maxOffset && stop < cellsCount - 1) {\n\t stop++;\n\t\n\t currentOffset += cellMetadata[stop].size;\n\t }\n\t\n\t return {\n\t start: start,\n\t stop: stop\n\t };\n\t}\n\t\n\tfunction initCellMetadata(_ref7) {\n\t var cellsCount = _ref7.cellsCount;\n\t var size = _ref7.size;\n\t\n\t var sizeGetter = size instanceof Function ? size : function (index) {\n\t return size;\n\t };\n\t\n\t var cellMetadata = [];\n\t var offset = 0;\n\t\n\t for (var i = 0; i < cellsCount; i++) {\n\t var _size = sizeGetter(i);\n\t\n\t if (_size == null || isNaN(_size)) {\n\t throw Error('Invalid size returned for cell ' + i + ' of value ' + _size);\n\t }\n\t\n\t cellMetadata[i] = {\n\t size: _size,\n\t offset: offset\n\t };\n\t\n\t offset += _size;\n\t }\n\t\n\t return cellMetadata;\n\t}\n\t\n\tfunction updateScrollIndexHelper(_ref8) {\n\t var cellMetadata = _ref8.cellMetadata;\n\t var cellsCount = _ref8.cellsCount;\n\t var cellSize = _ref8.cellSize;\n\t var previousCellsCount = _ref8.previousCellsCount;\n\t var previousCellSize = _ref8.previousCellSize;\n\t var previousScrollToIndex = _ref8.previousScrollToIndex;\n\t var previousSize = _ref8.previousSize;\n\t var scrollOffset = _ref8.scrollOffset;\n\t var scrollToIndex = _ref8.scrollToIndex;\n\t var size = _ref8.size;\n\t var updateScrollIndexCallback = _ref8.updateScrollIndexCallback;\n\t\n\t var hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount;\n\t var sizeHasChanged = size !== previousSize || !previousCellSize || typeof cellSize === 'number' && cellSize !== previousCellSize;\n\t\n\t if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n\t updateScrollIndexCallback();\n\t } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n\t var calculatedScrollOffset = getUpdatedOffsetForIndex({\n\t cellMetadata: cellMetadata,\n\t containerSize: size,\n\t currentOffset: scrollOffset,\n\t targetIndex: cellsCount - 1\n\t });\n\t\n\t if (calculatedScrollOffset < scrollOffset) {\n\t updateScrollIndexCallback(cellsCount - 1);\n\t }\n\t }\n\t}\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames () {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg;\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (true) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t}());\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {var now = __webpack_require__(16)\n\t , root = typeof window === 'undefined' ? global : window\n\t , vendors = ['moz', 'webkit']\n\t , suffix = 'AnimationFrame'\n\t , raf = root['request' + suffix]\n\t , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\t\n\tfor(var i = 0; !raf && i < vendors.length; i++) {\n\t raf = root[vendors[i] + 'Request' + suffix]\n\t caf = root[vendors[i] + 'Cancel' + suffix]\n\t || root[vendors[i] + 'CancelRequest' + suffix]\n\t}\n\t\n\t// Some versions of FF have rAF but not cAF\n\tif(!raf || !caf) {\n\t var last = 0\n\t , id = 0\n\t , queue = []\n\t , frameDuration = 1000 / 60\n\t\n\t raf = function(callback) {\n\t if(queue.length === 0) {\n\t var _now = now()\n\t , next = Math.max(0, frameDuration - (_now - last))\n\t last = next + _now\n\t setTimeout(function() {\n\t var cp = queue.slice(0)\n\t // Clear queue here to prevent\n\t // callbacks from appending listeners\n\t // to the current frame's queue\n\t queue.length = 0\n\t for(var i = 0; i < cp.length; i++) {\n\t if(!cp[i].cancelled) {\n\t try{\n\t cp[i].callback(last)\n\t } catch(e) {\n\t setTimeout(function() { throw e }, 0)\n\t }\n\t }\n\t }\n\t }, Math.round(next))\n\t }\n\t queue.push({\n\t handle: ++id,\n\t callback: callback,\n\t cancelled: false\n\t })\n\t return id\n\t }\n\t\n\t caf = function(handle) {\n\t for(var i = 0; i < queue.length; i++) {\n\t if(queue[i].handle === handle) {\n\t queue[i].cancelled = true\n\t }\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = function(fn) {\n\t // Wrap in a new function to prevent\n\t // `cancel` potentially being assigned\n\t // to the native rAF function\n\t return raf.call(root, fn)\n\t}\n\tmodule.exports.cancel = function() {\n\t caf.apply(root, arguments)\n\t}\n\tmodule.exports.polyfill = function() {\n\t root.requestAnimationFrame = raf\n\t root.cancelAnimationFrame = caf\n\t}\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {// Generated by CoffeeScript 1.7.1\n\t(function() {\n\t var getNanoSeconds, hrtime, loadTime;\n\t\n\t if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n\t module.exports = function() {\n\t return performance.now();\n\t };\n\t } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n\t module.exports = function() {\n\t return (getNanoSeconds() - loadTime) / 1e6;\n\t };\n\t hrtime = process.hrtime;\n\t getNanoSeconds = function() {\n\t var hr;\n\t hr = hrtime();\n\t return hr[0] * 1e9 + hr[1];\n\t };\n\t loadTime = getNanoSeconds();\n\t } else if (Date.now) {\n\t module.exports = function() {\n\t return Date.now() - loadTime;\n\t };\n\t loadTime = Date.now();\n\t } else {\n\t module.exports = function() {\n\t return new Date().getTime() - loadTime;\n\t };\n\t loadTime = new Date().getTime();\n\t }\n\t\n\t}).call(this);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17)))\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.FlexColumn = exports.SortIndicator = exports.SortDirection = exports.FlexTable = exports.default = undefined;\n\t\n\tvar _FlexTable2 = __webpack_require__(19);\n\t\n\tObject.defineProperty(exports, 'SortDirection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable2.SortDirection;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortIndicator', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable2.SortIndicator;\n\t }\n\t});\n\t\n\tvar _FlexTable3 = _interopRequireDefault(_FlexTable2);\n\t\n\tvar _FlexColumn2 = __webpack_require__(20);\n\t\n\tvar _FlexColumn3 = _interopRequireDefault(_FlexColumn2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _FlexTable3.default;\n\texports.FlexTable = _FlexTable3.default;\n\texports.FlexColumn = _FlexColumn3.default;\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.SortDirection = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\texports.SortIndicator = SortIndicator;\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _FlexColumn = __webpack_require__(20);\n\t\n\tvar _FlexColumn2 = _interopRequireDefault(_FlexColumn);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(21);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar SortDirection = exports.SortDirection = {\n\t ASC: 'ASC',\n\t\n\t DESC: 'DESC'\n\t};\n\t\n\tvar FlexTable = function (_Component) {\n\t _inherits(FlexTable, _Component);\n\t\n\t function FlexTable(props) {\n\t _classCallCheck(this, FlexTable);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(FlexTable).call(this, props));\n\t\n\t _initialiseProps.call(_this);\n\t\n\t _this.state = {\n\t scrollbarWidth: 0\n\t };\n\t\n\t _this._createRow = _this._createRow.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(FlexTable, [{\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\n\t }\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this.refs.Grid.scrollToCell({\n\t scrollToColumn: 0,\n\t scrollToRow: scrollToIndex\n\t });\n\t }\n\t }, {\n\t key: 'setScrollTop',\n\t value: function setScrollTop(scrollTop) {\n\t this.refs.Grid.setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var scrollTop = this.props.scrollTop;\n\t\n\t\n\t if (scrollTop >= 0) {\n\t this.setScrollTop(scrollTop);\n\t }\n\t\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate() {\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollTop(nextProps.scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var className = _props.className;\n\t var disableHeader = _props.disableHeader;\n\t var headerHeight = _props.headerHeight;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var onRowsRendered = _props.onRowsRendered;\n\t var _onScroll = _props.onScroll;\n\t var overscanRowsCount = _props.overscanRowsCount;\n\t var rowClassName = _props.rowClassName;\n\t var rowHeight = _props.rowHeight;\n\t var rowsCount = _props.rowsCount;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var width = _props.width;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var availableRowsHeight = height - headerHeight;\n\t\n\t var rowRenderer = function rowRenderer(index) {\n\t return _this2._createRow(index);\n\t };\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2.default)('FlexTable', className)\n\t },\n\t !disableHeader && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2.default)('FlexTable__headerRow', rowClass),\n\t style: {\n\t height: headerHeight,\n\t paddingRight: scrollbarWidth,\n\t width: width\n\t }\n\t },\n\t this._getRenderedHeaderRow()\n\t ),\n\t _react2.default.createElement(_Grid2.default, {\n\t ref: 'Grid',\n\t className: 'FlexTable__Grid',\n\t columnWidth: width,\n\t columnsCount: 1,\n\t height: availableRowsHeight,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: function onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollTop = _ref.scrollTop;\n\t return _onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t },\n\t onSectionRendered: function onSectionRendered(_ref2) {\n\t var rowOverscanStartIndex = _ref2.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref2.rowOverscanStopIndex;\n\t var rowStartIndex = _ref2.rowStartIndex;\n\t var rowStopIndex = _ref2.rowStopIndex;\n\t return onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t },\n\t overscanRowsCount: overscanRowsCount,\n\t renderCell: function renderCell(_ref3) {\n\t var columnIndex = _ref3.columnIndex;\n\t var rowIndex = _ref3.rowIndex;\n\t return rowRenderer(rowIndex);\n\t },\n\t rowHeight: rowHeight,\n\t rowsCount: rowsCount,\n\t scrollToRow: scrollToIndex,\n\t width: width\n\t })\n\t );\n\t }\n\t }, {\n\t key: '_createColumn',\n\t value: function _createColumn(column, columnIndex, rowData, rowIndex) {\n\t var _column$props = column.props;\n\t var cellClassName = _column$props.cellClassName;\n\t var cellDataGetter = _column$props.cellDataGetter;\n\t var columnData = _column$props.columnData;\n\t var dataKey = _column$props.dataKey;\n\t var cellRenderer = _column$props.cellRenderer;\n\t\n\t var cellData = cellDataGetter(dataKey, rowData, columnData);\n\t var renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData);\n\t\n\t var style = this._getFlexStyleForColumn(column);\n\t\n\t var title = typeof renderedCell === 'string' ? renderedCell : null;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: 'Row' + rowIndex + '-Col' + columnIndex,\n\t className: (0, _classnames2.default)('FlexTable__rowColumn', cellClassName),\n\t style: style\n\t },\n\t _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__truncatedColumnText',\n\t title: title\n\t },\n\t renderedCell\n\t )\n\t );\n\t }\n\t }, {\n\t key: '_createHeader',\n\t value: function _createHeader(column, columnIndex) {\n\t var _props2 = this.props;\n\t var headerClassName = _props2.headerClassName;\n\t var onHeaderClick = _props2.onHeaderClick;\n\t var sort = _props2.sort;\n\t var sortBy = _props2.sortBy;\n\t var sortDirection = _props2.sortDirection;\n\t var _column$props2 = column.props;\n\t var dataKey = _column$props2.dataKey;\n\t var disableSort = _column$props2.disableSort;\n\t var label = _column$props2.label;\n\t var columnData = _column$props2.columnData;\n\t\n\t var showSortIndicator = sortBy === dataKey;\n\t var sortEnabled = !disableSort && sort;\n\t\n\t var classNames = (0, _classnames2.default)('FlexTable__headerColumn', headerClassName, column.props.headerClassName, {\n\t 'FlexTable__sortableHeaderColumn': sortEnabled\n\t });\n\t var style = this._getFlexStyleForColumn(column);\n\t\n\t var newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC ? SortDirection.ASC : SortDirection.DESC;\n\t var onClick = function onClick() {\n\t sortEnabled && sort(dataKey, newSortDirection);\n\t onHeaderClick(dataKey, columnData);\n\t };\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: 'Header-Col' + columnIndex,\n\t className: classNames,\n\t style: style,\n\t onClick: onClick\n\t },\n\t _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__headerTruncatedText',\n\t title: label\n\t },\n\t label\n\t ),\n\t showSortIndicator && _react2.default.createElement(SortIndicator, { sortDirection: sortDirection })\n\t );\n\t }\n\t }, {\n\t key: '_createRow',\n\t value: function _createRow(rowIndex) {\n\t var _this3 = this;\n\t\n\t var _props3 = this.props;\n\t var children = _props3.children;\n\t var onRowClick = _props3.onRowClick;\n\t var rowClassName = _props3.rowClassName;\n\t var rowGetter = _props3.rowGetter;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName;\n\t\n\t var renderedRow = _react2.default.Children.map(children, function (column, columnIndex) {\n\t return _this3._createColumn(column, columnIndex, rowGetter(rowIndex), rowIndex);\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: rowIndex,\n\t className: (0, _classnames2.default)('FlexTable__row', rowClass),\n\t onClick: function onClick() {\n\t return onRowClick(rowIndex);\n\t },\n\t style: {\n\t height: this._getRowHeight(rowIndex),\n\t paddingRight: scrollbarWidth\n\t }\n\t },\n\t renderedRow\n\t );\n\t }\n\t }, {\n\t key: '_getFlexStyleForColumn',\n\t value: function _getFlexStyleForColumn(column) {\n\t var flexValue = column.props.flexGrow + ' ' + column.props.flexShrink + ' ' + column.props.width + 'px';\n\t\n\t var style = {\n\t flex: flexValue,\n\t msFlex: flexValue,\n\t WebkitFlex: flexValue\n\t };\n\t\n\t if (column.props.maxWidth) {\n\t style.maxWidth = column.props.maxWidth;\n\t }\n\t\n\t if (column.props.minWidth) {\n\t style.minWidth = column.props.minWidth;\n\t }\n\t\n\t return style;\n\t }\n\t }, {\n\t key: '_getRenderedHeaderRow',\n\t value: function _getRenderedHeaderRow() {\n\t var _this4 = this;\n\t\n\t var _props4 = this.props;\n\t var children = _props4.children;\n\t var disableHeader = _props4.disableHeader;\n\t\n\t var items = disableHeader ? [] : children;\n\t return _react2.default.Children.map(items, function (column, columnIndex) {\n\t return _this4._createHeader(column, columnIndex);\n\t });\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(rowIndex) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t\n\t return rowHeight instanceof Function ? rowHeight(rowIndex) : rowHeight;\n\t }\n\t }, {\n\t key: '_setScrollbarWidth',\n\t value: function _setScrollbarWidth() {\n\t var Grid = (0, _reactDom.findDOMNode)(this.refs.Grid);\n\t var clientWidth = Grid.clientWidth || 0;\n\t var offsetWidth = Grid.offsetWidth || 0;\n\t var scrollbarWidth = offsetWidth - clientWidth;\n\t\n\t this.setState({ scrollbarWidth: scrollbarWidth });\n\t }\n\t }]);\n\t\n\t return FlexTable;\n\t}(_react.Component);\n\t\n\tFlexTable.propTypes = {\n\t children: function children(props, propName, componentName) {\n\t var children = _react2.default.Children.toArray(props.children);\n\t for (var i = 0; i < children.length; i++) {\n\t if (children[i].type !== _FlexColumn2.default) {\n\t return new Error('FlexTable only accepts children of type FlexColumn');\n\t }\n\t }\n\t },\n\t\n\t className: _react.PropTypes.string,\n\t\n\t disableHeader: _react.PropTypes.bool,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t headerHeight: _react.PropTypes.number.isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func,\n\t\n\t onHeaderClick: _react.PropTypes.func,\n\t\n\t onRowClick: _react.PropTypes.func,\n\t\n\t onRowsRendered: _react.PropTypes.func,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t rowClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t rowGetter: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t sort: _react.PropTypes.func,\n\t\n\t sortBy: _react.PropTypes.string,\n\t\n\t sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tFlexTable.defaultProps = {\n\t disableHeader: false,\n\t headerHeight: 0,\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onHeaderClick: function onHeaderClick() {\n\t return null;\n\t },\n\t onRowClick: function onRowClick() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowsCount: 10\n\t};\n\t\n\tvar _initialiseProps = function _initialiseProps() {\n\t this.shouldComponentUpdate = _function2.default;\n\t};\n\t\n\texports.default = FlexTable;\n\tfunction SortIndicator(_ref4) {\n\t var sortDirection = _ref4.sortDirection;\n\t\n\t var classNames = (0, _classnames2.default)('FlexTable__sortableHeaderIcon', {\n\t 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n\t 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'svg',\n\t {\n\t className: classNames,\n\t width: 18,\n\t height: 18,\n\t viewBox: '0 0 24 24',\n\t xmlns: 'http://www.w3.org/2000/svg'\n\t },\n\t sortDirection === SortDirection.ASC ? _react2.default.createElement('path', { d: 'M7 14l5-5 5 5z' }) : _react2.default.createElement('path', { d: 'M7 10l5 5 5-5z' }),\n\t _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })\n\t );\n\t}\n\tSortIndicator.propTypes = {\n\t sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n\t};\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.defaultCellRenderer = defaultCellRenderer;\n\texports.defaultCellDataGetter = defaultCellDataGetter;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction defaultCellRenderer(cellData, cellDataKey, rowData, rowIndex, columnData) {\n\t if (cellData === null || cellData === undefined) {\n\t return '';\n\t } else {\n\t return String(cellData);\n\t }\n\t}\n\t\n\tfunction defaultCellDataGetter(dataKey, rowData, columnData) {\n\t if (rowData.get instanceof Function) {\n\t return rowData.get(dataKey);\n\t } else {\n\t return rowData[dataKey];\n\t }\n\t}\n\t\n\tvar Column = function (_Component) {\n\t _inherits(Column, _Component);\n\t\n\t function Column() {\n\t _classCallCheck(this, Column);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(Column).apply(this, arguments));\n\t }\n\t\n\t return Column;\n\t}(_react.Component);\n\t\n\tColumn.defaultProps = {\n\t cellDataGetter: defaultCellDataGetter,\n\t cellRenderer: defaultCellRenderer,\n\t flexGrow: 0,\n\t flexShrink: 1\n\t};\n\tColumn.propTypes = {\n\t cellClassName: _react.PropTypes.string,\n\t\n\t cellDataGetter: _react.PropTypes.func,\n\t\n\t cellRenderer: _react.PropTypes.func,\n\t\n\t columnData: _react.PropTypes.object,\n\t\n\t dataKey: _react.PropTypes.any.isRequired,\n\t\n\t disableSort: _react.PropTypes.bool,\n\t\n\t flexGrow: _react.PropTypes.number,\n\t\n\t flexShrink: _react.PropTypes.number,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t label: _react.PropTypes.string,\n\t\n\t maxWidth: _react.PropTypes.number,\n\t\n\t minWidth: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\texports.default = Column;\n\n/***/ },\n/* 21 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_21__;\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.InfiniteLoader = exports.default = undefined;\n\t\n\tvar _InfiniteLoader2 = __webpack_require__(23);\n\t\n\tvar _InfiniteLoader3 = _interopRequireDefault(_InfiniteLoader2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _InfiniteLoader3.default;\n\texports.InfiniteLoader = _InfiniteLoader3.default;\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\texports.isRangeVisible = isRangeVisible;\n\texports.scanForUnloadedRanges = scanForUnloadedRanges;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar InfiniteLoader = function (_Component) {\n\t _inherits(InfiniteLoader, _Component);\n\t\n\t function InfiniteLoader(props, context) {\n\t _classCallCheck(this, InfiniteLoader);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(InfiniteLoader).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this._onRowsRendered = _this._onRowsRendered.bind(_this);\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(InfiniteLoader, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t\n\t\n\t return children({\n\t onRowsRendered: this._onRowsRendered,\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: '_onRowsRendered',\n\t value: function _onRowsRendered(_ref) {\n\t var _this2 = this;\n\t\n\t var startIndex = _ref.startIndex;\n\t var stopIndex = _ref.stopIndex;\n\t var _props = this.props;\n\t var isRowLoaded = _props.isRowLoaded;\n\t var loadMoreRows = _props.loadMoreRows;\n\t var rowsCount = _props.rowsCount;\n\t var threshold = _props.threshold;\n\t\n\t\n\t this._lastRenderedStartIndex = startIndex;\n\t this._lastRenderedStopIndex = stopIndex;\n\t\n\t var unloadedRanges = scanForUnloadedRanges({\n\t isRowLoaded: isRowLoaded,\n\t startIndex: Math.max(0, startIndex - threshold),\n\t stopIndex: Math.min(rowsCount, stopIndex + threshold)\n\t });\n\t\n\t unloadedRanges.forEach(function (unloadedRange) {\n\t var promise = loadMoreRows(unloadedRange);\n\t if (promise) {\n\t promise.then(function () {\n\t if (isRangeVisible({\n\t lastRenderedStartIndex: _this2._lastRenderedStartIndex,\n\t lastRenderedStopIndex: _this2._lastRenderedStopIndex,\n\t startIndex: unloadedRange.startIndex,\n\t stopIndex: unloadedRange.stopIndex\n\t })) {\n\t if (_this2._registeredChild) {\n\t _this2._registeredChild.forceUpdate();\n\t }\n\t }\n\t });\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(registeredChild) {\n\t this._registeredChild = registeredChild;\n\t }\n\t }]);\n\t\n\t return InfiniteLoader;\n\t}(_react.Component);\n\t\n\tInfiniteLoader.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t isRowLoaded: _react.PropTypes.func.isRequired,\n\t\n\t loadMoreRows: _react.PropTypes.func.isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t threshold: _react.PropTypes.number.isRequired\n\t};\n\tInfiniteLoader.defaultProps = {\n\t rowsCount: 0,\n\t threshold: 15\n\t};\n\texports.default = InfiniteLoader;\n\tfunction isRangeVisible(_ref2) {\n\t var lastRenderedStartIndex = _ref2.lastRenderedStartIndex;\n\t var lastRenderedStopIndex = _ref2.lastRenderedStopIndex;\n\t var startIndex = _ref2.startIndex;\n\t var stopIndex = _ref2.stopIndex;\n\t\n\t return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex);\n\t}\n\t\n\tfunction scanForUnloadedRanges(_ref3) {\n\t var isRowLoaded = _ref3.isRowLoaded;\n\t var startIndex = _ref3.startIndex;\n\t var stopIndex = _ref3.stopIndex;\n\t\n\t var unloadedRanges = [];\n\t var rangeStartIndex = null;\n\t var rangeStopIndex = null;\n\t\n\t for (var i = startIndex; i <= stopIndex; i++) {\n\t var loaded = isRowLoaded(i);\n\t\n\t if (!loaded) {\n\t rangeStopIndex = i;\n\t if (rangeStartIndex === null) {\n\t rangeStartIndex = i;\n\t }\n\t } else if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t\n\t rangeStartIndex = rangeStopIndex = null;\n\t }\n\t }\n\t\n\t if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t }\n\t\n\t return unloadedRanges;\n\t}\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ScrollSync = exports.default = undefined;\n\t\n\tvar _ScrollSync2 = __webpack_require__(25);\n\t\n\tvar _ScrollSync3 = _interopRequireDefault(_ScrollSync2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ScrollSync3.default;\n\texports.ScrollSync = _ScrollSync3.default;\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ScrollSync = function (_Component) {\n\t _inherits(ScrollSync, _Component);\n\t\n\t function ScrollSync(props, context) {\n\t _classCallCheck(this, ScrollSync);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ScrollSync).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ScrollSync, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollTop = _state.scrollTop;\n\t\n\t\n\t return children({\n\t onScroll: this._onScroll,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(_ref) {\n\t var scrollLeft = _ref.scrollLeft;\n\t var scrollTop = _ref.scrollTop;\n\t\n\t this.setState({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t }]);\n\t\n\t return ScrollSync;\n\t}(_react.Component);\n\t\n\tScrollSync.propTypes = {\n\t children: _react.PropTypes.func.isRequired\n\t};\n\texports.default = ScrollSync;\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.VirtualScroll = exports.default = undefined;\n\t\n\tvar _VirtualScroll2 = __webpack_require__(27);\n\t\n\tvar _VirtualScroll3 = _interopRequireDefault(_VirtualScroll2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _VirtualScroll3.default;\n\texports.VirtualScroll = _VirtualScroll3.default;\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar VirtualScroll = function (_Component) {\n\t _inherits(VirtualScroll, _Component);\n\t\n\t function VirtualScroll() {\n\t var _Object$getPrototypeO;\n\t\n\t var _temp, _this, _ret;\n\t\n\t _classCallCheck(this, VirtualScroll);\n\t\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(VirtualScroll)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.shouldComponentUpdate = _function2.default, _temp), _possibleConstructorReturn(_this, _ret);\n\t }\n\t\n\t _createClass(VirtualScroll, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var scrollTop = this.props.scrollTop;\n\t\n\t\n\t if (scrollTop >= 0) {\n\t this.setScrollTop(scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollTop(nextProps.scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\n\t }\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this.refs.Grid.scrollToCell({\n\t scrollToColumn: 0,\n\t scrollToRow: scrollToIndex\n\t });\n\t }\n\t }, {\n\t key: 'setScrollTop',\n\t value: function setScrollTop(scrollTop) {\n\t this.refs.Grid.setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var onRowsRendered = _props.onRowsRendered;\n\t var _onScroll = _props.onScroll;\n\t var rowHeight = _props.rowHeight;\n\t var rowRenderer = _props.rowRenderer;\n\t var overscanRowsCount = _props.overscanRowsCount;\n\t var rowsCount = _props.rowsCount;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var width = _props.width;\n\t\n\t\n\t var classNames = (0, _classnames2.default)('VirtualScroll', className);\n\t\n\t return _react2.default.createElement(_Grid2.default, {\n\t ref: 'Grid',\n\t className: classNames,\n\t columnWidth: width,\n\t columnsCount: 1,\n\t height: height,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: function onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollTop = _ref.scrollTop;\n\t return _onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t },\n\t onSectionRendered: function onSectionRendered(_ref2) {\n\t var rowOverscanStartIndex = _ref2.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref2.rowOverscanStopIndex;\n\t var rowStartIndex = _ref2.rowStartIndex;\n\t var rowStopIndex = _ref2.rowStopIndex;\n\t return onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t },\n\t overscanRowsCount: overscanRowsCount,\n\t renderCell: function renderCell(_ref3) {\n\t var columnIndex = _ref3.columnIndex;\n\t var rowIndex = _ref3.rowIndex;\n\t return rowRenderer(rowIndex);\n\t },\n\t rowHeight: rowHeight,\n\t rowsCount: rowsCount,\n\t scrollToRow: scrollToIndex,\n\t width: width\n\t });\n\t }\n\t }]);\n\t\n\t return VirtualScroll;\n\t}(_react.Component);\n\t\n\tVirtualScroll.propTypes = {\n\t className: _react.PropTypes.string,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onRowsRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowRenderer: _react.PropTypes.func.isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tVirtualScroll.defaultProps = {\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowsCount: 10\n\t};\n\texports.default = VirtualScroll;\n\n/***/ }\n/******/ ])\n});\n;\n\n\n/** WEBPACK FOOTER **\n ** react-virtualized.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap e85156f8149f512d1cd5\n **/","/* @flow */\nexport { AutoSizer } from './AutoSizer'\nexport { ColumnSizer } from './ColumnSizer'\nexport { FlexTable, FlexColumn, SortDirection, SortIndicator } from './FlexTable'\nexport { Grid } from './Grid'\nexport { InfiniteLoader } from './InfiniteLoader'\nexport { ScrollSync } from './ScrollSync'\nexport { VirtualScroll } from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/index.js\n **/","export default from './AutoSizer'\nexport AutoSizer from './AutoSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Decorator component that automatically adjusts the width and height of a single child.\n * Child component should not be declared as a child but should rather be specified by a `ChildComponent` property.\n * All other properties will be passed through to the child component.\n */\nexport default class AutoSizer extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering children.\n * This function should implement the following signature:\n * ({ height, width }) => PropTypes.element\n */\n children: PropTypes.func.isRequired,\n\n /** Disable dynamic :height property */\n disableHeight: PropTypes.bool,\n\n /** Disable dynamic :width property */\n disableWidth: PropTypes.bool,\n\n /** Callback to be invoked on-resize: ({ height, width }) */\n onResize: PropTypes.func.isRequired\n }\n\n static defaultProps = {\n onResize: () => {}\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n height: 0,\n width: 0\n }\n\n this._onResize = this._onResize.bind(this)\n this._setRef = this._setRef.bind(this)\n }\n\n componentDidMount () {\n // Defer requiring resize handler in order to support server-side rendering.\n // See issue #41\n this._detectElementResize = require('../vendor/detectElementResize')\n this._detectElementResize.addResizeListener(this._parentNode, this._onResize)\n\n this._onResize()\n }\n\n componentWillUnmount () {\n this._detectElementResize.removeResizeListener(this._parentNode, this._onResize)\n }\n\n render () {\n const { children, disableHeight, disableWidth } = this.props\n const { height, width } = this.state\n\n // Outer div should not force width/height since that may prevent containers from shrinking.\n // Inner component should overflow and use calculated width/height.\n // See issue #68 for more information.\n const outerStyle = { overflow: 'visible' }\n\n if (!disableHeight) {\n outerStyle.height = 0\n }\n\n if (!disableWidth) {\n outerStyle.width = 0\n }\n\n return (\n \n {children({ height, width })}\n \n )\n }\n\n _onResize () {\n const { onResize } = this.props\n const { height, width } = this._parentNode.getBoundingClientRect()\n\n const style = getComputedStyle(this._parentNode)\n const paddingLeft = parseInt(style.paddingLeft, 10)\n const paddingRight = parseInt(style.paddingRight, 10)\n const paddingTop = parseInt(style.paddingTop, 10)\n const paddingBottom = parseInt(style.paddingBottom, 10)\n\n this.setState({\n height: height - paddingTop - paddingBottom,\n width: width - paddingLeft - paddingRight\n })\n\n onResize({ height, width })\n }\n\n _setRef (autoSizer) {\n // In case the component has been unmounted\n this._parentNode = autoSizer && autoSizer.parentNode\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/AutoSizer.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}\n ** module id = 3\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shouldPureComponentUpdate;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _shallowEqual = require('./shallowEqual');\n\nvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\nfunction shouldPureComponentUpdate(nextProps, nextState) {\n return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/function.js\n ** module id = 4\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shallowEqual;\n\nfunction shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n for (var i = 0; i < keysA.length; i++) {\n if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/shallowEqual.js\n ** module id = 5\n ** module chunks = 0\n **/","/**\n* Detect Element Resize.\n* Forked in order to guard against unsafe 'window' and 'document' references.\n*\n* https://github.com/sdecima/javascript-detect-element-resize\n* Sebastian Decima\n*\n* version: 0.5.3\n**/\n\n// Check `document` and `window` in case of server-side rendering\nvar _window\nif (typeof window !== 'undefined') {\n _window = window\n} else if (typeof self !== 'undefined') {\n _window = self\n} else {\n _window = this\n}\n\nvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\nvar stylesCreated = false;\n\nif (!attachEvent) {\n var requestFrame = (function(){\n var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame ||\n function(fn){ return _window.setTimeout(fn, 20); };\n return function(fn){ return raf(fn); };\n })();\n\n var cancelFrame = (function(){\n var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame ||\n _window.clearTimeout;\n return function(id){ return cancel(id); };\n })();\n\n var resetTriggers = function(element){\n var triggers = element.__resizeTriggers__,\n expand = triggers.firstElementChild,\n contract = triggers.lastElementChild,\n expandChild = expand.firstElementChild;\n contract.scrollLeft = contract.scrollWidth;\n contract.scrollTop = contract.scrollHeight;\n expandChild.style.width = expand.offsetWidth + 1 + 'px';\n expandChild.style.height = expand.offsetHeight + 1 + 'px';\n expand.scrollLeft = expand.scrollWidth;\n expand.scrollTop = expand.scrollHeight;\n };\n\n var checkTriggers = function(element){\n return element.offsetWidth != element.__resizeLast__.width ||\n element.offsetHeight != element.__resizeLast__.height;\n }\n\n var scrollListener = function(e){\n var element = this;\n resetTriggers(this);\n if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n this.__resizeRAF__ = requestFrame(function(){\n if (checkTriggers(element)) {\n element.__resizeLast__.width = element.offsetWidth;\n element.__resizeLast__.height = element.offsetHeight;\n element.__resizeListeners__.forEach(function(fn){\n fn.call(element, e);\n });\n }\n });\n };\n\n /* Detect CSS Animations support to detect element display/re-attach */\n var animation = false,\n animationstring = 'animation',\n keyframeprefix = '',\n animationstartevent = 'animationstart',\n domPrefixes = 'Webkit Moz O ms'.split(' '),\n startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n pfx = '';\n {\n var elm = document.createElement('fakeelement');\n if( elm.style.animationName !== undefined ) { animation = true; }\n\n if( animation === false ) {\n for( var i = 0; i < domPrefixes.length; i++ ) {\n if( elm.style[ domPrefixes[i] + 'AnimationName' ] !== undefined ) {\n pfx = domPrefixes[ i ];\n animationstring = pfx + 'Animation';\n keyframeprefix = '-' + pfx.toLowerCase() + '-';\n animationstartevent = startEvents[ i ];\n animation = true;\n break;\n }\n }\n }\n }\n\n var animationName = 'resizeanim';\n var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n}\n\nvar createStyles = function() {\n if (!stylesCreated) {\n //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n var css = (animationKeyframes ? animationKeyframes : '') +\n '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' +\n '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n head = document.head || document.getElementsByTagName('head')[0],\n style = document.createElement('style');\n\n style.type = 'text/css';\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n\n head.appendChild(style);\n stylesCreated = true;\n }\n}\n\nvar addResizeListener = function(element, fn){\n if (attachEvent) element.attachEvent('onresize', fn);\n else {\n if (!element.__resizeTriggers__) {\n if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n createStyles();\n element.__resizeLast__ = {};\n element.__resizeListeners__ = [];\n (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n element.__resizeTriggers__.innerHTML = '
' +\n '
';\n element.appendChild(element.__resizeTriggers__);\n resetTriggers(element);\n element.addEventListener('scroll', scrollListener, true);\n\n /* Listen for a css animation to detect element display/re-attach */\n animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function(e) {\n if(e.animationName == animationName)\n resetTriggers(element);\n });\n }\n element.__resizeListeners__.push(fn);\n }\n};\n\nvar removeResizeListener = function(element, fn){\n if (attachEvent) element.detachEvent('onresize', fn);\n else {\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n if (!element.__resizeListeners__.length) {\n element.removeEventListener('scroll', scrollListener);\n element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n }\n }\n}\n\nmodule.exports = {\n addResizeListener : addResizeListener,\n removeResizeListener : removeResizeListener\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/vendor/detectElementResize.js\n **/","/** @flow */\nexport default from './ColumnSizer'\nexport ColumnSizer from './ColumnSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/index.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport Grid from '../Grid'\n\n/**\n * High-order component that auto-calculates column-widths for `Grid` cells.\n */\nexport default class ColumnSizer extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering a virtualized Grid.\n * This function should implement the following signature:\n * ({ adjustedWidth, getColumnWidth, registerChild }) => PropTypes.element\n *\n * The specified :getColumnWidth function should be passed to the Grid's :columnWidth property.\n * The :registerChild should be passed to the Grid's :ref property.\n * The :adjustedWidth property is optional; it reflects the lesser of the overall width or the width of all columns.\n */\n children: PropTypes.func.isRequired,\n\n /** Optional maximum allowed column width */\n columnMaxWidth: PropTypes.number,\n\n /** Optional minimum allowed column width */\n columnMinWidth: PropTypes.number,\n\n /** Number of columns in Grid or FlexTable child */\n columnsCount: PropTypes.number.isRequired,\n\n /** Width of Grid or FlexTable child */\n width: PropTypes.number.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._registerChild = this._registerChild.bind(this)\n }\n\n componentDidUpdate (prevProps, prevState) {\n const {\n columnMaxWidth,\n columnMinWidth,\n columnsCount,\n width\n } = this.props\n\n if (\n columnMaxWidth !== prevProps.columnMaxWidth ||\n columnMinWidth !== prevProps.columnMinWidth ||\n columnsCount !== prevProps.columnsCount ||\n width !== prevProps.width\n ) {\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n }\n\n render () {\n const {\n children,\n columnMaxWidth,\n columnMinWidth,\n columnsCount,\n width\n } = this.props\n\n const safeColumnMinWidth = columnMinWidth || 1\n\n const safeColumnMaxWidth = columnMaxWidth\n ? Math.min(columnMaxWidth, width)\n : width\n\n let columnWidth = width / columnsCount\n columnWidth = Math.max(safeColumnMinWidth, columnWidth)\n columnWidth = Math.min(safeColumnMaxWidth, columnWidth)\n columnWidth = Math.floor(columnWidth)\n\n let adjustedWidth = Math.min(width, columnWidth * columnsCount)\n\n return children({\n adjustedWidth,\n getColumnWidth: () => columnWidth,\n registerChild: this._registerChild\n })\n }\n\n _registerChild (child) {\n if (child !== null && !(child instanceof Grid)) {\n throw Error('Unexpected child type registered; only Grid children are supported.')\n }\n\n this._registeredChild = child\n\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/ColumnSizer.js\n **/","/** @flow */\nexport default from './Grid'\nexport Grid from './Grid'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/index.js\n **/","/** @flow */\nimport {\n computeCellMetadataAndUpdateScrollOffsetHelper,\n createCallbackMemoizer,\n getOverscanIndices,\n getUpdatedOffsetForIndex,\n getVisibleCellIndices,\n initCellMetadata,\n updateScrollIndexHelper\n} from '../utils'\nimport cn from 'classnames'\nimport raf from 'raf'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nconst IS_SCROLLING_TIMEOUT = 150\n\n/**\n * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nconst SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n}\n\n/**\n * Renders tabular data with virtualization along the vertical and horizontal axes.\n * Row heights and column widths must be known ahead of time and specified as properties.\n */\nexport default class Grid extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Optional custom CSS class name to attach to root Grid element.\n */\n className: PropTypes.string,\n\n /**\n * Number of columns in grid.\n */\n columnsCount: PropTypes.number.isRequired,\n\n /**\n * Either a fixed column width (number) or a function that returns the width of a column given its index.\n * Should implement the following interface: (index: number): number\n */\n columnWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Height of Grid; this property determines the number of visible (vs virtualized) rows.\n */\n height: PropTypes.number.isRequired,\n\n /**\n * Optional renderer to be used in place of rows when either :rowsCount or :columnsCount is 0.\n */\n noContentRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the section of the Grid that was just rendered.\n * ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }): void\n */\n onSectionRendered: PropTypes.func.isRequired,\n\n /**\n * Number of columns to render before/after the visible section of the grid.\n * These columns can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanColumnsCount: PropTypes.number.isRequired,\n\n /**\n * Number of rows to render above/below the visible section of the grid.\n * These rows can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Responsible for rendering a cell given an row and column index.\n * Should implement the following interface: ({ columnIndex: number, rowIndex: number }): PropTypes.node\n */\n renderCell: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * Should implement the following interface: (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Number of rows in grid.\n */\n rowsCount: PropTypes.number.isRequired,\n\n /** Horizontal offset. */\n scrollLeft: PropTypes.number,\n\n /**\n * Column index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToColumn: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Row index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToRow: PropTypes.number,\n\n /**\n * Width of Grid; this property determines the number of visible (vs virtualized) columns.\n */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n noContentRenderer: () => null,\n onScroll: () => null,\n onSectionRendered: () => null,\n overscanColumnsCount: 0,\n overscanRowsCount: 10\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n computeGridMetadataOnNextUpdate: false,\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n }\n\n // Invokes onSectionRendered callback only when start/stop row or column indices change\n this._onGridRenderedMemoizer = createCallbackMemoizer()\n this._onScrollMemoizer = createCallbackMemoizer(false)\n\n // Bind functions to instance so they don't lose context when passed around\n this._computeGridMetadata = this._computeGridMetadata.bind(this)\n this._invokeOnGridRenderedHelper = this._invokeOnGridRenderedHelper.bind(this)\n this._onKeyPress = this._onKeyPress.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._updateScrollLeftForScrollToColumn = this._updateScrollLeftForScrollToColumn.bind(this)\n this._updateScrollTopForScrollToRow = this._updateScrollTopForScrollToRow.bind(this)\n }\n\n /**\n * Forced recompute of row heights and column widths.\n * This function should be called if dynamic column or row sizes have changed but nothing else has.\n * Since Grid only receives :columnsCount and :rowsCount it has no way of detecting when the underlying data changes.\n */\n recomputeGridSize () {\n this.setState({\n computeGridMetadataOnNextUpdate: true\n })\n }\n\n /**\n * Updates the Grid to ensure the cell at the specified row and column indices is visible.\n * This method exists so that a user can forcefully scroll to the same cell twice.\n * (The :scrollToColumn and :scrollToRow properties would not change in that case so it would not be picked up by the component.)\n */\n scrollToCell ({ scrollToColumn, scrollToRow }) {\n this._updateScrollLeftForScrollToColumn(scrollToColumn)\n this._updateScrollTopForScrollToRow(scrollToRow)\n }\n\n /**\n * Set the :scrollLeft and :scrollTop position within the inner scroll container.\n * Normally it is best to let Grid manage these properties or to use a method like :scrollToCell.\n * This method enables Grid to be scroll-synced to another react-virtualized component though.\n * It is appropriate to use in that case.\n */\n setScrollPosition ({ scrollLeft, scrollTop }) {\n const newState = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n }\n\n if (scrollLeft >= 0) {\n newState.scrollLeft = scrollLeft\n }\n\n if (scrollTop >= 0) {\n newState.scrollTop = scrollTop\n }\n\n if (\n scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft ||\n scrollTop >= 0 && scrollTop !== this.state.scrollTop\n ) {\n this.setState(newState)\n }\n }\n\n componentDidMount () {\n const { scrollLeft, scrollToColumn, scrollTop, scrollToRow } = this.props\n\n if (scrollLeft >= 0 || scrollTop >= 0) {\n this.setScrollPosition({ scrollLeft, scrollTop })\n }\n\n if (scrollToColumn >= 0 || scrollToRow >= 0) {\n // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n this._setImmediateId = setImmediate(() => {\n this._setImmediateId = null\n this._updateScrollLeftForScrollToColumn()\n this._updateScrollTopForScrollToRow()\n })\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper()\n }\n\n componentDidUpdate (prevProps, prevState) {\n const { columnsCount, columnWidth, height, rowHeight, rowsCount, scrollToColumn, scrollToRow, width } = this.props\n const { scrollLeft, scrollPositionChangeReason, scrollTop } = this.state\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n if (\n scrollLeft >= 0 &&\n scrollLeft !== prevState.scrollLeft &&\n scrollLeft !== this.refs.scrollingContainer.scrollLeft\n ) {\n this.refs.scrollingContainer.scrollLeft = scrollLeft\n }\n if (\n scrollTop >= 0 &&\n scrollTop !== prevState.scrollTop &&\n scrollTop !== this.refs.scrollingContainer.scrollTop\n ) {\n this.refs.scrollingContainer.scrollTop = scrollTop\n }\n }\n\n // Update scrollLeft if appropriate\n updateScrollIndexHelper({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n cellSize: columnWidth,\n previousCellsCount: prevProps.columnsCount,\n previousCellSize: prevProps.columnWidth,\n previousScrollToIndex: prevProps.scrollToColumn,\n previousSize: prevProps.width,\n scrollOffset: scrollLeft,\n scrollToIndex: scrollToColumn,\n size: width,\n updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n })\n\n // Update scrollTop if appropriate\n updateScrollIndexHelper({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n cellSize: rowHeight,\n previousCellsCount: prevProps.rowsCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToIndex: prevProps.scrollToRow,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToIndex: scrollToRow,\n size: height,\n updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n })\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnGridRenderedHelper()\n }\n\n componentWillMount () {\n this._computeGridMetadata(this.props)\n }\n\n componentWillUnmount () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n if (this._setImmediateId) {\n clearImmediate(this._setImmediateId)\n }\n\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (\n nextProps.columnsCount === 0 &&\n nextState.scrollLeft !== 0\n ) {\n this.setScrollPosition({ scrollLeft: 0 })\n }\n\n if (\n nextProps.rowsCount === 0 &&\n nextState.scrollTop !== 0\n ) {\n this.setScrollPosition({ scrollTop: 0 })\n }\n\n if (nextProps.scrollLeft !== this.props.scrollLeft) {\n this.setScrollPosition({ scrollLeft: nextProps.scrollLeft })\n }\n\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollPosition({ scrollTop: nextProps.scrollTop })\n }\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.columnsCount,\n cellSize: this.props.columnWidth,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.columnsCount,\n nextCellSize: nextProps.columnWidth,\n nextScrollToIndex: nextProps.scrollToColumn,\n scrollToIndex: this.props.scrollToColumn,\n updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n })\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.rowsCount,\n cellSize: this.props.rowHeight,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.rowsCount,\n nextCellSize: nextProps.rowHeight,\n nextScrollToIndex: nextProps.scrollToRow,\n scrollToIndex: this.props.scrollToRow,\n updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n })\n\n this.setState({\n computeGridMetadataOnNextUpdate: false\n })\n }\n\n render () {\n const {\n className,\n columnsCount,\n height,\n noContentRenderer,\n overscanColumnsCount,\n overscanRowsCount,\n renderCell,\n rowsCount,\n width\n } = this.props\n\n const {\n isScrolling,\n scrollLeft,\n scrollTop\n } = this.state\n\n let childrenToDisplay = []\n\n // Render only enough columns and rows to cover the visible area of the grid.\n if (height > 0 && width > 0) {\n let {\n start: columnStartIndex,\n stop: columnStopIndex\n } = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n })\n\n let {\n start: rowStartIndex,\n stop: rowStopIndex\n } = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n })\n\n // Store for :onSectionRendered callback in componentDidUpdate\n this._renderedColumnStartIndex = columnStartIndex\n this._renderedColumnStopIndex = columnStopIndex\n this._renderedRowStartIndex = rowStartIndex\n this._renderedRowStopIndex = rowStopIndex\n\n const overscanColumnIndices = getOverscanIndices({\n cellsCount: columnsCount,\n overscanCellsCount: overscanColumnsCount,\n startIndex: columnStartIndex,\n stopIndex: columnStopIndex\n })\n\n const overscanRowIndices = getOverscanIndices({\n cellsCount: rowsCount,\n overscanCellsCount: overscanRowsCount,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })\n\n columnStartIndex = overscanColumnIndices.overscanStartIndex\n columnStopIndex = overscanColumnIndices.overscanStopIndex\n rowStartIndex = overscanRowIndices.overscanStartIndex\n rowStopIndex = overscanRowIndices.overscanStopIndex\n\n for (let rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n let rowDatum = this._rowMetadata[rowIndex]\n\n for (let columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n let columnDatum = this._columnMetadata[columnIndex]\n let renderedCell = renderCell({ columnIndex, rowIndex })\n let key = `${rowIndex}-${columnIndex}`\n let child = (\n \n {renderedCell}\n \n )\n\n childrenToDisplay.push(child)\n }\n }\n }\n\n const gridStyle = {\n height: height,\n width: width\n }\n\n const totalColumnsWidth = this._getTotalColumnsWidth()\n const totalRowsHeight = this._getTotalRowsHeight()\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n if (totalColumnsWidth <= width) {\n gridStyle.overflowX = 'hidden'\n }\n\n if (totalRowsHeight <= height) {\n gridStyle.overflowY = 'hidden'\n }\n\n return (\n \n {childrenToDisplay.length > 0 &&\n \n {childrenToDisplay}\n \n }\n {childrenToDisplay.length === 0 &&\n noContentRenderer()\n }\n \n )\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n _computeGridMetadata (props) {\n const { columnsCount, columnWidth, rowHeight, rowsCount } = props\n\n this._columnMetadata = initCellMetadata({\n cellsCount: columnsCount,\n size: columnWidth\n })\n this._rowMetadata = initCellMetadata({\n cellsCount: rowsCount,\n size: rowHeight\n })\n }\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the Grid.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n _enablePointerEventsAfterDelay () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n this._disablePointerEventsTimeoutId = setTimeout(() => {\n this._disablePointerEventsTimeoutId = null\n this.setState({\n isScrolling: false\n })\n }, IS_SCROLLING_TIMEOUT)\n }\n\n _getColumnWidth (index) {\n const { columnWidth } = this.props\n\n return columnWidth instanceof Function\n ? columnWidth(index)\n : columnWidth\n }\n\n _getRowHeight (index) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(index)\n : rowHeight\n }\n\n _getTotalColumnsWidth () {\n if (this._columnMetadata.length === 0) {\n return 0\n }\n\n const datum = this._columnMetadata[this._columnMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _getTotalRowsHeight () {\n if (this._rowMetadata.length === 0) {\n return 0\n }\n\n const datum = this._rowMetadata[this._rowMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _invokeOnGridRenderedHelper () {\n const { columnsCount, onSectionRendered, overscanColumnsCount, overscanRowsCount, rowsCount } = this.props\n\n const {\n overscanStartIndex: columnOverscanStartIndex,\n overscanStopIndex: columnOverscanStopIndex\n } = getOverscanIndices({\n cellsCount: columnsCount,\n overscanCellsCount: overscanColumnsCount,\n startIndex: this._renderedColumnStartIndex,\n stopIndex: this._renderedColumnStopIndex\n })\n\n const {\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex\n } = getOverscanIndices({\n cellsCount: rowsCount,\n overscanCellsCount: overscanRowsCount,\n startIndex: this._renderedRowStartIndex,\n stopIndex: this._renderedRowStopIndex\n })\n\n this._onGridRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n columnOverscanStartIndex,\n columnOverscanStopIndex,\n columnStartIndex: this._renderedColumnStartIndex,\n columnStopIndex: this._renderedColumnStopIndex,\n rowOverscanStartIndex,\n rowOverscanStopIndex,\n rowStartIndex: this._renderedRowStartIndex,\n rowStopIndex: this._renderedRowStopIndex\n }\n })\n }\n\n /**\n * Updates the state during the next animation frame.\n * Use this method to avoid multiple renders in a small span of time.\n * This helps performance for bursty events (like onScroll).\n */\n _setNextState (state) {\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n\n this._setNextStateAnimationFrameId = raf(() => {\n this._setNextStateAnimationFrameId = null\n this.setState(state)\n })\n }\n\n _stopEvent (event) {\n event.preventDefault()\n }\n\n _updateScrollLeftForScrollToColumn (scrollToColumnOverride) {\n const scrollToColumn = scrollToColumnOverride != null\n ? scrollToColumnOverride\n : this.props.scrollToColumn\n\n const { width } = this.props\n const { scrollLeft } = this.state\n\n if (scrollToColumn >= 0) {\n const calculatedScrollLeft = getUpdatedOffsetForIndex({\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft,\n targetIndex: scrollToColumn\n })\n\n if (scrollLeft !== calculatedScrollLeft) {\n this.setScrollPosition({\n scrollLeft: calculatedScrollLeft\n })\n }\n }\n }\n\n _updateScrollTopForScrollToRow (scrollToRowOverride) {\n const scrollToRow = scrollToRowOverride != null\n ? scrollToRowOverride\n : this.props.scrollToRow\n\n const { height } = this.props\n const { scrollTop } = this.state\n\n if (scrollToRow >= 0) {\n const calculatedScrollTop = getUpdatedOffsetForIndex({\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex: scrollToRow\n })\n\n if (scrollTop !== calculatedScrollTop) {\n this.setScrollPosition({\n scrollTop: calculatedScrollTop\n })\n }\n }\n }\n\n /* ---------------------------- Event handlers ---------------------------- */\n\n _onKeyPress (event) {\n const { columnsCount, height, rowsCount, width } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n let start, datum, newScrollLeft, newScrollTop\n\n if (columnsCount === 0 || rowsCount === 0) {\n return\n }\n\n switch (event.key) {\n case 'ArrowDown':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n datum = this._rowMetadata[start]\n newScrollTop = Math.min(\n this._getTotalRowsHeight() - height,\n scrollTop + datum.size\n )\n\n this.setScrollPosition({\n scrollTop: newScrollTop\n })\n break\n case 'ArrowLeft':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n\n this.scrollToCell({\n scrollToColumn: Math.max(0, start - 1),\n scrollToRow: this.props.scrollToRow\n })\n break\n case 'ArrowRight':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n datum = this._columnMetadata[start]\n newScrollLeft = Math.min(\n this._getTotalColumnsWidth() - width,\n scrollLeft + datum.size\n )\n\n this.setScrollPosition({\n scrollLeft: newScrollLeft\n })\n break\n case 'ArrowUp':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n\n this.scrollToCell({\n scrollToColumn: this.props.scrollToColumn,\n scrollToRow: Math.max(0, start - 1)\n })\n break\n }\n }\n\n _onScroll (event) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target !== this.refs.scrollingContainer) {\n return\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._enablePointerEventsAfterDelay()\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n const { height, onScroll, width } = this.props\n const totalRowsHeight = this._getTotalRowsHeight()\n const totalColumnsWidth = this._getTotalColumnsWidth()\n const scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft)\n const scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop)\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (\n this.state.scrollLeft !== scrollLeft ||\n this.state.scrollTop !== scrollTop\n ) {\n // Browsers with cancelable scroll events (eg. Firefox) interrupt scrolling animations if scrollTop/scrollLeft is set.\n // Other browsers (eg. Safari) don't scroll as well without the help under certain conditions (DOM or style changes during scrolling).\n // All things considered, this seems to be the best current work around that I'm aware of.\n // For more information see https://github.com/bvaughn/react-virtualized/pull/124\n const scrollPositionChangeReason = event.cancelable\n ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED\n : SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\n if (!this.state.isScrolling) {\n this.setState({\n isScrolling: true\n })\n }\n\n this._setNextState({\n isScrolling: true,\n scrollLeft,\n scrollPositionChangeReason,\n scrollTop\n })\n }\n\n this._onScrollMemoizer({\n callback: ({ scrollLeft, scrollTop }) => {\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalRowsHeight,\n scrollLeft,\n scrollTop,\n scrollWidth: totalColumnsWidth\n })\n },\n indices: {\n scrollLeft,\n scrollTop\n }\n })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/Grid.js\n **/","var nextTick = require('process/browser.js').nextTick;\nvar apply = Function.prototype.apply;\nvar slice = Array.prototype.slice;\nvar immediateIds = {};\nvar nextImmediateId = 0;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) { timeout.close(); };\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(window, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// That's not how node.js implements it but the exposed api is the same.\nexports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n var id = nextImmediateId++;\n var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\n immediateIds[id] = true;\n\n nextTick(function onNextTick() {\n if (immediateIds[id]) {\n // fn.call() is faster so we optimize for the common use-case\n // @see http://jsperf.com/call-apply-segu\n if (args) {\n fn.apply(null, args);\n } else {\n fn.call(null);\n }\n // Prevent ids from leaking\n exports.clearImmediate(id);\n }\n });\n\n return id;\n};\n\nexports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n delete immediateIds[id];\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/main.js\n ** module id = 11\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/~/process/browser.js\n ** module id = 12\n ** module chunks = 0\n **/","/**\n * Helper method that determines when to recalculate row or column metadata.\n *\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param computeMetadataCallback Method to invoke if cell metadata should be recalculated\n * @param computeMetadataCallbackProps Parameters to pass to :computeMetadataCallback\n * @param computeMetadataOnNextUpdate Flag specifying that metadata should be recalculated\n * @param nextCellsCount Newly updated number of rows or columns in the current axis\n * @param nextCellsSize Newly updated width or height of cells for the current axis\n * @param nextScrollToIndex Newly updated scroll-to-index\n * @param scrollToIndex Scroll-to-index\n * @param updateScrollOffsetForScrollToIndex Callback to invoke if the scroll position should be recalculated\n */\nexport function computeCellMetadataAndUpdateScrollOffsetHelper ({\n cellsCount,\n cellSize,\n computeMetadataCallback,\n computeMetadataCallbackProps,\n computeMetadataOnNextUpdate,\n nextCellsCount,\n nextCellSize,\n nextScrollToIndex,\n scrollToIndex,\n updateScrollOffsetForScrollToIndex\n}) {\n // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n // In that event users should use the manual recompute methods to inform of changes.\n if (\n computeMetadataOnNextUpdate ||\n cellsCount !== nextCellsCount ||\n (\n (\n typeof cellSize === 'number' ||\n typeof nextCellSize === 'number'\n ) &&\n cellSize !== nextCellSize\n )\n ) {\n computeMetadataCallback(computeMetadataCallbackProps)\n\n // Updated cell metadata may have hidden the previous scrolled-to item.\n // In this case we should also update the scrollTop to ensure it stays visible.\n if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n updateScrollOffsetForScrollToIndex()\n }\n }\n}\n\n/**\n * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n */\nexport function createCallbackMemoizer (requireAllKeys = true) {\n let cachedIndices = {}\n\n return ({\n callback,\n indices\n }) => {\n const keys = Object.keys(indices)\n const allInitialized = !requireAllKeys || keys.every(key => indices[key] >= 0)\n const indexChanged = keys.some(key => cachedIndices[key] !== indices[key])\n\n cachedIndices = indices\n\n if (allInitialized && indexChanged) {\n callback(indices)\n }\n }\n}\n\n/**\n * Binary search function inspired by react-infinite.\n */\nexport function findNearestCell ({\n cellMetadata,\n mode,\n offset\n}) {\n let high = cellMetadata.length - 1\n let low = 0\n let middle\n let currentOffset\n\n // TODO Add better guards here against NaN offset\n\n while (low <= high) {\n middle = low + Math.floor((high - low) / 2)\n currentOffset = cellMetadata[middle].offset\n\n if (currentOffset === offset) {\n return middle\n } else if (currentOffset < offset) {\n low = middle + 1\n } else if (currentOffset > offset) {\n high = middle - 1\n }\n }\n\n if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n return low - 1\n } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n return high + 1\n }\n}\n\nfindNearestCell.EQUAL_OR_LOWER = 1\nfindNearestCell.EQUAL_OR_HIGHER = 2\n\nexport function getOverscanIndices ({ cellsCount, overscanCellsCount, startIndex, stopIndex }) {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellsCount - 1, stopIndex + overscanCellsCount)\n }\n}\n\n/**\n * Determines a new offset that ensures a certain cell is visible, given the current offset.\n * If the cell is already visible then the current offset will be returned.\n * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @param targetIndex Index of target cell\n * @return Offset to use to ensure the specified cell is visible\n */\nexport function getUpdatedOffsetForIndex ({\n cellMetadata,\n containerSize,\n currentOffset,\n targetIndex\n}) {\n if (cellMetadata.length === 0) {\n return 0\n }\n\n targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex))\n\n const datum = cellMetadata[targetIndex]\n const maxOffset = datum.offset\n const minOffset = maxOffset - containerSize + datum.size\n const newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset))\n\n return newOffset\n}\n\n/**\n * Determines the range of cells to display for a given offset in order to fill the specified container.\n *\n * @param cellsCount Total number of cells.\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @return An object containing :start and :stop attributes, each specifying a cell index\n */\nexport function getVisibleCellIndices ({\n cellsCount,\n cellMetadata,\n containerSize,\n currentOffset\n}) {\n if (cellsCount === 0) {\n return {}\n }\n\n currentOffset = Math.max(0, currentOffset)\n\n const maxOffset = currentOffset + containerSize\n\n // TODO Add better guards here against NaN offset\n\n let start = findNearestCell({\n cellMetadata,\n mode: findNearestCell.EQUAL_OR_LOWER,\n offset: currentOffset\n })\n\n let datum = cellMetadata[start]\n currentOffset = datum.offset + datum.size\n\n let stop = start\n\n while (currentOffset < maxOffset && stop < cellsCount - 1) {\n stop++\n\n currentOffset += cellMetadata[stop].size\n }\n\n return {\n start,\n stop\n }\n}\n\n/**\n * Initializes metadata for an axis and its cells.\n * This data is used to determine which cells are visible given a container size and scroll position.\n *\n * @param cellsCount Total number of cells.\n * @param size Either a fixed size or a function that returns the size for a given given an index.\n * @return Object mapping cell index to cell metadata (size, offset)\n */\nexport function initCellMetadata ({\n cellsCount,\n size\n}) {\n const sizeGetter = size instanceof Function\n ? size\n : index => size\n\n const cellMetadata = []\n let offset = 0\n\n for (var i = 0; i < cellsCount; i++) {\n let size = sizeGetter(i)\n\n if (size == null || isNaN(size)) {\n throw Error(`Invalid size returned for cell ${i} of value ${size}`)\n }\n\n cellMetadata[i] = {\n size,\n offset\n }\n\n offset += size\n }\n\n return cellMetadata\n}\n\n/**\n * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param previousCellsCount Previous number of rows or columns\n * @param previousCellsSize Previous width or height of cells\n * @param previousScrollToIndex Previous scroll-to-index\n * @param previousSize Previous width or height of the virtualized container\n * @param scrollOffset Current scrollLeft or scrollTop\n * @param scrollToIndex Scroll-to-index\n * @param size Width or height of the virtualized container\n * @param updateScrollIndexCallback Callback to invoke with an optional scroll-to-index override\n */\nexport function updateScrollIndexHelper ({\n cellMetadata,\n cellsCount,\n cellSize,\n previousCellsCount,\n previousCellSize,\n previousScrollToIndex,\n previousSize,\n scrollOffset,\n scrollToIndex,\n size,\n updateScrollIndexCallback\n}) {\n const hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount\n const sizeHasChanged = (\n size !== previousSize ||\n !previousCellSize ||\n (\n typeof cellSize === 'number' &&\n cellSize !== previousCellSize\n )\n )\n\n // If we have a new scroll target OR if height/row-height has changed,\n // We should ensure that the scroll target is visible.\n if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n updateScrollIndexCallback()\n\n // If we don't have a selected item but list size or number of children have decreased,\n // Make sure we aren't scrolled too far past the current content.\n } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n const calculatedScrollOffset = getUpdatedOffsetForIndex({\n cellMetadata,\n containerSize: size,\n currentOffset: scrollOffset,\n targetIndex: cellsCount - 1\n })\n\n // Only adjust the scroll position if we've scrolled below the last set of rows.\n if (calculatedScrollOffset < scrollOffset) {\n updateScrollIndexCallback(cellsCount - 1)\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/utils.js\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 14\n ** module chunks = 0\n **/","var now = require('performance-now')\n , root = typeof window === 'undefined' ? global : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = root['request' + suffix]\n , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\nfor(var i = 0; !raf && i < vendors.length; i++) {\n raf = root[vendors[i] + 'Request' + suffix]\n caf = root[vendors[i] + 'Cancel' + suffix]\n || root[vendors[i] + 'CancelRequest' + suffix]\n}\n\n// Some versions of FF have rAF but not cAF\nif(!raf || !caf) {\n var last = 0\n , id = 0\n , queue = []\n , frameDuration = 1000 / 60\n\n raf = function(callback) {\n if(queue.length === 0) {\n var _now = now()\n , next = Math.max(0, frameDuration - (_now - last))\n last = next + _now\n setTimeout(function() {\n var cp = queue.slice(0)\n // Clear queue here to prevent\n // callbacks from appending listeners\n // to the current frame's queue\n queue.length = 0\n for(var i = 0; i < cp.length; i++) {\n if(!cp[i].cancelled) {\n try{\n cp[i].callback(last)\n } catch(e) {\n setTimeout(function() { throw e }, 0)\n }\n }\n }\n }, Math.round(next))\n }\n queue.push({\n handle: ++id,\n callback: callback,\n cancelled: false\n })\n return id\n }\n\n caf = function(handle) {\n for(var i = 0; i < queue.length; i++) {\n if(queue[i].handle === handle) {\n queue[i].cancelled = true\n }\n }\n }\n}\n\nmodule.exports = function(fn) {\n // Wrap in a new function to prevent\n // `cancel` potentially being assigned\n // to the native rAF function\n return raf.call(root, fn)\n}\nmodule.exports.cancel = function() {\n caf.apply(root, arguments)\n}\nmodule.exports.polyfill = function() {\n root.requestAnimationFrame = raf\n root.cancelAnimationFrame = caf\n}\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/raf/index.js\n ** module id = 15\n ** module chunks = 0\n **/","// Generated by CoffeeScript 1.7.1\n(function() {\n var getNanoSeconds, hrtime, loadTime;\n\n if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n module.exports = function() {\n return performance.now();\n };\n } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n module.exports = function() {\n return (getNanoSeconds() - loadTime) / 1e6;\n };\n hrtime = process.hrtime;\n getNanoSeconds = function() {\n var hr;\n hr = hrtime();\n return hr[0] * 1e9 + hr[1];\n };\n loadTime = getNanoSeconds();\n } else if (Date.now) {\n module.exports = function() {\n return Date.now() - loadTime;\n };\n loadTime = Date.now();\n } else {\n module.exports = function() {\n return new Date().getTime() - loadTime;\n };\n loadTime = new Date().getTime();\n }\n\n}).call(this);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/performance-now/lib/performance-now.js\n ** module id = 16\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/node-libs-browser/~/process/browser.js\n ** module id = 17\n ** module chunks = 0\n **/","/* @flow */\nexport default from './FlexTable'\nexport FlexTable, { SortDirection, SortIndicator } from './FlexTable'\nexport FlexColumn from './FlexColumn'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/index.js\n **/","/** @flow */\nimport cn from 'classnames'\nimport FlexColumn from './FlexColumn'\nimport React, { Component, PropTypes } from 'react'\nimport { findDOMNode } from 'react-dom'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport Grid from '../Grid'\n\nexport const SortDirection = {\n /**\n * Sort items in ascending order.\n * This means arranging from the lowest value to the highest (e.g. a-z, 0-9).\n */\n ASC: 'ASC',\n\n /**\n * Sort items in descending order.\n * This means arranging from the highest value to the lowest (e.g. z-a, 9-0).\n */\n DESC: 'DESC'\n}\n\n/**\n * Table component with fixed headers and virtualized rows for improved performance with large data sets.\n * This component expects explicit width, height, and padding parameters.\n */\nexport default class FlexTable extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** One or more FlexColumns describing the data displayed in this row */\n children: (props, propName, componentName) => {\n const children = React.Children.toArray(props.children)\n for (let i = 0; i < children.length; i++) {\n if (children[i].type !== FlexColumn) {\n return new Error(`FlexTable only accepts children of type FlexColumn`)\n }\n }\n },\n\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /** Disable rendering the header at all */\n disableHeader: PropTypes.bool,\n\n /** Optional CSS class to apply to all column headers */\n headerClassName: PropTypes.string,\n\n /** Fixed height of header row */\n headerHeight: PropTypes.number.isRequired,\n\n /** Fixed/available height for out DOM element */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of table body rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func,\n\n /**\n * Optional callback when a column's header is clicked.\n * (dataKey: string): void\n */\n onHeaderClick: PropTypes.func,\n\n /**\n * Callback invoked when a user clicks on a table row.\n * (rowIndex: number): void\n */\n onRowClick: PropTypes.func,\n\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Optional CSS class to apply to all table rows (including the header row).\n * This property can be a CSS class name (string) or a function that returns a class name.\n * If a function is provided its signature should be: (rowIndex: number): string\n */\n rowClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /**\n * Callback responsible for returning a data row given an index.\n * (index: number): any\n */\n rowGetter: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Number of rows in table. */\n rowsCount: PropTypes.number.isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Sort function to be called if a sortable header is clicked.\n * (dataKey: string, sortDirection: SortDirection): void\n */\n sort: PropTypes.func,\n\n /** FlexTable data is currently sorted by this :dataKey (if it is sorted at all) */\n sortBy: PropTypes.string,\n\n /** FlexTable data is currently sorted in this direction (if it is sorted at all) */\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n disableHeader: false,\n headerHeight: 0,\n noRowsRenderer: () => null,\n onHeaderClick: () => null,\n onRowClick: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowsCount: 10\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n scrollbarWidth: 0\n }\n\n this._createRow = this._createRow.bind(this)\n }\n\n /**\n * See Grid#recomputeGridSize\n */\n recomputeRowHeights () {\n this.refs.Grid.recomputeGridSize()\n }\n\n /**\n * See Grid#scrollToIndex\n */\n scrollToRow (scrollToIndex) {\n this.refs.Grid.scrollToCell({\n scrollToColumn: 0,\n scrollToRow: scrollToIndex\n })\n }\n\n /**\n * See Grid#setScrollPosition\n */\n setScrollTop (scrollTop) {\n this.refs.Grid.setScrollPosition({\n scrollLeft: 0,\n scrollTop\n })\n }\n\n componentDidMount () {\n const { scrollTop } = this.props\n\n if (scrollTop >= 0) {\n this.setScrollTop(scrollTop)\n }\n\n this._setScrollbarWidth()\n }\n\n componentDidUpdate () {\n this._setScrollbarWidth()\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollTop(nextProps.scrollTop)\n }\n }\n\n render () {\n const {\n className,\n disableHeader,\n headerHeight,\n height,\n noRowsRenderer,\n onRowsRendered,\n onScroll,\n overscanRowsCount,\n rowClassName,\n rowHeight,\n rowsCount,\n scrollToIndex,\n width\n } = this.props\n const { scrollbarWidth } = this.state\n\n const availableRowsHeight = height - headerHeight\n\n // This row-renderer wrapper function is necessary in order to trigger re-render when the\n // sort-by or sort-direction have changed (else Grid will not see any props changes)\n const rowRenderer = index => {\n return this._createRow(index)\n }\n\n const rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName\n\n return (\n \n {!disableHeader && (\n \n {this._getRenderedHeaderRow()}\n \n )}\n\n onScroll({ clientHeight, scrollHeight, scrollTop })}\n onSectionRendered={({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) => onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })}\n overscanRowsCount={overscanRowsCount}\n renderCell={({ columnIndex, rowIndex }) => rowRenderer(rowIndex)}\n rowHeight={rowHeight}\n rowsCount={rowsCount}\n scrollToRow={scrollToIndex}\n width={width}\n />\n \n )\n }\n\n _createColumn (column, columnIndex, rowData, rowIndex) {\n const {\n cellClassName,\n cellDataGetter,\n columnData,\n dataKey,\n cellRenderer\n } = column.props\n const cellData = cellDataGetter(dataKey, rowData, columnData)\n const renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData)\n\n const style = this._getFlexStyleForColumn(column)\n\n const title = typeof renderedCell === 'string'\n ? renderedCell\n : null\n\n return (\n \n \n {renderedCell}\n \n \n )\n }\n\n _createHeader (column, columnIndex) {\n const { headerClassName, onHeaderClick, sort, sortBy, sortDirection } = this.props\n const { dataKey, disableSort, label, columnData } = column.props\n const showSortIndicator = sortBy === dataKey\n const sortEnabled = !disableSort && sort\n\n const classNames = cn(\n 'FlexTable__headerColumn',\n headerClassName,\n column.props.headerClassName,\n {\n 'FlexTable__sortableHeaderColumn': sortEnabled\n }\n )\n const style = this._getFlexStyleForColumn(column)\n\n // If this is a sortable header, clicking it should update the table data's sorting.\n const newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC\n ? SortDirection.ASC\n : SortDirection.DESC\n const onClick = () => {\n sortEnabled && sort(dataKey, newSortDirection)\n onHeaderClick(dataKey, columnData)\n }\n\n return (\n \n \n {label}\n \n {showSortIndicator &&\n \n }\n \n )\n }\n\n _createRow (rowIndex) {\n const {\n children,\n onRowClick,\n rowClassName,\n rowGetter\n } = this.props\n const { scrollbarWidth } = this.state\n\n const rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName\n\n const renderedRow = React.Children.map(\n children,\n (column, columnIndex) => this._createColumn(\n column,\n columnIndex,\n rowGetter(rowIndex),\n rowIndex\n )\n )\n\n return (\n onRowClick(rowIndex)}\n style={{\n height: this._getRowHeight(rowIndex),\n paddingRight: scrollbarWidth\n }}\n >\n {renderedRow}\n \n )\n }\n\n /**\n * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n */\n _getFlexStyleForColumn (column) {\n const flexValue = `${column.props.flexGrow} ${column.props.flexShrink} ${column.props.width}px`\n\n const style = {\n flex: flexValue,\n msFlex: flexValue,\n WebkitFlex: flexValue\n }\n\n if (column.props.maxWidth) {\n style.maxWidth = column.props.maxWidth\n }\n\n if (column.props.minWidth) {\n style.minWidth = column.props.minWidth\n }\n\n return style\n }\n\n _getRenderedHeaderRow () {\n const { children, disableHeader } = this.props\n const items = disableHeader ? [] : children\n return React.Children.map(items, (column, columnIndex) =>\n this._createHeader(column, columnIndex)\n )\n }\n\n _getRowHeight (rowIndex) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(rowIndex)\n : rowHeight\n }\n\n _setScrollbarWidth () {\n const Grid = findDOMNode(this.refs.Grid)\n const clientWidth = Grid.clientWidth || 0\n const offsetWidth = Grid.offsetWidth || 0\n const scrollbarWidth = offsetWidth - clientWidth\n\n this.setState({ scrollbarWidth })\n }\n}\n\n/**\n * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n */\nexport function SortIndicator ({ sortDirection }) {\n const classNames = cn('FlexTable__sortableHeaderIcon', {\n 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n })\n\n return (\n \n {sortDirection === SortDirection.ASC\n ? \n : \n }\n \n \n )\n}\nSortIndicator.propTypes = {\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexTable.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\n\n/**\n * Default cell renderer that displays an attribute as a simple string\n * You should override the column's cellRenderer if your data is some other type of object.\n */\nexport function defaultCellRenderer (\n cellData: any,\n cellDataKey: string,\n rowData: any,\n rowIndex: number,\n columnData: any\n): string {\n if (cellData === null || cellData === undefined) {\n return ''\n } else {\n return String(cellData)\n }\n}\n\n/**\n * Default accessor for returning a cell value for a given attribute.\n * This function expects to operate on either a vanilla Object or an Immutable Map.\n * You should override the column's cellDataGetter if your data is some other type of object.\n */\nexport function defaultCellDataGetter (\n dataKey: string,\n rowData: any,\n columnData: any\n) {\n if (rowData.get instanceof Function) {\n return rowData.get(dataKey)\n } else {\n return rowData[dataKey]\n }\n}\n\n/**\n * Describes the header and cell contents of a table column.\n */\nexport default class Column extends Component {\n\n static defaultProps = {\n cellDataGetter: defaultCellDataGetter,\n cellRenderer: defaultCellRenderer,\n flexGrow: 0,\n flexShrink: 1\n }\n\n static propTypes = {\n /** Optional CSS class to apply to cell */\n cellClassName: PropTypes.string,\n /**\n * Callback responsible for returning a cell's data, given its :dataKey\n * (dataKey: string, rowData: any): any\n */\n cellDataGetter: PropTypes.func,\n /**\n * Callback responsible for rendering a cell's contents.\n * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element\n */\n cellRenderer: PropTypes.func,\n /** Optional additional data passed to this column's :cellDataGetter */\n columnData: PropTypes.object,\n /** Uniquely identifies the row-data attribute correspnding to this cell */\n dataKey: PropTypes.any.isRequired,\n /** If sort is enabled for the table at large, disable it for this column */\n disableSort: PropTypes.bool,\n /** Flex grow style; defaults to 0 */\n flexGrow: PropTypes.number,\n /** Flex shrink style; defaults to 1 */\n flexShrink: PropTypes.number,\n /** Optional CSS class to apply to this column's header */\n headerClassName: PropTypes.string,\n /** Header label for this column */\n label: PropTypes.string,\n /** Maximum width of column; this property will only be used if :flexGrow is > 0. */\n maxWidth: PropTypes.number,\n /** Minimum width of column. */\n minWidth: PropTypes.number,\n /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */\n width: PropTypes.number.isRequired\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexColumn.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_21__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external {\"commonjs\":\"react-dom\",\"commonjs2\":\"react-dom\",\"amd\":\"react-dom\",\"root\":\"ReactDOM\"}\n ** module id = 21\n ** module chunks = 0\n **/","/** @flow */\nexport default from './InfiniteLoader'\nexport InfiniteLoader from './InfiniteLoader'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/index.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Higher-order component that manages lazy-loading for \"infinite\" data.\n * This component decorates a virtual component and just-in-time prefetches rows as a user scrolls.\n * It is intended as a convenience component; fork it if you'd like finer-grained control over data-loading.\n */\nexport default class InfiniteLoader extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering a virtualized component.\n * This function should implement the following signature:\n * ({ onRowsRendered, registerChild }) => PropTypes.element\n *\n * The specified :onRowsRendered function should be passed through to the child's :onRowsRendered property.\n * The :registerChild callback should be set as the virtualized component's :ref.\n */\n children: PropTypes.func.isRequired,\n\n /**\n * Function responsible for tracking the loaded state of each row.\n * It should implement the following signature: (index: number): boolean\n */\n isRowLoaded: PropTypes.func.isRequired,\n\n /**\n * Callback to be invoked when more rows must be loaded.\n * It should implement the following signature: ({ startIndex, stopIndex }): Promise\n * The returned Promise should be resolved once row data has finished loading.\n * It will be used to determine when to refresh the list with the newly-loaded data.\n * This callback may be called multiple times in reaction to a single scroll event.\n */\n loadMoreRows: PropTypes.func.isRequired,\n\n /**\n * Number of rows in list; can be arbitrary high number if actual number is unknown.\n */\n rowsCount: PropTypes.number.isRequired,\n\n /**\n * Threshold at which to pre-fetch data.\n * A threshold X means that data will start loading when a user scrolls within X rows.\n * This value defaults to 15.\n */\n threshold: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n rowsCount: 0,\n threshold: 15\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._onRowsRendered = this._onRowsRendered.bind(this)\n this._registerChild = this._registerChild.bind(this)\n }\n\n render () {\n const { children } = this.props\n\n return children({\n onRowsRendered: this._onRowsRendered,\n registerChild: this._registerChild\n })\n }\n\n _onRowsRendered ({ startIndex, stopIndex }) {\n const { isRowLoaded, loadMoreRows, rowsCount, threshold } = this.props\n\n this._lastRenderedStartIndex = startIndex\n this._lastRenderedStopIndex = stopIndex\n\n const unloadedRanges = scanForUnloadedRanges({\n isRowLoaded,\n startIndex: Math.max(0, startIndex - threshold),\n stopIndex: Math.min(rowsCount, stopIndex + threshold)\n })\n\n unloadedRanges.forEach(unloadedRange => {\n let promise = loadMoreRows(unloadedRange)\n if (promise) {\n promise.then(() => {\n // Refresh the visible rows if any of them have just been loaded.\n // Otherwise they will remain in their unloaded visual state.\n if (\n isRangeVisible({\n lastRenderedStartIndex: this._lastRenderedStartIndex,\n lastRenderedStopIndex: this._lastRenderedStopIndex,\n startIndex: unloadedRange.startIndex,\n stopIndex: unloadedRange.stopIndex\n })\n ) {\n if (this._registeredChild) {\n this._registeredChild.forceUpdate()\n }\n }\n })\n }\n })\n }\n\n _registerChild (registeredChild) {\n this._registeredChild = registeredChild\n }\n}\n\n/**\n * Determines if the specified start/stop range is visible based on the most recently rendered range.\n */\nexport function isRangeVisible ({\n lastRenderedStartIndex,\n lastRenderedStopIndex,\n startIndex,\n stopIndex\n}) {\n return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex)\n}\n\n/**\n * Returns all of the ranges within a larger range that contain unloaded rows.\n */\nexport function scanForUnloadedRanges ({ isRowLoaded, startIndex, stopIndex }) {\n const unloadedRanges = []\n let rangeStartIndex = null\n let rangeStopIndex = null\n\n for (let i = startIndex; i <= stopIndex; i++) {\n let loaded = isRowLoaded(i)\n\n if (!loaded) {\n rangeStopIndex = i\n if (rangeStartIndex === null) {\n rangeStartIndex = i\n }\n } else if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n\n rangeStartIndex = rangeStopIndex = null\n }\n }\n\n if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n }\n\n return unloadedRanges\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/InfiniteLoader.js\n **/","/** @flow */\nexport default from './ScrollSync'\nexport ScrollSync from './ScrollSync'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/index.js\n **/","import { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * HOC that simplifies the process of synchronizing scrolling between two or more virtualized components.\n */\nexport default class ScrollSync extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering 2 or more virtualized components.\n * This function should implement the following signature:\n * ({ onScroll, scrollLeft, scrollTop }) => PropTypes.element\n */\n children: PropTypes.func.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n scrollLeft: 0,\n scrollTop: 0\n }\n\n this._onScroll = this._onScroll.bind(this)\n }\n\n render () {\n const { children } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n return children({\n onScroll: this._onScroll,\n scrollLeft,\n scrollTop\n })\n }\n\n _onScroll ({ scrollLeft, scrollTop }) {\n this.setState({ scrollLeft, scrollTop })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/ScrollSync.js\n **/","/** @flow */\nexport default from './VirtualScroll'\nexport VirtualScroll from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/index.js\n **/","/** @flow */\nimport Grid from '../Grid'\nimport React, { Component, PropTypes } from 'react'\nimport cn from 'classnames'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n * if only a few of those elements are visible. The primary purpose of this component is to improve\n * performance by only rendering the DOM nodes that a user is able to see based on their current\n * scroll position.\n *\n * This component renders a virtualized list of elements with either fixed or dynamic heights.\n */\nexport default class VirtualScroll extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /** Height constraint for list (determines how many actual rows are rendered) */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func.isRequired,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Responsbile for rendering a row given an index */\n rowRenderer: PropTypes.func.isRequired,\n\n /** Number of rows in list. */\n rowsCount: PropTypes.number.isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n noRowsRenderer: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowsCount: 10\n }\n\n componentDidMount () {\n const { scrollTop } = this.props\n\n if (scrollTop >= 0) {\n this.setScrollTop(scrollTop)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollTop(nextProps.scrollTop)\n }\n }\n\n /**\n * See Grid#recomputeGridSize\n */\n recomputeRowHeights () {\n this.refs.Grid.recomputeGridSize()\n }\n\n /**\n * See Grid#scrollToCell\n */\n scrollToRow (scrollToIndex) {\n this.refs.Grid.scrollToCell({\n scrollToColumn: 0,\n scrollToRow: scrollToIndex\n })\n }\n\n /**\n * See Grid#setScrollPosition\n */\n setScrollTop (scrollTop) {\n this.refs.Grid.setScrollPosition({\n scrollLeft: 0,\n scrollTop\n })\n }\n\n render () {\n const {\n className,\n height,\n noRowsRenderer,\n onRowsRendered,\n onScroll,\n rowHeight,\n rowRenderer,\n overscanRowsCount,\n rowsCount,\n scrollToIndex,\n width\n } = this.props\n\n const classNames = cn('VirtualScroll', className)\n\n return (\n onScroll({ clientHeight, scrollHeight, scrollTop })}\n onSectionRendered={({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) => onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })}\n overscanRowsCount={overscanRowsCount}\n renderCell={({ columnIndex, rowIndex }) => rowRenderer(rowIndex)}\n rowHeight={rowHeight}\n rowsCount={rowsCount}\n scrollToRow={scrollToIndex}\n width={width}\n />\n )\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/VirtualScroll.js\n **/"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-virtualized.js","webpack:///webpack/bootstrap 9af8c3397a7b27992b4d","webpack:///./source/index.js","webpack:///./source/AutoSizer/index.js","webpack:///./source/AutoSizer/AutoSizer.js","webpack:///external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack:///./~/react-pure-render/function.js","webpack:///./~/react-pure-render/shallowEqual.js","webpack:///./source/vendor/detectElementResize.js","webpack:///./source/ColumnSizer/index.js","webpack:///./source/ColumnSizer/ColumnSizer.js","webpack:///./source/Grid/index.js","webpack:///./source/Grid/Grid.js","webpack:///./~/timers-browserify/main.js","webpack:///./~/timers-browserify/~/process/browser.js","webpack:///./source/utils.js","webpack:///./~/classnames/index.js","webpack:///./~/raf/index.js","webpack:///./~/performance-now/lib/performance-now.js","webpack:///./~/node-libs-browser/~/process/browser.js","webpack:///./source/FlexTable/index.js","webpack:///./source/FlexTable/FlexTable.js","webpack:///./source/FlexTable/FlexColumn.js","webpack:///./source/FlexTable/SortIndicator.js","webpack:///./source/FlexTable/SortDirection.js","webpack:///external {\"commonjs\":\"react-dom\",\"commonjs2\":\"react-dom\",\"amd\":\"react-dom\",\"root\":\"ReactDOM\"}","webpack:///./source/InfiniteLoader/index.js","webpack:///./source/InfiniteLoader/InfiniteLoader.js","webpack:///./source/ScrollSync/index.js","webpack:///./source/ScrollSync/ScrollSync.js","webpack:///./source/VirtualScroll/index.js","webpack:///./source/VirtualScroll/VirtualScroll.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_3__","__WEBPACK_EXTERNAL_MODULE_23__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","Object","defineProperty","value","_AutoSizer","enumerable","get","AutoSizer","_ColumnSizer","ColumnSizer","_FlexTable","FlexTable","FlexColumn","SortDirection","SortIndicator","_Grid","Grid","_InfiniteLoader","InfiniteLoader","_ScrollSync","ScrollSync","_VirtualScroll","VirtualScroll","_interopRequireDefault","obj","__esModule","default","undefined","_AutoSizer2","_AutoSizer3","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","prototype","create","constructor","writable","configurable","setPrototypeOf","__proto__","_createClass","defineProperties","target","props","i","length","descriptor","key","protoProps","staticProps","_react","_react2","_function","_function2","_Component","_this","getPrototypeOf","shouldComponentUpdate","state","height","width","_onResize","bind","_setRef","_detectElementResize","addResizeListener","_parentNode","removeResizeListener","_props","children","disableHeight","disableWidth","_state","outerStyle","overflow","createElement","ref","style","onResize","_parentNode$getBoundi","getBoundingClientRect","getComputedStyle","paddingLeft","parseInt","paddingRight","paddingTop","paddingBottom","setState","autoSizer","parentNode","Component","propTypes","PropTypes","func","isRequired","bool","defaultProps","shouldPureComponentUpdate","nextProps","nextState","_shallowEqual2","_shallowEqual","shallowEqual","objA","objB","keysA","keys","keysB","bHasOwnProperty","hasOwnProperty","_window","window","attachEvent","document","stylesCreated","requestFrame","raf","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","cancelFrame","cancel","cancelAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","clearTimeout","resetTriggers","element","triggers","__resizeTriggers__","expand","firstElementChild","contract","lastElementChild","expandChild","scrollLeft","scrollWidth","scrollTop","scrollHeight","offsetWidth","offsetHeight","checkTriggers","__resizeLast__","scrollListener","e","__resizeRAF__","__resizeListeners__","forEach","animation","animationstring","keyframeprefix","animationstartevent","domPrefixes","split","startEvents","pfx","elm","animationName","toLowerCase","animationKeyframes","animationStyle","createStyles","css","head","getElementsByTagName","type","styleSheet","cssText","appendChild","createTextNode","position","className","innerHTML","addEventListener","push","detachEvent","splice","indexOf","removeEventListener","removeChild","_ColumnSizer2","_ColumnSizer3","_Grid2","context","_registerChild","prevProps","prevState","columnMaxWidth","columnMinWidth","columnsCount","_registeredChild","recomputeGridSize","_props2","safeColumnMinWidth","safeColumnMaxWidth","Math","min","columnWidth","max","floor","adjustedWidth","getColumnWidth","registerChild","child","Error","number","_Grid3","setImmediate","clearImmediate","_utils","_classnames","_classnames2","_raf","_raf2","IS_SCROLLING_TIMEOUT","SCROLL_POSITION_CHANGE_REASONS","OBSERVED","REQUESTED","computeGridMetadataOnNextUpdate","isScrolling","_onGridRenderedMemoizer","createCallbackMemoizer","_onScrollMemoizer","_computeGridMetadata","_invokeOnGridRenderedHelper","_onKeyPress","_onScroll","_updateScrollLeftForScrollToColumn","_updateScrollTopForScrollToRow","_ref","scrollToColumn","scrollToRow","_ref2","newState","scrollPositionChangeReason","_this2","setScrollPosition","_setImmediateId","rowHeight","rowsCount","refs","scrollingContainer","updateScrollIndexHelper","cellsCount","cellMetadata","_columnMetadata","cellSize","previousCellsCount","previousCellSize","previousScrollToIndex","previousSize","scrollOffset","scrollToIndex","size","updateScrollIndexCallback","_rowMetadata","_disablePointerEventsTimeoutId","_setNextStateAnimationFrameId","computeCellMetadataAndUpdateScrollOffsetHelper","computeMetadataCallback","computeMetadataCallbackProps","computeMetadataOnNextUpdate","nextCellsCount","nextCellSize","nextScrollToIndex","updateScrollOffsetForScrollToIndex","_props3","noContentRenderer","overscanColumnsCount","overscanRowsCount","renderCell","_state2","childrenToDisplay","_getVisibleCellIndice","getVisibleCellIndices","containerSize","currentOffset","columnStartIndex","start","columnStopIndex","stop","_getVisibleCellIndice2","rowStartIndex","rowStopIndex","_renderedColumnStartIndex","_renderedColumnStopIndex","_renderedRowStartIndex","_renderedRowStopIndex","overscanColumnIndices","getOverscanIndices","overscanCellsCount","startIndex","stopIndex","overscanRowIndices","overscanStartIndex","overscanStopIndex","rowIndex","rowDatum","columnIndex","columnDatum","renderedCell","_getRowHeight","left","offset","top","_getColumnWidth","gridStyle","totalColumnsWidth","_getTotalColumnsWidth","totalRowsHeight","_getTotalRowsHeight","overflowX","overflowY","onKeyDown","onScroll","tabIndex","maxWidth","maxHeight","pointerEvents","initCellMetadata","_this3","index","Function","datum","_props4","onSectionRendered","_getOverscanIndices","columnOverscanStartIndex","columnOverscanStopIndex","_getOverscanIndices2","rowOverscanStartIndex","rowOverscanStopIndex","callback","indices","_this4","event","preventDefault","scrollToColumnOverride","calculatedScrollLeft","getUpdatedOffsetForIndex","targetIndex","scrollToRowOverride","calculatedScrollTop","_props5","_state3","newScrollLeft","newScrollTop","_stopEvent","scrollToCell","_enablePointerEventsAfterDelay","_props6","cancelable","_setNextState","_ref3","clientHeight","clientWidth","string","oneOfType","Timeout","clearFn","_id","_clearFn","nextTick","apply","slice","Array","immediateIds","nextImmediateId","arguments","setInterval","clearInterval","timeout","close","unref","enroll","item","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","args","cleanUpNextTick","draining","currentQueue","queue","concat","queueIndex","drainQueue","len","run","Item","fun","array","noop","process","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","name","cwd","chdir","dir","umask","requireAllKeys","cachedIndices","allInitialized","every","indexChanged","some","findNearestCell","mode","high","low","middle","EQUAL_OR_LOWER","EQUAL_OR_HIGHER","_ref4","_ref5","maxOffset","minOffset","newOffset","_ref6","_ref7","sizeGetter","_size","isNaN","_ref8","hasScrollToIndex","sizeHasChanged","calculatedScrollOffset","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","classes","arg","argType","isArray","hasOwn","join","global","now","vendors","suffix","caf","last","frameDuration","_now","next","cp","cancelled","round","handle","polyfill","getNanoSeconds","hrtime","loadTime","performance","hr","Date","getTime","_FlexTable2","_FlexTable3","_FlexColumn2","_FlexColumn3","_SortDirection2","_SortDirection3","_SortIndicator2","_SortIndicator3","_FlexColumn","_reactDom","_SortDirection","_initialiseProps","scrollbarWidth","_createRow","setScrollTop","_setScrollbarWidth","disableHeader","headerHeight","noRowsRenderer","onRowsRendered","rowClassName","availableRowsHeight","rowRenderer","rowClass","_getRenderedHeaderRow","column","rowData","_column$props","cellClassName","cellDataGetter","columnData","dataKey","cellRenderer","cellData","_getFlexStyleForColumn","headerClassName","onHeaderClick","sort","sortBy","sortDirection","_column$props2","disableSort","headerRenderer","label","sortEnabled","FlexTable__sortableHeaderColumn","newSortDirection","DESC","ASC","onClick","renderedHeader","onRowClick","rowGetter","renderedRow","Children","map","_createColumn","flexValue","flexGrow","flexShrink","flex","msFlex","WebkitFlex","minWidth","items","_createHeader","findDOMNode","propName","componentName","toArray","oneOf","defaultCellRenderer","cellDataKey","String","defaultCellDataGetter","defaultHeaderRenderer","showSortIndicator","_SortIndicator","Column","object","any","FlexTable__sortableHeaderIcon--ASC","FlexTable__sortableHeaderIcon--DESC","viewBox","xmlns","d","fill","_InfiniteLoader2","_InfiniteLoader3","isRangeVisible","lastRenderedStartIndex","lastRenderedStopIndex","scanForUnloadedRanges","isRowLoaded","unloadedRanges","rangeStartIndex","rangeStopIndex","_onRowsRendered","loadMoreRows","threshold","_lastRenderedStartIndex","_lastRenderedStopIndex","unloadedRange","promise","then","forceUpdate","registeredChild","_ScrollSync2","_ScrollSync3","_VirtualScroll2","_VirtualScroll3","_Object$getPrototypeO","_temp","_ret","_len","_key"],"mappings":"CAAA,SAAAA,MAAAC;IACA,mBAAAC,WAAA,mBAAAC,SACAA,OAAAD,UAAAD,QAAAG,QAAA,UAAAA,QAAA,gBACA,qBAAAC,iBAAAC,MACAD,SAAA,wBAAAJ,WACA,mBAAAC,UACAA,QAAA,mBAAAD,QAAAG,QAAA,UAAAA,QAAA,gBAEAJ,KAAA,mBAAAC,QAAAD,KAAA,OAAAA,KAAA;EACCO,MAAA,SAAAC,+BAAAC;;IACD,OCAgB,SAAUC;;;;;QCN1B,SAAAC,oBAAAC;;;;;YAGA,IAAAC,iBAAAD;YACA,OAAAC,iBAAAD,UAAAV;;;;;YAGA,IAAAC,SAAAU,iBAAAD;;gBACAV;;gBACAY,IAAAF;;gBACAG,SAAA;;;;;;;;;;;;;;YAUA,OANAL,QAAAE,UAAAI,KAAAb,OAAAD,SAAAC,eAAAD,SAAAS;YAGAR,OAAAY,UAAA,GAGAZ,OAAAD;;;;;;QAvBA,IAAAW;;;;;;;;;;;;;;;;;;QAqCA,OATAF,oBAAAM,IAAAP,SAGAC,oBAAAO,IAAAL;QAGAF,oBAAAQ,IAAA,IAGAR,oBAAA;;;IDgBM,S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;wBACXC,WAAWA;wBACXR,aAAaqB;wBACblM,OAAOA;;;kBA3IM7C;U/BgsGlBmC,OAAOwC;QAET3E,c+B/rGQ4E;YAELkF,WAAW3H,OAAA0C,UAAU0Q;YAGrB3S,QAAQT,OAAA0C,UAAUmH,OAAOjH;YAGzBgZ,gBAAgB5b,OAAA0C,UAAUC,KAAKC;YAM/BiZ,gBAAgB7b,OAAA0C,UAAUC,KAAKC;YAM/BiL,mBAAmB7N,OAAA0C,UAAUmH,OAAOjH;YAOpC8N,UAAU1Q,OAAA0C,UAAUC,KAAKC;YAMzBkJ,WAAW9L,OAAA0C,UAAU2Q,YAAWrT,OAAA0C,UAAUmH,QAAQ7J,OAAA0C,UAAUC,QAAOC;YAGnEoZ,aAAahc,OAAA0C,UAAUC,KAAKC;YAG5BmJ,WAAW/L,OAAA0C,UAAUmH,OAAOjH;YAG5BgK,eAAe5M,OAAA0C,UAAUmH;YAGzBpE,WAAWzF,OAAA0C,UAAUmH;YAGrBnJ,OAAOV,OAAA0C,UAAUmH,OAAOjH;WAnDP/E,cAsDZiF;YACL8Y,gBAAgB;gB/BsqGf,O+BtqGqB;;YACtBC,gBAAgB;gB/BwqGf,O+BxqGqB;;YACtBnL,UAAU;gB/B0qGT,O+B1qGe;;YAChB7C,mBAAmB;W/B6qGtBvS,qB+BvuGoBuC","file":"react-virtualized.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_23__) {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_23__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _AutoSizer = __webpack_require__(1);\n\t\n\tObject.defineProperty(exports, 'AutoSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _AutoSizer.AutoSizer;\n\t }\n\t});\n\t\n\tvar _ColumnSizer = __webpack_require__(7);\n\t\n\tObject.defineProperty(exports, 'ColumnSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ColumnSizer.ColumnSizer;\n\t }\n\t});\n\t\n\tvar _FlexTable = __webpack_require__(18);\n\t\n\tObject.defineProperty(exports, 'FlexTable', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexTable;\n\t }\n\t});\n\tObject.defineProperty(exports, 'FlexColumn', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexColumn;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortDirection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortDirection;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortIndicator', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortIndicator;\n\t }\n\t});\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tObject.defineProperty(exports, 'Grid', {\n\t enumerable: true,\n\t get: function get() {\n\t return _Grid.Grid;\n\t }\n\t});\n\t\n\tvar _InfiniteLoader = __webpack_require__(24);\n\t\n\tObject.defineProperty(exports, 'InfiniteLoader', {\n\t enumerable: true,\n\t get: function get() {\n\t return _InfiniteLoader.InfiniteLoader;\n\t }\n\t});\n\t\n\tvar _ScrollSync = __webpack_require__(26);\n\t\n\tObject.defineProperty(exports, 'ScrollSync', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ScrollSync.ScrollSync;\n\t }\n\t});\n\t\n\tvar _VirtualScroll = __webpack_require__(28);\n\t\n\tObject.defineProperty(exports, 'VirtualScroll', {\n\t enumerable: true,\n\t get: function get() {\n\t return _VirtualScroll.VirtualScroll;\n\t }\n\t});\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.AutoSizer = exports.default = undefined;\n\t\n\tvar _AutoSizer2 = __webpack_require__(2);\n\t\n\tvar _AutoSizer3 = _interopRequireDefault(_AutoSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _AutoSizer3.default;\n\texports.AutoSizer = _AutoSizer3.default;\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar AutoSizer = function (_Component) {\n\t _inherits(AutoSizer, _Component);\n\t\n\t function AutoSizer(props) {\n\t _classCallCheck(this, AutoSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AutoSizer).call(this, props));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t height: 0,\n\t width: 0\n\t };\n\t\n\t _this._onResize = _this._onResize.bind(_this);\n\t _this._setRef = _this._setRef.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(AutoSizer, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t this._detectElementResize = __webpack_require__(6);\n\t this._detectElementResize.addResizeListener(this._parentNode, this._onResize);\n\t\n\t this._onResize();\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var children = _props.children;\n\t var disableHeight = _props.disableHeight;\n\t var disableWidth = _props.disableWidth;\n\t var _state = this.state;\n\t var height = _state.height;\n\t var width = _state.width;\n\t\n\t var outerStyle = { overflow: 'visible' };\n\t\n\t if (!disableHeight) {\n\t outerStyle.height = 0;\n\t }\n\t\n\t if (!disableWidth) {\n\t outerStyle.width = 0;\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: this._setRef,\n\t style: outerStyle\n\t },\n\t children({ height: height, width: width })\n\t );\n\t }\n\t }, {\n\t key: '_onResize',\n\t value: function _onResize() {\n\t var onResize = this.props.onResize;\n\t\n\t var _parentNode$getBoundi = this._parentNode.getBoundingClientRect();\n\t\n\t var height = _parentNode$getBoundi.height;\n\t var width = _parentNode$getBoundi.width;\n\t\n\t\n\t var style = getComputedStyle(this._parentNode);\n\t var paddingLeft = parseInt(style.paddingLeft, 10);\n\t var paddingRight = parseInt(style.paddingRight, 10);\n\t var paddingTop = parseInt(style.paddingTop, 10);\n\t var paddingBottom = parseInt(style.paddingBottom, 10);\n\t\n\t this.setState({\n\t height: height - paddingTop - paddingBottom,\n\t width: width - paddingLeft - paddingRight\n\t });\n\t\n\t onResize({ height: height, width: width });\n\t }\n\t }, {\n\t key: '_setRef',\n\t value: function _setRef(autoSizer) {\n\t this._parentNode = autoSizer && autoSizer.parentNode;\n\t }\n\t }]);\n\t\n\t return AutoSizer;\n\t}(_react.Component);\n\t\n\tAutoSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t disableHeight: _react.PropTypes.bool,\n\t\n\t disableWidth: _react.PropTypes.bool,\n\t\n\t onResize: _react.PropTypes.func.isRequired\n\t};\n\tAutoSizer.defaultProps = {\n\t onResize: function onResize() {}\n\t};\n\texports.default = AutoSizer;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shouldPureComponentUpdate;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _shallowEqual = __webpack_require__(5);\n\t\n\tvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\t\n\tfunction shouldPureComponentUpdate(nextProps, nextState) {\n\t return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shallowEqual;\n\t\n\tfunction shallowEqual(objA, objB) {\n\t if (objA === objB) {\n\t return true;\n\t }\n\t\n\t if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n\t return false;\n\t }\n\t\n\t var keysA = Object.keys(objA);\n\t var keysB = Object.keys(objB);\n\t\n\t if (keysA.length !== keysB.length) {\n\t return false;\n\t }\n\t\n\t // Test for A's keys different from B.\n\t var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\t for (var i = 0; i < keysA.length; i++) {\n\t if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _window;\n\tif (typeof window !== 'undefined') {\n\t _window = window;\n\t} else if (typeof self !== 'undefined') {\n\t _window = self;\n\t} else {\n\t _window = undefined;\n\t}\n\t\n\tvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\n\tvar stylesCreated = false;\n\t\n\tif (!attachEvent) {\n\t var requestFrame = function () {\n\t var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) {\n\t return _window.setTimeout(fn, 20);\n\t };\n\t return function (fn) {\n\t return raf(fn);\n\t };\n\t }();\n\t\n\t var cancelFrame = function () {\n\t var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout;\n\t return function (id) {\n\t return cancel(id);\n\t };\n\t }();\n\t\n\t var resetTriggers = function resetTriggers(element) {\n\t var triggers = element.__resizeTriggers__,\n\t expand = triggers.firstElementChild,\n\t contract = triggers.lastElementChild,\n\t expandChild = expand.firstElementChild;\n\t contract.scrollLeft = contract.scrollWidth;\n\t contract.scrollTop = contract.scrollHeight;\n\t expandChild.style.width = expand.offsetWidth + 1 + 'px';\n\t expandChild.style.height = expand.offsetHeight + 1 + 'px';\n\t expand.scrollLeft = expand.scrollWidth;\n\t expand.scrollTop = expand.scrollHeight;\n\t };\n\t\n\t var checkTriggers = function checkTriggers(element) {\n\t return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;\n\t };\n\t\n\t var scrollListener = function scrollListener(e) {\n\t var element = this;\n\t resetTriggers(this);\n\t if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n\t this.__resizeRAF__ = requestFrame(function () {\n\t if (checkTriggers(element)) {\n\t element.__resizeLast__.width = element.offsetWidth;\n\t element.__resizeLast__.height = element.offsetHeight;\n\t element.__resizeListeners__.forEach(function (fn) {\n\t fn.call(element, e);\n\t });\n\t }\n\t });\n\t };\n\t\n\t var animation = false,\n\t animationstring = 'animation',\n\t keyframeprefix = '',\n\t animationstartevent = 'animationstart',\n\t domPrefixes = 'Webkit Moz O ms'.split(' '),\n\t startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n\t pfx = '';\n\t {\n\t var elm = document.createElement('fakeelement');\n\t if (elm.style.animationName !== undefined) {\n\t animation = true;\n\t }\n\t\n\t if (animation === false) {\n\t for (var i = 0; i < domPrefixes.length; i++) {\n\t if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {\n\t pfx = domPrefixes[i];\n\t animationstring = pfx + 'Animation';\n\t keyframeprefix = '-' + pfx.toLowerCase() + '-';\n\t animationstartevent = startEvents[i];\n\t animation = true;\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t\n\t var animationName = 'resizeanim';\n\t var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n\t var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n\t}\n\t\n\tvar createStyles = function createStyles() {\n\t if (!stylesCreated) {\n\t var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n\t head = document.head || document.getElementsByTagName('head')[0],\n\t style = document.createElement('style');\n\t\n\t style.type = 'text/css';\n\t if (style.styleSheet) {\n\t style.styleSheet.cssText = css;\n\t } else {\n\t style.appendChild(document.createTextNode(css));\n\t }\n\t\n\t head.appendChild(style);\n\t stylesCreated = true;\n\t }\n\t};\n\t\n\tvar addResizeListener = function addResizeListener(element, fn) {\n\t if (attachEvent) element.attachEvent('onresize', fn);else {\n\t if (!element.__resizeTriggers__) {\n\t if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n\t createStyles();\n\t element.__resizeLast__ = {};\n\t element.__resizeListeners__ = [];\n\t (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n\t element.__resizeTriggers__.innerHTML = '
' + '
';\n\t element.appendChild(element.__resizeTriggers__);\n\t resetTriggers(element);\n\t element.addEventListener('scroll', scrollListener, true);\n\t\n\t animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {\n\t if (e.animationName == animationName) resetTriggers(element);\n\t });\n\t }\n\t element.__resizeListeners__.push(fn);\n\t }\n\t};\n\t\n\tvar removeResizeListener = function removeResizeListener(element, fn) {\n\t if (attachEvent) element.detachEvent('onresize', fn);else {\n\t element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n\t if (!element.__resizeListeners__.length) {\n\t element.removeEventListener('scroll', scrollListener);\n\t element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t addResizeListener: addResizeListener,\n\t removeResizeListener: removeResizeListener\n\t};\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ColumnSizer = exports.default = undefined;\n\t\n\tvar _ColumnSizer2 = __webpack_require__(8);\n\t\n\tvar _ColumnSizer3 = _interopRequireDefault(_ColumnSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ColumnSizer3.default;\n\texports.ColumnSizer = _ColumnSizer3.default;\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ColumnSizer = function (_Component) {\n\t _inherits(ColumnSizer, _Component);\n\t\n\t function ColumnSizer(props, context) {\n\t _classCallCheck(this, ColumnSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ColumnSizer).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ColumnSizer, [{\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props = this.props;\n\t var columnMaxWidth = _props.columnMaxWidth;\n\t var columnMinWidth = _props.columnMinWidth;\n\t var columnsCount = _props.columnsCount;\n\t var width = _props.width;\n\t\n\t\n\t if (columnMaxWidth !== prevProps.columnMaxWidth || columnMinWidth !== prevProps.columnMinWidth || columnsCount !== prevProps.columnsCount || width !== prevProps.width) {\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props2 = this.props;\n\t var children = _props2.children;\n\t var columnMaxWidth = _props2.columnMaxWidth;\n\t var columnMinWidth = _props2.columnMinWidth;\n\t var columnsCount = _props2.columnsCount;\n\t var width = _props2.width;\n\t\n\t\n\t var safeColumnMinWidth = columnMinWidth || 1;\n\t\n\t var safeColumnMaxWidth = columnMaxWidth ? Math.min(columnMaxWidth, width) : width;\n\t\n\t var columnWidth = width / columnsCount;\n\t columnWidth = Math.max(safeColumnMinWidth, columnWidth);\n\t columnWidth = Math.min(safeColumnMaxWidth, columnWidth);\n\t columnWidth = Math.floor(columnWidth);\n\t\n\t var adjustedWidth = Math.min(width, columnWidth * columnsCount);\n\t\n\t return children({\n\t adjustedWidth: adjustedWidth,\n\t getColumnWidth: function getColumnWidth() {\n\t return columnWidth;\n\t },\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(child) {\n\t if (child !== null && !(child instanceof _Grid2.default)) {\n\t throw Error('Unexpected child type registered; only Grid children are supported.');\n\t }\n\t\n\t this._registeredChild = child;\n\t\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }]);\n\t\n\t return ColumnSizer;\n\t}(_react.Component);\n\t\n\tColumnSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t columnMaxWidth: _react.PropTypes.number,\n\t\n\t columnMinWidth: _react.PropTypes.number,\n\t\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\texports.default = ColumnSizer;\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.Grid = exports.default = undefined;\n\t\n\tvar _Grid2 = __webpack_require__(10);\n\t\n\tvar _Grid3 = _interopRequireDefault(_Grid2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _Grid3.default;\n\texports.Grid = _Grid3.default;\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(13);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _raf = __webpack_require__(15);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\tvar SCROLL_POSITION_CHANGE_REASONS = {\n\t OBSERVED: 'observed',\n\t REQUESTED: 'requested'\n\t};\n\t\n\tvar Grid = function (_Component) {\n\t _inherits(Grid, _Component);\n\t\n\t function Grid(props, context) {\n\t _classCallCheck(this, Grid);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Grid).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t computeGridMetadataOnNextUpdate: false,\n\t isScrolling: false,\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onGridRenderedMemoizer = (0, _utils.createCallbackMemoizer)();\n\t _this._onScrollMemoizer = (0, _utils.createCallbackMemoizer)(false);\n\t\n\t _this._computeGridMetadata = _this._computeGridMetadata.bind(_this);\n\t _this._invokeOnGridRenderedHelper = _this._invokeOnGridRenderedHelper.bind(_this);\n\t _this._onKeyPress = _this._onKeyPress.bind(_this);\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t _this._updateScrollLeftForScrollToColumn = _this._updateScrollLeftForScrollToColumn.bind(_this);\n\t _this._updateScrollTopForScrollToRow = _this._updateScrollTopForScrollToRow.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(Grid, [{\n\t key: 'recomputeGridSize',\n\t value: function recomputeGridSize() {\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: true\n\t });\n\t }\n\t }, {\n\t key: 'scrollToCell',\n\t value: function scrollToCell(_ref) {\n\t var scrollToColumn = _ref.scrollToColumn;\n\t var scrollToRow = _ref.scrollToRow;\n\t\n\t this._updateScrollLeftForScrollToColumn(scrollToColumn);\n\t this._updateScrollTopForScrollToRow(scrollToRow);\n\t }\n\t }, {\n\t key: 'setScrollPosition',\n\t value: function setScrollPosition(_ref2) {\n\t var scrollLeft = _ref2.scrollLeft;\n\t var scrollTop = _ref2.scrollTop;\n\t\n\t var newState = {\n\t scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\t };\n\t\n\t if (scrollLeft >= 0) {\n\t newState.scrollLeft = scrollLeft;\n\t }\n\t\n\t if (scrollTop >= 0) {\n\t newState.scrollTop = scrollTop;\n\t }\n\t\n\t if (scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft || scrollTop >= 0 && scrollTop !== this.state.scrollTop) {\n\t this.setState(newState);\n\t }\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var scrollLeft = _props.scrollLeft;\n\t var scrollToColumn = _props.scrollToColumn;\n\t var scrollTop = _props.scrollTop;\n\t var scrollToRow = _props.scrollToRow;\n\t\n\t\n\t if (scrollLeft >= 0 || scrollTop >= 0) {\n\t this.setScrollPosition({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t\n\t if (scrollToColumn >= 0 || scrollToRow >= 0) {\n\t this._setImmediateId = setImmediate(function () {\n\t _this2._setImmediateId = null;\n\t _this2._updateScrollLeftForScrollToColumn();\n\t _this2._updateScrollTopForScrollToRow();\n\t });\n\t }\n\t\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props2 = this.props;\n\t var columnsCount = _props2.columnsCount;\n\t var columnWidth = _props2.columnWidth;\n\t var height = _props2.height;\n\t var rowHeight = _props2.rowHeight;\n\t var rowsCount = _props2.rowsCount;\n\t var scrollToColumn = _props2.scrollToColumn;\n\t var scrollToRow = _props2.scrollToRow;\n\t var width = _props2.width;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollPositionChangeReason = _state.scrollPositionChangeReason;\n\t var scrollTop = _state.scrollTop;\n\t\n\t if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n\t if (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft && scrollLeft !== this.refs.scrollingContainer.scrollLeft) {\n\t this.refs.scrollingContainer.scrollLeft = scrollLeft;\n\t }\n\t if (scrollTop >= 0 && scrollTop !== prevState.scrollTop && scrollTop !== this.refs.scrollingContainer.scrollTop) {\n\t this.refs.scrollingContainer.scrollTop = scrollTop;\n\t }\n\t }\n\t\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t cellSize: columnWidth,\n\t previousCellsCount: prevProps.columnsCount,\n\t previousCellSize: prevProps.columnWidth,\n\t previousScrollToIndex: prevProps.scrollToColumn,\n\t previousSize: prevProps.width,\n\t scrollOffset: scrollLeft,\n\t scrollToIndex: scrollToColumn,\n\t size: width,\n\t updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t cellSize: rowHeight,\n\t previousCellsCount: prevProps.rowsCount,\n\t previousCellSize: prevProps.rowHeight,\n\t previousScrollToIndex: prevProps.scrollToRow,\n\t previousSize: prevProps.height,\n\t scrollOffset: scrollTop,\n\t scrollToIndex: scrollToRow,\n\t size: height,\n\t updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t this._computeGridMetadata(this.props);\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t if (this._setImmediateId) {\n\t clearImmediate(this._setImmediateId);\n\t }\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2.default.cancel(this._setNextStateAnimationFrameId);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.columnsCount === 0 && nextState.scrollLeft !== 0) {\n\t this.setScrollPosition({ scrollLeft: 0 });\n\t }\n\t\n\t if (nextProps.rowsCount === 0 && nextState.scrollTop !== 0) {\n\t this.setScrollPosition({ scrollTop: 0 });\n\t }\n\t\n\t if (nextProps.scrollLeft !== this.props.scrollLeft) {\n\t this.setScrollPosition({ scrollLeft: nextProps.scrollLeft });\n\t }\n\t\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollPosition({ scrollTop: nextProps.scrollTop });\n\t }\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.columnsCount,\n\t cellSize: this.props.columnWidth,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.columnsCount,\n\t nextCellSize: nextProps.columnWidth,\n\t nextScrollToIndex: nextProps.scrollToColumn,\n\t scrollToIndex: this.props.scrollToColumn,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.rowsCount,\n\t cellSize: this.props.rowHeight,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.rowsCount,\n\t nextCellSize: nextProps.rowHeight,\n\t nextScrollToIndex: nextProps.scrollToRow,\n\t scrollToIndex: this.props.scrollToRow,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: false\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props3 = this.props;\n\t var className = _props3.className;\n\t var columnsCount = _props3.columnsCount;\n\t var height = _props3.height;\n\t var noContentRenderer = _props3.noContentRenderer;\n\t var overscanColumnsCount = _props3.overscanColumnsCount;\n\t var overscanRowsCount = _props3.overscanRowsCount;\n\t var renderCell = _props3.renderCell;\n\t var rowsCount = _props3.rowsCount;\n\t var width = _props3.width;\n\t var _state2 = this.state;\n\t var isScrolling = _state2.isScrolling;\n\t var scrollLeft = _state2.scrollLeft;\n\t var scrollTop = _state2.scrollTop;\n\t\n\t\n\t var childrenToDisplay = [];\n\t\n\t if (height > 0 && width > 0) {\n\t var _getVisibleCellIndice = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t });\n\t\n\t var columnStartIndex = _getVisibleCellIndice.start;\n\t var columnStopIndex = _getVisibleCellIndice.stop;\n\t\n\t var _getVisibleCellIndice2 = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t });\n\t\n\t var rowStartIndex = _getVisibleCellIndice2.start;\n\t var rowStopIndex = _getVisibleCellIndice2.stop;\n\t\n\t this._renderedColumnStartIndex = columnStartIndex;\n\t this._renderedColumnStopIndex = columnStopIndex;\n\t this._renderedRowStartIndex = rowStartIndex;\n\t this._renderedRowStopIndex = rowStopIndex;\n\t\n\t var overscanColumnIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: columnsCount,\n\t overscanCellsCount: overscanColumnsCount,\n\t startIndex: columnStartIndex,\n\t stopIndex: columnStopIndex\n\t });\n\t\n\t var overscanRowIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: rowsCount,\n\t overscanCellsCount: overscanRowsCount,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t\n\t columnStartIndex = overscanColumnIndices.overscanStartIndex;\n\t columnStopIndex = overscanColumnIndices.overscanStopIndex;\n\t rowStartIndex = overscanRowIndices.overscanStartIndex;\n\t rowStopIndex = overscanRowIndices.overscanStopIndex;\n\t\n\t for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n\t var rowDatum = this._rowMetadata[rowIndex];\n\t\n\t for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n\t var columnDatum = this._columnMetadata[columnIndex];\n\t var renderedCell = renderCell({ columnIndex: columnIndex, rowIndex: rowIndex });\n\t var key = rowIndex + '-' + columnIndex;\n\t var child = _react2.default.createElement(\n\t 'div',\n\t {\n\t key: key,\n\t className: 'Grid__cell',\n\t style: {\n\t height: this._getRowHeight(rowIndex),\n\t left: columnDatum.offset + 'px',\n\t top: rowDatum.offset + 'px',\n\t width: this._getColumnWidth(columnIndex)\n\t }\n\t },\n\t renderedCell\n\t );\n\t\n\t childrenToDisplay.push(child);\n\t }\n\t }\n\t }\n\t\n\t var gridStyle = {\n\t height: height,\n\t width: width\n\t };\n\t\n\t var totalColumnsWidth = this._getTotalColumnsWidth();\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t\n\t if (totalColumnsWidth <= width) {\n\t gridStyle.overflowX = 'hidden';\n\t }\n\t\n\t if (totalRowsHeight <= height) {\n\t gridStyle.overflowY = 'hidden';\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: 'scrollingContainer',\n\t className: (0, _classnames2.default)('Grid', className),\n\t onKeyDown: this._onKeyPress,\n\t onScroll: this._onScroll,\n\t tabIndex: 0,\n\t style: gridStyle\n\t },\n\t childrenToDisplay.length > 0 && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'Grid__innerScrollContainer',\n\t style: {\n\t width: totalColumnsWidth,\n\t height: totalRowsHeight,\n\t maxWidth: totalColumnsWidth,\n\t maxHeight: totalRowsHeight,\n\t pointerEvents: isScrolling ? 'none' : 'auto'\n\t }\n\t },\n\t childrenToDisplay\n\t ),\n\t childrenToDisplay.length === 0 && noContentRenderer()\n\t );\n\t }\n\t }, {\n\t key: '_computeGridMetadata',\n\t value: function _computeGridMetadata(props) {\n\t var columnsCount = props.columnsCount;\n\t var columnWidth = props.columnWidth;\n\t var rowHeight = props.rowHeight;\n\t var rowsCount = props.rowsCount;\n\t\n\t\n\t this._columnMetadata = (0, _utils.initCellMetadata)({\n\t cellsCount: columnsCount,\n\t size: columnWidth\n\t });\n\t this._rowMetadata = (0, _utils.initCellMetadata)({\n\t cellsCount: rowsCount,\n\t size: rowHeight\n\t });\n\t }\n\t }, {\n\t key: '_enablePointerEventsAfterDelay',\n\t value: function _enablePointerEventsAfterDelay() {\n\t var _this3 = this;\n\t\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t this._disablePointerEventsTimeoutId = setTimeout(function () {\n\t _this3._disablePointerEventsTimeoutId = null;\n\t _this3.setState({\n\t isScrolling: false\n\t });\n\t }, IS_SCROLLING_TIMEOUT);\n\t }\n\t }, {\n\t key: '_getColumnWidth',\n\t value: function _getColumnWidth(index) {\n\t var columnWidth = this.props.columnWidth;\n\t\n\t\n\t return columnWidth instanceof Function ? columnWidth(index) : columnWidth;\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(index) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t\n\t return rowHeight instanceof Function ? rowHeight(index) : rowHeight;\n\t }\n\t }, {\n\t key: '_getTotalColumnsWidth',\n\t value: function _getTotalColumnsWidth() {\n\t if (this._columnMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._columnMetadata[this._columnMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_getTotalRowsHeight',\n\t value: function _getTotalRowsHeight() {\n\t if (this._rowMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._rowMetadata[this._rowMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_invokeOnGridRenderedHelper',\n\t value: function _invokeOnGridRenderedHelper() {\n\t var _props4 = this.props;\n\t var columnsCount = _props4.columnsCount;\n\t var onSectionRendered = _props4.onSectionRendered;\n\t var overscanColumnsCount = _props4.overscanColumnsCount;\n\t var overscanRowsCount = _props4.overscanRowsCount;\n\t var rowsCount = _props4.rowsCount;\n\t\n\t var _getOverscanIndices = (0, _utils.getOverscanIndices)({\n\t cellsCount: columnsCount,\n\t overscanCellsCount: overscanColumnsCount,\n\t startIndex: this._renderedColumnStartIndex,\n\t stopIndex: this._renderedColumnStopIndex\n\t });\n\t\n\t var columnOverscanStartIndex = _getOverscanIndices.overscanStartIndex;\n\t var columnOverscanStopIndex = _getOverscanIndices.overscanStopIndex;\n\t\n\t var _getOverscanIndices2 = (0, _utils.getOverscanIndices)({\n\t cellsCount: rowsCount,\n\t overscanCellsCount: overscanRowsCount,\n\t startIndex: this._renderedRowStartIndex,\n\t stopIndex: this._renderedRowStopIndex\n\t });\n\t\n\t var rowOverscanStartIndex = _getOverscanIndices2.overscanStartIndex;\n\t var rowOverscanStopIndex = _getOverscanIndices2.overscanStopIndex;\n\t\n\t\n\t this._onGridRenderedMemoizer({\n\t callback: onSectionRendered,\n\t indices: {\n\t columnOverscanStartIndex: columnOverscanStartIndex,\n\t columnOverscanStopIndex: columnOverscanStopIndex,\n\t columnStartIndex: this._renderedColumnStartIndex,\n\t columnStopIndex: this._renderedColumnStopIndex,\n\t rowOverscanStartIndex: rowOverscanStartIndex,\n\t rowOverscanStopIndex: rowOverscanStopIndex,\n\t rowStartIndex: this._renderedRowStartIndex,\n\t rowStopIndex: this._renderedRowStopIndex\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_setNextState',\n\t value: function _setNextState(state) {\n\t var _this4 = this;\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2.default.cancel(this._setNextStateAnimationFrameId);\n\t }\n\t\n\t this._setNextStateAnimationFrameId = (0, _raf2.default)(function () {\n\t _this4._setNextStateAnimationFrameId = null;\n\t _this4.setState(state);\n\t });\n\t }\n\t }, {\n\t key: '_stopEvent',\n\t value: function _stopEvent(event) {\n\t event.preventDefault();\n\t }\n\t }, {\n\t key: '_updateScrollLeftForScrollToColumn',\n\t value: function _updateScrollLeftForScrollToColumn(scrollToColumnOverride) {\n\t var scrollToColumn = scrollToColumnOverride != null ? scrollToColumnOverride : this.props.scrollToColumn;\n\t\n\t var width = this.props.width;\n\t var scrollLeft = this.state.scrollLeft;\n\t\n\t\n\t if (scrollToColumn >= 0) {\n\t var calculatedScrollLeft = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft,\n\t targetIndex: scrollToColumn\n\t });\n\t\n\t if (scrollLeft !== calculatedScrollLeft) {\n\t this.setScrollPosition({\n\t scrollLeft: calculatedScrollLeft\n\t });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_updateScrollTopForScrollToRow',\n\t value: function _updateScrollTopForScrollToRow(scrollToRowOverride) {\n\t var scrollToRow = scrollToRowOverride != null ? scrollToRowOverride : this.props.scrollToRow;\n\t\n\t var height = this.props.height;\n\t var scrollTop = this.state.scrollTop;\n\t\n\t\n\t if (scrollToRow >= 0) {\n\t var calculatedScrollTop = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop,\n\t targetIndex: scrollToRow\n\t });\n\t\n\t if (scrollTop !== calculatedScrollTop) {\n\t this.setScrollPosition({\n\t scrollTop: calculatedScrollTop\n\t });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_onKeyPress',\n\t value: function _onKeyPress(event) {\n\t var _props5 = this.props;\n\t var columnsCount = _props5.columnsCount;\n\t var height = _props5.height;\n\t var rowsCount = _props5.rowsCount;\n\t var width = _props5.width;\n\t var _state3 = this.state;\n\t var scrollLeft = _state3.scrollLeft;\n\t var scrollTop = _state3.scrollTop;\n\t\n\t\n\t var start = undefined,\n\t datum = undefined,\n\t newScrollLeft = undefined,\n\t newScrollTop = undefined;\n\t\n\t if (columnsCount === 0 || rowsCount === 0) {\n\t return;\n\t }\n\t\n\t switch (event.key) {\n\t case 'ArrowDown':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t datum = this._rowMetadata[start];\n\t newScrollTop = Math.min(this._getTotalRowsHeight() - height, scrollTop + datum.size);\n\t\n\t this.setScrollPosition({\n\t scrollTop: newScrollTop\n\t });\n\t break;\n\t case 'ArrowLeft':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: Math.max(0, start - 1),\n\t scrollToRow: this.props.scrollToRow\n\t });\n\t break;\n\t case 'ArrowRight':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t datum = this._columnMetadata[start];\n\t newScrollLeft = Math.min(this._getTotalColumnsWidth() - width, scrollLeft + datum.size);\n\t\n\t this.setScrollPosition({\n\t scrollLeft: newScrollLeft\n\t });\n\t break;\n\t case 'ArrowUp':\n\t this._stopEvent(event);\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellsCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: this.props.scrollToColumn,\n\t scrollToRow: Math.max(0, start - 1)\n\t });\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t if (event.target !== this.refs.scrollingContainer) {\n\t return;\n\t }\n\t\n\t this._enablePointerEventsAfterDelay();\n\t\n\t var _props6 = this.props;\n\t var height = _props6.height;\n\t var onScroll = _props6.onScroll;\n\t var width = _props6.width;\n\t\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t var totalColumnsWidth = this._getTotalColumnsWidth();\n\t var scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft);\n\t var scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop);\n\t\n\t if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n\t var scrollPositionChangeReason = event.cancelable ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED : SCROLL_POSITION_CHANGE_REASONS.REQUESTED;\n\t\n\t if (!this.state.isScrolling) {\n\t this.setState({\n\t isScrolling: true\n\t });\n\t }\n\t\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollLeft: scrollLeft,\n\t scrollPositionChangeReason: scrollPositionChangeReason,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t\n\t this._onScrollMemoizer({\n\t callback: function callback(_ref3) {\n\t var scrollLeft = _ref3.scrollLeft;\n\t var scrollTop = _ref3.scrollTop;\n\t\n\t onScroll({\n\t clientHeight: height,\n\t clientWidth: width,\n\t scrollHeight: totalRowsHeight,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t scrollWidth: totalColumnsWidth\n\t });\n\t },\n\t indices: {\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t }\n\t });\n\t }\n\t }]);\n\t\n\t return Grid;\n\t}(_react.Component);\n\t\n\tGrid.propTypes = {\n\t className: _react.PropTypes.string,\n\t\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t columnWidth: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noContentRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t onSectionRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanColumnsCount: _react.PropTypes.number.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t renderCell: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollLeft: _react.PropTypes.number,\n\t\n\t scrollToColumn: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t scrollToRow: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tGrid.defaultProps = {\n\t noContentRenderer: function noContentRenderer() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t onSectionRendered: function onSectionRendered() {\n\t return null;\n\t },\n\t overscanColumnsCount: 0,\n\t overscanRowsCount: 10\n\t};\n\texports.default = Grid;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(11).clearImmediate))\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(12).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\t\n\t// DOM APIs, for completeness\n\t\n\texports.setTimeout = function() {\n\t return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function() {\n\t return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout =\n\texports.clearInterval = function(timeout) { timeout.close(); };\n\t\n\tfunction Timeout(id, clearFn) {\n\t this._id = id;\n\t this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function() {};\n\tTimeout.prototype.close = function() {\n\t this._clearFn.call(window, this._id);\n\t};\n\t\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function(item, msecs) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = msecs;\n\t};\n\t\n\texports.unenroll = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = -1;\n\t};\n\t\n\texports._unrefActive = exports.active = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t\n\t var msecs = item._idleTimeout;\n\t if (msecs >= 0) {\n\t item._idleTimeoutId = setTimeout(function onTimeout() {\n\t if (item._onTimeout)\n\t item._onTimeout();\n\t }, msecs);\n\t }\n\t};\n\t\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n\t var id = nextImmediateId++;\n\t var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\t\n\t immediateIds[id] = true;\n\t\n\t nextTick(function onNextTick() {\n\t if (immediateIds[id]) {\n\t // fn.call() is faster so we optimize for the common use-case\n\t // @see http://jsperf.com/call-apply-segu\n\t if (args) {\n\t fn.apply(null, args);\n\t } else {\n\t fn.call(null);\n\t }\n\t // Prevent ids from leaking\n\t exports.clearImmediate(id);\n\t }\n\t });\n\t\n\t return id;\n\t};\n\t\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n\t delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(11).clearImmediate))\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.computeCellMetadataAndUpdateScrollOffsetHelper = computeCellMetadataAndUpdateScrollOffsetHelper;\n\texports.createCallbackMemoizer = createCallbackMemoizer;\n\texports.findNearestCell = findNearestCell;\n\texports.getOverscanIndices = getOverscanIndices;\n\texports.getUpdatedOffsetForIndex = getUpdatedOffsetForIndex;\n\texports.getVisibleCellIndices = getVisibleCellIndices;\n\texports.initCellMetadata = initCellMetadata;\n\texports.updateScrollIndexHelper = updateScrollIndexHelper;\n\tfunction computeCellMetadataAndUpdateScrollOffsetHelper(_ref) {\n\t var cellsCount = _ref.cellsCount;\n\t var cellSize = _ref.cellSize;\n\t var computeMetadataCallback = _ref.computeMetadataCallback;\n\t var computeMetadataCallbackProps = _ref.computeMetadataCallbackProps;\n\t var computeMetadataOnNextUpdate = _ref.computeMetadataOnNextUpdate;\n\t var nextCellsCount = _ref.nextCellsCount;\n\t var nextCellSize = _ref.nextCellSize;\n\t var nextScrollToIndex = _ref.nextScrollToIndex;\n\t var scrollToIndex = _ref.scrollToIndex;\n\t var updateScrollOffsetForScrollToIndex = _ref.updateScrollOffsetForScrollToIndex;\n\t\n\t if (computeMetadataOnNextUpdate || cellsCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n\t computeMetadataCallback(computeMetadataCallbackProps);\n\t\n\t if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n\t updateScrollOffsetForScrollToIndex();\n\t }\n\t }\n\t}\n\t\n\tfunction createCallbackMemoizer() {\n\t var requireAllKeys = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\t\n\t var cachedIndices = {};\n\t\n\t return function (_ref2) {\n\t var callback = _ref2.callback;\n\t var indices = _ref2.indices;\n\t\n\t var keys = Object.keys(indices);\n\t var allInitialized = !requireAllKeys || keys.every(function (key) {\n\t return indices[key] >= 0;\n\t });\n\t var indexChanged = keys.some(function (key) {\n\t return cachedIndices[key] !== indices[key];\n\t });\n\t\n\t cachedIndices = indices;\n\t\n\t if (allInitialized && indexChanged) {\n\t callback(indices);\n\t }\n\t };\n\t}\n\t\n\tfunction findNearestCell(_ref3) {\n\t var cellMetadata = _ref3.cellMetadata;\n\t var mode = _ref3.mode;\n\t var offset = _ref3.offset;\n\t\n\t var high = cellMetadata.length - 1;\n\t var low = 0;\n\t var middle = undefined;\n\t var currentOffset = undefined;\n\t\n\t while (low <= high) {\n\t middle = low + Math.floor((high - low) / 2);\n\t currentOffset = cellMetadata[middle].offset;\n\t\n\t if (currentOffset === offset) {\n\t return middle;\n\t } else if (currentOffset < offset) {\n\t low = middle + 1;\n\t } else if (currentOffset > offset) {\n\t high = middle - 1;\n\t }\n\t }\n\t\n\t if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n\t return low - 1;\n\t } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n\t return high + 1;\n\t }\n\t}\n\t\n\tfindNearestCell.EQUAL_OR_LOWER = 1;\n\tfindNearestCell.EQUAL_OR_HIGHER = 2;\n\t\n\tfunction getOverscanIndices(_ref4) {\n\t var cellsCount = _ref4.cellsCount;\n\t var overscanCellsCount = _ref4.overscanCellsCount;\n\t var startIndex = _ref4.startIndex;\n\t var stopIndex = _ref4.stopIndex;\n\t\n\t return {\n\t overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n\t overscanStopIndex: Math.min(cellsCount - 1, stopIndex + overscanCellsCount)\n\t };\n\t}\n\t\n\tfunction getUpdatedOffsetForIndex(_ref5) {\n\t var cellMetadata = _ref5.cellMetadata;\n\t var containerSize = _ref5.containerSize;\n\t var currentOffset = _ref5.currentOffset;\n\t var targetIndex = _ref5.targetIndex;\n\t\n\t if (cellMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex));\n\t\n\t var datum = cellMetadata[targetIndex];\n\t var maxOffset = datum.offset;\n\t var minOffset = maxOffset - containerSize + datum.size;\n\t var newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));\n\t\n\t return newOffset;\n\t}\n\t\n\tfunction getVisibleCellIndices(_ref6) {\n\t var cellsCount = _ref6.cellsCount;\n\t var cellMetadata = _ref6.cellMetadata;\n\t var containerSize = _ref6.containerSize;\n\t var currentOffset = _ref6.currentOffset;\n\t\n\t if (cellsCount === 0) {\n\t return {};\n\t }\n\t\n\t currentOffset = Math.max(0, currentOffset);\n\t\n\t var maxOffset = currentOffset + containerSize;\n\t\n\t var start = findNearestCell({\n\t cellMetadata: cellMetadata,\n\t mode: findNearestCell.EQUAL_OR_LOWER,\n\t offset: currentOffset\n\t });\n\t\n\t var datum = cellMetadata[start];\n\t currentOffset = datum.offset + datum.size;\n\t\n\t var stop = start;\n\t\n\t while (currentOffset < maxOffset && stop < cellsCount - 1) {\n\t stop++;\n\t\n\t currentOffset += cellMetadata[stop].size;\n\t }\n\t\n\t return {\n\t start: start,\n\t stop: stop\n\t };\n\t}\n\t\n\tfunction initCellMetadata(_ref7) {\n\t var cellsCount = _ref7.cellsCount;\n\t var size = _ref7.size;\n\t\n\t var sizeGetter = size instanceof Function ? size : function (index) {\n\t return size;\n\t };\n\t\n\t var cellMetadata = [];\n\t var offset = 0;\n\t\n\t for (var i = 0; i < cellsCount; i++) {\n\t var _size = sizeGetter(i);\n\t\n\t if (_size == null || isNaN(_size)) {\n\t throw Error('Invalid size returned for cell ' + i + ' of value ' + _size);\n\t }\n\t\n\t cellMetadata[i] = {\n\t size: _size,\n\t offset: offset\n\t };\n\t\n\t offset += _size;\n\t }\n\t\n\t return cellMetadata;\n\t}\n\t\n\tfunction updateScrollIndexHelper(_ref8) {\n\t var cellMetadata = _ref8.cellMetadata;\n\t var cellsCount = _ref8.cellsCount;\n\t var cellSize = _ref8.cellSize;\n\t var previousCellsCount = _ref8.previousCellsCount;\n\t var previousCellSize = _ref8.previousCellSize;\n\t var previousScrollToIndex = _ref8.previousScrollToIndex;\n\t var previousSize = _ref8.previousSize;\n\t var scrollOffset = _ref8.scrollOffset;\n\t var scrollToIndex = _ref8.scrollToIndex;\n\t var size = _ref8.size;\n\t var updateScrollIndexCallback = _ref8.updateScrollIndexCallback;\n\t\n\t var hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount;\n\t var sizeHasChanged = size !== previousSize || !previousCellSize || typeof cellSize === 'number' && cellSize !== previousCellSize;\n\t\n\t if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n\t updateScrollIndexCallback();\n\t } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n\t var calculatedScrollOffset = getUpdatedOffsetForIndex({\n\t cellMetadata: cellMetadata,\n\t containerSize: size,\n\t currentOffset: scrollOffset,\n\t targetIndex: cellsCount - 1\n\t });\n\t\n\t if (calculatedScrollOffset < scrollOffset) {\n\t updateScrollIndexCallback(cellsCount - 1);\n\t }\n\t }\n\t}\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames () {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg;\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (true) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t}());\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {var now = __webpack_require__(16)\n\t , root = typeof window === 'undefined' ? global : window\n\t , vendors = ['moz', 'webkit']\n\t , suffix = 'AnimationFrame'\n\t , raf = root['request' + suffix]\n\t , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\t\n\tfor(var i = 0; !raf && i < vendors.length; i++) {\n\t raf = root[vendors[i] + 'Request' + suffix]\n\t caf = root[vendors[i] + 'Cancel' + suffix]\n\t || root[vendors[i] + 'CancelRequest' + suffix]\n\t}\n\t\n\t// Some versions of FF have rAF but not cAF\n\tif(!raf || !caf) {\n\t var last = 0\n\t , id = 0\n\t , queue = []\n\t , frameDuration = 1000 / 60\n\t\n\t raf = function(callback) {\n\t if(queue.length === 0) {\n\t var _now = now()\n\t , next = Math.max(0, frameDuration - (_now - last))\n\t last = next + _now\n\t setTimeout(function() {\n\t var cp = queue.slice(0)\n\t // Clear queue here to prevent\n\t // callbacks from appending listeners\n\t // to the current frame's queue\n\t queue.length = 0\n\t for(var i = 0; i < cp.length; i++) {\n\t if(!cp[i].cancelled) {\n\t try{\n\t cp[i].callback(last)\n\t } catch(e) {\n\t setTimeout(function() { throw e }, 0)\n\t }\n\t }\n\t }\n\t }, Math.round(next))\n\t }\n\t queue.push({\n\t handle: ++id,\n\t callback: callback,\n\t cancelled: false\n\t })\n\t return id\n\t }\n\t\n\t caf = function(handle) {\n\t for(var i = 0; i < queue.length; i++) {\n\t if(queue[i].handle === handle) {\n\t queue[i].cancelled = true\n\t }\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = function(fn) {\n\t // Wrap in a new function to prevent\n\t // `cancel` potentially being assigned\n\t // to the native rAF function\n\t return raf.call(root, fn)\n\t}\n\tmodule.exports.cancel = function() {\n\t caf.apply(root, arguments)\n\t}\n\tmodule.exports.polyfill = function() {\n\t root.requestAnimationFrame = raf\n\t root.cancelAnimationFrame = caf\n\t}\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {// Generated by CoffeeScript 1.7.1\n\t(function() {\n\t var getNanoSeconds, hrtime, loadTime;\n\t\n\t if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n\t module.exports = function() {\n\t return performance.now();\n\t };\n\t } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n\t module.exports = function() {\n\t return (getNanoSeconds() - loadTime) / 1e6;\n\t };\n\t hrtime = process.hrtime;\n\t getNanoSeconds = function() {\n\t var hr;\n\t hr = hrtime();\n\t return hr[0] * 1e9 + hr[1];\n\t };\n\t loadTime = getNanoSeconds();\n\t } else if (Date.now) {\n\t module.exports = function() {\n\t return Date.now() - loadTime;\n\t };\n\t loadTime = Date.now();\n\t } else {\n\t module.exports = function() {\n\t return new Date().getTime() - loadTime;\n\t };\n\t loadTime = new Date().getTime();\n\t }\n\t\n\t}).call(this);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17)))\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.SortIndicator = exports.SortDirection = exports.FlexColumn = exports.FlexTable = exports.default = undefined;\n\t\n\tvar _FlexTable2 = __webpack_require__(19);\n\t\n\tvar _FlexTable3 = _interopRequireDefault(_FlexTable2);\n\t\n\tvar _FlexColumn2 = __webpack_require__(20);\n\t\n\tvar _FlexColumn3 = _interopRequireDefault(_FlexColumn2);\n\t\n\tvar _SortDirection2 = __webpack_require__(22);\n\t\n\tvar _SortDirection3 = _interopRequireDefault(_SortDirection2);\n\t\n\tvar _SortIndicator2 = __webpack_require__(21);\n\t\n\tvar _SortIndicator3 = _interopRequireDefault(_SortIndicator2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _FlexTable3.default;\n\texports.FlexTable = _FlexTable3.default;\n\texports.FlexColumn = _FlexColumn3.default;\n\texports.SortDirection = _SortDirection3.default;\n\texports.SortIndicator = _SortIndicator3.default;\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _FlexColumn = __webpack_require__(20);\n\t\n\tvar _FlexColumn2 = _interopRequireDefault(_FlexColumn);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(23);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _SortDirection = __webpack_require__(22);\n\t\n\tvar _SortDirection2 = _interopRequireDefault(_SortDirection);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar FlexTable = function (_Component) {\n\t _inherits(FlexTable, _Component);\n\t\n\t function FlexTable(props) {\n\t _classCallCheck(this, FlexTable);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(FlexTable).call(this, props));\n\t\n\t _initialiseProps.call(_this);\n\t\n\t _this.state = {\n\t scrollbarWidth: 0\n\t };\n\t\n\t _this._createRow = _this._createRow.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(FlexTable, [{\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\n\t }\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this.refs.Grid.scrollToCell({\n\t scrollToColumn: 0,\n\t scrollToRow: scrollToIndex\n\t });\n\t }\n\t }, {\n\t key: 'setScrollTop',\n\t value: function setScrollTop(scrollTop) {\n\t this.refs.Grid.setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var scrollTop = this.props.scrollTop;\n\t\n\t\n\t if (scrollTop >= 0) {\n\t this.setScrollTop(scrollTop);\n\t }\n\t\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate() {\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollTop(nextProps.scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var className = _props.className;\n\t var disableHeader = _props.disableHeader;\n\t var headerHeight = _props.headerHeight;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var onRowsRendered = _props.onRowsRendered;\n\t var _onScroll = _props.onScroll;\n\t var overscanRowsCount = _props.overscanRowsCount;\n\t var rowClassName = _props.rowClassName;\n\t var rowHeight = _props.rowHeight;\n\t var rowsCount = _props.rowsCount;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var width = _props.width;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var availableRowsHeight = height - headerHeight;\n\t\n\t var rowRenderer = function rowRenderer(index) {\n\t return _this2._createRow(index);\n\t };\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2.default)('FlexTable', className)\n\t },\n\t !disableHeader && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2.default)('FlexTable__headerRow', rowClass),\n\t style: {\n\t height: headerHeight,\n\t paddingRight: scrollbarWidth,\n\t width: width\n\t }\n\t },\n\t this._getRenderedHeaderRow()\n\t ),\n\t _react2.default.createElement(_Grid2.default, {\n\t ref: 'Grid',\n\t className: 'FlexTable__Grid',\n\t columnWidth: width,\n\t columnsCount: 1,\n\t height: availableRowsHeight,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: function onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollTop = _ref.scrollTop;\n\t return _onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t },\n\t onSectionRendered: function onSectionRendered(_ref2) {\n\t var rowOverscanStartIndex = _ref2.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref2.rowOverscanStopIndex;\n\t var rowStartIndex = _ref2.rowStartIndex;\n\t var rowStopIndex = _ref2.rowStopIndex;\n\t return onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t },\n\t overscanRowsCount: overscanRowsCount,\n\t renderCell: function renderCell(_ref3) {\n\t var columnIndex = _ref3.columnIndex;\n\t var rowIndex = _ref3.rowIndex;\n\t return rowRenderer(rowIndex);\n\t },\n\t rowHeight: rowHeight,\n\t rowsCount: rowsCount,\n\t scrollToRow: scrollToIndex,\n\t width: width\n\t })\n\t );\n\t }\n\t }, {\n\t key: '_createColumn',\n\t value: function _createColumn(column, columnIndex, rowData, rowIndex) {\n\t var _column$props = column.props;\n\t var cellClassName = _column$props.cellClassName;\n\t var cellDataGetter = _column$props.cellDataGetter;\n\t var columnData = _column$props.columnData;\n\t var dataKey = _column$props.dataKey;\n\t var cellRenderer = _column$props.cellRenderer;\n\t\n\t var cellData = cellDataGetter(dataKey, rowData, columnData);\n\t var renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData);\n\t\n\t var style = this._getFlexStyleForColumn(column);\n\t\n\t var title = typeof renderedCell === 'string' ? renderedCell : null;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: 'Row' + rowIndex + '-Col' + columnIndex,\n\t className: (0, _classnames2.default)('FlexTable__rowColumn', cellClassName),\n\t style: style\n\t },\n\t _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__truncatedColumnText',\n\t title: title\n\t },\n\t renderedCell\n\t )\n\t );\n\t }\n\t }, {\n\t key: '_createHeader',\n\t value: function _createHeader(column, columnIndex) {\n\t var _props2 = this.props;\n\t var headerClassName = _props2.headerClassName;\n\t var onHeaderClick = _props2.onHeaderClick;\n\t var sort = _props2.sort;\n\t var sortBy = _props2.sortBy;\n\t var sortDirection = _props2.sortDirection;\n\t var _column$props2 = column.props;\n\t var dataKey = _column$props2.dataKey;\n\t var disableSort = _column$props2.disableSort;\n\t var headerRenderer = _column$props2.headerRenderer;\n\t var label = _column$props2.label;\n\t var columnData = _column$props2.columnData;\n\t\n\t var sortEnabled = !disableSort && sort;\n\t\n\t var classNames = (0, _classnames2.default)('FlexTable__headerColumn', headerClassName, column.props.headerClassName, {\n\t 'FlexTable__sortableHeaderColumn': sortEnabled\n\t });\n\t var style = this._getFlexStyleForColumn(column);\n\t\n\t var newSortDirection = sortBy !== dataKey || sortDirection === _SortDirection2.default.DESC ? _SortDirection2.default.ASC : _SortDirection2.default.DESC;\n\t var onClick = function onClick() {\n\t sortEnabled && sort(dataKey, newSortDirection);\n\t onHeaderClick(dataKey, columnData);\n\t };\n\t\n\t var renderedHeader = headerRenderer({\n\t columnData: columnData,\n\t dataKey: dataKey,\n\t disableSort: disableSort,\n\t label: label,\n\t sortBy: sortBy,\n\t sortDirection: sortDirection\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: 'Header-Col' + columnIndex,\n\t className: classNames,\n\t style: style,\n\t onClick: onClick\n\t },\n\t renderedHeader\n\t );\n\t }\n\t }, {\n\t key: '_createRow',\n\t value: function _createRow(rowIndex) {\n\t var _this3 = this;\n\t\n\t var _props3 = this.props;\n\t var children = _props3.children;\n\t var onRowClick = _props3.onRowClick;\n\t var rowClassName = _props3.rowClassName;\n\t var rowGetter = _props3.rowGetter;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName;\n\t\n\t var renderedRow = _react2.default.Children.map(children, function (column, columnIndex) {\n\t return _this3._createColumn(column, columnIndex, rowGetter(rowIndex), rowIndex);\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t key: rowIndex,\n\t className: (0, _classnames2.default)('FlexTable__row', rowClass),\n\t onClick: function onClick() {\n\t return onRowClick(rowIndex);\n\t },\n\t style: {\n\t height: this._getRowHeight(rowIndex),\n\t paddingRight: scrollbarWidth\n\t }\n\t },\n\t renderedRow\n\t );\n\t }\n\t }, {\n\t key: '_getFlexStyleForColumn',\n\t value: function _getFlexStyleForColumn(column) {\n\t var flexValue = column.props.flexGrow + ' ' + column.props.flexShrink + ' ' + column.props.width + 'px';\n\t\n\t var style = {\n\t flex: flexValue,\n\t msFlex: flexValue,\n\t WebkitFlex: flexValue\n\t };\n\t\n\t if (column.props.maxWidth) {\n\t style.maxWidth = column.props.maxWidth;\n\t }\n\t\n\t if (column.props.minWidth) {\n\t style.minWidth = column.props.minWidth;\n\t }\n\t\n\t return style;\n\t }\n\t }, {\n\t key: '_getRenderedHeaderRow',\n\t value: function _getRenderedHeaderRow() {\n\t var _this4 = this;\n\t\n\t var _props4 = this.props;\n\t var children = _props4.children;\n\t var disableHeader = _props4.disableHeader;\n\t\n\t var items = disableHeader ? [] : children;\n\t\n\t return _react2.default.Children.map(items, function (column, index) {\n\t return _this4._createHeader(column, index);\n\t });\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(rowIndex) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t\n\t return rowHeight instanceof Function ? rowHeight(rowIndex) : rowHeight;\n\t }\n\t }, {\n\t key: '_setScrollbarWidth',\n\t value: function _setScrollbarWidth() {\n\t var Grid = (0, _reactDom.findDOMNode)(this.refs.Grid);\n\t var clientWidth = Grid.clientWidth || 0;\n\t var offsetWidth = Grid.offsetWidth || 0;\n\t var scrollbarWidth = offsetWidth - clientWidth;\n\t\n\t this.setState({ scrollbarWidth: scrollbarWidth });\n\t }\n\t }]);\n\t\n\t return FlexTable;\n\t}(_react.Component);\n\t\n\tFlexTable.propTypes = {\n\t children: function children(props, propName, componentName) {\n\t var children = _react2.default.Children.toArray(props.children);\n\t for (var i = 0; i < children.length; i++) {\n\t if (children[i].type !== _FlexColumn2.default) {\n\t return new Error('FlexTable only accepts children of type FlexColumn');\n\t }\n\t }\n\t },\n\t\n\t className: _react.PropTypes.string,\n\t\n\t disableHeader: _react.PropTypes.bool,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t headerHeight: _react.PropTypes.number.isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func,\n\t\n\t onHeaderClick: _react.PropTypes.func,\n\t\n\t onRowClick: _react.PropTypes.func,\n\t\n\t onRowsRendered: _react.PropTypes.func,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t rowClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t rowGetter: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t sort: _react.PropTypes.func,\n\t\n\t sortBy: _react.PropTypes.string,\n\t\n\t sortDirection: _react.PropTypes.oneOf([_SortDirection2.default.ASC, _SortDirection2.default.DESC]),\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tFlexTable.defaultProps = {\n\t disableHeader: false,\n\t headerHeight: 0,\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onHeaderClick: function onHeaderClick() {\n\t return null;\n\t },\n\t onRowClick: function onRowClick() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowsCount: 10\n\t};\n\t\n\tvar _initialiseProps = function _initialiseProps() {\n\t this.shouldComponentUpdate = _function2.default;\n\t};\n\t\n\texports.default = FlexTable;\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.defaultCellRenderer = defaultCellRenderer;\n\texports.defaultCellDataGetter = defaultCellDataGetter;\n\texports.defaultHeaderRenderer = defaultHeaderRenderer;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _SortIndicator = __webpack_require__(21);\n\t\n\tvar _SortIndicator2 = _interopRequireDefault(_SortIndicator);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction defaultCellRenderer(cellData, cellDataKey, rowData, rowIndex, columnData) {\n\t if (cellData === null || cellData === undefined) {\n\t return '';\n\t } else {\n\t return String(cellData);\n\t }\n\t}\n\t\n\tfunction defaultCellDataGetter(dataKey, rowData, columnData) {\n\t if (rowData.get instanceof Function) {\n\t return rowData.get(dataKey);\n\t } else {\n\t return rowData[dataKey];\n\t }\n\t}\n\t\n\tfunction defaultHeaderRenderer(_ref) {\n\t var columnData = _ref.columnData;\n\t var dataKey = _ref.dataKey;\n\t var disableSort = _ref.disableSort;\n\t var label = _ref.label;\n\t var sortBy = _ref.sortBy;\n\t var sortDirection = _ref.sortDirection;\n\t\n\t var showSortIndicator = sortBy === dataKey;\n\t var children = [_react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__headerTruncatedText',\n\t key: 'label',\n\t title: label\n\t },\n\t label\n\t )];\n\t\n\t if (showSortIndicator) {\n\t children.push(_react2.default.createElement(_SortIndicator2.default, {\n\t key: 'SortIndicator',\n\t sortDirection: sortDirection\n\t }));\n\t }\n\t\n\t return children;\n\t}\n\t\n\tvar Column = function (_Component) {\n\t _inherits(Column, _Component);\n\t\n\t function Column() {\n\t _classCallCheck(this, Column);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(Column).apply(this, arguments));\n\t }\n\t\n\t return Column;\n\t}(_react.Component);\n\t\n\tColumn.defaultProps = {\n\t cellDataGetter: defaultCellDataGetter,\n\t cellRenderer: defaultCellRenderer,\n\t flexGrow: 0,\n\t flexShrink: 1,\n\t headerRenderer: defaultHeaderRenderer\n\t};\n\tColumn.propTypes = {\n\t cellClassName: _react.PropTypes.string,\n\t\n\t cellDataGetter: _react.PropTypes.func,\n\t\n\t cellRenderer: _react.PropTypes.func,\n\t\n\t columnData: _react.PropTypes.object,\n\t\n\t dataKey: _react.PropTypes.any.isRequired,\n\t\n\t disableSort: _react.PropTypes.bool,\n\t\n\t flexGrow: _react.PropTypes.number,\n\t\n\t flexShrink: _react.PropTypes.number,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t headerRenderer: _react.PropTypes.func.isRequired,\n\t\n\t label: _react.PropTypes.string,\n\t\n\t maxWidth: _react.PropTypes.number,\n\t\n\t minWidth: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\texports.default = Column;\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = SortIndicator;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _SortDirection = __webpack_require__(22);\n\t\n\tvar _SortDirection2 = _interopRequireDefault(_SortDirection);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction SortIndicator(_ref) {\n\t var sortDirection = _ref.sortDirection;\n\t\n\t var classNames = (0, _classnames2.default)('FlexTable__sortableHeaderIcon', {\n\t 'FlexTable__sortableHeaderIcon--ASC': sortDirection === _SortDirection2.default.ASC,\n\t 'FlexTable__sortableHeaderIcon--DESC': sortDirection === _SortDirection2.default.DESC\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'svg',\n\t {\n\t className: classNames,\n\t width: 18,\n\t height: 18,\n\t viewBox: '0 0 24 24',\n\t xmlns: 'http://www.w3.org/2000/svg'\n\t },\n\t sortDirection === _SortDirection2.default.ASC ? _react2.default.createElement('path', { d: 'M7 14l5-5 5 5z' }) : _react2.default.createElement('path', { d: 'M7 10l5 5 5-5z' }),\n\t _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })\n\t );\n\t}\n\tSortIndicator.propTypes = {\n\t sortDirection: _react.PropTypes.oneOf([_SortDirection2.default.ASC, _SortDirection2.default.DESC])\n\t};\n\n/***/ },\n/* 22 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar SortDirection = {\n\t ASC: 'ASC',\n\t\n\t DESC: 'DESC'\n\t};\n\t\n\texports.default = SortDirection;\n\n/***/ },\n/* 23 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_23__;\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.InfiniteLoader = exports.default = undefined;\n\t\n\tvar _InfiniteLoader2 = __webpack_require__(25);\n\t\n\tvar _InfiniteLoader3 = _interopRequireDefault(_InfiniteLoader2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _InfiniteLoader3.default;\n\texports.InfiniteLoader = _InfiniteLoader3.default;\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\texports.isRangeVisible = isRangeVisible;\n\texports.scanForUnloadedRanges = scanForUnloadedRanges;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar InfiniteLoader = function (_Component) {\n\t _inherits(InfiniteLoader, _Component);\n\t\n\t function InfiniteLoader(props, context) {\n\t _classCallCheck(this, InfiniteLoader);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(InfiniteLoader).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this._onRowsRendered = _this._onRowsRendered.bind(_this);\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(InfiniteLoader, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t\n\t\n\t return children({\n\t onRowsRendered: this._onRowsRendered,\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: '_onRowsRendered',\n\t value: function _onRowsRendered(_ref) {\n\t var _this2 = this;\n\t\n\t var startIndex = _ref.startIndex;\n\t var stopIndex = _ref.stopIndex;\n\t var _props = this.props;\n\t var isRowLoaded = _props.isRowLoaded;\n\t var loadMoreRows = _props.loadMoreRows;\n\t var rowsCount = _props.rowsCount;\n\t var threshold = _props.threshold;\n\t\n\t\n\t this._lastRenderedStartIndex = startIndex;\n\t this._lastRenderedStopIndex = stopIndex;\n\t\n\t var unloadedRanges = scanForUnloadedRanges({\n\t isRowLoaded: isRowLoaded,\n\t startIndex: Math.max(0, startIndex - threshold),\n\t stopIndex: Math.min(rowsCount, stopIndex + threshold)\n\t });\n\t\n\t unloadedRanges.forEach(function (unloadedRange) {\n\t var promise = loadMoreRows(unloadedRange);\n\t if (promise) {\n\t promise.then(function () {\n\t if (isRangeVisible({\n\t lastRenderedStartIndex: _this2._lastRenderedStartIndex,\n\t lastRenderedStopIndex: _this2._lastRenderedStopIndex,\n\t startIndex: unloadedRange.startIndex,\n\t stopIndex: unloadedRange.stopIndex\n\t })) {\n\t if (_this2._registeredChild) {\n\t _this2._registeredChild.forceUpdate();\n\t }\n\t }\n\t });\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(registeredChild) {\n\t this._registeredChild = registeredChild;\n\t }\n\t }]);\n\t\n\t return InfiniteLoader;\n\t}(_react.Component);\n\t\n\tInfiniteLoader.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t isRowLoaded: _react.PropTypes.func.isRequired,\n\t\n\t loadMoreRows: _react.PropTypes.func.isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t threshold: _react.PropTypes.number.isRequired\n\t};\n\tInfiniteLoader.defaultProps = {\n\t rowsCount: 0,\n\t threshold: 15\n\t};\n\texports.default = InfiniteLoader;\n\tfunction isRangeVisible(_ref2) {\n\t var lastRenderedStartIndex = _ref2.lastRenderedStartIndex;\n\t var lastRenderedStopIndex = _ref2.lastRenderedStopIndex;\n\t var startIndex = _ref2.startIndex;\n\t var stopIndex = _ref2.stopIndex;\n\t\n\t return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex);\n\t}\n\t\n\tfunction scanForUnloadedRanges(_ref3) {\n\t var isRowLoaded = _ref3.isRowLoaded;\n\t var startIndex = _ref3.startIndex;\n\t var stopIndex = _ref3.stopIndex;\n\t\n\t var unloadedRanges = [];\n\t var rangeStartIndex = null;\n\t var rangeStopIndex = null;\n\t\n\t for (var i = startIndex; i <= stopIndex; i++) {\n\t var loaded = isRowLoaded(i);\n\t\n\t if (!loaded) {\n\t rangeStopIndex = i;\n\t if (rangeStartIndex === null) {\n\t rangeStartIndex = i;\n\t }\n\t } else if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t\n\t rangeStartIndex = rangeStopIndex = null;\n\t }\n\t }\n\t\n\t if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t }\n\t\n\t return unloadedRanges;\n\t}\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ScrollSync = exports.default = undefined;\n\t\n\tvar _ScrollSync2 = __webpack_require__(27);\n\t\n\tvar _ScrollSync3 = _interopRequireDefault(_ScrollSync2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ScrollSync3.default;\n\texports.ScrollSync = _ScrollSync3.default;\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ScrollSync = function (_Component) {\n\t _inherits(ScrollSync, _Component);\n\t\n\t function ScrollSync(props, context) {\n\t _classCallCheck(this, ScrollSync);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ScrollSync).call(this, props, context));\n\t\n\t _this.shouldComponentUpdate = _function2.default;\n\t\n\t\n\t _this.state = {\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ScrollSync, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollTop = _state.scrollTop;\n\t\n\t\n\t return children({\n\t onScroll: this._onScroll,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(_ref) {\n\t var scrollLeft = _ref.scrollLeft;\n\t var scrollTop = _ref.scrollTop;\n\t\n\t this.setState({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t }]);\n\t\n\t return ScrollSync;\n\t}(_react.Component);\n\t\n\tScrollSync.propTypes = {\n\t children: _react.PropTypes.func.isRequired\n\t};\n\texports.default = ScrollSync;\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.VirtualScroll = exports.default = undefined;\n\t\n\tvar _VirtualScroll2 = __webpack_require__(29);\n\t\n\tvar _VirtualScroll3 = _interopRequireDefault(_VirtualScroll2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _VirtualScroll3.default;\n\texports.VirtualScroll = _VirtualScroll3.default;\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _Grid = __webpack_require__(9);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _function = __webpack_require__(4);\n\t\n\tvar _function2 = _interopRequireDefault(_function);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar VirtualScroll = function (_Component) {\n\t _inherits(VirtualScroll, _Component);\n\t\n\t function VirtualScroll() {\n\t var _Object$getPrototypeO;\n\t\n\t var _temp, _this, _ret;\n\t\n\t _classCallCheck(this, VirtualScroll);\n\t\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(VirtualScroll)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.shouldComponentUpdate = _function2.default, _temp), _possibleConstructorReturn(_this, _ret);\n\t }\n\t\n\t _createClass(VirtualScroll, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var scrollTop = this.props.scrollTop;\n\t\n\t\n\t if (scrollTop >= 0) {\n\t this.setScrollTop(scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.scrollTop !== this.props.scrollTop) {\n\t this.setScrollTop(nextProps.scrollTop);\n\t }\n\t }\n\t }, {\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.Grid.recomputeGridSize();\n\t }\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this.refs.Grid.scrollToCell({\n\t scrollToColumn: 0,\n\t scrollToRow: scrollToIndex\n\t });\n\t }\n\t }, {\n\t key: 'setScrollTop',\n\t value: function setScrollTop(scrollTop) {\n\t this.refs.Grid.setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var onRowsRendered = _props.onRowsRendered;\n\t var _onScroll = _props.onScroll;\n\t var rowHeight = _props.rowHeight;\n\t var rowRenderer = _props.rowRenderer;\n\t var overscanRowsCount = _props.overscanRowsCount;\n\t var rowsCount = _props.rowsCount;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var width = _props.width;\n\t\n\t\n\t var classNames = (0, _classnames2.default)('VirtualScroll', className);\n\t\n\t return _react2.default.createElement(_Grid2.default, {\n\t ref: 'Grid',\n\t className: classNames,\n\t columnWidth: width,\n\t columnsCount: 1,\n\t height: height,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: function onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollTop = _ref.scrollTop;\n\t return _onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t },\n\t onSectionRendered: function onSectionRendered(_ref2) {\n\t var rowOverscanStartIndex = _ref2.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref2.rowOverscanStopIndex;\n\t var rowStartIndex = _ref2.rowStartIndex;\n\t var rowStopIndex = _ref2.rowStopIndex;\n\t return onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t },\n\t overscanRowsCount: overscanRowsCount,\n\t renderCell: function renderCell(_ref3) {\n\t var columnIndex = _ref3.columnIndex;\n\t var rowIndex = _ref3.rowIndex;\n\t return rowRenderer(rowIndex);\n\t },\n\t rowHeight: rowHeight,\n\t rowsCount: rowsCount,\n\t scrollToRow: scrollToIndex,\n\t width: width\n\t });\n\t }\n\t }]);\n\t\n\t return VirtualScroll;\n\t}(_react.Component);\n\t\n\tVirtualScroll.propTypes = {\n\t className: _react.PropTypes.string,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onRowsRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowsCount: _react.PropTypes.number.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowRenderer: _react.PropTypes.func.isRequired,\n\t\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tVirtualScroll.defaultProps = {\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowsCount: 10\n\t};\n\texports.default = VirtualScroll;\n\n/***/ }\n/******/ ])\n});\n;\n\n\n/** WEBPACK FOOTER **\n ** react-virtualized.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap 9af8c3397a7b27992b4d\n **/","/* @flow */\nexport { AutoSizer } from './AutoSizer'\nexport { ColumnSizer } from './ColumnSizer'\nexport { FlexTable, FlexColumn, SortDirection, SortIndicator } from './FlexTable'\nexport { Grid } from './Grid'\nexport { InfiniteLoader } from './InfiniteLoader'\nexport { ScrollSync } from './ScrollSync'\nexport { VirtualScroll } from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/index.js\n **/","export default from './AutoSizer'\nexport AutoSizer from './AutoSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Decorator component that automatically adjusts the width and height of a single child.\n * Child component should not be declared as a child but should rather be specified by a `ChildComponent` property.\n * All other properties will be passed through to the child component.\n */\nexport default class AutoSizer extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering children.\n * This function should implement the following signature:\n * ({ height, width }) => PropTypes.element\n */\n children: PropTypes.func.isRequired,\n\n /** Disable dynamic :height property */\n disableHeight: PropTypes.bool,\n\n /** Disable dynamic :width property */\n disableWidth: PropTypes.bool,\n\n /** Callback to be invoked on-resize: ({ height, width }) */\n onResize: PropTypes.func.isRequired\n }\n\n static defaultProps = {\n onResize: () => {}\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n height: 0,\n width: 0\n }\n\n this._onResize = this._onResize.bind(this)\n this._setRef = this._setRef.bind(this)\n }\n\n componentDidMount () {\n // Defer requiring resize handler in order to support server-side rendering.\n // See issue #41\n this._detectElementResize = require('../vendor/detectElementResize')\n this._detectElementResize.addResizeListener(this._parentNode, this._onResize)\n\n this._onResize()\n }\n\n componentWillUnmount () {\n this._detectElementResize.removeResizeListener(this._parentNode, this._onResize)\n }\n\n render () {\n const { children, disableHeight, disableWidth } = this.props\n const { height, width } = this.state\n\n // Outer div should not force width/height since that may prevent containers from shrinking.\n // Inner component should overflow and use calculated width/height.\n // See issue #68 for more information.\n const outerStyle = { overflow: 'visible' }\n\n if (!disableHeight) {\n outerStyle.height = 0\n }\n\n if (!disableWidth) {\n outerStyle.width = 0\n }\n\n return (\n \n {children({ height, width })}\n \n )\n }\n\n _onResize () {\n const { onResize } = this.props\n const { height, width } = this._parentNode.getBoundingClientRect()\n\n const style = getComputedStyle(this._parentNode)\n const paddingLeft = parseInt(style.paddingLeft, 10)\n const paddingRight = parseInt(style.paddingRight, 10)\n const paddingTop = parseInt(style.paddingTop, 10)\n const paddingBottom = parseInt(style.paddingBottom, 10)\n\n this.setState({\n height: height - paddingTop - paddingBottom,\n width: width - paddingLeft - paddingRight\n })\n\n onResize({ height, width })\n }\n\n _setRef (autoSizer) {\n // In case the component has been unmounted\n this._parentNode = autoSizer && autoSizer.parentNode\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/AutoSizer.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}\n ** module id = 3\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shouldPureComponentUpdate;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _shallowEqual = require('./shallowEqual');\n\nvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\nfunction shouldPureComponentUpdate(nextProps, nextState) {\n return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/function.js\n ** module id = 4\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shallowEqual;\n\nfunction shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n for (var i = 0; i < keysA.length; i++) {\n if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/shallowEqual.js\n ** module id = 5\n ** module chunks = 0\n **/","/**\n* Detect Element Resize.\n* Forked in order to guard against unsafe 'window' and 'document' references.\n*\n* https://github.com/sdecima/javascript-detect-element-resize\n* Sebastian Decima\n*\n* version: 0.5.3\n**/\n\n// Check `document` and `window` in case of server-side rendering\nvar _window\nif (typeof window !== 'undefined') {\n _window = window\n} else if (typeof self !== 'undefined') {\n _window = self\n} else {\n _window = this\n}\n\nvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\nvar stylesCreated = false;\n\nif (!attachEvent) {\n var requestFrame = (function(){\n var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame ||\n function(fn){ return _window.setTimeout(fn, 20); };\n return function(fn){ return raf(fn); };\n })();\n\n var cancelFrame = (function(){\n var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame ||\n _window.clearTimeout;\n return function(id){ return cancel(id); };\n })();\n\n var resetTriggers = function(element){\n var triggers = element.__resizeTriggers__,\n expand = triggers.firstElementChild,\n contract = triggers.lastElementChild,\n expandChild = expand.firstElementChild;\n contract.scrollLeft = contract.scrollWidth;\n contract.scrollTop = contract.scrollHeight;\n expandChild.style.width = expand.offsetWidth + 1 + 'px';\n expandChild.style.height = expand.offsetHeight + 1 + 'px';\n expand.scrollLeft = expand.scrollWidth;\n expand.scrollTop = expand.scrollHeight;\n };\n\n var checkTriggers = function(element){\n return element.offsetWidth != element.__resizeLast__.width ||\n element.offsetHeight != element.__resizeLast__.height;\n }\n\n var scrollListener = function(e){\n var element = this;\n resetTriggers(this);\n if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n this.__resizeRAF__ = requestFrame(function(){\n if (checkTriggers(element)) {\n element.__resizeLast__.width = element.offsetWidth;\n element.__resizeLast__.height = element.offsetHeight;\n element.__resizeListeners__.forEach(function(fn){\n fn.call(element, e);\n });\n }\n });\n };\n\n /* Detect CSS Animations support to detect element display/re-attach */\n var animation = false,\n animationstring = 'animation',\n keyframeprefix = '',\n animationstartevent = 'animationstart',\n domPrefixes = 'Webkit Moz O ms'.split(' '),\n startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n pfx = '';\n {\n var elm = document.createElement('fakeelement');\n if( elm.style.animationName !== undefined ) { animation = true; }\n\n if( animation === false ) {\n for( var i = 0; i < domPrefixes.length; i++ ) {\n if( elm.style[ domPrefixes[i] + 'AnimationName' ] !== undefined ) {\n pfx = domPrefixes[ i ];\n animationstring = pfx + 'Animation';\n keyframeprefix = '-' + pfx.toLowerCase() + '-';\n animationstartevent = startEvents[ i ];\n animation = true;\n break;\n }\n }\n }\n }\n\n var animationName = 'resizeanim';\n var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n}\n\nvar createStyles = function() {\n if (!stylesCreated) {\n //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n var css = (animationKeyframes ? animationKeyframes : '') +\n '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' +\n '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n head = document.head || document.getElementsByTagName('head')[0],\n style = document.createElement('style');\n\n style.type = 'text/css';\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n\n head.appendChild(style);\n stylesCreated = true;\n }\n}\n\nvar addResizeListener = function(element, fn){\n if (attachEvent) element.attachEvent('onresize', fn);\n else {\n if (!element.__resizeTriggers__) {\n if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n createStyles();\n element.__resizeLast__ = {};\n element.__resizeListeners__ = [];\n (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n element.__resizeTriggers__.innerHTML = '
' +\n '
';\n element.appendChild(element.__resizeTriggers__);\n resetTriggers(element);\n element.addEventListener('scroll', scrollListener, true);\n\n /* Listen for a css animation to detect element display/re-attach */\n animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function(e) {\n if(e.animationName == animationName)\n resetTriggers(element);\n });\n }\n element.__resizeListeners__.push(fn);\n }\n};\n\nvar removeResizeListener = function(element, fn){\n if (attachEvent) element.detachEvent('onresize', fn);\n else {\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n if (!element.__resizeListeners__.length) {\n element.removeEventListener('scroll', scrollListener);\n element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n }\n }\n}\n\nmodule.exports = {\n addResizeListener : addResizeListener,\n removeResizeListener : removeResizeListener\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/vendor/detectElementResize.js\n **/","/** @flow */\nexport default from './ColumnSizer'\nexport ColumnSizer from './ColumnSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/index.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport Grid from '../Grid'\n\n/**\n * High-order component that auto-calculates column-widths for `Grid` cells.\n */\nexport default class ColumnSizer extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering a virtualized Grid.\n * This function should implement the following signature:\n * ({ adjustedWidth, getColumnWidth, registerChild }) => PropTypes.element\n *\n * The specified :getColumnWidth function should be passed to the Grid's :columnWidth property.\n * The :registerChild should be passed to the Grid's :ref property.\n * The :adjustedWidth property is optional; it reflects the lesser of the overall width or the width of all columns.\n */\n children: PropTypes.func.isRequired,\n\n /** Optional maximum allowed column width */\n columnMaxWidth: PropTypes.number,\n\n /** Optional minimum allowed column width */\n columnMinWidth: PropTypes.number,\n\n /** Number of columns in Grid or FlexTable child */\n columnsCount: PropTypes.number.isRequired,\n\n /** Width of Grid or FlexTable child */\n width: PropTypes.number.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._registerChild = this._registerChild.bind(this)\n }\n\n componentDidUpdate (prevProps, prevState) {\n const {\n columnMaxWidth,\n columnMinWidth,\n columnsCount,\n width\n } = this.props\n\n if (\n columnMaxWidth !== prevProps.columnMaxWidth ||\n columnMinWidth !== prevProps.columnMinWidth ||\n columnsCount !== prevProps.columnsCount ||\n width !== prevProps.width\n ) {\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n }\n\n render () {\n const {\n children,\n columnMaxWidth,\n columnMinWidth,\n columnsCount,\n width\n } = this.props\n\n const safeColumnMinWidth = columnMinWidth || 1\n\n const safeColumnMaxWidth = columnMaxWidth\n ? Math.min(columnMaxWidth, width)\n : width\n\n let columnWidth = width / columnsCount\n columnWidth = Math.max(safeColumnMinWidth, columnWidth)\n columnWidth = Math.min(safeColumnMaxWidth, columnWidth)\n columnWidth = Math.floor(columnWidth)\n\n let adjustedWidth = Math.min(width, columnWidth * columnsCount)\n\n return children({\n adjustedWidth,\n getColumnWidth: () => columnWidth,\n registerChild: this._registerChild\n })\n }\n\n _registerChild (child) {\n if (child !== null && !(child instanceof Grid)) {\n throw Error('Unexpected child type registered; only Grid children are supported.')\n }\n\n this._registeredChild = child\n\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/ColumnSizer.js\n **/","/** @flow */\nexport default from './Grid'\nexport Grid from './Grid'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/index.js\n **/","/** @flow */\nimport {\n computeCellMetadataAndUpdateScrollOffsetHelper,\n createCallbackMemoizer,\n getOverscanIndices,\n getUpdatedOffsetForIndex,\n getVisibleCellIndices,\n initCellMetadata,\n updateScrollIndexHelper\n} from '../utils'\nimport cn from 'classnames'\nimport raf from 'raf'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nconst IS_SCROLLING_TIMEOUT = 150\n\n/**\n * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nconst SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n}\n\n/**\n * Renders tabular data with virtualization along the vertical and horizontal axes.\n * Row heights and column widths must be known ahead of time and specified as properties.\n */\nexport default class Grid extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Optional custom CSS class name to attach to root Grid element.\n */\n className: PropTypes.string,\n\n /**\n * Number of columns in grid.\n */\n columnsCount: PropTypes.number.isRequired,\n\n /**\n * Either a fixed column width (number) or a function that returns the width of a column given its index.\n * Should implement the following interface: (index: number): number\n */\n columnWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Height of Grid; this property determines the number of visible (vs virtualized) rows.\n */\n height: PropTypes.number.isRequired,\n\n /**\n * Optional renderer to be used in place of rows when either :rowsCount or :columnsCount is 0.\n */\n noContentRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the section of the Grid that was just rendered.\n * ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }): void\n */\n onSectionRendered: PropTypes.func.isRequired,\n\n /**\n * Number of columns to render before/after the visible section of the grid.\n * These columns can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanColumnsCount: PropTypes.number.isRequired,\n\n /**\n * Number of rows to render above/below the visible section of the grid.\n * These rows can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Responsible for rendering a cell given an row and column index.\n * Should implement the following interface: ({ columnIndex: number, rowIndex: number }): PropTypes.node\n */\n renderCell: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * Should implement the following interface: (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Number of rows in grid.\n */\n rowsCount: PropTypes.number.isRequired,\n\n /** Horizontal offset. */\n scrollLeft: PropTypes.number,\n\n /**\n * Column index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToColumn: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Row index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToRow: PropTypes.number,\n\n /**\n * Width of Grid; this property determines the number of visible (vs virtualized) columns.\n */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n noContentRenderer: () => null,\n onScroll: () => null,\n onSectionRendered: () => null,\n overscanColumnsCount: 0,\n overscanRowsCount: 10\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n computeGridMetadataOnNextUpdate: false,\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n }\n\n // Invokes onSectionRendered callback only when start/stop row or column indices change\n this._onGridRenderedMemoizer = createCallbackMemoizer()\n this._onScrollMemoizer = createCallbackMemoizer(false)\n\n // Bind functions to instance so they don't lose context when passed around\n this._computeGridMetadata = this._computeGridMetadata.bind(this)\n this._invokeOnGridRenderedHelper = this._invokeOnGridRenderedHelper.bind(this)\n this._onKeyPress = this._onKeyPress.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._updateScrollLeftForScrollToColumn = this._updateScrollLeftForScrollToColumn.bind(this)\n this._updateScrollTopForScrollToRow = this._updateScrollTopForScrollToRow.bind(this)\n }\n\n /**\n * Forced recompute of row heights and column widths.\n * This function should be called if dynamic column or row sizes have changed but nothing else has.\n * Since Grid only receives :columnsCount and :rowsCount it has no way of detecting when the underlying data changes.\n */\n recomputeGridSize () {\n this.setState({\n computeGridMetadataOnNextUpdate: true\n })\n }\n\n /**\n * Updates the Grid to ensure the cell at the specified row and column indices is visible.\n * This method exists so that a user can forcefully scroll to the same cell twice.\n * (The :scrollToColumn and :scrollToRow properties would not change in that case so it would not be picked up by the component.)\n */\n scrollToCell ({ scrollToColumn, scrollToRow }) {\n this._updateScrollLeftForScrollToColumn(scrollToColumn)\n this._updateScrollTopForScrollToRow(scrollToRow)\n }\n\n /**\n * Set the :scrollLeft and :scrollTop position within the inner scroll container.\n * Normally it is best to let Grid manage these properties or to use a method like :scrollToCell.\n * This method enables Grid to be scroll-synced to another react-virtualized component though.\n * It is appropriate to use in that case.\n */\n setScrollPosition ({ scrollLeft, scrollTop }) {\n const newState = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n }\n\n if (scrollLeft >= 0) {\n newState.scrollLeft = scrollLeft\n }\n\n if (scrollTop >= 0) {\n newState.scrollTop = scrollTop\n }\n\n if (\n scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft ||\n scrollTop >= 0 && scrollTop !== this.state.scrollTop\n ) {\n this.setState(newState)\n }\n }\n\n componentDidMount () {\n const { scrollLeft, scrollToColumn, scrollTop, scrollToRow } = this.props\n\n if (scrollLeft >= 0 || scrollTop >= 0) {\n this.setScrollPosition({ scrollLeft, scrollTop })\n }\n\n if (scrollToColumn >= 0 || scrollToRow >= 0) {\n // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n this._setImmediateId = setImmediate(() => {\n this._setImmediateId = null\n this._updateScrollLeftForScrollToColumn()\n this._updateScrollTopForScrollToRow()\n })\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper()\n }\n\n componentDidUpdate (prevProps, prevState) {\n const { columnsCount, columnWidth, height, rowHeight, rowsCount, scrollToColumn, scrollToRow, width } = this.props\n const { scrollLeft, scrollPositionChangeReason, scrollTop } = this.state\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n if (\n scrollLeft >= 0 &&\n scrollLeft !== prevState.scrollLeft &&\n scrollLeft !== this.refs.scrollingContainer.scrollLeft\n ) {\n this.refs.scrollingContainer.scrollLeft = scrollLeft\n }\n if (\n scrollTop >= 0 &&\n scrollTop !== prevState.scrollTop &&\n scrollTop !== this.refs.scrollingContainer.scrollTop\n ) {\n this.refs.scrollingContainer.scrollTop = scrollTop\n }\n }\n\n // Update scrollLeft if appropriate\n updateScrollIndexHelper({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n cellSize: columnWidth,\n previousCellsCount: prevProps.columnsCount,\n previousCellSize: prevProps.columnWidth,\n previousScrollToIndex: prevProps.scrollToColumn,\n previousSize: prevProps.width,\n scrollOffset: scrollLeft,\n scrollToIndex: scrollToColumn,\n size: width,\n updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n })\n\n // Update scrollTop if appropriate\n updateScrollIndexHelper({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n cellSize: rowHeight,\n previousCellsCount: prevProps.rowsCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToIndex: prevProps.scrollToRow,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToIndex: scrollToRow,\n size: height,\n updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n })\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnGridRenderedHelper()\n }\n\n componentWillMount () {\n this._computeGridMetadata(this.props)\n }\n\n componentWillUnmount () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n if (this._setImmediateId) {\n clearImmediate(this._setImmediateId)\n }\n\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (\n nextProps.columnsCount === 0 &&\n nextState.scrollLeft !== 0\n ) {\n this.setScrollPosition({ scrollLeft: 0 })\n }\n\n if (\n nextProps.rowsCount === 0 &&\n nextState.scrollTop !== 0\n ) {\n this.setScrollPosition({ scrollTop: 0 })\n }\n\n if (nextProps.scrollLeft !== this.props.scrollLeft) {\n this.setScrollPosition({ scrollLeft: nextProps.scrollLeft })\n }\n\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollPosition({ scrollTop: nextProps.scrollTop })\n }\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.columnsCount,\n cellSize: this.props.columnWidth,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.columnsCount,\n nextCellSize: nextProps.columnWidth,\n nextScrollToIndex: nextProps.scrollToColumn,\n scrollToIndex: this.props.scrollToColumn,\n updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n })\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.rowsCount,\n cellSize: this.props.rowHeight,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.rowsCount,\n nextCellSize: nextProps.rowHeight,\n nextScrollToIndex: nextProps.scrollToRow,\n scrollToIndex: this.props.scrollToRow,\n updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n })\n\n this.setState({\n computeGridMetadataOnNextUpdate: false\n })\n }\n\n render () {\n const {\n className,\n columnsCount,\n height,\n noContentRenderer,\n overscanColumnsCount,\n overscanRowsCount,\n renderCell,\n rowsCount,\n width\n } = this.props\n\n const {\n isScrolling,\n scrollLeft,\n scrollTop\n } = this.state\n\n let childrenToDisplay = []\n\n // Render only enough columns and rows to cover the visible area of the grid.\n if (height > 0 && width > 0) {\n let {\n start: columnStartIndex,\n stop: columnStopIndex\n } = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n })\n\n let {\n start: rowStartIndex,\n stop: rowStopIndex\n } = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n })\n\n // Store for :onSectionRendered callback in componentDidUpdate\n this._renderedColumnStartIndex = columnStartIndex\n this._renderedColumnStopIndex = columnStopIndex\n this._renderedRowStartIndex = rowStartIndex\n this._renderedRowStopIndex = rowStopIndex\n\n const overscanColumnIndices = getOverscanIndices({\n cellsCount: columnsCount,\n overscanCellsCount: overscanColumnsCount,\n startIndex: columnStartIndex,\n stopIndex: columnStopIndex\n })\n\n const overscanRowIndices = getOverscanIndices({\n cellsCount: rowsCount,\n overscanCellsCount: overscanRowsCount,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })\n\n columnStartIndex = overscanColumnIndices.overscanStartIndex\n columnStopIndex = overscanColumnIndices.overscanStopIndex\n rowStartIndex = overscanRowIndices.overscanStartIndex\n rowStopIndex = overscanRowIndices.overscanStopIndex\n\n for (let rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n let rowDatum = this._rowMetadata[rowIndex]\n\n for (let columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n let columnDatum = this._columnMetadata[columnIndex]\n let renderedCell = renderCell({ columnIndex, rowIndex })\n let key = `${rowIndex}-${columnIndex}`\n let child = (\n \n {renderedCell}\n \n )\n\n childrenToDisplay.push(child)\n }\n }\n }\n\n const gridStyle = {\n height: height,\n width: width\n }\n\n const totalColumnsWidth = this._getTotalColumnsWidth()\n const totalRowsHeight = this._getTotalRowsHeight()\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n if (totalColumnsWidth <= width) {\n gridStyle.overflowX = 'hidden'\n }\n\n if (totalRowsHeight <= height) {\n gridStyle.overflowY = 'hidden'\n }\n\n return (\n \n {childrenToDisplay.length > 0 &&\n \n {childrenToDisplay}\n \n }\n {childrenToDisplay.length === 0 &&\n noContentRenderer()\n }\n \n )\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n _computeGridMetadata (props) {\n const { columnsCount, columnWidth, rowHeight, rowsCount } = props\n\n this._columnMetadata = initCellMetadata({\n cellsCount: columnsCount,\n size: columnWidth\n })\n this._rowMetadata = initCellMetadata({\n cellsCount: rowsCount,\n size: rowHeight\n })\n }\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the Grid.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n _enablePointerEventsAfterDelay () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n this._disablePointerEventsTimeoutId = setTimeout(() => {\n this._disablePointerEventsTimeoutId = null\n this.setState({\n isScrolling: false\n })\n }, IS_SCROLLING_TIMEOUT)\n }\n\n _getColumnWidth (index) {\n const { columnWidth } = this.props\n\n return columnWidth instanceof Function\n ? columnWidth(index)\n : columnWidth\n }\n\n _getRowHeight (index) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(index)\n : rowHeight\n }\n\n _getTotalColumnsWidth () {\n if (this._columnMetadata.length === 0) {\n return 0\n }\n\n const datum = this._columnMetadata[this._columnMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _getTotalRowsHeight () {\n if (this._rowMetadata.length === 0) {\n return 0\n }\n\n const datum = this._rowMetadata[this._rowMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _invokeOnGridRenderedHelper () {\n const { columnsCount, onSectionRendered, overscanColumnsCount, overscanRowsCount, rowsCount } = this.props\n\n const {\n overscanStartIndex: columnOverscanStartIndex,\n overscanStopIndex: columnOverscanStopIndex\n } = getOverscanIndices({\n cellsCount: columnsCount,\n overscanCellsCount: overscanColumnsCount,\n startIndex: this._renderedColumnStartIndex,\n stopIndex: this._renderedColumnStopIndex\n })\n\n const {\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex\n } = getOverscanIndices({\n cellsCount: rowsCount,\n overscanCellsCount: overscanRowsCount,\n startIndex: this._renderedRowStartIndex,\n stopIndex: this._renderedRowStopIndex\n })\n\n this._onGridRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n columnOverscanStartIndex,\n columnOverscanStopIndex,\n columnStartIndex: this._renderedColumnStartIndex,\n columnStopIndex: this._renderedColumnStopIndex,\n rowOverscanStartIndex,\n rowOverscanStopIndex,\n rowStartIndex: this._renderedRowStartIndex,\n rowStopIndex: this._renderedRowStopIndex\n }\n })\n }\n\n /**\n * Updates the state during the next animation frame.\n * Use this method to avoid multiple renders in a small span of time.\n * This helps performance for bursty events (like onScroll).\n */\n _setNextState (state) {\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n\n this._setNextStateAnimationFrameId = raf(() => {\n this._setNextStateAnimationFrameId = null\n this.setState(state)\n })\n }\n\n _stopEvent (event) {\n event.preventDefault()\n }\n\n _updateScrollLeftForScrollToColumn (scrollToColumnOverride) {\n const scrollToColumn = scrollToColumnOverride != null\n ? scrollToColumnOverride\n : this.props.scrollToColumn\n\n const { width } = this.props\n const { scrollLeft } = this.state\n\n if (scrollToColumn >= 0) {\n const calculatedScrollLeft = getUpdatedOffsetForIndex({\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft,\n targetIndex: scrollToColumn\n })\n\n if (scrollLeft !== calculatedScrollLeft) {\n this.setScrollPosition({\n scrollLeft: calculatedScrollLeft\n })\n }\n }\n }\n\n _updateScrollTopForScrollToRow (scrollToRowOverride) {\n const scrollToRow = scrollToRowOverride != null\n ? scrollToRowOverride\n : this.props.scrollToRow\n\n const { height } = this.props\n const { scrollTop } = this.state\n\n if (scrollToRow >= 0) {\n const calculatedScrollTop = getUpdatedOffsetForIndex({\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex: scrollToRow\n })\n\n if (scrollTop !== calculatedScrollTop) {\n this.setScrollPosition({\n scrollTop: calculatedScrollTop\n })\n }\n }\n }\n\n /* ---------------------------- Event handlers ---------------------------- */\n\n _onKeyPress (event) {\n const { columnsCount, height, rowsCount, width } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n let start, datum, newScrollLeft, newScrollTop\n\n if (columnsCount === 0 || rowsCount === 0) {\n return\n }\n\n switch (event.key) {\n case 'ArrowDown':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n datum = this._rowMetadata[start]\n newScrollTop = Math.min(\n this._getTotalRowsHeight() - height,\n scrollTop + datum.size\n )\n\n this.setScrollPosition({\n scrollTop: newScrollTop\n })\n break\n case 'ArrowLeft':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n\n this.scrollToCell({\n scrollToColumn: Math.max(0, start - 1),\n scrollToRow: this.props.scrollToRow\n })\n break\n case 'ArrowRight':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n datum = this._columnMetadata[start]\n newScrollLeft = Math.min(\n this._getTotalColumnsWidth() - width,\n scrollLeft + datum.size\n )\n\n this.setScrollPosition({\n scrollLeft: newScrollLeft\n })\n break\n case 'ArrowUp':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellsCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n\n this.scrollToCell({\n scrollToColumn: this.props.scrollToColumn,\n scrollToRow: Math.max(0, start - 1)\n })\n break\n }\n }\n\n _onScroll (event) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target !== this.refs.scrollingContainer) {\n return\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._enablePointerEventsAfterDelay()\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n const { height, onScroll, width } = this.props\n const totalRowsHeight = this._getTotalRowsHeight()\n const totalColumnsWidth = this._getTotalColumnsWidth()\n const scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft)\n const scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop)\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (\n this.state.scrollLeft !== scrollLeft ||\n this.state.scrollTop !== scrollTop\n ) {\n // Browsers with cancelable scroll events (eg. Firefox) interrupt scrolling animations if scrollTop/scrollLeft is set.\n // Other browsers (eg. Safari) don't scroll as well without the help under certain conditions (DOM or style changes during scrolling).\n // All things considered, this seems to be the best current work around that I'm aware of.\n // For more information see https://github.com/bvaughn/react-virtualized/pull/124\n const scrollPositionChangeReason = event.cancelable\n ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED\n : SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\n if (!this.state.isScrolling) {\n this.setState({\n isScrolling: true\n })\n }\n\n this._setNextState({\n isScrolling: true,\n scrollLeft,\n scrollPositionChangeReason,\n scrollTop\n })\n }\n\n this._onScrollMemoizer({\n callback: ({ scrollLeft, scrollTop }) => {\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalRowsHeight,\n scrollLeft,\n scrollTop,\n scrollWidth: totalColumnsWidth\n })\n },\n indices: {\n scrollLeft,\n scrollTop\n }\n })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/Grid.js\n **/","var nextTick = require('process/browser.js').nextTick;\nvar apply = Function.prototype.apply;\nvar slice = Array.prototype.slice;\nvar immediateIds = {};\nvar nextImmediateId = 0;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) { timeout.close(); };\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(window, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// That's not how node.js implements it but the exposed api is the same.\nexports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n var id = nextImmediateId++;\n var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\n immediateIds[id] = true;\n\n nextTick(function onNextTick() {\n if (immediateIds[id]) {\n // fn.call() is faster so we optimize for the common use-case\n // @see http://jsperf.com/call-apply-segu\n if (args) {\n fn.apply(null, args);\n } else {\n fn.call(null);\n }\n // Prevent ids from leaking\n exports.clearImmediate(id);\n }\n });\n\n return id;\n};\n\nexports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n delete immediateIds[id];\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/main.js\n ** module id = 11\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/~/process/browser.js\n ** module id = 12\n ** module chunks = 0\n **/","/**\n * Helper method that determines when to recalculate row or column metadata.\n *\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param computeMetadataCallback Method to invoke if cell metadata should be recalculated\n * @param computeMetadataCallbackProps Parameters to pass to :computeMetadataCallback\n * @param computeMetadataOnNextUpdate Flag specifying that metadata should be recalculated\n * @param nextCellsCount Newly updated number of rows or columns in the current axis\n * @param nextCellsSize Newly updated width or height of cells for the current axis\n * @param nextScrollToIndex Newly updated scroll-to-index\n * @param scrollToIndex Scroll-to-index\n * @param updateScrollOffsetForScrollToIndex Callback to invoke if the scroll position should be recalculated\n */\nexport function computeCellMetadataAndUpdateScrollOffsetHelper ({\n cellsCount,\n cellSize,\n computeMetadataCallback,\n computeMetadataCallbackProps,\n computeMetadataOnNextUpdate,\n nextCellsCount,\n nextCellSize,\n nextScrollToIndex,\n scrollToIndex,\n updateScrollOffsetForScrollToIndex\n}) {\n // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n // In that event users should use the manual recompute methods to inform of changes.\n if (\n computeMetadataOnNextUpdate ||\n cellsCount !== nextCellsCount ||\n (\n (\n typeof cellSize === 'number' ||\n typeof nextCellSize === 'number'\n ) &&\n cellSize !== nextCellSize\n )\n ) {\n computeMetadataCallback(computeMetadataCallbackProps)\n\n // Updated cell metadata may have hidden the previous scrolled-to item.\n // In this case we should also update the scrollTop to ensure it stays visible.\n if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n updateScrollOffsetForScrollToIndex()\n }\n }\n}\n\n/**\n * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n */\nexport function createCallbackMemoizer (requireAllKeys = true) {\n let cachedIndices = {}\n\n return ({\n callback,\n indices\n }) => {\n const keys = Object.keys(indices)\n const allInitialized = !requireAllKeys || keys.every(key => indices[key] >= 0)\n const indexChanged = keys.some(key => cachedIndices[key] !== indices[key])\n\n cachedIndices = indices\n\n if (allInitialized && indexChanged) {\n callback(indices)\n }\n }\n}\n\n/**\n * Binary search function inspired by react-infinite.\n */\nexport function findNearestCell ({\n cellMetadata,\n mode,\n offset\n}) {\n let high = cellMetadata.length - 1\n let low = 0\n let middle\n let currentOffset\n\n // TODO Add better guards here against NaN offset\n\n while (low <= high) {\n middle = low + Math.floor((high - low) / 2)\n currentOffset = cellMetadata[middle].offset\n\n if (currentOffset === offset) {\n return middle\n } else if (currentOffset < offset) {\n low = middle + 1\n } else if (currentOffset > offset) {\n high = middle - 1\n }\n }\n\n if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n return low - 1\n } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n return high + 1\n }\n}\n\nfindNearestCell.EQUAL_OR_LOWER = 1\nfindNearestCell.EQUAL_OR_HIGHER = 2\n\nexport function getOverscanIndices ({ cellsCount, overscanCellsCount, startIndex, stopIndex }) {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellsCount - 1, stopIndex + overscanCellsCount)\n }\n}\n\n/**\n * Determines a new offset that ensures a certain cell is visible, given the current offset.\n * If the cell is already visible then the current offset will be returned.\n * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @param targetIndex Index of target cell\n * @return Offset to use to ensure the specified cell is visible\n */\nexport function getUpdatedOffsetForIndex ({\n cellMetadata,\n containerSize,\n currentOffset,\n targetIndex\n}) {\n if (cellMetadata.length === 0) {\n return 0\n }\n\n targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex))\n\n const datum = cellMetadata[targetIndex]\n const maxOffset = datum.offset\n const minOffset = maxOffset - containerSize + datum.size\n const newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset))\n\n return newOffset\n}\n\n/**\n * Determines the range of cells to display for a given offset in order to fill the specified container.\n *\n * @param cellsCount Total number of cells.\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @return An object containing :start and :stop attributes, each specifying a cell index\n */\nexport function getVisibleCellIndices ({\n cellsCount,\n cellMetadata,\n containerSize,\n currentOffset\n}) {\n if (cellsCount === 0) {\n return {}\n }\n\n currentOffset = Math.max(0, currentOffset)\n\n const maxOffset = currentOffset + containerSize\n\n // TODO Add better guards here against NaN offset\n\n let start = findNearestCell({\n cellMetadata,\n mode: findNearestCell.EQUAL_OR_LOWER,\n offset: currentOffset\n })\n\n let datum = cellMetadata[start]\n currentOffset = datum.offset + datum.size\n\n let stop = start\n\n while (currentOffset < maxOffset && stop < cellsCount - 1) {\n stop++\n\n currentOffset += cellMetadata[stop].size\n }\n\n return {\n start,\n stop\n }\n}\n\n/**\n * Initializes metadata for an axis and its cells.\n * This data is used to determine which cells are visible given a container size and scroll position.\n *\n * @param cellsCount Total number of cells.\n * @param size Either a fixed size or a function that returns the size for a given given an index.\n * @return Object mapping cell index to cell metadata (size, offset)\n */\nexport function initCellMetadata ({\n cellsCount,\n size\n}) {\n const sizeGetter = size instanceof Function\n ? size\n : index => size\n\n const cellMetadata = []\n let offset = 0\n\n for (var i = 0; i < cellsCount; i++) {\n let size = sizeGetter(i)\n\n if (size == null || isNaN(size)) {\n throw Error(`Invalid size returned for cell ${i} of value ${size}`)\n }\n\n cellMetadata[i] = {\n size,\n offset\n }\n\n offset += size\n }\n\n return cellMetadata\n}\n\n/**\n * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param previousCellsCount Previous number of rows or columns\n * @param previousCellsSize Previous width or height of cells\n * @param previousScrollToIndex Previous scroll-to-index\n * @param previousSize Previous width or height of the virtualized container\n * @param scrollOffset Current scrollLeft or scrollTop\n * @param scrollToIndex Scroll-to-index\n * @param size Width or height of the virtualized container\n * @param updateScrollIndexCallback Callback to invoke with an optional scroll-to-index override\n */\nexport function updateScrollIndexHelper ({\n cellMetadata,\n cellsCount,\n cellSize,\n previousCellsCount,\n previousCellSize,\n previousScrollToIndex,\n previousSize,\n scrollOffset,\n scrollToIndex,\n size,\n updateScrollIndexCallback\n}) {\n const hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount\n const sizeHasChanged = (\n size !== previousSize ||\n !previousCellSize ||\n (\n typeof cellSize === 'number' &&\n cellSize !== previousCellSize\n )\n )\n\n // If we have a new scroll target OR if height/row-height has changed,\n // We should ensure that the scroll target is visible.\n if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n updateScrollIndexCallback()\n\n // If we don't have a selected item but list size or number of children have decreased,\n // Make sure we aren't scrolled too far past the current content.\n } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n const calculatedScrollOffset = getUpdatedOffsetForIndex({\n cellMetadata,\n containerSize: size,\n currentOffset: scrollOffset,\n targetIndex: cellsCount - 1\n })\n\n // Only adjust the scroll position if we've scrolled below the last set of rows.\n if (calculatedScrollOffset < scrollOffset) {\n updateScrollIndexCallback(cellsCount - 1)\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/utils.js\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 14\n ** module chunks = 0\n **/","var now = require('performance-now')\n , root = typeof window === 'undefined' ? global : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = root['request' + suffix]\n , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\nfor(var i = 0; !raf && i < vendors.length; i++) {\n raf = root[vendors[i] + 'Request' + suffix]\n caf = root[vendors[i] + 'Cancel' + suffix]\n || root[vendors[i] + 'CancelRequest' + suffix]\n}\n\n// Some versions of FF have rAF but not cAF\nif(!raf || !caf) {\n var last = 0\n , id = 0\n , queue = []\n , frameDuration = 1000 / 60\n\n raf = function(callback) {\n if(queue.length === 0) {\n var _now = now()\n , next = Math.max(0, frameDuration - (_now - last))\n last = next + _now\n setTimeout(function() {\n var cp = queue.slice(0)\n // Clear queue here to prevent\n // callbacks from appending listeners\n // to the current frame's queue\n queue.length = 0\n for(var i = 0; i < cp.length; i++) {\n if(!cp[i].cancelled) {\n try{\n cp[i].callback(last)\n } catch(e) {\n setTimeout(function() { throw e }, 0)\n }\n }\n }\n }, Math.round(next))\n }\n queue.push({\n handle: ++id,\n callback: callback,\n cancelled: false\n })\n return id\n }\n\n caf = function(handle) {\n for(var i = 0; i < queue.length; i++) {\n if(queue[i].handle === handle) {\n queue[i].cancelled = true\n }\n }\n }\n}\n\nmodule.exports = function(fn) {\n // Wrap in a new function to prevent\n // `cancel` potentially being assigned\n // to the native rAF function\n return raf.call(root, fn)\n}\nmodule.exports.cancel = function() {\n caf.apply(root, arguments)\n}\nmodule.exports.polyfill = function() {\n root.requestAnimationFrame = raf\n root.cancelAnimationFrame = caf\n}\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/raf/index.js\n ** module id = 15\n ** module chunks = 0\n **/","// Generated by CoffeeScript 1.7.1\n(function() {\n var getNanoSeconds, hrtime, loadTime;\n\n if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n module.exports = function() {\n return performance.now();\n };\n } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n module.exports = function() {\n return (getNanoSeconds() - loadTime) / 1e6;\n };\n hrtime = process.hrtime;\n getNanoSeconds = function() {\n var hr;\n hr = hrtime();\n return hr[0] * 1e9 + hr[1];\n };\n loadTime = getNanoSeconds();\n } else if (Date.now) {\n module.exports = function() {\n return Date.now() - loadTime;\n };\n loadTime = Date.now();\n } else {\n module.exports = function() {\n return new Date().getTime() - loadTime;\n };\n loadTime = new Date().getTime();\n }\n\n}).call(this);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/performance-now/lib/performance-now.js\n ** module id = 16\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/node-libs-browser/~/process/browser.js\n ** module id = 17\n ** module chunks = 0\n **/","/* @flow */\nexport default from './FlexTable'\nexport FlexTable from './FlexTable'\nexport FlexColumn from './FlexColumn'\nexport SortDirection from './SortDirection'\nexport SortIndicator from './SortIndicator'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/index.js\n **/","/** @flow */\nimport cn from 'classnames'\nimport FlexColumn from './FlexColumn'\nimport React, { Component, PropTypes } from 'react'\nimport { findDOMNode } from 'react-dom'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport Grid from '../Grid'\nimport SortDirection from './SortDirection'\n\n/**\n * Table component with fixed headers and virtualized rows for improved performance with large data sets.\n * This component expects explicit width, height, and padding parameters.\n */\nexport default class FlexTable extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** One or more FlexColumns describing the data displayed in this row */\n children: (props, propName, componentName) => {\n const children = React.Children.toArray(props.children)\n for (let i = 0; i < children.length; i++) {\n if (children[i].type !== FlexColumn) {\n return new Error(`FlexTable only accepts children of type FlexColumn`)\n }\n }\n },\n\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /** Disable rendering the header at all */\n disableHeader: PropTypes.bool,\n\n /** Optional CSS class to apply to all column headers */\n headerClassName: PropTypes.string,\n\n /** Fixed height of header row */\n headerHeight: PropTypes.number.isRequired,\n\n /** Fixed/available height for out DOM element */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of table body rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func,\n\n /**\n * Optional callback when a column's header is clicked.\n * (dataKey: string): void\n */\n onHeaderClick: PropTypes.func,\n\n /**\n * Callback invoked when a user clicks on a table row.\n * (rowIndex: number): void\n */\n onRowClick: PropTypes.func,\n\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Optional CSS class to apply to all table rows (including the header row).\n * This property can be a CSS class name (string) or a function that returns a class name.\n * If a function is provided its signature should be: (rowIndex: number): string\n */\n rowClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /**\n * Callback responsible for returning a data row given an index.\n * (index: number): any\n */\n rowGetter: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Number of rows in table. */\n rowsCount: PropTypes.number.isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Sort function to be called if a sortable header is clicked.\n * (dataKey: string, sortDirection: SortDirection): void\n */\n sort: PropTypes.func,\n\n /** FlexTable data is currently sorted by this :dataKey (if it is sorted at all) */\n sortBy: PropTypes.string,\n\n /** FlexTable data is currently sorted in this direction (if it is sorted at all) */\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n disableHeader: false,\n headerHeight: 0,\n noRowsRenderer: () => null,\n onHeaderClick: () => null,\n onRowClick: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowsCount: 10\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n scrollbarWidth: 0\n }\n\n this._createRow = this._createRow.bind(this)\n }\n\n /**\n * See Grid#recomputeGridSize\n */\n recomputeRowHeights () {\n this.refs.Grid.recomputeGridSize()\n }\n\n /**\n * See Grid#scrollToIndex\n */\n scrollToRow (scrollToIndex) {\n this.refs.Grid.scrollToCell({\n scrollToColumn: 0,\n scrollToRow: scrollToIndex\n })\n }\n\n /**\n * See Grid#setScrollPosition\n */\n setScrollTop (scrollTop) {\n this.refs.Grid.setScrollPosition({\n scrollLeft: 0,\n scrollTop\n })\n }\n\n componentDidMount () {\n const { scrollTop } = this.props\n\n if (scrollTop >= 0) {\n this.setScrollTop(scrollTop)\n }\n\n this._setScrollbarWidth()\n }\n\n componentDidUpdate () {\n this._setScrollbarWidth()\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollTop(nextProps.scrollTop)\n }\n }\n\n render () {\n const {\n className,\n disableHeader,\n headerHeight,\n height,\n noRowsRenderer,\n onRowsRendered,\n onScroll,\n overscanRowsCount,\n rowClassName,\n rowHeight,\n rowsCount,\n scrollToIndex,\n width\n } = this.props\n const { scrollbarWidth } = this.state\n\n const availableRowsHeight = height - headerHeight\n\n // This row-renderer wrapper function is necessary in order to trigger re-render when the\n // sort-by or sort-direction have changed (else Grid will not see any props changes)\n const rowRenderer = index => {\n return this._createRow(index)\n }\n\n const rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName\n\n return (\n \n {!disableHeader && (\n \n {this._getRenderedHeaderRow()}\n \n )}\n\n onScroll({ clientHeight, scrollHeight, scrollTop })}\n onSectionRendered={({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) => onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })}\n overscanRowsCount={overscanRowsCount}\n renderCell={({ columnIndex, rowIndex }) => rowRenderer(rowIndex)}\n rowHeight={rowHeight}\n rowsCount={rowsCount}\n scrollToRow={scrollToIndex}\n width={width}\n />\n \n )\n }\n\n _createColumn (column, columnIndex, rowData, rowIndex) {\n const {\n cellClassName,\n cellDataGetter,\n columnData,\n dataKey,\n cellRenderer\n } = column.props\n const cellData = cellDataGetter(dataKey, rowData, columnData)\n const renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData)\n\n const style = this._getFlexStyleForColumn(column)\n\n const title = typeof renderedCell === 'string'\n ? renderedCell\n : null\n\n return (\n \n \n {renderedCell}\n \n \n )\n }\n\n _createHeader (column, columnIndex) {\n const { headerClassName, onHeaderClick, sort, sortBy, sortDirection } = this.props\n const { dataKey, disableSort, headerRenderer, label, columnData } = column.props\n const sortEnabled = !disableSort && sort\n\n const classNames = cn(\n 'FlexTable__headerColumn',\n headerClassName,\n column.props.headerClassName,\n {\n 'FlexTable__sortableHeaderColumn': sortEnabled\n }\n )\n const style = this._getFlexStyleForColumn(column)\n\n // If this is a sortable header, clicking it should update the table data's sorting.\n const newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC\n ? SortDirection.ASC\n : SortDirection.DESC\n const onClick = () => {\n sortEnabled && sort(dataKey, newSortDirection)\n onHeaderClick(dataKey, columnData)\n }\n\n const renderedHeader = headerRenderer({\n columnData,\n dataKey,\n disableSort,\n label,\n sortBy,\n sortDirection\n })\n\n return (\n \n {renderedHeader}\n \n )\n }\n\n _createRow (rowIndex) {\n const {\n children,\n onRowClick,\n rowClassName,\n rowGetter\n } = this.props\n const { scrollbarWidth } = this.state\n\n const rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName\n\n const renderedRow = React.Children.map(\n children,\n (column, columnIndex) => this._createColumn(\n column,\n columnIndex,\n rowGetter(rowIndex),\n rowIndex\n )\n )\n\n return (\n onRowClick(rowIndex)}\n style={{\n height: this._getRowHeight(rowIndex),\n paddingRight: scrollbarWidth\n }}\n >\n {renderedRow}\n \n )\n }\n\n /**\n * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n */\n _getFlexStyleForColumn (column) {\n const flexValue = `${column.props.flexGrow} ${column.props.flexShrink} ${column.props.width}px`\n\n const style = {\n flex: flexValue,\n msFlex: flexValue,\n WebkitFlex: flexValue\n }\n\n if (column.props.maxWidth) {\n style.maxWidth = column.props.maxWidth\n }\n\n if (column.props.minWidth) {\n style.minWidth = column.props.minWidth\n }\n\n return style\n }\n\n _getRenderedHeaderRow () {\n const { children, disableHeader } = this.props\n const items = disableHeader ? [] : children\n\n return React.Children.map(items, (column, index) =>\n this._createHeader(column, index)\n )\n }\n\n _getRowHeight (rowIndex) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(rowIndex)\n : rowHeight\n }\n\n _setScrollbarWidth () {\n const Grid = findDOMNode(this.refs.Grid)\n const clientWidth = Grid.clientWidth || 0\n const offsetWidth = Grid.offsetWidth || 0\n const scrollbarWidth = offsetWidth - clientWidth\n\n this.setState({ scrollbarWidth })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexTable.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport SortIndicator from './SortIndicator'\n\n/**\n * Default cell renderer that displays an attribute as a simple string\n * You should override the column's cellRenderer if your data is some other type of object.\n */\nexport function defaultCellRenderer (\n cellData: any,\n cellDataKey: string,\n rowData: any,\n rowIndex: number,\n columnData: any\n): string {\n if (cellData === null || cellData === undefined) {\n return ''\n } else {\n return String(cellData)\n }\n}\n\n/**\n * Default accessor for returning a cell value for a given attribute.\n * This function expects to operate on either a vanilla Object or an Immutable Map.\n * You should override the column's cellDataGetter if your data is some other type of object.\n */\nexport function defaultCellDataGetter (\n dataKey: string,\n rowData: any,\n columnData: any\n) {\n if (rowData.get instanceof Function) {\n return rowData.get(dataKey)\n } else {\n return rowData[dataKey]\n }\n}\n\n/**\n * Default table header renderer.\n */\nexport function defaultHeaderRenderer ({\n columnData,\n dataKey,\n disableSort,\n label,\n sortBy,\n sortDirection\n}) {\n const showSortIndicator = sortBy === dataKey\n const children = [\n \n {label}\n \n ]\n\n if (showSortIndicator) {\n children.push(\n \n )\n }\n\n return children\n}\n\n/**\n * Describes the header and cell contents of a table column.\n */\nexport default class Column extends Component {\n\n static defaultProps = {\n cellDataGetter: defaultCellDataGetter,\n cellRenderer: defaultCellRenderer,\n flexGrow: 0,\n flexShrink: 1,\n headerRenderer: defaultHeaderRenderer\n }\n\n static propTypes = {\n /** Optional CSS class to apply to cell */\n cellClassName: PropTypes.string,\n\n /**\n * Callback responsible for returning a cell's data, given its :dataKey\n * (dataKey: string, rowData: any): any\n */\n cellDataGetter: PropTypes.func,\n\n /**\n * Callback responsible for rendering a cell's contents.\n * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element\n */\n cellRenderer: PropTypes.func,\n\n /** Optional additional data passed to this column's :cellDataGetter */\n columnData: PropTypes.object,\n\n /** Uniquely identifies the row-data attribute correspnding to this cell */\n dataKey: PropTypes.any.isRequired,\n\n /** If sort is enabled for the table at large, disable it for this column */\n disableSort: PropTypes.bool,\n\n /** Flex grow style; defaults to 0 */\n flexGrow: PropTypes.number,\n\n /** Flex shrink style; defaults to 1 */\n flexShrink: PropTypes.number,\n\n /** Optional CSS class to apply to this column's header */\n headerClassName: PropTypes.string,\n\n /**\n * Optional callback responsible for rendering a column header contents.\n * ({ columnData: object, dataKey: string, disableSort: boolean, label: string, sortBy: string, sortDirection: string }): PropTypes.node\n */\n headerRenderer: PropTypes.func.isRequired,\n\n /** Header label for this column */\n label: PropTypes.string,\n\n /** Maximum width of column; this property will only be used if :flexGrow is > 0. */\n maxWidth: PropTypes.number,\n\n /** Minimum width of column. */\n minWidth: PropTypes.number,\n\n /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */\n width: PropTypes.number.isRequired\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexColumn.js\n **/","import React, { PropTypes } from 'react'\nimport cn from 'classnames'\nimport SortDirection from './SortDirection'\n\n/**\n * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n */\nexport default function SortIndicator ({ sortDirection }) {\n const classNames = cn('FlexTable__sortableHeaderIcon', {\n 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n })\n\n return (\n \n {sortDirection === SortDirection.ASC\n ? \n : \n }\n \n \n )\n}\nSortIndicator.propTypes = {\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/SortIndicator.js\n **/","const SortDirection = {\n /**\n * Sort items in ascending order.\n * This means arranging from the lowest value to the highest (e.g. a-z, 0-9).\n */\n ASC: 'ASC',\n\n /**\n * Sort items in descending order.\n * This means arranging from the highest value to the lowest (e.g. z-a, 9-0).\n */\n DESC: 'DESC'\n}\n\nexport default SortDirection\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/SortDirection.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_23__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external {\"commonjs\":\"react-dom\",\"commonjs2\":\"react-dom\",\"amd\":\"react-dom\",\"root\":\"ReactDOM\"}\n ** module id = 23\n ** module chunks = 0\n **/","/** @flow */\nexport default from './InfiniteLoader'\nexport InfiniteLoader from './InfiniteLoader'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/index.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Higher-order component that manages lazy-loading for \"infinite\" data.\n * This component decorates a virtual component and just-in-time prefetches rows as a user scrolls.\n * It is intended as a convenience component; fork it if you'd like finer-grained control over data-loading.\n */\nexport default class InfiniteLoader extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering a virtualized component.\n * This function should implement the following signature:\n * ({ onRowsRendered, registerChild }) => PropTypes.element\n *\n * The specified :onRowsRendered function should be passed through to the child's :onRowsRendered property.\n * The :registerChild callback should be set as the virtualized component's :ref.\n */\n children: PropTypes.func.isRequired,\n\n /**\n * Function responsible for tracking the loaded state of each row.\n * It should implement the following signature: (index: number): boolean\n */\n isRowLoaded: PropTypes.func.isRequired,\n\n /**\n * Callback to be invoked when more rows must be loaded.\n * It should implement the following signature: ({ startIndex, stopIndex }): Promise\n * The returned Promise should be resolved once row data has finished loading.\n * It will be used to determine when to refresh the list with the newly-loaded data.\n * This callback may be called multiple times in reaction to a single scroll event.\n */\n loadMoreRows: PropTypes.func.isRequired,\n\n /**\n * Number of rows in list; can be arbitrary high number if actual number is unknown.\n */\n rowsCount: PropTypes.number.isRequired,\n\n /**\n * Threshold at which to pre-fetch data.\n * A threshold X means that data will start loading when a user scrolls within X rows.\n * This value defaults to 15.\n */\n threshold: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n rowsCount: 0,\n threshold: 15\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._onRowsRendered = this._onRowsRendered.bind(this)\n this._registerChild = this._registerChild.bind(this)\n }\n\n render () {\n const { children } = this.props\n\n return children({\n onRowsRendered: this._onRowsRendered,\n registerChild: this._registerChild\n })\n }\n\n _onRowsRendered ({ startIndex, stopIndex }) {\n const { isRowLoaded, loadMoreRows, rowsCount, threshold } = this.props\n\n this._lastRenderedStartIndex = startIndex\n this._lastRenderedStopIndex = stopIndex\n\n const unloadedRanges = scanForUnloadedRanges({\n isRowLoaded,\n startIndex: Math.max(0, startIndex - threshold),\n stopIndex: Math.min(rowsCount, stopIndex + threshold)\n })\n\n unloadedRanges.forEach(unloadedRange => {\n let promise = loadMoreRows(unloadedRange)\n if (promise) {\n promise.then(() => {\n // Refresh the visible rows if any of them have just been loaded.\n // Otherwise they will remain in their unloaded visual state.\n if (\n isRangeVisible({\n lastRenderedStartIndex: this._lastRenderedStartIndex,\n lastRenderedStopIndex: this._lastRenderedStopIndex,\n startIndex: unloadedRange.startIndex,\n stopIndex: unloadedRange.stopIndex\n })\n ) {\n if (this._registeredChild) {\n this._registeredChild.forceUpdate()\n }\n }\n })\n }\n })\n }\n\n _registerChild (registeredChild) {\n this._registeredChild = registeredChild\n }\n}\n\n/**\n * Determines if the specified start/stop range is visible based on the most recently rendered range.\n */\nexport function isRangeVisible ({\n lastRenderedStartIndex,\n lastRenderedStopIndex,\n startIndex,\n stopIndex\n}) {\n return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex)\n}\n\n/**\n * Returns all of the ranges within a larger range that contain unloaded rows.\n */\nexport function scanForUnloadedRanges ({ isRowLoaded, startIndex, stopIndex }) {\n const unloadedRanges = []\n let rangeStartIndex = null\n let rangeStopIndex = null\n\n for (let i = startIndex; i <= stopIndex; i++) {\n let loaded = isRowLoaded(i)\n\n if (!loaded) {\n rangeStopIndex = i\n if (rangeStartIndex === null) {\n rangeStartIndex = i\n }\n } else if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n\n rangeStartIndex = rangeStopIndex = null\n }\n }\n\n if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n }\n\n return unloadedRanges\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/InfiniteLoader.js\n **/","/** @flow */\nexport default from './ScrollSync'\nexport ScrollSync from './ScrollSync'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/index.js\n **/","import { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * HOC that simplifies the process of synchronizing scrolling between two or more virtualized components.\n */\nexport default class ScrollSync extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Function respondible for rendering 2 or more virtualized components.\n * This function should implement the following signature:\n * ({ onScroll, scrollLeft, scrollTop }) => PropTypes.element\n */\n children: PropTypes.func.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n scrollLeft: 0,\n scrollTop: 0\n }\n\n this._onScroll = this._onScroll.bind(this)\n }\n\n render () {\n const { children } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n return children({\n onScroll: this._onScroll,\n scrollLeft,\n scrollTop\n })\n }\n\n _onScroll ({ scrollLeft, scrollTop }) {\n this.setState({ scrollLeft, scrollTop })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/ScrollSync.js\n **/","/** @flow */\nexport default from './VirtualScroll'\nexport VirtualScroll from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/index.js\n **/","/** @flow */\nimport Grid from '../Grid'\nimport React, { Component, PropTypes } from 'react'\nimport cn from 'classnames'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n * if only a few of those elements are visible. The primary purpose of this component is to improve\n * performance by only rendering the DOM nodes that a user is able to see based on their current\n * scroll position.\n *\n * This component renders a virtualized list of elements with either fixed or dynamic heights.\n */\nexport default class VirtualScroll extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /** Height constraint for list (determines how many actual rows are rendered) */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func.isRequired,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowsCount: PropTypes.number.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Responsbile for rendering a row given an index */\n rowRenderer: PropTypes.func.isRequired,\n\n /** Number of rows in list. */\n rowsCount: PropTypes.number.isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n noRowsRenderer: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowsCount: 10\n }\n\n componentDidMount () {\n const { scrollTop } = this.props\n\n if (scrollTop >= 0) {\n this.setScrollTop(scrollTop)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (nextProps.scrollTop !== this.props.scrollTop) {\n this.setScrollTop(nextProps.scrollTop)\n }\n }\n\n /**\n * See Grid#recomputeGridSize\n */\n recomputeRowHeights () {\n this.refs.Grid.recomputeGridSize()\n }\n\n /**\n * See Grid#scrollToCell\n */\n scrollToRow (scrollToIndex) {\n this.refs.Grid.scrollToCell({\n scrollToColumn: 0,\n scrollToRow: scrollToIndex\n })\n }\n\n /**\n * See Grid#setScrollPosition\n */\n setScrollTop (scrollTop) {\n this.refs.Grid.setScrollPosition({\n scrollLeft: 0,\n scrollTop\n })\n }\n\n render () {\n const {\n className,\n height,\n noRowsRenderer,\n onRowsRendered,\n onScroll,\n rowHeight,\n rowRenderer,\n overscanRowsCount,\n rowsCount,\n scrollToIndex,\n width\n } = this.props\n\n const classNames = cn('VirtualScroll', className)\n\n return (\n onScroll({ clientHeight, scrollHeight, scrollTop })}\n onSectionRendered={({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) => onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })}\n overscanRowsCount={overscanRowsCount}\n renderCell={({ columnIndex, rowIndex }) => rowRenderer(rowIndex)}\n rowHeight={rowHeight}\n rowsCount={rowsCount}\n scrollToRow={scrollToIndex}\n width={width}\n />\n )\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/VirtualScroll.js\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index 8c4a1b811..f35f128e1 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "React components for efficiently rendering large, scrollable lists and tabular data", "author": "Brian Vaughn ", "user": "bvaughn", - "version": "5.3.2", + "version": "5.4.0", "homepage": "https://github.com/bvaughn/react-virtualized", "main": "dist/commonjs/index.js", "jsnext:main": "dist/es/index.js", diff --git a/source/FlexTable/FlexTable.example.js b/source/FlexTable/FlexTable.example.js index 15ece6f16..377ff19fc 100644 --- a/source/FlexTable/FlexTable.example.js +++ b/source/FlexTable/FlexTable.example.js @@ -5,7 +5,8 @@ import { ContentBox, ContentBoxHeader, ContentBoxParagraph } from '../demo/Conte import { LabeledInput, InputRow } from '../demo/LabeledInput' import AutoSizer from '../AutoSizer' import FlexColumn from './FlexColumn' -import FlexTable, { SortDirection } from './FlexTable' +import FlexTable from './FlexTable' +import SortDirection from './SortDirection' import SortIndicator from './SortIndicator' import shouldPureComponentUpdate from 'react-pure-render/function' import styles from './FlexTable.example.css' diff --git a/source/FlexTable/FlexTable.js b/source/FlexTable/FlexTable.js index 3dcaa2758..0ac4afcbd 100644 --- a/source/FlexTable/FlexTable.js +++ b/source/FlexTable/FlexTable.js @@ -5,20 +5,7 @@ import React, { Component, PropTypes } from 'react' import { findDOMNode } from 'react-dom' import shouldPureComponentUpdate from 'react-pure-render/function' import Grid from '../Grid' - -export const SortDirection = { - /** - * Sort items in ascending order. - * This means arranging from the lowest value to the highest (e.g. a-z, 0-9). - */ - ASC: 'ASC', - - /** - * Sort items in descending order. - * This means arranging from the highest value to the lowest (e.g. z-a, 9-0). - */ - DESC: 'DESC' -} +import SortDirection from './SortDirection' /** * Table component with fixed headers and virtualized rows for improved performance with large data sets. diff --git a/source/FlexTable/FlexTable.test.js b/source/FlexTable/FlexTable.test.js index 6f28a00ed..60d66f0cd 100644 --- a/source/FlexTable/FlexTable.test.js +++ b/source/FlexTable/FlexTable.test.js @@ -3,7 +3,8 @@ import { findDOMNode, render } from 'react-dom' import { renderIntoDocument, Simulate } from 'react-addons-test-utils' import Immutable from 'immutable' import FlexColumn from './FlexColumn' -import FlexTable, { SortDirection } from './FlexTable' +import FlexTable from './FlexTable' +import SortDirection from './SortDirection' describe('FlexTable', () => { beforeAll(() => jasmine.clock().install()) diff --git a/source/FlexTable/SortDirection.js b/source/FlexTable/SortDirection.js new file mode 100644 index 000000000..7fff4048a --- /dev/null +++ b/source/FlexTable/SortDirection.js @@ -0,0 +1,15 @@ +const SortDirection = { + /** + * Sort items in ascending order. + * This means arranging from the lowest value to the highest (e.g. a-z, 0-9). + */ + ASC: 'ASC', + + /** + * Sort items in descending order. + * This means arranging from the highest value to the lowest (e.g. z-a, 9-0). + */ + DESC: 'DESC' +} + +export default SortDirection diff --git a/source/FlexTable/SortIndicator.js b/source/FlexTable/SortIndicator.js index 0b4a898af..16fe1aef2 100644 --- a/source/FlexTable/SortIndicator.js +++ b/source/FlexTable/SortIndicator.js @@ -1,6 +1,6 @@ import React, { PropTypes } from 'react' import cn from 'classnames' -import { SortDirection } from './FlexTable' +import SortDirection from './SortDirection' /** * Displayed beside a header to indicate that a FlexTable is currently sorted by this column. diff --git a/source/FlexTable/index.js b/source/FlexTable/index.js index 6a4d1e9ed..3baeb162c 100644 --- a/source/FlexTable/index.js +++ b/source/FlexTable/index.js @@ -1,5 +1,6 @@ /* @flow */ export default from './FlexTable' -export FlexTable, { SortDirection } from './FlexTable' +export FlexTable from './FlexTable' export FlexColumn from './FlexColumn' +export SortDirection from './SortDirection' export SortIndicator from './SortIndicator'