Completely updated React, fixed #11, (hopefully)

This commit is contained in:
deranjer committed 2018-03-04 19:11:49 -05:00
1 parent 6e0afd6e2a
commit 34e5f5139a
13674 files changed
+333460 -473219

No files matched your search

+6 -6
View File
@@ -40,11 +40,11 @@ React Grid uses the latest web platform standards. Thus, it cannot support older
The Grid renders nothing by default. The root Grid component's nested plugin components implement its functionality, and it is necessary to specify at least one plugin that visualizes the grid data.
Use the TableView plugin to display the data as a simple table:
Use the Table plugin to display the data as a simple table:
```js
```jsx
import {
Grid, TableView, TableHeaderRow
Grid, Table, TableHeaderRow
} from '@devexpress/dx-react-grid-bootstrap3'/* or '@devexpress/dx-react-grid-material-ui' */;
const App = () => (
@@ -58,7 +58,7 @@ const App = () => (
{ name: 'product', title: 'Product' },
{ name: 'owner', title: 'Owner' },
]}>
<TableView />
<Table />
<TableHeaderRow />
</Grid>
);
@@ -68,8 +68,8 @@ const App = () => (
Follow the links below to try out the React Grid:
- [WebpackBin for Bootstrap3](https://www.webpackbin.com/bins/-KoCcFwPPtps5fEN0PkI)
- [WebpackBin for Material UI](https://www.webpackbin.com/bins/-KoCeS-_jZrZuTecv-wd)
- [CodeSandbox for Bootstrap3](https://codesandbox.io/s/7o46mkowx)
- [CodeSandbox for Material UI](https://codesandbox.io/s/13qvz1qqzl)
## Documentation
File diff suppressed because it is too large. Load diff
@@ -1 +1 @@
{"version":3,"file":"dx-react-grid.es.js","sources":["../src/plugins/grid-core.jsx","../src/grid.jsx","../src/column-chooser.jsx","../src/plugins/filtering-state.jsx","../src/plugins/local-filtering.jsx","../src/plugins/editing-state.jsx","../src/plugins/paging-state.jsx","../src/plugins/local-paging.jsx","../src/plugins/grouping-state.jsx","../src/plugins/local-grouping.jsx","../src/plugins/custom-grouping.jsx","../src/plugins/selection-state.jsx","../src/plugins/sorting-state.jsx","../src/plugins/local-sorting.jsx","../src/plugins/drag-drop-context.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table-view.jsx","../src/plugins/table-selection.jsx","../src/plugins/row-detail-state.jsx","../src/plugins/table-row-detail.jsx","../src/plugins/table-group-row.jsx","../src/plugins/table-header-row.jsx","../src/plugins/table-filter-row.jsx","../src/plugins/table-edit-row.jsx","../src/plugins/table-edit-column.jsx","../src/plugins/table-column-resizing.jsx","../src/plugins/paging-panel.jsx","../src/plugins/grouping-panel.jsx","../src/plugins/data-type-provider.jsx","../src/plugins/table-column-visibility.jsx","../src/components/table-layout.jsx","../src/components/table-layout/column-group.jsx","../src/components/table-layout/row-layout.jsx","../src/components/table-layout/virtual-table-utils.js","../src/components/table-layout/virtual-table-layout.jsx","../src/components/table-layout/rows-block-layout.jsx","../src/components/table-layout/static-table-layout.jsx","../src/components/group-panel-layout.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginContainer, Getter, Template, TemplatePlaceholder } from '@devexpress/dx-react-core';\nimport { rowIdGetter, cellValueGetter } from '@devexpress/dx-grid-core';\n\nexport class GridCore extends React.PureComponent {\n render() {\n const {\n rows,\n columns,\n getRowId,\n getCellValue,\n rootTemplate,\n headerPlaceholderTemplate,\n footerPlaceholderTemplate,\n } = this.props;\n\n return (\n <PluginContainer>\n <Getter name=\"rows\" value={rows} />\n <Getter name=\"getRowId\" value={rowIdGetter(getRowId, rows)} />\n <Getter name=\"columns\" value={columns} />\n <Getter name=\"getCellValue\" value={cellValueGetter(getCellValue, columns)} />\n <Template name=\"header\" />\n <Template name=\"body\" />\n <Template name=\"footer\" />\n <Template name=\"root\">\n {() => rootTemplate({\n headerTemplate: () => (\n <TemplatePlaceholder name=\"header\">\n {content => (headerPlaceholderTemplate\n ? headerPlaceholderTemplate({ children: content })\n : content)}\n </TemplatePlaceholder>\n ),\n bodyTemplate: () => <TemplatePlaceholder name=\"body\" />,\n footerTemplate: () => (\n <TemplatePlaceholder name=\"footer\">\n {content => (footerPlaceholderTemplate\n ? footerPlaceholderTemplate({ children: content })\n : content)}\n </TemplatePlaceholder>\n ),\n })}\n </Template>\n </PluginContainer>\n );\n }\n}\n\nGridCore.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootTemplate: PropTypes.func.isRequired,\n headerPlaceholderTemplate: PropTypes.func,\n footerPlaceholderTemplate: PropTypes.func,\n};\n\nGridCore.defaultProps = {\n getRowId: null,\n getCellValue: null,\n headerPlaceholderTemplate: null,\n footerPlaceholderTemplate: null,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginHost } from '@devexpress/dx-react-core';\nimport { GridCore } from './plugins/grid-core';\n\nexport const Grid = ({\n rows,\n columns,\n getRowId,\n getCellValue,\n rootTemplate,\n headerPlaceholderTemplate,\n footerPlaceholderTemplate,\n children,\n}) => (\n <PluginHost>\n <GridCore\n rows={rows}\n columns={columns}\n getRowId={getRowId}\n getCellValue={getCellValue}\n rootTemplate={rootTemplate}\n headerPlaceholderTemplate={headerPlaceholderTemplate}\n footerPlaceholderTemplate={footerPlaceholderTemplate}\n />\n {children}\n </PluginHost>\n);\n\nGrid.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootTemplate: PropTypes.func.isRequired,\n headerPlaceholderTemplate: PropTypes.func,\n footerPlaceholderTemplate: PropTypes.func,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]),\n};\n\nGrid.defaultProps = {\n getRowId: null,\n getCellValue: null,\n headerPlaceholderTemplate: null,\n footerPlaceholderTemplate: null,\n children: null,\nLine truncated
{"version":3,"file":"dx-react-grid.es.js","sources":["../src/plugins/grid-core.jsx","../src/grid.jsx","../src/plugins/column-chooser.jsx","../src/utils/state-helper.js","../src/plugins/filtering-state.jsx","../src/plugins/integrated-filtering.jsx","../src/plugins/editing-state.jsx","../src/plugins/paging-state.jsx","../src/plugins/integrated-paging.jsx","../src/plugins/custom-paging.jsx","../src/plugins/grouping-state.jsx","../src/plugins/integrated-grouping.jsx","../src/plugins/custom-grouping.jsx","../src/plugins/selection-state.jsx","../src/plugins/integrated-selection.jsx","../src/plugins/sorting-state.jsx","../src/plugins/integrated-sorting.jsx","../src/plugins/drag-drop-provider.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table.jsx","../src/plugins/table-selection.jsx","../src/plugins/row-detail-state.jsx","../src/plugins/table-row-detail.jsx","../src/plugins/table-group-row.jsx","../src/plugins/table-header-row.jsx","../src/plugins/table-filter-row.jsx","../src/plugins/table-edit-row.jsx","../src/plugins/table-edit-column.jsx","../src/plugins/table-column-resizing.jsx","../src/plugins/paging-panel.jsx","../src/plugins/grouping-panel.jsx","../src/plugins/data-type-provider.jsx","../src/plugins/table-column-visibility.jsx","../src/components/table-layout.jsx","../src/components/table-layout/column-group.jsx","../src/components/table-layout/row-layout.jsx","../src/components/table-layout/virtual-table-utils.js","../src/components/table-layout/virtual-table-layout.jsx","../src/components/table-layout/rows-block-layout.jsx","../src/components/table-layout/static-table-layout.jsx","../src/components/group-panel-layout/item-layout.jsx","../src/components/group-panel-layout.jsx","../src/plugins/toolbar.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Plugin, Getter, Template, TemplatePlaceholder } from '@devexpress/dx-react-core';\nimport { rowIdGetter, cellValueGetter } from '@devexpress/dx-grid-core';\n\nexport class GridCore extends React.PureComponent {\n render() {\n const {\n rows,\n columns,\n getRowId,\n getCellValue,\n rootComponent: Root,\n } = this.props;\n\n return (\n <Plugin>\n <Getter name=\"rows\" value={rows} />\n <Getter name=\"getRowId\" value={rowIdGetter(getRowId, rows)} />\n <Getter name=\"columns\" value={columns} />\n <Getter name=\"getCellValue\" value={cellValueGetter(getCellValue, columns)} />\n <Template name=\"header\" />\n <Template name=\"body\" />\n <Template name=\"footer\" />\n <Template name=\"root\">\n <Root>\n <TemplatePlaceholder name=\"header\" />\n <TemplatePlaceholder name=\"body\" />\n <TemplatePlaceholder name=\"footer\" />\n </Root>\n </Template>\n </Plugin>\n );\n }\n}\n\nGridCore.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootComponent: PropTypes.func.isRequired,\n};\n\nGridCore.defaultProps = {\n getRowId: undefined,\n getCellValue: undefined,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginHost } from '@devexpress/dx-react-core';\nimport { GridCore } from './plugins/grid-core';\n\nexport const Grid = ({\n rows,\n columns,\n getRowId,\n getCellValue,\n rootComponent,\n children,\n}) => (\n <PluginHost>\n <GridCore\n rows={rows}\n columns={columns}\n getRowId={getRowId}\n getCellValue={getCellValue}\n rootComponent={rootComponent}\n />\n {children}\n </PluginHost>\n);\n\nGrid.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootComponent: PropTypes.func.isRequired,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]),\n};\n\nGrid.defaultProps = {\n getRowId: undefined,\n getCellValue: undefined,\n children: undefined,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Template, TemplatePlaceholder, Plugin, TemplateConnector,\n} from '@devexpress/dx-react-core';\n\nimport { getMessagesFormatter, columnChooserItems } from '@devexpress/dx-grid-core';\n\nconst pluginDependencies = [\n { name: 'TableColumnVisibility' },\n { name: 'Toolbar' },\n];\nexport class ColumnChooser extends React.PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {\n visible: false,\n };\n\n this.handleToggle = this.handleToggle.bind(this);\n this.handleHide = this.handleHide.bind(this);\n this.buttonRef = this.buttonRef.bind(this);\n }\n buttonRef(button) {\n this.button = button;\n }\n handleToggle() {\n this.setState({ visible: !this.state.visible });\n }\n handleHide() {\n this.setState({ visible: false });\n }\n Line truncated
File diff suppressed because it is too large. Load diff
@@ -1 +1 @@
{"version":3,"file":"dx-react-grid.umd.js","sources":["../src/plugins/grid-core.jsx","../src/grid.jsx","../src/column-chooser.jsx","../src/plugins/filtering-state.jsx","../src/plugins/local-filtering.jsx","../src/plugins/editing-state.jsx","../src/plugins/paging-state.jsx","../src/plugins/local-paging.jsx","../src/plugins/grouping-state.jsx","../src/plugins/local-grouping.jsx","../src/plugins/custom-grouping.jsx","../src/plugins/selection-state.jsx","../src/plugins/sorting-state.jsx","../src/plugins/local-sorting.jsx","../src/plugins/drag-drop-context.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table-view.jsx","../src/plugins/table-selection.jsx","../src/plugins/row-detail-state.jsx","../src/plugins/table-row-detail.jsx","../src/plugins/table-group-row.jsx","../src/plugins/table-header-row.jsx","../src/plugins/table-filter-row.jsx","../src/plugins/table-edit-row.jsx","../src/plugins/table-edit-column.jsx","../src/plugins/table-column-resizing.jsx","../src/plugins/paging-panel.jsx","../src/plugins/grouping-panel.jsx","../src/plugins/data-type-provider.jsx","../src/plugins/table-column-visibility.jsx","../src/components/table-layout.jsx","../src/components/table-layout/column-group.jsx","../src/components/table-layout/row-layout.jsx","../src/components/table-layout/virtual-table-utils.js","../src/components/table-layout/virtual-table-layout.jsx","../src/components/table-layout/rows-block-layout.jsx","../src/components/table-layout/static-table-layout.jsx","../src/components/group-panel-layout.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginContainer, Getter, Template, TemplatePlaceholder } from '@devexpress/dx-react-core';\nimport { rowIdGetter, cellValueGetter } from '@devexpress/dx-grid-core';\n\nexport class GridCore extends React.PureComponent {\n render() {\n const {\n rows,\n columns,\n getRowId,\n getCellValue,\n rootTemplate,\n headerPlaceholderTemplate,\n footerPlaceholderTemplate,\n } = this.props;\n\n return (\n <PluginContainer>\n <Getter name=\"rows\" value={rows} />\n <Getter name=\"getRowId\" value={rowIdGetter(getRowId, rows)} />\n <Getter name=\"columns\" value={columns} />\n <Getter name=\"getCellValue\" value={cellValueGetter(getCellValue, columns)} />\n <Template name=\"header\" />\n <Template name=\"body\" />\n <Template name=\"footer\" />\n <Template name=\"root\">\n {() => rootTemplate({\n headerTemplate: () => (\n <TemplatePlaceholder name=\"header\">\n {content => (headerPlaceholderTemplate\n ? headerPlaceholderTemplate({ children: content })\n : content)}\n </TemplatePlaceholder>\n ),\n bodyTemplate: () => <TemplatePlaceholder name=\"body\" />,\n footerTemplate: () => (\n <TemplatePlaceholder name=\"footer\">\n {content => (footerPlaceholderTemplate\n ? footerPlaceholderTemplate({ children: content })\n : content)}\n </TemplatePlaceholder>\n ),\n })}\n </Template>\n </PluginContainer>\n );\n }\n}\n\nGridCore.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootTemplate: PropTypes.func.isRequired,\n headerPlaceholderTemplate: PropTypes.func,\n footerPlaceholderTemplate: PropTypes.func,\n};\n\nGridCore.defaultProps = {\n getRowId: null,\n getCellValue: null,\n headerPlaceholderTemplate: null,\n footerPlaceholderTemplate: null,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginHost } from '@devexpress/dx-react-core';\nimport { GridCore } from './plugins/grid-core';\n\nexport const Grid = ({\n rows,\n columns,\n getRowId,\n getCellValue,\n rootTemplate,\n headerPlaceholderTemplate,\n footerPlaceholderTemplate,\n children,\n}) => (\n <PluginHost>\n <GridCore\n rows={rows}\n columns={columns}\n getRowId={getRowId}\n getCellValue={getCellValue}\n rootTemplate={rootTemplate}\n headerPlaceholderTemplate={headerPlaceholderTemplate}\n footerPlaceholderTemplate={footerPlaceholderTemplate}\n />\n {children}\n </PluginHost>\n);\n\nGrid.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootTemplate: PropTypes.func.isRequired,\n headerPlaceholderTemplate: PropTypes.func,\n footerPlaceholderTemplate: PropTypes.func,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]),\n};\n\nGrid.defaultProps = {\n getRowId: null,\n getCellValue: null,\n headerPlaceholderTemplate: null,\n footerPlaceholderTemplate: null,\n children: null,\Line truncated
{"version":3,"file":"dx-react-grid.umd.js","sources":["../src/plugins/grid-core.jsx","../src/grid.jsx","../src/plugins/column-chooser.jsx","../src/utils/state-helper.js","../src/plugins/filtering-state.jsx","../src/plugins/integrated-filtering.jsx","../src/plugins/editing-state.jsx","../src/plugins/paging-state.jsx","../src/plugins/integrated-paging.jsx","../src/plugins/custom-paging.jsx","../src/plugins/grouping-state.jsx","../src/plugins/integrated-grouping.jsx","../src/plugins/custom-grouping.jsx","../src/plugins/selection-state.jsx","../src/plugins/integrated-selection.jsx","../src/plugins/sorting-state.jsx","../src/plugins/integrated-sorting.jsx","../src/plugins/drag-drop-provider.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table.jsx","../src/plugins/table-selection.jsx","../src/plugins/row-detail-state.jsx","../src/plugins/table-row-detail.jsx","../src/plugins/table-group-row.jsx","../src/plugins/table-header-row.jsx","../src/plugins/table-filter-row.jsx","../src/plugins/table-edit-row.jsx","../src/plugins/table-edit-column.jsx","../src/plugins/table-column-resizing.jsx","../src/plugins/paging-panel.jsx","../src/plugins/grouping-panel.jsx","../src/plugins/data-type-provider.jsx","../src/plugins/table-column-visibility.jsx","../src/components/table-layout.jsx","../src/components/table-layout/column-group.jsx","../src/components/table-layout/row-layout.jsx","../src/components/table-layout/virtual-table-utils.js","../src/components/table-layout/virtual-table-layout.jsx","../src/components/table-layout/rows-block-layout.jsx","../src/components/table-layout/static-table-layout.jsx","../src/components/group-panel-layout/item-layout.jsx","../src/components/group-panel-layout.jsx","../src/plugins/toolbar.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Plugin, Getter, Template, TemplatePlaceholder } from '@devexpress/dx-react-core';\nimport { rowIdGetter, cellValueGetter } from '@devexpress/dx-grid-core';\n\nexport class GridCore extends React.PureComponent {\n render() {\n const {\n rows,\n columns,\n getRowId,\n getCellValue,\n rootComponent: Root,\n } = this.props;\n\n return (\n <Plugin>\n <Getter name=\"rows\" value={rows} />\n <Getter name=\"getRowId\" value={rowIdGetter(getRowId, rows)} />\n <Getter name=\"columns\" value={columns} />\n <Getter name=\"getCellValue\" value={cellValueGetter(getCellValue, columns)} />\n <Template name=\"header\" />\n <Template name=\"body\" />\n <Template name=\"footer\" />\n <Template name=\"root\">\n <Root>\n <TemplatePlaceholder name=\"header\" />\n <TemplatePlaceholder name=\"body\" />\n <TemplatePlaceholder name=\"footer\" />\n </Root>\n </Template>\n </Plugin>\n );\n }\n}\n\nGridCore.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootComponent: PropTypes.func.isRequired,\n};\n\nGridCore.defaultProps = {\n getRowId: undefined,\n getCellValue: undefined,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginHost } from '@devexpress/dx-react-core';\nimport { GridCore } from './plugins/grid-core';\n\nexport const Grid = ({\n rows,\n columns,\n getRowId,\n getCellValue,\n rootComponent,\n children,\n}) => (\n <PluginHost>\n <GridCore\n rows={rows}\n columns={columns}\n getRowId={getRowId}\n getCellValue={getCellValue}\n rootComponent={rootComponent}\n />\n {children}\n </PluginHost>\n);\n\nGrid.propTypes = {\n rows: PropTypes.array.isRequired,\n getRowId: PropTypes.func,\n getCellValue: PropTypes.func,\n columns: PropTypes.array.isRequired,\n rootComponent: PropTypes.func.isRequired,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]),\n};\n\nGrid.defaultProps = {\n getRowId: undefined,\n getCellValue: undefined,\n children: undefined,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Template, TemplatePlaceholder, Plugin, TemplateConnector,\n} from '@devexpress/dx-react-core';\n\nimport { getMessagesFormatter, columnChooserItems } from '@devexpress/dx-grid-core';\n\nconst pluginDependencies = [\n { name: 'TableColumnVisibility' },\n { name: 'Toolbar' },\n];\nexport class ColumnChooser extends React.PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {\n visible: false,\n };\n\n this.handleToggle = this.handleToggle.bind(this);\n this.handleHide = this.handleHide.bind(this);\n this.buttonRef = this.buttonRef.bind(this);\n }\n buttonRef(button) {\n this.button = button;\n }\n handleToggle() {\n this.setState({ visible: !this.state.visible });\n }\n handleHide() {\n this.setState({ visible: false });\n }\nLine truncated
@@ -1,7 +0,0 @@
# DevExtreme Grid Core
Core library for the DevExtreme Reactive Grid component.
## License
[DevExtreme licensing](https://js.devexpress.com/licensing/).
@@ -1 +0,0 @@
{"version":3,"file":"dx-grid-core.es.js","sources":["../src/plugins/grid-core/computeds.js","../src/plugins/sorting-state/reducers.js","../src/plugins/sorting-state/helpers.js","../src/utils/merge-sort.js","../src/utils/hierarchical-data.js","../src/plugins/local-sorting/computeds.js","../src/plugins/filtering-state/reducers.js","../src/plugins/filtering-state/helpers.js","../src/plugins/local-filtering/computeds.js","../src/plugins/grouping-state/constants.js","../src/plugins/grouping-state/reducers.js","../src/plugins/grouping-state/computeds.js","../src/plugins/local-grouping/constants.js","../src/plugins/local-grouping/computeds.js","../src/plugins/custom-grouping/computeds.js","../src/plugins/grouping-panel/helpers.js","../src/plugins/paging-state/reducers.js","../src/plugins/local-paging/computeds.js","../src/plugins/paging-panel/helpers.js","../src/plugins/selection-state/reducers.js","../src/plugins/selection-state/computeds.js","../src/plugins/editing-state/reducers.js","../src/plugins/editing-state/computeds.js","../src/plugins/editing-state/helpers.js","../src/plugins/table-column-reordering/constants.js","../src/plugins/table-column-reordering/reducers.js","../src/plugins/table-view/constants.js","../src/plugins/table-column-reordering/computeds.js","../src/plugins/table-column-resizing/computeds.js","../src/plugins/table-column-resizing/reducers.js","../src/plugins/table-edit-column/constants.js","../src/plugins/table-edit-row/constants.js","../src/plugins/table-header-row/constants.js","../src/plugins/table-edit-column/helpers.js","../src/plugins/table-edit-column/computeds.js","../src/plugins/table-edit-row/helpers.js","../src/plugins/table-edit-row/computeds.js","../src/plugins/table-filter-row/constants.js","../src/plugins/table-filter-row/helpers.js","../src/plugins/table-filter-row/computeds.js","../src/plugins/table-group-row/constants.js","../src/plugins/table-group-row/helpers.js","../src/plugins/table-group-row/computeds.js","../src/plugins/table-header-row/helpers.js","../src/plugins/table-header-row/computeds.js","../src/plugins/table-row-detail/constants.js","../src/plugins/table-row-detail/helpers.js","../src/plugins/table-row-detail/reducers.js","../src/plugins/table-row-detail/computeds.js","../src/plugins/table-selection/constants.js","../src/plugins/table-selection/helpers.js","../src/plugins/table-selection/computeds.js","../src/plugins/table-view/helpers.js","../src/plugins/table-view/computeds.js","../src/plugins/table-column-visibility/computeds.js","../src/column-chooser/computeds.js","../src/column-chooser/reducers.js","../src/utils/column-geometries.js","../src/utils/table.js","../src/utils/group-panel.js","../src/utils/messages-formatter.js"],"sourcesContent":["export const rowIdGetter = (getRowId, rows) => {\n if (!getRowId) {\n const map = new Map(rows.map((row, rowIndex) => [row, rowIndex]));\n return row => map.get(row);\n }\n return getRowId;\n};\n\nexport const cellValueGetter = (getCellValue, columns) => {\n if (getCellValue) {\n return getCellValue;\n }\n\n let useFastAccessor = true;\n const map = columns.reduce((acc, column) => {\n if (column.getCellValue) {\n useFastAccessor = false;\n acc[column.name] = column.getCellValue;\n }\n return acc;\n }, {});\n\n return useFastAccessor ?\n (row, columnName) => row[columnName] :\n (row, columnName) => (map[columnName] ? map[columnName](row, columnName) : row[columnName]);\n};\n","export const setColumnSorting = (state, {\n columnName, direction, keepOther, cancel, sortIndex,\n}) => {\n const { sorting } = state;\n\n let nextSorting = [];\n if (keepOther === true) {\n nextSorting = Array.from(sorting).slice();\n }\n if (Array.isArray(keepOther)) {\n nextSorting = Array.from(sorting)\n .filter(columnSorting => keepOther.indexOf(columnSorting.columnName) > -1);\n }\n\n const columnSortingIndex = sorting\n .findIndex(columnSorting => columnSorting.columnName === columnName);\n const columnSorting = sorting[columnSortingIndex];\n const newColumnSorting = {\n columnName,\n direction: direction ||\n (!columnSorting || columnSorting.direction === 'desc' ? 'asc' : 'desc'),\n };\n\n if (columnSortingIndex > -1) {\n nextSorting.splice(columnSortingIndex, 1);\n }\n\n if (!cancel) {\n const newIndexFallback = columnSortingIndex > -1 ? columnSortingIndex : nextSorting.length;\n const newIndex = sortIndex !== undefined ? sortIndex : newIndexFallback;\n nextSorting.splice(newIndex, 0, newColumnSorting);\n }\n\n return {\n sorting: nextSorting,\n };\n};\n","export const getColumnSortingDirection = (sorting, columnName) => {\n const columnSorting = sorting.filter(s => s.columnName === columnName)[0];\n return columnSorting ? columnSorting.direction : null;\n};\n","/* eslint-disable no-plusplus, no-param-reassign, no-use-before-define, no-constant-condition */\n\nconst merge = (array, auxiliary, lo, mid, hi, compare) => {\n let i = Line truncated
@@ -1 +0,0 @@
{"version":3,"file":"dx-grid-core.umd.js","sources":["../src/plugins/grid-core/computeds.js","../src/plugins/sorting-state/reducers.js","../src/plugins/sorting-state/helpers.js","../src/utils/merge-sort.js","../src/utils/hierarchical-data.js","../src/plugins/local-sorting/computeds.js","../src/plugins/filtering-state/reducers.js","../src/plugins/filtering-state/helpers.js","../src/plugins/local-filtering/computeds.js","../src/plugins/grouping-state/constants.js","../src/plugins/grouping-state/reducers.js","../src/plugins/grouping-state/computeds.js","../src/plugins/local-grouping/constants.js","../src/plugins/local-grouping/computeds.js","../src/plugins/custom-grouping/computeds.js","../src/plugins/grouping-panel/helpers.js","../src/plugins/paging-state/reducers.js","../src/plugins/local-paging/computeds.js","../src/plugins/paging-panel/helpers.js","../src/plugins/selection-state/reducers.js","../src/plugins/selection-state/computeds.js","../src/plugins/editing-state/reducers.js","../src/plugins/editing-state/computeds.js","../src/plugins/editing-state/helpers.js","../src/plugins/table-column-reordering/constants.js","../src/plugins/table-column-reordering/reducers.js","../src/plugins/table-view/constants.js","../src/plugins/table-column-reordering/computeds.js","../src/plugins/table-column-resizing/computeds.js","../src/plugins/table-column-resizing/reducers.js","../src/plugins/table-edit-column/constants.js","../src/plugins/table-edit-row/constants.js","../src/plugins/table-header-row/constants.js","../src/plugins/table-edit-column/helpers.js","../src/plugins/table-edit-column/computeds.js","../src/plugins/table-edit-row/helpers.js","../src/plugins/table-edit-row/computeds.js","../src/plugins/table-filter-row/constants.js","../src/plugins/table-filter-row/helpers.js","../src/plugins/table-filter-row/computeds.js","../src/plugins/table-group-row/constants.js","../src/plugins/table-group-row/helpers.js","../src/plugins/table-group-row/computeds.js","../src/plugins/table-header-row/helpers.js","../src/plugins/table-header-row/computeds.js","../src/plugins/table-row-detail/constants.js","../src/plugins/table-row-detail/helpers.js","../src/plugins/table-row-detail/reducers.js","../src/plugins/table-row-detail/computeds.js","../src/plugins/table-selection/constants.js","../src/plugins/table-selection/helpers.js","../src/plugins/table-selection/computeds.js","../src/plugins/table-view/helpers.js","../src/plugins/table-view/computeds.js","../src/plugins/table-column-visibility/computeds.js","../src/column-chooser/computeds.js","../src/column-chooser/reducers.js","../src/utils/column-geometries.js","../src/utils/table.js","../src/utils/group-panel.js","../src/utils/messages-formatter.js"],"sourcesContent":["export const rowIdGetter = (getRowId, rows) => {\n if (!getRowId) {\n const map = new Map(rows.map((row, rowIndex) => [row, rowIndex]));\n return row => map.get(row);\n }\n return getRowId;\n};\n\nexport const cellValueGetter = (getCellValue, columns) => {\n if (getCellValue) {\n return getCellValue;\n }\n\n let useFastAccessor = true;\n const map = columns.reduce((acc, column) => {\n if (column.getCellValue) {\n useFastAccessor = false;\n acc[column.name] = column.getCellValue;\n }\n return acc;\n }, {});\n\n return useFastAccessor ?\n (row, columnName) => row[columnName] :\n (row, columnName) => (map[columnName] ? map[columnName](row, columnName) : row[columnName]);\n};\n","export const setColumnSorting = (state, {\n columnName, direction, keepOther, cancel, sortIndex,\n}) => {\n const { sorting } = state;\n\n let nextSorting = [];\n if (keepOther === true) {\n nextSorting = Array.from(sorting).slice();\n }\n if (Array.isArray(keepOther)) {\n nextSorting = Array.from(sorting)\n .filter(columnSorting => keepOther.indexOf(columnSorting.columnName) > -1);\n }\n\n const columnSortingIndex = sorting\n .findIndex(columnSorting => columnSorting.columnName === columnName);\n const columnSorting = sorting[columnSortingIndex];\n const newColumnSorting = {\n columnName,\n direction: direction ||\n (!columnSorting || columnSorting.direction === 'desc' ? 'asc' : 'desc'),\n };\n\n if (columnSortingIndex > -1) {\n nextSorting.splice(columnSortingIndex, 1);\n }\n\n if (!cancel) {\n const newIndexFallback = columnSortingIndex > -1 ? columnSortingIndex : nextSorting.length;\n const newIndex = sortIndex !== undefined ? sortIndex : newIndexFallback;\n nextSorting.splice(newIndex, 0, newColumnSorting);\n }\n\n return {\n sorting: nextSorting,\n };\n};\n","export const getColumnSortingDirection = (sorting, columnName) => {\n const columnSorting = sorting.filter(s => s.columnName === columnName)[0];\n return columnSorting ? columnSorting.direction : null;\n};\n","/* eslint-disable no-plusplus, no-param-reassign, no-use-before-define, no-constant-condition */\n\nconst merge = (array, auxiliary, lo, mid, hi, compare) => {\n let i =Line truncated
@@ -1,90 +0,0 @@
{
"_from": "@devexpress/dx-grid-core@1.0.0-beta.1",
"_id": "@devexpress/dx-grid-core@1.0.0-beta.1",
"_inBundle": false,
"_integrity": "sha512-3hKM7JUKKHJGJ8C/B20SDfCbkxr7R6ADhKb/IfkWrepJQ78uPDce9wWxwkjl8EqSd8r1jKMWbg5dgXMU6zQwWw==",
"_location": "/@devexpress/dx-react-grid/@devexpress/dx-grid-core",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@devexpress/dx-grid-core@1.0.0-beta.1",
"name": "@devexpress/dx-grid-core",
"escapedName": "@devexpress%2fdx-grid-core",
"scope": "@devexpress",
"rawSpec": "1.0.0-beta.1",
"saveSpec": null,
"fetchSpec": "1.0.0-beta.1"
},
"_requiredBy": [
"/@devexpress/dx-react-grid"
],
"_resolved": "https://registry.npmjs.org/@devexpress/dx-grid-core/-/dx-grid-core-1.0.0-beta.1.tgz",
"_shasum": "48f76255c7192e7727f2c9b97efb2bf70774471d",
"_spec": "@devexpress/dx-grid-core@1.0.0-beta.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid",
"author": {
"name": "Developer Express Inc.",
"url": "https://www.devexpress.com/"
},
"bugs": {
"url": "https://github.com/DevExpress/devextreme-reactive/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Core library for the DevExtreme Reactive Grid component",
"devDependencies": {
"@devexpress/dx-core": "1.0.0-beta.1",
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"core-js": "^2.5.1",
"eslint": "^4.10.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.3.0",
"jest": "^21.2.1",
"rollup": "0.50.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-license": "^0.5.0",
"seamless-immutable": "^7.1.2"
},
"files": [
"dist"
],
"globalName": "DevExpress.DXGridCore",
"homepage": "https://devexpress.github.io/devextreme-reactive/",
"keywords": [
"data",
"grid",
"table"
],
"license": "SEE LICENSE IN README.md",
"main": "dist/dx-grid-core.umd.js",
"module": "dist/dx-grid-core.es.js",
"name": "@devexpress/dx-grid-core",
"peerDependencies": {
"@devexpress/dx-core": "1.0.0-beta.1"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DevExpress/devextreme-reactive.git"
},
"scripts": {
"build": "rollup -c rollup.config.js",
"build:watch": "rollup -c rollup.config.js -w",
"lint": "eslint \"src/**\"",
"lint:fix": "yarn run lint -- --fix",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"version": "1.0.0-beta.1"
}
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
"_shasum": "e50347611d7e690943208bbdafebcbc2fb866d46",
"_spec": "asap@~2.0.3",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\promise",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\promise",
"browser": {
"./asap": "./browser-asap.js",
"./asap.js": "./browser-asap.js",
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
"_shasum": "652294c14651db28fa93bd2d5ff2983a4f08c636",
"_spec": "core-js@^1.0.0",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"bugs": {
"url": "https://github.com/zloirock/core-js/issues"
},
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
"_shasum": "538b66f3ee62cd1ab51ec323829d1f9480c74beb",
"_spec": "encoding@^0.1.11",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\node-fetch",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\node-fetch",
"author": {
"name": "Andris Reinman"
},
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz",
"_shasum": "5e67432f550dc41b572bf55847b8aca64e5337db",
"_spec": "fbjs@^0.8.16",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\prop-types",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\prop-types",
"browserify": {
"transform": [
"loose-envify"
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz",
"_shasum": "f7468f60135f5e5dad3399c0a81be9a1603a082b",
"_spec": "iconv-lite@~0.4.13",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\encoding",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\encoding",
"author": {
"name": "Alexander Shtuchkin",
"email": "ashtuchkin@gmail.com"
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"_shasum": "12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44",
"_spec": "is-stream@^1.0.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\node-fetch",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\node-fetch",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
"_shasum": "611ae1acf14f5e81f729507472819fe9733558a9",
"_spec": "isomorphic-fetch@^2.1.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"author": {
"name": "Matt Andrews",
"email": "matt@mattandre.ws"
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
"_shasum": "9866df395102130e38f7f996bceb65443209c25b",
"_spec": "js-tokens@^3.0.0",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\loose-envify",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\loose-envify",
"author": {
"name": "Simon Lydell"
},
@@ -22,7 +22,7 @@
"_resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz",
"_shasum": "d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848",
"_spec": "loose-envify@^1.3.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\prop-types",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\prop-types",
"author": {
"name": "Andres Suarez",
"email": "zertosh@gmail.com"
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
"_shasum": "980f6f72d85211a5347c6b2bc18c5b84c3eb47ef",
"_spec": "node-fetch@^1.0.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\isomorphic-fetch",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\isomorphic-fetch",
"author": {
"name": "David Frank"
},
@@ -22,7 +22,7 @@
"_resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
"_shasum": "2109adc7965887cfc05cbbd442cac8bfbb360863",
"_spec": "object-assign@^4.1.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\prop-types",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\prop-types",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
"_shasum": "064b72602b18f90f29192b8b1bc418ffd1ebd3bf",
"_spec": "promise@^7.1.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"author": {
"name": "ForbesLindesay"
},
@@ -20,16 +20,32 @@ import PropTypes from 'prop-types'; // ES6
var PropTypes = require('prop-types'); // ES5 with npm
```
If you prefer a `<script>` tag, you can get it from `window.PropTypes` global:
### CDN
If you prefer to exclude `prop-types` from your application and use it
globally via `window.PropTypes`, the `prop-types` package provides
single-file distributions, which are hosted on the following CDNs:
* [**unpkg**](https://unpkg.com/prop-types/)
```html
<!-- development version -->
<script src="https://unpkg.com/prop-types/prop-types.js"></script>
<script src="https://unpkg.com/prop-types@15.6/prop-types.js"></script>
<!-- production version -->
<script src="https://unpkg.com/prop-types/prop-types.min.js"></script>
<script src="https://unpkg.com/prop-types@15.6/prop-types.min.js"></script>
```
* [**cdnjs**](https://cdnjs.com/libraries/prop-types)
```html
<!-- development version -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/prop-types/15.6.0/prop-types.js"></script>
<!-- production version -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/prop-types/15.6.0/prop-types.min.js"></script>
```
To load a specific version of `prop-types` replace `15.6.0` with the version number.
## Usage
PropTypes was originally exposed as part of the React core module, and is
@@ -232,7 +248,7 @@ See below for more info.
**You might also see this error** if you’re calling a `PropTypes` validator from your own custom `PropTypes` validator. In this case, the fix is to make sure that you are passing *all* of the arguments to the inner function. There is a more in-depth explanation of how to fix it [on this page](https://facebook.github.io/react/warnings/dont-call-proptypes.html#fixing-the-false-positive-in-third-party-proptypes). Alternatively, you can temporarily keep using `React.PropTypes` until React 16, as it would still only warn in this case.
If you use a bundler like Browserify or Webpack, don’t forget to [follow these instructions](https://facebook.github.io/react/docs/installation.html#development-and-production-versions) to correctly bundle your application in development or production mode. Otherwise you’ll ship unnecessary code to your users.
If you use a bundler like Browserify or Webpack, don’t forget to [follow these instructions](https://reactjs.org/docs/optimizing-performance.html#use-the-production-build) to correctly bundle your application in development or production mode. Otherwise you’ll ship unnecessary code to your users.
## PropTypes.checkPropTypes
@@ -1,8 +1,8 @@
{
"_from": "prop-types@^15.6.0",
"_id": "prop-types@15.6.0",
"_id": "prop-types@15.6.1",
"_inBundle": false,
"_integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=",
"_integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==",
"_location": "/@devexpress/dx-react-grid/prop-types",
"_phantomChildren": {},
"_requested": {
@@ -18,17 +18,17 @@
"_requiredBy": [
"/@devexpress/dx-react-grid"
],
"_resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz",
"_shasum": "ceaf083022fc46b4a35f69e13ef75aed0d639856",
"_resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz",
"_shasum": "36644453564255ddda391191fb3a125cbdf654ca",
"_spec": "prop-types@^15.6.0",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid",
"browserify": {
"transform": [
"loose-envify"
]
},
"bugs": {
"url": "https://github.com/reactjs/prop-types/issues"
"url": "https://github.com/facebook/prop-types/issues"
},
"bundleDependencies": false,
"dependencies": {
@@ -70,7 +70,7 @@
"name": "prop-types",
"repository": {
"type": "git",
"url": "git+https://github.com/reactjs/prop-types.git"
"url": "git+https://github.com/facebook/prop-types.git"
},
"scripts": {
"build": "yarn umd && yarn umd-min",
@@ -79,5 +79,5 @@
"umd": "NODE_ENV=development browserify index.js -t envify --standalone PropTypes -o prop-types.js",
"umd-min": "NODE_ENV=production browserify index.js -t envify -t uglifyify --standalone PropTypes -p bundle-collapser/plugin -o | uglifyjs --compress unused,dead_code -o prop-types.min.js"
},
"version": "15.6.0"
"version": "15.6.1"
}
@@ -712,11 +712,9 @@ module.exports = ReactPropTypesSecret;
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
@@ -749,11 +747,9 @@ module.exports = emptyFunction;
},{}],7:[function(require,module,exports){
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
@@ -804,12 +800,10 @@ function invariant(condition, format, a, b, c, d, e, f) {
module.exports = invariant;
},{}],8:[function(require,module,exports){
/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
@@ -827,45 +821,43 @@ var emptyFunction = require('./emptyFunction');
var warning = emptyFunction;
if ("development" !== 'production') {
(function () {
var printWarning = function printWarning(format) {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
var printWarning = function printWarning(format) {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
var argIndex = 0;
var message = 'Warning: ' + format.replace(/%s/g, function () {
return args[argIndex++];
});
if (typeof console !== 'undefined') {
console.error(message);
}
try {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
} catch (x) {}
};
warning = function warning(condition, format) {
if (format === undefined) {
throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
}
if (format.indexOf('Failed Composite propType: ') === 0) {
return; // Ignore CompositeComponent proptype check.
}
if (!condition) {
for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
args[_key2 - 2] = arguments[_key2];
}
var argIndex = 0;
var message = 'Warning: ' + format.replace(/%s/g, function () {
return args[argIndex++];
});
if (typeof console !== 'undefined') {
console.error(message);
}
try {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
} catch (x) {}
};
warning = function warning(condition, format) {
if (format === undefined) {
throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
}
if (format.indexOf('Failed Composite propType: ') === 0) {
return; // Ignore CompositeComponent proptype check.
}
if (!condition) {
for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
args[_key2 - 2] = arguments[_key2];
}
printWarning.apply(undefined, [format].concat(args));
}
};
})();
printWarning.apply(undefined, [format].concat(args));
}
};
}
module.exports = warning;
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
"_shasum": "290cbb232e306942d7d7ea9b83732ab7856f8285",
"_spec": "setimmediate@^1.0.5",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"author": {
"name": "YuzuJS"
},
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz",
"_shasum": "e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac",
"_spec": "ua-parser-js@^0.7.9",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\fbjs",
"author": {
"name": "Faisal Salman",
"email": "f@faisalman.com",
@@ -21,7 +21,7 @@
"_resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz",
"_shasum": "9c84ec2dcf68187ff00bc64e1274b442176e1c84",
"_spec": "whatwg-fetch@>=0.10.0",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\isomorphic-fetch",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid\\node_modules\\isomorphic-fetch",
"bugs": {
"url": "https://github.com/github/fetch/issues"
},
+33 -27
View File
@@ -1,8 +1,8 @@
{
"_from": "@devexpress/dx-react-grid",
"_id": "@devexpress/dx-react-grid@1.0.0-beta.1",
"_id": "@devexpress/dx-react-grid@1.0.3",
"_inBundle": false,
"_integrity": "sha512-Oq/9De2F5eMKY2Q7aA3YP/q72nnbZsmWeBkM4qj0GkBe0sNStTt6uyxVIOQnUzlilsM+dyc/C7+3YOUtjmlPKw==",
"_integrity": "sha512-+MQPn3tIbhpY3lIjvWBSzbYp8oEz+cUPWjRURGm4wxkv5nmXgp5AP2Ss0ROWWDwKN2NgXg51CQ6eN76KIgr3aQ==",
"_location": "/@devexpress/dx-react-grid",
"_phantomChildren": {},
"_requested": {
@@ -19,10 +19,10 @@
"_requiredBy": [
"#USER"
],
"_resolved": "https://registry.npmjs.org/@devexpress/dx-react-grid/-/dx-react-grid-1.0.0-beta.1.tgz",
"_shasum": "8e249e5cd7ad2c0ed9a2d0782c70f9d26e1ca44f",
"_resolved": "https://registry.npmjs.org/@devexpress/dx-react-grid/-/dx-react-grid-1.0.3.tgz",
"_shasum": "82d142d0ae66b4c28ce15bd19dac39f2191108f1",
"_spec": "@devexpress/dx-react-grid",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI",
"author": {
"name": "Developer Express Inc.",
"url": "https://www.devexpress.com/"
@@ -32,46 +32,52 @@
},
"bundleDependencies": false,
"dependencies": {
"@devexpress/dx-grid-core": "1.0.0-beta.1",
"@devexpress/dx-grid-core": "1.0.3",
"prop-types": "^15.6.0"
},
"deprecated": false,
"description": "Composable plugin-based data grid component for React",
"devDependencies": {
"@devexpress/dx-core": "1.0.0-beta.1",
"@devexpress/dx-react-core": "1.0.0-beta.1",
"@devexpress/dx-testing": "1.0.0-beta.1",
"@devexpress/dx-core": "1.0.3",
"@devexpress/dx-react-core": "1.0.3",
"@devexpress/dx-testing": "1.0.3",
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-jest": "^22.1.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"core-js": "^2.5.1",
"enzyme": "^2.9.1",
"eslint": "^4.10.0",
"core-js": "^2.5.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.16.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.3.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"jest": "^21.2.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"eslint-plugin-jest": "^21.7.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.6.1",
"jest": "^22.1.4",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rollup": "0.50.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-license": "^0.5.0",
"rollup-plugin-node-resolve": "^3.0.0"
"rollup-plugin-node-resolve": "^3.0.2"
},
"files": [
"dist"
],
"globalName": "DevExpress.DXReactGrid",
"homepage": "https://devexpress.github.io/devextreme-reactive/",
"jest": {
"setupFiles": [
"<rootDir>/setup-enzyme.js"
]
},
"keywords": [
"react",
"data",
@@ -84,10 +90,10 @@
"module": "dist/dx-react-grid.es.js",
"name": "@devexpress/dx-react-grid",
"peerDependencies": {
"@devexpress/dx-core": "1.0.0-beta.1",
"@devexpress/dx-react-core": "1.0.0-beta.1",
"react": "^15.6.1 || ^16.0.0",
"react-dom": "^15.6.1 || ^16.0.0"
"@devexpress/dx-core": "1.0.3",
"@devexpress/dx-react-core": "1.0.3",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"publishConfig": {
"access": "public"
@@ -105,5 +111,5 @@
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"version": "1.0.0-beta.1"
"version": "1.0.3"
}